]> sourceware.org Git - newlib-cygwin.git/blob - newlib/ChangeLog
2007-11-07 Dave Brolley <brolley@redhat.com>
[newlib-cygwin.git] / newlib / ChangeLog
1 2007-11-07 Dave Brolley <brolley@redhat.com>
2
3 * libc/machine/configure: Regenerated to pick up mep-elf changes.
4
5 * Contribute mep-elf from Red Hat
6 2006-10-27 DJ Delorie <dj@redhat.com>
7
8 * libc/include/machine/setjmp.h: Add MeP support.
9
10 2003-04-17 DJ Delorie <dj@redhat.com>
11
12 * configure.host (mep-*-*): Support "long long" type.
13
14 2001-06-06 DJ Delorie <dj@redhat.com>
15
16 * libc/include/machine/ieeefp.h (mep): Support little endian too.
17
18 2001-05-14 DJ Delorie <dj@redhat.com>
19
20 * configure.host: Add mep's machine_dir.
21 * libc/include/setjmp.h: Add mep support.
22 * libc/machine/mep: New.
23 * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
24
25 2001-05-04 DJ Delorie <dj@redhat.com>
26
27 * configure.host: Add mep.
28 * libc/include/machine/ieeefp.h: Ditto.
29
30 2007-10-31 DJ Delorie <dj@redhat.com>
31
32 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
33 signal table, just use a default, in case initialization cause
34 recursion.
35
36 2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
37
38 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
39 size if output buffer is NULL.
40
41 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
42
43 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
44 fix when handling negative input values. Make function
45 consistent with math directory and glibc version such that
46 inf and nan values return inf and nan respectively with no
47 errno setting.
48 * libm/mathfp/sf_logarithm.c: Ditto.
49 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
50 * libm/math/wf_log.c: Ditto.
51 * libm/math/w_log10.c: Ditto.
52 * libm/math/wf_log10.c: Ditto.
53
54 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
55
56 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
57 return -inf.
58 * libm/mathfp/sf_logarithm.c: Ditto.
59
60 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
61
62 * libc/machine/i386/machine/fastmath.h: New file.
63
64 2007-10-13 Eric Blake <ebb9@byu.net>
65
66 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
67 Correctly nest else within conditionals.
68 Reported by Artur Lipowski.
69
70 2007-10-09 Nick Clifton <nickc@redhat.com>
71
72 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
73 the STT_COMMON type.
74
75 2007-10-09 Ben Elliston <bje@au.ibm.com>
76
77 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
78 before simdmath.h to get a definition for `vector'.
79 * libm/machine/spu/headers/asind2.h: Likewise.
80
81 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
82
83 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
84 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
85 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
86 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
87 * libm/machine/spu/headers/acos.h: Add domain check.
88 * libm/machine/spu/headers/acosf.h: Ditto.
89 * libm/machine/spu/headers/acosh.h: Ditto.
90 * libm/machine/spu/headers/acoshf.h: Ditto.
91 * libm/machine/spu/headers/asin.h: Ditto.
92 * libm/machine/spu/headers/asinf.h: Ditto.
93 * libm/machine/spu/headers/atanh.h: Ditto.
94 * libm/machine/spu/headers/atanhf.h: Ditto.
95 * libm/machine/spu/headers/fmod.h: Ditto.
96 * libm/machine/spu/headers/fmodf.h: Ditto.
97 * libm/machine/spu/headers/log.h: Ditto.
98 * libm/machine/spu/headers/log10.h: Ditto.
99 * libm/machine/spu/headers/log1p.h: Ditto.
100 * libm/machine/spu/headers/log1pf.h: Ditto.
101 * libm/machine/spu/headers/log2.h: Ditto.
102 * libm/machine/spu/headers/log2f.h: Ditto.
103 * libm/machine/spu/headers/sqrt.h: Ditto.
104 * libm/machine/spu/headers/sqrtf.h: Ditto.
105 * libm/machine/spu/headers/tgamma.h: Ditto.
106 * libm/machine/spu/headers/tgammaf.h: Ditto.
107
108 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
109
110 * libm/machine/spu/Makefile.am: Add new C files.
111 * libm/machine/spu/Makefile.in: Regenerate.
112 * libm/machine/spu/headers/acos.h: New file.
113 * libm/machine/spu/headers/acosd2.h: Ditto.
114 * libm/machine/spu/headers/acosf.h: Ditto.
115 * libm/machine/spu/headers/acosf4.h: Ditto.
116 * libm/machine/spu/headers/acosh.h: Ditto.
117 * libm/machine/spu/headers/acoshd2.h: Ditto.
118 * libm/machine/spu/headers/acoshf.h: Ditto.
119 * libm/machine/spu/headers/acoshf4.h: Ditto.
120 * libm/machine/spu/headers/asin.h: Ditto.
121 * libm/machine/spu/headers/asind2.h: Ditto.
122 * libm/machine/spu/headers/asinf.h: Ditto.
123 * libm/machine/spu/headers/asinf4.h: Ditto.
124 * libm/machine/spu/headers/asinh.h: Ditto.
125 * libm/machine/spu/headers/asinhd2.h: Ditto.
126 * libm/machine/spu/headers/asinhf.h: Ditto.
127 * libm/machine/spu/headers/asinhf4.h: Ditto.
128 * libm/machine/spu/headers/atan.h: Ditto.
129 * libm/machine/spu/headers/atan2.h: Ditto.
130 * libm/machine/spu/headers/atan2d2.h: Ditto.
131 * libm/machine/spu/headers/atan2f.h: Ditto.
132 * libm/machine/spu/headers/atan2f4.h: Ditto.
133 * libm/machine/spu/headers/atand2.h: Ditto.
134 * libm/machine/spu/headers/atanf4.h: Ditto.
135 * libm/machine/spu/headers/atanh.h: Ditto.
136 * libm/machine/spu/headers/atanhd2.h: Ditto.
137 * libm/machine/spu/headers/atanhf.h: Ditto.
138 * libm/machine/spu/headers/atanhf4.h: Ditto.
139 * libm/machine/spu/headers/cos.h: Ditto.
140 * libm/machine/spu/headers/cos_sin.h: Ditto.
141 * libm/machine/spu/headers/cosd2.h: Ditto.
142 * libm/machine/spu/headers/cosf.h: Ditto.
143 * libm/machine/spu/headers/cosf4.h: Ditto.
144 * libm/machine/spu/headers/cosh.h: Ditto.
145 * libm/machine/spu/headers/coshd2.h: Ditto.
146 * libm/machine/spu/headers/coshf.h: Ditto.
147 * libm/machine/spu/headers/coshf4.h: Ditto.
148 * libm/machine/spu/headers/divd2.h: Ditto.
149 * libm/machine/spu/headers/divf4.h: Ditto.
150 * libm/machine/spu/headers/erf.h: Ditto.
151 * libm/machine/spu/headers/erf_utils.h: Ditto.
152 * libm/machine/spu/headers/erfc.h: Ditto.
153 * libm/machine/spu/headers/erfcd2.h: Ditto.
154 * libm/machine/spu/headers/erfcf.h: Ditto.
155 * libm/machine/spu/headers/erfcf4.h: Ditto.
156 * libm/machine/spu/headers/erfd2.h: Ditto.
157 * libm/machine/spu/headers/erff.h: Ditto.
158 * libm/machine/spu/headers/erff4.h: Ditto.
159 * libm/machine/spu/headers/exp.h: Ditto.
160 * libm/machine/spu/headers/exp2.h: Ditto.
161 * libm/machine/spu/headers/exp2d2.h: Ditto.
162 * libm/machine/spu/headers/exp2f4.h: Ditto.
163 * libm/machine/spu/headers/expd2.h: Ditto.
164 * libm/machine/spu/headers/expf4.h: Ditto.
165 * libm/machine/spu/headers/expm1.h: Ditto.
166 * libm/machine/spu/headers/expm1d2.h: Ditto.
167 * libm/machine/spu/headers/expm1f.h: Ditto.
168 * libm/machine/spu/headers/expm1f4.h: Ditto.
169 * libm/machine/spu/headers/floord2.h: Ditto.
170 * libm/machine/spu/headers/floorf4.h: Ditto.
171 * libm/machine/spu/headers/hypot.h: Ditto.
172 * libm/machine/spu/headers/hypotd2.h: Ditto.
173 * libm/machine/spu/headers/hypotf.h: Ditto.
174 * libm/machine/spu/headers/hypotf4.h: Ditto.
175 * libm/machine/spu/headers/isnan.h: Ditto.
176 * libm/machine/spu/headers/isnand2.h: Ditto.
177 * libm/machine/spu/headers/isnanf.h: Ditto.
178 * libm/machine/spu/headers/isnanf4.h: Ditto.
179 * libm/machine/spu/headers/ldexpd2.h: Ditto.
180 * libm/machine/spu/headers/ldexpf4.h: Ditto.
181 * libm/machine/spu/headers/lgamma.h: Ditto.
182 * libm/machine/spu/headers/lgammad2.h: Ditto.
183 * libm/machine/spu/headers/lgammaf.h: Ditto.
184 * libm/machine/spu/headers/lgammaf4.h: Ditto.
185 * libm/machine/spu/headers/log.h: Ditto.
186 * libm/machine/spu/headers/log10.h: Ditto.
187 * libm/machine/spu/headers/log10d2.h: Ditto.
188 * libm/machine/spu/headers/log1p.h: Ditto.
189 * libm/machine/spu/headers/log1pd2.h: Ditto.
190 * libm/machine/spu/headers/log1pf.h: Ditto.
191 * libm/machine/spu/headers/log1pf4.h: Ditto.
192 * libm/machine/spu/headers/log2.h: Ditto.
193 * libm/machine/spu/headers/log2d2.h: Ditto.
194 * libm/machine/spu/headers/log2f4.h: Ditto.
195 * libm/machine/spu/headers/logbf.h: Ditto.
196 * libm/machine/spu/headers/logbf4.h: Ditto.
197 * libm/machine/spu/headers/logd2.h: Ditto.
198 * libm/machine/spu/headers/logf4.h: Ditto.
199 * libm/machine/spu/headers/nearbyintf.h: Ditto.
200 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
201 * libm/machine/spu/headers/nextafter.h: Ditto.
202 * libm/machine/spu/headers/nextafterd2.h: Ditto.
203 * libm/machine/spu/headers/nextafterf.h: Ditto.
204 * libm/machine/spu/headers/nextafterf4.h: Ditto.
205 * libm/machine/spu/headers/pow.h: Ditto.
206 * libm/machine/spu/headers/powd2.h: Ditto.
207 * libm/machine/spu/headers/powf.h: Ditto.
208 * libm/machine/spu/headers/powf4.h: Ditto.
209 * libm/machine/spu/headers/recipd2.h: Ditto.
210 * libm/machine/spu/headers/recipf4.h: Ditto.
211 * libm/machine/spu/headers/rintf.h: Ditto.
212 * libm/machine/spu/headers/rintf4.h: Ditto.
213 * libm/machine/spu/headers/scalbnf4.h: Ditto.
214 * libm/machine/spu/headers/signbit.h: Ditto.
215 * libm/machine/spu/headers/signbitd2.h: Ditto.
216 * libm/machine/spu/headers/simdmath.h: Ditto.
217 * libm/machine/spu/headers/sin.h: Ditto.
218 * libm/machine/spu/headers/sincos.h: Ditto.
219 * libm/machine/spu/headers/sincosd2.h: Ditto.
220 * libm/machine/spu/headers/sincosf.h: Ditto.
221 * libm/machine/spu/headers/sincosf4.h: Ditto.
222 * libm/machine/spu/headers/sind2.h: Ditto.
223 * libm/machine/spu/headers/sinf.h: Ditto.
224 * libm/machine/spu/headers/sinf4.h: Ditto.
225 * libm/machine/spu/headers/sinh.h: Ditto.
226 * libm/machine/spu/headers/sinhd2.h: Ditto.
227 * libm/machine/spu/headers/sinhf.h: Ditto.
228 * libm/machine/spu/headers/sinhf4.h: Ditto.
229 * libm/machine/spu/headers/sqrtd2.h: Ditto.
230 * libm/machine/spu/headers/sqrtf.h: Ditto.
231 * libm/machine/spu/headers/sqrtf4.h: Ditto.
232 * libm/machine/spu/headers/tan.h: Ditto.
233 * libm/machine/spu/headers/tand2.h: Ditto.
234 * libm/machine/spu/headers/tanf.h: Ditto.
235 * libm/machine/spu/headers/tanf4.h: Ditto.
236 * libm/machine/spu/headers/tanh.h: Ditto.
237 * libm/machine/spu/headers/tanhd2.h: Ditto.
238 * libm/machine/spu/headers/tanhf.h: Ditto.
239 * libm/machine/spu/headers/tanhf4.h: Ditto.
240 * libm/machine/spu/headers/tgamma.h: Ditto.
241 * libm/machine/spu/headers/tgammad2.h: Ditto.
242 * libm/machine/spu/headers/tgammaf.h: Ditto.
243 * libm/machine/spu/headers/tgammaf4.h: Ditto.
244 * libm/machine/spu/headers/truncd2.h: Ditto.
245 * libm/machine/spu/headers/truncf4.h: Ditto.
246 * libm/machine/spu/log2.c: Ditto.
247 * libm/machine/spu/s_asinh.c: Ditto.
248 * libm/machine/spu/s_atan.c: Ditto.
249 * libm/machine/spu/s_cos.c: Ditto.
250 * libm/machine/spu/s_erf.c: Ditto.
251 * libm/machine/spu/s_expm1.c: Ditto.
252 * libm/machine/spu/s_isnan.c: Ditto.
253 * libm/machine/spu/s_log1p.c: Ditto.
254 * libm/machine/spu/s_nextafter.c: Ditto.
255 * libm/machine/spu/s_sin.c: Ditto.
256 * libm/machine/spu/s_tan.c: Ditto.
257 * libm/machine/spu/s_tanh.c: Ditto.
258 * libm/machine/spu/sf_asinh.c: Ditto.
259 * libm/machine/spu/sf_cos.c: Ditto.
260 * libm/machine/spu/sf_erf.c: Ditto.
261 * libm/machine/spu/sf_expm1.c: Ditto.
262 * libm/machine/spu/sf_log1p.c: Ditto.
263 * libm/machine/spu/sf_logb.c: Ditto.
264 * libm/machine/spu/sf_nearbyint.c: Ditto.
265 * libm/machine/spu/sf_nextafter.c: Ditto.
266 * libm/machine/spu/sf_rint.c: Ditto.
267 * libm/machine/spu/sf_sin.c: Ditto.
268 * libm/machine/spu/sf_tan.c: Ditto.
269 * libm/machine/spu/sf_tanh.c: Ditto.
270 * libm/machine/spu/w_acos.c: Ditto.
271 * libm/machine/spu/w_acosh.c: Ditto.
272 * libm/machine/spu/w_asin.c: Ditto.
273 * libm/machine/spu/w_atan2.c: Ditto.
274 * libm/machine/spu/w_atanh.c: Ditto.
275 * libm/machine/spu/w_cosh.c: Ditto.
276 * libm/machine/spu/w_exp.c: Ditto.
277 * libm/machine/spu/w_exp2.c: Ditto.
278 * libm/machine/spu/w_hypot.c: Ditto.
279 * libm/machine/spu/w_lgamma.c: Ditto.
280 * libm/machine/spu/w_log.c: Ditto.
281 * libm/machine/spu/w_log10.c: Ditto.
282 * libm/machine/spu/w_pow.c: Ditto.
283 * libm/machine/spu/w_sincos.c: Ditto.
284 * libm/machine/spu/w_sinh.c: Ditto.
285 * libm/machine/spu/w_tgamma.c: Ditto.
286 * libm/machine/spu/wf_acos.c: Ditto.
287 * libm/machine/spu/wf_acosh.c: Ditto.
288 * libm/machine/spu/wf_asin.c: Ditto.
289 * libm/machine/spu/wf_atan2.c: Ditto.
290 * libm/machine/spu/wf_atanh.c: Ditto.
291 * libm/machine/spu/wf_cosh.c: Ditto.
292 * libm/machine/spu/wf_hypot.c: Ditto.
293 * libm/machine/spu/wf_lgamma.c: Ditto.
294 * libm/machine/spu/wf_pow.c: Ditto.
295 * libm/machine/spu/wf_sincos.c: Ditto.
296 * libm/machine/spu/wf_sinh.c: Ditto.
297 * libm/machine/spu/wf_sqrt.c: Ditto.
298 * libm/machine/spu/wf_tgamma.c: Ditto.
299
300 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
301
302 * configure.host: Define _POSIX_MODE to match the existing vector
303 math code, as we don't support the matherr callout.
304 * libm/machine/spu/Makefile.am: New file.
305 * libm/machine/spu/Makefile.in: Auto-generated.
306 * libm/machine/spu/headers/atanf.h: New file.
307 * libm/machine/spu/headers/cbrt.h: Ditto.
308 * libm/machine/spu/headers/cbrtf.h: Ditto.
309 * libm/machine/spu/headers/ceil.h: Ditto.
310 * libm/machine/spu/headers/ceilf.h: Ditto.
311 * libm/machine/spu/headers/copysign.h: Ditto.
312 * libm/machine/spu/headers/copysignf.h: Ditto.
313 * libm/machine/spu/headers/exp2f.h: Ditto.
314 * libm/machine/spu/headers/expf.h: Ditto.
315 * libm/machine/spu/headers/fabs.h: Ditto.
316 * libm/machine/spu/headers/fabsf.h: Ditto.
317 * libm/machine/spu/headers/fdim.h: Ditto.
318 * libm/machine/spu/headers/fdimf.h: Ditto.
319 * libm/machine/spu/headers/floor.h: Ditto.
320 * libm/machine/spu/headers/floorf.h: Ditto.
321 * libm/machine/spu/headers/fma.h: Ditto.
322 * libm/machine/spu/headers/fmaf.h: Ditto.
323 * libm/machine/spu/headers/fmax.h: Ditto.
324 * libm/machine/spu/headers/fmaxf.h: Ditto.
325 * libm/machine/spu/headers/fmin.h: Ditto.
326 * libm/machine/spu/headers/fminf.h: Ditto.
327 * libm/machine/spu/headers/fmod.h: Ditto.
328 * libm/machine/spu/headers/fmodf.h: Ditto.
329 * libm/machine/spu/headers/frexp.h: Ditto.
330 * libm/machine/spu/headers/frexpf.h: Ditto.
331 * libm/machine/spu/headers/ilogb.h: Ditto.
332 * libm/machine/spu/headers/ilogbf.h: Ditto.
333 * libm/machine/spu/headers/ldexp.h: Ditto.
334 * libm/machine/spu/headers/ldexpf.h: Ditto.
335 * libm/machine/spu/headers/llrint.h: Ditto.
336 * libm/machine/spu/headers/llrintf.h: Ditto.
337 * libm/machine/spu/headers/llround.h: Ditto.
338 * libm/machine/spu/headers/llroundf.h: Ditto.
339 * libm/machine/spu/headers/log10f.h: Ditto.
340 * libm/machine/spu/headers/log2f.h: Ditto.
341 * libm/machine/spu/headers/logf.h: Ditto.
342 * libm/machine/spu/headers/lrint.h: Ditto.
343 * libm/machine/spu/headers/lrintf.h: Ditto.
344 * libm/machine/spu/headers/lround.h: Ditto.
345 * libm/machine/spu/headers/lroundf.h: Ditto.
346 * libm/machine/spu/headers/nearbyint.h: Ditto.
347 * libm/machine/spu/headers/remainder.h: Ditto.
348 * libm/machine/spu/headers/remainderf.h: Ditto.
349 * libm/machine/spu/headers/remquo.h: Ditto.
350 * libm/machine/spu/headers/remquof.h: Ditto.
351 * libm/machine/spu/headers/rint.h: Ditto.
352 * libm/machine/spu/headers/round.h: Ditto.
353 * libm/machine/spu/headers/roundf.h: Ditto.
354 * libm/machine/spu/headers/scalbn.h: Ditto.
355 * libm/machine/spu/headers/scalbnf.h: Ditto.
356 * libm/machine/spu/headers/sqrt.h: Ditto.
357 * libm/machine/spu/headers/trunc.h: Ditto.
358 * libm/machine/spu/headers/truncf.h: Ditto.
359 * libm/machine/spu/headers/vec_literal.h: Ditto.
360 * libm/machine/spu/llrint.c: Ditto.
361 * libm/machine/spu/llrintf.c: Ditto.
362 * libm/machine/spu/llround.c: Ditto.
363 * libm/machine/spu/llroundf.c: Ditto.
364 * libm/machine/spu/log2f.c: Ditto.
365 * libm/machine/spu/s_cbrt.c: Ditto.
366 * libm/machine/spu/s_ceil.c: Ditto.
367 * libm/machine/spu/s_copysign.c: Ditto.
368 * libm/machine/spu/s_fabs.c: Ditto.
369 * libm/machine/spu/s_fdim.c: Ditto.
370 * libm/machine/spu/s_floor.c: Ditto.
371 * libm/machine/spu/s_fma.c: Ditto.
372 * libm/machine/spu/s_fmax.c: Ditto.
373 * libm/machine/spu/s_fmin.c: Ditto.
374 * libm/machine/spu/s_frexp.c: Ditto.
375 * libm/machine/spu/s_ilogb.c: Ditto.
376 * libm/machine/spu/s_ldexp.c: Ditto.
377 * libm/machine/spu/s_lrint.c: Ditto.
378 * libm/machine/spu/s_lround.c: Ditto.
379 * libm/machine/spu/s_nearbyint.c: Ditto.
380 * libm/machine/spu/s_remquo.c: Ditto.
381 * libm/machine/spu/s_rint.c: Ditto.
382 * libm/machine/spu/s_round.c: Ditto.
383 * libm/machine/spu/s_scalbn.c: Ditto.
384 * libm/machine/spu/s_trunc.c: Ditto.
385 * libm/machine/spu/sf_atan.c: Ditto.
386 * libm/machine/spu/sf_cbrt.c: Ditto.
387 * libm/machine/spu/sf_ceil.c: Ditto.
388 * libm/machine/spu/sf_copysign.c: Ditto.
389 * libm/machine/spu/sf_fabs.c: Ditto.
390 * libm/machine/spu/sf_fdim.c: Ditto.
391 * libm/machine/spu/sf_floor.c: Ditto.
392 * libm/machine/spu/sf_fma.c: Ditto.
393 * libm/machine/spu/sf_fmax.c: Ditto.
394 * libm/machine/spu/sf_fmin.c: Ditto.
395 * libm/machine/spu/sf_frexp.c: Ditto.
396 * libm/machine/spu/sf_ilogb.c: Ditto.
397 * libm/machine/spu/sf_ldexp.c: Ditto.
398 * libm/machine/spu/sf_lrint.c: Ditto.
399 * libm/machine/spu/sf_lround.c: Ditto.
400 * libm/machine/spu/sf_remquo.c: Ditto.
401 * libm/machine/spu/sf_round.c: Ditto.
402 * libm/machine/spu/sf_scalbn.c: Ditto.
403 * libm/machine/spu/sf_trunc.c: Ditto.
404 * libm/machine/spu/w_fmod.c: Ditto.
405 * libm/machine/spu/w_remainder.c: Ditto.
406 * libm/machine/spu/w_sqrt.c: Ditto.
407 * libm/machine/spu/wf_exp.c: Ditto.
408 * libm/machine/spu/wf_exp2.c: Ditto.
409 * libm/machine/spu/wf_fmod.c: Ditto.
410 * libm/machine/spu/wf_log.c: Ditto.
411 * libm/machine/spu/wf_log10.c: Ditto.
412 * libm/machine/spu/wf_remainder.c: Ditto.
413
414 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
415
416 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
417
418 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
419
420 * libc/include/sched.h: New file, just include sys/sched.h.
421 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
422 prototype.
423 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
424 struct utimbuf definition.
425
426 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
427
428 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
429 specific struct and typedef.
430
431 2007-09-18 Patrick Mansfield <patmans@us.ibm.com>
432
433 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
434 typedef dev_t, gid_t, and uid_t.
435 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
436 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
437 Change to lower case for all __foo_t_defined names.
438 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
439 __uid_t, and __gid_t making them all four bytes. Change to lower case
440 for all __foo_t_defined names.
441
442 2007-09-18 Jeff Johnston <jjohnstn@redhat.com>
443
444 * libc/reent/renamer.c: New file.
445 * libc/reent/Makefile.am: Add new file.
446 * libc/reent/Makefile.in: Regenerated.
447 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
448 and add check for rename syscall.
449
450 2007-09-17 Eric Blake <ebb9@byu.net>
451
452 Obey POSIX on printf("%.s", (char*)NULL).
453 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
454 for %s on NULL. Skip NULL check when optimizing for size.
455
456 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
457
458 * libc/include/sys/_types.h: Protect all types with flag
459 checks to allow definition in machine/_types.h.
460
461 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
462
463 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
464 definitions in light of the previous change.
465
466 2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
467
468 * libc/include/machine/_default_types.h: New file, contains what
469 was previously in libc/include/machine/_types.h.
470 * libc/include/machine/_types.h: Now only includes
471 machine/_default_types.h.
472 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
473 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
474 with conditional declarations.
475 * libc/machine/spu/machine/_types.h: New file, add SPU specific
476 typedefs for _fpos_t and _fpos64_t.
477
478 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
479
480 * libc/include/math.h (_M_LOG2E): Replace with..
481 (_M_LOG2_E): New macro.
482 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
483
484 2007-09-06 Brian Dessent <brian@dessent.net>
485
486 * libc/reent/getreent.c: Allow for case where __getreent is
487 defined as a macro.
488
489 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
490
491 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
492 (log2): Use _M_LOG2E instead of M_LOG2E.
493 (log2f): Ditto.
494 (M_LOG2E): Define to be _M_LOG2E.
495
496 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
497
498 * libm/math/wf_tgamma.c: Add missing include.
499
500 2007-08-31 Antony King <antony.king@st.com>
501
502 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
503 bits and redefine associated dword0 macro (rvalue issue).
504 * libc/stdio/vfieeefp.h: Ditto.
505 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
506 to prevent setting dword1 which is an rvalue only.
507
508 2007-08-28 Hans Kester <hans.kester@ellips.nl>
509
510 * configure.host: Added support for x86_64.
511 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
512 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
513 * libc/machine/x86_64/aclocal.m4: Generated.
514 * libc/machine/x86_64/configure.in: New.
515 * libc/machine/x86_64/configure: Generated.
516 * libc/machine/x86_64/Makefile.am: New.
517 * libc/machine/x86_64/Makefile.in: Generated.
518 * libc/machine/x86_64/setjmp.S: New.
519 * libc/machine/x86_64/memcpy.S: New.
520 * libc/machine/x86_64/memset.S: New.
521 * libc/machine/configure.in: Added support for x86_64.
522 * libc/machine/configure: Regenerated.
523
524 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
525
526 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
527 to int before comparing it to a signed int value.
528
529 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
530
531 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
532 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
533 Define.
534
535 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
536
537 Reduce the memory consumption of variable argument functions
538 for SPU (cell):
539 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
540 to assembler sources.
541 * libc/machine/spu/Makefile.in: Regenerated.
542 * libc/machine/spu/stdio.c: Add __check_init function wrapping
543 CHECK_INIT macro to use from assembler routines.
544 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
545 * libc/machine/spu/fiprintf.S: New file.
546 * libc/machine/spu/fiscanf.S: Ditto.
547 * libc/machine/spu/fprintf.S: Ditto.
548 * libc/machine/spu/fscanf.S: Ditto.
549 * libc/machine/spu/iprintf.S: Ditto.
550 * libc/machine/spu/iscanf.S: Ditto.
551 * libc/machine/spu/printf.S: Ditto.
552 * libc/machine/spu/scanf.S: Ditto.
553 * libc/machine/spu/siprintf.S: Ditto.
554 * libc/machine/spu/siscanf.S: Ditto.
555 * libc/machine/spu/sniprintf.S: Ditto.
556 * libc/machine/spu/snprintf.S: Ditto.
557 * libc/machine/spu/sprintf.S: Ditto.
558 * libc/machine/spu/sscanf.S: Ditto.
559 * libc/machine/spu/stack_reg_va.S: Ditto.
560 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
561 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
562 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
563 * libc/machine/spu/fiscanf.c: Ditto.
564 * libc/machine/spu/fprintf.c: Ditto.
565 * libc/machine/spu/fscanf.c: Ditto.
566 * libc/machine/spu/iprintf.c: Ditto.
567 * libc/machine/spu/iscanf.c: Ditto.
568 * libc/machine/spu/printf.c: Ditto.
569 * libc/machine/spu/scanf.c: Ditto.
570 * libc/machine/spu/siprintf.c: Ditto.
571 * libc/machine/spu/siscanf.c: Ditto.
572 * libc/machine/spu/sniprintf.c: Ditto.
573 * libc/machine/spu/snprintf.c: Ditto.
574 * libc/machine/spu/sprintf.c: Ditto.
575 * libc/machine/spu/sscanf.c: Ditto.
576
577 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
578
579 * libc/include/tar.h: New.
580
581 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
582
583 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
584 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
585 * libc/sys/linux/intl/Makefile.in: Regenerated.
586 * libc/sys/linux/intl/stpcpy.c: Renamed to...
587 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
588
589 2007-08-02 Eric Blake <ebb9@byu.net>
590
591 Implement fmemopen and open_memstream.
592 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
593 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
594 New file.
595 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
596 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
597 functions together.
598 (fmemopen, open_memstream): Declare new functions.
599 * libc/stdio/stdio.tex: Document them.
600 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
601 fmemopen and open_memstream.
602 * libc/stdio/Makefile.in: Regenerate.
603
604 2007-07-31 Eric Blake <ebb9@byu.net>
605
606 More POSIX stream corner cases.
607 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
608 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
609 requested.
610 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
611
612 2007-07-18 Eric Blake <ebb9@byu.net>
613
614 Fix 'make info'.
615 * libc/stdio/stdio.tex: Add missing include.
616 * libc/stdio/vfprintf.c: Use expected node name.
617 * libc/stdio/vfscanf.c: Likewise.
618 * libc/stdio/sscanf.c: Likewise.
619 * libc/stdio/sprintf.c: Likewise.
620 * libc/stdio/siscanf.c: Likewise.
621 * libc/stdio/siprintf.c: Likewise.
622 * libc/stdio/fopencookie.c: Quote raw {}.
623 Reported by DJ Delorie.
624
625 2007-07-13 Eric Blake <ebb9@byu.net>
626
627 Fix fflush issues.
628 * libc/stdio/fflush.c (_fflush_r): New function.
629 (fflush): Fix reentrancy and large offset behavior.
630 * libc/include/stdio.h (_fflush_r): Add prototype.
631 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
632 * libc/stdio/freopen.c (_freopen_r): Likewise.
633 * libc/stdio/fseek.c (_fseek_r): Likewise.
634 * libc/stdio/ftell.c (_ftell_r): Likewise.
635 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
636 * libc/stdio/refill.c (__srefill_r): Likewise.
637 * libc/stdio/setvbuf.c (setvbuf): Likewise.
638 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
639 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
640 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
641 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
642 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
643 32-bit version if not large file.
644 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
645 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
646
647 Documentation updates.
648 * libc/stdio/ungetc.c: Document ungetc.
649 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
650 of files with documentation.
651 * libc/stdio/Makefile.in: Regenerate.
652 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
653
654 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
655
656 * libc/include/math.h: Fix so C99 functions/macros are accessible
657 when -std=c99 is used when compiling and not when using C89.
658
659 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
660
661 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
662 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
663 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
664 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
665 wcstoull_r.c.
666 (CHEWOUT_FILES): Add .def files accordingly.
667 * libc/stdlib/Makefile.in: Regenerate.
668 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
669 * libc/stdlib/strtoll.c: Fix portability note.
670 * libc/stdlib/strtoull.c: Ditto.
671 * libc/stdlib/wcstol.c: New file.
672 * libc/stdlib/wcstoll.c: New file.
673 * libc/stdlib/wcstoll_r.c: New file.
674 * libc/stdlib/wcstoul.c: New file.
675 * libc/stdlib/wcstoull.c: New file.
676 * libc/stdlib/wcstoull_r.c: New file.
677
678 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
679
680 * libc/include/sys/time.h (gettimeofday): Change to proper
681 prototype where second parameter is void *.
682 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
683 accordingly.
684 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
685 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
686 * libc/sys/rdos/gettod.c: Ditto.
687 * libc/sys/sh/syscalls.c: Ditto.
688 * libc/time/time.c (time): Change call to _gettimeofday_r
689 to pass NULL as 2nd argument.
690
691 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
692
693 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
694 * libc/sys/linux/intl/l10nflist.c: Ditto.
695
696 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
697
698 * libc/include/wchar.h: Add prototype for wcsxfrm.
699 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
700 (CHEWOUT_FILES): Add wcsxfrm.def.
701 * libc/string/Makefile.in: Regenerate.
702 * libc/string/wcsxfrm.c: New file.
703 * libc/string/wcstrings.tex: Add wcsxfrm.
704
705 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
706
707 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
708 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
709 stpncpy.c.
710 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
711 * libc/string/Makefile.in: Regenerate.
712 * libc/string/stpcpy.c: New file.
713 * libc/string/stpncpy.c: New file.
714 * libc/string/strings.tex: Add stpcpy and stpncpy.
715
716 2007-06-27 Eric Blake <ebb9@byu.net>
717
718 Support __func__ in assert, as required by C99.
719 * libc/stdlib/assert.c (__assert_func): New function.
720 (__assert): Use __assert_func.
721 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
722 possible.
723
724 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
725
726 * libc/machine/spu/perror.c: Pass errno as the second argument to
727 the assist call.
728
729 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
730
731 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
732 defines; expose ftruncate, truncate and sync prototypes.
733
734 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
735
736 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
737 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
738 visible.
739
740 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
741
742 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
743 from a dropped patch.
744 * libc/machine/spu/Makefile.in: Regenerate.
745
746 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
747
748 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
749 it just calls open with appropriate arguments.
750 * libc/machine/spu/Makefile.am: Add creat.c.
751 * libc/machine/spu/Makefile.in: Regenerate.
752
753 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
754
755 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
756 I accidentally dropped.
757 * libc/machine/spu/Makefile.in: Regenerated.
758
759 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
760
761 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
762 * libc/include/sys/unistd.h: Change usleep prototype to Posix
763 form and move outside of OS flag checks.
764 * libc/machine/spu/Makefile.am: Add sleep and usleep.
765 * libc/machine/spu/Makefile.in: Regenerate.
766 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
767 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
768
769 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
770
771 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
772 Define confstr constants for Cygwin. Add comment.
773
774 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
775
776 * libc/sys/mmixware/access.c (access): Do not try to use a magic
777 file-handle and a direct syscall, just use _open.
778 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
779 file-handle.
780
781 * libc/sys/mmixware/_exit.c (_exit): Update comment about
782 passing on the exit value.
783
784 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
785
786 * libc/string/strcasestr.c: New file.
787 * libc/include/string.h: Add strcasestr.
788 * libc/string/strings.tex: Add strcasestr.
789 * libc/string/Makefile.am: Ditto.
790 * libc/string/Makefile.in: Regenerated.
791
792 2007-06-06 Christian Groessler <chris@groessler.org>
793
794 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
795 rnd is done after the last local variable declaration.
796
797 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
798
799 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
800
801 2007-06-05 Christian Groessler <chris@groessler.org>
802
803 * libc/argz/argz_insert.c (argz_insert): Move delta variable
804 declaration to top of function in keeping with C89 standard.
805
806 2007-06-04 Eric Blake <ebb9@byu.net>
807
808 Implement funopen, fopencookie.
809 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
810 Switch to reentrant callbacks.
811 * libc/include/stdio.h (funopen): Fix declaration.
812 (fopencookie): Declare.
813 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
814 (__sseek64, __swrite64): Fix prototypes.
815 [__SCLE]: Pull in setmode declaration.
816 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
817 reentrancy.
818 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
819 (__sseek64, __swrite64): Fix reentrancy.
820 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
821 reentrancy.
822 * libc/stdio/ftell.c (_ftell_r): Likewise.
823 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
824 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
825 * libc/stdio/freopen.c (_freopen_r): Likewise.
826 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
827 * libc/stdio/refill.c (__srefill_r): Likewise.
828 * libc/stdio/siscanf.c (eofread): Likewise.
829 * libc/stdio/sscanf.c (eofread): Likewise.
830 * libc/stdio/vsiscanf.c (eofread1): Likewise.
831 * libc/stdio/vsscanf.c (eofread1): Likewise.
832 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
833 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
834 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
835 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
836 could be fixed.
837 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
838 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
839 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
840 new files.
841 * libc/stdio/Makefile.in: Regenerate.
842
843 2007-05-29 Eric Blake <ebb9@byu.net>
844
845 Avoid more compiler warnings.
846 * libc/stdlib/btowc.c: Add missing header.
847 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
848 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
849 * libc/stdlib/wctob.c: Add missing header.
850 * libc/string/strcpy.c (strcpy): Avoid warnings.
851 * libc/string/strrchr.c (strrchr): Likewise.
852
853 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
854
855 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
856 argument.
857 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
858 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
859 on empty input strings.
860 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
861 looping through argz.
862 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
863
864 2007-05-27 Brian Dessent <brian@dessent.net>
865
866 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
867 handling %p.
868
869 2007-05-25 Eric Blake <ebb9@byu.net>
870
871 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
872
873 2007-05-24 Steve Ellcey <sje@cup.hp.com>
874 Charles Wilson <libtool@cwilson.fastmail.fm>
875
876 * libtool.m4: removed
877 * configure.in: invoke _LD_DECL_SED before conditionally initializing
878 libtool. Move AC_PROG_AWK outside conditional.
879 * libc/sys/linux/configure.in: Ditto.
880 * libc/sys/linux/linuxthreads/configure.in: Ditto.
881 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
882 * libc/sys/linux/machine/i386/configure.in: Ditto.
883
884 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
885 initializing libtool.
886 * libc/configure.in: Ditto.
887 * libc/machine/configure.in: Ditto.
888 * libc/machine/i386/configure.in: Ditto.
889 * libc/sys/configure.in: Ditto.
890 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
891 * libc/sys/linux/machine/configure.in: Ditto.
892 * libm/configure.in: Ditto.
893 * libm/machine/configure.in: Ditto.
894
895 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
896 * doc/Makefile.am: Ditto.
897 * iconvdata/Makefile.am: Ditto.
898 * libc/Makefile.am: Ditto.
899 * libc/machine/Makefile.am: Ditto.
900 * libc/machine/a29k/Makefile.am: Ditto.
901 * libc/machine/arm/Makefile.am: Ditto.
902 * libc/machine/bfin/Makefile.am: Ditto.
903 * libc/machine/cris/Makefile.am: Ditto.
904 * libc/machine/crx/Makefile.am: Ditto.
905 * libc/machine/d10v/Makefile.am: Ditto.
906 * libc/machine/d30v/Makefile.am: Ditto.
907 * libc/machine/fr30/Makefile.am: Ditto.
908 * libc/machine/frv/Makefile.am: Ditto.
909 * libc/machine/h8300/Makefile.am: Ditto.
910 * libc/machine/h8500/Makefile.am: Ditto.
911 * libc/machine/hppa/Makefile.am: Ditto.
912 * libc/machine/i386/Makefile.am: Ditto.
913 * libc/machine/i960/Makefile.am: Ditto.
914 * libc/machine/iq2000/Makefile.am: Ditto.
915 * libc/machine/m32c/Makefile.am: Ditto.
916 * libc/machine/m32r/Makefile.am: Ditto.
917 * libc/machine/m68hc11/Makefile.am: Ditto.
918 * libc/machine/m68k/Makefile.am: Ditto.
919 * libc/machine/m88k/Makefile.am: Ditto.
920 * libc/machine/mips/Makefile.am: Ditto.
921 * libc/machine/mn10200/Makefile.am: Ditto.
922 * libc/machine/mn10300/Makefile.am: Ditto.
923 * libc/machine/mt/Makefile.am: Ditto.
924 * libc/machine/necv70/Makefile.am: Ditto.
925 * libc/machine/powerpc/Makefile.am: Ditto.
926 * libc/machine/sh/Makefile.am: Ditto.
927 * libc/machine/sparc/Makefile.am: Ditto.
928 * libc/machine/spu/Makefile.am: Ditto.
929 * libc/machine/tic4x/Makefile.am: Ditto.
930 * libc/machine/tic80/Makefile.am: Ditto.
931 * libc/machine/v850/Makefile.am: Ditto.
932 * libc/machine/w65/Makefile.am: Ditto.
933 * libc/machine/xscale/Makefile.am: Ditto.
934 * libc/machine/xstormy16/Makefile.am: Ditto.
935 * libc/machine/z8k/Makefile.am: Ditto.
936 * libc/sys/Makefile.am: Ditto.
937 * libc/sys/a29khif/Makefile.am: Ditto.
938 * libc/sys/arc/Makefile.am: Ditto.
939 * libc/sys/arm/Makefile.am: Ditto.
940 * libc/sys/d10v/Makefile.am: Ditto.
941 * libc/sys/decstation/Makefile.am: Ditto.
942 * libc/sys/h8300hms/Makefile.am: Ditto.
943 * libc/sys/h8500hms/Makefile.am: Ditto.
944 * libc/sys/linux/Makefile.am: Ditto.
945 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
946 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
947 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
948 * libc/sys/linux/machine/Makefile.am: Ditto.
949 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
950 * libc/sys/m88kbug/Makefile.am: Ditto.
951 * libc/sys/mmixware/Makefile.am: Ditto.
952 * libc/sys/netware/Makefile.am: Ditto.
953 * libc/sys/rdos/Makefile.am: Ditto.
954 * libc/sys/rtems/Makefile.am: Ditto.
955 * libc/sys/sh/Makefile.am: Ditto.
956 * libc/sys/sparc64/Makefile.am: Ditto.
957 * libc/sys/sun4/Makefile.am: Ditto.
958 * libc/sys/sysmec/Makefile.am: Ditto.
959 * libc/sys/sysnec810/Makefile.am: Ditto.
960 * libc/sys/sysnecv850/Makefile.am: Ditto.
961 * libc/sys/sysvi386/Makefile.am: Ditto.
962 * libc/sys/sysvnecv70/Makefile.am: Ditto.
963 * libc/sys/tic80/Makefile.am: Ditto.
964 * libc/sys/w65/Makefile.am: Ditto.
965 * libc/sys/z8ksim/Makefile.am: Ditto.
966 * libm/Makefile.am: Ditto.
967 * libm/machine/Makefile.am: Ditto.
968 * libm/machine/i386/Makefile.am: Ditto.
969 * libm/machine/spu/Makefile.am: Ditto.
970
971 * aclocal.m4: Regenerate.
972 * iconvdata/aclocal.m4: Regenerate.
973 * libc/aclocal.m4: Regenerate.
974 * libc/machine/aclocal.m4: Regenerate.
975 * libc/machine/i386/aclocal.m4: Regenerate.
976 * libc/sys/aclocal.m4: Regenerate.
977 * libc/sys/linux/aclocal.m4: Regenerate.
978 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
979 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
980 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
981 * libc/sys/linux/machine/aclocal.m4: Regenerate.
982 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
983 * libm/aclocal.m4: Regenerate.
984 * libm/machine/aclocal.m4: Regenerate.
985 * libm/machine/i386/aclocal.m4: Regenerate.
986
987 * Makefile.in: Regenerate.
988 * doc/Makefile.in: Regenerate.
989 * iconvdata/Makefile.in: Regenerate.
990 * libc/Makefile.in: Regenerate.
991 * libc/argz/Makefile.in: Regenerate.
992 * libc/ctype/Makefile.in: Regenerate.
993 * libc/errno/Makefile.in: Regenerate.
994 * libc/iconv/Makefile.in: Regenerate.
995 * libc/iconv/ccs/Makefile.in: Regenerate.
996 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
997 * libc/iconv/ces/Makefile.in: Regenerate.
998 * libc/iconv/lib/Makefile.in: Regenerate.
999 * libc/locale/Makefile.in: Regenerate.
1000 * libc/machine/Makefile.in: Regenerate.
1001 * libc/machine/a29k/Makefile.in: Regenerate.
1002 * libc/machine/arm/Makefile.in: Regenerate.
1003 * libc/machine/bfin/Makefile.in: Regenerate.
1004 * libc/machine/cris/Makefile.in: Regenerate.
1005 * libc/machine/crx/Makefile.in: Regenerate.
1006 * libc/machine/d10v/Makefile.in: Regenerate.
1007 * libc/machine/d30v/Makefile.in: Regenerate.
1008 * libc/machine/fr30/Makefile.in: Regenerate.
1009 * libc/machine/frv/Makefile.in: Regenerate.
1010 * libc/machine/h8300/Makefile.in: Regenerate.
1011 * libc/machine/h8500/Makefile.in: Regenerate.
1012 * libc/machine/hppa/Makefile.in: Regenerate.
1013 * libc/machine/i386/Makefile.in: Regenerate.
1014 * libc/machine/i960/Makefile.in: Regenerate.
1015 * libc/machine/iq2000/Makefile.in: Regenerate.
1016 * libc/machine/m32c/Makefile.in: Regenerate.
1017 * libc/machine/m32r/Makefile.in: Regenerate.
1018 * libc/machine/m68hc11/Makefile.in: Regenerate.
1019 * libc/machine/m68k/Makefile.in: Regenerate.
1020 * libc/machine/m88k/Makefile.in: Regenerate.
1021 * libc/machine/mips/Makefile.in: Regenerate.
1022 * libc/machine/mn10200/Makefile.in: Regenerate.
1023 * libc/machine/mn10300/Makefile.in: Regenerate.
1024 * libc/machine/mt/Makefile.in: Regenerate.
1025 * libc/machine/necv70/Makefile.in: Regenerate.
1026 * libc/machine/powerpc/Makefile.in: Regenerate.
1027 * libc/machine/sh/Makefile.in: Regenerate.
1028 * libc/machine/sparc/Makefile.in: Regenerate.
1029 * libc/machine/spu/Makefile.in: Regenerate.
1030 * libc/machine/tic4x/Makefile.in: Regenerate.
1031 * libc/machine/tic80/Makefile.in: Regenerate.
1032 * libc/machine/v850/Makefile.in: Regenerate.
1033 * libc/machine/w65/Makefile.in: Regenerate.
1034 * libc/machine/xscale/Makefile.in: Regenerate.
1035 * libc/machine/xstormy16/Makefile.in: Regenerate.
1036 * libc/machine/z8k/Makefile.in: Regenerate.
1037 * libc/misc/Makefile.in: Regenerate.
1038 * libc/posix/Makefile.in: Regenerate.
1039 * libc/reent/Makefile.in: Regenerate.
1040 * libc/search/Makefile.in: Regenerate.
1041 * libc/signal/Makefile.in: Regenerate.
1042 * libc/stdio/Makefile.in: Regenerate.
1043 * libc/stdio64/Makefile.in: Regenerate.
1044 * libc/stdlib/Makefile.in: Regenerate.
1045 * libc/string/Makefile.in: Regenerate.
1046 * libc/sys/Makefile.in: Regenerate.
1047 * libc/sys/a29khif/Makefile.in: Regenerate.
1048 * libc/sys/arc/Makefile.in: Regenerate.
1049 * libc/sys/arm/Makefile.in: Regenerate.
1050 * libc/sys/d10v/Makefile.in: Regenerate.
1051 * libc/sys/decstation/Makefile.in: Regenerate.
1052 * libc/sys/h8300hms/Makefile.in: Regenerate.
1053 * libc/sys/h8500hms/Makefile.in: Regenerate.
1054 * libc/sys/linux/Makefile.in: Regenerate.
1055 * libc/sys/linux/argp/Makefile.in: Regenerate.
1056 * libc/sys/linux/cmath/Makefile.in: Regenerate.
1057 * libc/sys/linux/dl/Makefile.in: Regenerate.
1058 * libc/sys/linux/iconv/Makefile.in: Regenerate.
1059 * libc/sys/linux/intl/Makefile.in: Regenerate.
1060 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
1061 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
1062 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1063 * libc/sys/linux/machine/Makefile.in: Regenerate.
1064 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1065 * libc/sys/linux/net/Makefile.in: Regenerate.
1066 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1067 * libc/sys/m88kbug/Makefile.in: Regenerate.
1068 * libc/sys/mmixware/Makefile.in: Regenerate.
1069 * libc/sys/netware/Makefile.in: Regenerate.
1070 * libc/sys/rdos/Makefile.in: Regenerate.
1071 * libc/sys/rtems/Makefile.in: Regenerate.
1072 * libc/sys/sh/Makefile.in: Regenerate.
1073 * libc/sys/sparc64/Makefile.in: Regenerate.
1074 * libc/sys/sun4/Makefile.in: Regenerate.
1075 * libc/sys/sysmec/Makefile.in: Regenerate.
1076 * libc/sys/sysnec810/Makefile.in: Regenerate.
1077 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1078 * libc/sys/sysvi386/Makefile.in: Regenerate.
1079 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1080 * libc/sys/tic80/Makefile.in: Regenerate.
1081 * libc/sys/w65/Makefile.in: Regenerate.
1082 * libc/sys/z8ksim/Makefile.in: Regenerate.
1083 * libc/syscalls/Makefile.in: Regenerate.
1084 * libc/time/Makefile.in: Regenerate.
1085 * libc/unix/Makefile.in: Regenerate.
1086 * libm/Makefile.in: Regenerate.
1087 * libm/common/Makefile.in: Regenerate.
1088 * libm/machine/Makefile.in: Regenerate.
1089 * libm/machine/i386/Makefile.in: Regenerate.
1090 * libm/machine/spu/Makefile.in: Regenerate.
1091 * libm/math/Makefile.in: Regenerate.
1092 * libm/mathfp/Makefile.in: Regenerate.
1093
1094 * configure: Regenerate.
1095 * iconvdata/configure: Regenerate.
1096 * libc/configure: Regenerate.
1097 * libc/machine/configure: Regenerate.
1098 * libc/machine/i386/configure: Regenerate.
1099 * libc/sys/configure: Regenerate.
1100 * libc/sys/linux/configure: Regenerate.
1101 * libc/sys/linux/linuxthreads/configure: Regenerate.
1102 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1103 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1104 * libc/sys/linux/machine/configure: Regenerate.
1105 * libc/sys/linux/machine/i386/configure: Regenerate.
1106 * libm/configure: Regenerate.
1107 * libm/machine/configure: Regenerate.
1108 * libm/machine/i386/configure: Regenerate.
1109
1110 2007-05-23 Eric Blake <ebb9@byu.net>
1111
1112 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1113 sizeof(void*) is 8 but sizeof(long) is 4.
1114 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1115 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1116 to fix reentrancy and bug on encoding error in multibyte locales.
1117 Always return EOF on read error.
1118
1119 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1120
1121 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1122 prototype.
1123 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1124 instead of the slot 0 value, remove any now unused variables, and
1125 for some cases, now store the result in an int vs int*.
1126 * libc/machine/spu/feof.c: Ditto.
1127 * libc/machine/spu/ferror.c: Ditto.
1128 * libc/machine/spu/fflush.c: Ditto.
1129 * libc/machine/spu/fgetc.c: Ditto.
1130 * libc/machine/spu/fgetpos.c: Ditto.
1131 * libc/machine/spu/fgets.c: Ditto.
1132 * libc/machine/spu/fileno.c: Ditto.
1133 * libc/machine/spu/fopen.c: Ditto.
1134 * libc/machine/spu/fprintf.c: Ditto.
1135 * libc/machine/spu/fputc.c: Ditto.
1136 * libc/machine/spu/fputs.c: Ditto.
1137 * libc/machine/spu/fread.c: Ditto.
1138 * libc/machine/spu/freopen.c: Ditto.
1139 * libc/machine/spu/fscanf.c: Ditto.
1140 * libc/machine/spu/fseek.c: Ditto.
1141 * libc/machine/spu/fsetpos.c: Ditto.
1142 * libc/machine/spu/ftell.c: Ditto.
1143 * libc/machine/spu/fwrite.c: Ditto.
1144 * libc/machine/spu/getc.c: Ditto.
1145 * libc/machine/spu/getchar.c: Ditto.
1146 * libc/machine/spu/gets.c: Ditto.
1147 * libc/machine/spu/printf.c: Ditto.
1148 * libc/machine/spu/putc.c: Ditto.
1149 * libc/machine/spu/putchar.c: Ditto.
1150 * libc/machine/spu/puts.c: Ditto.
1151 * libc/machine/spu/remove.c: Ditto.
1152 * libc/machine/spu/rename.c: Ditto.
1153 * libc/machine/spu/scanf.c: Ditto.
1154 * libc/machine/spu/setvbuf.c: Ditto.
1155 * libc/machine/spu/snprintf.c: Ditto.
1156 * libc/machine/spu/sprintf.c: Ditto.
1157 * libc/machine/spu/sscanf.c: Ditto.
1158 * libc/machine/spu/tmpfile.c: Ditto.
1159 * libc/machine/spu/tmpnam.c: Ditto.
1160 * libc/machine/spu/ungetc.c: Ditto.
1161 * libc/machine/spu/vfprintf.c: Ditto.
1162 * libc/machine/spu/vfscanf.c: Ditto.
1163 * libc/machine/spu/vprintf.c: Ditto.
1164 * libc/machine/spu/vscanf.c: Ditto.
1165 * libc/machine/spu/vsnprintf.c: Ditto.
1166 * libc/machine/spu/vsprintf.c: Ditto.
1167 * libc/machine/spu/vsscanf.c: Ditto.
1168
1169 2007-05-23 Eric Blake <ebb9@byu.net>
1170
1171 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
1172 Avoid warning when !FLOATING_POINT.
1173 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
1174 slightly.
1175
1176 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
1177
1178 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
1179 to zero.
1180 * libc/include/argz.h: Guard against multiple inclusion. Guard for
1181 use with C++.
1182
1183 2007-05-18 Eric Blake <ebb9@byu.net>
1184
1185 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
1186 compilers.
1187 * libc/stdio/vfscanf.c: Likewise.
1188
1189 2007-05-17 Cary R. <cygcary <at> yahoo.com>
1190
1191 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
1192 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
1193 * libm/math/wf_atan2.c: Ditto.
1194
1195 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
1196
1197 * libm/common/Makefile.am: Add support for exp10, exp10f,
1198 pow10, and pow10f functions.
1199 * libm/common/Makefile.in: Regenerated.
1200 * libm/common/s_pow10.c: New file.
1201 * libm/common/sf_pow10.c: Ditto.
1202 * libm/common/s_exp10.c: Ditto.
1203 * libm/common/sf_exp10.c: Ditto.
1204 * libc/include/math.h [!pow10]: New pow10 prototype.
1205 [!pow10f]: New pow10f prototype.
1206 [!exp10]: New exp10 prototype.
1207 [!exp10f]: New exp10f prototype.
1208
1209 2007-05-17 Charles Wilson <cygwin@...>
1210
1211 * stdio/tmpfile.c: Include <sys/stat.h>.
1212 * stdio64/tmpfile64.c: Ditto.
1213
1214 2007-05-16 Eric Blake <ebb9@byu.net>
1215
1216 Close security hole in tmpfile.
1217 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
1218 generation and opening the fd.
1219 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
1220
1221 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
1222 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
1223 required by POSIX.
1224 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
1225 avoid clash with <math.h>.
1226
1227 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
1228 * libc/search/hash.c (__hash_open): Likewise.
1229
1230 2007-05-14 Eric Blake <ebb9@byu.net>
1231
1232 Reduce stack size of *printf.
1233 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
1234 in %f. Avoid malloc when possible for %S.
1235 (BUF): Improve stack locality by using smaller size.
1236 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
1237 (exponent): Use smaller stack size.
1238
1239 2007-05-11 Eric Blake <ebb9@byu.net>
1240
1241 Minimize printf/scanf size on platforms that don't need C99.
1242 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
1243 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
1244 * configure.in (newlib-io-c99-formats): New configure option.
1245 (_WANT_IO_C99_FORMATS): Define appropriately.
1246 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
1247 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
1248 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
1249 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
1250 Likewise.
1251 * configure: Regenerate.
1252
1253 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
1254 (get_arg): Support '%a' and '%A'.
1255
1256 2007-05-09 Eric Blake <ebb9@byu.net>
1257
1258 Allow zero size with non-null buf in *asnprintf.
1259 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
1260 user's buf.
1261 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
1262 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1263 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
1264
1265 2007-05-07 Charles Wilson <cygwin@...>
1266
1267 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
1268
1269 2007-05-03 Eric Blake <ebb9@byu.net>
1270
1271 Add support for asnprintf, and improve *printf documentation.
1272 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
1273 (ELIX_2_SOURCES): ...to this.
1274 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
1275 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
1276 (CHEWOUT_FILES): Include diprintf in documentation.
1277 * libc/stdio/Makefile.in: Regenerate.
1278 * libc/stdio/diprintf.c: Improve documentation.
1279 * libc/stdio/dprintf.c: Likewise.
1280 * libc/stdio/siprintf.c: Likewise.
1281 * libc/stdio/sprintf.c: Likewise.
1282 * libc/stdio/vfprintf.c: Likewise.
1283 * libc/stdio/viprintf.c: Likewise.
1284 * libc/stdio/vsniprintf.c: Consolidate documentation.
1285 * libc/stdio/asiprintf.c: Refer to documentation.
1286 * libc/stdio/asprintf.c: Likewise.
1287 * libc/stdio/fiprintf.c: Likewise.
1288 * libc/stdio/fprintf.c: Likewise.
1289 * libc/stdio/iprintf.c: Likewise.
1290 * libc/stdio/printf.c: Likewise.
1291 * libc/stdio/sniprintf.c: Likewise.
1292 * libc/stdio/vdiprintf.c: Likewise.
1293 * libc/stdio/vdprintf.c: Likewise.
1294 * libc/stdio/vsiprintf.c: Likewise.
1295 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
1296 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
1297 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
1298 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
1299 file.
1300 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
1301 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
1302 typical case.
1303 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
1304 * libc/include/stdio.h: Add prototypes for new functions; sort
1305 existing functions.
1306
1307 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
1308
1309 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1310 and memset.S.
1311 * libc/machine/m68k/Makefile.in: Regenerate.
1312 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
1313 * libc/machine/m68k/memset.S: Likewise.
1314
1315 2007-05-01 Eric Blake <ebb9@byu.net>
1316
1317 * libc/stdio64/local64.h: Delete, move contents to...
1318 * libc/stdio/local.h: ...here.
1319 * libc/stdio64/fdopen64.c: Update includes.
1320 * libc/stdio64/fopen64.c: Likewise.
1321 * libc/stdio64/freopen64.c: Likewise.
1322 * libc/stdio64/fseeko64.c: Likewise.
1323 * libc/stdio64/ftello64.c: Likewise.
1324 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
1325 and stderr with 64-bit offset.
1326 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
1327 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
1328 * libc/stdio/mktemp.c (_gettemp): Likewise.
1329
1330 2007-05-01 Cary R. <cygcary <at> yahoo.com>
1331
1332 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
1333 to treatment of NaN and +-inf arguments.
1334 * libm/math/ef_pow.c: Ditto.
1335 * libm/math/w_pow.c: Ditto.
1336 * libm/math/wf_pow.c: Ditto.
1337 * libm/math/w_acos.c: Fix domain errors to return NaN.
1338 * libm/math/w_asin.c: Ditto.
1339 * libm/math/wf_acos.c: Ditto.
1340 * libm/math/wf_asin.c: Ditto.
1341 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
1342 * libm/math/wf_log.c: Ditto.
1343 * libm/math/wf_log10.c: Ditto.
1344 * libm/math/w_log10.c: Ditto.
1345
1346 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
1347
1348 * libc/machine/m68k/Makefile.am: Temporarily remove
1349 memcpy.S and memset.S until logic can be confirmed for
1350 !(__mcoldfile__) case.
1351 * libc/machine/m68k/Makefile.in: Regenerated.
1352
1353 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
1354
1355 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1356 and memset.S.
1357 * libc/machine/m68k/Makefile.in: Regenerate.
1358 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
1359
1360 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
1361
1362 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
1363 overridden via machine/ieeefp.h.
1364 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
1365 macros for isnan and related macros.
1366 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
1367 overridden via machine/ieeefp.h.
1368 * libm/machine/spu/Makefile.am: Add new files.
1369 * libm/machine/spu/Makefile.in: Autogenerate with new files.
1370 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
1371 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
1372 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
1373 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
1374 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
1375 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
1376 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
1377
1378 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
1379
1380 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
1381 * libm/common/sf_fpclassify.c: ...here. New file.
1382 * libm/common/Makefile.am: Add sf_fpclassify.c.
1383 * libm/common/Makefile.in: Regenerated.
1384
1385 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1386
1387 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
1388 ppu linux values. This file is a copy of the cris/sys/errno.h plus
1389 a few changes (see spu errno.h comments).
1390
1391 2007-04-25 Eric Blake <ebb9@byu.net>
1392
1393 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
1394 that promote to int.
1395
1396 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1397
1398 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
1399 we clear the proper bits in the fpscr, and don't set some random ones.
1400
1401 2007-04-24 Eric Blake <ebb9@byu.net>
1402
1403 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
1404 or NaN with %05f.
1405
1406 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
1407 _MB_CAPABLE.
1408
1409 * libc/include/limits.h (NL_ARGMAX): Define a default value.
1410 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
1411 NL_ARGMAX, if present.
1412
1413 2007-04-23 Brian Dessent <brian@dessent.net>
1414
1415 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
1416 has been specified with types 'f', 'F', 'g', or 'G', ensure the
1417 trailing decimal is printed.
1418
1419 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
1420
1421 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
1422 file. Override Autoconf-2.59's version of these macros with
1423 fixed handling of multiple adjacent whitespace in arguments.
1424 * aclocal.m4: Regenerated forcefully.
1425 * configure: Ditto.
1426 * Makefile.in: Ditto.
1427 * libc/*Makefile.in: Ditto.
1428 * libc/*aclocal.m4: Ditto.
1429 * libc/*configure: Ditto.
1430 * libm/*Makefile.in: Ditto.
1431 * libm/*aclocal.m4: Ditto.
1432 * libm/*configure: Ditto.
1433
1434 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
1435
1436 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
1437 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
1438 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
1439 * libc/sys/arc/Makefile.in: Regenerated.
1440
1441 2007-04-17 Brian Dessent <brian@dessent.net>
1442
1443 * libc/stdio/sscanf.c: Update documentation comments.
1444 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
1445
1446 2007-04-12 Eric Blake <ebb9@byu.net>
1447
1448 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1449 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1450 (get_arg): Handle %1$F, %1$n.
1451
1452 2007-04-10 Eric Blake <ebb9@byu.net>
1453
1454 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1455 CFLAGS=-O0.
1456
1457 2007-04-09 Eric Blake <ebb9@byu.net>
1458
1459 * libc/include/stdio.h: Add gcc format attributes to printf and
1460 scanf families.
1461
1462 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
1463
1464 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1465 even if the passed in length n is shorter than the source string.
1466 This matches both the non-spu specific and the glibc strxfrm
1467 behaviour.
1468
1469 2007-04-04 Mark Mitchell <mark@codesourcery.com>
1470
1471 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1472 functions registering additional atexit functions.
1473
1474 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1475 -I${newlib_dir}.
1476
1477 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
1478
1479 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1480 prototype.
1481 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1482 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1483 * libc/machine/spu/fclose.c: Ditto.
1484 * libc/machine/spu/feof.c: Ditto.
1485 * libc/machine/spu/ferror.c: Ditto.
1486 * libc/machine/spu/fflush.c: Ditto.
1487 * libc/machine/spu/fgetc.c: Ditto.
1488 * libc/machine/spu/fgetpos.c: Ditto.
1489 * libc/machine/spu/fgets.c: Ditto.
1490 * libc/machine/spu/fileno.c: Ditto.
1491 * libc/machine/spu/fopen.c: Ditto.
1492 * libc/machine/spu/fprintf.c: Ditto.
1493 * libc/machine/spu/fputc.c: Ditto.
1494 * libc/machine/spu/fputs.c: Ditto.
1495 * libc/machine/spu/fread.c: Ditto.
1496 * libc/machine/spu/freopen.c: Ditto.
1497 * libc/machine/spu/fscanf.c: Ditto.
1498 * libc/machine/spu/fseek.c: Ditto.
1499 * libc/machine/spu/fsetpos.c: Ditto.
1500 * libc/machine/spu/ftell.c: Ditto.
1501 * libc/machine/spu/fwrite.c: Ditto.
1502 * libc/machine/spu/getc.c: Ditto.
1503 * libc/machine/spu/getchar.c: Ditto.
1504 * libc/machine/spu/gets.c: Ditto.
1505 * libc/machine/spu/perror.c: Ditto.
1506 * libc/machine/spu/printf.c: Ditto.
1507 * libc/machine/spu/putc.c: Ditto.
1508 * libc/machine/spu/putchar.c: Ditto.
1509 * libc/machine/spu/puts.c: Ditto.
1510 * libc/machine/spu/remove.c: Ditto.
1511 * libc/machine/spu/rename.c: Ditto.
1512 * libc/machine/spu/rewind.c: Ditto.
1513 * libc/machine/spu/scanf.c: Ditto.
1514 * libc/machine/spu/setbuf.c: Ditto.
1515 * libc/machine/spu/setvbuf.c: Ditto.
1516 * libc/machine/spu/snprintf.c: Ditto.
1517 * libc/machine/spu/sprintf.c: Ditto.
1518 * libc/machine/spu/sscanf.c: Ditto.
1519 * libc/machine/spu/tmpfile.c: Ditto.
1520 * libc/machine/spu/tmpnam.c: Ditto.
1521 * libc/machine/spu/ungetc.c: Ditto.
1522 * libc/machine/spu/vfprintf.c: Ditto.
1523 * libc/machine/spu/vfscanf.c: Ditto.
1524 * libc/machine/spu/vprintf.c: Ditto.
1525 * libc/machine/spu/vscanf.c: Ditto.
1526 * libc/machine/spu/vsnprintf.c: Ditto.
1527 * libc/machine/spu/vsprintf.c: Ditto.
1528 * libc/machine/spu/vsscanf.c: Ditto.
1529
1530 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1531
1532 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1533
1534 2007-04-04 Eric Blake <ebb9@byu.net>
1535
1536 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1537 (asiprintf): Avoid overhead.
1538 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1539 (asprintf): Avoid overhead.
1540 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1541 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1542 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1543 (fiprintf): Avoid overhead.
1544 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1545 (fprintf): Avoid overhead.
1546 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1547 (iprintf): Avoid overhead.
1548 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1549 (printf): Avoid overhead.
1550 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1551 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1552 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1553 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1554 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1555 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1556 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1557 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1558 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1559 vdiprintf.c.
1560 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1561 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1562
1563 2007-03-30 Dave Korn <dave.korn@artimi.com>
1564
1565 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1566 conflicting inline semantics between C99 and GNU89.
1567 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1568 compatible with -fkeep-inline-functions usage.
1569 (__sputc_r): Likewise for consistency even though disabled.
1570
1571 2007-03-29 Nick Clifton <nickc@redhat.com>
1572
1573 Reflect changes made to generic vfprintf.c:
1574 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1575 and add a "struct reent *" argument.
1576 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1577 argument and call _VFPRINTF_R instead of VFPRINTF.
1578 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1579 Fix uses of __sprint() and __sbprintf.
1580
1581 2007-03-20 Nick Clifton <nickc@redhat.com>
1582
1583 Reflect changes made to generic vfprintf.c:
1584 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1585 and add a "struct reent *" argument.
1586 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1587 argument and call _VFPRINTF_R instead of VFPRINTF.
1588 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1589 Fix uses of __sprint() and __sbprintf.
1590
1591 2007-03-16 Charles Wilson <cygwin@...>
1592
1593 * libc/argz/argz_insert.c: "before" pointer is
1594 invalid after *argz realloc. Compute offset
1595 between "before" and *argz, and use it after
1596 reallocation instead.
1597
1598 2007-03-16 Eric Blake <ebb9@byu.net>
1599
1600 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1601 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1602
1603 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1604
1605 * configure.in: Add new --enable-newlib-reent-small option.
1606 * configure: Regenerated.
1607 * acconfig.h: Add _WANT_REENT_SMALL.
1608 * newlib.hin: Regenerated minus PACKAGE macros to add
1609 _WANT_REENT_SMALL macro.
1610 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1611 if not already set.
1612 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1613 there is no buffer.
1614 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1615 use reentrant pointer passed in when resetting the file
1616 pointer to one of the std streams.
1617
1618 2007-03-15 Eric Blake <ebb9@byu.net>
1619
1620 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1621 (__smakebuf): Rename...
1622 (__smakebuf_r): to this.
1623 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1624 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1625 allocation, then rename...
1626 (__smakebuf_r): ...to this and fix reentrancy.
1627 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1628 allocation, then rename...
1629 (__swsetup_r): ...to this and fix reentrancy.
1630 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1631 * libc/stdio/refill.c (__srefill_r): Likewise.
1632 * libc/stdio/fclose.c (_fclose_r): Likewise.
1633 * libc/stdio/fread.c (_fread_r): Likewise.
1634 * libc/stdio/freopen.c (_freopen_r): Likewise.
1635 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1636 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1637 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1638 failed asprintf allocation, and fix reentrancy.
1639 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1640 as required by POSIX.
1641 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1642 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1643 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1644
1645 2007-03-12 Eric Blake <ebb9@byu.net>
1646
1647 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1648 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1649 allocation to caller.
1650 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1651 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1652 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1653
1654 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1655
1656 * libm/math/w_pow.c: Fix typo in documentation comment.
1657
1658 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1659
1660 * libc/reent/timer.c: Removed (split into two new files).
1661 * libc/reent/timesr.c: New file for _times_r.
1662 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1663 * reent/Makefile.in: Remove timer.c, add timesr.c and
1664 gettimeofdayr.c.
1665 * libc/reent/Makefile.am: Regenerate.
1666
1667 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1668
1669 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1670
1671 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1672
1673 * libc/machine/spu/Makefile.am: Add new objects.
1674 * libc/machine/spu/Makefile.in: Regenerated.
1675 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1676 integer-only version.
1677 * libc/machine/spu/fiscanf.c: Ditto.
1678 * libc/machine/spu/iprintf.c: Ditto.
1679 * libc/machine/spu/iscanf.c: Ditto.
1680 * libc/machine/spu/siprintf.c: Ditto.
1681 * libc/machine/spu/siscanf.c: Ditto.
1682 * libc/machine/spu/sniprintf.c: Ditto.
1683 * libc/machine/spu/vfiprintf.c: Ditto.
1684 * libc/machine/spu/vfiscanf.c: Ditto.
1685 * libc/machine/spu/viprintf.c: Ditto.
1686 * libc/machine/spu/viscanf.c: Ditto.
1687 * libc/machine/spu/vsiprintf.c: Ditto.
1688 * libc/machine/spu/vsiscanf.c: Ditto.
1689 * libc/machine/spu/vsniprintf.c: Ditto.
1690 * libc/machine/spu/fprintf.c: Add support for integer-only
1691 version.
1692 * libc/machine/spu/fscanf.c: Ditto.
1693 * libc/machine/spu/printf.c: Ditto.
1694 * libc/machine/spu/scanf.c: Ditto.
1695 * libc/machine/spu/snprintf.c: Ditto.
1696 * libc/machine/spu/sprintf.c: Ditto.
1697 * libc/machine/spu/sscanf.c: Ditto.
1698 * libc/machine/spu/vfprintf.c: Ditto.
1699 * libc/machine/spu/vfscanf.c: Ditto.
1700 * libc/machine/spu/vprintf.c: Ditto.
1701 * libc/machine/spu/vscanf.c: Ditto.
1702 * libc/machine/spu/vsnprintf.c: Ditto.
1703 * libc/machine/spu/vsprintf.c: Ditto.
1704 * libc/machine/spu/vsscanf.c: Ditto.
1705
1706 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1707
1708 * libc/include/stdio.h: Add declaration for vsiprintf.
1709
1710 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1711
1712 Add a floating point environment for SPU (cell):
1713
1714 * configure.host: add libm_machine_dir=spu.
1715 * libm/machine/configure: Add spu.
1716 * libm/machine/configure.in: regenerated with spu added.
1717 * libc/machine/spu/include/fenv.h: New file.
1718 * libc/machine/spu/sys/fenv.h: Ditto.
1719 * libm/machine/spu/Makefile.am: Ditto.
1720 * libm/machine/spu/Makefile.in: Ditto.
1721 * libm/machine/spu/aclocal.m4: Ditto.
1722 * libm/machine/spu/configure: Ditto.
1723 * libm/machine/spu/configure.in: Ditto.
1724 * libm/machine/spu/fe_dfl_env.c: Ditto.
1725 * libm/machine/spu/feclearexcept.c: Ditto.
1726 * libm/machine/spu/fegetenv.c: Ditto.
1727 * libm/machine/spu/fegetexceptflag.c: Ditto.
1728 * libm/machine/spu/fegetround.c: Ditto.
1729 * libm/machine/spu/feholdexcept.c: Ditto.
1730 * libm/machine/spu/feraiseexcept.c: Ditto.
1731 * libm/machine/spu/fesetenv.c: Ditto.
1732 * libm/machine/spu/fesetexceptflag.c: Ditto.
1733 * libm/machine/spu/fesetround.c: Ditto.
1734 * libm/machine/spu/fetestexcept.c: Ditto.
1735 * libm/machine/spu/feupdateenv.c: Ditto.
1736 * libm/machine/spu/headers/feclearexcept.h: Ditto.
1737 * libm/machine/spu/headers/fefpscr.h: Ditto.
1738 * libm/machine/spu/headers/fegetenv.h: Ditto.
1739 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
1740 * libm/machine/spu/headers/fegetround.h: Ditto.
1741 * libm/machine/spu/headers/feholdexcept.h: Ditto.
1742 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
1743 * libm/machine/spu/headers/fesetenv.h: Ditto.
1744 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1745 * libm/machine/spu/headers/fesetround.h: Ditto.
1746 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1747 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1748
1749 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
1750
1751 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1752 Cygwin.
1753
1754 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
1755
1756 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1757 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1758
1759 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
1760
1761 * libc/include/sys/features.h: Add definition of all supported
1762 _POSIX_xxx values for Cygwin.
1763 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1764 on Cygwin.
1765 (pthread_rwlockattr_t): Ditto.
1766 * libc/include/sys/unistd.h: Define all _SC_xxx values as
1767 required by SUSv3. Unify formatting.
1768
1769 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
1770
1771 * libc/include/sys/errno.h: Add ECANCELED.
1772
1773 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1774 Kazunori Asayama <asayama@sm.sony.co.jp>
1775
1776 * libc/machine/spu/Makefile.am: Add objects.
1777 * libc/machine/spu/Makefile.in: Regenerated.
1778 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
1779 implementation.
1780 * libc/machine/spu/snprintf.c: Ditto.
1781 * libc/machine/spu/sprintf.c: Ditto.
1782 * libc/machine/spu/sscanf.c: Ditto.
1783 * libc/machine/spu/remove.c: Ditto.
1784 * libc/machine/spu/rename.c: Ditto.
1785 * libc/machine/spu/tmpnam.c: Ditto.
1786 * libc/machine/spu/vsnprintf.c: Add initialization routine of
1787 stdio stuffs.
1788 * libc/machine/spu/vsprintf.c: Ditto.
1789
1790 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1791 Kazunori Asayama <asayama@sm.sony.co.jp>
1792
1793 * configure.host: Enable SPU specific stdio directory.
1794 * libc/machine/spu/Makefile.am: Add objects.
1795 * libc/machine/spu/Makefile.in: Regenerated.
1796 * libc/machine/spu/c99ppe.h: Add macros and function
1797 declarations to initialize SPU specific stdio stuffs.
1798 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
1799 specific FILE structures.
1800 * libc/machine/spu/perror.c: Add initialization routine of
1801 stdio stuffs.
1802 * libc/machine/spu/printf.c: Ditto.
1803 * libc/machine/spu/putchar.c: Ditto.
1804 * libc/machine/spu/puts.c: Ditto.
1805 * libc/machine/spu/vprintf.c: Ditto.
1806 * libc/machine/spu/clearerr.c: New file. Add a stdio function
1807 implementation.
1808 * libc/machine/spu/feof.c: Ditto.
1809 * libc/machine/spu/ferror.c: Ditto.
1810 * libc/machine/spu/fileno.c: Ditto.
1811 * libc/machine/spu/fopen.c: Ditto.
1812 * libc/machine/spu/fclose.c: Ditto.
1813 * libc/machine/spu/freopen.c: Ditto.
1814 * libc/machine/spu/fflush.c: Ditto.
1815 * libc/machine/spu/fseek.c: Ditto.
1816 * libc/machine/spu/ftell.c: Ditto.
1817 * libc/machine/spu/rewind.c: Ditto.
1818 * libc/machine/spu/fgetpos.c: Ditto.
1819 * libc/machine/spu/fsetpos.c: Ditto.
1820 * libc/machine/spu/fread.c: Ditto.
1821 * libc/machine/spu/fwrite.c: Ditto.
1822 * libc/machine/spu/getc.c: Ditto.
1823 * libc/machine/spu/getchar.c: Ditto.
1824 * libc/machine/spu/gets.c: Ditto.
1825 * libc/machine/spu/fgetc.c: Ditto.
1826 * libc/machine/spu/fgets.c: Ditto.
1827 * libc/machine/spu/ungetc.c: Ditto.
1828 * libc/machine/spu/putc.c: Ditto.
1829 * libc/machine/spu/fputc.c: Ditto.
1830 * libc/machine/spu/fputs.c: Ditto.
1831 * libc/machine/spu/vfprintf.c: Ditto.
1832 * libc/machine/spu/vfscanf.c: Ditto.
1833 * libc/machine/spu/fprintf.c: Ditto.
1834 * libc/machine/spu/fscanf.c: Ditto.
1835 * libc/machine/spu/scanf.c: Ditto.
1836 * libc/machine/spu/vscanf.c: Ditto.
1837 * libc/machine/spu/setbuf.c: Ditto.
1838 * libc/machine/spu/setvbuf.c: Ditto.
1839 * libc/machine/spu/tmpfile.c: Ditto.
1840
1841 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
1842
1843 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
1844 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
1845 around stdio macros that manipulate fields in the normal file
1846 structure.
1847 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
1848 <sys/custom_file.h> to define custom FILE structure.
1849 * libc/include/sys/custom_file.h: New default header file
1850 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
1851 * libc/machine/spu/sys/custom_file.h: New file.
1852
1853 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
1854
1855 * configure.host: Define stdio directory as a variable.
1856 * libc/Makefile.am: Define stdio related names
1857 as macros.
1858 * libc/configure.in: Add detection routine of stdio directory.
1859 * libc/Makefile.in: Regenerated.
1860 * libc/configure: Ditto.
1861 * libc/argz/Makefile.in: Ditto.
1862 * libc/ctype/Makefile.in: Ditto.
1863 * libc/errno/Makefile.in: Ditto.
1864 * libc/iconv/Makefile.in: Ditto.
1865 * libc/iconv/ccs/Makefile.in: Ditto.
1866 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1867 * libc/iconv/ces/Makefile.in: Ditto.
1868 * libc/iconv/lib/Makefile.in: Ditto.
1869 * libc/locale/Makefile.in: Ditto.
1870 * libc/misc/Makefile.in: Ditto.
1871 * libc/posix/Makefile.in: Ditto.
1872 * libc/reent/Makefile.in: Ditto.
1873 * libc/search/Makefile.in: Ditto.
1874 * libc/signal/Makefile.in: Ditto.
1875 * libc/stdio/Makefile.in: Ditto.
1876 * libc/stdio64/Makefile.in: Ditto.
1877 * libc/stdlib/Makefile.in: Ditto.
1878 * libc/string/Makefile.in: Ditto.
1879 * libc/syscalls/Makefile.in: Ditto.
1880 * libc/time/Makefile.in: Ditto.
1881 * libc/unix/Makefile.in: Ditto.
1882
1883 2007-01-30 Ben Elliston <bje@au.ibm.com>
1884
1885 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
1886 fmt member.
1887 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
1888 (printf): Pass fmt to va_start to suppress a warning.
1889
1890 * libc/search/hash.c (init_hash): Make `info' parameter const.
1891
1892 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
1893
1894 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
1895 * libc/machine/spu/vec_literal.h: Ditto.
1896 * libc/machine/spu/strncmp.c: Ditto.
1897
1898 2007-01-15 Joseph Myers <joseph@codesourcery.com>
1899 Kazu Hirata <kazu@codesourcery.com>
1900
1901 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
1902 for E500V1 and E500V2.
1903
1904 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
1905
1906 * libm/configure.in: Always configure machine directory.
1907 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
1908 unconditionally.
1909 * libm/configure: Regenerated.
1910 * libm/Makefile.in: Ditto.
1911 * libm/*/Makefile.in: Ditto.
1912
1913 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
1914
1915 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
1916
1917 2007-01-02 Ben Elliston <bje@au.ibm.com>
1918
1919 * doc/makedoc.c: Include <stdlib.h>.
1920 (malloc, realloc): Remove extern declarations.
1921
1922 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1923
1924 * NEWS: Update with 1.15.0 info.
1925 * README: Ditto.
1926 * acinclude.m4: Change version number to 1.15.0.
1927 * aclocal.m4: Regenerated.
1928 * configure: Ditto.
1929 * doc/aclocal.m4: Ditto.
1930 * doc/configure: Ditto.
1931 * libc/*/aclocal.m4: Ditto.
1932 * libc/*/configure: Ditto.
1933 * libc/libc.texinfo: Ditto.
1934 * libm/*/aclocal.m4: Ditto.
1935 * libm/*/configure: Ditto.
1936 * libm/libm.texinfo: Ditto.
1937 * libc/sys/linux/shared.ld: Add VERS_1.15.
1938
1939 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
1940
1941 Merge from newlib-csl-20060320-branch:
1942 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
1943 Kazu Hirata <kazu@codesourcery.com>
1944
1945 * configure.host: Recognize fido.
1946
1947 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
1948
1949 * libc/machine/spu/c99ppe.h: New file
1950 * libc/machine/spu/perror.c: New file to override libc/stdio version.
1951 * libc/machine/spu/printf.c: New file
1952 * libc/machine/spu/putchar.c: New file
1953 * libc/machine/spu/puts.c: New file
1954 * libc/machine/spu/vprintf.c: New file
1955 * libc/machine/spu/vsnprintf.c: New file
1956 * libc/machine/spu/vsprintf.c: New file
1957 * libc/machine/spu/Makefile.am: Add new targets.
1958 * libc/machine/spu/Makefile.in: Regenerated.
1959
1960 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1961
1962 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
1963 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
1964
1965 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1966
1967 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
1968 2.6.5 version of Doug Lea's malloc which is the basis of
1969 this code.
1970
1971 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
1972
1973 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
1974
1975 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
1976 Eric Blake <ebb9@byu.net>
1977
1978 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
1979 read but unused data.
1980 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
1981 even read streams may have side effects that must happen.
1982
1983 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1984
1985 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
1986 correctly.
1987
1988 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1989
1990 * libc/include/alloca.h: Add undef alloca to work with xlc.
1991
1992 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
1993
1994 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
1995 cell spu.
1996
1997 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1998
1999 * libc/machine/spu/strncpy.c: Add padding.
2000
2001 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2002
2003 * testsuite/newlib.string/tstring.c:
2004
2005 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
2006
2007 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
2008 * libc/machine/spu/strrchr.c: Ditto.
2009
2010 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
2011
2012 * libc/include/math.h: Allow C99 functions/macros to be
2013 defined for C++ even when __STRICT_ANSI__.
2014
2015 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
2016
2017 * libc/stdio/makebuf.c (__smakebuf): If dealing with
2018 an asprintf-family buffer, make the default initial size 64.
2019
2020 2006-11-29 Eric Blake <ebb9@byu.net>
2021
2022 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
2023 asprintf, as well as quadratic realloc behavior.
2024
2025 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
2026
2027 * libc/machine/spu/memset.c: Fix type of explicit cast.
2028 * libc/machine/spu/strncmp.c: Add explicit cast.
2029 * libc/machine/spu/strrchr.c: Ditto.
2030 * libc/machine/spu/strspn.c: Ditto.
2031
2032 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
2033
2034 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
2035 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
2036 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
2037 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
2038 * libc/machine/spu/strncat.c: Explicit cast.
2039 * libc/machine/spu/strncmp.c: Use spu_splats.
2040 * libc/machine/spu/strncpy.c: Explicit cast.
2041 * libc/machine/spu/strrchr.c: Use spu_splats.
2042 * libc/machine/spu/strspn.c: Use spu_splats.
2043
2044 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
2045
2046 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
2047
2048 2006-11-14 Eric Blake <ebb9@byu.net>
2049
2050 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
2051 (chclass): ' is a flag. j, t, and z are modifiers.
2052
2053 2006-11-08 Jie Zhang <jie.zhang@analog.com>
2054
2055 * configure.host: Add support for bfin.
2056 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
2057 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
2058 * libc/machine/bfin/aclocal.m4: Generate.
2059 * libc/machine/bfin/configure.in: New.
2060 * libc/machine/bfin/configure: Generate.
2061 * libc/machine/bfin/Makefile.am: New.
2062 * libc/machine/bfin/Makefile.in: Generate.
2063 * libc/machine/bfin/setjmp.S: New.
2064 * libc/machine/bfin/longjmp.S: New.
2065 * libc/machine/configure.in: Add bfin support.
2066 * libc/machine/configure: Generate.
2067
2068 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
2069
2070 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2071 (_PC_FILESIZEBITS): Add definition.
2072 (_PC_2_SYMLINKS): Ditto.
2073 (_PC_SYMLINK_MAX): Ditto.
2074
2075 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2076
2077 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2078 version optimized for the cell spu.
2079 * libc/machine/spu/memmove.c: Ditto.
2080 * libc/machine/spu/memset.c: Ditto.
2081 * libc/machine/spu/strcat.c: Ditto.
2082 * libc/machine/spu/strchr.c: Ditto.
2083 * libc/machine/spu/strcmp.c: Ditto.
2084 * libc/machine/spu/strcpy.c: Ditto.
2085 * libc/machine/spu/strcspn.c: Ditto.
2086 * libc/machine/spu/strlen.c: Ditto.
2087 * libc/machine/spu/strncat.c: Ditto.
2088 * libc/machine/spu/strncmp.c: Ditto.
2089 * libc/machine/spu/strncpy.c: Ditto.
2090 * libc/machine/spu/strpbrk.c: Ditto.
2091 * libc/machine/spu/strrchr.c: Ditto.
2092 * libc/machine/spu/strspn.c: Ditto.
2093 * libc/machine/spu/strxfrm.c: Ditto.
2094 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
2095 removing altivec style initializers.
2096 * libc/machine/spu/Makefile.am: Add new files to list so they build
2097 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2098
2099 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2100
2101 * README: Add a brief section on how to regenerate
2102 configuration files in newlib.
2103
2104 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2105
2106 * libc/include/math.h: (exception): Add a comment
2107 telling fixincludes that we handle C vs. C++ issue.
2108
2109 2006-10-11 Yang Tse <yangsita@gmail.com>
2110
2111 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2112 braced-groups.
2113
2114 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
2115
2116 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2117
2118 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2119
2120 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2121 for clearerr, feof, or fileno.
2122 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2123 the dummy std stream scheme to use pointers to const external
2124 fake files, one for each standard stream.
2125 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2126 argument. For _REENT_SMALL, reset the file pointer if it
2127 matches one of the fake std stream pointers.
2128 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2129 argument.
2130 * libc/stdio/fclose.c: Ditto.
2131 * libc/stdio/feof.c: Ditto.
2132 * libc/stdio/ferror.c: Ditto.
2133 * libc/stdio/fflush.c: Ditto.
2134 * libc/stdio/fgetc.c: Ditto.
2135 * libc/stdio/fgets.c: Ditto.
2136 * libc/stdio/fileno.c: Ditto.
2137 * libc/stdio/findfp.c: Ditto.
2138 * libc/stdio/fputc.c: Ditto.
2139 * libc/stdio/fputs.c: Ditto.
2140 * libc/stdio/fread.c: Ditto.
2141 * libc/stdio/freopen.c: Ditto.
2142 * libc/stdio/fseek.c: Ditto.
2143 * libc/stdio/ftell.c: Ditto.
2144 * libc/stdio/fwrite.c: Ditto.
2145 * libc/stdio/getc.c: Ditto.
2146 * libc/stdio/getdelim.c: Ditto.
2147 * libc/stdio/putc.c: Ditto.
2148 * libc/stdio/refill.c: Ditto.
2149 * libc/stdio/setvbuf.c: Ditto.
2150 * libc/stdio/ungetc.c: Ditto.
2151 * libc/stdio/vfprintf.c: Ditto.
2152 * libc/stdio/vfscanf.c: Ditto.
2153 * libc/stdio/wbuf.c: Ditto.: Ditto.
2154 * libc/stdio/wsetup.c: Ditto.
2155 * libc/stdio64/freopen64.c: Ditto.
2156 * libc/stdio64/fseeko64.c: Ditto.
2157 * libc/stdio64/ftello64.c: Ditto.
2158 * libc/machine/powerpc/vfprintf.c: Ditto.
2159 * libc/machine/powerpc/vfscanf.c: Ditto.
2160
2161 2006-09-22 Paul Brook <paul@codesourcery.com>
2162
2163 * libc/include/sys/reent.h: Define and use __reent_assert.
2164
2165 2006-09-13 Joel Sherrill <joel@oarcorp.com>
2166
2167 * libc/include/pthread.h: Add pthread barriers,
2168 rwlocks, and spinlocks. Change const to
2169 _CONST and prefix parameter names with
2170 an underscore.
2171 * libc/include/sys/types.h: Add id and attribute
2172 types for barriers, wrlocks, and spinlocks.
2173 * libc/include/sys/features.h: Enable barriers,
2174 wrlocks, and spinlocks for RTEMS.
2175
2176 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
2177
2178 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
2179 supposed to be writable.
2180 * libm/common/s_lib_ver.c: Ditto.
2181
2182 2006-09-12 Paul Brook <paul@codesourcery.com>
2183
2184 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2185
2186 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
2187
2188
2189 * libc/machine/xstormy16/Makefile.am:
2190 Add $(lpfx) prefix to LIBADD objects.
2191 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
2192 * libc/machine/xstormy16/Makefile.in: Regenerated.
2193
2194 2006-09-06 Eric Blake <ebb9@byu.net>
2195
2196 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
2197 't', and 'z' modifiers.
2198
2199 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
2200
2201 Merge from newlib-csl-20060320-branch:
2202 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
2203
2204 * configure.host: Tell it we have _rename and _system when
2205 building m68k-unknown-elf.
2206
2207 2006-08-29 Paul Brook <paul@codesourcery.com>
2208
2209 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2210
2211 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
2212
2213 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
2214 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
2215 This is needed to build all AVR and H8300 RTEMS multilib variants.
2216
2217 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
2218
2219 * libc/machine/configure.in: Add configuration for SPU.
2220 * libc/machine/configure: Regenerated.
2221 * libc/machine/spu/memcpy.c: Include string.h.
2222
2223 2006-08-22 Eric Blake <ebb9@byu.net>
2224
2225 * libc/posix/popen.c (popen): Don't close output end of pipe in
2226 child if stdout was closed on entry.
2227 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2228
2229 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
2230
2231 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
2232 line.
2233
2234 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
2235
2236 * libc/time/gmtime.c: Correct man page; clock is not a
2237 local time and no conversion occurs.
2238
2239 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2240
2241 * configure.host (newlib_cflags) [spu]: Add special compiler
2242 options to reduce size.
2243
2244 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2245
2246 * configure.host: Add spu support.
2247 * libc/include/stdint.h: Ditto.
2248 * libc/include/machine/ieeefp.h: Ditto.
2249 * libc/include/machine/setjmp.h: Ditto.
2250 * libc/include/sys/config.h: Ditto.
2251 * libc/include/sys/types.h: Ditto.
2252 * libc/machine/spu/Makefile.am: New file.
2253 * libc/machine/spu/Makefile.in: Ditto.
2254 * libc/machine/spu/aclocal.m4: Ditto.
2255 * libc/machine/spu/configure: Ditto.
2256 * libc/machine/spu/configure.in: Ditto.
2257 * libc/machine/spu/memcpy.c: Ditto.
2258 * libc/machine/spu/setjmp.S: Ditto.
2259
2260 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
2261
2262 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
2263 properly.
2264
2265 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
2266
2267 * libc/Makefile.am: Add libc_TEXINFOS dependency on
2268 generated .texi files.
2269 * libm/Makefile.am: Add libm_TEXINFOS dependency on
2270 generated .texi files.
2271 * libc/Makefile.in: Regenerated.
2272 * libm/Makefile.in: Ditto.
2273
2274 2006-08-01 Thiemo Seufer <ths@mips.com>
2275 Nigel Stephens <nigel@mips.com>
2276
2277 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
2278 define this to force _impure_ptr to live in the .sdata section.
2279
2280 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2281
2282 * acinclude.m4: Check for readelf tool.
2283 * configure.in: Use ${READELF} instead of hard-coding.
2284 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2285
2286 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2287
2288 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
2289 to avoid conflict with newer glibc's revision of mremap.
2290
2291 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
2292
2293 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
2294 floating-point format support. Also redefine
2295 dword0 and dword1 macros.
2296 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2297 to prevent setting dword1 which is an rvalue only.
2298
2299 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
2300
2301 * libc/stdlib/Makefile.am: Add new gdtoa routines.
2302 * libc/stdlib/Makefile.in: Regenerated.
2303 * libc/stdlib/gd_qnan.h: New file.
2304 * libc/stdlib/gdtoa-gethex.c: Ditto.
2305 * libc/stdlib/gdtoa-hexnan.c: Ditto.
2306 * libc/stdlib/gdtoa.h: Ditto.
2307 * libc/stdlib/mprec.c: Add new helper routines needed by
2308 the new gdtoa code.
2309 * libc/stdlib/mprec.h: Integrate some defines and prototypes
2310 used by gdtoa routines here.
2311 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
2312 which adds C99 support such as nan, inf, and hexadecimal input
2313 format.
2314
2315 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
2316
2317 * libc/include/stdio.h (__sgetc_r): Fix typo.
2318 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
2319 * libc/stdio/rget.c (__srbuf): Reinstantiate.
2320 * libc/stdio/wbuf.c (__swbuf): Ditto.
2321
2322 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
2323
2324 * libc/include/stdio.h: Add new reentrant I/O prototypes for
2325 read/write functions. Change getc/putc macros to have reentrant underlying
2326 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
2327 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
2328 new reentrant I/O functions/macros for reading/writing.
2329 * libc/stdio/fgets.c: Ditto.
2330 * libc/stdio/fputc.c: Ditto.
2331 * libc/stdio/fputs.c: Ditto.
2332 * libc/stdio/fread.c: Ditto.
2333 * libc/stdio/fseek.c: Ditto.
2334 * libc/stdio64/fseeko64.c: Ditto.
2335 * libc/stdio/fwrite.c: Ditto.
2336 * libc/stdio/getc.c: Ditto.
2337 * libc/stdio/getc_u.c: Ditto.
2338 * libc/stdio/getchar.c: Ditto.
2339 * libc/stdio/getchar_u.c: Ditto.
2340 * libc/stdio/putc.c: Ditto.
2341 * libc/stdio/putc_u.c: Ditto.
2342 * libc/stdio/putchar.c: Ditto.
2343 * libc/stdio/puts.c: Ditto.
2344 * libc/stdio/vfprintf.c: Ditto.
2345 * libc/stdio/vfscanf.c: Ditto.
2346 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
2347 Change all previous callers of __sfvwrite. Set errno to EBADF and
2348 set error flag on if attempt is made to write to file that does not
2349 allow writing.
2350 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
2351 * libc/stdio/local.h: Ditto.
2352 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
2353 Set errno to EBADF and the error flag on if attempt is made to
2354 read unreadable file. Change all previous callers of __srefill.
2355 * libc/stdio/rget.c
2356 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
2357 all previous callers of __swbuf.
2358 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
2359 huge value macros are already defined correctly for i386 by <math.h>.
2360
2361 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
2362
2363 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
2364 Make them do something useful in the ARM_RDI_MONITOR case.
2365
2366 2006-06-07 Fred Fish <fnf@specifix.com>
2367
2368 * libc/search/hash_bigkey.c (MIN,MAX): Remove
2369 defines that are already supplied by <sys/param.h>.
2370
2371 2006-06-07 Fred Fish <fnf@specifix.com>
2372
2373 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
2374
2375 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2376
2377 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
2378 usleep.c.
2379 * libc/posix/Makefile.in: Regenerate.
2380 * libc/posix/sleep.c: New file.
2381 * libc/posix/usleep.c: Ditto.
2382
2383 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2384
2385 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
2386 -DABORT_PROVIDED flag.
2387 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
2388 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
2389
2390 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
2391
2392 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
2393 * Makefile.in: Regenerated.
2394 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
2395 extraneous CFLAGS reference now that CCASFLAGS are being extended
2396 properly via multilib.
2397 * libc/machine/sh/Makefile.in: Regenerated.
2398
2399 2006-06-02 Shaun Jackman <sjackman@gmail.com>
2400
2401 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
2402 sigismember.
2403
2404 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2405
2406 * libc/misc/dprintf.c: Removed.
2407 * libc/misc/__dprintf.c: Renamed from dprintf.c.
2408 * libc/misc/Makefile.am: Changed appropriately for rename.
2409 * libc/misc/Makefile.in: Regenerated.
2410
2411 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2412
2413 * libc/include/stdio.h: Protect dprintf prototype
2414 with #ifndef dprintf so as to not interfere with
2415 historical code defining their own dprintf macro.
2416
2417 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
2418
2419 * libc/include/stdio.h: Add prototypes for fiscanf,
2420 iscanf, and siscanf.
2421
2422 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
2423
2424 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
2425 (DEF_NEWLIB_VERSION).
2426 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
2427 * configure: Regenerate.
2428
2429 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
2430
2431 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
2432 lib_a_SOURCES.
2433 * libc/ctype/Makefile.in: Regenerated.
2434
2435 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
2436
2437 * libc/machine/arm/Makefile.am: Fix a typo.
2438 * libc/machine/arm/Makefile.in: Regenerated.
2439
2440 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
2441
2442 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2443 * libc/machine/sh/Makefile.in: Regenerate.
2444
2445 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
2446
2447 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2448 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2449
2450 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2451
2452 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2453 .s.
2454 * libc/sys/sysnec810/Makefile.in: Regenerated.
2455 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2456 * libc/sys/sysnec810/io.S: Ditto.
2457 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2458 * libc/sys/sysnec810/io.s: Ditto.
2459
2460 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2461
2462 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2463 be specified instead of object, do so.
2464 * libc/ctype/Makefile.am: Ditto.
2465 * libc/iconv/ccs/Makefile.am: Ditto.
2466 * libc/iconv/ces/Makefile.am: Ditto.
2467 * libc/iconv/lib/Makefile.am: Ditto.
2468 * libc/locale/Makefile.am: Ditto.
2469 * libc/posix/Makefile.am: Ditto.
2470 * libc/reent/Makefile.am: Ditto.
2471 * libc/search/Makefile.am: Ditto.
2472 * libc/stdio/Makefile.am: Ditto.
2473 * libc/stdio64/Makefile.am: Ditto.
2474 * libc/stdlib/Makefile.am: Ditto.
2475 * libc/string/Makefile.am: Ditto.
2476 * libc/syscalls/Makefile.am: Ditto.
2477 * libc/unix/Makefile.am: Ditto.
2478 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2479 prefix added automatically. Any specified rules must use $(lpfx) for
2480 object file names.
2481 * libc/machine/arm/Makefile.am: Ditto.
2482 * libc/machine/cris/Makefile.am: Ditto.
2483 * libc/machine/crx/Makefile.am: Ditto.
2484 * libc/machine/d10v/Makefile.am: Ditto.
2485 * libc/machine/d30v/Makefile.am: Ditto.
2486 * libc/machine/fr30/Makefile.am: Ditto.
2487 * libc/machine/frv/Makefile.am: Ditto.
2488 * libc/machine/h8300/Makefile.am: Ditto.
2489 * libc/machine/h8500/Makefile.am: Ditto.
2490 * libc/machine/hppa/Makefile.am: Ditto.
2491 * libc/machine/i386/Makefile.am: Ditto.
2492 * libc/machine/i960/Makefile.am: Ditto.
2493 * libc/machine/iq2000/Makefile.am: Ditto.
2494 * libc/machine/m32c/Makefile.am: Ditto.
2495 * libc/machine/m32r/Makefile.am: Ditto.
2496 * libc/machine/m68hc11/Makefile.am: Ditto.
2497 * libc/machine/m68k/Makefile.am: Ditto.
2498 * libc/machine/m88k/Makefile.am: Ditto.
2499 * libc/machine/mips/Makefile.am: Ditto.
2500 * libc/machine/mn10200/Makefile.am: Ditto.
2501 * libc/machine/mn10300/Makefile.am: Ditto.
2502 * libc/machine/mt/Makefile.am: Ditto.
2503 * libc/machine/necv70/Makefile.am: Ditto.
2504 * libc/machine/powerpc/Makefile.am: Ditto.
2505 * libc/machine/sh/Makefile.am: Ditto.
2506 * libc/machine/sh/Makefile.in: Ditto.
2507 * libc/machine/sparc/Makefile.am: Ditto.
2508 * libc/machine/tic4x/Makefile.am: Ditto.
2509 * libc/machine/tic80/Makefile.am: Ditto.
2510 * libc/machine/v850/Makefile.am: Ditto.
2511 * libc/machine/w65/Makefile.am: Ditto.
2512 * libc/machine/xscale/Makefile.am: Ditto.
2513 * libc/machine/xstormy16/Makefile.am: Ditto.
2514 * libc/machine/z8k/Makefile.am: Ditto.
2515 * libc/sys/a29khif/Makefile.am: Ditto.
2516 * libc/sys/arm/Makefile.am: Ditto.
2517 * libc/sys/d10v/Makefile.am: Ditto.
2518 * libc/sys/h8300hms/Makefile.am: Ditto.
2519 * libc/sys/h8500hms/Makefile.am: Ditto.
2520 * libc/sys/linux/Makefile.am: Ditto.
2521 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2522 * libc/sys/linux/net/Makefile.am: Ditto.
2523 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2524 * libc/sys/m88kbug/Makefile.am: Ditto.
2525 * libc/sys/mmixware/Makefile.am: Ditto.
2526 * libc/sys/rdos/Makefile.am: Ditto.
2527 * libc/sys/rtems/Makefile.am: Ditto.
2528 * libc/sys/sh/Makefile.am: Ditto.
2529 * libc/sys/sun4/Makefile.am: Ditto.
2530 * libc/sys/sysmec/Makefile.am: Ditto.
2531 * libc/sys/sysnec810/Makefile.am: Ditto.
2532 * libc/sys/sysnecv850/Makefile.am: Ditto.
2533 * libc/sys/sysvi386/Makefile.am: Ditto.
2534 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2535 * libc/sys/tic80/Makefile.am: Ditto.
2536 * libc/sys/w65/Makefile.am: Ditto.
2537 * libc/sys/z8ksim/Makefile.am: Ditto.
2538 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2539 * libc/machine/necv70/setjmp.S: Ditto.
2540 * libc/machine/necv70/fastmath.s: Removed.
2541 * libc/machine/necv70/setjmp.s: Ditto.
2542 * libc/machine/w65/*.S: New files renamed from .s files.
2543 * libc/machine/w65/*.s: Renamed and removed.
2544 * libc/sys/a29khif/*.S: New files renamed from .s files.
2545 * libc/sys/a29khif/*.s: Renamed and removed.
2546 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2547 * libc/sys/sysvi386/*.s: Renamed and removed.
2548 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2549 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2550 * libc/*Makefile.in: Regenerated as appropriate.
2551
2552 2006-04-24 DJ Delorie <dj@redhat.com>
2553
2554 * libc/machine/sh/configure.in: Avoid link tests.
2555 * libc/machine/sh/configure: Regenerate.
2556
2557 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2558
2559 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2560 (sigaddset, sigemptyset): Add return code.
2561
2562 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2563
2564 * acinclude.m4: New _NEWLIB_VERSION.
2565 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2566 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2567 Use new form of AC_INIT_AUTOMAKE.
2568 * configure.in: AC_PREREQ(2.59).
2569 Use autoconf-2.5.x version of AC_INIT.
2570 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2571 autoconf-2.13's AC_OUTPUT.
2572 * libm/configure.in: Ditto.
2573 * libm/machine/configure.in: Ditto.
2574 * libm/machine/i386/configure.in: Ditto.
2575 * libc/configure.in: Ditto.
2576 * libc/machine/a29k/configure.in: Ditto.
2577 * libc/machine/arm/configure.in: Ditto.
2578 * libc/machine/configure.in: Ditto.
2579 * libc/machine/mn10300/configure.in: Ditto.
2580 * libc/machine/powerpc/configure.in: Ditto.
2581 * libc/machine/z8k/configure.in: Ditto.
2582 * libc/machine/h8300/configure.in: Ditto.
2583 * libc/machine/mips/configure.in: Ditto.
2584 * libc/machine/crx/configure.in: Ditto.
2585 * libc/machine/m68hc11/configure.in: Ditto.
2586 * libc/machine/h8500/configure.in: Ditto.
2587 * libc/machine/xscale/configure.in: Ditto.
2588 * libc/machine/d10v/configure.in: Ditto.
2589 * libc/machine/fr30/configure.in: Ditto.
2590 * libc/machine/sh/configure.in: Ditto.
2591 * libc/machine/tic80/configure.in: Ditto.
2592 * libc/machine/m32r/configure.in: Ditto.
2593 * libc/machine/xstormy16/configure.in: Ditto.
2594 * libc/machine/i386/configure.in: Ditto.
2595 * libc/machine/d30v/configure.in: Ditto.
2596 * libc/machine/mn10200/configure.in: Ditto.
2597 * libc/machine/frv/configure.in: Ditto.
2598 * libc/machine/mt/configure.in: Ditto.
2599 * libc/machine/i960/configure.in: Ditto.
2600 * libc/machine/v850/configure.in: Ditto.
2601 * libc/machine/necv70/configure.in: Ditto.
2602 * libc/machine/tic4x/configure.in: Ditto.
2603 * libc/machine/cris/configure.in: Ditto.
2604 * libc/machine/m68k/configure.in: Ditto.
2605 * libc/machine/m32c/configure.in: Ditto.
2606 * libc/machine/hppa/configure.in: Ditto.
2607 * libc/machine/w65/configure.in: Ditto.
2608 * libc/machine/iq2000/configure.in: Ditto.
2609 * libc/machine/sparc/configure.in: Ditto.
2610 * libc/machine/m88k/configure.in: Ditto.
2611 * libc/sys/linux/configure.in: Ditto.
2612 * libc/sys/linux/machine/configure.in: Ditto.
2613 * libc/sys/linux/machine/i386/configure.in: Ditto.
2614 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2615 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2616 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2617 * libc/sys/arm/configure.in: Ditto.
2618 * libc/sys/configure.in: Ditto.
2619 * libc/sys/decstation/configure.in: Ditto.
2620 * libc/sys/a29khif/configure.in: Ditto.
2621 * libc/sys/sysnecv850/configure.in: Ditto.
2622 * libc/sys/d10v/configure.in: Ditto.
2623 * libc/sys/netware/configure.in: Ditto.
2624 * libc/sys/mmixware/configure.in: Ditto.
2625 * libc/sys/h8500hms/configure.in: Ditto.
2626 * libc/sys/sh/configure.in: Ditto.
2627 * libc/sys/tic80/configure.in: Ditto.
2628 * libc/sys/rdos/configure.in: Ditto.
2629 * libc/sys/sysmec/configure.in: Ditto.
2630 * libc/sys/sysvi386/configure.in: Ditto.
2631 * libc/sys/h8300hms/configure.in: Ditto.
2632 * libc/sys/sparc64/configure.in: Ditto.
2633 * libc/sys/arc/configure.in: Ditto.
2634 * libc/sys/sysnec810/configure.in: Ditto.
2635 * libc/sys/m88kbug/configure.in: Ditto.
2636 * libc/sys/sysvnecv70/configure.in: Ditto.
2637 * libc/sys/z8ksim/configure.in: Ditto.
2638 * libc/sys/rtems/configure.in: Ditto.
2639 * libc/sys/w65/configure.in: Ditto.
2640 * libc/sys/sun4/configure.in: Ditto.
2641 * doc/configure.in: Ditto.
2642 * iconvdata/configure.in: Ditto.
2643 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2644
2645 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2646
2647 * acinclude.m4: Properly add square brackets for
2648 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2649 macros no longer available. Add LIB_AM_PROG_AS to
2650 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2651 macro. Substitute lpfx (library object prefix).
2652 * configure.host: Set lpfx depending on whether
2653 libtool is used or not.
2654 * configure.in: Individually specify libc and libm
2655 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2656 necessary.
2657 * Makefile.am: Use $(lpfx) to get object names for
2658 math-library functions that should also be in libc.
2659 * libc/machine/configure.in: Use case statement to determine
2660 AC_CONFIG_SUBDIRS statement.
2661 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2662 * libc/sys/linux/machine/configure.in: Ditto.
2663 * libc/sys/configure.in: Ditto.
2664 * libm/machine/configure.in: Ditto.
2665 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2666 * libm/configure.in: Add AM_CONDITIONAL statement
2667 for HAVE_LIBM_MACHINE_DIR.
2668 * libc/machine/a29k/Makefile.am: Modified to work with
2669 latest automake. Change includes setting AM_CCASFLAGS
2670 so building .S files will properly pick up flags used
2671 to build C files.
2672 * libc/machine/arm/Makefile.am: Ditto.
2673 * libc/machine/crx/Makefile.am: Ditto.
2674 * libc/machine/d10v/Makefile.am: Ditto.
2675 * libc/machine/d30v/Makefile.am: Ditto.
2676 * libc/machine/fr30/Makefile.am: Ditto.
2677 * libc/machine/frv/Makefile.am: Ditto.
2678 * libc/machine/h8300/Makefile.am: Ditto.
2679 * libc/machine/h8500/Makefile.am: Ditto.
2680 * libc/machine/hppa/Makefile.am: Ditto.
2681 * libc/machine/i386/Makefile.am: Ditto.
2682 * libc/machine/iq2000/Makefile.am: Ditto.
2683 * libc/machine/m32c/Makefile.am: Ditto.
2684 * libc/machine/m32r/Makefile.am: Ditto.
2685 * libc/machine/m68hc11/Makefile.am: Ditto.
2686 * libc/machine/m68k/Makefile.am: Ditto.
2687 * libc/machine/m88k/Makefile.am: Ditto.
2688 * libc/machine/mips/Makefile.am: Ditto.
2689 * libc/machine/mn10200/Makefile.am: Ditto.
2690 * libc/machine/mn10300/Makefile.am: Ditto.
2691 * libc/machine/mt/Makefile.am: Ditto.
2692 * libc/machine/necv70/Makefile.am: Ditto.
2693 * libc/machine/powerpc/Makefile.am: Ditto.
2694 * libc/machine/sh/Makefile.am: Ditto.
2695 * libc/machine/sparc/Makefile.am: Ditto.
2696 * libc/machine/tic4x/Makefile.am: Ditto.
2697 * libc/machine/tic80/Makefile.am: Ditto.
2698 * libc/machine/v850/Makefile.am: Ditto.
2699 * libc/machine/w65/Makefile.am: Ditto.
2700 * libc/machine/xscale/Makefile.am: Ditto.
2701 * libc/machine/xstormy16/Makefile.am: Ditto.
2702 * libc/machine/z8k/Makefile.am: Ditto.
2703 * libc/sys/a29khif/Makefile.am: Ditto.
2704 * libc/sys/arc/Makefile.am: Ditto.
2705 * libc/sys/arm/Makefile.am: Ditto.
2706 * libc/sys/d10v/Makefile.am: Ditto.
2707 * libc/sys/decstation/Makefile.am: Ditto.
2708 * libc/sys/h8300hms/Makefile.am: Ditto.
2709 * libc/sys/h8500hms/Makefile.am: Ditto.
2710 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2711 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2712 * libc/sys/m88kbug/Makefile.am: Ditto.
2713 * libc/sys/mmixware/Makefile.am: Ditto.
2714 * libc/sys/netware/Makefile.am: Ditto.
2715 * libc/sys/rdos/Makefile.am: Ditto.
2716 * libc/sys/rtems/Makefile.am: Ditto.
2717 * libc/sys/sh/Makefile.am: Ditto.
2718 * libc/sys/sparc64/Makefile.am: Ditto.
2719 * libc/sys/sysmec/Makefile.am: Ditto.
2720 * libc/sys/sysnec810/Makefile.am: Ditto.
2721 * libc/sys/sysnecv850/Makefile.am: Ditto.
2722 * libc/sys/sysvi386/Makefile.am: Ditto.
2723 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2724 * libc/sys/tic80/Makefile.am: Ditto.
2725 * libc/sys/w65/Makefile.am: Ditto.
2726 * libc/sys/z8ksim/Makefile.am: Ditto.
2727 * libm/machine/i386/Makefile.am: Ditto.
2728 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
2729 trap.S so that automake will generate a .S.o suffix rule.
2730 * libc/argz/Makefile.am: Modified to work with
2731 latest automake. Change includes adding lib_a_CFLAGS
2732 so automake doesn't complain about libtool and non-libtool
2733 libraries sharing objects.
2734 * libc/ctype/Makefile.am: Ditto.
2735 * libc/errno/Makefile.am: Ditto.
2736 * libc/iconv/ccs/Makefile.am: Ditto.
2737 * libc/iconv/ces/Makefile.am: Ditto.
2738 * libc/iconv/lib/Makefile.am: Ditto.
2739 * libc/locale/Makefile.am: Ditto.
2740 * libc/misc/Makefile.am: Ditto.
2741 * libc/posix/Makefile.am: Ditto.
2742 * libc/reent/Makefile.am: Ditto.
2743 * libc/search/Makefile.am: Ditto.
2744 * libc/signal/Makefile.am: Ditto.
2745 * libc/stdio/Makefile.am: Ditto.
2746 * libc/stdio64/Makefile.am: Ditto.
2747 * libc/stdlib/Makefile.am: Ditto.
2748 * libc/string/Makefile.am: Ditto.
2749 * libc/sys/linux/Makefile.am: Ditto.
2750 * libc/sys/linux/argp/Makefile.am: Ditto.
2751 * libc/sys/linux/cmath/Makefile.am: Ditto.
2752 * libc/sys/linux/dl/Makefile.am: Ditto.
2753 * libc/sys/linux/iconv/Makefile.am: Ditto.
2754 * libc/sys/linux/intl/Makefile.am: Ditto.
2755 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2756 * libc/sys/linux/net/Makefile.am: Ditto.
2757 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2758 * libc/syscalls/Makefile.am: Ditto.
2759 * libc/time/Makefile.am: Ditto.
2760 * libc/unix/Makefile.am: Ditto.
2761 * libm/Makefile.am: Ditto.
2762 * libm/common/Makefile.am: Ditto.
2763 * libm/math/Makefile.am: Ditto.
2764 * libm/mathfp/Makefile.am: Ditto.
2765 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2766
2767 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
2768
2769 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
2770 anymore. Assume there is a gettimeofday syscall.
2771
2772 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2773
2774 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
2775 for the declaration of n_long.
2776
2777 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2778
2779 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
2780 struct sockaddr.
2781 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
2782 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
2783 (IFF_NOTRAILERS): New define.
2784 (struct ifreq): Add ifru_netmask.
2785 (ifr_netmask): New define.
2786
2787 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2788
2789 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
2790 match sys/ioctl.h.
2791
2792 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2793
2794 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
2795 linux-newlib libc implementations.
2796
2797 2006-03-29 Eric Blake <ebb9@byu.net>
2798
2799 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
2800 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
2801
2802 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2803
2804 * libc/sys/linux/io.c (__mknod): Fix declaration of
2805 syscall to pass a dev_t as third argument rather than
2806 a pointer to dev_t.
2807
2808 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2809
2810 * libc/sys/linux/net/name6.c: Fix struct references.
2811
2812 2006-03-22 Mark Mitchell <mark@codesourcery.com>
2813
2814 * configure.host: Allow hosts to set the default
2815 newlib_atexit_dynamic_alloc value.
2816 * configure.in: Likewise.
2817 * configure: Regenerated.
2818
2819 2006-03-20 Mark Mitchell <mark@codesourcery.com>
2820
2821 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
2822 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
2823 option.
2824 * configure: Regenerated.
2825 * newlib.hin: Regenerated.
2826 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
2827 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2828 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
2829 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2830
2831 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
2832
2833 * libc/sys/linux/linuxthreads/config.h: Remove definition
2834 of UINT32_C.
2835
2836 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
2837
2838 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
2839 for a string I/O file that isn't using the asprintf family.
2840
2841 2006-03-07 Eric Blake <ebb9@byu.net>
2842
2843 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
2844 filename, allow read-only or write-only FILE atop O_RDWR file
2845 descriptor.
2846 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
2847
2848 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
2849
2850 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
2851 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
2852
2853 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
2854
2855 * libm/math/math.tex: Fix reference to sisnan.def which
2856 is now in common subdirectory.
2857 * libm/mathfp/mathfp.tex: Ditto.
2858
2859 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
2860
2861 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
2862 s_isnand, and sf_isnanf object files.
2863 * Makefile.in: Regenerated.
2864 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
2865 conflict if <math.h> has previously been included.
2866 * libc/include/math.h
2867 * libc/include/math.h: Make isnan and isinf macros to
2868 conform to C99.
2869 (__isinfd, __isinff, __isnand, __isnanf): New functions.
2870 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
2871 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
2872 sf_isinf files which have been moved from math/mathfp directories.
2873 * libm/common/Makefile.in: Regenerated.
2874 * libm/common/s_isinfd.c: New file.
2875 * libm/common/s_isnand.c: Ditto.
2876 * libm/common/sf_isinff.c: Ditto.
2877 * libm/common/sf_isnanf.c: Ditto.
2878 * libm/common/s_isinf.c: Moved from libm/math directory.
2879 * libm/common/s_isnan.c: Ditto.
2880 * libm/common/sf_isinf.c: Ditto.
2881 * libm/common/sf_isnan.c: Ditto.
2882 * libm/math/Makefile.am: Remove isinf and isnan family functions
2883 which have been moved into common directory.
2884 * libm/mathfp/Makefile.am: Ditto.
2885 * libm/math/Makefile.in: Regenerated.
2886 * libm/mathfp/Makefile.in: Ditto.
2887 * libm/math/s_isinf.c: Removed.
2888 * libm/math/s_isnan.c: Ditto.
2889 * libm/math/sf_isinf.c: Ditto.
2890 * libm/math/sf_isnan.c: Ditto.
2891 * libm/mathfp/s_isinf.c: Ditto.
2892 * libm/mathfp/s_isnan.c: Ditto.
2893 * libm/mathfp/sf_isinf.c: Ditto.
2894 * libm/mathfp/sf_isnan.c: Ditto.
2895
2896 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
2897
2898 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
2899 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
2900 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
2901 seek, turn off the __SNPT no-optimization flag.
2902
2903 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
2904
2905 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
2906 will be defined.
2907 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
2908 <features.h> to preset special flags.
2909
2910 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
2911
2912 * libc/include/sys/time.h (struct timeval): Change member types
2913 according to SUSv3.
2914 * libc/include/sys/types.h (useconds_t): Change to unsigned
2915 according to SUSv3.
2916 (suseconds_t): Define type.
2917
2918 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
2919 David Carne <davidcarne@gmail.com>
2920
2921 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
2922 instead of strlen to determine number of bytes to copy.
2923 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
2924 before looking at storage location.
2925
2926 2006-02-07 Paul Brook <paul@codesourcery.com>
2927
2928 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
2929 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
2930 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
2931 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
2932 * libc/sys/arm/trap.S: Disable for Thumb-2.
2933
2934 2006-01-31 Leif Ekblad <leif@rdos.net>
2935
2936 * configure.host: RDOS support added
2937 * libc/include/sys/config.h: Ditto.
2938 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
2939 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
2940 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
2941 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
2942 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
2943 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
2944 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
2945 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
2946 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
2947 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
2948 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
2949 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
2950 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
2951 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
2952 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
2953 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
2954 * libc/sys/rdos/write.c: Ditto.
2955
2956 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
2957
2958 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
2959 so as not to define PACKAGE and VERSION in newlib.h.
2960 * aclocal.m4: Regenerated.
2961 * configure: Ditto.
2962 * newlib.hin: Ditto.
2963
2964 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
2965
2966 * acconfig.h: New file to generate newlib.hin from.
2967 * newlib.hin: Regenerated.
2968 * stamp-h.in: Regenerated.
2969 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
2970 called automatically.
2971 * Makefile.in: Regenerated.
2972 * acinclude.m4: Add proper comment for hack in previous change.
2973 * aclocal.m4 */aclocal.m4: Regenerated.
2974 * configure */configure: Regenerated.
2975
2976 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
2977
2978 * acinclude.m4: Add hack to prevent INSTALL in subdirs
2979 from being set to "../".
2980 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
2981 * aclocal.m4: Regenerated.
2982 * configure: Ditto.
2983 * Makefile.in: Ditto.
2984 * doc/aclocal.m4: Ditto.
2985 * doc/configure: Ditto.
2986 * iconvdata/aclocal.m4: Ditto.
2987 * iconvdata/configure: Ditto.
2988 * libc/*/aclocal.m4: Ditto.
2989 * libc/*/configure: Ditto.
2990 * libc/libc.texinfo: Ditto.
2991 * libm/*/aclocal.m4: Ditto.
2992 * libm/*/configure: Ditto.
2993
2994 2006-01-10 Eric Blake <ebb9@byu.net>
2995
2996 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
2997 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2998
2999 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
3000
3001 * libm/mathfp/s_frexp.c: Check for special values on
3002 the original input, not the manipulated output value.
3003 * libm/mathfp/sf_frexp.c: Ditto.
3004 * libm/mathfp/s_atangent.c: Don't use local value branch
3005 when checking for quadrant.
3006 * libm/mathfp/sf_atangent.c: Ditto.
3007
3008 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
3009
3010 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
3011 * libc/stdio64/freopen64.c: Ditto.
3012
3013 2006-01-09 Eric Blake <ebb9@byu.net>
3014
3015 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
3016 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3017
3018 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
3019
3020 * libc/sys/linux/include/getopt.h: Add macros needed by
3021 new version of getopt.c in libc/stdlib.
3022
3023 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
3024
3025 * libc/stdlib/getopt.c: Replaced with version
3026 that adds getopt_long and getopt_long_only support.
3027 * libc/include/getopt.h: New file.
3028
3029 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3030
3031 * NEWS: Update with 1.14.0 info.
3032 * README: Ditto.
3033 * acinclude.m4: Change version number to 1.14.0.
3034 * aclocal.m4: Regenerated.
3035 * configure: Ditto.
3036 * doc/aclocal.m4: Ditto.
3037 * doc/configure: Ditto.
3038 * libc/*/aclocal.m4: Ditto.
3039 * libc/*/configure: Ditto.
3040 * libc/libc.texinfo: Ditto.
3041 * libm/*/aclocal.m4: Ditto.
3042 * libm/*/configure: Ditto.
3043 * libm/libm.texinfo: Ditto.
3044 * libc/sys/linux/shared.ld: Add VERS_1.14.
3045
3046 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3047
3048 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
3049 take a pointer to struct stat64 rather than struct stat.
3050
3051 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
3052
3053 * libc/include/stdint.h: Prefer long over int for int32_t.
3054 Use __have_long32 to set up int32_t.
3055 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
3056 (Sync with stdint.h).
3057
3058 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
3059
3060 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
3061 typo in O_NDELAY comment.
3062
3063 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3064
3065 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3066 * libc/include/machine/setjmp.h (__mt__): Likewise.
3067 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3068 * libc/machine/configure.in: Ditto.
3069
3070 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3071
3072 * configure.host: Replace ms1 arch with mt arch.
3073 * libc/machine/mt: Renamed from ms1 dir.
3074
3075 2005-12-08 Shaun Jackman <sjackman@gmail.com>
3076
3077 * libc/include/sys/types.h: Remove the ifdef armour around
3078 standard POSIX types.
3079
3080 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3081
3082 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3083 rtems_gxx_key_delete, rtems_gxx_getspecific,
3084 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3085 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
3086 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3087
3088 2005-12-05 Christopher Faylor <cgf@timesys.com>
3089
3090 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3091 file. Declare unsetenv and _unsetenv_r when not cygwin.
3092
3093 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3094
3095 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3096 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3097
3098 2005-11-18 Christopher Faylor <cgf@timesys.com>
3099
3100 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3101
3102 2005-11-18 Christopher Faylor <cgf@timesys.com>
3103
3104 * include/time.h: Remove more cygwin-specific stuff.
3105
3106 2005-11-18 Christopher Faylor <cgf@timesys.com>
3107
3108 * include/time.h: Move cygwin declarations to cygwin-specific header.
3109 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3110
3111 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3112
3113 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3114 in libc/sys/linux/include.
3115 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3116 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3117 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3118 in libc/sys/linux/dl.
3119
3120 2005-11-11 Christopher Faylor <cgf@timesys.com>
3121
3122 * libc/include/sys/time.h: For cygwin, use general header rather than
3123 specific "sys/select.h".
3124
3125 2005-11-08 Tom Walsh <tom@openhardware.net>
3126
3127 * libc/time/tzvars.c: New file.
3128 * libc/time/tzset_r.c: Moved globals into tzvars.c
3129 so other time functions needn't link in __tzset_r and its
3130 dependencies.
3131 * libc/time/Makefile.am: Add the new file.
3132 * libc/time/Makefile.in: Regenerated.
3133
3134 2005-11-08 Christopher Faylor <cgf@timesys.com>
3135
3136 * libc/include/string.h: Add cygwin-specific function declaration.
3137
3138 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
3139
3140 * libc/include/ieeefp.h: Add C++ guards.
3141
3142 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3143
3144 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
3145 * libc/unix/getlogin.c: Ditto.
3146 * libc/unix/getpass.c: Ditto.
3147 * libc/unix/getut.c: Ditto.
3148 * libc/unix/ttyname.c: Ditto.
3149
3150 2005-11-03 Shaun Jackman <sjackman@gmail.com>
3151
3152 * libc/include/sys/unistd.h (readlink, symlink): Provide these
3153 prototypes by default.
3154 * libc/sys/linux/include/unistd.h (readlink): Remove this
3155 prototype.
3156 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
3157 prototypes.
3158
3159 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
3160
3161 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
3162
3163 2005-10-31 Darin Johnson <darin@usa.net>
3164
3165 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
3166 correct for constants.
3167
3168 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3169
3170 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
3171 * libc/stdio/siscanf.c: Likewise.
3172 * libc/stdio/sprintf.c: Likewise.
3173 * libc/stdio/sscanf.c: Likewise.
3174 * libc/stdio/vfprintf.c: Likewise.
3175 * libc/stdio/vfscanf.c: Likewise.
3176 * libc/stdio/viprintf.c: Likewise.
3177 * libc/stdio/viscanf.c: Likewise.
3178
3179 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3180
3181 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
3182 example to use "_end" symbol instead of "end". Change write example
3183 to use "outbyte" instead of "writechar".
3184
3185 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3186
3187 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
3188 * libc/ctype/islower.c: Likewise.
3189 * libc/ctype/isupper.c: Likewise.
3190 * libc/ctype/iswalnum.c: Likewise.
3191 * libc/ctype/iswalpha.c: Likewise.
3192 * libc/ctype/iswblank.c: Likewise.
3193 * libc/ctype/iswcntrl.c: Likewise.
3194 * libc/ctype/iswdigit.c: Likewise.
3195 * libc/ctype/iswgraph.c: Likewise.
3196 * libc/ctype/iswlower.c: Likewise.
3197 * libc/ctype/iswprint.c: Likewise.
3198 * libc/ctype/iswpunct.c: Likewise.
3199 * libc/ctype/iswspace.c: Likewise.
3200 * libc/ctype/iswupper.c: Likewise.
3201 * libc/ctype/iswxdigit.c: Likewise.
3202 * libc/ctype/tolower.c: Likewise.
3203 * libc/ctype/toupper.c: Likewise.
3204 * libc/ctype/towctrans.c: Likewise.
3205 * libc/ctype/towlower.c: Likewise.
3206 * libc/ctype/towupper.c: Likewise.
3207 * libc/string/strcasecmp.c: Likewise.
3208 * libc/string/strcoll.c: Likewise.
3209 * libc/string/strings.tex: Likewise.
3210 * libc/string/strlwr.c: Likewise.
3211 * libc/string/strncasecmp.c: Likewise.
3212 * libc/string/strupr.c: Likewise.
3213 * libc/string/wcscoll.c: Likewise.
3214 * libc/string/wcslcat.c: Likewise.
3215 * libc/string/wcslcpy.c: Likewise.
3216 * libc/string/wcsnlen.c: Likewise.
3217 * libc/string/wcsstr.c: Likewise.
3218 * libc/string/wcstrings.tex: Likewise.
3219 * libc/string/wmemchr.c: Likewise.
3220 * libc/string/wmemcmp.c: Likewise.
3221 * libc/string/wmemcpy.c: Likewise.
3222 * libc/string/wmemmove.c: Likewise.
3223 * libc/string/wmemset.c: Likewise.
3224
3225 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3226
3227 * libc/misc/unctrl.c: Replace FUNCTION description.
3228 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
3229 * libc/stdio/getdelim.c: Fix spelling errors.
3230 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
3231 * libc/stdio/putw.c: Likewise.
3232 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
3233 documentation.
3234 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
3235 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
3236 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
3237 * libc/stdlib/mlock.c: Likewise.
3238 * libc/stdlib/mstats.c: Likewise.
3239 * libc/time/tzlock.c: Likewise.
3240 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
3241 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
3242 and hyphenate "pseudo-random".
3243 * libc/string/bcmp.c: Remove extra blank lines in documentation.
3244 * libc/string/strncat.c: Likewise.
3245 * libc/string/memchr.c: Remove extra ">" character in documentation.
3246 * libc/string/strcspn.c: Use "characters" instead of "chars".
3247 * libc/string/strpbrk.c: Likewise.
3248 * libc/string/strerror_r.c: Capitalize "GNU".
3249 * libc/string/strnlen.c: Likewise.
3250 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
3251 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
3252 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
3253 * libc/string/wcschr.c: Likewise.
3254 * libc/string/wcscmp.c: Likewise.
3255 * libc/string/wcscpy.c: Likewise.
3256 * libc/string/wcscspn.c: Likewise.
3257 * libc/string/wcslen.c: Likewise.
3258 * libc/string/wcsncat.c: Likewise.
3259 * libc/string/wcsncmp.c: Likewise.
3260 * libc/string/wcsncpy.c: Likewise.
3261 * libc/string/wcsnlen.c: Likewise.
3262 * libc/string/wcspbrk.c: Likewise.
3263 * libc/string/wcsrchr.c: Likewise.
3264 * libc/string/wcsspn.c: Likewise.
3265 * libc/string/wmemchr.c: Likewise.
3266 * libc/string/wmemcmp.c: Likewise.
3267 * libc/string/wmemcpy.c: Likewise.
3268 * libc/string/wmemset.c: Likewise.
3269 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
3270 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
3271 * libc/string/wcwidth.c: Likewise.
3272 * libm/common/s_modf.c: Remove extra period from documentation.
3273 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
3274 documentation.
3275 * libm/mathfp/s_isnan.c: Likewise.
3276 * libm/math/s_ldexp.c: Fix punctuation.
3277 * libm/mathfp/s_ldexp.c: Likewise.
3278 * libm/math/w_log.c: Likewise.
3279 * libm/mathfp/s_logarithm.c: Likewise.
3280 * libm/math/w_j0.c: Add spaces to FUNCTION description.
3281 * libm/mathfp/w_jn.c: Likewise.
3282
3283 2005-10-26 Shaun Jackman <sjackman@gmail.com>
3284
3285 * libc/posix/scandir.c (scandir): Update the function
3286 prototype to match the header.
3287 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
3288 extraneous #endif.
3289 * libc/sys/linux/sys/lock.h: Do not include
3290 machine/weakalias.h, since it's not used by this file.
3291
3292 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
3293
3294 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
3295 directories can override properly.
3296
3297 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
3298
3299 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
3300 gcc is 3.3 or greater, use special gcc builtins.
3301
3302 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
3303
3304 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
3305
3306 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
3307
3308 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
3309
3310 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3311
3312 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
3313 * libm/common/Makefile.am: Add s_infconst.c support.
3314 * libm/common/Makefile.in: Regenerated.
3315 * libm/common/s_infconst.c: New file with float and
3316 long double infinity support added.
3317 * libm/math/Makefile.am: Remove s_infconst.c support.
3318 * libm/math/Makefile.in: Regenerated.
3319 * libm/math/s_infconst.c: Moved to common directory.
3320 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
3321 * libm/mathfp/Makefile.in: Regenerated.
3322 * libm/mathfp/s_infconst.c: Moved to common directory.
3323
3324 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3325
3326 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
3327 dbgprintf to prevent conflict with new dprintf function.
3328
3329 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3330
3331 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
3332 "nan" processing for systems that have long double support.
3333
3334 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3335
3336 * libc/sys/linux/sys/types.h (int8_t): Add type.
3337
3338 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3339
3340 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
3341 * libm/common/Makefile.in: Regenerate.
3342 * libm/common/common.tex: Delete file.
3343 * libm/math/math.tex: Include .def files from common/.
3344 * libm/mathfp/mathfp.tex: Likewise.
3345
3346 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3347
3348 * libc/libc.texinfo (Top): Surround this node with @ifnottex
3349 instead of @ifinfo. Update menu to add Introduction and match
3350 SUBDIRS order.
3351 (Introduction): New section.
3352
3353 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3354
3355 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
3356 with "Red Hat newlib C Library".
3357 * libc/sys.tex (Stubs): Likewise.
3358 * libm/math/math.tex (Math): Likewise.
3359 * libm/mathfp/mathfp.tex (Math): Likewise.
3360
3361 2005-10-11 Shaun Jackman <sjackman@gmail.com>
3362
3363 * libc/include/stdio.h (dprintf): New declaration.
3364 (vdprintf): Ditto.
3365 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
3366 and vdprintf.c.
3367 * libc/stdio/Makefile.in: Regenerate.
3368 * libc/stdio/dprintf.c: New file.
3369 * libc/stdio/vdprintf.c: New file.
3370 * libc/stdio/stdio.tex (dprintf): New entry.
3371
3372 2005-10-11 David Weatherford <weath@tensilica.com>
3373
3374 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
3375 Print "inf" and "nan" in lowercase for e/f/g formats and in
3376 uppercase for E/F/G formats.
3377
3378 2005-10-07 Bob Wilson <bob.wilson@acm.org>
3379
3380 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
3381 to ENOMEM on failure.
3382
3383 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3384
3385 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
3386
3387 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
3388
3389 * libc/include/stdint.h: Move magic to set __have_long* to the
3390 beginning. Use #if __have* instead of #if defined(__have*).
3391 Minor typo fixes.
3392
3393 2005-10-04 James E Wilson <wilson@specifix.com>
3394
3395 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
3396 #error.
3397
3398 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
3399
3400 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
3401 incorporate Ralf's change below.
3402
3403 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
3404
3405 * libc/include/stdint.h:
3406 Use __INTMAX_TYPE__ to derive intmax_t.
3407 Use __UINTMAX_TYPE__ to derive uintmax_t.
3408 Fix minor typo.
3409
3410 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
3411
3412 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
3413 handling GCC >= 4.
3414
3415 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3416
3417 * libc/sys/linux/include/stdint.h: Update to match functionality
3418 of generic newlib stdint.h.
3419
3420 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3421
3422 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
3423 and do not #undef the macro after it is used. Fix typos.
3424 Also change 64-bit constants to use the __have_long64 and
3425 __have_longlong64 flags to determine if long or long long
3426 constants should be used.
3427 * libc/include/inttypes.h: Include stddef.h to get wchar_t
3428 type defined.
3429
3430 2005-09-20 Shaun Jackman <sjackman@gmail.com>
3431
3432 * libc/include/stdint.h: Fix typo in names of
3433 LEAST macros.
3434
3435 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3436
3437 * libc/sys/rtems/include/inttypes.h: Moved to...
3438 * libc/include/inttypes.h: ...here.
3439
3440 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
3441
3442 * libc/sys/rtems/include/stdint.h: Moved to...
3443 * libc/include/stdint.h: ...here.
3444
3445 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
3446
3447 * Makefile.am: Add include files under bits sub-directory.
3448 * Makefile.in: Regenerated.
3449 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3450 actual value of 1 to be compatible with newer glibc headers.
3451 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3452 glibc headers.
3453 * libc/sys/linux/sys/dirent.h: Ditto.
3454 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3455 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3456 profile_fixup routines are marked used so they won't be
3457 optimized away.
3458 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3459 to mark functions as weak.
3460 * libc/sys/linux/dl/dl-open.c: Ditto.
3461 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3462 rules about lvalues.
3463 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3464 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3465 weak_extern macro to mark functions as weak. Instead always
3466 use #pragma weak.
3467 * iconvdata/jis0208.h: Fix to work with gcc4.
3468 * libc/sys/linux/dl/dl-load.c: Ditto.
3469 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3470 * libc/sys/linux/dl/do-rel.h: Ditto.
3471 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3472 * libc/sys/linux/include/ltdl.h: Ditto.
3473 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3474 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3475 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3476 * libc/sys/linux/bits/initspin.h: New file.
3477 * libc/sys/linux/bits/libc-lock.h: Ditto.
3478 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3479 * libc/sys/linux/bits/typesizes.h: Ditto.
3480
3481 2005-09-08 Eric Blake <ebb9@byu.net>
3482
3483 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3484 before is NULL.
3485
3486 2005-09-08 Brian Dessent <brian@dessent.net>
3487
3488 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3489 mantissa.
3490 * s_lrint.c: Ditto.
3491
3492 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3493
3494 * libc/include/stdio.h: Add prototype for viprintf.
3495
3496 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3497
3498 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3499 any positive power results in 0.
3500 * libm/mathfp/sf_pow.c (powf): Ditto.
3501
3502 2005-08-31 Paul Brook <paul@codesourcery.com>
3503
3504 * configure.host: Set have_crt0 to no for Arm targts when not
3505 providing syscalls. Set sys_dir=arm unconditionally.
3506 Default have_crt0 based on sys_dir.
3507 * configure.in: Use have_crt0.
3508 * libc/configure.in: Ditto.
3509 * libc/sys/configure.in: Ditto.
3510 * configure: Regenerate.
3511 * libc/configure: Regenerate.
3512 * libc/sys/configure: Regenerate.
3513 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3514 Only build other files when providing syscalls.
3515 * libc/sys/arm/Makefile.in: Regenerate.
3516 * libc/sys/arm/aeabi_atexit.c: New file.
3517
3518 2005-08-26 Christopher Faylor <cgf@timesys.com>
3519
3520 * libc/include/string.h: Revert previous change.
3521
3522 2005-08-25 Christopher Faylor <cgf@timesys.com>
3523
3524 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3525
3526 2005-08-22 Shaun Jackman <sjackman@gmail.com>
3527
3528 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3529 define _opendir as opendir, _readdir as readdir, and
3530 _closedir as closedir so that the implementations in
3531 libc/posix will be used.
3532
3533 2005-08-10 DJ Delorie <dj@redhat.com>
3534
3535 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3536
3537 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3538
3539 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3540 * libm/common/s_max.c: Ditto.
3541 * libm/common/sf_fmin.c: Ditto.
3542 * libm/common/s_min.c: Ditto.
3543
3544 2005-08-10 DJ Delorie <dj@redhat.com>
3545
3546 * configure.host: Add m32c support.
3547 * libc/include/machine/ieeefp.h: Likewise.
3548 * libc/include/machine/setjmp.h: Likewise.
3549 * libc/include/sys/config.h: Likewise.
3550 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3551 * libc/machine/m32c/aclocal.m4: New file.
3552 * libc/machine/m32c/configure: Ditto.
3553 * libc/machine/m32c/configure.in: Ditto.
3554 * libc/machine/m32c/Makefile.am: Ditto.
3555 * libc/machine/m32c/Makefile.in: Ditto.
3556 * libc/machine/m32c/setjmp.S: Ditto.
3557
3558 2005-08-02 Bob Wilson <bob.wilson@acm.org>
3559
3560 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3561 to the value for 2^126.
3562
3563 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3564
3565 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3566 used.
3567
3568 2005-07-20 Bob Wilson <bob.wilson@acm.org>
3569 Darin Petkov <darin@tensilica.com>
3570
3571 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3572
3573 2005-07-19 Paul Brook <paul@codesourcery.com>
3574
3575 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3576
3577 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3578
3579 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3580 names after PASS and FAIL which do not depend on source directory
3581 name or on whether test passed or failed.
3582 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3583
3584 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3585
3586 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3587
3588 2005-07-07 Shaun Jackman <sjackman@gmail.com>
3589
3590 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
3591 twice for the same directory. _closedir calls free, and freeing
3592 the same pointer twice may cause a crash.
3593
3594 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
3595
3596 * configure.host: Added entry for ms1*.
3597 * libc/include/machine/ieeefp.h: Handle ms1.
3598 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3599 * libc/machine/ms1/aclocal.m4: New.
3600 * libc/machine/ms1/configure: New.
3601 * libc/machine/ms1/configure.in: New.
3602 * libc/machine/ms1/Makefile.am: New.
3603 * libc/machine/ms1/Makefile.in: New.
3604 * libc/machine/ms1/setjmp.S: New.
3605
3606 2005-07-04 Mark Mitchell <mark@codesourcery.com>
3607
3608 * Makefile.am (site.exp): Set tmpdir.
3609 * Makefile.in: Regenerated.
3610 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3611 executables in $tmpdir.
3612 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3613 libgloss version if not running in the build directory.
3614 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3615 $tmpdir.
3616 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3617 in $tmpdir.
3618
3619 2005-06-28 Dave Korn <dave.korn@artimi.com>
3620
3621 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3622 and miscalculation caused by fp representation of zero.
3623 * libm/common/sf_lrint.c (lrintf): Likewise.
3624
3625 2005-06-16 Christopher Faylor <cgf@timesys.com>
3626
3627 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3628 determine characteristics of long double. Use a union instead.
3629 * ldtoa.c (_ldtoa_r): Ditto.
3630 (_ldcheck): Ditto.
3631 (_strtold): Ditto.
3632 (union uconv): New union.
3633
3634 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3635
3636 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3637 instead of memcpy.
3638
3639 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3640
3641 * configure.host (mn10300-*): Add long long I/O support by default.
3642
3643 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3644
3645 * libc/sys/linux/getpwuid.c: Removed.
3646 * libc/sys/linux/getpwnam.c: Removed.
3647 * libc/sys/linux/getpwent.c: New file containing logic
3648 from files removed above. This allows overriding of file
3649 in libc/unix.
3650 * libc/sys/linux/Makefile.am: Support changes above.
3651 * libc/sys/linux/Makefile.in: Regenerated.
3652
3653 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3654
3655 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3656 when checking for multiple flags.
3657
3658 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
3659
3660 * configure.host <cris-*-* | crisv32-*-*>: Set
3661 default_newlib_io_long_long="yes".
3662
3663 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3664
3665 * libc/include/libgen.h: New file.
3666
3667 2005-04-08 Shaun Jackman <sjackman@gmail.com>
3668
3669 * libc/unix/Makefile.am: Add support for basename and dirname.
3670 * libc/unix/Makefile.in: Regenerated.
3671 * libc/unix/basename.c: New file.
3672 * libc/unix/dirname.c: New file.
3673
3674 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3675
3676 * libc/sys/linux/inode.c (lchown): New function.
3677
3678 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3679
3680 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3681 ELIX level is defined.
3682 * libc/unix/Makefile.in: Regenerated.
3683
3684 2005-04-05 Dave Korn <dave.korn@artimi.com>
3685
3686 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3687 something that looks like a "NaN", put back the characters processed.
3688
3689 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
3690
3691 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3692
3693 2005-03-23 Christopher Faylor <cgf@timesys.com>
3694
3695 * configure.host: For cygwin, redefine CC with cygwin include directory
3696 first to mimic the behavior of the top-level configury. Move include
3697 directory out of newlib_cflags.
3698
3699 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3700
3701 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
3702 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
3703 than errno.
3704
3705 2005-03-22 Christopher Faylor <cgf@timesys.com>
3706
3707 * libc/include/machine/_types.h: Make trivial change to comment to
3708 avoid a spurious warning from gcc.
3709
3710 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
3711
3712 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
3713 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
3714 reent.h include.
3715
3716 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
3717 Corinna Vinschen <corinna@vinschen.de>
3718
3719 * libc/include/ctype.h: Remove invalid +1 offset from
3720 ctype macro references to __ctype_ptr.
3721 (_ctype_): Move declaration outside #ifndef __cplusplus.
3722
3723 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
3724
3725 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
3726 evaluate first parameter only once.
3727 (siglongjmp): Ditto.
3728
3729 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
3730
3731 * configure.in: Add new check to see if compiler supports
3732 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
3733 * configure: Regenerated.
3734 * Makefile.in: Ditto.
3735 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
3736 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
3737 aliasing the _ctype_ array to _ctype_b.
3738 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
3739 _ctype_ as deprecated.
3740
3741 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
3742
3743 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3744 -DCOMPACT_CTYPE.
3745
3746 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3747
3748 * libc/sys/rtems/include/inttypes.h: New file.
3749 * libc/sys/rtems/include/stdint.h: Ditto.
3750
3751 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3752
3753 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3754
3755 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3756
3757 * libc/include/machine/_types.h: New file.
3758 * libc/include/sys/types.h: Do not check for __rtems__
3759 when including <machine/_types.h>. Remove some redundant
3760 declarations now that <machine/_types.h> is included.
3761 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3762 shared header file.
3763
3764 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
3765
3766 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
3767 L qualifier for these long constants.
3768
3769 2005-02-25 Eric Blake <ebb9@byu.net>
3770
3771 * libc/include/time.h (__tzrule_struct): Make offset long, since
3772 a 16-bit int overflows on a 12-hour offset.
3773 * libc/sys/linux/include/time.h: Ditto.
3774 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
3775 * libc/time/mktm_r.c: Ditto.
3776 * libc/time/gettzinfo.c: Ditto.
3777 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
3778 years. Fix '%z' to use long, not int.
3779
3780 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3781
3782 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
3783 manipulate float values in integer form.
3784 * libm/common/sf_round.c: Ditto.
3785
3786 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3787
3788 * libc/include/sys/types.h [__rtems__]: Include new
3789 header file machine/_types.h.
3790 * libc/include/machine/types.h: Ditto.
3791 * libc/sys/rtems/machine/_types.h: New file.
3792
3793 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3794
3795 * libc/include/time.h (_timezone): Change to long also for Cygwin.
3796 (timezone): Drop cast from definition.
3797
3798 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
3799
3800 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
3801 (__tzrule_type, __tzinfo_type): New types.
3802 (__gettzinfo): New function.
3803 * libc/sys/linux/include/time.h: Ditto.
3804 * libc/time/Makefile.am: Add gettzinfo.c.
3805 * libc/time/Makefile.in: Regenerated.
3806 * libc/time/local.h: Moved __tzrule_type to time.h.
3807 * libc/time/mktime.c: Call __gettzinfo to reference
3808 __tznorth, __tzyear, and __tzrule array.
3809 * libc/time/mktm_r.c: Ditto.
3810 * libc/time/strftime.c: Ditto.
3811 * libc/time/tzset_r.c: Ditto. Also remove definition
3812 of __tzrule which is now in gettzinfo.c. Change _timezone
3813 references to not cast to time_t.
3814 * libc/time/gettzinfo.c: New file.
3815
3816 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3817
3818 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
3819
3820 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
3821
3822 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
3823
3824 2005-02-16 Eric Blake <ebb9@byu.net>
3825
3826 * libc/time/time.tex: Improve the documentation.
3827 * libc/time/strftime.c: Improve the documentation.
3828 (iso_year_adjust): New helper function.
3829 (strftime): Simplify '%E' and '%O'. Change '%c' to use
3830 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
3831 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
3832 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
3833 Avoid core dumps on valid inputs (maxsize == 0, or
3834 tim_p->tm_isdst > 1).
3835
3836 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
3837
3838 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
3839 members to uid_t and gid_t according to SUSv3.
3840 * libc/include/sys/time.h (utimes): Change second parameter
3841 to const according to SUSv3.
3842
3843 2005-02-07 Antony King <antony.king@st.com>
3844
3845 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
3846 called before _flockfile to prevent lock object use before
3847 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
3848 take a struct _reent * instead of a FILE *.
3849 * libc/stdio/fclose.c (_fclose_r): Ditto.
3850 * libc/stdio/feof.c (feof): Ditto.
3851 * libc/stdio/ferror.c (ferror): Ditto.
3852 * libc/stdio/fflush.c (fflush): Ditto.
3853 * libc/stdio/fgetc.c (fgetc): Ditto.
3854 * libc/stdio/fgets.c (fgets): Ditto.
3855 * libc/stdio/fileno.c (fileno): Ditto.
3856 * libc/stdio/fputc.c (fputc): Ditto.
3857 * libc/stdio/fputs.c (fputs): Ditto.
3858 * libc/stdio/fread.c (fread): Ditto.
3859 * libc/stdio/freopen.c (_freopen_r): Ditto.
3860 * libc/stdio/fseek.c (_fseek_r): Ditto.
3861 * libc/stdio/ftell.c (_ftell_r): Ditto.
3862 * libc/stdio/fwrite.c (fwrite): Ditto.
3863 * libc/stdio/getc.c (getc): Ditto.
3864 * libc/stdio/getdelim.c (__getdelim): Ditto.
3865 * libc/stdio/putc.c (putc): Ditto.
3866 * libc/stdio/setvbuf.c (setvbuf): Ditto.
3867 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
3868 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3869 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3870 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
3871 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
3872 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
3873 _reent * instead of a FILE * and so replace incorrect use of
3874 _REENT with argument.
3875 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
3876 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
3877 CHECK_INIT() take a struct _reent * instead of a FILE *.
3878 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
3879 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
3880 * libc/stdio/perror.c (perror): Ditto.
3881 * libc/stdio/printf.c (printf, _printf_r): Ditto.
3882 * libc/stdio/putchar.c (putchar): Ditto.
3883 * libc/stdio/puts.c (puts): Ditto.
3884 * libc/stdio/refill.c (__srefill): Ditto.
3885 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
3886 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
3887 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
3888 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
3889 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
3890 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
3891 * libc/stdio/wbuf.c (__swbuf): Ditto.
3892 * libc/stdio/wsetup.c (__swsetup): Ditto.
3893 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
3894 * libc/stdlib/mstats.c (_mstats_r): Ditto.
3895 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
3896 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
3897 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
3898 to _flockfile and _funlockfile; rely on locking in _ftell_r.
3899 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
3900 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
3901 initialision of _data field in FILE structure.
3902 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
3903
3904 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3905
3906 * libc/stdio/findfp.c (__sinit): Protect with new lock.
3907 (__sinit_lock): New lock.
3908 (__sinit_lock_acquire, __sinit_lock_release): New functions.
3909 * libc/stdio/local.h: Add reference to new __sinit locking
3910 functions.
3911
3912 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3913
3914 * libc/include/math.h (isfinite, isnormal, isunordered): Change
3915 input variable names to avoid mixups with nesting macros.
3916
3917 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3918
3919 * configure.host: Add support for cris-*-* and crisv32-*-*.
3920 * libc/include/machine/ieeefp.h: Ditto.
3921 * libc/include/machine/setjmp.h: Ditto.
3922 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
3923 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
3924 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
3925 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
3926 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
3927 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
3928 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
3929 files.
3930
3931 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3932
3933 * testsuite/newlib.string/memmove1.c: New test.
3934
3935 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3936
3937 * testsuite/include/check.h: Include stdlib.h.
3938
3939 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3940
3941 * Makefile.am (stmp-targ-include): Support include header files
3942 from machine directories.
3943 (install-data-local): Ditto.
3944 * Makefile.in: Regenerate.
3945
3946 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
3947
3948 * libc/include/string.h: Remove Linux-specific declaration of
3949 strsignal and add #include <sys/string.h>.
3950 * libc/include/sys/string.h: New file.
3951 * libc/include/sys/linux/sys/string.h: New file with strsignal
3952 declaration deleted above.
3953
3954 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
3955
3956 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
3957 to POSIX standard for "C" locale. Allow %E and %O modifiers
3958 to be ignored as long as they precede valid specifiers according
3959 to POSIX.
3960
3961 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3962
3963 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3964 environment variable is set.
3965
3966 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3967
3968 * tzset_r.c (_tzname): Add a comma.
3969
3970 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
3971
3972 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
3973 _VFPRINTF_R.
3974
3975 2005-01-07 Paul Brook <paul@codesourcery.com>
3976
3977 * configure.in: Add test for .init_array.
3978 * configure: Regenerate.
3979 * newlib.hin: Add HAVE_INITFINI_ARRAY.
3980 * libc/misc/Makefile.am: Add init.c
3981 * libc/misc/Makefile.in: Regenerate.
3982 * libc/misc/init.c: New file.
3983 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
3984 _init/_fini if they exist.
3985
3986 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
3987
3988 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
3989 * (strtof): Ditto.
3990 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
3991 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
3992 functions for use by strtod and strtof.
3993 * Makefile.in: Regenerated.
3994
3995 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3996
3997 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
3998 bit-test in combination with NULL test.
3999
4000 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
4001
4002 * README: Fix typo of LGPL. Change "license" to "copyright".
4003
4004 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
4005
4006 * NEWS: Update with 1.13.0 info.
4007 * README: Ditto.
4008 * acinclude.m4: Change version number to 1.13.0.
4009 * aclocal.m4: Regenerated.
4010 * configure: Ditto.
4011 * doc/aclocal.m4: Ditto.
4012 * doc/configure: Ditto.
4013 * libc/*/aclocal.m4: Ditto.
4014 * libc/*/configure: Ditto.
4015 * libc/libc.texinfo: Ditto.
4016 * libm/*/aclocal.m4: Ditto.
4017 * libm/*/configure: Ditto.
4018 * libm/libm.texinfo: Ditto.
4019 * libc/sys/linux/shared.ld: Add VERS_1.13.
4020
4021 2004-12-17 Christian Groessler <chris@groessler.org>
4022
4023 * libc/machine/z8k/memcmp.S: New file.
4024 * libc/machine/z8k/memcpy.S: Ditto.
4025 * libc/machine/z8k/memmove.S: Ditto.
4026 * libc/machine/z8k/memset.S: Ditto.
4027 * libc/machine/z8k/Makefile.am: Add new files.
4028 * libc/machine/z8k/Makefile.in: Regenerated.
4029 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
4030 part. Implement Z8002 stdcall version.
4031
4032 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
4033
4034 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
4035 a low-level read if we don't get the full amount of bytes so
4036 EOF or error flags will be set.
4037
4038 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
4039
4040 * libc/time/tzset_r (_tzset_r): Properly skip over
4041 '/' when it is detected.
4042
4043 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4044
4045 * libc/time/tzset_r (_tzset_r): Fix loop.
4046
4047 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4048
4049 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
4050 m_day.
4051 (__tzcalc_limits): Fix reference to month array to be zero-based.
4052
4053 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
4054
4055 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
4056 and usleep.
4057
4058 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
4059
4060 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
4061 libgcc dependencies.
4062 (libm_la_LDFLAGS): Ditto.
4063 * Makefile.in: Regenerated.
4064
4065 2004-12-03 Shaun Jackman <sjackman@gmail.com>
4066
4067 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4068 our link to use readlink so as to preserve any relative link created
4069 by install-toollibLIBRARIES.
4070 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4071
4072 2004-12-02 Shaun Jackman <sjackman@gmail.com>
4073
4074 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4075 time_t before including sys/stat.h, which uses it.
4076 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4077 <linux/time.h> just prior to definition of __KERNEL__ so as to
4078 allow building on Debian Linux where otherwise, mktime would
4079 be redefined.
4080
4081 2004-11-26 Paul Brook <paul@codesourcery.com>
4082
4083 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
4084
4085 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4086
4087 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
4088 const for value string parameter to match Single Unix and glibc.
4089 * libc/stdlib/putenv.c: Ditto.
4090 * libc/stdlib/putenv_r.c: Ditto.
4091
4092 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4093
4094 * libc/stdio/Makefile.am: Fix missing vfscanf.
4095 * libc/stdio/Makefile.in: Regenerated.
4096
4097 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
4098
4099 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4100 do some reordering.
4101 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4102 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4103 family functions.
4104 * libc/stdio/Makefile.in: Regenerated.
4105 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4106 * libc/stdio/iprintf.c: Ditto.
4107 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4108 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4109 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4110 * libc/stdio/stdio.tex: Add new functions.
4111 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4112 file and add special name defines so this file can be used
4113 to build vfiscanf.o.
4114 * libc/stdio/asiprintf.c: New file.
4115 * libc/stdio/fiscanf.c: Ditto.
4116 * libc/stdio/iscanf.c: Ditto.
4117 * libc/stdio/sccl.c: Ditto.
4118 * libc/stdio/siscanf.c: Ditto.
4119 * libc/stdio/vasiprintf.c: Ditto.
4120 * libc/stdio/viprintf.c: Ditto.
4121 * libc/stdio/viscanf.c: Ditto.
4122 * libc/stdio/vsiprintf.c: Ditto.
4123 * libc/stdio/vsiscanf.c: Ditto.
4124 * libc/stdio/vsniprintf.c: Ditto.
4125
4126 2004-11-19 Shaun Jackman <sjackman@gmail.com>
4127
4128 * libc/include/stdio.h: Add sniprintf.
4129 * libc/stdio/Makefile.am: Add sniprintf.c.
4130 * libc/stdio/Makefile.in: Regenerated.
4131 * libc/stdio/sniprintf.c: New file.
4132 * libc/stdio/stdio.tex: Add sniprintf.
4133
4134 2004-11-17 Christopher Faylor <cgf@timesys.com>
4135
4136 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4137 EOF flag if successful.
4138
4139 2004-10-28 Christopher Faylor <cgf@timesys.com>
4140
4141 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
4142 so that all relevant definitions have been performed for use in the
4143 include.
4144
4145 2004-10-26 Jason Tishler <jason@tishler.net>
4146
4147 * libc/stdio/fread.c (fread): Fix return value for unbuffered
4148 fread.
4149
4150 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4151
4152 * libc/include/machine/setjmp.h: Add AVR support.
4153 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
4154
4155 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
4156
4157 * libc/include/sys/signal.h: If <signal.h> didn't include
4158 this header file, include <signal.h> to account for
4159 applications that take advantage that the two header
4160 files are the same in glibc.
4161
4162 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
4163
4164 * configure.host: Add support for crx.
4165 * libc/include/machine/ieeefp.h: Ditto.
4166 * libc/include/machine/setjmp.h: Ditto.
4167 * libc/machine/crx/Makefile.am: New file.
4168 * libc/machine/crx/configure.in: Ditto.
4169 * libc/machine/crx/setjmp.S: Ditto.
4170 * libc/machine/crx/getenv.c: Ditto.
4171 * libc/machine/crx/aclocal.m4: Generate.
4172 * libc/machine/crx/configure: Ditto.
4173 * libc/machine/crx/Makefile.in: Ditto.
4174 * libc/machine/crx/sys/asm.h: New file.
4175 * libc/machine/crx/sys/libh.h: Ditto.
4176 * libc/machine/crx/sys/syscall.h: Ditto.
4177
4178 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
4179
4180 * Makefile.am (stmp-targ-include): Support sys header files
4181 from machine directories.
4182 * Makefile.in: Regenerated.
4183
4184 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
4185
4186 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4187 count skipped zero characters as part of the nread count for %n.
4188 * libc/machine/powerpc/vfscanf.c: Ditto.
4189
4190 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
4191
4192 * libc/stdio/local.h: Include <stdlib.h>.
4193
4194 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
4195
4196 * libc/stdio/fread.c (fread): Include <malloc.h>.
4197
4198 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
4199
4200 * libc/stdio/fread.c (fread): For non-space-optimized case,
4201 add special code for unbuffered files to use user buffer and
4202 only require one low-level system read.
4203
4204 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
4205
4206 * libc/machine/xscale/setjmp.S: New file, copied from
4207 libc/machine/arm/setjmp.S.
4208 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
4209 * libc/machine/xscale/Makefile.in: Regenerate.
4210
4211 2004-09-16 Antony King <antony.king@st.com>
4212
4213 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
4214 with locking API.
4215 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
4216 check for__SSTR in _flags and if set, skip lock request.
4217 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4218 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
4219 not NULL.
4220 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
4221 initialisation of _file to -1 in local FILE.
4222 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
4223 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
4224 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4225 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4226 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
4227 _flags in local FILE to prevent locking.
4228 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4229
4230 2004-09-16 Antony King <antony.king@st.com>
4231
4232 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
4233 and only walk the reentrancy parameter.
4234 (_fwalk_reent): Ditto.
4235 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
4236
4237 2004-09-16 Antony King <antony.king@st.com>
4238
4239 * libc/stdio64/freopen64.c: Remove casting of fp lock to
4240 _LOCK_RECURSIVE_T.
4241
4242 2004-09-16 Antony King <antony.king@st.com>
4243
4244 * libc/time/tzlock.c: Add default stubs that use generic
4245 locking code.
4246
4247 2004-09-16 Antony King <antony.king@st.com>
4248
4249 * libc/ctype/ctype.tex: Added missing documentation.
4250 * libc/stdio/stdio.tex Ditto.
4251 * libc/stdlib/stdlib.tex Ditto.
4252 * libc/string/strings.tex Ditto.
4253 * libc/time/time.tex: Ditto.
4254 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
4255
4256 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
4257
4258 * libc/reent/impure.c (reent_data): Define as alias to impure_data
4259 when building for Cygwin.
4260 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
4261 _global_impure_ptr.
4262
4263 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
4264
4265 * configure.host: Reverting 2004-09-14 change as fix has occurred on
4266 Cygwin side.
4267 * configure.in: Ditto.
4268 * libc/configure.in: Ditto.
4269 * libc/sys/configure.in: Ditto.
4270 * configure: Ditto.
4271 * libc/configure: Ditto.
4272 * libc/sys/configure: Ditto.
4273 * libc/include/sys/reent.h: Ditto.
4274 * libc/stdlib/__atexit.c: Ditto.
4275 * libc/stdlib/__call_atexit.c: Ditto.
4276 * libc/stdlib/cxa_atexit.c: Ditto.
4277 * libc/stdlib/cxa_finalize.c: Ditto.
4278 * libc/sys/cygwin/Makefile.am: Removed again.
4279 * libc/sys/cygwin/Makefile.in: Ditto.
4280 * libc/sys/cygwin/aclocal.m4: Ditto.
4281 * libc/sys/cygwin/configure: Ditto.
4282 * libc/sys/cygwin/configure.in: Ditto.
4283 * libc/sys/cygwin/dummy.c: Ditto.
4284 * libc/sys/cygwin/sys/reent.h: Ditto.
4285
4286 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
4287
4288 * configure.host: Add Cygwin sys directory.
4289 * configure.in: Do not set CRT0 for cygwin.
4290 * libc/configure.in: Ditto.
4291 * libc/sys/configure.in: Ditto.
4292 * configure: Regenerated.
4293 * libc/configure: Ditto.
4294 * libc/sys/configure: Ditto.
4295 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
4296 * libc/stdlib/__atexit.c: Keep cxa support protected by new
4297 __REENT_HAS_CXA_SUPPORT flag.
4298 * libc/stdlib/__call_atexit.c: Ditto.
4299 * libc/stdlib/cxa_atexit.c: Ditto.
4300 * libc/stdlib/cxa_finalize.c: Ditto.
4301 * libc/sys/cygwin/Makefile.am: New file.
4302 * libc/sys/cygwin/Makefile.in: Ditto.
4303 * libc/sys/cygwin/aclocal.m4: Ditto.
4304 * libc/sys/cygwin/configure: Ditto.
4305 * libc/sys/cygwin/configure.in: Ditto.
4306 * libc/sys/cygwin/dummy.c: Ditto.
4307 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
4308 version of reent.h.
4309
4310 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4311
4312 * libc/iconv/iconv.tex: Updated with new content.
4313 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
4314 instead of NLS_DEFAULT_NLSPATH.
4315 * libc/iconv/lib/iconvnls.h: Fix typo.
4316 * libc/include/sys/iconvnls.h: New file.
4317
4318 2004-09-09 Paul Brook <paul@codesourcery.com>
4319
4320 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
4321 and _is_cxa.
4322 (struct _atexit): Add _next when _REENT_SMALL.
4323 (struct _reent): Add _atexit0 when _REENT_SMALL.
4324 (_REENT_INIT_PTR): Adjust.
4325 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
4326 __call_exit.c.
4327 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
4328 * libc/stdlib/Makefile.in: Regenerate.
4329 * libc/stdlib/__atexit.c: New file.
4330 * libc/stdlib/__call_atexit.c: New file.
4331 * libc/stdlib/atexit.h: Remove old definitions. Add new.
4332 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
4333 * libc/stdlib/cxa_atexit.c: New file.
4334 * libc/stdlib/cxa_finalize.c: New file.
4335 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
4336 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
4337 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
4338 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
4339 _on_exit_args_ptr.
4340
4341 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
4342
4343 * libc/include/sys/unistd.h (getpass): Change prototype to use
4344 const instead of __const.
4345
4346 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
4347
4348 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
4349 #if.
4350
4351 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
4352
4353 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
4354 on linux systems with glibc 2.3.3 installed.
4355 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
4356 profile_fixup so newlib can build on fc3 system.
4357
4358 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
4359
4360 Introduce SH2a support.
4361 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
4362 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
4363 __SH2A_SINGLE_ONLY__, too.
4364 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
4365 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4366 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
4367 2004-02-10 DJ Delorie <dj@redhat.com>
4368 * libc/sys/sh/crt0.S (start_l): Support sh2a.
4369
4370 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
4371
4372 * libc/time/strptime.c: Correct full-name of "March" typo.
4373
4374 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
4375
4376 * configure.host (h8300*-*-*): Default long long printing support.
4377
4378 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
4379
4380 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
4381 calls, if realloc fails, free up buffer as it is no longer
4382 used.
4383
4384 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4385
4386 * libc/iconv/iconv.tex: Updated to represent recent changes.
4387 * libc/iconv/lib/iconv.c: Documentation updated.
4388
4389 2004-07-07 Nick Clifton <nickc@redhat.com>
4390
4391 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
4392 for xStormy16.
4393
4394 2004-07-06 Chris Demetriou <cgd@broadcom.com>
4395
4396 * configure.host (mips*-*-elf*): Default long long printing
4397 support.
4398
4399 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
4400
4401 * libc/Makefile.am (libc.dvi): Add target and specify
4402 same dependencies as libc.info.
4403 * libc/Makefile.in: Regenerated.
4404 * libm/Makefile.am (libm.dvi): Add target and specify
4405 same dependencies as libm.info.
4406 * libm/Makefile.in: Regenerated.
4407
4408 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4409
4410 * acinclude.m4: Move --enable-newlib-iconv option back here.
4411 * configure.in: Remove --enable-newlib-iconv option. Don't
4412 tie iconv support to --enable-newlib-mb.
4413 * aclocal.m4: Regenerated.
4414 * configure: Ditto.
4415 * doc/aclocal.m4, doc/configure: Ditto.
4416 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
4417 * libm/*/aclocal.m4: Ditto.
4418 * libm/*/configure: Ditto.
4419 * libc/*/aclocal.m4: Ditto.
4420 * libc/*/configure: Ditto.
4421
4422 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4423
4424 * acinclude.m4: Move iconv options into configure.in.
4425 * aclocal.m4: Regenerated.
4426 * configure: Ditto.
4427 * configure.in: Add iconv options.
4428 * newlib.hin: Add new iconv encodings and remove deleted ones.
4429 * doc/aclocal.m4: Regenerated.
4430 * doc/configure: Ditto.
4431 * iconvdata/aclocal.m4: Ditto.
4432 * iconvdata/configure: Ditto.
4433 * libc/iconv: Design change. New size-optimized ccs format.
4434 * libc/iconv/AUTHORS: Removed.
4435 * libc/iconv/COPYING: Ditto.
4436 * libc/iconv/README.ORIGINAL: Ditto.
4437 * libc/iconv/README.TODO: Ditto.
4438 * libc/iconv/charset.aliases: Ditto.
4439 * libc/iconv/encoding.aliases: New file.
4440 * libc/iconv/Makefile.am: Updated.
4441 * libc/iconv/Makefile.in: Regenerated.
4442 * libc/iconv/iconv.tex: Updated.
4443 * libc/iconv/ccs/Makefile.am: Ditto.
4444 * libc/iconv/ccs/Makefile.in: Regenerated.
4445 * libc/iconv/ccs/big5.c: Updated.
4446 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4447 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4448 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4449 * libc/iconv/ccs/cp775.c: Ditto.
4450 * libc/iconv/ccs/cp850.c: Ditto.
4451 * libc/iconv/ccs/cp852.c: Ditto.
4452 * libc/iconv/ccs/cp855.c: Ditto.
4453 * libc/iconv/ccs/cp866.c: Ditto.
4454 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4455 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4456 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4457 * libc/iconv/ccs/iconv_mktbl: Ditto.
4458 * libc/iconv/ccs/jis_x0201.c: Ditto.
4459 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4460 * libc/iconv/ccs/shift_jis.c: Ditto.
4461 * libc/iconv/ccs/us_ascii.c: Ditto.
4462 * libc/iconv/ccs/ccs.h: New file.
4463 * libc/iconv/ccs/ccsbi.c: Ditto.
4464 * libc/iconv/ccs/ccsbi.h: Ditto.
4465 * libc/iconv/ccs/ccsnames.h: Ditto.
4466 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4467 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4468 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4469 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4470 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4471 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4472 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4473 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4474 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4475 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4476 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4477 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4478 * libc/iconv/ccs/koi8_ru.c: Ditto.
4479 * libc/iconv/ccs/koi8_uni.c: Ditto.
4480 * libc/iconv/ccs/mktbl.pl: Ditto.
4481 * libc/iconv/ccs/win_1250.c: Ditto.
4482 * libc/iconv/ccs/win_1251.c: Ditto.
4483 * libc/iconv/ccs/win_1252.c: Ditto.
4484 * libc/iconv/ccs/win_1253.c: Ditto.
4485 * libc/iconv/ccs/win_1254.c: Ditto.
4486 * libc/iconv/ccs/win_1255.c: Ditto.
4487 * libc/iconv/ccs/win_1256.c: Ditto.
4488 * libc/iconv/ccs/win_1257.c: Ditto.
4489 * libc/iconv/ccs/win_1258.c: Ditto.
4490 * libc/iconv/ccs/iso_8859_15.c: Updated.
4491 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4492 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4493 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4494 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4495 * libc/iconv/ccs/koi8_r.c: Ditto.
4496 * libc/iconv/ccs/koi8_u.c: Ditto.
4497 * libc/iconv/ccs/ksx1001.c: Ditto.
4498 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4499 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4500 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4501 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4502 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4503 * libc/iconv/ccs/binary/Makefile.am: Updated.
4504 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4505 * libc/iconv/ccs/binary/big5.cct: Updated.
4506 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4507 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4508 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4509 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4510 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4511 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4512 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4513 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4514 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4515 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4516 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4517 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4518 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4519 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4520 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4521 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4522 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4523 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4524 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4525 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4526 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4527 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4528 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4529 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4530 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4531 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4532 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4533 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4534 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4535 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4536 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4537 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4538 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4539 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4540 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4541 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4542 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4543 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4544 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4545 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4546 * libc/iconv/ces/Makefile.am: Updated.
4547 * libc/iconv/ces/Makefile.in: Regenerated.
4548 * libc/iconv/ces/ucs-2-internal.c: Updated.
4549 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4550 * libc/iconv/ces/utf-16.c: Ditto.
4551 * libc/iconv/ces/utf-8.c: Ditto.
4552 * libc/iconv/ces/cesbi.c: New file.
4553 * libc/iconv/ces/cesbi.h: Ditto.
4554 * libc/iconv/ces/cesdeps.h: Ditto.
4555 * libc/iconv/ces/euc.c: Ditto.
4556 * libc/iconv/ces/mkdeps.pl: Ditto.
4557 * libc/iconv/ces/table-pcs.c: Ditto.
4558 * libc/iconv/ces/table.c: Ditto.
4559 * libc/iconv/ces/ucs-2.c: Ditto.
4560 * libc/iconv/ces/ucs-4.c: Ditto.
4561 * libc/iconv/ces/us-ascii.c: Ditto.
4562 * libc/iconv/ces/euc-jp.c: Removed.
4563 * libc/iconv/ces/euc-kr.c: Ditto.
4564 * libc/iconv/ces/euc-tw.c: Ditto.
4565 * libc/iconv/ces/gb2312.c: Ditto.
4566 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4567 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4568 * libc/iconv/lib/Makefile.am: Updated.
4569 * libc/iconv/lib/Makefile.in: Regenerated.
4570 * libc/iconv/lib/endian.h: Updated.
4571 * libc/iconv/lib/iconv.c: Ditto.
4572 * libc/iconv/lib/local.h: Ditto.
4573 * libc/iconv/lib/aliases.c: Removed.
4574 * libc/iconv/lib/bialiasesi.c: Ditto.
4575 * libc/iconv/lib/biccs.c: Ditto.
4576 * libc/iconv/lib/bices.c: Ditto.
4577 * libc/iconv/lib/ccs.c: Ditto.
4578 * libc/iconv/lib/ces.c: Ditto.
4579 * libc/iconv/lib/ces_euc.c: Ditto.
4580 * libc/iconv/lib/ces_iso2022.c: Ditto.
4581 * libc/iconv/lib/ces_table.c: Ditto.
4582 * libc/iconv/lib/converter.c: Ditto.
4583 * libc/iconv/lib/deps.h: Ditto.
4584 * libc/iconv/lib/loaddata.c: Ditto.
4585 * libc/iconv/lib/aliasesbi.c: New file.
4586 * libc/iconv/lib/aliasesi.c: Ditto.
4587 * libc/iconv/lib/conv.h: Ditto.
4588 * libc/iconv/lib/encnames.h: Ditto.
4589 * libc/iconv/lib/encoding.deps: Ditto.
4590 * libc/iconv/lib/iconvnls.c: Ditto.
4591 * libc/iconv/lib/iconvnls.h: Ditto.
4592 * libc/iconv/lib/nullconv.c: Ditto.
4593 * libc/iconv/lib/ucsconv.c: Ditto.
4594 * libc/iconv/lib/ucsconv.h: Ditto.
4595 * libc/include/iconv.h: Update copyright.
4596 * libc/*/aclocal.m4: Regenerated.
4597 * libc/*/configure: Ditto.
4598 * libm/*/aclocal.m4: Ditto.
4599 * libm/*/configure: Ditto.
4600
4601 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
4602
4603 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4604 instead of typedefing jmp_buf.
4605
4606 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4607 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4608 * libc/machine/h8300/defines.h (LEN): New macro.
4609 * libc/machine/h8300/memcpy.S: Add h8sx version.
4610 * libc/machine/h8300/memset.S: Likewise.
4611 * libc/machine/h8300/strcmp.S: Likewise.
4612 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4613 * libc/machine/h8300/h8sx_strcpy.S: New file.
4614 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4615 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4616 __H8300SX__.
4617 * libc/include/machine/setjmp.h: Likewise.
4618 * libc/include/sys/config.h: Likewise.
4619 * libc/machine/h8300/defines.h: Likewise.
4620 * libc/machine/h8300/setjmp.S: Likewise.
4621 * libc/machine/h8300/strcmp.S: Likewise.
4622 * libc/sys/h8300hms/close.S: Likewise.
4623 * libc/sys/h8300hms/fstat.S: Likewise.
4624 * libc/sys/h8300hms/lseek.S: Likewise.
4625 * libc/sys/h8300hms/read.S: Likewise.
4626 * libc/sys/h8300hms/write.S: Likewise.
4627 * libc/sys/h8300hms/crt0.S: Likewise.
4628 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4629 __H8300SX__ is defined.
4630 * libc/sys/h8300hms/setarch.h: Likewise.
4631
4632 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4633
4634 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4635 out change which set _GLOBAL_REENT to _global_impure_ptr until
4636 we understand why Cygwin breaks because of it.
4637
4638 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4639
4640 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4641 __syscall_return macro for systems with vsyscall.
4642
4643 2004-06-11 Antony King <antony.king@st.com>
4644
4645 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4646 _flock_t to be of type _LOCK_RECURSIVE_T.
4647 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4648 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4649 (_global_impure_ptr): New declaration.
4650 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4651 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4652 <sys/reent.h>.
4653 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4654 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4655 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4656 * libc/stdio/fclose.c: Remove casting of fp lock to
4657 _LOCK_RECURSIVE_T.
4658 * libc/stdio/findfp.c: Ditto.
4659 * libc/stdio/fopen.c: Ditto.
4660 * libc/stdio/freopen.c: Ditto.
4661 * libc/stdio/vfprintf.c: Ditto.
4662 * libc/stdio64/fopen64.c: Ditto.
4663 * libc/stdlib/envlock.c: Add default stubs that use generic
4664 locking code.
4665 * libc/stdlib/mlock.c: Ditto.
4666
4667 Jeff Johnston <jjohnstn@redhat.com>
4668 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4669 (_flock_t): Change to be a struct containing a single member
4670 named mutex which is of type __flock_mutex_t.
4671
4672 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4673
4674 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4675 from /usr/include/asm/signal.h instead of kernel sources. Also
4676 default max to 32 if not found in header file.
4677 * libc/sys/linux/Makefile.in: Regenerated.
4678 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4679 systems where __syscall_return is not defined.
4680 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4681 systems to use syscall() function instead of assembler interrupt.
4682
4683 2004-06-09 Toralf Lund <toralf@procaptura.com>
4684
4685 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4686 files from libc/sys/arm to libc/machine/arm.
4687 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4688 library build support for files moved from libc/sys/arm.
4689 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4690 references to access and setjmp.
4691 * configure.host: Add checks for newlib_may_supply_syscalls to
4692 determine whether or not to use sys/arm directory and use
4693 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
4694
4695 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4696
4697 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4698 reset digit flags appropriately after we have discovered "0x".
4699 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4700
4701 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4702
4703 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4704 from here ...
4705 (_VFPRINTF_R): ... to here so all I/O printf routines
4706 are covered.
4707
4708 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4709
4710 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4711 redefinition.
4712 * libc/search/hash.c: Ditto.
4713
4714 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4715
4716 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
4717 (_WANT_IO_LONG_LONG): Ditto.
4718 (_WANT_IO_LONG_DOUBLE): Ditto.
4719 * configure.in: Add new configuration options
4720 --enable-newlib-io-long-long and --enable-newlib-io-long-double
4721 which tie to new defines in newlib.hin.
4722 * configure: Regenerated.
4723 * configure.host: Add checks for new configuration options. Also
4724 fix up check for --enable-newlib-io-pos-args so configuration
4725 option will override any default for a given platform.
4726 Remove defining compiler flags for the _WANT_IO* options.
4727 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
4728 instead of looking for old compiler flags.
4729 * libc/stdio/vfscanf.c: Ditto.
4730 * libc/stdio/vfieeefp.h: Ditto.
4731 * libc/machine/powerpc/vfprintf.c: Ditto.
4732 * libc/machine/powerpc/vfscanf.c: Ditto.
4733
4734 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
4735
4736 * testsuite/include/check.h: Add include of <stdio.h>.
4737
4738 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
4739
4740 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
4741
4742 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4743
4744 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4745 of free.
4746
4747 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4748
4749 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4750 list for reentrant pointer. Call _vfiprintf_r.
4751 * libc/stdio/siprintf.c (_siprintf_r): New function.
4752 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4753 pointer argument. Change all callers. Call _VFPRINTF_R.
4754 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4755 prototypes.
4756
4757 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4758
4759 * libc/include/sys/param.h: Remove endian info and include
4760 <machine/endian.h> instead.
4761 * libc/include/machine/endian.h: New file.
4762 * libc/include/machine/param.h: Ditto.
4763 * libc/machine/arm/machine/endian.h: Ditto.
4764 * libc/machine/arm/machine/param.h: Ditto.
4765 * libc/sys/arm/sys/param.h: Removed.
4766 * libc/sys/sysvi386/sys/param.h: Ditto.
4767 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
4768
4769 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4770
4771 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
4772 multibyte functions return failure for %C, %S, %lc, and %ls
4773 format specifiers.
4774
4775 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4776
4777 * testsuite/include/check.h (CHECK): Add flush of stdout.
4778
4779 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4780
4781 * libc/include/stdio.h (_ungetc_r): New prototype.
4782 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
4783 (__submore): Add reentrant struct pointer argument.
4784 (ungetc): Change to call _ungetc_r.
4785
4786 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4787
4788 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
4789 function pointer argument.
4790 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
4791 to specify function pointer arguments.
4792 (__fwalk, __fwalk_reent): Ditto.
4793
4794 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
4795
4796 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
4797 CT_INT case.
4798
4799 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4800
4801 * configure.in: Define _MB_CAPABLE if mb supported.
4802 * configure: Regenerated.
4803 * configure.host: Remove manual setting of MB_CAPABLE compiler
4804 flag.
4805 * newlib.hin: Add _MB_CAPABLE flag.
4806 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
4807 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
4808 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
4809 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
4810 * libc/ctype/jp2uc.c: Ditto.
4811 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
4812 * libc/locale/locale.c: Ditto
4813 * libc/machine/powerpc/vfscanf.c: Ditto
4814 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
4815 * libc/stdlib/mblen.c: Ditto
4816 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
4817 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
4818 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
4819 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
4820 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
4821 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
4822 * libc/sys/linux/intl/explodename.c: Ditto
4823 * libc/sys/linux/intl/finddomain.c: Ditto
4824 * libc/sys/linux/intl/l10nflist.c: Ditto
4825 * libc/sys/linux/intl/loadmsgcat.c: Ditto
4826 * libc/sys/linux/intl/localealias.c: Ditto
4827
4828 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4829
4830 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
4831 (__svfscanf_r): In integer conversions, leave out leading zeroes
4832 which are not part of a base prefix.
4833 Keep track of width truncation to fit into buf, not counting left-out
4834 zeroes against width till the truncation has been compensated for.
4835 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
4836
4837 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4838
4839 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
4840
4841 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4842
4843 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
4844 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
4845 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
4846 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
4847 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
4848 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
4849 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
4850 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
4851 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
4852 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
4853 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
4854 libc/stdio/getchar.c libc/stdio/getchar_u.c,
4855 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
4856 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
4857 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
4858 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
4859 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
4860 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
4861 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
4862 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
4863 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
4864 libc/stdio/siprintf.c libc/stdio/snprintf.c,
4865 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
4866 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
4867 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
4868 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
4869 libc/stdio/vprintf.c libc/stdio/vscanf.c,
4870 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
4871 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
4872 libc/stdio/wsetup.c: Perform minor formatting changes. Move
4873 copyright notices to top of file, ensure that <_ansi.h> is
4874 included, be consistent with open parentheses, use _DEFUN macro,
4875 include "local.h" where needed, and remove various compiler
4876 warnings.
4877
4878 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
4879
4880 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
4881 (__svfscanf_r): In integer conversions, leave out leading zeroes
4882 which are not part of a base prefix.
4883 Keep track of width truncation to fit into buf, not counting left-out
4884 zeroes against width till the truncation has been compensated for.
4885
4886 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4887
4888 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
4889
4890 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4891
4892 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
4893
4894 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
4895
4896 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
4897 to SUSv3.
4898
4899 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4900
4901 * libc/stdio/fclose.c (_fclose_r): New function.
4902 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
4903 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
4904 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
4905 * libc/include/stdio.h (_fclose_r): New prototype.
4906 * libc/stdio/fopen.c: Fix typo in comment.
4907
4908 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
4909
4910 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
4911 to handle _r reentrant functions.
4912
4913 2004-04-08 Eric Christopher <echristo@redhat.com>
4914
4915 * libc/include/machine/setjmp.h: Fix endif locations.
4916
4917 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4918
4919 * libc/time/strptime.c: Add standard includes to avoid
4920 warning messages at compilation time.
4921
4922 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
4923
4924 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
4925 of file.
4926
4927 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
4928
4929 * libc/machine/h8300/Makefile.am: Reformat slightly.
4930 * libc/machine/h8300/Makefile.in: Regenerate.
4931
4932 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
4933
4934 * libc/stdio/findfp.c (__fp_lock_all): Add call to
4935 __sfp_lock_acquire.
4936 (__fp_unlock_all): Add call to __sfp_lock_release.
4937
4938 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
4939
4940 * libc/stdio/fclose.c (fclose): Protect file pointer list when
4941 releasing a file.
4942 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
4943 fwalk.
4944 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
4945 _flockfile/_funlockfile.
4946 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
4947 to recursive.
4948 Change __lock_acquire/__lock_release calls for __sfp_lock to
4949 __sfp_lock_acquire/__sfp_lock_release throughout.
4950 (std): Make sure that file lock is only initialized once.
4951 (__sfp): Move _file initialization. Initialize file lock.
4952 (__sfp_lock_acquire): New function.
4953 (__sfp_lock_release): Ditto.
4954 (__fp_lock_all): Remove __sfp_lock_acquire call.
4955 (__fp_unlock_all): Remove __sfp_lock_release call.
4956 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
4957 Add calls to _flockfile/_funlockfile. Remove
4958 __lock_init_recursive call.
4959 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
4960 * libc/stdio/fwalk.c (__fwalk): New static function.
4961 (_fwalk): Protect file pointer list. Use __fwalk to walk through
4962 file pointers.
4963 * libc/stdio/local.h: Add defines for
4964 __sfp_lock_acquire/__sfp_lock_release when
4965 single threaded. Add function prototypes otherwise.
4966 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
4967 _flockfile/_funlockfile.
4968 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
4969 Add calls to _flockfile/_funlockfile. Remove
4970 __lock_init_recursive call.
4971 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
4972 list.
4973
4974 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
4975
4976 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
4977 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
4978 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
4979 to be __LOCK_INIT_RECURSIVE.
4980
4981 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
4982
4983 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
4984 _exit.c with _exit.S.
4985 * libc/sys/h8300hms/Makefile.in: Regenerate.
4986 * libc/sys/h8300hms/_exit.c: Remove.
4987 * libc/sys/h8300hms/_exit.S: New.
4988
4989 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
4990
4991 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
4992 Change __sfp_lock to static global.
4993 (__fp_lock): New static function.
4994 (__fp_unlock): Ditto.
4995 (__fp_lock_all): New function.
4996 (__fp_unlock_all): Ditto.
4997
4998 2004-02-10 Christopher Faylor <cgf@redhat.com>
4999
5000 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
5001 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
5002 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
5003 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
5004
5005 2004-02-09 Christopher Faylor <cgf@redhat.com>
5006
5007 * libc/include/time.h (TIMER_RELTIME): New define.
5008
5009 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
5010
5011 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
5012 * libc/stdlib/Makefile.in: Regenerated.
5013
5014 2004-02-08 Christopher Faylor <cgf@redhat.com>
5015
5016 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
5017 * libc/include/sys/reent.h (__getreent): Protect against possibly being
5018 defined.
5019 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
5020
5021 2004-02-05 Paul Brook <paul@codesourcery.com>
5022
5023 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
5024 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
5025
5026 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
5027
5028 * NEWS: Update with 1.12.0 info.
5029 * README: Ditto.
5030 * acinclude.m4: Change version number to 1.12.0.
5031 * aclocal.m4: Regenerated.
5032 * configure: Ditto.
5033 * doc/aclocal.m4: Ditto.
5034 * doc/configure: Ditto.
5035 * libc/*/aclocal.m4: Ditto.
5036 * libc/*/configure: Ditto.
5037 * libc/libc.texinfo: Ditto.
5038 * libm/*/aclocal.m4: Ditto.
5039 * libm/*/configure: Ditto.
5040 * libm/libm.texinfo: Ditto.
5041 * libc/sys/linux/shared.ld: Add VERS_1.12.
5042
5043 2004-02-02 Joel Sherrill <joel@oarcorp.com>
5044
5045 * configure.host: Add support for tic4x.
5046 * libc/include/machine/ieeefp.h: Ditto.
5047 * libc/include/machine/setjmp.h: Ditto.
5048 * libc/machine/tic4x/Makefile.am: New file.
5049 * libc/machine/tic4x/configure.in: Ditto.
5050 * libc/machine/tic4x/setjmp.S: Ditto.
5051 * libc/machine/tic4x/aclocal.m4: Generated.
5052 * libc/machine/tic4x/configure: Ditto.
5053 * libc/machine/tic4x/Makefile.in: Ditto.
5054
5055 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
5056
5057 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
5058 file chain on the passed in reentrancy struct if it
5059 is _GLOBAL_REENT.
5060
5061 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5062 Jeff Johnston <jjohnstn@redhat.com>
5063
5064 * libc/iconv/iconv.tex: Updated with more information.
5065
5066 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
5067 Jeff Johnston <jjohnstn@redhat.com>
5068
5069 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5070 struct for std streams and traverse the global reeentrancy
5071 struct for all other streams.
5072
5073 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5074
5075 * libc/stdlib/atexit.c: Protect global atexit list with a
5076 lock when newlib is multithreaded.
5077
5078 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5079
5080 * configure.in: Add support to generate iconv converter flags
5081 for newlib.h
5082 * newlib.hin: Add iconv converter flags.
5083 * configure: Regenerated.
5084 * libc/Makefile.in: Ditto.
5085 * libc/configure.in: Moved iconv converter parsing logic to
5086 top level newlib configure.in.
5087 * libc/configure: Regenerated.
5088 * libc/iconv/Makefile.in: Ditto.
5089 * libc/iconv/README.TODO
5090 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5091 UCS2/UCS4/UTF8.
5092 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5093 newlib.h can be used.
5094 * libc/iconv/ces/Makefile.am: Ditto.
5095 * libc/iconv/lib/Makefile.am: Ditto.
5096 * libc/iconv/ccs/Makefile.in: Regenerated.
5097 * libc/iconv/ces/Makefile.in: Ditto.
5098 * libc/iconv/lib/Makefile.in: Ditto.
5099 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5100 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5101 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5102 defined in newlib.h.
5103 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5104 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5105 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5106 * libc/iconv/ccs/cp775.c: Ditto.
5107 * libc/iconv/ccs/cp850.c: Ditto.
5108 * libc/iconv/ccs/cp852.c: Ditto.
5109 * libc/iconv/ccs/cp855.c: Ditto.
5110 * libc/iconv/ccs/cp866.c: Ditto.
5111 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5112 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5113 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5114 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5115 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5116 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5117 * libc/iconv/ccs/jis_x0201.c: Ditto.
5118 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5119 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5120 * libc/iconv/ccs/koi8_r.c: Ditto.
5121 * libc/iconv/ccs/koi8_u.c: Ditto.
5122 * libc/iconv/ccs/ksx1001.c: Ditto.
5123 * libc/iconv/ccs/shift_jis.c: Ditto.
5124 * libc/iconv/ccs/us_ascii.c: Ditto.
5125 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5126 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5127 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5128 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5129 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5130 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5131 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5132 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5133 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5134 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5135 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5136 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5137 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5138 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5139 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5140 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5141 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5142 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5143 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5144 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5145 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5146 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5147 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5148 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
5149 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
5150 * libc/iconv/ces/euc-kr.c: Ditto.
5151 * libc/iconv/ces/euc-tw.c: Ditto.
5152 * libc/iconv/ces/gb2312.c: Ditto.
5153 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
5154 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5155 * libc/iconv/ces/ucs-2-internal.c: Ditto.
5156 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5157 * libc/iconv/ces/utf-16.c: Ditto.
5158 * libc/iconv/ces/utf-8.c: Ditto.
5159 * libc/iconv/lib/aliases.c: Ditto.
5160 * libc/iconv/lib/biccs.c: Ditto.
5161 * libc/iconv/lib/bices.c: Ditto.
5162 * libc/iconv/lib/ccs.c: Ditto.
5163 * libc/iconv/lib/ces.c: Ditto.
5164 * libc/iconv/lib/ces_euc.c: Ditto.
5165 * libc/iconv/lib/ces_iso2022.c: Ditto.
5166 * libc/iconv/lib/ces_table.c: Ditto.
5167 * libc/iconv/lib/converter.c: Ditto.
5168 * libc/iconv/lib/deps.h: Ditto.
5169 * libc/iconv/lib/endian.h: Ditto.
5170 * libc/iconv/lib/iconv.c: Ditto.
5171 * libc/iconv/lib/loaddata.c: Ditto.
5172 * libc/iconv/lib/local.h: Include newlib.h.
5173 * libc/argz/Makefile.in: Regenerated.
5174 * libc/ctype/Makefile.in: Ditto.
5175 * libc/errno/Makefile.in: Ditto.
5176 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5177 * libc/locale/Makefile.in: Ditto.
5178 * libc/misc/Makefile.in: Ditto.
5179 * libc/posix/Makefile.in: Ditto.
5180 * libc/reent/Makefile.in: Ditto.
5181 * libc/search/Makefile.in: Ditto.
5182 * libc/signal/Makefile.in: Ditto.
5183 * libc/stdio/Makefile.in: Ditto.
5184 * libc/stdio64/Makefile.in: Ditto.
5185 * libc/stdlib/Makefile.in: Ditto.
5186 * libc/string/Makefile.in: Ditto.
5187 * libc/syscalls/Makefile.in: Ditto.
5188 * libc/time/Makefile.in: Ditto.
5189 * libc/unix/Makefile.in: Ditto.
5190 * testsuite/newlib.iconv/iconv.exp: New file.
5191 * testsuite/newlib.iconv/iconvjp.c: Ditto.
5192 * testsuite/newlib.iconv/iconvnm.c: Ditto.
5193 * testsuite/newlib.iconv/iconvru.c: Ditto.
5194
5195 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5196
5197 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
5198 (--enable-newlib-builtin-converters): Ditto.
5199 * configure.in: Add code to set _ICONV_ENABLED flag.
5200 Set _MB_LEN_MAX to 1 if not mb enabled.
5201 * configure: Regenerated.
5202 * aclocal.m4: Ditto.
5203 * Makefile.in: Ditto.
5204 * newlib.hin: Add _ICONV_ENABLED flag.
5205 * libc/Makefile.am: Add support for iconv.
5206 * libc/configure.in: Ditto.
5207 * libc/Makefile.in: Regenerated.
5208 * libc/aclocal.m4: Ditto.
5209 * libc/configure: Ditto.
5210 * libc/libc.texinfo: Add iconv documentation.
5211 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
5212 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
5213 libc/iconv/README.TODO, libc/iconv/charset.aliases,
5214 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
5215 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
5216 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
5217 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
5218 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
5219 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
5220 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
5221 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
5222 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
5223 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
5224 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
5225 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
5226 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
5227 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
5228 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
5229 libc/iconv/ccs/binary/big5.cct,
5230 libc/iconv/ccs/binary/cns11643_plane1.cct,
5231 libc/iconv/ccs/binary/cns11643_plane14.cct,
5232 libc/iconv/ccs/binary/cns11643_plane2.cct,
5233 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
5234 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
5235 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
5236 libc/iconv/ccs/binary/iso_8859_1.cct,
5237 libc/iconv/ccs/binary/iso_8859_15.cct,
5238 libc/iconv/ccs/binary/iso_8859_2.cct,
5239 libc/iconv/ccs/binary/iso_8859_4.cct,
5240 libc/iconv/ccs/binary/iso_8859_5.cct,
5241 libc/iconv/ccs/binary/jis_x0201.cct,
5242 libc/iconv/ccs/binary/jis_x0208_1983.cct,
5243 libc/iconv/ccs/binary/jis_x0212_1990.cct,
5244 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
5245 libc/iconv/ccs/binary/ksx1001.cct,
5246 libc/iconv/ccs/binary/shift_jis.cct,
5247 libc/iconv/ccs/binary/us_ascii.cct,
5248 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
5249 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
5250 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
5251 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
5252 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
5253 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
5254 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
5255 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
5256 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
5257 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
5258 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
5259 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
5260 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
5261 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
5262 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
5263 * libc/sys/linux/include/iconv.h: Ditto.
5264 * libc/include/sys/_types.h (_iconv_t): Added.
5265 * doc/aclocal.m4: Regenerated.
5266 * doc/configure: Ditto.
5267 * doc/Makefile.in: Ditto.
5268 * iconvdata/Makefile.in: Ditto.
5269 * iconvdata/aclocal.m4: Ditto.
5270 * iconvdata/configure: Ditto.
5271 * libc/*aclocal.m4: Ditto.
5272 * libc/*Makefile.in: Ditto.
5273 * libc/*configure: Ditto.
5274 * libm/*aclocal.m4: Ditto.
5275 * libm/*Makefile.in: Ditto.
5276 * libm/*configure: Ditto.
5277
5278 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
5279
5280 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
5281 by a lock when newlib is multithreaded.
5282
5283 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
5284
5285 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
5286 pointer to match C99 spec.
5287 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
5288 dst is NULL. Also fix to not alter src pointer when dst is NULL
5289 and call _mbrtowc_r instead of _mbtowc_r.
5290 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
5291 of _wctomb_r.
5292
5293 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
5294
5295 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
5296 * libc/stdio/freopen.c (freopen): Ditto.
5297
5298 2004-01-16 Christopher Faylor <cgf@redhat.com>
5299
5300 * libc/stdio/vfprintf.c: Add sys/lock.h include.
5301
5302 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
5303
5304 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
5305 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
5306 Add calls to __lock_init_recursive and __lock_close_recursive
5307 instead.
5308
5309 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
5310
5311 * libc/stdio/fclose.c: Include sys/lock.h.
5312 (fclose): Destroy lock when file is closed.
5313 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
5314 member.
5315 * libc/stdio/freopen.c: Include sys/lock.h.
5316 (_freopen_r): Destroy lock when file is closed.
5317 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
5318 _lock member.
5319
5320 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5321
5322 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
5323 Remove warnings.
5324
5325 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5326
5327 * libc/sys/rtems/sys/queue.h: New file.
5328 * libc/include/sys/signal.h: Reflect renumbering of signals to
5329 fit into 32-bit mask.
5330 * libc/include/sys/unistd.h: Add fdatasync() prototype.
5331 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
5332 required. In particular, add the reentrant variants of libc calls.
5333 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
5334
5335 2004-01-06 Mark Mitchell <mark@codesourcery.com>
5336
5337 * libc/sys/arm/syscalls.c (unistd.h): Include it.
5338 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
5339 Similarly for stdout and stderr.
5340
5341 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
5342
5343 * libc/libc.texinfo: Correct escape character for @ sign
5344 so file will be processed by make info. Update copyright years.
5345 * libm/libm.texinfo: Ditto.
5346
5347 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5348
5349 * libc/include/sys/stat.h: No longer include stat-dj.h.
5350 * libc/include/sys/stat-dj.h: Removed.
5351
5352 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5353
5354 * libc/include/wchar.h: Include <sys/reent.h>.
5355
5356 2003-12-05 Christopher Faylor <cgf@redhat.com>
5357
5358 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
5359 when defining _mbrtowc.
5360 * libc/stdlib/mbsinit.c: Ditto.
5361 * libc/stdlib/mbsrtowcs.c: Ditto.
5362 * libc/stdlib/wcrtomb.c: Ditto.
5363 * libc/stdlib/wcsrtombs.c: Ditto.
5364 * libc/stdlib/wctob.c: Ditto.
5365
5366 2003-12-05 Christopher Faylor <cgf@redhat.com>
5367
5368 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
5369 errors when defining _mbrtowc.
5370 * libc/stdlib/mbsinit.c: Ditto.
5371 * libc/stdlib/mbsrtowcs.c: Ditto.
5372
5373 2003-12-05 Christopher Faylor <cgf@redhat.com>
5374
5375 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
5376 errors when defining _mbrtowc.
5377
5378 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5379
5380 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
5381 of mb routines for %lc and %ls support.
5382 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
5383 %ls, and %S support. Remove CYGNUS_NEC markers and
5384 code within.
5385
5386 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
5387
5388 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
5389 _wcrtomb_r, and _wcsrtombs_r.
5390
5391 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
5392
5393 * libc/include/sys/fcntl.h: Don't define struct flock when on
5394 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
5395
5396 2003-11-28 Christopher Faylor <cgf@redhat.com>
5397
5398 * libc/include/sys/signal.h: Use system specific signal file when
5399 building on cygwin.
5400
5401 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5402
5403 * libc/include/stdlib.h (_atoi_r): New prototype.
5404 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
5405
5406 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5407
5408 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
5409 * libc/stdlib/atol.c (_atol_r): New reentrant function.
5410 * libc/stdlib/atoll.c (_atoll_r): Ditto.
5411
5412 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5413 Jeff Johnston <jjohnstn@redhat.com>
5414
5415 * libc/include/stdlib.h (lldiv_t): New type.
5416 (atoll, llabs, lldiv): New prototypes.
5417 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
5418 * libc/stdlib/stdlib.tex: Ditto.
5419 * libc/stdlib/Makefile.in: Regenerated.
5420 * libc/stdlib/atoll.c: New file.
5421 * libc/stdlib/llabs.c: Ditto.
5422 * libc/stdlib/lldiv.c: Ditto.
5423
5424 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
5425
5426 * libc/include/fcntl.h: Declare syscalls only when building newlib.
5427 * libc/include/unistd.h: Ditto.
5428 * libc/include/stat.h: Ditto. Also declare struct stat64.
5429
5430 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5431
5432 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
5433 specifier to use ch instead of *fmt.
5434
5435 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5436
5437 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
5438 code within checks for MB_CAPABLE. For non-mb-capable platforms,
5439 use simple byte logic.
5440
5441 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
5442
5443 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
5444 _strtold routine for processing floats and doubles since it
5445 is not as fast as _strtod_r.
5446
5447 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
5448
5449 * libc/machine/h8300/defines.h : Correct pointer register defines
5450 for normal mode.
5451 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
5452 for normal mode.
5453 * libc/machine/h8300/reg_memcpy.S : Likewise.
5454 * libc/machine/h8300/reg_memset.S : Likewise.
5455 * libc/machine/h8300/strcmp.S : Likewise.
5456
5457 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
5458
5459 * configure.host: Enable positional arguments for printf
5460 family for Cygwin.
5461 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5462 pointer reference for quad_ptr_t.
5463
5464 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5465
5466 * libc/stdio/scanf.c: Don't include local.h more than once.
5467
5468 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
5469
5470 * libc/include/sys/fcntl.h: Declare _open64.
5471 * libc/include/sys/stat.h: Declare _fstat64.
5472 * libc/include/sys/unistd.h: Declare _lseek64.
5473
5474 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
5475
5476 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5477 (setprogname): Ditto.
5478
5479 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5480
5481 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5482 to use (Ebits + 1) which accounts for the sign-bit.
5483
5484 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5485
5486 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
5487 x86 build.
5488 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5489 and set up default flags to pass to aclocal.
5490 * iconvdata/Makefile.in: Regenerated.
5491 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5492 and getpwuid routines.
5493 * libc/sys/linux/Makefile.in: Regenerated.
5494 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5495 applications to link with newlib's shared libc library.
5496 * libc/sys/linux/getpwnam.c: Ditto.
5497 * libc/sys/linux/getpwuid.c: Ditto.
5498 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5499 that were formerly supplied by /usr/include/linux/types.h with
5500 kernel types.
5501 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5502 test _ELIX_LEVEL macro.
5503
5504 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5505
5506 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5507 referring to _NO_LONGLONG macro.
5508
5509 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5510
5511 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5512 in LOG() macro so this will compile on gcc 3.4 and up.
5513 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5514 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5515 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5516 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5517 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5518 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5519 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5520 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5521 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5522 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5523 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5524 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5525 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5526 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5527 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5528 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5529 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5530 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5531 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5532 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5533 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5534 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5535 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5536 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5537 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5538 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5539 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5540 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5541 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5542 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5543 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5544 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5545 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5546 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5547 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5548 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5549
5550 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5551 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5552
5553 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5554 %ls, %S, %lc, and %C format specifiers.
5555 (get_arg): Ditto.
5556 * libc/stdio/sprintf.c: Add documentation regarding new
5557 format specifiers added in vfprintf.c.
5558
5559 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5560
5561 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5562 to make code work as specified in standard.
5563
5564 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5565
5566 * configure.in: Use absolute newlib basedir when forming
5567 CC_FOR_NEWLIB include options.
5568 * configure: Regenerated.
5569
5570 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5571
5572 * libc/string/wcsnlen.c: New file.
5573 * libc/include/wchar.h: Add wcsnlen prototype.
5574 * libc/string/Makefile.am: Add wcsnlen support.
5575 * libc/string/Makefile.in: Regenerated.
5576 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5577
5578 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
5579
5580 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5581
5582 2003-10-20 Bob Wilson <bob.wilson@acm.org>
5583
5584 * libc/locale/locale.c: Use double quotes in code.
5585 * libc/locale/locale.tex: Likewise.
5586 * libc/libc.texinfo: Hyphenate "floating-point".
5587 * libc/machine/necv70/necv70.tex: Likewise.
5588 * libc/stdio/sprintf.c: Likewise.
5589 * libc/stdio/sscanf.c: Likewise.
5590 * libc/stdlib/atof.c: Likewise.
5591 * libc/stdlib/ldtoa.c: Fix comment typo.
5592 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5593 * libc/stdlib/ldiv.c: Likewise.
5594 * libm/common/s_expm1.c: Likewise.
5595 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5596 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5597 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5598 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5599 and "floating-point".
5600 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5601 * libm/math/e_pow.c: Fix comment typo.
5602 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5603 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5604 * libm/math/s_atan.c: Likewise.
5605 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5606 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5607 "floating-point". Use "nonzero".
5608 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5609 * libm/math/w_acos.c: Likewise.
5610 * libm/math/w_acosh.c: Likewise.
5611 * libm/math/w_asin.c: Likewise.
5612 * libm/math/w_atan2.c: Likewise.
5613 * libm/math/w_atanh.c: Likewise.
5614 * libm/math/w_cosh.c: Likewise.
5615 * libm/math/w_exp.c: Likewise.
5616 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5617 version of 2^x in the description.
5618 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5619 * libm/math/w_gamma.c: Likewise.
5620 * libm/math/w_hypot.c: Likewise.
5621 * libm/math/w_j0.c: Likewise.
5622 * libm/math/w_sinh.c: Likewise.
5623 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5624 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5625 "floating-point".
5626 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5627 * libm/mathfp/e_atanh.c: Likewise.
5628 * libm/mathfp/e_hypot.c: Likewise.
5629 * libm/mathfp/er_lgamma.c: Likewise.
5630 * libm/mathfp/s_acos.c: Likewise.
5631 * libm/mathfp/s_asine.c: Likewise.
5632 * libm/mathfp/s_asinh.c: Likewise.
5633 * libm/mathfp/s_atan.c: Likewise.
5634 * libm/mathfp/s_atan2.c: Likewise.
5635 * libm/mathfp/s_atangent.c: Likewise.
5636 * libm/mathfp/s_cosh.c: Likewise.
5637 * libm/mathfp/s_exp.c: Likewise.
5638 * libm/mathfp/s_fmod.c: Likewise.
5639 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5640 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5641 "floating-point". Use "nonzero".
5642 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5643 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5644 * libm/mathfp/s_sineh.c: Likewise.
5645 * libm/mathfp/w_jn.c: Likewise.
5646
5647 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
5648
5649 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5650 lines, to enable parallel make.
5651 * Makefile.in: Rebuilt.
5652
5653 2003-10-14 Christopher Faylor <cgf@redhat.com>
5654
5655 * libc/time/clock.c: Clarify documentation of return value when no
5656 measurement is available.
5657
5658 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5659
5660 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5661 * libm/configure: Regenerate.
5662 * libm/Makefile.in: Ditto.
5663
5664 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5665
5666 * libc/machine/sh/strncpy.S: New file.
5667 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5668 * libc/machine/sh/Makefile.in: Regenerate.
5669
5670 2003-09-11 James E Wilson <wilson@specifixinc.com>
5671
5672 * MAINTAINERS: Update my e-mail address.
5673
5674 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
5675
5676 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5677
5678 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5679
5680 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5681 prototype.
5682 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5683 _simdldcheck(). Also add unsigned cast for index variable in
5684 for loop using sizeof operators.
5685 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5686 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5687 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5688 plus fix shift calculation for determining if there is a
5689 carry from word2.
5690
5691 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
5692
5693 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5694 setgroupent for Cygwin.
5695
5696 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5697
5698 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5699 is different for _REENT_SMALL than when using regular reent
5700 struct.
5701
5702 2003-09-05 Ben Elliston <bje@wasabisystems.com>
5703
5704 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5705 modern versions of GCC issue a warning.
5706
5707 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5708 after continuation characters that induces a warning from modern
5709 versions of GCC.
5710
5711 2003-09-04 Ben Elliston <bje@wasabisystems.com>
5712
5713 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
5714 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
5715
5716 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
5717
5718 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
5719 * libc/stdlib/exit.c : Ditto.
5720 * libc/stdlib/on_exit.c: Ditto.
5721
5722 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
5723
5724 * libc/include/reent.h: Define stat64 as __stat64 when
5725 compiling newlib for Cygwin.
5726
5727 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5728
5729 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
5730 __stat64 when compiling newlib.
5731
5732 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5733
5734 * libc/include/stdio.h: Allow the io64 function prototypes for
5735 Cygwin when compiling newlib.
5736 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
5737 to expose the Cygwin struct __stat64 type.
5738 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
5739 pointer.
5740 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
5741
5742 2003-08-23 Christopher Faylor <cgf@redhat.com>
5743
5744 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5745 definition to fseeko64.
5746
5747 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5748
5749 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5750 * libc/stdio: Globally remove/replace all references to fp->_data.
5751 Replace with _REENT or _GLOBAL_REENT where appropriate.
5752 * libc/stdio/asprintf.c: Ditto.
5753 * libc/stdio/fclose.c: Ditto.
5754 * libc/stdio/fvwrite.c: Ditto.
5755 * libc/stdio/makebuf.c: Ditto.
5756 * libc/stdio/refill.c: Ditto.
5757 * libc/stdio/local.h: Ditto.
5758 * libc/stdio/setvbuf.c: Ditto.
5759 * libc/stdio/sscanf.c: Ditto.
5760 * libc/stdio/stdio.c: Ditto.
5761 * libc/stdio/ungetc.c: Ditto.
5762 * libc/stdio/vfscanf.c: Ditto.
5763 * libc/stdio/vsscanf.c: Ditto.
5764 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
5765 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
5766 * libc/stdio/vsnprintf.c: Ditto.
5767 * libc/stdio/vsprintf.c: Ditto.
5768 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
5769 instead of _REENT to walk file list.
5770 * libc/stdio/fflush.c: Ditto.
5771 * libc/stdio/fgetpos.c: Add reentrant version and have regular
5772 version call reentrant version with _REENT argument.
5773 * libc/stdio/fsetpos.c: Ditto.
5774 * libc/stdio/fseek.c: Ditto.
5775 * libc/stdio/fseeko.c: Ditto.
5776 * libc/stdio/ftell.c: Ditto.
5777 * libc/stdio/ftello.c: Ditto.
5778 * libc/stdio/freopen.c: Ditto.
5779 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
5780 new files to chain. Also use _GLOBAL_REENT pointer for
5781 cleaning up.
5782 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
5783 * libc/stdio/siprintf.c: Ditto.
5784 * libc/stdio/iprintf.c: Ditto.
5785 * libc/stdio/fprintf.c: Ditto.
5786 * libc/stdio/printf.c: Ditto.
5787 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
5788 * libc/stdio/sprintf.c: Ditto.
5789 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
5790 * libc/stdio/rewind.c: Call _fseek_r directly.
5791 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
5792 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
5793 data pointer.
5794 (get_arg): Add extra struct _reent pointer argument.
5795 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
5796 to fp->_data.
5797 * libc/stdio64/fopen64.c: Ditto.
5798 * libc/stdio64/freopen64.c: Ditto.
5799 * libc/stdio64/fsetpos64.c: Ditto.
5800 * libc/stdio64/ftello64.c: Ditto.
5801 * libc/stdio64/local64.h: Ditto.
5802 * libc/stdio64/stdio64.c: Ditto.
5803 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
5804 _fstat64_r for the meantime.
5805
5806 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
5807
5808 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
5809 overflow detection.
5810
5811 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
5812
5813 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
5814 extern "C".
5815
5816 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
5817
5818 * libc/include/math.h: Add prototypes for __signbitf and
5819 __signbitd.
5820
5821 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
5822
5823 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
5824 correct type of conversion when dealing with EUCJP or SJIS.
5825 * libc/ctype/iswblank.c: Ditto.
5826 * libc/ctype/iswcntrl.c: Ditto.
5827 * libc/ctype/iswprint.c: Ditto.
5828 * libc/ctype/iswpunct.c: Ditto.
5829 * libc/ctype/iswspace.c: Ditto.
5830 * libc/ctype/towlower.c: Ditto.
5831 * libc/ctype/towupper.c: Ditto.
5832
5833 2003-07-31 Nick Clifton <nickc@redhat.com>
5834
5835 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
5836 before calling main, in case it saves its argument registers.
5837 Remove reference to deleted v850ea port.
5838 * configure.host: Remove reference to deleted v850ea port.
5839 Do not use -mv850 when building for v850e target. This
5840 prevents the ctbp system register from being initialised.
5841
5842 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
5843
5844 * libc/stdio/vfprintf.c: Set output size to 1 when
5845 we have %f format with precision 0 and # flag not specified.
5846
5847 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
5848
5849 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
5850 .am33_2.
5851
5852 2003-07-25 Christopher Faylor <cgf@redhat.com>
5853
5854 * libc/stdio64/fdopen64.c: Include sys/lock.h.
5855
5856 2003-07-25 Christopher Faylor <cgf@redhat.com>
5857
5858 * configure.host: Find cygwin include directory, when appropriate.
5859
5860 2003-07-24 Christopher Faylor <cgf@redhat.com>
5861
5862 * libc/stdio64/fdopen64.c: New file.
5863 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
5864 * libc/stdio64/Makefile.in: Regenerate.
5865 * libc/include/stdio.h (fdopen64): Define.
5866 * libc/include/stdio.h (_fdopen64_r): Ditto.
5867
5868 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
5869
5870 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
5871 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
5872 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
5873 restore callee-saved FP registers.
5874
5875 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
5876
5877 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
5878 for __sh__.
5879 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
5880 truncate.c.
5881 * libc/sys/sh/Makefile.in: Regenerate.
5882 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
5883 * libc/sys/sh/ftruncate.c: New file.
5884 * libc/sys/sh/truncate.c: Likewise.
5885
5886 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
5887
5888 * libc/include/math.h (nan, nanf): Update prototype to C99.
5889 * libm/common/s_nan.c (nan): Likewise.
5890 * libm/common/s_nanf.c (nanf, nan): Likewise.
5891 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
5892
5893 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
5894
5895 * libc/include/stdbool.h: Removed as this is defined by gcc.
5896
5897 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
5898
5899 * libc/include/stdbool.h: New header file defined by C99.
5900
5901 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5902
5903 * libc/include/sys/types.h (int8_t): Make signed.
5904
5905 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5906
5907 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
5908
5909 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
5910
5911 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
5912 on if we actually created the shared memory file exclusively.
5913
5914 2003-06-27 Joe Vornehm <joev@mitre.org>
5915
5916 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
5917 comparisons to account for unsigned internal value w.
5918
5919 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
5920
5921 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
5922 wrbuf for a non-creating open.
5923
5924 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
5925
5926 * libc/machine/h8300/setarch.h: New.
5927 * libc/machine/h8300/memcpy.S: Use it.
5928 * libc/machine/h8300/memset.S: Likewise.
5929 * libc/machine/h8300/reg_memcpy.S: Likewise.
5930 * libc/machine/h8300/reg_memset.S: Likewise.
5931 * libc/machine/h8300/setjmp.S: Likewise.
5932 * libc/machine/h8300/strcmp.S: Likewise.
5933
5934 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
5935
5936 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
5937 to atexit().
5938
5939 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5940
5941 * configure.host (iq2000): Add tabs.
5942
5943 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5944
5945 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
5946 to handle latest on_exit change.
5947 * libc/sys/linux/Makefile.am: Remove special compilation
5948 for malloc.c and mcheck.c.
5949 * libc/sys/linux/Makefile.in: Regenerated.
5950 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
5951 after including <features.h>.
5952 * libc/sys/linux/mcheck.c: Ditto.
5953 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
5954 for <features.h>.
5955 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
5956 add -DNOT_IN_libc to C flags.
5957 * libc/sys/linux/intl/Makefile.in: Regenerated.
5958 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
5959 * libc/sys/linux/linuxthreads/semaphore.h: Include
5960 <bits/pthreadtypes.h>.
5961 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
5962 including <features.h>.
5963 * libc/sys/linux/sys/lock.h: Ditto.
5964
5965 2003-06-11 Nick Clifton <nickc@redhat.com>
5966
5967 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
5968 _on_exit_args_ptr.
5969
5970 2003-06-10 Stan Cox <scox@redhat.com>
5971 Anthony Green <green@redhat.com>
5972
5973 * configure.host: Add iq2000 support.
5974 * newlib/libc/include/machine/ieeefp.h: Ditto.
5975 * newlib/libc/include/machine/setjmp.h: Ditto.
5976 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
5977 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
5978 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
5979 libc/machine/iq2000/Makefile.in: New files.
5980
5981 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
5982
5983 * libc/sys/h8300hms/setarch.h: New file.
5984 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
5985 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
5986 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
5987 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
5988
5989 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
5990
5991 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
5992 definition.
5993 * libc/argz/argz_add_sep.c: Ditto.
5994 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
5995 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
5996 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
5997 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
5998 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
5999 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
6000 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
6001 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
6002 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
6003 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
6004 * libc/posix/execl.c libc/posix/execle.c: Ditto.
6005 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
6006 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
6007 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
6008 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
6009 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
6010 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
6011 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
6012 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
6013 * libc/search/twalk.c libc/signal/signal.c: Ditto.
6014
6015 2003-06-05 Nick Clifton <nickc@redhat.com>
6016
6017 * libc/include/sys/reent.h (struct _on_exit_args): New
6018 structure containing fields used by the on_exit() function.
6019 (struct _atexit): Include struct _on_exit_args. For
6020 _REENT_SMALL do his via a pointer that is initialised when
6021 needed.
6022 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
6023 structure, if one has been allocated.
6024 * libc/stdlib/atexit.c (atexit): Update indirection to
6025 _fntypes field.
6026 * libc/stdlib/on_exit.c (on_exit): Indirect via the
6027 _on_exit_args structure. For _REENT_SMALL, allocate a
6028 structure if one does not exist.
6029 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
6030 structure.
6031
6032 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
6033
6034 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
6035 * libc/sys/linux/net/Makefile.in: Regenerated.
6036
6037 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
6038
6039 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
6040 * libc/reent/fcntlr.c: Ditto.
6041 * libc/reent/fstat64r.c: Ditto.
6042 * libc/reent/linkr.c: Ditto.
6043 * libc/reent/lseek64r.c: Ditto.
6044 * libc/reent/lseekr.c: Ditto.
6045 * libc/reent/openr.c: Ditto.
6046 * libc/reent/readr.c: Ditto.
6047 * libc/reent/reent.c: Ditto.
6048 * libc/reent/sbrkr.c: Ditto.
6049 * libc/reent/signalr.c: Ditto.
6050 * libc/reent/signgam.c: Ditto.
6051 * libc/reent/statr.c: Ditto.
6052 * libc/reent/timer.c: Ditto.
6053 * libc/reent/unlinkr.c: Ditto.
6054 * libc/reent/writer.c: Ditto.
6055 * libc/syscalls/sysclose.c: Ditto.
6056 * libc/syscalls/sysexecve.c: Ditto.
6057 * libc/syscalls/sysfcntl.c: Ditto.
6058 * libc/syscalls/sysfork.c: Ditto.
6059 * libc/syscalls/sysfstat.c: Ditto.
6060 * libc/syscalls/sysgetpid.c: Ditto.
6061 * libc/syscalls/sysgettod.c: Ditto.
6062 * libc/syscalls/syskill.c: Ditto.
6063 * libc/syscalls/syslink.c: Ditto.
6064 * libc/syscalls/syslseek.c: Ditto.
6065 * libc/syscalls/sysopen.c: Ditto.
6066 * libc/syscalls/sysread.c: Ditto.
6067 * libc/syscalls/syssbrk.c: Ditto.
6068 * libc/syscalls/sysstat.c: Ditto.
6069 * libc/syscalls/systimes.c: Ditto.
6070 * libc/syscalls/sysunlink.c: Ditto.
6071 * libc/syscalls/syswait.c: Ditto.
6072 * libc/syscalls/syswrite.c: Ditto.
6073
6074 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6075
6076 * libc/time/tzset_r.c: Change local variables that are
6077 set via sscanf using the %h format specifier to be unsigned short
6078 instead of int.
6079
6080 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6081
6082 * configure.host: Allow i[34567]86 variant.
6083 * configure.in: Likewise.
6084 * README: Likewise to the docs.
6085 * configure: Regenerated.
6086 * Makefile.in: Ditto.
6087
6088 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6089 Tom Fitzsimmons <fitzsim@redhat.com>
6090
6091 * configure.in: Add iconvdata support for x86 linux.
6092 * configure: Regenerated.
6093 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
6094 library, iconv, and linuxthreads support.
6095 * libc/sys/linux/configure.in: Ditto.
6096 * libc/sys/linux/Makefile.in: Regenerated.
6097 * libc/sys/linux/configure: Ditto.
6098 * iconvdata/EUC-JP.irreversible: New file.
6099 * iconvdata/Makefile.am: Ditto.
6100 * iconvdata/Makefile.in: Ditto.
6101 * iconvdata/SJIS.irreversible: Ditto.
6102 * iconvdata/aclocal.m4: Ditto.
6103 * iconvdata/configure: Ditto.
6104 * iconvdata/configure.in: Ditto.
6105 * iconvdata/dummy.c: Ditto.
6106 * iconvdata/euc-jp.c: Ditto.
6107 * iconvdata/gconv-modules: Ditto.
6108 * iconvdata/jis0201.c: Ditto.
6109 * iconvdata/jis0201.h: Ditto.
6110 * iconvdata/jis0208.c: Ditto.
6111 * iconvdata/jis0208.h: Ditto.
6112 * iconvdata/jis0212.c: Ditto.
6113 * iconvdata/jis0212.h: Ditto.
6114 * iconvdata/sjis.c: Ditto.
6115 * libc/include/errno.h: Protect definition of error_t.
6116 * libc/sys/linux/gethostid.c: New file.
6117 * libc/sys/linux/sethostid.c: Ditto.
6118 * libc/sys/linux/dl/Makefile.am: Ditto.
6119 * libc/sys/linux/dl/Makefile.in: Ditto.
6120 * libc/sys/linux/dl/abi-tag.h: Ditto.
6121 * libc/sys/linux/dl/atomicity.h: Ditto.
6122 * libc/sys/linux/dl/dl-addr.c: Ditto.
6123 * libc/sys/linux/dl/dl-cache.c: Ditto.
6124 * libc/sys/linux/dl/dl-cache.h: Ditto.
6125 * libc/sys/linux/dl/dl-close.c: Ditto.
6126 * libc/sys/linux/dl/dl-debug.c: Ditto.
6127 * libc/sys/linux/dl/dl-deps.c: Ditto.
6128 * libc/sys/linux/dl/dl-dst.h: Ditto.
6129 * libc/sys/linux/dl/dl-error.c: Ditto.
6130 * libc/sys/linux/dl/dl-fini.c: Ditto.
6131 * libc/sys/linux/dl/dl-init.c: Ditto.
6132 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6133 * libc/sys/linux/dl/dl-libc.c: Ditto.
6134 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6135 * libc/sys/linux/dl/dl-load.c: Ditto.
6136 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6137 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6138 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6139 * libc/sys/linux/dl/dl-misc.c: Ditto.
6140 * libc/sys/linux/dl/dl-object.c: Ditto.
6141 * libc/sys/linux/dl/dl-open.c: Ditto.
6142 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6143 * libc/sys/linux/dl/dl-profile.c: Ditto.
6144 * libc/sys/linux/dl/dl-profstub.c: Ditto.
6145 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6146 * libc/sys/linux/dl/dl-runtime.c: Ditto.
6147 * libc/sys/linux/dl/dl-support.c: Ditto.
6148 * libc/sys/linux/dl/dl-sym.c: Ditto.
6149 * libc/sys/linux/dl/dl-version.c: Ditto.
6150 * libc/sys/linux/dl/dlfcn.h: Ditto.
6151 * libc/sys/linux/dl/do-lookup.h: Ditto.
6152 * libc/sys/linux/dl/do-rel.h: Ditto.
6153 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6154 * libc/sys/linux/dl/kernel-features.h: Ditto.
6155 * libc/sys/linux/dl/ldsodefs.h: Ditto.
6156 * libc/sys/linux/dl/libintl.h: Ditto.
6157 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
6158 * libc/sys/linux/dl/unsecvars.h: Ditto.
6159 * libc/sys/linux/iconv/Makefile.am: Ditto.
6160 * libc/sys/linux/iconv/Makefile.in: Ditto.
6161 * libc/sys/linux/iconv/categories.def: Ditto.
6162 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
6163 * libc/sys/linux/iconv/gconv.c: Ditto.
6164 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
6165 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
6166 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
6167 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
6168 * libc/sys/linux/iconv/gconv_close.c: Ditto.
6169 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
6170 * libc/sys/linux/iconv/gconv_db.c: Ditto.
6171 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
6172 * libc/sys/linux/iconv/gconv_int.h: Ditto.
6173 * libc/sys/linux/iconv/gconv_open.c: Ditto.
6174 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6175 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
6176 * libc/sys/linux/iconv/hash-string.h: Ditto.
6177 * libc/sys/linux/iconv/iconv.c: Ditto.
6178 * libc/sys/linux/iconv/iconv.h: Ditto.
6179 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
6180 * libc/sys/linux/iconv/iconv_close.c: Ditto.
6181 * libc/sys/linux/iconv/iconv_open.c: Ditto.
6182 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
6183 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
6184 * libc/sys/linux/iconv/loadinfo.h: Ditto.
6185 * libc/sys/linux/iconv/localeinfo.h: Ditto.
6186 * libc/sys/linux/iconv/loop.c: Ditto.
6187 * libc/sys/linux/iconv/skeleton.c: Ditto.
6188 * libc/sys/linux/iconv/strtab.c: Ditto.
6189 * libc/sys/linux/include/dl-hash.h: Ditto.
6190 * libc/sys/linux/include/dlfcn.h: Ditto.
6191 * libc/sys/linux/include/fnmatch.h: Ditto.
6192 * libc/sys/linux/include/gconv.h: Ditto.
6193 * libc/sys/linux/include/glob.h: Ditto.
6194 * libc/sys/linux/include/hesiod.h: Ditto.
6195 * libc/sys/linux/include/ifaddrs.h: Ditto.
6196 * libc/sys/linux/include/libc_private.h: Ditto.
6197 * libc/sys/linux/include/link.h: Ditto.
6198 * libc/sys/linux/include/namespace.h: Ditto.
6199 * libc/sys/linux/include/netconfig.h: Ditto.
6200 * libc/sys/linux/include/netdb.h: Ditto.
6201 * libc/sys/linux/include/nsswitch.h: Ditto.
6202 * libc/sys/linux/include/regex.h: Ditto.
6203 * libc/sys/linux/include/resolv.h: Ditto.
6204 * libc/sys/linux/include/rune.h: Ditto.
6205 * libc/sys/linux/include/runetype.h: Ditto.
6206 * libc/sys/linux/include/semaphore.h: Ditto.
6207 * libc/sys/linux/include/setlocale.h: Ditto.
6208 * libc/sys/linux/include/un-namespace.h: Ditto.
6209 * libc/sys/linux/include/wordexp.h: Ditto.
6210 * libc/sys/linux/include/arpa/ftp.h: Ditto.
6211 * libc/sys/linux/include/arpa/inet.h: Ditto.
6212 * libc/sys/linux/include/arpa/nameser.h: Ditto.
6213 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
6214 * libc/sys/linux/include/arpa/telnet.h: Ditto.
6215 * libc/sys/linux/include/arpa/tftp.h: Ditto.
6216 * libc/sys/linux/include/net/bpf.h: Ditto.
6217 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
6218 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
6219 * libc/sys/linux/include/net/bridge.h: Ditto.
6220 * libc/sys/linux/include/net/ethernet.h: Ditto.
6221 * libc/sys/linux/include/net/fddi.h: Ditto.
6222 * libc/sys/linux/include/net/if.h: Ditto.
6223 * libc/sys/linux/include/net/if_arc.h: Ditto.
6224 * libc/sys/linux/include/net/if_arp.h: Ditto.
6225 * libc/sys/linux/include/net/if_atm.h: Ditto.
6226 * libc/sys/linux/include/net/if_dl.h: Ditto.
6227 * libc/sys/linux/include/net/if_gif.h: Ditto.
6228 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
6229 * libc/sys/linux/include/net/if_llc.h: Ditto.
6230 * libc/sys/linux/include/net/if_media.h: Ditto.
6231 * libc/sys/linux/include/net/if_mib.h: Ditto.
6232 * libc/sys/linux/include/net/if_ppp.h: Ditto.
6233 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
6234 * libc/sys/linux/include/net/if_slvar.h: Ditto.
6235 * libc/sys/linux/include/net/if_sppp.h: Ditto.
6236 * libc/sys/linux/include/net/if_stf.h: Ditto.
6237 * libc/sys/linux/include/net/if_tap.h: Ditto.
6238 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
6239 * libc/sys/linux/include/net/if_tun.h: Ditto.
6240 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
6241 * libc/sys/linux/include/net/if_types.h: Ditto.
6242 * libc/sys/linux/include/net/if_var.h: Ditto.
6243 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
6244 * libc/sys/linux/include/net/intrq.h: Ditto.
6245 * libc/sys/linux/include/net/iso88025.h: Ditto.
6246 * libc/sys/linux/include/net/net_osdep.h: Ditto.
6247 * libc/sys/linux/include/net/netisr.h: Ditto.
6248 * libc/sys/linux/include/net/pfil.h: Ditto.
6249 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
6250 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
6251 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
6252 * libc/sys/linux/include/net/radix.h: Ditto.
6253 * libc/sys/linux/include/net/raw_cb.h: Ditto.
6254 * libc/sys/linux/include/net/route.h: Ditto.
6255 * libc/sys/linux/include/net/slcompress.h: Ditto.
6256 * libc/sys/linux/include/net/slip.h: Ditto.
6257 * libc/sys/linux/include/net/zlib.h: Ditto.
6258 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
6259 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
6260 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
6261 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
6262 * libc/sys/linux/include/netinet/igmp.h: Ditto.
6263 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
6264 * libc/sys/linux/include/netinet/in.h: Ditto.
6265 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
6266 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
6267 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
6268 * libc/sys/linux/include/netinet/in_var.h: Ditto.
6269 * libc/sys/linux/include/netinet/ip.h: Ditto.
6270 * libc/sys/linux/include/netinet/ip6.h: Ditto.
6271 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
6272 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
6273 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
6274 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
6275 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
6276 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
6277 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
6278 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
6279 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
6280 * libc/sys/linux/include/netinet/tcp.h: Ditto.
6281 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
6282 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
6283 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
6284 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
6285 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
6286 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
6287 * libc/sys/linux/include/netinet/udp.h: Ditto.
6288 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
6289 * libc/sys/linux/include/netinet6/ah.h: Ditto.
6290 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
6291 * libc/sys/linux/include/netinet6/esp.h: Ditto.
6292 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
6293 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
6294 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
6295 * libc/sys/linux/include/netinet6/in6.h: Ditto.
6296 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
6297 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
6298 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
6299 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
6300 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
6301 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
6302 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
6303 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
6304 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
6305 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
6306 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
6307 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
6308 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
6309 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
6310 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
6311 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
6312 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
6313 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
6314 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
6315 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
6316 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
6317 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
6318 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
6319 * libc/sys/linux/include/netns/idp.h: Ditto.
6320 * libc/sys/linux/include/netns/idp_var.h: Ditto.
6321 * libc/sys/linux/include/netns/ns.h: Ditto.
6322 * libc/sys/linux/include/netns/ns_error.h: Ditto.
6323 * libc/sys/linux/include/netns/ns_if.h: Ditto.
6324 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
6325 * libc/sys/linux/include/netns/sp.h: Ditto.
6326 * libc/sys/linux/include/netns/spidp.h: Ditto.
6327 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
6328 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
6329 * libc/sys/linux/include/netns/spp_var.h: Ditto.
6330 * libc/sys/linux/include/rpc/Makefile: Ditto.
6331 * libc/sys/linux/include/rpc/auth.h: Ditto.
6332 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
6333 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
6334 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
6335 * libc/sys/linux/include/rpc/clnt.h: Ditto.
6336 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
6337 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
6338 * libc/sys/linux/include/rpc/des.h: Ditto.
6339 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
6340 * libc/sys/linux/include/rpc/nettype.h: Ditto.
6341 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
6342 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
6343 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
6344 * libc/sys/linux/include/rpc/raw.h: Ditto.
6345 * libc/sys/linux/include/rpc/rpc.h: Ditto.
6346 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
6347 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
6348 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
6349 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
6350 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
6351 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
6352 * libc/sys/linux/include/rpc/svc.h: Ditto.
6353 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
6354 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
6355 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
6356 * libc/sys/linux/include/rpc/types.h: Ditto.
6357 * libc/sys/linux/include/rpc/xdr.h: Ditto.
6358 * libc/sys/linux/intl/Makefile.am: Ditto.
6359 * libc/sys/linux/intl/Makefile.in: Ditto.
6360 * libc/sys/linux/intl/bindtextdom.c: Ditto.
6361 * libc/sys/linux/intl/catgets.c: Ditto.
6362 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
6363 * libc/sys/linux/intl/config.h: Ditto.
6364 * libc/sys/linux/intl/dcgettext.c: Ditto.
6365 * libc/sys/linux/intl/dcigettext.c: Ditto.
6366 * libc/sys/linux/intl/dcngettext.c: Ditto.
6367 * libc/sys/linux/intl/dgettext.c: Ditto.
6368 * libc/sys/linux/intl/dngettext.c: Ditto.
6369 * libc/sys/linux/intl/explodename.c: Ditto.
6370 * libc/sys/linux/intl/finddomain.c: Ditto.
6371 * libc/sys/linux/intl/gettext.c: Ditto.
6372 * libc/sys/linux/intl/gettext.h: Ditto.
6373 * libc/sys/linux/intl/gettextP.h: Ditto.
6374 * libc/sys/linux/intl/hash-string.h: Ditto.
6375 * libc/sys/linux/intl/l10nflist.c: Ditto.
6376 * libc/sys/linux/intl/loadinfo.h: Ditto.
6377 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
6378 * libc/sys/linux/intl/locale.alias: Ditto.
6379 * libc/sys/linux/intl/localealias.c: Ditto.
6380 * libc/sys/linux/intl/ngettext.c: Ditto.
6381 * libc/sys/linux/intl/open_catalog.c: Ditto.
6382 * libc/sys/linux/intl/plural.c: Ditto.
6383 * libc/sys/linux/intl/plural.y: Ditto.
6384 * libc/sys/linux/intl/stpcpy.c: Ditto.
6385 * libc/sys/linux/intl/textdomain.c: Ditto.
6386 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
6387 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6388 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
6389 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
6390 * libc/sys/linux/linuxthreads/attr.c: Ditto.
6391 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
6392 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
6393 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
6394 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
6395 * libc/sys/linux/linuxthreads/config.h: Ditto.
6396 * libc/sys/linux/linuxthreads/configure: Ditto.
6397 * libc/sys/linux/linuxthreads/configure.in: Ditto.
6398 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
6399 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
6400 * libc/sys/linux/linuxthreads/events.c: Ditto.
6401 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
6402 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
6403 * libc/sys/linux/linuxthreads/internals.h: Ditto.
6404 * libc/sys/linux/linuxthreads/join.c: Ditto.
6405 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
6406 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
6407 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
6408 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
6409 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
6410 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
6411 * libc/sys/linux/linuxthreads/manager.c: Ditto.
6412 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
6413 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
6414 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
6415 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
6416 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
6417 * libc/sys/linux/linuxthreads/prio.c: Ditto.
6418 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
6419 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
6420 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
6421 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
6422 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
6423 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
6424 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
6425 * libc/sys/linux/linuxthreads/queue.h: Ditto.
6426 * libc/sys/linux/linuxthreads/reent.c: Ditto.
6427 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
6428 * libc/sys/linux/linuxthreads/restart.h: Ditto.
6429 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
6430 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
6431 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
6432 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
6433 * libc/sys/linux/linuxthreads/signals.c: Ditto.
6434 * libc/sys/linux/linuxthreads/specific.c: Ditto.
6435 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
6436 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
6437 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
6438 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
6439 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6440 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
6441 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6442 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6443 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6444 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6445 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6446 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6447 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6448 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6449 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6450 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6451 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6452 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6453 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6454 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6455 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6456 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6457 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6458 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6459 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6460 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6461 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6462 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6463 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6464 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6465 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6466 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6467 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6468 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6469 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6470 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6471 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6472 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6473 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6474 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6475 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6476 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6477 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6478 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6479 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6480 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6481 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6482 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6483 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6484 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6485 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6486 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6487 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6488 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6489 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6490 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6491 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6492 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6493 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6494 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6495 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6496 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6497 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6498 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6499 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6500 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6501 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6502 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6503 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6504 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6505 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6506 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6507 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6508 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6509 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6510 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6511 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6512 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6513 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6514 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6515 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6516 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6517 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6518 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6519 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6520 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6521 * libc/sys/linux/net/Makefile.am: Ditto.
6522 * libc/sys/linux/net/Makefile.in: Ditto.
6523 * libc/sys/linux/net/addr2ascii.3: Ditto.
6524 * libc/sys/linux/net/addr2ascii.c: Ditto.
6525 * libc/sys/linux/net/ascii2addr.c: Ditto.
6526 * libc/sys/linux/net/base64.c: Ditto.
6527 * libc/sys/linux/net/bindresvport.c: Ditto.
6528 * libc/sys/linux/net/byteorder.3: Ditto.
6529 * libc/sys/linux/net/ether_addr.c: Ditto.
6530 * libc/sys/linux/net/ethers.3: Ditto.
6531 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6532 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6533 * libc/sys/linux/net/gethostbydns.c: Ditto.
6534 * libc/sys/linux/net/gethostbyht.c: Ditto.
6535 * libc/sys/linux/net/gethostbyname.3: Ditto.
6536 * libc/sys/linux/net/gethostbynis.c: Ditto.
6537 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6538 * libc/sys/linux/net/getifaddrs.3: Ditto.
6539 * libc/sys/linux/net/getifaddrs.c: Ditto.
6540 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6541 * libc/sys/linux/net/getnameinfo.3: Ditto.
6542 * libc/sys/linux/net/getnameinfo.c: Ditto.
6543 * libc/sys/linux/net/getnetbydns.c: Ditto.
6544 * libc/sys/linux/net/getnetbyht.c: Ditto.
6545 * libc/sys/linux/net/getnetbynis.c: Ditto.
6546 * libc/sys/linux/net/getnetent.3: Ditto.
6547 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6548 * libc/sys/linux/net/getproto.c: Ditto.
6549 * libc/sys/linux/net/getprotoent.3: Ditto.
6550 * libc/sys/linux/net/getprotoent.c: Ditto.
6551 * libc/sys/linux/net/getprotoname.c: Ditto.
6552 * libc/sys/linux/net/getservbyname.c: Ditto.
6553 * libc/sys/linux/net/getservbyport.c: Ditto.
6554 * libc/sys/linux/net/getservent.3: Ditto.
6555 * libc/sys/linux/net/getservent.c: Ditto.
6556 * libc/sys/linux/net/herror.c: Ditto.
6557 * libc/sys/linux/net/hesiod.3: Ditto.
6558 * libc/sys/linux/net/hesiod.c: Ditto.
6559 * libc/sys/linux/net/if_indextoname.3: Ditto.
6560 * libc/sys/linux/net/ifname.c: Ditto.
6561 * libc/sys/linux/net/inet.3: Ditto.
6562 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6563 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6564 * libc/sys/linux/net/inet_addr.c: Ditto.
6565 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6566 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6567 * libc/sys/linux/net/inet_net.3: Ditto.
6568 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6569 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6570 * libc/sys/linux/net/inet_neta.c: Ditto.
6571 * libc/sys/linux/net/inet_netof.c: Ditto.
6572 * libc/sys/linux/net/inet_network.c: Ditto.
6573 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6574 * libc/sys/linux/net/inet_ntop.c: Ditto.
6575 * libc/sys/linux/net/inet_pton.c: Ditto.
6576 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6577 * libc/sys/linux/net/ip6opt.c: Ditto.
6578 * libc/sys/linux/net/iso_addr.3: Ditto.
6579 * libc/sys/linux/net/iso_addr.c: Ditto.
6580 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6581 * libc/sys/linux/net/linkaddr.3: Ditto.
6582 * libc/sys/linux/net/linkaddr.c: Ditto.
6583 * libc/sys/linux/net/map_v4v6.c: Ditto.
6584 * libc/sys/linux/net/name6.c: Ditto.
6585 * libc/sys/linux/net/namespace.h: Ditto.
6586 * libc/sys/linux/net/ns.3: Ditto.
6587 * libc/sys/linux/net/ns_addr.c: Ditto.
6588 * libc/sys/linux/net/ns_name.c: Ditto.
6589 * libc/sys/linux/net/ns_netint.c: Ditto.
6590 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6591 * libc/sys/linux/net/ns_parse.c: Ditto.
6592 * libc/sys/linux/net/ns_print.c: Ditto.
6593 * libc/sys/linux/net/ns_ttl.c: Ditto.
6594 * libc/sys/linux/net/nsap_addr.c: Ditto.
6595 * libc/sys/linux/net/nsdispatch.3: Ditto.
6596 * libc/sys/linux/net/nsdispatch.c: Ditto.
6597 * libc/sys/linux/net/nslexer.c: Ditto.
6598 * libc/sys/linux/net/nslexer.l: Ditto.
6599 * libc/sys/linux/net/nsparser.c: Ditto.
6600 * libc/sys/linux/net/nsparser.h: Ditto.
6601 * libc/sys/linux/net/nsparser.y: Ditto.
6602 * libc/sys/linux/net/rcmd.3: Ditto.
6603 * libc/sys/linux/net/rcmd.c: Ditto.
6604 * libc/sys/linux/net/rcmdsh.3: Ditto.
6605 * libc/sys/linux/net/rcmdsh.c: Ditto.
6606 * libc/sys/linux/net/recv.c: Ditto.
6607 * libc/sys/linux/net/res_comp.c: Ditto.
6608 * libc/sys/linux/net/res_config.h: Ditto.
6609 * libc/sys/linux/net/res_data.c: Ditto.
6610 * libc/sys/linux/net/res_debug.c: Ditto.
6611 * libc/sys/linux/net/res_init.c: Ditto.
6612 * libc/sys/linux/net/res_mkquery.c: Ditto.
6613 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6614 * libc/sys/linux/net/res_query.c: Ditto.
6615 * libc/sys/linux/net/res_send.c: Ditto.
6616 * libc/sys/linux/net/res_update.c: Ditto.
6617 * libc/sys/linux/net/resolver.3: Ditto.
6618 * libc/sys/linux/net/rthdr.c: Ditto.
6619 * libc/sys/linux/net/send.c: Ditto.
6620 * libc/sys/linux/net/un-namespace.h: Ditto.
6621 * libc/sys/linux/net/vars.c: Ditto.
6622 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6623 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6624 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6625 * libc/sys/linux/stdlib/cclass.h: Ditto.
6626 * libc/sys/linux/stdlib/cname.h: Ditto.
6627 * libc/sys/linux/stdlib/collate.c: Ditto.
6628 * libc/sys/linux/stdlib/collate.h: Ditto.
6629 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6630 * libc/sys/linux/stdlib/engine.c: Ditto.
6631 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6632 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6633 * libc/sys/linux/stdlib/glob.3: Ditto.
6634 * libc/sys/linux/stdlib/glob.c: Ditto.
6635 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6636 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6637 * libc/sys/linux/stdlib/regerror.c: Ditto.
6638 * libc/sys/linux/stdlib/regex.3: Ditto.
6639 * libc/sys/linux/stdlib/regex2.h: Ditto.
6640 * libc/sys/linux/stdlib/regexec.c: Ditto.
6641 * libc/sys/linux/stdlib/regfree.c: Ditto.
6642 * libc/sys/linux/stdlib/utils.h: Ditto.
6643 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6644 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6645 * libc/sys/linux/sys/dlfcn.h: Ditto.
6646 * libc/sys/linux/sys/elfclass.h: Ditto.
6647 * libc/sys/linux/sys/event.h: Ditto.
6648 * libc/sys/linux/sys/ioccom.h: Ditto.
6649 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6650 * libc/sys/linux/sys/link.h: Ditto.
6651 * libc/sys/linux/sys/lock.h: Ditto.
6652 * libc/sys/linux/sys/param.h: Ditto.
6653 * libc/sys/linux/sys/socket.h: Ditto.
6654 * libc/sys/linux/sys/sockio.h: Ditto.
6655
6656 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
6657
6658 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
6659 normal mode
6660 * newlib/libc/machine/h8300/memset.S: Likewise
6661 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6662 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6663 * newlib/lib/machine/h8300/setjmp.S: Likewise
6664 * newlib/lib/machine/h8300/strcmp.S: Likewise
6665 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6666
6667 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6668
6669 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6670 * libc/include/stdio.h: Ditto.
6671 * libc/include/sys/config.h: Ditto.
6672 * libc/stdio/mktemp.c: Ditto.
6673
6674 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6675
6676 * libc/locale/ldpart.c (__part_load_locale): Substitute
6677 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6678 * libc/search/hash.c (__hash_open): Ditto.
6679 (init_hash): Ditto.
6680 * libc/stdio/fseek.c (fseek): Ditto.
6681 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6682 * libc/stdio/mktemp.c (_gettemp): Ditto.
6683
6684 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6685
6686 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6687
6688 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6689
6690 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6691 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6692 if __CYGWIN_USE_BIG_TYPES__ is set.
6693 * libc/search/hash.c (__hash_open): Ditto.
6694 (init_hash): Ditto.
6695 * libc/stdio/fseek.c (fseek): Ditto.
6696 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6697 * libc/stdio/mktemp.c (_gettemp): Ditto.
6698 * libc/sys/cygwin/Makefile.am: Remove.
6699 * libc/sys/cygwin/Makefile.in: Remove.
6700 * libc/sys/cygwin/aclocal.m4: Remove.
6701 * libc/sys/cygwin/configure: Remove.
6702 * libc/sys/cygwin/configure.in: Remove.
6703 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6704 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6705 directory.
6706 * libc/sys/cygwin/sys/param.h: Ditto.
6707 * libc/sys/cygwin/sys/utime.h: Ditto.
6708 * libc/sys/cygwin/sys/utmp.h: Ditto.
6709
6710 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
6711
6712 * libc/include/sys/types.h: Don't define key_t for Cygwin.
6713
6714 2003-05-10 Christopher Faylor <cgf@redhat.com>
6715
6716 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
6717 64 bit inodes.
6718
6719 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
6720
6721 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
6722 Include cygwin/config.h instead.
6723
6724 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
6725
6726 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
6727 all code with #ifdef __SPE__ test.
6728 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
6729
6730 2003-04-15 Chris January <chris@atomice.net>
6731
6732 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
6733 Cygwin.
6734
6735 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
6736
6737 * libc/machine/sh/memset.S: Avoid clobbering volatile
6738 objects following a tiny to-be-set array in the same quadword.
6739
6740 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
6741
6742 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
6743 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
6744 * libc/string/Makefile.in: Regenerated.
6745 * libc/string/wcswidth.c: New file.
6746 * libc/string/wcwidth.c: New file.
6747 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6748
6749 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6750
6751 * libc/machine/sh/memset.S: Fix problem with alloco region
6752 exceeding destination region for length >= 88 bytes, start
6753 & 0x16 == 0, end & 0x1f == 18.
6754
6755 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
6756
6757 * libc/string/wcscoll.c: Fix comment.
6758
6759 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
6760
6761 * libc/include/wchar.h: Add definition for wcscoll.
6762 * libc/string/Makefile.am: Add wcscoll.c.
6763 * libc/string/Makefile.in: Regenerated.
6764 * libc/string/wcscoll.c: New file.
6765 * libc/string/wcstrings.tex: Add wcscoll.
6766
6767 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6768
6769 * libc/stdio/sscanf.c: Update flags description.
6770 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
6771 type.
6772 (__svfscanf_r): Add 'hh' and 'll' handling.
6773
6774 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6775
6776 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
6777 __d_position member to _off_t.
6778
6779 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
6780
6781 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
6782 count all characters used to create number against maximum width.
6783 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6784
6785 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6786
6787 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
6788 support.
6789 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
6790 flag to support simulator only extensions.
6791
6792 2003-03-17 Bob Cassels <bcassels@abinitio.com>
6793
6794 * libc/string/wcschr.c: (wcschr): Look for character first,
6795 then for end of string, so you can do wcschr(x, '\0').
6796
6797 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
6798
6799 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
6800 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
6801 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
6802 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
6803 * libc/stdio/fseeko.c (fseeko): Ditto.
6804 * libc/stdio/ftello.c (ftello): Ditto.
6805 * libc/stdio/stdio.c (__swrite): Ditto.
6806 (__sseek): Ditto.
6807 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
6808 * libc/stdio/fseek.c (fseek): Ditto.
6809 * libc/stdio/fsetpos.c (fsetpos): Ditto.
6810 * libc/stdio/ftell.c (ftell): Ditto.
6811 * libc/stdio/local.h: Declare __sseek using _off_t.
6812
6813 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6814
6815 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
6816
6817 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6818
6819 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
6820 Cygwin.
6821
6822 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6823
6824 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
6825 Cygwin.
6826 * libc/include/sys/stat.h: Ditto.
6827 * libc/include/sys/unistd.h: Ditto.
6828 * libc/sys/cygwin/sys/dirent.h: Ditto.
6829
6830 2003-03-07 Christopher Faylor <cgf@redhat.com>
6831
6832 * libc/include/sys/unistd.h: Guard getopt.h call to force only
6833 declaration of getopt and avoid getopt_long declaration.
6834 * libc/sys/cygwin/include/unistd.h: Remove.
6835
6836 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
6837
6838 * configure.host: Define stdio64_dir for Cygwin.
6839 * libc/include/stdio.h: Change definition of fpos_t to fulfill
6840 Cygwin 64bit file access requirements.
6841 Drop definition of f*64() functions when compiled for Cygwin.
6842 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
6843 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
6844 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
6845
6846 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
6847
6848 * libc/include/sys/reent.h: Remove extraneous _sig_func
6849 declaration.
6850
6851 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6852
6853 * libc/sys/h8300hms/Makefile.am: Add support for new files.
6854 * libc/sys/h8300hms/Makefile.in: Regenerated.
6855 * libc/sys/h8300hms/close.S: New file.
6856 * libc/sys/h8300hms/fstat.S: Ditto.
6857 * libc/sys/h8300hms/lseek.S: Ditto.
6858 * libc/sys/h8300hms/open.S: Ditto.
6859 * libc/sys/h8300hms/stat.S: Ditto.
6860 * libc/sys/h8300hms/read.S: New file to replace read.c.
6861 * libc/sys/h8300hms/read.c: Removed.
6862 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
6863 _lseek, _close, _stat, _fstat.
6864 * libc/sys/h8300hms/write.S: New file to replace write.c.
6865 * libc/sys/h8300hms/write.c: Removed.
6866
6867 2003-02-20 Nick Clifton <nickc@redhat.com>
6868
6869 * Add support for Cirrus Maverick ARM co-processor:
6870
6871 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
6872
6873 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
6874 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
6875
6876 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
6877
6878 * configure.host: set sys_dir, syscall_dir, and
6879 newlib_cflags for ep9312 host.
6880
6881 * configure.host: Restore alpha sorting of entries in case
6882 statements.
6883
6884 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
6885
6886 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
6887
6888 2003-02-18 Christian Groessler <chris@groessler.org>
6889
6890 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
6891 support z8001 segmented mode.
6892
6893 2003-02-18 Earnie Boyd <earnie@users.sf.net>
6894
6895 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
6896 with a NULL value.
6897
6898 2003-02-10 Christopher Faylor <cgf@redhat.com>
6899
6900 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
6901 Don't define some types under cygwin.
6902
6903 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
6904
6905 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
6906 option to allow disabling of syscalls being supplied in newlib.
6907 * aclocal.m4: Regenerated.
6908 * configure: Ditto.
6909 * configure.host: Add support of new configuration option and add
6910 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
6911 * doc/aclocal.m4: Regenerated.
6912 * doc/configure: Ditto.
6913 * libc/*aclocal.m4: Ditto.
6914 * libc/*configure: Ditto.
6915 * libm/*aclocal.m4: Ditto.
6916 * libm/*configure: Ditto.
6917 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
6918 is disabled.
6919 * libc/sys/arm/Makefile.in: Regenerated.
6920
6921 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
6922
6923 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
6924 -1 to be sure it cannot later match a valid file fd causing
6925 isatty() to return 1.
6926 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
6927 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
6928 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
6929
6930 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
6931
6932 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
6933 buffer based on the precision, after we have processed the input value
6934 in a local buffer and know its relative magnitude.
6935
6936 2003-01-31 Michael Snyder <msnyder@redhat.com>
6937
6938 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
6939 into registers r1 and r2, so that the simulator can distinguish
6940 this trap from a breakpoint trap. Copied from libgloss.
6941
6942 2003-01-31 Michael Snyder <msnyder@redhat.com>
6943
6944 * libc/sys/h8300hms/crt0.S (_start): Change local label
6945 from .loop to .Loop, so that ld and gdb will ignore it.
6946
6947 2003-01-29 Jason Tishler <jason@tishler.net>
6948
6949 * libc/include/time.h: Declare nanosleep() under Cygwin.
6950
6951 2003-01-24 Nick Clifton <nickc@redhat.com>
6952
6953 * Add sh2e support:
6954
6955 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
6956
6957 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
6958 * libc/machine/sh/setjmp.S: Likewise.
6959 * libc/include/machine/ieeefp.h: Likewise.
6960
6961 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
6962
6963 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
6964 for Cygwin.
6965
6966 2003-01-21 Anita Kulkarni <anitak@kpit.com>
6967
6968 * libc/time/difftime.c : Typecast the result to double.
6969
6970 2003-01-20 Christopher Faylor <cgf@redhat.com>
6971
6972 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
6973
6974 2003-01-18 Nick Clifton <nickc@redhat.com>
6975
6976 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
6977 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
6978
6979 2003-01-16 Joel Sherrill <joel@OARcorp.com>
6980
6981 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
6982 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
6983 constants are defined in each file in the shared versions in
6984 libc/include.
6985 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
6986 autoconf can link programs.
6987 * libc/include/machine/types.h: Explicitly specify signed on
6988 intXX_t types to ensure they are signed.
6989
6990 2003-01-14 Christopher Faylor <cgf@redhat.com>
6991
6992 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
6993 extensions.
6994
6995 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
6996
6997 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
6998
6999 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
7000
7001 * libc/stdio/sprintf.c: fix typo
7002 * libc/stdio/vfprintf.c: fix typo
7003
7004 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
7005
7006 * configure.host: Support long double I/O for x86-linux.
7007 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
7008 large enough to hold formatted result.
7009 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
7010
7011 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7012
7013 * Makefile.am: Add vasprintf.
7014 * Makefile.in: Regenerated.
7015
7016 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7017
7018 * asprintf.c (_asprintf_r): insure both declarations
7019 are the same.
7020
7021 2002-12-28 Christopher Faylor <cgf@redhat.com>
7022
7023 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
7024 than defining getopt directly.
7025
7026 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7027
7028 * NEWS: Update with 1.11.0 info.
7029 * README: Ditto.
7030 * acinclude.m4: Change version number to 1.11.0.
7031 * aclocal.m4: Regenerated.
7032 * configure: Ditto.
7033 * doc/aclocal.m4: Ditto.
7034 * doc/configure: Ditto.
7035 * libc/*/aclocal.m4: Ditto.
7036 * libc/*/configure: Ditto.
7037 * libc/libc.texinfo: Ditto.
7038 * libm/*/aclocal.m4: Ditto.
7039 * libm/*/configure: Ditto.
7040 * libm/libm.texinfo: Ditto.
7041 * libc/sys/linux/shared.ld: Add VERS_1.11.
7042
7043 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7044
7045 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
7046 Solutions to Red Hat Inc.
7047 * libc/machine/i386/f_atan2f.S: Ditto.
7048 * libc/machine/i386/f_exp.c: Ditto.
7049 * libc/machine/i386/f_expf.c: Ditto.
7050 * libc/machine/i386/f_frexp.S: Ditto.
7051 * libc/machine/i386/f_frexpf.S: Ditto.
7052 * libc/machine/i386/f_ldexp.S: Ditto.
7053 * libc/machine/i386/f_ldexpf.S: Ditto.
7054 * libc/machine/i386/f_log.S: Ditto.
7055 * libc/machine/i386/f_log10.S: Ditto.
7056 * libc/machine/i386/f_log10f.S: Ditto.
7057 * libc/machine/i386/f_logf.S: Ditto.
7058 * libc/machine/i386/f_pow.c: Ditto.
7059 * libc/machine/i386/f_powf.c: Ditto.
7060 * libc/machine/i386/f_tan.S: Ditto.
7061 * libc/machine/i386/f_tanf.S: Ditto.
7062 * libc/machine/i386/memchr.S: Ditto.
7063 * libc/machine/i386/memcmp.S: Ditto.
7064 * libc/machine/i386/memcpy.S: Ditto.
7065 * libc/machine/i386/memmove.S: Ditto.
7066 * libc/machine/i386/memset.S: Ditto.
7067 * libc/machine/i386/strchr.S: Ditto.
7068 * libc/machine/i386/strlen.S: Ditto.
7069 * libm/machine/i386/f_atan2.S: Ditto.
7070 * libm/machine/i386/f_atan2f.S: Ditto.
7071 * libm/machine/i386/f_exp.c: Ditto.
7072 * libm/machine/i386/f_expf.c: Ditto.
7073 * libm/machine/i386/f_frexp.S: Ditto.
7074 * libm/machine/i386/f_frexpf.S: Ditto.
7075 * libm/machine/i386/f_ldexp.S: Ditto.
7076 * libm/machine/i386/f_ldexpf.S: Ditto.
7077 * libm/machine/i386/f_log.S: Ditto.
7078 * libm/machine/i386/f_log10.S: Ditto.
7079 * libm/machine/i386/f_log10f.S: Ditto.
7080 * libm/machine/i386/f_logf.S: Ditto.
7081 * libm/machine/i386/f_pow.c: Ditto.
7082 * libm/machine/i386/f_powf.c: Ditto.
7083 * libm/machine/i386/f_tan.S: Ditto.
7084 * libm/machine/i386/f_tanf.S: Ditto.
7085
7086 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7087
7088 * libc/stdlib/environ.c: Update license to Red Hat.
7089 * libc/machine/hppa/setjmp.S: Ditto.
7090 * libm/test/Makefile.in: Ditto.
7091
7092 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7093
7094 * configure.host: Remove references to go32.
7095 * libc/sys/go32/*: Removed.
7096
7097 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7098
7099 * libc/include/sys/config.h: Change setting of INT_MAX
7100 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7101 __H8300S__. Also consolidate flag settings for these
7102 platforms.
7103
7104 2002-12-10 Joel Sherrill <joel@OARcorp.com>
7105
7106 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7107 for i386-rtems targets.
7108
7109 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7110
7111 * libc/include/stdlib.h (strtof): New prototype (from C99).
7112 (strtodf): Changed from prototype to macro which redefines
7113 to strtof.
7114 * libc/stdlib/atof.c: Change documentation to refer to strtof
7115 instead of strtodf.
7116 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7117 strtodf.
7118 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7119 (strtof): New function.
7120 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7121 calls strtof.
7122
7123 2002-11-27 Christopher Faylor <cgf@redhat.com>
7124
7125 * libc/string/memset.c (memset): Fix comment.
7126
7127 2002-11-26 Christopher Faylor <cgf@redhat.com>
7128
7129 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7130 function.
7131
7132 2002-11-25 Christopher Faylor <cgf@redhat.com>
7133
7134 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7135 variable, introduced below, everywhere.
7136
7137 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7138
7139 * libc/string/memset.c (memset): Make it safe even if
7140 sizeof (int) = 2.
7141
7142 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
7143
7144 * configure.in: Change check for libc/include in ${CC} to
7145 use an intermediate value so as to work with different shells.
7146 * configure: Regenerated.
7147 * Makefile.in: Ditto.
7148
7149 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
7150
7151 * libc/sys/h8300hms/read.c: Add support for normal mode
7152 architecture.
7153
7154 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
7155
7156 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
7157 code for __H8300H__ and __H8300S__. Also return 32-bit return code
7158 when -mint32 is used.
7159
7160 2002-11-18 Nick Clifton <nickc@redhat.com>
7161
7162 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
7163
7164 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
7165
7166 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
7167 only issue one pass/fail message for a compile/link/execute.
7168 * testsuite/newlib.elix/elix.exp: New file.
7169 * testsuite/newlib.elix/tmmap.c: Ditto.
7170
7171 2002-11-06 Christopher Faylor <cgf@redhat.com>
7172
7173 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
7174 * libc/stdlib/mlock.c: Ditto.
7175 * libc/stdlib/msize.c: Ditto.
7176 * libc/stdlib/msize.c: Ditto.
7177 * libc/stdlib/mtrim.c: Ditto.
7178 * libc/stdlib/valloc.c: Ditto.
7179
7180 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
7181
7182 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
7183 for inf/nan, make sure that the check ignores the sign bit.
7184
7185 2002-11-07 Joel Sherrill <joel@OARcorp.com>
7186
7187 * libc/sys/rtems/machine: New directory.
7188 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
7189 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
7190 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
7191 targets more BSD like when installed without requiring files to
7192 be overwritten at install point when RTEMS itself is installed.
7193 * Makefile.am: Pick up system dependent machine .h files such as
7194 might be found on a BSD-ish system.
7195 * Makefile.in: Regenerate.
7196 * libc/include/machine/types.h: When on an RTEMS target, define a
7197 few BSD flavor types.
7198
7199 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
7200
7201 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
7202
7203 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7204
7205 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
7206 * libc/include/wctype.h: Ditto.
7207
7208 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
7209
7210 * libc/include/wchar.h: Add extern "C" specifier if C++.
7211 * libc/include/wctype.h: Ditto.
7212
7213 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7214
7215 * testsuite/newlib.wctype/tiswctype.c: New test case.
7216 * testsuite/newlib.wctype/twctrans.c: Ditto.
7217
7218 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7219
7220 * libc/sys/linux/machine/i386/include/endian.h: New file.
7221 * libc/sys/linux/machine/i386/include/param.h: Ditto.
7222
7223 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7224
7225 * libm/machine/i386/aclocal.m4: Regenerated.
7226 * libm/machine/i386/configure: Ditto.
7227
7228 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7229
7230 * testsuite/include/check.h: New header file to use with
7231 test cases.
7232 * testsuite/lib/newlib.exp: Add testsuite/include directory
7233 to list of header files to use.
7234 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
7235 * testsuite/newlib.wctype/wctype.exp: New file.
7236
7237 2002-10-11 Graham Stott <graham.stott@btinternet.com>
7238 Richard Sandiford <rsandifo@redhat.com>
7239
7240 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
7241 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
7242 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7243
7244 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7245
7246 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
7247 dummy programs.
7248
7249 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7250
7251 * libc/include/pthread.h: Define PTHREAD_CANCELED.
7252
7253 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7254
7255 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
7256 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
7257 compile with current GNU tools.
7258
7259 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
7260
7261 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
7262 the build library.
7263 * configure.in: Ditto.
7264 * Makefile.in: Regenerated.
7265 * configure: Ditto.
7266 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
7267 for specifying configured libraries/directories.
7268 * libc/sys/linux/configure.in: Ditto.
7269 * libc/sys/linux/Makefile.in: Regenerated.
7270 * libc/sys/linux/configure: Ditto.
7271
7272 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
7273
7274 * libc/include/reent.h: Update documentation at start of file.
7275
7276 2002-09-27 Jim Wilson <wilson@redhat.com>
7277
7278 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
7279 the ctbp register.
7280
7281 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
7282
7283 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
7284 Also convert to EUCJP before using arrays. For values not in
7285 the conversion arrays, return WEOF.
7286 * libc/ctype/jp2uc.h: Change from one array to a number of
7287 arrays to account for the fact that the originating table
7288 is not contiguous for the input values since some are invalid.
7289
7290 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
7291
7292 * libc/time/ctime.c: Fix prototype documentation.
7293
7294 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
7295
7296 * libc/include/sys/errno.h: Add EOVERFLOW.
7297
7298 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7299
7300 * libc/include/wctype.h: New file.
7301
7302 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7303
7304 * libc/ctype/Makefile.am: Add new files.
7305 * libc/ctype/Makefile.in: Regenerated.
7306 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
7307 and wctrans functions to documentation index.
7308 * libc/ctype/iswalnum.c: New file.
7309 * libc/ctype/iswalpha.c: Ditto.
7310 * libc/ctype/iswblank.c: Ditto.
7311 * libc/ctype/iswcntrl.c: Ditto.
7312 * libc/ctype/iswctype.c: Ditto.
7313 * libc/ctype/iswdigit.c: Ditto.
7314 * libc/ctype/iswgraph.c: Ditto.
7315 * libc/ctype/iswlower.c: Ditto.
7316 * libc/ctype/iswprint.c: Ditto.
7317 * libc/ctype/iswpunct.c: Ditto.
7318 * libc/ctype/iswspace.c: Ditto.
7319 * libc/ctype/iswupper.c: Ditto.
7320 * libc/ctype/iswxdigit.c: Ditto.
7321 * libc/ctype/jp2uc.c: Ditto.
7322 * libc/ctype/jp2uc.h: Ditto.
7323 * libc/ctype/local.h: Ditto.
7324 * libc/ctype/towctrans.c: Ditto.
7325 * libc/ctype/towlower.c: Ditto.
7326 * libc/ctype/towupper.c: Ditto.
7327 * libc/ctype/utf8alpha.h: Ditto.
7328 * libc/ctype/utf8print.h: Ditto.
7329 * libc/ctype/utf8punct.h: Ditto.
7330 * libc/ctype/wctrans.c: Ditto.
7331 * libc/ctype/wctype.c: Ditto.
7332 * libc/locale/locale.c (__lc_ctype): New external array to
7333 replace static lc_ctype array.
7334 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
7335 rather than reentrancy structure's _current_locale field.
7336 * libc/stdlib/wctomb_r.c: Ditto.
7337
7338 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7339
7340 * configure.host: Minor comment and formatting changes.
7341 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
7342 * libc/Makefile.in: Regenerated.
7343 * libc/include/sys/config.h: Minor format change.
7344
7345 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7346
7347 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
7348 statement comment.
7349
7350 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7351
7352 * libc/posix/opendir.c (opendir): Change code to check
7353 for HAVE_FCNTL before calling fcntl.
7354 * libc/search/hash.c (hash_open): Ditto.
7355 * libc/search/hash_page.c (open_tmp): Ditto.
7356 * libc/reent/Makefile.am: Add fcntlr.c.
7357 * libc/reent/Makefile.in: Regenerated.
7358 * libc/reent/fcntlr.c: New file.
7359 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
7360 instead of _fcntl when HAVE_FCNTL flag is set.
7361 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
7362 to see if _fcntl or _fcntl_r should be called. If flag is not
7363 set, default to ENOSYS stub.
7364
7365 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
7366
7367 * libc/include/wchar.h (mbstate_t): Change protective flag to
7368 be _MBSTATE_T.
7369 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
7370 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
7371 for Cygwin.
7372 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
7373
7374 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
7375
7376 * acinclude.m4 (enable-newlib-mb): Change check to
7377 default newlib_mb variable to empty string rather than "no".
7378 * configure.host: Remove hard-coding of -DMB_CAPABLE for
7379 x86-linux and Cygwin. Add code to check for newlib_mb
7380 being unset in which case set to "yes" for x86-linux and
7381 Cygwin. Change check for newlib_mb being "yes" to allow
7382 for an empty string.
7383 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
7384 * newlib.hin (_MB_LEN_MAX): New define to configure.
7385 * aclocal.m4: Regenerated.
7386 * configure: Ditto.
7387 * libc/include/limits.h: New file.
7388 * libc/sys/linux/include/limits.h: Ditto.
7389 * doc/aclocal.m4 doc/configure libc/aclocal.m4
7390 libc/configure libc/machine/aclocal.m4
7391 libc/machine/configure libc/machine/a29k/aclocal.m4
7392 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7393 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7394 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7395 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7396 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
7397 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
7398 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7399 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7400 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7401 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7402 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7403 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
7404 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
7405 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7406 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7407 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7408 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7409 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7410 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7411 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7412 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7413 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7414 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7415 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7416 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
7417 libc/machine/xscale/configure
7418 libc/machine/xstormy16/aclocal.m4
7419 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
7420 libc/machine/z8k/configure libc/sys/aclocal.m4
7421 libc/sys/configure libc/sys/a29khif/aclocal.m4
7422 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
7423 libc/sys/arc/configure libc/sys/arm/aclocal.m4
7424 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7425 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
7426 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
7427 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
7428 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
7429 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
7430 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
7431 libc/sys/idt/configure libc/sys/linux/aclocal.m4
7432 libc/sys/linux/configure
7433 libc/sys/linux/machine/aclocal.m4
7434 libc/sys/linux/machine/configure
7435 libc/sys/linux/machine/i386/aclocal.m4
7436 libc/sys/linux/machine/i386/configure
7437 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7438 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
7439 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7440 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7441 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7442 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7443 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7444 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7445 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7446 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7447 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7448 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7449 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7450 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7451 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7452 libm/aclocal.m4 libm/configure: Regenerated.
7453
7454 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7455
7456 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7457 code that clears the .bss section.
7458
7459 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7460
7461 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7462 unsigned char internally.
7463 * libc/sys/linux/sys/_types.h: Ditto.
7464 * libc/include/sys/reent.h
7465 * libc/stdlib/mblen.c (mblen): Use function-specific state
7466 value from default reentrancy structure.
7467 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7468 _mbtowc_r is less than 0, reset state __count value and
7469 return -1.
7470 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7471 is NULL, use the function-specific pointer provided in the
7472 default reentrancy structure.
7473 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7474 If input state pointer is NULL, use function-specific area
7475 provided in reentrancy structure.
7476 * libc/stdlib/mbsrtowcs.c: Ditto.
7477 * libc/stdlib/wcrtomb.c: Ditto.
7478 * libc/stdlib/wcsrtombs.c: Ditto.
7479 * libc/stdlib/mbstowcs.c: Reformat.
7480 * libc/stdlib/wcstombs.c: Ditto.
7481 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7482 reset the state's __count value and return -1.
7483 * libc/stdlib/mbtowc.c: Ditto.
7484 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7485 If number of bytes is used up before completing a valid multibyte
7486 character, return -2 and save the state.
7487 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7488 and change some __count references to __state for clarity.
7489
7490 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7491
7492 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7493 is defined by <limits.h>.
7494
7495 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7496
7497 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7498 defined.
7499
7500 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7501
7502 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7503 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7504 __WCHAR_MAX__ or 0x7fffffffu.
7505 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7506 * libc/string/wcsncmp.c: Ditto.
7507
7508 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7509
7510 * libc/string/wcschr.c: Add include of <stddef.h>.
7511 * libc/string/wcspbrk.c: Ditto.
7512 * libc/string/wcsrchr.c: Ditto.
7513 * libc/string/wcsstr.c: Ditto.
7514
7515 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7516
7517 * libc/include/sys/_types.h (_flock_t): Added.
7518 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7519 (__lock_try_acquire_recursive): Ditto.
7520 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7521 _lock field.
7522 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7523 field.
7524 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7525 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7526 * libc/sys/linux/include/time.h (struct timespec): Moved from
7527 <sys/types.h> and added check for __need_timespec flag so type
7528 can be defined by itself.
7529 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7530 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7531 <time.h>.
7532
7533 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7534
7535 * libc/sys/linux/argp: New directory.
7536 * libc/sys/linux/getopt.c: New file.
7537 * libc/sys/linux/getopt1.c: New file.
7538 * libc/sys/linux/getoptlong.c: Remove file.
7539 * libc/sys/linux/include/argp.h: New file.
7540 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7541 based on ELIX level.
7542 (SUBDIRS): Add argp_dir.
7543 (SUBLIBS): Add ARGP_LIB.
7544 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7545 getopt_long.$(oext).
7546 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7547
7548 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7549
7550 * libc/libc.texinfo: Add node reference to wide-character strings.
7551 * libc/string/wcstrings.tex: New file.
7552 * libc/string/strtok_r.c: Remove outdated advertising clause.
7553 * libc/string/Makefile.am (doc): Add wide-character string
7554 chapter to documentation.
7555 * libc/string/Makefile.in: Regenerated.
7556
7557 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7558
7559 * libc/include/wchar.h: Define NULL. Define WEOF more general
7560 way. Declare functions in newlib manner.
7561 * libc/stdlib/Makefile.am: Delete wmem*.c
7562 * libc/stdlib/Makefile.in: Regenerated.
7563 * libc/stdlib/wmemchr.c: Delete.
7564 * libc/stdlib/wmemcmp.c: Ditto.
7565 * libc/stdlib/wmemcpy.c: Ditto.
7566 * libc/stdlib/wmemmove.c: Ditto.
7567 * libc/stdlib/wmemset.c: Ditto.
7568 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7569 * libc/string/Makefile.in: Regenerated.
7570 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7571 * libc/string/wcschr.c: Ditto.
7572 * libc/string/wcscmp.c: Ditto.
7573 * libc/string/wcscpy.c: Ditto.
7574 * libc/string/wcscspn.c: Ditto.
7575 * libc/string/wcslcat.c: Ditto.
7576 * libc/string/wcslcpy.c: Ditto.
7577 * libc/string/wcslen.c: Ditto.
7578 * libc/string/wcsncat.c: Ditto.
7579 * libc/string/wcsncmp.c: Ditto.
7580 * libc/string/wcsncpy.c: Ditto.
7581 * libc/string/wcspbrk.c: Ditto.
7582 * libc/string/wcsrchr.c: Ditto.
7583 * libc/string/wcsspn.c: Ditto.
7584 * libc/string/wcsstr.c: Ditto.
7585 * libc/string/wmemchr.c: Ditto.
7586 * libc/string/wmemcmp.c: Ditto.
7587 * libc/string/wmemcpy.c: Ditto.
7588 * libc/string/wmemmove.c: Ditto.
7589 * libc/string/wmemset.c: Ditto.
7590
7591 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7592
7593 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7594 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7595 and is treated as if "C" was specified.
7596
7597 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7598
7599 * Makefile.am (install-data-local): Move install of build
7600 newlib.h after installing headers in libc/include so as to
7601 overwrite default newlib.h.
7602 * Makefile.in: Regenerated.
7603
7604 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7605
7606 * libc/include/newlib.h: New file for tools that use newlib
7607 headers but don't build newlib first (e.g. gcc).
7608
7609 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7610
7611 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7612 * libc/stdlib/wmemcmp.c: Ditto.
7613 * libc/stdlib/wmemcpy.c: Ditto.
7614 * libc/stdlib/wmemmove.c: Ditto.
7615 * libc/stdlib/wmemset.c: Ditto.
7616
7617 2002-08-27 Egor Duda <deo@logos-m.ru>
7618
7619 * libc/stdlib/wmemchr.c: New file.
7620 * libc/stdlib/wmemcmp.c: Ditto.
7621 * libc/stdlib/wmemcpy.c: Ditto.
7622 * libc/stdlib/wmemmove.c: Ditto.
7623 * libc/stdlib/wmemset.c: Ditto.
7624 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7625 * configure.host: Default -DMB_CAPABLE for cygwin.
7626 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7627 wmemmove() and wmemset(). Add include of <_ansi.h>.
7628 * libc/stdlib/Makefile.in: Regenerate.
7629
7630 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7631
7632 * configure.host: Remove _ELIX_LEVEL flag setting.
7633 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7634 (install-data-local): Install newlib.h.
7635 * Makefile.in: Regenerated.
7636 * aclocal.m4: Ditto.
7637 * configure: Ditto.
7638 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
7639 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7640 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7641 In AC_OUTPUT statement, unset ac_file so multilib support does
7642 not use last ac_file temporary used in newlib.h configuration.
7643 * libc/include/_ansi.h: Include <newlib.h>.
7644 * newlib.hin: New template file for newlib.h.
7645 * stamp-h.in: New file.
7646
7647 2002-08-26 Wu Yongwei <adah@netstd.com>
7648
7649 * time.h (timezonevar): Change "#if" to "#ifdef".
7650
7651 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7652
7653 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7654 * Makefile.in: Regenerated.
7655 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7656 * aclocal.m4: Regenerated.
7657 * configure: Ditto.
7658 * configure.host: Add code to define _ELIX_LEVEL if
7659 --enable-newlib-elix-level option is used.
7660 * configure.in:
7661 * libc/aclocal.m4: Regenerated.
7662 * libc/configure: Ditto.
7663 * libc/argz/Makefile.am: Add EL/IX level checking.
7664 * libc/argz/Makefile.in: Regenerated.
7665 * libc/argz/dummy.c: New file.
7666 * libc/ctype/Makefile.am: Add EL/IX level checking.
7667 * libc/ctype/Makefile.in: Regenerated.
7668 * libc/locale/Makefile.am: Add EL/IX level checking.
7669 * libc/locale/Makefile.in: Regenerated.
7670 * libc/posix/Makefile.am: Add EL/IX level checking.
7671 * libc/posix/Makefile.in: Regenerated.
7672 * libc/posix/telldir.c: Add EL/IX level checking.
7673 * libc/reent/Makefile.am: Ditto.
7674 * libc/reent/fstat64r.c: Ditto.
7675 * libc/reent/lseek64r.c: Ditto.
7676 * libc/reent/open64r.c: Ditto.
7677 * libc/reent/Makefile.in: Regenerated.
7678 * libc/search/Makefile.am: Add EL/IX level checking.
7679 * libc/search/Makefile.in: Regenerated.
7680 * libc/stdio/Makefile.am: Add EL/IX level checking.
7681 * libc/stdio/Makefile.in: Regenerated.
7682 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7683 * libc/stdio64/Makefile.in: Regenerated.
7684 * libc/stdio64/dummy.c: New file.
7685 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
7686 after first include.
7687 * libc/stdio64/fopen64.c: Ditto.
7688 * libc/stdio64/freopen64.c: Ditto.
7689 * libc/stdio64/fseeko64.c: Ditto.
7690 * libc/stdio64/fsetpos64.c: Ditto.
7691 * libc/stdio64/ftello64.c: Ditto.
7692 * libc/stdio64/tmpfile64.c: Ditto.
7693 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7694 * libc/stdlib/Makefile.in: Regenerated.
7695 * libc/stdlib/mstats.c: Add EL/IX level checking.
7696 * libc/string/Makefile.am: Ditto.
7697 * libc/string/Makefile.in: Regenerated.
7698 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7699 * libc/sys/linux/Makefile.in: Regenerated.
7700 * libc/sys/linux/aclocal.m4: Ditto.
7701 * libc/sys/linux/configure: Ditto.
7702 * libc/sys/linux/aio.c: Add EL/IX level checking.
7703 * libc/sys/linux/ftok.c: Ditto.
7704 * libc/sys/linux/getdate.c: Ditto.
7705 * libc/sys/linux/ids.c: Ditto.
7706 * libc/sys/linux/inode.c: Ditto.
7707 * libc/sys/linux/io.c: Ditto.
7708 * libc/sys/linux/process.c: Ditto.
7709 * libc/sys/linux/resource.c: Ditto.
7710 * libc/sys/linux/sched.c: Ditto.
7711 * libc/sys/linux/sig.c: Ditto.
7712 * libc/sys/linux/termios.c: Ditto.
7713 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
7714 __libc___waitpid weak aliases.
7715 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
7716 that generate the code for a syscall, but do not create a
7717 weak alias.
7718 * libc/syscalls/Makefile.am: Add EL/IX level checking.
7719 * libc/syscalls/Makefile.in: Regenerated.
7720 * libc/time/tzset_r.c: Change to replace strdup with equivalent
7721 functionality.
7722 * libc/unix/Makefile.am: Add EL/IX level checking.
7723 * libc/unix/Makefile.in: Regenerated.
7724
7725 2002-08-26 Christopher Faylor <cgf@redhat.com>
7726
7727 * libc/include/malloc.h: On cygwin, define malloc _r functions as
7728 wrapper macros to standard malloc functions.
7729 * libc/include/stdlib.h: Ditto.
7730 * configure.host: Always define MALLOC_PROVIDED on cygwin.
7731
7732 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7733
7734 * libc/include/langinfo.h: New file.
7735 * libc/include/wchar.h: Likewise.
7736 * libc/include/sys/syslimits.h: Likewise.
7737 * libc/locale/fix_grouping.c: Likewise.
7738 * libc/locale/ldpart.c: Likewise.
7739 * libc/locale/ldpart.h: Likewise.
7740 * libc/locale/lmessages.c: Likewise.
7741 * libc/locale/lmessages.h: Likewise.
7742 * libc/locale/lmonetary.c: Likewise.
7743 * libc/locale/lmonetary.h: Likewise.
7744 * libc/locale/lnumeric.c: Likewise.
7745 * libc/locale/lnumeric.h: Likewise.
7746 * libc/locale/nl_langinfo.3: Likewise.
7747 * libc/locale/nl_langinfo.c: Likewise.
7748 * libc/locale/timelocal.c: Likewise.
7749 * libc/locale/timelocal.h: Likewise.
7750 * libc/stdlib/btowc.c: Likewise.
7751 * libc/stdlib/mbrlen.c: Likewise.
7752 * libc/stdlib/mbrtowc.c: Likewise.
7753 * libc/stdlib/mbsinit.c: Likewise.
7754 * libc/stdlib/mbsrtowcs.c: Likewise.
7755 * libc/stdlib/wcrtomb.c: Likewise.
7756 * libc/stdlib/wcsrtombs.c: Likewise.
7757 * libc/stdlib/wctob.c: Likewise.
7758 * libc/sys/linux/prof-freq.c: Likewise.
7759 * libc/sys/linux/profile.c: Likewise.
7760 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7761 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7762 * libc/include/stdlib.h: Change re-entrant functions to take
7763 mbstate_t pointers.
7764 * libc/include/sys/_types.h: Define _mbstate_t.
7765 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
7766 * libc/include/sys/errno.h (EILSEQ): New error code.
7767 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
7768 structure to use mbstate_t.
7769 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
7770 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
7771 * libc/machine/powerpc/vfscanf.c: Likewise.
7772 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
7773 * libc/stdio/vfprintf.c: Likewise.
7774 * libc/stdio/vfscanf.c: Likewise.
7775 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
7776 * libc/stdlib/mblen.c: Use mbstate_t.
7777 * libc/stdlib/mblen_r.c: Likewise.
7778 * libc/stdlib/mbstowcs.c: Likewise.
7779 * libc/stdlib/mbstowcs_r.c: Likewise.
7780 * libc/stdlib/mbtowc.c: Likewise.
7781 * libc/stdlib/mbtowc_r.c: Likewise.
7782 * libc/stdlib/wcstombs.c: Likewise.
7783 * libc/stdlib/wcstombs_r.c: Likewise.
7784 * libc/stdlib/wctomb_r.c: Likewise.
7785 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
7786 profile.c.
7787 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
7788 dl-procinfo.c.
7789 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
7790 * libc/sys/linux/sys/types.h (off_t): Define type.
7791 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
7792 to C-UTF-8.
7793 * testsuite/newlib.locale/UTF-8.exp: Likewise.
7794
7795 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
7796
7797 * libc/stdlib/mallocr.c: #include windows.h on Win32.
7798 (AlignPage): Continue macro on next line.
7799
7800 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7801
7802 * libc/sys/linux/include/pthread.h: New file.
7803
7804 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7805
7806 * libc/include/sys/types.h: Support __need_inttypes macro
7807 that only sets the __intxx and __uintxx types.
7808 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
7809 to get mprec.h.
7810 * libc/machine/powerpc/Makefile.in: Regenerated.
7811 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
7812 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
7813 redundant fixed-point conversion prototypes.
7814 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
7815 after setting __need_inttypes.
7816
7817 2002-08-18 Christopher Faylor <cgf@redhat.com>
7818
7819 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
7820
7821 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7822
7823 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
7824 _LONG_DOUBLE to double.
7825
7826 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7827
7828 * configure.host: Add powerpc*-*-eabispe* configuration.
7829 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
7830 * libc/machine/powerpc/atosfix32.c: Ditto.
7831 * libc/machine/powerpc/atosfix64.c: Ditto.
7832 * libc/machine/powerpc/atoufix16.c: Ditto.
7833 * libc/machine/powerpc/atoufix32.c: Ditto.
7834 * libc/machine/powerpc/atoufix64.c: Ditto.
7835 * libc/machine/powerpc/fix64.h: Ditto.
7836 * libc/machine/powerpc/simdldtoa.c: Ditto.
7837 * libc/machine/powerpc/strtosfix16.c: Ditto.
7838 * libc/machine/powerpc/strtosfix32.c: Ditto.
7839 * libc/machine/powerpc/strtosfix64.c: Ditto.
7840 * libc/machine/powerpc/strtoufix16.c: Ditto.
7841 * libc/machine/powerpc/strtoufix32.c: Ditto.
7842 * libc/machine/powerpc/strtoufix64.c: Ditto.
7843 * libc/machine/powerpc/ufix64toa.c: Ditto.
7844 * libc/machine/powerpc/configure.in: Add check for
7845 powerpc*-eabispe and add fixed-point conversion functions.
7846 * libc/machine/powerpc/configure: Regenerated.
7847 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
7848 %r and %R format specifiers which handle fixed-point data.
7849 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
7850 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
7851 function prototypes.
7852
7853 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7854
7855 * Makefile.am: Move cmath stuff into libc/sys/linux.
7856 * Makefile.in: Regenerated.
7857 * configure.host: Default -DMB_CAPABLE for x86-linux.
7858 * libc/include/reent.h: Define _sbrk to take signed int argument.
7859 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
7860 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
7861 make locale name checking more efficient. Also allow "C-ISO-8859-1"
7862 locale for LC_CTYPE and LC_MESSAGES.
7863 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
7864 * libc/sys/linux/brk.c: Change sbrk prototype.
7865 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
7866 include <sys/features.h>.
7867 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
7868 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
7869 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
7870 with a few local additions.
7871 * libc/sys/linux/sys/features.h: New file.
7872 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
7873 to take signed argument.
7874 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
7875 prototypes to take signed size argument.
7876
7877 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
7878
7879 * libc/sys/linux/cmath: New directory.
7880 * libc/sys/linux/include/cmathcalls.h: New file.
7881 * libc/sys/linux/include/complex.h: New file.
7882 * libc/sys/linux/machine/i386/huge_val.h: New file
7883 * libm/math/w_sincos.c: New file
7884 * libm/math/wf_sincos.c: New file
7885 * libm/mathfp/s_sincos.c: New file
7886 * libm/mathfp/sf_sincos.c: New file
7887 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
7888 * libc/include/math.h: Add sincos and sincosf declarations.
7889 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
7890 (SUBLIBS): Likewise.
7891 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
7892 * libm/math/Makefile.am (src): Add w_sincos.c.
7893 (fsrc): Add wf_sincos.c.
7894 * libm/mathfp/Makefile.am (src): Add s_sincos.c
7895 (fsrc): Add sf_sincos.c.
7896
7897 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
7898
7899 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
7900 Declare as extern chars and use the address operator to
7901 properly use values set in linker script.
7902
7903 2002-08-09 Jason Tishler <jason@tishler.net>
7904
7905 * libc/stdlib/mallocr.c: Include <limits.h>.
7906 (request2size): Change macro to do
7907 unsigned long comparisons and avoid signed overflow.
7908 (mALLOc): Add overflow check for the number of bytes to allocate.
7909 (rEALLOc): Ditto.
7910
7911 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
7912
7913 * configure.host: Add check for --enable-newlib-io-pos-args
7914 and define WANT_IO_POS_ARGS flag if enabled. Define
7915 the flag by default for x86-linux configurations.
7916 * configure.in: Add support for --enable-newlib-io-pos-args.
7917 * libc/configure.in: Ditto.
7918 * configure: Regenerated.
7919 * libc/configure: Ditto.
7920 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
7921 vfprintf.c and vfiprintf.c.
7922 * libc/stdio/Makefile.in: Regenerated.
7923 * libc/stdio/vfprintf.c: Add positional argument support that
7924 is enabled by compiling with -DWANT_IO_POS_ARGS.
7925
7926 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
7927
7928 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
7929 based on __mips_soft_float rather than __mips64.
7930 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
7931 of both 32-bit and 64-bit code.
7932
7933 2002-08-04 Christopher Faylor <cgf@redhat.com>
7934
7935 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
7936 arguments for popen to match similar functionality in fopen.
7937
7938 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
7939
7940 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
7941
7942 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
7943
7944 * libc/sys/linux/Makefile.am: Add aio64.c.
7945 * libc/sys/linux/Makefile.in: Regenerated.
7946 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
7947 * libc/sys/linux/aio64.c: New file.
7948
7949 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7950
7951 * libc/include/sys/param.h (MAX, MIN): Added macros.
7952 * libc/sys/linux/Makefile.am: Add new files.
7953 * libc/sys/linux/Makefile.in: Regenerated.
7954 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7955 * libc/sys/linux/inode.c (fchdir): Added syscall.
7956 * libc/sys/linux/ftw.c: New file.
7957 * libc/sys/linux/ftw64.c: Ditto.
7958 * libc/sys/linux/getwd.c: Ditto.
7959 * libc/sys/linux/scandir64.c: Ditto.
7960 * libc/sys/linux/strverscmp.c: Ditto.
7961 * libc/sys/linux/versionsort.c: Ditto.
7962 * libc/sys/linux/versionsort64.c: Ditto.
7963
7964 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7965
7966 * libc/string/strings.tex: Fix typo for memccpy.
7967
7968 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7969
7970 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
7971 * libc/sys/linux/sys/types.h (off64_t): Definition added.
7972
7973 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7974
7975 * libc/sys/linux/Makefile.am: Add fclean.c.
7976 * libc/sys/linux/Makefile.in: Regenerated.
7977 * libc/sys/linux/fclean.c: New file.
7978
7979 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7980
7981 * libc/sys/linux/Makefile.am: Add confstr.c.
7982 * libc/sys/linux/Makefile.in: Regenerated.
7983 * libc/sys/linux/confstr.c: New file.
7984 * libc/sys/linux/confstr.h: Ditto.
7985 * libc/sys/linux/sys/unistd.h: Include <features.h> and
7986 <bits/environments.h>.
7987
7988 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7989
7990 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
7991 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
7992 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
7993 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
7994 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
7995 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
7996
7997 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7998
7999 * libc/sys/linux/Makefile.am: Add new files.
8000 * libc/sys/linux/Makefile.in: Regenerated.
8001 * libc/sys/linux/fstab.c: New file.
8002 * libc/sys/linux/fstatvfs.c: Ditto.
8003 * libc/sys/linux/fstatvfs64.c: Ditto.
8004 * libc/sys/linux/internal_statvfs.c: Ditto.
8005 * libc/sys/linux/mntent.c: Ditto.
8006 * libc/sys/linux/mntent_r.c: Ditto.
8007 * libc/sys/linux/statvfs.c: Ditto.
8008 * libc/sys/linux/statvfs64.c: Ditto.
8009 * libc/sys/linux/include/paths.h: Ditto.
8010 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
8011 with double-underscore weak-aliases.
8012 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8013
8014 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8015
8016 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
8017 to use _sig_func_ptr type casted constants.
8018 (_sig_func_ptr): Typedef moved to sys/signal.h.
8019 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
8020 For __rtems, use POSIX definition, otherwise default to ANSI.
8021 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
8022
8023 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
8024
8025 * configure.host: Recognize m6811-elf and m6812-elf targets.
8026 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
8027 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
8028 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
8029 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
8030 according to __INT_MAX__.
8031 (_POINTER_INT): Define to short.
8032 * libc/machine/m68hc11/Makefile.am: New file.
8033 * libc/machine/m68hc11/Makefile.in: New file.
8034 * libc/machine/m68hc11/configure.in: New file.
8035 * libc/machine/m68hc11/configure: New file.
8036 * libc/machine/m68hc11/aclocal.m4: New file.
8037 * libc/machine/m68hc11/setjmp.S: New file.
8038
8039 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8040
8041 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
8042 prototypes.
8043 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
8044 * libc/stdlib/Makefile.in: Regenerated.
8045 * libc/stdlib/strdup.c: Removed.
8046 * libc/stdlib/strdup_r.c: Removed.
8047 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
8048 mempcpy.c, strndup.c, and strndup_r.c.
8049 * libc/string/Makefile.in: Regenerated.
8050 * libc/string/memccpy.c: New file.
8051 * libc/string/mempcpy.c: Ditto.
8052 * libc/string/strndup.c: Ditto.
8053 * libc/string/strndup_r.c: Ditto.
8054 * libc/string/strdup.c: New file moved from stdlib.
8055 * libc/string/strdup_r.c: Ditto.
8056 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
8057
8058 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8059
8060 * libc/include/stdio.h: Move fcloseall prototype within
8061 #ifndef _REENT_ONLY section.
8062 * libc/sys/linux/Makefile.am: Add new files.
8063 * libc/sys/linux/Makefile.in: Regenerated.
8064 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8065 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
8066 * libc/sys/linux/sys/types.h: Add ino64_t type.
8067 * libc/sys/linux/ctermid.c: New file.
8068 * libc/sys/linux/ttyname_r.c: Ditto.
8069 * libc/sys/linux/readdir64.c: Ditto.
8070
8071 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8072
8073 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8074 * libc/stdio/Makefile.am: Added fcloseall.c support.
8075 * libc/stdio/Makefile.in: Regenerated.
8076 * libc/stdio/fcloseall.c: New file.
8077 * libc/stdio64/Makefile.am: Remove missing .def references.
8078 * libc/stdio64/Makefile.in: Regenerated.
8079
8080 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8081
8082 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8083 * libc/machine/powerpc/times.c: New file.
8084 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8085 * libc/machine/powerpc/Makefile.in: Regenerated.
8086
8087 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
8088
8089 * libc/machine/powerpc/time.c: New file.
8090 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8091 time.c.
8092 * libc/machine/powerpc/Makefile.in: Regenerated.
8093
8094 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8095
8096 * libc/libc.texinfo: Change copyright notices to Red Hat from
8097 Cygnus.
8098 * libm/libm.texinfo: Likewise.
8099 * README: Change docs URL to
8100 http://sources.redhat.com/newlib/docs.html.
8101
8102 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8103
8104 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8105 * libc/sys/linux/Makefile.in: Regenerated.
8106 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8107 * libc/sys/linux/io.c: Add ftruncate syscall.
8108 * libc/sys/linux/fpathconf.c: New file.
8109 * libc/sys/linux/pathconf.c: Ditto.
8110 * libc/sys/linux/linux_fsinfo.h: Ditto.
8111 * libc/sys/linux/sys/unistd.h: Ditto.
8112
8113 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8114
8115 * libc/stdio64/Makefile.am: Remove missing files.
8116 * libc/stdio64/Makefile.in: Regenerated.
8117
8118 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8119
8120 * libc/include/sys/config.h[__i386__][__linux__]: Define
8121 _LARGE64FILE_SOURCE to 1.
8122 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8123 * libc/sys/linux/Makefile.in: Regenerated.
8124 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8125 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8126 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8127 of <linux/resource.h>.
8128 * libc/sys/linux/getrlimit64.c: New file.
8129 * libc/sys/linux/setrlimit64.c: Ditto.
8130
8131 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8132
8133 * libc/argz/argz_replace.c: Include buf_findstr.h.
8134 * libc/argz/buf_findstr.c: Likewise.
8135 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8136 value to (char *).
8137 * libc/argz/envz_get.c: Likewise.
8138 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8139 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8140 * libc/stdlib/getsubopt.3: New file.
8141 * libc/stdlib/getsubopt.c: New file.
8142 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8143 Change esp to ebp.
8144
8145 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
8146
8147 * configure.host(stdio64_dir): New setting that is used to
8148 enable building of new stdio64 directory.
8149 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
8150 large files.
8151 (stmp-stdio64,stdio64.texi): New targets to optionally add in
8152 stdio64 info to info files.
8153 * libc/Makefile.in: Regenerated.
8154 * libc/configure: Ditto.
8155 * libc/configure.in: Add configuration variables that are set
8156 when stdio64 is selected as subdir in configure.host.
8157 * libc/libc.texinfo: Add optional menu item for Stdio64, based
8158 on whether STDIO64 flag is set or not.
8159 * libc/sys.tex: Add optional stdio64 syscalls based on whether
8160 STDIO64 flag is set or not.
8161 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
8162 _r sycall routines.
8163 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
8164 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
8165 (__SL64): New file flag indicating file is opened via fopen64.
8166 * libc/include/sys/_types.h(_off64_t): Added.
8167 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
8168 * libc/include/sys/reent.h(struct __sFILE64): New file structure
8169 for 64-bit offset large file support.
8170 (__FILE): New intermediate type either set to struct __sFILE64 or
8171 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
8172 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
8173 * libc/reent/Makefile.in: Regenerated.
8174 * libc/reent/fstat64r.c: New file.
8175 * libc/reent/lseek64r.c: Ditto.
8176 * libc/reent/open64r.c: Ditto.
8177 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
8178 based on whether STDIO64 flag is set.
8179 * libc/stdio/stdio.tex: Add blank line.
8180 * libc/stdio64/Makefile.am: New file.
8181 * libc/stdio64/Makefile.in: Ditto.
8182 * libc/stdio64/fgetpos64.c: Ditto.
8183 * libc/stdio64/fopen64.: Ditto.
8184 * libc/stdio64/freopen64.c: Ditto.
8185 * libc/stdio64/fseeko64.c: Ditto.
8186 * libc/stdio64/fsetpos64.c: Ditto.
8187 * libc/stdio64/ftello64.c: Ditto.
8188 * libc/stdio64/local64.h: Ditto.
8189 * libc/stdio64/stdio64.c: Ditto.
8190 * libc/stdio64/stdio64.tex: Ditto.
8191 * libc/stdio64/tmpfile64.c: Ditto.
8192 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
8193 open64.
8194
8195 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
8196
8197 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
8198 if LIBC_EXTRA_LIB is present.
8199 * libc/Makefile.in: Regenerated.
8200 * libc/libc.texinfo: Add blank line.
8201 * libc/argz/Makefile.am: Add doc support.
8202 * libc/search/Makefile.am: Ditto.
8203 * libc/argz/Makefile.in: Regenerated.
8204 * libc/search/Makefile.in: Ditto.
8205 * libc/misc/misc.tex: Add ffs function.
8206 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
8207
8208 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8209
8210 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
8211 definition that was removed in error.
8212
8213 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8214
8215 * libc/include/machine/ieeefp.h: Change to only define
8216 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
8217 __IEEE_LITTLE_ENDIAN must be defined for each platform).
8218 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
8219 remove redundant floating point definitions.
8220
8221 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8222
8223 * libc/sys/linux/callocr.c: Fix so code references
8224 calloc.
8225
8226 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8227
8228 * libc/sys/linux/Makefile.am: Add new files.
8229 * libc/sys/linux/Makefile.in: Regenerated.
8230 * libc/sys/linux/bp-sym.h: Moved to include directory.
8231 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
8232 * libc/sys/linux/inode.c: Set _LIBC to 1.
8233 * libc/sys/linux/mq_close.c: Ditto.
8234 * libc/sys/linux/mq_getattr.c: Ditto.
8235 * libc/sys/linux/mq_open.c: Ditto.
8236 * libc/sys/linux/mq_receive.c: Ditto.
8237 * libc/sys/linux/mq_send.c: Ditto.
8238 * libc/sys/linux/mq_setattr.c: Ditto.
8239 * libc/sys/linux/mq_unlink.c: Ditto.
8240 * libc/sys/linux/calloc.c: New file.
8241 * libc/sys/linux/callocr.c: Ditto.
8242 * libc/sys/linux/cfreer.c: Ditto.
8243 * libc/sys/linux/config.h: Ditto.
8244 * libc/sys/linux/free.c: Ditto.
8245 * libc/sys/linux/freer.c: Ditto.
8246 * libc/sys/linux/msize.c: Ditto.
8247 * libc/sys/linux/msizer.c: Ditto.
8248 * libc/sys/linux/mstats.c: Ditto.
8249 * libc/sys/linux/mtrim.c: Ditto.
8250 * libc/sys/linux/mtrimr.c: Ditto.
8251 * libc/sys/linux/pvallocr.c: Ditto.
8252 * libc/sys/linux/realloc.c: Ditto.
8253 * libc/sys/linux/reallocr.c: Ditto.
8254 * libc/sys/linux/thread-m.h: Ditto.
8255 * libc/sys/linux/vallocr.c: Ditto.
8256 * libc/sys/linux/bp-checks.h: Ditto.
8257 * libc/sys/linux/libc-symbols.h: Ditto.
8258 * libc/sys/linux/libc-tsd.h: Ditto.
8259 * libc/sys/linux/libintl.h: Ditto.
8260 * libc/sys/linux/malign.c: Ditto.
8261 * libc/sys/linux/malignr.c: Ditto.
8262 * libc/sys/linux/mallinfor.c: Ditto.
8263 * libc/sys/linux/malloc.c: Ditto.
8264 * libc/sys/linux/mallocr.c: Ditto.
8265 * libc/sys/linux/malloptr.c: Ditto.
8266 * libc/sys/linux/mallstatsr.c: Ditto.
8267 * libc/sys/linux/mcheck.c: Ditto.
8268 * libc/sys/linux/mhooks.h: Ditto.
8269 * libc/sys/linux/include/bp-sym.h: Ditto.
8270 * libc/sys/linux/include/malloc.h: Ditto.
8271 * libc/sys/linux/include/mcheck.h: Ditto.
8272 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
8273 getpagesize.c.
8274 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
8275 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
8276 * libc/sys/linux/machine/i386/getpagesize.c: New file.
8277 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
8278 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8279 * libc/sys/linux/machine/i386/sysdep.h: New file.
8280 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
8281 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
8282 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
8283
8284 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
8285
8286 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
8287 instead of <asm/siginfo.h>.
8288 * libc/sys/linux/sys/signal.h: Change to include various linux
8289 <bits/xxx.h> header files, rather than <linux/signal.h> so as
8290 to work with multiple releases of glibc header files.
8291
8292 2002-07-11 Chris Demetriou <cgd@broadcom.com>
8293
8294 * testsuite/newlib.search/hsearchtest.c: New file to test
8295 newlib/libc/search.
8296 * testsuite/newlib.search/hsearchtest.exp: Likewise.
8297
8298 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
8299
8300 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
8301 a terminal.
8302 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
8303
8304 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
8305
8306 * libc/include/math.h (MAXFLOAT): Added.
8307
8308 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
8309
8310 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
8311 Make strcmp.S unconditional.
8312 * libc/machine/sh/Makefile.in: Regenerate.
8313 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
8314 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
8315 for SHcompact.
8316
8317 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8318
8319 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
8320 define before including <sys/lock.h>.
8321
8322 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8323
8324 * libc/include/utime.h: Add include of <_ansi.h>.
8325 * libc/sys/linux/Makefile.am: Add utimes.c.
8326 * libc/sys/linux/Makefile.in: Regenerated.
8327 * libc/sys/linux/inode.c(__umask): New static routine.
8328 (umask): Written to use __umask and attempt to thread lock.
8329 (getumask): New function written to use __umask and thread lock.
8330 * libc/sys/linux/utimes.c: New file.
8331 * libc/sys/linux/sys/time.h: Fix utimes prototype.
8332 * libc/sys/linux/sys/utime.h: New file.
8333
8334 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8335
8336 * libtool.m4: New file.
8337 * libc/sys/linux/process.c: Implement vfork in terms of fork,
8338 rather than as a syscall.
8339
8340 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8341
8342 * libc/include/stdio.h: Add new prototypes.
8343 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
8344 * libc/stdio/Makefile.in: Regenerated.
8345 * libc/stdio/fseek.c: Add fseeko documentation.
8346 * libc/stdio/ftell.c: Add ftello documentation.
8347 * libc/stdio/fseeko.c: New file.
8348 * libc/stdio/ftello.c: New file.
8349
8350 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8351
8352 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
8353 * libc/stdio/Makefile.in: Regenerated.
8354 * libc/stdio/asprintf.c: New file.
8355 * libc/stdio/vasprintf.c: Ditto.
8356 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
8357 the buffer for asprintf support.
8358 * libc/stdio/sprintf.c: Add asprintf documentation.
8359 * libc/stdio/vfprintf.c: Add vasprintf documentation.
8360 * libc/include/stdio.h: Add new prototypes.
8361
8362 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
8363
8364 * libc/search/hcreate.c: Remove advertising clause from license.
8365 * libc/search/hcreate_r.c: Likewise.
8366
8367 2002-07-02 Chris Demetriou <cgd@broadcom.com>
8368
8369 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
8370 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
8371 Check that one of them is defined and error out if not.
8372 Add any platforms defined in <machine/ieeefp.h> that are missing.
8373 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
8374 (DB_LITTLE_ENDIAN): New defines.
8375 * libc/search/hash.c: Replace all incorrect checks for
8376 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
8377 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
8378 * libc/search/hash_page.c: Likewise.
8379
8380 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8381
8382 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
8383
8384 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
8385
8386 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
8387 * libc/include/time.h: Same.
8388 * libc/include/string.h: Same.
8389 * libc/include/stdlib.h: Same.
8390 * libc/include/signal.h: Same.
8391 * libc/include/setjmp.h: Same.
8392 * libc/include/math.h: Same.
8393 * libc/include/locale.h: Same.
8394 * libc/include/ctype.h: Same.
8395 * libc/include/machine/setjmp.h: Same.
8396 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
8397 (_END_STD_C): Add.
8398
8399 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8400
8401 * libc/include/sys/_types.h: Define _ssize_t as int if int is
8402 32-bits, otherwise define it as long.
8403 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
8404 and define ssize_t as _ssize_t.
8405 * libc/reent/readr.c: Change return type to _ssize_t.
8406 * libc/reent/writer.c: Ditto.
8407 * libc/sys/linux/Makefile.am: Add aio.c.
8408 * libc/sys/linux/Makefile.in: Regenerated.
8409 * libc/sys/linux/aio.c: New file.
8410 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
8411 * libm/common/fdlibm.h: Undef __P before defining it.
8412
8413 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8414
8415 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
8416 exponent_is_even_int variable. Handle case where x is
8417 negative, and y is an odd integer.
8418 * libm/mathfp/sf_pow.c (powf): Likewise.
8419
8420 * libm/mathfp/er_lgamma.c: Remove __kernel references.
8421 * libm/mathfp/erf_lgamma.c: Likewise.
8422 * libm/mathfp/s_tgamma.c: Likewise.
8423 * libm/mathfp/sf_tgamma.c: Likewise.
8424
8425 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8426
8427 * libc/sys/linux/Makefile.am: Add new clock routines.
8428 * libc/sys/linux/Makefile.in: Regenerated.
8429 * libc/sys/linux/clock_getres.c: New file.
8430 * libc/sys/linux/clock_gettime.c: Ditto.
8431 * libc/sys/linux/clock_settime.c: Ditto.
8432 * libc/sys/linux/hp-timing.h: Ditto.
8433 * libc/sys/linux/libc-internal.h: Ditto.
8434 * libc/sys/linux/sysconf.c: Fix typo.
8435 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
8436 * libc/sys/linux/machine/hp-timing.h: New file.
8437 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
8438 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8439 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
8440 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
8441 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
8442 * libc/sys/linux/sys/linux_time.h: New file.
8443 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
8444 replace with <sys/linux_time.h>.
8445
8446 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
8447
8448 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8449
8450 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8451
8452 * libc/sys/linux/Makefile.am: Consolidate additional items under
8453 ADD_OBJS.
8454 * libc/sys/linux/Makefile.in: Regenerated.
8455
8456 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8457
8458 * libc/sys/linux/sethostname.c: New file.
8459 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8460 * libc/sys/linux/Makefile.in: Regenerated.
8461
8462 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8463
8464 * libc/search/db_local.h: New file.
8465 * libc/include/db.h: Remove.
8466 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8467 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8468 "db_local.h".
8469 * libc/search/hash_bigkey.c: Likewise.
8470 * libc/search/hash_buf.c: Likewise.
8471 * libc/search/hash_func.c: Likewise.
8472 * libc/search/hash_log2.c: Likewise.
8473 * libc/search/hash_page.c: Likewise.
8474
8475 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
8476
8477 * libc/machine/sh/strlen.S: New file.
8478 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8479 * libc/machine/sh/Makefile.am: Regenerate.
8480
8481 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8482
8483 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8484 add gethostname alias.
8485
8486 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8487
8488 * libc/include/math.h: Remove <sys/types.h>.
8489 (__dmath): Use __ULong instead of __uint32_t.
8490 * libc/include/sys/reent.h: If long or int is not 32-bits,
8491 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
8492 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8493 * libm/common/fdlibm.h: Ditto.
8494
8495 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8496
8497 * libc/include/ndbm.h: Remove.
8498 * libc/search/ndbm.c: Remove.
8499
8500 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8501
8502 * libc/stdio/fseek.c (fseek): Fix braces.
8503
8504 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
8505
8506 * libc/time/strftime.c (strftime): Add %e format specifier.
8507
8508 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8509
8510 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8511 previously defined.
8512
8513 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
8514
8515 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8516 (BYTE_ORDER): Define as appropriate for the target.
8517
8518 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8519
8520 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8521 to _ssize_t.
8522 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8523
8524 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8525
8526 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8527 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8528 [HAVE_GETDATE](getdate_err): New error code.
8529 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8530 * libc/stdio/Makefile.in: Regenerated.
8531 * libc/stdio/getdelim.c: New file.
8532 * libc/stdio/getline.c: Ditto.
8533 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8534 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8535 * libc/sys/linux/Makefile.in: Regenerated.
8536 * libc/sys/linux/getdate.c: New file.
8537 * libc/sys/linux/getdate_err.c: Ditto.
8538 * libc/sys/linux/ntp_gettime.c: Ditto.
8539 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8540 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8541
8542 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8543
8544 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8545 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8546 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8547 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8548 * libc/include/sys/param.h: Remove i386 case which is handled
8549 by default case.
8550 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8551 definitions in case they are already defined.
8552 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8553 _IEEE_LITTLE_ENDIAN flags.
8554 * libc/include/sys/reent.h: Change __uint32_t references to
8555 use _ULong instead.
8556 (_REENT_GETDATE_REENT_P): New macro.
8557 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8558 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8559 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8560 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8561 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8562 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8563 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8564 definitions which are done by subsequent glibc headers.
8565 Add macro definitions to prevent subsequent header files from
8566 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8567 intptr_t to after glibc definitions of types they are based on.
8568
8569 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8570
8571 * libc/include/errno.h: Protect from multiple inclusion.
8572
8573 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8574
8575 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8576
8577 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8578
8579 * Makefile.am (LIB_OBJECTLISTS): Add
8580 libc/search/objectlist.awk.in.
8581 * libc/Makefile.am (SUBDIRS): Add search.
8582 (SUBLIBS): Add search/libsearch.la.
8583 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8584 * libc/search: New directory.
8585 * libc/search/Makefile.am: New file.
8586 * libc/search/extern.h: New file.
8587 * libc/search/hash.c: New file.
8588 * libc/search/hash.h: New file.
8589 * libc/search/hash_bigkey.c: New file.
8590 * libc/search/hash_buf.c: New file.
8591 * libc/search/hash_func.c: New file.
8592 * libc/search/hash_log2.c: New file.
8593 * libc/search/hash_page.c: New file.
8594 * libc/search/hcreate.3: New file.
8595 * libc/search/hcreate.c: New file.
8596 * libc/search/hcreate_r.c: New file.
8597 * libc/search/ndbm.c: New file.
8598 * libc/search/page.h: New file.
8599 * libc/search/tdelete.c: New file.
8600 * libc/search/tdestroy.c: New file.
8601 * libc/search/tfind.c: New file.
8602 * libc/search/tsearch.3: New file.
8603 * libc/search/tsearch.c: New file.
8604 * libc/search/twalk.c: New file.
8605 * libc/include/db.h: New file.
8606 * libc/include/ndbm.h: New file.
8607 * libc/include/search.h: New file.
8608 * libc/include/sys/queue.h: New file.
8609 * libc/include/sys/cdefs.h: New file.
8610 * libc/include/sys/param.h
8611 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8612 LITTLE_ENDIAN or BIG_ENDIAN.
8613 * libc/include/sys/errno.h (EFTYPE): New macro.
8614 * libc/search/bsearch.c: Move from libc/stdlib.
8615 * libc/search/qsort.c: Likewise.
8616 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8617 qsort.c.
8618 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8619 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8620
8621 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8622
8623 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8624 ipc routines, and ftok.
8625 * libc/sys/linux/Makefile.in: Regenerated.
8626 * libc/sys/linux/ftok.c: New file.
8627 * libc/sys/linux/ipc.c: Ditto.
8628 * libc/sys/linux/mq_close.c: Ditto.
8629 * libc/sys/linux/mq_getattr.c: Ditto.
8630 * libc/sys/linux/mq_notify.c: Ditto.
8631 * libc/sys/linux/mq_open.c: Ditto.
8632 * libc/sys/linux/mq_receive.c: Ditto.
8633 * libc/sys/linux/mq_send.c: Ditto.
8634 * libc/sys/linux/mq_setattr.c: Ditto.
8635 * libc/sys/linux/mq_unlink.c: Ditto.
8636 * libc/sys/linux/mqlocal.h: Ditto.
8637 * libc/sys/linux/include/mqueue.h: Ditto.
8638 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8639 __uid_t_defined.
8640
8641 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8642
8643 * libm/common/sf_lround.c (round): Change name to: (lround).
8644 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8645 remquof.
8646
8647 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8648
8649 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8650 procedure.
8651 (newlib_pass_fail): Change to compile and run only one file.
8652 * testsuite/newlib.locale/locale.exp: Use new
8653 newlib_pass_fail_all procedure.
8654 * testsuite/newlib.string/string.exp: Likewise.
8655
8656 2002-06-18 Dave Brolley <brolley@redhat.com>
8657
8658 From Catherine Moore, Michael Meissner, Richard Sandiford:
8659 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8660 (_JBTYPE): Ditto.
8661 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8662 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8663 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8664 * configure.host: Support frv-*-*.
8665 * libc/machine/frv/Makefile.am: New file.
8666 * libc/machine/frv/configure.in: New file.
8667 * libc/machine/frv/setjmp.S: New file.
8668
8669 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8670
8671 * libc/include/ctype.h: Remove isblank macro.
8672
8673 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8674 * libc/ctype/isblank.c: New file.
8675 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8676 declaration. Add isblank macro.
8677
8678 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8679
8680 * testsuite/newlib.stdlib/atexit.c: New file.
8681 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8682 * testsuite/newlib.string/tstring.c: Change default start size
8683 to something more reasonable for embedded platforms.
8684
8685 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8686
8687 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8688
8689 * libc/argz: New directory.
8690 * libc/argz/*: New files.
8691 * libc/argz/argz_add.c: New file.
8692 * libc/argz/argz_add_sep.c: New file.
8693 * libc/argz/argz_append.c: New file.
8694 * libc/argz/argz_count.c: New file.
8695 * libc/argz/argz_create.c: New file.
8696 * libc/argz/argz_create_sep.c: New file.
8697 * libc/argz/argz_delete.c: New file.
8698 * libc/argz/argz_extract.c: New file.
8699 * libc/argz/argz_insert.c: New file.
8700 * libc/argz/argz_next.c: New file.
8701 * libc/argz/argz_replace.c: New file.
8702 * libc/argz/argz_stringify.c: New file.
8703 * libc/argz/buf_findstr.c: New file.
8704 * libc/argz/envz_add.c: New file.
8705 * libc/argz/envz_entry.c: New file.
8706 * libc/argz/envz_get.c: New file.
8707 * libc/argz/envz_merge.c: New file.
8708 * libc/argz/envz_remove.c: New file.
8709 * libc/argz/envz_strip.c: New file.
8710 * libc/include/argz.h: New file.
8711 * libc/include/envz.h: New file.
8712 * Makefile.am (LIBC_OBJECTLISTS): Add
8713 libc/argz/objectlist.awk.in.
8714 * libc/Makefile.am (SUBDIRS): Add argz.
8715 (SUBLIBS): Add argz/libargz.la.
8716 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
8717 * libc/include/errno.h: Add error_t typedef.
8718
8719 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
8720
8721 * libc/include/stdlib.h: Add _Exit prototype.
8722 * libc/stdlib/Makefile.am: Add _Exit.c support.
8723 * libc/stdlib/Makefile.in: Ditto.
8724 * libc/stdlib/_Exit.c: New file.
8725
8726 2002-06-13 Stephen L. Moshier <steve@moshier.net>
8727
8728 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
8729 x is close to -1.0 and y is very large to use ax (absolute value)
8730 instead of x.
8731 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
8732
8733 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
8734
8735 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
8736 Fix clobbering bytes before destination if src and dst have same
8737 non-zero misalignment.
8738
8739 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8740 Fixed bug in writing end of set region.
8741
8742 2002-06-10 Christopher Faylor <cgf@redhat.com>
8743
8744 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8745 spawnve declaration.
8746
8747 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8748
8749 * libm/common/s_fdim.c: New file.
8750 * libm/common/s_fma.c: Likewise.
8751 * libm/common/s_fmax.c: Likewise.
8752 * libm/common/s_fmin.c: Likewise.
8753 * libm/common/s_fpclassify.c: Likewise.
8754 * libm/common/s_lrint.c: Likewise.
8755 * libm/common/s_lround.c: Likewise.
8756 * libm/common/s_nearbyint.c: Likewise.
8757 * libm/common/s_remquo.c: Likewise.
8758 * libm/common/s_round.c: Likewise.
8759 * libm/common/s_scalbln.c: Likewise.
8760 * libm/common/s_signbit.c: Likewise.
8761 * libm/common/s_trunc.c: Likewise.
8762 * libm/common/sf_fdim.c: Likewise.
8763 * libm/common/sf_fma.c: Likewise.
8764 * libm/common/sf_fmax.c: Likewise.
8765 * libm/common/sf_fmin.c: Likewise.
8766 * libm/common/sf_lrint.c: Likewise.
8767 * libm/common/sf_lround.c: Likewise.
8768 * libm/common/sf_nearbyint.c: Likewise.
8769 * libm/common/sf_remquo.c: Likewise.
8770 * libm/common/sf_round.c: Likewise.
8771 * libm/common/sf_scalbln.c: Likewise.
8772 * libm/common/sf_trunc.c: Likewise.
8773 * libm/math/w_exp2.c: Likewise.
8774 * libm/math/w_tgamma.c: Likewise.
8775 * libm/math/wf_exp2.c: Likewise.
8776 * libm/math/wf_tgamma.c: Likewise.
8777 * libm/mathfp/s_exp2.c: Likewise.
8778 * libm/mathfp/s_tgamma.c: Likewise.
8779 * libm/mathfp/sf_exp2.c: Likewise.
8780 * libm/mathfp/sf_tgamma.c: Likewise.
8781 * libm/math/er_gamma.c: Fix return value.
8782 * libm/math/erf_gamma.c: Likewise.
8783 * libm/mathfp/er_gamma.c: Likewise.
8784 * libm/mathfp/erf_gamma.c: Likewise.
8785 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
8786 declarations and macros.
8787 Regenerated all Makefile.in, aclocal.m4 and configure files to
8788 use new libtool macros in top-level libtool.m4
8789
8790 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
8791
8792 * libc/include/string.h[__linux__]: Add strsignal prototype.
8793 * libc/include/sys/lock.h: New file with default locking support.
8794 * libc/include/sys/reent.h: Add signal buffer support for strsignal
8795 and psignal.
8796 * libc/posix/Makefile.am: Add support for readdir_r.c.
8797 * libc/posix/Makefile.in: Regenerated.
8798 * libc/posix/closedir.c: Add locking support and hash table cleanup.
8799 * libc/posix/opendir.c: Add lock support.
8800 * libc/posix/readdir.c: Ditto.
8801 * libc/posix/rewinddir.c: Ditto.
8802 * libc/posix/scandir.c: Ditto.
8803 * libc/posix/seekdir.c: Ditto.
8804 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
8805 clean up leftover hash table entries.
8806 * libc/posix/readdir_r.c: New file.
8807 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
8808 * libc/sys/linux/Makefile.in: Regenerated.
8809 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
8810 * libc/sys/linux/sys/signal.h: Add psignal prototype.
8811 * libc/sys/linux/psignal.c: New file.
8812 * libc/sys/linux/strsignal.c: Ditto.
8813
8814 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
8815
8816 * libc/include/sys/types.h: Don't define dev_t when compiling for
8817 Cygwin.
8818
8819 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
8820
8821 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
8822 make siglist.inc dependent on sig.c instead of signal.c.
8823 * libc/sys/linux/Makefile.in: Regenerated.
8824 * libc/sys/linux/sig.c: Rename from signal.c and change code to
8825 use NSIG instead of _NSIG.
8826 * libc/sys/linux/sigaction.c: New file.
8827 * libc/sys/linux/signal.c: Changed to be linux signal() function
8828 so as to override regular newlib default signal.c.
8829 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
8830 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8831 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
8832 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
8833 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
8834 default linux sigset_t typedef by defining it equal to __sigset_t.
8835 * libc/unix/sigset.c: Add check so code isn't compiled on systems
8836 with a sigset_t that isn't implemented with a single int.
8837
8838 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
8839
8840 * libc/sys/linux/Makefile.am: Add support for new files.
8841 * libc/sys/linux/Makefile.in: Regenerated.
8842 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
8843 * libc/sys/linux/signal.c: Change to use real-time syscalls for
8844 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
8845 it is in a separate file now.
8846 * libc/sys/linux/machine/i386/Makefile.am
8847 * libc/sys/linux/machine/i386/Makefile.in
8848 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
8849 * libc/sys/linux/sigaction.c: New file.
8850 * libc/sys/linux/sigqueue.c: Ditto.
8851 * libc/sys/linux/sigwait.c: Ditto.
8852 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
8853 * libc/sys/linux/kernel_sigaction.h: Ditto.
8854
8855 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
8856
8857 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
8858 tcsendbrk.c.
8859 * libc/sys/linux/Makefile.in: Regenerated.
8860 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
8861 tcgetpgrp(), and tcsetpgrp() functions.
8862 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
8863 to get __MAX_BAUD rate.
8864 * libc/sys/linux/machine/i386/include/termios.h: New file.
8865 * libc/include/machine/termios.h: Ditto.
8866 * libc/sys/linux/cfspeed.c: Ditto.
8867 * libc/sys/linux/tcsendbrk.c: Ditto.
8868
8869 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
8870
8871 * libc/include/string.h: Add strnlen and strerror_r prototypes.
8872 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
8873 * libc/string/Makefile.in: Regenerated.
8874 * libc/string/strerror_r.c: New file.
8875 * libc/string/strnlen.c: New file.
8876 * libc/sys/linux/Makefile.am: Add rename.c.
8877 * libc/sys/linux/Makefile.in: Regenerated.
8878 * libc/sys/linux/rename.c: New file to override default rename.
8879
8880 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8881
8882 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
8883 * libc/sys/linux/sys/time.h: Add conversion macros.
8884 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
8885 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
8886 * libc/sys/linux/gethostname.c: New file.
8887 * libc/sys/linux/seteuid.c: New file.
8888 * libc/sys/linux/sysctl.c: New file.
8889
8890 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8891
8892 * libc/string/Makefile.am: Add support for strsep.c.
8893 * libc/string/Makefile.in: Regenerated.
8894 * libc/string/strsep.c: New file.
8895 * libc/string/strtok.c: Change to call __strtok_r service routine.
8896 * libc/string/strtok_r.c: Add __strtok_r routine which takes
8897 additional flag parameter regarding whether to skip leading delimeters.
8898 Change strtok_r to call __strtok_r.
8899
8900 2002-05-23 Gareth Pearce <tilps@hotmail.com>
8901
8902 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
8903 * libc/stdio/Makefile.in: Regenerated.
8904 * libc/stdio/setbuffer.c: New file.
8905 * libc/stdio/setlinebuf.c: New file.
8906
8907 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8908
8909 * libc/sys/linux/Makefile.am: Add resource.c.
8910 * libc/sys/linux/Makefile.in: Regenerated.
8911 * libc/sys/linux/resource.c: New file.
8912 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
8913 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
8914 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8915 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
8916 are now found in libc/sys/linux/resource.c.
8917
8918 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8919
8920 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
8921 to use void * pointers and comply with Single Unix spec.
8922 * libc/string/bcmp.c: Change to use void * instead of char *.
8923 * libc/string/bcopy.c: Ditto.
8924 * libc/string/bzero.c: Ditto.
8925
8926 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8927
8928 * libc/sys/linux/shm_open.c: New file.
8929 * libc/sys/linux/shm_unlink.c: Ditto.
8930 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
8931 shm_unlink.c.
8932 * libc/sys/linux/Makefile.in: Regenerated.
8933 * libc/sys/linux/sys/types.h: Add some additional checks to see
8934 if clock_t or time_t is already defined.
8935
8936 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8937
8938 * Makefile.am: Don't pass $toollibdir down directly in
8939 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
8940 Pass it under the name: top_toollibdir.
8941 * Makefile.in: Regenerated.
8942
8943 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8944
8945 * libc/include/sys/types.h: Revert previous patch.
8946
8947 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8948
8949 * libc/include/sys/types.h: Include cygwin/types.h always under
8950 Cygwin, not only if _POSIX_THREADS is defined.
8951
8952 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
8953
8954 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
8955
8956 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
8957
8958 * Makefile.am: Copy and install headers from sys/machine/include
8959 directory. Also pass $toollibdir to lower-level directories.
8960 * Makefile.in: Regenerated.
8961 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
8962 stderr to use _REENT macro instead of _impure_ptr directly.
8963 * libc/include/sys/config.h[__i386__][__linux__]: Define
8964 __DYNAMIC_REENT__.
8965 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
8966 call to __getreent() function if !__SINGLE_THREAD__ and
8967 __DYNAMIC_REENT__ is set.
8968 * libc/reent/Makefile.am: Add support for getreent.c.
8969 * libc/reent/Makefile.in: Regenerated.
8970 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
8971 * libc/sys/linux/Makefile.am: Add support for new files.
8972 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
8973 * libc/sys/linux/Makefile.in: Regenerated.
8974 * libc/sys/linux/configure: Ditto.
8975 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
8976 __close, __read, __write, __poll, __open, __lseek, __fcntl from
8977 their __libc_ counterparts.
8978 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
8979 and weak-alias to regular names.
8980 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
8981 to pread64 and __pread64.
8982 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
8983 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
8984 weak-alias to pwrite64.
8985 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
8986 __libc_sched_getscheduler, __libc_sched_get_priority_max,
8987 __libc_sched_get_priority_min, and __libc_sched_setschedule to
8988 name with __ instead of __libc_.
8989 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
8990 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
8991 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
8992 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
8993 to raise.
8994 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
8995 __libc_send to __send.
8996 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
8997 __gettimeofday.
8998 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
8999 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
9000 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
9001 type and typedef __jmp_buf to jmp_buf.
9002 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
9003 setjmp.S.
9004 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9005 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
9006 section.
9007 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
9008 prefix for function macros and then use weak_alias() to regular names.
9009 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9010 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
9011 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
9012 to be flockfile() and funlockfile() respectively.
9013 * libc/sys/linux/sys/types.h
9014 * libc/reent/getreent.c: New file.
9015 * libc/sys/linux/flockfile.c: Ditto.
9016 * libc/sys/linux/funlockfile.c: Ditto.
9017 * libc/sys/linux/getreent.c: Ditto.
9018 * libc/sys/linux/pread.c: Ditto.
9019 * libc/sys/linux/pwrite.c: Ditto.
9020 * libc/sys/linux/raise.c: Ditto.
9021 * libc/sys/linux/system.c: Ditto.
9022 * libc/sys/linux/tcdrain.c: Ditto.
9023 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
9024 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
9025 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
9026 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
9027 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
9028
9029 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
9030
9031 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
9032 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
9033 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
9034 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
9035
9036 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
9037
9038 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
9039 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
9040 exit point.
9041
9042 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9043
9044 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
9045 options when testing natively on i[3456]86-*-linux.
9046
9047 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
9048 only one pass or fail per test file. Trim \r's from output
9049 values received from test programs. Remove support for named
9050 tests.
9051 * testsuite/newlib.locale/UTF-8.exp: Update to support new
9052 newlib_check_output behaviour.
9053 * testsuite/newlib.locale/UTF-8.c: Likewise.
9054
9055 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
9056
9057 * libc/include/stdlib.h: Add on_exit prototype.
9058 * libc/include/sys/reent.h (struct _atexit): Add argument array
9059 and bits to track type of exit routine to support both on_exit
9060 and atexit.
9061 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
9062 by default and change the setting of the atexit structure.
9063 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9064 * libc/stdlib/on_exit.c: New file.
9065 * libc/stdlib/Makefile.am: Add support for on_exit.
9066 * libc/stdlib/Makefile.in: Regenerated.
9067 * libc/stdlib/atexit.c: Change to initialize types field.
9068 * libc/stdlib/exit.c: Change to look at types field for each
9069 exit routine and either call an atexit-style or an on_exit-style
9070 routine accordingly.
9071
9072 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9073
9074 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9075 allow v specifier with n or L specifiers. For vector c format,
9076 move tmp declaration to the top.
9077
9078 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9079
9080 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9081 the original format specifier when looping for vectors to compensate
9082 for any changes made in vector %g format processing.
9083 Also add syntax checking for various invalid scenarios
9084 involving vector format extensions.
9085 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9086 return code setting for vector formats. Also treat vector
9087 separator mismatch as a match error instead of an input error.
9088 Perform some syntax checking for vector formats.
9089
9090 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9091
9092 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9093 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9094 * libc/string/strlcat.c: New file.
9095 * libc/string/strlcpy.c: New file.
9096
9097 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9098
9099 * libc/string/strchr.c: Fix comment typo.
9100
9101 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9102
9103 * acinclude.m4: Add support for --enable-newlib-multithread.
9104 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9105 --enable-newlib-multithread=no.
9106
9107 * libc/stdio/getc_u.c: New file.
9108 * libc/stdio/getchar_u.c: New file.
9109 * libc/stdio/putc_u.c: New file.
9110 * libc/stdio/putchar_u.c: New file.
9111 * libc/include/stdio.h: Add declarations for getc_unlocked,
9112 getchar_unlocked, putc_unlocked and putchar_unlocked.
9113 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9114 (CHEWOUT_FILES): Add new files' .def's.
9115 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9116
9117 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9118
9119 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9120 Also handle as single quad word when destination ends at last
9121 byte of first quad word. Fix byte selection in single quad code.
9122
9123 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9124
9125 * libc/include/sys/stdio.h: New file.
9126 * libc/sys/linux/sys/stdio.h: New file.
9127 * libc/include/stdio.h: Add declarations for flockfile,
9128 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9129 * libc/stdio/clearerr.c: Add file locking.
9130 * libc/stdio/fclose.c: Likewise.
9131 * libc/stdio/feof.c: Likewise.
9132 * libc/stdio/ferror.c: Likewise.
9133 * libc/stdio/fflush.c: Likewise.
9134 * libc/stdio/fgetc.c: Likewise.
9135 * libc/stdio/fgetpos.c: Likewise.
9136 * libc/stdio/fgets.c: Likewise.
9137 * libc/stdio/fileno.c: Likewise.
9138 * libc/stdio/fputc.c: Likewise.
9139 * libc/stdio/fputs.c: Likewise.
9140 * libc/stdio/fread.c: Likewise.
9141 * libc/stdio/freopen.c: Likewise.
9142 * libc/stdio/fseek.c: Likewise.
9143 * libc/stdio/ftell.c: Likewise.
9144 * libc/stdio/fwrite.c: Likewise.
9145 * libc/stdio/getc.c: Likewise.
9146 * libc/stdio/putc.c: Likewise.
9147 * libc/stdio/setvbuf.c: Likewise.
9148 * libc/stdio/ungetc.c: Likewise.
9149 * libc/stdio/vfprintf.c: Likewise.
9150
9151 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9152
9153 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
9154 support for 'p' format. Fix code to print bytes for vector
9155 integer formats that do not specify 'h' or 'l'.
9156 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
9157 for 'p' specifier. Fix code to scan 16 bytes for vector integer
9158 formats that do not specify 'h' or 'l'.
9159
9160 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
9161
9162 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
9163
9164 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
9165 (_sbrk): Add cast of return value.
9166
9167 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9168
9169 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
9170 (_REENT_L64A_BUF): New macro for accessing area.
9171 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
9172 * libc/stdlib/Makefile.in: Regenerated.
9173 * libc/stdlib/a64l.c: New file.
9174 * libc/stdlib/l64a.c: New file.
9175
9176 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9177
9178 * libc/unix/pread.c: Fix typo for _pread_r.
9179 * libc/unix/pwrite.c: Fix type for _pwrite_r.
9180 * libc/sys/linux/pread64.c: Fix typo for read syscall.
9181 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
9182
9183 2002-05-03 Christopher Faylor <cgf@redhat.com>
9184
9185 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
9186
9187 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9188
9189 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
9190
9191 2002-05-01 Christopher Faylor <cgf@redhat.com>
9192
9193 * utmp.h: Define more UNIX constants.
9194
9195 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9196
9197 * Makefile.am: Add support for checking multilibs.
9198
9199 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
9200 (SUBDEFS): Add LIBC_EXTRA_DEF.
9201 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
9202 (LIBC_EXTRA_DEF): Likewise.
9203 (extra_dir): Likewise.
9204 * libc/machine/xscale/machine: New directory.
9205 * libc/machine/xscale/machine/profile.h: New file.
9206
9207 * Makefile.am (site.exp): Remove newlib_cflags. Add
9208 multibuildtop.
9209 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
9210 * testsuite/lib/flags.exp: New file.
9211 * testsuite/lib/newlib.exp: Load flags.exp.
9212 (newlib_target_compile): Remove libgloss directory references.
9213 (newlib_init): Remove newlib_cflags references.
9214
9215 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9216
9217 * testsuite/lib/newlib.exp (newlib_target_compile): Change
9218 method of finding libgloss_target_dir.
9219
9220 * Makefile.am (site.exp): Change host_alias, host_triplet,
9221 target_alias, target_triplet to refer to gcc's host and target
9222 variables (newlib's build and host variables).
9223 * testsuite/lib/newlib.exp (newlib_init): Change build
9224 references to host references, host references to target
9225 references to reflect Makefile.am changes.
9226 (newlib_target_compile): Likewise.
9227 (newlib_finish): Likewise.
9228
9229 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9230
9231 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
9232
9233 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
9234
9235 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
9236 (_system): New function. Ditto.
9237 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
9238 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
9239 targets.
9240
9241 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9242
9243 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
9244 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
9245 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
9246 * libc/sys/linux/Makefile.in: Regenerated.
9247 * libc/unix/Makefile.in: Ditto.
9248 * libc/sys/linux/pread64.c: New file.
9249 * libc/sys/linux/pwrite64.c: Ditto.
9250 * libc/unix/pread.c: Ditto.
9251 * libc/unix/pwrite.c: Ditto.
9252
9253 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9254
9255 * libc/sys/linux/Makefile.am: Add io64.c.
9256 * libc/sys/linux/Makefile.in: Regenerated.
9257 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
9258 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
9259 * libc/sys/linux/io64.c: New file.
9260
9261 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9262
9263 * configure.in (CC_FOR_NEWLIB): New variable that
9264 bases on $(CC) and adds targ-include and libc/include as
9265 -isystem directives if they are not already part of $(CC).
9266 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
9267 $(CC_FOR_NEWLIB).
9268 * configure: Regenerated.
9269 * Makefile.in: Ditto.
9270
9271 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
9272
9273 * libc/sys/linux/Makefile.am: Add support for sched.c.
9274 * libc/sys/linux/Makefile.in: Regenerated.
9275 * libc/sys/linux/sched.c: New file.
9276 * libc/sys/linux/sys/types.h: Add struct timespec.
9277
9278 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9279
9280 * configure.in (CC_FOR_BUILD): Set to gcc whether
9281 cross-compiling or not.
9282 (CC): Add -isystem's for targ-include and libc/include when they
9283 do not already appear in CC.
9284
9285 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9286
9287 * Makefile.am (check-DEJAGNU): New target.
9288 (site.exp): Likewise.
9289 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
9290 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
9291 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
9292 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
9293 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
9294 * testsuite: New directory.
9295 * testsuite/config: Likewise.
9296 * testsuite/lib: Likewise.
9297 * testsuite/newlib.locale: Likewise.
9298 * testsuite/newlib.string: Likewise.
9299 * testsuite/config/default.exp: New file.
9300 * testsuite/lib/checkoutput.exp: New file.
9301 * testsuite/lib/newlib.exp: New file.
9302 * testsuite/lib/passfail.exp: New file.
9303 * testsuite/newlib.locale/UTF-8.c: New file.
9304 * testsuite/newlib.locale/UTF-8.exp: New file.
9305 * testsuite/newlib.locale/locale.exp: New file.
9306 * testsuite/newlib.string/string.exp: New file.
9307 * testsuite/newlib.string/tstring.c: New file.
9308
9309 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
9310
9311 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
9312 * libc/sys/linux/Makefile.am: Add support for mmap.c.
9313 * libc/sys/linux/Makefile.in: Regenerated.
9314 * libc/sys/linux/mmap.c: New file.
9315 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
9316 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
9317
9318 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9319
9320 * acinclude.m4 (newlib_cflags): Remove include directories that
9321 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
9322
9323 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
9324
9325 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
9326 * libc/machine/xscale/memcmp.c: Ditto.
9327 * libc/machine/xscale/memcpy.c: Ditto.
9328 * libc/machine/xscale/memmove.c: Ditto.
9329 * libc/machine/xscale/memset.c: Ditto.
9330 * libc/machine/xscale/strchr.c: Ditto.
9331 * libc/machine/xscale/strcmp.c: Ditto.
9332 * libc/machine/xscale/strcpy.c: Ditto.
9333 * libc/machine/xscale/strlen.c: Ditto.
9334
9335 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
9336
9337 * libc/include/sys/config.h: Remove include of <limits.h>.
9338 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
9339 define INT_MAX and LONG_MAX. Use them in tests.
9340
9341 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
9342
9343 * configure.host: Add support for powerpc-eabialtivec*.
9344 * libc/include/malloc.h: Add include of <machine/malloc.h>.
9345 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
9346 * libc/include/machine/malloc.h: New file.
9347 * libc/include/machine/stdlib.h: Ditto.
9348 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
9349 * libc/machine/powerpc/Makefile.am: Add conditional objects and
9350 sources based on configuration.
9351 * libc/machine/powerpc/Makefile.in: Regenerated.
9352 * libc/machine/powerpc/configure: Ditto.
9353 * libc/machine/powerpc/configure.in: Add check for
9354 powerpc-eabialtivec* in which case add in additional source files.
9355 * libc/machine/powerpc/setjmp.S: Add altivec support.
9356 * libc/machine/powerpc/vec_calloc.c: New file.
9357 * libc/machine/powerpc/vec_free.c: Ditto.
9358 * libc/machine/powerpc/vec_malloc.c: Ditto.
9359 * libc/machine/powerpc/vec_mallocr.c: Ditto.
9360 * libc/machine/powerpc/vec_realloc.c: Ditto.
9361 * libc/machine/powerpc/machine/malloc.h: Ditto.
9362 * libc/machine/powerpc/machine/stdlib.h: Ditto.
9363 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
9364 with added altivec format specifiers.
9365 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
9366 added altivec format specifiers.
9367
9368 2002-04-19 Joel Sherrill <joel@OARcorp.com>
9369
9370 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
9371 while autoconf is trying to link main(){}.
9372
9373 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9374
9375 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
9376 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
9377
9378 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9379
9380 * libc/time/time.tex: Add tzset info.
9381
9382 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9383
9384 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9385 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9386 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9387 (tzname): Defined for all platforms.
9388 (daylight, timezone): Defined only for CYGWIN.
9389 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9390 environment set up.
9391 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9392 environment variable is set.
9393 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9394 tzset_r.c.
9395 * libc/time/Makefile.in: Regenerated.
9396 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9397 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9398 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9399 * libc/time/local.h: New local header file.
9400 * libc/time/mktime.c (mktime): Add timezone support.
9401 * libc/time/mktm_r.c: New file which is the common engine
9402 for gmtime_r and lcltime_r. This code has timezone support.
9403 * libc/time/strftime.c (strftime): Add %Z timezone support.
9404 * libc/time/tzlock.c: New file containing timezone lock stubs.
9405 * libc/time/tzset.c: New file containing tzset() routine.
9406 * libc/time/tzset_r.c: New file containing _tzset_r and
9407 internal routine for calculating timezone changes for specified year.
9408
9409 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9410
9411 * configure.in (CRT0_DIR): Set to libc/.
9412 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9413 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9414 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9415 $(CRT1_DIR)/$(CRT1).
9416 * libc/machine/xstormy16/Makefile.in: Regenerated.
9417 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9418 * libc/machine/xstormy16/configure: Regenerated.
9419
9420 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9421
9422 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9423 fails, don't bail out, and try to correct next time.
9424
9425 * libc/include/sys/config.h: Include limits.h.
9426
9427 2002-04-12 Eric Norum <eric.norum@usask.com>
9428
9429 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9430 routine to allow autoconf to determine that building executables
9431 for rtems works.
9432 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9433 (rtems_gxx_mutex_once): Ditto.
9434
9435 2002-04-09 Tom Rix <trix@redhat.com>
9436
9437 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9438
9439 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9440
9441 * libc/include/time.h: Fix strptime declaration.
9442 * libc/time/Makefile.am: Add strptime.c.
9443 * libc/time/Makefile.in: Regenerated.
9444 * libc/time/strptime.c: New file.
9445
9446 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9447
9448 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9449 siglongjmp prototype, and sigsetjmp macro definition.
9450 * libc/sys/linux/siglongjmp.c: New file.
9451 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9452 * libc/sys/linux/Makefile.in: Regenerated.
9453
9454 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9455
9456 * Makefile.am: Add support for installing crt1.o if one exists.
9457 * configure.host: Specify crt1.o for linux.
9458 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9459 * Makefile.in: Regenerated.
9460 * configure: Ditto.
9461 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9462 Added for non-Cygwin, non-RTEMS configurations.
9463 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9464 * libc/sys/linux/Makefile.in: Regenerated.
9465 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9466 by gcc. This fixes problem with reconfiguring linux newlib build.
9467 * libc/sys/linux/sysconf.c: New file.
9468
9469 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9470
9471 * configure.host: Add support for machine subdirectory of
9472 sys subdirectory.
9473 * configure.in: Add check for sys machine subdirectory.
9474 * Makefile.am: Ditto.
9475 * configure: Regenerated.
9476 * Makefile.in: Ditto.
9477 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9478 * libc/sys/linux/sys/syscall.h: Ditto.
9479 * libc/sys/linux/sleep.c: New file.
9480 * libc/sys/linux/socket.c: Ditto.
9481 * libc/sys/linux/sockops.h: Ditto.
9482 * libc/sys/linux/stack.c: Ditto.
9483 * libc/sys/linux/usleep.c: Ditto.
9484 * libc/sys/linux/machine/Makefile.am: Ditto.
9485 * libc/sys/linux/machine/Makefile.in: Ditto.
9486 * libc/sys/linux/machine/aclocal.m4: Ditto.
9487 * libc/sys/linux/machine/configure: Ditto.
9488 * libc/sys/linux/machine/configure.in: Ditto.
9489 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9490 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9491 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9492 * libc/sys/linux/machine/i386/configure: Ditto.
9493 * libc/sys/linux/machine/i386/configure.in: Ditto.
9494 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9495 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9496 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9497 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9498 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9499 * libc/sys/linux/sys/select.h: Ditto.
9500 * libc/sys/linux/configure.in: Add support for machine directory.
9501 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9502 * libc/sys/linux/Makefile.in: Regenerated.
9503 * libc/sys/linux/configure: Ditto.
9504 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9505 * libc/sys/linux/inode.c: Ditto.
9506 * libc/sys/linux/linux.c: Ditto.
9507 * libc/sys/linux/process.c: Ditto.
9508 * libc/sys/linux/systat.c: Ditto.
9509 * libc/sys/linux/time.c: Ditto.
9510 * libc/sys/linux/wait.c: Ditto.
9511 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9512 * libc/sys/linux/io.c: Change header plus add readv/writev.
9513 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9514 use __sigsuspend syscall.
9515 * libc/sys/linux/select.c: Change header plus change select to
9516 use _newselect syscall.
9517 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9518 used by glibc header files.
9519 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9520 types.
9521
9522 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9523
9524 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9525 initializing a struct _reent that has been dynamically allocated.
9526 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9527 _REENT_SMALL and does nothing otherwise.
9528 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9529 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9530 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9531 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9532 [_REENT_SMALL](struct _misc_reent): New structure containing
9533 miscellaneous reentrant areas needed by newlib.
9534 [_REENT_SMALL](struct _reent): Add _misc pointer.
9535 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9536 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9537 and _REENT_STRTOK_LAST macros.
9538 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9539 and _REENT_MBLEN_STATE macros.
9540 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9541 and _REENT_MBTOWC_STATE macros.
9542 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9543 and _REENT_WCTOMB_STATE macros.
9544
9545 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9546
9547 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9548
9549 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9550
9551 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9552
9553 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9554
9555 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9556 Store high part of leading bytes too.
9557
9558 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9559
9560 * libm/math/ef_hypot.c: Increase scale factor to 68.
9561
9562 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9563
9564 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9565 error.
9566
9567 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9568
9569 * libc/sys/go32/access.c: Change license to relaxed license
9570 used in identical file throughout newlib/libgloss.
9571
9572 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9573
9574 * libc/sys/arm/access.c: New file.
9575 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9576 * libc/sys/arm/Makefile.in: Regenerate.
9577 * libc/sys/arm/syscalls.c (_stat): New function.
9578
9579 2002-03-11 Michael Meissner <meissner@redhat.com>
9580
9581 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9582 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9583 * libc/machine/mips/Makefile.in: Regenerate.
9584 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9585 * libc/machine/mips/memset.c: Dito.
9586 * libc/machine/mips/strcmp.c: Dito.
9587 * libc/machine/mips/strlen.c: Dito.
9588 * libc/machine/mips/strncmp.c: Dito.
9589
9590 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9591
9592 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9593 object so it works for shared library or statici library.
9594 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9595
9596 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9597 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9598 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9599 (tzname): Defined for all platforms.
9600 (daylight, timezone): Defined only for CYGWIN.
9601 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9602 environment set up.
9603 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9604 environment variable is set.
9605 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9606 tzset_r.c.
9607 * libc/time/Makefile.in: Regenerated.
9608 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9609 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9610 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9611 * libc/time/local.h: New local header file.
9612 * libc/time/mktime.c (mktime): Add timezone support.
9613 * libc/time/mktm_r.c: New file which is the common engine
9614 for gmtime_r and lcltime_r. This code has timezone support.
9615 * libc/time/strftime.c (strftime): Add %Z timezone support.
9616 * libc/time/tzlock.c: New file containing timezone lock stubs.
9617 * libc/time/tzset.c: New file containing tzset() routine.
9618 * libc/time/tzset_r.c: New file containing _tzset_r and
9619 internal routine for calculating timezone changes for specified year.
9620
9621 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9622
9623 * configure.in (CRT0_DIR): Set to libc/.
9624 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9625 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9626 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9627 $(CRT1_DIR)/$(CRT1).
9628 * libc/machine/xstormy16/Makefile.in: Regenerated.
9629 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9630 * libc/machine/xstormy16/configure: Regenerated.
9631
9632 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9633
9634 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9635 fails, don't bail out, and try to correct next time.
9636
9637 * libc/include/sys/config.h: Include limits.h.
9638
9639 2002-04-12 Eric Norum <eric.norum@usask.com>
9640
9641 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9642 routine to allow autoconf to determine that building executables
9643 for rtems works.
9644 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9645 (rtems_gxx_mutex_once): Ditto.
9646
9647 2002-04-09 Tom Rix <trix@redhat.com>
9648
9649 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9650
9651 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9652
9653 * libc/include/time.h: Fix strptime declaration.
9654 * libc/time/Makefile.am: Add strptime.c.
9655 * libc/time/Makefile.in: Regenerated.
9656 * libc/time/strptime.c: New file.
9657
9658 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9659
9660 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9661 siglongjmp prototype, and sigsetjmp macro definition.
9662 * libc/sys/linux/siglongjmp.c: New file.
9663 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9664 * libc/sys/linux/Makefile.in: Regenerated.
9665
9666 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9667
9668 * Makefile.am: Add support for installing crt1.o if one exists.
9669 * configure.host: Specify crt1.o for linux.
9670 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9671 * Makefile.in: Regenerated.
9672 * configure: Ditto.
9673 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9674 Added for non-Cygwin, non-RTEMS configurations.
9675 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9676 * libc/sys/linux/Makefile.in: Regenerated.
9677 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9678 by gcc. This fixes problem with reconfiguring linux newlib build.
9679 * libc/sys/linux/sysconf.c: New file.
9680
9681 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9682
9683 * configure.host: Add support for machine subdirectory of
9684 sys subdirectory.
9685 * configure.in: Add check for sys machine subdirectory.
9686 * Makefile.am: Ditto.
9687 * configure: Regenerated.
9688 * Makefile.in: Ditto.
9689 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9690 * libc/sys/linux/sys/syscall.h: Ditto.
9691 * libc/sys/linux/sleep.c: New file.
9692 * libc/sys/linux/socket.c: Ditto.
9693 * libc/sys/linux/sockops.h: Ditto.
9694 * libc/sys/linux/stack.c: Ditto.
9695 * libc/sys/linux/usleep.c: Ditto.
9696 * libc/sys/linux/machine/Makefile.am: Ditto.
9697 * libc/sys/linux/machine/Makefile.in: Ditto.
9698 * libc/sys/linux/machine/aclocal.m4: Ditto.
9699 * libc/sys/linux/machine/configure: Ditto.
9700 * libc/sys/linux/machine/configure.in: Ditto.
9701 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9702 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9703 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9704 * libc/sys/linux/machine/i386/configure: Ditto.
9705 * libc/sys/linux/machine/i386/configure.in: Ditto.
9706 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9707 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9708 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9709 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9710 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9711 * libc/sys/linux/sys/select.h: Ditto.
9712 * libc/sys/linux/configure.in: Add support for machine directory.
9713 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9714 * libc/sys/linux/Makefile.in: Regenerated.
9715 * libc/sys/linux/configure: Ditto.
9716 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9717 * libc/sys/linux/inode.c: Ditto.
9718 * libc/sys/linux/linux.c: Ditto.
9719 * libc/sys/linux/process.c: Ditto.
9720 * libc/sys/linux/systat.c: Ditto.
9721 * libc/sys/linux/time.c: Ditto.
9722 * libc/sys/linux/wait.c: Ditto.
9723 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9724 * libc/sys/linux/io.c: Change header plus add readv/writev.
9725 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9726 use __sigsuspend syscall.
9727 * libc/sys/linux/select.c: Change header plus change select to
9728 use _newselect syscall.
9729 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9730 used by glibc header files.
9731 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9732 types.
9733
9734 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9735
9736 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9737 initializing a struct _reent that has been dynamically allocated.
9738 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9739 _REENT_SMALL and does nothing otherwise.
9740 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9741 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9742 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9743 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9744 [_REENT_SMALL](struct _misc_reent): New structure containing
9745 miscellaneous reentrant areas needed by newlib.
9746 [_REENT_SMALL](struct _reent): Add _misc pointer.
9747 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9748 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9749 and _REENT_STRTOK_LAST macros.
9750 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9751 and _REENT_MBLEN_STATE macros.
9752 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9753 and _REENT_MBTOWC_STATE macros.
9754 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9755 and _REENT_WCTOMB_STATE macros.
9756
9757 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9758
9759 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9760
9761 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9762
9763 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9764
9765 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9766
9767 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9768 Store high part of leading bytes too.
9769
9770 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9771
9772 * libm/math/ef_hypot.c: Increase scale factor to 68.
9773
9774 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9775
9776 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9777 error.
9778
9779 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9780
9781 * libc/sys/go32/access.c: Change license to relaxed license
9782 used in identical file throughout newlib/libgloss.
9783
9784 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9785
9786 * libc/sys/arm/access.c: New file.
9787 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9788 * libc/sys/arm/Makefile.in: Regenerate.
9789 * libc/sys/arm/syscalls.c (_stat): New function.
9790
9791 2002-03-11 Michael Meissner <meissner@redhat.com>
9792
9793 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9794 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9795 * libc/machine/mips/Makefile.in: Regenerate.
9796 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9797 * libc/machine/mips/memset.c: Dito.
9798 * libc/machine/mips/strcmp.c: Dito.
9799 * libc/machine/mips/strlen.c: Dito.
9800 * libc/machine/mips/strncmp.c: Dito.
9801
9802 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9803
9804 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9805 object so it works for shared library or statici library.
9806 * libc/machine/i386/Makefile.in: Regenerated.
9807
9808 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
9809
9810 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
9811 Add memcpy.S, memset.S and strcpy.S.
9812 * libc/machine/sh/Makefile.in: Regenerate.
9813 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
9814 (SHHI, SHLO): Define.
9815 * libc/machine/sh/memset.S: Add code for SH5.
9816 * libc/machine/sh/memset.S: Likewise.
9817 * libc/machine/sh/strcpy.S: Likewise.
9818
9819 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
9820
9821 * configure.host: Add check for --disable-newlib-io-float
9822 configuration option and add -DNO_FLOATING_POINT to newlib cflags
9823 if appropriate.
9824 * acinclude.m4: Added --disable-newlib-io-float option.
9825 * aclocal.m4: Regenerated.
9826 * configure: Ditto.
9827 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
9828 * libc/*/aclocal.m4 libc/*/configure
9829 * libm/*/aclocal.m4 libm/*/configure: Ditto.
9830 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
9831 if NO_FLOATING_POINT flag is not defined.
9832
9833 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
9834
9835 * libc/include/sys/config.h: Add __extension__ in front of
9836 long long references.
9837
9838 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9839
9840 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
9841 (_stat): Ditto.
9842
9843 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9844
9845 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
9846 of off_t.
9847
9848 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
9849
9850 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
9851 clobbered registers.
9852
9853 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9854
9855 * configure.host (newlib_cflags): When host is in m68* add
9856 -DCOMPACT_CTYPE.
9857
9858 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
9859
9860 * libc/include/sys/config.h: Add definitions for
9861 __int16_t, __uint16_t, __int64_t, and __uint64_t.
9862
9863 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
9864
9865 * libc/sys/mmixware/link.c: New.
9866 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
9867 volatile.
9868 * libc/sys/mmixware/times.c (_times): Renamed from times.
9869 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
9870 properly by reading previous contents, not through BinaryReadWrite.
9871 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
9872 * libc/sys/mmixware/Makefile.in: Regenerate.
9873
9874 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
9875
9876 * libc/include/grp.h: Don't declare group functions when compiling
9877 Cygwin.
9878
9879 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
9880
9881 * libc/include/grp.h: Include Cygwin specific header.
9882 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
9883 when compiling for Cygwin.
9884 * libc/include/sys/types.h: Don't define off_t, uid_t
9885 and gid_t when compiling for Cygwin.
9886
9887 2002-02-08 matthew green <mrg@redhat.com>
9888
9889 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
9890 _REENT_EMERGENCY_SIZE, not sizeof(char *).
9891
9892 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
9893
9894 Contribute sh64-elf.
9895 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9896 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
9897 support in printf.
9898 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
9899 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
9900 any labels.
9901 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
9902 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
9903 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
9904 * libc/machine/sh/configure.in: Rework conditionals.
9905 * libc/machine/sh/Makefile.am: Likewise.
9906 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
9907 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
9908 * configure.host: Match `sh*'.
9909 * libc/include/machine/setjmp.h: Define for SH5.
9910 * libc/machine/sh/configure.in: Detect SH5.
9911 * libc/machine/sh/configure: Rebuilt.
9912 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
9913 * libc/machine/sh/Makefile.in: Rebuilt.
9914 * libc/machine/sh/asm.h: Adjust for SH5.
9915 * libc/machine/sh/setjmp.S: Implement in SHmedia.
9916 * libc/sys/sh/crt0.S: Likewise.
9917 * libc/sys/sh/trap.S: Likewise.
9918
9919 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
9920
9921 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
9922 (mach_add_obj): Conditionally set to setjmp.o or nothing.
9923 (LIB_SOURCES): Remove $(mach_add_src).
9924 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
9925 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
9926 * libc/machine/i386/Makefile.in: Regenerate.
9927
9928 2002-02-05 Manik Raina <manik@cisco.com>
9929
9930 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
9931 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
9932 s, p, k, and outstr.
9933 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
9934
9935 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
9936
9937 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
9938 _REENT_CHECK_EMERGENCY macro.
9939
9940 2002-02-03 matthew green <mrg@redhat.com>
9941
9942 * libc/reent/signgam.c (__signgam): Fix error in previous.
9943
9944 2002-02-02 matthew green <mrg@redhat.com>
9945
9946 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
9947
9948 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
9949 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
9950 * libc/include/sys/reent.h (struct _reent): Completely new version
9951 for _REENT_SMALL.
9952 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
9953 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
9954 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
9955 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
9956 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
9957 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
9958 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
9959 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
9960 (_REENT_EMERGENCY): Likewise.
9961
9962 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
9963 the start of the real __sFILE, used for stdin, stdout and stderr until
9964 they are setup properly.
9965 (struct __sFILE): Move location of _data in _REENT_SMALL case.
9966 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
9967 allocated stdin, stdout and stderr.
9968 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
9969 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
9970 * libc/stdio/perror.c (_perror_r): Likewise.
9971 * libc/stdio/printf.c (printf, _printf_r): Likewise.
9972 * libc/stdio/putchar.c (_putchar_r): Likewise.
9973 * libc/stdio/puts.c (_puts_r): Likewise.
9974 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
9975 * libc/stdio/vprintf.c (vprintf): Likewise.
9976 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
9977
9978 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
9979
9980 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
9981 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
9982 for _REENT_SMALL.
9983 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
9984 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
9985
9986 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
9987 _REENT_SMALL.
9988 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
9989 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
9990 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
9991 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
9992 * libc/stdlib/rand48.c (__dorand48): Likewise.
9993 * libc/stdlib/seed48.c (_seed48_r): Likewise.
9994 * libc/stdlib/srand48.c (_srand48_r): Likewise.
9995 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
9996 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
9997 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
9998 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
9999 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
10000 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
10001 * libc/stdlib/rand.c (rand): Likewise.
10002
10003 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
10004 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
10005
10006 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
10007 _REENT_MP_FREELIST() and _REENT_MP_P5S.
10008 * libc/include/sys/reent.h (struct _mprec): New structure.
10009
10010 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
10011 _unused_strtok_last.
10012 * libc/string/strtok.c (strtok): Use a local static variable.
10013
10014 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
10015 (_REENT_EMERGENCY_SIZE): Likewise.
10016 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
10017 _REENT_ASCTIME_BUF().
10018 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
10019 _REENT_TM().
10020
10021 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
10022 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
10023 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
10024 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
10025 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
10026 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
10027
10028 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
10029
10030 * configure.host (xstormy16): Don't use the generic malloc.
10031 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
10032 * libc/machine/xstormy16/Makefile.in: Regenerate.
10033 * libc/machine/xstormy16/mallocr.c: New file.
10034 * libc/machine/xstormy16/tiny-malloc.c: New file.
10035
10036 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10037
10038 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
10039 when _CYGWIN_TYPES_H is not defined.
10040
10041 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10042
10043 * libc/include/sys/signal.h: Revert 2002-01-23 change.
10044
10045 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
10046
10047 * libc/include/sys/signal.h: Remove pthread_kill declaration
10048 when __CYGWIN__ is defined.
10049
10050 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10051
10052 * libc/include/time.h: Add prototype for strptime for Cygwin.
10053
10054 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
10055
10056 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
10057 dst was not word aligned.
10058
10059 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
10060 if too much memory is requested.
10061
10062 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10063
10064 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10065 reads blanks from the input file to break if EOF reached
10066 rather than end processing.
10067
10068 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10069
10070 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10071
10072 2002-01-07 Alan Matsuoka <alanm@redhat.com>
10073
10074 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10075 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10076 libc/include/sys/config.h: Ditto.
10077
10078 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
10079
10080 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10081
10082 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
10083 Catherine Moore <clm@redhat.com>
10084 Richard Henderson <rth@redhat.com>
10085 Corinna Vinschen <vinschen@redhat.com>
10086
10087 * configure.host: Add support for xstormy16.
10088 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10089 * libc/include/machine/setjmp.h: Add support for xstormy16.
10090 * libc/include/sys/config.h: Add support for xstormy16.
10091 * libc/machine/xstormy16/Makefile.am: New file.
10092 * libc/machine/xstormy16/Makefile.in: New file.
10093 * libc/machine/xstormy16/aclocal.m4: New file.
10094 * libc/machine/xstormy16/configure: New file.
10095 * libc/machine/xstormy16/configure.in: New file.
10096 * libc/machine/xstormy16/setjmp.S: New file.
10097
10098 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10099
10100 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10101 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10102
10103 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
10104
10105 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10106 * libm/machine/Makefile.in: Regenerated through automake.
10107
10108 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10109
10110 * Makefile.am (DOCDIR): Force to empty string when doc
10111 directory is not present.
10112
10113 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10114
10115 * libc/machine/i386/f_*: Move to libm/machine/i386.
10116
10117 2001-12-18 Joel Sherrill <joel@OARcorp.com>
10118
10119 * libm/machine/Makefile.am: Add dummy doc stub so
10120 "make info" works.
10121
10122 2001-12-17 Joel Sherrill <joel@OARcorp.com>
10123
10124 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10125
10126 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10127
10128 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10129 $(COMPILE) rather than $(CC).
10130 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10131 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10132 $(LIB_COMPILE) change.
10133 (vfiprintf.$(oext)): Likewise.
10134
10135 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
10136
10137 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10138 conditionalized including of getopt stuff.
10139
10140 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10141
10142 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10143 compile line.
10144 (vfiprintf.$(oext)): Likewise.
10145
10146 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10147
10148 * Makefile.shared: New file.
10149 * libc/sys/linux/shared.ld: New file.
10150 * libm/machine/*: New files.
10151 * libm/machine/i386/*: New files.
10152 * Makefile.am: Add libtool support. Change math and mathfp
10153 references to variables.
10154 * configure.host: Add variables for libtool support. Add
10155 libm_machine_dir variable.
10156 * configure.in: Add objectlist variables, for libtool
10157 support. Add CC_FOR_BUILD tests.
10158 * libc/Makefile.am: Add libtool support. Change crt0.o
10159 reference to be a variable reference.
10160 * libc/configure.in: Add libtool support. Change sublib
10161 names to be lib${subdir}.la when using libtool.
10162 * libc/ctype/Makefile.am: Add libtool support.
10163 * libc/errno/Makefile.am: Likewise.
10164 * libc/locale/Makefile.am: Likewise.
10165 * libc/machine/Makefile.am: Likewise.
10166 * libc/machine/configure.in: Likewise.
10167 * libc/machine/i386/Makefile.am: Likewise.
10168 * libc/machine/i386/configure.in: Likewise.
10169 * libc/misc/Makefile.am: Likewise.
10170 * libc/posix/Makefile.am: Likewise.
10171 * libc/reent/Makefile.am: Likewise.
10172 * libc/signal/Makefile.am: Likewise.
10173 * libc/stdio/Makefile.am: Likewise.
10174 * libc/stdlib/Makefile.am: Likewise.
10175 * libc/string/Makefile.am: Likewise.
10176 * libc/sys/Makefile.am: Likewise.
10177 * libc/sys/configure.in: Likewise.
10178 * libc/sys/linux/Makefile.am: Add libtool support. Change
10179 awk reference to a variable reference. Change signal.h
10180 reference to a variable reference.
10181 * libc/sys/linux/configure.in: Add libtool support.
10182 * libc/syscalls/Makefile.am: Likewise.
10183 * libc/time/Makefile.am: Likewise.
10184 * libc/unix/Makefile.am: Likewise.
10185 * libm/Makefile.am: Add libtool support. Change math and
10186 mathfp references to variables.
10187 * libm/configure.in: Add libtool support. Add
10188 LIBM_MACHINE_LIB variable.
10189 * libm/common/Makefile.am: Add libtool support.
10190 * libm/math/Makefile.am: Likewise.
10191 * libm/mathfp/Makefile.am: Likewise.
10192 Regenerate all Makefile.in, aclocal.m4, and configure.
10193
10194 2001-12-13 Anita Kulkarni <anitak@kpit.com>
10195
10196 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
10197
10198 2001-12-06 John Peacock <jpeacock@rowman.com>
10199
10200 * libc/include/sys/unistd.h: Correct ualarm declaration.
10201
10202 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
10203
10204 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
10205 vector before calling the initialisation functions.
10206
10207 2001-11-29 Christopher Faylor <cgf@redhat.com>
10208
10209 * libc/include/dirent.h: Protect against multiple inclusion.
10210
10211 2001-11-27 Christopher Faylor <cgf@redhat.com>
10212
10213 * libc/include/sys/types.h: Define useconds_t.
10214 * libc/include/sys/ulimit.h: Declare ualarm.
10215
10216 2001-11-21 Christopher Faylor <cgf@redhat.com>
10217
10218 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
10219
10220 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
10221
10222 * libc/sys/mmixware/*: Tweak license header in all source files.
10223
10224 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
10225
10226 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
10227 to here. Rearrange for general inclusion by stdlib.h.
10228 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
10229 isn't defined.
10230 * libc/sys/linux/include/alloca.h: Move to libc/include.
10231
10232 2001-11-12 Anthony Green <green@redhat.com>
10233
10234 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
10235
10236 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
10237
10238 * libc/sys/mmixware/*: Correct spacing in all source files.
10239 * libc/sys/mmixware/syscall.h: Move misplaced file...
10240 * libc/sys/mmixware/sys/syscall.h: ...here.
10241
10242 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
10243
10244 * libc/include/machine/ieeefp.h: Add support for mmix target.
10245 * libc/include/machine/setjmp.h: Ditto.
10246 * configure.host: Ditto.
10247 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
10248 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
10249 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
10250 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
10251 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
10252 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
10253 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
10254 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
10255 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
10256 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
10257 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
10258 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
10259 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
10260 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
10261 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
10262 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
10263 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
10264 libc/sys/mmixware/aclocal.m4: Generate.
10265
10266 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
10267
10268 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
10269 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
10270 when __CYGWIN__ is defined.
10271 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
10272 logwtmp().
10273
10274 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
10275
10276 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
10277 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
10278 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
10279 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
10280
10281 2001-10-24 Christopher Faylor <cgf@redhat.com>
10282
10283 * libc/stdio/fseek.c: Reset pointer to buffer base
10284 when forced to seek outside of current buffer contents.
10285 This prevents the code from erroneously thinking there is
10286 anything in the current buffer.
10287
10288 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
10289
10290 * libc/include/math.h: The C++ standard adds the single-precision
10291 versions of the elementary functions.
10292
10293 2001-10-22 Christopher Faylor <cgf@redhat.com>
10294
10295 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
10296 throughout.
10297 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
10298 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
10299 * system.c (_system_r): Ditto.
10300
10301 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
10302
10303 * libc/include/sys/unistd.h: Add prototype for fchdir() when
10304 __CYGWIN__ or __rtems__ is defined.
10305
10306 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
10307
10308 * libc/include/stdlib.h: add declarations for
10309 _strtoull_r, _strtoll_r, strtoull, and strtoll.
10310 * libc/stdio/local.h: remove declarations of
10311 __strtoull_r and __strtoll_r.
10312 * libc/stdio/vfscanf.c(__svfscanf_r): call
10313 _strtoull_r instead of __strtoull_r. Ditto
10314 _strtoll_r vs. __strtoll_r.
10315 * libc/stdlib/Makefile.am: add new files to
10316 .c list and .def list
10317 * libc/stdlib/Makefile.in: regenerate
10318 * libc/stdlib/strtoll_r.c: rename __strtoll_r
10319 as _strtoll_r
10320 * libc/stdlib/strtoull_r.c: rename __strtoull_r
10321 as _strtoull_r
10322 * libc/stdlib/strtoull.c: new file
10323 * libc/stdlib/strtoll.c: new file
10324
10325 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
10326
10327 * libc/include/process.h: Add getpid() declaration.
10328
10329 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10330
10331 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
10332 for new style arm/elf ctor/dtor handling.
10333 Minor formatting tidy up.
10334
10335 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
10336
10337 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
10338 and strtoull_r.c.
10339 * libc/stdlib/Makefile.in: Regenerated.
10340 * libc/stdlib/strtoll_r.c: New file.
10341 * libc/stdlib/strtoull_r.c: New file.
10342 * libc/stdio/local.h: Add prototypes for long long string
10343 conversion routines.
10344 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
10345 tied to %L integer conversion specifier.
10346
10347 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
10348
10349 * strftime.c (strftime): Fix "%W" implementation to properly handle
10350 Mondays too.
10351
10352 2001-09-07 Jeff Law <law@redhat.com>
10353
10354 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
10355 __fini with "mov.l" instead of "mov.w".
10356
10357 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
10358
10359 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
10360 and getopt.h.
10361
10362 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
10363
10364 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
10365
10366 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10367
10368 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
10369 field.
10370 (__DIRENT_VERSION): New define.
10371
10372 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10373
10374 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
10375 Shrink __d_reserved accordingly to keep structure size.
10376 (dirfd): Declare external.
10377
10378 2001-08-29 Joel Sherrill <joel@OARcorp.com>
10379
10380 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
10381
10382 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10383
10384 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
10385 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
10386 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
10387 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
10388 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
10389 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
10390 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
10391 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
10392 Add conditional compilation to avoid HW FPU instructions
10393 when compiled for soft-float.
10394
10395 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10396
10397 * Makefile.am: Add check for ln failing when creating libg.a
10398 so that cp gets used as a backup.
10399 * Makefile.in: Regenerated.
10400
10401 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10402
10403 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
10404 No longer include time.h. Add struct __tm to use for
10405 _localtime_buf in the reentrant structure. Add a
10406 _NULL definition to use in initializing the reentrant struct.
10407 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
10408 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
10409 <sys/_types.h>.
10410 * libc/include/sys/unistd.h: Include <sys/_types.h>.
10411 * libc/time/lcltime.c (localtime): Cast the reentrant struct
10412 _localtime_buf to be struct tm *.
10413
10414 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
10415
10416 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
10417 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
10418 __ctors_end.
10419 * libc/sys/h8300hms/syscalls.c: Include errno.h.
10420 (_unlink): New stub function.
10421
10422 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
10423
10424 * libc/include/sys/errno.h: Add a cautionary comment.
10425
10426 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
10427
10428 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
10429 for SIZE_SZ so that alignment ends up a minimum of 8.
10430
10431 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
10432
10433 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
10434 arguments.
10435
10436 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
10437 Cygwin.
10438
10439 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
10440
10441 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
10442 macro constants for mallopt options.
10443 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
10444
10445 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
10446
10447 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
10448 otherwise default.
10449
10450 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
10451
10452 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
10453
10454 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10455
10456 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10457 Define for little endian ARMs.
10458
10459 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10460 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10461
10462 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10463
10464 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
10465
10466 2001-06-11 Egor Duda <deo@logos-m.ru>
10467
10468 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10469 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10470 initialized memory region. Platform can define COMPACT_CTYPE
10471 to avoid allocation of the additional 128 bytes of data.
10472 Add pointer to _ctype_ array. Always initialize all _ctype_
10473 array elements.
10474
10475 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10476
10477 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10478 NULL pointer.
10479
10480 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10481
10482 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10483
10484 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10485
10486 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10487 matching, non-word alignment, and the length is <= 4 but more than
10488 enough to move them over a word boundary.
10489 Add comments explaining what each instruction does.
10490
10491 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10492
10493 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
10494 * libc/include/sys/unistd.h: Ditto.
10495
10496 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10497
10498 * libc/string/strrchr.c: Use strchr for the speed improvements.
10499
10500 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10501
10502 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10503 real file systems, let __smakebuf() determine if line buffering
10504 should be used for stdout.
10505
10506 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10507
10508 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10509
10510 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10511
10512 * libc/include/stdlib.h: Add prototype for _strtod_r.
10513
10514 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10515
10516 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10517 * libc/stdio/vprintf.c (_vprintf_r): new function
10518 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10519 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10520 _DEFUN, and call _vfprintf_r, not vfprintf.
10521 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10522 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10523 _DEFUN, and call _vfprintf_r, not vfprintf.
10524
10525 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
10526
10527 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10528 Cygwin X_OK definitions in sys/file.h.
10529
10530 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10531
10532 * libc/include/sys/time.h: Define timercmp and other macros for
10533 __CYGWIN__, too.
10534
10535 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10536
10537 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10538 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10539 --enable-malloc-debugging selected.
10540 * aclocal.m4 configure: Regenerated.
10541 libm/aclocal.m4 libm/configure: Ditto.
10542 * libc/aclocal.m4 libc/configure: Ditto.
10543 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10544 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10545 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10546 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10547 * doc/aclocal.m4 doc/configure: Ditto.
10548
10549 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10550
10551 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10552 into one list.
10553 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10554 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10555 function prototypes.
10556 (_fscanf_r, _sscanf_r): Ditto.
10557 * libc/include/stdlib.h: Added _strtod_r prototype.
10558 * libc/stdio/Makefile.am: Add new v*scanf functions.
10559 * libc/stdio/Makefile.in: Regenerate.
10560 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10561 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10562 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10563 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10564 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10565 (_sscanf_r): New routine.
10566 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10567 with __svfscanf_r prototype.
10568 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10569 routines.
10570 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10571 structure as argument as calls reentrant versions of helper functions
10572 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10573 to _strtol_r and _strtod_r respectively.
10574 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10575 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10576 _REENT argument.
10577 * libc/stdio/vscanf.c: New file.
10578 * libc/stdio/vsscanf.c: Ditto.
10579
10580 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
10581
10582 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10583 Define daylight to _daylight if it is not defined
10584 Prepare a variable export of timezone based on timezonevariable.
10585 (Cannot be used with the timezone() function.)
10586
10587 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10588
10589 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10590 Correct the numerical values.
10591
10592 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
10593
10594 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10595
10596 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10597
10598 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10599 on case insensitve file systems.
10600
10601 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
10602
10603 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10604 pthread support.
10605 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10606 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10607 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10608
10609 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
10610
10611 * libc/include/machine/ieeefp.h: Comment about new configuration
10612 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10613 * libm/common/fdlib.h: Define new macros for testing floats.
10614 * libm/common/sf_*: Use them.
10615 * libm/math/ef_*: Likewise.
10616 * libm/math/sf_*: Likewise.
10617
10618 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10619
10620 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10621 prolog to by-pass possible assembler error.
10622
10623 2001-03-21 Egor Duda <deo@logos-m.ru>
10624
10625 Allow building internal stubs for non-reentrant syscalls
10626 if target provides its own malloc
10627 * libc/reent/reent.c (errno): Move definition here.
10628 * libc/reent/sbrkr.c: From here.
10629
10630 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10631
10632 * libc/include/sys/types.h (BSD int typedefs): Guard with
10633 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10634 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10635 _SYS_TYPES_FD_SET.
10636 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10637 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10638
10639 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10640
10641 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10642 _PC_POSIX_SECURITY constants for Cygwin.
10643
10644 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10645
10646 * libc/sys/cygwin/crt0.c: Add copyright hint.
10647 * libc/sys/cygwin/sys/dirent.h: Ditto.
10648 * libc/sys/cygwin/sys/param.h: Ditto.
10649 * libc/sys/cygwin/sys/utime.h: Ditto.
10650 * libc/sys/cygwin/sys/utmp.h: Ditto.
10651
10652 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10653
10654 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10655 equivalent to LONGINT.
10656
10657 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
10658
10659 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10660 jmpbuf on MIPS64 targets.
10661 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
10662
10663 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10664
10665 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
10666 declarations.
10667
10668 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10669
10670 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10671 For RTEMS, define to be ssize_t. Default to int if not defined.
10672 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10673 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10674 * libc/stdio/local.h (__sread, __swrite): Likewise.
10675 * libc/include/sys/reent.h (_read, _write): Likewise.
10676 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10677 * libc/syscalls/sysread.c (read): Likewise.
10678 * libc/syscalls/syswrite.c (write): Likewise.
10679
10680 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10681
10682 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
10683
10684 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10685
10686 * libc/include/sys/stat.h: Use special defines for executable stat bits
10687 when compiling for Cygwin.
10688 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10689 for Cygwin.
10690
10691 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10692
10693 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10694 of strtok_r is always defined.
10695
10696 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10697
10698 * libc/include/machine/ansi.h: New dummy header file.
10699
10700 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10701
10702 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10703 changed the copyright information to allow free modification of the
10704 file with no reference to "copying.dj".
10705 * libc/include/sys/stat-dj.h: Ditto.
10706 * libc/machine/i386/setjmp.S: Ditto.
10707 * libc/sys/h8300hms/sys/file.h: Ditto.
10708 * libc/sys/sysmec/access.c: Ditto.
10709 * libc/sys/sysnecv850/access.c: Ditto.
10710 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10711 * libc/stdlib/getenv_r.c: Ditto.
10712 * libc/stdlib/putenv_r.c: Ditto.
10713 * libc/stdlib/setenv_r.c: Ditto.
10714 * libc/stdlib/getenv.c: Removed DJ reference since any possible
10715 modifications will now be in the _r version of this file.
10716 * libc/stdlib/putenv.c: Ditto.
10717 * libc/stdlib/setenv.c: Ditto.
10718 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
10719 valid. Added a reference to DJ's web page that contains his address.
10720 * libc/sys/go32/*.s: Removed references to DJ's old address.
10721 * libc/sys/go32/*.c: Ditto.
10722 * libc/sys/go32/*.h: Ditto.
10723 * libc/sys/go32/*.S: Ditto.
10724 * libc/sys/go32/sys/*.h: Ditto.
10725
10726 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
10727
10728 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
10729 HAVE_FCNTL flag check.
10730 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
10731 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
10732
10733 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
10734
10735 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
10736
10737 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10738
10739 * libc/include/stdlib.h: Add declarations of rand48 functions and
10740 their reentrant versions.
10741 * libc/include/sys/reent.h: Move macros from rand48.h. Add
10742 struct _rand48 for shared parameters of rand48 functions.
10743 (struct _reent): Add a variable _r48 of struct _rand48.
10744 (_REENT_INIT): Add _r48 initialization.
10745 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10746 (CHEWOUT_FILES): Add rand48.def.
10747 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10748 * libc/stdlib/Makefile.in: Regenerated.
10749 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10750 NetBSD C library.
10751 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10752 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10753 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10754 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10755 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10756 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10757 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10758 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10759 * libc/stdlib/rand48.c (__dorand48): Ditto.
10760 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10761 parameters into macros referring them in the reentrant structure.
10762
10763 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10764
10765 * libc/include/sys/stat.h: Add mknod for Cygwin now that
10766 Cygwin definition has correct prototype.
10767
10768 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10769
10770 * libc/include/sys/stat.h: Must revert change for mknod
10771 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
10772 prototype.
10773
10774 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10775
10776 * libc/include/stdio.h: Revert putw prototype.
10777
10778 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
10779
10780 * libc/include/grp.h: add prototype for initgroups.
10781 * libc/include/stdio.h: fix prototype for putw.
10782 * libc/include/sys/signal.h: add prototype for killpg.
10783 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
10784 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
10785 vhangup and remove duplicate sysconf prototype.
10786
10787 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
10788
10789 * libc/sys/rtems/sys/types.h: Removed.
10790
10791 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
10792
10793 * libc/include/locale.h: add LC_MESSAGES definition
10794
10795 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10796
10797 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
10798 SYS_get_argN):
10799 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
10800 __setup_argv_and_call_main): New.
10801
10802 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
10803
10804 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
10805 if defined.
10806 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
10807 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
10808 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
10809 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
10810
10811 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
10812
10813 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
10814 compiling under Cygwin.
10815
10816 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
10817
10818 * libc/include/math.h (signgam): Change to errno-like solution
10819 using a function to return the address of the real signgam.
10820 * libc/reent/signgam.c: New file containing __signgam().
10821 * libc/reent/Makefile.am: Added signgam.c to list of files.
10822 * libc/reent/Makefile.in: Regenerated.
10823
10824 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
10825
10826 * libc/sys/sh/syscalls.c (_times): New.
10827
10828 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
10829 * libc/sys/sh/syscalls.c (_gettimeofday): New.
10830
10831 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10832
10833 * libc/include/math.h (signgam): Regress previous fix as
10834 it does not handle programs with extern int signgam in them.
10835
10836 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10837
10838 * libc/include/math.h (signgam): Changed to a macro refering to
10839 its location in the reentrant structure.
10840
10841 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10842
10843 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
10844 that suppressed . for %.0f, 0.1. Check now looks if there
10845 are padding zeroes (expt) in addition to any digits (ndig) to
10846 print.
10847
10848 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
10849
10850 * libc/sys/arc/Makefile.am: New file.
10851 * libc/sys/arc/Makefile.in: Ditto.
10852 * libc/sys/arc/aclocal.m4: Ditto.
10853 * libc/sys/arc/configure: Ditto.
10854 * libc/sys/arc/configure.in: Ditto.
10855 * libc/sys/arc/crt0.S: Ditto.
10856 * libc/sys/arc/isatty.c: Ditto.
10857 * libc/sys/arc/mem-layout.c: Ditto.
10858 * libc/sys/arc/sbrk.c: Ditto.
10859 * libc/sys/arc/syscalls.c: Ditto.
10860 * libc/sys/arc/sys/syscall.h: Ditto.
10861
10862 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
10863
10864 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
10865
10866 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
10867
10868 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
10869
10870 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
10871
10872 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
10873
10874 2001-01-09 Nick Clifton <nickc@redhat.com>
10875
10876 * configure.host (v859): Remove unsupported compiler options.
10877
10878 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
10879
10880 * src/newlib/configure.host (*-*-rtems*): add printf long long
10881 support for RTEMS.
10882
10883 2000-12-19 Graham Stott <grahams@redhat.com>
10884
10885 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
10886
10887 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10888
10889 * configure.host: Turn on long double I/O for Cygwin.
10890
10891 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10892
10893 * MAINTAINERS: Removed Ranjith.
10894 * NEWS: Updated for 1.9.0.
10895 * README: Updated.
10896 * acinclude.m4: Updated to release 1.9.0.
10897 * aclocal.m4 configure
10898 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10899 libc/machine/aclocal.m4 libc/machine/configure
10900 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
10901 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
10902 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
10903 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
10904 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
10905 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
10906 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
10907 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
10908 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
10909 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
10910 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
10911 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
10912 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
10913 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
10914 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
10915 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
10916 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
10917 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
10918 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
10919 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
10920 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10921 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10922 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10923 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
10924 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10925 libc/sys/aclocal.m4 libc/sys/configure
10926 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10927 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10928 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10929 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10930 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10931 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10932 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10933 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10934 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
10935 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10936 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10937 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10938 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10939 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10940 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10941 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10942 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10943 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10944 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10945 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10946 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10947 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10948 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10949 libm/aclocal.m4 libm/configure: Regenerated.
10950
10951 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10952
10953 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
10954 when __CYGWIN__ is defined.
10955
10956 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10957
10958 * libc/stdlib/ldtoa.c (_ldcheck): New routine
10959 that categorizes a long double as NaN, Infinity, or other.
10960 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
10961 isinfl and isnanl static routines which were i386-specific. Changed
10962 calls to the two removed routines to a single _ldcheck call.
10963 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
10964
10965 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10966
10967 * Makefile.am: Fixed install-data-local target to use
10968 $(mkinstalldirs) for the installed header files to ensure
10969 the directories exist before copying.
10970 * Makefile.in: Regenerated.
10971
10972 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
10973
10974 * libc/include/sys/unistd.h: Restored Cygwin _SC
10975 constants and moved new constants appropriately
10976 so Cygwin will build.
10977
10978 2000-12-11 Joel Sherrill <joel@OARcorp.com>
10979
10980 * Merge RTEMS specific .h files into main libc/include.
10981 * libc/sys/rtems/include/signal.h: Removed.
10982 * libc/sys/rtems/include/time.h: Removed.
10983 * libc/sys/rtems/sys/features.h: Removed.
10984 * libc/sys/rtems/sys/sched.h: Removed.
10985 * libc/sys/rtems/sys/siginfo.h: Removed.
10986 * libc/sys/rtems/sys/signal.h: Removed.
10987 * libc/sys/rtems/sys/time.h: Removed.
10988 * libc/sys/rtems/sys/times.h: Removed.
10989 definitions for time_t and clock_t since these are
10990 no longer in time.h.
10991 * libc/include/pthread.h: New file.
10992 * libc/include/sys/sched.h: New file.
10993 * libc/include/sys/features.h: New file.
10994 * libc/include/time.h: Removed duplicate definition of clock_t
10995 and time_t, get them from <sys/types.h> instead. Add prototypes
10996 for POSIX clock and timer functionality.
10997 * libc/sys/linux/sys/types.h: Changed to include
10998 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
10999 * libc/include/sys/signal.h: Add more complete set of POSIX
11000 signal functionality including real-time and threaded signals.
11001 * libc/include/sys/types.h: Add clock_t, time_t, struct
11002 timespec, and struct itimerspec. Centralizing these makes
11003 things cleaner. RTEMS uses 64-bit dev_t.
11004 Added numerous primitive definitions
11005 for pthreads including macros, pthread_attr_t,
11006 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
11007 pthread_once_t, and pthread_t.
11008 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
11009 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
11010 Feature flags removed and moved to new file <sys/features.h>.
11011 Full set of POSIX sysconf() constants
11012
11013 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
11014
11015 * configure.host: Added x86 linux target.
11016 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
11017 definitions provided if not already defined.
11018 * libc/sys/linux/crt0.c: New file.
11019 * libc/sys/linux/Makefile.am: Ditto.
11020 * libc/sys/linux/Makefile.in: Ditto.
11021 * libc/sys/linux/aclocal.m4: Ditto.
11022 * libc/sys/linux/brk.c: Ditto.
11023 * libc/sys/linux/configure: Ditto.
11024 * libc/sys/linux/configure.in: Ditto.
11025 * libc/sys/linux/getoptlong.c: Ditto.
11026 * libc/sys/linux/ids.c: Ditto.
11027 * libc/sys/linux/inode.c: Ditto.
11028 * libc/sys/linux/io.c: Ditto.
11029 * libc/sys/linux/linux.c: Ditto.
11030 * libc/sys/linux/process.c: Ditto.
11031 * libc/sys/linux/realpath.c: Ditto.
11032 * libc/sys/linux/select.c: Ditto.
11033 * libc/sys/linux/signal.c: Ditto.
11034 * libc/sys/linux/systat.c: Ditto.
11035 * libc/sys/linux/termios.c: Ditto.
11036 * libc/sys/linux/time.c: Ditto.
11037 * libc/sys/linux/wait.c: Ditto.
11038 * libc/sys/linux/include/alloca.h: Ditto.
11039 * libc/sys/linux/include/getopt.h: Ditto.
11040 * libc/sys/linux/include/stdint.h: Ditto.
11041 * libc/sys/linux/include/unistd.h: Ditto.
11042 * libc/sys/linux/sys/cdefs.h: Ditto.
11043 * libc/sys/linux/sys/dirent.h: Ditto.
11044 * libc/sys/linux/sys/errno.h: Ditto.
11045 * libc/sys/linux/sys/fcntl.h: Ditto.
11046 * libc/sys/linux/sys/file.h: Ditto.
11047 * libc/sys/linux/sys/ioctl.h: Ditto.
11048 * libc/sys/linux/sys/resource.h: Ditto.
11049 * libc/sys/linux/sys/signal.h: Ditto.
11050 * libc/sys/linux/sys/stat.h: Ditto.
11051 * libc/sys/linux/sys/syscall.h: Ditto.
11052 * libc/sys/linux/sys/termios.h: Ditto.
11053 * libc/sys/linux/sys/time.h: Ditto.
11054 * libc/sys/linux/sys/types.h: Ditto.
11055 * libc/sys/linux/sys/utmp.h: Ditto.
11056 * libc/sys/linux/sys/utsname.h: Ditto.
11057 * libc/sys/linux/sys/wait.h: Ditto.
11058
11059 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11060
11061 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
11062 can be a relative path to $(top_srcdir)/install.sh so ensure the
11063 autoconf detected settings are properly passed recursively.
11064 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11065 properly to subdirectories.
11066 * Makefile.in: Regenerated.
11067
11068 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11069
11070 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11071 a floating point register unless really printing a floating
11072 point number.
11073
11074 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11075
11076 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11077 Also removed \r's.
11078 (asctoeg): Replaced alloca call with stack array and malloc
11079 when storage exceeds reasonable limit.
11080 (e53toe): Fixed einfin calls missing ldp parameter.
11081 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11082
11083 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11084
11085
11086 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11087
11088 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11089
11090 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11091 * libc/stdlib/Makefile.in: Regenerated.
11092 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11093 * libc/stdio/vfieeefp.h: Added long double bit structures.
11094 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11095 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11096 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11097 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11098 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11099 _strtold routines used for conversions between character
11100 and long double.
11101
11102 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11103
11104 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11105
11106 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11107
11108 * libc/include/machine/time.h: RTEMS systems can configure clock
11109 tick rate so use sysconf() to ask.
11110
11111 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11112
11113 * libc/include/sys/times.h: Add reference to POSIX standard.
11114
11115 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11116
11117 * libc/include/sys/time.h: Added BSD timer manipulation macros
11118 used by RTEMS code.
11119
11120 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11121
11122 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11123 referenced by code generated by gcc 2.8.1.
11124 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
11125 satisfy gcc.
11126
11127 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11128
11129 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
11130
11131 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11132
11133 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
11134
11135 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11136
11137 * configure.host (or16, or32): New entries for OpenCores
11138 OpenRisc CPUs.
11139 (*-*-rtems*): Add -DNO_EXEC.
11140
11141 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
11142
11143 * libc/include/sys/errno.h: Added comments on many error numbers.
11144 * libc/string/strerror.c: Added some more strings.
11145
11146 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
11147
11148 * libc/sys/sh/syscalls.c (_link): New stub.
11149
11150 2000-11-29 Nick Clifton <nickc@redhat.com>
11151
11152 * configure.host: Add xscale target.
11153 * libc/machine/xscale: New directory.
11154 * libc/machine/xscale/Makefile.am: New file.
11155 * libc/machine/xscale/Makefile.in: New file.
11156 * libc/machine/xscale/aclocal.m4: New file.
11157 * libc/machine/xscale/configure: New file.
11158 * libc/machine/xscale/configure.in: New file.
11159 * libc/machine/xscale/memchr.S: New file.
11160 * libc/machine/xscale/memcmp.S: New file.
11161 * libc/machine/xscale/memcpy.S: New file.
11162 * libc/machine/xscale/memmove.S: New file.
11163 * libc/machine/xscale/memset.S: New file.
11164 * libc/machine/xscale/strchr.S: New file.
11165 * libc/machine/xscale/strcmp.S: New file.
11166 * libc/machine/xscale/strcpy.S: New file.
11167 * libc/machine/xscale/strlen.S: New file.
11168
11169 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11170
11171 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
11172 avoid compiler warnings.
11173
11174 2000-11-22 Michael Meissner <meissner@redhat.com>
11175
11176 * libc/posix/execl.c (execl): Don't reference environ directly,
11177 reference it only via a static pointer to avoid problems with some
11178 shared library systems and with different uses of small data where
11179 the user specifies his own version of environ.
11180 * libc/posix/execv.c (execv): Ditto.
11181 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
11182 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
11183 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
11184
11185 * libc/stdlib/getenv.c (environ): Delete unused reference to
11186 environ.
11187
11188 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
11189 colorization.
11190 * libc/stdlib/system.c: Ditto.
11191
11192 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
11193
11194 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
11195 including windows headers.
11196
11197 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
11198
11199 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
11200 * libc/include/dirent.h: Added definition of MAXNAMLEN if
11201 not defined by sys/dirent.h.
11202 * libc/posix/execvp.c: Added include of dirent.h to get
11203 MAXNAMLEN value which used to be in unistd.h.
11204
11205 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11206
11207 * libc/include/sys/types.h: Change type of i to `size_t' in
11208 FD_ZERO macro to avoid compiler warnings.
11209
11210 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
11211
11212 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
11213 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
11214
11215 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11216
11217 * libc/include/sys/unistd.h: Add defines for sysconf values
11218 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
11219 _SC_AVPHYS_PAGES.
11220
11221 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
11222
11223 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
11224 declarations for __CYGWIN__.
11225
11226 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
11227
11228 * libc/signal/signal.c (__sigtramp_r): ISO C requires
11229 case labels to be integral constant expressions, so
11230 use an if/else tree instead.
11231 (_raise_r): Likewise.
11232
11233 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
11234
11235 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
11236 clipping patch from e-mail reader.
11237
11238 2000-09-13 Will Cohen <wcohen@redhat.com>
11239
11240 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
11241 Added return value 0.
11242 (_longjmp): Allow longjmp to return value of second argument
11243 passed to it.
11244
11245 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
11246
11247 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
11248 inline code to prevent having to include another header file.
11249
11250 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
11251
11252 * Makefile.am: Fix space vs. tab problem in install-data-local.
11253 * Makefile.in: Regenerate.
11254
11255 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
11256
11257 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
11258 (_EXPARM): New macro for defining a function parameter.
11259 * libc/include/stdlib.h: Use _EXPARM.
11260 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
11261
11262 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
11263
11264 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
11265 required, as documented in the gnu coding standards.
11266 * Makefile.in: Regenerate.
11267
11268 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
11269
11270 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
11271 make O_NDELAY and O_NONBLOCK have the same value.
11272
11273 2000-08-30 Kazu Hirata <kazu@hxi.com>
11274
11275 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
11276
11277 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
11278
11279 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
11280 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
11281 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
11282 everywhere else.
11283
11284 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
11285
11286 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
11287 * libc/include/string.h: Don't include <sys/types.h>,
11288 as it causes really bad namespace pollution. Don't declare
11289 swab(), it is properly declared in unistd.h.
11290
11291 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
11292
11293 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
11294 (broken) support for non-existent /etc/passwd field "comment".
11295
11296 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11297
11298 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
11299 only if _DIRENT_HAVE_D_NAMLEN is defined.
11300 (alphasort): aligned prototype with
11301 libc/sys/cygwin/sys/dirent.h and simplified function body.
11302 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
11303 long telldir (DIR *) as mentioned in annex B of POSIX.1
11304
11305 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11306
11307 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
11308 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
11309 Added __CLI and __STI macros (controlled via
11310 _I386MACH_ALLOW_HW_INTERRUPTS macro).
11311 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
11312 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
11313 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
11314 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
11315 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
11316 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
11317 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
11318 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
11319 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
11320 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
11321 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
11322 for all global entry points.
11323 * libc/machine/i386/setjmp.S: removed code replicated in
11324 libc/machine/i386/i386mach.h and included i386mach.h instead;
11325 Use __CLI and __STI instead of cli and sti.
11326
11327 2000-08-25 DJ Delorie <dj@redhat.com>
11328
11329 * libc/include/sys/unistd.h (environ): this one isn't from the
11330 DLL, no __IMPORT
11331
11332 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
11333
11334 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
11335 environ when compiling under cygwin since it is already declared in
11336 unistd.h.
11337
11338 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11339
11340 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
11341 like x << y-z to the equivalent x << (y-z).
11342 (d2b): changed if statements with assignment to perform the
11343 assignment prior to the if check.
11344 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
11345 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
11346 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
11347 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
11348 precedence.
11349 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
11350 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
11351 execve.c).
11352 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
11353 precedence.
11354 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
11355 clarify && and || precendence (and to remove pascalism).
11356 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
11357 * libm/math/s_infconst.c: added another pair of braces to all
11358 initializers for __infinity (need three: for __infinity[1] array,
11359 for union __dmath, and for i[2]).
11360
11361 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11362
11363 * libc/stdlib/abort.c: changed description: uses "raise" instead of
11364 "getpid" and "kill"; added: uses "write" and "_exit".
11365 Also included unistd.h for "_exit" prototype.
11366 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
11367 reent.h for "_fork_r" and "_wait_r" prototypes.
11368 (do_system): changed extern char *environ[] to POSIX-friendly
11369 extern char **environ.
11370 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
11371 prototypes.
11372 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
11373 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
11374 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
11375 * libc/reent/openr.c: included fcntl.h for "open" prototype.
11376 * libc/reent/signalr.c: included signal.h for "kill" prototype,
11377 unistd.h for "getpid" prototype.
11378 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
11379 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
11380 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
11381 prototype. Also included stdlib.h for "abort", string.h for
11382 "strdup" and "strncmp" prototypes.
11383 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
11384 "strncpy", unistd.h for "read" and "close" prototypes.
11385 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
11386 "strcat" prototypes.
11387
11388 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
11389
11390 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
11391 used later (ifdef __SCLE)
11392 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
11393 used later (ifdef MB_CAPABLE)
11394 * libc/string/memset.c (memset): removed unused variables "count"
11395 and "unaligned_addr"
11396 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
11397 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
11398 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
11399 and "gid"
11400
11401 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11402
11403 * libc/stdlib/envlock.c: changed documented "__env_lock" and
11404 "__env_unlock" prototype from "void *" or "char *" to
11405 "struct _reent *" to match real function. Also added include
11406 of envlock.h.
11407 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
11408 "__malloc_unlock" prototype from "void *" or "char *" to
11409 "struct _reent *" to match real function.
11410 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
11411 prototypes (for getenv_r.c and setenv_r.c).
11412
11413 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
11414
11415 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
11416 and prototype in cygwin's utmp.h
11417
11418 2000-08-16 Eric Fifer <efifer@sanwaint.com>
11419
11420 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
11421
11422 2000-08-09 Nick Clifton <nickc@cygnus.com>
11423
11424 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
11425 epilogue and to allow the functions to be used in a Thumb based
11426 toolchain.
11427
11428 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
11429
11430 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
11431 so size of 0 results in nothing being written to string.
11432 Also fixed code so that when size is non-zero, there is only
11433 a maximum of size - 1 characters written to the array and
11434 a nul terminator is appended at the end.
11435 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
11436
11437 2000-08-01 DJ Delorie <dj@redhat.com>
11438
11439 * libc/include/sys/config.h: define __IMPORT appropriately
11440 * libc/include/ctype.h (_ctype_): use __IMPORT
11441 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
11442 * libc/include/math.h (__mb_cur_max): ditto
11443 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
11444 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
11445 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
11446 * libc/include/unistd.h (environ): ditto
11447
11448 2000-07-28 Michael Meissner <meissner@redhat.com>
11449
11450 * libc/include/math.h (__infinity): Declare as an array without
11451 bounds to get around small data support. Rewrite Cygwin support
11452 to be more general.
11453 * libm/math/s_infconst.c (__infinity): Ditto.
11454 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11455
11456 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11457
11458 * libc/include/math.h: Use appropriate dll import linkage for
11459 __infinity under Cygwin.
11460
11461 2000-07-13 DJ Delorie <dj@cygnus.com>
11462
11463 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11464
11465 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11466
11467 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11468 to argument list for AngelSWI_Reason_GetCmdLine.
11469
11470 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11471
11472 * configure.host: Add support for AVR target.
11473 * libc/include/machine/ieeefp.h: Likewise.
11474 * libc/include/sys/config.h: Likewise.
11475
11476 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11477
11478 * README: Newlib 1.8.2 must be built in a separate directory
11479 than the sources.
11480
11481 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11482
11483 * libc/include/sys/reent.h (_rand_next): Added __extension__
11484 qualifier as long long type is not strict ANSI.
11485 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11486 to long long constant.
11487
11488 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11489
11490 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11491 `setegid' provided by Cygwin.
11492
11493 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11494
11495 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11496 account for Cygwin.
11497
11498 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11499
11500 * libc/include/sys/reent.h (_rand_next): Changed to
11501 unsigned long long and moved to end of _reent struct in _new union.
11502 (_REENT_INIT): Changed to move _rand_next initialization.
11503 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11504 linear congruential algorithm that is used by DJGPP.
11505
11506 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11507
11508 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11509 * libc/include/sys/config.h: Define __RAND_MAX.
11510
11511 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11512
11513 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11514 standard.
11515
11516 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11517
11518 * libc/include/string.h: Work around problem with strsignal and gdb.
11519
11520 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11521
11522 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11523 * libc/include/malloc.h: Ditto.
11524 * libc/include/process.h: Ditto.
11525 * libc/include/stdio.h: Ditto.
11526 * libc/include/stdlib.h: Ditto.
11527 * libc/include/time.h: Ditto.
11528 * libc/include/machine/setjmp.h: Ditto.
11529 * libc/include/sys/errno.h: Ditto.
11530 * libc/include/sys/signal.h: Ditto.
11531 * libc/include/sys/stat.h: Ditto.
11532 * libc/include/sys/time.h: Ditto.
11533 * libc/include/sys/unistd.h: Ditto.
11534 * libc/include/string.h: Ditto. strsignal should return a const char *.
11535
11536 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11537
11538 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11539 * libm/common/s_log1p.c (log1p): Likewise.
11540 * libm/common/s_scalbn.c (scalbn): Likewise.
11541 * libm/math/e_log.c: Likewise.
11542 * libm/math/e_asin.c: Likewise.
11543 * libm/math/ef_asin.c: Likewise.
11544 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11545 * libm/math/e_j1.c (pone, qone): Likewise.
11546 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11547 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11548 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11549 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11550 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11551 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11552
11553 2000-05-19 DJ Delorie <dj@cygnus.com>
11554
11555 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11556 (__sread): always read in binary mode
11557 (__swrite): always write in binary mode
11558 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11559 compatibility issues with different dll versions
11560 * libc/stdio/fopen.c: use __stextmode
11561 * libc/stdio/fdopen.c: ditto
11562 * libc/stdio/freopen.c: ditto
11563 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11564 * libc/stdio/local.h: declare __stextmode
11565
11566 2000-05-18 DJ Delorie <dj@cygnus.com>
11567
11568 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
11569
11570 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11571
11572 * libc/include/ctype.h: Changed tolower and toupper macros
11573 to use __extension__ to prevent pedantic warnings.
11574
11575 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11576
11577 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11578 structures.
11579
11580 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11581
11582 * libc/include/machine/ieeefp.h: Add ia64 support.
11583 * configure.host: Likewise.
11584
11585 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11586
11587 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11588 month is now padded with space, not zero. This now conforms to
11589 ANSI standard.
11590
11591 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11592
11593 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11594 host or network path") used by cygwin. Add some comments.
11595
11596 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11597
11598 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11599 endings" for Cygwin.
11600 (__sgetc): convert line endings if needed
11601 (__sputc): ditto
11602 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11603 * libc/stdio/fopen.c (_fopen_r): ditto
11604 * libc/stdio/freopen.c (freopen): ditto
11605 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11606 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11607
11608 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11609
11610 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11611 post-increment when it is worth it, spacewise.
11612
11613 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11614
11615 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11616 * libc/stdio/findfp.c (std): Added declaration of flags and file.
11617 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
11618 return type.
11619 * libc/stdio/putchar.c (putchar): Added return statement.
11620 * libc/stdio/refill.c (lflush): Added correct parentheses.
11621 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
11622 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
11623 prints long value to use l qualifier.
11624 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11625 messages and initialized local values: ilim, ilim1, and spec_case.
11626 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11627 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11628 * libc/stdlib/mprec.c: Ditto.
11629 * libc/stdlib/setenv_r.c: Ditto.
11630 * libc/stdlib/strtod.c: Ditto.
11631 * libc/stdlib/strtol.c: Ditto.
11632 * libc/stdlib/strtoul.c: Ditto.
11633 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11634 * libm/common/sf_log1p.c: Ditto.
11635 * libm/common/sf_scalbn.c: Ditto.
11636 * libm/math/ef_log.c: Ditto.
11637
11638 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11639
11640 * libc/posix/execvp.c (execvp): Check path for
11641 trailing slash.
11642
11643 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11644
11645 * libc/include/sys/unistd.h: Add prototypes for
11646 fchmod, fchown, lchown.
11647
11648 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11649
11650 * acinclude.m4: Changed release to 1.8.2.
11651 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11652 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11653 libc/machine/configure libc/machine/a29k/aclocal.m4
11654 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11655 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11656 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11657 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11658 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11659 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11660 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11661 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11662 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11663 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11664 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11665 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11666 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11667 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11668 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11669 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11670 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11671 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11672 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11673 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11674 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11675 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11676 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11677 libc/machine/z8k/configure libc/sys/aclocal.m4
11678 libc/sys/aclocal.m4 libc/sys/configure
11679 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11680 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11681 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11682 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11683 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11684 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11685 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11686 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11687 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11688 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11689 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11690 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11691 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11692 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11693 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11694 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11695 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11696 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11697 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11698 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11699 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11700 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11701 libm/aclocal.m4 libm/configure: Regenerated.
11702
11703 2000-03-24 Nick Clifton <nickc@cygnus.com>
11704
11705 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11706 (do_AngelSWI): Add "cc" to list o registers clobbered.
11707
11708 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11709
11710 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
11711 information to be clobbered by an Angel C library support syscall.
11712
11713 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11714
11715 * libc/stdlib/envlock.c: Fixed comment typo.
11716
11717 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11718
11719 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
11720 code to update nread as each character is processed instead
11721 of using buffer contents which throw away leading zeroes.
11722
11723 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
11724
11725 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
11726
11727 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
11728
11729 * libc/include/string.h: Include <sys/types.h>.
11730
11731 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11732
11733 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
11734 with XSH5, not SVID.
11735
11736 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11737
11738 * libc/include/string.h: Changed last argument back to ssize_t
11739 to make it compatible with XPG4 definition which is
11740 defined in <unistd.h>. There is a conflict in the SVID 3
11741 and XPG4 definitions and newlib will settle with XPG4.
11742 * libc/string/swab.c: Ditto.
11743
11744 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11745
11746 * libc/include/string.h: Changed last argument to size_t.
11747 * libc/string/swab.c: Changed last argument to size_t.
11748
11749 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11750
11751 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11752 (CHEWOUT_FILES): Added unlinkr.def.
11753 * libc/reent/Makefile.in: Rebuilt.
11754 * libc/sys.tex: Include unlinkr.def.
11755 * libc/reent/linkr.c (_unlink_r): Moved to...
11756 * libc/reent/unlinkr.c: ... new file.
11757
11758 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11759
11760 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11761 (CHEWOUT_FILES): Added swab.def.
11762 * libc/string/Makefile.in: Rebuilt.
11763 * libc/string/string.tex: Include swab.def.
11764 * libc/include/string.h (swab): Declare.
11765 * libc/string/swab.c: New file.
11766
11767 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11768
11769 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
11770 (CHEWOUT_FILES): Added getw.def and putw.def.
11771 * libc/stdio/Makefile.in: Rebuilt.
11772 * libc/stdio/stdio.tex: Include getw.def and putw.def.
11773 * libc/stdio/getw.c: New file.
11774 * libc/stdio/putw.c: New file.
11775
11776 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11777
11778 * libc/stdio/flags.c (__sflags): Added check that mode[1]
11779 is non-null before looking at mode[2].
11780
11781 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11782
11783 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
11784 * libm/mathfp/sf_atan.c: Ditto.
11785
11786 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
11787
11788 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
11789
11790 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11791
11792 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
11793 _DOUBLE_IS_32BITS.
11794
11795 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11796
11797 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
11798 call prior to calling _VFPRINTF_R so reentrant data area is set.
11799 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
11800
11801 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11802
11803 * libc/stdio/vfscanf.c (limits.h): #include.
11804 (MAX_LONG_LEN): #define.
11805 (__svfscanf): Handle floating point numbers with arbitrary amounts
11806 of leading zeroes.
11807
11808 2000-02-15 Nick Clifton <nickc@cygnus.com>
11809
11810 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
11811 zero. Set the blocksize to 1024/
11812
11813 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11814
11815 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
11816 with line buffering.
11817
11818 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11819
11820 * acinclude.m4: Changed include directory for winsup headers.
11821 * aclocal.m4 configure libc/aclocal.m4
11822 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
11823 libc/locale/Makefile.in libc/machine/aclocal.m4
11824 libc/machine/configure libc/machine/a29k/aclocal.m4
11825 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11826 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11827 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11828 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11829 libc/machine/fr30/configure
11830 libc/machine/h8300/aclocal.m4
11831 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11832 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11833 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11834 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11835 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11836 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11837 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11838 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11839 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11840 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11841 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11842 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11843 libc/machine/powerpc/configure
11844 libc/machine/sh/aclocal.m4
11845 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11846 libc/machine/sparc/configure
11847 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11848 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11849 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11850 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11851 libc/misc/Makefile.in libc/posix/Makefile.in
11852 libc/reent/Makefile.in
11853 libc/signal/Makefile.in
11854 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
11855 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11856 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
11857 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
11858 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
11859 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11860 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11861 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11862 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11863 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11864 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11865 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11866 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11867 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
11868 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
11869 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
11870 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
11871 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
11872 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
11873 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
11874 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
11875 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
11876 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
11877 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
11878 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
11879 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
11880 libm/configure: Regenerated.
11881
11882 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
11883
11884 * libc/stdlib/putenv_r.c (_putenv_r): New file.
11885 * libc/stdlib/strdup_r.c (_strdup_r): New file.
11886 * libc/include/string.h: Added _strdup_r.
11887 * libc/stdlib/putenv.c: Added call to reentrant version.
11888 * libc/stdlib/strdup.c: Ditto.
11889 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
11890 * libc/include/stdlib.h: Ditto.
11891 * libc/stdlib/Makefile.in: Regenerated.
11892 * libc/string/Makefile.in: Regenerated.
11893 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
11894 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
11895 management calls to reentrant versions.
11896 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
11897 * libc/stdlib/wctomb.c: Ditto.
11898 * libc/stdlib/mblen.c: Ditto.
11899 * libc/stdlib/mbstowcs.c: Ditto.
11900 * libc/stdlib/mbtowc.c: Ditto.
11901 * libc/stdlib/getenv.c: Ditto.
11902 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
11903 and _strdup_r.
11904
11905 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
11906
11907 patch from Corinna Vinschen <corinna@vinschen.de>
11908 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
11909
11910 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
11911
11912 * libm/mathfp/s_atangent.c: Fix exponent calculation.
11913 * libm/mathfp/s_ldexp.c: Ditto.
11914 * libm/mathfp/sf_atangent.c: Ditto.
11915 * libm/mathfp/sf_ldexp.c: Ditto.
11916
11917 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11918
11919 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
11920 * libc/include/locale.h: define NULL to be 0.
11921
11922 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
11923
11924 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
11925 function.
11926
11927 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
11928
11929 * libc/machine/mn10300/setjmp.S: Handle am33.
11930
11931 1999-11-26 Nick Clifton <nickc@cygnus.com>
11932
11933 * libc/sys/arm/syscalls.c: Add function prototypes.
11934 (stack_ptr): Move declaration before function definitions.
11935
11936 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11937
11938 * NEWS: Updated version information.
11939 * README: Ditto.
11940
11941 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
11942
11943 * libc/machine/i386/strchr.S: Fixed alignment test.
11944
11945 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
11946
11947 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
11948
11949 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
11950
11951 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
11952 ensuring that there is space between the two.
11953
11954 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
11955
11956 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
11957 only.
11958
11959 1999-10-08 Vadim Egorov <egorovv@1c.ru>
11960
11961 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
11962 section
11963
11964 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11965
11966 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
11967 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
11968
11969 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
11970 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
11971 per POSIX 1003.1b.
11972 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
11973 per POSIX 1003.1b.
11974
11975 1999-09-13 DJ Delorie <dj@cygnus.com>
11976
11977 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
11978 also.
11979
11980 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11981
11982 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
11983 also note BUFSIZ as its size.
11984
11985 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
11986
11987 * configure.host: Corrected feature defines for RTEMS.
11988 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
11989 * libc/include/sys/stat.h: mkfifo() should take const path arg.
11990 * libc/include/sys/unistd.h: pathconf() should take const path arg.
11991 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
11992 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
11993 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
11994 _PC_PRIO_IO, and _PC_SYNC_IO.
11995 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
11996 * libc/machine/m68k/Makefile.in: Regenerated.
11997 * libc/machine/m68k/strcpy.c: New file.
11998 * libc/machine/m68k/strlen.c: New file.
11999 * libc/stdio/tmpnam.c: Always make the returned name usable.
12000 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
12001 * libc/sys/rtems/sys/dirent.h: New file.
12002 * libc/sys/rtems/sys/types.h: Added dev_t.
12003
12004 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
12005
12006 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
12007
12008 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
12009
12010 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
12011 my patch.
12012
12013 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
12014
12015 patch from Jeff Johnston <jjohnstn@cygnus.com>
12016 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
12017 buffer is not in a useful state.
12018
12019 1999-09-01 Nick Clifton <nickc@cygnus.com>
12020
12021 * libc/sys/arm/syscalls.c (_link): Add stub.
12022
12023 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12024
12025 * ftell.c (ftell): Use actual position within buffer for text mode.
12026 * findfp.c (std): Initialize ptr->_bf._size.
12027
12028 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
12029
12030 * libc/include/sys/unistd.h: Add nice() declaration.
12031
12032 1999-08-09 Nick Clifton <nickc@cygnus.com>
12033
12034 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
12035 declare as a thumb function so that the disassembler will see the
12036 mode change.
12037
12038 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12039
12040 * libc/reent/reent.tex: Updated list of reentrant functions.
12041
12042 1999-07-09 Michael Meissner <meissner@cygnus.com>
12043
12044 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
12045
12046 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
12047
12048 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
12049 separate file.
12050 * libc/stdio/snprintf.c: New file.
12051 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
12052 separate file.
12053 * libc/stdio/vsnprintf.c: New file.
12054 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
12055 * libc/stdio/Makefile.in: Regenerated.
12056
12057 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
12058
12059 Patch submitted by Egor Duda <deo@logos-m.ru>:
12060 * libc/include/stdio.h: Add declarations for *nprintf.
12061 * libc/stdio/sprintf.c (snprintf): New function.
12062 (_snprintf_r): New function.
12063 * libc/stdio/vsprintf.c (vsnprintf): New function.
12064 (_vnsprintf_r): New function.
12065
12066 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12067
12068 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12069 * libm/Makefile.am (stmp-targetdep): Ditto.
12070 * libc/Makefile.in: Regenerated.
12071 * libm/Makefile.in: Ditto.
12072
12073 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12074
12075 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12076 * libm/Makefile.am (stmp-targetdep): Ditto.
12077 * libc/Makefile.in: Regenerated.
12078 * libm/Makefile.in: Ditto.
12079
12080 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12081
12082 * Makefile.am: Removed dependencies on all-recursive and added "."
12083 to the SUBDIRS list to prevent infinite recursion from occurring.
12084 Also removed any references to EXTRA_DATA.
12085 * libc/Makefile.am: Ditto.
12086 * libc/machine/Makefile.am: Ditto.
12087 * libc/machine/i386/Makefile.am: Ditto.
12088 * libm/Makefile.am: Ditto.
12089 * libc/sys/Makefile.am: Ditto.
12090 * Makefile.in: Regenerated.
12091 * aclocal.m4: Ditto.
12092 * configure: Ditto.
12093 * doc/Makefile.in: Ditto.
12094 * doc/aclocal.m4: Ditto.
12095 * doc/configure: Ditto.
12096 * libc/Makefile.in: Ditto.
12097 * libc/aclocal.m4: Ditto.
12098 * libc/configure: Ditto.
12099 * libc/machine/Makefile.in: Ditto.
12100 * libc/machine/aclocal.m4: Ditto.
12101 * libc/machine/configure: Ditto.
12102 * libc/machine/mn10300/Makefile.in: Ditto.
12103 * libc/machine/mn10300/aclocal.m4: Ditto.
12104 * libc/machine/mn10300/configure: Ditto.
12105 * libc/sys/Makefile.in: Ditto.
12106 * libc/sys/aclocal.m4: Ditto.
12107 * libc/sys/configure: Ditto.
12108 * libm/Makefile.in: Ditto.
12109 * libm/aclocal.m4: Ditto.
12110 * libm/configure: Ditto.
12111
12112 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12113
12114 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12115
12116 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12117
12118 * libc/include/stdlib.h: Add reentrant routines.
12119 * libc/stdlib/Makefile.am: Add reentrant routines.
12120 * libc/stdlib/Makefile.in: Ditto.
12121 * libc/stdlib/envlock.c: New file.
12122 * libc/stdlib/envlock.h: New file.
12123 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12124 * libc/stdlib/getenv_r.c: New file.
12125 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12126 * libc/stdlib/mblen_r.c: New file.
12127 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12128 * libc/stdlib/setenv_r.c: New file.
12129 * libc/stdlib/stdlib.tex: Add reentrant routines.
12130
12131 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12132
12133 * libc/include/sys/types.h: Define __MS_types__ whenever
12134 cygwin or win32.
12135
12136 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12137
12138 * libc/include/machine/ieeefp.h: Always default to little
12139 endian if Windows, regardless of architecture.
12140 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12141 regardless of architecture.
12142
12143 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12144
12145 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
12146 _WIN32 isn't defined.
12147
12148 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
12149
12150 * libm/common/s_rint.c (rint): Add volatile qualifier for
12151 intermediate value w.
12152 * libm/common/sf_rint.c (rintf): Ditto.
12153
12154 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12155
12156 * libc/sys/arm/syscalls.c (remap_handle): Added check to
12157 ensure that std streams are initialized before being referenced.
12158
12159 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
12160
12161 * README: Update reference to newlib@cygnus.com new
12162 newlib@sourceware.cygnus.com address.
12163
12164 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
12165
12166 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
12167 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
12168 defined, even if _WIN32 isn't defined.
12169
12170 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
12171
12172 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
12173
12174 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12175
12176 * libc/include/sys/reent.h: Change Long and ULong to __Long and
12177 __ULong.
12178 * libc/stdlib/dtoa.c: Ditto.
12179 * libc/stdlib/mprec.c: Ditto.
12180 * libc/stdlib/mprec.h: Ditto.
12181 * libc/stdlib/strtod.c: Ditto.
12182
12183 1999-04-21 Nick Clifton <nickc@cygnus.com>
12184
12185 * configure.host (mcore): Remove mcore machine directory.
12186
12187 1999-04-18 Nick Clifton <nickc@cygnus.com>
12188
12189 * libc/include/machine/ieeefp.h: Add support for mcore target.
12190 * libc/include/machine/setjmp.h: Add support for mcore target.
12191 * configure.host: Add support for mcore target.
12192
12193 1999-04-13 Mark Salter <msalter@cygnus.com>
12194
12195 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
12196 * libc/sys/arm/syscalls.c: Added isatty.
12197
12198 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12199
12200 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
12201 insert zeroes after significant digits.
12202
12203 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12204
12205 * libc/stdio/vfprintf.c (cvt): Changed floating point
12206 cvt routine to use union used by dtoa to properly determine
12207 if the sign bit is on or not.
12208 * libc/stdio/vfieeefp.h: New file
12209
12210 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12211
12212 * aclocal.m4: Regenerated.
12213 * configure: Regenerated.
12214
12215 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12216
12217 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
12218 f_tanf reference.
12219 * libc/machine/i386/Makefile.in: Regenerated.
12220
12221 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
12222
12223 * acinclude.m4: Changed to work with new automake.
12224 * configure: Regenerated.
12225 * libc/machine/i386/aclocal.m4: Regenerated.
12226 * libc/machine/i386/configure: Regenerated.
12227
12228 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
12229
12230 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
12231 for telldir() and seekdir(). Rename unused structure element
12232 for use with these two routines.
12233
12234 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
12235
12236 * libc/time/mktime.c (validate_structure): Multiple fixes to
12237 code to handle cases where input fields are outside valid ranges.
12238 * libc/stdlib/div.c (div): Modified invalid rounding check.
12239 * libc/stdlib/ldiv.c (ldiv): Ditto.
12240
12241 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
12242
12243 * libc/machine/i386/memcpy.S: Performance rewrite.
12244 * libc/machine/i386/memmove.S: Ditto.
12245 * libc/machine/i386/i386mach.h: Added more register definitions.
12246 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
12247 option used.
12248 * libc/include/machine/fastmath.h: Add definitions for x86
12249 fast-math routines.
12250
12251 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12252
12253 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
12254
12255 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
12256
12257 Adjust newlib headers for new Cygwin Win32 API header files:
12258 * libc/include/sys/time.h: Check _WINSOCK_H rather than
12259 _GNU_H_WINDOWS32_SOCKETS.
12260 * libc/include/sys/types.h: Ditto.
12261
12262 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12263
12264 *include/sys/reent.h: Add checks for size of Bigint element Long.
12265 *libc/dtoa.c: Change routines to use generic Long type.
12266 *libc/mprec.c: Change routines to use generic Long type.
12267 *libc/mprec.h: Change routines to use generic Long type.
12268
12269 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
12270
12271 * libc/Makefile.am: Add .def files.
12272 * libc/Makefile.in: Regenerate.
12273 * libc/e_acosh.c: Documentation update.
12274 * libc/e_atanh.c: Documentation update.
12275 * libc/e_hypot.c: Documentation update.
12276 * libc/e_remainder.c: Documentation update.
12277 * libc/er_lgamma.c: Documentation update.
12278 * libc/mathfp.tex: Documentation update.
12279 * libc/s_acos.c: Documentation update.
12280 * libc/s_atan.c: Documentation update.
12281 * libc/s_atan2.c: Documentation update.
12282 * libc/s_cosh.c: Documentation update.
12283 * libc/s_fmod.c: Documentation update.
12284 * libc/s_isnan.c: Documentation update.
12285 * libc/s_log10.c: Documentation update.
12286 * libc/s_pow.c: Documentation update.
12287 * libc/w_jn.c: Documentation update.
12288
12289 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
12290
12291 * aclocal.m4: Regenerate.
12292 * configure: Regenerate.
12293
12294 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
12295
12296 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
12297 to return 1 if user specified return code is 0.
12298 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
12299
12300 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
12301
12302 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
12303 to save the return address. Fixed longjmp to return to the original
12304 calling address of setjmp and to return the user specified return code
12305 rather than default to 1.
12306 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
12307
12308 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
12309
12310 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
12311
12312 1999-02-10 Nick Clifton <nickc@cygnus.com>
12313
12314 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
12315 volatile so that its assignments will not be discarded.
12316
12317 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
12318
12319 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
12320 be __STRICT_ANSI__ which is generated by compiler.
12321 * libc/include/ctype.h: Ditto.
12322 * libc/include/math.h: Ditto.
12323 * libc/include/stdio.h: Ditto.
12324 * libc/include/stdlib.h: Ditto.
12325 * libc/include/string.h: Ditto.
12326 * libc/include/sys/signal.h: Ditto.
12327
12328 1999-02-08 Nick Clifton <nickc@cygnus.com>
12329
12330 * configure.host: Add support for StrongARM target.
12331
12332 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
12333
12334 * libc/string/strncpy.c (strncpy): Removed redundant code
12335 that was copying bytes if data unaligned.
12336
12337 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
12338
12339 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
12340 mbstowcs.def, and wcstombs.def.
12341
12342 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
12343
12344 * libc/include/sys/errno.h: Add Cygwin errno.
12345 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
12346 is specified.
12347
12348 1999-01-29 Nick Clifton <nickc@cygnus.com>
12349
12350 * libc/sys/arm/syscalls.c: Move C library functions into seperate
12351 file.
12352
12353 * libc/sys/arm/libcfunc.c: New file containing C library functions
12354 from syscalls.c
12355
12356 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
12357 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
12358
12359
12360 1999-01-27 Michael Meissner <meissner@cygnus.com>
12361
12362 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
12363 type, and cut size in half so that the jmp_buf array is guaranteed
12364 to be aligned on a 64-bit boundary.
12365
12366 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
12367
12368 * libc/string/strings.tex: Added information about
12369 strcasecmp and strncasecmp.
12370 * libc/stdlib/stdlib.tex: Added missing information
12371 about mblen, mbstowcs, and wcstombs.
12372 * libc/string/strchr.c: Changed how mask is built to use
12373 shift operators so register will be used instead of storage.
12374
12375 1999-01-22 DJ Delorie <dj@cygnus.com>
12376
12377 * libc/include/stdlib.h: don't use dllimport if we're building
12378 newlib, since it's inside cygwin.dll
12379
12380 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
12381
12382 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
12383 _ctype_ under cygwin.
12384
12385 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
12386
12387 * include/stdlib.h: Fix typo from previous checkin.
12388
12389 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
12390
12391 * include/ctype.h: Use __declspec(dllimport) method for exporting
12392 variable from cygwin DLL.
12393 * include/time.h: Ditto.
12394 * sys/errno.h: Ditto.
12395 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
12396 * libc/locale/locale.c: Use __declspec(dllexport) method for
12397 exporting variable from cygwin DLL.
12398
12399 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
12400
12401 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
12402 access of bogus pointer will result in SIGSEGV.
12403
12404 1999-01-07 Nick Clifton <nickc@cygnus.com>
12405
12406 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
12407 of an underscore prefix to function names.
12408
12409 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
12410
12411 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
12412 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
12413
12414 1998-12-31 Michael Meissner <meissner@cygnus.com>
12415
12416 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
12417 to `%' if not already defined.
12418
12419 1998-12-30 Michael Meissner <meissner@cygnus.com>
12420
12421 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
12422 arguments const char *, not char *.
12423 * libc/include/stdio.h (_tempnam_r): Ditto.
12424
12425 * libc/include/sys/reent.h (struct _reent): The _sig_func type
12426 points to a function taking an integer, not void.
12427
12428 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
12429
12430 * configure.host: Add a define for Cygwin builds.
12431 * libc/include/ctype.h: Don't use dll imported variables in newlib.
12432
12433 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
12434
12435 * libc/include/ctype.h: Define _ctype_ as dll imported variable
12436 for use with Cygwin.
12437 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
12438 dll imported variables for use with Cygwin.
12439 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
12440 as a dll imported variable for Cygwin.
12441
12442 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
12443
12444 * libc/include/sys/unistd.h: Add proto for getpass.
12445
12446 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
12447
12448 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12449 alphasort.
12450
12451 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12452
12453 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12454 not posix_path_list_p.
12455
12456 1998-12-15 Nick Clifton <nickc@cygnus.com>
12457
12458 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12459 a signed int.
12460
12461 1998-12-13 Nick Clifton <nickc@cygnus.com>
12462
12463 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12464
12465 1998-12-12 Nick Clifton <nickc@cygnus.com>
12466
12467 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12468 <msalter@cygnus.com>
12469 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12470 * libc/machine/fr30/Makefile.in: Regenerated.
12471
12472 1998-12-11 Nick Clifton <nickc@cygnus.com>
12473
12474 * configure.host: Remove use of libc/sys for FR30 port.
12475 * libc/sys/fr30: Remove directory (replaced by libgloss).
12476
12477 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
12478
12479 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12480 * libc/string/strncat.c (ALIGNED): Ditto.
12481
12482 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12483
12484 * libc/include/sys/time.h: include sys/types.h
12485
12486 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12487
12488 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12489 comparison found when checking word at a time.
12490
12491 1998-12-04 Nick Clifton <nickc@cygnus.com>
12492
12493 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12494
12495 1998-12-03 Nick Clifton <nickc@cygnus.com>
12496
12497 * libc/sys/fr30/syscalls.c (_times): New function stub.
12498
12499 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12500
12501 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12502 with mach_add_setjmp flag which indicates if setjmp should
12503 be added to the machine directory objects.
12504 * acinclude.m4: Removed reference to mach_add_objs.
12505 * aclocal.m4: Regenerated.
12506 * Makefile.in: Regenerated.
12507 * configure: Regenerated.
12508 * libc/aclocal.m4: Regenerated.
12509 * libc/Makefile.in: Regenerated.
12510 * libc/configure: Regenerated.
12511 * libc/machine/aclocal.m4: Regenerated.
12512 * libc/machine/Makefile.in: Regenerated.
12513 * libc/machine/configure: Regenerated.
12514 * libc/machine/i386/aclocal.m4: Regenerated.
12515 * libc/machine/i386/Makefile.am: Altered to selectively add
12516 setjmp.S to the src files list.
12517 * libc/machine/i386/Makefile.in: Regenerated.
12518 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12519 * libc/machine/i386/configure: Regenerated.
12520
12521 1998-12-02 Nick Clifton <nickc@cygnus.com>
12522
12523 * libc/sys/fr30/crt0.s (_start): Fix function names.
12524
12525 * libc/machine/fr30: New directory
12526 * libc/machine/fr30/Makefile.am: New file.
12527 * libc/machine/fr30/Makefile.in: New generated file.
12528 * libc/machine/fr30/configure.in: New file.
12529 * libc/machine/fr30/configure: New generated file.
12530 * libc/machine/fr30/aclocal.m4: New generated file.
12531 * libc/sys/fr30/Makefile.am: New file.
12532 * libc/sys/fr30/Makefile.in: New generated file.
12533 * libc/sys/fr30/configure.in: New file.
12534 * libc/sys/fr30/configure: New generated file.
12535 * libc/sys/fr30/syscalls.c: New file.
12536
12537 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12538
12539 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12540
12541 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
12542
12543 * libc/time/strftime.c (strftime): Also handle %y for years before
12544 1900.
12545
12546 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12547
12548 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12549 UNIX convention. Perform tolower on characters before comparing
12550 them rather than use toupper.
12551 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12552
12553 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12554
12555 * configure.host: Added using i386 machine directory
12556 for all x86 cross-compiler and configuring
12557 which added object files to use via new "mach_add_objs" variable.
12558 * configure: Regenerated.
12559 * libc/configure: Regenerated.
12560 * libc/Makefile.in: Regenerated.
12561 * libc/aclocal.m4: Regenerated.
12562 * libc/ctype/Makefile.in: Regenerated.
12563 * libc/errno/Makefile.in: Regenerated.
12564 * libc/locale/Makefile.in: Regenerated.
12565 * libc/machine/Makefile.in: Regenerated.
12566 * libc/machine/aclocal.m4: Regenerated.
12567 * libc/machine/configure: Regenerated.
12568 * libc/posix/Makefile.in: Regenerated.
12569 * libc/reent/Makefile.in: Regenerated.
12570 * libc/signal/Makefile.in: Regenerated.
12571 * libc/stdio/Makefile.in: Regenerated.
12572 * libc/stdlib/Makefile.in: Regenerated.
12573 * libc/string/Makefile.in: Regenerated.
12574 * libc/string/memmove.c: Optimized code to use memcpy
12575 logic when performing a non-destructive copy.
12576 * libc/string/strncmp.c: Altered code to allow building
12577 optimized for size or speed.
12578 * libc/syscalls/Makefile.in: Regenerated.
12579 * libc/time/Makefile.in: Regenerated.
12580 * libc/unix/Makefile.in: Regenerated.
12581 * libc/machine/i386/Makefile.am: Added new files and reference
12582 to "mach_add_objs" to indicate optional object files.
12583 * libc/machine/i386/Makefile.in: Regenerated.
12584 * libc/machine/i386/aclocal.m4: Regenerated.
12585 * libc/machine/i386/configure: Regenerated.
12586 * libc/machine/i386/memchr.S: New file that implements
12587 function in Intel assembler.
12588 * libc/machine/i386/memcmp.S: ditto.
12589 * libc/machine/i386/memcpy.S: ditto.
12590 * libc/machine/i386/memmove.S: ditto.
12591 * libc/machine/i386/memset.S: ditto.
12592 * libc/machine/i386/strchr.S: ditto.
12593 * libc/machine/i386/strlen.S: ditto.
12594 * libc/machine/i386/f_atan2.S: New file that implements
12595 fast version of math function to be used by compiler when
12596 --ffast_math compile option is used.
12597 * libc/machine/i386/f_atan2f.S: ditto.
12598 * libc/machine/i386/f_exp.c: ditto.
12599 * libc/machine/i386/f_expf.c: ditto.
12600 * libc/machine/i386/f_frexp.S: ditto.
12601 * libc/machine/i386/f_frexpf.S: ditto.
12602 * libc/machine/i386/f_ldexp.S: ditto.
12603 * libc/machine/i386/f_ldexpf.S: ditto.
12604 * libc/machine/i386/f_log.S: ditto.
12605 * libc/machine/i386/f_logf.S: ditto.
12606 * libc/machine/i386/f_log10.S: ditto.
12607 * libc/machine/i386/f_log10f.S: ditto.
12608 * libc/machine/i386/f_math.h: New file.
12609 * libc/machine/i386/f_pow.c: ditto.
12610 * libc/machine/i386/f_powf.S: ditto.
12611 * libc/machine/i386/f_tan.S: ditto.
12612 * libc/machine/i386/f_tan.S: ditto.
12613 * libc/machine/i386/i386mach.h: New file.
12614
12615 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12616
12617 patch from Mumit Khan <khan@xraylith.wisc.edu>
12618 * libc/include/stdio.h (tempnam): Add prototype.
12619 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12620 (tempnam): Adhere to prototype.
12621
12622 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12623
12624 * Makefile.am: Add default for AR_FLAGS.
12625 * Makefile.in: Regenerate.
12626
12627 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12628
12629 * libc/include/time.h: move __cplusplus wrapper after includes
12630 * libc/include/sys/time.h: ditto. If Cygwin, include
12631 sys/select.h.
12632 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12633
12634 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
12635
12636 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12637
12638 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12639
12640 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12641 abnormnal end-of-crt0 marker.
12642
12643 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12644
12645 * libc/sys/fr30/crt0.s: New file/directory.
12646 * libc/include/machine/setjmp.h: Add FR30 target.
12647 * libc/include/machine/ieeefp.h: Add FR30 target.
12648 * configure.host: Add FR30 target.
12649
12650 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12651
12652 * libm/math: Files that are duplicated in common directory removed.
12653 * libm/math/fdlibm.h: Removed.
12654 * libm/math/s_cbrt.c: Removed.
12655 * libm/math/s_copysign.c: Removed.
12656 * libm/math/s_expm1.c: Removed.
12657 * libm/math/s_finite.c: Removed.
12658 * libm/math/s_ilogb.c: Removed.
12659 * libm/math/s_infinity.c: Removed.
12660 * libm/math/s_lib_ver.c: Removed.
12661 * libm/math/s_log1p.c: Removed.
12662 * libm/math/s_logb.c: Removed.
12663 * libm/math/s_matherr.c: Removed.
12664 * libm/math/s_modf.c: Removed.
12665 * libm/math/s_nan.c: Removed.
12666 * libm/math/s_nextafter.c: Removed.
12667 * libm/math/s_rint.c: Removed.
12668 * libm/math/s_scalbn.c: Removed.
12669 * libm/math/sf_cbrt.c: Removed.
12670 * libm/math/sf_copysign.c: Removed.
12671 * libm/math/sf_expm1.c: Removed.
12672 * libm/math/sf_finite.c: Removed.
12673 * libm/math/sf_ilogb.c: Removed.
12674 * libm/math/sf_infinity.c: Removed.
12675 * libm/math/sf_log1p.c: Removed.
12676 * libm/math/sf_logb.c: Removed.
12677 * libm/math/sf_modf.c: Removed.
12678 * libm/math/sf_nan.c: Removed.
12679 * libm/math/sf_nextafter.c: Removed.
12680 * libm/math/sf_rint.c: Removed.
12681 * libm/math/sf_scalbn.c: Removed.
12682 * libm/math/Makefile.am: Removed references to deleted files (above).
12683 * libm/math/Makefile.in: Regenerated.
12684 * libm/Makefile.am: Added common directory to math.
12685 * libm/Makefile.in: Regenerated.
12686
12687 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12688
12689 * libm/mathfp: Add non-ANSI functions.
12690 * libm/mathfp/e_acosh.c acosh(): New file.
12691 * libm/mathfp/e_atanh.c atanh(): New file.
12692 * libm/mathfp/e_hypot.c hypot(): New file.
12693 * libm/mathfp/e_j0.c j0(): New file.
12694 * libm/mathfp/e_j1.c j1(): New file.
12695 * libm/mathfp/e_remainder.c remainder(): New file.
12696 * libm/mathfp/e_scalb.c scalb(): New file.
12697 * libm/mathfp/ef_acosh.c acoshf(): New file.
12698 * libm/mathfp/ef_atanh.c atanhf(): New file.
12699 * libm/mathfp/ef_hypot.c hypotf(): New file.
12700 * libm/mathfp/ef_j0.c j0f(): New file.
12701 * libm/mathfp/ef_j1.c j1f(): New file.
12702 * libm/mathfp/ef_remainder.c remainderf(): New file.
12703 * libm/mathfp/ef_scalb.c scalbf(): New file.
12704 * libm/mathfp/er_gamma.c gamma_r: New file.
12705 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12706 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12707 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12708 * libm/mathfp/w_cabs.c cabs(): New file.
12709 * libm/mathfp/w_drem.c drem(): New file.
12710 * libm/mathfp/w_jn.c jn(): New file.
12711 * libm/mathfp/wf_cabs.c cabsf(): New file.
12712 * libm/mathfp/wf_drem.c dremf(): New file.
12713 * libm/mathfp/wf_jn.c jnf(): New file.
12714
12715 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
12716
12717 * libc/sys/cygwin32: remove directory and contents
12718 * libc/sys/cygwin: and add back, losing the "32".
12719 * configure.host: check for cygwin* instead of cygwin32.
12720 * acinclude.m4: ditto.
12721 * aclocal.m4: regenerate with aclocal
12722 * configure: regenerate with autoconf
12723
12724 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
12725
12726 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
12727 for length
12728
12729 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12730
12731 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
12732 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
12733 to make rand/srand, strtok, asctime, localtime, w_gamma,
12734 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
12735 time.h to bring in struct tm definition.
12736 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
12737 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
12738 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
12739 instead of static variable.
12740 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
12741 struct reent instead of static variable.
12742 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
12743 struct reent instead of static variable.
12744 * libm/math/Makefile.am: Removed s_signgam.o.
12745 * libm/math/Makefile.in: Regenerated.
12746 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12747 struct reent instead of global variable 'signgam'.
12748 * libm/math/w_lgamma.c (lgamma): Likewise.
12749 * libm/math/wf_gamma.c (gammaf): Likewise.
12750 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12751 * libm/math/s_signgam.c: Removed.
12752 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12753 to be const.
12754 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12755 to be const.
12756 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12757 libc/include/reent.h.
12758 * libc/reent/Makefile.in: Regenerated.
12759 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12760 to be const.
12761 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12762 'JIS_action_table' to be const.
12763 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12764
12765 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
12766
12767 * acinclude.m4: $with_target_subdir should default to '.'
12768 or confusion results when configuring in same directory as sources.
12769 * Regenerate all aclocal.m4 and configure files.
12770
12771 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
12772
12773 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
12774 can be set by defining MALLOC_ALIGNMENT=16. Also added support
12775 for platforms where sizeof(size_t) < sizeof(long) via
12776 SIZE_T_SMALLER_THAN_LONG macro.
12777
12778 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
12779
12780 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
12781 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
12782 which sets _CLOCKS_PER_SEC_ for selected machines.
12783 * libc/include/machine/time.h: New file.
12784
12785 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12786
12787 * libc/syscalls/sysexecve.c: New file.
12788 * libc/syscalls/sysgettod.c: New file.
12789 * libc/syscalls/systimes.c: New file.
12790 * libc/syscalls/Makefile.am: Added new objects.
12791 * libc/syscalls/Makefile.in: Regenerated.
12792 * libc/include/_syslist.h (_execve): Moved define in file.
12793 * libc/include/reent.h: Added _execve_r declaration.
12794 * libc/Makefile.in: Regenerated.
12795 * libc/ctype/Makefile.in: Regenerated.
12796 * libc/errno/Makefile.in: Regenerated.
12797 * libc/locale/Makefile.in: Regenerated.
12798 * libc/machine/Makefile.in: Regenerated.
12799 * libc/misc/Makefile.in: Regenerated.
12800 * libc/posix/Makefile.in: Regenerated.
12801 * libc/reent/Makefile.in: Regenerated.
12802 * libc/reent/execr.c (_execve_r): Added _execve_r function.
12803 * libc/signal/Makefile.in: Regenerated.
12804 * libc/stdio/Makefile.in: Regenerated.
12805 * libc/time/Makefile.in: Regenerated.
12806 * libc/unix/Makefile.in: Regenerated.
12807 * libm/mathfp/Makefile.in: Regenerated.
12808
12809 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12810
12811 * libc/string/Makefile.in: Regenerated.
12812 * libc/string/memchr.c (memchr): Moved code to reduce object size.
12813 * libc/string/memcpy.c (memcpy): Ditto.
12814 * libc/string/memcmp.c (memcmp): Ditto.
12815 * libc/string/memset.c (memset): Ditto.
12816 * libc/string/strchr.c (strchr): Ditto.
12817 * libc/string/strcmp.c (strcmp): Ditto.
12818 * libc/string/strcpy.c (strcpy): Ditto.
12819 * libc/string/strlen.c (strlen): Ditto.
12820
12821 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12822
12823 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
12824 to generate aclocal.m4.
12825 * libm/Makefile.in: Regenerated.
12826 * libm/aclocal.m4: Regenerated.
12827 * libm/configure: Regenerated.
12828 * libm/math/Makefile.in: Regenerated.
12829 * libm/mathfp/Makefile.in: Regenerated.
12830
12831 1998-09-25 Mark Salter <msalter@cygnus.com>
12832
12833 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
12834 by adding leading and trailing underscores to symbol names.
12835
12836 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
12837
12838 * Makefile.in: Add default for AR_FLAGS.
12839
12840 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
12841
12842 patch from ian@airs.com (Ian Taylor):
12843 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
12844 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
12845 is needed for detecting the build machine. Required for
12846 cygwin native builds.
12847
12848 * Regenerate all aclocal.m4 and configure files.
12849
12850 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
12851
12852 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
12853 used to start with LC.
12854
12855 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12856
12857 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
12858 (longjmp): Likewise.
12859
12860 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12861
12862 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
12863 the test for small number of bytes.
12864
12865 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12866
12867 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
12868 math library that uses floating point algorithms instead of the old
12869 libm.
12870 * Makefile.in: Regenerate with automake version 1.3b.
12871 * configure: Rebuild.
12872 * libm/Makefile.in: Regenerate with automake version 1.3b.
12873 * libm/aclocal.m4: Regenerate.
12874 * libm/configure: Rebuild.
12875 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
12876 * libm/acinclude.m4: Define macros for configure.in.
12877 * libm/config.h.in: Generate.
12878 * libm/mathfp/Makefile.am: New file.
12879 * libm/mathfp/Makefile.in: Generate.
12880 * libm/mathfp/s_acos.c (acos): New file.
12881 * libm/mathfp/s_asin.c (asin): New file.
12882 * libm/mathfp/s_asine.c (asine): New file.
12883 * libm/mathfp/s_atan.c (atan): New file.
12884 * libm/mathfp/s_atan2.c (atan2): New file.
12885 * libm/mathfp/s_atangent.c (atangent): New file.
12886 * libm/mathfp/s_ceil.c (ceil): New file.
12887 * libm/mathfp/s_copysign.c (copysign): New file.
12888 * libm/mathfp/s_cos.c (cos): New file.
12889 * libm/mathfp/s_cosh.c (cosh): New file.
12890 * libm/mathfp/s_exp.c (exp): New file.
12891 * libm/mathfp/s_fabs.c (fabs): New file.
12892 * libm/mathfp/s_finite.c (finite): New file.
12893 * libm/mathfp/s_floor.c (floor): New file.
12894 * libm/mathfp/s_fmod.c (fmod): New file.
12895 * libm/mathfp/s_frexp.c (frexp): New file.
12896 * libm/mathfp/s_infconst.c: New file.
12897 * libm/mathfp/s_isinf (isinf).c: New file.
12898 * libm/mathfp/s_isnan.c (isnan): New file.
12899 * libm/mathfp/s_ispos.c (ispos): New file.
12900 * libm/mathfp/s_ldexp.c (ldexp): New file.
12901 * libm/mathfp/s_log.c (log): New file.
12902 * libm/mathfp/s_log10.c (log10): New file.
12903 * libm/mathfp/s_logarithm.c (logarithm): New file.
12904 * libm/mathfp/s_mathcnst.c: New file.
12905 * libm/mathfp/s_modf (modf).c: New file.
12906 * libm/mathfp/s_numtest.c (numtest): New file.
12907 * libm/mathfp/s_pow.c (pow): New file.
12908 * libm/mathfp/s_scalbn.c (scalbn): New file.
12909 * libm/mathfp/s_sin (sin).c: New file.
12910 * libm/mathfp/s_sine.c (sine): New file.
12911 * libm/mathfp/s_sineh.c (sineh): New file.
12912 * libm/mathfp/s_sinf.c (sinf): New file.
12913 * libm/mathfp/s_sinh.c (sinh): New file.
12914 * libm/mathfp/s_sqrt.c (sqrt): New file.
12915 * libm/mathfp/s_tan.c (tan): New file.
12916 * libm/mathfp/s_tanh.c (tanh): New file.
12917 * libm/mathfp/sf_acos.c (acosf): New file.
12918 * libm/mathfp/sf_asin.c (asinf): New file.
12919 * libm/mathfp/sf_asine.c (asinef): New file.
12920 * libm/mathfp/sf_atan.c (atanf): New file.
12921 * libm/mathfp/sf_atan2.c (atan2f): New file.
12922 * libm/mathfp/sf_atangent.c (atangent): New file.
12923 * libm/mathfp/sf_ceil.c (ceilf): New file.
12924 * libm/mathfp/sf_copysign.c (copysignf): New file.
12925 * libm/mathfp/sf_cos.c (cosf): New file.
12926 * libm/mathfp/sf_cosh.c (coshf): New file.
12927 * libm/mathfp/sf_exp.c (expf): New file.
12928 * libm/mathfp/sf_fabs.c (fabsf): New file.
12929 * libm/mathfp/sf_finite.c (finitef): New file.
12930 * libm/mathfp/sf_floor.c (floorf): New file.
12931 * libm/mathfp/sf_fmod.c (fmodf): New file.
12932 * libm/mathfp/sf_frexp.c (frexpf): New file.
12933 * libm/mathfp/sf_isinf.c (isinff): New file.
12934 * libm/mathfp/sf_isnan.c (isnanf): New file.
12935 * libm/mathfp/sf_ispos.c (isposf): New file.
12936 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
12937 * libm/mathfp/sf_log.c (logf): New file.
12938 * libm/mathfp/sf_log10.c (log10f): New file.
12939 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
12940 * libm/mathfp/sf_modf.c (modff): New file.
12941 * libm/mathfp/sf_numtest.c (numtestf): New file.
12942 * libm/mathfp/sf_pow.c (powf): New file.
12943 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
12944 * libm/mathfp/sf_sin.c (sinf): New file.
12945 * libm/mathfp/sf_sine.c (sinef): New file.
12946 * libm/mathfp/sf_sineh.c (sinehf): New file.
12947 * libm/mathfp/sf_sinh.c (sinhf): New file.
12948 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
12949 * libm/mathfp/sf_tan.c (tanf): New file.
12950 * libm/mathfp/sf_tanh.c (tanhf): New file.
12951 * libm/mathfp/zmath.h: New file.
12952
12953 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12954
12955 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
12956 exit if it has been overwritten by pre-fetching in delay slot.
12957
12958 1998-09-01 Michael Meissner <meissner@cygnus.com>
12959
12960 * Makefile.am (tooldir): Add in host_alias, so that multilib
12961 libraries are installed in the directory the compiler looks in.
12962 * Makefile.in: Regenerate.
12963
12964 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
12965
12966 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
12967
12968 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
12969 ahead of test for number of bytes being moved.
12970
12971 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
12972
12973 * libc/include/sys/unistd.h: Nothing special needed for
12974 _exit under cygwin.
12975
12976 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
12977
12978 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
12979 conform to user label naming conventions.
12980
12981 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
12982
12983 * libc/sys/cygwin32/sys/utime.h: variable names in
12984 protos should start with two leading underscores
12985 * libc/include/string.h: ditto
12986 * libc/include/sys/signal.h: ditto
12987 * libc/include/sys/stat.h: ditto
12988 * libc/include/sys/time.h: ditto
12989 * libc/include/sys/unistd.h: ditto
12990 * libc/include/ctype.h: ditto
12991 * libc/include/stdlib.h: ditto
12992 * libc/include/sys/reent.h: struct _atexit function ptr takes a
12993 void, same with _sig_func.
12994
12995 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
12996
12997 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
12998 for MB_CAPABLE to reduce code size when newlib is not configured
12999 with --enable-newlib-mb.
13000 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
13001 mbtowc_r.o to minimize size.
13002 * libc/stdlib/Makefile.in: Rebuild.
13003
13004 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
13005
13006 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
13007 to -DREENT.
13008 * libc/sys/sparc64/Makefile.in: Rebuild.
13009
13010 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
13011
13012 * Makefile.am (MAKEOVERRIDES): Define.
13013 * Makefile.in: Rebuild.
13014
13015 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
13016
13017 * libc/sys/sparc64/sys/stat.h (stat): Add const.
13018
13019 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
13020
13021 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
13022 newlib_cflags when looking for targ-include.
13023 * */aclocal.m4, */configure: Rebuild.
13024
13025 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
13026
13027 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
13028 to "_end".
13029
13030 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
13031
13032 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
13033 on SPARCs with little-endian data.
13034 * libc/include/machine/ieeefp.h: Ditto.
13035
13036 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
13037
13038 * acinclude.m4: Handle a relative srcdir correctly when setting
13039 newlib_cflags.
13040 * */aclocal.m4, */configure: Rebuild.
13041
13042 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
13043
13044 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
13045 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
13046 * libm/math/wrf_gamma.c (gammaf_r): ditto
13047 * libm/math/wr_lgamma.c (lgamma_r): ditto
13048 * libm/math/wr_gamma.c (gamma_r): ditto
13049 * libm/math/wf_sqrt.c (sqrtf): ditto
13050 * libm/math/wf_sinh.c (sinhf): ditto
13051 * libm/math/wf_scalb.c (scalbf): ditto
13052 * libm/math/wf_remainder.c (remainderf): ditto
13053 * libm/math/wf_pow.c (powf): ditto
13054 * libm/math/wf_log10.c (log10f): ditto
13055 * libm/math/wf_log.c (logf): ditto
13056 * libm/math/wf_lgamma.c (lgammaf): ditto
13057 * libm/math/wf_jn.c (jnf, ynf): ditto
13058 * libm/math/wf_j1.c (j1f, y1f): ditto
13059 * libm/math/wf_j0.c (j0f, y0f): ditto
13060 * libm/math/wf_hypot.c (hypotf): ditto
13061 * libm/math/wf_gamma.c (gammaf): ditto
13062 * libm/math/wf_fmod.c (fmodf): ditto
13063 * libm/math/wf_exp.c (expf): ditto
13064 * libm/math/wf_cosh.c (coshf): ditto
13065 * libm/math/wf_atanh.c (atanhf): ditto
13066 * libm/math/wf_atan2f.c (atan2f): ditto
13067 * libm/math/wf_asin.c (asinf): ditto
13068 * libm/math/wf_acosh.c (acoshf): ditto
13069 * libm/math/wf_acos.c (acosf): ditto
13070 * libm/math/w_sqrt.c (sqrt): ditto
13071 * libm/math/w_sinh.c (sinh): ditto
13072 * libm/math/w_scalb.c (scalb): ditto
13073 * libm/math/w_remainder.c (remainder): ditto
13074 * libm/math/w_pow.c (pow): ditto
13075 * libm/math/w_log10.c (log10): ditto
13076 * libm/math/w_log.c (log): ditto
13077 * libm/math/w_lgamma.c (lgamma): ditto
13078 * libm/math/w_jn.c (jn, yn): ditto
13079 * libm/math/w_j1.c (j1, y1): ditto
13080 * libm/math/w_j0.c (j0, y0): ditto
13081 * libm/math/w_hypot.c (hypot): ditto
13082 * libm/math/w_gamma.c (gamma): ditto
13083 * libm/math/w_fmod.c (fmod): ditto
13084 * libm/math/w_exp.c (exp): ditto
13085 * libm/math/w_cosh.c (cosh): ditto
13086 * libm/math/w_atanh.c (atanh): ditto
13087 * libm/math/w_atan2f.c (atan2): ditto
13088 * libm/math/w_asin.c (asin): ditto
13089 * libm/math/w_acosh.c (acosh): ditto
13090 * libm/math/w_acos.c (acos): ditto
13091
13092 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13093
13094 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13095 (fsrc): Add wf_cabs.c and wf_drem.c.
13096 * libm/math/Makefile.in: Rebuild.
13097
13098 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13099 unused directory variables. Remove duplicate CFLAGS.
13100 * Makefile.in: Rebuild.
13101
13102 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13103 with $(CC_FOR_BUILD).
13104 (makedoc.o): Likewise.
13105 * doc/Makefile.in: Rebuild.
13106
13107 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13108 force a definition of COMPILE.
13109 (libfoo_a_SOURCES): Define.
13110 * libc/sys/cygwin32/Makefile.in: Rebuild.
13111 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13112 force a definition of COMPILE.
13113 (libfoo_a_SOURCES): Define.
13114 * libc/sys/tic80/Makefile.in: Rebuild.
13115
13116 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13117
13118 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13119 flag.
13120
13121 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13122
13123 * Build using autoconf and automake. Added many Makefile.am and
13124 configure.in files, plus generated files. Old configure.in files
13125 and all old Makefile.in files completely replaced. Removed
13126 host/any. Added acinclude.m4 and configure.host.
13127
13128 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13129
13130 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13131 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13132
13133 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13134
13135 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13136 * libc/machine/sh/Makefile.in: Add rules for new files.
13137
13138 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13139
13140 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13141 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13142 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13143
13144 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
13145
13146 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
13147 code is ignored.
13148
13149 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
13150
13151 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
13152 internal static buffer when s is NULL, as prescribed by ANSI.
13153
13154 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
13155
13156 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
13157 removed.
13158 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
13159 libc/stdlib will be used for h8300hms.
13160
13161 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13162
13163 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
13164 version that can be built either for speed or size.
13165 * libc/machine/mn10300/memset.S (_memset): ditto
13166 * libc/machine/mn10300/memchr.S (_memchr): ditto
13167 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
13168 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
13169 * libc/machine/mn10300/strchr.S (_strchr): ditto
13170 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
13171 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
13172 * libc/machine/mn10300/Makefile.in: Added entries for
13173 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
13174 strcmp.o, strcpy.o, and strlen.o.
13175
13176 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
13177
13178 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
13179 been replaced with libgloss/mn10200.
13180
13181 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
13182
13183 * libc/string/strchr.c (strchr): Make s a constant pointer to
13184 avoid warning.
13185
13186 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
13187
13188 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
13189 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
13190 board SWIs instead of Demon board SWIs).
13191
13192 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
13193
13194 * libc/string/strncat.c (strncat): Make -Os act the same as
13195 PREFER_SIZE_OVER_SPEED being defined.
13196
13197 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
13198
13199 * libc/string/memchr.c (memchr): Make -Os act the same as
13200 PREFER_SIZE_OVER_SPEED being defined.
13201 * libc/string/memcmp.c (memcmp): Ditto.
13202 * libc/string/memcpy.c (memcpy): Ditto.
13203 * libc/string/memset.c (memset): Ditto.
13204 * libc/string/strcat.c (strcat): Ditto.
13205 * libc/string/strchr.c (strchr): Ditto.
13206 * libc/string/strcmp.c (strcmp): Ditto.
13207 * libc/string/strcpy.c (strcpy): Ditto.
13208 * libc/string/strlen.c (strlen): Ditto.
13209 * libc/string/strncat.c (strncat): Ditto.
13210 * libc/string/strncmp.c (strncmp): Ditto.
13211 * libc/string/strncpy.c (strncpy): Ditto.
13212
13213 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
13214
13215 * libc/include/sys/itimer.h: remove
13216 * libc/include/sys/time.h: itimer stuff should be here
13217
13218 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
13219
13220 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
13221 bit instead of comparing to 0 so -0.0 can be printed correctly.
13222
13223 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13224
13225 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
13226
13227 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
13228
13229 * libc/include/sys/unistd.h: fix sync() proto
13230 * libc/include/sys/fcntl.h: remove _close which is already
13231 defined in unistd.h.
13232 * libc/include/sys/time.h: add getitimer proto
13233
13234 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
13235
13236 * libc/string/strchr.c: convert arg to unsigned char
13237 * libc/include/stdlib.h: add protos for random, srandom
13238 * libc/include/sys/stat.h: add lstat proto
13239 * libc/include/sys/time.h: add setitimer proto
13240 * libc/include/sys/unistd.h: add readlink, symlink protos
13241 * libc/include/process.h: instead of including windows.h and using
13242 HANDLEs in sexec protos, just use void *s. Need to include
13243 sys/types.h.
13244
13245 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
13246
13247 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
13248
13249 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
13250
13251 * libc/include/process.h: add secure exec protos
13252
13253 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
13254
13255 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
13256 which are accessed as both doubles and integers.
13257 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
13258 * libc/stdlib/strtod.c (_strtod_r): Likewise.
13259 * libc/stdlib/mprec.h: Add "union double_union" and change
13260 word0/word1 macros to use it.
13261
13262 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
13263
13264 * libc/include/sys/signal.h: add __cplusplus wrapper
13265
13266 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
13267
13268 * libc/include/sys/utime.h: new generic file that gets replaced by
13269 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
13270 function.
13271 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
13272 * libc/include/time.h: remove duplicate utime proto
13273 * libc/include/utime.h: add comment
13274
13275 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
13276
13277 * libc/include/sys/time.h: Add missing include to
13278 allow use of _EXFUN. Remove times function that is
13279 already defined in times.h.
13280
13281 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
13282
13283 * libc/include/time.h: Fix typo in tzset.
13284
13285 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
13286
13287 * libc/include/sys/time.h: add missing Cygwin32 function protos
13288 * libc/include/sys/unistd.h: ditto
13289 * libc/include/time.h: ditto
13290
13291 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
13292
13293 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
13294 FIXME.
13295 * libc/include/sys/types.h: add a new __MS_types__ section
13296 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
13297 __BIT_TYPES_DEFINED__.
13298
13299 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
13300
13301 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
13302 since it overrides the one in libc/include/sys. Also, start
13303 including types.h.
13304
13305 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
13306
13307 * libm/math/Makefile.in: add s_signgam.o to obj list
13308
13309 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
13310
13311 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
13312
13313 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
13314
13315 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
13316 so don't use defines.
13317
13318 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
13319
13320 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
13321
13322 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
13323
13324 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
13325 _current_locale as default locale.
13326
13327 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
13328
13329 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
13330 insufficient space in a chunk.
13331
13332 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
13333
13334 * configure.in (links): Added check for --enable-newlib-mb configure
13335 option which defines the MB_CAPABLE macro.
13336 * libc/locale/locale.c (_setlocale_r): Added support for setting
13337 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
13338 defined.
13339 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
13340 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
13341 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
13342 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
13343 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
13344 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
13345 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
13346 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
13347 * libc/stdlib/Makefile.in: Added new multibyte
13348 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
13349 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
13350 _mbstowcs_r(), and _wcstombs_r().
13351 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
13352 for JIS, SJIS, and EUC-JP characters.
13353 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
13354 MB_CAPABLE defined.
13355 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
13356 MB_CAPABLE defined.
13357 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
13358 MB_CAPABLE defined.
13359 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
13360 if MB_CAPABLE defined.
13361 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
13362 if MB_CAPABLE defined.
13363 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
13364 to the format string processing when MB_CAPABLE.
13365 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
13366 call _mbtowc_r().
13367
13368 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
13369
13370 The following modifications are courtesy of Anthony Thompson,
13371 athompson@cambridge.arm.com:
13372 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
13373 boith RDI and RDP monitors.
13374 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
13375 RDI and RDP monitors.
13376
13377 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
13378
13379 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
13380 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
13381 (_swiopen): Fixed open flags to treat write with append as just append.
13382 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
13383 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
13384
13385 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13386
13387 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
13388 When needing to transfer an initial 2-byte-word, store as
13389 two single bytes.
13390
13391 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13392
13393 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
13394 __SH3E__ .
13395 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
13396 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
13397
13398 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
13399
13400 * configure.in (target_cflags): If --enable-target-optspace, use
13401 -Os to compile newlib rather than -O2. Default to using -Os for
13402 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
13403 used.
13404
13405 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
13406
13407 * libc/include/machine/setjmp.h: change sigsetjmp and
13408 siglongjmp definitions to use an array instead of a struct
13409 for __CYGWIN32__
13410
13411 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
13412
13413 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
13414
13415 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
13416
13417 * libc/string/strxfrm.c: fix to get correct return value
13418
13419 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
13420
13421 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
13422 builds. Make mode change labels global so that they will be seen
13423 by the debugger.
13424
13425 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
13426
13427 * configure.in (links): Do not use ARM debiugging protocols for PE
13428 builds.
13429
13430 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
13431 message.
13432
13433 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13434
13435 * libc/stdio/findfp.c (__sinit): Made stdout default to
13436 line buffered mode as defined by ANSI.
13437
13438 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
13439
13440 * libc/include/sys/itimer.h: New file.
13441
13442 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
13443
13444 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13445
13446 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
13447 failure.
13448
13449 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13450
13451 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13452 insns.
13453
13454 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13455
13456 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13457
13458 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13459
13460 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13461 support.
13462
13463 * libc/include/machine/setjmp.h: Add D30V support.
13464
13465 * configure.in (d30v-*): Add d30v machine directory.
13466
13467 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13468
13469 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13470 been replaced with libgloss/mn10300.
13471
13472 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13473
13474 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13475 it is no longer needed.
13476
13477 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13478
13479 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
13480
13481 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13482
13483 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
13484 the file when O_APPEND is set, wherever the EOF happens to be at
13485 that time.
13486
13487 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
13488
13489 patch from cgf@bbc.com (Christopher Faylor):
13490 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13491 convention of closing fp prior to attempting to open the file
13492 argument. This allows correct operation when reopening
13493 stdin/stdout/stderr. Replaces last freopen.c patch.
13494
13495 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13496
13497 patch from cgf@bbc.com (Christopher Faylor):
13498 * libc/stdio/freopen.c: freopen was not preserving the fd
13499 of the stream being operated on. This confuses programs that
13500 expect that the handles for stdout and stderr will be 1 and 2.
13501
13502 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13503
13504 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13505
13506 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13507
13508 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13509
13510 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13511
13512 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13513 altered to not use a branch. Also added hint that last
13514 bclr in longjmp will likely result in branch.
13515
13516
13517 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13518
13519 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
13520
13521 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13522
13523 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13524 v850 builds.
13525
13526 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
13527
13528 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13529
13530 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13531 that loads FR14 to specify offset of 8 rather than 4
13532 so it loads from offset 96 (where setjmp stored it).
13533
13534 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13535
13536 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13537 latest version supplied by customer.
13538 * libc/machine/sh/memset.S (_memset): Ditto.
13539
13540 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13541
13542 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
13543 PR14730).
13544
13545 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13546
13547 * libc/include/string.h: remove redefinition of ffs
13548
13549 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13550
13551 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
13552 defined
13553
13554 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13555
13556 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
13557 TI Libraries to link to libc.a
13558
13559 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13560
13561 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13562 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13563 * libc/include/sys/wait.h (_wait): Ditto.
13564 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13565 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13566
13567 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13568
13569 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13570 minded stabs so function name shows up when running the simulator
13571 with -t.
13572 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13573
13574 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13575
13576 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
13577 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13578 Use R5 where we used to use R3.
13579
13580 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13581
13582 * libc/stdlib/getopt.c (getopt): replaced __progname
13583 with nargv[0] to improve portability to imbedded systems.
13584
13585 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13586
13587 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13588 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13589 stdout file.
13590
13591 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13592
13593 * libc/stdio/tmpnam.c (worker): Generate a different file name
13594 each time.
13595
13596 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13597 fails, try an execlp for sh.
13598
13599 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13600 option for the winsup include directory.
13601
13602 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13603
13604 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13605 debugging interface from Tony.Thompson@arm.com.
13606
13607 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13608 * libc/sys/arm/swi.h: ditto.
13609
13610 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13611
13612 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13613 DIR struct used for readdir hashes.
13614
13615 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13616
13617 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13618
13619 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13620
13621 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13622 integer targets.
13623
13624 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13625
13626 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13627 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13628 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13629 (__malloc_copy): Declare.
13630
13631 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13632
13633 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13634 <sys/config.h>.
13635 (POINTER_UINT): Define.
13636 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13637 (MALLOC_ALIGNMENT): Don't define if already defined.
13638 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13639 long.
13640
13641 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13642
13643 * libc/string/memset.c (memset): Fiddle with code so that the long
13644 value being stored is not a stack value. Unroll storing longs 4
13645 times.
13646
13647 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13648
13649 * Reduce code size for libm modules.
13650 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13651 and simply move code into sqrt.
13652 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13653 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13654 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13655 * libm/math/wr_gamma.c (gamma_r): Likewise.
13656 * libm/math/wf_sinh.c (sinfh): Likewise.
13657 * libm/math/w_sinh.c (sinh): Likewise.
13658 * libm/math/wf_scalb.c (scalbf): Likewise.
13659 * libm/math/w_scalb.c (scalb): Likewise.
13660 * libm/math/wf_remainder.c (remainderf): Likewise.
13661 * libm/math/w_remainder.c (remainder): Likewise.
13662 * libm/math/wf_pow.c (powf): Likewise.
13663 * libm/math/w_pow.c (pow): Likewise.
13664 * libm/math/wf_log10.c (log10f): Likewise.
13665 * libm/math/w_log10.c (log10): Likewise.
13666 * libm/math/wf_log.c (logf): Likewise.
13667 * libm/math/w_log.c (log): Likewise.
13668 * libm/math/w_lgamma.c (lgamma): Likewise.
13669 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13670 * libm/math/wf_jn.c (jnf): Likewise.
13671 * libm/math/w_jn.c (jn): Likewise.
13672 * libm/math/wf_j1.c (j1f): Likewise.
13673 * libm/math/w_j1.c (j1): Likewise.
13674 * libm/math/wf_j0.c (j0f): Likewise.
13675 * libm/math/w_j0.c (j0): Likewise.
13676 * libm/math/wf_hypot.c (hypotf): Likewise.
13677 * libm/math/w_hypot.c (hypot): Likewise.
13678 * libm/math/wf_gamma.c (gammaf): Likewise.
13679 * libm/math/w_gamma.c (gamma): Likewise.
13680 * libm/math/wf_fmod.c (fmodf): Likewise.
13681 * libm/math/w_fmod.c (fmod): Likewise.
13682 * libm/math/wf_exp.c (expf): Likewise.
13683 * libm/math/w_exp.c (exp): Likewise.
13684 * libm/math/wf_cosh.c (coshf): Likewise.
13685 * libm/math/w_cosh.c (cosh): Likewise.
13686 * libm/math/wf_atanh.c (atanhf): Likewise.
13687 * libm/math/w_atanh.c (atanh): Likewise.
13688 * libm/math/wf_atan2.c (atan2f): Likewise.
13689 * libm/math/w_atan2.c (atan2): Likewise.
13690 * libm/math/wf_asin.c (asinf): Likewise.
13691 * libm/math/w_asin.c (asin): Likewise.
13692 * libm/math/wf_acosh.c (acoshf): Likewise.
13693 * libm/math/w_acosh.c (acosh): Likewise.
13694 * libm/math/wf_acos.c (asocf): Likewise.
13695 * libm/math/w_acos.c (acos): Likewise.
13696 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13697 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13698 for embedded systems.
13699
13700 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13701
13702 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13703 Lea in case of a foreign sbrk.
13704
13705 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13706
13707 Incorporate Doug Lea's malloc:
13708 * libc/stdlib/mallocr.c: Completely replaced.
13709 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13710 (realloc): Remove.
13711 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
13712 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
13713 mallopt.
13714 (mallinfo, malloc_stats, mallopt): New functions.
13715 (_mstats_r): Just call _malloc_stats_r.
13716 * libc/stdlib/malign.c: New file.
13717 * libc/stdlib/mlock.c: New file.
13718 * libc/stdlib/msize.c: New file.
13719 * libc/stdlib/mtrim.c: New file.
13720 * libc/stdlib/realloc.c: New file.
13721 * libc/stdlib/valloc.c: New file.
13722 * libc/stdlib/malloc.h: Remove.
13723 * libc/stdlib/callocr.c: Remove.
13724 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
13725 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
13726 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
13727 reallocr.o, valloc.o, vallocr.o.
13728 (CHEWOUT_FILES): Add mlock.def, mstats.def.
13729 (MALLOC_CFLAGS): New variable.
13730 (mallocr.o): New target, build from mallocr.c.
13731 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
13732 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
13733 (msizer.o, malloptr.o): Likewise.
13734 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
13735 (valloc.o): New target.
13736 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
13737 * libc/include/malloc.h: Declare struct mallinfo, and new
13738 routines.
13739 * libc/include/stdlib.h (cfree): Correct declaration.
13740
13741 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
13742
13743 * libc/include/machine/setjmp.h: Add support for Thumb target.
13744
13745 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13746
13747 * configure.in (links): Add support for Thumb target.
13748
13749 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13750
13751 * libc/sys/arm/setjmp.S: Updated with version from branch.
13752
13753 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13754
13755 * libc/include/stdio.h: add POSIX-required define L_ctermid
13756 for ctermid
13757
13758 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13759
13760 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13761 addition to MISSING_SYSCALL_NAMES.
13762
13763 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13764
13765 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
13766
13767 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
13768
13769 * libc/include/string.h: change strsignal proto to return
13770 a char *. This eliminates compile problems in gdb resulting
13771 from gdb's definition of strsignal in defs.h.
13772
13773 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
13774
13775 * libc/sys/cygwin32/sys/utime.h: new (moved here from
13776 winsup/include) so as not to conflict with the one in
13777 libc/include.
13778 * libc/include/string.h: add protos for strsignal, strtosigno
13779
13780 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
13781
13782 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
13783
13784 * configure.in (d30v-*-*): Add configuration.
13785
13786 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
13787
13788 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
13789 to select which kind of debug monitor is in use for an ARM target.
13790
13791 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
13792 Angel and Demon debug monitors. Part of this code was supplied by
13793 Tony Thompson at ARM: athompso@arm.com.
13794
13795 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
13796
13797 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
13798 semantics when the count is greater than the length of the second
13799 source string.
13800
13801 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
13802
13803 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
13804 * libc/include/sys/unistd.h: add protos for usleep, truncate,
13805 truncate and ftruncate take off_t, not size_t
13806
13807 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
13808
13809 * libc/string/strcat.c (strcat): Add missing comment end.
13810 * libc/string/strncat.c (strncat): Likewise.
13811
13812 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
13813
13814 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
13815 targets.
13816 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
13817 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
13818 defined.
13819 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13820 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13821 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13822
13823 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
13824
13825 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
13826 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
13827
13828 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
13829
13830 * libc/machine/i386/setjmp.S: New file.
13831 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
13832 (OFILES): Add setjmp.o.
13833 (setjmp.o): Add rule for.
13834 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
13835
13836 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
13837 Jeffrey A Law (law@cygnus.com)
13838
13839 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
13840 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13841 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13842 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13843
13844 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
13845
13846 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
13847 rules.
13848
13849 * libc/include/sys/config.h: Use __v850 to select v850
13850 endianness.
13851
13852 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
13853 buffer size.
13854
13855 * libc/include/machine/ieeefp.h: Use __v850 to select v850
13856 endianness.
13857
13858 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
13859
13860 * libc/stdlib/setenv.c: change unsetenv definition to match
13861 style of setenv (with _DEFUN). The string should be a const.
13862 * libc/include/stdlib.h: unsetenv proto should return void.
13863
13864 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
13865
13866 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
13867
13868 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
13869
13870 * libc/stdio/glue.h: remove.
13871 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
13872 * libc/stdio/Makefile.in: remove glue.h dependencies
13873
13874 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
13875
13876 * libc/sys/sysnecv850/crt0.S: Created V850e version.
13877
13878 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
13879
13880 * configure.in (target_cpu): Add `arc'.
13881
13882 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
13883
13884 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
13885 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
13886 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
13887 * newlib/libc/reent/reent.c: Add _wrapup_reent.
13888 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
13889
13890 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
13891
13892 * libc/machine/mips/setjmp.S: Handle mips16 builds.
13893
13894 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
13895
13896 * libc/include/stdio.h (siprintf): Declare.
13897
13898 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
13899
13900 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
13901 TARGET_CFLAGS and NEWLIB_FLAGS.
13902
13903 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13904
13905 * configure.in (links): Add support for v850ea target.
13906
13907 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13908
13909 * configure.in (links): Add support for v850e target.
13910
13911 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
13912
13913 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
13914
13915 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
13916
13917 * configure.in (arc-*-*): Add support for.
13918 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
13919
13920 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13921
13922 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
13923
13924 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
13925
13926 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
13927 comparison which accesses invalid memory when the key is
13928 larger than the last member of the array.
13929 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
13930 for CYGWIN32
13931 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
13932
13933 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
13934
13935 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
13936 not _STRICT_ANSI.
13937
13938 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
13939
13940 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
13941 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
13942
13943 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
13944
13945 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
13946 to load/store memory.
13947
13948 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
13949
13950 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
13951 underscores if _WIN32.
13952
13953 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
13954
13955 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
13956 support ifdef _USE_WRITE missed in last change.
13957 From Anders Blomdell <anders.blomdell@control.lth.se>.
13958
13959 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
13960
13961 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
13962 (_tmpnam_r, _tempnam_r): Update.
13963
13964 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
13965
13966 * libc/machine/sparc/setjmp.S: New file.
13967 * libc/machine/sparc/Makefile.in: Add setjmp.
13968 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
13969
13970 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
13971
13972 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
13973
13974 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
13975
13976 From Joel Sherrill <joel@oarcorp.com>.
13977 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
13978
13979 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
13980 * configure.in: Recognize *-*-rtems*.
13981 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
13982 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
13983 time.h,times.h,types.h}: New files.
13984 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
13985
13986 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
13987
13988 patch from sos@prospect.com.ru (Sergey Okhapkin):
13989 * include/sys/wait.h: correct operator precidence bug
13990 in WIFSIGNALED
13991
13992 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
13993
13994 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
13995 with newlib's unsetenv function
13996 * libc/sys/cygwin32/sys: new directory for includes
13997 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
13998 here from winsup/include/sys
13999
14000 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
14001
14002 * libc/include/sys/unistd.h: _exit should only be
14003 labelled noreturn when not __CYGWIN32__
14004 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
14005 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
14006 increment NSIG
14007
14008 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
14009
14010 * libc/include/sys/time.h: Only define timeval and timezone if
14011 _GNU_H_WINDOWS32_SOCKETS is not defined.
14012 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
14013
14014 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
14015
14016 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
14017 * libc/machine/mn10300/setjmp.S: Likewise.
14018
14019 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
14020 the mn10300 (more relaxing opportunities).
14021
14022 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
14023
14024 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
14025 Build libraries with -mstrict-align.
14026
14027 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
14028
14029 * libc/string/strlwr.c: New file.
14030 * libc/string/strupr.c: New file.
14031 * libc/include/string.h: Declare strlwr and strupr.
14032 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
14033 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
14034 (strlwr.o, strupr.o): New targets.
14035 * libc/string/strings.tex: Include strlwr and strupr docs.
14036
14037 * libc/include/sys/types.h: Don't define u_char, et. al., if
14038 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
14039 et. al. Make FD_SETSIZE default 64 rather than 60. Define
14040 _types_fd_set rather than fd_set, and define fd_set as a macro.
14041
14042 * libc/include/malloc.h: New file.
14043
14044 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
14045 strnicmp if they are not already defined.
14046
14047 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
14048 _timezone, _daylight, and _tzname.
14049
14050 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
14051
14052 * configure.in: Sort all configuration tables.
14053
14054 From Joel Sherrill <joel@oarcorp.com>
14055 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
14056
14057 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
14058
14059 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
14060 use int when declaring kill.
14061
14062 * libc/include/sys/timeb.h: New file.
14063
14064 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14065
14066 * libc/include/sys/time.h: add itimer support for Cygwin32
14067
14068 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14069
14070 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14071 out a message that abort was called to stderr.
14072
14073 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14074
14075 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14076 so that libio doesn't freak.
14077
14078 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14079 int.
14080
14081 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14082 memory sizes, not int.
14083
14084 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14085
14086 * libm/math/ef_hypot.c: Use long constants where
14087 appropriate.
14088 * libm/math/ef_sqrt.c: Ditto.
14089
14090 * libc/sys/sysmec/times.c(_times): Change to times.
14091
14092 * libc/sys/sysmec/read.c(_read): The third argument is
14093 size_t.
14094 * libc/sys/sysmec/write.c (_write): Ditto.
14095
14096 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14097 (_lseek): It's off_t for the second argument.
14098
14099 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14100
14101 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14102 as well as machine/ieeefp.h.
14103
14104 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14105
14106 * libc/include/sys/signal.h: add signal protos for winsup
14107 functions (when __CYGWIN32__), include types.h
14108 * libc/include/sys/types.h: Change __go32_types__ internal
14109 define to __MS_types__ since it's used for more than just
14110 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14111 defined.
14112 * libc/include/sys/unistd.h: add ftruncate proto for
14113 winsup functions (when __CYGWIN32__)
14114
14115 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14116
14117 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14118
14119 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14120
14121 * libc/include/machine/setjmp.h: Add tic80 support.
14122 * libc/machine/tic80/setjmp.S: Likewise.
14123
14124 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14125
14126 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14127 link programs from libraries only (such as in the X11
14128 distribution)
14129
14130 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14131
14132 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14133 supplied elsewhere in newlib.
14134
14135 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14136
14137 * Makefile.in (INSTALL): Change install.sh to install-sh.
14138
14139 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14140
14141 * README: update WWW address for on-line documentation.
14142
14143 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14144
14145 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
14146 increment NSIG
14147
14148 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
14149
14150 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
14151 mn10300.
14152 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
14153
14154 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
14155
14156 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
14157 * libc/sys/d10v/syscalls.c: Likewise.
14158 * libc/sys/h8300hms/sbrk.c: Likewise.
14159 * libc/sys/h8500hms/syscalls.c: Likewise.
14160 * libc/sys/m88kbug/syscalls.c: Likewise.
14161 * libc/sys/sh/syscalls.c: Likewise.
14162 * libc/sys/sysmec/sbrk.c: Likewise.
14163 * libc/sys/sysnecv850/sbrk.c: Likewise.
14164 * libc/sys/w65/syscalls.c: Likewise.
14165 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
14166
14167 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
14168
14169 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
14170 emulated syscall instead of "trap".
14171
14172 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
14173
14174 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
14175 not trap 0.
14176
14177 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
14178
14179 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
14180
14181 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
14182
14183 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
14184 not "sh".
14185 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
14186 not "d10v".
14187 * libc/sys/tic80/crt0.c: New file for TIc80.
14188 * libc/sys/tic80/Makefile.in: New file for TIc80.
14189 * libc/machine/tic80/Makefile.in: New file for TIc80.
14190
14191 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
14192
14193 * libc/machine/sh/memcpy.S: New file.
14194 * libc/machine/sh/memset.S: New file.
14195 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
14196
14197 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
14198
14199 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
14200 for TIc80.
14201
14202 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
14203
14204 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
14205 the mn10200.
14206
14207 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
14208
14209 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
14210 (patch from andrew@pogo.WV.TEK.COM).
14211
14212 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
14213
14214 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
14215 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
14216
14217 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
14218
14219 * configure.in: Add cases for "tic80" to set machine_dir,
14220 sys_dir, and syscall_dir.
14221
14222 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
14223
14224 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
14225
14226 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
14227
14228 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
14229
14230 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
14231
14232 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
14233 Use proper constant prefix.
14234
14235 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
14236
14237 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
14238 that loses on the mn10200 where ints and pointers are different
14239 sizes.
14240
14241 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
14242
14243 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
14244 target as signal is provided in winsup.
14245
14246 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
14247
14248 * libc/include/sys/process.h: Corrected const definitions
14249 in spawn functions. Added cwait.
14250
14251 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
14252
14253 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
14254 doubles.
14255 * libc/include/sys/config.h: Similarly.
14256
14257 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14258
14259 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
14260 target_cflags.
14261 (i[3456]86-*-sco*): Ditto.
14262
14263 * libc/signal/Makefile.in (OFILES): Add signal.o.
14264 (CFILES): Add signal.c.
14265
14266 * libc/signal/raise.c (_raise_r): Only compile code if
14267 SIGNAL_PROVIDED is defined.
14268
14269 * libc/signal/signal.c: Redo whole file so that it works with
14270 current newlib. Use _kill_r if no signal handler provided.
14271
14272 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
14273 signal stubs.
14274 * libc/sys/sysvnecv70/Makefile.in: Ditto.
14275 * libc/sys/sysnecv850/Makefile.in: Ditto.
14276
14277 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
14278 * libc/sys/sysmec/{raise,signal}.c: Ditto.
14279 * libc/sys/sysvnecv70/signal.s: Ditto.
14280 * libc/sys/sysnecv850/raise.c: Ditto.
14281
14282 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
14283 simulator and debugger can tell the difference between a signal
14284 being raised and an exit system call.
14285
14286 * NEWS: Document software signals being provided.
14287
14288 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14289
14290 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
14291 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
14292 include/sys/config.h.
14293 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
14294 Change from 'inpure_data'.
14295 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
14296 &impure_data, not &inpure_data.
14297
14298 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
14299 and and System V ABI, define so that _impure_ptr lives in the
14300 .sdata section.
14301
14302 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14303
14304 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
14305 nothing if not defined.
14306 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
14307 its attributes.
14308
14309 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
14310
14311 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
14312
14313 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
14314 * libc/sys/sysmec/trap.s: Handle mn10200 too.
14315 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
14316
14317 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
14318
14319 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
14320
14321 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
14322
14323 * libc/include/sys/errno.h: Added net errno's.
14324
14325 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14326
14327 * libc/misc/ffs.c: New file to support ffs function for GCC test
14328 gcc.c-torture/execute/960909-1.c.
14329
14330 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
14331
14332 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
14333
14334 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
14335 * libc/sys/sysmec/trap.S: Likewise.
14336
14337 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
14338
14339 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
14340 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
14341
14342 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
14343
14344 * libc/sys/sysmec/signal.c: Dummy file.
14345 * libc/sys/sysmec/Makefile.in: Build it.
14346
14347 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
14348
14349 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
14350 mips16.
14351
14352 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
14353
14354 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
14355 c-startup and simulator traps.
14356
14357
14358 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
14359 * libc/sys/sysmec/trap0.S: Likewise.
14360
14361 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14362
14363 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
14364 round to double word alignment.
14365 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
14366 byte alignment.
14367
14368 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
14369
14370 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
14371 out of memory.
14372
14373 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
14374
14375 * configure.in: Handle mn10200 and mn10300.
14376 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
14377 * libc/include/sys/config.h: Likewise.
14378 * libc/sys/sysmec: New directory for mec stuff.
14379 * libc/machine/mn10300: New directory for mn10300 stuff.
14380 * libc/machine/mn10200: Similarly for mn10200 stuff.
14381
14382 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
14383
14384 * libc/sys/arm/crt0.S: Use .text, not .section .text.
14385 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
14386
14387 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
14388 (nlink_t): Change type from unsigned int to unsigned short.
14389 (mode_t): Ensure size is 32 bits even if int is 16.
14390 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
14391 (st_spare[123]): Change type from int to long.
14392
14393 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14394
14395 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
14396 byte boundary.
14397
14398 * configure.in (d10v*): Define SMALL_MEMORY.
14399
14400 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14401
14402 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
14403 -mrelocatable-lib and -mno-eabi flags.
14404
14405 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
14406
14407 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
14408 Fix handling of mis-aligned source operand when both the
14409 destination & length are properly aligned.
14410
14411 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
14412
14413 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
14414 times.o, time.o and gettime.o
14415 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
14416 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
14417 SYS_gettimeofday.
14418
14419 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
14420
14421 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
14422 * libc/sys/sysnecv850/access.c: New file.
14423
14424 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
14425
14426 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
14427
14428 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
14429 long.
14430
14431 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
14432
14433 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
14434
14435 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
14436
14437 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
14438 * libc/include/sys/config.h: Add m32r support.
14439
14440 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
14441
14442 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
14443 here.
14444
14445 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
14446
14447 * libc/include/machine/setjmp.h: Add D10v support.
14448
14449 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14450
14451 * configure.in: Configure the "libc/syscalls" directory for
14452 the v850.
14453
14454 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14455 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14456 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14457 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14458 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14459
14460 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14461
14462 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14463 stack for args for main and other routines. Zero out args for
14464 main.
14465
14466 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14467 correctly.
14468
14469 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14470
14471 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14472 function.
14473
14474 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14475
14476 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14477 real system calls now.
14478
14479 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14480 before casting them to int.
14481 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14482
14483 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14484 aligning pointer.
14485 * libc/string/memset.c (memset): Ditto.
14486
14487 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14488 first convert ints to _POINTER_INT to eliminate GCC warning.
14489
14490 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14491 processing %p.
14492
14493 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14494 from 65000 if ints are only 16 bits.
14495
14496 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14497 from 50000 if ints are only 16 bits.
14498
14499 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14500 int type that is the same size as a pointer.
14501
14502 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14503 processing %p.
14504 (get_number): Explicitly cast number to long before shifting by 16
14505 or 24, in case ints are short.
14506
14507 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14508
14509 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14510
14511 * libc/string.h: Added ffs, removed swab.
14512 * libc/sys/errno.h: Added EOPNOTSUPP.
14513 * libc/sys/unistd.h: Added swab.
14514
14515 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14516
14517 * libc/include/sys/stat.h: Added fchmod.
14518 * libc/include/sys/unistd.h: Added fsync.
14519
14520 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14521
14522 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14523 and ECONNRESET (104) for cygwin32.
14524
14525 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14526
14527 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14528 do the static destructors.
14529
14530 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14531
14532 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14533
14534 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14535
14536 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14537 * configure.in: Recognize m32r-*-*.
14538
14539 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14540
14541 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
14542 __rt_stkovf_split_small): Added default software stack overflow
14543 handlers, which just call SWI_Exit.
14544 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
14545 limit initialisation.
14546
14547 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14548
14549 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14550
14551 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14552
14553 * libc/include/sys/types.h: Added ssize_t definition.
14554
14555 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14556
14557 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14558 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14559
14560 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14561 branch around a single ldi instruction.
14562
14563 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14564 Call exit, instead of just issuing a stop instruction.
14565
14566 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14567
14568 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14569
14570 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14571
14572 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14573 longs, and then cast them to __uint32_t.
14574
14575 * libc/include/sys/config.h: Protect against multiple inclusions.
14576
14577 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14578
14579 * configure.in (d10v*): Set syscall_dir.
14580
14581 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14582
14583 * libc/sys/d10v/crt0.S: Set stack pointer.
14584
14585 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14586
14587 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14588 in assembly for efficiency. Change calling convention to allow
14589 long ints to be returned.
14590
14591 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14592
14593 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14594
14595 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14596
14597 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14598 Handle empty entries in $PATH.
14599
14600 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14601
14602 * libc/machine/d10v/setjmp.S: Make it really work.
14603
14604 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14605
14606 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14607 the .stack section.
14608
14609 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14610
14611 * sys/sysnecv850/sys/file.h: Remove.
14612 * sys/sysnecv850/sys/syscall.h: New file.
14613 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14614 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14615 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14616 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14617 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14618 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14619 * sys/sysnec850/trap.S: New file.
14620 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14621 syscalls.
14622 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14623 * sys/sysnec850/sbrk.c: New version.
14624
14625 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14626
14627 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14628 as long as r6 is less than r7.
14629
14630 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14631
14632 * Makefile.in (mostlyclean): Separate from clean target. Don't
14633 remove *.a or targ-include.
14634 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14635
14636 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14637
14638 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14639 d10v.
14640 (__SMALL_BITFIELDS): Ditto.
14641
14642 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14643
14644 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14645
14646 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14647 prefix.
14648
14649 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14650 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14651 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14652 * libc/sys/sysnecv850/write.c (write): Likewise.
14653
14654 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14655 .bss.
14656
14657 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14658
14659 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14660 appropriately for D10V, depending on -mint16/-mint32.
14661
14662 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14663
14664 * configure.in: Add cases for D10V.
14665
14666 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14667
14668 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14669
14670 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14671
14672 * libc/include/machine/ieeefp.h: Fix typo.
14673
14674 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14675
14676 * libc/sys/d10v: New directory for D10V stuff.
14677 * libc/include/machine/ieeefp.h: Add D10V defines.
14678
14679 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14680
14681 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14682 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14683 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14684 * libc/string/strerror.c (strerror): Add them.
14685
14686 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14687
14688 * libc/sys/sysnecv850: New directory for v850 stuff.
14689
14690 * libc/machine/v850: New directory for v850 stuff.
14691 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14692
14693 * configure.in: Add support for the v850.
14694
14695 * libc/include/machine/ieeefp.h: Add v850 defines.
14696 * libc/include/machine/setjmp.h: Likewise.
14697 * libc/include/sys/config.h: Add v850 defines.
14698
14699 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14700
14701 * libc/include/machine/ieeefp.h
14702 * libc/include/machine/setjmp.h
14703 * libc/include/sys/fcntl.h
14704 * libc/include/sys/signal.h
14705 * libc/include/sys/types.h
14706 * libc/stdlib/system.c:
14707 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14708 API availability, __CYGWIN32__ for cygwin32 environment specific).
14709
14710 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14711
14712 * libc/include/stdlib.h: add multibyte character functions. Add
14713 __eprintf for assert.
14714
14715 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14716
14717 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
14718 arithmetic or __alignof__ to properly get the alignment, instead
14719 of hardwiring it to 4.
14720
14721 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
14722
14723 * libc/stdio/fseek.c: add fflush call to adjust seek offset
14724 on append stream (fix from NetBSD sources), adjust curoff offset
14725 for ungetc's benefit.
14726 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
14727 * libc/stdio/rewind.c: replace code with up to date NetBSD
14728 code to undo hacks made to work around above problem of not
14729 having fflush call mentioned above
14730
14731 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14732
14733 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
14734 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
14735 Partially revert last changes. The thread specific errno is set
14736 iff if the underlying syscall fails and the global errno is not
14737 zero.
14738
14739 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14740
14741 * libc/reent/filer.c: Removed files, all functions have split out
14742 into their own files.
14743 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
14744 New files containing functions formally in filer.c
14745 * libc/reent/Makefile.in: Updated for above change.
14746
14747 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
14748 syscall fails, not if errno is changed.
14749 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
14750 _write_r): Likewise.
14751 * libc/reent/fstatr.c (_fstat_r): Likewise.
14752 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14753 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14754 * libc/reent/signalr.c (_kill_r): Likewise.
14755 * libc/reent/statr.c (_stat_r): Likewise.
14756 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14757
14758 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
14759 signalr.c, statr.c, timer.c} (errno): declare extern rather
14760 than as a common.
14761
14762 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
14763 instead of calling vfprintf so that i*printf will not require
14764 floating point support code.
14765
14766 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
14767
14768 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
14769 path delimiter.
14770 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
14771 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
14772
14773 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
14774
14775 * libc/include/signal.h: _sig_func_ptr function takes an int
14776 * libc/include/sys/signal.h: sa_handler function takes an int
14777
14778 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
14779
14780 * libc/include/machine/ieeefp.h: Simplify H8/S support.
14781 * libc/include/sys/config.h: Add missing H8/S conditional.
14782
14783 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
14784
14785 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
14786
14787 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
14788
14789 * libc/include/machine/setjmp.h: Handle H8/S.
14790 * libc/include/machine/ieeefp.h: Likewise.
14791 * libc/include/sys/config.h: Likewise.
14792 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
14793 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
14794 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
14795 * libc/sys/h8300hms/crt0.S: Likewise.
14796
14797 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
14798
14799 * Makefile.in (datadir): Set to $(prefix)/share.
14800 (oldincludedir, docdir): Removed.
14801 * doc/Makefile.in (datadir): Set to $(prefix)/share.
14802 (oldincludedir, docdir): Removed.
14803 * libc/Makefile.in (datadir): Set to $(prefix)/share.
14804 (oldincludedir, docdir): Removed.
14805 * libm/Makefile.in (datadir): Set to $(prefix)/share.
14806 (oldincludedir, docdir): Removed.
14807
14808 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
14809
14810 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
14811 _reent struct.
14812
14813 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
14814
14815 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
14816 fetch current path rules with sysconf and handler posix/win32
14817 appropriately.
14818
14819 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
14820
14821 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
14822 (WAIT_CHILD): Always define.
14823
14824 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
14825
14826 * libc/stdlib/eprintf.c: New file.
14827 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
14828 (eprintf.o): New target.
14829
14830 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
14831
14832 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
14833 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
14834
14835 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
14836
14837 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
14838 NT in PowerPC endianess cases.
14839
14840 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14841
14842 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
14843
14844 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14845
14846 * libc/string/strtok.c: Fix doc typo.
14847
14848 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14849
14850 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
14851 _next, _scanpoint, _signgam fields.
14852
14853 * libc/include/stdlib.h (rand_r): Added new declaration.
14854 (_rand_r, _srand_r): Removed declarations.
14855 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
14856 have been made obsolete by rand_r.
14857 * libc/stdlib/rand_r.c: New file, rand_r function as specified
14858 by POSIX.1c.
14859
14860 * libc/string/strtok.c: Update documentation to describe
14861 strtok_r().
14862
14863 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
14864
14865 * libc/include/sys/stat.h (stat structure): Use the expanded stat
14866 structure on Solaris, and PowerPC systems even though __svr4__ is
14867 defined.
14868
14869 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
14870
14871 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
14872
14873 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
14874
14875 * host/any: Use ../.. rather than .. to get to the main build
14876 directory. This matches the current layout of the build
14877 directory.
14878
14879 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
14880
14881 * libc/machine/h8300/__main.S: Delete. No longer needed.
14882 * libc/machine/h8300/Makefile.in: Corresponding changes.
14883 * libc/sys/h8300hms/crt1.c: New file.
14884 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
14885 * libc/sys/h8300hms/crt0.s: Call __main.
14886
14887 * libc/sys/h8300hms/crt0.S: Use temporary label names
14888 for branch targets.
14889
14890 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
14891
14892 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
14893
14894 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14895
14896 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
14897 .sdata on the PowerPC so that we can link newlib with code
14898 compiled with -msdata.
14899
14900 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
14901
14902 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
14903
14904 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
14905
14906 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
14907 exception handler to __cygwin_exception_handler.
14908
14909 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
14910
14911 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
14912
14913 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
14914
14915 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
14916 SunOS VPATH.
14917 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
14918 wcstombs.o): Likewise.
14919
14920 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
14921
14922 * libc/stdlib/environ.c (initial_env): New static local.
14923 (environ): Point to `initial_env'.
14924
14925 * libc/include/machine/setjmp.h: Clean up.
14926 (__H8300H__,__PPC__): Define _JBTYPE.
14927 (__arm__): Provide entry for.
14928 (sigjmp_buf): Delete.
14929 (jmp_buf): Use _JBTYPE if defined, otherwise int.
14930
14931 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
14932
14933 * libc/machine/h8300/strcmp.S: Sign extend the result to
14934 32bits so we don't lose with -mint32.
14935
14936 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
14937
14938 * libc/sys/go32/sys/errno.h: New file.
14939 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
14940 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
14941 errno's address (make compatible with rest of newlib).
14942 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
14943 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
14944
14945 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
14946
14947 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
14948 * libc/machine/sparc/Makefile.in: Build them.
14949 * libc/machine/sparc/machine/sparclet.h: New file.
14950
14951 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14952
14953 * libc/machine/sh/asm.h: New file.
14954 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
14955 support for SH3e's FP registers. Use asm.h.
14956
14957 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
14958
14959 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
14960 as first argument. Call _dtoa_r and pass the reent structure
14961 instead of calling __dtoa.
14962
14963 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
14964
14965 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
14966 the h8300, h8500, and others. Add comments for some rather
14967 dubious code.
14968
14969 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
14970
14971 * Makefile.in (check): Check that testsuite exists before cd.
14972
14973 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14974
14975 * libc/include/string.h (strsep): Correct prototype.
14976
14977 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
14978
14979 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
14980 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
14981 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
14982
14983 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
14984
14985 * libc/posix/{creat.c,isatty.c}: New files.
14986 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
14987
14988 * libc/sys/sparc64/crt0.S (environ): Delete.
14989 (.LHaveBias): Renamed from HaveBias.
14990
14991 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
14992
14993 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
14994 (_morecore_r): Delete SBRK_IS_ALLOC support.
14995
14996 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14997
14998 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
14999 module rather than touch, so we don't get warning messages when
15000 all of the libraries are combined into libc.a.
15001
15002 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
15003
15004 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
15005 crt0.s replaced by version in libgloss.
15006
15007 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15008
15009 * libc/reent/Makefile.in (OFILES): Add impure.o.
15010 * libc/reent/impure.o: New file, define initial reentrancy struct.
15011 * libc/reent/reent.c: Remove above definition.
15012
15013 * libm/math/sf_asinh.c: Fix typo.
15014
15015 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
15016 srf_ldexp.o.
15017
15018 * libm/libm.texinfo: Change documentation to reflect changes
15019 in reentrancy model.
15020 * libm/math/w_gamma.c: Likewise.
15021
15022 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
15023
15024 * configure.in (*-*-cygwin32): New.
15025 (*-*-win32): Deleted.
15026 * libc/sys/win32 renamed libc/sys/cygwin32.
15027
15028 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15029
15030 * libc/include/sys/file.h: New include file.
15031
15032 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
15033
15034 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
15035
15036 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
15037
15038 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
15039
15040 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15041
15042 * doc/makedoc.c (realloc): Declare at file scope.
15043 (catchar): Not here.
15044
15045 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
15046
15047 * Makefile.in (VERSION): Update to 1.7.0.
15048 * {libc,libm}/Makefile.in (VERSION): Likewise.
15049 * configure.in: Minor clean up of multilib stuff.
15050
15051 From David Johnson <davidj@ICSI.Berkeley.EDU>
15052 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
15053
15054 * libc/stdlib/environ.c: New file.
15055 * libc/stdlib/Makefile.in (OFILES): Build it.
15056 * libc/sys/h8500hms/crt0.c (environ): Deleted.
15057 * libc/sys/m88kbug/crt0.c (environ): Deleted.
15058 * libc/sys/z8ksim/crt0.c (environ): Deleted.
15059 * libc/sys/netware/environ.c: Deleted.
15060
15061 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15062
15063 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15064
15065 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15066
15067 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15068 declaration out to external scope and declare it PTR, not char *.
15069
15070 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15071
15072 * libc/include/sys/unistd.h (getpagesize): New declaration.
15073 (_SC_PAGESIZE): New definition.
15074 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15075 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15076
15077 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15078
15079 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
15080 addressing. System call returns size, not (last address + 1).
15081
15082 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15083
15084 * libm/math/*.c: Removed _foo_r() reentrancy API.
15085 * libc/include/math.h: Removed _foo_r prototypes and macros.
15086
15087 * libm/math/*.c: On systems with IEEE single precision "doubles"
15088 move foo() -> foof() wrapper code from the files that implement
15089 the standard IEEE double precision functions to the files that
15090 implement IEEE single precision functions. (ie. On those systems
15091 sin is moved from s_sin.c to sf_sin.c). There should eventually
15092 be use of a C extension (like gcc's alias attribute) so that the
15093 wrappers are not needed at all.
15094
15095 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
15096 strict NEC V810 compiler.
15097 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
15098 for same reason.
15099
15100 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15101
15102 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
15103 from NetBSD C library.
15104 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15105
15106 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
15107 and adapted from implementation I wrote for NetBSD C library.
15108 The difference is __assert doesn't take a format argument,
15109 so that there won't be multiple copies of the same string
15110 constant in the executable if assertions are enabled in
15111 more than one source module.
15112 * libc/include/assert.h (assert): Changed to call __assert.
15113
15114 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15115
15116 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15117 word1 on systems with 32 bit doubles.
15118 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15119 so that we can do arithmetic on them.
15120 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
15121 compilers.
15122
15123 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15124
15125 * libc/sys/arm/crt0.S: Zero bss.
15126
15127 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15128
15129 * libc/include/unctrl.h: New file.
15130 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15131 * configure.in (subdirs): Add libc/misc.
15132 * libc/Makefile.in (SUBDIRS): Add misc.
15133 (SUBLIBS): Add misc/lib.a.
15134
15135 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15136
15137 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15138
15139 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15140 (_vfprintf_r): Call CHECK_INIT.
15141
15142 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15143
15144 * Makefile.in (MULTITOP): Delete.
15145 (MULTISRCTOP, MULTIBUILDTOP): Add.
15146 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
15147 instead of cfg-ml-pos.in.
15148
15149 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15150
15151 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
15152 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
15153 presence.
15154
15155 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15156
15157 * libc/string/strtok.c: Include string.h to pick up strtok_r
15158 prototype.
15159
15160 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15161
15162 * libc/string/strtok.c: include <_ansi.h>.
15163 * libc/time/asctime_r.c: `reresult' -> `result'.
15164
15165 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15166
15167 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
15168 in #ifndef _REENT_ONLY ... #endif conditional.
15169
15170 * libc/include/string.h (_strtok_r): Remove declaration.
15171 * libc/include/time.h (_asctime_r): Remove declaration.
15172 * libc/string/strtok.c (_strtok_r): Removed.
15173 * libc/time/asctime.c (_asctime_r): Removed.
15174
15175 * libc/string/Makefile.in (OFILES): Add new object.
15176 * libc/string/strtok_r.c: New file. strtok_r function as
15177 specified by POSIX.1c, adapted from strtok implementation
15178 from NetBSD C library.
15179 * libc/string/strtok.c (strtok): Reimplemented in terms of
15180 strtok_r.
15181
15182 * libc/time/Makefile.in (OFILES): Add new objects.
15183 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
15184 New files, reentrant time functions specified by POSIX.1c.
15185 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
15186 reentrant time functions re-written in terms of reentrant
15187 functions.
15188 * libc/time/lcltime.c: Renamed from localtime.c
15189
15190 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
15191 gmtime_r, and localtime_r.
15192
15193 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
15194
15195 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
15196 * libc/include/sys/unistd.h (getlogin): Revert change of
15197 Oct 19.
15198 * libc/include/sys/signal.h (sigprocmask): Change prototype
15199 so it compiles with c++.
15200
15201 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
15202
15203 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
15204 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
15205 to give some room in case we need to align the jmp_buf.
15206
15207 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
15208 the new ppc-asm.h include file the compiler provides to specify
15209 function prologue/epilogue. Eliminate saves of the xer and ctr
15210 registers, which are volatile. Before starting to save registers,
15211 align to 8 byte boundary.
15212
15213 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15214
15215 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
15216 referenced by standard libraries.
15217
15218 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
15219
15220 * libc/unix/Makefile.in, libc/string/Makefile.in,
15221 libc/stdio/Makefile.in, libc/reent/Makefile.in,
15222 libc/posix/Makefile.in:
15223 Remove tabs from otherwise empty line. Confuses some
15224 older non-GNU versions of "make".
15225
15226 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
15227
15228 * libc/sys/unistd.h (getlogin): Returns const char *.
15229
15230 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
15231
15232 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
15233 * libc/include/errno.h: Moved into and include...
15234 * libc/include/sys/errno.h: New file.
15235 * libc/include/sys/wait.h: New file.
15236 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
15237 * libc/sys/win32/*: Moved out.
15238 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
15239 * configure.in (i[345]86-*-win32): HAVE_RENAME
15240
15241 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
15242
15243 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
15244 avoid macro expansion for these two names.
15245
15246 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
15247
15248 * libc/machine/h8500/psi.S: r6 renamed to fp.
15249
15250 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15251
15252 * configure.in (powerpc*): No longer need to define
15253 NO_LONGLONG_POINTERS to supress warnings.
15254
15255 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15256
15257 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
15258 through PTR instead of directly.
15259
15260 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
15261 non-standard constructor support.
15262
15263 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15264
15265 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
15266 address of the Bigint instead of the address of its _x field,
15267 as the size the result buffer was calculated accordingly.
15268 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
15269
15270 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
15271 from NetBSD C library. No longer special cases division by
15272 zero (which needs to be done by the application anyway), but
15273 it doesn't need to call abs() (or labs()) four times either.
15274
15275 * libc/stdlib/qsort.c: Replaced with implementation from
15276 NetBSD C library.
15277
15278 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15279
15280 * libc/stdio/vfprintf.c: Replaced with implementation from
15281 NetBSD C library (which is derived from the 4.4BSD C library).
15282 * libc/stdio/cvt.c: Removed.
15283 * libc/stdio/Makefile: Updated.
15284
15285 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
15286
15287 * libc/sys/win32/syscalls.c (rename): New.
15288 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
15289
15290 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15291
15292 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
15293 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
15294
15295 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
15296 (setjmp.o): Delete rule to build setjmp.o.
15297 * libc/sys/sh/setjmp.S: Delete file.
15298
15299 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15300
15301 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
15302 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
15303 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
15304 pow5mult and s2b to identifiers with leading underscores.
15305 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
15306 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
15307
15308 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
15309
15310 * libc/sys/posix/popen.c (sys/types.h): Include.
15311
15312 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
15313
15314 * libc/sys/win32/syscalls.h (fhandler): New struct.
15315 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
15316 (__fhandler_normal): Declare.
15317 (hinfo): New member op_handlers.
15318 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
15319 (__write): Likewise.
15320 (_read, _write, _open, _close, _lseek): Validate fd here.
15321 Move file type specific stuff to foo_normal.
15322 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
15323 New functions.
15324 (__lookup_fhandler): New function.
15325 (__lookup_fhandler_hook, __fhandler_normal): New variables.
15326
15327 From anders.blomdell@control.lth.se (Anders Blomdell)
15328 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
15329 Don't touch standard handles.
15330 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
15331 (_execve): Only create __FD_TABLE__ if necessary.
15332 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
15333
15334 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
15335
15336 * libc/sys/win32/sys/termios.h (FLUSHO): New.
15337 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
15338 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
15339 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
15340 without a handler is received.
15341 * libc/sys/win32/Makefile.in: Remove --nodelete.
15342 * libc/sys/win32/resouce.c (gettimeofday): New.
15343 * libc/sys/win32/syscalls.c (path_to_real_path): New.
15344 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
15345
15346 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
15347
15348 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
15349 Don't append "/*" to search pattern if trailing '/' already there,
15350 append "*".
15351 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
15352 like /'s, convert them to \'s. Handle //<drive>/ path names.
15353 Add space for quoted \'s in arg string. Print translated prog name
15354 and original prog name.
15355 (_execve): Handle parent doing exec a teensy bit better.
15356 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
15357 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
15358 path needs conversion, handle both cases. Delete `const' from result.
15359 (hash_path_name): New function.
15360 (_open): Call it.
15361 (_stat): Likewise. Fill in more fields for directories.
15362 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
15363 (wait_for_any): Fix trace message.
15364 (waitpid): Explicitly test for intpid == 0.
15365
15366 From anders.blomdell@control.lth.se (Anders Blomdell)
15367 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
15368 so `next' is valid.
15369
15370 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
15371
15372 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
15373 complicated.
15374
15375 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15376
15377 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
15378 at all, not just == 1.
15379 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
15380
15381 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15382
15383 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
15384 * libc/sys/win32/include/wintypes.h: include <winnt.h>
15385 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
15386 file.
15387
15388 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15389
15390 * libc/sys/syscalls.c (getcwd): Fix off by one error.
15391
15392 * libc/sys/signal.c (sleep): Fill it in.
15393 * libc/sys/termios.c (tcflush): Use PurgeComm
15394 (tcsetattr): Set some more of the bits.
15395 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
15396
15397 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
15398
15399 * libc/sys/arm/crt0.S (fp): Initialize to 0.
15400 Conditionally include .idata$3 stuff ifdef __pe__.
15401
15402 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15403
15404 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
15405 * libc/sys/win32/pipe.c (pipe): Ditto.
15406 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
15407 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
15408 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
15409 (tcgetattr): Contents are new.
15410 * libc/sys/win32/include/winkernel.h (DCB): New.
15411 (GetCommState, SetCommState): New.
15412
15413 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
15414
15415 * libc/sys/arm/crt0.S (_start): Define.
15416
15417 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
15418
15419 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
15420 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
15421
15422 * libc/sys/win32/sysconf.c: New
15423 * libc/sys/win32/sys/winadvapi.h: New
15424 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
15425 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
15426 * libc/sys/win32/pipe.c (pipe): Ditto.
15427 * libc/sys/win32/signal.c (_raise): New.
15428 (_kill): Moved from spawn.c
15429 * libc/sys/win32/spawn.c (kill): Moved to signal.c
15430 * libc/sys/win32/syscalls.c (__read): Use new fields.
15431 (_open): Ditto.
15432 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
15433 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
15434 * libc/include/sys/unistd.h (rmdir): Takes const path.
15435 * libc/include/sys/stat.h (mkdir): Takes const path.
15436 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
15437
15438 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
15439
15440 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
15441
15442 Add support for specifying paths as //<drive>/foo/bar.
15443 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
15444 (__path_to_real_path): Declare.
15445 (PATH_TO_REAL_PATH): New macro.
15446 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
15447 (__path_needs_conversion_p, __path_to_real_path): New functions.
15448 (_open): Fix test for error return from CreateFileA.
15449 Handle new path syntax.
15450 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15451 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15452
15453 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15454
15455 * libc/sys/win32/include/*.h: Reorganized
15456 * libc/sys/win32/include/WINREADME: New.
15457 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15458 * libc/sys/win32/*.c: Fix for new include scheme.
15459 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15460 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15461 * libc/sys/win32/passwd.c (*): Fix.
15462 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15463 (_stat): Get directory owner and permissions right.
15464 * libc/sys/win32/syscalls.h (uinfo): New.
15465 * libc/sys/win32/version.def: Remove leading underscores.
15466
15467 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15468
15469 * libc/sys/win32/key.c: include "include/wincon.h".
15470
15471 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15472
15473 * libc/sys/win32/{key, stubs}.c: New.
15474 * libc/sys/win32/Makefile: Adjust to cope.
15475 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15476 (environ_init): Change env names to upper case.
15477 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15478 * libc/sys/win32/passwd.c (*): Fill in the functions.
15479 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15480 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15481 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15482 (_open): Initialze hmap->execable_p too.
15483 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15484 (_fstat): Fill in permissions.
15485 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15486
15487 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15488
15489 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15490 if defined.
15491 (cfg-ml-pos.in invocation): Likewise.
15492
15493 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15494
15495 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15496 s_isnan.o and sf_isnan.o.
15497
15498 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15499
15500 * All Makefile.in files: added maintainer-clean target as a
15501 synonym for realclean.
15502
15503 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15504
15505 * libc/include/machine/setjmp.h: Add hppa support.
15506 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15507 support.
15508 * libc/machine/hppa/Makefile.in: Related changes.
15509
15510 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15511
15512 * configure.in (machine_dir): Don't set for v810-*-*.
15513
15514 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15515
15516 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15517 conventions correctly.
15518
15519 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15520
15521 * libc/stdio/puts.c: Update documentation of return value to match
15522 ANSI standard.
15523
15524 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15525
15526 Fix file descriptor inheritance.
15527 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15528 (NOT_OPEN_FD): Fix.
15529 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15530 close-on-exec flag not set. Initialize child's entire fd table.
15531 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15532 CHILD_P.
15533 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15534 if CHILD_P. Initialize entire hmap entry.
15535 (dup): Only create new handle as inheritable if CHILD_P.
15536 (dup2): Likewise. Properly initialize hmap entry.
15537
15538 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15539 _spawn.
15540 (_exit): Use CHILD_P.
15541 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15542 (_stat): Likewise.
15543
15544 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15545
15546 * libc/sys/win32/crt0.c (passover): fix up the state table.
15547 * libc/posix/popen.c: Added.
15548 * libc/posix/Makefile.in: compile popen.c.
15549
15550 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15551
15552 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15553 h8/500 define _DOUBLE_IS_32BITS.
15554
15555 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15556
15557 Get vfork/exec/spawn/cwait/wait working again.
15558 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15559 (procinfo): New member vfork_level.
15560 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15561 (vfork_init_first): Use GetCurrentProcessId to get pid.
15562 Initialize vfork_level.
15563 (vfork_init): Delete __PID__.
15564 (environ_init): New function. Undo patch of Aug 19, Posix says
15565 environment variables are case sensitive.
15566 (mainCRTStartup): Call it.
15567 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15568 (my_longjump: Make static.
15569 (_spawn): New argument `h'. Delete setting of __PID__.
15570 Delete local `idx'. Look for chars that need quotes, rather than
15571 ones that don't. Set handle of created process in `h'.
15572 Result is process id if created task.
15573 (allocate_spawn_entry): New function.
15574 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15575 (_execve): Set __FD_TABLE__ before spawning child.
15576 Scan our fd table when passing fds, not our parent's.
15577 Store handle and pid in procinfo entry.
15578 (vfork0): Ensure strace message always printed.
15579 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15580 (vfork): Don't clobber result of vfork0.
15581 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15582 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15583
15584 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15585 and `exit_code'.
15586 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15587 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
15588 adding vfork level to pseudo-pid.
15589 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15590 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15591 (_exit): If child, set exit code.
15592 (__vfork_record_death): Only close process handle if valid.
15593 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15594 didn't exec.
15595 (wait_for_any): Likewise. Start scan after root entry.
15596
15597 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15598
15599 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15600 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15601 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15602 of actual file length.
15603
15604 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15605 * libc/include/paths.h: _PATH_BSHELL added.
15606 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15607 and STDERR_FILENO.
15608
15609 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15610
15611 * libc/include/ar.h: Added.
15612 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15613 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15614 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15615 on filename.
15616 (_fstat): use .namehash for inode number of the fd.
15617
15618 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15619
15620 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15621 Change hinfo to __this_procinfo.
15622 * libc/sys/win32/crt0.c: Remove procinfo_list.
15623
15624 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15625
15626 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15627 win32 environment.
15628
15629 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15630
15631 * libc/sys/win32/include/grp.h: Removed.
15632 * libc/sys/include/grp.h: Added.
15633 * libc/sys/win32/grp.c: Include <grp.h>.
15634
15635 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15636
15637 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15638 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15639 Defined for all but strict ANSI.
15640 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15641 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15642 * libc/signal/signal.c (_signal_r): Changed from using
15643 _MAX_SIGNALS to NSIG.
15644 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15645 __hmap): Deleted.
15646 (__strace, __vfork_next_pid): New.
15647 (__exe_suffix): Default to 1.
15648 (passover, table): Understand quoted arguments.
15649 (vfork_init_first): New.
15650 (vfork_init): Initialize new process structure.
15651 (mainCRTStartup): Pass environ to main.
15652 * exceptions.c (__sig_mask): New
15653 (ehandler3): Ignore signals in mask.
15654 (really_exit): Remove CHILD_P test.
15655 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15656 * resource.c (getrusage): Ditto.
15657 * signal.c (sigprocmask): New.
15658 * spawn.c (*): Rewritten.
15659 * syscalls.c (*): Use new process and file structure.
15660 (find_unused_handle): New.
15661 * syscalls.h (MAX_HANDLES): Deleted.
15662 (hinfo): Removed child_created_p.
15663 (MAX_CHILDREN): Deleted.
15664 (vfork_jmp_info, procinfo): New.
15665 * wait.c (*): Mostly new.
15666 * sys/strace.h (_STRACE_PARANOID): New.
15667 * sys/param.h: New file.
15668
15669 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15670
15671 * libc/include/sys/stat.h: add S_BLKSIZE.
15672 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15673 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15674 types under win32.
15675 (mode_t): add a #else to avoid multiple definitons.
15676
15677 * libc/sys/win32/Makefile.in: add grp.c.
15678 * libc/sys/win32/grp.c: include grp.h correctly.
15679 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15680 of the st structure with real information.
15681 * libc/sys/win32 (dirent): d_ino is of type ino_t.
15682
15683 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15684
15685 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15686 and (maybe) sparc64.
15687 (nlink_t): Provide typedef.
15688
15689 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15690
15691 * libc/sys/win32/grp.c: New file.
15692 * libc/sys/win32/include/grp.h: New file.
15693
15694 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15695
15696 * libc/include/machine/ieeefp.h: Added whitespace to make this
15697 file easier to maintain.
15698 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15699 depending on the value of __LITTLE_ENDIAN__.
15700 On the sh3e, define _DOUBLE_IS_32BITS.
15701
15702 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15703
15704 * libc/sys/vr4300/syscalls.c: Added missing support
15705 routines. _raise() and getpid().
15706
15707 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15708
15709 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15710
15711 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
15712
15713 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
15714 and VR4300 processor.
15715 * libc/sys/vr4300: Add directory.
15716 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
15717 monitor run-time support.
15718
15719 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15720
15721 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
15722 * libc/stdlib/stdlib.tex: Don't include atol.def.
15723
15724 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15725
15726 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
15727
15728 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
15729
15730 * libc/ctype/Makefile.in: Fill in _to* dependencies.
15731
15732 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
15733
15734 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
15735 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
15736 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
15737 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
15738 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
15739
15740 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15741
15742 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
15743
15744 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15745
15746 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15747 * libc/stdlib/atoff.c: New file.
15748 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15749 * libc/stdlib/atoi.c (atol): Removed.
15750 * libc/stdlib/atol.c: Removed duplicate documentation.
15751
15752 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15753 #ifndef _STRICT_ANSI conditional.
15754 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15755 * libc/ctype/_tolower.c: New file.
15756 * libc/ctype/_toupper.c: New file.
15757 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15758 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15759 * libc/ctype/toascii.c (_toascii): Removed.
15760
15761 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15762
15763 * libc/sys/sparc64/sys/types.h: Deleted.
15764
15765 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15766
15767 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
15768 and recognize Windows_95 systems.
15769
15770 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15771
15772 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
15773 and passed fds should be opened in text mode.
15774
15775 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15776
15777 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
15778 in __hmap, set to binary mode by default.
15779
15780 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15781
15782 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
15783 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
15784 vector 34.
15785
15786 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
15787
15788 * Makefile.in (install): Install all libraries found in the
15789 top level. If there's a sys/<type>/include directory,
15790 install those headers into include.
15791
15792 * libc/sys/win32/kernel.def351: Delete
15793 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
15794 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
15795 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
15796 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
15797 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
15798 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
15799 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
15800 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
15801
15802 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
15803 * libc/sys/win32/crt0.c: Force all env names to upper case.
15804 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
15805 * libc/sys/win32/*.c: Headers have moved.
15806 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
15807 __vfork_child_idx is now __vfork_child_ptr.
15808
15809 * posix/execvp (execvp): Don't crash if no PATH envname.
15810
15811 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15812
15813 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
15814 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
15815 through the _freelist instead of through the _reclaim list.
15816 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
15817 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
15818 sources.
15819
15820 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15821
15822 * libc/machine/h8500/setjmp.S: New file.
15823 * libc/include/machine/setjmp.h: Updated for H8/500.
15824
15825 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
15826
15827 * libc/sys/win32/syscalls.c (_open): More stracing.
15828 (_stat): Open the file in O_BINARY.
15829
15830 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15831
15832 * libc/machine/h8300/setjmp.S: New file.
15833 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
15834
15835 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
15836
15837 * libc/sys/win32/crt0.c (__exe_suffix): New global.
15838 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
15839 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
15840 __exe_suffix. Free fd_tab after setting env variable.
15841 (spawnv,_execve): Update.
15842 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
15843 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
15844 (__small_vfprintf): New function.
15845 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
15846 * libc/sys/win32/wait.c (cwait): Validate argument.
15847
15848 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
15849 (process_deletion_queue): Likewise.
15850
15851 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
15852
15853 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
15854
15855 * libc/sys/win32: Copyrights and gratuitous indenting.
15856
15857 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
15858
15859 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
15860 (process_deletion_queue): Likewise.
15861 (__close_all_files): New function.
15862 (_close): Only queue file deletion if really a file.
15863 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
15864 _P_APPEND_EXE.
15865 (_exit): Call __close_all_files.
15866
15867 * libc/stdlib/system.c: #include <errno.h>.
15868 (_system_r): Fix results in -DNO_EXEC case.
15869
15870 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
15871 Reorganize structure.
15872 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
15873 if argument is valid. Save directory name in DIR. malloc space
15874 for dirent struct separately.
15875 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
15876
15877 * libc/include/errno.h (ENAMETOOLONG): Define.
15878 * libc/string/strerror.c (strerror): Reword ENFILE.
15879 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
15880
15881 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
15882
15883 * libc/sys/win32/crt0.c (__progname): New global.
15884 (mainCRTStartup): Support strace=bitmask,filename.
15885 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
15886 * libc/sys/win32/syscalls.c (_write): Print parent trace message
15887 if error.
15888 (getcwd): Handle len too small. Convert '\\' to '/'.
15889 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
15890 Add prototypes for open, creat, fcntl.
15891 (O_APPEND): Change value to conform to Microsoft's value.
15892 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
15893
15894 * libc/stdlib/getopt.c: New file.
15895 * libc/stdlib/Makefile.in: Build it.
15896
15897 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
15898
15899 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
15900 Fix scanning of $PATH.
15901 * libc/posix/exec*.c: Call _execve, not execve.
15902 * libc/posix/execve.c: New file.
15903 * libc/posix/Makefile.in (OFILES): Add execve.o.
15904
15905 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
15906 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
15907 (_STRACE): If level==0, always print. Handle new bit mask scheme.
15908 * libc/sys/win32/crt0.c: Update _STRACE calls.
15909 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
15910
15911 * libc/sys/win32/smallprint.c (rn): Fix digit list.
15912
15913 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
15914 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
15915 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
15916 Print __seterrno trace message first.
15917 (_execve): Renamed from execve.
15918 (vfork): Update __strace usage.
15919 (__vfork_child_pid): Deleted.
15920 (__vfork_children, __vfork_child_idx): New globals.
15921 (_spawnvp): New function.
15922 (spawnvp, spawnv, _execve): Call _spawnvp.
15923 (init_child): Record child in __vfork_children.
15924 (__vfork_get_entry, __vfork_record_death): New functions.
15925 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
15926 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
15927 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
15928 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
15929 (children): New typedef.
15930 (__vfork_children,__vfork_child_idx): Declare.
15931 (__vfork_get_entry,__vfork_record_death): Declare.
15932 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
15933 (waitpid): Handle pid == -1.
15934 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
15935 * configure.in (i386-win32): Add -DNO_FORK.
15936 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
15937 * libc/reent/execr.c (_fork_r): Likewise.
15938 * libc/stdlib/system.c (do_system): New function.
15939 If WIN32, try to get shell path from $SH_PATH, use vfork.
15940 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
15941 otherwise return 0.
15942
15943 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
15944
15945 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
15946 * libc/sys/win32/fcntl.h: Don't include self.
15947 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
15948 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
15949 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
15950 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
15951 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
15952 Correct prototypes.
15953 * libc/sys/win32/strace.c: New file.
15954 * libc/sys/win32/smallprint.c: New file.
15955 * libc/sys/win32/crt0.c (func): Delete.
15956 (mainCRTStartup): Fix alloca usage. Set handles explictly.
15957 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
15958 * libc/sys/win32/exceptions.c: Lint.
15959 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
15960 Clean up handle usage.
15961 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
15962 (open.c): Default file type is text.
15963 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
15964 * libc/sys/win32/advapi32.def: New
15965
15966 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
15967
15968 * configure.in (posix_dir, libc_posix_lib): New variables.
15969 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
15970 (i[345]86-*-win32): Define posix_dir.
15971 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
15972 (if unix_dir): Fix typo.
15973 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
15974 scandir,seekdir,telldir}: New files.
15975 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
15976 from libc/unix.
15977 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
15978 (SUBDIRS): Add posix.
15979 (SUBLIBS): Add $(LIBC_POSIX_LIB).
15980
15981 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
15982 (NSIG): Increase to 21.
15983 * libc/include/sys/unistd.h (pid_t): Move from here,
15984 * libc/include/sys/types.h (pid_t): to here.
15985
15986 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
15987 (__ptrace): Delete.
15988 (hinfo): New members close_exec_p, child_created_p.
15989 (struct exception_list): Define.
15990 (__hmap): Redefine as pointer to table.
15991 (__parent_hmap, __child_hmap): New globals.
15992 (__set_errno, __really_exit): Declare.
15993 (__vfork_child_pid): Declare.
15994 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
15995 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
15996 (__parent_hmap, __child_hmap): New globals.
15997 (__hmap): Redefine as pointer to active map.
15998 (__get_console): New function.
15999 (mainCRTStartup): Change leading '=' in environ vars to '!'.
16000 (env __FD_TABLE__): Watch for this and initialize our fd/handle
16001 mapping table from it if defined.
16002 (argv, envp): Dump if __strace >= 4.
16003 (main): Call here.
16004 * libc/sys/win32/exceptions.c (myp): Redefine.
16005 (__syscalls_b): Delete.
16006 (__stack_trace): New function.
16007 (ehandler3): Update to use _STRACE. Print stack trace.
16008 Call __really_exit instead of exit.
16009 (init_exceptions): Delete args argc,argv. New arg mine.
16010 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
16011 FindFirstFileA, FindNextFileA, GetComputerNameA,
16012 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
16013 * libc/sys/win32/signal.c (signal): Validate arg.
16014 (alarm, sleep): Define as stubs for now.
16015 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
16016 (__syscalls_b, errno): Delete.
16017 (__vfork_child_pid, __vfork_jmp_buf): New globals.
16018 (__seterrno): Handle more errors.
16019 (__sys_printf): Renamed from _ptrace.
16020 (__really_exit): New function.
16021 (queue_file_deletion, process_deletion_queue): New functions.
16022 (__resume_parent): New function.
16023 (_unlink): Handle trying to delete open file.
16024 (__totime_t): Renamed from totime_t.
16025 (setsid, __read, __write): New functions.
16026 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
16027 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
16028 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
16029 * libc/sys/win32/console.c: Update to new definition of __hmap.
16030 * libc/sys/win32/Makefile.in: Build new files.
16031 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
16032 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
16033 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
16034 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
16035
16036 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
16037
16038 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
16039
16040 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16041
16042 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
16043 have been made to the master dtoa.c sources (from netlib.att.com)
16044 since they were integrated into newlib in early 1992. Fixes
16045 problems with storage leaks and handling of numbers with very
16046 negative exponents.
16047
16048 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16049
16050 * Makefile.in (all): set rootpre and srcrootpre before calling
16051 sub-makes.
16052
16053 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
16054
16055 * libc/sys/win32/crt0.c: Change __hmap usage.
16056 * libc/sys/win32/exceptions.c: Use _ptrace call.
16057 * libc/sys/win32/syscalls.c: Use _ptrace call.
16058 (read, write): Cope with DOS style CRLF when in TEXT mode.
16059 * libc/sys/win32/syscalls.h: Declare hinfo struct.
16060 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
16061 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
16062 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16063 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16064
16065 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16066
16067 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16068
16069 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16070 wrappers for hypot() and remainder() for BSD libm compatibility.
16071 These are public domain implementations written by me for the
16072 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16073 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16074 (fobj): Added wf_cabs.o and wf_drem.o.
16075
16076 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16077
16078 * libc/sys/h8500hms/misc.c: New file.
16079 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16080
16081 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16082
16083 * libc/time/localtime.c (localtime): Fix problem with leap year
16084 handling. Stole algorithm from Arthur David Olson's tz code.
16085
16086 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16087
16088 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16089
16090 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16091 (_exit): Use argument.
16092
16093 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16094
16095 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16096
16097 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16098
16099 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16100
16101 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16102
16103 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16104 target_cflags.
16105
16106 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16107
16108 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16109 ptrace with case insensitivity
16110 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
16111 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
16112 New files.
16113
16114 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16115
16116 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16117 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16118 (all, install, *clean): Use new multilib support.
16119 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16120
16121 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16122
16123 * libc/include/sys/signal.h (__WIN32__): New.
16124
16125 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16126
16127 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16128 (ulp, b2d): Handle 32 bit doubles.
16129 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16130 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16131
16132 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16133
16134 from medp@primag.co.uk:
16135 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16136 dynamically allocated buffers.
16137
16138 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16139
16140 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16141 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16142
16143 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16144
16145 * configure.in (powerpc): Fix previous fix.
16146
16147 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16148
16149 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
16150 directories for this target.
16151
16152 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16153
16154 * configure.in (hppa): Add machine_dir definition.
16155 * libc/machine/hppa: New directory with PA specific implementations
16156 of the basic memory/string functions.
16157
16158 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16159
16160 * configure.in: Update current PowerPC multilib directories.
16161 Split big and little endian configurations.
16162
16163 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
16164
16165 * configure.in: Add --enable-single-float option to configure to
16166 control use of MIPS single-float directories. Default to yes.
16167
16168 * Makefile.in (all): Don't recurse into multilib directory if it
16169 does not exist.
16170
16171 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16172
16173 * libc/sys/sh/syscalls.c: Fix typo.
16174
16175 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
16176
16177 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
16178 Pass down DLLTOOL.
16179 * libc/include/process.h: Define WAIT_CHILD.
16180 * libc/include/types.h: Get sizes right for win32.
16181 * configure.in (i386-*-pe): Becomes i386-win32.
16182 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16183 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
16184 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
16185 is defined.
16186
16187 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
16188
16189 * configure.in (i[345]86-*-pe): New target (NT).
16190 * host/any: DLLTOOL new.
16191 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16192 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
16193 WIN32 (just enough to cross host the comp-tools).
16194
16195 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
16196
16197 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
16198 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
16199
16200 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
16201
16202 * libc/include/machine/ieeefp.h (arm): Change to always be
16203 __IEEE_BIG_ENDIAN (even on little endian ARM's).
16204
16205 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
16206
16207 * libc/sys/crt0.S: Initialze sp, and call exit after main.
16208 * libc/sys/syscalls.c (abort): New.
16209 * configure.in (arm): Define ABORT_PROVIDED.
16210
16211 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16212
16213 * configure.in (powerpc): Define multidirs.
16214
16215 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
16216
16217 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
16218
16219 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
16220
16221 * configure.in (sparclite): Delete target_cflags. Define multidirs.
16222
16223 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
16224
16225 * configure.in, libc/include/machine/ieeefp.h: Modified
16226 for arm:
16227 libc/machine/arm/*, libc/sys/arm/*: New
16228
16229 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16230
16231 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
16232 __powerpc__ when determining endianness.
16233
16234 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16235
16236 * configure.in (m68*): Add multidir for the m68332.
16237
16238 * host/any (CC): Fix typo in last change.
16239
16240 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
16241
16242 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
16243 when determining endianness.
16244 * libc/include/machine/ieeefp.h: Ditto.
16245 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
16246 operands.
16247
16248 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
16249
16250 * libc/include/errno.h (ENOTEMPTY): Define.
16251
16252 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16253
16254 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
16255 target_cflags.
16256
16257 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
16258 and umultiply.o.
16259
16260 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
16261 instead of only when open succeeds. ANSI requires that multiple
16262 calls to tmpnam() result in different files.
16263
16264 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
16265 objects pulled in from /lib/libc.a that must be renamed before
16266 being pulled into newlib. /lib/libc.a's div.o conflicted with
16267 newlib's file with the same name.
16268
16269 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
16270
16271 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
16272 the build tree will only be used if the executables are present
16273 (instead of just the Makefiles).
16274
16275 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
16276 wcstombs): Define.
16277 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
16278 versions of these functions that I orignally wrote for the
16279 NetBSD C library.
16280 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
16281 versions I wrote for NetBSD.
16282
16283 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
16284
16285 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
16286 * libc/sys/sparclite/crt0.s: ditto.
16287
16288 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
16289
16290 * configure.in: Add soft-float for proelf.
16291
16292 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
16293
16294 * libc/stdlib/mprec.h (Bcopy): Copy the right number
16295 of bytes.
16296
16297 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
16298
16299 * Makefile.in (all): Depend on `force'.
16300 * configure.in (syscall_dir): Renamed from fake_sys_dir.
16301 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
16302 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
16303 * libc/Makefile.in: Likewise.
16304 * libc/include/reent.h: Update syscall references.
16305 (_fcntl_r): Add prototype.
16306 * libc/syscalls/*.c #include <reent.h>.
16307 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
16308
16309 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
16310
16311 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
16312 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
16313 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
16314 (time.h, sys/types.h): Always include (even if MSDOS).
16315 (stat): Fix prototype.
16316
16317 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
16318
16319 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
16320
16321 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16322
16323 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
16324
16325 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
16326
16327 * libc/include/regdef.h: New file.
16328 * libc/machine/mips/machine/regdef.h: New file.
16329
16330 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
16331
16332 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
16333
16334 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
16335
16336 * libc/sys/sh/crt0.S: Pass main's return to exit.
16337 * libc/sys/sh/trap.S: Put errno in the right place.
16338
16339 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16340
16341 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
16342 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
16343 * libm/math/ef_rem_pio2.c: Likewise.
16344 * libm/math/e_log10.c: Remove unused static one.
16345 * libm/math/ef_log10.c: Likewise.
16346 * libm/math/s_frexp.c: Likewise.
16347 * libm/math/sf_frexp.c: Likewise.
16348
16349 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
16350
16351 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
16352 longjmp.S: Upgraded.
16353 * libc/sys/go32/sys/setjmp.h: Upgraded.
16354 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
16355
16356 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16357
16358 * configure.in: Add many entries to multidirs for mips targets.
16359
16360 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16361
16362 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
16363 5.2 which fixes bug where jn(-1,x) is three times larger than
16364 the actual answer.
16365 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
16366
16367 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
16368
16369 * libc/sys/w65/sys/syscalls.h: New file
16370 * libc/include/machine/ieeefp.h: W65 support.
16371 * libc/include/sys/config.h: Ditto.
16372 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
16373 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
16374 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
16375
16376 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16377
16378 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
16379
16380 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
16381
16382 * Makefile.in, configure.in: Remove any references to the old
16383 "stub" dir.
16384
16385 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16386
16387 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
16388 uses ... in prototype.
16389
16390
16391 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
16392
16393 * libc/sys/a29khif/sys/libconfig.h: Remove.
16394 * libc/sys/go32/sys/libconfig.h: Remove.
16395 * libc/sys/sun4/sys/libconfig.h: Remove.
16396 * libc/sys/sysvi386/sys/libconfig.h: Remove.
16397 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
16398 * libc/sys/sparc64/sys/libconfig.h: Remove.
16399
16400 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
16401 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
16402 * libc/include/math.h: Change all uses of _FLOAT_RET and
16403 _FLOAT_ARG to float.
16404 * libm/test/math.c: Likewise.
16405 * testsuite/libm.sac/math.c: Likewise.
16406 * testsuite/libm.sac/working/math.c: Likewise.
16407
16408 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16409
16410 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
16411 gcc calls gas with endian option.
16412 * configure.in (sh): Build little endian version too.
16413
16414 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16415
16416 * configure.in: Configure big and little endian versions for MIPS
16417 targets.
16418
16419 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
16420
16421 * libc/include/limits.h: Deleted.
16422 * libc/include/machine/limits.h: Deleted.
16423
16424 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
16425
16426 * ChangeLog: Remove stub directory. This has all been rewritten
16427 and moved to devo/libgloss.
16428
16429 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16430
16431 * Makefile.in (dvi): Add to info target, use $@ in sub make.
16432 (docs): Merge into info target.
16433 * libm/Makefile.in (dvi): Add $(srcdir).
16434 * libm/math/Makefile.in (chobjs): Remove underscores from file
16435 names. Texinfo doesn't like them.
16436 (wacos.def, ...): Add explicit targets for all .def files.
16437 * libm/math/math.tex: Remove underscores from @include file names.
16438 * doc/Makefile.in (dvi): Add dummy target.
16439 * testsuite/Makefile.in (dvi): Add dummy target.
16440
16441 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
16442
16443 * Makefile.in (VERSION): Define. For net newlib releases.
16444
16445 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
16446
16447 * README: New file.
16448
16449 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16450
16451 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16452
16453 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16454
16455 * libc/stdlib/setenv.c (_findenv): Declare.
16456
16457 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16458 fcntl to not use _EXFUN, and change string parameters to open and
16459 creat to be ``const char *''.
16460 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16461 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16462 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16463 (open) Make _FILE const.
16464 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16465 (_creat): Make PATH const.
16466 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16467 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16468 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16469 * libc/sys/sh/syscalls.c (_open): Likewise.
16470 * stub/shared/glue.c (open): Make BUF const.
16471 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16472
16473 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16474
16475 * libc/include/errno.h: Add ENMFILE
16476 * libc/include/sys/config.h: Support Z8000.
16477 * libc/include/sys/signal.h: New signals for go32.
16478 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16479 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16480 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16481 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16482 size is variable, depending upon CHUNK_POWER.
16483 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16484
16485 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16486
16487 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16488
16489 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16490
16491 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16492
16493 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16494
16495 * configure.in: Change i[34]86 to i[345]86.
16496
16497 * libc/include/math.h: Don't define HUGE_VAL if it is already
16498 defined.
16499
16500 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16501
16502 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16503 * testsuite/libm.sac/test_gammaf.c: Likewise.
16504 * testsuite/libm.sac/test_sin.c: Likewise.
16505 * testsuite/libm.sac/test_tanh.c: Likewise.
16506
16507 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16508
16509 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16510 already set. Define typedefs __int32_t and __uint32_t.
16511 * libc/include/math.h: Include <machine/ieeefp.h>.
16512 (union __dmath): Use __uint32_t.
16513 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16514 instead of int and unsigned int.
16515
16516 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16517
16518 Replace the math library with the SunPRO fdlibm package.
16519 * libm/math: Completely changed all files.
16520 * libm/ieeefp: Remove contents and directory.
16521 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16522 (SUBDIRS): Just set to math/lib.a.
16523 * libm/libm.texinfo: Updated for new library.
16524 * libc/include/math.h: Extensive changes for new math library.
16525 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16526 from _FLOAT_ARG to float.
16527 (maxpowtwo, maxpowtwof): Don't declare.
16528 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16529 (libm_fp_lib): Removed.
16530 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16531 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16532 argument to ${RUNTEST}.
16533 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16534 (.c.o): New rule.
16535 (RUNTESTFLAGS): Set CC and CFLAGS.
16536 (TESTS): Remove test_log2 and test_log2f.
16537 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16538 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16539 _FLOAT_ARG, for single precision argument type.
16540 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16541 expected failure. Close the input pipe.
16542 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16543 Correct misspelling of inaccurate.
16544 (test_mok): Use ``inaccurate'', not ``wrong''.
16545 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16546 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16547 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16548 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16549 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16550 test_yn.c): Correct many result values. Many are still wrong.
16551
16552 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16553 just copy the string.
16554 (_gcvt): Always return the buffer.
16555
16556 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16557
16558 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16559
16560 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16561
16562 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16563 structure.
16564 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16565 (_reclaim_reent): declare new entry point.
16566 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16567 functions.
16568
16569 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16570 ever allocated, so that we can later reclaim them all.
16571 (pow5mult): make reentrant.
16572
16573 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16574 so that when given NULL as a buffer, return a pointer to static
16575 space in the rent structure. This is not documented behaviour;
16576 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16577 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16578 therefore become reentrant).
16579
16580 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16581
16582 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16583
16584 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16585
16586 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16587
16588 * Makefile.in: Make link to libg.a after libc.a; this is needed
16589 for the testsuites to build executables when everything comes
16590 from the tree.
16591
16592 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16593
16594 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16595 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16596
16597 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16598
16599 * libc/include/stdio.h: Use __VALIST, not va_list.
16600
16601 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16602
16603 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16604 testsuite/libm.sac/execute.exp:
16605 Replace error proc calls with perror calls.
16606
16607 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16608
16609 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16610 * libc/include/time.h: #define NULL as 0L.
16611
16612 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16613
16614 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16615 care of it.
16616
16617 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16618
16619 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16620 not __unix__.
16621
16622 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16623
16624 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16625 (z8k-*-*): Use syscalls fake sys dir.
16626 * libc/sys/z8k/glue.c: Rename syscalls.
16627 * libc/sys/go32/Makefile.in: Use new routines.
16628 * libc/machine/Makefile.in: Fix typo in ln stuff.
16629
16630 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16631
16632 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16633 * libc/Makefile.in (crt0.o): Likewise.
16634 * libc/machine/Makefile.in (lib.a): Likewise.
16635 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16636
16637 All Makefile.in files: Added mostlyclean, realclean and distclean
16638 targets.
16639
16640 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16641 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16642 the top level Makefile.
16643
16644 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16645
16646 * libc/sys/sparc64/sys/stat.h: New file.
16647 * libc/sys/sparc64/sys/time.h: New file.
16648 * libc/sys/sparc64/sys/types.h: New file.
16649
16650 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16651
16652 * stub/ex93x/crt0.s (start): Add code to clear bss.
16653
16654 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16655
16656 * libc/include/sys/types.h (time_t): Properly protect inside
16657 #ifndef __time_t_defined.
16658
16659 * libc/stdio/fileno.c: New file.
16660 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16661 (fileno.o): Add dependency.
16662 * libc/include/stdio.h (__sgetc): Rename never to _never.
16663 (fileno macro): Disable, needs to do CHECK_INIT first.
16664
16665 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16666
16667 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
16668 goal.
16669
16670 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16671 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16672 runtest.
16673 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16674 runtest.
16675
16676 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16677
16678 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16679 of the various constants.
16680
16681 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16682
16683 * libc/include/math.h: #ifndef __math_68881 around things which
16684 conflict with the (gcc-provided) inline functions in
16685 gcc/ginclude/math-68881.h.
16686
16687 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16688
16689 * libc/include/_syslist.h (_gettimeofday): Define.
16690 (_times): Ditto.
16691 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16692 (struct tms, timeval, timezone): Declare.
16693 (_gettimeofday_r, _times_r): Declare.
16694 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16695 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16696 (time_t): Add multiple definition protection, __time_t_defined.
16697 * libc/include/sys/time.h: Don't #include <time.h>.
16698 Always define struct timezone (remove #ifndef _TIME_H_).
16699 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16700 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16701 * libc/reent/Makefile.in (OFILES): Add timer.o.
16702 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16703 * libc/reent/timer.c: New file.
16704 * libc/time/clock.c: #include <reent.h>.
16705 (clock): Call _times_r instead of times.
16706 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16707 HAVE_GET_TIME_OF_DAY.
16708 Add comment regarding supporting OS routine(s) required (for docs).
16709 #include <reent.h>.
16710 (time): Call _gettimeofday_r instead of gettimeofday.
16711 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
16712 * libc/time/ctime.c: Ditto.
16713 * libc/time/strftime.c: Ditto.
16714 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
16715 (TEMPLATE_SFILES_R): Define here. Also define times.
16716 Add times_r.o/times.S dependence.
16717 (time2.c, junk.c): Deleted.
16718 * libc/sys/sparc64/time2.c: Deleted.
16719 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
16720
16721 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
16722 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
16723 * libc/sys/sparc64/junk.c: Deleted.
16724
16725 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
16726
16727 * libc/sys/sparc64/Makefile.in: Add times syscall.
16728 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
16729 be used with and without it. Add comment clarifying Medium/Anywhere
16730 model requirements.
16731 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
16732 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
16733 even if obsolete.
16734
16735 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
16736
16737 * configure.in (target_cflags): Move init.
16738 (sparc64-*-*): Define HAVE_BLKSIZE.
16739
16740 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
16741
16742 * libc/include/sys/_types.h: New file.
16743 * libc/include/reent.h: #include it.
16744 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16745 MISSING_SYSCALL_NAMES.
16746 Sort syscalls.
16747 * libc/include/_syslist.h: Remove _raise.
16748 * libc/reent/signalr.c: New file.
16749 * libc/reent/Makefile.in: Compile it.
16750 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16751 Add doc for raise and _raise_r.
16752 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16753 (raise): Call _raise_r.
16754 (_raise_r): Call _getpid_r and _kill_r.
16755 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16756 (abort): Loop forever calling raise and _exit.
16757
16758 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16759
16760 * configure.in: Remove extraneous echo.
16761
16762 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16763
16764 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
16765 collision with unistd.h, and fix for svr4.
16766
16767 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
16768
16769 * libc/stdio/local.h (_llicvt): Declare.
16770 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
16771 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
16772 (_llicvt): Define.
16773 (_sicvt): Fix function header (`value' is short).
16774 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
16775 Add printing of long long's support.
16776 Add printing of 8 byte pointer support.
16777
16778 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
16779
16780 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
16781 stat, chmod): New hooks.
16782 (sbrk): Abort if stack and heap collide.
16783 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
16784 shortcut when given small args.
16785 * libc/machine/sh/setjmp.s: Rewritten.
16786 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
16787 of cmp/str instruction.
16788
16789 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16790
16791 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
16792 and machine_dir powerpc.
16793 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
16794 Add cases for __powerpc__.
16795 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
16796 New files.
16797
16798 * libc/include/stdio.h (_iprintf_r): Declare correctly.
16799
16800 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
16801
16802 * libc/stdlib/callocr.c: New file with _calloc_r in it.
16803 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
16804
16805 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
16806
16807 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
16808 (print_e): More comments to describe args, etc.
16809 "type" arg may now be 'g' or 'G' for %g/G format --> remove
16810 trailing blanks.
16811 (_gcvt): Remove locals decpt, sign, end, p, done.
16812 More comments for print_e invocation.
16813 Pass "type" to print_e as is (g/G).
16814
16815 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
16816
16817 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
16818 stock m68000.
16819
16820 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
16821
16822 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
16823 works with any sized pointer, including ones bigger than ints and
16824 longs.
16825
16826 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
16827
16828 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
16829
16830 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16831
16832 * libc/include/stdlib.h (_calloc_r): Add prototype.
16833 * libc/machine/h8500/negsi2.c: New file.
16834 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
16835 large unsigned numbers.
16836 * libc/machine/h8500/cmpsi.c: Add cmppsi.
16837 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
16838 works when sizeof(size_t) != sizeof(char *).
16839 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
16840 get play area
16841 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
16842
16843 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
16844
16845 * libc/include/assert.h (assert): Handle -traditional.
16846
16847 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
16848
16849 * Makefile.in: added ; after every "fi" and "done" that wasn't at
16850 the end of a line (ie. anything before a backslash continuation)
16851 so that bash handles them.
16852
16853 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16854
16855 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
16856 stat to lstat
16857
16858 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
16859
16860 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
16861 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
16862 libc/machine/sh/udivsi3.s: Use new calling convention.
16863
16864 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
16865
16866 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
16867 chmod, access, chdir, chown by making _path const. Also fix _amode
16868 param of access.
16869
16870 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
16871
16872 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
16873 _khif_tmpnam, because it doesn't comply with ANSI but may be
16874 useful anyway. Real tmpnam was already in libc/stdio, and was
16875 colliding with this one (pr 2176.)
16876 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
16877 the wrong idea anyhow.
16878
16879 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
16880
16881 * configure.in: Remove h8300h, we have multilib now.
16882
16883 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
16884
16885 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
16886 functions, to get preference over the ones in libiberty (since we
16887 provide correct declarations in <string.h>.
16888 * libc/string/Makefile.in: add support for strncasecmp,
16889 strcasecmp.
16890
16891 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
16892
16893 * Change netware config not to look for cpu explicitly.
16894
16895 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
16896
16897 * libc/sys/sparc64/{creat.c,junk.c}: New files.
16898 * libc/sys/sparc64/Makefile.in: Add dependencies.
16899
16900 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
16901
16902 * configure.in: Clean up v9 a bit, new "os" aoutv8.
16903
16904 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
16905
16906 * libc/include/sys/reent.h: make structure smaller by allocating
16907 some stuff when needed.
16908 * libc/signal/signal.c: allocate as needed
16909 * libc/stdio/findfp.c,stdio/local.h: ditto
16910 * libc/stdlib/mprec.c: ditto
16911
16912 * libc/time/localtime.c: don't return a dangling stack ptr.
16913
16914 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
16915
16916 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
16917
16918 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16919
16920 * libc/include/stdio.h (__sputc): comment out static inline which
16921 confuses coff toolchains.
16922
16923 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
16924
16925 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
16926 _write.s, getpid.c, kill.c, read.s}:
16927 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
16928 through the syscalls directory.
16929
16930 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
16931
16932 * configure.in: fixed double quote gotcha.
16933
16934 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
16935
16936 * stub/ex931: stub library for sparclite board.
16937 * stub/idp: Renamed from mc68ec. Added contructor table
16938 stuff to linker script.
16939 * stub/mvme135: Renamed from m68kmvme. Added contructor table
16940 stuff to linker script.
16941
16942 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16943
16944 * configure.in: Configure testsuites only if they exist.
16945
16946 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16947
16948 * configure.in: Don't set machine_dir for i386 until there is
16949 something in libc/machine/i386 to compile. For i[34]86-*-netware*
16950 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
16951 CLOCK_PROVIDED and MALLOC_PROVIDED.
16952
16953 * libc/sys/netware: New directory. Contains simplistic and
16954 probably incorrect stubs for NetWare. Should be enough to load
16955 the library.
16956 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
16957 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
16958 stub files.
16959
16960 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
16961 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
16962 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
16963 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
16964
16965 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
16966
16967 * testsuite/Makefile.in: add "docs" dummy target for consistency
16968 with rest of newlib; turn "info" and "install-info" into dummy
16969 targets, since they wouldn't have worked. (Depended on
16970 nonexistent "doc" subdir.)
16971
16972 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16973
16974 * configure.in: handle mips* instead of mips
16975
16976 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
16977
16978 * libc/include/sys/dirent.h: New file. If it is not overridden by
16979 a version of libc/sys/*/sys/dirent.h, it includes the next
16980 <dirent.h> file in case there is one lurking somewhere.
16981
16982 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16983
16984 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
16985 compliance, namely: Accept a minus sign. Consider a single 0 with
16986 a radix of 0 as being a conversion. Determine overflow correctly.
16987 If an overflow occurs, set *ptr to the end of the number, not the
16988 middle.
16989 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
16990
16991 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
16992
16993 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
16994
16995 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
16996
16997 * Makefile.in (INSTALL): Use $srcrootpre.
16998 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
16999 can't handle it.
17000 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
17001 it.
17002 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
17003 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
17004 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
17005 * libm/math/Makefile.in (matherr.o): Ditto.
17006
17007 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17008
17009 * configure.in: Build multidirs for z8k.
17010 * libc/include/stdlib.h (_strtoul_r): add prototype.
17011 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
17012 * libc/include/machine/setjmp.h: Add for z8k.
17013 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
17014 * libc/sys/z8ksim/glue.c: tidy up.
17015
17016 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
17017
17018 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
17019 New files. Requires execve system call.
17020 * libc/unix/Makefile.in: Use them.
17021 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
17022 Deleted, moved to libc/unix.
17023 * libc/sys/sparc64/Makefile.in: Remove them.
17024
17025 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
17026
17027 * libc/sys/sparc64/{template.S template_r.S}: New files.
17028 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
17029 from templates.
17030 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
17031 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
17032 umask.S unlink.S wait4.S write.S}: Removed, now built from
17033 templates.
17034
17035 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
17036
17037 * libc/time/time.c: #include <_ansi.h>.
17038
17039 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
17040
17041 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
17042
17043 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17044
17045 * configure.in: match m8* rather than m88k so that m88110 is
17046 recognized as well.
17047
17048 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
17049
17050 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
17051 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
17052 misc.c: New file.
17053
17054 * configure.in: Add multilib support to h8300.
17055
17056 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
17057
17058 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
17059 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
17060 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
17061
17062 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17063
17064 * configure.in: Corrected multidirs for sparc target.
17065
17066 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17067
17068 Support for building newlib multiple times with different
17069 compilation flags.
17070 * configure.in: Only configure doc at top level. Set multidirs
17071 when appropriate for target, unless not at top level. If
17072 multidirs is set, independently configure each subdirectory.
17073 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17074 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17075 automagically set by configure.in.
17076 (all): If MULTIDIRS is set, build multiple copies of libraries.
17077 (install): If MULTIDIRS is set, install multiple copies of
17078 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17079 MULTISUBDIR is set, don't bother to install header files.
17080 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17081 ${srcrootpre}.
17082 * stub/configure.in: Set MULTISUBDIR appropriately.
17083 * stub/Makefile.in (install): Install in
17084 $(tooldir)/lib/$(MULTISUBDIR).
17085 * All Makefile.in files: Define SRCTOP as well as TOP.
17086
17087 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17088
17089 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17090 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17091
17092 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17093
17094 * libc/sys/h8300hms/exit.c (_exit): New function.
17095
17096 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17097
17098 * configure.in: recognize m88110.
17099
17100 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17101
17102 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17103 prototype main and call with args.
17104
17105 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17106
17107 First real try at system traps for m88k-bug.
17108 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17109 to real trap calls.
17110 * libc/sys/m88kbug/sys/systraps.h: new file.
17111
17112 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17113
17114 Patches to fix info building when target does not use sys
17115 directory.
17116 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17117 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17118 libc/sys.tex.
17119 * libc/sys/Makefile.in (doc): do nothing.
17120
17121 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17122
17123 * libc/Makefile.in (CRT0): new macro.
17124 (all): depend on $(CRT0) rather than crt0.o.
17125
17126 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17127 do not default crt0, instead, set crt0 and crt0_dir based on
17128 sys_dir and stub_dir.
17129
17130 * Makefile.in (CRT0_DIR): new macro.
17131 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17132 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17133 $(CRT0).
17134 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17135
17136 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17137
17138 * testsuite/lib/libm.exp:
17139 added code to support compiling and linking of tests for
17140 libm.sac (paranoia to be added next) and processing the
17141 pass or failure of the tests.
17142
17143 * testsuite/config/unix-libm.exp:
17144 platform specific proc's for dealing with compiler, linker
17145 and the way we execute and process the test results.
17146
17147 * testsuite/libm.sac/execute.exp:
17148 generic framework for the sac tests. the config and lib
17149 expect code for specific platforms tie it all together.
17150
17151 * testsuite/libm.sac/test_is.c:
17152 changed the output of the test to be consistant with the
17153 other tests. parsing of pass nad fail messages is now fixed.
17154
17155 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
17156
17157 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
17158 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
17159 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
17160 #ifdef __cplusplus, surround by extern ""C { ... }.
17161 * libc/include/assert.h: Do *not* protect assert.h against
17162 multiple inclusion! Also, #undef it before #define, to allow
17163 redefinition.
17164 * libc/include/stdio.h (getlogin, cuserid): Removed. These
17165 should be only in unistd.h.
17166
17167 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
17168 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
17169 ... }.
17170
17171 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
17172
17173 * libc/machine/sparc/Makefile.in: Must create a library, even
17174 if empty.
17175
17176 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17177
17178 * configure.in: set machine_dir for m88k. edit crt0 definition
17179 into makefiles.
17180
17181 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
17182
17183 * libc/Makefile.in (all): also build crt0.o.
17184
17185 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
17186 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
17187 to remove CRT0.
17188
17189 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
17190 (all): reworked to build in place.
17191 (clean): remove lib.a
17192 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
17193
17194 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
17195 (_start): key off edata rather than _start_bss.
17196
17197 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
17198
17199 * libc/include/sys/unistd.h, libc/include/reent.h,
17200 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
17201
17202 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17203
17204 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
17205
17206 * Makefile.in (libc.a): break into two rules, one for libc.a and
17207 one for libc/libc.a. Force subdirs current before rebuilding
17208 library.
17209 (libm.a): break into two rules, one for libm.a and one for
17210 libm/libm.a. Force subdirs current before rebuilding library.
17211
17212 * libc/Makefile.in (SUBLIBS): fix typo.
17213
17214 * libc/sys/Makefile.in (all): force descent into subdirs, then
17215 rebuild library iff out of of date.
17216
17217 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17218
17219 Rework so that library is built and then finished rather than
17220 being built on each invocation of make.
17221
17222 * host/any (machine_dir, sys_dir, signal_dir): these are not
17223 shared and have been moved to their associated Makefile.in's.
17224 (AR_FLAGS): switch to qc which is faster.
17225 * configure.in: no longer assign machine_dir for m88k. set
17226 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
17227 stub_dir set, then add to configdirs. add comment about silly
17228 configuration.
17229 (configdirs): drop stub. It will be added only
17230 when needed.
17231 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
17232 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
17233 stub_lib, crt0): new variables for tailoring lower level
17234 makefiles. Assign accordingly and edit into makefiles.
17235 * libm/Makefile.in: updated copyright.
17236 (TARGETLIB): removed.
17237 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
17238 (SUBDIRS): removed TARGETDEP_DIRS.
17239 (LIBM_FP_LIB, SUBLIBS): new macros.
17240 (all): reworked.
17241 (force): new target to force rebuilds.
17242 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17243 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
17244 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
17245 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
17246 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
17247 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
17248 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
17249 stub/m68kmvme/Makefile.in: updated copyright.
17250 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
17251 (all): reworked. made this the default rule.
17252 (clean): also remove lib.a.
17253 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17254 * stub/Makefile.in: updated copyright.
17255 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
17256 (stub_lib): new macro.
17257 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
17258 RANLIB.
17259 (all): reworked.
17260 (clean, install): assume stub_dir exists.
17261 (Makefile): depend on configure.in. call $(SHELL) rather than
17262 sh. drop redundant ./
17263 * stub/configure.in (stublib): new macro, assign it, edit it into
17264 makefiles.
17265 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
17266 updated copyright.
17267 (all): reworked.
17268 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17269 * libc/Makefile.in (TARGETCRT0): removed.
17270 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
17271 TARGETCRT0.
17272 (SUBDIRS): drop TARGETDEP_DIRS.
17273 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
17274 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
17275 (force): new target to force rebuilds.
17276 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
17277 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
17278 removed.
17279 (clean): assume sys_dir always exists.
17280 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
17281 drop redundant ./
17282 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
17283 libc/locale/Makefile.in, libc/machine/Makefile.in,
17284 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
17285 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
17286 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
17287 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
17288 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
17289 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
17290 libc/signal/Makefile.in, libc/stdio/Makefile.in,
17291 libc/stdlib/Makefile.in, libc/string/Makefile.in,
17292 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
17293 libc/time/Makefile.in, libc/unix/Makefile.in,
17294 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
17295 (TARGETLIB): removed.
17296 (all): reworked.
17297 (clean): also remove lib.a.
17298 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17299 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
17300 new macros.
17301 (SUBDIRS): moved to follow frag inclusion, change stub to
17302 stub_dir.
17303 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
17304 are now set in the libc Makefile.
17305 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
17306 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
17307 TARGETCRT0.
17308 (force): new target to force rebuilds.
17309 * stub/configure.in: determine and set stub_lib for for Makefile.
17310
17311 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
17312
17313 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
17314 crt0.s renamed to crt0.S.
17315 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
17316
17317 * libc/machine/h8300/Makefile.in: Make `all' the default target.
17318 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
17319 h8300h.
17320 * libc/machine/h8300/defines.h: Add macros to handle pointers for
17321 h8300 (16 bits) and h8300h (32 bits).
17322 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
17323 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
17324
17325 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
17326
17327 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
17328 implementation of setjmp and longjmp for the m88k.
17329 * libc/include/machine/setjmp.h: Added __m88000__ case.
17330
17331 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
17332
17333 * configure.in: Recognize h8300h as variant of h8300.
17334
17335 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17336
17337 * libc/include/sys/unistd.h (read, write): get prototypes right.
17338 (sbrk): New prototype.
17339 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
17340 * libc/stdio/local.h: Include unistd.h.
17341 * libc/machine/h8300/syscalls.c: Names have changed.
17342
17343 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
17344
17345 * configure.in: add sys_dir assignment for m88k-bug.
17346
17347 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
17348
17349 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
17350 a.out or elf.
17351 * libc/sys/sparc64: all *.S files: Use new macros.
17352 * libc/sys/sparc64/isatty.c: New file.
17353 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
17354 functions beyond what newlib provides.
17355
17356 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
17357
17358 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
17359 svr4.
17360
17361 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
17362
17363 * libc/include/machine/ieeefp.h: Add support for h8/300h.
17364
17365 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
17366
17367 * configure.in: add m88k.
17368 * libc/include/machine/ieeefp.h: add case for m88k. Also add
17369 sanity check so no one else need ever chase what I did to find
17370 this.
17371
17372 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
17373
17374 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
17375
17376 * doc/makedoc.c: Include <ctype.h>.
17377
17378 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
17379
17380 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17381 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17382 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17383
17384 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
17385
17386 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
17387
17388 * libc/include/errno.h (ENOSYS): Added.
17389
17390 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
17391
17392 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17393
17394 * libc/stdio/fflush.c (fflush): Check for reent struct
17395 initialization.
17396 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
17397
17398 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
17399
17400 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
17401 out of dtoa.c so it doesn't pollute the namespace.
17402 * libc/include/_syslist.h: new file -- mappings from _function to
17403 function, for systems where we can't win (by default, all of them,
17404 until we start updating system calls.)
17405 * libc/syscalls: new directory -- stubs for exporting _function
17406 names as unmodified function names.
17407 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
17408 _syslist.h on all platforms by default, but put hooks in for
17409 fake_sys_dir so we can include it when we've renamed the system
17410 calls.
17411 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
17412 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
17413 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
17414 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
17415 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
17416 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
17417 non ANSI functions to call _function.
17418
17419 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
17420
17421 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
17422 when base 16 is specified. Don't accept non-digits if radix > 10.
17423
17424 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
17425
17426 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
17427
17428 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17429
17430 * libc/include/sys/stat.h: Surround text after #endif with
17431 comments.
17432
17433 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
17434
17435 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
17436 _malloc_r, _realloc_r, and free_r call the corresponding
17437 non-reentrant functions.
17438
17439 * libm/math/modf.c (modf): We now take the address of ipart, so
17440 don't make it a register variable.
17441
17442 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
17443
17444 * libm/math/*: Rename all xxx_r fns to _xxx_r.
17445
17446 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
17447
17448 * libc/libc.texinfo and embedded docn throughout: formatting
17449 improvements, minor rephrasing for clarity, and improved
17450 reentrancy docn.
17451
17452 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17453
17454 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17455
17456 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17457 where sizeof(int) != sizeof(long).
17458
17459 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17460
17461 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17462 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17463 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17464 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17465 libm/math/matherr.c: changes for better docn formatting (info).
17466
17467 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17468 libc/reent/reent.tex, libc/signal/signal.tex,
17469 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17470 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17471 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17472 makeinfo node defaulting to get better Info file node structure.
17473 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17474 Also include a few formerly missing sections (subroutines).
17475
17476 * doc/doc.str: delete fossil expansion for "func"
17477
17478 * default.menu, no-signal.menu: delete.
17479
17480 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17481 method used to adjust doc for missing "signals" chapter when
17482 signal_dir is empty.
17483
17484 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17485
17486 * configure.in: added testsuite/libm.sac
17487
17488 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17489
17490 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17491 code model).
17492
17493 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17494
17495 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17496 MAKEOVERRIDES to be empty.
17497
17498 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17499
17500 * configure.in: Don't build mips-*-* with -msoft-float, since that
17501 makes it incompatible with hard floating point.
17502
17503 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17504
17505 * Makefile.in: added recursive 'make check'
17506
17507 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17508
17509 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17510 * ./testsuite/Makefile.in: created
17511 * ./testsuite/libm.paranoia: paranoia tests added
17512
17513 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17514
17515 * configure.in: For mips-*-* set machine_dir to mips.
17516
17517 * libc/machine/mips: New directory.
17518 * libc/machine/mips/Makefile.in: New file.
17519 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17520 setjmp and longjmp.
17521 * libc/include/machine/setjmp.h: Added __mips__ case.
17522
17523 * libc/machine/lmips: Removed unused and useless directory.
17524
17525 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17526
17527 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17528
17529 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17530
17531 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17532 start up).
17533
17534 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17535
17536 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17537 SETJMP_H.
17538
17539 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17540
17541 * libm/test/convert.c: structure member errno -> errno_val.
17542 Must include <errno.h> to use errno, it's a macro now.
17543 * libm/test/math.c: Ditto.
17544 * libm/test/math2.c: Include errno.h.
17545 * libm/test/string.c: Ditto.
17546 * libm/test/test.h: structure member errno -> errno_val.
17547 Remove extern int errno decl.
17548
17549 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17550
17551 * libc/stdio/Makefile.in: Added dependencies on local header
17552 files.
17553 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17554 files.
17555
17556 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17557
17558 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17559
17560 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17561
17562 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17563 Initialize _data.
17564
17565 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17566 * libc/stdio/local.h: Add prototype for _licvt.
17567
17568 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17569 instead of malloc,reealloc.
17570
17571 * libc/stdlib/local.h: New file.
17572 * libc/stdlib/efgcvt.c: #include local.h.
17573 (gcvt): Fix call to _gcvt.
17574 * libc/stdlib/ecvtbuf.c: #include local.h.
17575
17576 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17577 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17578 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17579
17580 * libc/stdlib/atexit.c: moved global data to struct _reent.
17581 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17582
17583 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17584
17585 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17586
17587 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17588 here from ../reent.h.
17589
17590 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17591
17592 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17593 should be provided in both libc.a and libm.a.
17594 (libc.a): Depend on targ-include and libm.a. Copy
17595 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17596 (libm.a): Depend on targ-include.
17597 * configure.in (subdirs): Removed libc/math.
17598
17599 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17600
17601 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17602
17603 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17604
17605 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17606 sys/reent.h instead of reent.h.
17607 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17608 headers moved to sys/reent.h.
17609 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17610 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17611 __need__MAX_SIGNALS defined.
17612 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17613 std{in,out,err} refer to new _std{in,out,err} members.
17614
17615 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17616
17617 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17618 case.
17619
17620 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17621
17622 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17623 rather than whatever macro seterrno() has.
17624
17625 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17626
17627 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17628 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17629
17630 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17631 __STDC__.
17632
17633 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17634 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17635 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17636
17637 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17638 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17639
17640 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17641 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17642 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17643 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17644 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17645 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17646 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17647 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17648 for ANSI. structure members given leading "_" for ANSI. Use
17649 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17650
17651 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17652 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17653 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17654 reent_struct renamed to struct _reent for ANSI.
17655 Structure members given leading "_" for ANSI.
17656 _CONST --> const in prototypes.
17657 Use _HAVE_STDC instead of __STDC__.
17658
17659 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17660 _xxx_r.
17661 struct reent_struct renamed to struct _reent for ANSI.
17662 Structure members given leading "_" for ANSI.
17663
17664 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17665 _xxx_r.
17666 struct reent_struct renamed to struct _reent for ANSI.
17667
17668 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17669 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17670 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17671 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17672 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17673
17674 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17675 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17676 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17677 #ifndef _STRICT_ANSI non-ANSI routines.
17678 Reentrant routines renamed from _r_xxx to _xxx_r.
17679 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17680 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17681 Clean up namespace (structure members have leading "_").
17682 struct reent_struct renamed to struct _reent for ANSI compliance.
17683 _CONST --> const in function prototypes.
17684
17685 * libc/include/string.h: Add NULL and size_t.
17686
17687 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17688 unlink, wait, wait4. Reentrant syscall routines close, fork,
17689 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17690 write.
17691 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17692 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17693 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17694 write.S}: Define reentrant versions.
17695 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17696 reentrant syscalls.
17697
17698 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17699
17700 * libc/include/stdlib.h (RAND_MAX): Fix value.
17701
17702 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17703
17704 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17705 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17706 VPATH support targets after all: target.
17707
17708 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17709 exceptionHandler, which is what mvme135-stub.c expects.
17710
17711 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
17712
17713 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
17714
17715 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
17716 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
17717 compliant).
17718
17719 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
17720
17721 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
17722 first.
17723 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
17724 _r_write): Ditto.
17725 libc/reent/fstatr.c (_r_fstat): Ditto.
17726 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
17727 libc/reent/sbrkr.c (_r_sbrk): Ditto.
17728 libc/reent/statr.c (_r_stat): Ditto.
17729
17730 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
17731 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
17732 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
17733 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
17734 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
17735 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
17736 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
17737 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
17738 (__swrite): Ditto for _r_lseek, _r_write.
17739 (__sseek): Ditto for _r_lseek.
17740 (__close): Ditto for _r_close.
17741 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
17742
17743 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
17744 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17745
17746 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17747 to make reent_struct the first argument (and thus consistent with
17748 the rest of newlib).
17749
17750 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17751 reference to __STDC__.
17752
17753 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17754
17755 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
17756 global __cleanup.
17757
17758 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17759
17760 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17761 first.
17762 libc/stdio/fclose.c (fclose): Ditto.
17763
17764 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
17765
17766 * Run through indent and rename reentrant routines for ANSI.
17767 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
17768 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
17769 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
17770 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
17771 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
17772 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
17773 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
17774 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
17775 vsprintf.c wbuf.c wsetup.c local.h}
17776
17777 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
17778
17779 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
17780 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
17781 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
17782 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
17783 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
17784 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
17785
17786 * Run through indent.
17787 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
17788 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
17789 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
17790 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
17791 strxfrm.c}
17792
17793 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
17794 localtime.c mktime.c strftime.c time.c}:
17795 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
17796
17797 * Reformatting + renaming (for ANSI, GNU style, consistency).
17798 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
17799 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
17800 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
17801
17802 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
17803
17804 * libc/include/stdio.h (stdin_r): Fix.
17805
17806 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
17807
17808 * Makefile.in: Unexport some variables to keep GNU make from
17809 putting them in the environment and using up needed ARG_MAX space
17810 (a hack is used to let this work with older makes as well).
17811
17812 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
17813
17814 * Makefile.in: Use $(MAKE) rather than make.
17815 (MAKEOVERRIDES): Define to be empty.
17816 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17817 (libc.a, libm.a): Depend on targ-include.
17818 * host/any (LD): Don't define.
17819 (INCLUDES): Use targ-include.
17820 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
17821 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17822 * libc/Makefile.in: Use $(MAKE) rather than make.
17823 (MAKEOVERRIDES): Define to be empty.
17824 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17825 (all): Rewrote to be slightly smaller.
17826 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
17827 Define to be empty.
17828 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17829 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
17830
17831 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
17832
17833 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
17834 with errno/errno.c.
17835
17836 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
17837
17838 * Changes for reentrancy.
17839 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
17840 Use ptr->_errno, not errno.
17841 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
17842 libc/stdio/remove.c (remove_r): New function.
17843 libc/stdio/rename.c (rename_r): New function.
17844 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17845 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
17846 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
17847 reentrant versions of system calls.
17848 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
17849 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
17850 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
17851 libc/stdio/findfp.c: Include <string.h>.
17852 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
17853 "local.h".
17854 libc/stdio/wbuf.c: Include "fvwrite.h"
17855
17856 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
17857 <string.h>.
17858 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
17859 (NULL): Don't define if already defined.
17860 libc/stdlib/system.c: Call reentrant versions of system calls.
17861 (system_r): New function.
17862
17863 * Changes for reentrancy.
17864 libc/include/_ansi.h (_PARAMS): New macro.
17865 libc/include/errno.h: Define errno as a macro that calls __errno.
17866 (__errno_r): New macro for reentrant code.
17867 libc/include/math.h: Include reent.h. Declare many reentrant
17868 functions.
17869 (signgam): Now a macro, not a variable.
17870 (struct exception): Added err field.
17871 libc/include/reent.h: Don't declare __sglue. Added function
17872 declarations.
17873 (struct reent_struct): Moved errno to beginning. Added _signgam.
17874 libc/include/stdio.h, libc/include/stdlib.h: Added function
17875 declarations.
17876
17877 * More reentrancy hacking.
17878 libc/errno/errno.c (__errno): New function.
17879 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
17880 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
17881 files.
17882
17883 * Added many new reentrant functions to libm/math/*.
17884 libm/math/error.c (__matherror): Added reent_struct pointer
17885 argument. Changed all callers.
17886 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
17887 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
17888 libm/math/tan.h: Removed obsolete unused header files.
17889
17890 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
17891
17892 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
17893
17894 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17895
17896 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
17897 delay slots.
17898
17899 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17900
17901 * libc/libc.texinfo: comment out reentrancy chapter (duh)
17902
17903 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17904
17905 * libc/reent/reent.tex: New file. (text from
17906 newlib/libc/libc.texinfo)
17907 * libc/stdio/tmpnam.c: fixed doc typo
17908 * libc/stdlib/rand.c: fixed doc typo
17909
17910 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17911
17912 * libc/reent/reent.tex: New file. (text from
17913 newlib/libc/libc.texinfo)
17914
17915 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17916
17917 support for reentrancy
17918 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
17919 new files
17920 * libc/errno/errno.c, libc/include/ieeefp.h,
17921 libc/include/locale.h, libc/include/reent.h,
17922 libc/include/signal.h, libc/include/stdio.h,
17923 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
17924 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
17925 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
17926 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
17927 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17928 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
17929 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
17930 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
17931 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
17932 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
17933 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
17934 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
17935 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
17936 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
17937 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
17938 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
17939 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
17940 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
17941 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
17942 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
17943 libc/time/strftime.c: modify to provide reentracy.
17944
17945 new routines:
17946 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
17947 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
17948 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
17949 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
17950 mstats_r, realloc_r, localeconv_r, setlocale_r
17951
17952 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
17953
17954 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
17955 libc/include/sys/config.h, libc/include/sys/signal.h,
17956 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
17957 provided macros (such as m68000), use the ansi version
17958 (__m68000__) so that the library can be used with code compiled
17959 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
17960 and sparc.
17961
17962 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17963
17964 * configure.in (sparc*): Don't set -fsoft-float for sparc
17965 configurations. Do set -fsoft-float for sparclite configurations.
17966
17967 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17968
17969 * default.menu, no-signal.menu: alternate forms of libc main menu
17970 (in newlib rather than newlib/libc due to configuration restrictions)
17971
17972 * configure.in: select one of the two menus above, link to
17973 libc.menu
17974
17975 * libc/libc.texinfo: include menu from separate file
17976
17977 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
17978
17979 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
17980 (info): Split long shell command in half.
17981 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
17982 sub-makes, just CHEW and TARGETDOC.
17983 (targetdep.tex): Removed now special handling of sys and machine
17984 subdirectories, made obsolete some time ago.
17985 * libc/machine/Makefile.in (doc): Don't pass everything to
17986 sub-make, just CHEW and TARGETDOC.
17987 (Makefile): New target.
17988 * libc/sys/Makefile.in (Makefile): New target.
17989
17990 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
17991
17992 * Makefile.in (here and most subdirectories): Only pass down CHEW
17993 and TARGETDOC when making info, not for other targets.
17994
17995 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
17996 $(AR_FLAGS) rather than $(ARUPDATE).
17997
17998 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
17999
18000 * Try to reduce command line length:
18001 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
18002 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
18003 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
18004 (info): Pass CHEW to other subdirs.
18005
18006 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
18007
18008 * configure.in: add signal_dir, like unix_dir, but by default it
18009 is set to "signal" so that a29khif can turn it off (since a29khif
18010 has raise() as part of machine-specific signal.s.)
18011
18012 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18013
18014 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
18015 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
18016 correctly.
18017 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
18018 libc/stdio/vfprintf: type lint.
18019 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
18020 initialzation code.
18021 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
18022
18023 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
18024
18025 * stub/mvme135/mvme135-asm.S: new file.
18026 stub/mvme135mvme135-stub.c: moved all assembler routines into
18027 mvme135-asm.S.
18028 stub/mvme135/Makefile.in: build mvme135-stub.o.
18029
18030 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
18031
18032 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
18033 sub-Makefiles instead, to try to avoid line length limitations.
18034
18035 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
18036
18037 * libc/include/unistd.h (read, write): Use void* instead of
18038 char*.
18039
18040 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
18041
18042 * stub/go32/resetpc: sample script to send a reset packet to the
18043 stub
18044
18045 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
18046 DOS environment, which compiles with Turbo C.
18047
18048 * stub/go32/DSER32.LNK: new file, linker commands for serial
18049 remote stub.
18050
18051 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
18052 start up message to identify version; call set_debug_traps.
18053
18054 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
18055 keyboard interaction); call handle_exception() in go_til_stop,
18056 rather than return, so that the remote stub gets control.
18057
18058 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
18059 rename, rather than mv), set flags that work with current Turbo C,
18060 including using the /3 flag; also, add commands to build dser32.
18061
18062 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18063 default Turbo C installation (\tc rather than \usr)
18064
18065 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
18066 "&..."
18067
18068 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18069
18070 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18071
18072 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18073
18074 * libc/stdio/cvt.c (licvt): new function to convert ints when
18075 sizeof(int) != sizeof(long).
18076
18077 * libc/include/stdio.h: added prototype for iprintf.
18078 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18079
18080 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18081
18082 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18083 __REGISTER_PREFIX__.
18084
18085 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18086
18087 * libc/sys/m68kbare: moved into stub directory.
18088
18089 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18090
18091 * configure.in, Makefile.in: created new directory stub, to hold
18092 sample code for specific targets.
18093
18094 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18095
18096 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18097 in the unified libc/include/sys/fcntl.h.
18098
18099 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18100
18101 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18102 printed .01, not 0.01.
18103
18104 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18105
18106 * configure.in: compile with -m68000 for m68* targets.
18107
18108 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18109
18110 * libm/math/remainder.c (remainder): document the svr4 and sunos
18111 references used to construct the function.
18112
18113 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18114
18115 * libm/math/remainder.c (rint, remainder): fix old typos.
18116 * libm/math/Makefile.in: actually build remainder.c (functions
18117 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18118 page.)
18119
18120 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18121
18122 * libc/string/bcopy.c: BSD version works on overlapping strings,
18123 so ours should too.
18124
18125 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18126 ("SHELL").
18127
18128 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18129
18130 * Makefile.in (docs): new target.
18131
18132 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18133
18134 * libc/include/sys/times.h: define clock_t as required by POSIX.
18135 libc/include/time.h: protect clock_t from multiple definitions.
18136
18137 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18138
18139 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18140 does not need more than the original three iterations to get
18141 within 1 ulp. (Paranoia tests for rounding to better than that,
18142 but further iterations *don't* help, only more subtle changes
18143 can.)
18144
18145 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
18146
18147 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
18148 were doing nothing useful.
18149
18150 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
18151
18152 * configure.in: define MALLOC_PROVIDED for vxworks targets;
18153 removed sys_dir settings of vxworks68 and vxworks960.
18154 host/any: don't pass -nostdinc to gcc, since newlib no longer
18155 provides all required header files.
18156
18157 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
18158 is not defined; this provides a hook for VxWorks.
18159
18160 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18161
18162 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
18163 buffer if buf is NULL, don't do it here -- it is already being
18164 done by makebuf elsewhere in stdio.
18165
18166 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
18167
18168 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
18169 that C programs can call functions without using initial
18170 underscores.
18171
18172 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
18173
18174 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
18175
18176 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
18177
18178 * configure.in: set TARGET_CFLAGS for certain CPU types to
18179 -msoft-float.
18180
18181 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18182
18183 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
18184
18185 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
18186
18187 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
18188 m68k*-unknown-coff.
18189
18190 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
18191
18192 * libc/include/stdio.h: define __need___va_list before including
18193 <stdarg.h>, to avoid defining va_arg, et. al.
18194
18195 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
18196
18197 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
18198 (don't cd to the user's home directory).
18199
18200 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
18201 In general this is the wrong thing to do, but I can't get around
18202 GNU make's insistence on passing command line arguments any other
18203 way.
18204
18205 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
18206
18207 * configure.in: always configure the libc/sys directory, since it
18208 now provides a required documentation file.
18209
18210 * Makefile.in: replaced all instances of $(MAKE) with make. In
18211 general this is the wrong thing to do, but I can't get around GNU
18212 make's insistence on passing command line arguments any other way.
18213
18214 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
18215
18216 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
18217 terminated.
18218
18219 * libc/stdio/local.h: include <stdarg.h> to define va_list.
18220 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
18221
18222 * libc/include/float.h, libc/include/stdarg.h,
18223 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
18224 versions instead.
18225 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
18226 <stdarg.h>, not from <machine/types.h>. Protect definition of
18227 NULL.
18228 libc/include/time.h: get size_t from stddef.h. Protect definition
18229 of NULL.
18230 libc/include/machine/limits.h: override gcc <limits.h> by defining
18231 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
18232 get correct INT_MIN and LONG_LONG values.
18233 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
18234 size_t or va_list at all; they're now gotten from stddef.h
18235 instead.
18236 libc/include/machine/varargs.h: removed; use gcc version instead.
18237 libc/include/sys/types.h: explicitly include <machine/types.h>.
18238
18239 * libm/math/sqrt.h: using the fp-bit routines appears to require
18240 more iterations.
18241
18242 * Makefile.in, host/any: let system include files override machine
18243 include files.
18244
18245 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18246
18247 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
18248 override _*_T_ definitions defaulted here.
18249
18250 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
18251
18252 * Makefile.in (install): install the include files in
18253 $(tooldir)/include, not $(exec_prefix)/include.
18254
18255 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
18256
18257 * Makefile.in (install): fixed typo, and changed install to not
18258 force rebuild of libc.a and libm.a.
18259
18260 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
18261
18262 * libc/sys/a29khif/*: Changed all .include's to include
18263 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
18264 that they will be installed for the user.
18265
18266 * Makefile.in (all): create targ-include, a directory holding the
18267 machine and system specific header files during the build.
18268 (install): fixed installation of machine and system specific
18269 header files.
18270
18271 * Makefile.in: fixed comment.
18272 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
18273 we can pass $(INCLUDES) to it.
18274
18275 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
18276
18277 * libc/include/sys/param.h: new generic file, which may be
18278 overridden for specific systems.
18279
18280 * libc/include/sys/signal.h: define all ANSI signal names, and
18281 NSIG (which is not ANSI) for a29k.
18282
18283 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
18284
18285 * Makefile.in: don't pass down arguments the lower level makes
18286 will not need.
18287 * libc/Makefile.in: recurse directly, rather than using subdir_do,
18288 in hopes of avoiding argument length limits.
18289 * libm/Makefile.in: recurse directly, rather using subdir_do, in
18290 hopes of avoiding argument length limits.
18291
18292 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
18293
18294 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
18295 mode_t is defined.
18296
18297 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
18298
18299 * Fixed make info and make install-info for newlib, changing most
18300 Makefile.in and several *.tex files. Moved doc directory from
18301 libc to top level.
18302
18303 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
18304 Should be rewritten.
18305
18306 * libc/string/strings.tex: renamed node index to node index
18307 function, so that it does not conflict with the top level index
18308 node.
18309
18310 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
18311
18312 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
18313
18314 * Overhauled general configuration for newlib. Eliminated all
18315 target dependent Makefile fragments. Create libraries in newlib
18316 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
18317 than CROSS_CC, et. al. Broke make docs; will fix later.
18318
18319 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
18320 Should be rewritten.
18321
18322 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
18323
18324 * libc/configure.in: cleaned up somewhat; switch on ${target}
18325 rather than ${target_alias}.
18326 * libm/configure.in: cleaned up somewhat; switch on ${target}
18327 rather than ${target_alias}.
18328
18329 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
18330 * libc/include/ctype.h: marked _ctype_ as _CONST.
18331
18332 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
18333 _CONST.
18334
18335 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
18336 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
18337 libc/stdio/gets.c (gets): removed non-ANSI warning message.
18338 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
18339
18340 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
18341 bigtens, tinytens): marked arrays _CONST.
18342 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
18343 rather than a static variable.
18344
18345 * libc/time/asctime.c (asctime), libc/time/localtime.c
18346 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
18347 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
18348 mname_len, mname): Marked static arrays _CONST.
18349
18350 * libm/math/gamma.h: made local variables non-static.
18351
18352 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
18353 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
18354 _CONST.
18355
18356 * libm/math/constants.c: removed file, because the constants it
18357 defined were never referenced.
18358 libm/math/Makefile.in: removed references to constants.c.
18359 libm/math/mathimpl.h: removed declarations of constants.
18360
18361 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
18362
18363 * libc/include/machine/varargs.h: only call __builtin_saveregs if
18364 it is sensibly defined in libgcc2. Checks preprocessor defines,
18365 which is not a good solution.
18366
18367 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
18368
18369 * libm/frexp.c: handle denormalized numbers as arguments.
18370
18371 * libm/math/Makefile.in: added some dependencies for .c files
18372 which include local .h files.
18373
18374 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
18375
18376 * libc/configure.in: set target_alias for OSE*. Replace
18377 target_makefile_frag if it is blank.
18378
18379 * libc/Makefile.in: make sure everything is passed to subsidiary
18380 makes; create all directories when installing.
18381
18382 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
18383 CROSS_ARUPDATE instead of AR.
18384
18385 * libm/configure.in: set target_alias for OSE*. Replace
18386 target_makefile_frag if it is blank.
18387
18388 * libm/Makefile.in: make sure everything is passed to subsidiary
18389 makes; create all directories when installing.
18390
18391 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
18392
18393 * add following change from libc copy.
18394
18395 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18396
18397 * libc/libc.texinfo: make copyright disclaimers appear on back of
18398 title page; make format of same slightly less ugly; avoid using
18399 underbars in section headings (avoids nasty texinfo bug in table
18400 of contents).
18401
18402 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
18403 comments only) avoid using underbars in section headings
18404
18405 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18406 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
18407 changes in comments only): shorten headings ieeefp/infinity.c,
18408 ieeefp/isnan.c: (doc, comments only) more informative headings
18409
18410 * libc/math/bessel.c: (doc, comments only) shorten heading
18411
18412 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
18413 (doc, comments only) shorten headings
18414
18415 * libc/time/localtime.c (doc, comments only): shorten headings
18416
18417 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18418 isnan
18419 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
18420 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
18421 headings
18422 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
18423 only) more informative headings
18424 * libm/math/bessel.c: (doc, comments only) shorten heading
18425
18426 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18427
18428 * .../Makefile.in: use CROSS_ARUPDATE consistently.
18429 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
18430 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
18431 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
18432 defined, the one from the .mt file will be correct.
18433 * libc/include/machine, libc/include/sys: created, and populated
18434 with common files from machine/*/machine. ifdefs were used for
18435 most, typically by handling exceptions first and then filling in
18436 defaults. Files with D.J. Delorie copyright #included rather than
18437 copied. Most files in include/sys really were the same in the
18438 original.
18439 * libc/include/...: cleaned up use of _EXFUN.
18440 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
18441 it with double quotes, not angles.
18442
18443 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
18444
18445 * libc/Makefile.in: always create installation directories.
18446
18447 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18448
18449 * libc/configure.in: handle host properly (using canonical
18450 triples), better error message for the case of target not found
18451
18452 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18453
18454 * libc/Makefile.in (insincdir): Ensure this directory exists
18455 before attempting installation.
18456
18457 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18458
18459 * libc/stdlib/assert.c: now calls abort like it should
18460 * libc/sys/a29khif: many many patches for 29khif work
18461 * libc/machine/i386: gnulib2 expanded there.
18462
18463 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18464
18465 Added accurate fp conversion routines to stdlib, moved dcvt from
18466 stdio to stdlib and called it ecvtbuf:
18467 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18468 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18469 routines
18470 * libc/libc.texinfo: Modifed to include the copyright info from
18471 the mprec files
18472 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18473 * libc/test/ : many vector which tested for the implementation
18474 defined returns of strange conversion requests have been updated
18475 to relflect the new implementation
18476
18477 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18478
18479 * libc/libc.texinfo: new chapter on variable arg lists
18480 (stdarg.h/varargs.h)
18481 * libc/libc.texinfo: new title
18482 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18483 (doc only) shorter headings for better formatting.
18484
18485 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18486
18487 * libc/libc.texinfo: three more info menu entries
18488 * libc/locale/locale.tex: new chapter
18489 * libc/locale/locale.c: new doc for setlocale, localeconv
18490 * libc/locale/Makefile.in: use new locale doc
18491 * libc/signal/signal.tex: new chapter
18492 * libc/signal/raise.c, libc/signal/signal.c: new doc
18493 * libc/signal/Makefile.in: use new doc
18494 * libc/time/time.tex: new chapter
18495 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18496 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18497 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18498 * libc/time/Makefile.in: use new doc
18499
18500 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18501
18502 * libm/math/log1p.c: split to use the new function way of float
18503 function definition. math/log1p.h deleted
18504 * libm/math/scalb.c: obsolete and deleted
18505 * libm/math/scalbn.c: created from part log1p.c
18506 * libm/math/Makefile.in: know about log1p and scalbn
18507
18508 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18509
18510 * libc/ctype/isupper.c: revise doc;
18511 libc/ctype/ctype.tex: use doc from isupper.c
18512
18513 * libc/string/bzero.c: new doc
18514
18515 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18516
18517 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18518 new doc
18519 * libc/stdlib/Makefile.in: extract new doc
18520 * libc/stdlib/stdlib.tex: use new doc
18521
18522 * libc/string/strerror.c: expanded doc.
18523
18524 * libc/stdio/Makefile.in: extract doc from more files
18525 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18526 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18527 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18528 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18529 libc/stdio/vsprintf.c: new doc
18530 * libc/stdio/stdio.tex: use new doc
18531
18532 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18533
18534 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18535 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18536 finitef functions.
18537 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18538 time ago.
18539
18540 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18541 * libc/stdio/setbuf.c: added ansi style definition.
18542 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18543 buffer if none provided.
18544 * libc/stdio/tmpfile.c: lint
18545 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18546 rather than using static, also make sure file isn't already
18547 present. Uses P_tmpdir. (tempnam): rewritten to use new
18548 subroutine, and uses P_tmpdir.
18549 * libc/stdio/siprintf.c: created
18550
18551 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18552
18553 Release 1.03 for NEC, major mods. Main differences from release
18554 1.02::
18555
18556 More tests in test/:
18557 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18558 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18559 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18560 get/set mask, get/set sticky and get/set roundtoi. Tests
18561 that setting the bits changes the way arithmetic is done.
18562 * string.c: added test to make sure memcmp does it with unsigned
18563 chars.
18564 * test.c: cleaned up and removed lint.
18565 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18566 dvec.c: tests for string to value conversions, sprintf, scanf,
18567 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18568 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18569 rounding in sprintf too.
18570 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18571 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18572 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18573 and function form.
18574 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18575 powf
18576
18577 In the library:
18578 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18579 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18580 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18581 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18582 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18583 than sprintf.
18584 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
18585 * Method of producting float versions of double functions has
18586 changed, functions will be modified gradually. So far:
18587 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18588 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18589 altered
18590 * libc/string/memcmp.c: now uses unsigned chars
18591 * libc/string/bcmp.c, libc/string/strcpy.c,
18592 libc/stsring/strxfrm.c: fixed doc
18593 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18594 \f
18595 Local Variables:
18596 version-control: never
18597 End:
This page took 0.89624 seconds and 6 git commands to generate.