]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
revert erroneous checkin
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
3ea9de76
JJ
12004-10-04 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4 count skipped zero characters as part of the nread count for %n.
5 * libc/machine/powerpc/vfscanf.c: Ditto.
6
2a6e1223
JJ
72004-09-24 Jeff Johnston <jjohnstn@redhat.com>
8
9 * libc/stdio/local.h: Include <stdlib.h>.
10
d163f2fc
CV
112004-09-24 Corinna Vinschen <corinna@vinschen.de>
12
13 * libc/stdio/fread.c (fread): Include <malloc.h>.
14
602de582
JJ
152004-09-22 Jeff Johnston <jjohnstn@redhat.com>
16
17 * libc/stdio/fread.c (fread): For non-space-optimized case,
18 add special code for unbuffered files to use user buffer and
19 only require one low-level system read.
20
32e73f4d
ILT
212004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
22
23 * libc/machine/xscale/setjmp.S: New file, copied from
24 libc/machine/arm/setjmp.S.
25 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
26 * libc/machine/xscale/Makefile.in: Regenerate.
27
ed6859b8
JJ
282004-09-16 Antony King <antony.king@st.com>
29
30 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
31 with locking API.
32 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
33 check for__SSTR in _flags and if set, skip lock request.
34 (_funlockfile)[!SINGLE_THREAD]: Ditto.
35 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
36 not NULL.
37 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
38 initialisation of _file to -1 in local FILE.
39 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
40 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
41 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
42 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
43 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
44 _flags in local FILE to prevent locking.
45 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
46
7a0f6966
JJ
472004-09-16 Antony King <antony.king@st.com>
48
49 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
50 and only walk the reentrancy parameter.
51 (_fwalk_reent): Ditto.
52 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
53
c77672c0
JJ
542004-09-16 Antony King <antony.king@st.com>
55
56 * libc/stdio64/freopen64.c: Remove casting of fp lock to
57 _LOCK_RECURSIVE_T.
58
5c44c2e5
JJ
592004-09-16 Antony King <antony.king@st.com>
60
61 * libc/time/tzlock.c: Add default stubs that use generic
62 locking code.
63
14613e5e
JJ
642004-09-16 Antony King <antony.king@st.com>
65
66 * libc/ctype/ctype.tex: Added missing documentation.
67 * libc/stdio/stdio.tex Ditto.
68 * libc/stdlib/stdlib.tex Ditto.
69 * libc/string/strings.tex Ditto.
70 * libc/time/time.tex: Ditto.
71 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
72
181cb051
JJ
732004-09-15 Corinna Vinschen <vinschen@redhat.com>
74
75 * libc/reent/impure.c (reent_data): Define as alias to impure_data
76 when building for Cygwin.
77 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
78 _global_impure_ptr.
79
51d4a7ea
JJ
802004-09-15 Jeff Johnston <jjohnstn@redhat.com>
81
82 * configure.host: Reverting 2004-09-14 change as fix has occurred on
83 Cygwin side.
84 * configure.in: Ditto.
85 * libc/configure.in: Ditto.
86 * libc/sys/configure.in: Ditto.
87 * configure: Ditto.
88 * libc/configure: Ditto.
89 * libc/sys/configure: Ditto.
90 * libc/include/sys/reent.h: Ditto.
91 * libc/stdlib/__atexit.c: Ditto.
92 * libc/stdlib/__call_atexit.c: Ditto.
93 * libc/stdlib/cxa_atexit.c: Ditto.
94 * libc/stdlib/cxa_finalize.c: Ditto.
95 * libc/sys/cygwin/Makefile.am: Removed again.
96 * libc/sys/cygwin/Makefile.in: Ditto.
97 * libc/sys/cygwin/aclocal.m4: Ditto.
98 * libc/sys/cygwin/configure: Ditto.
99 * libc/sys/cygwin/configure.in: Ditto.
100 * libc/sys/cygwin/dummy.c: Ditto.
101 * libc/sys/cygwin/sys/reent.h: Ditto.
102
98650d2f
JJ
1032004-09-14 Jeff Johnston <jjohnstn@redhat.com>
104
105 * configure.host: Add Cygwin sys directory.
106 * configure.in: Do not set CRT0 for cygwin.
107 * libc/configure.in: Ditto.
108 * libc/sys/configure.in: Ditto.
109 * configure: Regenerated.
110 * libc/configure: Ditto.
111 * libc/sys/configure: Ditto.
112 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
113 * libc/stdlib/__atexit.c: Keep cxa support protected by new
114 __REENT_HAS_CXA_SUPPORT flag.
115 * libc/stdlib/__call_atexit.c: Ditto.
116 * libc/stdlib/cxa_atexit.c: Ditto.
117 * libc/stdlib/cxa_finalize.c: Ditto.
118 * libc/sys/cygwin/Makefile.am: New file.
119 * libc/sys/cygwin/Makefile.in: Ditto.
120 * libc/sys/cygwin/aclocal.m4: Ditto.
121 * libc/sys/cygwin/configure: Ditto.
122 * libc/sys/cygwin/configure.in: Ditto.
123 * libc/sys/cygwin/dummy.c: Ditto.
124 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
125 version of reent.h.
126
d4c8e53b
JJ
1272004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
128
129 * libc/iconv/iconv.tex: Updated with new content.
130 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
131 instead of NLS_DEFAULT_NLSPATH.
132 * libc/iconv/lib/iconvnls.h: Fix typo.
133 * libc/include/sys/iconvnls.h: New file.
134
0c8593cf
JJ
1352004-09-09 Paul Brook <paul@codesourcery.com>
136
137 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
138 and _is_cxa.
139 (struct _atexit): Add _next when _REENT_SMALL.
140 (struct _reent): Add _atexit0 when _REENT_SMALL.
141 (_REENT_INIT_PTR): Adjust.
142 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
143 __call_exit.c.
144 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
145 * libc/stdlib/Makefile.in: Regenerate.
146 * libc/stdlib/__atexit.c: New file.
147 * libc/stdlib/__call_atexit.c: New file.
148 * libc/stdlib/atexit.h: Remove old definitions. Add new.
149 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
150 * libc/stdlib/cxa_atexit.c: New file.
151 * libc/stdlib/cxa_finalize.c: New file.
152 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
153 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
154 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
155 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
156 _on_exit_args_ptr.
157
c6ed5a85
JJ
1582004-08-23 Jeff Johnston <jjohnstn@redhat.com>
159
160 * libc/include/sys/unistd.h (getpass): Change prototype to use
161 const instead of __const.
162
721a934c
JJ
1632004-08-16 Nathan Sidwell <nathan@codesourcery.com>
164
165 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
166 #if.
167
4e53fc28
JJ
1682004-08-12 Jeff Johnston <jjohnstn@redhat.com>
169
170 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
171 on linux systems with glibc 2.3.3 installed.
172 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
173 profile_fixup so newlib can build on fc3 system.
174
82045f12
AO
1752004-07-30 Alexandre Oliva <aoliva@redhat.com>
176
177 Introduce SH2a support.
178 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
179 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
180 __SH2A_SINGLE_ONLY__, too.
181 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
182 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
183 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
184 2004-02-10 DJ Delorie <dj@redhat.com>
185 * libc/sys/sh/crt0.S (start_l): Support sh2a.
186
ad6b1d79
JJ
1872004-07-29 Jeff Johnston <jjohnstn@redhat.com>
188
189 * libc/time/strptime.c: Correct full-name of "March" typo.
190
63b9dcc4
JJ
1912004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
192
193 * configure.host (h8300*-*-*): Default long long printing support.
194
dbfd3394
JJ
1952004-07-16 Jeff Johnston <jjohnstn@redhat.com>
196
197 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
198 calls, if realloc fails, free up buffer as it is no longer
199 used.
200
6edb3da9
JJ
2012004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
202
203 * libc/iconv/iconv.tex: Updated to represent recent changes.
204 * libc/iconv/lib/iconv.c: Documentation updated.
205
578a3560
NC
2062004-07-07 Nick Clifton <nickc@redhat.com>
207
208 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
209 for xStormy16.
210
2bc257e3
JJ
2112004-07-06 Chris Demetriou <cgd@broadcom.com>
212
213 * configure.host (mips*-*-elf*): Default long long printing
214 support.
215
75e7ffaa
JJ
2162004-07-05 Jeff Johnston <jjohnstn@redhat.com>
217
218 * libc/Makefile.am (libc.dvi): Add target and specify
219 same dependencies as libc.info.
220 * libc/Makefile.in: Regenerated.
221 * libm/Makefile.am (libm.dvi): Add target and specify
222 same dependencies as libm.info.
223 * libm/Makefile.in: Regenerated.
224
76ce12c3
JJ
2252004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
226
227 * acinclude.m4: Move --enable-newlib-iconv option back here.
228 * configure.in: Remove --enable-newlib-iconv option. Don't
229 tie iconv support to --enable-newlib-mb.
230 * aclocal.m4: Regenerated.
231 * configure: Ditto.
232 * doc/aclocal.m4, doc/configure: Ditto.
233 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
234 * libm/*/aclocal.m4: Ditto.
235 * libm/*/configure: Ditto.
236 * libc/*/aclocal.m4: Ditto.
237 * libc/*/configure: Ditto.
238
660dade3
JJ
2392004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
240
241 * acinclude.m4: Move iconv options into configure.in.
242 * aclocal.m4: Regenerated.
243 * configure: Ditto.
244 * configure.in: Add iconv options.
245 * newlib.hin: Add new iconv encodings and remove deleted ones.
246 * doc/aclocal.m4: Regenerated.
247 * doc/configure: Ditto.
248 * iconvdata/aclocal.m4: Ditto.
249 * iconvdata/configure: Ditto.
250 * libc/iconv: Design change. New size-optimized ccs format.
251 * libc/iconv/AUTHORS: Removed.
252 * libc/iconv/COPYING: Ditto.
253 * libc/iconv/README.ORIGINAL: Ditto.
254 * libc/iconv/README.TODO: Ditto.
255 * libc/iconv/charset.aliases: Ditto.
256 * libc/iconv/encoding.aliases: New file.
257 * libc/iconv/Makefile.am: Updated.
258 * libc/iconv/Makefile.in: Regenerated.
259 * libc/iconv/iconv.tex: Updated.
260 * libc/iconv/ccs/Makefile.am: Ditto.
261 * libc/iconv/ccs/Makefile.in: Regenerated.
262 * libc/iconv/ccs/big5.c: Updated.
263 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
264 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
265 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
266 * libc/iconv/ccs/cp775.c: Ditto.
267 * libc/iconv/ccs/cp850.c: Ditto.
268 * libc/iconv/ccs/cp852.c: Ditto.
269 * libc/iconv/ccs/cp855.c: Ditto.
270 * libc/iconv/ccs/cp866.c: Ditto.
271 * libc/iconv/ccs/iso_8859_1.c: Ditto.
272 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
273 * libc/iconv/ccs/gb_2312_80.c: Ditto.
274 * libc/iconv/ccs/iconv_mktbl: Ditto.
275 * libc/iconv/ccs/jis_x0201.c: Ditto.
276 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
277 * libc/iconv/ccs/shift_jis.c: Ditto.
278 * libc/iconv/ccs/us_ascii.c: Ditto.
279 * libc/iconv/ccs/ccs.h: New file.
280 * libc/iconv/ccs/ccsbi.c: Ditto.
281 * libc/iconv/ccs/ccsbi.h: Ditto.
282 * libc/iconv/ccs/ccsnames.h: Ditto.
283 * libc/iconv/ccs/iso_8859_10.c: Ditto.
284 * libc/iconv/ccs/iso_8859_11.c: Ditto.
285 * libc/iconv/ccs/iso_8859_13.c: Ditto.
286 * libc/iconv/ccs/iso_8859_14.c: Ditto.
287 * libc/iconv/ccs/iso_8859_3.c: Ditto.
288 * libc/iconv/ccs/iso_8859_6.c: Ditto.
289 * libc/iconv/ccs/iso_8859_7.c: Ditto.
290 * libc/iconv/ccs/iso_8859_8.c: Ditto.
291 * libc/iconv/ccs/iso_8859_9.c: Ditto.
292 * libc/iconv/ccs/iso_ir_111.c: Ditto.
293 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
294 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
295 * libc/iconv/ccs/koi8_ru.c: Ditto.
296 * libc/iconv/ccs/koi8_uni.c: Ditto.
297 * libc/iconv/ccs/mktbl.pl: Ditto.
298 * libc/iconv/ccs/win_1250.c: Ditto.
299 * libc/iconv/ccs/win_1251.c: Ditto.
300 * libc/iconv/ccs/win_1252.c: Ditto.
301 * libc/iconv/ccs/win_1253.c: Ditto.
302 * libc/iconv/ccs/win_1254.c: Ditto.
303 * libc/iconv/ccs/win_1255.c: Ditto.
304 * libc/iconv/ccs/win_1256.c: Ditto.
305 * libc/iconv/ccs/win_1257.c: Ditto.
306 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
307 * libc/iconv/ccs/iso_8859_15.c: Updated.
308 * libc/iconv/ccs/iso_8859_2.c: Ditto.
309 * libc/iconv/ccs/iso_8859_4.c: Ditto.
310 * libc/iconv/ccs/iso_8859_5.c: Ditto.
311 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
312 * libc/iconv/ccs/koi8_r.c: Ditto.
313 * libc/iconv/ccs/koi8_u.c: Ditto.
314 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
315 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
316 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
317 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
318 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
319 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
320 * libc/iconv/ccs/binary/Makefile.am: Updated.
321 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
322 * libc/iconv/ccs/binary/big5.cct: Updated.
323 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
324 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
325 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
326 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
327 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
328 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
329 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
330 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
331 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
332 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
333 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
334 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
335 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
336 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
337 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
338 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
339 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
340 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
341 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
342 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
343 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
344 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
345 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
346 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
347 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
348 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
349 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
350 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
351 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
352 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
353 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
354 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
355 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
356 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
357 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
358 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
359 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
360 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
361 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
362 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
363 * libc/iconv/ces/Makefile.am: Updated.
364 * libc/iconv/ces/Makefile.in: Regenerated.
365 * libc/iconv/ces/ucs-2-internal.c: Updated.
366 * libc/iconv/ces/ucs-4-internal.c: Ditto.
367 * libc/iconv/ces/utf-16.c: Ditto.
368 * libc/iconv/ces/utf-8.c: Ditto.
369 * libc/iconv/ces/cesbi.c: New file.
370 * libc/iconv/ces/cesbi.h: Ditto.
371 * libc/iconv/ces/cesdeps.h: Ditto.
372 * libc/iconv/ces/euc.c: Ditto.
373 * libc/iconv/ces/mkdeps.pl: Ditto.
374 * libc/iconv/ces/table-pcs.c: Ditto.
375 * libc/iconv/ces/table.c: Ditto.
376 * libc/iconv/ces/ucs-2.c: Ditto.
377 * libc/iconv/ces/ucs-4.c: Ditto.
378 * libc/iconv/ces/us-ascii.c: Ditto.
379 * libc/iconv/ces/euc-jp.c: Removed.
380 * libc/iconv/ces/euc-kr.c: Ditto.
381 * libc/iconv/ces/euc-tw.c: Ditto.
382 * libc/iconv/ces/gb2312.c: Ditto.
383 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
384 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
385 * libc/iconv/lib/Makefile.am: Updated.
386 * libc/iconv/lib/Makefile.in: Regenerated.
387 * libc/iconv/lib/endian.h: Updated.
388 * libc/iconv/lib/iconv.c: Ditto.
389 * libc/iconv/lib/local.h: Ditto.
390 * libc/iconv/lib/aliases.c: Removed.
391 * libc/iconv/lib/bialiasesi.c: Ditto.
392 * libc/iconv/lib/biccs.c: Ditto.
393 * libc/iconv/lib/bices.c: Ditto.
394 * libc/iconv/lib/ccs.c: Ditto.
395 * libc/iconv/lib/ces.c: Ditto.
396 * libc/iconv/lib/ces_euc.c: Ditto.
397 * libc/iconv/lib/ces_iso2022.c: Ditto.
398 * libc/iconv/lib/ces_table.c: Ditto.
399 * libc/iconv/lib/converter.c: Ditto.
400 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
401 * libc/iconv/lib/loaddata.c: Ditto.
402 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
403 * libc/iconv/lib/aliasesi.c: Ditto.
404 * libc/iconv/lib/conv.h: Ditto.
405 * libc/iconv/lib/encnames.h: Ditto.
406 * libc/iconv/lib/encoding.deps: Ditto.
407 * libc/iconv/lib/iconvnls.c: Ditto.
408 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
409 * libc/iconv/lib/nullconv.c: Ditto.
410 * libc/iconv/lib/ucsconv.c: Ditto.
411 * libc/iconv/lib/ucsconv.h: Ditto.
412 * libc/include/iconv.h: Update copyright.
413 * libc/*/aclocal.m4: Regenerated.
414 * libc/*/configure: Ditto.
415 * libm/*/aclocal.m4: Ditto.
416 * libm/*/configure: Ditto.
417
9a6831be
AO
4182004-06-22 Alexandre Oliva <aoliva@redhat.com>
419
eb6a452a
AO
420 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
421 instead of typedefing jmp_buf.
422
9a6831be
AO
423 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
424 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
425 * libc/machine/h8300/defines.h (LEN): New macro.
426 * libc/machine/h8300/memcpy.S: Add h8sx version.
427 * libc/machine/h8300/memset.S: Likewise.
428 * libc/machine/h8300/strcmp.S: Likewise.
429 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
430 * libc/machine/h8300/h8sx_strcpy.S: New file.
431 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
432 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
433 __H8300SX__.
434 * libc/include/machine/setjmp.h: Likewise.
435 * libc/include/sys/config.h: Likewise.
436 * libc/machine/h8300/defines.h: Likewise.
437 * libc/machine/h8300/setjmp.S: Likewise.
438 * libc/machine/h8300/strcmp.S: Likewise.
439 * libc/sys/h8300hms/close.S: Likewise.
440 * libc/sys/h8300hms/fstat.S: Likewise.
441 * libc/sys/h8300hms/lseek.S: Likewise.
442 * libc/sys/h8300hms/read.S: Likewise.
443 * libc/sys/h8300hms/write.S: Likewise.
444 * libc/sys/h8300hms/crt0.S: Likewise.
445 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
446 __H8300SX__ is defined.
447 * libc/sys/h8300hms/setarch.h: Likewise.
448
80dba41e
JJ
4492004-06-17 Jeff Johnston <jjohnstn@redhat.com>
450
451 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
452 out change which set _GLOBAL_REENT to _global_impure_ptr until
453 we understand why Cygwin breaks because of it.
454
be910599
JJ
4552004-06-14 Jeff Johnston <jjohnstn@redhat.com>
456
457 * libc/sys/linux/machine/i386/syscall.h: For now, set up
458 __syscall_return macro for systems with vsyscall.
459
d0bd3e6f
JJ
4602004-06-11 Antony King <antony.king@st.com>
461
462 * libc/include/sys/_types.h: Include <sys/lock.h> and change
463 _flock_t to be of type _LOCK_RECURSIVE_T.
464 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
465 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
466 (_global_impure_ptr): New declaration.
467 (_GLOBAL_REENT): Change to be _global_impure_ptr.
468 * libc/include/sys/stdio.h: Include <sys/lock.h> and
469 <sys/reent.h>.
470 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
471 (_funlockfile)[!SINGLE_THREAD]: Ditto.
472 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
473 * libc/stdio/fclose.c: Remove casting of fp lock to
474 _LOCK_RECURSIVE_T.
475 * libc/stdio/findfp.c: Ditto.
476 * libc/stdio/fopen.c: Ditto.
477 * libc/stdio/freopen.c: Ditto.
478 * libc/stdio/vfprintf.c: Ditto.
479 * libc/stdio64/fopen64.c: Ditto.
480 * libc/stdlib/envlock.c: Add default stubs that use generic
481 locking code.
482 * libc/stdlib/mlock.c: Ditto.
483
484 Jeff Johnston <jjohnstn@redhat.com>
485 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
486 (_flock_t): Change to be a struct containing a single member
487 named mutex which is of type __flock_mutex_t.
488
db7033a9
JJ
4892004-06-09 Jeff Johnston <jjohnstn@redhat.com>
490
491 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
492 from /usr/include/asm/signal.h instead of kernel sources. Also
493 default max to 32 if not found in header file.
494 * libc/sys/linux/Makefile.in: Regenerated.
495 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
496 systems where __syscall_return is not defined.
497 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
498 systems to use syscall() function instead of assembler interrupt.
499
a170abec
JJ
5002004-06-09 Toralf Lund <toralf@procaptura.com>
501
502 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
503 files from libc/sys/arm to libc/machine/arm.
504 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
505 library build support for files moved from libc/sys/arm.
506 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
507 references to access and setjmp.
508 * configure.host: Add checks for newlib_may_supply_syscalls to
509 determine whether or not to use sys/arm directory and use
510 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
511
8b57e664
JJ
5122004-06-02 Jeff Johnston <jjohnstn@redhat.com>
513
514 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
515 reset digit flags appropriately after we have discovered "0x".
516 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
517
3f611058
JJ
5182004-05-27 Jeff Johnston <jjohnstn@redhat.com>
519
520 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
521 from here ...
522 (_VFPRINTF_R): ... to here so all I/O printf routines
523 are covered.
524
bb42a35c
JJ
5252004-05-26 Jeff Johnston <jjohnstn@redhat.com>
526
527 * libc/search/hash_buf.c: Protect MAX and MIN macros from
528 redefinition.
529 * libc/search/hash.c: Ditto.
530
227e6ef6
JJ
5312004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
532
533 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
534 (_WANT_IO_LONG_LONG): Ditto.
535 (_WANT_IO_LONG_DOUBLE): Ditto.
536 * configure.in: Add new configuration options
537 --enable-newlib-io-long-long and --enable-newlib-io-long-double
538 which tie to new defines in newlib.hin.
539 * configure: Regenerated.
540 * configure.host: Add checks for new configuration options. Also
541 fix up check for --enable-newlib-io-pos-args so configuration
542 option will override any default for a given platform.
543 Remove defining compiler flags for the _WANT_IO* options.
544 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
545 instead of looking for old compiler flags.
546 * libc/stdio/vfscanf.c: Ditto.
547 * libc/stdio/vfieeefp.h: Ditto.
548 * libc/machine/powerpc/vfprintf.c: Ditto.
549 * libc/machine/powerpc/vfscanf.c: Ditto.
550
9178da95
JJ
5512004-05-25 Jeff Johnston <jjohnstn@redhat.com>
552
553 * testsuite/include/check.h: Add include of <stdio.h>.
554
cf3aae91
CV
5552004-05-17 Corinna Vinschen <corinna@vinschen.de>
556
557 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
558
5b4c8ae2
JJ
5592004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
560
561 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
562 of free.
563
5642004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
565
566 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
567 list for reentrant pointer. Call _vfiprintf_r.
568 * libc/stdio/siprintf.c (_siprintf_r): New function.
569 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
570 pointer argument. Change all callers. Call _VFPRINTF_R.
571 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
572 prototypes.
573
631fbe65
JJ
5742004-05-07 Jeff Johnston <jjohnstn@redhat.com>
575
576 * libc/include/sys/param.h: Remove endian info and include
577 <machine/endian.h> instead.
578 * libc/include/machine/endian.h: New file.
579 * libc/include/machine/param.h: Ditto.
580 * libc/machine/arm/machine/endian.h: Ditto.
581 * libc/machine/arm/machine/param.h: Ditto.
582 * libc/sys/arm/sys/param.h: Removed.
583 * libc/sys/sysvi386/sys/param.h: Ditto.
584 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
585
1af84bb7
JJ
5862004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
587
588 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
589 multibyte functions return failure for %C, %S, %lc, and %ls
590 format specifiers.
591
1c63798e
JJ
5922004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
593
594 * testsuite/include/check.h (CHECK): Add flush of stdout.
595
20b0251a
JJ
5962004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
597
598 * libc/include/stdio.h (_ungetc_r): New prototype.
599 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
600 (__submore): Add reentrant struct pointer argument.
601 (ungetc): Change to call _ungetc_r.
602
6194cf4a
JJ
6032004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
604
605 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
606 function pointer argument.
607 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
608 to specify function pointer arguments.
609 (__fwalk, __fwalk_reent): Ditto.
610
b4ddf489
AH
6112004-04-26 Aldy Hernandez <aldyh@redhat.com>
612
613 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
614 CT_INT case.
615
f777e3a5
JJ
6162004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
617
618 * configure.in: Define _MB_CAPABLE if mb supported.
619 * configure: Regenerated.
620 * configure.host: Remove manual setting of MB_CAPABLE compiler
621 flag.
622 * newlib.hin: Add _MB_CAPABLE flag.
623 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
624 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
625 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
626 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
627 * libc/ctype/jp2uc.c: Ditto.
628 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
629 * libc/locale/locale.c: Ditto
630 * libc/machine/powerpc/vfscanf.c: Ditto
631 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
632 * libc/stdlib/mblen.c: Ditto
633 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
634 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
635 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
636 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
637 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
638 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
639 * libc/sys/linux/intl/explodename.c: Ditto
640 * libc/sys/linux/intl/finddomain.c: Ditto
641 * libc/sys/linux/intl/l10nflist.c: Ditto
642 * libc/sys/linux/intl/loadmsgcat.c: Ditto
643 * libc/sys/linux/intl/localealias.c: Ditto
644
27c7566c
JJ
6452004-04-23 Jeff Johnston <jjohnstn@redhat.com>
646
647 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
648 (__svfscanf_r): In integer conversions, leave out leading zeroes
649 which are not part of a base prefix.
650 Keep track of width truncation to fit into buf, not counting left-out
651 zeroes against width till the truncation has been compensated for.
652 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
653
c00f9719
JJ
6542004-04-23 Jeff Johnston <jjohnstn@redhat.com>
655
656 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
657
05b31577
JJ
6582004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
659
660 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
661 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
662 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
663 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
664 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
665 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
666 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
667 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
668 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
669 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
670 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
671 libc/stdio/getchar.c libc/stdio/getchar_u.c,
672 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
673 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
674 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
675 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
676 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
677 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
678 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
679 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
680 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
681 libc/stdio/siprintf.c libc/stdio/snprintf.c,
682 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
683 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
684 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
685 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
686 libc/stdio/vprintf.c libc/stdio/vscanf.c,
687 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
688 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
689 libc/stdio/wsetup.c: Perform minor formatting changes. Move
690 copyright notices to top of file, ensure that <_ansi.h> is
691 included, be consistent with open parentheses, use _DEFUN macro,
692 include "local.h" where needed, and remove various compiler
693 warnings.
694
04e8fca1
JJ
6952004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
696
697 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
698 (__svfscanf_r): In integer conversions, leave out leading zeroes
699 which are not part of a base prefix.
700 Keep track of width truncation to fit into buf, not counting left-out
701 zeroes against width till the truncation has been compensated for.
702
9090ec74
CV
7032004-04-20 Corinna Vinschen <corinna@vinschen.de>
704
705 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
706
1c17deea
CV
7072004-04-20 Corinna Vinschen <corinna@vinschen.de>
708
709 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
710
54c7940f
CV
7112004-04-10 Corinna Vinschen <corinna@vinschen.de>
712
713 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
714 to SUSv3.
715
47dcaf56
JJ
7162004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
717
718 * libc/stdio/fclose.c (_fclose_r): New function.
719 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
720 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
721 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
722 * libc/include/stdio.h (_fclose_r): New prototype.
723 * libc/stdio/fopen.c: Fix typo in comment.
724
7252004-04-08 Jeff Johnston <jjohnstn@redhat.com>
726
727 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
728 to handle _r reentrant functions.
729
4121d8cf
JJ
7302004-04-08 Eric Christopher <echristo@redhat.com>
731
732 * libc/include/machine/setjmp.h: Fix endif locations.
733
59c9f5f5
JJ
7342004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
735
736 * libc/time/strptime.c: Add standard includes to avoid
737 warning messages at compilation time.
738
38f4f023
JJ
7392004-04-01 Jeff Johnston <jjohnstn@redhat.com>
740
741 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
742 of file.
743
7442004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
745
746 * libc/machine/h8300/Makefile.am: Reformat slightly.
747 * libc/machine/h8300/Makefile.in: Regenerate.
748
38f4f023 7492004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
750
751 * libc/stdio/findfp.c (__fp_lock_all): Add call to
752 __sfp_lock_acquire.
753 (__fp_unlock_all): Add call to __sfp_lock_release.
754
10dcf7e7
JJ
7552004-03-25 Thomas Pfaff <tpfaff@gmx.net>
756
757 * libc/stdio/fclose.c (fclose): Protect file pointer list when
758 releasing a file.
759 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
760 fwalk.
761 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
762 _flockfile/_funlockfile.
763 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
764 to recursive.
765 Change __lock_acquire/__lock_release calls for __sfp_lock to
766 __sfp_lock_acquire/__sfp_lock_release throughout.
767 (std): Make sure that file lock is only initialized once.
768 (__sfp): Move _file initialization. Initialize file lock.
769 (__sfp_lock_acquire): New function.
770 (__sfp_lock_release): Ditto.
771 (__fp_lock_all): Remove __sfp_lock_acquire call.
772 (__fp_unlock_all): Remove __sfp_lock_release call.
773 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
774 Add calls to _flockfile/_funlockfile. Remove
775 __lock_init_recursive call.
776 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
777 * libc/stdio/fwalk.c (__fwalk): New static function.
778 (_fwalk): Protect file pointer list. Use __fwalk to walk through
779 file pointers.
780 * libc/stdio/local.h: Add defines for
781 __sfp_lock_acquire/__sfp_lock_release when
782 single threaded. Add function prototypes otherwise.
783 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
784 _flockfile/_funlockfile.
785 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
786 Add calls to _flockfile/_funlockfile. Remove
787 __lock_init_recursive call.
788 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
789 list.
790
ec475b09
JJ
7912004-03-25 Jeff Johnston <jjohnstn@redhat.com>
792
793 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
794 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
795 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
796 to be __LOCK_INIT_RECURSIVE.
797
2c4ef10a
JJ
7982004-03-11 Kazu Hirata <kazu@cs.umass.edu>
799
800 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
801 _exit.c with _exit.S.
802 * libc/sys/h8300hms/Makefile.in: Regenerate.
803 * libc/sys/h8300hms/_exit.c: Remove.
804 * libc/sys/h8300hms/_exit.S: New.
805
41c3da6a
JJ
8062004-03-09 Thomas Pfaff <tpfaff@gmx.net>
807
808 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
809 Change __sfp_lock to static global.
810 (__fp_lock): New static function.
811 (__fp_unlock): Ditto.
812 (__fp_lock_all): New function.
813 (__fp_unlock_all): Ditto.
814
0ccf5430
CF
8152004-02-10 Christopher Faylor <cgf@redhat.com>
816
817 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
818 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
819 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
820 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
821
3536f0fb
CF
8222004-02-09 Christopher Faylor <cgf@redhat.com>
823
824 * libc/include/time.h (TIMER_RELTIME): New define.
825
6a6e493a
JJ
8262004-02-09 Jeff Johnston <jjohnstn@redhat.com>
827
828 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
829 * libc/stdlib/Makefile.in: Regenerated.
830
733309f5
CF
8312004-02-08 Christopher Faylor <cgf@redhat.com>
832
833 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
834 * libc/include/sys/reent.h (__getreent): Protect against possibly being
835 defined.
836 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
837
b4a84c66
JJ
8382004-02-05 Paul Brook <paul@codesourcery.com>
839
840 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
841 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
842
4669438f
JJ
8432004-02-02 Jeff Johnston <jjohnstn@redhat.com>
844
845 * NEWS: Update with 1.12.0 info.
846 * README: Ditto.
847 * acinclude.m4: Change version number to 1.12.0.
848 * aclocal.m4: Regenerated.
849 * configure: Ditto.
850 * doc/aclocal.m4: Ditto.
851 * doc/configure: Ditto.
852 * libc/*/aclocal.m4: Ditto.
853 * libc/*/configure: Ditto.
854 * libc/libc.texinfo: Ditto.
855 * libm/*/aclocal.m4: Ditto.
856 * libm/*/configure: Ditto.
857 * libm/libm.texinfo: Ditto.
858 * libc/sys/linux/shared.ld: Add VERS_1.12.
859
94d61fcb
JJ
8602004-02-02 Joel Sherrill <joel@oarcorp.com>
861
862 * configure.host: Add support for tic4x.
863 * libc/include/machine/ieeefp.h: Ditto.
864 * libc/include/machine/setjmp.h: Ditto.
865 * libc/machine/tic4x/Makefile.am: New file.
866 * libc/machine/tic4x/configure.in: Ditto.
867 * libc/machine/tic4x/setjmp.S: Ditto.
868 * libc/machine/tic4x/aclocal.m4: Generated.
869 * libc/machine/tic4x/configure: Ditto.
870 * libc/machine/tic4x/Makefile.in: Ditto.
871
c730e0e7
JJ
8722004-01-30 Jeff Johnston <jjohnstn@redhat.com>
873
874 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
875 file chain on the passed in reentrancy struct if it
876 is _GLOBAL_REENT.
877
2892ec68
JJ
8782004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
879 Jeff Johnston <jjohnstn@redhat.com>
880
881 * libc/iconv/iconv.tex: Updated with more information.
882
ff41498a
JJ
8832004-01-30 Thomas Pfaff <tpfaff@gmx.net>
884 Jeff Johnston <jjohnstn@redhat.com>
885
886 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
887 struct for std streams and traverse the global reeentrancy
888 struct for all other streams.
889
d5b6c234
JJ
8902004-01-27 Jeff Johnston <jjohnstn@redhat.com>
891
892 * libc/stdlib/atexit.c: Protect global atexit list with a
893 lock when newlib is multithreaded.
894
01e0a777
JJ
8952004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
896
897 * configure.in: Add support to generate iconv converter flags
898 for newlib.h
899 * newlib.hin: Add iconv converter flags.
900 * configure: Regenerated.
901 * libc/Makefile.in: Ditto.
902 * libc/configure.in: Moved iconv converter parsing logic to
903 top level newlib configure.in.
904 * libc/configure: Regenerated.
905 * libc/iconv/Makefile.in: Ditto.
906 * libc/iconv/README.TODO
907 * libc/iconv/charset.aliases: Remove wrong BE aliases for
908 UCS2/UCS4/UTF8.
909 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
910 newlib.h can be used.
911 * libc/iconv/ces/Makefile.am: Ditto.
912 * libc/iconv/lib/Makefile.am: Ditto.
913 * libc/iconv/ccs/Makefile.in: Regenerated.
914 * libc/iconv/ces/Makefile.in: Ditto.
915 * libc/iconv/lib/Makefile.in: Ditto.
916 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
917 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
918 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
919 defined in newlib.h.
920 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
921 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
922 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
923 * libc/iconv/ccs/cp775.c: Ditto.
924 * libc/iconv/ccs/cp850.c: Ditto.
925 * libc/iconv/ccs/cp852.c: Ditto.
926 * libc/iconv/ccs/cp855.c: Ditto.
927 * libc/iconv/ccs/cp866.c: Ditto.
928 * libc/iconv/ccs/gb_2312_80.c: Ditto.
929 * libc/iconv/ccs/iso_8859_1.c: Ditto.
930 * libc/iconv/ccs/iso_8859_15.c: Ditto.
931 * libc/iconv/ccs/iso_8859_2.c: Ditto.
932 * libc/iconv/ccs/iso_8859_4.c: Ditto.
933 * libc/iconv/ccs/iso_8859_5.c: Ditto.
934 * libc/iconv/ccs/jis_x0201.c: Ditto.
935 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
936 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
937 * libc/iconv/ccs/koi8_r.c: Ditto.
938 * libc/iconv/ccs/koi8_u.c: Ditto.
939 * libc/iconv/ccs/ksx1001.c: Ditto.
940 * libc/iconv/ccs/shift_jis.c: Ditto.
941 * libc/iconv/ccs/us_ascii.c: Ditto.
942 * libc/iconv/ccs/binary/big5.cct: Newly generated.
943 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
944 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
945 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
946 * libc/iconv/ccs/binary/cp775.cct: Ditto.
947 * libc/iconv/ccs/binary/cp850.cct: Ditto.
948 * libc/iconv/ccs/binary/cp852.cct: Ditto.
949 * libc/iconv/ccs/binary/cp855.cct: Ditto.
950 * libc/iconv/ccs/binary/cp866.cct: Ditto.
951 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
952 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
953 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
954 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
955 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
956 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
957 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
958 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
959 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
960 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
961 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
962 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
963 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
964 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
965 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
966 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
967 * libc/iconv/ces/euc-kr.c: Ditto.
968 * libc/iconv/ces/euc-tw.c: Ditto.
969 * libc/iconv/ces/gb2312.c: Ditto.
970 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
971 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
972 * libc/iconv/ces/ucs-2-internal.c: Ditto.
973 * libc/iconv/ces/ucs-4-internal.c: Ditto.
974 * libc/iconv/ces/utf-16.c: Ditto.
975 * libc/iconv/ces/utf-8.c: Ditto.
976 * libc/iconv/lib/aliases.c: Ditto.
977 * libc/iconv/lib/biccs.c: Ditto.
978 * libc/iconv/lib/bices.c: Ditto.
979 * libc/iconv/lib/ccs.c: Ditto.
980 * libc/iconv/lib/ces.c: Ditto.
981 * libc/iconv/lib/ces_euc.c: Ditto.
982 * libc/iconv/lib/ces_iso2022.c: Ditto.
983 * libc/iconv/lib/ces_table.c: Ditto.
984 * libc/iconv/lib/converter.c: Ditto.
985 * libc/iconv/lib/deps.h: Ditto.
986 * libc/iconv/lib/endian.h: Ditto.
987 * libc/iconv/lib/iconv.c: Ditto.
988 * libc/iconv/lib/loaddata.c: Ditto.
989 * libc/iconv/lib/local.h: Include newlib.h.
990 * libc/argz/Makefile.in: Regenerated.
991 * libc/ctype/Makefile.in: Ditto.
992 * libc/errno/Makefile.in: Ditto.
993 * libc/iconv/ccs/binary/Makefile.in: Ditto.
994 * libc/locale/Makefile.in: Ditto.
995 * libc/misc/Makefile.in: Ditto.
996 * libc/posix/Makefile.in: Ditto.
997 * libc/reent/Makefile.in: Ditto.
998 * libc/search/Makefile.in: Ditto.
999 * libc/signal/Makefile.in: Ditto.
1000 * libc/stdio/Makefile.in: Ditto.
1001 * libc/stdio64/Makefile.in: Ditto.
1002 * libc/stdlib/Makefile.in: Ditto.
1003 * libc/string/Makefile.in: Ditto.
1004 * libc/syscalls/Makefile.in: Ditto.
1005 * libc/time/Makefile.in: Ditto.
1006 * libc/unix/Makefile.in: Ditto.
1007 * testsuite/newlib.iconv/iconv.exp: New file.
1008 * testsuite/newlib.iconv/iconvjp.c: Ditto.
1009 * testsuite/newlib.iconv/iconvnm.c: Ditto.
1010 * testsuite/newlib.iconv/iconvru.c: Ditto.
1011
786ab12c
JJ
10122004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1013
1014 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
1015 (--enable-newlib-builtin-converters): Ditto.
1016 * configure.in: Add code to set _ICONV_ENABLED flag.
1017 Set _MB_LEN_MAX to 1 if not mb enabled.
1018 * configure: Regenerated.
1019 * aclocal.m4: Ditto.
1020 * Makefile.in: Ditto.
1021 * newlib.hin: Add _ICONV_ENABLED flag.
1022 * libc/Makefile.am: Add support for iconv.
1023 * libc/configure.in: Ditto.
1024 * libc/Makefile.in: Regenerated.
1025 * libc/aclocal.m4: Ditto.
1026 * libc/configure: Ditto.
1027 * libc/libc.texinfo: Add iconv documentation.
1028 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
1029 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
1030 libc/iconv/README.TODO, libc/iconv/charset.aliases,
1031 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
1032 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
1033 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
1034 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
1035 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
1036 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
1037 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
1038 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
1039 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
1040 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
1041 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
1042 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
1043 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
1044 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
1045 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
1046 libc/iconv/ccs/binary/big5.cct,
1047 libc/iconv/ccs/binary/cns11643_plane1.cct,
1048 libc/iconv/ccs/binary/cns11643_plane14.cct,
1049 libc/iconv/ccs/binary/cns11643_plane2.cct,
1050 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
1051 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
1052 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
1053 libc/iconv/ccs/binary/iso_8859_1.cct,
1054 libc/iconv/ccs/binary/iso_8859_15.cct,
1055 libc/iconv/ccs/binary/iso_8859_2.cct,
1056 libc/iconv/ccs/binary/iso_8859_4.cct,
1057 libc/iconv/ccs/binary/iso_8859_5.cct,
1058 libc/iconv/ccs/binary/jis_x0201.cct,
1059 libc/iconv/ccs/binary/jis_x0208_1983.cct,
1060 libc/iconv/ccs/binary/jis_x0212_1990.cct,
1061 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
1062 libc/iconv/ccs/binary/ksx1001.cct,
1063 libc/iconv/ccs/binary/shift_jis.cct,
1064 libc/iconv/ccs/binary/us_ascii.cct,
1065 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
1066 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
1067 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
1068 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
1069 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
1070 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
1071 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
1072 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
1073 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
1074 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
1075 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
1076 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
1077 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
1078 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
1079 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
1080 * libc/sys/linux/include/iconv.h: Ditto.
1081 * libc/include/sys/_types.h (_iconv_t): Added.
1082 * doc/aclocal.m4: Regenerated.
1083 * doc/configure: Ditto.
1084 * doc/Makefile.in: Ditto.
1085 * iconvdata/Makefile.in: Ditto.
1086 * iconvdata/aclocal.m4: Ditto.
1087 * iconvdata/configure: Ditto.
1088 * libc/*aclocal.m4: Ditto.
1089 * libc/*Makefile.in: Ditto.
1090 * libc/*configure: Ditto.
1091 * libm/*aclocal.m4: Ditto.
1092 * libm/*Makefile.in: Ditto.
1093 * libm/*configure: Ditto.
1094
ed1a95dc
JJ
10952004-01-22 Thomas Pfaff <tpfaff@gmx.net>
1096
1097 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
1098 by a lock when newlib is multithreaded.
1099
7d4be1ef
JJ
11002004-01-21 Jeff Johnston <jjohnstn@redhat.com>
1101
1102 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
1103 pointer to match C99 spec.
1104 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
1105 dst is NULL. Also fix to not alter src pointer when dst is NULL
1106 and call _mbrtowc_r instead of _mbtowc_r.
1107 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
1108 of _wctomb_r.
1109
403f752c
JJ
11102004-01-19 Thomas Pfaff <tpfaff@gmx.net>
1111
1112 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
1113 * libc/stdio/freopen.c (freopen): Ditto.
1114
85b6d63b
CF
11152004-01-16 Christopher Faylor <cgf@redhat.com>
1116
1117 * libc/stdio/vfprintf.c: Add sys/lock.h include.
1118
4af71a91
JJ
11192004-01-16 Thomas Pfaff <tpfaff@gmx.net>
1120
1121 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
1122 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
1123 Add calls to __lock_init_recursive and __lock_close_recursive
1124 instead.
1125
6a150987
JJ
11262004-01-15 Thomas Pfaff <tpfaff@gmx.net>
1127
1128 * libc/stdio/fclose.c: Include sys/lock.h.
1129 (fclose): Destroy lock when file is closed.
1130 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
1131 member.
1132 * libc/stdio/freopen.c: Include sys/lock.h.
1133 (_freopen_r): Destroy lock when file is closed.
1134 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
1135 _lock member.
1136
c9524c0c
JJ
11372004-01-08 Joel Sherrill <joel@oarcorp.com>
1138
1139 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
1140 Remove warnings.
1141
9f13ccb3
JJ
11422004-01-08 Joel Sherrill <joel@oarcorp.com>
1143
1144 * libc/sys/rtems/sys/queue.h: New file.
1145 * libc/include/sys/signal.h: Reflect renumbering of signals to
1146 fit into 32-bit mask.
1147 * libc/include/sys/unistd.h: Add fdatasync() prototype.
1148 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
1149 required. In particular, add the reentrant variants of libc calls.
1150 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
1151
9488c414
JJ
11522004-01-06 Mark Mitchell <mark@codesourcery.com>
1153
1154 * libc/sys/arm/syscalls.c (unistd.h): Include it.
1155 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
1156 Similarly for stdout and stderr.
1157
5125f919
JJ
11582004-01-06 Jeff Johnston <jjohnstn@redhat.com>
1159
1160 * libc/libc.texinfo: Correct escape character for @ sign
1161 so file will be processed by make info. Update copyright years.
1162 * libm/libm.texinfo: Ditto.
1163
9fc92ceb
JJ
11642003-12-05 Jeff Johnston <jjohnstn@redhat.com>
1165
1166 * libc/include/sys/stat.h: No longer include stat-dj.h.
1167 * libc/include/sys/stat-dj.h: Removed.
1168
25c7dad1
JJ
11692003-12-05 Jeff Johnston <jjohnstn@redhat.com>
1170
1171 * libc/include/wchar.h: Include <sys/reent.h>.
1172
576593dd
CF
11732003-12-05 Christopher Faylor <cgf@redhat.com>
1174
1175 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
1176 when defining _mbrtowc.
1177 * libc/stdlib/mbsinit.c: Ditto.
1178 * libc/stdlib/mbsrtowcs.c: Ditto.
1179 * libc/stdlib/wcrtomb.c: Ditto.
1180 * libc/stdlib/wcsrtombs.c: Ditto.
1181 * libc/stdlib/wctob.c: Ditto.
1182
11832003-12-05 Christopher Faylor <cgf@redhat.com>
1184
1185 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
1186 errors when defining _mbrtowc.
1187 * libc/stdlib/mbsinit.c: Ditto.
1188 * libc/stdlib/mbsrtowcs.c: Ditto.
1189
4c889d62
CF
11902003-12-05 Christopher Faylor <cgf@redhat.com>
1191
1192 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
1193 errors when defining _mbrtowc.
1194
5d109bde
JJ
11952003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1196
1197 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
1198 of mb routines for %lc and %ls support.
1199 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
1200 %ls, and %S support. Remove CYGNUS_NEC markers and
1201 code within.
1202
3aca0888
JJ
12032003-12-04 Jeff Johnston <jjohnstn@redhat.com>
1204
1205 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
1206 _wcrtomb_r, and _wcsrtombs_r.
1207
18dcb167
CV
12082003-12-01 Corinna Vinschen <corinna@vinschen.de>
1209
1210 * libc/include/sys/fcntl.h: Don't define struct flock when on
1211 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
1212
93f8e673
CF
12132003-11-28 Christopher Faylor <cgf@redhat.com>
1214
1215 * libc/include/sys/signal.h: Use system specific signal file when
1216 building on cygwin.
1217
cc2a11e0
JJ
12182003-11-27 Jeff Johnston <jjohnstn@redhat.com>
1219
1220 * libc/include/stdlib.h (_atoi_r): New prototype.
1221 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
1222
83bf7d2f
JJ
12232003-11-27 Jeff Johnston <jjohnstn@redhat.com>
1224
1225 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
1226 * libc/stdlib/atol.c (_atol_r): New reentrant function.
1227 * libc/stdlib/atoll.c (_atoll_r): Ditto.
1228
5d109bde 12292003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
1230 Jeff Johnston <jjohnstn@redhat.com>
1231
1232 * libc/include/stdlib.h (lldiv_t): New type.
1233 (atoll, llabs, lldiv): New prototypes.
1234 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
1235 * libc/stdlib/stdlib.tex: Ditto.
1236 * libc/stdlib/Makefile.in: Regenerated.
1237 * libc/stdlib/atoll.c: New file.
1238 * libc/stdlib/llabs.c: Ditto.
1239 * libc/stdlib/lldiv.c: Ditto.
1240
0a707c79
JJ
12412003-11-26 Corinna Vinschen <corinna@vinschen.de>
1242
1243 * libc/include/fcntl.h: Declare syscalls only when building newlib.
1244 * libc/include/unistd.h: Ditto.
1245 * libc/include/stat.h: Ditto. Also declare struct stat64.
1246
5d109bde 12472003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
1248
1249 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
1250 specifier to use ch instead of *fmt.
1251
5d109bde 12522003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
1253
1254 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
1255 code within checks for MB_CAPABLE. For non-mb-capable platforms,
1256 use simple byte logic.
1257
4f6149d6
JJ
12582003-11-21 Jeff Johnston <jjohnstn@redhat.com>
1259
1260 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
1261 _strtold routine for processing floats and doubles since it
1262 is not as fast as _strtod_r.
1263
7343eefb
JJ
12642003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
1265
1266 * libc/machine/h8300/defines.h : Correct pointer register defines
1267 for normal mode.
1268 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
1269 for normal mode.
1270 * libc/machine/h8300/reg_memcpy.S : Likewise.
1271 * libc/machine/h8300/reg_memset.S : Likewise.
1272 * libc/machine/h8300/strcmp.S : Likewise.
1273
64cfc6f2
JJ
12742003-11-19 Nicholas Wourms <nwourms@netscape.net>
1275
1276 * configure.host: Enable positional arguments for printf
1277 family for Cygwin.
1278 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
1279 pointer reference for quad_ptr_t.
1280
e1dc8171
JJ
12812003-11-19 Jeff Johnston <jjohnstn@redhat.com>
1282
1283 * libc/stdio/scanf.c: Don't include local.h more than once.
1284
a472290f
JJ
12852003-11-18 Corinna Vinschen <corinna@vinschen.de>
1286
1287 * libc/include/sys/fcntl.h: Declare _open64.
1288 * libc/include/sys/stat.h: Declare _fstat64.
1289 * libc/include/sys/unistd.h: Declare _lseek64.
1290
a2f1155c
CV
12912003-11-17 Corinna Vinschen <corinna@vinschen.de>
1292
1293 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
1294 (setprogname): Ditto.
1295
030441fc
JJ
12962003-11-10 Jeff Johnston <jjohnstn@redhat.com>
1297
1298 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
1299 to use (Ebits + 1) which accounts for the sign-bit.
1300
fe359733
JJ
13012003-11-07 Jeff Johnston <jjohnstn@redhat.com>
1302
1303 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
1304 x86 build.
1305 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
1306 and set up default flags to pass to aclocal.
1307 * iconvdata/Makefile.in: Regenerated.
1308 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
1309 and getpwuid routines.
1310 * libc/sys/linux/Makefile.in: Regenerated.
1311 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
1312 applications to link with newlib's shared libc library.
1313 * libc/sys/linux/getpwnam.c: Ditto.
1314 * libc/sys/linux/getpwuid.c: Ditto.
1315 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
1316 that were formerly supplied by /usr/include/linux/types.h with
1317 kernel types.
1318 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
1319 test _ELIX_LEVEL macro.
1320
2985521f
JJ
13212003-11-07 Jeff Johnston <jjohnstn@redhat.com>
1322
1323 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
1324 referring to _NO_LONGLONG macro.
1325
dcad6a89
JJ
13262003-11-06 Jeff Johnston <jjohnstn@redhat.com>
1327
1328 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
1329 in LOG() macro so this will compile on gcc 3.4 and up.
1330 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
1331 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
1332 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
1333 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
1334 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
1335 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
1336 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
1337 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
1338 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
1339 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
1340 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
1341 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
1342 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
1343 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
1344 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
1345 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
1346 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
1347 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
1348 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
1349 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
1350 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
1351 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
1352 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
1353 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
1354 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
1355 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
1356 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
1357 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
1358 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
1359 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
1360 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
1361 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
1362 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
1363 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
1364 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
1365 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
1366
d2ffac09 13672003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5d109bde 1368 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
1369
1370 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
1371 %ls, %S, %lc, and %C format specifiers.
1372 (get_arg): Ditto.
1373 * libc/stdio/sprintf.c: Add documentation regarding new
1374 format specifiers added in vfprintf.c.
1375
da2d1227
JJ
13762003-11-05 Jeff Johnston <jjohnstn@redhat.com>
1377
1378 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
1379 to make code work as specified in standard.
1380
3ef05bac
JJ
13812003-10-23 Jeff Johnston <jjohnstn@redhat.com>
1382
1383 * configure.in: Use absolute newlib basedir when forming
1384 CC_FOR_NEWLIB include options.
1385 * configure: Regenerated.
1386
5d109bde 13872003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
1388
1389 * libc/string/wcsnlen.c: New file.
1390 * libc/include/wchar.h: Add wcsnlen prototype.
1391 * libc/string/Makefile.am: Add wcsnlen support.
1392 * libc/string/Makefile.in: Regenerated.
1393 * libc/string/wcstrings.tex: Add wcsnlen documentation.
1394
63a823f8
RS
13952003-10-22 Richard Sandiford <rsandifo@redhat.com>
1396
1397 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
1398
76a7df52
JJ
13992003-10-20 Bob Wilson <bob.wilson@acm.org>
1400
1401 * libc/locale/locale.c: Use double quotes in code.
1402 * libc/locale/locale.tex: Likewise.
1403 * libc/libc.texinfo: Hyphenate "floating-point".
1404 * libc/machine/necv70/necv70.tex: Likewise.
1405 * libc/stdio/sprintf.c: Likewise.
1406 * libc/stdio/sscanf.c: Likewise.
1407 * libc/stdlib/atof.c: Likewise.
1408 * libc/stdlib/ldtoa.c: Fix comment typo.
1409 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
1410 * libc/stdlib/ldiv.c: Likewise.
1411 * libm/common/s_expm1.c: Likewise.
1412 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
1413 * libm/common/s_infinity: Hyphenate "double- and single-precision".
1414 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
1415 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
1416 and "floating-point".
1417 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
1418 * libm/math/e_pow.c: Fix comment typo.
1419 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
1420 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
1421 * libm/math/s_atan.c: Likewise.
1422 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
1423 * libm/math/s_isnan.c: Hyphenate "single-precision" and
1424 "floating-point". Use "nonzero".
1425 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
1426 * libm/math/w_acos.c: Likewise.
1427 * libm/math/w_acosh.c: Likewise.
1428 * libm/math/w_asin.c: Likewise.
1429 * libm/math/w_atan2.c: Likewise.
1430 * libm/math/w_atanh.c: Likewise.
1431 * libm/math/w_cosh.c: Likewise.
1432 * libm/math/w_exp.c: Likewise.
1433 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
1434 version of 2^x in the description.
1435 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
1436 * libm/math/w_gamma.c: Likewise.
1437 * libm/math/w_hypot.c: Likewise.
1438 * libm/math/w_j0.c: Likewise.
1439 * libm/math/w_sinh.c: Likewise.
1440 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
1441 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
1442 "floating-point".
1443 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
1444 * libm/mathfp/e_atanh.c: Likewise.
1445 * libm/mathfp/e_hypot.c: Likewise.
1446 * libm/mathfp/er_lgamma.c: Likewise.
1447 * libm/mathfp/s_acos.c: Likewise.
1448 * libm/mathfp/s_asine.c: Likewise.
1449 * libm/mathfp/s_asinh.c: Likewise.
1450 * libm/mathfp/s_atan.c: Likewise.
1451 * libm/mathfp/s_atan2.c: Likewise.
1452 * libm/mathfp/s_atangent.c: Likewise.
1453 * libm/mathfp/s_cosh.c: Likewise.
1454 * libm/mathfp/s_exp.c: Likewise.
1455 * libm/mathfp/s_fmod.c: Likewise.
1456 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
1457 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
1458 "floating-point". Use "nonzero".
1459 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
1460 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
1461 * libm/mathfp/s_sineh.c: Likewise.
1462 * libm/mathfp/w_jn.c: Likewise.
1463
b11926e7
JJ
14642003-10-15 Alexandre Oliva <aoliva@redhat.com>
1465
1466 * Makefile.am: Add $(MAKE) comments to multido and multiclean
1467 lines, to enable parallel make.
1468 * Makefile.in: Rebuilt.
1469
31271d5c
CF
14702003-10-14 Christopher Faylor <cgf@redhat.com>
1471
1472 * libc/time/clock.c: Clarify documentation of return value when no
1473 measurement is available.
1474
bc707cbd
JJ
14752003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
1476
1477 * libm/configure.in: Check libm_machine_dir, not machine_dir.
1478 * libm/configure: Regenerate.
1479 * libm/Makefile.in: Ditto.
1480
f4b10605
JR
14812003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
1482
1483 * libc/machine/sh/strncpy.S: New file.
1484 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
1485 * libc/machine/sh/Makefile.in: Regenerate.
1486
ce044d8f
JW
14872003-09-11 James E Wilson <wilson@specifixinc.com>
1488
1489 * MAINTAINERS: Update my e-mail address.
1490
080ef411
CV
14912003-09-10 Corinna Vinschen <corinna@vinschen.de>
1492
1493 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
1494
3a767b69
JJ
14952003-09-09 Jeff Johnston <jjohnstn@redhat.com>
1496
080ef411
CV
1497 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
1498 prototype.
1499 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
1500 _simdldcheck(). Also add unsigned cast for index variable in
1501 for loop using sizeof operators.
1502 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
1503 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
1504 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
1505 plus fix shift calculation for determining if there is a
1506 carry from word2.
3a767b69 1507
84154fcc
CV
15082003-09-09 Corinna Vinschen <corinna@vinschen.de>
1509
1510 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
1511 setgroupent for Cygwin.
1512
f1b15058
JJ
15132003-09-05 Jeff Johnston <jjohnstn@redhat.com>
1514
1515 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
1516 is different for _REENT_SMALL than when using regular reent
1517 struct.
1518
cf88c20f 15192003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 1520
b73263e4
BE
1521 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
1522 modern versions of GCC issue a warning.
1523
0a8fd4dc
BE
1524 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
1525 after continuation characters that induces a warning from modern
1526 versions of GCC.
1527
10a32423
BE
15282003-09-04 Ben Elliston <bje@wasabisystems.com>
1529
1530 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
1531 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
1532
ed027a53
JJ
15332003-09-02 Thomas Pfaff <tpfaff@gmx.net>
1534
1535 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
1536 * libc/stdlib/exit.c : Ditto.
1537 * libc/stdlib/on_exit.c: Ditto.
1538
880fa247
JJ
15392003-08-27 Corinna Vinschen <corinna@vinschen.de>
1540
1541 * libc/include/reent.h: Define stat64 as __stat64 when
1542 compiling newlib for Cygwin.
1543
54c1d7ea
JJ
15442003-08-26 Jeff Johnston <jjohnstn@redhat.com>
1545
1546 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
1547 __stat64 when compiling newlib.
1548
0eca0750
JJ
15492003-08-26 Jeff Johnston <jjohnstn@redhat.com>
1550
1551 * libc/include/stdio.h: Allow the io64 function prototypes for
1552 Cygwin when compiling newlib.
1553 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
1554 to expose the Cygwin struct __stat64 type.
1555 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
1556 pointer.
1557 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
1558
9d4aef19
CF
15592003-08-23 Christopher Faylor <cgf@redhat.com>
1560
1561 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
1562 definition to fseeko64.
1563
9fc9e1c9
JJ
15642003-08-22 Jeff Johnston <jjohnstn@redhat.com>
1565
1566 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
1567 * libc/stdio: Globally remove/replace all references to fp->_data.
1568 Replace with _REENT or _GLOBAL_REENT where appropriate.
1569 * libc/stdio/asprintf.c: Ditto.
1570 * libc/stdio/fclose.c: Ditto.
1571 * libc/stdio/fvwrite.c: Ditto.
1572 * libc/stdio/makebuf.c: Ditto.
1573 * libc/stdio/refill.c: Ditto.
1574 * libc/stdio/local.h: Ditto.
1575 * libc/stdio/setvbuf.c: Ditto.
1576 * libc/stdio/sscanf.c: Ditto.
1577 * libc/stdio/stdio.c: Ditto.
1578 * libc/stdio/ungetc.c: Ditto.
1579 * libc/stdio/vfscanf.c: Ditto.
1580 * libc/stdio/vsscanf.c: Ditto.
1581 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
1582 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
1583 * libc/stdio/vsnprintf.c: Ditto.
1584 * libc/stdio/vsprintf.c: Ditto.
1585 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
1586 instead of _REENT to walk file list.
1587 * libc/stdio/fflush.c: Ditto.
1588 * libc/stdio/fgetpos.c: Add reentrant version and have regular
1589 version call reentrant version with _REENT argument.
1590 * libc/stdio/fsetpos.c: Ditto.
1591 * libc/stdio/fseek.c: Ditto.
1592 * libc/stdio/fseeko.c: Ditto.
1593 * libc/stdio/ftell.c: Ditto.
1594 * libc/stdio/ftello.c: Ditto.
1595 * libc/stdio/freopen.c: Ditto.
1596 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
1597 new files to chain. Also use _GLOBAL_REENT pointer for
1598 cleaning up.
1599 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
1600 * libc/stdio/siprintf.c: Ditto.
1601 * libc/stdio/iprintf.c: Ditto.
1602 * libc/stdio/fprintf.c: Ditto.
1603 * libc/stdio/printf.c: Ditto.
1604 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
1605 * libc/stdio/sprintf.c: Ditto.
1606 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
1607 * libc/stdio/rewind.c: Call _fseek_r directly.
1608 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
1609 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
1610 data pointer.
1611 (get_arg): Add extra struct _reent pointer argument.
1612 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
1613 to fp->_data.
1614 * libc/stdio64/fopen64.c: Ditto.
1615 * libc/stdio64/freopen64.c: Ditto.
1616 * libc/stdio64/fsetpos64.c: Ditto.
1617 * libc/stdio64/ftello64.c: Ditto.
1618 * libc/stdio64/local64.h: Ditto.
1619 * libc/stdio64/stdio64.c: Ditto.
1620 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
1621 _fstat64_r for the meantime.
1622
8f021114
JJ
16232003-08-19 Jeff Johnston <jjohnstn@redhat.com>
1624
1625 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
1626 overflow detection.
1627
db979bb4
JJ
16282003-08-13 Aldy Hernandez <aldyh@redhat.com>
1629
1630 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
1631 extern "C".
1632
6efbdc7d
JJ
16332003-08-13 Jeff Johnston <jjohnstn@redhat.com>
1634
1635 * libc/include/math.h: Add prototypes for __signbitf and
1636 __signbitd.
1637
e895fc20
JJ
16382003-07-31 Jeff Johnston <jjohnstn@redhat.com>
1639
1640 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
1641 correct type of conversion when dealing with EUCJP or SJIS.
1642 * libc/ctype/iswblank.c: Ditto.
1643 * libc/ctype/iswcntrl.c: Ditto.
1644 * libc/ctype/iswprint.c: Ditto.
1645 * libc/ctype/iswpunct.c: Ditto.
1646 * libc/ctype/iswspace.c: Ditto.
1647 * libc/ctype/towlower.c: Ditto.
1648 * libc/ctype/towupper.c: Ditto.
1649
0302dfe5
NC
16502003-07-31 Nick Clifton <nickc@redhat.com>
1651
1652 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
1653 before calling main, in case it saves its argument registers.
1654 Remove reference to deleted v850ea port.
1655 * configure.host: Remove reference to deleted v850ea port.
1656 Do not use -mv850 when building for v850e target. This
1657 prevents the ctbp system register from being initialised.
1658
42de5592
JJ
16592003-07-29 Honda Hiroki <hhonda@ipflex.com>
1660
1661 * libc/stdio/vfprintf.c: Set output size to 1 when
1662 we have %f format with precision 0 and # flag not specified.
1663
e5de27b6
AO
16642003-07-29 Alexandre Oliva <aoliva@redhat.com>
1665
1666 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
1667 .am33_2.
1668
3c98a593
CF
16692003-07-25 Christopher Faylor <cgf@redhat.com>
1670
1671 * libc/stdio64/fdopen64.c: Include sys/lock.h.
1672
e222bf67
CF
16732003-07-25 Christopher Faylor <cgf@redhat.com>
1674
1675 * configure.host: Find cygwin include directory, when appropriate.
1676
03536757
CF
16772003-07-24 Christopher Faylor <cgf@redhat.com>
1678
1679 * libc/stdio64/fdopen64.c: New file.
1680 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
1681 * libc/stdio64/Makefile.in: Regenerate.
1682 * libc/include/stdio.h (fdopen64): Define.
1683 * libc/include/stdio.h (_fdopen64_r): Ditto.
1684
18072a4f
AO
16852003-07-10 Alexandre Oliva <aoliva@redhat.com>
1686
1687 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
1688 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
1689 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
1690 restore callee-saved FP registers.
1691
e0bec12f
JR
16922003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
1693
1694 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
1695 for __sh__.
1696 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
1697 truncate.c.
1698 * libc/sys/sh/Makefile.in: Regenerate.
1699 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
1700 * libc/sys/sh/ftruncate.c: New file.
1701 * libc/sys/sh/truncate.c: Likewise.
1702
03d65dd9
AO
17032003-07-09 Alexandre Oliva <aoliva@redhat.com>
1704
1705 * libc/include/math.h (nan, nanf): Update prototype to C99.
1706 * libm/common/s_nan.c (nan): Likewise.
1707 * libm/common/s_nanf.c (nanf, nan): Likewise.
1708 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
1709
74aa9d7d
JJ
17102003-07-07 Jeff Johnston <jjohnstn@redhat.com>
1711
1712 * libc/include/stdbool.h: Removed as this is defined by gcc.
1713
0a447ef3
JJ
17142003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
1715
1716 * libc/include/stdbool.h: New header file defined by C99.
1717
282eff9a
JJ
17182003-07-02 Jeff Johnston <jjohnstn@redhat.com>
1719
1720 * libc/include/sys/types.h (int8_t): Make signed.
1721
4e989b11
JJ
17222003-07-02 Jeff Johnston <jjohnstn@redhat.com>
1723
1724 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
1725
07b40cf8
JJ
17262003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
1727
1728 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
1729 on if we actually created the shared memory file exclusively.
1730
7daa7891
JJ
17312003-06-27 Joe Vornehm <joev@mitre.org>
1732
1733 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
1734 comparisons to account for unsigned internal value w.
1735
51fa7562
JJ
17362003-06-26 Jeff Johnston <jjohnstn@redhat.com>
1737
1738 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
1739 wrbuf for a non-creating open.
1740
b8f7ea5c
JJ
17412003-06-24 Kazu Hirata <kazu@cs.umass.edu>
1742
1743 * libc/machine/h8300/setarch.h: New.
1744 * libc/machine/h8300/memcpy.S: Use it.
1745 * libc/machine/h8300/memset.S: Likewise.
1746 * libc/machine/h8300/reg_memcpy.S: Likewise.
1747 * libc/machine/h8300/reg_memset.S: Likewise.
1748 * libc/machine/h8300/setjmp.S: Likewise.
1749 * libc/machine/h8300/strcmp.S: Likewise.
1750
6d7ea52a
RS
17512003-06-24 Richard Sandiford <rsandifo@redhat.com>
1752
1753 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
1754 to atexit().
1755
5a74f2aa
JJ
17562003-06-20 Jeff Johnston <jjohnstn@redhat.com>
1757
1758 * configure.host (iq2000): Add tabs.
1759
8266e478
JJ
17602003-06-20 Jeff Johnston <jjohnstn@redhat.com>
1761
1762 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
1763 to handle latest on_exit change.
1764 * libc/sys/linux/Makefile.am: Remove special compilation
1765 for malloc.c and mcheck.c.
1766 * libc/sys/linux/Makefile.in: Regenerated.
1767 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
1768 after including <features.h>.
1769 * libc/sys/linux/mcheck.c: Ditto.
1770 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
1771 for <features.h>.
1772 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
1773 add -DNOT_IN_libc to C flags.
1774 * libc/sys/linux/intl/Makefile.in: Regenerated.
1775 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
1776 * libc/sys/linux/linuxthreads/semaphore.h: Include
1777 <bits/pthreadtypes.h>.
1778 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
1779 including <features.h>.
1780 * libc/sys/linux/sys/lock.h: Ditto.
1781
0efe117b
NC
17822003-06-11 Nick Clifton <nickc@redhat.com>
1783
1784 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
1785 _on_exit_args_ptr.
1786
bfdfd7e6
AG
17872003-06-10 Stan Cox <scox@redhat.com>
1788 Anthony Green <green@redhat.com>
1789
1790 * configure.host: Add iq2000 support.
1791 * newlib/libc/include/machine/ieeefp.h: Ditto.
1792 * newlib/libc/include/machine/setjmp.h: Ditto.
1793 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
1794 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
1795 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
1796 libc/machine/iq2000/Makefile.in: New files.
1797
d9e4104b
RS
17982003-06-10 Richard Sandiford <rsandifo@redhat.com>
1799
1800 * libc/sys/h8300hms/setarch.h: New file.
1801 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
1802 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
1803 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
1804 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
1805
729d1ff9
JJ
18062003-06-06 Jeff Johnston <jjohnstn@redhat.com>
1807
1808 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
1809 definition.
1810 * libc/argz/argz_add_sep.c: Ditto.
1811 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
1812 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
1813 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
1814 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
1815 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
1816 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
1817 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
1818 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
1819 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
1820 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
1821 * libc/posix/execl.c libc/posix/execle.c: Ditto.
1822 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
1823 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
1824 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
1825 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
1826 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
1827 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
1828 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
1829 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
1830 * libc/search/twalk.c libc/signal/signal.c: Ditto.
1831
75d7d177
NC
18322003-06-05 Nick Clifton <nickc@redhat.com>
1833
1834 * libc/include/sys/reent.h (struct _on_exit_args): New
1835 structure containing fields used by the on_exit() function.
1836 (struct _atexit): Include struct _on_exit_args. For
1837 _REENT_SMALL do his via a pointer that is initialised when
1838 needed.
1839 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
1840 structure, if one has been allocated.
1841 * libc/stdlib/atexit.c (atexit): Update indirection to
1842 _fntypes field.
1843 * libc/stdlib/on_exit.c (on_exit): Indirect via the
1844 _on_exit_args structure. For _REENT_SMALL, allocate a
1845 structure if one does not exist.
1846 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
1847 structure.
1848
2129f283
JJ
18492003-06-04 Jeff Johnston <jjohnstn@redhat.com>
1850
1851 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
1852 * libc/sys/linux/net/Makefile.in: Regenerated.
1853
bf3bcac2
JJ
18542003-06-03 Jeff Johnston <jjohnstn@redhat.com>
1855
1856 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
1857 * libc/reent/fcntlr.c: Ditto.
1858 * libc/reent/fstat64r.c: Ditto.
1859 * libc/reent/linkr.c: Ditto.
1860 * libc/reent/lseek64r.c: Ditto.
1861 * libc/reent/lseekr.c: Ditto.
1862 * libc/reent/openr.c: Ditto.
1863 * libc/reent/readr.c: Ditto.
1864 * libc/reent/reent.c: Ditto.
1865 * libc/reent/sbrkr.c: Ditto.
1866 * libc/reent/signalr.c: Ditto.
1867 * libc/reent/signgam.c: Ditto.
1868 * libc/reent/statr.c: Ditto.
1869 * libc/reent/timer.c: Ditto.
1870 * libc/reent/unlinkr.c: Ditto.
1871 * libc/reent/writer.c: Ditto.
1872 * libc/syscalls/sysclose.c: Ditto.
1873 * libc/syscalls/sysexecve.c: Ditto.
1874 * libc/syscalls/sysfcntl.c: Ditto.
1875 * libc/syscalls/sysfork.c: Ditto.
1876 * libc/syscalls/sysfstat.c: Ditto.
1877 * libc/syscalls/sysgetpid.c: Ditto.
1878 * libc/syscalls/sysgettod.c: Ditto.
1879 * libc/syscalls/syskill.c: Ditto.
1880 * libc/syscalls/syslink.c: Ditto.
1881 * libc/syscalls/syslseek.c: Ditto.
1882 * libc/syscalls/sysopen.c: Ditto.
1883 * libc/syscalls/sysread.c: Ditto.
1884 * libc/syscalls/syssbrk.c: Ditto.
1885 * libc/syscalls/sysstat.c: Ditto.
1886 * libc/syscalls/systimes.c: Ditto.
1887 * libc/syscalls/sysunlink.c: Ditto.
1888 * libc/syscalls/syswait.c: Ditto.
1889 * libc/syscalls/syswrite.c: Ditto.
1890
702ceb23
JJ
18912003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
1892
1893 * libc/time/tzset_r.c: Change local variables that are
1894 set via sscanf using the %h format specifier to be unsigned short
1895 instead of int.
1896
102861c9
JJ
18972003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
1898
1899 * configure.host: Allow i[34567]86 variant.
1900 * configure.in: Likewise.
1901 * README: Likewise to the docs.
1902 * configure: Regenerated.
1903 * Makefile.in: Ditto.
1904
b359e82c
JJ
19052003-05-28 Jeff Johnston <jjohnstn@redhat.com>
1906 Tom Fitzsimmons <fitzsim@redhat.com>
1907
1908 * configure.in: Add iconvdata support for x86 linux.
1909 * configure: Regenerated.
1910 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
1911 library, iconv, and linuxthreads support.
1912 * libc/sys/linux/configure.in: Ditto.
1913 * libc/sys/linux/Makefile.in: Regenerated.
1914 * libc/sys/linux/configure: Ditto.
1915 * iconvdata/EUC-JP.irreversible: New file.
1916 * iconvdata/Makefile.am: Ditto.
1917 * iconvdata/Makefile.in: Ditto.
1918 * iconvdata/SJIS.irreversible: Ditto.
1919 * iconvdata/aclocal.m4: Ditto.
1920 * iconvdata/configure: Ditto.
1921 * iconvdata/configure.in: Ditto.
1922 * iconvdata/dummy.c: Ditto.
1923 * iconvdata/euc-jp.c: Ditto.
1924 * iconvdata/gconv-modules: Ditto.
1925 * iconvdata/jis0201.c: Ditto.
1926 * iconvdata/jis0201.h: Ditto.
1927 * iconvdata/jis0208.c: Ditto.
1928 * iconvdata/jis0208.h: Ditto.
1929 * iconvdata/jis0212.c: Ditto.
1930 * iconvdata/jis0212.h: Ditto.
1931 * iconvdata/sjis.c: Ditto.
1932 * libc/include/errno.h: Protect definition of error_t.
1933 * libc/sys/linux/gethostid.c: New file.
1934 * libc/sys/linux/sethostid.c: Ditto.
1935 * libc/sys/linux/dl/Makefile.am: Ditto.
1936 * libc/sys/linux/dl/Makefile.in: Ditto.
1937 * libc/sys/linux/dl/abi-tag.h: Ditto.
1938 * libc/sys/linux/dl/atomicity.h: Ditto.
1939 * libc/sys/linux/dl/dl-addr.c: Ditto.
1940 * libc/sys/linux/dl/dl-cache.c: Ditto.
1941 * libc/sys/linux/dl/dl-cache.h: Ditto.
1942 * libc/sys/linux/dl/dl-close.c: Ditto.
1943 * libc/sys/linux/dl/dl-debug.c: Ditto.
1944 * libc/sys/linux/dl/dl-deps.c: Ditto.
1945 * libc/sys/linux/dl/dl-dst.h: Ditto.
1946 * libc/sys/linux/dl/dl-error.c: Ditto.
1947 * libc/sys/linux/dl/dl-fini.c: Ditto.
1948 * libc/sys/linux/dl/dl-init.c: Ditto.
1949 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
1950 * libc/sys/linux/dl/dl-libc.c: Ditto.
1951 * libc/sys/linux/dl/dl-librecon.h: Ditto.
1952 * libc/sys/linux/dl/dl-load.c: Ditto.
1953 * libc/sys/linux/dl/dl-lookup.c: Ditto.
1954 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
1955 * libc/sys/linux/dl/dl-minimal.c: Ditto.
1956 * libc/sys/linux/dl/dl-misc.c: Ditto.
1957 * libc/sys/linux/dl/dl-object.c: Ditto.
1958 * libc/sys/linux/dl/dl-open.c: Ditto.
1959 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
1960 * libc/sys/linux/dl/dl-profile.c: Ditto.
1961 * libc/sys/linux/dl/dl-profstub.c: Ditto.
1962 * libc/sys/linux/dl/dl-reloc.c: Ditto.
1963 * libc/sys/linux/dl/dl-runtime.c: Ditto.
1964 * libc/sys/linux/dl/dl-support.c: Ditto.
1965 * libc/sys/linux/dl/dl-sym.c: Ditto.
1966 * libc/sys/linux/dl/dl-version.c: Ditto.
1967 * libc/sys/linux/dl/dlfcn.h: Ditto.
1968 * libc/sys/linux/dl/do-lookup.h: Ditto.
1969 * libc/sys/linux/dl/do-rel.h: Ditto.
1970 * libc/sys/linux/dl/dynamic-link.h: Ditto.
1971 * libc/sys/linux/dl/kernel-features.h: Ditto.
1972 * libc/sys/linux/dl/ldsodefs.h: Ditto.
1973 * libc/sys/linux/dl/libintl.h: Ditto.
1974 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
1975 * libc/sys/linux/dl/unsecvars.h: Ditto.
1976 * libc/sys/linux/iconv/Makefile.am: Ditto.
1977 * libc/sys/linux/iconv/Makefile.in: Ditto.
1978 * libc/sys/linux/iconv/categories.def: Ditto.
1979 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
1980 * libc/sys/linux/iconv/gconv.c: Ditto.
1981 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
1982 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
1983 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
1984 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
1985 * libc/sys/linux/iconv/gconv_close.c: Ditto.
1986 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
1987 * libc/sys/linux/iconv/gconv_db.c: Ditto.
1988 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
1989 * libc/sys/linux/iconv/gconv_int.h: Ditto.
1990 * libc/sys/linux/iconv/gconv_open.c: Ditto.
1991 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
1992 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
1993 * libc/sys/linux/iconv/hash-string.h: Ditto.
1994 * libc/sys/linux/iconv/iconv.c: Ditto.
1995 * libc/sys/linux/iconv/iconv.h: Ditto.
1996 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
1997 * libc/sys/linux/iconv/iconv_close.c: Ditto.
1998 * libc/sys/linux/iconv/iconv_open.c: Ditto.
1999 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
2000 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
2001 * libc/sys/linux/iconv/loadinfo.h: Ditto.
2002 * libc/sys/linux/iconv/localeinfo.h: Ditto.
2003 * libc/sys/linux/iconv/loop.c: Ditto.
2004 * libc/sys/linux/iconv/skeleton.c: Ditto.
2005 * libc/sys/linux/iconv/strtab.c: Ditto.
2006 * libc/sys/linux/include/dl-hash.h: Ditto.
2007 * libc/sys/linux/include/dlfcn.h: Ditto.
2008 * libc/sys/linux/include/fnmatch.h: Ditto.
2009 * libc/sys/linux/include/gconv.h: Ditto.
2010 * libc/sys/linux/include/glob.h: Ditto.
2011 * libc/sys/linux/include/hesiod.h: Ditto.
2012 * libc/sys/linux/include/ifaddrs.h: Ditto.
2013 * libc/sys/linux/include/libc_private.h: Ditto.
2014 * libc/sys/linux/include/link.h: Ditto.
2015 * libc/sys/linux/include/namespace.h: Ditto.
2016 * libc/sys/linux/include/netconfig.h: Ditto.
2017 * libc/sys/linux/include/netdb.h: Ditto.
2018 * libc/sys/linux/include/nsswitch.h: Ditto.
2019 * libc/sys/linux/include/regex.h: Ditto.
2020 * libc/sys/linux/include/resolv.h: Ditto.
2021 * libc/sys/linux/include/rune.h: Ditto.
2022 * libc/sys/linux/include/runetype.h: Ditto.
2023 * libc/sys/linux/include/semaphore.h: Ditto.
2024 * libc/sys/linux/include/setlocale.h: Ditto.
2025 * libc/sys/linux/include/un-namespace.h: Ditto.
2026 * libc/sys/linux/include/wordexp.h: Ditto.
2027 * libc/sys/linux/include/arpa/ftp.h: Ditto.
2028 * libc/sys/linux/include/arpa/inet.h: Ditto.
2029 * libc/sys/linux/include/arpa/nameser.h: Ditto.
2030 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
2031 * libc/sys/linux/include/arpa/telnet.h: Ditto.
2032 * libc/sys/linux/include/arpa/tftp.h: Ditto.
2033 * libc/sys/linux/include/net/bpf.h: Ditto.
2034 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
2035 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
2036 * libc/sys/linux/include/net/bridge.h: Ditto.
2037 * libc/sys/linux/include/net/ethernet.h: Ditto.
2038 * libc/sys/linux/include/net/fddi.h: Ditto.
2039 * libc/sys/linux/include/net/if.h: Ditto.
2040 * libc/sys/linux/include/net/if_arc.h: Ditto.
2041 * libc/sys/linux/include/net/if_arp.h: Ditto.
2042 * libc/sys/linux/include/net/if_atm.h: Ditto.
2043 * libc/sys/linux/include/net/if_dl.h: Ditto.
2044 * libc/sys/linux/include/net/if_gif.h: Ditto.
2045 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
2046 * libc/sys/linux/include/net/if_llc.h: Ditto.
2047 * libc/sys/linux/include/net/if_media.h: Ditto.
2048 * libc/sys/linux/include/net/if_mib.h: Ditto.
2049 * libc/sys/linux/include/net/if_ppp.h: Ditto.
2050 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
2051 * libc/sys/linux/include/net/if_slvar.h: Ditto.
2052 * libc/sys/linux/include/net/if_sppp.h: Ditto.
2053 * libc/sys/linux/include/net/if_stf.h: Ditto.
2054 * libc/sys/linux/include/net/if_tap.h: Ditto.
2055 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
2056 * libc/sys/linux/include/net/if_tun.h: Ditto.
2057 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
2058 * libc/sys/linux/include/net/if_types.h: Ditto.
2059 * libc/sys/linux/include/net/if_var.h: Ditto.
2060 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
2061 * libc/sys/linux/include/net/intrq.h: Ditto.
2062 * libc/sys/linux/include/net/iso88025.h: Ditto.
2063 * libc/sys/linux/include/net/net_osdep.h: Ditto.
2064 * libc/sys/linux/include/net/netisr.h: Ditto.
2065 * libc/sys/linux/include/net/pfil.h: Ditto.
2066 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
2067 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
2068 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
2069 * libc/sys/linux/include/net/radix.h: Ditto.
2070 * libc/sys/linux/include/net/raw_cb.h: Ditto.
2071 * libc/sys/linux/include/net/route.h: Ditto.
2072 * libc/sys/linux/include/net/slcompress.h: Ditto.
2073 * libc/sys/linux/include/net/slip.h: Ditto.
2074 * libc/sys/linux/include/net/zlib.h: Ditto.
2075 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
2076 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
2077 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
2078 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
2079 * libc/sys/linux/include/netinet/igmp.h: Ditto.
2080 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
2081 * libc/sys/linux/include/netinet/in.h: Ditto.
2082 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
2083 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
2084 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
2085 * libc/sys/linux/include/netinet/in_var.h: Ditto.
2086 * libc/sys/linux/include/netinet/ip.h: Ditto.
2087 * libc/sys/linux/include/netinet/ip6.h: Ditto.
2088 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
2089 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
2090 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
2091 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
2092 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
2093 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
2094 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
2095 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
2096 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
2097 * libc/sys/linux/include/netinet/tcp.h: Ditto.
2098 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
2099 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
2100 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
2101 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
2102 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
2103 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
2104 * libc/sys/linux/include/netinet/udp.h: Ditto.
2105 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
2106 * libc/sys/linux/include/netinet6/ah.h: Ditto.
2107 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
2108 * libc/sys/linux/include/netinet6/esp.h: Ditto.
2109 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
2110 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
2111 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
2112 * libc/sys/linux/include/netinet6/in6.h: Ditto.
2113 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
2114 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
2115 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
2116 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
2117 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
2118 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
2119 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
2120 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
2121 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
2122 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
2123 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
2124 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
2125 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
2126 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
2127 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
2128 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
2129 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
2130 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
2131 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
2132 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
2133 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
2134 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
2135 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
2136 * libc/sys/linux/include/netns/idp.h: Ditto.
2137 * libc/sys/linux/include/netns/idp_var.h: Ditto.
2138 * libc/sys/linux/include/netns/ns.h: Ditto.
2139 * libc/sys/linux/include/netns/ns_error.h: Ditto.
2140 * libc/sys/linux/include/netns/ns_if.h: Ditto.
2141 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
2142 * libc/sys/linux/include/netns/sp.h: Ditto.
2143 * libc/sys/linux/include/netns/spidp.h: Ditto.
2144 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
2145 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
2146 * libc/sys/linux/include/netns/spp_var.h: Ditto.
2147 * libc/sys/linux/include/rpc/Makefile: Ditto.
2148 * libc/sys/linux/include/rpc/auth.h: Ditto.
2149 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
2150 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
2151 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
2152 * libc/sys/linux/include/rpc/clnt.h: Ditto.
2153 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
2154 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
2155 * libc/sys/linux/include/rpc/des.h: Ditto.
2156 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
2157 * libc/sys/linux/include/rpc/nettype.h: Ditto.
2158 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
2159 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
2160 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
2161 * libc/sys/linux/include/rpc/raw.h: Ditto.
2162 * libc/sys/linux/include/rpc/rpc.h: Ditto.
2163 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
2164 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
2165 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
2166 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
2167 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
2168 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
2169 * libc/sys/linux/include/rpc/svc.h: Ditto.
2170 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
2171 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
2172 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
2173 * libc/sys/linux/include/rpc/types.h: Ditto.
2174 * libc/sys/linux/include/rpc/xdr.h: Ditto.
2175 * libc/sys/linux/intl/Makefile.am: Ditto.
2176 * libc/sys/linux/intl/Makefile.in: Ditto.
2177 * libc/sys/linux/intl/bindtextdom.c: Ditto.
2178 * libc/sys/linux/intl/catgets.c: Ditto.
2179 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
2180 * libc/sys/linux/intl/config.h: Ditto.
2181 * libc/sys/linux/intl/dcgettext.c: Ditto.
2182 * libc/sys/linux/intl/dcigettext.c: Ditto.
2183 * libc/sys/linux/intl/dcngettext.c: Ditto.
2184 * libc/sys/linux/intl/dgettext.c: Ditto.
2185 * libc/sys/linux/intl/dngettext.c: Ditto.
2186 * libc/sys/linux/intl/explodename.c: Ditto.
2187 * libc/sys/linux/intl/finddomain.c: Ditto.
2188 * libc/sys/linux/intl/gettext.c: Ditto.
2189 * libc/sys/linux/intl/gettext.h: Ditto.
2190 * libc/sys/linux/intl/gettextP.h: Ditto.
2191 * libc/sys/linux/intl/hash-string.h: Ditto.
2192 * libc/sys/linux/intl/l10nflist.c: Ditto.
2193 * libc/sys/linux/intl/loadinfo.h: Ditto.
2194 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
2195 * libc/sys/linux/intl/locale.alias: Ditto.
2196 * libc/sys/linux/intl/localealias.c: Ditto.
2197 * libc/sys/linux/intl/ngettext.c: Ditto.
2198 * libc/sys/linux/intl/open_catalog.c: Ditto.
2199 * libc/sys/linux/intl/plural.c: Ditto.
2200 * libc/sys/linux/intl/plural.y: Ditto.
2201 * libc/sys/linux/intl/stpcpy.c: Ditto.
2202 * libc/sys/linux/intl/textdomain.c: Ditto.
2203 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
2204 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2205 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
2206 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
2207 * libc/sys/linux/linuxthreads/attr.c: Ditto.
2208 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
2209 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
2210 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
2211 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
2212 * libc/sys/linux/linuxthreads/config.h: Ditto.
2213 * libc/sys/linux/linuxthreads/configure: Ditto.
2214 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2215 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
2216 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
2217 * libc/sys/linux/linuxthreads/events.c: Ditto.
2218 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
2219 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
2220 * libc/sys/linux/linuxthreads/internals.h: Ditto.
2221 * libc/sys/linux/linuxthreads/join.c: Ditto.
2222 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
2223 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
2224 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
2225 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
2226 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
2227 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
2228 * libc/sys/linux/linuxthreads/manager.c: Ditto.
2229 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
2230 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
2231 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
2232 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
2233 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
2234 * libc/sys/linux/linuxthreads/prio.c: Ditto.
2235 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
2236 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
2237 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
2238 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
2239 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
2240 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
2241 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
2242 * libc/sys/linux/linuxthreads/queue.h: Ditto.
2243 * libc/sys/linux/linuxthreads/reent.c: Ditto.
2244 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
2245 * libc/sys/linux/linuxthreads/restart.h: Ditto.
2246 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
2247 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
2248 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
2249 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
2250 * libc/sys/linux/linuxthreads/signals.c: Ditto.
2251 * libc/sys/linux/linuxthreads/specific.c: Ditto.
2252 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
2253 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
2254 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
2255 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
2256 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2257 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
2258 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2259 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2260 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2261 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2262 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2263 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2264 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2265 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2266 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2267 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2268 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2269 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2270 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2271 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2272 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2273 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2274 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2275 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2276 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2277 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2278 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2279 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2280 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2281 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2282 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2283 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2284 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2285 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2286 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2287 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2288 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2289 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2290 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2291 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2292 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2293 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
2294 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
2295 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
2296 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
2297 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
2298 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
2299 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
2300 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
2301 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
2302 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
2303 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
2304 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
2305 * libc/sys/linux/linuxthreads/unload.c: Ditto.
2306 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
2307 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
2308 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
2309 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
2310 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
2311 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
2312 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
2313 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
2314 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
2315 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
2316 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
2317 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
2318 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
2319 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2320 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
2321 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2322 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
2323 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
2324 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
2325 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
2326 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
2327 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2328 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
2329 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
2330 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
2331 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
2332 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
2333 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
2334 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
2335 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
2336 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
2337 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
2338 * libc/sys/linux/net/Makefile.am: Ditto.
2339 * libc/sys/linux/net/Makefile.in: Ditto.
2340 * libc/sys/linux/net/addr2ascii.3: Ditto.
2341 * libc/sys/linux/net/addr2ascii.c: Ditto.
2342 * libc/sys/linux/net/ascii2addr.c: Ditto.
2343 * libc/sys/linux/net/base64.c: Ditto.
2344 * libc/sys/linux/net/bindresvport.c: Ditto.
2345 * libc/sys/linux/net/byteorder.3: Ditto.
2346 * libc/sys/linux/net/ether_addr.c: Ditto.
2347 * libc/sys/linux/net/ethers.3: Ditto.
2348 * libc/sys/linux/net/getaddrinfo.3: Ditto.
2349 * libc/sys/linux/net/getaddrinfo.c: Ditto.
2350 * libc/sys/linux/net/gethostbydns.c: Ditto.
2351 * libc/sys/linux/net/gethostbyht.c: Ditto.
2352 * libc/sys/linux/net/gethostbyname.3: Ditto.
2353 * libc/sys/linux/net/gethostbynis.c: Ditto.
2354 * libc/sys/linux/net/gethostnamadr.c: Ditto.
2355 * libc/sys/linux/net/getifaddrs.3: Ditto.
2356 * libc/sys/linux/net/getifaddrs.c: Ditto.
2357 * libc/sys/linux/net/getipnodebyname.3: Ditto.
2358 * libc/sys/linux/net/getnameinfo.3: Ditto.
2359 * libc/sys/linux/net/getnameinfo.c: Ditto.
2360 * libc/sys/linux/net/getnetbydns.c: Ditto.
2361 * libc/sys/linux/net/getnetbyht.c: Ditto.
2362 * libc/sys/linux/net/getnetbynis.c: Ditto.
2363 * libc/sys/linux/net/getnetent.3: Ditto.
2364 * libc/sys/linux/net/getnetnamadr.c: Ditto.
2365 * libc/sys/linux/net/getproto.c: Ditto.
2366 * libc/sys/linux/net/getprotoent.3: Ditto.
2367 * libc/sys/linux/net/getprotoent.c: Ditto.
2368 * libc/sys/linux/net/getprotoname.c: Ditto.
2369 * libc/sys/linux/net/getservbyname.c: Ditto.
2370 * libc/sys/linux/net/getservbyport.c: Ditto.
2371 * libc/sys/linux/net/getservent.3: Ditto.
2372 * libc/sys/linux/net/getservent.c: Ditto.
2373 * libc/sys/linux/net/herror.c: Ditto.
2374 * libc/sys/linux/net/hesiod.3: Ditto.
2375 * libc/sys/linux/net/hesiod.c: Ditto.
2376 * libc/sys/linux/net/if_indextoname.3: Ditto.
2377 * libc/sys/linux/net/ifname.c: Ditto.
2378 * libc/sys/linux/net/inet.3: Ditto.
2379 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
2380 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
2381 * libc/sys/linux/net/inet_addr.c: Ditto.
2382 * libc/sys/linux/net/inet_lnaof.c: Ditto.
2383 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
2384 * libc/sys/linux/net/inet_net.3: Ditto.
2385 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
2386 * libc/sys/linux/net/inet_net_pton.c: Ditto.
2387 * libc/sys/linux/net/inet_neta.c: Ditto.
2388 * libc/sys/linux/net/inet_netof.c: Ditto.
2389 * libc/sys/linux/net/inet_network.c: Ditto.
2390 * libc/sys/linux/net/inet_ntoa.c: Ditto.
2391 * libc/sys/linux/net/inet_ntop.c: Ditto.
2392 * libc/sys/linux/net/inet_pton.c: Ditto.
2393 * libc/sys/linux/net/innetgr-stub.c: Ditto.
2394 * libc/sys/linux/net/ip6opt.c: Ditto.
2395 * libc/sys/linux/net/iso_addr.3: Ditto.
2396 * libc/sys/linux/net/iso_addr.c: Ditto.
2397 * libc/sys/linux/net/issetugid-stub.c: Ditto.
2398 * libc/sys/linux/net/linkaddr.3: Ditto.
2399 * libc/sys/linux/net/linkaddr.c: Ditto.
2400 * libc/sys/linux/net/map_v4v6.c: Ditto.
2401 * libc/sys/linux/net/name6.c: Ditto.
2402 * libc/sys/linux/net/namespace.h: Ditto.
2403 * libc/sys/linux/net/ns.3: Ditto.
2404 * libc/sys/linux/net/ns_addr.c: Ditto.
2405 * libc/sys/linux/net/ns_name.c: Ditto.
2406 * libc/sys/linux/net/ns_netint.c: Ditto.
2407 * libc/sys/linux/net/ns_ntoa.c: Ditto.
2408 * libc/sys/linux/net/ns_parse.c: Ditto.
2409 * libc/sys/linux/net/ns_print.c: Ditto.
2410 * libc/sys/linux/net/ns_ttl.c: Ditto.
2411 * libc/sys/linux/net/nsap_addr.c: Ditto.
2412 * libc/sys/linux/net/nsdispatch.3: Ditto.
2413 * libc/sys/linux/net/nsdispatch.c: Ditto.
2414 * libc/sys/linux/net/nslexer.c: Ditto.
2415 * libc/sys/linux/net/nslexer.l: Ditto.
2416 * libc/sys/linux/net/nsparser.c: Ditto.
2417 * libc/sys/linux/net/nsparser.h: Ditto.
2418 * libc/sys/linux/net/nsparser.y: Ditto.
2419 * libc/sys/linux/net/rcmd.3: Ditto.
2420 * libc/sys/linux/net/rcmd.c: Ditto.
2421 * libc/sys/linux/net/rcmdsh.3: Ditto.
2422 * libc/sys/linux/net/rcmdsh.c: Ditto.
2423 * libc/sys/linux/net/recv.c: Ditto.
2424 * libc/sys/linux/net/res_comp.c: Ditto.
2425 * libc/sys/linux/net/res_config.h: Ditto.
2426 * libc/sys/linux/net/res_data.c: Ditto.
2427 * libc/sys/linux/net/res_debug.c: Ditto.
2428 * libc/sys/linux/net/res_init.c: Ditto.
2429 * libc/sys/linux/net/res_mkquery.c: Ditto.
2430 * libc/sys/linux/net/res_mkupdate.c: Ditto.
2431 * libc/sys/linux/net/res_query.c: Ditto.
2432 * libc/sys/linux/net/res_send.c: Ditto.
2433 * libc/sys/linux/net/res_update.c: Ditto.
2434 * libc/sys/linux/net/resolver.3: Ditto.
2435 * libc/sys/linux/net/rthdr.c: Ditto.
2436 * libc/sys/linux/net/send.c: Ditto.
2437 * libc/sys/linux/net/un-namespace.h: Ditto.
2438 * libc/sys/linux/net/vars.c: Ditto.
2439 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
2440 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2441 * libc/sys/linux/stdlib/Makefile.in: Ditto.
2442 * libc/sys/linux/stdlib/cclass.h: Ditto.
2443 * libc/sys/linux/stdlib/cname.h: Ditto.
2444 * libc/sys/linux/stdlib/collate.c: Ditto.
2445 * libc/sys/linux/stdlib/collate.h: Ditto.
2446 * libc/sys/linux/stdlib/collcmp.c: Ditto.
2447 * libc/sys/linux/stdlib/engine.c: Ditto.
2448 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
2449 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
2450 * libc/sys/linux/stdlib/glob.3: Ditto.
2451 * libc/sys/linux/stdlib/glob.c: Ditto.
2452 * libc/sys/linux/stdlib/reallocf.c: Ditto.
2453 * libc/sys/linux/stdlib/regcomp.c: Ditto.
2454 * libc/sys/linux/stdlib/regerror.c: Ditto.
2455 * libc/sys/linux/stdlib/regex.3: Ditto.
2456 * libc/sys/linux/stdlib/regex2.h: Ditto.
2457 * libc/sys/linux/stdlib/regexec.c: Ditto.
2458 * libc/sys/linux/stdlib/regfree.c: Ditto.
2459 * libc/sys/linux/stdlib/utils.h: Ditto.
2460 * libc/sys/linux/stdlib/wordexp.c: Ditto.
2461 * libc/sys/linux/stdlib/wordfree.c: Ditto.
2462 * libc/sys/linux/sys/dlfcn.h: Ditto.
2463 * libc/sys/linux/sys/elfclass.h: Ditto.
2464 * libc/sys/linux/sys/event.h: Ditto.
2465 * libc/sys/linux/sys/ioccom.h: Ditto.
2466 * libc/sys/linux/sys/libc-tsd.h: Ditto.
2467 * libc/sys/linux/sys/link.h: Ditto.
2468 * libc/sys/linux/sys/lock.h: Ditto.
2469 * libc/sys/linux/sys/param.h: Ditto.
2470 * libc/sys/linux/sys/socket.h: Ditto.
2471 * libc/sys/linux/sys/sockio.h: Ditto.
2472
82095e79
JJ
24732003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2474
2475 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
2476 normal mode
2477 * newlib/libc/machine/h8300/memset.S: Likewise
2478 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
2479 * newlib/lib/machine/h8300/reg_memset.S: Likewise
2480 * newlib/lib/machine/h8300/setjmp.S: Likewise
2481 * newlib/lib/machine/h8300/strcmp.S: Likewise
2482 * newlib/lib/sys/h8300hms/crt0.S: Likewise
2483
8a4b4764
CV
24842003-05-13 Corinna Vinschen <corinna@vinschen.de>
2485
2486 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
2487 * libc/include/stdio.h: Ditto.
2488 * libc/include/sys/config.h: Ditto.
2489 * libc/stdio/mktemp.c: Ditto.
2490
837e070f
CV
24912003-05-13 Corinna Vinschen <corinna@vinschen.de>
2492
2493 * libc/locale/ldpart.c (__part_load_locale): Substitute
2494 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
2495 * libc/search/hash.c (__hash_open): Ditto.
2496 (init_hash): Ditto.
2497 * libc/stdio/fseek.c (fseek): Ditto.
2498 * libc/stdio/makebuf.c (__smakebuf): Ditto.
2499 * libc/stdio/mktemp.c (_gettemp): Ditto.
2500
b47fcdf0
CV
25012003-05-12 Corinna Vinschen <corinna@vinschen.de>
2502
2503 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
2504
11e3a520
CV
25052003-05-12 Corinna Vinschen <corinna@vinschen.de>
2506
2507 * configure.host: Accomodate removing the libc/sys/cygwin dir.
2508 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
2509 if __CYGWIN_USE_BIG_TYPES__ is set.
2510 * libc/search/hash.c (__hash_open): Ditto.
2511 (init_hash): Ditto.
2512 * libc/stdio/fseek.c (fseek): Ditto.
2513 * libc/stdio/makebuf.c (__smakebuf): Ditto.
2514 * libc/stdio/mktemp.c (_gettemp): Ditto.
2515 * libc/sys/cygwin/Makefile.am: Remove.
2516 * libc/sys/cygwin/Makefile.in: Remove.
2517 * libc/sys/cygwin/aclocal.m4: Remove.
2518 * libc/sys/cygwin/configure: Remove.
2519 * libc/sys/cygwin/configure.in: Remove.
2520 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
2521 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
2522 directory.
2523 * libc/sys/cygwin/sys/param.h: Ditto.
2524 * libc/sys/cygwin/sys/utime.h: Ditto.
2525 * libc/sys/cygwin/sys/utmp.h: Ditto.
2526
d1b5e65b
CV
25272003-05-11 Corinna Vinschen <corinna@vinschen.de>
2528
2529 * libc/include/sys/types.h: Don't define key_t for Cygwin.
2530
ec48a953
CF
25312003-05-10 Christopher Faylor <cgf@redhat.com>
2532
2533 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
2534 64 bit inodes.
2535
a3cc5851
CV
25362003-05-09 Corinna Vinschen <corinna@vinschen.de>
2537
2538 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
2539 Include cygwin/config.h instead.
2540
57ff95d3
JJ
25412003-04-16 Jeff Johnston <jjohnstn@redhat.com>
2542
2543 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
2544 all code with #ifdef __SPE__ test.
2545 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
2546
cfd2c7be
CF
25472003-04-15 Chris January <chris@atomice.net>
2548
2549 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
2550 Cygwin.
2551
6f48c0ae
JR
25522003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
2553
2554 * libc/machine/sh/memset.S: Avoid clobbering volatile
2555 objects following a tiny to-be-set array in the same quadword.
2556
8f8d09c0
CV
25572001-04-09 Corinna Vinschen <corinna@vinschen.de>
2558
2559 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
2560 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
2561 * libc/string/Makefile.in: Regenerated.
2562 * libc/string/wcswidth.c: New file.
2563 * libc/string/wcwidth.c: New file.
2564 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
2565
40c3b2d0
JR
2566Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
2567
2568 * libc/machine/sh/memset.S: Fix problem with alloco region
2569 exceeding destination region for length >= 88 bytes, start
2570 & 0x16 == 0, end & 0x1f == 18.
2571
8ae6a3dd
CV
25722001-04-03 Corinna Vinschen <corinna@vinschen.de>
2573
2574 * libc/string/wcscoll.c: Fix comment.
2575
d122b1cc
CV
25762001-04-02 Corinna Vinschen <corinna@vinschen.de>
2577
2578 * libc/include/wchar.h: Add definition for wcscoll.
2579 * libc/string/Makefile.am: Add wcscoll.c.
2580 * libc/string/Makefile.in: Regenerated.
2581 * libc/string/wcscoll.c: New file.
2582 * libc/string/wcstrings.tex: Add wcscoll.
2583
31ee99a4
CV
25842003-04-01 Corinna Vinschen <corinna@vinschen.de>
2585
2586 * libc/stdio/sscanf.c: Update flags description.
2587 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
2588 type.
2589 (__svfscanf_r): Add 'hh' and 'll' handling.
2590
d78045ee
CV
25912003-04-01 Corinna Vinschen <corinna@vinschen.de>
2592
2593 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
2594 __d_position member to _off_t.
2595
e6bdc6c5
JJ
25962003-03-20 Jeff Johnston <jjohnstn@redhat.com>
2597
2598 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
2599 count all characters used to create number against maximum width.
2600 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
2601
e65d559e
JJ
26022003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
2603
2604 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
2605 support.
2606 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
2607 flag to support simulator only extensions.
2608
6b3bb52b
JJ
26092003-03-17 Bob Cassels <bcassels@abinitio.com>
2610
2611 * libc/string/wcschr.c: (wcschr): Look for character first,
2612 then for end of string, so you can do wcschr(x, '\0').
2613
2a940c1a
CV
26142003-03-10 Corinna Vinschen <corinna@vinschen.de>
2615
2616 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
2617 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
2618 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
2619 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
2620 * libc/stdio/fseeko.c (fseeko): Ditto.
2621 * libc/stdio/ftello.c (ftello): Ditto.
2622 * libc/stdio/stdio.c (__swrite): Ditto.
2623 (__sseek): Ditto.
2624 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
2625 * libc/stdio/fseek.c (fseek): Ditto.
2626 * libc/stdio/fsetpos.c (fsetpos): Ditto.
2627 * libc/stdio/ftell.c (ftell): Ditto.
2628 * libc/stdio/local.h: Declare __sseek using _off_t.
2629
150c2818
CV
26302003-03-09 Corinna Vinschen <corinna@vinschen.de>
2631
2632 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
2633
2c440f9c
CV
26342003-03-09 Corinna Vinschen <corinna@vinschen.de>
2635
2636 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
2637 Cygwin.
2638
f882fd15
CV
26392003-03-09 Corinna Vinschen <corinna@vinschen.de>
2640
2641 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
2642 Cygwin.
2643 * libc/include/sys/stat.h: Ditto.
2644 * libc/include/sys/unistd.h: Ditto.
2645 * libc/sys/cygwin/sys/dirent.h: Ditto.
2646
01d61543
CF
26472003-03-07 Christopher Faylor <cgf@redhat.com>
2648
2649 * libc/include/sys/unistd.h: Guard getopt.h call to force only
2650 declaration of getopt and avoid getopt_long declaration.
2651 * libc/sys/cygwin/include/unistd.h: Remove.
2652
5582abd2
CV
26532003-03-07 Corinna Vinschen <corinna@vinschen.de>
2654
2655 * configure.host: Define stdio64_dir for Cygwin.
2656 * libc/include/stdio.h: Change definition of fpos_t to fulfill
2657 Cygwin 64bit file access requirements.
2658 Drop definition of f*64() functions when compiled for Cygwin.
2659 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
2660 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
2661 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
2662
641da1eb
JJ
26632003-03-07 Jeff Johnston <jjohnstn@redhat.com>
2664
2665 * libc/include/sys/reent.h: Remove extraneous _sig_func
2666 declaration.
2667
26682003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
2669
2670 * libc/sys/h8300hms/Makefile.am: Add support for new files.
2671 * libc/sys/h8300hms/Makefile.in: Regenerated.
2672 * libc/sys/h8300hms/close.S: New file.
2673 * libc/sys/h8300hms/fstat.S: Ditto.
2674 * libc/sys/h8300hms/lseek.S: Ditto.
2675 * libc/sys/h8300hms/open.S: Ditto.
2676 * libc/sys/h8300hms/stat.S: Ditto.
2677 * libc/sys/h8300hms/read.S: New file to replace read.c.
2678 * libc/sys/h8300hms/read.c: Removed.
2679 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
2680 _lseek, _close, _stat, _fstat.
2681 * libc/sys/h8300hms/write.S: New file to replace write.c.
2682 * libc/sys/h8300hms/write.c: Removed.
2683
bac50d6b
NC
26842003-02-20 Nick Clifton <nickc@redhat.com>
2685
2686 * Add support for Cirrus Maverick ARM co-processor:
2687
2688 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
2689
2690 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
2691 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
2692
2693 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
2694
2695 * configure.host: set sys_dir, syscall_dir, and
2696 newlib_cflags for ep9312 host.
2697
2698 * configure.host: Restore alpha sorting of entries in case
2699 statements.
2700
12ee7037
JJ
27012003-02-19 Jeff Johnston <jjohnstn@redhat.com>
2702
2703 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
2704
1e810ba0
JJ
27052003-02-18 Christian Groessler <chris@groessler.org>
2706
2707 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
2708 support z8001 segmented mode.
2709
b1ca765e
JJ
27102003-02-18 Earnie Boyd <earnie@users.sf.net>
2711
2712 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
2713 with a NULL value.
2714
51a46b54
CF
27152003-02-10 Christopher Faylor <cgf@redhat.com>
2716
2717 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
2718 Don't define some types under cygwin.
2719
313f1349
JJ
27202003-02-07 Jeff Johnston <jjohnstn@redhat.com>
2721
2722 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
2723 option to allow disabling of syscalls being supplied in newlib.
2724 * aclocal.m4: Regenerated.
2725 * configure: Ditto.
2726 * configure.host: Add support of new configuration option and add
2727 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
2728 * doc/aclocal.m4: Regenerated.
2729 * doc/configure: Ditto.
2730 * libc/*aclocal.m4: Ditto.
2731 * libc/*configure: Ditto.
2732 * libm/*aclocal.m4: Ditto.
2733 * libm/*configure: Ditto.
2734 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
2735 is disabled.
2736 * libc/sys/arm/Makefile.in: Regenerated.
2737
5017a3da
JJ
27382003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
2739
2740 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
2741 -1 to be sure it cannot later match a valid file fd causing
2742 isatty() to return 1.
2743 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
2744 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
2745 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
2746
ad36f7d1
JJ
27472003-02-03 Jeff Johnston <jjohnstn@redhat.com>
2748
2749 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
2750 buffer based on the precision, after we have processed the input value
2751 in a local buffer and know its relative magnitude.
2752
a74181ee
JJ
27532003-01-31 Michael Snyder <msnyder@redhat.com>
2754
2755 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
2756 into registers r1 and r2, so that the simulator can distinguish
2757 this trap from a breakpoint trap. Copied from libgloss.
2758
b85498d4
JJ
27592003-01-31 Michael Snyder <msnyder@redhat.com>
2760
2761 * libc/sys/h8300hms/crt0.S (_start): Change local label
2762 from .loop to .Loop, so that ld and gdb will ignore it.
2763
4700b829
JJ
27642003-01-29 Jason Tishler <jason@tishler.net>
2765
2766 * libc/include/time.h: Declare nanosleep() under Cygwin.
2767
0127ae40
NC
27682003-01-24 Nick Clifton <nickc@redhat.com>
2769
2770 * Add sh2e support:
2771
2772 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
2773
2774 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
2775 * libc/machine/sh/setjmp.S: Likewise.
2776 * libc/include/machine/ieeefp.h: Likewise.
2777
8bbcd9a1
CV
27782003-01-24 Corinna Vinschen <corinna@vinschen.de>
2779
2780 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
2781 for Cygwin.
2782
b8838e6f
JJ
27832003-01-21 Anita Kulkarni <anitak@kpit.com>
2784
2785 * libc/time/difftime.c : Typecast the result to double.
2786
f9e41155
CF
27872003-01-20 Christopher Faylor <cgf@redhat.com>
2788
2789 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
2790
6b5a7988
NC
27912003-01-18 Nick Clifton <nickc@redhat.com>
2792
2793 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
2794 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
2795
c3e92877
JJ
27962003-01-16 Joel Sherrill <joel@OARcorp.com>
2797
2798 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
2799 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
2800 constants are defined in each file in the shared versions in
2801 libc/include.
2802 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
2803 autoconf can link programs.
2804 * libc/include/machine/types.h: Explicitly specify signed on
2805 intXX_t types to ensure they are signed.
2806
84510217
CF
28072003-01-14 Christopher Faylor <cgf@redhat.com>
2808
2809 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
2810 extensions.
2811
b3934ab3
RS
28122003-01-08 Richard Sandiford <rsandifo@redhat.com>
2813
2814 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
2815
be9c60e5
JJ
28162003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
2817
2818 * libc/stdio/sprintf.c: fix typo
2819 * libc/stdio/vfprintf.c: fix typo
2820
d4c3a750
JJ
28212003-01-07 Jeff Johnston <jjohnstn@redhat.com>
2822
2823 * configure.host: Support long double I/O for x86-linux.
2824 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
2825 large enough to hold formatted result.
2826 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
2827
b2294aaa
JJ
28282003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
2829
2830 * Makefile.am: Add vasprintf.
2831 * Makefile.in: Regenerated.
2832
ea5e5daf
JJ
28332003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
2834
2835 * asprintf.c (_asprintf_r): insure both declarations
2836 are the same.
2837
5c581eca
CF
28382002-12-28 Christopher Faylor <cgf@redhat.com>
2839
2840 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
2841 than defining getopt directly.
2842
60b0838f
JJ
28432002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2844
2845 * NEWS: Update with 1.11.0 info.
2846 * README: Ditto.
2847 * acinclude.m4: Change version number to 1.11.0.
2848 * aclocal.m4: Regenerated.
2849 * configure: Ditto.
2850 * doc/aclocal.m4: Ditto.
2851 * doc/configure: Ditto.
2852 * libc/*/aclocal.m4: Ditto.
2853 * libc/*/configure: Ditto.
2854 * libc/libc.texinfo: Ditto.
2855 * libm/*/aclocal.m4: Ditto.
2856 * libm/*/configure: Ditto.
2857 * libm/libm.texinfo: Ditto.
2858 * libc/sys/linux/shared.ld: Add VERS_1.11.
2859
10501d57
JJ
28602002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2861
2862 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
2863 Solutions to Red Hat Inc.
2864 * libc/machine/i386/f_atan2f.S: Ditto.
2865 * libc/machine/i386/f_exp.c: Ditto.
2866 * libc/machine/i386/f_expf.c: Ditto.
2867 * libc/machine/i386/f_frexp.S: Ditto.
2868 * libc/machine/i386/f_frexpf.S: Ditto.
2869 * libc/machine/i386/f_ldexp.S: Ditto.
2870 * libc/machine/i386/f_ldexpf.S: Ditto.
2871 * libc/machine/i386/f_log.S: Ditto.
2872 * libc/machine/i386/f_log10.S: Ditto.
2873 * libc/machine/i386/f_log10f.S: Ditto.
2874 * libc/machine/i386/f_logf.S: Ditto.
2875 * libc/machine/i386/f_pow.c: Ditto.
2876 * libc/machine/i386/f_powf.c: Ditto.
2877 * libc/machine/i386/f_tan.S: Ditto.
2878 * libc/machine/i386/f_tanf.S: Ditto.
2879 * libc/machine/i386/memchr.S: Ditto.
2880 * libc/machine/i386/memcmp.S: Ditto.
2881 * libc/machine/i386/memcpy.S: Ditto.
2882 * libc/machine/i386/memmove.S: Ditto.
2883 * libc/machine/i386/memset.S: Ditto.
2884 * libc/machine/i386/strchr.S: Ditto.
2885 * libc/machine/i386/strlen.S: Ditto.
2886 * libm/machine/i386/f_atan2.S: Ditto.
2887 * libm/machine/i386/f_atan2f.S: Ditto.
2888 * libm/machine/i386/f_exp.c: Ditto.
2889 * libm/machine/i386/f_expf.c: Ditto.
2890 * libm/machine/i386/f_frexp.S: Ditto.
2891 * libm/machine/i386/f_frexpf.S: Ditto.
2892 * libm/machine/i386/f_ldexp.S: Ditto.
2893 * libm/machine/i386/f_ldexpf.S: Ditto.
2894 * libm/machine/i386/f_log.S: Ditto.
2895 * libm/machine/i386/f_log10.S: Ditto.
2896 * libm/machine/i386/f_log10f.S: Ditto.
2897 * libm/machine/i386/f_logf.S: Ditto.
2898 * libm/machine/i386/f_pow.c: Ditto.
2899 * libm/machine/i386/f_powf.c: Ditto.
2900 * libm/machine/i386/f_tan.S: Ditto.
2901 * libm/machine/i386/f_tanf.S: Ditto.
2902
9b3f0d16
JJ
29032002-12-20 Jeff Johnston <jjohnstn@redhat.com>
2904
2905 * libc/stdlib/environ.c: Update license to Red Hat.
2906 * libc/machine/hppa/setjmp.S: Ditto.
2907 * libm/test/Makefile.in: Ditto.
2908
d693ad84
JJ
29092002-12-19 Jeff Johnston <jjohnstn@redhat.com>
2910
2911 * configure.host: Remove references to go32.
2912 * libc/sys/go32/*: Removed.
2913
7da92d15
JJ
29142002-12-16 Kazu Hirata <kazu@cs.umass.edu>
2915
2916 * libc/include/sys/config.h: Change setting of INT_MAX
2917 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
2918 __H8300S__. Also consolidate flag settings for these
2919 platforms.
2920
ea01c7f5
JJ
29212002-12-10 Joel Sherrill <joel@OARcorp.com>
2922
2923 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
2924 for i386-rtems targets.
2925
c049dd5a
JJ
29262002-12-06 Jeff Johnston <jjohnstn@redhat.com>
2927
2928 * libc/include/stdlib.h (strtof): New prototype (from C99).
2929 (strtodf): Changed from prototype to macro which redefines
2930 to strtof.
2931 * libc/stdlib/atof.c: Change documentation to refer to strtof
2932 instead of strtodf.
2933 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
2934 strtodf.
2935 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
2936 (strtof): New function.
2937 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
2938 calls strtof.
2939
46a402e0
CF
29402002-11-27 Christopher Faylor <cgf@redhat.com>
2941
2942 * libc/string/memset.c (memset): Fix comment.
2943
b3cc01b0
CF
29442002-11-26 Christopher Faylor <cgf@redhat.com>
2945
2946 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
2947 function.
2948
d90f3dc1
CF
29492002-11-25 Christopher Faylor <cgf@redhat.com>
2950
2951 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
2952 variable, introduced below, everywhere.
2953
f24585c6
KH
29542002-11-25 Kazu Hirata <kazu@cs.umass.edu>
2955
2956 * libc/string/memset.c (memset): Make it safe even if
2957 sizeof (int) = 2.
2958
2955fd76
JJ
29592002-11-22 Joe Buehler <jbuehler@hekimian.com>
2960
2961 * configure.in: Change check for libc/include in ${CC} to
2962 use an intermediate value so as to work with different shells.
2963 * configure: Regenerated.
2964 * Makefile.in: Ditto.
2965
40ce7368
JJ
29662002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
2967
2968 * libc/sys/h8300hms/read.c: Add support for normal mode
2969 architecture.
2970
505746ad
JJ
29712002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
2972
2973 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
2974 code for __H8300H__ and __H8300S__. Also return 32-bit return code
2975 when -mint32 is used.
2976
28ecb2f5
NC
29772002-11-18 Nick Clifton <nickc@redhat.com>
2978
2979 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
2980
665b994e
JJ
29812002-11-14 Jeff Johnston <jjohnstn@redhat.com>
2982
2983 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
2984 only issue one pass/fail message for a compile/link/execute.
2985 * testsuite/newlib.elix/elix.exp: New file.
2986 * testsuite/newlib.elix/tmmap.c: Ditto.
2987
e91ec2e3
CF
29882002-11-06 Christopher Faylor <cgf@redhat.com>
2989
2990 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
2991 * libc/stdlib/mlock.c: Ditto.
2992 * libc/stdlib/msize.c: Ditto.
2993 * libc/stdlib/msize.c: Ditto.
2994 * libc/stdlib/mtrim.c: Ditto.
2995 * libc/stdlib/valloc.c: Ditto.
2996
944772c7
JJ
29972002-11-12 Jeff Johnston <jjohnstn@redhat.com>
2998
2999 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
3000 for inf/nan, make sure that the check ignores the sign bit.
3001
dd7ee147
JJ
30022002-11-07 Joel Sherrill <joel@OARcorp.com>
3003
3004 * libc/sys/rtems/machine: New directory.
3005 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
3006 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
3007 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
3008 targets more BSD like when installed without requiring files to
3009 be overwritten at install point when RTEMS itself is installed.
3010 * Makefile.am: Pick up system dependent machine .h files such as
3011 might be found on a BSD-ish system.
3012 * Makefile.in: Regenerate.
3013 * libc/include/machine/types.h: When on an RTEMS target, define a
3014 few BSD flavor types.
3015
30162002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
3017
3018 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
3019
18cd62b7
JJ
30202002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3021
3022 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
3023 * libc/include/wctype.h: Ditto.
3024
d2888812
JJ
30252002-11-04 Jeff Johnston <jjohnstn@redhat.com>
3026
3027 * libc/include/wchar.h: Add extern "C" specifier if C++.
3028 * libc/include/wctype.h: Ditto.
3029
978ea3cf
JJ
30302002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3031
3032 * testsuite/newlib.wctype/tiswctype.c: New test case.
3033 * testsuite/newlib.wctype/twctrans.c: Ditto.
3034
a42cf80a
JJ
30352002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3036
3037 * libc/sys/linux/machine/i386/include/endian.h: New file.
3038 * libc/sys/linux/machine/i386/include/param.h: Ditto.
3039
c9ccb1f2
JJ
30402002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3041
3042 * libm/machine/i386/aclocal.m4: Regenerated.
3043 * libm/machine/i386/configure: Ditto.
3044
94c5b430
JJ
30452002-10-18 Jeff Johnston <jjohnstn@redhat.com>
3046
3047 * testsuite/include/check.h: New header file to use with
3048 test cases.
3049 * testsuite/lib/newlib.exp: Add testsuite/include directory
3050 to list of header files to use.
3051 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
3052 * testsuite/newlib.wctype/wctype.exp: New file.
3053
ccdae543
RS
30542002-10-11 Graham Stott <graham.stott@btinternet.com>
3055 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
3056
3057 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
3058 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
3059 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
3060
73972116
JS
30612002-10-07 Joel Sherrill <joel@OARcorp.com>
3062
3063 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
3064 dummy programs.
3065
89e3fcba
JS
30662002-10-07 Joel Sherrill <joel@OARcorp.com>
3067
3068 * libc/include/pthread.h: Define PTHREAD_CANCELED.
3069
54ec52e4
JS
30702002-10-07 Joel Sherrill <joel@OARcorp.com>
3071
3072 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
3073 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
3074 compile with current GNU tools.
3075
d389acba
JJ
30762002-10-07 Jeff Johnston <jjohnstn@redhat.com>
3077
3078 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
3079 the build library.
3080 * configure.in: Ditto.
3081 * Makefile.in: Regenerated.
3082 * configure: Ditto.
3083 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
3084 for specifying configured libraries/directories.
3085 * libc/sys/linux/configure.in: Ditto.
3086 * libc/sys/linux/Makefile.in: Regenerated.
3087 * libc/sys/linux/configure: Ditto.
3088
af5a221f
JJ
30892002-10-03 Jeff Johnston <jjohnstn@redhat.com>
3090
3091 * libc/include/reent.h: Update documentation at start of file.
3092
59a758bd
JW
30932002-09-27 Jim Wilson <wilson@redhat.com>
3094
3095 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
3096 the ctbp register.
3097
1ed3c86d
JJ
30982002-09-27 Jeff Johnston <jjohnstn@redhat.com>
3099
3100 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
3101 Also convert to EUCJP before using arrays. For values not in
3102 the conversion arrays, return WEOF.
3103 * libc/ctype/jp2uc.h: Change from one array to a number of
3104 arrays to account for the fact that the originating table
3105 is not contiguous for the input values since some are invalid.
3106
6e1dfd2d
JJ
31072002-09-24 Jeff Johnston <jjohnstn@redhat.com>
3108
3109 * libc/time/ctime.c: Fix prototype documentation.
3110
06f1353a
CV
31112002-09-24 Corinna Vinschen <corinna@vinschen.de>
3112
3113 * libc/include/sys/errno.h: Add EOVERFLOW.
3114
1e0e64c9
JJ
31152002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3116
3117 * libc/include/wctype.h: New file.
3118
1525d127
JJ
31192002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3120
3121 * libc/ctype/Makefile.am: Add new files.
3122 * libc/ctype/Makefile.in: Regenerated.
3123 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
3124 and wctrans functions to documentation index.
3125 * libc/ctype/iswalnum.c: New file.
3126 * libc/ctype/iswalpha.c: Ditto.
3127 * libc/ctype/iswblank.c: Ditto.
3128 * libc/ctype/iswcntrl.c: Ditto.
3129 * libc/ctype/iswctype.c: Ditto.
3130 * libc/ctype/iswdigit.c: Ditto.
3131 * libc/ctype/iswgraph.c: Ditto.
3132 * libc/ctype/iswlower.c: Ditto.
3133 * libc/ctype/iswprint.c: Ditto.
3134 * libc/ctype/iswpunct.c: Ditto.
3135 * libc/ctype/iswspace.c: Ditto.
3136 * libc/ctype/iswupper.c: Ditto.
3137 * libc/ctype/iswxdigit.c: Ditto.
3138 * libc/ctype/jp2uc.c: Ditto.
3139 * libc/ctype/jp2uc.h: Ditto.
3140 * libc/ctype/local.h: Ditto.
3141 * libc/ctype/towctrans.c: Ditto.
3142 * libc/ctype/towlower.c: Ditto.
3143 * libc/ctype/towupper.c: Ditto.
3144 * libc/ctype/utf8alpha.h: Ditto.
3145 * libc/ctype/utf8print.h: Ditto.
3146 * libc/ctype/utf8punct.h: Ditto.
3147 * libc/ctype/wctrans.c: Ditto.
3148 * libc/ctype/wctype.c: Ditto.
3149 * libc/locale/locale.c (__lc_ctype): New external array to
3150 replace static lc_ctype array.
3151 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
3152 rather than reentrancy structure's _current_locale field.
3153 * libc/stdlib/wctomb_r.c: Ditto.
3154
da25e61f
JJ
31552002-09-20 Jeff Johnston <jjohnstn@redhat.com>
3156
3157 * configure.host: Minor comment and formatting changes.
3158 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
3159 * libc/Makefile.in: Regenerated.
3160 * libc/include/sys/config.h: Minor format change.
3161
5b9ee539
JJ
31622002-09-19 Jeff Johnston <jjohnstn@redhat.com>
3163
3164 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
3165 statement comment.
3166
50558bf3
JJ
31672002-09-19 Jeff Johnston <jjohnstn@redhat.com>
3168
3169 * libc/posix/opendir.c (opendir): Change code to check
3170 for HAVE_FCNTL before calling fcntl.
3171 * libc/search/hash.c (hash_open): Ditto.
3172 * libc/search/hash_page.c (open_tmp): Ditto.
3173 * libc/reent/Makefile.am: Add fcntlr.c.
3174 * libc/reent/Makefile.in: Regenerated.
3175 * libc/reent/fcntlr.c: New file.
3176 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
3177 instead of _fcntl when HAVE_FCNTL flag is set.
3178 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
3179 to see if _fcntl or _fcntl_r should be called. If flag is not
3180 set, default to ENOSYS stub.
3181
9211a1ad
JJ
31822002-09-16 Jeff Johnston <jjohnstn@redhat.com>
3183
3184 * libc/include/wchar.h (mbstate_t): Change protective flag to
3185 be _MBSTATE_T.
3186 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
3187 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
3188 for Cygwin.
3189 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
3190
a8615092
JJ
31912002-09-11 Jeff Johnston <jjohnstn@redhat.com>
3192
3193 * acinclude.m4 (enable-newlib-mb): Change check to
3194 default newlib_mb variable to empty string rather than "no".
3195 * configure.host: Remove hard-coding of -DMB_CAPABLE for
3196 x86-linux and Cygwin. Add code to check for newlib_mb
3197 being unset in which case set to "yes" for x86-linux and
3198 Cygwin. Change check for newlib_mb being "yes" to allow
3199 for an empty string.
3200 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
3201 * newlib.hin (_MB_LEN_MAX): New define to configure.
3202 * aclocal.m4: Regenerated.
3203 * configure: Ditto.
3204 * libc/include/limits.h: New file.
3205 * libc/sys/linux/include/limits.h: Ditto.
3206 * doc/aclocal.m4 doc/configure libc/aclocal.m4
3207 libc/configure libc/include/%redact libc/machine/aclocal.m4
3208 libc/machine/configure libc/machine/a29k/aclocal.m4
3209 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3210 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3211 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3212 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3213 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
3214 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
3215 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3216 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3217 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3218 libc/machine/i386/configure libc/machine/i960/aclocal.m4
3219 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3220 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
3221 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
3222 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3223 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3224 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3225 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3226 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3227 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3228 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
3229 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3230 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
3231 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
3232 libc/machine/v850/configure libc/machine/w65/aclocal.m4
3233 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
3234 libc/machine/xscale/configure
3235 libc/machine/xstormy16/aclocal.m4
3236 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
3237 libc/machine/z8k/configure libc/sys/aclocal.m4
3238 libc/sys/configure libc/sys/a29khif/aclocal.m4
3239 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
3240 libc/sys/arc/configure libc/sys/arm/aclocal.m4
3241 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3242 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
3243 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
3244 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
3245 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
3246 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
3247 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
3248 libc/sys/idt/configure libc/sys/linux/aclocal.m4
3249 libc/sys/linux/configure libc/sys/linux/include/%redact
3250 libc/sys/linux/machine/aclocal.m4
3251 libc/sys/linux/machine/configure
3252 libc/sys/linux/machine/i386/aclocal.m4
3253 libc/sys/linux/machine/i386/configure
3254 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3255 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
3256 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3257 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3258 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3259 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3260 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3261 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3262 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3263 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3264 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3265 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3266 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3267 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3268 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3269 libm/aclocal.m4 libm/configure: Regenerated.
3270
be83844e
JJ
32712002-09-09 Jeff Johnston <jjohnstn@redhat.com>
3272
3273 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
3274 code that clears the .bss section.
3275
9c64d2a7
JJ
32762002-09-09 Jeff Johnston <jjohnstn@redhat.com>
3277
3278 * libc/include/sys/_types.h (_mbstate_t): Changed to use
3279 unsigned char internally.
3280 * libc/sys/linux/sys/_types.h: Ditto.
3281 * libc/include/sys/reent.h
3282 * libc/stdlib/mblen.c (mblen): Use function-specific state
3283 value from default reentrancy structure.
3284 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
3285 _mbtowc_r is less than 0, reset state __count value and
3286 return -1.
3287 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
3288 is NULL, use the function-specific pointer provided in the
3289 default reentrancy structure.
3290 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
3291 If input state pointer is NULL, use function-specific area
3292 provided in reentrancy structure.
3293 * libc/stdlib/mbsrtowcs.c: Ditto.
3294 * libc/stdlib/wcrtomb.c: Ditto.
3295 * libc/stdlib/wcsrtombs.c: Ditto.
3296 * libc/stdlib/mbstowcs.c: Reformat.
3297 * libc/stdlib/wcstombs.c: Ditto.
3298 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
3299 reset the state's __count value and return -1.
3300 * libc/stdlib/mbtowc.c: Ditto.
3301 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
3302 If number of bytes is used up before completing a valid multibyte
3303 character, return -2 and save the state.
3304 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
3305 and change some __count references to __state for clarity.
3306
218b7a56
JJ
33072002-09-06 Jeff Johnston <jjohnstn@redhat.com>
3308
3309 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
3310 is defined by <limits.h>.
3311
c210a6ea
JJ
33122002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3313
3314 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
3315 defined.
3316
efa077ce
JJ
33172002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3318
3319 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
3320 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
3321 __WCHAR_MAX__ or 0x7fffffffu.
3322 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
3323 * libc/string/wcsncmp.c: Ditto.
3324
e4b0ebc1
JJ
33252002-09-03 Jeff Johnston <jjohnstn@redhat.com>
3326
3327 * libc/string/wcschr.c: Add include of <stddef.h>.
3328 * libc/string/wcspbrk.c: Ditto.
3329 * libc/string/wcsrchr.c: Ditto.
3330 * libc/string/wcsstr.c: Ditto.
3331
3db40db7
JJ
33322002-09-03 Jeff Johnston <jjohnstn@redhat.com>
3333
3334 * libc/include/sys/_types.h (_flock_t): Added.
3335 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
3336 (__lock_try_acquire_recursive): Ditto.
3337 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
3338 _lock field.
3339 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
3340 field.
3341 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
3342 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
3343 * libc/sys/linux/include/time.h (struct timespec): Moved from
3344 <sys/types.h> and added check for __need_timespec flag so type
3345 can be defined by itself.
3346 * libc/sys/linux/sys/_types.h (_flock_t): New type.
3347 * libc/sys/linux/sys/types.h (struct timespec): Moved to
3348 <time.h>.
3349
cd45f029
TF
33502002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
3351
3352 * libc/sys/linux/argp: New directory.
3353 * libc/sys/linux/getopt.c: New file.
3354 * libc/sys/linux/getopt1.c: New file.
3355 * libc/sys/linux/getoptlong.c: Remove file.
3356 * libc/sys/linux/include/argp.h: New file.
3357 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
3358 based on ELIX level.
3359 (SUBDIRS): Add argp_dir.
3360 (SUBLIBS): Add ARGP_LIB.
3361 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
3362 getopt_long.$(oext).
3363 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
3364
3c689185
JJ
33652002-08-29 Jeff Johnston <jjohnstn@redhat.com>
3366
3367 * libc/libc.texinfo: Add node reference to wide-character strings.
3368 * libc/string/wcstrings.tex: New file.
3369 * libc/string/strtok_r.c: Remove outdated advertising clause.
3370 * libc/string/Makefile.am (doc): Add wide-character string
3371 chapter to documentation.
3372 * libc/string/Makefile.in: Regenerated.
3373
890e7a1d
JJ
33742002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
3375
3376 * libc/include/wchar.h: Define NULL. Define WEOF more general
3377 way. Declare functions in newlib manner.
3378 * libc/stdlib/Makefile.am: Delete wmem*.c
3379 * libc/stdlib/Makefile.in: Regenerated.
3380 * libc/stdlib/wmemchr.c: Delete.
3381 * libc/stdlib/wmemcmp.c: Ditto.
3382 * libc/stdlib/wmemcpy.c: Ditto.
3383 * libc/stdlib/wmemmove.c: Ditto.
3384 * libc/stdlib/wmemset.c: Ditto.
3385 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
3386 * libc/string/Makefile.in: Regenerated.
3387 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
3388 * libc/string/wcschr.c: Ditto.
3389 * libc/string/wcscmp.c: Ditto.
3390 * libc/string/wcscpy.c: Ditto.
3391 * libc/string/wcscspn.c: Ditto.
3392 * libc/string/wcslcat.c: Ditto.
3393 * libc/string/wcslcpy.c: Ditto.
3394 * libc/string/wcslen.c: Ditto.
3395 * libc/string/wcsncat.c: Ditto.
3396 * libc/string/wcsncmp.c: Ditto.
3397 * libc/string/wcsncpy.c: Ditto.
3398 * libc/string/wcspbrk.c: Ditto.
3399 * libc/string/wcsrchr.c: Ditto.
3400 * libc/string/wcsspn.c: Ditto.
3401 * libc/string/wcsstr.c: Ditto.
3402 * libc/string/wmemchr.c: Ditto.
3403 * libc/string/wmemcmp.c: Ditto.
3404 * libc/string/wmemcpy.c: Ditto.
3405 * libc/string/wmemmove.c: Ditto.
3406 * libc/string/wmemset.c: Ditto.
3407
86620e21
JJ
34082002-08-29 Jeff Johnston <jjohnstn@redhat.com>
3409
3410 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
3411 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
3412 and is treated as if "C" was specified.
3413
f3741c27
JJ
34142002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3415
3416 * Makefile.am (install-data-local): Move install of build
3417 newlib.h after installing headers in libc/include so as to
3418 overwrite default newlib.h.
3419 * Makefile.in: Regenerated.
3420
48da61f5
JJ
34212002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3422
3423 * libc/include/newlib.h: New file for tools that use newlib
3424 headers but don't build newlib first (e.g. gcc).
3425
d82a94ac
JJ
34262002-08-28 Jeff Johnston <jjohnstn@redhat.com>
3427
3428 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
3429 * libc/stdlib/wmemcmp.c: Ditto.
3430 * libc/stdlib/wmemcpy.c: Ditto.
3431 * libc/stdlib/wmemmove.c: Ditto.
3432 * libc/stdlib/wmemset.c: Ditto.
3433
7d08241b
JJ
34342002-08-27 Egor Duda <deo@logos-m.ru>
3435
3436 * libc/stdlib/wmemchr.c: New file.
3437 * libc/stdlib/wmemcmp.c: Ditto.
3438 * libc/stdlib/wmemcpy.c: Ditto.
3439 * libc/stdlib/wmemmove.c: Ditto.
3440 * libc/stdlib/wmemset.c: Ditto.
3441 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
3442 * configure.host: Default -DMB_CAPABLE for cygwin.
3443 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
3444 wmemmove() and wmemset(). Add include of <_ansi.h>.
3445 * libc/stdlib/Makefile.in: Regenerate.
3446
8da1639b
JJ
34472002-08-27 Jeff Johnston <jjohnstn@redhat.com>
3448
ff2bf852 3449 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
3450 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
3451 (install-data-local): Install newlib.h.
3452 * Makefile.in: Regenerated.
3453 * aclocal.m4: Ditto.
3454 * configure: Ditto.
3455 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
3456 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
3457 and _NEWLIB_VERSION to fill in newlib.h header file entries.
3458 In AC_OUTPUT statement, unset ac_file so multilib support does
3459 not use last ac_file temporary used in newlib.h configuration.
3460 * libc/include/_ansi.h: Include <newlib.h>.
3461 * newlib.hin: New template file for newlib.h.
3462 * stamp-h.in: New file.
3463
a4421c11
JJ
34642002-08-26 Wu Yongwei <adah@netstd.com>
3465
3466 * time.h (timezonevar): Change "#if" to "#ifdef".
3467
90b65e2d
JJ
34682002-08-26 Jeff Johnston <jjohnstn@redhat.com>
3469
3470 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
3471 * Makefile.in: Regenerated.
3472 * acinclude.m4: Add support for --enable-newlib-elix-level option.
3473 * aclocal.m4: Regenerated.
3474 * configure: Ditto.
3475 * configure.host: Add code to define _ELIX_LEVEL if
3476 --enable-newlib-elix-level option is used.
3477 * configure.in:
3478 * libc/aclocal.m4: Regenerated.
3479 * libc/configure: Ditto.
3480 * libc/argz/Makefile.am: Add EL/IX level checking.
3481 * libc/argz/Makefile.in: Regenerated.
3482 * libc/argz/dummy.c: New file.
3483 * libc/ctype/Makefile.am: Add EL/IX level checking.
3484 * libc/ctype/Makefile.in: Regenerated.
3485 * libc/locale/Makefile.am: Add EL/IX level checking.
3486 * libc/locale/Makefile.in: Regenerated.
3487 * libc/posix/Makefile.am: Add EL/IX level checking.
3488 * libc/posix/Makefile.in: Regenerated.
3489 * libc/posix/telldir.c: Add EL/IX level checking.
3490 * libc/reent/Makefile.am: Ditto.
3491 * libc/reent/fstat64r.c: Ditto.
3492 * libc/reent/lseek64r.c: Ditto.
3493 * libc/reent/open64r.c: Ditto.
3494 * libc/reent/Makefile.in: Regenerated.
3495 * libc/search/Makefile.am: Add EL/IX level checking.
3496 * libc/search/Makefile.in: Regenerated.
3497 * libc/stdio/Makefile.am: Add EL/IX level checking.
3498 * libc/stdio/Makefile.in: Regenerated.
3499 * libc/stdio64/Makefile.am: Add EL/IX level checking.
3500 * libc/stdio64/Makefile.in: Regenerated.
3501 * libc/stdio64/dummy.c: New file.
9b487837 3502 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
3503 after first include.
3504 * libc/stdio64/fopen64.c: Ditto.
3505 * libc/stdio64/freopen64.c: Ditto.
3506 * libc/stdio64/fseeko64.c: Ditto.
3507 * libc/stdio64/fsetpos64.c: Ditto.
3508 * libc/stdio64/ftello64.c: Ditto.
3509 * libc/stdio64/tmpfile64.c: Ditto.
3510 * libc/stdlib/Makefile.am: Add EL/IX level checking.
3511 * libc/stdlib/Makefile.in: Regenerated.
3512 * libc/stdlib/mstats.c: Add EL/IX level checking.
3513 * libc/string/Makefile.am: Ditto.
3514 * libc/string/Makefile.in: Regenerated.
3515 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
3516 * libc/sys/linux/Makefile.in: Regenerated.
3517 * libc/sys/linux/aclocal.m4: Ditto.
3518 * libc/sys/linux/configure: Ditto.
3519 * libc/sys/linux/aio.c: Add EL/IX level checking.
3520 * libc/sys/linux/ftok.c: Ditto.
3521 * libc/sys/linux/getdate.c: Ditto.
3522 * libc/sys/linux/ids.c: Ditto.
3523 * libc/sys/linux/inode.c: Ditto.
3524 * libc/sys/linux/io.c: Ditto.
3525 * libc/sys/linux/process.c: Ditto.
3526 * libc/sys/linux/resource.c: Ditto.
3527 * libc/sys/linux/sched.c: Ditto.
3528 * libc/sys/linux/sig.c: Ditto.
3529 * libc/sys/linux/termios.c: Ditto.
3530 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
3531 __libc___waitpid weak aliases.
3532 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
3533 that generate the code for a syscall, but do not create a
3534 weak alias.
3535 * libc/syscalls/Makefile.am: Add EL/IX level checking.
3536 * libc/syscalls/Makefile.in: Regenerated.
3537 * libc/time/tzset_r.c: Change to replace strdup with equivalent
3538 functionality.
3539 * libc/unix/Makefile.am: Add EL/IX level checking.
3540 * libc/unix/Makefile.in: Regenerated.
3541
2e2b268c
CF
35422002-08-26 Christopher Faylor <cgf@redhat.com>
3543
3544 * libc/include/malloc.h: On cygwin, define malloc _r functions as
3545 wrapper macros to standard malloc functions.
3546 * libc/include/stdlib.h: Ditto.
3547 * configure.host: Always define MALLOC_PROVIDED on cygwin.
3548
8d9112f2
TF
35492002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3550
3551 * libc/include/langinfo.h: New file.
3552 * libc/include/wchar.h: Likewise.
3553 * libc/include/sys/syslimits.h: Likewise.
3554 * libc/locale/fix_grouping.c: Likewise.
3555 * libc/locale/ldpart.c: Likewise.
3556 * libc/locale/ldpart.h: Likewise.
3557 * libc/locale/lmessages.c: Likewise.
3558 * libc/locale/lmessages.h: Likewise.
3559 * libc/locale/lmonetary.c: Likewise.
3560 * libc/locale/lmonetary.h: Likewise.
3561 * libc/locale/lnumeric.c: Likewise.
3562 * libc/locale/lnumeric.h: Likewise.
3563 * libc/locale/nl_langinfo.3: Likewise.
3564 * libc/locale/nl_langinfo.c: Likewise.
3565 * libc/locale/timelocal.c: Likewise.
3566 * libc/locale/timelocal.h: Likewise.
3567 * libc/stdlib/btowc.c: Likewise.
3568 * libc/stdlib/mbrlen.c: Likewise.
3569 * libc/stdlib/mbrtowc.c: Likewise.
3570 * libc/stdlib/mbsinit.c: Likewise.
3571 * libc/stdlib/mbsrtowcs.c: Likewise.
3572 * libc/stdlib/wcrtomb.c: Likewise.
3573 * libc/stdlib/wcsrtombs.c: Likewise.
3574 * libc/stdlib/wctob.c: Likewise.
3575 * libc/sys/linux/prof-freq.c: Likewise.
3576 * libc/sys/linux/profile.c: Likewise.
3577 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
3578 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
3579 * libc/include/stdlib.h: Change re-entrant functions to take
3580 mbstate_t pointers.
3581 * libc/include/sys/_types.h: Define _mbstate_t.
3582 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
3583 * libc/include/sys/errno.h (EILSEQ): New error code.
3584 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
3585 structure to use mbstate_t.
3586 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
3587 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
3588 * libc/machine/powerpc/vfscanf.c: Likewise.
3589 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
3590 * libc/stdio/vfprintf.c: Likewise.
3591 * libc/stdio/vfscanf.c: Likewise.
3592 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
3593 * libc/stdlib/mblen.c: Use mbstate_t.
3594 * libc/stdlib/mblen_r.c: Likewise.
3595 * libc/stdlib/mbstowcs.c: Likewise.
3596 * libc/stdlib/mbstowcs_r.c: Likewise.
3597 * libc/stdlib/mbtowc.c: Likewise.
3598 * libc/stdlib/mbtowc_r.c: Likewise.
3599 * libc/stdlib/wcstombs.c: Likewise.
3600 * libc/stdlib/wcstombs_r.c: Likewise.
3601 * libc/stdlib/wctomb_r.c: Likewise.
3602 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
3603 profile.c.
3604 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
3605 dl-procinfo.c.
3606 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
3607 * libc/sys/linux/sys/types.h (off_t): Define type.
3608 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
3609 to C-UTF-8.
3610 * testsuite/newlib.locale/UTF-8.exp: Likewise.
3611
fe47ea33
JJ
36122002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
3613
3614 * libc/stdlib/mallocr.c: #include windows.h on Win32.
3615 (AlignPage): Continue macro on next line.
3616
ada73509
JJ
36172002-08-19 Jeff Johnston <jjohnstn@redhat.com>
3618
3619 * libc/sys/linux/include/pthread.h: New file.
3620
64b5e8f2
JJ
36212002-08-19 Jeff Johnston <jjohnstn@redhat.com>
3622
3623 * libc/include/sys/types.h: Support __need_inttypes macro
3624 that only sets the __intxx and __uintxx types.
3625 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
3626 to get mprec.h.
3627 * libc/machine/powerpc/Makefile.in: Regenerated.
3628 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
3629 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
3630 redundant fixed-point conversion prototypes.
3631 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
3632 after setting __need_inttypes.
3633
a94b60ce
CF
36342002-08-18 Christopher Faylor <cgf@redhat.com>
3635
3636 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
3637
29e17a86
JJ
36382002-08-17 Jeff Johnston <jjohnstn@redhat.com>
3639
3640 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
3641 _LONG_DOUBLE to double.
3642
936b520f
JJ
36432002-08-17 Jeff Johnston <jjohnstn@redhat.com>
3644
3645 * configure.host: Add powerpc*-*-eabispe* configuration.
3646 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
3647 * libc/machine/powerpc/atosfix32.c: Ditto.
3648 * libc/machine/powerpc/atosfix64.c: Ditto.
3649 * libc/machine/powerpc/atoufix16.c: Ditto.
3650 * libc/machine/powerpc/atoufix32.c: Ditto.
3651 * libc/machine/powerpc/atoufix64.c: Ditto.
3652 * libc/machine/powerpc/fix64.h: Ditto.
3653 * libc/machine/powerpc/simdldtoa.c: Ditto.
3654 * libc/machine/powerpc/strtosfix16.c: Ditto.
3655 * libc/machine/powerpc/strtosfix32.c: Ditto.
3656 * libc/machine/powerpc/strtosfix64.c: Ditto.
3657 * libc/machine/powerpc/strtoufix16.c: Ditto.
3658 * libc/machine/powerpc/strtoufix32.c: Ditto.
3659 * libc/machine/powerpc/strtoufix64.c: Ditto.
3660 * libc/machine/powerpc/ufix64toa.c: Ditto.
3661 * libc/machine/powerpc/configure.in: Add check for
3662 powerpc*-eabispe and add fixed-point conversion functions.
3663 * libc/machine/powerpc/configure: Regenerated.
3664 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
3665 %r and %R format specifiers which handle fixed-point data.
3666 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
3667 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
3668 function prototypes.
3669
ad552766
JJ
36702002-08-17 Jeff Johnston <jjohnstn@redhat.com>
3671
3672 * Makefile.am: Move cmath stuff into libc/sys/linux.
3673 * Makefile.in: Regenerated.
3674 * configure.host: Default -DMB_CAPABLE for x86-linux.
3675 * libc/include/reent.h: Define _sbrk to take signed int argument.
3676 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
3677 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
3678 make locale name checking more efficient. Also allow "C-ISO-8859-1"
3679 locale for LC_CTYPE and LC_MESSAGES.
3680 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
3681 * libc/sys/linux/brk.c: Change sbrk prototype.
3682 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
3683 include <sys/features.h>.
3684 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
3685 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
3686 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
3687 with a few local additions.
3688 * libc/sys/linux/sys/features.h: New file.
3689 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
3690 to take signed argument.
3691 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
3692 prototypes to take signed size argument.
3693
d3bd3632
TF
36942002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
3695
3696 * libc/sys/linux/cmath: New directory.
3697 * libc/sys/linux/include/cmathcalls.h: New file.
3698 * libc/sys/linux/include/complex.h: New file.
3699 * libc/sys/linux/machine/i386/huge_val.h: New file
3700 * libm/math/w_sincos.c: New file
3701 * libm/math/wf_sincos.c: New file
3702 * libm/mathfp/s_sincos.c: New file
3703 * libm/mathfp/sf_sincos.c: New file
3704 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
3705 * libc/include/math.h: Add sincos and sincosf declarations.
3706 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
3707 (SUBLIBS): Likewise.
3708 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
3709 * libm/math/Makefile.am (src): Add w_sincos.c.
3710 (fsrc): Add wf_sincos.c.
3711 * libm/mathfp/Makefile.am (src): Add s_sincos.c
3712 (fsrc): Add sf_sincos.c.
3713
b3a9676b
JJ
37142002-08-12 Jeff Johnston <jjohnstn@redhat.com>
3715
3716 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
3717 Declare as extern chars and use the address operator to
3718 properly use values set in linker script.
3719
659e7062
JJ
37202002-08-09 Jason Tishler <jason@tishler.net>
3721
3722 * libc/stdlib/mallocr.c: Include <limits.h>.
3723 (request2size): Change macro to do
3724 unsigned long comparisons and avoid signed overflow.
3725 (mALLOc): Add overflow check for the number of bytes to allocate.
3726 (rEALLOc): Ditto.
3727
037240a2
JJ
37282002-08-09 Jeff Johnston <jjohnstn@redhat.com>
3729
3730 * configure.host: Add check for --enable-newlib-io-pos-args
3731 and define WANT_IO_POS_ARGS flag if enabled. Define
3732 the flag by default for x86-linux configurations.
3733 * configure.in: Add support for --enable-newlib-io-pos-args.
3734 * libc/configure.in: Ditto.
3735 * configure: Regenerated.
3736 * libc/configure: Ditto.
3737 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
3738 vfprintf.c and vfiprintf.c.
3739 * libc/stdio/Makefile.in: Regenerated.
3740 * libc/stdio/vfprintf.c: Add positional argument support that
3741 is enabled by compiling with -DWANT_IO_POS_ARGS.
3742
172fda76
RS
37432002-08-07 Richard Sandiford <rsandifo@redhat.com>
3744
3745 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
3746 based on __mips_soft_float rather than __mips64.
3747 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
3748 of both 32-bit and 64-bit code.
3749
4866247e
CF
37502002-08-04 Christopher Faylor <cgf@redhat.com>
3751
3752 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
3753 arguments for popen to match similar functionality in fopen.
3754
b96332ce
CV
37552002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
3756
3757 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
3758
60d99bce
JJ
37592002-07-29 Jeff Johnston <jjohnstn@redhat.com>
3760
3761 * libc/sys/linux/Makefile.am: Add aio64.c.
3762 * libc/sys/linux/Makefile.in: Regenerated.
3763 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
3764 * libc/sys/linux/aio64.c: New file.
3765
80a21be0
JJ
37662002-07-26 Jeff Johnston <jjohnstn@redhat.com>
3767
3768 * libc/include/sys/param.h (MAX, MIN): Added macros.
3769 * libc/sys/linux/Makefile.am: Add new files.
3770 * libc/sys/linux/Makefile.in: Regenerated.
3771 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
3772 * libc/sys/linux/inode.c (fchdir): Added syscall.
3773 * libc/sys/linux/ftw.c: New file.
3774 * libc/sys/linux/ftw64.c: Ditto.
3775 * libc/sys/linux/getwd.c: Ditto.
3776 * libc/sys/linux/scandir64.c: Ditto.
3777 * libc/sys/linux/strverscmp.c: Ditto.
3778 * libc/sys/linux/versionsort.c: Ditto.
3779 * libc/sys/linux/versionsort64.c: Ditto.
3780
6b6425cb
JJ
37812002-07-26 Jeff Johnston <jjohnstn@redhat.com>
3782
3783 * libc/string/strings.tex: Fix typo for memccpy.
3784
dc8ac8e6
JJ
37852002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3786
3787 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
3788 * libc/sys/linux/sys/types.h (off64_t): Definition added.
3789
aa0ca6fd
JJ
37902002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3791
3792 * libc/sys/linux/Makefile.am: Add fclean.c.
3793 * libc/sys/linux/Makefile.in: Regenerated.
3794 * libc/sys/linux/fclean.c: New file.
3795
61921945
JJ
37962002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3797
3798 * libc/sys/linux/Makefile.am: Add confstr.c.
3799 * libc/sys/linux/Makefile.in: Regenerated.
3800 * libc/sys/linux/confstr.c: New file.
3801 * libc/sys/linux/confstr.h: Ditto.
3802 * libc/sys/linux/sys/unistd.h: Include <features.h> and
3803 <bits/environments.h>.
3804
3d966a92
JJ
38052002-07-25 Jeff Johnston <jjohnstn@redhat.com>
3806
3807 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
3808 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
3809 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
3810 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
3811 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
3812 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
3813
53b5bff7
JJ
38142002-07-24 Jeff Johnston <jjohnstn@redhat.com>
3815
3816 * libc/sys/linux/Makefile.am: Add new files.
3817 * libc/sys/linux/Makefile.in: Regenerated.
3818 * libc/sys/linux/fstab.c: New file.
3819 * libc/sys/linux/fstatvfs.c: Ditto.
3820 * libc/sys/linux/fstatvfs64.c: Ditto.
3821 * libc/sys/linux/internal_statvfs.c: Ditto.
3822 * libc/sys/linux/mntent.c: Ditto.
3823 * libc/sys/linux/mntent_r.c: Ditto.
3824 * libc/sys/linux/statvfs.c: Ditto.
3825 * libc/sys/linux/statvfs64.c: Ditto.
3826 * libc/sys/linux/include/paths.h: Ditto.
3827 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
3828 with double-underscore weak-aliases.
3829 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
3830
9cef8ef5
JJ
38312002-07-24 Jeff Johnston <jjohnstn@redhat.com>
3832
3833 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
3834 to use _sig_func_ptr type casted constants.
3835 (_sig_func_ptr): Typedef moved to sys/signal.h.
3836 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
3837 For __rtems, use POSIX definition, otherwise default to ANSI.
3838 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
3839
a703e0f2
JJ
38402002-07-24 Stephane Carrez <stcarrez@nerim.fr>
3841
3842 * configure.host: Recognize m6811-elf and m6812-elf targets.
3843 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
3844 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
3845 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
3846 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
3847 according to __INT_MAX__.
3848 (_POINTER_INT): Define to short.
3849 * libc/machine/m68hc11/Makefile.am: New file.
3850 * libc/machine/m68hc11/Makefile.in: New file.
3851 * libc/machine/m68hc11/configure.in: New file.
3852 * libc/machine/m68hc11/configure: New file.
3853 * libc/machine/m68hc11/aclocal.m4: New file.
3854 * libc/machine/m68hc11/setjmp.S: New file.
3855
d254189b
JJ
38562002-07-23 Jeff Johnston <jjohnstn@redhat.com>
3857
3858 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
3859 prototypes.
3860 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
3861 * libc/stdlib/Makefile.in: Regenerated.
3862 * libc/stdlib/strdup.c: Removed.
3863 * libc/stdlib/strdup_r.c: Removed.
3864 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
3865 mempcpy.c, strndup.c, and strndup_r.c.
3866 * libc/string/Makefile.in: Regenerated.
3867 * libc/string/memccpy.c: New file.
3868 * libc/string/mempcpy.c: Ditto.
3869 * libc/string/strndup.c: Ditto.
3870 * libc/string/strndup_r.c: Ditto.
3871 * libc/string/strdup.c: New file moved from stdlib.
3872 * libc/string/strdup_r.c: Ditto.
3873 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
3874
bc100655
JJ
38752002-07-23 Jeff Johnston <jjohnstn@redhat.com>
3876
3877 * libc/include/stdio.h: Move fcloseall prototype within
3878 #ifndef _REENT_ONLY section.
3879 * libc/sys/linux/Makefile.am: Add new files.
3880 * libc/sys/linux/Makefile.in: Regenerated.
3881 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
3882 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
3883 * libc/sys/linux/sys/types.h: Add ino64_t type.
3884 * libc/sys/linux/ctermid.c: New file.
3885 * libc/sys/linux/ttyname_r.c: Ditto.
3886 * libc/sys/linux/readdir64.c: Ditto.
3887
f5f27f07
JJ
38882002-07-22 Jeff Johnston <jjohnstn@redhat.com>
3889
3890 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
3891 * libc/stdio/Makefile.am: Added fcloseall.c support.
3892 * libc/stdio/Makefile.in: Regenerated.
3893 * libc/stdio/fcloseall.c: New file.
3894 * libc/stdio64/Makefile.am: Remove missing .def references.
3895 * libc/stdio64/Makefile.in: Regenerated.
3896
d541ba3e
JJ
38972002-07-22 Jeff Johnston <jjohnstn@redhat.com>
3898
3899 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
3900 * libc/machine/powerpc/times.c: New file.
3901 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
3902 * libc/machine/powerpc/Makefile.in: Regenerated.
3903
39042002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8
JJ
3905
3906 * libc/machine/powerpc/time.c: New file.
3907 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
3908 time.c.
3909 * libc/machine/powerpc/Makefile.in: Regenerated.
3910
5e7d0a55
TF
39112002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
3912
3913 * libc/libc.texinfo: Change copyright notices to Red Hat from
3914 Cygnus.
3915 * libm/libm.texinfo: Likewise.
3916 * README: Change docs URL to
3917 http://sources.redhat.com/newlib/docs.html.
3918
504628e7
JJ
39192002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3920
3921 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
3922 * libc/sys/linux/Makefile.in: Regenerated.
3923 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
3924 * libc/sys/linux/io.c: Add ftruncate syscall.
3925 * libc/sys/linux/fpathconf.c: New file.
3926 * libc/sys/linux/pathconf.c: Ditto.
3927 * libc/sys/linux/linux_fsinfo.h: Ditto.
3928 * libc/sys/linux/sys/unistd.h: Ditto.
3929
b155ad9f
JJ
39302002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3931
3932 * libc/stdio64/Makefile.am: Remove missing files.
3933 * libc/stdio64/Makefile.in: Regenerated.
3934
c119e0ab
JJ
39352002-07-19 Jeff Johnston <jjohnstn@redhat.com>
3936
3937 * libc/include/sys/config.h[__i386__][__linux__]: Define
3938 _LARGE64FILE_SOURCE to 1.
3939 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
3940 * libc/sys/linux/Makefile.in: Regenerated.
3941 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
3942 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
3943 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
3944 of <linux/resource.h>.
3945 * libc/sys/linux/getrlimit64.c: New file.
3946 * libc/sys/linux/setrlimit64.c: Ditto.
3947
9b022d6d
TF
39482002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3949
3950 * libc/argz/argz_replace.c: Include buf_findstr.h.
3951 * libc/argz/buf_findstr.c: Likewise.
3952 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
3953 value to (char *).
3954 * libc/argz/envz_get.c: Likewise.
3955 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
3956 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
3957 * libc/stdlib/getsubopt.3: New file.
3958 * libc/stdlib/getsubopt.c: New file.
3959 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
3960 Change esp to ebp.
3961
dee51391
JJ
39622002-07-17 Jeff Johnston <jjohnstn@redhat.com>
3963
3964 * configure.host(stdio64_dir): New setting that is used to
3965 enable building of new stdio64 directory.
3966 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
3967 large files.
3968 (stmp-stdio64,stdio64.texi): New targets to optionally add in
3969 stdio64 info to info files.
3970 * libc/Makefile.in: Regenerated.
3971 * libc/configure: Ditto.
3972 * libc/configure.in: Add configuration variables that are set
3973 when stdio64 is selected as subdir in configure.host.
3974 * libc/libc.texinfo: Add optional menu item for Stdio64, based
3975 on whether STDIO64 flag is set or not.
3976 * libc/sys.tex: Add optional stdio64 syscalls based on whether
3977 STDIO64 flag is set or not.
3978 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
3979 _r sycall routines.
3980 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
3981 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
3982 (__SL64): New file flag indicating file is opened via fopen64.
3983 * libc/include/sys/_types.h(_off64_t): Added.
3984 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
3985 * libc/include/sys/reent.h(struct __sFILE64): New file structure
3986 for 64-bit offset large file support.
3987 (__FILE): New intermediate type either set to struct __sFILE64 or
3988 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
3989 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
3990 * libc/reent/Makefile.in: Regenerated.
3991 * libc/reent/fstat64r.c: New file.
3992 * libc/reent/lseek64r.c: Ditto.
3993 * libc/reent/open64r.c: Ditto.
3994 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
3995 based on whether STDIO64 flag is set.
3996 * libc/stdio/stdio.tex: Add blank line.
3997 * libc/stdio64/Makefile.am: New file.
3998 * libc/stdio64/Makefile.in: Ditto.
3999 * libc/stdio64/fgetpos64.c: Ditto.
4000 * libc/stdio64/fopen64.: Ditto.
4001 * libc/stdio64/freopen64.c: Ditto.
4002 * libc/stdio64/fseeko64.c: Ditto.
4003 * libc/stdio64/fsetpos64.c: Ditto.
4004 * libc/stdio64/ftello64.c: Ditto.
4005 * libc/stdio64/local64.h: Ditto.
4006 * libc/stdio64/stdio64.c: Ditto.
4007 * libc/stdio64/stdio64.tex: Ditto.
4008 * libc/stdio64/tmpfile64.c: Ditto.
4009 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
4010 open64.
4011
778876f6
JJ
40122002-07-16 Jeff Johnston <jjohnstn@redhat.com>
4013
4014 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
4015 if LIBC_EXTRA_LIB is present.
4016 * libc/Makefile.in: Regenerated.
4017 * libc/libc.texinfo: Add blank line.
4018 * libc/argz/Makefile.am: Add doc support.
4019 * libc/search/Makefile.am: Ditto.
4020 * libc/argz/Makefile.in: Regenerated.
4021 * libc/search/Makefile.in: Ditto.
4022 * libc/misc/misc.tex: Add ffs function.
4023 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
4024
37981145
JJ
40252002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4026
4027 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
4028 definition that was removed in error.
4029
38b5dc59
JJ
40302002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4031
4032 * libc/include/machine/ieeefp.h: Change to only define
4033 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
4034 __IEEE_LITTLE_ENDIAN must be defined for each platform).
4035 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
4036 remove redundant floating point definitions.
4037
8cb61a96
JJ
40382002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4039
4040 * libc/sys/linux/callocr.c: Fix so code references
4041 calloc.
4042
edba3282
JJ
40432002-07-15 Jeff Johnston <jjohnstn@redhat.com>
4044
4045 * libc/sys/linux/Makefile.am: Add new files.
4046 * libc/sys/linux/Makefile.in: Regenerated.
4047 * libc/sys/linux/bp-sym.h: Moved to include directory.
4048 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
4049 * libc/sys/linux/inode.c: Set _LIBC to 1.
4050 * libc/sys/linux/mq_close.c: Ditto.
4051 * libc/sys/linux/mq_getattr.c: Ditto.
4052 * libc/sys/linux/mq_open.c: Ditto.
4053 * libc/sys/linux/mq_receive.c: Ditto.
4054 * libc/sys/linux/mq_send.c: Ditto.
4055 * libc/sys/linux/mq_setattr.c: Ditto.
4056 * libc/sys/linux/mq_unlink.c: Ditto.
4057 * libc/sys/linux/calloc.c: New file.
4058 * libc/sys/linux/callocr.c: Ditto.
4059 * libc/sys/linux/cfreer.c: Ditto.
4060 * libc/sys/linux/config.h: Ditto.
4061 * libc/sys/linux/free.c: Ditto.
4062 * libc/sys/linux/freer.c: Ditto.
4063 * libc/sys/linux/msize.c: Ditto.
4064 * libc/sys/linux/msizer.c: Ditto.
4065 * libc/sys/linux/mstats.c: Ditto.
4066 * libc/sys/linux/mtrim.c: Ditto.
4067 * libc/sys/linux/mtrimr.c: Ditto.
4068 * libc/sys/linux/pvallocr.c: Ditto.
4069 * libc/sys/linux/realloc.c: Ditto.
4070 * libc/sys/linux/reallocr.c: Ditto.
4071 * libc/sys/linux/thread-m.h: Ditto.
4072 * libc/sys/linux/vallocr.c: Ditto.
4073 * libc/sys/linux/bp-checks.h: Ditto.
4074 * libc/sys/linux/libc-symbols.h: Ditto.
4075 * libc/sys/linux/libc-tsd.h: Ditto.
4076 * libc/sys/linux/libintl.h: Ditto.
4077 * libc/sys/linux/malign.c: Ditto.
4078 * libc/sys/linux/malignr.c: Ditto.
4079 * libc/sys/linux/mallinfor.c: Ditto.
4080 * libc/sys/linux/malloc.c: Ditto.
4081 * libc/sys/linux/mallocr.c: Ditto.
4082 * libc/sys/linux/malloptr.c: Ditto.
4083 * libc/sys/linux/mallstatsr.c: Ditto.
4084 * libc/sys/linux/mcheck.c: Ditto.
4085 * libc/sys/linux/mhooks.h: Ditto.
4086 * libc/sys/linux/include/bp-sym.h: Ditto.
4087 * libc/sys/linux/include/malloc.h: Ditto.
4088 * libc/sys/linux/include/mcheck.h: Ditto.
4089 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
4090 getpagesize.c.
4091 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
4092 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
4093 * libc/sys/linux/machine/i386/getpagesize.c: New file.
4094 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
4095 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4096 * libc/sys/linux/machine/i386/sysdep.h: New file.
4097 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
4098 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
4099 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
4100
ea20b60a
JJ
41012002-07-12 Jeff Johnston <jjohnstn@redhat.com>
4102
4103 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
4104 instead of <asm/siginfo.h>.
4105 * libc/sys/linux/sys/signal.h: Change to include various linux
4106 <bits/xxx.h> header files, rather than <linux/signal.h> so as
4107 to work with multiple releases of glibc header files.
4108
2fc82912
JJ
41092002-07-11 Chris Demetriou <cgd@broadcom.com>
4110
4111 * testsuite/newlib.search/hsearchtest.c: New file to test
4112 newlib/libc/search.
4113 * testsuite/newlib.search/hsearchtest.exp: Likewise.
4114
4a404e97 41152002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
4116
4117 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
4118 a terminal.
4119 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
4120
6aec558e
JJ
41212002-07-08 Jeff Johnston <jjohnstn@redhat.com>
4122
4123 * libc/include/math.h (MAXFLOAT): Added.
4124
e47e6f0e 4125Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
4126
4127 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
4128 Make strcmp.S unconditional.
4129 * libc/machine/sh/Makefile.in: Regenerate.
4130 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
4131 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
4132 for SHcompact.
4133
89ffbd66
JJ
41342002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4135
4136 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
4137 define before including <sys/lock.h>.
4138
ae6c4c84
JJ
41392002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4140
4141 * libc/include/utime.h: Add include of <_ansi.h>.
4142 * libc/sys/linux/Makefile.am: Add utimes.c.
4143 * libc/sys/linux/Makefile.in: Regenerated.
4144 * libc/sys/linux/inode.c(__umask): New static routine.
4145 (umask): Written to use __umask and attempt to thread lock.
4146 (getumask): New function written to use __umask and thread lock.
4147 * libc/sys/linux/utimes.c: New file.
4148 * libc/sys/linux/sys/time.h: Fix utimes prototype.
4149 * libc/sys/linux/sys/utime.h: New file.
4150
a6cac46c
TF
41512002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
4152
4153 * libtool.m4: New file.
4154 * libc/sys/linux/process.c: Implement vfork in terms of fork,
4155 rather than as a syscall.
4156
30b2092f
JJ
41572002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4158
4159 * libc/include/stdio.h: Add new prototypes.
4160 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
4161 * libc/stdio/Makefile.in: Regenerated.
4162 * libc/stdio/fseek.c: Add fseeko documentation.
4163 * libc/stdio/ftell.c: Add ftello documentation.
4164 * libc/stdio/fseeko.c: New file.
4165 * libc/stdio/ftello.c: New file.
4166
7501704d
JJ
41672002-07-04 Jeff Johnston <jjohnstn@redhat.com>
4168
4169 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
4170 * libc/stdio/Makefile.in: Regenerated.
4171 * libc/stdio/asprintf.c: New file.
4172 * libc/stdio/vasprintf.c: Ditto.
4173 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
4174 the buffer for asprintf support.
4175 * libc/stdio/sprintf.c: Add asprintf documentation.
4176 * libc/stdio/vfprintf.c: Add vasprintf documentation.
4177 * libc/include/stdio.h: Add new prototypes.
4178
66eee32b
TF
41792002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
4180
4181 * libc/search/hcreate.c: Remove advertising clause from license.
4182 * libc/search/hcreate_r.c: Likewise.
4183
cec4a9f8
JJ
41842002-07-02 Chris Demetriou <cgd@broadcom.com>
4185
4186 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
4187 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
4188 Check that one of them is defined and error out if not.
4189 Add any platforms defined in <machine/ieeefp.h> that are missing.
4190 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
4191 (DB_LITTLE_ENDIAN): New defines.
4192 * libc/search/hash.c: Replace all incorrect checks for
4193 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
4194 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
4195 * libc/search/hash_page.c: Likewise.
4196
2d5eb17e
TF
41972002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
4198
4199 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
4200
c1a3171f
JJ
42012002-06-27 Benjamin Kosnik <bkoz@redhat.com>
4202
4203 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
4204 * libc/include/time.h: Same.
4205 * libc/include/string.h: Same.
4206 * libc/include/stdlib.h: Same.
4207 * libc/include/signal.h: Same.
4208 * libc/include/setjmp.h: Same.
4209 * libc/include/math.h: Same.
4210 * libc/include/locale.h: Same.
4211 * libc/include/ctype.h: Same.
4212 * libc/include/machine/setjmp.h: Same.
4213 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
4214 (_END_STD_C): Add.
4215
533b4e66
JJ
42162002-06-27 Jeff Johnston <jjohnstn@redhat.com>
4217
4218 * libc/include/sys/_types.h: Define _ssize_t as int if int is
4219 32-bits, otherwise define it as long.
4220 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
4221 and define ssize_t as _ssize_t.
4222 * libc/reent/readr.c: Change return type to _ssize_t.
4223 * libc/reent/writer.c: Ditto.
4224 * libc/sys/linux/Makefile.am: Add aio.c.
4225 * libc/sys/linux/Makefile.in: Regenerated.
4226 * libc/sys/linux/aio.c: New file.
4227 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
4228 * libm/common/fdlibm.h: Undef __P before defining it.
4229
c36e6dd7
TF
42302002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
4231
54be629f
TF
4232 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
4233 exponent_is_even_int variable. Handle case where x is
4234 negative, and y is an odd integer.
4235 * libm/mathfp/sf_pow.c (powf): Likewise.
4236
c36e6dd7
TF
4237 * libm/mathfp/er_lgamma.c: Remove __kernel references.
4238 * libm/mathfp/erf_lgamma.c: Likewise.
4239 * libm/mathfp/s_tgamma.c: Likewise.
4240 * libm/mathfp/sf_tgamma.c: Likewise.
4241
baf051ca
JJ
42422002-06-27 Jeff Johnston <jjohnstn@redhat.com>
4243
4244 * libc/sys/linux/Makefile.am: Add new clock routines.
4245 * libc/sys/linux/Makefile.in: Regenerated.
4246 * libc/sys/linux/clock_getres.c: New file.
4247 * libc/sys/linux/clock_gettime.c: Ditto.
4248 * libc/sys/linux/clock_settime.c: Ditto.
4249 * libc/sys/linux/hp-timing.h: Ditto.
4250 * libc/sys/linux/libc-internal.h: Ditto.
4251 * libc/sys/linux/sysconf.c: Fix typo.
4252 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
4253 * libc/sys/linux/machine/hp-timing.h: New file.
4254 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
4255 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4256 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
4257 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
4258 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
4259 * libc/sys/linux/sys/linux_time.h: New file.
4260 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
4261 replace with <sys/linux_time.h>.
4262
0431ed4e
JR
4263Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
4264
4265 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
4266
fc067ba5
JJ
42672002-06-25 Jeff Johnston <jjohnstn@redhat.com>
4268
4269 * libc/sys/linux/Makefile.am: Consolidate additional items under
4270 ADD_OBJS.
4271 * libc/sys/linux/Makefile.in: Regenerated.
4272
ffddf61e
JJ
42732002-06-25 Jeff Johnston <jjohnstn@redhat.com>
4274
4275 * libc/sys/linux/sethostname.c: New file.
4276 * libc/sys/linux/Makefile.am: Add sethostname.c support.
4277 * libc/sys/linux/Makefile.in: Regenerated.
4278
d5487d3f
TF
42792002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4280
4281 * libc/search/db_local.h: New file.
4282 * libc/include/db.h: Remove.
4283 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
4284 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
4285 "db_local.h".
4286 * libc/search/hash_bigkey.c: Likewise.
4287 * libc/search/hash_buf.c: Likewise.
4288 * libc/search/hash_func.c: Likewise.
4289 * libc/search/hash_log2.c: Likewise.
4290 * libc/search/hash_page.c: Likewise.
4291
42922002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 4293
1e7ca711 4294 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
4295 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
4296 * libc/machine/sh/Makefile.am: Regenerate.
4297
59c6d6c4
JJ
42982002-06-24 Jeff Johnston <jjohnstn@redhat.com>
4299
4300 * libc/sys/linux/gethostname.c: Change name to __gethostname and
4301 add gethostname alias.
4302
a70486d7
JJ
43032002-06-24 Jeff Johnston <jjohnstn@redhat.com>
4304
4305 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 4306 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 4307 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 4308 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
4309 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
4310 * libm/common/fdlibm.h: Ditto.
4311
3118725a
TF
43122002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4313
4314 * libc/include/ndbm.h: Remove.
4315 * libc/search/ndbm.c: Remove.
4316
30a06168
TF
43172002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
4318
4319 * libc/stdio/fseek.c (fseek): Fix braces.
4320
01f5155e
CV
43212002-06-21 Corinna Vinschen <corinna@vinschen.de>
4322
4323 * libc/time/strftime.c (strftime): Add %e format specifier.
4324
930bc96b
TF
43252002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4326
4327 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
4328 previously defined.
4329
55105f86
JJ
43302002-06-21 Richard Earnshaw (rearnsha@arm.com)
4331
4332 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
4333 (BYTE_ORDER): Define as appropriate for the target.
4334
2e78444a
JJ
43352002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4336
4337 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
4338 to _ssize_t.
4339 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
4340
d427d092
JJ
43412002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4342
4343 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
4344 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
4345 [HAVE_GETDATE](getdate_err): New error code.
4346 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
4347 * libc/stdio/Makefile.in: Regenerated.
4348 * libc/stdio/getdelim.c: New file.
4349 * libc/stdio/getline.c: Ditto.
4350 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
4351 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
4352 * libc/sys/linux/Makefile.in: Regenerated.
4353 * libc/sys/linux/getdate.c: New file.
4354 * libc/sys/linux/getdate_err.c: Ditto.
4355 * libc/sys/linux/ntp_gettime.c: Ditto.
4356 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
4357 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
4358
35728d4f
JJ
43592002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4360
4361 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
4362 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
4363 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
4364 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
4365 * libc/include/sys/param.h: Remove i386 case which is handled
4366 by default case.
4367 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
4368 definitions in case they are already defined.
4369 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
4370 _IEEE_LITTLE_ENDIAN flags.
4371 * libc/include/sys/reent.h: Change __uint32_t references to
4372 use _ULong instead.
4373 (_REENT_GETDATE_REENT_P): New macro.
4374 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
4375 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
4376 * libc/search/hash.h: Add default setting of BYTE_ORDER,
4377 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
4378 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
4379 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
4380 pid_t, off_t, loff_t, caddr_t, and daddr_t type
4381 definitions which are done by subsequent glibc headers.
4382 Add macro definitions to prevent subsequent header files from
4383 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
4384 intptr_t to after glibc definitions of types they are based on.
4385
4a2bfab7
JJ
43862002-06-21 Jeff Johnston <jjohnstn@redhat.com>
4387
4388 * libc/include/errno.h: Protect from multiple inclusion.
4389
f42d18ea
NC
43902002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
4391
4392 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
4393
a7b23a8f
TF
43942002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
4395
4396 * Makefile.am (LIB_OBJECTLISTS): Add
4397 libc/search/objectlist.awk.in.
4398 * libc/Makefile.am (SUBDIRS): Add search.
4399 (SUBLIBS): Add search/libsearch.la.
4400 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
4401 * libc/search: New directory.
4402 * libc/search/Makefile.am: New file.
4403 * libc/search/extern.h: New file.
4404 * libc/search/hash.c: New file.
4405 * libc/search/hash.h: New file.
4406 * libc/search/hash_bigkey.c: New file.
4407 * libc/search/hash_buf.c: New file.
4408 * libc/search/hash_func.c: New file.
4409 * libc/search/hash_log2.c: New file.
4410 * libc/search/hash_page.c: New file.
4411 * libc/search/hcreate.3: New file.
4412 * libc/search/hcreate.c: New file.
a7b23a8f
TF
4413 * libc/search/hcreate_r.c: New file.
4414 * libc/search/ndbm.c: New file.
4415 * libc/search/page.h: New file.
4416 * libc/search/tdelete.c: New file.
4417 * libc/search/tdestroy.c: New file.
4418 * libc/search/tfind.c: New file.
4419 * libc/search/tsearch.3: New file.
4420 * libc/search/tsearch.c: New file.
4421 * libc/search/twalk.c: New file.
4422 * libc/include/db.h: New file.
4423 * libc/include/ndbm.h: New file.
4424 * libc/include/search.h: New file.
4425 * libc/include/sys/queue.h: New file.
4426 * libc/include/sys/cdefs.h: New file.
4427 * libc/include/sys/param.h
4428 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
4429 LITTLE_ENDIAN or BIG_ENDIAN.
4430 * libc/include/sys/errno.h (EFTYPE): New macro.
4431 * libc/search/bsearch.c: Move from libc/stdlib.
4432 * libc/search/qsort.c: Likewise.
4433 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
4434 qsort.c.
4435 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
4436 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
4437
ef467338
JJ
44382002-06-19 Jeff Johnston <jjohnstn@redhat.com>
4439
4440 * libc/sys/linux/Makefile.am: Add support for message queue routines,
4441 ipc routines, and ftok.
4442 * libc/sys/linux/Makefile.in: Regenerated.
4443 * libc/sys/linux/ftok.c: New file.
4444 * libc/sys/linux/ipc.c: Ditto.
4445 * libc/sys/linux/mq_close.c: Ditto.
4446 * libc/sys/linux/mq_getattr.c: Ditto.
4447 * libc/sys/linux/mq_notify.c: Ditto.
4448 * libc/sys/linux/mq_open.c: Ditto.
4449 * libc/sys/linux/mq_receive.c: Ditto.
4450 * libc/sys/linux/mq_send.c: Ditto.
4451 * libc/sys/linux/mq_setattr.c: Ditto.
4452 * libc/sys/linux/mq_unlink.c: Ditto.
4453 * libc/sys/linux/mqlocal.h: Ditto.
4454 * libc/sys/linux/include/mqueue.h: Ditto.
4455 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
4456 __uid_t_defined.
4457
7f55c08c
TF
44582002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
4459
4460 * libm/common/sf_lround.c (round): Change name to: (lround).
4461 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
4462 remquof.
4463
c9ca68d7
TF
44642002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4465
4466 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
4467 procedure.
4468 (newlib_pass_fail): Change to compile and run only one file.
4469 * testsuite/newlib.locale/locale.exp: Use new
4470 newlib_pass_fail_all procedure.
4471 * testsuite/newlib.string/string.exp: Likewise.
4472
4ecedd09
DB
44732002-06-18 Dave Brolley <brolley@redhat.com>
4474
4475 From Catherine Moore, Michael Meissner, Richard Sandiford:
4476 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
4477 (_JBTYPE): Ditto.
4478 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
4479 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
4480 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
4481 * configure.host: Support frv-*-*.
4482 * libc/machine/frv/Makefile.am: New file.
4483 * libc/machine/frv/configure.in: New file.
4484 * libc/machine/frv/setjmp.S: New file.
4485
af1c257a
TF
44862002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
4487
4488 * libc/include/ctype.h: Remove isblank macro.
4489
4490 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
4491 * libc/ctype/isblank.c: New file.
4492 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
4493 declaration. Add isblank macro.
4494
4e04fa90
JJ
44952002-06-18 Jeff Johnston <jjohnstn@redhat.com>
4496
4497 * testsuite/newlib.stdlib/atexit.c: New file.
4498 * testsuite/newlib.stdlib/atexit.exp: Ditto.
4499 * testsuite/newlib.string/tstring.c: Change default start size
4500 to something more reasonable for embedded platforms.
4501
b56d7e79
TF
45022002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4503
ece3c72f
TF
4504 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
4505
b56d7e79
TF
4506 * libc/argz: New directory.
4507 * libc/argz/*: New files.
4508 * libc/argz/argz_add.c: New file.
4509 * libc/argz/argz_add_sep.c: New file.
4510 * libc/argz/argz_append.c: New file.
4511 * libc/argz/argz_count.c: New file.
4512 * libc/argz/argz_create.c: New file.
4513 * libc/argz/argz_create_sep.c: New file.
4514 * libc/argz/argz_delete.c: New file.
4515 * libc/argz/argz_extract.c: New file.
4516 * libc/argz/argz_insert.c: New file.
4517 * libc/argz/argz_next.c: New file.
4518 * libc/argz/argz_replace.c: New file.
4519 * libc/argz/argz_stringify.c: New file.
4520 * libc/argz/buf_findstr.c: New file.
4521 * libc/argz/envz_add.c: New file.
4522 * libc/argz/envz_entry.c: New file.
4523 * libc/argz/envz_get.c: New file.
4524 * libc/argz/envz_merge.c: New file.
4525 * libc/argz/envz_remove.c: New file.
4526 * libc/argz/envz_strip.c: New file.
4527 * libc/include/argz.h: New file.
4528 * libc/include/envz.h: New file.
4529 * Makefile.am (LIBC_OBJECTLISTS): Add
4530 libc/argz/objectlist.awk.in.
4531 * libc/Makefile.am (SUBDIRS): Add argz.
4532 (SUBLIBS): Add argz/libargz.la.
4533 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
4534 * libc/include/errno.h: Add error_t typedef.
4535
d062d3dd
JJ
45362002-06-13 Jeff Johnston <jjohnstn@redhat.com>
4537
4538 * libc/include/stdlib.h: Add _Exit prototype.
4539 * libc/stdlib/Makefile.am: Add _Exit.c support.
4540 * libc/stdlib/Makefile.in: Ditto.
4541 * libc/stdlib/_Exit.c: New file.
4542
a47e66ae
JJ
45432002-06-13 Stephen L. Moshier <steve@moshier.net>
4544
4545 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
4546 x is close to -1.0 and y is very large to use ax (absolute value)
4547 instead of x.
4548 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
4549
13f7d71f
JR
4550Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
4551
4552 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
4553 Fix clobbering bytes before destination if src and dst have same
4554 non-zero misalignment.
1f1fb421
JR
4555
4556 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
4557 Fixed bug in writing end of set region.
4558
b2e8018f
CF
45592002-06-10 Christopher Faylor <cgf@redhat.com>
4560
4561 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
4562 spawnve declaration.
4563
0953fe64
TF
45642002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
4565
4566 * libm/common/s_fdim.c: New file.
4567 * libm/common/s_fma.c: Likewise.
4568 * libm/common/s_fmax.c: Likewise.
4569 * libm/common/s_fmin.c: Likewise.
4570 * libm/common/s_fpclassify.c: Likewise.
4571 * libm/common/s_lrint.c: Likewise.
4572 * libm/common/s_lround.c: Likewise.
4573 * libm/common/s_nearbyint.c: Likewise.
4574 * libm/common/s_remquo.c: Likewise.
4575 * libm/common/s_round.c: Likewise.
4576 * libm/common/s_scalbln.c: Likewise.
4577 * libm/common/s_signbit.c: Likewise.
4578 * libm/common/s_trunc.c: Likewise.
4579 * libm/common/sf_fdim.c: Likewise.
4580 * libm/common/sf_fma.c: Likewise.
4581 * libm/common/sf_fmax.c: Likewise.
4582 * libm/common/sf_fmin.c: Likewise.
4583 * libm/common/sf_lrint.c: Likewise.
4584 * libm/common/sf_lround.c: Likewise.
4585 * libm/common/sf_nearbyint.c: Likewise.
4586 * libm/common/sf_remquo.c: Likewise.
4587 * libm/common/sf_round.c: Likewise.
4588 * libm/common/sf_scalbln.c: Likewise.
4589 * libm/common/sf_trunc.c: Likewise.
4590 * libm/math/w_exp2.c: Likewise.
4591 * libm/math/w_tgamma.c: Likewise.
4592 * libm/math/wf_exp2.c: Likewise.
4593 * libm/math/wf_tgamma.c: Likewise.
4594 * libm/mathfp/s_exp2.c: Likewise.
4595 * libm/mathfp/s_tgamma.c: Likewise.
4596 * libm/mathfp/sf_exp2.c: Likewise.
4597 * libm/mathfp/sf_tgamma.c: Likewise.
4598 * libm/math/er_gamma.c: Fix return value.
4599 * libm/math/erf_gamma.c: Likewise.
4600 * libm/mathfp/er_gamma.c: Likewise.
4601 * libm/mathfp/erf_gamma.c: Likewise.
4602 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
4603 declarations and macros.
4604 Regenerated all Makefile.in, aclocal.m4 and configure files to
4605 use new libtool macros in top-level libtool.m4
4606
39e65e01
JJ
46072002-06-05 Jeff Johnston <jjohnstn@redhat.com>
4608
4609 * libc/include/string.h[__linux__]: Add strsignal prototype.
4610 * libc/include/sys/lock.h: New file with default locking support.
4611 * libc/include/sys/reent.h: Add signal buffer support for strsignal
4612 and psignal.
4613 * libc/posix/Makefile.am: Add support for readdir_r.c.
4614 * libc/posix/Makefile.in: Regenerated.
4615 * libc/posix/closedir.c: Add locking support and hash table cleanup.
4616 * libc/posix/opendir.c: Add lock support.
4617 * libc/posix/readdir.c: Ditto.
4618 * libc/posix/rewinddir.c: Ditto.
4619 * libc/posix/scandir.c: Ditto.
4620 * libc/posix/seekdir.c: Ditto.
4621 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
4622 clean up leftover hash table entries.
4623 * libc/posix/readdir_r.c: New file.
4624 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
4625 * libc/sys/linux/Makefile.in: Regenerated.
4626 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
4627 * libc/sys/linux/sys/signal.h: Add psignal prototype.
4628 * libc/sys/linux/psignal.c: New file.
4629 * libc/sys/linux/strsignal.c: Ditto.
4630
cc890e89
CV
46312002-06-03 Corinna Vinschen <corinna@vinschen.de>
4632
4633 * libc/include/sys/types.h: Don't define dev_t when compiling for
4634 Cygwin.
4635
ea55e3f7
JJ
46362002-05-31 Jeff Johnston <jjohnstn@redhat.com>
4637
4638 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
4639 make siglist.inc dependent on sig.c instead of signal.c.
4640 * libc/sys/linux/Makefile.in: Regenerated.
4641 * libc/sys/linux/sig.c: Rename from signal.c and change code to
4642 use NSIG instead of _NSIG.
4643 * libc/sys/linux/sigaction.c: New file.
4644 * libc/sys/linux/signal.c: Changed to be linux signal() function
4645 so as to override regular newlib default signal.c.
ea55e3f7
JJ
4646 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
4647 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4648 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
4649 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
4650 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
4651 default linux sigset_t typedef by defining it equal to __sigset_t.
4652 * libc/unix/sigset.c: Add check so code isn't compiled on systems
4653 with a sigset_t that isn't implemented with a single int.
4654
9d362914
JJ
46552002-05-30 Jeff Johnston <jjohnstn@redhat.com>
4656
4657 * libc/sys/linux/Makefile.am: Add support for new files.
4658 * libc/sys/linux/Makefile.in: Regenerated.
4659 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
4660 * libc/sys/linux/signal.c: Change to use real-time syscalls for
4661 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
4662 it is in a separate file now.
4663 * libc/sys/linux/machine/i386/Makefile.am
4664 * libc/sys/linux/machine/i386/Makefile.in
4665 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
4666 * libc/sys/linux/sigaction.c: New file.
4667 * libc/sys/linux/sigqueue.c: Ditto.
4668 * libc/sys/linux/sigwait.c: Ditto.
4669 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
4670 * libc/sys/linux/kernel_sigaction.h: Ditto.
4671
b1f07180
JJ
46722002-05-28 Jeff Johnston <jjohnstn@redhat.com>
4673
4674 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
4675 tcsendbrk.c.
4676 * libc/sys/linux/Makefile.in: Regenerated.
4677 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
4678 tcgetpgrp(), and tcsetpgrp() functions.
4679 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
4680 to get __MAX_BAUD rate.
4681 * libc/sys/linux/machine/i386/include/termios.h: New file.
4682 * libc/include/machine/termios.h: Ditto.
4683 * libc/sys/linux/cfspeed.c: Ditto.
4684 * libc/sys/linux/tcsendbrk.c: Ditto.
4685
d29587b4
JJ
46862002-05-24 Jeff Johnston <jjohnstn@redhat.com>
4687
4688 * libc/include/string.h: Add strnlen and strerror_r prototypes.
4689 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
4690 * libc/string/Makefile.in: Regenerated.
4691 * libc/string/strerror_r.c: New file.
4692 * libc/string/strnlen.c: New file.
4693 * libc/sys/linux/Makefile.am: Add rename.c.
4694 * libc/sys/linux/Makefile.in: Regenerated.
4695 * libc/sys/linux/rename.c: New file to override default rename.
4696
9a292385
TF
46972002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
4698
4699 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
4700 * libc/sys/linux/sys/time.h: Add conversion macros.
4701 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
4702 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
4703 * libc/sys/linux/gethostname.c: New file.
4704 * libc/sys/linux/seteuid.c: New file.
4705 * libc/sys/linux/sysctl.c: New file.
4706
7a364eb3
JJ
47072002-05-23 Jeff Johnston <jjohnstn@redhat.com>
4708
4709 * libc/string/Makefile.am: Add support for strsep.c.
4710 * libc/string/Makefile.in: Regenerated.
4711 * libc/string/strsep.c: New file.
4712 * libc/string/strtok.c: Change to call __strtok_r service routine.
4713 * libc/string/strtok_r.c: Add __strtok_r routine which takes
4714 additional flag parameter regarding whether to skip leading delimeters.
4715 Change strtok_r to call __strtok_r.
4716
164ee5b0
JJ
47172002-05-23 Gareth Pearce <tilps@hotmail.com>
4718
4719 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
4720 * libc/stdio/Makefile.in: Regenerated.
4721 * libc/stdio/setbuffer.c: New file.
4722 * libc/stdio/setlinebuf.c: New file.
4723
f6b2b567
JJ
47242002-05-23 Jeff Johnston <jjohnstn@redhat.com>
4725
4726 * libc/sys/linux/Makefile.am: Add resource.c.
4727 * libc/sys/linux/Makefile.in: Regenerated.
4728 * libc/sys/linux/resource.c: New file.
4729 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
4730 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
4731 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4732 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
4733 are now found in libc/sys/linux/resource.c.
4734
afe56517
JJ
47352002-05-23 Jeff Johnston <jjohnstn@redhat.com>
4736
4737 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
4738 to use void * pointers and comply with Single Unix spec.
4739 * libc/string/bcmp.c: Change to use void * instead of char *.
4740 * libc/string/bcopy.c: Ditto.
4741 * libc/string/bzero.c: Ditto.
4742
7736feb2
JJ
47432002-05-22 Jeff Johnston <jjohnstn@redhat.com>
4744
4745 * libc/sys/linux/shm_open.c: New file.
4746 * libc/sys/linux/shm_unlink.c: Ditto.
4747 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
4748 shm_unlink.c.
4749 * libc/sys/linux/Makefile.in: Regenerated.
4750 * libc/sys/linux/sys/types.h: Add some additional checks to see
4751 if clock_t or time_t is already defined.
4752
19f111bd
JJ
47532002-05-22 Jeff Johnston <jjohnstn@redhat.com>
4754
4755 * Makefile.am: Don't pass $toollibdir down directly in
4756 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
4757 Pass it under the name: top_toollibdir.
4758 * Makefile.in: Regenerated.
4759
c811b1ee
CV
47602002-05-22 Corinna Vinschen <vinschen@redhat.com>
4761
4762 * libc/include/sys/types.h: Revert previous patch.
4763
2b43ad33
CV
47642002-05-22 Corinna Vinschen <vinschen@redhat.com>
4765
4766 * libc/include/sys/types.h: Include cygwin/types.h always under
4767 Cygwin, not only if _POSIX_THREADS is defined.
4768
dd671cde
TF
47692002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
4770
4771 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
4772
5e2cbfb6
JJ
47732002-05-17 Jeff Johnston <jjohnstn@redhat.com>
4774
4775 * Makefile.am: Copy and install headers from sys/machine/include
4776 directory. Also pass $toollibdir to lower-level directories.
4777 * Makefile.in: Regenerated.
4778 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
4779 stderr to use _REENT macro instead of _impure_ptr directly.
4780 * libc/include/sys/config.h[__i386__][__linux__]: Define
4781 __DYNAMIC_REENT__.
4782 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
4783 call to __getreent() function if !__SINGLE_THREAD__ and
4784 __DYNAMIC_REENT__ is set.
4785 * libc/reent/Makefile.am: Add support for getreent.c.
4786 * libc/reent/Makefile.in: Regenerated.
4787 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
4788 * libc/sys/linux/Makefile.am: Add support for new files.
4789 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
4790 * libc/sys/linux/Makefile.in: Regenerated.
4791 * libc/sys/linux/configure: Ditto.
4792 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
4793 __close, __read, __write, __poll, __open, __lseek, __fcntl from
4794 their __libc_ counterparts.
4795 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
4796 and weak-alias to regular names.
4797 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
4798 to pread64 and __pread64.
4799 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
4800 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
4801 weak-alias to pwrite64.
4802 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
4803 __libc_sched_getscheduler, __libc_sched_get_priority_max,
4804 __libc_sched_get_priority_min, and __libc_sched_setschedule to
4805 name with __ instead of __libc_.
4806 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
4807 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
4808 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
4809 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
4810 to raise.
4811 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
4812 __libc_send to __send.
4813 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
4814 __gettimeofday.
4815 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
4816 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
4817 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
4818 type and typedef __jmp_buf to jmp_buf.
4819 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
4820 setjmp.S.
4821 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
4822 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
4823 section.
4824 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
4825 prefix for function macros and then use weak_alias() to regular names.
4826 * libc/sys/linux/machine/i386/syscall.h: Ditto.
4827 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
4828 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
4829 to be flockfile() and funlockfile() respectively.
4830 * libc/sys/linux/sys/types.h
4831 * libc/reent/getreent.c: New file.
4832 * libc/sys/linux/flockfile.c: Ditto.
4833 * libc/sys/linux/funlockfile.c: Ditto.
4834 * libc/sys/linux/getreent.c: Ditto.
4835 * libc/sys/linux/pread.c: Ditto.
4836 * libc/sys/linux/pwrite.c: Ditto.
4837 * libc/sys/linux/raise.c: Ditto.
4838 * libc/sys/linux/system.c: Ditto.
4839 * libc/sys/linux/tcdrain.c: Ditto.
4840 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
4841 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
4842 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
4843 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
4844 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
4845
7fc85bd1
TF
48462002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
4847
4848 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
4849 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
4850 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
4851 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
4852
6935231f 4853Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
4854
4855 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
4856 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
4857 exit point.
d7a2f413 4858
3a6cb01b
TF
48592002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
4860
a68fa571
TF
4861 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
4862 options when testing natively on i[3456]86-*-linux.
4863
3a6cb01b
TF
4864 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
4865 only one pass or fail per test file. Trim \r's from output
4866 values received from test programs. Remove support for named
4867 tests.
4868 * testsuite/newlib.locale/UTF-8.exp: Update to support new
4869 newlib_check_output behaviour.
4870 * testsuite/newlib.locale/UTF-8.c: Likewise.
4871
dc824ef7
JJ
48722002-05-15 Jeff Johnston <jjohnstn@redhat.com>
4873
4874 * libc/include/stdlib.h: Add on_exit prototype.
4875 * libc/include/sys/reent.h (struct _atexit): Add argument array
4876 and bits to track type of exit routine to support both on_exit
4877 and atexit.
4878 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
4879 by default and change the setting of the atexit structure.
4880 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
4881 * libc/stdlib/on_exit.c: New file.
4882 * libc/stdlib/Makefile.am: Add support for on_exit.
4883 * libc/stdlib/Makefile.in: Regenerated.
4884 * libc/stdlib/atexit.c: Change to initialize types field.
4885 * libc/stdlib/exit.c: Change to look at types field for each
4886 exit routine and either call an atexit-style or an on_exit-style
4887 routine accordingly.
4888
48d91b4a
JJ
48892002-05-13 Jeff Johnston <jjohnstn@redhat.com>
4890
4891 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
4892 allow v specifier with n or L specifiers. For vector c format,
4893 move tmp declaration to the top.
4894
024739eb
JJ
48952002-05-13 Jeff Johnston <jjohnstn@redhat.com>
4896
4897 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
4898 the original format specifier when looping for vectors to compensate
4899 for any changes made in vector %g format processing.
4900 Also add syntax checking for various invalid scenarios
4901 involving vector format extensions.
4902 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
4903 return code setting for vector formats. Also treat vector
4904 separator mismatch as a match error instead of an input error.
4905 Perform some syntax checking for vector formats.
4906
7d2ce898
TF
49072002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
4908
4909 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
4910 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
4911 * libc/string/strlcat.c: New file.
4912 * libc/string/strlcpy.c: New file.
4913
809b6ce7
JJ
49142002-05-10 Jeff Johnston <jjohnstn@redhat.com>
4915
4916 * libc/string/strchr.c: Fix comment typo.
4917
76490806
TF
49182002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
4919
0c048a9a
TF
4920 * acinclude.m4: Add support for --enable-newlib-multithread.
4921 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
4922 --enable-newlib-multithread=no.
4923
76490806
TF
4924 * libc/stdio/getc_u.c: New file.
4925 * libc/stdio/getchar_u.c: New file.
4926 * libc/stdio/putc_u.c: New file.
4927 * libc/stdio/putchar_u.c: New file.
4928 * libc/include/stdio.h: Add declarations for getc_unlocked,
4929 getchar_unlocked, putc_unlocked and putchar_unlocked.
4930 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
4931 (CHEWOUT_FILES): Add new files' .def's.
4932 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
4933
96bff22c
JR
4934Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
4935
4936 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
4937 Also handle as single quad word when destination ends at last
4938 byte of first quad word. Fix byte selection in single quad code.
4939
e71372fa
TF
49402002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
4941
4942 * libc/include/sys/stdio.h: New file.
4943 * libc/sys/linux/sys/stdio.h: New file.
4944 * libc/include/stdio.h: Add declarations for flockfile,
4945 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
4946 * libc/stdio/clearerr.c: Add file locking.
4947 * libc/stdio/fclose.c: Likewise.
4948 * libc/stdio/feof.c: Likewise.
4949 * libc/stdio/ferror.c: Likewise.
4950 * libc/stdio/fflush.c: Likewise.
4951 * libc/stdio/fgetc.c: Likewise.
4952 * libc/stdio/fgetpos.c: Likewise.
4953 * libc/stdio/fgets.c: Likewise.
4954 * libc/stdio/fileno.c: Likewise.
4955 * libc/stdio/fputc.c: Likewise.
4956 * libc/stdio/fputs.c: Likewise.
4957 * libc/stdio/fread.c: Likewise.
4958 * libc/stdio/freopen.c: Likewise.
4959 * libc/stdio/fseek.c: Likewise.
4960 * libc/stdio/ftell.c: Likewise.
4961 * libc/stdio/fwrite.c: Likewise.
4962 * libc/stdio/getc.c: Likewise.
4963 * libc/stdio/putc.c: Likewise.
4964 * libc/stdio/setvbuf.c: Likewise.
4965 * libc/stdio/ungetc.c: Likewise.
4966 * libc/stdio/vfprintf.c: Likewise.
4967
a03790e4
JJ
49682002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4969
60b2107c
TF
4970 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
4971 support for 'p' format. Fix code to print bytes for vector
4972 integer formats that do not specify 'h' or 'l'.
4973 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
4974 for 'p' specifier. Fix code to scan 16 bytes for vector integer
4975 formats that do not specify 'h' or 'l'.
4976
4977 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
4978
9c7d6a9d
TF
49792002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
4980
4981 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
4982 (_sbrk): Add cast of return value.
4983
c33c3635
JJ
49842002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4985
4986 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
4987 (_REENT_L64A_BUF): New macro for accessing area.
4988 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
4989 * libc/stdlib/Makefile.in: Regenerated.
4990 * libc/stdlib/a64l.c: New file.
4991 * libc/stdlib/l64a.c: New file.
4992
f78e59a8
JJ
49932002-05-06 Jeff Johnston <jjohnstn@redhat.com>
4994
4995 * libc/unix/pread.c: Fix typo for _pread_r.
4996 * libc/unix/pwrite.c: Fix type for _pwrite_r.
4997 * libc/sys/linux/pread64.c: Fix typo for read syscall.
4998 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
4999
4b3f6588
CF
50002002-05-03 Christopher Faylor <cgf@redhat.com>
5001
5002 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
5003
e911832c
TF
50042002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
5005
5006 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
5007
0d0fdc8d
CF
50082002-05-01 Christopher Faylor <cgf@redhat.com>
5009
5010 * utmp.h: Define more UNIX constants.
5011
1e997c56
TF
50122002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
5013
0717f01c
TF
5014 * Makefile.am: Add support for checking multilibs.
5015
09841445
TF
5016 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
5017 (SUBDEFS): Add LIBC_EXTRA_DEF.
5018 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
5019 (LIBC_EXTRA_DEF): Likewise.
5020 (extra_dir): Likewise.
5021 * libc/machine/xscale/machine: New directory.
5022 * libc/machine/xscale/machine/profile.h: New file.
5023
1e997c56
TF
5024 * Makefile.am (site.exp): Remove newlib_cflags. Add
5025 multibuildtop.
5026 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
5027 * testsuite/lib/flags.exp: New file.
5028 * testsuite/lib/newlib.exp: Load flags.exp.
5029 (newlib_target_compile): Remove libgloss directory references.
5030 (newlib_init): Remove newlib_cflags references.
5031
4cf4f010
TF
50322002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5033
f6bdb6f9
TF
5034 * testsuite/lib/newlib.exp (newlib_target_compile): Change
5035 method of finding libgloss_target_dir.
5036
4cf4f010
TF
5037 * Makefile.am (site.exp): Change host_alias, host_triplet,
5038 target_alias, target_triplet to refer to gcc's host and target
5039 variables (newlib's build and host variables).
5040 * testsuite/lib/newlib.exp (newlib_init): Change build
5041 references to host references, host references to target
5042 references to reflect Makefile.am changes.
5043 (newlib_target_compile): Likewise.
5044 (newlib_finish): Likewise.
5045
83096ae8
JJ
50462002-04-29 Jeff Johnston <jjohnstn@redhat.com>
5047
5048 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
5049
822afa53
JL
50502002-04-29 Jonathan Larmour <jlarmour@redhat.com>
5051
5052 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
5053 (_system): New function. Ditto.
5054 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
5055 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
5056 targets.
5057
29798f0d
JJ
50582002-04-29 Jeff Johnston <jjohnstn@redhat.com>
5059
5060 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
5061 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
5062 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
5063 * libc/sys/linux/Makefile.in: Regenerated.
5064 * libc/unix/Makefile.in: Ditto.
5065 * libc/sys/linux/pread64.c: New file.
5066 * libc/sys/linux/pwrite64.c: Ditto.
5067 * libc/unix/pread.c: Ditto.
5068 * libc/unix/pwrite.c: Ditto.
5069
557856bd
JJ
50702002-04-26 Jeff Johnston <jjohnstn@redhat.com>
5071
5072 * libc/sys/linux/Makefile.am: Add io64.c.
5073 * libc/sys/linux/Makefile.in: Regenerated.
5074 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
5075 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
5076 * libc/sys/linux/io64.c: New file.
5077
7b2b12d5
JJ
50782002-04-26 Jeff Johnston <jjohnstn@redhat.com>
5079
5080 * configure.in (CC_FOR_NEWLIB): New variable that
5081 bases on $(CC) and adds targ-include and libc/include as
5082 -isystem directives if they are not already part of $(CC).
5083 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
5084 $(CC_FOR_NEWLIB).
5085 * configure: Regenerated.
5086 * Makefile.in: Ditto.
5087
c62adacc
JJ
50882002-04-25 Jeff Johnston <jjohnstn@redhat.com>
5089
5090 * libc/sys/linux/Makefile.am: Add support for sched.c.
5091 * libc/sys/linux/Makefile.in: Regenerated.
5092 * libc/sys/linux/sched.c: New file.
5093 * libc/sys/linux/sys/types.h: Add struct timespec.
5094
217ad4a0
TF
50952002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
5096
5097 * configure.in (CC_FOR_BUILD): Set to gcc whether
5098 cross-compiling or not.
5099 (CC): Add -isystem's for targ-include and libc/include when they
5100 do not already appear in CC.
5101
eaa75b70
TF
51022002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5103
5104 * Makefile.am (check-DEJAGNU): New target.
5105 (site.exp): Likewise.
5106 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
5107 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
5108 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
5109 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
5110 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
5111 * testsuite: New directory.
5112 * testsuite/config: Likewise.
5113 * testsuite/lib: Likewise.
5114 * testsuite/newlib.locale: Likewise.
5115 * testsuite/newlib.string: Likewise.
5116 * testsuite/config/default.exp: New file.
5117 * testsuite/lib/checkoutput.exp: New file.
5118 * testsuite/lib/newlib.exp: New file.
5119 * testsuite/lib/passfail.exp: New file.
5120 * testsuite/newlib.locale/UTF-8.c: New file.
5121 * testsuite/newlib.locale/UTF-8.exp: New file.
5122 * testsuite/newlib.locale/locale.exp: New file.
5123 * testsuite/newlib.string/string.exp: New file.
5124 * testsuite/newlib.string/tstring.c: New file.
5125
b9f9f699
JJ
51262002-04-23 Jeff Johnston <jjohnstn@redhat.com>
5127
5128 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
5129 * libc/sys/linux/Makefile.am: Add support for mmap.c.
5130 * libc/sys/linux/Makefile.in: Regenerated.
5131 * libc/sys/linux/mmap.c: New file.
5132 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
5133 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
5134
7394edbb
TF
51352002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5136
5137 * acinclude.m4 (newlib_cflags): Remove include directories that
5138 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
5139
b9f9f699 51402002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
5141
5142 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
5143 * libc/machine/xscale/memcmp.c: Ditto.
5144 * libc/machine/xscale/memcpy.c: Ditto.
5145 * libc/machine/xscale/memmove.c: Ditto.
5146 * libc/machine/xscale/memset.c: Ditto.
5147 * libc/machine/xscale/strchr.c: Ditto.
5148 * libc/machine/xscale/strcmp.c: Ditto.
5149 * libc/machine/xscale/strcpy.c: Ditto.
5150 * libc/machine/xscale/strlen.c: Ditto.
5151
2dd4c4dc
JJ
51522002-04-19 Alexandre Oliva <aoliva@redhat.com>
5153
5154 * libc/include/sys/config.h: Remove include of <limits.h>.
5155 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
5156 define INT_MAX and LONG_MAX. Use them in tests.
5157
0d844014
JJ
51582002-04-19 Jeff Johnston <jjohnstn@redhat.com>
5159
5160 * configure.host: Add support for powerpc-eabialtivec*.
5161 * libc/include/malloc.h: Add include of <machine/malloc.h>.
5162 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
5163 * libc/include/machine/malloc.h: New file.
5164 * libc/include/machine/stdlib.h: Ditto.
5165 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
5166 * libc/machine/powerpc/Makefile.am: Add conditional objects and
5167 sources based on configuration.
5168 * libc/machine/powerpc/Makefile.in: Regenerated.
5169 * libc/machine/powerpc/configure: Ditto.
5170 * libc/machine/powerpc/configure.in: Add check for
5171 powerpc-eabialtivec* in which case add in additional source files.
5172 * libc/machine/powerpc/setjmp.S: Add altivec support.
5173 * libc/machine/powerpc/vec_calloc.c: New file.
5174 * libc/machine/powerpc/vec_free.c: Ditto.
5175 * libc/machine/powerpc/vec_malloc.c: Ditto.
5176 * libc/machine/powerpc/vec_mallocr.c: Ditto.
5177 * libc/machine/powerpc/vec_realloc.c: Ditto.
5178 * libc/machine/powerpc/machine/malloc.h: Ditto.
5179 * libc/machine/powerpc/machine/stdlib.h: Ditto.
5180 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
5181 with added altivec format specifiers.
5182 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
5183 added altivec format specifiers.
5184
d413aadc
JS
51852002-04-19 Joel Sherrill <joel@OARcorp.com>
5186
5187 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
5188 while autoconf is trying to link main(){}.
5189
27193895
JJ
51902002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5191
5192 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
5193 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
5194
10d00216
JJ
51952002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5196
6b0f808e
JJ
5197 * libc/time/time.tex: Add tzset info.
5198
51992002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5200
5201 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
5202 (strptime): Moved prototype to be within !__STRICT_ANSI__.
5203 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
5204 (tzname): Defined for all platforms.
5205 (daylight, timezone): Defined only for CYGWIN.
5206 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
5207 environment set up.
5208 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
5209 environment variable is set.
5210 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
5211 tzset_r.c.
5212 * libc/time/Makefile.in: Regenerated.
5213 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
5214 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
5215 * libc/time/lcltime_r.c (lcltime_r): Ditto.
5216 * libc/time/local.h: New local header file.
5217 * libc/time/mktime.c (mktime): Add timezone support.
5218 * libc/time/mktm_r.c: New file which is the common engine
5219 for gmtime_r and lcltime_r. This code has timezone support.
5220 * libc/time/strftime.c (strftime): Add %Z timezone support.
5221 * libc/time/tzlock.c: New file containing timezone lock stubs.
5222 * libc/time/tzset.c: New file containing tzset() routine.
5223 * libc/time/tzset_r.c: New file containing _tzset_r and
5224 internal routine for calculating timezone changes for specified year.
5225
52262002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5227
5228 * configure.in (CRT0_DIR): Set to libc/.
5229 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
5230 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
5231 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
5232 $(CRT1_DIR)/$(CRT1).
5233 * libc/machine/xstormy16/Makefile.in: Regenerated.
5234 * libc/machine/xstormy16/aclocal.m4: Regenerated.
5235 * libc/machine/xstormy16/configure: Regenerated.
5236
52372002-04-13 Alexandre Oliva <aoliva@redhat.com>
5238
5239 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
5240 fails, don't bail out, and try to correct next time.
5241
5242 * libc/include/sys/config.h: Include limits.h.
5243
52442002-04-12 Eric Norum <eric.norum@usask.com>
5245
5246 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
5247 routine to allow autoconf to determine that building executables
5248 for rtems works.
5249 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
5250 (rtems_gxx_mutex_once): Ditto.
5251
52522002-04-09 Tom Rix <trix@redhat.com>
5253
5254 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
5255
52562002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5257
5258 * libc/include/time.h: Fix strptime declaration.
5259 * libc/time/Makefile.am: Add strptime.c.
5260 * libc/time/Makefile.in: Regenerated.
5261 * libc/time/strptime.c: New file.
5262
52632002-04-08 Jeff Johnston <jjohnstn@redhat.com>
5264
5265 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
5266 siglongjmp prototype, and sigsetjmp macro definition.
5267 * libc/sys/linux/siglongjmp.c: New file.
5268 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
5269 * libc/sys/linux/Makefile.in: Regenerated.
5270
52712002-04-04 Jeff Johnston <jjohnstn@redhat.com>
5272
5273 * Makefile.am: Add support for installing crt1.o if one exists.
5274 * configure.host: Specify crt1.o for linux.
5275 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
5276 * Makefile.in: Regenerated.
5277 * configure: Ditto.
5278 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
5279 Added for non-Cygwin, non-RTEMS configurations.
5280 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
5281 * libc/sys/linux/Makefile.in: Regenerated.
5282 * libc/sys/linux/crt1.c: New empty file to override one defaulted
5283 by gcc. This fixes problem with reconfiguring linux newlib build.
5284 * libc/sys/linux/sysconf.c: New file.
5285
52862002-04-03 Jeff Johnston <jjohnstn@redhat.com>
5287
5288 * configure.host: Add support for machine subdirectory of
5289 sys subdirectory.
5290 * configure.in: Add check for sys machine subdirectory.
5291 * Makefile.am: Ditto.
5292 * configure: Regenerated.
5293 * Makefile.in: Ditto.
5294 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
5295 * libc/sys/linux/sys/syscall.h: Ditto.
5296 * libc/sys/linux/sleep.c: New file.
5297 * libc/sys/linux/socket.c: Ditto.
5298 * libc/sys/linux/sockops.h: Ditto.
5299 * libc/sys/linux/stack.c: Ditto.
5300 * libc/sys/linux/usleep.c: Ditto.
5301 * libc/sys/linux/machine/Makefile.am: Ditto.
5302 * libc/sys/linux/machine/Makefile.in: Ditto.
5303 * libc/sys/linux/machine/aclocal.m4: Ditto.
5304 * libc/sys/linux/machine/configure: Ditto.
5305 * libc/sys/linux/machine/configure.in: Ditto.
5306 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
5307 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
5308 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
5309 * libc/sys/linux/machine/i386/configure: Ditto.
5310 * libc/sys/linux/machine/i386/configure.in: Ditto.
5311 * libc/sys/linux/machine/i386/crt0.c: Ditto.
5312 * libc/sys/linux/machine/i386/sigset.c: Ditto.
5313 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
5314 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
5315 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5316 * libc/sys/linux/sys/select.h: Ditto.
5317 * libc/sys/linux/configure.in: Add support for machine directory.
5318 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
5319 * libc/sys/linux/Makefile.in: Regenerated.
5320 * libc/sys/linux/configure: Ditto.
5321 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
5322 * libc/sys/linux/inode.c: Ditto.
5323 * libc/sys/linux/linux.c: Ditto.
5324 * libc/sys/linux/process.c: Ditto.
5325 * libc/sys/linux/systat.c: Ditto.
5326 * libc/sys/linux/time.c: Ditto.
5327 * libc/sys/linux/wait.c: Ditto.
5328 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
5329 * libc/sys/linux/io.c: Change header plus add readv/writev.
5330 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
5331 use __sigsuspend syscall.
5332 * libc/sys/linux/select.c: Change header plus change select to
5333 use _newselect syscall.
5334 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
5335 used by glibc header files.
5336 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
5337 types.
5338
53392002-04-01 Jeff Johnston <jjohnstn@redhat.com>
5340
5341 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
5342 initializing a struct _reent that has been dynamically allocated.
5343 (_REENT_CHECK_MISC): New macro that checks _misc struct for
5344 _REENT_SMALL and does nothing otherwise.
5345 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
5346 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
5347 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
5348 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
5349 [_REENT_SMALL](struct _misc_reent): New structure containing
5350 miscellaneous reentrant areas needed by newlib.
5351 [_REENT_SMALL](struct _reent): Add _misc pointer.
5352 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
5353 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
5354 and _REENT_STRTOK_LAST macros.
5355 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
5356 and _REENT_MBLEN_STATE macros.
5357 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
5358 and _REENT_MBTOWC_STATE macros.
5359 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
5360 and _REENT_WCTOMB_STATE macros.
5361
53622002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
5363
5364 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
5365
5366Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
5367
5368 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
5369
5370Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
5371
5372 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
5373 Store high part of leading bytes too.
5374
53752002-03-22 Richard Sandiford <rsandifo@redhat.com>
5376
5377 * libm/math/ef_hypot.c: Increase scale factor to 68.
5378
53792002-03-13 Alexandre Oliva <aoliva@redhat.com>
5380
5381 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
5382 error.
5383
53842002-03-12 Jeff Johnston <jjohnstn@redhat.com>
5385
5386 * libc/sys/go32/access.c: Change license to relaxed license
5387 used in identical file throughout newlib/libgloss.
5388
53892002-03-12 Richard Earnshaw <rearnsha@arm.com>
5390
5391 * libc/sys/arm/access.c: New file.
5392 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
5393 * libc/sys/arm/Makefile.in: Regenerate.
5394 * libc/sys/arm/syscalls.c (_stat): New function.
5395
53962002-03-11 Michael Meissner <meissner@redhat.com>
5397
5398 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
5399 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
5400 * libc/machine/mips/Makefile.in: Regenerate.
5401 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
5402 * libc/machine/mips/memset.c: Dito.
5403 * libc/machine/mips/strcmp.c: Dito.
5404 * libc/machine/mips/strlen.c: Dito.
5405 * libc/machine/mips/strncmp.c: Dito.
5406
54072002-03-06 Jeff Johnston <jjohnstn@redhat.com>
5408
5409 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
5410 object so it works for shared library or statici library.
54112002-04-17 Jeff Johnston <jjohnstn@redhat.com>
5412
10d00216
JJ
5413 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
5414 (strptime): Moved prototype to be within !__STRICT_ANSI__.
5415 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
5416 (tzname): Defined for all platforms.
5417 (daylight, timezone): Defined only for CYGWIN.
5418 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
5419 environment set up.
5420 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
5421 environment variable is set.
5422 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
5423 tzset_r.c.
5424 * libc/time/Makefile.in: Regenerated.
5425 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
5426 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
5427 * libc/time/lcltime_r.c (lcltime_r): Ditto.
5428 * libc/time/local.h: New local header file.
5429 * libc/time/mktime.c (mktime): Add timezone support.
5430 * libc/time/mktm_r.c: New file which is the common engine
5431 for gmtime_r and lcltime_r. This code has timezone support.
5432 * libc/time/strftime.c (strftime): Add %Z timezone support.
5433 * libc/time/tzlock.c: New file containing timezone lock stubs.
5434 * libc/time/tzset.c: New file containing tzset() routine.
5435 * libc/time/tzset_r.c: New file containing _tzset_r and
5436 internal routine for calculating timezone changes for specified year.
5437
5f1c13c6
TF
54382002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5439
5440 * configure.in (CRT0_DIR): Set to libc/.
5441 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
5442 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
5443 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
5444 $(CRT1_DIR)/$(CRT1).
5445 * libc/machine/xstormy16/Makefile.in: Regenerated.
5446 * libc/machine/xstormy16/aclocal.m4: Regenerated.
5447 * libc/machine/xstormy16/configure: Regenerated.
5448
0cc261b1
AO
54492002-04-13 Alexandre Oliva <aoliva@redhat.com>
5450
2f3009bd
AO
5451 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
5452 fails, don't bail out, and try to correct next time.
5453
0cc261b1
AO
5454 * libc/include/sys/config.h: Include limits.h.
5455
26116455
JJ
54562002-04-12 Eric Norum <eric.norum@usask.com>
5457
5458 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
5459 routine to allow autoconf to determine that building executables
5460 for rtems works.
5461 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
5462 (rtems_gxx_mutex_once): Ditto.
5463
4608280d
TR
54642002-04-09 Tom Rix <trix@redhat.com>
5465
5466 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
5467
dea7e25c
JJ
54682002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5469
5470 * libc/include/time.h: Fix strptime declaration.
5471 * libc/time/Makefile.am: Add strptime.c.
5472 * libc/time/Makefile.in: Regenerated.
5473 * libc/time/strptime.c: New file.
5474
c5ef1e95
JJ
54752002-04-08 Jeff Johnston <jjohnstn@redhat.com>
5476
5477 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
5478 siglongjmp prototype, and sigsetjmp macro definition.
5479 * libc/sys/linux/siglongjmp.c: New file.
5480 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
5481 * libc/sys/linux/Makefile.in: Regenerated.
5482
6e6cd5bd
JJ
54832002-04-04 Jeff Johnston <jjohnstn@redhat.com>
5484
5485 * Makefile.am: Add support for installing crt1.o if one exists.
5486 * configure.host: Specify crt1.o for linux.
5487 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
5488 * Makefile.in: Regenerated.
5489 * configure: Ditto.
5490 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
5491 Added for non-Cygwin, non-RTEMS configurations.
5492 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
5493 * libc/sys/linux/Makefile.in: Regenerated.
5494 * libc/sys/linux/crt1.c: New empty file to override one defaulted
5495 by gcc. This fixes problem with reconfiguring linux newlib build.
5496 * libc/sys/linux/sysconf.c: New file.
5497
fa4a16a1
JJ
54982002-04-03 Jeff Johnston <jjohnstn@redhat.com>
5499
5500 * configure.host: Add support for machine subdirectory of
5501 sys subdirectory.
5502 * configure.in: Add check for sys machine subdirectory.
5503 * Makefile.am: Ditto.
5504 * configure: Regenerated.
5505 * Makefile.in: Ditto.
5506 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
5507 * libc/sys/linux/sys/syscall.h: Ditto.
5508 * libc/sys/linux/sleep.c: New file.
5509 * libc/sys/linux/socket.c: Ditto.
5510 * libc/sys/linux/sockops.h: Ditto.
5511 * libc/sys/linux/stack.c: Ditto.
5512 * libc/sys/linux/usleep.c: Ditto.
5513 * libc/sys/linux/machine/Makefile.am: Ditto.
5514 * libc/sys/linux/machine/Makefile.in: Ditto.
5515 * libc/sys/linux/machine/aclocal.m4: Ditto.
5516 * libc/sys/linux/machine/configure: Ditto.
5517 * libc/sys/linux/machine/configure.in: Ditto.
5518 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
5519 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
5520 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
5521 * libc/sys/linux/machine/i386/configure: Ditto.
5522 * libc/sys/linux/machine/i386/configure.in: Ditto.
5523 * libc/sys/linux/machine/i386/crt0.c: Ditto.
5524 * libc/sys/linux/machine/i386/sigset.c: Ditto.
5525 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
5526 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
5527 * libc/sys/linux/machine/i386/syscall.h: Ditto.
5528 * libc/sys/linux/sys/select.h: Ditto.
5529 * libc/sys/linux/configure.in: Add support for machine directory.
5530 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
5531 * libc/sys/linux/Makefile.in: Regenerated.
5532 * libc/sys/linux/configure: Ditto.
5533 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
5534 * libc/sys/linux/inode.c: Ditto.
5535 * libc/sys/linux/linux.c: Ditto.
5536 * libc/sys/linux/process.c: Ditto.
5537 * libc/sys/linux/systat.c: Ditto.
5538 * libc/sys/linux/time.c: Ditto.
5539 * libc/sys/linux/wait.c: Ditto.
5540 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
5541 * libc/sys/linux/io.c: Change header plus add readv/writev.
5542 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
5543 use __sigsuspend syscall.
5544 * libc/sys/linux/select.c: Change header plus change select to
5545 use _newselect syscall.
5546 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
5547 used by glibc header files.
5548 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
5549 types.
5550
d4dca0e4
JJ
55512002-04-01 Jeff Johnston <jjohnstn@redhat.com>
5552
5553 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
5554 initializing a struct _reent that has been dynamically allocated.
5555 (_REENT_CHECK_MISC): New macro that checks _misc struct for
5556 _REENT_SMALL and does nothing otherwise.
5557 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
5558 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
5559 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
5560 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
5561 [_REENT_SMALL](struct _misc_reent): New structure containing
5562 miscellaneous reentrant areas needed by newlib.
5563 [_REENT_SMALL](struct _reent): Add _misc pointer.
5564 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
5565 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
5566 and _REENT_STRTOK_LAST macros.
5567 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
5568 and _REENT_MBLEN_STATE macros.
5569 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
5570 and _REENT_MBTOWC_STATE macros.
5571 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
5572 and _REENT_WCTOMB_STATE macros.
5573
54a7c6d2
JJ
55742002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
5575
5576 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
5577
c82479b1
CF
5578Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
5579
5580 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
5581
43ecf6e8
JR
5582Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
5583
5584 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
5585 Store high part of leading bytes too.
5586
a485d93f
RS
55872002-03-22 Richard Sandiford <rsandifo@redhat.com>
5588
5589 * libm/math/ef_hypot.c: Increase scale factor to 68.
5590
62a963ee
AO
55912002-03-13 Alexandre Oliva <aoliva@redhat.com>
5592
5593 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
5594 error.
5595
c53d8453
JJ
55962002-03-12 Jeff Johnston <jjohnstn@redhat.com>
5597
5598 * libc/sys/go32/access.c: Change license to relaxed license
5599 used in identical file throughout newlib/libgloss.
5600
d2a246ad
JJ
56012002-03-12 Richard Earnshaw <rearnsha@arm.com>
5602
5603 * libc/sys/arm/access.c: New file.
5604 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
5605 * libc/sys/arm/Makefile.in: Regenerate.
5606 * libc/sys/arm/syscalls.c (_stat): New function.
5607
eabb48d5
MM
56082002-03-11 Michael Meissner <meissner@redhat.com>
5609
5610 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
5611 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
5612 * libc/machine/mips/Makefile.in: Regenerate.
5613 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
5614 * libc/machine/mips/memset.c: Dito.
5615 * libc/machine/mips/strcmp.c: Dito.
5616 * libc/machine/mips/strlen.c: Dito.
5617 * libc/machine/mips/strncmp.c: Dito.
5618
2a606041
JJ
56192002-03-06 Jeff Johnston <jjohnstn@redhat.com>
5620
eabb48d5
MM
5621 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
5622 object so it works for shared library or statici library.
5623 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 5624
55f26f11
JR
5625Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
5626
96bff22c
JR
5627 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
5628 Add memcpy.S, memset.S and strcpy.S.
5629 * libc/machine/sh/Makefile.in: Regenerate.
5630 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 5631 (SHHI, SHLO): Define.
96bff22c
JR
5632 * libc/machine/sh/memset.S: Add code for SH5.
5633 * libc/machine/sh/memset.S: Likewise.
5634 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 5635
afecf2fa
JJ
56362002-02-27 Jeff Johnston <jjohnstn@redhat.com>
5637
5638 * configure.host: Add check for --disable-newlib-io-float
5639 configuration option and add -DNO_FLOATING_POINT to newlib cflags
5640 if appropriate.
5641 * acinclude.m4: Added --disable-newlib-io-float option.
5642 * aclocal.m4: Regenerated.
5643 * configure: Ditto.
5644 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
5645 * libc/*/aclocal.m4 libc/*/configure
5646 * libm/*/aclocal.m4 libm/*/configure: Ditto.
5647 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
5648 if NO_FLOATING_POINT flag is not defined.
5649
c1010a63
JJ
56502002-02-25 Jeff Johnston <jjohnstn@redhat.com>
5651
5652 * libc/include/sys/config.h: Add __extension__ in front of
5653 long long references.
5654
630c657e
CV
56552002-02-23 Corinna Vinschen <corinna@vinschen.de>
5656
5657 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
5658 (_stat): Ditto.
5659
59ee2e20
CV
56602002-02-23 Corinna Vinschen <corinna@vinschen.de>
5661
5662 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
5663 of off_t.
5664
2dd68dc2
NC
56652002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
5666
5667 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
5668 clobbered registers.
5669
55500bf1
TF
56702002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5671
5672 * configure.host (newlib_cflags): When host is in m68* add
5673 -DCOMPACT_CTYPE.
5674
ba0173f0
JJ
56752002-02-15 Jeff Johnston <jjohnstn@redhat.com>
5676
5677 * libc/include/sys/config.h: Add definitions for
5678 __int16_t, __uint16_t, __int64_t, and __uint64_t.
5679
7b61d0c5
JJ
56802002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
5681
5682 * libc/sys/mmixware/link.c: New.
5683 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
5684 volatile.
5685 * libc/sys/mmixware/times.c (_times): Renamed from times.
5686 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
5687 properly by reading previous contents, not through BinaryReadWrite.
5688 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
5689 * libc/sys/mmixware/Makefile.in: Regenerate.
5690
a505db65
CV
56912002-02-10 Corinna Vinschen <corinna@vinschen.de>
5692
5693 * libc/include/grp.h: Don't declare group functions when compiling
5694 Cygwin.
5695
f3b39c45
CV
56962002-02-09 Corinna Vinschen <corinna@vinschen.de>
5697
5698 * libc/include/grp.h: Include Cygwin specific header.
5699 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
5700 when compiling for Cygwin.
5701 * libc/include/sys/types.h: Don't define off_t, uid_t
5702 and gid_t when compiling for Cygwin.
5703
82b3ac56
MG
57042002-02-08 matthew green <mrg@redhat.com>
5705
5706 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
5707 _REENT_EMERGENCY_SIZE, not sizeof(char *).
5708
9f25eed9
AO
57092002-02-08 Alexandre Oliva <aoliva@redhat.com>
5710
5711 Contribute sh64-elf.
5712 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
5713 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
5714 support in printf.
5715 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
5716 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
5717 any labels.
5718 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
5719 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
5720 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
5721 * libc/machine/sh/configure.in: Rework conditionals.
5722 * libc/machine/sh/Makefile.am: Likewise.
5723 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
5724 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
5725 * configure.host: Match `sh*'.
5726 * libc/include/machine/setjmp.h: Define for SH5.
5727 * libc/machine/sh/configure.in: Detect SH5.
5728 * libc/machine/sh/configure: Rebuilt.
5729 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
5730 * libc/machine/sh/Makefile.in: Rebuilt.
5731 * libc/machine/sh/asm.h: Adjust for SH5.
5732 * libc/machine/sh/setjmp.S: Implement in SHmedia.
5733 * libc/sys/sh/crt0.S: Likewise.
5734 * libc/sys/sh/trap.S: Likewise.
5735
a2a405ae
JJ
57362002-02-07 Jeff Johnston <jjohnstn@redhat.com>
5737
5738 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
5739 (mach_add_obj): Conditionally set to setjmp.o or nothing.
5740 (LIB_SOURCES): Remove $(mach_add_src).
5741 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
5742 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
5743 * libc/machine/i386/Makefile.in: Regenerate.
5744
27478365
JJ
57452002-02-05 Manik Raina <manik@cisco.com>
5746
994fa212 5747 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
5748 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
5749 s, p, k, and outstr.
5750 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
5751
815a37f7
JJ
57522002-02-04 Jeff Johnston <jjohnstn@redhat.com>
5753
5754 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
5755 _REENT_CHECK_EMERGENCY macro.
5756
a4139c12
MG
57572002-02-03 matthew green <mrg@redhat.com>
5758
5759 * libc/reent/signgam.c (__signgam): Fix error in previous.
5760
8195aff7
MG
57612002-02-02 matthew green <mrg@redhat.com>
5762
5763 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
5764
5765 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
5766 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
5767 * libc/include/sys/reent.h (struct _reent): Completely new version
5768 for _REENT_SMALL.
5769 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
5770 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
5771 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
5772 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
5773 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
5774 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
5775 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
5776 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
5777 (_REENT_EMERGENCY): Likewise.
5778
5779 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
5780 the start of the real __sFILE, used for stdin, stdout and stderr until
5781 they are setup properly.
5782 (struct __sFILE): Move location of _data in _REENT_SMALL case.
5783 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
5784 allocated stdin, stdout and stderr.
5785 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
5786 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
5787 * libc/stdio/perror.c (_perror_r): Likewise.
5788 * libc/stdio/printf.c (printf, _printf_r): Likewise.
5789 * libc/stdio/putchar.c (_putchar_r): Likewise.
5790 * libc/stdio/puts.c (_puts_r): Likewise.
5791 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
5792 * libc/stdio/vprintf.c (vprintf): Likewise.
5793 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
5794
5795 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
5796
5797 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
5798 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
5799 for _REENT_SMALL.
5800 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
5801 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
5802
5803 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
5804 _REENT_SMALL.
5805 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
5806 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
5807 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
5808 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
5809 * libc/stdlib/rand48.c (__dorand48): Likewise.
5810 * libc/stdlib/seed48.c (_seed48_r): Likewise.
5811 * libc/stdlib/srand48.c (_srand48_r): Likewise.
5812 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
5813 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
5814 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
5815 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
5816 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
5817 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
5818 * libc/stdlib/rand.c (rand): Likewise.
5819
5820 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
5821 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
5822
5823 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
5824 _REENT_MP_FREELIST() and _REENT_MP_P5S.
5825 * libc/include/sys/reent.h (struct _mprec): New structure.
5826
5827 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
5828 _unused_strtok_last.
5829 * libc/string/strtok.c (strtok): Use a local static variable.
5830
5831 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
5832 (_REENT_EMERGENCY_SIZE): Likewise.
5833 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
5834 _REENT_ASCTIME_BUF().
5835 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
5836 _REENT_TM().
5837
5838 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
5839 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
5840 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
5841 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
5842 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
5843 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
5844
9c2e7642
GK
58452002-02-01 Geoffrey Keating <geoffk@redhat.com>
5846
5847 * configure.host (xstormy16): Don't use the generic malloc.
5848 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
5849 * libc/machine/xstormy16/Makefile.in: Regenerate.
5850 * libc/machine/xstormy16/mallocr.c: New file.
5851 * libc/machine/xstormy16/tiny-malloc.c: New file.
5852
4bb6112f
TF
58532002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
5854
5855 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
5856 when _CYGWIN_TYPES_H is not defined.
5857
8d345552
TF
58582002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5859
5860 * libc/include/sys/signal.h: Revert 2002-01-23 change.
5861
bcc49082
TF
58622002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
5863
5864 * libc/include/sys/signal.h: Remove pthread_kill declaration
5865 when __CYGWIN__ is defined.
5866
13baedeb
CF
58672002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
5868
5869 * libc/include/time.h: Add prototype for strptime for Cygwin.
5870
b2db0ebc
NC
58712002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
5872
ebf139fb
NC
5873 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
5874 dst was not word aligned.
5875
b2db0ebc
NC
5876 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
5877 if too much memory is requested.
5878
798c015d
JJ
58792002-01-11 Jeff Johnston <jjohnstn@redhat.com>
5880
5881 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
5882 reads blanks from the input file to break if EOF reached
5883 rather than end processing.
5884
46ad2ef4
JJ
58852002-01-07 Jeff Johnston <jjohnstn@redhat.com>
5886
5887 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
5888
86b06396
JJ
58892002-01-07 Alan Matsuoka <alanm@redhat.com>
5890
5891 * libc/include/machine/ieeefp.h: Configure d10v doubles to
5892 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
5893 libc/include/sys/config.h: Ditto.
5894
423d5064
CV
58952001-12-28 Corinna Vinschen <corinna@vinschen.de>
5896
5897 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
5898
f6eff1c0
GK
58992001-12-22 Geoffrey Keating <geoffk@redhat.com>
5900 Catherine Moore <clm@redhat.com>
5901 Richard Henderson <rth@redhat.com>
5902 Corinna Vinschen <vinschen@redhat.com>
5903
5904 * configure.host: Add support for xstormy16.
5905 * libc/include/machine/ieeefp.h: Add support for xstormy16.
5906 * libc/include/machine/setjmp.h: Add support for xstormy16.
5907 * libc/include/sys/config.h: Add support for xstormy16.
5908 * libc/machine/xstormy16/Makefile.am: New file.
5909 * libc/machine/xstormy16/Makefile.in: New file.
5910 * libc/machine/xstormy16/aclocal.m4: New file.
5911 * libc/machine/xstormy16/configure: New file.
5912 * libc/machine/xstormy16/configure.in: New file.
5913 * libc/machine/xstormy16/setjmp.S: New file.
5914
1f93c55f
TF
59152001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5916
5917 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
5918 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
5919
13b918be
CV
59202001-12-19 Corinna Vinschen <corinna@vinschen.de>
5921
5922 * libm/machine/Makefile.am: Change rules to create correct lib.a.
5923 * libm/machine/Makefile.in: Regenerated through automake.
5924
08e857b4
TF
59252001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5926
5927 * Makefile.am (DOCDIR): Force to empty string when doc
5928 directory is not present.
5929
60565ed6
TF
59302001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5931
5932 * libc/machine/i386/f_*: Move to libm/machine/i386.
5933
59342001-12-18 Joel Sherrill <joel@OARcorp.com>
5935
5936 * libm/machine/Makefile.am: Add dummy doc stub so
5937 "make info" works.
5938
59392001-12-17 Joel Sherrill <joel@OARcorp.com>
5940
5941 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
5942
fc504135
TF
59432001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
5944
5945 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
5946 $(COMPILE) rather than $(CC).
5947 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
5948 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
5949 $(LIB_COMPILE) change.
5950 (vfiprintf.$(oext)): Likewise.
5951
efeae9a3
CV
59522001-12-17 Corinna Vinschen <vinschen@redhat.de>
5953
5954 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
5955 conditionalized including of getopt stuff.
5956
cdf7120d
TF
59572001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5958
5959 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
5960 compile line.
f85be99c 5961 (vfiprintf.$(oext)): Likewise.
cdf7120d 5962
2e1a7175
TF
59632001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
5964
5965 * Makefile.shared: New file.
5966 * libc/sys/linux/shared.ld: New file.
5967 * libm/machine/*: New files.
5968 * libm/machine/i386/*: New files.
5969 * Makefile.am: Add libtool support. Change math and mathfp
5970 references to variables.
5971 * configure.host: Add variables for libtool support. Add
5972 libm_machine_dir variable.
5973 * configure.in: Add objectlist variables, for libtool
5974 support. Add CC_FOR_BUILD tests.
5975 * libc/Makefile.am: Add libtool support. Change crt0.o
5976 reference to be a variable reference.
5977 * libc/configure.in: Add libtool support. Change sublib
5978 names to be lib${subdir}.la when using libtool.
5979 * libc/ctype/Makefile.am: Add libtool support.
5980 * libc/errno/Makefile.am: Likewise.
5981 * libc/locale/Makefile.am: Likewise.
5982 * libc/machine/Makefile.am: Likewise.
5983 * libc/machine/configure.in: Likewise.
5984 * libc/machine/i386/Makefile.am: Likewise.
5985 * libc/machine/i386/configure.in: Likewise.
5986 * libc/misc/Makefile.am: Likewise.
5987 * libc/posix/Makefile.am: Likewise.
5988 * libc/reent/Makefile.am: Likewise.
5989 * libc/signal/Makefile.am: Likewise.
5990 * libc/stdio/Makefile.am: Likewise.
5991 * libc/stdlib/Makefile.am: Likewise.
5992 * libc/string/Makefile.am: Likewise.
5993 * libc/sys/Makefile.am: Likewise.
5994 * libc/sys/configure.in: Likewise.
5995 * libc/sys/linux/Makefile.am: Add libtool support. Change
5996 awk reference to a variable reference. Change signal.h
5997 reference to a variable reference.
5998 * libc/sys/linux/configure.in: Add libtool support.
5999 * libc/syscalls/Makefile.am: Likewise.
6000 * libc/time/Makefile.am: Likewise.
6001 * libc/unix/Makefile.am: Likewise.
6002 * libm/Makefile.am: Add libtool support. Change math and
6003 mathfp references to variables.
6004 * libm/configure.in: Add libtool support. Add
6005 LIBM_MACHINE_LIB variable.
6006 * libm/common/Makefile.am: Add libtool support.
6007 * libm/math/Makefile.am: Likewise.
6008 * libm/mathfp/Makefile.am: Likewise.
6009 Regenerate all Makefile.in, aclocal.m4, and configure.
6010
b92591a1
JJ
60112001-12-13 Anita Kulkarni <anitak@kpit.com>
6012
6013 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
6014
355b664e
CF
60152001-12-06 John Peacock <jpeacock@rowman.com>
6016
6017 * libc/include/sys/unistd.h: Correct ualarm declaration.
6018
e9853806
NC
60192001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
6020
6021 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
6022 vector before calling the initialisation functions.
6023
a8e091b0
CF
60242001-11-29 Christopher Faylor <cgf@redhat.com>
6025
6026 * libc/include/dirent.h: Protect against multiple inclusion.
6027
ab634123
CF
60282001-11-27 Christopher Faylor <cgf@redhat.com>
6029
6030 * libc/include/sys/types.h: Define useconds_t.
6031 * libc/include/sys/ulimit.h: Declare ualarm.
6032
d37e401e
CF
60332001-11-21 Christopher Faylor <cgf@redhat.com>
6034
6035 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
6036
8ac90051
HPN
60372001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
6038
6039 * libc/sys/mmixware/*: Tweak license header in all source files.
6040
d7ca37e4
CV
60412001-11-12 Corinna Vinschen <vinschen@redhat.com>
6042
6043 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
6044 to here. Rearrange for general inclusion by stdlib.h.
6045 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
6046 isn't defined.
6047 * libc/sys/linux/include/alloca.h: Move to libc/include.
6048
28f8744e
AG
60492001-11-12 Anthony Green <green@redhat.com>
6050
6051 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
6052
4cede8c4
HPN
60532001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
6054
6055 * libc/sys/mmixware/*: Correct spacing in all source files.
6056 * libc/sys/mmixware/syscall.h: Move misplaced file...
6057 * libc/sys/mmixware/sys/syscall.h: ...here.
6058
8be9b48b
JJ
60592001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
6060
6061 * libc/include/machine/ieeefp.h: Add support for mmix target.
6062 * libc/include/machine/setjmp.h: Ditto.
6063 * configure.host: Ditto.
6064 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
6065 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
6066 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
6067 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
6068 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
6069 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
6070 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
6071 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
6072 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
6073 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
6074 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
6075 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
6076 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
6077 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
6078 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
6079 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
6080 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
6081 libc/sys/mmixware/aclocal.m4: Generate.
6082
c7dd4f95
CV
60832001-11-05 Corinna Vinschen <corinna@vinschen.de>
6084
6085 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
6086 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
6087 when __CYGWIN__ is defined.
6088 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
6089 logwtmp().
6090
a6a6f9fe
JJ
60912001-11-01 Arati Dikey <aratidikey@hotmail.com>
6092
6093 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
6094 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
6095 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
6096 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
6097
d0504c35
JJ
60982001-10-24 Christopher Faylor <cgf@redhat.com>
6099
6100 * libc/stdio/fseek.c: Reset pointer to buffer base
6101 when forced to seek outside of current buffer contents.
6102 This prevents the code from erroneously thinking there is
6103 anything in the current buffer.
6104
0280c8c0
GK
61052001-10-22 Geoffrey Keating <geoffk@redhat.com>
6106
6107 * libc/include/math.h: The C++ standard adds the single-precision
6108 versions of the elementary functions.
6109
333d6098
CF
61102001-10-22 Christopher Faylor <cgf@redhat.com>
6111
6112 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
6113 throughout.
6114 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
6115 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
6116 * system.c (_system_r): Ditto.
6117
c7118319
CV
61182001-10-17 Corinna Vinschen <corinna@vinschen.de>
6119
6120 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 6121 __CYGWIN__ or __rtems__ is defined.
c7118319 6122
5665b0e1
JJ
61232001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
6124
6125 * libc/include/stdlib.h: add declarations for
6126 _strtoull_r, _strtoll_r, strtoull, and strtoll.
6127 * libc/stdio/local.h: remove declarations of
6128 __strtoull_r and __strtoll_r.
6129 * libc/stdio/vfscanf.c(__svfscanf_r): call
6130 _strtoull_r instead of __strtoull_r. Ditto
6131 _strtoll_r vs. __strtoll_r.
6132 * libc/stdlib/Makefile.am: add new files to
6133 .c list and .def list
6134 * libc/stdlib/Makefile.in: regenerate
6135 * libc/stdlib/strtoll_r.c: rename __strtoll_r
6136 as _strtoll_r
6137 * libc/stdlib/strtoull_r.c: rename __strtoull_r
6138 as _strtoull_r
6139 * libc/stdlib/strtoull.c: new file
6140 * libc/stdlib/strtoll.c: new file
6141
d2d5eb41
CF
6142Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
6143
6144 * libc/include/process.h: Add getpid() declaration.
6145
448e3c14
NC
61462001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
6147
6148 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
6149 for new style arm/elf ctor/dtor handling.
6150 Minor formatting tidy up.
6151
7a2afbbb
JJ
61522001-09-13 Jeff Johnston <jjohnstn@redhat.com>
6153
6154 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
6155 and strtoull_r.c.
6156 * libc/stdlib/Makefile.in: Regenerated.
6157 * libc/stdlib/strtoll_r.c: New file.
6158 * libc/stdlib/strtoull_r.c: New file.
6159 * libc/stdio/local.h: Add prototypes for long long string
6160 conversion routines.
6161 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
6162 tied to %L integer conversion specifier.
6163
6342caa4
JJ
6164Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
6165
6166 * strftime.c (strftime): Fix "%W" implementation to properly handle
6167 Mondays too.
6168
b2d319cb
JJ
61692001-09-07 Jeff Law <law@redhat.com>
6170
6171 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
6172 __fini with "mov.l" instead of "mov.w".
6173
233823ba
CV
61742001-09-05 Corinna Vinschen <corinna@vinschen.de>
6175
6176 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
6177 and getopt.h.
6178
63c17b54
JJ
61792001-09-04 Jason Merrill <jason_merrill@redhat.com>
6180
6181 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
6182
a3e67ddf
CV
61832001-09-03 Corinna Vinschen <corinna@vinschen.de>
6184
6185 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
6186 field.
6187 (__DIRENT_VERSION): New define.
6188
6d47f33a
CV
61892001-09-03 Corinna Vinschen <corinna@vinschen.de>
6190
6191 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
6192 Shrink __d_reserved accordingly to keep structure size.
6193 (dirfd): Declare external.
6d47f33a 6194
348c5e06
JJ
61952001-08-29 Joel Sherrill <joel@OARcorp.com>
6196
6197 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
6198
61992001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6200
6201 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
6202 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
6203 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
6204 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
6205 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
6206 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
6207 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
6208 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
6209 Add conditional compilation to avoid HW FPU instructions
6210 when compiled for soft-float.
6211
f29865c5
JJ
62122001-08-29 Jeff Johnston <jjohnstn@redhat.com>
6213
6214 * Makefile.am: Add check for ln failing when creating libg.a
6215 so that cp gets used as a backup.
6216 * Makefile.in: Regenerated.
6217
9e2a4ef8
JJ
62182001-08-29 Jeff Johnston <jjohnstn@redhat.com>
6219
6220 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
6221 No longer include time.h. Add struct __tm to use for
6222 _localtime_buf in the reentrant structure. Add a
6223 _NULL definition to use in initializing the reentrant struct.
6224 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
6225 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
6226 <sys/_types.h>.
6227 * libc/include/sys/unistd.h: Include <sys/_types.h>.
6228 * libc/time/lcltime.c (localtime): Cast the reentrant struct
6229 _localtime_buf to be struct tm *.
6230
1ae900d6
JR
6231Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
6232
6233 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
6234 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
6235 __ctors_end.
6236 * libc/sys/h8300hms/syscalls.c: Include errno.h.
6237 (_unlink): New stub function.
6238
8e26d5b5
CF
6239Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
6240
6241 * libc/include/sys/errno.h: Add a cautionary comment.
6242
e8267664
JJ
62432001-08-21 Jeff Johnston <jjohnstn@redhat.com>
6244
6245 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
6246 for SIZE_SZ so that alignment ends up a minimum of 8.
6247
4acf3edf
CF
6248Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
6249
6250 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
6251 arguments.
6252
6253 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
6254 Cygwin.
6255
52c80be8
JJ
62562001-08-13 Jeff Johnston <jjohnstn@redhat.com>
6257
6258 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
6259 macro constants for mallopt options.
6260 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
6261
a7061f7f
JJ
62622001-08-02 Jeff Johnston <jjohnstn@redhat.com>
6263
6264 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
6265 otherwise default.
6266
0b4bfdd5
AH
62672001-07-12 Aldy Hernandez <aldyh@redhat.com>
6268
6269 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
6270
2b6b730c
NC
62712001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
6272
6273 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
6274 Define for little endian ARMs.
6275
6276 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
6277 __IEEE_BYTES_LITTLE_ENDIAN is defined.
6278
25842b68
JJ
62792001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
6280
6281 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
6282
371b76ef
JJ
62832001-06-11 Egor Duda <deo@logos-m.ru>
6284
6285 * libc/ctype/ctype_.c: When compiled with gcc on platforms
6286 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
6287 initialized memory region. Platform can define COMPACT_CTYPE
6288 to avoid allocation of the additional 128 bytes of data.
6289 Add pointer to _ctype_ array. Always initialize all _ctype_
6290 array elements.
6291
43b44bc5
JL
62922001-06-08 Jonathan Larmour <jlarmour@redhat.com>
6293
6294 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
6295 NULL pointer.
6296
188bc140
NC
62972001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
6298
6299 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
6300
2ce88418
NC
63012001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
6302
6303 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
6304 matching, non-word alignment, and the length is <= 4 but more than
6305 enough to move them over a word boundary.
6306 Add comments explaining what each instruction does.
6307
ca60ed47
CF
6308Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
6309
6310 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 6311 * libc/include/sys/unistd.h: Ditto.
ca60ed47 6312
8b3bcfba
JJ
63132001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
6314
6315 * libc/string/strrchr.c: Use strchr for the speed improvements.
6316
b09e3cf8
JJ
63172001-05-01 Jeff Johnston <jjohnstn@redhat.com>
6318
6319 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
6320 real file systems, let __smakebuf() determine if line buffering
6321 should be used for stdout.
6322
0ca66974
JJ
63232001-04-27 Jeff Johnston <jjohnstn@redhat.com>
6324
6325 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
6326
7cb7017a
JJ
63272001-04-27 Jeff Johnston <jjohnstn@redhat.com>
6328
6329 * libc/include/stdlib.h: Add prototype for _strtod_r.
6330
a874cd21
JJ
63312001-04-24 Charles Wilson <cwilson@ece.gatech.edu
6332
6333 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
6334 * libc/stdio/vprintf.c (_vprintf_r): new function
6335 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
6336 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
6337 _DEFUN, and call _vfprintf_r, not vfprintf.
6338 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
6339 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
6340 _DEFUN, and call _vfprintf_r, not vfprintf.
6341
cb4cc283
CF
63422001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
6343
6344 * libc/include/sys/unistd.h [X_OK]: Use better protection against
6345 Cygwin X_OK definitions in sys/file.h.
6346
8c9df1d5
CF
6347Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
6348
6349 * libc/include/sys/time.h: Define timercmp and other macros for
6350 __CYGWIN__, too.
6351
3ac6f3a7
JJ
63522001-04-20 Jeff Johnston <jjohnstn@redhat.com>
6353
6354 * acinclude.m4: Added --enable-malloc-debugging configure flag.
6355 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
6356 --enable-malloc-debugging selected.
6357 * aclocal.m4 configure: Regenerated.
6358 libm/aclocal.m4 libm/configure: Ditto.
6359 * libc/aclocal.m4 libc/configure: Ditto.
6360 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
6361 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
6362 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
6363 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
6364 * doc/aclocal.m4 doc/configure: Ditto.
6365
52cb9e69
JJ
63662001-04-20 Jeff Johnston <jjohnstn@redhat.com>
6367
6368 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
6369 into one list.
6370 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
6371 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
6372 function prototypes.
6373 (_fscanf_r, _sscanf_r): Ditto.
6374 * libc/include/stdlib.h: Added _strtod_r prototype.
6375 * libc/stdio/Makefile.am: Add new v*scanf functions.
6376 * libc/stdio/Makefile.in: Regenerate.
6377 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
6378 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
6379 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
6380 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
6381 (sscanf): Changed to call __svfscanf_r with _REENT argument.
6382 (_sscanf_r): New routine.
6383 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
6384 with __svfscanf_r prototype.
6385 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
6386 routines.
6387 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
6388 structure as argument as calls reentrant versions of helper functions
6389 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
6390 to _strtol_r and _strtod_r respectively.
6391 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
6392 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
6393 _REENT argument.
6394 * libc/stdio/vscanf.c: New file.
6395 * libc/stdio/vsscanf.c: Ditto.
6396
ee9f39fb
JJ
63972001-04-19 Robert Collins <rbtcollins@hotmail.com>
6398
6399 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
6400 Define daylight to _daylight if it is not defined
6401 Prepare a variable export of timezone based on timezonevariable.
6402 (Cannot be used with the timezone() function.)
6403
273861e3
JJ
64042001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
6405
6406 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
6407 Correct the numerical values.
6408
a25b8414
CF
64092001-04-13 Robert Collins <rbtcollins@hotmail.com>
6410
6411 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
6412
b8a8c59d
CV
6413Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
6414
6415 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
6416 on case insensitve file systems.
6417
74f8cc63
CF
64182001-04-12 Robert Collins <rbtcollins@hotmail.com>
6419
6420 * libc/include/sys/features.h: Add appropriate defines for Cygwin
6421 pthread support.
6422 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
6423 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
6424 types. Include <cygwin/types.h> for the cygwin specific typedefs.
6425
16740220
RS
64262001-04-04 Richard Sandiford <rsandifo@redhat.com>
6427
6428 * libc/include/machine/ieeefp.h: Comment about new configuration
6429 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
6430 * libm/common/fdlib.h: Define new macros for testing floats.
6431 * libm/common/sf_*: Use them.
6432 * libm/math/ef_*: Likewise.
6433 * libm/math/sf_*: Likewise.
6434
0694d8d3
JJ
64352001-03-29 Jeff Johnston <jjohnstn@redhat.com>
6436
6437 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
6438 prolog to by-pass possible assembler error.
6439
4833b38c
JJ
64402001-03-21 Egor Duda <deo@logos-m.ru>
6441
6442 Allow building internal stubs for non-reentrant syscalls
6443 if target provides its own malloc
6444 * libc/reent/reent.c (errno): Move definition here.
6445 * libc/reent/sbrkr.c: From here.
6446
d17d6d42
CF
64472001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
6448
6449 * libc/include/sys/types.h (BSD int typedefs): Guard with
6450 _BSDTYPES_DEFINED rather than _WINSOCK_H.
6451 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
6452 _SYS_TYPES_FD_SET.
6453 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
6454 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
6455
c7ee75cd
CV
6456Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
6457
6458 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
6459 _PC_POSIX_SECURITY constants for Cygwin.
6460
63dc5d80
CV
6461Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
6462
6463 * libc/sys/cygwin/crt0.c: Add copyright hint.
6464 * libc/sys/cygwin/sys/dirent.h: Ditto.
6465 * libc/sys/cygwin/sys/param.h: Ditto.
6466 * libc/sys/cygwin/sys/utime.h: Ditto.
6467 * libc/sys/cygwin/sys/utmp.h: Ditto.
6468
6f637037
AO
64692001-03-13 Alexandre Oliva <aoliva@redhat.com>
6470
6471 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
6472 equivalent to LONGINT.
6473
e69b6f73
JJ
64742001-03-08 Richard Sandiford <rsandifo@redhat.com>
6475
6476 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
6477 jmpbuf on MIPS64 targets.
6478 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
6479
6198dece
CF
6480Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
6481
e69b6f73
JJ
6482 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
6483 declarations.
6198dece 6484
cfc05d96
JJ
6485Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
6486
6487 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
6488 For RTEMS, define to be ssize_t. Default to int if not defined.
6489 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
6490 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
6491 * libc/stdio/local.h (__sread, __swrite): Likewise.
6492 * libc/include/sys/reent.h (_read, _write): Likewise.
6493 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
6494 * libc/syscalls/sysread.c (read): Likewise.
6495 * libc/syscalls/syswrite.c (write): Likewise.
6496
6249353a
JJ
64972001-03-05 Jeff Johnston <jjohnstn@redhat.com>
6498
6499 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
6500
658b5db9
CF
6501Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
6502
6503 * libc/include/sys/stat.h: Use special defines for executable stat bits
6504 when compiling for Cygwin.
6505 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
6506 for Cygwin.
6507
19ca46d5
JJ
65082001-03-02 Jeff Johnston <jjohnstn@redhat.com>
6509
6510 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
6511 of strtok_r is always defined.
6512
b73ed85e
JJ
65132001-03-02 Jeff Johnston <jjohnstn@redhat.com>
6514
6515 * libc/include/machine/ansi.h: New dummy header file.
6516
ee37ede1
JJ
65172001-02-22 Jeff Johnston <jjohnstn@redhat.com>
6518
6519 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
6520 changed the copyright information to allow free modification of the
6521 file with no reference to "copying.dj".
6522 * libc/include/sys/stat-dj.h: Ditto.
6523 * libc/machine/i386/setjmp.S: Ditto.
6524 * libc/sys/h8300hms/sys/file.h: Ditto.
6525 * libc/sys/sysmec/access.c: Ditto.
6526 * libc/sys/sysnecv850/access.c: Ditto.
6527 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
6528 * libc/stdlib/getenv_r.c: Ditto.
6529 * libc/stdlib/putenv_r.c: Ditto.
6530 * libc/stdlib/setenv_r.c: Ditto.
6531 * libc/stdlib/getenv.c: Removed DJ reference since any possible
6532 modifications will now be in the _r version of this file.
6533 * libc/stdlib/putenv.c: Ditto.
6534 * libc/stdlib/setenv.c: Ditto.
6535 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
6536 valid. Added a reference to DJ's web page that contains his address.
6537 * libc/sys/go32/*.s: Removed references to DJ's old address.
6538 * libc/sys/go32/*.c: Ditto.
6539 * libc/sys/go32/*.h: Ditto.
6540 * libc/sys/go32/*.S: Ditto.
6541 * libc/sys/go32/sys/*.h: Ditto.
6542
3a8fc0e4
JJ
65432001-02-21 Jeff Johnston <jjohnstn@redhat.com>
6544
6545 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
6546 HAVE_FCNTL flag check.
6547 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
6548 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
6549
b24ee749
CF
6550Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
6551
6552 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
6553
ab4745dc
JJ
65542001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6555
6556 * libc/include/stdlib.h: Add declarations of rand48 functions and
6557 their reentrant versions.
6558 * libc/include/sys/reent.h: Move macros from rand48.h. Add
6559 struct _rand48 for shared parameters of rand48 functions.
6560 (struct _reent): Add a variable _r48 of struct _rand48.
6561 (_REENT_INIT): Add _r48 initialization.
6562 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
6563 (CHEWOUT_FILES): Add rand48.def.
6564 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
6565 * libc/stdlib/Makefile.in: Regenerated.
6566 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
6567 NetBSD C library.
6568 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
6569 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
6570 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
6571 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
6572 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
6573 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
6574 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
6575 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
6576 * libc/stdlib/rand48.c (__dorand48): Ditto.
6577 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
6578 parameters into macros referring them in the reentrant structure.
6579
a34c461f
JJ
65802001-02-12 Jeff Johnston <jjohnstn@redhat.com>
6581
6582 * libc/include/sys/stat.h: Add mknod for Cygwin now that
6583 Cygwin definition has correct prototype.
6584
34f31ff2
JJ
65852001-02-08 Jeff Johnston <jjohnstn@redhat.com>
6586
6587 * libc/include/sys/stat.h: Must revert change for mknod
6588 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
6589 prototype.
6590
5336d6de
JJ
65912001-02-08 Jeff Johnston <jjohnstn@redhat.com>
6592
6593 * libc/include/stdio.h: Revert putw prototype.
6594
8915d10a
JJ
65952001-02-08 Edward M. Lee <tailbert@yahoo.com>
6596
6597 * libc/include/grp.h: add prototype for initgroups.
6598 * libc/include/stdio.h: fix prototype for putw.
6599 * libc/include/sys/signal.h: add prototype for killpg.
6600 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
6601 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
6602 vhangup and remove duplicate sysconf prototype.
6603
93ac4487
JJ
66042001-02-07 Jeff Johnston <jjohnstn@redhat.com>
6605
6606 * libc/sys/rtems/sys/types.h: Removed.
6607
31f5feea
JJ
66082001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
6609
6610 * libc/include/locale.h: add LC_MESSAGES definition
6611
b5139f59
AO
66122001-02-01 Alexandre Oliva <aoliva@redhat.com>
6613
6614 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
6615 SYS_get_argN):
6616 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
6617 __setup_argv_and_call_main): New.
6618
e29d8355
JJ
66192001-01-31 Jeff Johnston <jjohnstn@redhat.com>
6620
6621 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
6622 if defined.
6623 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
6624 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
6625 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
6626 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
6627
82ea92f3
CF
6628Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
6629
6630 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
6631 compiling under Cygwin.
6632
3aaa66f8
JJ
66332001-01-29 Jeff Johnston <jjohnstn@redhat.com>
6634
6635 * libc/include/math.h (signgam): Change to errno-like solution
6636 using a function to return the address of the real signgam.
6637 * libc/reent/signgam.c: New file containing __signgam().
6638 * libc/reent/Makefile.am: Added signgam.c to list of files.
6639 * libc/reent/Makefile.in: Regenerated.
6640
610b895a
AO
66412001-01-25 Alexandre Oliva <aoliva@redhat.com>
6642
b0913397
AO
6643 * libc/sys/sh/syscalls.c (_times): New.
6644
610b895a
AO
6645 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
6646 * libc/sys/sh/syscalls.c (_gettimeofday): New.
6647
3643210e
JJ
66482001-01-23 Jeff Johnston <jjohnstn@redhat.com>
6649
6650 * libc/include/math.h (signgam): Regress previous fix as
6651 it does not handle programs with extern int signgam in them.
6652
841081c9
JJ
66532001-01-23 Jeff Johnston <jjohnstn@redhat.com>
6654
6655 * libc/include/math.h (signgam): Changed to a macro refering to
6656 its location in the reentrant structure.
6657
e9cd87b8
JJ
66582001-01-23 Jeff Johnston <jjohnstn@redhat.com>
6659
6660 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
6661 that suppressed . for %.0f, 0.1. Check now looks if there
6662 are padding zeroes (expt) in addition to any digits (ndig) to
6663 print.
6664
a302b48c
JJ
66652001-01-18 Jeff Johnston <jjohnstn@redhat.com>
6666
6667 * libc/sys/arc/Makefile.am: New file.
6668 * libc/sys/arc/Makefile.in: Ditto.
6669 * libc/sys/arc/aclocal.m4: Ditto.
6670 * libc/sys/arc/configure: Ditto.
6671 * libc/sys/arc/configure.in: Ditto.
6672 * libc/sys/arc/crt0.S: Ditto.
6673 * libc/sys/arc/isatty.c: Ditto.
6674 * libc/sys/arc/mem-layout.c: Ditto.
6675 * libc/sys/arc/sbrk.c: Ditto.
6676 * libc/sys/arc/syscalls.c: Ditto.
6677 * libc/sys/arc/sys/syscall.h: Ditto.
6678
d0319c3b
CF
6679Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
6680
6681 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
6682
e45ab890
CF
6683Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
6684
6685 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
6686
1376245a
DD
6687Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
6688
6689 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
6690
92b57543
NC
66912001-01-09 Nick Clifton <nickc@redhat.com>
6692
6693 * configure.host (v859): Remove unsupported compiler options.
6694
7d6d33d4
JJ
6695Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
6696
6697 * src/newlib/configure.host (*-*-rtems*): add printf long long
6698 support for RTEMS.
6699
602f8b5a 67002000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
6701
6702 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
6703
9c2b8183
JJ
6704Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
6705
6706 * configure.host: Turn on long double I/O for Cygwin.
6707
804368d3
JJ
6708Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
6709
6710 * MAINTAINERS: Removed Ranjith.
6711 * NEWS: Updated for 1.9.0.
6712 * README: Updated.
6713 * acinclude.m4: Updated to release 1.9.0.
6714 * aclocal.m4 configure
6715 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
6716 libc/machine/aclocal.m4 libc/machine/configure
6717 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
6718 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
6719 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
6720 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
6721 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
6722 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
6723 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
6724 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
6725 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
6726 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
6727 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
6728 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
6729 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
6730 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
6731 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
6732 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
6733 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
6734 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
6735 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
6736 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
6737 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
6738 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
6739 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
6740 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
6741 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
6742 libc/sys/aclocal.m4 libc/sys/configure
6743 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
6744 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
6745 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
6746 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
6747 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
6748 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
6749 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
6750 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
6751 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
6752 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6753 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6754 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6755 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6756 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6757 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6758 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6759 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6760 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6761 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6762 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6763 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6764 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6765 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6766 libm/aclocal.m4 libm/configure: Regenerated.
6767
0985d43f
CV
6768Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6769
6770 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
6771 when __CYGWIN__ is defined.
6772
b6182a09
JJ
67732000-12-13 Jeff Johnston <jjohnstn@redhat.com>
6774
6775 * libc/stdlib/ldtoa.c (_ldcheck): New routine
6776 that categorizes a long double as NaN, Infinity, or other.
6777 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
6778 isinfl and isnanl static routines which were i386-specific. Changed
6779 calls to the two removed routines to a single _ldcheck call.
6780 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
6781
adbbb034
JJ
67822000-12-13 Jeff Johnston <jjohnstn@redhat.com>
6783
6784 * Makefile.am: Fixed install-data-local target to use
6785 $(mkinstalldirs) for the installed header files to ensure
6786 the directories exist before copying.
6787 * Makefile.in: Regenerated.
6788
cbd19336
JJ
67892000-12-12 Jeff Johnston <jjohnstn@redhat.com>
6790
6791 * libc/include/sys/unistd.h: Restored Cygwin _SC
6792 constants and moved new constants appropriately
6793 so Cygwin will build.
6794
8fb37963
JJ
67952000-12-11 Joel Sherrill <joel@OARcorp.com>
6796
6797 * Merge RTEMS specific .h files into main libc/include.
6798 * libc/sys/rtems/include/signal.h: Removed.
6799 * libc/sys/rtems/include/time.h: Removed.
6800 * libc/sys/rtems/sys/features.h: Removed.
6801 * libc/sys/rtems/sys/sched.h: Removed.
6802 * libc/sys/rtems/sys/siginfo.h: Removed.
6803 * libc/sys/rtems/sys/signal.h: Removed.
6804 * libc/sys/rtems/sys/time.h: Removed.
6805 * libc/sys/rtems/sys/times.h: Removed.
6806 definitions for time_t and clock_t since these are
6807 no longer in time.h.
6808 * libc/include/pthread.h: New file.
6809 * libc/include/sys/sched.h: New file.
6810 * libc/include/sys/features.h: New file.
6811 * libc/include/time.h: Removed duplicate definition of clock_t
6812 and time_t, get them from <sys/types.h> instead. Add prototypes
6813 for POSIX clock and timer functionality.
6814 * libc/sys/linux/sys/types.h: Changed to include
6815 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
6816 * libc/include/sys/signal.h: Add more complete set of POSIX
6817 signal functionality including real-time and threaded signals.
6818 * libc/include/sys/types.h: Add clock_t, time_t, struct
6819 timespec, and struct itimerspec. Centralizing these makes
6820 things cleaner. RTEMS uses 64-bit dev_t.
6821 Added numerous primitive definitions
6822 for pthreads including macros, pthread_attr_t,
6823 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
6824 pthread_once_t, and pthread_t.
6825 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
6826 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
6827 Feature flags removed and moved to new file <sys/features.h>.
6828 Full set of POSIX sysconf() constants
6829
2efbc2a7
JJ
68302000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
6831
6832 * configure.host: Added x86 linux target.
6833 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
6834 definitions provided if not already defined.
6835 * libc/sys/linux/crt0.c: New file.
6836 * libc/sys/linux/Makefile.am: Ditto.
6837 * libc/sys/linux/Makefile.in: Ditto.
6838 * libc/sys/linux/aclocal.m4: Ditto.
6839 * libc/sys/linux/brk.c: Ditto.
6840 * libc/sys/linux/configure: Ditto.
6841 * libc/sys/linux/configure.in: Ditto.
6842 * libc/sys/linux/getoptlong.c: Ditto.
6843 * libc/sys/linux/ids.c: Ditto.
6844 * libc/sys/linux/inode.c: Ditto.
6845 * libc/sys/linux/io.c: Ditto.
6846 * libc/sys/linux/linux.c: Ditto.
6847 * libc/sys/linux/process.c: Ditto.
6848 * libc/sys/linux/realpath.c: Ditto.
6849 * libc/sys/linux/select.c: Ditto.
6850 * libc/sys/linux/signal.c: Ditto.
6851 * libc/sys/linux/systat.c: Ditto.
6852 * libc/sys/linux/termios.c: Ditto.
6853 * libc/sys/linux/time.c: Ditto.
6854 * libc/sys/linux/wait.c: Ditto.
6855 * libc/sys/linux/include/alloca.h: Ditto.
6856 * libc/sys/linux/include/getopt.h: Ditto.
6857 * libc/sys/linux/include/stdint.h: Ditto.
6858 * libc/sys/linux/include/unistd.h: Ditto.
6859 * libc/sys/linux/sys/cdefs.h: Ditto.
6860 * libc/sys/linux/sys/dirent.h: Ditto.
6861 * libc/sys/linux/sys/errno.h: Ditto.
6862 * libc/sys/linux/sys/fcntl.h: Ditto.
6863 * libc/sys/linux/sys/file.h: Ditto.
6864 * libc/sys/linux/sys/ioctl.h: Ditto.
6865 * libc/sys/linux/sys/resource.h: Ditto.
6866 * libc/sys/linux/sys/signal.h: Ditto.
6867 * libc/sys/linux/sys/stat.h: Ditto.
6868 * libc/sys/linux/sys/syscall.h: Ditto.
6869 * libc/sys/linux/sys/termios.h: Ditto.
6870 * libc/sys/linux/sys/time.h: Ditto.
6871 * libc/sys/linux/sys/types.h: Ditto.
6872 * libc/sys/linux/sys/utmp.h: Ditto.
6873 * libc/sys/linux/sys/utsname.h: Ditto.
6874 * libc/sys/linux/sys/wait.h: Ditto.
6875
a08c98bb
JJ
68762000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
6877
6878 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
6879 can be a relative path to $(top_srcdir)/install.sh so ensure the
6880 autoconf detected settings are properly passed recursively.
6881 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
6882 properly to subdirectories.
6883 * Makefile.in: Regenerated.
6884
b294082c
JJ
68852000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
6886
6887 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
6888 a floating point register unless really printing a floating
6889 point number.
6890
2005ab6b
JJ
68912000-12-07 Jeff Johnston <jjohnstn@redhat.com>
6892
6893 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
6894 Also removed \r's.
6895 (asctoeg): Replaced alloca call with stack array and malloc
6896 when storage exceeds reasonable limit.
6897 (e53toe): Fixed einfin calls missing ldp parameter.
6898 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
6899
9f6e8f1b
JJ
69002000-12-06 Jeff Johnston <jjohnstn@redhat.com>
6901
2005ab6b 6902
9f6e8f1b
JJ
6903 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
6904
6bdac416
JJ
69052000-12-06 Jeff Johnston <jjohnstn@redhat.com>
6906
6907 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
6908 * libc/stdlib/Makefile.in: Regenerated.
6909 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
6910 * libc/stdio/vfieeefp.h: Added long double bit structures.
6911 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
6912 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
6913 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
6914 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
6915 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
6916 _strtold routines used for conversions between character
6917 and long double.
6918
ec270d31
CV
6919Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6920
6921 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
6922
db2d9549
JJ
69232000-12-04 Joel Sherrill <joel@OARcorp.com>
6924
6925 * libc/include/machine/time.h: RTEMS systems can configure clock
6926 tick rate so use sysconf() to ask.
6927
6ba54a15
JJ
69282000-12-04 Joel Sherrill <joel@OARcorp.com>
6929
6930 * libc/include/sys/times.h: Add reference to POSIX standard.
6931
8677b819
JJ
69322000-12-04 Joel Sherrill <joel@OARcorp.com>
6933
6934 * libc/include/sys/time.h: Added BSD timer manipulation macros
6935 used by RTEMS code.
6936
1b61a706
JJ
69372000-12-04 Joel Sherrill <joel@OARcorp.com>
6938
6939 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
6940 referenced by code generated by gcc 2.8.1.
6941 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
6942 satisfy gcc.
6943
f5e7c124
JJ
69442000-12-04 Joel Sherrill <joel@OARcorp.com>
6945
6946 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
6947
768abc9c
JJ
69482000-12-04 Joel Sherrill <joel@OARcorp.com>
6949
6950 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
6951
9e5dd5ea
JJ
69522000-12-04 Joel Sherrill <joel@OARcorp.com>
6953
6954 * configure.host (or16, or32): New entries for OpenCores
6955 OpenRisc CPUs.
6956 (*-*-rtems*): Add -DNO_EXEC.
6957
768abc9c 69582000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
6959
6960 * libc/include/sys/errno.h: Added comments on many error numbers.
6961 * libc/string/strerror.c: Added some more strings.
6962
b273323f
JJ
69632000-11-30 Jeff Johnston <jjohnstn@redhat.com>
6964
6965 * libc/sys/sh/syscalls.c (_link): New stub.
6966
0ffc3b94
NC
69672000-11-29 Nick Clifton <nickc@redhat.com>
6968
6969 * configure.host: Add xscale target.
6970 * libc/machine/xscale: New directory.
6971 * libc/machine/xscale/Makefile.am: New file.
6972 * libc/machine/xscale/Makefile.in: New file.
6973 * libc/machine/xscale/aclocal.m4: New file.
6974 * libc/machine/xscale/configure: New file.
6975 * libc/machine/xscale/configure.in: New file.
6976 * libc/machine/xscale/memchr.S: New file.
6977 * libc/machine/xscale/memcmp.S: New file.
6978 * libc/machine/xscale/memcpy.S: New file.
6979 * libc/machine/xscale/memmove.S: New file.
6980 * libc/machine/xscale/memset.S: New file.
6981 * libc/machine/xscale/strchr.S: New file.
6982 * libc/machine/xscale/strcmp.S: New file.
6983 * libc/machine/xscale/strcpy.S: New file.
6984 * libc/machine/xscale/strlen.S: New file.
6985
cbbf0f96
CV
6986Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
6987
6988 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
6989 avoid compiler warnings.
6990
73dea790
MM
69912000-11-22 Michael Meissner <meissner@redhat.com>
6992
6993 * libc/posix/execl.c (execl): Don't reference environ directly,
6994 reference it only via a static pointer to avoid problems with some
6995 shared library systems and with different uses of small data where
6996 the user specifies his own version of environ.
6997 * libc/posix/execv.c (execv): Ditto.
6998 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
6999 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
7000 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
7001
7002 * libc/stdlib/getenv.c (environ): Delete unused reference to
7003 environ.
7004
7005 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
7006 colorization.
7007 * libc/stdlib/system.c: Ditto.
7008
08eac2ae
CF
7009Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
7010
7011 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
7012 including windows headers.
7013
5478bf37
JJ
70142000-11-20 Jeff Johnston <jjohnstn@redhat.com>
7015
7016 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
7017 * libc/include/dirent.h: Added definition of MAXNAMLEN if
7018 not defined by sys/dirent.h.
7019 * libc/posix/execvp.c: Added include of dirent.h to get
7020 MAXNAMLEN value which used to be in unistd.h.
7021
3a760728
CV
7022Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7023
7024 * libc/include/sys/types.h: Change type of i to `size_t' in
7025 FD_ZERO macro to avoid compiler warnings.
7026
86fff69f
CF
7027Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
7028
7029 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
7030 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
7031
ba9e88d2
CV
7032Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
7033
7034 * libc/include/sys/unistd.h: Add defines for sysconf values
7035 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
7036 _SC_AVPHYS_PAGES.
7037
a8018ef3
CF
7038Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
7039
7040 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
7041 declarations for __CYGWIN__.
7042
b944c6f6
GK
70432000-09-19 Geoffrey Keating <geoffk@cygnus.com>
7044
7045 * libc/signal/signal.c (__sigtramp_r): ISO C requires
7046 case labels to be integral constant expressions, so
7047 use an if/else tree instead.
7048 (_raise_r): Likewise.
7049
7f18fcb4
JJ
70502000-09-13 Jeff Johnston <jjohnstn@redhat.com>
7051
7052 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
7053 clipping patch from e-mail reader.
7054
242361df
JJ
70552000-09-13 Will Cohen <wcohen@redhat.com>
7056
7057 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
7058 Added return value 0.
7059 (_longjmp): Allow longjmp to return value of second argument
7060 passed to it.
7061
8a8c59b9
JJ
70622000-09-06 Jeff Johnston <jjohnstn@redhat.com>
7063
7064 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
7065 inline code to prevent having to include another header file.
7066
a385ae75
CF
7067Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
7068
7069 * Makefile.am: Fix space vs. tab problem in install-data-local.
7070 * Makefile.in: Regenerate.
7071
7072Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
7073
7074 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
7075 (_EXPARM): New macro for defining a function parameter.
7076 * libc/include/stdlib.h: Use _EXPARM.
7077 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
7078
a36cd013
JJ
70792000-09-05 Manfred Hollstein <manfredh@redhat.com>
7080
7081 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
7082 required, as documented in the gnu coding standards.
7083 * Makefile.in: Regenerate.
7084
f825dfda
JJ
70852000-09-05 Jeff Johnston <jjohnstn@redhat.com>
7086
7087 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
7088 make O_NDELAY and O_NONBLOCK have the same value.
7089
4ba9aab7
JJ
70902000-08-30 Kazu Hirata <kazu@hxi.com>
7091
7092 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
7093
db7acc38
JJ
70942000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
7095
7096 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
7097 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
7098 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
7099 everywhere else.
7100
44e36af4
GK
71012000-08-30 Geoffrey Keating <geoffk@cygnus.com>
7102
7103 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
7104 * libc/include/string.h: Don't include <sys/types.h>,
7105 as it causes really bad namespace pollution. Don't declare
7106 swab(), it is properly declared in unistd.h.
7107
00a2f168
JJ
71082000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
7109
7110 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
7111 (broken) support for non-existent /etc/passwd field "comment".
7112
6beeb240
JJ
71132000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
7114
7115 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
7116 only if _DIRENT_HAVE_D_NAMLEN is defined.
7117 (alphasort): aligned prototype with
7118 libc/sys/cygwin/sys/dirent.h and simplified function body.
7119 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
7120 long telldir (DIR *) as mentioned in annex B of POSIX.1
7121
ef44da42
JJ
71222000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
7123
7124 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
7125 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
7126 Added __CLI and __STI macros (controlled via
7127 _I386MACH_ALLOW_HW_INTERRUPTS macro).
7128 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
7129 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
7130 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
7131 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
7132 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
7133 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
7134 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
7135 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
7136 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
7137 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
7138 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
7139 for all global entry points.
7140 * libc/machine/i386/setjmp.S: removed code replicated in
7141 libc/machine/i386/i386mach.h and included i386mach.h instead;
7142 Use __CLI and __STI instead of cli and sti.
7143
14d3488d
DD
71442000-08-25 DJ Delorie <dj@redhat.com>
7145
7146 * libc/include/sys/unistd.h (environ): this one isn't from the
7147 DLL, no __IMPORT
7148
c9ca4412
CF
7149Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
7150
7151 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
7152 environ when compiling under cygwin since it is already declared in
7153 unistd.h.
7154
2d5862de
JJ
71552000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
7156
7157 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
7158 like x << y-z to the equivalent x << (y-z).
7159 (d2b): changed if statements with assignment to perform the
7160 assignment prior to the if check.
7161 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
7162 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
7163 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
7164 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
7165 precedence.
7166 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
7167 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
7168 execve.c).
7169 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
7170 precedence.
7171 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
7172 clarify && and || precendence (and to remove pascalism).
7173 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
7174 * libm/math/s_infconst.c: added another pair of braces to all
7175 initializers for __infinity (need three: for __infinity[1] array,
7176 for union __dmath, and for i[2]).
7177
0888fedd
JJ
71782000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
7179
199359f0
JJ
7180 * libc/stdlib/abort.c: changed description: uses "raise" instead of
7181 "getpid" and "kill"; added: uses "write" and "_exit".
7182 Also included unistd.h for "_exit" prototype.
7183 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
7184 reent.h for "_fork_r" and "_wait_r" prototypes.
7185 (do_system): changed extern char *environ[] to POSIX-friendly
7186 extern char **environ.
7187 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
7188 prototypes.
7189 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
7190 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
7191 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
7192 * libc/reent/openr.c: included fcntl.h for "open" prototype.
7193 * libc/reent/signalr.c: included signal.h for "kill" prototype,
7194 unistd.h for "getpid" prototype.
7195 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
7196 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
7197 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
7198 prototype. Also included stdlib.h for "abort", string.h for
7199 "strdup" and "strncmp" prototypes.
7200 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
7201 "strncpy", unistd.h for "read" and "close" prototypes.
7202 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
7203 "strcat" prototypes.
7204
72052000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
7206
0888fedd
JJ
7207 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
7208 used later (ifdef __SCLE)
7209 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
7210 used later (ifdef MB_CAPABLE)
7211 * libc/string/memset.c (memset): removed unused variables "count"
7212 and "unaligned_addr"
7213 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
7214 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
7215 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
7216 and "gid"
7217
a334e5ef
JJ
72182000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
7219
7220 * libc/stdlib/envlock.c: changed documented "__env_lock" and
7221 "__env_unlock" prototype from "void *" or "char *" to
7222 "struct _reent *" to match real function. Also added include
7223 of envlock.h.
7224 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
7225 "__malloc_unlock" prototype from "void *" or "char *" to
7226 "struct _reent *" to match real function.
7227 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
7228 prototypes (for getenv_r.c and setenv_r.c).
7229
644b7f26
DD
72302000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
7231
7232 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
7233 and prototype in cygwin's utmp.h
7234
5bacbf10
JJ
72352000-08-16 Eric Fifer <efifer@sanwaint.com>
7236
7237 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
7238
38a6bf98
NC
72392000-08-09 Nick Clifton <nickc@cygnus.com>
7240
7241 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
7242 epilogue and to allow the functions to be used in a Thumb based
7243 toolchain.
7244
befe0fb3
JJ
72452000-08-08 Jeff Johnston <jjohnstn@redhat.com>
7246
7247 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
7248 so size of 0 results in nothing being written to string.
7249 Also fixed code so that when size is non-zero, there is only
7250 a maximum of size - 1 characters written to the array and
7251 a nul terminator is appended at the end.
7252 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
7253
749d9bcd
DD
72542000-08-01 DJ Delorie <dj@redhat.com>
7255
7256 * libc/include/sys/config.h: define __IMPORT appropriately
7257 * libc/include/ctype.h (_ctype_): use __IMPORT
7258 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
7259 * libc/include/math.h (__mb_cur_max): ditto
7260 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
7261 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
7262 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
7263 * libc/include/unistd.h (environ): ditto
7264
7c110b17
MM
72652000-07-28 Michael Meissner <meissner@redhat.com>
7266
7267 * libc/include/math.h (__infinity): Declare as an array without
7268 bounds to get around small data support. Rewrite Cygwin support
7269 to be more general.
7270 * libm/math/s_infconst.c (__infinity): Ditto.
7271 * libm/mathfp/s_infconst.c (__infinity): Ditto.
7272
bf7be721
CF
7273Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
7274
7275 * libc/include/math.h: Use appropriate dll import linkage for
7276 __infinity under Cygwin.
7277
91a8d90b
DD
72782000-07-13 DJ Delorie <dj@cygnus.com>
7279
7280 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
7281
ba2048d3
JJ
7282Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
7283
7284 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
7285 to argument list for AngelSWI_Reason_GetCmdLine.
7286
4634da64
JJ
7287Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
7288
7289 * configure.host: Add support for AVR target.
7290 * libc/include/machine/ieeefp.h: Likewise.
7291 * libc/include/sys/config.h: Likewise.
7292
b19f72a2
RK
7293Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
7294
7295 * README: Newlib 1.8.2 must be built in a separate directory
7296 than the sources.
7297
a704d94a
JJ
7298Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7299
7300 * libc/include/sys/reent.h (_rand_next): Added __extension__
7301 qualifier as long long type is not strict ANSI.
7302 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
7303 to long long constant.
7304
b585720b
CV
7305Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
7306
7307 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
7308 `setegid' provided by Cygwin.
7309
01c327ba
CV
7310Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
7311
7312 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
7313 account for Cygwin.
7314
46a43a99
JJ
7315Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7316
7317 * libc/include/sys/reent.h (_rand_next): Changed to
7318 unsigned long long and moved to end of _reent struct in _new union.
7319 (_REENT_INIT): Changed to move _rand_next initialization.
7320 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
7321 linear congruential algorithm that is used by DJGPP.
7322
a68078cb
RK
7323Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
7324
7325 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
7326 * libc/include/sys/config.h: Define __RAND_MAX.
7327
518882f3
JJ
7328Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7329
7330 * libc/stdlib/rand_r.c: New algorithm that meets minimal
7331 standard.
7332
d51d968a
CF
7333Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
7334
7335 * libc/include/string.h: Work around problem with strsignal and gdb.
7336
d2dd5765
CF
7337Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
7338
7339 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
7340 * libc/include/malloc.h: Ditto.
7341 * libc/include/process.h: Ditto.
7342 * libc/include/stdio.h: Ditto.
7343 * libc/include/stdlib.h: Ditto.
7344 * libc/include/time.h: Ditto.
7345 * libc/include/machine/setjmp.h: Ditto.
7346 * libc/include/sys/errno.h: Ditto.
7347 * libc/include/sys/signal.h: Ditto.
7348 * libc/include/sys/stat.h: Ditto.
7349 * libc/include/sys/time.h: Ditto.
7350 * libc/include/sys/unistd.h: Ditto.
7351 * libc/include/string.h: Ditto. strsignal should return a const char *.
7352
88870218
JJ
73532000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
7354
7355 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
7356 * libm/common/s_log1p.c (log1p): Likewise.
7357 * libm/common/s_scalbn.c (scalbn): Likewise.
7358 * libm/math/e_log.c: Likewise.
7359 * libm/math/e_asin.c: Likewise.
7360 * libm/math/ef_asin.c: Likewise.
7361 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
7362 * libm/math/e_j1.c (pone, qone): Likewise.
7363 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
7364 * libm/math/ef_j1.c (ponef, qonef): Likewise.
7365 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
7366 * libm/mathfp/e_j1.c (pone, qone): Likewise.
7367 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
7368 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
7369
c4e1aa01
DD
73702000-05-19 DJ Delorie <dj@cygnus.com>
7371
7372 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
7373 (__sread): always read in binary mode
7374 (__swrite): always write in binary mode
7375 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
7376 compatibility issues with different dll versions
7377 * libc/stdio/fopen.c: use __stextmode
7378 * libc/stdio/fdopen.c: ditto
7379 * libc/stdio/freopen.c: ditto
7380 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
7381 * libc/stdio/local.h: declare __stextmode
7382
f4393261
DD
73832000-05-18 DJ Delorie <dj@cygnus.com>
7384
7385 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
7386
2b533fac
JJ
7387Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7388
7389 * libc/include/ctype.h: Changed tolower and toupper macros
7390 to use __extension__ to prevent pedantic warnings.
7391
75362a76
RK
7392Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
7393
7394 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
7395 structures.
7396
ec463fc7
JW
7397Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
7398
7399 * libc/include/machine/ieeefp.h: Add ia64 support.
7400 * configure.host: Likewise.
7401
f35ceefa
JJ
7402Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
7403
7404 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
7405 month is now padded with space, not zero. This now conforms to
7406 ANSI standard.
7407
b96fca8c
CV
7408Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
7409
7410 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
7411 host or network path") used by cygwin. Add some comments.
7412
49d64538
JJ
7413Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
7414
7415 * libc/include/stdio.h (FILE): define __SCLE for "convert line
7416 endings" for Cygwin.
7417 (__sgetc): convert line endings if needed
7418 (__sputc): ditto
7419 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
7420 * libc/stdio/fopen.c (_fopen_r): ditto
7421 * libc/stdio/freopen.c (freopen): ditto
7422 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
7423 * libc/stdio/fvwrite.c (__sfvwrite): ditto
7424
91fb1e7f
AO
7425Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
7426
7427 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
7428 post-increment when it is worth it, spacewise.
7429
c87be3e4
JJ
7430Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
7431
7432 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
7433 * libc/stdio/findfp.c (std): Added declaration of flags and file.
7434 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
7435 return type.
7436 * libc/stdio/putchar.c (putchar): Added return statement.
7437 * libc/stdio/refill.c (lflush): Added correct parentheses.
7438 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
7439 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
7440 prints long value to use l qualifier.
7441 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
7442 messages and initialized local values: ilim, ilim1, and spec_case.
7443 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
7444 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
7445 * libc/stdlib/mprec.c: Ditto.
7446 * libc/stdlib/setenv_r.c: Ditto.
7447 * libc/stdlib/strtod.c: Ditto.
7448 * libc/stdlib/strtol.c: Ditto.
7449 * libc/stdlib/strtoul.c: Ditto.
7450 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
7451 * libm/common/sf_log1p.c: Ditto.
7452 * libm/common/sf_scalbn.c: Ditto.
7453 * libm/math/ef_log.c: Ditto.
7454
11f5b065
CV
7455Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
7456
7457 * libc/posix/execvp.c (execvp): Check path for
7458 trailing slash.
7459
796e3b20
CV
7460Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
7461
7462 * libc/include/sys/unistd.h: Add prototypes for
7463 fchmod, fchown, lchown.
7464
b489803a
JJ
7465Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7466
7467 * acinclude.m4: Changed release to 1.8.2.
7468 * aclocal.m4 configure doc/aclocal.m4 doc/configure
7469 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
7470 libc/machine/configure libc/machine/a29k/aclocal.m4
7471 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7472 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7473 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7474 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7475 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
7476 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7477 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7478 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7479 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7480 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7481 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
7482 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7483 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7484 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7485 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7486 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7487 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7488 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7489 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7490 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7491 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7492 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7493 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
7494 libc/machine/z8k/configure libc/sys/aclocal.m4
7495 libc/sys/aclocal.m4 libc/sys/configure
7496 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7497 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
7498 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
7499 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7500 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7501 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7502 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7503 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7504 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7505 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7506 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7507 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7508 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7509 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7510 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7511 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7512 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7513 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7514 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7515 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7516 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7517 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7518 libm/aclocal.m4 libm/configure: Regenerated.
7519
79908d67
NC
75202000-03-24 Nick Clifton <nickc@cygnus.com>
7521
7522 * libc/sys/arm/syscalls.c: Fix compile time warnings.
7523 (do_AngelSWI): Add "cc" to list o registers clobbered.
7524
7684ddaf
FN
7525Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
7526
7527 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
7528 information to be clobbered by an Angel C library support syscall.
7529
b8ec20c8
JJ
7530Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7531
7532 * libc/stdlib/envlock.c: Fixed comment typo.
7533
fae4c299
JJ
7534Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7535
7536 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
7537 code to update nread as each character is processed instead
7538 of using buffer contents which throw away leading zeroes.
7539
dc98804b
RK
7540Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
7541
7542 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
7543
5ed2f523
JJ
7544Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
7545
7546 * libc/include/string.h: Include <sys/types.h>.
7547
1cf0ee34
AO
7548Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7549
7550 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
7551 with XSH5, not SVID.
7552
e9c94978
JJ
7553Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
7554
7555 * libc/include/string.h: Changed last argument back to ssize_t
7556 to make it compatible with XPG4 definition which is
7557 defined in <unistd.h>. There is a conflict in the SVID 3
7558 and XPG4 definitions and newlib will settle with XPG4.
7559 * libc/string/swab.c: Ditto.
7560
3072163c
JJ
7561Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
7562
7563 * libc/include/string.h: Changed last argument to size_t.
7564 * libc/string/swab.c: Changed last argument to size_t.
7565
f205ea7a
AO
7566Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7567
7568 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
7569 (CHEWOUT_FILES): Added unlinkr.def.
7570 * libc/reent/Makefile.in: Rebuilt.
7571 * libc/sys.tex: Include unlinkr.def.
7572 * libc/reent/linkr.c (_unlink_r): Moved to...
7573 * libc/reent/unlinkr.c: ... new file.
7574
85dd2e5b
AO
7575Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7576
7577 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
7578 (CHEWOUT_FILES): Added swab.def.
7579 * libc/string/Makefile.in: Rebuilt.
7580 * libc/string/string.tex: Include swab.def.
7581 * libc/include/string.h (swab): Declare.
7582 * libc/string/swab.c: New file.
7583
c5053058
AO
7584Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7585
7586 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
7587 (CHEWOUT_FILES): Added getw.def and putw.def.
7588 * libc/stdio/Makefile.in: Rebuilt.
7589 * libc/stdio/stdio.tex: Include getw.def and putw.def.
7590 * libc/stdio/getw.c: New file.
7591 * libc/stdio/putw.c: New file.
7592
dbaf37cf
JJ
7593Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
7594
7595 * libc/stdio/flags.c (__sflags): Added check that mode[1]
7596 is non-null before looking at mode[2].
7597
bc019ef2
RK
7598Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
7599
7600 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
7601 * libm/mathfp/sf_atan.c: Ditto.
7602
7603Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
7604
7605 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
7606
cd641b2d
RK
7607Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
7608
7609 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
7610 _DOUBLE_IS_32BITS.
7611
b0ba0ac2
JJ
7612Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
7613
7614 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
7615 call prior to calling _VFPRINTF_R so reentrant data area is set.
7616 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
7617
8a0efa53
CF
7618Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7619
7620 * libc/stdio/vfscanf.c (limits.h): #include.
7621 (MAX_LONG_LEN): #define.
7622 (__svfscanf): Handle floating point numbers with arbitrary amounts
7623 of leading zeroes.
7624
76252000-02-15 Nick Clifton <nickc@cygnus.com>
7626
7627 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
7628 zero. Set the blocksize to 1024/
7629
7630Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
7631
7632 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
7633 with line buffering.
7634
7635Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
7636
7637 * acinclude.m4: Changed include directory for winsup headers.
7638 * aclocal.m4 configure libc/aclocal.m4
7639 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
7640 libc/locale/Makefile.in libc/machine/aclocal.m4
7641 libc/machine/configure libc/machine/a29k/aclocal.m4
7642 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7643 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7644 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7645 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7646 libc/machine/fr30/configure
7647 libc/machine/h8300/aclocal.m4
7648 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7649 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7650 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7651 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7652 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7653 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
7654 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7655 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7656 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7657 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7658 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7659 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7660 libc/machine/powerpc/configure
7661 libc/machine/sh/aclocal.m4
7662 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7663 libc/machine/sparc/configure
7664 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
7665 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
7666 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
7667 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
7668 libc/misc/Makefile.in libc/posix/Makefile.in
7669 libc/reent/Makefile.in
7670 libc/signal/Makefile.in
7671 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
7672 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
7673 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
7674 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7675 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
7676 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
7677 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
7678 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
7679 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
7680 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
7681 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7682 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7683 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7684 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
7685 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
7686 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
7687 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
7688 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
7689 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
7690 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
7691 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
7692 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
7693 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
7694 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
7695 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
7696 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
7697 libm/configure: Regenerated.
7698
7699Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
7700
7701 * libc/stdlib/putenv_r.c (_putenv_r): New file.
7702 * libc/stdlib/strdup_r.c (_strdup_r): New file.
7703 * libc/include/string.h: Added _strdup_r.
7704 * libc/stdlib/putenv.c: Added call to reentrant version.
7705 * libc/stdlib/strdup.c: Ditto.
7706 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
7707 * libc/include/stdlib.h: Ditto.
7708 * libc/stdlib/Makefile.in: Regenerated.
7709 * libc/string/Makefile.in: Regenerated.
7710 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
7711 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
7712 management calls to reentrant versions.
7713 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
7714 * libc/stdlib/wctomb.c: Ditto.
7715 * libc/stdlib/mblen.c: Ditto.
7716 * libc/stdlib/mbstowcs.c: Ditto.
7717 * libc/stdlib/mbtowc.c: Ditto.
7718 * libc/stdlib/getenv.c: Ditto.
7719 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
7720 and _strdup_r.
7721
7722Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
7723
7724 patch from Corinna Vinschen <corinna@vinschen.de>
7725 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
7726
bc019ef2 7727Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
7728
7729 * libm/mathfp/s_atangent.c: Fix exponent calculation.
7730 * libm/mathfp/s_ldexp.c: Ditto.
7731 * libm/mathfp/sf_atangent.c: Ditto.
7732 * libm/mathfp/sf_ldexp.c: Ditto.
7733
7734Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7735
7736 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
7737 * libc/include/locale.h: define NULL to be 0.
7738
7739Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
7740
7741 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
7742 function.
7743
7744Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
7745
7746 * libc/machine/mn10300/setjmp.S: Handle am33.
7747
77481999-11-26 Nick Clifton <nickc@cygnus.com>
7749
7750 * libc/sys/arm/syscalls.c: Add function prototypes.
7751 (stack_ptr): Move declaration before function definitions.
7752
7753Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7754
7755 * NEWS: Updated version information.
7756 * README: Ditto.
7757
7758Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
7759
7760 * libc/machine/i386/strchr.S: Fixed alignment test.
7761
7762Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
7763
7764 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
7765
7766Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
7767
7768 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
7769 ensuring that there is space between the two.
7770
7771Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
7772
7773 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
7774 only.
7775
77761999-10-08 Vadim Egorov <egorovv@1c.ru>
7777
7778 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
7779 section
7780
7781Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7782
7783 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
7784 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
7785
7786Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
7787 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
7788 per POSIX 1003.1b.
7789 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
7790 per POSIX 1003.1b.
7791
77921999-09-13 DJ Delorie <dj@cygnus.com>
7793
7794 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
7795 also.
7796
7797Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
7798
7799 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
7800 also note BUFSIZ as its size.
7801
7802Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
7803
7804 * configure.host: Corrected feature defines for RTEMS.
7805 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
7806 * libc/include/sys/stat.h: mkfifo() should take const path arg.
7807 * libc/include/sys/unistd.h: pathconf() should take const path arg.
7808 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
7809 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
7810 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
7811 _PC_PRIO_IO, and _PC_SYNC_IO.
7812 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
7813 * libc/machine/m68k/Makefile.in: Regenerated.
7814 * libc/machine/m68k/strcpy.c: New file.
7815 * libc/machine/m68k/strlen.c: New file.
7816 * libc/stdio/tmpnam.c: Always make the returned name usable.
7817 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
7818 * libc/sys/rtems/sys/dirent.h: New file.
7819 * libc/sys/rtems/sys/types.h: Added dev_t.
7820
7821Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
7822
7823 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
7824
7825Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
7826
7827 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
7828 my patch.
7829
7830Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
7831
7832 patch from Jeff Johnston <jjohnstn@cygnus.com>
7833 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
7834 buffer is not in a useful state.
7835
78361999-09-01 Nick Clifton <nickc@cygnus.com>
7837
7838 * libc/sys/arm/syscalls.c (_link): Add stub.
7839
7840Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
7841
7842 * ftell.c (ftell): Use actual position within buffer for text mode.
7843 * findfp.c (std): Initialize ptr->_bf._size.
7844
7845Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
7846
7847 * libc/include/sys/unistd.h: Add nice() declaration.
7848
78491999-08-09 Nick Clifton <nickc@cygnus.com>
7850
7851 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
7852 declare as a thumb function so that the disassembler will see the
7853 mode change.
7854
7855Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7856
7857 * libc/reent/reent.tex: Updated list of reentrant functions.
7858
78591999-07-09 Michael Meissner <meissner@cygnus.com>
7860
7861 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
7862
7863Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
7864
7865 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
7866 separate file.
7867 * libc/stdio/snprintf.c: New file.
7868 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
7869 separate file.
7870 * libc/stdio/vsnprintf.c: New file.
7871 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
7872 * libc/stdio/Makefile.in: Regenerated.
7873
7874Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
7875
7876 Patch submitted by Egor Duda <deo@logos-m.ru>:
7877 * libc/include/stdio.h: Add declarations for *nprintf.
7878 * libc/stdio/sprintf.c (snprintf): New function.
7879 (_snprintf_r): New function.
7880 * libc/stdio/vsprintf.c (vsnprintf): New function.
7881 (_vnsprintf_r): New function.
7882
7883Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7884
7885 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
7886 * libm/Makefile.am (stmp-targetdep): Ditto.
7887 * libc/Makefile.in: Regenerated.
7888 * libm/Makefile.in: Ditto.
7889
7890Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7891
7892 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
7893 * libm/Makefile.am (stmp-targetdep): Ditto.
7894 * libc/Makefile.in: Regenerated.
7895 * libm/Makefile.in: Ditto.
7896
7897Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
7898
7899 * Makefile.am: Removed dependencies on all-recursive and added "."
7900 to the SUBDIRS list to prevent infinite recursion from occurring.
7901 Also removed any references to EXTRA_DATA.
7902 * libc/Makefile.am: Ditto.
7903 * libc/machine/Makefile.am: Ditto.
7904 * libc/machine/i386/Makefile.am: Ditto.
7905 * libm/Makefile.am: Ditto.
7906 * libc/sys/Makefile.am: Ditto.
7907 * Makefile.in: Regenerated.
7908 * aclocal.m4: Ditto.
7909 * configure: Ditto.
7910 * doc/Makefile.in: Ditto.
7911 * doc/aclocal.m4: Ditto.
7912 * doc/configure: Ditto.
7913 * libc/Makefile.in: Ditto.
7914 * libc/aclocal.m4: Ditto.
7915 * libc/configure: Ditto.
7916 * libc/machine/Makefile.in: Ditto.
7917 * libc/machine/aclocal.m4: Ditto.
7918 * libc/machine/configure: Ditto.
7919 * libc/machine/mn10300/Makefile.in: Ditto.
7920 * libc/machine/mn10300/aclocal.m4: Ditto.
7921 * libc/machine/mn10300/configure: Ditto.
7922 * libc/sys/Makefile.in: Ditto.
7923 * libc/sys/aclocal.m4: Ditto.
7924 * libc/sys/configure: Ditto.
7925 * libm/Makefile.in: Ditto.
7926 * libm/aclocal.m4: Ditto.
7927 * libm/configure: Ditto.
7928
7929Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7930
7931 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
7932
7933Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7934
7935 * libc/include/stdlib.h: Add reentrant routines.
7936 * libc/stdlib/Makefile.am: Add reentrant routines.
7937 * libc/stdlib/Makefile.in: Ditto.
7938 * libc/stdlib/envlock.c: New file.
7939 * libc/stdlib/envlock.h: New file.
7940 * libc/stdlib/getenv.c: Modify to call reentrant routine.
7941 * libc/stdlib/getenv_r.c: New file.
7942 * libc/stdlib/mblen.c: Modify to call reentrant routine.
7943 * libc/stdlib/mblen_r.c: New file.
7944 * libc/stdlib/setenv.c: Modify to call reentrant routine.
7945 * libc/stdlib/setenv_r.c: New file.
7946 * libc/stdlib/stdlib.tex: Add reentrant routines.
7947
7948Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
7949
7950 * libc/include/sys/types.h: Define __MS_types__ whenever
7951 cygwin or win32.
7952
7953Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
7954
7955 * libc/include/machine/ieeefp.h: Always default to little
7956 endian if Windows, regardless of architecture.
7957 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
7958 regardless of architecture.
7959
7960Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
7961
7962 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
7963 _WIN32 isn't defined.
7964
7965Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
7966
7967 * libm/common/s_rint.c (rint): Add volatile qualifier for
7968 intermediate value w.
7969 * libm/common/sf_rint.c (rintf): Ditto.
7970
7971Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
7972
7973 * libc/sys/arm/syscalls.c (remap_handle): Added check to
7974 ensure that std streams are initialized before being referenced.
7975
79761999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
7977
7978 * README: Update reference to newlib@cygnus.com new
7979 newlib@sourceware.cygnus.com address.
7980
7981Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
7982
7983 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
7984 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
7985 defined, even if _WIN32 isn't defined.
7986
7987Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
7988
7989 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
7990
7991Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
7992
7993 * libc/include/sys/reent.h: Change Long and ULong to __Long and
7994 __ULong.
7995 * libc/stdlib/dtoa.c: Ditto.
7996 * libc/stdlib/mprec.c: Ditto.
7997 * libc/stdlib/mprec.h: Ditto.
7998 * libc/stdlib/strtod.c: Ditto.
7999
80001999-04-21 Nick Clifton <nickc@cygnus.com>
8001
8002 * configure.host (mcore): Remove mcore machine directory.
8003
80041999-04-18 Nick Clifton <nickc@cygnus.com>
8005
8006 * libc/include/machine/ieeefp.h: Add support for mcore target.
8007 * libc/include/machine/setjmp.h: Add support for mcore target.
8008 * configure.host: Add support for mcore target.
8009
80101999-04-13 Mark Salter <msalter@cygnus.com>
8011
8012 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
8013 * libc/sys/arm/syscalls.c: Added isatty.
8014
8015Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8016
8017 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
8018 insert zeroes after significant digits.
8019
8020Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8021
8022 * libc/stdio/vfprintf.c (cvt): Changed floating point
8023 cvt routine to use union used by dtoa to properly determine
8024 if the sign bit is on or not.
8025 * libc/stdio/vfieeefp.h: New file
8026
8027Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8028
8029 * aclocal.m4: Regenerated.
8030 * configure: Regenerated.
8031
8032Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
8033
8034 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
8035 f_tanf reference.
8036 * libc/machine/i386/Makefile.in: Regenerated.
8037
8038Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
8039
8040 * acinclude.m4: Changed to work with new automake.
8041 * configure: Regenerated.
8042 * libc/machine/i386/aclocal.m4: Regenerated.
8043 * libc/machine/i386/configure: Regenerated.
8044
8045Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
8046
8047 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
8048 for telldir() and seekdir(). Rename unused structure element
8049 for use with these two routines.
8050
8051Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
8052
8053 * libc/time/mktime.c (validate_structure): Multiple fixes to
8054 code to handle cases where input fields are outside valid ranges.
8055 * libc/stdlib/div.c (div): Modified invalid rounding check.
8056 * libc/stdlib/ldiv.c (ldiv): Ditto.
8057
8058Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
8059
8060 * libc/machine/i386/memcpy.S: Performance rewrite.
8061 * libc/machine/i386/memmove.S: Ditto.
8062 * libc/machine/i386/i386mach.h: Added more register definitions.
8063 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
8064 option used.
8065 * libc/include/machine/fastmath.h: Add definitions for x86
8066 fast-math routines.
8067
8068Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8069
8070 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
8071
8072Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
8073
8074 Adjust newlib headers for new Cygwin Win32 API header files:
8075 * libc/include/sys/time.h: Check _WINSOCK_H rather than
8076 _GNU_H_WINDOWS32_SOCKETS.
8077 * libc/include/sys/types.h: Ditto.
8078
8079Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
8080
8081 *include/sys/reent.h: Add checks for size of Bigint element Long.
8082 *libc/dtoa.c: Change routines to use generic Long type.
8083 *libc/mprec.c: Change routines to use generic Long type.
8084 *libc/mprec.h: Change routines to use generic Long type.
8085
8086Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
8087
8088 * libc/Makefile.am: Add .def files.
8089 * libc/Makefile.in: Regenerate.
8090 * libc/e_acosh.c: Documentation update.
8091 * libc/e_atanh.c: Documentation update.
8092 * libc/e_hypot.c: Documentation update.
8093 * libc/e_remainder.c: Documentation update.
8094 * libc/er_lgamma.c: Documentation update.
8095 * libc/mathfp.tex: Documentation update.
8096 * libc/s_acos.c: Documentation update.
8097 * libc/s_atan.c: Documentation update.
8098 * libc/s_atan2.c: Documentation update.
8099 * libc/s_cosh.c: Documentation update.
8100 * libc/s_fmod.c: Documentation update.
8101 * libc/s_isnan.c: Documentation update.
8102 * libc/s_log10.c: Documentation update.
8103 * libc/s_pow.c: Documentation update.
8104 * libc/w_jn.c: Documentation update.
8105
8106Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
8107
8108 * aclocal.m4: Regenerate.
8109 * configure: Regenerate.
8110
8111Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
8112
8113 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
8114 to return 1 if user specified return code is 0.
8115 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
8116
8117Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
8118
8119 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
8120 to save the return address. Fixed longjmp to return to the original
8121 calling address of setjmp and to return the user specified return code
8122 rather than default to 1.
8123 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
8124
8125Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
8126
8127 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
8128
81291999-02-10 Nick Clifton <nickc@cygnus.com>
8130
8131 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
8132 volatile so that its assignments will not be discarded.
8133
8134Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
8135
8136 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
8137 be __STRICT_ANSI__ which is generated by compiler.
8138 * libc/include/ctype.h: Ditto.
8139 * libc/include/math.h: Ditto.
8140 * libc/include/stdio.h: Ditto.
8141 * libc/include/stdlib.h: Ditto.
8142 * libc/include/string.h: Ditto.
8143 * libc/include/sys/signal.h: Ditto.
8144
81451999-02-08 Nick Clifton <nickc@cygnus.com>
8146
8147 * configure.host: Add support for StrongARM target.
8148
8149Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
8150
8151 * libc/string/strncpy.c (strncpy): Removed redundant code
8152 that was copying bytes if data unaligned.
8153
81541999-02-02 Brendan Kehoe <brendan@cygnus.com>
8155
8156 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
8157 mbstowcs.def, and wcstombs.def.
8158
8159Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
8160
8161 * libc/include/sys/errno.h: Add Cygwin errno.
8162 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
8163 is specified.
8164
81651999-01-29 Nick Clifton <nickc@cygnus.com>
8166
8167 * libc/sys/arm/syscalls.c: Move C library functions into seperate
8168 file.
8169
8170 * libc/sys/arm/libcfunc.c: New file containing C library functions
8171 from syscalls.c
8172
8173 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
8174 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
8175
8176
81771999-01-27 Michael Meissner <meissner@cygnus.com>
8178
8179 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
8180 type, and cut size in half so that the jmp_buf array is guaranteed
8181 to be aligned on a 64-bit boundary.
8182
8183Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
8184
8185 * libc/string/strings.tex: Added information about
8186 strcasecmp and strncasecmp.
8187 * libc/stdlib/stdlib.tex: Added missing information
8188 about mblen, mbstowcs, and wcstombs.
8189 * libc/string/strchr.c: Changed how mask is built to use
8190 shift operators so register will be used instead of storage.
8191
81921999-01-22 DJ Delorie <dj@cygnus.com>
8193
8194 * libc/include/stdlib.h: don't use dllimport if we're building
8195 newlib, since it's inside cygwin.dll
8196
8197Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
8198
8199 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
8200 _ctype_ under cygwin.
8201
8202Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
8203
8204 * include/stdlib.h: Fix typo from previous checkin.
8205
8206Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
8207
8208 * include/ctype.h: Use __declspec(dllimport) method for exporting
8209 variable from cygwin DLL.
8210 * include/time.h: Ditto.
8211 * sys/errno.h: Ditto.
8212 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
8213 * libc/locale/locale.c: Use __declspec(dllexport) method for
8214 exporting variable from cygwin DLL.
8215
8216Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
8217
8218 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
8219 access of bogus pointer will result in SIGSEGV.
8220
82211999-01-07 Nick Clifton <nickc@cygnus.com>
8222
8223 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
8224 of an underscore prefix to function names.
8225
8226Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
8227
8228 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
8229 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
8230
82311998-12-31 Michael Meissner <meissner@cygnus.com>
8232
8233 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
8234 to `%' if not already defined.
8235
82361998-12-30 Michael Meissner <meissner@cygnus.com>
8237
8238 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
8239 arguments const char *, not char *.
8240 * libc/include/stdio.h (_tempnam_r): Ditto.
8241
8242 * libc/include/sys/reent.h (struct _reent): The _sig_func type
8243 points to a function taking an integer, not void.
8244
8245Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
8246
8247 * configure.host: Add a define for Cygwin builds.
8248 * libc/include/ctype.h: Don't use dll imported variables in newlib.
8249
8250Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
8251
8252 * libc/include/ctype.h: Define _ctype_ as dll imported variable
8253 for use with Cygwin.
8254 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
8255 dll imported variables for use with Cygwin.
8256 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
8257 as a dll imported variable for Cygwin.
8258
8259Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
8260
8261 * libc/include/sys/unistd.h: Add proto for getpass.
8262
8263Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
8264
8265 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
8266 alphasort.
8267
8268Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
8269
8270 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
8271 not posix_path_list_p.
8272
82731998-12-15 Nick Clifton <nickc@cygnus.com>
8274
8275 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
8276 a signed int.
8277
82781998-12-13 Nick Clifton <nickc@cygnus.com>
8279
8280 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
8281
82821998-12-12 Nick Clifton <nickc@cygnus.com>
8283
8284 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
8285 <msalter@cygnus.com>
8286 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
8287 * libc/machine/fr30/Makefile.in: Regenerated.
8288
82891998-12-11 Nick Clifton <nickc@cygnus.com>
8290
8291 * configure.host: Remove use of libc/sys for FR30 port.
8292 * libc/sys/fr30: Remove directory (replaced by libgloss).
8293
82941998-12-10 Ken Raeburn <raeburn@cygnus.com>
8295
8296 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
8297 * libc/string/strncat.c (ALIGNED): Ditto.
8298
8299Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
8300
8301 * libc/include/sys/time.h: include sys/types.h
8302
8303Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
8304
8305 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
8306 comparison found when checking word at a time.
8307
83081998-12-04 Nick Clifton <nickc@cygnus.com>
8309
8310 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
8311
83121998-12-03 Nick Clifton <nickc@cygnus.com>
8313
8314 * libc/sys/fr30/syscalls.c (_times): New function stub.
8315
8316Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
8317
8318 * configure.host (mach_add_setjmp): Replaced mach_add_objs
8319 with mach_add_setjmp flag which indicates if setjmp should
8320 be added to the machine directory objects.
8321 * acinclude.m4: Removed reference to mach_add_objs.
8322 * aclocal.m4: Regenerated.
8323 * Makefile.in: Regenerated.
8324 * configure: Regenerated.
8325 * libc/aclocal.m4: Regenerated.
8326 * libc/Makefile.in: Regenerated.
8327 * libc/configure: Regenerated.
8328 * libc/machine/aclocal.m4: Regenerated.
8329 * libc/machine/Makefile.in: Regenerated.
8330 * libc/machine/configure: Regenerated.
8331 * libc/machine/i386/aclocal.m4: Regenerated.
8332 * libc/machine/i386/Makefile.am: Altered to selectively add
8333 setjmp.S to the src files list.
8334 * libc/machine/i386/Makefile.in: Regenerated.
8335 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
8336 * libc/machine/i386/configure: Regenerated.
8337
83381998-12-02 Nick Clifton <nickc@cygnus.com>
8339
8340 * libc/sys/fr30/crt0.s (_start): Fix function names.
8341
8342 * libc/machine/fr30: New directory
8343 * libc/machine/fr30/Makefile.am: New file.
8344 * libc/machine/fr30/Makefile.in: New generated file.
8345 * libc/machine/fr30/configure.in: New file.
8346 * libc/machine/fr30/configure: New generated file.
8347 * libc/machine/fr30/aclocal.m4: New generated file.
8348 * libc/sys/fr30/Makefile.am: New file.
8349 * libc/sys/fr30/Makefile.in: New generated file.
8350 * libc/sys/fr30/configure.in: New file.
8351 * libc/sys/fr30/configure: New generated file.
8352 * libc/sys/fr30/syscalls.c: New file.
8353
8354Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
8355
8356 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
8357
83581998-12-01 Ken Raeburn <raeburn@cygnus.com>
8359
8360 * libc/time/strftime.c (strftime): Also handle %y for years before
8361 1900.
8362
8363Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
8364
8365 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
8366 UNIX convention. Perform tolower on characters before comparing
8367 them rather than use toupper.
8368 * libc/string/strncasecmp.c (strncasecmp): Ditto.
8369
8370Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
8371
8372 * configure.host: Added using i386 machine directory
8373 for all x86 cross-compiler and configuring
8374 which added object files to use via new "mach_add_objs" variable.
8375 * configure: Regenerated.
8376 * libc/configure: Regenerated.
8377 * libc/Makefile.in: Regenerated.
8378 * libc/aclocal.m4: Regenerated.
8379 * libc/ctype/Makefile.in: Regenerated.
8380 * libc/errno/Makefile.in: Regenerated.
8381 * libc/locale/Makefile.in: Regenerated.
8382 * libc/machine/Makefile.in: Regenerated.
8383 * libc/machine/aclocal.m4: Regenerated.
8384 * libc/machine/configure: Regenerated.
8385 * libc/posix/Makefile.in: Regenerated.
8386 * libc/reent/Makefile.in: Regenerated.
8387 * libc/signal/Makefile.in: Regenerated.
8388 * libc/stdio/Makefile.in: Regenerated.
8389 * libc/stdlib/Makefile.in: Regenerated.
8390 * libc/string/Makefile.in: Regenerated.
8391 * libc/string/memmove.c: Optimized code to use memcpy
8392 logic when performing a non-destructive copy.
8393 * libc/string/strncmp.c: Altered code to allow building
8394 optimized for size or speed.
8395 * libc/syscalls/Makefile.in: Regenerated.
8396 * libc/time/Makefile.in: Regenerated.
8397 * libc/unix/Makefile.in: Regenerated.
8398 * libc/machine/i386/Makefile.am: Added new files and reference
8399 to "mach_add_objs" to indicate optional object files.
8400 * libc/machine/i386/Makefile.in: Regenerated.
8401 * libc/machine/i386/aclocal.m4: Regenerated.
8402 * libc/machine/i386/configure: Regenerated.
8403 * libc/machine/i386/memchr.S: New file that implements
8404 function in Intel assembler.
8405 * libc/machine/i386/memcmp.S: ditto.
8406 * libc/machine/i386/memcpy.S: ditto.
8407 * libc/machine/i386/memmove.S: ditto.
8408 * libc/machine/i386/memset.S: ditto.
8409 * libc/machine/i386/strchr.S: ditto.
8410 * libc/machine/i386/strlen.S: ditto.
8411 * libc/machine/i386/f_atan2.S: New file that implements
8412 fast version of math function to be used by compiler when
8413 --ffast_math compile option is used.
8414 * libc/machine/i386/f_atan2f.S: ditto.
8415 * libc/machine/i386/f_exp.c: ditto.
8416 * libc/machine/i386/f_expf.c: ditto.
8417 * libc/machine/i386/f_frexp.S: ditto.
8418 * libc/machine/i386/f_frexpf.S: ditto.
8419 * libc/machine/i386/f_ldexp.S: ditto.
8420 * libc/machine/i386/f_ldexpf.S: ditto.
8421 * libc/machine/i386/f_log.S: ditto.
8422 * libc/machine/i386/f_logf.S: ditto.
8423 * libc/machine/i386/f_log10.S: ditto.
8424 * libc/machine/i386/f_log10f.S: ditto.
8425 * libc/machine/i386/f_math.h: New file.
8426 * libc/machine/i386/f_pow.c: ditto.
8427 * libc/machine/i386/f_powf.S: ditto.
8428 * libc/machine/i386/f_tan.S: ditto.
8429 * libc/machine/i386/f_tan.S: ditto.
8430 * libc/machine/i386/i386mach.h: New file.
8431
8432Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
8433
8434 patch from Mumit Khan <khan@xraylith.wisc.edu>
8435 * libc/include/stdio.h (tempnam): Add prototype.
8436 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
8437 (tempnam): Adhere to prototype.
8438
8439Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
8440
8441 * Makefile.am: Add default for AR_FLAGS.
8442 * Makefile.in: Regenerate.
8443
8444Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
8445
8446 * libc/include/time.h: move __cplusplus wrapper after includes
8447 * libc/include/sys/time.h: ditto. If Cygwin, include
8448 sys/select.h.
8449 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
8450
84511998-11-23 Ken Raeburn <raeburn@cygnus.com>
8452
8453 * libc/time/strftime.c (strftime): Handle %y after year 2000.
8454
8455Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
8456
8457 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
8458 abnormnal end-of-crt0 marker.
8459
8460Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
8461
8462 * libc/sys/fr30/crt0.s: New file/directory.
8463 * libc/include/machine/setjmp.h: Add FR30 target.
8464 * libc/include/machine/ieeefp.h: Add FR30 target.
8465 * configure.host: Add FR30 target.
8466
8467Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
8468
8469 * libm/math: Files that are duplicated in common directory removed.
8470 * libm/math/fdlibm.h: Removed.
8471 * libm/math/s_cbrt.c: Removed.
8472 * libm/math/s_copysign.c: Removed.
8473 * libm/math/s_expm1.c: Removed.
8474 * libm/math/s_finite.c: Removed.
8475 * libm/math/s_ilogb.c: Removed.
8476 * libm/math/s_infinity.c: Removed.
8477 * libm/math/s_lib_ver.c: Removed.
8478 * libm/math/s_log1p.c: Removed.
8479 * libm/math/s_logb.c: Removed.
8480 * libm/math/s_matherr.c: Removed.
8481 * libm/math/s_modf.c: Removed.
8482 * libm/math/s_nan.c: Removed.
8483 * libm/math/s_nextafter.c: Removed.
8484 * libm/math/s_rint.c: Removed.
8485 * libm/math/s_scalbn.c: Removed.
8486 * libm/math/sf_cbrt.c: Removed.
8487 * libm/math/sf_copysign.c: Removed.
8488 * libm/math/sf_expm1.c: Removed.
8489 * libm/math/sf_finite.c: Removed.
8490 * libm/math/sf_ilogb.c: Removed.
8491 * libm/math/sf_infinity.c: Removed.
8492 * libm/math/sf_log1p.c: Removed.
8493 * libm/math/sf_logb.c: Removed.
8494 * libm/math/sf_modf.c: Removed.
8495 * libm/math/sf_nan.c: Removed.
8496 * libm/math/sf_nextafter.c: Removed.
8497 * libm/math/sf_rint.c: Removed.
8498 * libm/math/sf_scalbn.c: Removed.
8499 * libm/math/Makefile.am: Removed references to deleted files (above).
8500 * libm/math/Makefile.in: Regenerated.
8501 * libm/Makefile.am: Added common directory to math.
8502 * libm/Makefile.in: Regenerated.
8503
8504Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
8505
8506 * libm/mathfp: Add non-ANSI functions.
8507 * libm/mathfp/e_acosh.c acosh(): New file.
8508 * libm/mathfp/e_atanh.c atanh(): New file.
8509 * libm/mathfp/e_hypot.c hypot(): New file.
8510 * libm/mathfp/e_j0.c j0(): New file.
8511 * libm/mathfp/e_j1.c j1(): New file.
8512 * libm/mathfp/e_remainder.c remainder(): New file.
8513 * libm/mathfp/e_scalb.c scalb(): New file.
8514 * libm/mathfp/ef_acosh.c acoshf(): New file.
8515 * libm/mathfp/ef_atanh.c atanhf(): New file.
8516 * libm/mathfp/ef_hypot.c hypotf(): New file.
8517 * libm/mathfp/ef_j0.c j0f(): New file.
8518 * libm/mathfp/ef_j1.c j1f(): New file.
8519 * libm/mathfp/ef_remainder.c remainderf(): New file.
8520 * libm/mathfp/ef_scalb.c scalbf(): New file.
8521 * libm/mathfp/er_gamma.c gamma_r: New file.
8522 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
8523 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
8524 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
8525 * libm/mathfp/w_cabs.c cabs(): New file.
8526 * libm/mathfp/w_drem.c drem(): New file.
8527 * libm/mathfp/w_jn.c jn(): New file.
8528 * libm/mathfp/wf_cabs.c cabsf(): New file.
8529 * libm/mathfp/wf_drem.c dremf(): New file.
8530 * libm/mathfp/wf_jn.c jnf(): New file.
8531
8532Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
8533
8534 * libc/sys/cygwin32: remove directory and contents
8535 * libc/sys/cygwin: and add back, losing the "32".
8536 * configure.host: check for cygwin* instead of cygwin32.
8537 * acinclude.m4: ditto.
8538 * aclocal.m4: regenerate with aclocal
8539 * configure: regenerate with autoconf
8540
8541Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
8542
8543 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
8544 for length
8545
8546Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8547
8548 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
8549 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
8550 to make rand/srand, strtok, asctime, localtime, w_gamma,
8551 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
8552 time.h to bring in struct tm definition.
8553 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
8554 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
8555 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
8556 instead of static variable.
8557 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
8558 struct reent instead of static variable.
8559 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
8560 struct reent instead of static variable.
8561 * libm/math/Makefile.am: Removed s_signgam.o.
8562 * libm/math/Makefile.in: Regenerated.
8563 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
8564 struct reent instead of global variable 'signgam'.
8565 * libm/math/w_lgamma.c (lgamma): Likewise.
8566 * libm/math/wf_gamma.c (gammaf): Likewise.
8567 * libm/math/wf_lgamma.c (lgammaf): Likewise.
8568 * libm/math/s_signgam.c: Removed.
8569 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
8570 to be const.
8571 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
8572 to be const.
8573 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
8574 libc/include/reent.h.
8575 * libc/reent/Makefile.in: Regenerated.
8576 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
8577 to be const.
8578 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
8579 'JIS_action_table' to be const.
8580 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
8581
8582Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
8583
8584 * acinclude.m4: $with_target_subdir should default to '.'
8585 or confusion results when configuring in same directory as sources.
8586 * Regenerate all aclocal.m4 and configure files.
8587
8588Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
8589
8590 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
8591 can be set by defining MALLOC_ALIGNMENT=16. Also added support
8592 for platforms where sizeof(size_t) < sizeof(long) via
8593 SIZE_T_SMALLER_THAN_LONG macro.
8594
8595Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
8596
8597 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
8598 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
8599 which sets _CLOCKS_PER_SEC_ for selected machines.
8600 * libc/include/machine/time.h: New file.
8601
8602Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8603
8604 * libc/syscalls/sysexecve.c: New file.
8605 * libc/syscalls/sysgettod.c: New file.
8606 * libc/syscalls/systimes.c: New file.
8607 * libc/syscalls/Makefile.am: Added new objects.
8608 * libc/syscalls/Makefile.in: Regenerated.
8609 * libc/include/_syslist.h (_execve): Moved define in file.
8610 * libc/include/reent.h: Added _execve_r declaration.
8611 * libc/Makefile.in: Regenerated.
8612 * libc/ctype/Makefile.in: Regenerated.
8613 * libc/errno/Makefile.in: Regenerated.
8614 * libc/locale/Makefile.in: Regenerated.
8615 * libc/machine/Makefile.in: Regenerated.
8616 * libc/misc/Makefile.in: Regenerated.
8617 * libc/posix/Makefile.in: Regenerated.
8618 * libc/reent/Makefile.in: Regenerated.
8619 * libc/reent/execr.c (_execve_r): Added _execve_r function.
8620 * libc/signal/Makefile.in: Regenerated.
8621 * libc/stdio/Makefile.in: Regenerated.
8622 * libc/time/Makefile.in: Regenerated.
8623 * libc/unix/Makefile.in: Regenerated.
8624 * libm/mathfp/Makefile.in: Regenerated.
8625
8626Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8627
8628 * libc/string/Makefile.in: Regenerated.
8629 * libc/string/memchr.c (memchr): Moved code to reduce object size.
8630 * libc/string/memcpy.c (memcpy): Ditto.
8631 * libc/string/memcmp.c (memcmp): Ditto.
8632 * libc/string/memset.c (memset): Ditto.
8633 * libc/string/strchr.c (strchr): Ditto.
8634 * libc/string/strcmp.c (strcmp): Ditto.
8635 * libc/string/strcpy.c (strcpy): Ditto.
8636 * libc/string/strlen.c (strlen): Ditto.
8637
8638Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8639
8640 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
8641 to generate aclocal.m4.
8642 * libm/Makefile.in: Regenerated.
8643 * libm/aclocal.m4: Regenerated.
8644 * libm/configure: Regenerated.
8645 * libm/math/Makefile.in: Regenerated.
8646 * libm/mathfp/Makefile.in: Regenerated.
8647
86481998-09-25 Mark Salter <msalter@cygnus.com>
8649
8650 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
8651 by adding leading and trailing underscores to symbol names.
8652
8653Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
8654
8655 * Makefile.in: Add default for AR_FLAGS.
8656
8657Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
8658
8659 patch from ian@airs.com (Ian Taylor):
8660 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
8661 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
8662 is needed for detecting the build machine. Required for
8663 cygwin native builds.
8664
8665 * Regenerate all aclocal.m4 and configure files.
8666
8667Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
8668
8669 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
8670 used to start with LC.
8671
8672Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8673
8674 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
8675 (longjmp): Likewise.
8676
8677Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8678
8679 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
8680 the test for small number of bytes.
8681
8682Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
8683
8684 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
8685 math library that uses floating point algorithms instead of the old
8686 libm.
8687 * Makefile.in: Regenerate with automake version 1.3b.
8688 * configure: Rebuild.
8689 * libm/Makefile.in: Regenerate with automake version 1.3b.
8690 * libm/aclocal.m4: Regenerate.
8691 * libm/configure: Rebuild.
8692 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
8693 * libm/acinclude.m4: Define macros for configure.in.
8694 * libm/config.h.in: Generate.
8695 * libm/mathfp/Makefile.am: New file.
8696 * libm/mathfp/Makefile.in: Generate.
8697 * libm/mathfp/s_acos.c (acos): New file.
8698 * libm/mathfp/s_asin.c (asin): New file.
8699 * libm/mathfp/s_asine.c (asine): New file.
8700 * libm/mathfp/s_atan.c (atan): New file.
8701 * libm/mathfp/s_atan2.c (atan2): New file.
8702 * libm/mathfp/s_atangent.c (atangent): New file.
8703 * libm/mathfp/s_ceil.c (ceil): New file.
8704 * libm/mathfp/s_copysign.c (copysign): New file.
8705 * libm/mathfp/s_cos.c (cos): New file.
8706 * libm/mathfp/s_cosh.c (cosh): New file.
8707 * libm/mathfp/s_exp.c (exp): New file.
8708 * libm/mathfp/s_fabs.c (fabs): New file.
8709 * libm/mathfp/s_finite.c (finite): New file.
8710 * libm/mathfp/s_floor.c (floor): New file.
8711 * libm/mathfp/s_fmod.c (fmod): New file.
8712 * libm/mathfp/s_frexp.c (frexp): New file.
8713 * libm/mathfp/s_infconst.c: New file.
8714 * libm/mathfp/s_isinf (isinf).c: New file.
8715 * libm/mathfp/s_isnan.c (isnan): New file.
8716 * libm/mathfp/s_ispos.c (ispos): New file.
8717 * libm/mathfp/s_ldexp.c (ldexp): New file.
8718 * libm/mathfp/s_log.c (log): New file.
8719 * libm/mathfp/s_log10.c (log10): New file.
8720 * libm/mathfp/s_logarithm.c (logarithm): New file.
8721 * libm/mathfp/s_mathcnst.c: New file.
8722 * libm/mathfp/s_modf (modf).c: New file.
8723 * libm/mathfp/s_numtest.c (numtest): New file.
8724 * libm/mathfp/s_pow.c (pow): New file.
8725 * libm/mathfp/s_scalbn.c (scalbn): New file.
8726 * libm/mathfp/s_sin (sin).c: New file.
8727 * libm/mathfp/s_sine.c (sine): New file.
8728 * libm/mathfp/s_sineh.c (sineh): New file.
8729 * libm/mathfp/s_sinf.c (sinf): New file.
8730 * libm/mathfp/s_sinh.c (sinh): New file.
8731 * libm/mathfp/s_sqrt.c (sqrt): New file.
8732 * libm/mathfp/s_tan.c (tan): New file.
8733 * libm/mathfp/s_tanh.c (tanh): New file.
8734 * libm/mathfp/sf_acos.c (acosf): New file.
8735 * libm/mathfp/sf_asin.c (asinf): New file.
8736 * libm/mathfp/sf_asine.c (asinef): New file.
8737 * libm/mathfp/sf_atan.c (atanf): New file.
8738 * libm/mathfp/sf_atan2.c (atan2f): New file.
8739 * libm/mathfp/sf_atangent.c (atangent): New file.
8740 * libm/mathfp/sf_ceil.c (ceilf): New file.
8741 * libm/mathfp/sf_copysign.c (copysignf): New file.
8742 * libm/mathfp/sf_cos.c (cosf): New file.
8743 * libm/mathfp/sf_cosh.c (coshf): New file.
8744 * libm/mathfp/sf_exp.c (expf): New file.
8745 * libm/mathfp/sf_fabs.c (fabsf): New file.
8746 * libm/mathfp/sf_finite.c (finitef): New file.
8747 * libm/mathfp/sf_floor.c (floorf): New file.
8748 * libm/mathfp/sf_fmod.c (fmodf): New file.
8749 * libm/mathfp/sf_frexp.c (frexpf): New file.
8750 * libm/mathfp/sf_isinf.c (isinff): New file.
8751 * libm/mathfp/sf_isnan.c (isnanf): New file.
8752 * libm/mathfp/sf_ispos.c (isposf): New file.
8753 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
8754 * libm/mathfp/sf_log.c (logf): New file.
8755 * libm/mathfp/sf_log10.c (log10f): New file.
8756 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
8757 * libm/mathfp/sf_modf.c (modff): New file.
8758 * libm/mathfp/sf_numtest.c (numtestf): New file.
8759 * libm/mathfp/sf_pow.c (powf): New file.
8760 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
8761 * libm/mathfp/sf_sin.c (sinf): New file.
8762 * libm/mathfp/sf_sine.c (sinef): New file.
8763 * libm/mathfp/sf_sineh.c (sinehf): New file.
8764 * libm/mathfp/sf_sinh.c (sinhf): New file.
8765 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
8766 * libm/mathfp/sf_tan.c (tanf): New file.
8767 * libm/mathfp/sf_tanh.c (tanhf): New file.
8768 * libm/mathfp/zmath.h: New file.
8769
8770Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8771
8772 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
8773 exit if it has been overwritten by pre-fetching in delay slot.
8774
87751998-09-01 Michael Meissner <meissner@cygnus.com>
8776
8777 * Makefile.am (tooldir): Add in host_alias, so that multilib
8778 libraries are installed in the directory the compiler looks in.
8779 * Makefile.in: Regenerate.
8780
8781 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
8782
8783Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
8784
8785 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
8786 ahead of test for number of bytes being moved.
8787
8788Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
8789
8790 * libc/include/sys/unistd.h: Nothing special needed for
8791 _exit under cygwin.
8792
8793Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
8794
8795 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
8796 conform to user label naming conventions.
8797
8798Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
8799
8800 * libc/sys/cygwin32/sys/utime.h: variable names in
8801 protos should start with two leading underscores
8802 * libc/include/string.h: ditto
8803 * libc/include/sys/signal.h: ditto
8804 * libc/include/sys/stat.h: ditto
8805 * libc/include/sys/time.h: ditto
8806 * libc/include/sys/unistd.h: ditto
8807 * libc/include/ctype.h: ditto
8808 * libc/include/stdlib.h: ditto
8809 * libc/include/sys/reent.h: struct _atexit function ptr takes a
8810 void, same with _sig_func.
8811
8812Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
8813
8814 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
8815 for MB_CAPABLE to reduce code size when newlib is not configured
8816 with --enable-newlib-mb.
8817 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
8818 mbtowc_r.o to minimize size.
8819 * libc/stdlib/Makefile.in: Rebuild.
8820
8821Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
8822
8823 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
8824 to -DREENT.
8825 * libc/sys/sparc64/Makefile.in: Rebuild.
8826
8827Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
8828
8829 * Makefile.am (MAKEOVERRIDES): Define.
8830 * Makefile.in: Rebuild.
8831
8832Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
8833
8834 * libc/sys/sparc64/sys/stat.h (stat): Add const.
8835
8836Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
8837
8838 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
8839 newlib_cflags when looking for targ-include.
8840 * */aclocal.m4, */configure: Rebuild.
8841
8842Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
8843
8844 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
8845 to "_end".
8846
8847Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
8848
8849 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
8850 on SPARCs with little-endian data.
8851 * libc/include/machine/ieeefp.h: Ditto.
8852
8853Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
8854
8855 * acinclude.m4: Handle a relative srcdir correctly when setting
8856 newlib_cflags.
8857 * */aclocal.m4, */configure: Rebuild.
8858
8859Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
8860
8861 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
8862 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
8863 * libm/math/wrf_gamma.c (gammaf_r): ditto
8864 * libm/math/wr_lgamma.c (lgamma_r): ditto
8865 * libm/math/wr_gamma.c (gamma_r): ditto
8866 * libm/math/wf_sqrt.c (sqrtf): ditto
8867 * libm/math/wf_sinh.c (sinhf): ditto
8868 * libm/math/wf_scalb.c (scalbf): ditto
8869 * libm/math/wf_remainder.c (remainderf): ditto
8870 * libm/math/wf_pow.c (powf): ditto
8871 * libm/math/wf_log10.c (log10f): ditto
8872 * libm/math/wf_log.c (logf): ditto
8873 * libm/math/wf_lgamma.c (lgammaf): ditto
8874 * libm/math/wf_jn.c (jnf, ynf): ditto
8875 * libm/math/wf_j1.c (j1f, y1f): ditto
8876 * libm/math/wf_j0.c (j0f, y0f): ditto
8877 * libm/math/wf_hypot.c (hypotf): ditto
8878 * libm/math/wf_gamma.c (gammaf): ditto
8879 * libm/math/wf_fmod.c (fmodf): ditto
8880 * libm/math/wf_exp.c (expf): ditto
8881 * libm/math/wf_cosh.c (coshf): ditto
8882 * libm/math/wf_atanh.c (atanhf): ditto
8883 * libm/math/wf_atan2f.c (atan2f): ditto
8884 * libm/math/wf_asin.c (asinf): ditto
8885 * libm/math/wf_acosh.c (acoshf): ditto
8886 * libm/math/wf_acos.c (acosf): ditto
8887 * libm/math/w_sqrt.c (sqrt): ditto
8888 * libm/math/w_sinh.c (sinh): ditto
8889 * libm/math/w_scalb.c (scalb): ditto
8890 * libm/math/w_remainder.c (remainder): ditto
8891 * libm/math/w_pow.c (pow): ditto
8892 * libm/math/w_log10.c (log10): ditto
8893 * libm/math/w_log.c (log): ditto
8894 * libm/math/w_lgamma.c (lgamma): ditto
8895 * libm/math/w_jn.c (jn, yn): ditto
8896 * libm/math/w_j1.c (j1, y1): ditto
8897 * libm/math/w_j0.c (j0, y0): ditto
8898 * libm/math/w_hypot.c (hypot): ditto
8899 * libm/math/w_gamma.c (gamma): ditto
8900 * libm/math/w_fmod.c (fmod): ditto
8901 * libm/math/w_exp.c (exp): ditto
8902 * libm/math/w_cosh.c (cosh): ditto
8903 * libm/math/w_atanh.c (atanh): ditto
8904 * libm/math/w_atan2f.c (atan2): ditto
8905 * libm/math/w_asin.c (asin): ditto
8906 * libm/math/w_acosh.c (acosh): ditto
8907 * libm/math/w_acos.c (acos): ditto
8908
8909Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
8910
8911 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
8912 (fsrc): Add wf_cabs.c and wf_drem.c.
8913 * libm/math/Makefile.in: Rebuild.
8914
8915 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
8916 unused directory variables. Remove duplicate CFLAGS.
8917 * Makefile.in: Rebuild.
8918
8919 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
8920 with $(CC_FOR_BUILD).
8921 (makedoc.o): Likewise.
8922 * doc/Makefile.in: Rebuild.
8923
8924 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
8925 force a definition of COMPILE.
8926 (libfoo_a_SOURCES): Define.
8927 * libc/sys/cygwin32/Makefile.in: Rebuild.
8928 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
8929 force a definition of COMPILE.
8930 (libfoo_a_SOURCES): Define.
8931 * libc/sys/tic80/Makefile.in: Rebuild.
8932
8933Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
8934
8935 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
8936 flag.
8937
8938Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
8939
8940 * Build using autoconf and automake. Added many Makefile.am and
8941 configure.in files, plus generated files. Old configure.in files
8942 and all old Makefile.in files completely replaced. Removed
8943 host/any. Added acinclude.m4 and configure.host.
8944
8945Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
8946
8947 * libc/stdio/vfprintf.c: enable long long support, sometimes.
8948 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
8949
8950Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8951
8952 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
8953 * libc/machine/sh/Makefile.in: Add rules for new files.
8954
8955Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8956
8957 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
8958 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
8959 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
8960
8961Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
8962
8963 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
8964 code is ignored.
8965
8966Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
8967
8968 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
8969 internal static buffer when s is NULL, as prescribed by ANSI.
8970
89711998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
8972
8973 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
8974 removed.
8975 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
8976 libc/stdlib will be used for h8300hms.
8977
8978Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
8979
8980 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
8981 version that can be built either for speed or size.
8982 * libc/machine/mn10300/memset.S (_memset): ditto
8983 * libc/machine/mn10300/memchr.S (_memchr): ditto
8984 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
8985 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
8986 * libc/machine/mn10300/strchr.S (_strchr): ditto
8987 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
8988 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
8989 * libc/machine/mn10300/Makefile.in: Added entries for
8990 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8991 strcmp.o, strcpy.o, and strlen.o.
8992
8993Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
8994
8995 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
8996 been replaced with libgloss/mn10200.
8997
8998Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
8999
9000 * libc/string/strchr.c (strchr): Make s a constant pointer to
9001 avoid warning.
9002
9003Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
9004
9005 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
9006 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
9007 board SWIs instead of Demon board SWIs).
9008
9009Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
9010
9011 * libc/string/strncat.c (strncat): Make -Os act the same as
9012 PREFER_SIZE_OVER_SPEED being defined.
9013
9014Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
9015
9016 * libc/string/memchr.c (memchr): Make -Os act the same as
9017 PREFER_SIZE_OVER_SPEED being defined.
9018 * libc/string/memcmp.c (memcmp): Ditto.
9019 * libc/string/memcpy.c (memcpy): Ditto.
9020 * libc/string/memset.c (memset): Ditto.
9021 * libc/string/strcat.c (strcat): Ditto.
9022 * libc/string/strchr.c (strchr): Ditto.
9023 * libc/string/strcmp.c (strcmp): Ditto.
9024 * libc/string/strcpy.c (strcpy): Ditto.
9025 * libc/string/strlen.c (strlen): Ditto.
9026 * libc/string/strncat.c (strncat): Ditto.
9027 * libc/string/strncmp.c (strncmp): Ditto.
9028 * libc/string/strncpy.c (strncpy): Ditto.
9029
9030Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
9031
9032 * libc/include/sys/itimer.h: remove
9033 * libc/include/sys/time.h: itimer stuff should be here
9034
9035Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
9036
9037 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
9038 bit instead of comparing to 0 so -0.0 can be printed correctly.
9039
9040Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9041
9042 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
9043
9044Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
9045
9046 * libc/include/sys/unistd.h: fix sync() proto
9047 * libc/include/sys/fcntl.h: remove _close which is already
9048 defined in unistd.h.
9049 * libc/include/sys/time.h: add getitimer proto
9050
9051Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
9052
9053 * libc/string/strchr.c: convert arg to unsigned char
9054 * libc/include/stdlib.h: add protos for random, srandom
9055 * libc/include/sys/stat.h: add lstat proto
9056 * libc/include/sys/time.h: add setitimer proto
9057 * libc/include/sys/unistd.h: add readlink, symlink protos
9058 * libc/include/process.h: instead of including windows.h and using
9059 HANDLEs in sexec protos, just use void *s. Need to include
9060 sys/types.h.
9061
9062Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
9063
9064 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
9065
9066Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
9067
9068 * libc/include/process.h: add secure exec protos
9069
9070Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
9071
9072 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
9073 which are accessed as both doubles and integers.
9074 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
9075 * libc/stdlib/strtod.c (_strtod_r): Likewise.
9076 * libc/stdlib/mprec.h: Add "union double_union" and change
9077 word0/word1 macros to use it.
9078
9079Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
9080
9081 * libc/include/sys/signal.h: add __cplusplus wrapper
9082
9083Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
9084
9085 * libc/include/sys/utime.h: new generic file that gets replaced by
9086 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
9087 function.
9088 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
9089 * libc/include/time.h: remove duplicate utime proto
9090 * libc/include/utime.h: add comment
9091
9092Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
9093
9094 * libc/include/sys/time.h: Add missing include to
9095 allow use of _EXFUN. Remove times function that is
9096 already defined in times.h.
9097
9098Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
9099
9100 * libc/include/time.h: Fix typo in tzset.
9101
9102Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
9103
9104 * libc/include/sys/time.h: add missing Cygwin32 function protos
9105 * libc/include/sys/unistd.h: ditto
9106 * libc/include/time.h: ditto
9107
9108Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
9109
9110 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
9111 FIXME.
9112 * libc/include/sys/types.h: add a new __MS_types__ section
9113 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
9114 __BIT_TYPES_DEFINED__.
9115
9116Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
9117
9118 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
9119 since it overrides the one in libc/include/sys. Also, start
9120 including types.h.
9121
9122Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
9123
9124 * libm/math/Makefile.in: add s_signgam.o to obj list
9125
9126Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
9127
9128 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
9129
9130Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
9131
9132 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
9133 so don't use defines.
9134
9135Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
9136
9137 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
9138
9139Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
9140
9141 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
9142 _current_locale as default locale.
9143
9144Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
9145
9146 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
9147 insufficient space in a chunk.
9148
9149Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
9150
9151 * configure.in (links): Added check for --enable-newlib-mb configure
9152 option which defines the MB_CAPABLE macro.
9153 * libc/locale/locale.c (_setlocale_r): Added support for setting
9154 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
9155 defined.
9156 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
9157 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
9158 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
9159 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
9160 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
9161 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
9162 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
9163 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
9164 * libc/stdlib/Makefile.in: Added new multibyte
9165 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
9166 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
9167 _mbstowcs_r(), and _wcstombs_r().
9168 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
9169 for JIS, SJIS, and EUC-JP characters.
9170 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
9171 MB_CAPABLE defined.
9172 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
9173 MB_CAPABLE defined.
9174 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
9175 MB_CAPABLE defined.
9176 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
9177 if MB_CAPABLE defined.
9178 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
9179 if MB_CAPABLE defined.
9180 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
9181 to the format string processing when MB_CAPABLE.
9182 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
9183 call _mbtowc_r().
9184
9185Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
9186
9187 The following modifications are courtesy of Anthony Thompson,
9188 athompson@cambridge.arm.com:
9189 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
9190 boith RDI and RDP monitors.
9191 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
9192 RDI and RDP monitors.
9193
9194Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
9195
9196 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
9197 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
9198 (_swiopen): Fixed open flags to treat write with append as just append.
9199 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
9200 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
9201
9202Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9203
9204 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
9205 When needing to transfer an initial 2-byte-word, store as
9206 two single bytes.
9207
9208Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9209
9210 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
9211 __SH3E__ .
9212 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
9213 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
9214
9215Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
9216
9217 * configure.in (target_cflags): If --enable-target-optspace, use
9218 -Os to compile newlib rather than -O2. Default to using -Os for
9219 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
9220 used.
9221
9222Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
9223
9224 * libc/include/machine/setjmp.h: change sigsetjmp and
9225 siglongjmp definitions to use an array instead of a struct
9226 for __CYGWIN32__
9227
9228Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
9229
9230 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
9231
9232Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
9233
9234 * libc/string/strxfrm.c: fix to get correct return value
9235
9236Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
9237
9238 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
9239 builds. Make mode change labels global so that they will be seen
9240 by the debugger.
9241
9242Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
9243
9244 * configure.in (links): Do not use ARM debiugging protocols for PE
9245 builds.
9246
9247 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
9248 message.
9249
9250Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
9251
9252 * libc/stdio/findfp.c (__sinit): Made stdout default to
9253 line buffered mode as defined by ANSI.
9254
9255Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
9256
9257 * libc/include/sys/itimer.h: New file.
9258
9259 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
9260
9261Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9262
9263 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
9264 failure.
9265
9266Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
9267
9268 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
9269 insns.
9270
9271Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
9272
9273 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
9274
9275Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
9276
9277 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
9278 support.
9279
9280 * libc/include/machine/setjmp.h: Add D30V support.
9281
9282 * configure.in (d30v-*): Add d30v machine directory.
9283
9284Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
9285
9286 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
9287 been replaced with libgloss/mn10300.
9288
9289Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
9290
9291 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
9292 it is no longer needed.
9293
9294Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
9295
9296 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
9297
9298Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
9299
9300 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
9301 the file when O_APPEND is set, wherever the EOF happens to be at
9302 that time.
9303
9304Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
9305
9306 patch from cgf@bbc.com (Christopher Faylor):
9307 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
9308 convention of closing fp prior to attempting to open the file
9309 argument. This allows correct operation when reopening
9310 stdin/stdout/stderr. Replaces last freopen.c patch.
9311
9312Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
9313
9314 patch from cgf@bbc.com (Christopher Faylor):
9315 * libc/stdio/freopen.c: freopen was not preserving the fd
9316 of the stream being operated on. This confuses programs that
9317 expect that the handles for stdout and stderr will be 1 and 2.
9318
9319Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
9320
9321 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
9322
9323Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
9324
9325 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
9326
9327Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
9328
9329 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
9330 altered to not use a branch. Also added hint that last
9331 bclr in longjmp will likely result in branch.
9332
9333
9334Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
9335
9336 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
9337
9338Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
9339
9340 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
9341 v850 builds.
9342
9343 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
9344
9345Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
9346
9347 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
9348 that loads FR14 to specify offset of 8 rather than 4
9349 so it loads from offset 96 (where setjmp stored it).
9350
9351Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
9352
9353 * libc/machine/sh/memcpy.S: (_memcpy): Update to
9354 latest version supplied by customer.
9355 * libc/machine/sh/memset.S (_memset): Ditto.
9356
9357Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
9358
9359 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
9360 PR14730).
9361
9362Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
9363
9364 * libc/include/string.h: remove redefinition of ffs
9365
9366Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
9367
9368 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
9369 defined
9370
9371Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
9372
9373 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
9374 TI Libraries to link to libc.a
9375
9376Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
9377
9378 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
9379 * libc/include/sys/stat.h (_{,f}stat): Ditto.
9380 * libc/include/sys/wait.h (_wait): Ditto.
9381 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
9382 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
9383
9384Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
9385
9386 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
9387 minded stabs so function name shows up when running the simulator
9388 with -t.
9389 * libc/sys/d10v/{crt0,trap}.S: Ditto.
9390
9391Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
9392
9393 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
9394 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
9395 Use R5 where we used to use R3.
9396
9397Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
9398
9399 * libc/stdlib/getopt.c (getopt): replaced __progname
9400 with nargv[0] to improve portability to imbedded systems.
9401
9402Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
9403
9404 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
9405 patch supplied by Tont.Thompson@arm.com to fix the creation of the
9406 stdout file.
9407
9408Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
9409
9410 * libc/stdio/tmpnam.c (worker): Generate a different file name
9411 each time.
9412
9413 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
9414 fails, try an execlp for sh.
9415
9416 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
9417 option for the winsup include directory.
9418
9419Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
9420
9421 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
9422 debugging interface from Tony.Thompson@arm.com.
9423
9424 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
9425 * libc/sys/arm/swi.h: ditto.
9426
9427Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
9428
9429 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
9430 DIR struct used for readdir hashes.
9431
9432Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
9433
9434 * libc/string/strchr.c: Use "unsigned chars" as necessary.
9435
9436Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
9437
9438 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
9439 integer targets.
9440
9441Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
9442
9443 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
9444 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
9445 * libc/include/malloc.h: Add extern "C" if __cplusplus.
9446 (__malloc_copy): Declare.
9447
9448Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
9449
9450 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
9451 <sys/config.h>.
9452 (POINTER_UINT): Define.
9453 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
9454 (MALLOC_ALIGNMENT): Don't define if already defined.
9455 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
9456 long.
9457
9458Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
9459
9460 * libc/string/memset.c (memset): Fiddle with code so that the long
9461 value being stored is not a stack value. Unroll storing longs 4
9462 times.
9463
9464Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
9465
9466 * Reduce code size for libm modules.
9467 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
9468 and simply move code into sqrt.
9469 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
9470 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
9471 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
9472 * libm/math/wr_gamma.c (gamma_r): Likewise.
9473 * libm/math/wf_sinh.c (sinfh): Likewise.
9474 * libm/math/w_sinh.c (sinh): Likewise.
9475 * libm/math/wf_scalb.c (scalbf): Likewise.
9476 * libm/math/w_scalb.c (scalb): Likewise.
9477 * libm/math/wf_remainder.c (remainderf): Likewise.
9478 * libm/math/w_remainder.c (remainder): Likewise.
9479 * libm/math/wf_pow.c (powf): Likewise.
9480 * libm/math/w_pow.c (pow): Likewise.
9481 * libm/math/wf_log10.c (log10f): Likewise.
9482 * libm/math/w_log10.c (log10): Likewise.
9483 * libm/math/wf_log.c (logf): Likewise.
9484 * libm/math/w_log.c (log): Likewise.
9485 * libm/math/w_lgamma.c (lgamma): Likewise.
9486 * libm/math/wf_lgamma.c (lgammaf): Likewise.
9487 * libm/math/wf_jn.c (jnf): Likewise.
9488 * libm/math/w_jn.c (jn): Likewise.
9489 * libm/math/wf_j1.c (j1f): Likewise.
9490 * libm/math/w_j1.c (j1): Likewise.
9491 * libm/math/wf_j0.c (j0f): Likewise.
9492 * libm/math/w_j0.c (j0): Likewise.
9493 * libm/math/wf_hypot.c (hypotf): Likewise.
9494 * libm/math/w_hypot.c (hypot): Likewise.
9495 * libm/math/wf_gamma.c (gammaf): Likewise.
9496 * libm/math/w_gamma.c (gamma): Likewise.
9497 * libm/math/wf_fmod.c (fmodf): Likewise.
9498 * libm/math/w_fmod.c (fmod): Likewise.
9499 * libm/math/wf_exp.c (expf): Likewise.
9500 * libm/math/w_exp.c (exp): Likewise.
9501 * libm/math/wf_cosh.c (coshf): Likewise.
9502 * libm/math/w_cosh.c (cosh): Likewise.
9503 * libm/math/wf_atanh.c (atanhf): Likewise.
9504 * libm/math/w_atanh.c (atanh): Likewise.
9505 * libm/math/wf_atan2.c (atan2f): Likewise.
9506 * libm/math/w_atan2.c (atan2): Likewise.
9507 * libm/math/wf_asin.c (asinf): Likewise.
9508 * libm/math/w_asin.c (asin): Likewise.
9509 * libm/math/wf_acosh.c (acoshf): Likewise.
9510 * libm/math/w_acosh.c (acosh): Likewise.
9511 * libm/math/wf_acos.c (asocf): Likewise.
9512 * libm/math/w_acos.c (acos): Likewise.
9513 * libm/math/wf_sqrt.c (sqrtf): Likewise.
9514 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
9515 for embedded systems.
9516
9517Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
9518
9519 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
9520 Lea in case of a foreign sbrk.
9521
9522Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
9523
9524 Incorporate Doug Lea's malloc:
9525 * libc/stdlib/mallocr.c: Completely replaced.
9526 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
9527 (realloc): Remove.
9528 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
9529 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
9530 mallopt.
9531 (mallinfo, malloc_stats, mallopt): New functions.
9532 (_mstats_r): Just call _malloc_stats_r.
9533 * libc/stdlib/malign.c: New file.
9534 * libc/stdlib/mlock.c: New file.
9535 * libc/stdlib/msize.c: New file.
9536 * libc/stdlib/mtrim.c: New file.
9537 * libc/stdlib/realloc.c: New file.
9538 * libc/stdlib/valloc.c: New file.
9539 * libc/stdlib/malloc.h: Remove.
9540 * libc/stdlib/callocr.c: Remove.
9541 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
9542 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
9543 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
9544 reallocr.o, valloc.o, vallocr.o.
9545 (CHEWOUT_FILES): Add mlock.def, mstats.def.
9546 (MALLOC_CFLAGS): New variable.
9547 (mallocr.o): New target, build from mallocr.c.
9548 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
9549 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
9550 (msizer.o, malloptr.o): Likewise.
9551 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
9552 (valloc.o): New target.
9553 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
9554 * libc/include/malloc.h: Declare struct mallinfo, and new
9555 routines.
9556 * libc/include/stdlib.h (cfree): Correct declaration.
9557
9558Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
9559
9560 * libc/include/machine/setjmp.h: Add support for Thumb target.
9561
9562 * libc/include/machine/ieeefp.h: Add support for Thumb target.
9563
9564 * configure.in (links): Add support for Thumb target.
9565
9566Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
9567
9568 * libc/sys/arm/setjmp.S: Updated with version from branch.
9569
9570Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
9571
9572 * libc/include/stdio.h: add POSIX-required define L_ctermid
9573 for ctermid
9574
9575Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
9576
9577 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
9578 addition to MISSING_SYSCALL_NAMES.
9579
9580Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9581
9582 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
9583
9584Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
9585
9586 * libc/include/string.h: change strsignal proto to return
9587 a char *. This eliminates compile problems in gdb resulting
9588 from gdb's definition of strsignal in defs.h.
9589
9590Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
9591
9592 * libc/sys/cygwin32/sys/utime.h: new (moved here from
9593 winsup/include) so as not to conflict with the one in
9594 libc/include.
9595 * libc/include/string.h: add protos for strsignal, strtosigno
9596
9597Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
9598
9599 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
9600
9601 * configure.in (d30v-*-*): Add configuration.
9602
9603Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
9604
9605 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
9606 to select which kind of debug monitor is in use for an ARM target.
9607
9608 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
9609 Angel and Demon debug monitors. Part of this code was supplied by
9610 Tony Thompson at ARM: athompso@arm.com.
9611
9612Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
9613
9614 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
9615 semantics when the count is greater than the length of the second
9616 source string.
9617
9618Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
9619
9620 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
9621 * libc/include/sys/unistd.h: add protos for usleep, truncate,
9622 truncate and ftruncate take off_t, not size_t
9623
9624Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
9625
9626 * libc/string/strcat.c (strcat): Add missing comment end.
9627 * libc/string/strncat.c (strncat): Likewise.
9628
9629Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
9630
9631 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
9632 targets.
9633 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
9634 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
9635 defined.
9636 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
9637 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
9638 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
9639
9640Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
9641
9642 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
9643 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
9644
9645Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
9646
9647 * libc/machine/i386/setjmp.S: New file.
9648 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
9649 (OFILES): Add setjmp.o.
9650 (setjmp.o): Add rule for.
9651 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
9652
9653Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
9654 Jeffrey A Law (law@cygnus.com)
9655
9656 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
9657 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
9658 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
9659 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
9660
9661Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
9662
9663 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
9664 rules.
9665
9666 * libc/include/sys/config.h: Use __v850 to select v850
9667 endianness.
9668
9669 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
9670 buffer size.
9671
9672 * libc/include/machine/ieeefp.h: Use __v850 to select v850
9673 endianness.
9674
9675Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
9676
9677 * libc/stdlib/setenv.c: change unsetenv definition to match
9678 style of setenv (with _DEFUN). The string should be a const.
9679 * libc/include/stdlib.h: unsetenv proto should return void.
9680
9681Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
9682
9683 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
9684
9685Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
9686
9687 * libc/stdio/glue.h: remove.
9688 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
9689 * libc/stdio/Makefile.in: remove glue.h dependencies
9690
9691Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
9692
9693 * libc/sys/sysnecv850/crt0.S: Created V850e version.
9694
9695Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
9696
9697 * configure.in (target_cpu): Add `arc'.
9698
9699Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
9700
9701 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
9702 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
9703 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
9704 * newlib/libc/reent/reent.c: Add _wrapup_reent.
9705 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
9706
9707Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
9708
9709 * libc/machine/mips/setjmp.S: Handle mips16 builds.
9710
9711Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
9712
9713 * libc/include/stdio.h (siprintf): Declare.
9714
9715Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
9716
9717 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
9718 TARGET_CFLAGS and NEWLIB_FLAGS.
9719
9720Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
9721
9722 * configure.in (links): Add support for v850ea target.
9723
9724Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
9725
9726 * configure.in (links): Add support for v850e target.
9727
9728Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
9729
9730 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
9731
9732Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
9733
9734 * configure.in (arc-*-*): Add support for.
9735 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
9736
9737Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9738
9739 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
9740
9741Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
9742
9743 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
9744 comparison which accesses invalid memory when the key is
9745 larger than the last member of the array.
9746 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
9747 for CYGWIN32
9748 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
9749
9750Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
9751
9752 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
9753 not _STRICT_ANSI.
9754
9755Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
9756
9757 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
9758 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
9759
9760Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
9761
9762 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
9763 to load/store memory.
9764
9765Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
9766
9767 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
9768 underscores if _WIN32.
9769
9770Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
9771
9772 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
9773 support ifdef _USE_WRITE missed in last change.
9774 From Anders Blomdell <anders.blomdell@control.lth.se>.
9775
9776Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
9777
9778 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
9779 (_tmpnam_r, _tempnam_r): Update.
9780
9781Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
9782
9783 * libc/machine/sparc/setjmp.S: New file.
9784 * libc/machine/sparc/Makefile.in: Add setjmp.
9785 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
9786
9787Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
9788
9789 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
9790
9791Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
9792
9793 From Joel Sherrill <joel@oarcorp.com>.
9794 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
9795
9796 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
9797 * configure.in: Recognize *-*-rtems*.
9798 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
9799 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
9800 time.h,times.h,types.h}: New files.
9801 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
9802
9803Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
9804
9805 patch from sos@prospect.com.ru (Sergey Okhapkin):
9806 * include/sys/wait.h: correct operator precidence bug
9807 in WIFSIGNALED
9808
9809Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
9810
9811 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
9812 with newlib's unsetenv function
9813 * libc/sys/cygwin32/sys: new directory for includes
9814 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
9815 here from winsup/include/sys
9816
9817Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
9818
9819 * libc/include/sys/unistd.h: _exit should only be
9820 labelled noreturn when not __CYGWIN32__
9821 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
9822 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
9823 increment NSIG
9824
9825Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
9826
9827 * libc/include/sys/time.h: Only define timeval and timezone if
9828 _GNU_H_WINDOWS32_SOCKETS is not defined.
9829 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
9830
9831Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
9832
9833 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
9834 * libc/machine/mn10300/setjmp.S: Likewise.
9835
9836 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
9837 the mn10300 (more relaxing opportunities).
9838
9839Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
9840
9841 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
9842 Build libraries with -mstrict-align.
9843
9844Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
9845
9846 * libc/string/strlwr.c: New file.
9847 * libc/string/strupr.c: New file.
9848 * libc/include/string.h: Declare strlwr and strupr.
9849 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
9850 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
9851 (strlwr.o, strupr.o): New targets.
9852 * libc/string/strings.tex: Include strlwr and strupr docs.
9853
9854 * libc/include/sys/types.h: Don't define u_char, et. al., if
9855 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
9856 et. al. Make FD_SETSIZE default 64 rather than 60. Define
9857 _types_fd_set rather than fd_set, and define fd_set as a macro.
9858
9859 * libc/include/malloc.h: New file.
9860
9861 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
9862 strnicmp if they are not already defined.
9863
9864 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
9865 _timezone, _daylight, and _tzname.
9866
9867Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
9868
9869 * configure.in: Sort all configuration tables.
9870
9871 From Joel Sherrill <joel@oarcorp.com>
9872 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
9873
9874Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
9875
9876 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
9877 use int when declaring kill.
9878
9879 * libc/include/sys/timeb.h: New file.
9880
9881Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
9882
9883 * libc/include/sys/time.h: add itimer support for Cygwin32
9884
9885Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
9886
9887 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
9888 out a message that abort was called to stderr.
9889
9890Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
9891
9892 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
9893 so that libio doesn't freak.
9894
9895 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
9896 int.
9897
9898 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
9899 memory sizes, not int.
9900
9901Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
9902
9903 * libm/math/ef_hypot.c: Use long constants where
9904 appropriate.
9905 * libm/math/ef_sqrt.c: Ditto.
9906
9907 * libc/sys/sysmec/times.c(_times): Change to times.
9908
9909 * libc/sys/sysmec/read.c(_read): The third argument is
9910 size_t.
9911 * libc/sys/sysmec/write.c (_write): Ditto.
9912
9913 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
9914 (_lseek): It's off_t for the second argument.
9915
9916Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
9917
9918 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
9919 as well as machine/ieeefp.h.
9920
9921Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
9922
9923 * libc/include/sys/signal.h: add signal protos for winsup
9924 functions (when __CYGWIN32__), include types.h
9925 * libc/include/sys/types.h: Change __go32_types__ internal
9926 define to __MS_types__ since it's used for more than just
9927 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
9928 defined.
9929 * libc/include/sys/unistd.h: add ftruncate proto for
9930 winsup functions (when __CYGWIN32__)
9931
9932Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
9933
9934 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
9935
9936Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
9937
9938 * libc/include/machine/setjmp.h: Add tic80 support.
9939 * libc/machine/tic80/setjmp.S: Likewise.
9940
9941Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
9942
9943 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
9944 link programs from libraries only (such as in the X11
9945 distribution)
9946
9947Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
9948
9949 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
9950 supplied elsewhere in newlib.
9951
9952Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
9953
9954 * Makefile.in (INSTALL): Change install.sh to install-sh.
9955
9956Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
9957
9958 * README: update WWW address for on-line documentation.
9959
9960Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
9961
9962 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
9963 increment NSIG
9964
9965Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
9966
9967 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
9968 mn10300.
9969 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
9970
9971Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
9972
9973 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
9974 * libc/sys/d10v/syscalls.c: Likewise.
9975 * libc/sys/h8300hms/sbrk.c: Likewise.
9976 * libc/sys/h8500hms/syscalls.c: Likewise.
9977 * libc/sys/m88kbug/syscalls.c: Likewise.
9978 * libc/sys/sh/syscalls.c: Likewise.
9979 * libc/sys/sysmec/sbrk.c: Likewise.
9980 * libc/sys/sysnecv850/sbrk.c: Likewise.
9981 * libc/sys/w65/syscalls.c: Likewise.
9982 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
9983
9984Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
9985
9986 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
9987 emulated syscall instead of "trap".
9988
9989Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
9990
9991 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
9992 not trap 0.
9993
9994Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
9995
9996 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
9997
9998Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
9999
10000 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
10001 not "sh".
10002 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
10003 not "d10v".
10004 * libc/sys/tic80/crt0.c: New file for TIc80.
10005 * libc/sys/tic80/Makefile.in: New file for TIc80.
10006 * libc/machine/tic80/Makefile.in: New file for TIc80.
10007
10008Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
10009
10010 * libc/machine/sh/memcpy.S: New file.
10011 * libc/machine/sh/memset.S: New file.
10012 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
10013
10014Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
10015
10016 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
10017 for TIc80.
10018
10019Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
10020
10021 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
10022 the mn10200.
10023
10024Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
10025
10026 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
10027 (patch from andrew@pogo.WV.TEK.COM).
10028
10029Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
10030
10031 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
10032 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
10033
10034Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
10035
10036 * configure.in: Add cases for "tic80" to set machine_dir,
10037 sys_dir, and syscall_dir.
10038
10039Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
10040
10041 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
10042
10043Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
10044
10045 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
10046
10047Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
10048
10049 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
10050 Use proper constant prefix.
10051
10052Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
10053
10054 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
10055 that loses on the mn10200 where ints and pointers are different
10056 sizes.
10057
10058Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
10059
10060 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
10061 target as signal is provided in winsup.
10062
10063Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
10064
10065 * libc/include/sys/process.h: Corrected const definitions
10066 in spawn functions. Added cwait.
10067
10068Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
10069
10070 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
10071 doubles.
10072 * libc/include/sys/config.h: Similarly.
10073
10074Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10075
10076 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
10077 target_cflags.
10078 (i[3456]86-*-sco*): Ditto.
10079
10080 * libc/signal/Makefile.in (OFILES): Add signal.o.
10081 (CFILES): Add signal.c.
10082
10083 * libc/signal/raise.c (_raise_r): Only compile code if
10084 SIGNAL_PROVIDED is defined.
10085
10086 * libc/signal/signal.c: Redo whole file so that it works with
10087 current newlib. Use _kill_r if no signal handler provided.
10088
10089 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
10090 signal stubs.
10091 * libc/sys/sysvnecv70/Makefile.in: Ditto.
10092 * libc/sys/sysnecv850/Makefile.in: Ditto.
10093
10094 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
10095 * libc/sys/sysmec/{raise,signal}.c: Ditto.
10096 * libc/sys/sysvnecv70/signal.s: Ditto.
10097 * libc/sys/sysnecv850/raise.c: Ditto.
10098
10099 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
10100 simulator and debugger can tell the difference between a signal
10101 being raised and an exit system call.
10102
10103 * NEWS: Document software signals being provided.
10104
10105Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10106
10107 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
10108 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
10109 include/sys/config.h.
10110 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
10111 Change from 'inpure_data'.
10112 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
10113 &impure_data, not &inpure_data.
10114
10115 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
10116 and and System V ABI, define so that _impure_ptr lives in the
10117 .sdata section.
10118
10119Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10120
10121 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
10122 nothing if not defined.
10123 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
10124 its attributes.
10125
10126 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
10127
10128Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
10129
10130 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
10131 * libc/sys/sysmec/trap.s: Handle mn10200 too.
10132 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
10133
10134Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
10135
10136 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
10137
10138Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
10139
10140 * libc/include/sys/errno.h: Added net errno's.
10141
10142Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10143
10144 * libc/misc/ffs.c: New file to support ffs function for GCC test
10145 gcc.c-torture/execute/960909-1.c.
10146
10147 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
10148
10149Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
10150
10151 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
10152 * libc/sys/sysmec/trap.S: Likewise.
10153
10154Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
10155
10156 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
10157 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
10158
10159Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
10160
10161 * libc/sys/sysmec/signal.c: Dummy file.
10162 * libc/sys/sysmec/Makefile.in: Build it.
10163
10164Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
10165
10166 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
10167 mips16.
10168
10169Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
10170
10171 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
10172 c-startup and simulator traps.
10173
10174
10175 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
10176 * libc/sys/sysmec/trap0.S: Likewise.
10177
10178Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10179
10180 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
10181 round to double word alignment.
10182 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
10183 byte alignment.
10184
10185 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
10186
10187 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
10188 out of memory.
10189
10190Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
10191
10192 * configure.in: Handle mn10200 and mn10300.
10193 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
10194 * libc/include/sys/config.h: Likewise.
10195 * libc/sys/sysmec: New directory for mec stuff.
10196 * libc/machine/mn10300: New directory for mn10300 stuff.
10197 * libc/machine/mn10200: Similarly for mn10200 stuff.
10198
10199Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
10200
10201 * libc/sys/arm/crt0.S: Use .text, not .section .text.
10202 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
10203
10204 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
10205 (nlink_t): Change type from unsigned int to unsigned short.
10206 (mode_t): Ensure size is 32 bits even if int is 16.
10207 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
10208 (st_spare[123]): Change type from int to long.
10209
10210Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10211
10212 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
10213 byte boundary.
10214
10215 * configure.in (d10v*): Define SMALL_MEMORY.
10216
10217Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10218
10219 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
10220 -mrelocatable-lib and -mno-eabi flags.
10221
10222Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
10223
10224 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
10225 Fix handling of mis-aligned source operand when both the
10226 destination & length are properly aligned.
10227
10228Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
10229
10230 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
10231 times.o, time.o and gettime.o
10232 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
10233 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
10234 SYS_gettimeofday.
10235
10236Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
10237
10238 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
10239 * libc/sys/sysnecv850/access.c: New file.
10240
10241Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
10242
10243 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
10244
10245 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
10246 long.
10247
10248Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
10249
10250 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
10251
10252Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
10253
10254 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
10255 * libc/include/sys/config.h: Add m32r support.
10256
10257Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
10258
10259 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
10260 here.
10261
10262Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
10263
10264 * libc/include/machine/setjmp.h: Add D10v support.
10265
10266Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
10267
10268 * configure.in: Configure the "libc/syscalls" directory for
10269 the v850.
10270
10271 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
10272 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
10273 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
10274 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
10275 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
10276
10277Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
10278
10279 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
10280 stack for args for main and other routines. Zero out args for
10281 main.
10282
10283 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
10284 correctly.
10285
10286Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10287
10288 * libc/stdio/findfp.c (std): Remove extraneous ';' after
10289 function.
10290
10291 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
10292
10293 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
10294 real system calls now.
10295
10296 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
10297 before casting them to int.
10298 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
10299
10300 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
10301 aligning pointer.
10302 * libc/string/memset.c (memset): Ditto.
10303
10304 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
10305 first convert ints to _POINTER_INT to eliminate GCC warning.
10306
10307 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
10308 processing %p.
10309
10310 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
10311 from 65000 if ints are only 16 bits.
10312
10313 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
10314 from 50000 if ints are only 16 bits.
10315
10316 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
10317 int type that is the same size as a pointer.
10318
10319 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
10320 processing %p.
10321 (get_number): Explicitly cast number to long before shifting by 16
10322 or 24, in case ints are short.
10323
10324 * libc/include/sys/config.h (_POINTER_INT): Define as short.
10325
10326Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
10327
10328 * libc/string.h: Added ffs, removed swab.
10329 * libc/sys/errno.h: Added EOPNOTSUPP.
10330 * libc/sys/unistd.h: Added swab.
10331
10332Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
10333
10334 * libc/include/sys/stat.h: Added fchmod.
10335 * libc/include/sys/unistd.h: Added fsync.
10336
10337Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
10338
10339 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
10340 and ECONNRESET (104) for cygwin32.
10341
10342Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
10343
10344 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
10345 do the static destructors.
10346
10347Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
10348
10349 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
10350
10351Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
10352
10353 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
10354 * configure.in: Recognize m32r-*-*.
10355
10356Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
10357
10358 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
10359 __rt_stkovf_split_small): Added default software stack overflow
10360 handlers, which just call SWI_Exit.
10361 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
10362 limit initialisation.
10363
10364Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
10365
10366 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
10367
10368Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
10369
10370 * libc/include/sys/types.h: Added ssize_t definition.
10371
10372Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10373
10374 * libc/machine/d10v/setjmp.S: Use ';' for comments.
10375 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
10376
10377 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
10378 branch around a single ldi instruction.
10379
10380 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
10381 Call exit, instead of just issuing a stop instruction.
10382
10383Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10384
10385 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
10386
10387Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10388
10389 * libc/stdlib/mprec.h: Explicitly declare all large constants as
10390 longs, and then cast them to __uint32_t.
10391
10392 * libc/include/sys/config.h: Protect against multiple inclusions.
10393
10394Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
10395
10396 * configure.in (d10v*): Set syscall_dir.
10397
10398Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
10399
10400 * libc/sys/d10v/crt0.S: Set stack pointer.
10401
10402Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
10403
10404 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
10405 in assembly for efficiency. Change calling convention to allow
10406 long ints to be returned.
10407
10408Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10409
10410 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
10411
10412Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
10413
10414 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
10415 Handle empty entries in $PATH.
10416
10417Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
10418
10419 * libc/machine/d10v/setjmp.S: Make it really work.
10420
10421Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
10422
10423 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
10424 the .stack section.
10425
10426Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
10427
10428 * sys/sysnecv850/sys/file.h: Remove.
10429 * sys/sysnecv850/sys/syscall.h: New file.
10430 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
10431 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
10432 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
10433 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
10434 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
10435 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
10436 * sys/sysnec850/trap.S: New file.
10437 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
10438 syscalls.
10439 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
10440 * sys/sysnec850/sbrk.c: New version.
10441
10442Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
10443
10444 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
10445 as long as r6 is less than r7.
10446
10447Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
10448
10449 * Makefile.in (mostlyclean): Separate from clean target. Don't
10450 remove *.a or targ-include.
10451 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
10452
10453Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10454
10455 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
10456 d10v.
10457 (__SMALL_BITFIELDS): Ditto.
10458
10459 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
10460
10461Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
10462
10463 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
10464 prefix.
10465
10466 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
10467 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
10468 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
10469 * libc/sys/sysnecv850/write.c (write): Likewise.
10470
10471 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
10472 .bss.
10473
10474Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10475
10476 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
10477 appropriately for D10V, depending on -mint16/-mint32.
10478
10479Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
10480
10481 * configure.in: Add cases for D10V.
10482
10483Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10484
10485 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
10486
10487Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
10488
10489 * libc/include/machine/ieeefp.h: Fix typo.
10490
10491Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
10492
10493 * libc/sys/d10v: New directory for D10V stuff.
10494 * libc/include/machine/ieeefp.h: Add D10V defines.
10495
10496Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
10497
10498 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
10499 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
10500 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
10501 * libc/string/strerror.c (strerror): Add them.
10502
10503Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
10504
10505 * libc/sys/sysnecv850: New directory for v850 stuff.
10506
10507 * libc/machine/v850: New directory for v850 stuff.
10508 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
10509
10510 * configure.in: Add support for the v850.
10511
10512 * libc/include/machine/ieeefp.h: Add v850 defines.
10513 * libc/include/machine/setjmp.h: Likewise.
10514 * libc/include/sys/config.h: Add v850 defines.
10515
10516Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
10517
10518 * libc/include/machine/ieeefp.h
10519 * libc/include/machine/setjmp.h
10520 * libc/include/sys/fcntl.h
10521 * libc/include/sys/signal.h
10522 * libc/include/sys/types.h
10523 * libc/stdlib/system.c:
10524 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
10525 API availability, __CYGWIN32__ for cygwin32 environment specific).
10526
10527Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
10528
10529 * libc/include/stdlib.h: add multibyte character functions. Add
10530 __eprintf for assert.
10531
10532Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10533
10534 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
10535 arithmetic or __alignof__ to properly get the alignment, instead
10536 of hardwiring it to 4.
10537
10538Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
10539
10540 * libc/stdio/fseek.c: add fflush call to adjust seek offset
10541 on append stream (fix from NetBSD sources), adjust curoff offset
10542 for ungetc's benefit.
10543 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
10544 * libc/stdio/rewind.c: replace code with up to date NetBSD
10545 code to undo hacks made to work around above problem of not
10546 having fflush call mentioned above
10547
10548Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10549
10550 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
10551 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
10552 Partially revert last changes. The thread specific errno is set
10553 iff if the underlying syscall fails and the global errno is not
10554 zero.
10555
10556Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10557
10558 * libc/reent/filer.c: Removed files, all functions have split out
10559 into their own files.
10560 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
10561 New files containing functions formally in filer.c
10562 * libc/reent/Makefile.in: Updated for above change.
10563
10564 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
10565 syscall fails, not if errno is changed.
10566 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
10567 _write_r): Likewise.
10568 * libc/reent/fstatr.c (_fstat_r): Likewise.
10569 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
10570 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
10571 * libc/reent/signalr.c (_kill_r): Likewise.
10572 * libc/reent/statr.c (_stat_r): Likewise.
10573 * libc/reent/timer.c (_gettimeofday_r): Likewise.
10574
10575 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
10576 signalr.c, statr.c, timer.c} (errno): declare extern rather
10577 than as a common.
10578
10579 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
10580 instead of calling vfprintf so that i*printf will not require
10581 floating point support code.
10582
10583Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
10584
10585 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
10586 path delimiter.
10587 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
10588 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
10589
10590Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
10591
10592 * libc/include/signal.h: _sig_func_ptr function takes an int
10593 * libc/include/sys/signal.h: sa_handler function takes an int
10594
10595Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
10596
10597 * libc/include/machine/ieeefp.h: Simplify H8/S support.
10598 * libc/include/sys/config.h: Add missing H8/S conditional.
10599
10600Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
10601
10602 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
10603
10604Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
10605
10606 * libc/include/machine/setjmp.h: Handle H8/S.
10607 * libc/include/machine/ieeefp.h: Likewise.
10608 * libc/include/sys/config.h: Likewise.
10609 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
10610 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
10611 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
10612 * libc/sys/h8300hms/crt0.S: Likewise.
10613
10614Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
10615
10616 * Makefile.in (datadir): Set to $(prefix)/share.
10617 (oldincludedir, docdir): Removed.
10618 * doc/Makefile.in (datadir): Set to $(prefix)/share.
10619 (oldincludedir, docdir): Removed.
10620 * libc/Makefile.in (datadir): Set to $(prefix)/share.
10621 (oldincludedir, docdir): Removed.
10622 * libm/Makefile.in (datadir): Set to $(prefix)/share.
10623 (oldincludedir, docdir): Removed.
10624
10625Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
10626
10627 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
10628 _reent struct.
10629
10630Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
10631
10632 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
10633 fetch current path rules with sysconf and handler posix/win32
10634 appropriately.
10635
10636 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
10637
10638 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
10639 (WAIT_CHILD): Always define.
10640
10641Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
10642
10643 * libc/stdlib/eprintf.c: New file.
10644 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
10645 (eprintf.o): New target.
10646
10647Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
10648
10649 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
10650 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
10651
10652Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
10653
10654 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
10655 NT in PowerPC endianess cases.
10656
10657Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10658
10659 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
10660
10661Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10662
10663 * libc/string/strtok.c: Fix doc typo.
10664
10665Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10666
10667 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
10668 _next, _scanpoint, _signgam fields.
10669
10670 * libc/include/stdlib.h (rand_r): Added new declaration.
10671 (_rand_r, _srand_r): Removed declarations.
10672 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
10673 have been made obsolete by rand_r.
10674 * libc/stdlib/rand_r.c: New file, rand_r function as specified
10675 by POSIX.1c.
10676
10677 * libc/string/strtok.c: Update documentation to describe
10678 strtok_r().
10679
10680Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
10681
10682 * libc/include/sys/stat.h (stat structure): Use the expanded stat
10683 structure on Solaris, and PowerPC systems even though __svr4__ is
10684 defined.
10685
10686Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
10687
10688 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
10689
10690Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
10691
10692 * host/any: Use ../.. rather than .. to get to the main build
10693 directory. This matches the current layout of the build
10694 directory.
10695
10696Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
10697
10698 * libc/machine/h8300/__main.S: Delete. No longer needed.
10699 * libc/machine/h8300/Makefile.in: Corresponding changes.
10700 * libc/sys/h8300hms/crt1.c: New file.
10701 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
10702 * libc/sys/h8300hms/crt0.s: Call __main.
10703
10704 * libc/sys/h8300hms/crt0.S: Use temporary label names
10705 for branch targets.
10706
10707Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
10708
10709 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
10710
10711Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10712
10713 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
10714 .sdata on the PowerPC so that we can link newlib with code
10715 compiled with -msdata.
10716
10717Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
10718
10719 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
10720
10721Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
10722
10723 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
10724 exception handler to __cygwin_exception_handler.
10725
10726Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
10727
10728 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
10729
10730Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
10731
10732 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
10733 SunOS VPATH.
10734 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
10735 wcstombs.o): Likewise.
10736
10737Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
10738
10739 * libc/stdlib/environ.c (initial_env): New static local.
10740 (environ): Point to `initial_env'.
10741
10742 * libc/include/machine/setjmp.h: Clean up.
10743 (__H8300H__,__PPC__): Define _JBTYPE.
10744 (__arm__): Provide entry for.
10745 (sigjmp_buf): Delete.
10746 (jmp_buf): Use _JBTYPE if defined, otherwise int.
10747
10748Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
10749
10750 * libc/machine/h8300/strcmp.S: Sign extend the result to
10751 32bits so we don't lose with -mint32.
10752
10753Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
10754
10755 * libc/sys/go32/sys/errno.h: New file.
10756 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
10757 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
10758 errno's address (make compatible with rest of newlib).
10759 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
10760 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
10761
10762Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
10763
10764 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
10765 * libc/machine/sparc/Makefile.in: Build them.
10766 * libc/machine/sparc/machine/sparclet.h: New file.
10767
10768Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10769
10770 * libc/machine/sh/asm.h: New file.
10771 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
10772 support for SH3e's FP registers. Use asm.h.
10773
10774Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
10775
10776 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
10777 as first argument. Call _dtoa_r and pass the reent structure
10778 instead of calling __dtoa.
10779
10780Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
10781
10782 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
10783 the h8300, h8500, and others. Add comments for some rather
10784 dubious code.
10785
10786Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
10787
10788 * Makefile.in (check): Check that testsuite exists before cd.
10789
10790Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10791
10792 * libc/include/string.h (strsep): Correct prototype.
10793
10794Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
10795
10796 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
10797 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
10798 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
10799
10800Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
10801
10802 * libc/posix/{creat.c,isatty.c}: New files.
10803 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
10804
10805 * libc/sys/sparc64/crt0.S (environ): Delete.
10806 (.LHaveBias): Renamed from HaveBias.
10807
10808Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
10809
10810 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
10811 (_morecore_r): Delete SBRK_IS_ALLOC support.
10812
10813Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10814
10815 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
10816 module rather than touch, so we don't get warning messages when
10817 all of the libraries are combined into libc.a.
10818
10819Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
10820
10821 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
10822 crt0.s replaced by version in libgloss.
10823
10824Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
10825
10826 * libc/reent/Makefile.in (OFILES): Add impure.o.
10827 * libc/reent/impure.o: New file, define initial reentrancy struct.
10828 * libc/reent/reent.c: Remove above definition.
10829
10830 * libm/math/sf_asinh.c: Fix typo.
10831
10832 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
10833 srf_ldexp.o.
10834
10835 * libm/libm.texinfo: Change documentation to reflect changes
10836 in reentrancy model.
10837 * libm/math/w_gamma.c: Likewise.
10838
10839Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
10840
10841 * configure.in (*-*-cygwin32): New.
10842 (*-*-win32): Deleted.
10843 * libc/sys/win32 renamed libc/sys/cygwin32.
10844
10845Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10846
10847 * libc/include/sys/file.h: New include file.
10848
10849Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
10850
10851 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
10852
10853Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
10854
10855 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
10856
10857Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
10858
10859 * doc/makedoc.c (realloc): Declare at file scope.
10860 (catchar): Not here.
10861
10862Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
10863
10864 * Makefile.in (VERSION): Update to 1.7.0.
10865 * {libc,libm}/Makefile.in (VERSION): Likewise.
10866 * configure.in: Minor clean up of multilib stuff.
10867
10868 From David Johnson <davidj@ICSI.Berkeley.EDU>
10869 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
10870
10871 * libc/stdlib/environ.c: New file.
10872 * libc/stdlib/Makefile.in (OFILES): Build it.
10873 * libc/sys/h8500hms/crt0.c (environ): Deleted.
10874 * libc/sys/m88kbug/crt0.c (environ): Deleted.
10875 * libc/sys/z8ksim/crt0.c (environ): Deleted.
10876 * libc/sys/netware/environ.c: Deleted.
10877
10878Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
10879
10880 * configure.in (links): set sys_dir, posix_dir, syscall_dir
10881
10882Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
10883
10884 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
10885 declaration out to external scope and declare it PTR, not char *.
10886
10887Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
10888
10889 * libc/include/sys/unistd.h (getpagesize): New declaration.
10890 (_SC_PAGESIZE): New definition.
10891 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
10892 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
10893
10894Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
10895
10896 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
10897 addressing. System call returns size, not (last address + 1).
10898
10899Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10900
10901 * libm/math/*.c: Removed _foo_r() reentrancy API.
10902 * libc/include/math.h: Removed _foo_r prototypes and macros.
10903
10904 * libm/math/*.c: On systems with IEEE single precision "doubles"
10905 move foo() -> foof() wrapper code from the files that implement
10906 the standard IEEE double precision functions to the files that
10907 implement IEEE single precision functions. (ie. On those systems
10908 sin is moved from s_sin.c to sf_sin.c). There should eventually
10909 be use of a C extension (like gcc's alias attribute) so that the
10910 wrappers are not needed at all.
10911
10912 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
10913 strict NEC V810 compiler.
10914 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
10915 for same reason.
10916
10917Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10918
10919 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
10920 from NetBSD C library.
10921 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
10922
10923 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
10924 and adapted from implementation I wrote for NetBSD C library.
10925 The difference is __assert doesn't take a format argument,
10926 so that there won't be multiple copies of the same string
10927 constant in the executable if assertions are enabled in
10928 more than one source module.
10929 * libc/include/assert.h (assert): Changed to call __assert.
10930
10931Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10932
10933 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
10934 word1 on systems with 32 bit doubles.
10935 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
10936 so that we can do arithmetic on them.
10937 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
10938 compilers.
10939
10940Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
10941
10942 * libc/sys/arm/crt0.S: Zero bss.
10943
10944Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
10945
10946 * libc/include/unctrl.h: New file.
10947 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
10948 * configure.in (subdirs): Add libc/misc.
10949 * libc/Makefile.in (SUBDIRS): Add misc.
10950 (SUBLIBS): Add misc/lib.a.
10951
10952 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
10953
10954Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
10955
10956 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
10957 (_vfprintf_r): Call CHECK_INIT.
10958
10959Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
10960
10961 * Makefile.in (MULTITOP): Delete.
10962 (MULTISRCTOP, MULTIBUILDTOP): Add.
10963 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
10964 instead of cfg-ml-pos.in.
10965
10966Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
10967
10968 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
10969 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
10970 presence.
10971
10972Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
10973
10974 * libc/string/strtok.c: Include string.h to pick up strtok_r
10975 prototype.
10976
10977Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
10978
10979 * libc/string/strtok.c: include <_ansi.h>.
10980 * libc/time/asctime_r.c: `reresult' -> `result'.
10981
10982Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
10983
10984 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
10985 in #ifndef _REENT_ONLY ... #endif conditional.
10986
10987 * libc/include/string.h (_strtok_r): Remove declaration.
10988 * libc/include/time.h (_asctime_r): Remove declaration.
10989 * libc/string/strtok.c (_strtok_r): Removed.
10990 * libc/time/asctime.c (_asctime_r): Removed.
10991
10992 * libc/string/Makefile.in (OFILES): Add new object.
10993 * libc/string/strtok_r.c: New file. strtok_r function as
10994 specified by POSIX.1c, adapted from strtok implementation
10995 from NetBSD C library.
10996 * libc/string/strtok.c (strtok): Reimplemented in terms of
10997 strtok_r.
10998
10999 * libc/time/Makefile.in (OFILES): Add new objects.
11000 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
11001 New files, reentrant time functions specified by POSIX.1c.
11002 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
11003 reentrant time functions re-written in terms of reentrant
11004 functions.
11005 * libc/time/lcltime.c: Renamed from localtime.c
11006
11007 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
11008 gmtime_r, and localtime_r.
11009
11010Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
11011
11012 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
11013 * libc/include/sys/unistd.h (getlogin): Revert change of
11014 Oct 19.
11015 * libc/include/sys/signal.h (sigprocmask): Change prototype
11016 so it compiles with c++.
11017
11018Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
11019
11020 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
11021 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
11022 to give some room in case we need to align the jmp_buf.
11023
11024 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
11025 the new ppc-asm.h include file the compiler provides to specify
11026 function prologue/epilogue. Eliminate saves of the xer and ctr
11027 registers, which are volatile. Before starting to save registers,
11028 align to 8 byte boundary.
11029
11030Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
11031
11032 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
11033 referenced by standard libraries.
11034
11035Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
11036
11037 * libc/unix/Makefile.in, libc/string/Makefile.in,
11038 libc/stdio/Makefile.in, libc/reent/Makefile.in,
11039 libc/posix/Makefile.in:
11040 Remove tabs from otherwise empty line. Confuses some
11041 older non-GNU versions of "make".
11042
11043Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
11044
11045 * libc/sys/unistd.h (getlogin): Returns const char *.
11046
11047Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
11048
11049 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
11050 * libc/include/errno.h: Moved into and include...
11051 * libc/include/sys/errno.h: New file.
11052 * libc/include/sys/wait.h: New file.
11053 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
11054 * libc/sys/win32/*: Moved out.
11055 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
11056 * configure.in (i[345]86-*-win32): HAVE_RENAME
11057
11058Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
11059
11060 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
11061 avoid macro expansion for these two names.
11062
11063Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
11064
11065 * libc/machine/h8500/psi.S: r6 renamed to fp.
11066
11067Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
11068
11069 * configure.in (powerpc*): No longer need to define
11070 NO_LONGLONG_POINTERS to supress warnings.
11071
11072Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11073
11074 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
11075 through PTR instead of directly.
11076
11077 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
11078 non-standard constructor support.
11079
11080Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11081
11082 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
11083 address of the Bigint instead of the address of its _x field,
11084 as the size the result buffer was calculated accordingly.
11085 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
11086
11087 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
11088 from NetBSD C library. No longer special cases division by
11089 zero (which needs to be done by the application anyway), but
11090 it doesn't need to call abs() (or labs()) four times either.
11091
11092 * libc/stdlib/qsort.c: Replaced with implementation from
11093 NetBSD C library.
11094
11095Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11096
11097 * libc/stdio/vfprintf.c: Replaced with implementation from
11098 NetBSD C library (which is derived from the 4.4BSD C library).
11099 * libc/stdio/cvt.c: Removed.
11100 * libc/stdio/Makefile: Updated.
11101
11102Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
11103
11104 * libc/sys/win32/syscalls.c (rename): New.
11105 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
11106
11107Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
11108
11109 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
11110 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
11111
11112 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
11113 (setjmp.o): Delete rule to build setjmp.o.
11114 * libc/sys/sh/setjmp.S: Delete file.
11115
11116Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11117
11118 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
11119 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
11120 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
11121 pow5mult and s2b to identifiers with leading underscores.
11122 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
11123 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
11124
11125Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
11126
11127 * libc/sys/posix/popen.c (sys/types.h): Include.
11128
11129Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
11130
11131 * libc/sys/win32/syscalls.h (fhandler): New struct.
11132 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
11133 (__fhandler_normal): Declare.
11134 (hinfo): New member op_handlers.
11135 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
11136 (__write): Likewise.
11137 (_read, _write, _open, _close, _lseek): Validate fd here.
11138 Move file type specific stuff to foo_normal.
11139 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
11140 New functions.
11141 (__lookup_fhandler): New function.
11142 (__lookup_fhandler_hook, __fhandler_normal): New variables.
11143
11144 From anders.blomdell@control.lth.se (Anders Blomdell)
11145 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
11146 Don't touch standard handles.
11147 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
11148 (_execve): Only create __FD_TABLE__ if necessary.
11149 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
11150
11151Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
11152
11153 * libc/sys/win32/sys/termios.h (FLUSHO): New.
11154 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
11155 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
11156 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
11157 without a handler is received.
11158 * libc/sys/win32/Makefile.in: Remove --nodelete.
11159 * libc/sys/win32/resouce.c (gettimeofday): New.
11160 * libc/sys/win32/syscalls.c (path_to_real_path): New.
11161 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
11162
11163Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
11164
11165 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
11166 Don't append "/*" to search pattern if trailing '/' already there,
11167 append "*".
11168 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
11169 like /'s, convert them to \'s. Handle //<drive>/ path names.
11170 Add space for quoted \'s in arg string. Print translated prog name
11171 and original prog name.
11172 (_execve): Handle parent doing exec a teensy bit better.
11173 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
11174 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
11175 path needs conversion, handle both cases. Delete `const' from result.
11176 (hash_path_name): New function.
11177 (_open): Call it.
11178 (_stat): Likewise. Fill in more fields for directories.
11179 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
11180 (wait_for_any): Fix trace message.
11181 (waitpid): Explicitly test for intpid == 0.
11182
11183 From anders.blomdell@control.lth.se (Anders Blomdell)
11184 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
11185 so `next' is valid.
11186
11187Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
11188
11189 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
11190 complicated.
11191
11192Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11193
11194 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
11195 at all, not just == 1.
11196 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
11197
11198Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11199
11200 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
11201 * libc/sys/win32/include/wintypes.h: include <winnt.h>
11202 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
11203 file.
11204
11205Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
11206
11207 * libc/sys/syscalls.c (getcwd): Fix off by one error.
11208
11209 * libc/sys/signal.c (sleep): Fill it in.
11210 * libc/sys/termios.c (tcflush): Use PurgeComm
11211 (tcsetattr): Set some more of the bits.
11212 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
11213
11214Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
11215
11216 * libc/sys/arm/crt0.S (fp): Initialize to 0.
11217 Conditionally include .idata$3 stuff ifdef __pe__.
11218
11219Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
11220
11221 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
11222 * libc/sys/win32/pipe.c (pipe): Ditto.
11223 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
11224 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
11225 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
11226 (tcgetattr): Contents are new.
11227 * libc/sys/win32/include/winkernel.h (DCB): New.
11228 (GetCommState, SetCommState): New.
11229
11230Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
11231
11232 * libc/sys/arm/crt0.S (_start): Define.
11233
11234Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
11235
11236 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
11237 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
11238
11239 * libc/sys/win32/sysconf.c: New
11240 * libc/sys/win32/sys/winadvapi.h: New
11241 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
11242 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
11243 * libc/sys/win32/pipe.c (pipe): Ditto.
11244 * libc/sys/win32/signal.c (_raise): New.
11245 (_kill): Moved from spawn.c
11246 * libc/sys/win32/spawn.c (kill): Moved to signal.c
11247 * libc/sys/win32/syscalls.c (__read): Use new fields.
11248 (_open): Ditto.
11249 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
11250 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
11251 * libc/include/sys/unistd.h (rmdir): Takes const path.
11252 * libc/include/sys/stat.h (mkdir): Takes const path.
11253 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
11254
11255Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
11256
11257 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
11258
11259 Add support for specifying paths as //<drive>/foo/bar.
11260 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
11261 (__path_to_real_path): Declare.
11262 (PATH_TO_REAL_PATH): New macro.
11263 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
11264 (__path_needs_conversion_p, __path_to_real_path): New functions.
11265 (_open): Fix test for error return from CreateFileA.
11266 Handle new path syntax.
11267 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
11268 * libc/sys/win32/dirsearch.c (opendir): Likewise.
11269
11270Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
11271
11272 * libc/sys/win32/include/*.h: Reorganized
11273 * libc/sys/win32/include/WINREADME: New.
11274 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
11275 * libc/sys/win32/*.c: Fix for new include scheme.
11276 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
11277 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
11278 * libc/sys/win32/passwd.c (*): Fix.
11279 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
11280 (_stat): Get directory owner and permissions right.
11281 * libc/sys/win32/syscalls.h (uinfo): New.
11282 * libc/sys/win32/version.def: Remove leading underscores.
11283
11284Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11285
11286 * libc/sys/win32/key.c: include "include/wincon.h".
11287
11288Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
11289
11290 * libc/sys/win32/{key, stubs}.c: New.
11291 * libc/sys/win32/Makefile: Adjust to cope.
11292 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
11293 (environ_init): Change env names to upper case.
11294 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
11295 * libc/sys/win32/passwd.c (*): Fill in the functions.
11296 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
11297 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
11298 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
11299 (_open): Initialze hmap->execable_p too.
11300 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
11301 (_fstat): Fill in permissions.
11302 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
11303
11304Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
11305
11306 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
11307 if defined.
11308 (cfg-ml-pos.in invocation): Likewise.
11309
11310Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11311
11312 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
11313 s_isnan.o and sf_isnan.o.
11314
11315Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
11316
11317 * All Makefile.in files: added maintainer-clean target as a
11318 synonym for realclean.
11319
11320Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
11321
11322 * libc/include/machine/setjmp.h: Add hppa support.
11323 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
11324 support.
11325 * libc/machine/hppa/Makefile.in: Related changes.
11326
11327Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
11328
11329 * configure.in (machine_dir): Don't set for v810-*-*.
11330
11331Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11332
11333 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
11334 conventions correctly.
11335
11336Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
11337
11338 * libc/stdio/puts.c: Update documentation of return value to match
11339 ANSI standard.
11340
11341Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
11342
11343 Fix file descriptor inheritance.
11344 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
11345 (NOT_OPEN_FD): Fix.
11346 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
11347 close-on-exec flag not set. Initialize child's entire fd table.
11348 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
11349 CHILD_P.
11350 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
11351 if CHILD_P. Initialize entire hmap entry.
11352 (dup): Only create new handle as inheritable if CHILD_P.
11353 (dup2): Likewise. Properly initialize hmap entry.
11354
11355 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
11356 _spawn.
11357 (_exit): Use CHILD_P.
11358 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
11359 (_stat): Likewise.
11360
11361Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11362
11363 * libc/sys/win32/crt0.c (passover): fix up the state table.
11364 * libc/posix/popen.c: Added.
11365 * libc/posix/Makefile.in: compile popen.c.
11366
11367Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
11368
11369 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
11370 h8/500 define _DOUBLE_IS_32BITS.
11371
11372Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
11373
11374 Get vfork/exec/spawn/cwait/wait working again.
11375 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
11376 (procinfo): New member vfork_level.
11377 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
11378 (vfork_init_first): Use GetCurrentProcessId to get pid.
11379 Initialize vfork_level.
11380 (vfork_init): Delete __PID__.
11381 (environ_init): New function. Undo patch of Aug 19, Posix says
11382 environment variables are case sensitive.
11383 (mainCRTStartup): Call it.
11384 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
11385 (my_longjump: Make static.
11386 (_spawn): New argument `h'. Delete setting of __PID__.
11387 Delete local `idx'. Look for chars that need quotes, rather than
11388 ones that don't. Set handle of created process in `h'.
11389 Result is process id if created task.
11390 (allocate_spawn_entry): New function.
11391 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
11392 (_execve): Set __FD_TABLE__ before spawning child.
11393 Scan our fd table when passing fds, not our parent's.
11394 Store handle and pid in procinfo entry.
11395 (vfork0): Ensure strace message always printed.
11396 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
11397 (vfork): Don't clobber result of vfork0.
11398 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
11399 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
11400
11401 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
11402 and `exit_code'.
11403 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
11404 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
11405 adding vfork level to pseudo-pid.
11406 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
11407 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
11408 (_exit): If child, set exit code.
11409 (__vfork_record_death): Only close process handle if valid.
11410 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
11411 didn't exec.
11412 (wait_for_any): Likewise. Start scan after root entry.
11413
11414Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11415
11416 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
11417 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
11418 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
11419 of actual file length.
11420
11421 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
11422 * libc/include/paths.h: _PATH_BSHELL added.
11423 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
11424 and STDERR_FILENO.
11425
11426Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11427
11428 * libc/include/ar.h: Added.
11429 * libc/include/sys/types.h: ino_t goes back to 32-bits.
11430 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
11431 * libc/sys/win32/syscalls.c (_open): compute .namehash based
11432 on filename.
11433 (_fstat): use .namehash for inode number of the fd.
11434
11435Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
11436
11437 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
11438 Change hinfo to __this_procinfo.
11439 * libc/sys/win32/crt0.c: Remove procinfo_list.
11440
11441Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11442
11443 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
11444 win32 environment.
11445
11446Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11447
11448 * libc/sys/win32/include/grp.h: Removed.
11449 * libc/sys/include/grp.h: Added.
11450 * libc/sys/win32/grp.c: Include <grp.h>.
11451
11452Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
11453
11454 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
11455 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
11456 Defined for all but strict ANSI.
11457 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
11458 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
11459 * libc/signal/signal.c (_signal_r): Changed from using
11460 _MAX_SIGNALS to NSIG.
11461 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
11462 __hmap): Deleted.
11463 (__strace, __vfork_next_pid): New.
11464 (__exe_suffix): Default to 1.
11465 (passover, table): Understand quoted arguments.
11466 (vfork_init_first): New.
11467 (vfork_init): Initialize new process structure.
11468 (mainCRTStartup): Pass environ to main.
11469 * exceptions.c (__sig_mask): New
11470 (ehandler3): Ignore signals in mask.
11471 (really_exit): Remove CHILD_P test.
11472 * pipe.c (pipe, dup, dup2): Use new process and file structure.
11473 * resource.c (getrusage): Ditto.
11474 * signal.c (sigprocmask): New.
11475 * spawn.c (*): Rewritten.
11476 * syscalls.c (*): Use new process and file structure.
11477 (find_unused_handle): New.
11478 * syscalls.h (MAX_HANDLES): Deleted.
11479 (hinfo): Removed child_created_p.
11480 (MAX_CHILDREN): Deleted.
11481 (vfork_jmp_info, procinfo): New.
11482 * wait.c (*): Mostly new.
11483 * sys/strace.h (_STRACE_PARANOID): New.
11484 * sys/param.h: New file.
11485
11486Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11487
11488 * libc/include/sys/stat.h: add S_BLKSIZE.
11489 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
11490 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
11491 types under win32.
11492 (mode_t): add a #else to avoid multiple definitons.
11493
11494 * libc/sys/win32/Makefile.in: add grp.c.
11495 * libc/sys/win32/grp.c: include grp.h correctly.
11496 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
11497 of the st structure with real information.
11498 * libc/sys/win32 (dirent): d_ino is of type ino_t.
11499
11500Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
11501
11502 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
11503 and (maybe) sparc64.
11504 (nlink_t): Provide typedef.
11505
11506Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11507
11508 * libc/sys/win32/grp.c: New file.
11509 * libc/sys/win32/include/grp.h: New file.
11510
11511Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11512
11513 * libc/include/machine/ieeefp.h: Added whitespace to make this
11514 file easier to maintain.
11515 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
11516 depending on the value of __LITTLE_ENDIAN__.
11517 On the sh3e, define _DOUBLE_IS_32BITS.
11518
11519Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
11520
11521 * libc/sys/vr4300/syscalls.c: Added missing support
11522 routines. _raise() and getpid().
11523
11524Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
11525
11526 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
11527
11528Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
11529
11530 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
11531 and VR4300 processor.
11532 * libc/sys/vr4300: Add directory.
11533 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
11534 monitor run-time support.
11535
11536Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11537
11538 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
11539 * libc/stdlib/stdlib.tex: Don't include atol.def.
11540
11541Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11542
11543 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
11544
11545Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
11546
11547 * libc/ctype/Makefile.in: Fill in _to* dependencies.
11548
11549Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
11550
11551 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
11552 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
11553 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
11554 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
11555 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
11556
11557Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11558
11559 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
11560
11561Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11562
11563 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
11564 * libc/stdlib/atoff.c: New file.
11565 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
11566 * libc/stdlib/atoi.c (atol): Removed.
11567 * libc/stdlib/atol.c: Removed duplicate documentation.
11568
11569 * libc/include/ctype.h (_tolower, _toupper): Moved inside
11570 #ifndef _STRICT_ANSI conditional.
11571 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
11572 * libc/ctype/_tolower.c: New file.
11573 * libc/ctype/_toupper.c: New file.
11574 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
11575 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
11576 * libc/ctype/toascii.c (_toascii): Removed.
11577
11578Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
11579
11580 * libc/sys/sparc64/sys/types.h: Deleted.
11581
11582Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11583
11584 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
11585 and recognize Windows_95 systems.
11586
11587Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11588
11589 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
11590 and passed fds should be opened in text mode.
11591
11592Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
11593
11594 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
11595 in __hmap, set to binary mode by default.
11596
11597Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11598
11599 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
11600 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
11601 vector 34.
11602
11603Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
11604
11605 * Makefile.in (install): Install all libraries found in the
11606 top level. If there's a sys/<type>/include directory,
11607 install those headers into include.
11608
11609 * libc/sys/win32/kernel.def351: Delete
11610 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
11611 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
11612 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
11613 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
11614 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
11615 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
11616 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
11617 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
11618
11619 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
11620 * libc/sys/win32/crt0.c: Force all env names to upper case.
11621 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
11622 * libc/sys/win32/*.c: Headers have moved.
11623 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
11624 __vfork_child_idx is now __vfork_child_ptr.
11625
11626 * posix/execvp (execvp): Don't crash if no PATH envname.
11627
11628Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11629
11630 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
11631 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
11632 through the _freelist instead of through the _reclaim list.
11633 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
11634 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
11635 sources.
11636
11637Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11638
11639 * libc/machine/h8500/setjmp.S: New file.
11640 * libc/include/machine/setjmp.h: Updated for H8/500.
11641
11642Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
11643
11644 * libc/sys/win32/syscalls.c (_open): More stracing.
11645 (_stat): Open the file in O_BINARY.
11646
11647Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11648
11649 * libc/machine/h8300/setjmp.S: New file.
11650 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
11651
11652Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
11653
11654 * libc/sys/win32/crt0.c (__exe_suffix): New global.
11655 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
11656 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
11657 __exe_suffix. Free fd_tab after setting env variable.
11658 (spawnv,_execve): Update.
11659 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
11660 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
11661 (__small_vfprintf): New function.
11662 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
11663 * libc/sys/win32/wait.c (cwait): Validate argument.
11664
11665 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
11666 (process_deletion_queue): Likewise.
11667
11668 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
11669
11670Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
11671
11672 * libc/sys/win32: Copyrights and gratuitous indenting.
11673
11674Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
11675
11676 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
11677 (process_deletion_queue): Likewise.
11678 (__close_all_files): New function.
11679 (_close): Only queue file deletion if really a file.
11680 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
11681 _P_APPEND_EXE.
11682 (_exit): Call __close_all_files.
11683
11684 * libc/stdlib/system.c: #include <errno.h>.
11685 (_system_r): Fix results in -DNO_EXEC case.
11686
11687 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
11688 Reorganize structure.
11689 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
11690 if argument is valid. Save directory name in DIR. malloc space
11691 for dirent struct separately.
11692 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
11693
11694 * libc/include/errno.h (ENAMETOOLONG): Define.
11695 * libc/string/strerror.c (strerror): Reword ENFILE.
11696 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
11697
11698Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
11699
11700 * libc/sys/win32/crt0.c (__progname): New global.
11701 (mainCRTStartup): Support strace=bitmask,filename.
11702 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
11703 * libc/sys/win32/syscalls.c (_write): Print parent trace message
11704 if error.
11705 (getcwd): Handle len too small. Convert '\\' to '/'.
11706 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
11707 Add prototypes for open, creat, fcntl.
11708 (O_APPEND): Change value to conform to Microsoft's value.
11709 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
11710
11711 * libc/stdlib/getopt.c: New file.
11712 * libc/stdlib/Makefile.in: Build it.
11713
11714Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
11715
11716 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
11717 Fix scanning of $PATH.
11718 * libc/posix/exec*.c: Call _execve, not execve.
11719 * libc/posix/execve.c: New file.
11720 * libc/posix/Makefile.in (OFILES): Add execve.o.
11721
11722 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
11723 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
11724 (_STRACE): If level==0, always print. Handle new bit mask scheme.
11725 * libc/sys/win32/crt0.c: Update _STRACE calls.
11726 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
11727
11728 * libc/sys/win32/smallprint.c (rn): Fix digit list.
11729
11730 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
11731 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
11732 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
11733 Print __seterrno trace message first.
11734 (_execve): Renamed from execve.
11735 (vfork): Update __strace usage.
11736 (__vfork_child_pid): Deleted.
11737 (__vfork_children, __vfork_child_idx): New globals.
11738 (_spawnvp): New function.
11739 (spawnvp, spawnv, _execve): Call _spawnvp.
11740 (init_child): Record child in __vfork_children.
11741 (__vfork_get_entry, __vfork_record_death): New functions.
11742 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
11743 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
11744 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
11745 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
11746 (children): New typedef.
11747 (__vfork_children,__vfork_child_idx): Declare.
11748 (__vfork_get_entry,__vfork_record_death): Declare.
11749 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
11750 (waitpid): Handle pid == -1.
11751 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
11752 * configure.in (i386-win32): Add -DNO_FORK.
11753 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
11754 * libc/reent/execr.c (_fork_r): Likewise.
11755 * libc/stdlib/system.c (do_system): New function.
11756 If WIN32, try to get shell path from $SH_PATH, use vfork.
11757 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
11758 otherwise return 0.
11759
11760Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
11761
11762 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
11763 * libc/sys/win32/fcntl.h: Don't include self.
11764 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
11765 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
11766 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
11767 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
11768 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
11769 Correct prototypes.
11770 * libc/sys/win32/strace.c: New file.
11771 * libc/sys/win32/smallprint.c: New file.
11772 * libc/sys/win32/crt0.c (func): Delete.
11773 (mainCRTStartup): Fix alloca usage. Set handles explictly.
11774 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
11775 * libc/sys/win32/exceptions.c: Lint.
11776 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
11777 Clean up handle usage.
11778 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
11779 (open.c): Default file type is text.
11780 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
11781 * libc/sys/win32/advapi32.def: New
11782
11783Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
11784
11785 * configure.in (posix_dir, libc_posix_lib): New variables.
11786 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
11787 (i[345]86-*-win32): Define posix_dir.
11788 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
11789 (if unix_dir): Fix typo.
11790 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
11791 scandir,seekdir,telldir}: New files.
11792 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
11793 from libc/unix.
11794 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
11795 (SUBDIRS): Add posix.
11796 (SUBLIBS): Add $(LIBC_POSIX_LIB).
11797
11798 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
11799 (NSIG): Increase to 21.
11800 * libc/include/sys/unistd.h (pid_t): Move from here,
11801 * libc/include/sys/types.h (pid_t): to here.
11802
11803 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
11804 (__ptrace): Delete.
11805 (hinfo): New members close_exec_p, child_created_p.
11806 (struct exception_list): Define.
11807 (__hmap): Redefine as pointer to table.
11808 (__parent_hmap, __child_hmap): New globals.
11809 (__set_errno, __really_exit): Declare.
11810 (__vfork_child_pid): Declare.
11811 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
11812 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
11813 (__parent_hmap, __child_hmap): New globals.
11814 (__hmap): Redefine as pointer to active map.
11815 (__get_console): New function.
11816 (mainCRTStartup): Change leading '=' in environ vars to '!'.
11817 (env __FD_TABLE__): Watch for this and initialize our fd/handle
11818 mapping table from it if defined.
11819 (argv, envp): Dump if __strace >= 4.
11820 (main): Call here.
11821 * libc/sys/win32/exceptions.c (myp): Redefine.
11822 (__syscalls_b): Delete.
11823 (__stack_trace): New function.
11824 (ehandler3): Update to use _STRACE. Print stack trace.
11825 Call __really_exit instead of exit.
11826 (init_exceptions): Delete args argc,argv. New arg mine.
11827 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
11828 FindFirstFileA, FindNextFileA, GetComputerNameA,
11829 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
11830 * libc/sys/win32/signal.c (signal): Validate arg.
11831 (alarm, sleep): Define as stubs for now.
11832 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
11833 (__syscalls_b, errno): Delete.
11834 (__vfork_child_pid, __vfork_jmp_buf): New globals.
11835 (__seterrno): Handle more errors.
11836 (__sys_printf): Renamed from _ptrace.
11837 (__really_exit): New function.
11838 (queue_file_deletion, process_deletion_queue): New functions.
11839 (__resume_parent): New function.
11840 (_unlink): Handle trying to delete open file.
11841 (__totime_t): Renamed from totime_t.
11842 (setsid, __read, __write): New functions.
11843 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
11844 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
11845 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
11846 * libc/sys/win32/console.c: Update to new definition of __hmap.
11847 * libc/sys/win32/Makefile.in: Build new files.
11848 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
11849 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
11850 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
11851 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
11852
11853Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
11854
11855 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
11856
11857Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11858
11859 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
11860 have been made to the master dtoa.c sources (from netlib.att.com)
11861 since they were integrated into newlib in early 1992. Fixes
11862 problems with storage leaks and handling of numbers with very
11863 negative exponents.
11864
11865Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11866
11867 * Makefile.in (all): set rootpre and srcrootpre before calling
11868 sub-makes.
11869
11870Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
11871
11872 * libc/sys/win32/crt0.c: Change __hmap usage.
11873 * libc/sys/win32/exceptions.c: Use _ptrace call.
11874 * libc/sys/win32/syscalls.c: Use _ptrace call.
11875 (read, write): Cope with DOS style CRLF when in TEXT mode.
11876 * libc/sys/win32/syscalls.h: Declare hinfo struct.
11877 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
11878 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
11879 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
11880 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
11881
11882Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11883
11884 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
11885
11886 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
11887 wrappers for hypot() and remainder() for BSD libm compatibility.
11888 These are public domain implementations written by me for the
11889 NetBSD libm some time ago. Note cabs() is required by ucbtest.
11890 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
11891 (fobj): Added wf_cabs.o and wf_drem.o.
11892
11893Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11894
11895 * libc/sys/h8500hms/misc.c: New file.
11896 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
11897
11898Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11899
11900 * libc/time/localtime.c (localtime): Fix problem with leap year
11901 handling. Stole algorithm from Arthur David Olson's tz code.
11902
11903Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
11904
11905 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
11906
11907 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
11908 (_exit): Use argument.
11909
11910Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
11911
11912 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
11913
11914Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
11915
11916 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
11917
11918Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11919
11920 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
11921 target_cflags.
11922
11923Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
11924
11925 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
11926 ptrace with case insensitivity
11927 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
11928 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
11929 New files.
11930
11931Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
11932
11933 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
11934 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
11935 (all, install, *clean): Use new multilib support.
11936 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
11937
11938Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
11939
11940 * libc/include/sys/signal.h (__WIN32__): New.
11941
11942 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
11943
11944 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
11945 (ulp, b2d): Handle 32 bit doubles.
11946 * libc/stdlib/mprec.h: Handle 32 bit doubles.
11947 * libc/stdlib/strtod.c (_strtod_r): Ditto.
11948
11949Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
11950
11951 from medp@primag.co.uk:
11952 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
11953 dynamically allocated buffers.
11954
11955Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
11956
11957 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
11958 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
11959
11960Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11961
11962 * configure.in (powerpc): Fix previous fix.
11963
11964Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11965
11966 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
11967 directories for this target.
11968
11969Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
11970
11971 * configure.in (hppa): Add machine_dir definition.
11972 * libc/machine/hppa: New directory with PA specific implementations
11973 of the basic memory/string functions.
11974
11975Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
11976
11977 * configure.in: Update current PowerPC multilib directories.
11978 Split big and little endian configurations.
11979
11980Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
11981
11982 * configure.in: Add --enable-single-float option to configure to
11983 control use of MIPS single-float directories. Default to yes.
11984
11985 * Makefile.in (all): Don't recurse into multilib directory if it
11986 does not exist.
11987
11988Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
11989
11990 * libc/sys/sh/syscalls.c: Fix typo.
11991
11992Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
11993
11994 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
11995 Pass down DLLTOOL.
11996 * libc/include/process.h: Define WAIT_CHILD.
11997 * libc/include/types.h: Get sizes right for win32.
11998 * configure.in (i386-*-pe): Becomes i386-win32.
11999 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
12000 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
12001 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
12002 is defined.
12003
12004Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
12005
12006 * configure.in (i[345]86-*-pe): New target (NT).
12007 * host/any: DLLTOOL new.
12008 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
12009 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
12010 WIN32 (just enough to cross host the comp-tools).
12011
12012Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
12013
12014 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
12015 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
12016
12017Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
12018
12019 * libc/include/machine/ieeefp.h (arm): Change to always be
12020 __IEEE_BIG_ENDIAN (even on little endian ARM's).
12021
12022Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
12023
12024 * libc/sys/crt0.S: Initialze sp, and call exit after main.
12025 * libc/sys/syscalls.c (abort): New.
12026 * configure.in (arm): Define ABORT_PROVIDED.
12027
12028Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12029
12030 * configure.in (powerpc): Define multidirs.
12031
12032Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
12033
12034 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
12035
12036Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
12037
12038 * configure.in (sparclite): Delete target_cflags. Define multidirs.
12039
12040Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
12041
12042 * configure.in, libc/include/machine/ieeefp.h: Modified
12043 for arm:
12044 libc/machine/arm/*, libc/sys/arm/*: New
12045
12046Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12047
12048 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
12049 __powerpc__ when determining endianness.
12050
12051Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12052
12053 * configure.in (m68*): Add multidir for the m68332.
12054
12055 * host/any (CC): Fix typo in last change.
12056
12057Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
12058
12059 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
12060 when determining endianness.
12061 * libc/include/machine/ieeefp.h: Ditto.
12062 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
12063 operands.
12064
12065Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
12066
12067 * libc/include/errno.h (ENOTEMPTY): Define.
12068
12069Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12070
12071 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
12072 target_cflags.
12073
12074 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
12075 and umultiply.o.
12076
12077 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
12078 instead of only when open succeeds. ANSI requires that multiple
12079 calls to tmpnam() result in different files.
12080
12081 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
12082 objects pulled in from /lib/libc.a that must be renamed before
12083 being pulled into newlib. /lib/libc.a's div.o conflicted with
12084 newlib's file with the same name.
12085
12086 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
12087
12088 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
12089 the build tree will only be used if the executables are present
12090 (instead of just the Makefiles).
12091
12092 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
12093 wcstombs): Define.
12094 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
12095 versions of these functions that I orignally wrote for the
12096 NetBSD C library.
12097 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
12098 versions I wrote for NetBSD.
12099
12100Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
12101
12102 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
12103 * libc/sys/sparclite/crt0.s: ditto.
12104
12105Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
12106
12107 * configure.in: Add soft-float for proelf.
12108
12109Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
12110
12111 * libc/stdlib/mprec.h (Bcopy): Copy the right number
12112 of bytes.
12113
12114Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
12115
12116 * Makefile.in (all): Depend on `force'.
12117 * configure.in (syscall_dir): Renamed from fake_sys_dir.
12118 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
12119 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
12120 * libc/Makefile.in: Likewise.
12121 * libc/include/reent.h: Update syscall references.
12122 (_fcntl_r): Add prototype.
12123 * libc/syscalls/*.c #include <reent.h>.
12124 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
12125
12126Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
12127
12128 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
12129 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
12130 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
12131 (time.h, sys/types.h): Always include (even if MSDOS).
12132 (stat): Fix prototype.
12133
12134Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
12135
12136 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
12137
12138Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12139
12140 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
12141
12142Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
12143
12144 * libc/include/regdef.h: New file.
12145 * libc/machine/mips/machine/regdef.h: New file.
12146
12147Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
12148
12149 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
12150
12151Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
12152
12153 * libc/sys/sh/crt0.S: Pass main's return to exit.
12154 * libc/sys/sh/trap.S: Put errno in the right place.
12155
12156Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
12157
12158 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
12159 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
12160 * libm/math/ef_rem_pio2.c: Likewise.
12161 * libm/math/e_log10.c: Remove unused static one.
12162 * libm/math/ef_log10.c: Likewise.
12163 * libm/math/s_frexp.c: Likewise.
12164 * libm/math/sf_frexp.c: Likewise.
12165
12166Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
12167
12168 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
12169 longjmp.S: Upgraded.
12170 * libc/sys/go32/sys/setjmp.h: Upgraded.
12171 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
12172
12173Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
12174
12175 * configure.in: Add many entries to multidirs for mips targets.
12176
12177Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12178
12179 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
12180 5.2 which fixes bug where jn(-1,x) is three times larger than
12181 the actual answer.
12182 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
12183
12184Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
12185
12186 * libc/sys/w65/sys/syscalls.h: New file
12187 * libc/include/machine/ieeefp.h: W65 support.
12188 * libc/include/sys/config.h: Ditto.
12189 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
12190 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
12191 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
12192
12193Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
12194
12195 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
12196
12197Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
12198
12199 * Makefile.in, configure.in: Remove any references to the old
12200 "stub" dir.
12201
12202Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
12203
12204 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
12205 uses ... in prototype.
12206
12207
12208Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
12209
12210 * libc/sys/a29khif/sys/libconfig.h: Remove.
12211 * libc/sys/go32/sys/libconfig.h: Remove.
12212 * libc/sys/sun4/sys/libconfig.h: Remove.
12213 * libc/sys/sysvi386/sys/libconfig.h: Remove.
12214 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
12215 * libc/sys/sparc64/sys/libconfig.h: Remove.
12216
12217 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
12218 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
12219 * libc/include/math.h: Change all uses of _FLOAT_RET and
12220 _FLOAT_ARG to float.
12221 * libm/test/math.c: Likewise.
12222 * testsuite/libm.sac/math.c: Likewise.
12223 * testsuite/libm.sac/working/math.c: Likewise.
12224
12225Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
12226
12227 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
12228 gcc calls gas with endian option.
12229 * configure.in (sh): Build little endian version too.
12230
12231Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
12232
12233 * configure.in: Configure big and little endian versions for MIPS
12234 targets.
12235
12236Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
12237
12238 * libc/include/limits.h: Deleted.
12239 * libc/include/machine/limits.h: Deleted.
12240
12241Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
12242
12243 * ChangeLog: Remove stub directory. This has all been rewritten
12244 and moved to devo/libgloss.
12245
12246Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
12247
12248 * Makefile.in (dvi): Add to info target, use $@ in sub make.
12249 (docs): Merge into info target.
12250 * libm/Makefile.in (dvi): Add $(srcdir).
12251 * libm/math/Makefile.in (chobjs): Remove underscores from file
12252 names. Texinfo doesn't like them.
12253 (wacos.def, ...): Add explicit targets for all .def files.
12254 * libm/math/math.tex: Remove underscores from @include file names.
12255 * doc/Makefile.in (dvi): Add dummy target.
12256 * testsuite/Makefile.in (dvi): Add dummy target.
12257
12258Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
12259
12260 * Makefile.in (VERSION): Define. For net newlib releases.
12261
12262Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
12263
12264 * README: New file.
12265
12266Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
12267
12268 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
12269
12270Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12271
12272 * libc/stdlib/setenv.c (_findenv): Declare.
12273
12274 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
12275 fcntl to not use _EXFUN, and change string parameters to open and
12276 creat to be ``const char *''.
12277 * libc/sys/sparc64/sys/fcntl.h: Likewise.
12278 * libc/sys/sparc64/creat.c (creat): Make PATH const.
12279 * libc/syscalls/sysopen.c: Include <fcntl.h>.
12280 (open) Make _FILE const.
12281 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
12282 (_creat): Make PATH const.
12283 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
12284 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
12285 * libc/sys/m88kbug/syscalls.c (open): Likewise.
12286 * libc/sys/sh/syscalls.c (_open): Likewise.
12287 * stub/shared/glue.c (open): Make BUF const.
12288 * stub/ex93x/syscalls.c (open): Make FILENAME const.
12289
12290Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
12291
12292 * libc/include/errno.h: Add ENMFILE
12293 * libc/include/sys/config.h: Support Z8000.
12294 * libc/include/sys/signal.h: New signals for go32.
12295 * libc/machine/h8500/psi.S (__addpsir0r0): New function
12296 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
12297 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
12298 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
12299 size is variable, depending upon CHUNK_POWER.
12300 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
12301
12302Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
12303
12304 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
12305
12306Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12307
12308 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
12309
12310Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12311
12312 * configure.in: Change i[34]86 to i[345]86.
12313
12314 * libc/include/math.h: Don't define HUGE_VAL if it is already
12315 defined.
12316
12317Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12318
12319 * testsuite/libm.sac/test_erfc.c: Correct some result values.
12320 * testsuite/libm.sac/test_gammaf.c: Likewise.
12321 * testsuite/libm.sac/test_sin.c: Likewise.
12322 * testsuite/libm.sac/test_tanh.c: Likewise.
12323
12324Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12325
12326 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
12327 already set. Define typedefs __int32_t and __uint32_t.
12328 * libc/include/math.h: Include <machine/ieeefp.h>.
12329 (union __dmath): Use __uint32_t.
12330 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
12331 instead of int and unsigned int.
12332
12333Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12334
12335 Replace the math library with the SunPRO fdlibm package.
12336 * libm/math: Completely changed all files.
12337 * libm/ieeefp: Remove contents and directory.
12338 * libm/Makefile.in (LIBM_FP_LIB): Remove.
12339 (SUBDIRS): Just set to math/lib.a.
12340 * libm/libm.texinfo: Updated for new library.
12341 * libc/include/math.h: Extensive changes for new math library.
12342 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
12343 from _FLOAT_ARG to float.
12344 (maxpowtwo, maxpowtwof): Don't declare.
12345 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
12346 (libm_fp_lib): Removed.
12347 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
12348 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
12349 argument to ${RUNTEST}.
12350 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
12351 (.c.o): New rule.
12352 (RUNTESTFLAGS): Set CC and CFLAGS.
12353 (TESTS): Remove test_log2 and test_log2f.
12354 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
12355 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
12356 _FLOAT_ARG, for single precision argument type.
12357 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
12358 expected failure. Close the input pipe.
12359 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
12360 Correct misspelling of inaccurate.
12361 (test_mok): Use ``inaccurate'', not ``wrong''.
12362 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
12363 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
12364 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
12365 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
12366 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
12367 test_yn.c): Correct many result values. Many are still wrong.
12368
12369 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
12370 just copy the string.
12371 (_gcvt): Always return the buffer.
12372
12373Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12374
12375 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
12376
12377Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
12378
12379 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
12380 structure.
12381 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
12382 (_reclaim_reent): declare new entry point.
12383 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
12384 functions.
12385
12386 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
12387 ever allocated, so that we can later reclaim them all.
12388 (pow5mult): make reentrant.
12389
12390 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
12391 so that when given NULL as a buffer, return a pointer to static
12392 space in the rent structure. This is not documented behaviour;
12393 it's only to support ecvt and fcvt, which aren't ANSI anyway.
12394 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
12395 therefore become reentrant).
12396
12397 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
12398
12399Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12400
12401 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
12402
12403Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
12404
12405 * Makefile.in: Make link to libg.a after libc.a; this is needed
12406 for the testsuites to build executables when everything comes
12407 from the tree.
12408
12409Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
12410
12411 * libc/Makefile.in: Add a VERSION variable so we can keep track.
12412 * libm/Makefile.in: Add a VERSION variable so we can keep track.
12413
12414Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
12415
12416 * libc/include/stdio.h: Use __VALIST, not va_list.
12417
12418Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
12419
12420 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
12421 testsuite/libm.sac/execute.exp:
12422 Replace error proc calls with perror calls.
12423
12424Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
12425
12426 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
12427 * libc/include/time.h: #define NULL as 0L.
12428
12429Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
12430
12431 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
12432 care of it.
12433
12434Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12435
12436 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
12437 not __unix__.
12438
12439Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
12440
12441 * configure.in (TARGET_CFLAGS): Set -O2 as default.
12442 (z8k-*-*): Use syscalls fake sys dir.
12443 * libc/sys/z8k/glue.c: Rename syscalls.
12444 * libc/sys/go32/Makefile.in: Use new routines.
12445 * libc/machine/Makefile.in: Fix typo in ln stuff.
12446
12447Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12448
12449 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
12450 * libc/Makefile.in (crt0.o): Likewise.
12451 * libc/machine/Makefile.in (lib.a): Likewise.
12452 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
12453
12454 All Makefile.in files: Added mostlyclean, realclean and distclean
12455 targets.
12456
12457 * Makefile.in: Don't bother to unexport XTRAFLAGS or
12458 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
12459 the top level Makefile.
12460
12461Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
12462
12463 * libc/sys/sparc64/sys/stat.h: New file.
12464 * libc/sys/sparc64/sys/time.h: New file.
12465 * libc/sys/sparc64/sys/types.h: New file.
12466
12467Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
12468
12469 * stub/ex93x/crt0.s (start): Add code to clear bss.
12470
12471Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
12472
12473 * libc/include/sys/types.h (time_t): Properly protect inside
12474 #ifndef __time_t_defined.
12475
12476 * libc/stdio/fileno.c: New file.
12477 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
12478 (fileno.o): Add dependency.
12479 * libc/include/stdio.h (__sgetc): Rename never to _never.
12480 (fileno macro): Disable, needs to do CHECK_INIT first.
12481
12482Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
12483
12484 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
12485 goal.
12486
12487 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
12488 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
12489 runtest.
12490 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
12491 runtest.
12492
12493Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
12494
12495 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
12496 of the various constants.
12497
12498Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
12499
12500 * libc/include/math.h: #ifndef __math_68881 around things which
12501 conflict with the (gcc-provided) inline functions in
12502 gcc/ginclude/math-68881.h.
12503
12504Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
12505
12506 * libc/include/_syslist.h (_gettimeofday): Define.
12507 (_times): Ditto.
12508 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
12509 (struct tms, timeval, timezone): Declare.
12510 (_gettimeofday_r, _times_r): Declare.
12511 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
12512 #ifdef _CLOCK_T_ surrounding definition of clock_t.
12513 (time_t): Add multiple definition protection, __time_t_defined.
12514 * libc/include/sys/time.h: Don't #include <time.h>.
12515 Always define struct timezone (remove #ifndef _TIME_H_).
12516 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
12517 #ifdef _CLOCK_T_ surrounding definition of clock_t.
12518 * libc/reent/Makefile.in (OFILES): Add timer.o.
12519 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
12520 * libc/reent/timer.c: New file.
12521 * libc/time/clock.c: #include <reent.h>.
12522 (clock): Call _times_r instead of times.
12523 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
12524 HAVE_GET_TIME_OF_DAY.
12525 Add comment regarding supporting OS routine(s) required (for docs).
12526 #include <reent.h>.
12527 (time): Call _gettimeofday_r instead of gettimeofday.
12528 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
12529 * libc/time/ctime.c: Ditto.
12530 * libc/time/strftime.c: Ditto.
12531 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
12532 (TEMPLATE_SFILES_R): Define here. Also define times.
12533 Add times_r.o/times.S dependence.
12534 (time2.c, junk.c): Deleted.
12535 * libc/sys/sparc64/time2.c: Deleted.
12536 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
12537
12538 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
12539 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
12540 * libc/sys/sparc64/junk.c: Deleted.
12541
12542Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
12543
12544 * libc/sys/sparc64/Makefile.in: Add times syscall.
12545 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
12546 be used with and without it. Add comment clarifying Medium/Anywhere
12547 model requirements.
12548 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
12549 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
12550 even if obsolete.
12551
12552Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
12553
12554 * configure.in (target_cflags): Move init.
12555 (sparc64-*-*): Define HAVE_BLKSIZE.
12556
12557Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
12558
12559 * libc/include/sys/_types.h: New file.
12560 * libc/include/reent.h: #include it.
12561 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
12562 MISSING_SYSCALL_NAMES.
12563 Sort syscalls.
12564 * libc/include/_syslist.h: Remove _raise.
12565 * libc/reent/signalr.c: New file.
12566 * libc/reent/Makefile.in: Compile it.
12567 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
12568 Add doc for raise and _raise_r.
12569 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
12570 (raise): Call _raise_r.
12571 (_raise_r): Call _getpid_r and _kill_r.
12572 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
12573 (abort): Loop forever calling raise and _exit.
12574
12575Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12576
12577 * configure.in: Remove extraneous echo.
12578
12579Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
12580
12581 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
12582 collision with unistd.h, and fix for svr4.
12583
12584Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
12585
12586 * libc/stdio/local.h (_llicvt): Declare.
12587 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
12588 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
12589 (_llicvt): Define.
12590 (_sicvt): Fix function header (`value' is short).
12591 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
12592 Add printing of long long's support.
12593 Add printing of 8 byte pointer support.
12594
12595Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
12596
12597 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
12598 stat, chmod): New hooks.
12599 (sbrk): Abort if stack and heap collide.
12600 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
12601 shortcut when given small args.
12602 * libc/machine/sh/setjmp.s: Rewritten.
12603 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
12604 of cmp/str instruction.
12605
12606Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12607
12608 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
12609 and machine_dir powerpc.
12610 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
12611 Add cases for __powerpc__.
12612 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
12613 New files.
12614
12615 * libc/include/stdio.h (_iprintf_r): Declare correctly.
12616
12617Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
12618
12619 * libc/stdlib/callocr.c: New file with _calloc_r in it.
12620 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
12621
12622Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
12623
12624 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
12625 (print_e): More comments to describe args, etc.
12626 "type" arg may now be 'g' or 'G' for %g/G format --> remove
12627 trailing blanks.
12628 (_gcvt): Remove locals decpt, sign, end, p, done.
12629 More comments for print_e invocation.
12630 Pass "type" to print_e as is (g/G).
12631
12632Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
12633
12634 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
12635 stock m68000.
12636
12637Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
12638
12639 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
12640 works with any sized pointer, including ones bigger than ints and
12641 longs.
12642
12643Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
12644
12645 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
12646
12647Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
12648
12649 * libc/include/stdlib.h (_calloc_r): Add prototype.
12650 * libc/machine/h8500/negsi2.c: New file.
12651 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
12652 large unsigned numbers.
12653 * libc/machine/h8500/cmpsi.c: Add cmppsi.
12654 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
12655 works when sizeof(size_t) != sizeof(char *).
12656 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
12657 get play area
12658 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
12659
12660Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
12661
12662 * libc/include/assert.h (assert): Handle -traditional.
12663
12664Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
12665
12666 * Makefile.in: added ; after every "fi" and "done" that wasn't at
12667 the end of a line (ie. anything before a backslash continuation)
12668 so that bash handles them.
12669
12670Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
12671
12672 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
12673 stat to lstat
12674
12675Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
12676
12677 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
12678 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
12679 libc/machine/sh/udivsi3.s: Use new calling convention.
12680
12681Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
12682
12683 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
12684 chmod, access, chdir, chown by making _path const. Also fix _amode
12685 param of access.
12686
12687Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
12688
12689 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
12690 _khif_tmpnam, because it doesn't comply with ANSI but may be
12691 useful anyway. Real tmpnam was already in libc/stdio, and was
12692 colliding with this one (pr 2176.)
12693 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
12694 the wrong idea anyhow.
12695
12696Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
12697
12698 * configure.in: Remove h8300h, we have multilib now.
12699
12700Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
12701
12702 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
12703 functions, to get preference over the ones in libiberty (since we
12704 provide correct declarations in <string.h>.
12705 * libc/string/Makefile.in: add support for strncasecmp,
12706 strcasecmp.
12707
12708Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
12709
12710 * Change netware config not to look for cpu explicitly.
12711
12712Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
12713
12714 * libc/sys/sparc64/{creat.c,junk.c}: New files.
12715 * libc/sys/sparc64/Makefile.in: Add dependencies.
12716
12717Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
12718
12719 * configure.in: Clean up v9 a bit, new "os" aoutv8.
12720
12721Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
12722
12723 * libc/include/sys/reent.h: make structure smaller by allocating
12724 some stuff when needed.
12725 * libc/signal/signal.c: allocate as needed
12726 * libc/stdio/findfp.c,stdio/local.h: ditto
12727 * libc/stdlib/mprec.c: ditto
12728
12729 * libc/time/localtime.c: don't return a dangling stack ptr.
12730
12731Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
12732
12733 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
12734
12735Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12736
12737 * libc/include/stdio.h (__sputc): comment out static inline which
12738 confuses coff toolchains.
12739
12740Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
12741
12742 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
12743 _write.s, getpid.c, kill.c, read.s}:
12744 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
12745 through the syscalls directory.
12746
12747Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
12748
12749 * configure.in: fixed double quote gotcha.
12750
12751Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
12752
12753 * stub/ex931: stub library for sparclite board.
12754 * stub/idp: Renamed from mc68ec. Added contructor table
12755 stuff to linker script.
12756 * stub/mvme135: Renamed from m68kmvme. Added contructor table
12757 stuff to linker script.
12758
12759Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12760
12761 * configure.in: Configure testsuites only if they exist.
12762
12763Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12764
12765 * configure.in: Don't set machine_dir for i386 until there is
12766 something in libc/machine/i386 to compile. For i[34]86-*-netware*
12767 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
12768 CLOCK_PROVIDED and MALLOC_PROVIDED.
12769
12770 * libc/sys/netware: New directory. Contains simplistic and
12771 probably incorrect stubs for NetWare. Should be enough to load
12772 the library.
12773 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
12774 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
12775 stub files.
12776
12777 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
12778 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
12779 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
12780 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
12781
12782Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
12783
12784 * testsuite/Makefile.in: add "docs" dummy target for consistency
12785 with rest of newlib; turn "info" and "install-info" into dummy
12786 targets, since they wouldn't have worked. (Depended on
12787 nonexistent "doc" subdir.)
12788
12789Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
12790
12791 * configure.in: handle mips* instead of mips
12792
12793Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
12794
12795 * libc/include/sys/dirent.h: New file. If it is not overridden by
12796 a version of libc/sys/*/sys/dirent.h, it includes the next
12797 <dirent.h> file in case there is one lurking somewhere.
12798
12799Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12800
12801 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
12802 compliance, namely: Accept a minus sign. Consider a single 0 with
12803 a radix of 0 as being a conversion. Determine overflow correctly.
12804 If an overflow occurs, set *ptr to the end of the number, not the
12805 middle.
12806 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
12807
12808Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
12809
12810 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
12811
12812Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
12813
12814 * Makefile.in (INSTALL): Use $srcrootpre.
12815 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
12816 can't handle it.
12817 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
12818 it.
12819 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
12820 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
12821 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
12822 * libm/math/Makefile.in (matherr.o): Ditto.
12823
12824Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
12825
12826 * configure.in: Build multidirs for z8k.
12827 * libc/include/stdlib.h (_strtoul_r): add prototype.
12828 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
12829 * libc/include/machine/setjmp.h: Add for z8k.
12830 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
12831 * libc/sys/z8ksim/glue.c: tidy up.
12832
12833Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
12834
12835 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
12836 New files. Requires execve system call.
12837 * libc/unix/Makefile.in: Use them.
12838 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
12839 Deleted, moved to libc/unix.
12840 * libc/sys/sparc64/Makefile.in: Remove them.
12841
12842Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
12843
12844 * libc/sys/sparc64/{template.S template_r.S}: New files.
12845 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
12846 from templates.
12847 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
12848 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
12849 umask.S unlink.S wait4.S write.S}: Removed, now built from
12850 templates.
12851
12852Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
12853
12854 * libc/time/time.c: #include <_ansi.h>.
12855
12856Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
12857
12858 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
12859
12860Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12861
12862 * configure.in: match m8* rather than m88k so that m88110 is
12863 recognized as well.
12864
12865Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
12866
12867 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
12868 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
12869 misc.c: New file.
12870
12871 * configure.in: Add multilib support to h8300.
12872
12873Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
12874
12875 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
12876 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
12877 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
12878
12879Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12880
12881 * configure.in: Corrected multidirs for sparc target.
12882
12883Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
12884
12885 Support for building newlib multiple times with different
12886 compilation flags.
12887 * configure.in: Only configure doc at top level. Set multidirs
12888 when appropriate for target, unless not at top level. If
12889 multidirs is set, independently configure each subdirectory.
12890 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
12891 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
12892 automagically set by configure.in.
12893 (all): If MULTIDIRS is set, build multiple copies of libraries.
12894 (install): If MULTIDIRS is set, install multiple copies of
12895 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
12896 MULTISUBDIR is set, don't bother to install header files.
12897 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
12898 ${srcrootpre}.
12899 * stub/configure.in: Set MULTISUBDIR appropriately.
12900 * stub/Makefile.in (install): Install in
12901 $(tooldir)/lib/$(MULTISUBDIR).
12902 * All Makefile.in files: Define SRCTOP as well as TOP.
12903
12904Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
12905
12906 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
12907 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
12908
12909Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
12910
12911 * libc/sys/h8300hms/exit.c (_exit): New function.
12912
12913Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12914
12915 * configure.in: recognize m88110.
12916
12917Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12918
12919 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
12920 prototype main and call with args.
12921
12922Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
12923
12924 First real try at system traps for m88k-bug.
12925 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
12926 to real trap calls.
12927 * libc/sys/m88kbug/sys/systraps.h: new file.
12928
12929Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12930
12931 Patches to fix info building when target does not use sys
12932 directory.
12933 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
12934 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
12935 libc/sys.tex.
12936 * libc/sys/Makefile.in (doc): do nothing.
12937
12938Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12939
12940 * libc/Makefile.in (CRT0): new macro.
12941 (all): depend on $(CRT0) rather than crt0.o.
12942
12943 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
12944 do not default crt0, instead, set crt0 and crt0_dir based on
12945 sys_dir and stub_dir.
12946
12947 * Makefile.in (CRT0_DIR): new macro.
12948 (all): depend on $(CRT0) rather than crt0.o which may not exist.
12949 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
12950 $(CRT0).
12951 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
12952
12953Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
12954
12955 * testsuite/lib/libm.exp:
12956 added code to support compiling and linking of tests for
12957 libm.sac (paranoia to be added next) and processing the
12958 pass or failure of the tests.
12959
12960 * testsuite/config/unix-libm.exp:
12961 platform specific proc's for dealing with compiler, linker
12962 and the way we execute and process the test results.
12963
12964 * testsuite/libm.sac/execute.exp:
12965 generic framework for the sac tests. the config and lib
12966 expect code for specific platforms tie it all together.
12967
12968 * testsuite/libm.sac/test_is.c:
12969 changed the output of the test to be consistant with the
12970 other tests. parsing of pass nad fail messages is now fixed.
12971
12972Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
12973
12974 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
12975 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
12976 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
12977 #ifdef __cplusplus, surround by extern ""C { ... }.
12978 * libc/include/assert.h: Do *not* protect assert.h against
12979 multiple inclusion! Also, #undef it before #define, to allow
12980 redefinition.
12981 * libc/include/stdio.h (getlogin, cuserid): Removed. These
12982 should be only in unistd.h.
12983
12984 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
12985 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
12986 ... }.
12987
12988Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
12989
12990 * libc/machine/sparc/Makefile.in: Must create a library, even
12991 if empty.
12992
12993Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
12994
12995 * configure.in: set machine_dir for m88k. edit crt0 definition
12996 into makefiles.
12997
12998 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
12999
13000 * libc/Makefile.in (all): also build crt0.o.
13001
13002 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
13003 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
13004 to remove CRT0.
13005
13006 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
13007 (all): reworked to build in place.
13008 (clean): remove lib.a
13009 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
13010
13011 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
13012 (_start): key off edata rather than _start_bss.
13013
13014Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
13015
13016 * libc/include/sys/unistd.h, libc/include/reent.h,
13017 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
13018
13019Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13020
13021 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
13022
13023 * Makefile.in (libc.a): break into two rules, one for libc.a and
13024 one for libc/libc.a. Force subdirs current before rebuilding
13025 library.
13026 (libm.a): break into two rules, one for libm.a and one for
13027 libm/libm.a. Force subdirs current before rebuilding library.
13028
13029 * libc/Makefile.in (SUBLIBS): fix typo.
13030
13031 * libc/sys/Makefile.in (all): force descent into subdirs, then
13032 rebuild library iff out of of date.
13033
13034Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
13035
13036 Rework so that library is built and then finished rather than
13037 being built on each invocation of make.
13038
13039 * host/any (machine_dir, sys_dir, signal_dir): these are not
13040 shared and have been moved to their associated Makefile.in's.
13041 (AR_FLAGS): switch to qc which is faster.
13042 * configure.in: no longer assign machine_dir for m88k. set
13043 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
13044 stub_dir set, then add to configdirs. add comment about silly
13045 configuration.
13046 (configdirs): drop stub. It will be added only
13047 when needed.
13048 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
13049 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
13050 stub_lib, crt0): new variables for tailoring lower level
13051 makefiles. Assign accordingly and edit into makefiles.
13052 * libm/Makefile.in: updated copyright.
13053 (TARGETLIB): removed.
13054 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
13055 (SUBDIRS): removed TARGETDEP_DIRS.
13056 (LIBM_FP_LIB, SUBLIBS): new macros.
13057 (all): reworked.
13058 (force): new target to force rebuilds.
13059 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13060 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
13061 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
13062 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
13063 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
13064 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
13065 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
13066 stub/m68kmvme/Makefile.in: updated copyright.
13067 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
13068 (all): reworked. made this the default rule.
13069 (clean): also remove lib.a.
13070 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13071 * stub/Makefile.in: updated copyright.
13072 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
13073 (stub_lib): new macro.
13074 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
13075 RANLIB.
13076 (all): reworked.
13077 (clean, install): assume stub_dir exists.
13078 (Makefile): depend on configure.in. call $(SHELL) rather than
13079 sh. drop redundant ./
13080 * stub/configure.in (stublib): new macro, assign it, edit it into
13081 makefiles.
13082 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
13083 updated copyright.
13084 (all): reworked.
13085 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13086 * libc/Makefile.in (TARGETCRT0): removed.
13087 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
13088 TARGETCRT0.
13089 (SUBDIRS): drop TARGETDEP_DIRS.
13090 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
13091 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
13092 (force): new target to force rebuilds.
13093 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
13094 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
13095 removed.
13096 (clean): assume sys_dir always exists.
13097 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
13098 drop redundant ./
13099 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
13100 libc/locale/Makefile.in, libc/machine/Makefile.in,
13101 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
13102 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
13103 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
13104 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
13105 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
13106 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
13107 libc/signal/Makefile.in, libc/stdio/Makefile.in,
13108 libc/stdlib/Makefile.in, libc/string/Makefile.in,
13109 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
13110 libc/time/Makefile.in, libc/unix/Makefile.in,
13111 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
13112 (TARGETLIB): removed.
13113 (all): reworked.
13114 (clean): also remove lib.a.
13115 (Makefile): call $(SHELL) rather than sh. drop redundant ./
13116 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
13117 new macros.
13118 (SUBDIRS): moved to follow frag inclusion, change stub to
13119 stub_dir.
13120 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
13121 are now set in the libc Makefile.
13122 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
13123 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
13124 TARGETCRT0.
13125 (force): new target to force rebuilds.
13126 * stub/configure.in: determine and set stub_lib for for Makefile.
13127
13128Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
13129
13130 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
13131 crt0.s renamed to crt0.S.
13132 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
13133
13134 * libc/machine/h8300/Makefile.in: Make `all' the default target.
13135 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
13136 h8300h.
13137 * libc/machine/h8300/defines.h: Add macros to handle pointers for
13138 h8300 (16 bits) and h8300h (32 bits).
13139 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
13140 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
13141
13142Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
13143
13144 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
13145 implementation of setjmp and longjmp for the m88k.
13146 * libc/include/machine/setjmp.h: Added __m88000__ case.
13147
13148Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
13149
13150 * configure.in: Recognize h8300h as variant of h8300.
13151
13152Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13153
13154 * libc/include/sys/unistd.h (read, write): get prototypes right.
13155 (sbrk): New prototype.
13156 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
13157 * libc/stdio/local.h: Include unistd.h.
13158 * libc/machine/h8300/syscalls.c: Names have changed.
13159
13160Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
13161
13162 * configure.in: add sys_dir assignment for m88k-bug.
13163
13164Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
13165
13166 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
13167 a.out or elf.
13168 * libc/sys/sparc64: all *.S files: Use new macros.
13169 * libc/sys/sparc64/isatty.c: New file.
13170 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
13171 functions beyond what newlib provides.
13172
13173Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
13174
13175 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
13176 svr4.
13177
13178Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
13179
13180 * libc/include/machine/ieeefp.h: Add support for h8/300h.
13181
13182Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
13183
13184 * configure.in: add m88k.
13185 * libc/include/machine/ieeefp.h: add case for m88k. Also add
13186 sanity check so no one else need ever chase what I did to find
13187 this.
13188
13189 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
13190
13191Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
13192
13193 * doc/makedoc.c: Include <ctype.h>.
13194
13195Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
13196
13197 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
13198 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
13199 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
13200
13201 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
13202
13203Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
13204
13205 * libc/include/errno.h (ENOSYS): Added.
13206
13207 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
13208
13209Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
13210
13211 * libc/stdio/fflush.c (fflush): Check for reent struct
13212 initialization.
13213 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
13214
13215Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
13216
13217 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
13218 out of dtoa.c so it doesn't pollute the namespace.
13219 * libc/include/_syslist.h: new file -- mappings from _function to
13220 function, for systems where we can't win (by default, all of them,
13221 until we start updating system calls.)
13222 * libc/syscalls: new directory -- stubs for exporting _function
13223 names as unmodified function names.
13224 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
13225 _syslist.h on all platforms by default, but put hooks in for
13226 fake_sys_dir so we can include it when we've renamed the system
13227 calls.
13228 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
13229 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
13230 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
13231 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
13232 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
13233 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
13234 non ANSI functions to call _function.
13235
13236Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
13237
13238 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
13239 when base 16 is specified. Don't accept non-digits if radix > 10.
13240
13241Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
13242
13243 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
13244
13245Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
13246
13247 * libc/include/sys/stat.h: Surround text after #endif with
13248 comments.
13249
13250Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
13251
13252 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
13253 _malloc_r, _realloc_r, and free_r call the corresponding
13254 non-reentrant functions.
13255
13256 * libm/math/modf.c (modf): We now take the address of ipart, so
13257 don't make it a register variable.
13258
13259Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
13260
13261 * libm/math/*: Rename all xxx_r fns to _xxx_r.
13262
13263Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
13264
13265 * libc/libc.texinfo and embedded docn throughout: formatting
13266 improvements, minor rephrasing for clarity, and improved
13267 reentrancy docn.
13268
13269Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13270
13271 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
13272
13273 * libc/stdio/cvt.c (_licvt): Print the right value on machines
13274 where sizeof(int) != sizeof(long).
13275
13276Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
13277
13278 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
13279 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
13280 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
13281 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
13282 libm/math/matherr.c: changes for better docn formatting (info).
13283
13284 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
13285 libc/reent/reent.tex, libc/signal/signal.tex,
13286 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
13287 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
13288 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
13289 makeinfo node defaulting to get better Info file node structure.
13290 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
13291 Also include a few formerly missing sections (subroutines).
13292
13293 * doc/doc.str: delete fossil expansion for "func"
13294
13295 * default.menu, no-signal.menu: delete.
13296
13297 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
13298 method used to adjust doc for missing "signals" chapter when
13299 signal_dir is empty.
13300
13301Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13302
13303 * configure.in: added testsuite/libm.sac
13304
13305Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
13306
13307 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
13308 code model).
13309
13310Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
13311
13312 * libm/Makefile.in: Use $(MAKE) rather than make, and define
13313 MAKEOVERRIDES to be empty.
13314
13315Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
13316
13317 * configure.in: Don't build mips-*-* with -msoft-float, since that
13318 makes it incompatible with hard floating point.
13319
13320Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13321
13322 * Makefile.in: added recursive 'make check'
13323
13324Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
13325
13326 * configure.in: added ./testsuite ./testsuite/libm.paranoia
13327 * ./testsuite/Makefile.in: created
13328 * ./testsuite/libm.paranoia: paranoia tests added
13329
13330Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
13331
13332 * configure.in: For mips-*-* set machine_dir to mips.
13333
13334 * libc/machine/mips: New directory.
13335 * libc/machine/mips/Makefile.in: New file.
13336 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
13337 setjmp and longjmp.
13338 * libc/include/machine/setjmp.h: Added __mips__ case.
13339
13340 * libc/machine/lmips: Removed unused and useless directory.
13341
13342Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
13343
13344 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
13345
13346Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
13347
13348 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
13349 start up).
13350
13351Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
13352
13353 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
13354 SETJMP_H.
13355
13356Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
13357
13358 * libm/test/convert.c: structure member errno -> errno_val.
13359 Must include <errno.h> to use errno, it's a macro now.
13360 * libm/test/math.c: Ditto.
13361 * libm/test/math2.c: Include errno.h.
13362 * libm/test/string.c: Ditto.
13363 * libm/test/test.h: structure member errno -> errno_val.
13364 Remove extern int errno decl.
13365
13366Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
13367
13368 * libc/stdio/Makefile.in: Added dependencies on local header
13369 files.
13370 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
13371 files.
13372
13373Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
13374
13375 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
13376
13377Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
13378
13379 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
13380 Initialize _data.
13381
13382 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
13383 * libc/stdio/local.h: Add prototype for _licvt.
13384
13385 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
13386 instead of malloc,reealloc.
13387
13388 * libc/stdlib/local.h: New file.
13389 * libc/stdlib/efgcvt.c: #include local.h.
13390 (gcvt): Fix call to _gcvt.
13391 * libc/stdlib/ecvtbuf.c: #include local.h.
13392
13393 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
13394 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
13395 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
13396
13397 * libc/stdlib/atexit.c: moved global data to struct _reent.
13398 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
13399
13400 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
13401
13402Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
13403
13404 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
13405 here from ../reent.h.
13406
13407Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
13408
13409 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
13410 should be provided in both libc.a and libm.a.
13411 (libc.a): Depend on targ-include and libm.a. Copy
13412 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
13413 (libm.a): Depend on targ-include.
13414 * configure.in (subdirs): Removed libc/math.
13415
13416Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13417
13418 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
13419
13420Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
13421
13422 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
13423 sys/reent.h instead of reent.h.
13424 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
13425 headers moved to sys/reent.h.
13426 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
13427 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
13428 __need__MAX_SIGNALS defined.
13429 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
13430 std{in,out,err} refer to new _std{in,out,err} members.
13431
13432Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
13433
13434 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
13435 case.
13436
13437Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
13438
13439 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
13440 rather than whatever macro seterrno() has.
13441
13442Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
13443
13444 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
13445 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
13446
13447 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
13448 __STDC__.
13449
13450 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
13451 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
13452 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
13453
13454 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
13455 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
13456
13457 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
13458 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
13459 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
13460 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
13461 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
13462 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
13463 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
13464 renamed to _xxx_r. struct reent_struct renamed to struct _reent
13465 for ANSI. structure members given leading "_" for ANSI. Use
13466 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
13467
13468 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
13469 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
13470 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
13471 reent_struct renamed to struct _reent for ANSI.
13472 Structure members given leading "_" for ANSI.
13473 _CONST --> const in prototypes.
13474 Use _HAVE_STDC instead of __STDC__.
13475
13476 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
13477 _xxx_r.
13478 struct reent_struct renamed to struct _reent for ANSI.
13479 Structure members given leading "_" for ANSI.
13480
13481 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
13482 _xxx_r.
13483 struct reent_struct renamed to struct _reent for ANSI.
13484
13485 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
13486 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
13487 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
13488 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
13489 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
13490
13491 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
13492 signal.h, stdio.h, stdlib.h, string.h, time.h}:
13493 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
13494 #ifndef _STRICT_ANSI non-ANSI routines.
13495 Reentrant routines renamed from _r_xxx to _xxx_r.
13496 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
13497 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
13498 Clean up namespace (structure members have leading "_").
13499 struct reent_struct renamed to struct _reent for ANSI compliance.
13500 _CONST --> const in function prototypes.
13501
13502 * libc/include/string.h: Add NULL and size_t.
13503
13504 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
13505 unlink, wait, wait4. Reentrant syscall routines close, fork,
13506 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
13507 write.
13508 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
13509 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
13510 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
13511 write.S}: Define reentrant versions.
13512 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
13513 reentrant syscalls.
13514
13515 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
13516
13517 * libc/include/stdlib.h (RAND_MAX): Fix value.
13518
13519Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
13520
13521 * libc/sys/a29khif/_main.c: Removed unnecessary file.
13522 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
13523 VPATH support targets after all: target.
13524
13525 * stub/mvme135/mvme.S: Renamed exceptionhandler to
13526 exceptionHandler, which is what mvme135-stub.c expects.
13527
13528Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
13529
13530 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
13531
13532 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
13533 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
13534 compliant).
13535
13536Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
13537
13538 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
13539 first.
13540 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
13541 _r_write): Ditto.
13542 libc/reent/fstatr.c (_r_fstat): Ditto.
13543 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
13544 libc/reent/sbrkr.c (_r_sbrk): Ditto.
13545 libc/reent/statr.c (_r_stat): Ditto.
13546
13547 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
13548 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
13549 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
13550 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
13551 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
13552 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
13553 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
13554 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
13555 (__swrite): Ditto for _r_lseek, _r_write.
13556 (__sseek): Ditto for _r_lseek.
13557 (__close): Ditto for _r_close.
13558 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
13559
13560 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
13561 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
13562
13563 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
13564 to make reent_struct the first argument (and thus consistent with
13565 the rest of newlib).
13566
13567 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
13568 reference to __STDC__.
13569
13570Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
13571
13572 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
13573 global __cleanup.
13574
13575Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
13576
13577 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
13578 first.
13579 libc/stdio/fclose.c (fclose): Ditto.
13580
13581Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
13582
13583 * Run through indent and rename reentrant routines for ANSI.
13584 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
13585 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
13586 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
13587 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
13588 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
13589 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
13590 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
13591 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
13592 vsprintf.c wbuf.c wsetup.c local.h}
13593
13594 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
13595
13596 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
13597 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
13598 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
13599 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
13600 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
13601 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
13602
13603 * Run through indent.
13604 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
13605 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
13606 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
13607 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
13608 strxfrm.c}
13609
13610 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
13611 localtime.c mktime.c strftime.c time.c}:
13612 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
13613
13614 * Reformatting + renaming (for ANSI, GNU style, consistency).
13615 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
13616 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
13617 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
13618
13619Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
13620
13621 * libc/include/stdio.h (stdin_r): Fix.
13622
13623Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
13624
13625 * Makefile.in: Unexport some variables to keep GNU make from
13626 putting them in the environment and using up needed ARG_MAX space
13627 (a hack is used to let this work with older makes as well).
13628
13629Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
13630
13631 * Makefile.in: Use $(MAKE) rather than make.
13632 (MAKEOVERRIDES): Define to be empty.
13633 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
13634 (libc.a, libm.a): Depend on targ-include.
13635 * host/any (LD): Don't define.
13636 (INCLUDES): Use targ-include.
13637 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
13638 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
13639 * libc/Makefile.in: Use $(MAKE) rather than make.
13640 (MAKEOVERRIDES): Define to be empty.
13641 (FLAGS_TO_PASS): Don't pass LD (it's not used).
13642 (all): Rewrote to be slightly smaller.
13643 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
13644 Define to be empty.
13645 (FLAGS_TO_PASS): Don't pass LD (it's not used).
13646 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
13647
13648Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
13649
13650 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
13651 with errno/errno.c.
13652
13653Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
13654
13655 * Changes for reentrancy.
13656 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
13657 Use ptr->_errno, not errno.
13658 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
13659 libc/stdio/remove.c (remove_r): New function.
13660 libc/stdio/rename.c (rename_r): New function.
13661 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
13662 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
13663 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
13664 reentrant versions of system calls.
13665 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
13666 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
13667 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
13668 libc/stdio/findfp.c: Include <string.h>.
13669 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
13670 "local.h".
13671 libc/stdio/wbuf.c: Include "fvwrite.h"
13672
13673 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
13674 <string.h>.
13675 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
13676 (NULL): Don't define if already defined.
13677 libc/stdlib/system.c: Call reentrant versions of system calls.
13678 (system_r): New function.
13679
13680 * Changes for reentrancy.
13681 libc/include/_ansi.h (_PARAMS): New macro.
13682 libc/include/errno.h: Define errno as a macro that calls __errno.
13683 (__errno_r): New macro for reentrant code.
13684 libc/include/math.h: Include reent.h. Declare many reentrant
13685 functions.
13686 (signgam): Now a macro, not a variable.
13687 (struct exception): Added err field.
13688 libc/include/reent.h: Don't declare __sglue. Added function
13689 declarations.
13690 (struct reent_struct): Moved errno to beginning. Added _signgam.
13691 libc/include/stdio.h, libc/include/stdlib.h: Added function
13692 declarations.
13693
13694 * More reentrancy hacking.
13695 libc/errno/errno.c (__errno): New function.
13696 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
13697 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
13698 files.
13699
13700 * Added many new reentrant functions to libm/math/*.
13701 libm/math/error.c (__matherror): Added reent_struct pointer
13702 argument. Changed all callers.
13703 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
13704 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
13705 libm/math/tan.h: Removed obsolete unused header files.
13706
13707 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
13708
13709 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
13710
13711Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13712
13713 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
13714 delay slots.
13715
13716Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
13717
13718 * libc/libc.texinfo: comment out reentrancy chapter (duh)
13719
13720Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
13721
13722 * libc/reent/reent.tex: New file. (text from
13723 newlib/libc/libc.texinfo)
13724 * libc/stdio/tmpnam.c: fixed doc typo
13725 * libc/stdlib/rand.c: fixed doc typo
13726
13727Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
13728
13729 * libc/reent/reent.tex: New file. (text from
13730 newlib/libc/libc.texinfo)
13731
13732Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13733
13734 support for reentrancy
13735 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
13736 new files
13737 * libc/errno/errno.c, libc/include/ieeefp.h,
13738 libc/include/locale.h, libc/include/reent.h,
13739 libc/include/signal.h, libc/include/stdio.h,
13740 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
13741 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
13742 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
13743 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
13744 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
13745 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
13746 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
13747 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
13748 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
13749 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
13750 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
13751 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
13752 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
13753 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
13754 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
13755 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
13756 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
13757 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
13758 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
13759 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
13760 libc/time/strftime.c: modify to provide reentracy.
13761
13762 new routines:
13763 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
13764 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
13765 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
13766 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
13767 mstats_r, realloc_r, localeconv_r, setlocale_r
13768
13769Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
13770
13771 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
13772 libc/include/sys/config.h, libc/include/sys/signal.h,
13773 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
13774 provided macros (such as m68000), use the ansi version
13775 (__m68000__) so that the library can be used with code compiled
13776 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
13777 and sparc.
13778
13779Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
13780
13781 * configure.in (sparc*): Don't set -fsoft-float for sparc
13782 configurations. Do set -fsoft-float for sparclite configurations.
13783
13784Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
13785
13786 * default.menu, no-signal.menu: alternate forms of libc main menu
13787 (in newlib rather than newlib/libc due to configuration restrictions)
13788
13789 * configure.in: select one of the two menus above, link to
13790 libc.menu
13791
13792 * libc/libc.texinfo: include menu from separate file
13793
13794Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
13795
13796 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
13797 (info): Split long shell command in half.
13798 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
13799 sub-makes, just CHEW and TARGETDOC.
13800 (targetdep.tex): Removed now special handling of sys and machine
13801 subdirectories, made obsolete some time ago.
13802 * libc/machine/Makefile.in (doc): Don't pass everything to
13803 sub-make, just CHEW and TARGETDOC.
13804 (Makefile): New target.
13805 * libc/sys/Makefile.in (Makefile): New target.
13806
13807Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
13808
13809 * Makefile.in (here and most subdirectories): Only pass down CHEW
13810 and TARGETDOC when making info, not for other targets.
13811
13812 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
13813 $(AR_FLAGS) rather than $(ARUPDATE).
13814
13815Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
13816
13817 * Try to reduce command line length:
13818 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
13819 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
13820 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
13821 (info): Pass CHEW to other subdirs.
13822
13823Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
13824
13825 * configure.in: add signal_dir, like unix_dir, but by default it
13826 is set to "signal" so that a29khif can turn it off (since a29khif
13827 has raise() as part of machine-specific signal.s.)
13828
13829Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13830
13831 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
13832 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
13833 correctly.
13834 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
13835 libc/stdio/vfprintf: type lint.
13836 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
13837 initialzation code.
13838 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
13839
13840Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
13841
13842 * stub/mvme135/mvme135-asm.S: new file.
13843 stub/mvme135mvme135-stub.c: moved all assembler routines into
13844 mvme135-asm.S.
13845 stub/mvme135/Makefile.in: build mvme135-stub.o.
13846
13847Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
13848
13849 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
13850 sub-Makefiles instead, to try to avoid line length limitations.
13851
13852Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
13853
13854 * libc/include/unistd.h (read, write): Use void* instead of
13855 char*.
13856
13857Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
13858
13859 * stub/go32/resetpc: sample script to send a reset packet to the
13860 stub
13861
13862 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
13863 DOS environment, which compiles with Turbo C.
13864
13865 * stub/go32/DSER32.LNK: new file, linker commands for serial
13866 remote stub.
13867
13868 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
13869 start up message to identify version; call set_debug_traps.
13870
13871 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
13872 keyboard interaction); call handle_exception() in go_til_stop,
13873 rather than return, so that the remote stub gets control.
13874
13875 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
13876 rename, rather than mv), set flags that work with current Turbo C,
13877 including using the /3 flag; also, add commands to build dser32.
13878
13879 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
13880 default Turbo C installation (\tc rather than \usr)
13881
13882 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
13883 "&..."
13884
13885Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13886
13887 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
13888
13889Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
13890
13891 * libc/stdio/cvt.c (licvt): new function to convert ints when
13892 sizeof(int) != sizeof(long).
13893
13894 * libc/include/stdio.h: added prototype for iprintf.
13895 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
13896
13897Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
13898
13899 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
13900 __REGISTER_PREFIX__.
13901
13902Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
13903
13904 * libc/sys/m68kbare: moved into stub directory.
13905
13906Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
13907
13908 * configure.in, Makefile.in: created new directory stub, to hold
13909 sample code for specific targets.
13910
13911Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
13912
13913 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
13914 in the unified libc/include/sys/fcntl.h.
13915
13916Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
13917
13918 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
13919 printed .01, not 0.01.
13920
13921Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
13922
13923 * configure.in: compile with -m68000 for m68* targets.
13924
13925Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
13926
13927 * libm/math/remainder.c (remainder): document the svr4 and sunos
13928 references used to construct the function.
13929
13930Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
13931
13932 * libm/math/remainder.c (rint, remainder): fix old typos.
13933 * libm/math/Makefile.in: actually build remainder.c (functions
13934 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
13935 page.)
13936
13937Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
13938
13939 * libc/string/bcopy.c: BSD version works on overlapping strings,
13940 so ours should too.
13941
13942 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
13943 ("SHELL").
13944
13945Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
13946
13947 * Makefile.in (docs): new target.
13948
13949Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
13950
13951 * libc/include/sys/times.h: define clock_t as required by POSIX.
13952 libc/include/time.h: protect clock_t from multiple definitions.
13953
13954Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13955
13956 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
13957 does not need more than the original three iterations to get
13958 within 1 ulp. (Paranoia tests for rounding to better than that,
13959 but further iterations *don't* help, only more subtle changes
13960 can.)
13961
13962Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
13963
13964 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
13965 were doing nothing useful.
13966
13967Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
13968
13969 * configure.in: define MALLOC_PROVIDED for vxworks targets;
13970 removed sys_dir settings of vxworks68 and vxworks960.
13971 host/any: don't pass -nostdinc to gcc, since newlib no longer
13972 provides all required header files.
13973
13974 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
13975 is not defined; this provides a hook for VxWorks.
13976
13977Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
13978
13979 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
13980 buffer if buf is NULL, don't do it here -- it is already being
13981 done by makebuf elsewhere in stdio.
13982
13983Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
13984
13985 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
13986 that C programs can call functions without using initial
13987 underscores.
13988
13989Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
13990
13991 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
13992
13993Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
13994
13995 * configure.in: set TARGET_CFLAGS for certain CPU types to
13996 -msoft-float.
13997
13998Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
13999
14000 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
14001
14002Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
14003
14004 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
14005 m68k*-unknown-coff.
14006
14007Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
14008
14009 * libc/include/stdio.h: define __need___va_list before including
14010 <stdarg.h>, to avoid defining va_arg, et. al.
14011
14012Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
14013
14014 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
14015 (don't cd to the user's home directory).
14016
14017 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
14018 In general this is the wrong thing to do, but I can't get around
14019 GNU make's insistence on passing command line arguments any other
14020 way.
14021
14022Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
14023
14024 * configure.in: always configure the libc/sys directory, since it
14025 now provides a required documentation file.
14026
14027 * Makefile.in: replaced all instances of $(MAKE) with make. In
14028 general this is the wrong thing to do, but I can't get around GNU
14029 make's insistence on passing command line arguments any other way.
14030
14031Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
14032
14033 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
14034 terminated.
14035
14036 * libc/stdio/local.h: include <stdarg.h> to define va_list.
14037 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
14038
14039 * libc/include/float.h, libc/include/stdarg.h,
14040 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
14041 versions instead.
14042 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
14043 <stdarg.h>, not from <machine/types.h>. Protect definition of
14044 NULL.
14045 libc/include/time.h: get size_t from stddef.h. Protect definition
14046 of NULL.
14047 libc/include/machine/limits.h: override gcc <limits.h> by defining
14048 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
14049 get correct INT_MIN and LONG_LONG values.
14050 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
14051 size_t or va_list at all; they're now gotten from stddef.h
14052 instead.
14053 libc/include/machine/varargs.h: removed; use gcc version instead.
14054 libc/include/sys/types.h: explicitly include <machine/types.h>.
14055
14056 * libm/math/sqrt.h: using the fp-bit routines appears to require
14057 more iterations.
14058
14059 * Makefile.in, host/any: let system include files override machine
14060 include files.
14061
14062Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14063
14064 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
14065 override _*_T_ definitions defaulted here.
14066
14067Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
14068
14069 * Makefile.in (install): install the include files in
14070 $(tooldir)/include, not $(exec_prefix)/include.
14071
14072Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
14073
14074 * Makefile.in (install): fixed typo, and changed install to not
14075 force rebuild of libc.a and libm.a.
14076
14077Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
14078
14079 * libc/sys/a29khif/*: Changed all .include's to include
14080 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
14081 that they will be installed for the user.
14082
14083 * Makefile.in (all): create targ-include, a directory holding the
14084 machine and system specific header files during the build.
14085 (install): fixed installation of machine and system specific
14086 header files.
14087
14088 * Makefile.in: fixed comment.
14089 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
14090 we can pass $(INCLUDES) to it.
14091
14092Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
14093
14094 * libc/include/sys/param.h: new generic file, which may be
14095 overridden for specific systems.
14096
14097 * libc/include/sys/signal.h: define all ANSI signal names, and
14098 NSIG (which is not ANSI) for a29k.
14099
14100Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
14101
14102 * Makefile.in: don't pass down arguments the lower level makes
14103 will not need.
14104 * libc/Makefile.in: recurse directly, rather than using subdir_do,
14105 in hopes of avoiding argument length limits.
14106 * libm/Makefile.in: recurse directly, rather using subdir_do, in
14107 hopes of avoiding argument length limits.
14108
14109Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
14110
14111 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
14112 mode_t is defined.
14113
14114Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
14115
14116 * Fixed make info and make install-info for newlib, changing most
14117 Makefile.in and several *.tex files. Moved doc directory from
14118 libc to top level.
14119
14120 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
14121 Should be rewritten.
14122
14123 * libc/string/strings.tex: renamed node index to node index
14124 function, so that it does not conflict with the top level index
14125 node.
14126
14127 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
14128
14129Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
14130
14131 * Overhauled general configuration for newlib. Eliminated all
14132 target dependent Makefile fragments. Create libraries in newlib
14133 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
14134 than CROSS_CC, et. al. Broke make docs; will fix later.
14135
14136 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
14137 Should be rewritten.
14138
14139Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
14140
14141 * libc/configure.in: cleaned up somewhat; switch on ${target}
14142 rather than ${target_alias}.
14143 * libm/configure.in: cleaned up somewhat; switch on ${target}
14144 rather than ${target_alias}.
14145
14146 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
14147 * libc/include/ctype.h: marked _ctype_ as _CONST.
14148
14149 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
14150 _CONST.
14151
14152 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
14153 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
14154 libc/stdio/gets.c (gets): removed non-ANSI warning message.
14155 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
14156
14157 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
14158 bigtens, tinytens): marked arrays _CONST.
14159 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
14160 rather than a static variable.
14161
14162 * libc/time/asctime.c (asctime), libc/time/localtime.c
14163 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
14164 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
14165 mname_len, mname): Marked static arrays _CONST.
14166
14167 * libm/math/gamma.h: made local variables non-static.
14168
14169 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
14170 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
14171 _CONST.
14172
14173 * libm/math/constants.c: removed file, because the constants it
14174 defined were never referenced.
14175 libm/math/Makefile.in: removed references to constants.c.
14176 libm/math/mathimpl.h: removed declarations of constants.
14177
14178Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
14179
14180 * libc/include/machine/varargs.h: only call __builtin_saveregs if
14181 it is sensibly defined in libgcc2. Checks preprocessor defines,
14182 which is not a good solution.
14183
14184 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
14185
14186 * libm/frexp.c: handle denormalized numbers as arguments.
14187
14188 * libm/math/Makefile.in: added some dependencies for .c files
14189 which include local .h files.
14190
14191Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
14192
14193 * libc/configure.in: set target_alias for OSE*. Replace
14194 target_makefile_frag if it is blank.
14195
14196 * libc/Makefile.in: make sure everything is passed to subsidiary
14197 makes; create all directories when installing.
14198
14199 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
14200 CROSS_ARUPDATE instead of AR.
14201
14202 * libm/configure.in: set target_alias for OSE*. Replace
14203 target_makefile_frag if it is blank.
14204
14205 * libm/Makefile.in: make sure everything is passed to subsidiary
14206 makes; create all directories when installing.
14207
14208Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
14209
14210 * add following change from libc copy.
14211
14212Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14213
14214 * libc/libc.texinfo: make copyright disclaimers appear on back of
14215 title page; make format of same slightly less ugly; avoid using
14216 underbars in section headings (avoids nasty texinfo bug in table
14217 of contents).
14218
14219 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
14220 comments only) avoid using underbars in section headings
14221
14222 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
14223 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
14224 changes in comments only): shorten headings ieeefp/infinity.c,
14225 ieeefp/isnan.c: (doc, comments only) more informative headings
14226
14227 * libc/math/bessel.c: (doc, comments only) shorten heading
14228
14229 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
14230 (doc, comments only) shorten headings
14231
14232 * libc/time/localtime.c (doc, comments only): shorten headings
14233
14234 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
14235 isnan
14236 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
14237 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
14238 headings
14239 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
14240 only) more informative headings
14241 * libm/math/bessel.c: (doc, comments only) shorten heading
14242
14243Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
14244
14245 * .../Makefile.in: use CROSS_ARUPDATE consistently.
14246 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
14247 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
14248 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
14249 defined, the one from the .mt file will be correct.
14250 * libc/include/machine, libc/include/sys: created, and populated
14251 with common files from machine/*/machine. ifdefs were used for
14252 most, typically by handling exceptions first and then filling in
14253 defaults. Files with D.J. Delorie copyright #included rather than
14254 copied. Most files in include/sys really were the same in the
14255 original.
14256 * libc/include/...: cleaned up use of _EXFUN.
14257 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
14258 it with double quotes, not angles.
14259
14260Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
14261
14262 * libc/Makefile.in: always create installation directories.
14263
14264Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
14265
14266 * libc/configure.in: handle host properly (using canonical
14267 triples), better error message for the case of target not found
14268
14269Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
14270
14271 * libc/Makefile.in (insincdir): Ensure this directory exists
14272 before attempting installation.
14273
14274Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14275
14276 * libc/stdlib/assert.c: now calls abort like it should
14277 * libc/sys/a29khif: many many patches for 29khif work
14278 * libc/machine/i386: gnulib2 expanded there.
14279
14280Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14281
14282 Added accurate fp conversion routines to stdlib, moved dcvt from
14283 stdio to stdlib and called it ecvtbuf:
14284 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
14285 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
14286 routines
14287 * libc/libc.texinfo: Modifed to include the copyright info from
14288 the mprec files
14289 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
14290 * libc/test/ : many vector which tested for the implementation
14291 defined returns of strange conversion requests have been updated
14292 to relflect the new implementation
14293
14294Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14295
14296 * libc/libc.texinfo: new chapter on variable arg lists
14297 (stdarg.h/varargs.h)
14298 * libc/libc.texinfo: new title
14299 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
14300 (doc only) shorter headings for better formatting.
14301
14302Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14303
14304 * libc/libc.texinfo: three more info menu entries
14305 * libc/locale/locale.tex: new chapter
14306 * libc/locale/locale.c: new doc for setlocale, localeconv
14307 * libc/locale/Makefile.in: use new locale doc
14308 * libc/signal/signal.tex: new chapter
14309 * libc/signal/raise.c, libc/signal/signal.c: new doc
14310 * libc/signal/Makefile.in: use new doc
14311 * libc/time/time.tex: new chapter
14312 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
14313 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
14314 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
14315 * libc/time/Makefile.in: use new doc
14316
14317Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14318
14319 * libm/math/log1p.c: split to use the new function way of float
14320 function definition. math/log1p.h deleted
14321 * libm/math/scalb.c: obsolete and deleted
14322 * libm/math/scalbn.c: created from part log1p.c
14323 * libm/math/Makefile.in: know about log1p and scalbn
14324
14325Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14326
14327 * libc/ctype/isupper.c: revise doc;
14328 libc/ctype/ctype.tex: use doc from isupper.c
14329
14330 * libc/string/bzero.c: new doc
14331
14332Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
14333
14334 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
14335 new doc
14336 * libc/stdlib/Makefile.in: extract new doc
14337 * libc/stdlib/stdlib.tex: use new doc
14338
14339 * libc/string/strerror.c: expanded doc.
14340
14341 * libc/stdio/Makefile.in: extract doc from more files
14342 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
14343 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
14344 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
14345 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
14346 libc/stdio/vsprintf.c: new doc
14347 * libc/stdio/stdio.tex: use new doc
14348
14349Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14350
14351 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
14352 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
14353 finitef functions.
14354 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
14355 time ago.
14356
14357 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
14358 * libc/stdio/setbuf.c: added ansi style definition.
14359 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
14360 buffer if none provided.
14361 * libc/stdio/tmpfile.c: lint
14362 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
14363 rather than using static, also make sure file isn't already
14364 present. Uses P_tmpdir. (tempnam): rewritten to use new
14365 subroutine, and uses P_tmpdir.
14366 * libc/stdio/siprintf.c: created
14367
14368Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
14369
14370 Release 1.03 for NEC, major mods. Main differences from release
14371 1.02::
14372
14373 More tests in test/:
14374 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
14375 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
14376 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
14377 get/set mask, get/set sticky and get/set roundtoi. Tests
14378 that setting the bits changes the way arithmetic is done.
14379 * string.c: added test to make sure memcmp does it with unsigned
14380 chars.
14381 * test.c: cleaned up and removed lint.
14382 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
14383 dvec.c: tests for string to value conversions, sprintf, scanf,
14384 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
14385 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
14386 rounding in sprintf too.
14387 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
14388 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
14389 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
14390 and function form.
14391 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
14392 powf
14393
14394 In the library:
14395 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
14396 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
14397 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
14398 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
14399 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
14400 than sprintf.
14401 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
14402 * Method of producting float versions of double functions has
14403 changed, functions will be modified gradually. So far:
14404 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
14405 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
14406 altered
14407 * libc/string/memcmp.c: now uses unsigned chars
14408 * libc/string/bcmp.c, libc/string/strcpy.c,
14409 libc/stsring/strxfrm.c: fixed doc
14410 * libc/sys/sysvnecv70.tex: fix example of sbrk code
14411\f
14412Local Variables:
14413version-control: never
14414End:
This page took 1.708733 seconds and 5 git commands to generate.