1 2007-10-31 DJ Delorie <dj@redhat.com>
3 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
4 signal table, just use a default, in case initialization cause
7 2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
9 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
10 size if output buffer is NULL.
12 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
14 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
15 fix when handling negative input values. Make function
16 consistent with math directory and glibc version such that
17 inf and nan values return inf and nan respectively with no
19 * libm/mathfp/sf_logarithm.c: Ditto.
20 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
21 * libm/math/wf_log.c: Ditto.
22 * libm/math/w_log10.c: Ditto.
23 * libm/math/wf_log10.c: Ditto.
25 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
27 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
29 * libm/mathfp/sf_logarithm.c: Ditto.
31 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
33 * libc/machine/i386/machine/fastmath.h: New file.
35 2007-10-13 Eric Blake <ebb9@byu.net>
37 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
38 Correctly nest else within conditionals.
39 Reported by Artur Lipowski.
41 2007-10-09 Nick Clifton <nickc@redhat.com>
43 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
46 2007-10-09 Ben Elliston <bje@au.ibm.com>
48 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
49 before simdmath.h to get a definition for `vector'.
50 * libm/machine/spu/headers/asind2.h: Likewise.
52 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
54 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
55 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
56 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
57 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
58 * libm/machine/spu/headers/acos.h: Add domain check.
59 * libm/machine/spu/headers/acosf.h: Ditto.
60 * libm/machine/spu/headers/acosh.h: Ditto.
61 * libm/machine/spu/headers/acoshf.h: Ditto.
62 * libm/machine/spu/headers/asin.h: Ditto.
63 * libm/machine/spu/headers/asinf.h: Ditto.
64 * libm/machine/spu/headers/atanh.h: Ditto.
65 * libm/machine/spu/headers/atanhf.h: Ditto.
66 * libm/machine/spu/headers/fmod.h: Ditto.
67 * libm/machine/spu/headers/fmodf.h: Ditto.
68 * libm/machine/spu/headers/log.h: Ditto.
69 * libm/machine/spu/headers/log10.h: Ditto.
70 * libm/machine/spu/headers/log1p.h: Ditto.
71 * libm/machine/spu/headers/log1pf.h: Ditto.
72 * libm/machine/spu/headers/log2.h: Ditto.
73 * libm/machine/spu/headers/log2f.h: Ditto.
74 * libm/machine/spu/headers/sqrt.h: Ditto.
75 * libm/machine/spu/headers/sqrtf.h: Ditto.
76 * libm/machine/spu/headers/tgamma.h: Ditto.
77 * libm/machine/spu/headers/tgammaf.h: Ditto.
79 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
81 * libm/machine/spu/Makefile.am: Add new C files.
82 * libm/machine/spu/Makefile.in: Regenerate.
83 * libm/machine/spu/headers/acos.h: New file.
84 * libm/machine/spu/headers/acosd2.h: Ditto.
85 * libm/machine/spu/headers/acosf.h: Ditto.
86 * libm/machine/spu/headers/acosf4.h: Ditto.
87 * libm/machine/spu/headers/acosh.h: Ditto.
88 * libm/machine/spu/headers/acoshd2.h: Ditto.
89 * libm/machine/spu/headers/acoshf.h: Ditto.
90 * libm/machine/spu/headers/acoshf4.h: Ditto.
91 * libm/machine/spu/headers/asin.h: Ditto.
92 * libm/machine/spu/headers/asind2.h: Ditto.
93 * libm/machine/spu/headers/asinf.h: Ditto.
94 * libm/machine/spu/headers/asinf4.h: Ditto.
95 * libm/machine/spu/headers/asinh.h: Ditto.
96 * libm/machine/spu/headers/asinhd2.h: Ditto.
97 * libm/machine/spu/headers/asinhf.h: Ditto.
98 * libm/machine/spu/headers/asinhf4.h: Ditto.
99 * libm/machine/spu/headers/atan.h: Ditto.
100 * libm/machine/spu/headers/atan2.h: Ditto.
101 * libm/machine/spu/headers/atan2d2.h: Ditto.
102 * libm/machine/spu/headers/atan2f.h: Ditto.
103 * libm/machine/spu/headers/atan2f4.h: Ditto.
104 * libm/machine/spu/headers/atand2.h: Ditto.
105 * libm/machine/spu/headers/atanf4.h: Ditto.
106 * libm/machine/spu/headers/atanh.h: Ditto.
107 * libm/machine/spu/headers/atanhd2.h: Ditto.
108 * libm/machine/spu/headers/atanhf.h: Ditto.
109 * libm/machine/spu/headers/atanhf4.h: Ditto.
110 * libm/machine/spu/headers/cos.h: Ditto.
111 * libm/machine/spu/headers/cos_sin.h: Ditto.
112 * libm/machine/spu/headers/cosd2.h: Ditto.
113 * libm/machine/spu/headers/cosf.h: Ditto.
114 * libm/machine/spu/headers/cosf4.h: Ditto.
115 * libm/machine/spu/headers/cosh.h: Ditto.
116 * libm/machine/spu/headers/coshd2.h: Ditto.
117 * libm/machine/spu/headers/coshf.h: Ditto.
118 * libm/machine/spu/headers/coshf4.h: Ditto.
119 * libm/machine/spu/headers/divd2.h: Ditto.
120 * libm/machine/spu/headers/divf4.h: Ditto.
121 * libm/machine/spu/headers/erf.h: Ditto.
122 * libm/machine/spu/headers/erf_utils.h: Ditto.
123 * libm/machine/spu/headers/erfc.h: Ditto.
124 * libm/machine/spu/headers/erfcd2.h: Ditto.
125 * libm/machine/spu/headers/erfcf.h: Ditto.
126 * libm/machine/spu/headers/erfcf4.h: Ditto.
127 * libm/machine/spu/headers/erfd2.h: Ditto.
128 * libm/machine/spu/headers/erff.h: Ditto.
129 * libm/machine/spu/headers/erff4.h: Ditto.
130 * libm/machine/spu/headers/exp.h: Ditto.
131 * libm/machine/spu/headers/exp2.h: Ditto.
132 * libm/machine/spu/headers/exp2d2.h: Ditto.
133 * libm/machine/spu/headers/exp2f4.h: Ditto.
134 * libm/machine/spu/headers/expd2.h: Ditto.
135 * libm/machine/spu/headers/expf4.h: Ditto.
136 * libm/machine/spu/headers/expm1.h: Ditto.
137 * libm/machine/spu/headers/expm1d2.h: Ditto.
138 * libm/machine/spu/headers/expm1f.h: Ditto.
139 * libm/machine/spu/headers/expm1f4.h: Ditto.
140 * libm/machine/spu/headers/floord2.h: Ditto.
141 * libm/machine/spu/headers/floorf4.h: Ditto.
142 * libm/machine/spu/headers/hypot.h: Ditto.
143 * libm/machine/spu/headers/hypotd2.h: Ditto.
144 * libm/machine/spu/headers/hypotf.h: Ditto.
145 * libm/machine/spu/headers/hypotf4.h: Ditto.
146 * libm/machine/spu/headers/isnan.h: Ditto.
147 * libm/machine/spu/headers/isnand2.h: Ditto.
148 * libm/machine/spu/headers/isnanf.h: Ditto.
149 * libm/machine/spu/headers/isnanf4.h: Ditto.
150 * libm/machine/spu/headers/ldexpd2.h: Ditto.
151 * libm/machine/spu/headers/ldexpf4.h: Ditto.
152 * libm/machine/spu/headers/lgamma.h: Ditto.
153 * libm/machine/spu/headers/lgammad2.h: Ditto.
154 * libm/machine/spu/headers/lgammaf.h: Ditto.
155 * libm/machine/spu/headers/lgammaf4.h: Ditto.
156 * libm/machine/spu/headers/log.h: Ditto.
157 * libm/machine/spu/headers/log10.h: Ditto.
158 * libm/machine/spu/headers/log10d2.h: Ditto.
159 * libm/machine/spu/headers/log1p.h: Ditto.
160 * libm/machine/spu/headers/log1pd2.h: Ditto.
161 * libm/machine/spu/headers/log1pf.h: Ditto.
162 * libm/machine/spu/headers/log1pf4.h: Ditto.
163 * libm/machine/spu/headers/log2.h: Ditto.
164 * libm/machine/spu/headers/log2d2.h: Ditto.
165 * libm/machine/spu/headers/log2f4.h: Ditto.
166 * libm/machine/spu/headers/logbf.h: Ditto.
167 * libm/machine/spu/headers/logbf4.h: Ditto.
168 * libm/machine/spu/headers/logd2.h: Ditto.
169 * libm/machine/spu/headers/logf4.h: Ditto.
170 * libm/machine/spu/headers/nearbyintf.h: Ditto.
171 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
172 * libm/machine/spu/headers/nextafter.h: Ditto.
173 * libm/machine/spu/headers/nextafterd2.h: Ditto.
174 * libm/machine/spu/headers/nextafterf.h: Ditto.
175 * libm/machine/spu/headers/nextafterf4.h: Ditto.
176 * libm/machine/spu/headers/pow.h: Ditto.
177 * libm/machine/spu/headers/powd2.h: Ditto.
178 * libm/machine/spu/headers/powf.h: Ditto.
179 * libm/machine/spu/headers/powf4.h: Ditto.
180 * libm/machine/spu/headers/recipd2.h: Ditto.
181 * libm/machine/spu/headers/recipf4.h: Ditto.
182 * libm/machine/spu/headers/rintf.h: Ditto.
183 * libm/machine/spu/headers/rintf4.h: Ditto.
184 * libm/machine/spu/headers/scalbnf4.h: Ditto.
185 * libm/machine/spu/headers/signbit.h: Ditto.
186 * libm/machine/spu/headers/signbitd2.h: Ditto.
187 * libm/machine/spu/headers/simdmath.h: Ditto.
188 * libm/machine/spu/headers/sin.h: Ditto.
189 * libm/machine/spu/headers/sincos.h: Ditto.
190 * libm/machine/spu/headers/sincosd2.h: Ditto.
191 * libm/machine/spu/headers/sincosf.h: Ditto.
192 * libm/machine/spu/headers/sincosf4.h: Ditto.
193 * libm/machine/spu/headers/sind2.h: Ditto.
194 * libm/machine/spu/headers/sinf.h: Ditto.
195 * libm/machine/spu/headers/sinf4.h: Ditto.
196 * libm/machine/spu/headers/sinh.h: Ditto.
197 * libm/machine/spu/headers/sinhd2.h: Ditto.
198 * libm/machine/spu/headers/sinhf.h: Ditto.
199 * libm/machine/spu/headers/sinhf4.h: Ditto.
200 * libm/machine/spu/headers/sqrtd2.h: Ditto.
201 * libm/machine/spu/headers/sqrtf.h: Ditto.
202 * libm/machine/spu/headers/sqrtf4.h: Ditto.
203 * libm/machine/spu/headers/tan.h: Ditto.
204 * libm/machine/spu/headers/tand2.h: Ditto.
205 * libm/machine/spu/headers/tanf.h: Ditto.
206 * libm/machine/spu/headers/tanf4.h: Ditto.
207 * libm/machine/spu/headers/tanh.h: Ditto.
208 * libm/machine/spu/headers/tanhd2.h: Ditto.
209 * libm/machine/spu/headers/tanhf.h: Ditto.
210 * libm/machine/spu/headers/tanhf4.h: Ditto.
211 * libm/machine/spu/headers/tgamma.h: Ditto.
212 * libm/machine/spu/headers/tgammad2.h: Ditto.
213 * libm/machine/spu/headers/tgammaf.h: Ditto.
214 * libm/machine/spu/headers/tgammaf4.h: Ditto.
215 * libm/machine/spu/headers/truncd2.h: Ditto.
216 * libm/machine/spu/headers/truncf4.h: Ditto.
217 * libm/machine/spu/log2.c: Ditto.
218 * libm/machine/spu/s_asinh.c: Ditto.
219 * libm/machine/spu/s_atan.c: Ditto.
220 * libm/machine/spu/s_cos.c: Ditto.
221 * libm/machine/spu/s_erf.c: Ditto.
222 * libm/machine/spu/s_expm1.c: Ditto.
223 * libm/machine/spu/s_isnan.c: Ditto.
224 * libm/machine/spu/s_log1p.c: Ditto.
225 * libm/machine/spu/s_nextafter.c: Ditto.
226 * libm/machine/spu/s_sin.c: Ditto.
227 * libm/machine/spu/s_tan.c: Ditto.
228 * libm/machine/spu/s_tanh.c: Ditto.
229 * libm/machine/spu/sf_asinh.c: Ditto.
230 * libm/machine/spu/sf_cos.c: Ditto.
231 * libm/machine/spu/sf_erf.c: Ditto.
232 * libm/machine/spu/sf_expm1.c: Ditto.
233 * libm/machine/spu/sf_log1p.c: Ditto.
234 * libm/machine/spu/sf_logb.c: Ditto.
235 * libm/machine/spu/sf_nearbyint.c: Ditto.
236 * libm/machine/spu/sf_nextafter.c: Ditto.
237 * libm/machine/spu/sf_rint.c: Ditto.
238 * libm/machine/spu/sf_sin.c: Ditto.
239 * libm/machine/spu/sf_tan.c: Ditto.
240 * libm/machine/spu/sf_tanh.c: Ditto.
241 * libm/machine/spu/w_acos.c: Ditto.
242 * libm/machine/spu/w_acosh.c: Ditto.
243 * libm/machine/spu/w_asin.c: Ditto.
244 * libm/machine/spu/w_atan2.c: Ditto.
245 * libm/machine/spu/w_atanh.c: Ditto.
246 * libm/machine/spu/w_cosh.c: Ditto.
247 * libm/machine/spu/w_exp.c: Ditto.
248 * libm/machine/spu/w_exp2.c: Ditto.
249 * libm/machine/spu/w_hypot.c: Ditto.
250 * libm/machine/spu/w_lgamma.c: Ditto.
251 * libm/machine/spu/w_log.c: Ditto.
252 * libm/machine/spu/w_log10.c: Ditto.
253 * libm/machine/spu/w_pow.c: Ditto.
254 * libm/machine/spu/w_sincos.c: Ditto.
255 * libm/machine/spu/w_sinh.c: Ditto.
256 * libm/machine/spu/w_tgamma.c: Ditto.
257 * libm/machine/spu/wf_acos.c: Ditto.
258 * libm/machine/spu/wf_acosh.c: Ditto.
259 * libm/machine/spu/wf_asin.c: Ditto.
260 * libm/machine/spu/wf_atan2.c: Ditto.
261 * libm/machine/spu/wf_atanh.c: Ditto.
262 * libm/machine/spu/wf_cosh.c: Ditto.
263 * libm/machine/spu/wf_hypot.c: Ditto.
264 * libm/machine/spu/wf_lgamma.c: Ditto.
265 * libm/machine/spu/wf_pow.c: Ditto.
266 * libm/machine/spu/wf_sincos.c: Ditto.
267 * libm/machine/spu/wf_sinh.c: Ditto.
268 * libm/machine/spu/wf_sqrt.c: Ditto.
269 * libm/machine/spu/wf_tgamma.c: Ditto.
271 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
273 * configure.host: Define _POSIX_MODE to match the existing vector
274 math code, as we don't support the matherr callout.
275 * libm/machine/spu/Makefile.am: New file.
276 * libm/machine/spu/Makefile.in: Auto-generated.
277 * libm/machine/spu/headers/atanf.h: New file.
278 * libm/machine/spu/headers/cbrt.h: Ditto.
279 * libm/machine/spu/headers/cbrtf.h: Ditto.
280 * libm/machine/spu/headers/ceil.h: Ditto.
281 * libm/machine/spu/headers/ceilf.h: Ditto.
282 * libm/machine/spu/headers/copysign.h: Ditto.
283 * libm/machine/spu/headers/copysignf.h: Ditto.
284 * libm/machine/spu/headers/exp2f.h: Ditto.
285 * libm/machine/spu/headers/expf.h: Ditto.
286 * libm/machine/spu/headers/fabs.h: Ditto.
287 * libm/machine/spu/headers/fabsf.h: Ditto.
288 * libm/machine/spu/headers/fdim.h: Ditto.
289 * libm/machine/spu/headers/fdimf.h: Ditto.
290 * libm/machine/spu/headers/floor.h: Ditto.
291 * libm/machine/spu/headers/floorf.h: Ditto.
292 * libm/machine/spu/headers/fma.h: Ditto.
293 * libm/machine/spu/headers/fmaf.h: Ditto.
294 * libm/machine/spu/headers/fmax.h: Ditto.
295 * libm/machine/spu/headers/fmaxf.h: Ditto.
296 * libm/machine/spu/headers/fmin.h: Ditto.
297 * libm/machine/spu/headers/fminf.h: Ditto.
298 * libm/machine/spu/headers/fmod.h: Ditto.
299 * libm/machine/spu/headers/fmodf.h: Ditto.
300 * libm/machine/spu/headers/frexp.h: Ditto.
301 * libm/machine/spu/headers/frexpf.h: Ditto.
302 * libm/machine/spu/headers/ilogb.h: Ditto.
303 * libm/machine/spu/headers/ilogbf.h: Ditto.
304 * libm/machine/spu/headers/ldexp.h: Ditto.
305 * libm/machine/spu/headers/ldexpf.h: Ditto.
306 * libm/machine/spu/headers/llrint.h: Ditto.
307 * libm/machine/spu/headers/llrintf.h: Ditto.
308 * libm/machine/spu/headers/llround.h: Ditto.
309 * libm/machine/spu/headers/llroundf.h: Ditto.
310 * libm/machine/spu/headers/log10f.h: Ditto.
311 * libm/machine/spu/headers/log2f.h: Ditto.
312 * libm/machine/spu/headers/logf.h: Ditto.
313 * libm/machine/spu/headers/lrint.h: Ditto.
314 * libm/machine/spu/headers/lrintf.h: Ditto.
315 * libm/machine/spu/headers/lround.h: Ditto.
316 * libm/machine/spu/headers/lroundf.h: Ditto.
317 * libm/machine/spu/headers/nearbyint.h: Ditto.
318 * libm/machine/spu/headers/remainder.h: Ditto.
319 * libm/machine/spu/headers/remainderf.h: Ditto.
320 * libm/machine/spu/headers/remquo.h: Ditto.
321 * libm/machine/spu/headers/remquof.h: Ditto.
322 * libm/machine/spu/headers/rint.h: Ditto.
323 * libm/machine/spu/headers/round.h: Ditto.
324 * libm/machine/spu/headers/roundf.h: Ditto.
325 * libm/machine/spu/headers/scalbn.h: Ditto.
326 * libm/machine/spu/headers/scalbnf.h: Ditto.
327 * libm/machine/spu/headers/sqrt.h: Ditto.
328 * libm/machine/spu/headers/trunc.h: Ditto.
329 * libm/machine/spu/headers/truncf.h: Ditto.
330 * libm/machine/spu/headers/vec_literal.h: Ditto.
331 * libm/machine/spu/llrint.c: Ditto.
332 * libm/machine/spu/llrintf.c: Ditto.
333 * libm/machine/spu/llround.c: Ditto.
334 * libm/machine/spu/llroundf.c: Ditto.
335 * libm/machine/spu/log2f.c: Ditto.
336 * libm/machine/spu/s_cbrt.c: Ditto.
337 * libm/machine/spu/s_ceil.c: Ditto.
338 * libm/machine/spu/s_copysign.c: Ditto.
339 * libm/machine/spu/s_fabs.c: Ditto.
340 * libm/machine/spu/s_fdim.c: Ditto.
341 * libm/machine/spu/s_floor.c: Ditto.
342 * libm/machine/spu/s_fma.c: Ditto.
343 * libm/machine/spu/s_fmax.c: Ditto.
344 * libm/machine/spu/s_fmin.c: Ditto.
345 * libm/machine/spu/s_frexp.c: Ditto.
346 * libm/machine/spu/s_ilogb.c: Ditto.
347 * libm/machine/spu/s_ldexp.c: Ditto.
348 * libm/machine/spu/s_lrint.c: Ditto.
349 * libm/machine/spu/s_lround.c: Ditto.
350 * libm/machine/spu/s_nearbyint.c: Ditto.
351 * libm/machine/spu/s_remquo.c: Ditto.
352 * libm/machine/spu/s_rint.c: Ditto.
353 * libm/machine/spu/s_round.c: Ditto.
354 * libm/machine/spu/s_scalbn.c: Ditto.
355 * libm/machine/spu/s_trunc.c: Ditto.
356 * libm/machine/spu/sf_atan.c: Ditto.
357 * libm/machine/spu/sf_cbrt.c: Ditto.
358 * libm/machine/spu/sf_ceil.c: Ditto.
359 * libm/machine/spu/sf_copysign.c: Ditto.
360 * libm/machine/spu/sf_fabs.c: Ditto.
361 * libm/machine/spu/sf_fdim.c: Ditto.
362 * libm/machine/spu/sf_floor.c: Ditto.
363 * libm/machine/spu/sf_fma.c: Ditto.
364 * libm/machine/spu/sf_fmax.c: Ditto.
365 * libm/machine/spu/sf_fmin.c: Ditto.
366 * libm/machine/spu/sf_frexp.c: Ditto.
367 * libm/machine/spu/sf_ilogb.c: Ditto.
368 * libm/machine/spu/sf_ldexp.c: Ditto.
369 * libm/machine/spu/sf_lrint.c: Ditto.
370 * libm/machine/spu/sf_lround.c: Ditto.
371 * libm/machine/spu/sf_remquo.c: Ditto.
372 * libm/machine/spu/sf_round.c: Ditto.
373 * libm/machine/spu/sf_scalbn.c: Ditto.
374 * libm/machine/spu/sf_trunc.c: Ditto.
375 * libm/machine/spu/w_fmod.c: Ditto.
376 * libm/machine/spu/w_remainder.c: Ditto.
377 * libm/machine/spu/w_sqrt.c: Ditto.
378 * libm/machine/spu/wf_exp.c: Ditto.
379 * libm/machine/spu/wf_exp2.c: Ditto.
380 * libm/machine/spu/wf_fmod.c: Ditto.
381 * libm/machine/spu/wf_log.c: Ditto.
382 * libm/machine/spu/wf_log10.c: Ditto.
383 * libm/machine/spu/wf_remainder.c: Ditto.
385 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
387 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
389 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
391 * libc/include/sched.h: New file, just include sys/sched.h.
392 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
394 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
395 struct utimbuf definition.
397 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
399 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
400 specific struct and typedef.
402 2007-09-18 Patrick Mansfield <patmans@us.ibm.com>
404 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
405 typedef dev_t, gid_t, and uid_t.
406 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
407 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
408 Change to lower case for all __foo_t_defined names.
409 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
410 __uid_t, and __gid_t making them all four bytes. Change to lower case
411 for all __foo_t_defined names.
413 2007-09-18 Jeff Johnston <jjohnstn@redhat.com>
415 * libc/reent/renamer.c: New file.
416 * libc/reent/Makefile.am: Add new file.
417 * libc/reent/Makefile.in: Regenerated.
418 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
419 and add check for rename syscall.
421 2007-09-17 Eric Blake <ebb9@byu.net>
423 Obey POSIX on printf("%.s", (char*)NULL).
424 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
425 for %s on NULL. Skip NULL check when optimizing for size.
427 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
429 * libc/include/sys/_types.h: Protect all types with flag
430 checks to allow definition in machine/_types.h.
432 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
434 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
435 definitions in light of the previous change.
437 2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
439 * libc/include/machine/_default_types.h: New file, contains what
440 was previously in libc/include/machine/_types.h.
441 * libc/include/machine/_types.h: Now only includes
442 machine/_default_types.h.
443 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
444 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
445 with conditional declarations.
446 * libc/machine/spu/machine/_types.h: New file, add SPU specific
447 typedefs for _fpos_t and _fpos64_t.
449 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
451 * libc/include/math.h (_M_LOG2E): Replace with..
452 (_M_LOG2_E): New macro.
453 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
455 2007-09-06 Brian Dessent <brian@dessent.net>
457 * libc/reent/getreent.c: Allow for case where __getreent is
460 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
462 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
463 (log2): Use _M_LOG2E instead of M_LOG2E.
465 (M_LOG2E): Define to be _M_LOG2E.
467 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
469 * libm/math/wf_tgamma.c: Add missing include.
471 2007-08-31 Antony King <antony.king@st.com>
473 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
474 bits and redefine associated dword0 macro (rvalue issue).
475 * libc/stdio/vfieeefp.h: Ditto.
476 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
477 to prevent setting dword1 which is an rvalue only.
479 2007-08-28 Hans Kester <hans.kester@ellips.nl>
481 * configure.host: Added support for x86_64.
482 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
483 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
484 * libc/machine/x86_64/aclocal.m4: Generated.
485 * libc/machine/x86_64/configure.in: New.
486 * libc/machine/x86_64/configure: Generated.
487 * libc/machine/x86_64/Makefile.am: New.
488 * libc/machine/x86_64/Makefile.in: Generated.
489 * libc/machine/x86_64/setjmp.S: New.
490 * libc/machine/x86_64/memcpy.S: New.
491 * libc/machine/x86_64/memset.S: New.
492 * libc/machine/configure.in: Added support for x86_64.
493 * libc/machine/configure: Regenerated.
495 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
497 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
498 to int before comparing it to a signed int value.
500 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
502 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
503 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
506 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
508 Reduce the memory consumption of variable argument functions
510 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
511 to assembler sources.
512 * libc/machine/spu/Makefile.in: Regenerated.
513 * libc/machine/spu/stdio.c: Add __check_init function wrapping
514 CHECK_INIT macro to use from assembler routines.
515 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
516 * libc/machine/spu/fiprintf.S: New file.
517 * libc/machine/spu/fiscanf.S: Ditto.
518 * libc/machine/spu/fprintf.S: Ditto.
519 * libc/machine/spu/fscanf.S: Ditto.
520 * libc/machine/spu/iprintf.S: Ditto.
521 * libc/machine/spu/iscanf.S: Ditto.
522 * libc/machine/spu/printf.S: Ditto.
523 * libc/machine/spu/scanf.S: Ditto.
524 * libc/machine/spu/siprintf.S: Ditto.
525 * libc/machine/spu/siscanf.S: Ditto.
526 * libc/machine/spu/sniprintf.S: Ditto.
527 * libc/machine/spu/snprintf.S: Ditto.
528 * libc/machine/spu/sprintf.S: Ditto.
529 * libc/machine/spu/sscanf.S: Ditto.
530 * libc/machine/spu/stack_reg_va.S: Ditto.
531 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
532 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
533 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
534 * libc/machine/spu/fiscanf.c: Ditto.
535 * libc/machine/spu/fprintf.c: Ditto.
536 * libc/machine/spu/fscanf.c: Ditto.
537 * libc/machine/spu/iprintf.c: Ditto.
538 * libc/machine/spu/iscanf.c: Ditto.
539 * libc/machine/spu/printf.c: Ditto.
540 * libc/machine/spu/scanf.c: Ditto.
541 * libc/machine/spu/siprintf.c: Ditto.
542 * libc/machine/spu/siscanf.c: Ditto.
543 * libc/machine/spu/sniprintf.c: Ditto.
544 * libc/machine/spu/snprintf.c: Ditto.
545 * libc/machine/spu/sprintf.c: Ditto.
546 * libc/machine/spu/sscanf.c: Ditto.
548 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
550 * libc/include/tar.h: New.
552 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
554 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
555 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
556 * libc/sys/linux/intl/Makefile.in: Regenerated.
557 * libc/sys/linux/intl/stpcpy.c: Renamed to...
558 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
560 2007-08-02 Eric Blake <ebb9@byu.net>
562 Implement fmemopen and open_memstream.
563 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
564 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
566 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
567 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
569 (fmemopen, open_memstream): Declare new functions.
570 * libc/stdio/stdio.tex: Document them.
571 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
572 fmemopen and open_memstream.
573 * libc/stdio/Makefile.in: Regenerate.
575 2007-07-31 Eric Blake <ebb9@byu.net>
577 More POSIX stream corner cases.
578 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
579 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
581 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
583 2007-07-18 Eric Blake <ebb9@byu.net>
586 * libc/stdio/stdio.tex: Add missing include.
587 * libc/stdio/vfprintf.c: Use expected node name.
588 * libc/stdio/vfscanf.c: Likewise.
589 * libc/stdio/sscanf.c: Likewise.
590 * libc/stdio/sprintf.c: Likewise.
591 * libc/stdio/siscanf.c: Likewise.
592 * libc/stdio/siprintf.c: Likewise.
593 * libc/stdio/fopencookie.c: Quote raw {}.
594 Reported by DJ Delorie.
596 2007-07-13 Eric Blake <ebb9@byu.net>
599 * libc/stdio/fflush.c (_fflush_r): New function.
600 (fflush): Fix reentrancy and large offset behavior.
601 * libc/include/stdio.h (_fflush_r): Add prototype.
602 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
603 * libc/stdio/freopen.c (_freopen_r): Likewise.
604 * libc/stdio/fseek.c (_fseek_r): Likewise.
605 * libc/stdio/ftell.c (_ftell_r): Likewise.
606 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
607 * libc/stdio/refill.c (__srefill_r): Likewise.
608 * libc/stdio/setvbuf.c (setvbuf): Likewise.
609 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
610 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
611 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
612 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
613 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
614 32-bit version if not large file.
615 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
616 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
618 Documentation updates.
619 * libc/stdio/ungetc.c: Document ungetc.
620 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
621 of files with documentation.
622 * libc/stdio/Makefile.in: Regenerate.
623 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
625 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
627 * libc/include/math.h: Fix so C99 functions/macros are accessible
628 when -std=c99 is used when compiling and not when using C89.
630 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
632 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
633 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
634 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
635 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
637 (CHEWOUT_FILES): Add .def files accordingly.
638 * libc/stdlib/Makefile.in: Regenerate.
639 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
640 * libc/stdlib/strtoll.c: Fix portability note.
641 * libc/stdlib/strtoull.c: Ditto.
642 * libc/stdlib/wcstol.c: New file.
643 * libc/stdlib/wcstoll.c: New file.
644 * libc/stdlib/wcstoll_r.c: New file.
645 * libc/stdlib/wcstoul.c: New file.
646 * libc/stdlib/wcstoull.c: New file.
647 * libc/stdlib/wcstoull_r.c: New file.
649 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
651 * libc/include/sys/time.h (gettimeofday): Change to proper
652 prototype where second parameter is void *.
653 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
655 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
656 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
657 * libc/sys/rdos/gettod.c: Ditto.
658 * libc/sys/sh/syscalls.c: Ditto.
659 * libc/time/time.c (time): Change call to _gettimeofday_r
660 to pass NULL as 2nd argument.
662 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
664 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
665 * libc/sys/linux/intl/l10nflist.c: Ditto.
667 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
669 * libc/include/wchar.h: Add prototype for wcsxfrm.
670 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
671 (CHEWOUT_FILES): Add wcsxfrm.def.
672 * libc/string/Makefile.in: Regenerate.
673 * libc/string/wcsxfrm.c: New file.
674 * libc/string/wcstrings.tex: Add wcsxfrm.
676 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
678 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
679 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
681 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
682 * libc/string/Makefile.in: Regenerate.
683 * libc/string/stpcpy.c: New file.
684 * libc/string/stpncpy.c: New file.
685 * libc/string/strings.tex: Add stpcpy and stpncpy.
687 2007-06-27 Eric Blake <ebb9@byu.net>
689 Support __func__ in assert, as required by C99.
690 * libc/stdlib/assert.c (__assert_func): New function.
691 (__assert): Use __assert_func.
692 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
695 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
697 * libc/machine/spu/perror.c: Pass errno as the second argument to
700 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
702 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
703 defines; expose ftruncate, truncate and sync prototypes.
705 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
707 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
708 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
711 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
713 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
714 from a dropped patch.
715 * libc/machine/spu/Makefile.in: Regenerate.
717 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
719 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
720 it just calls open with appropriate arguments.
721 * libc/machine/spu/Makefile.am: Add creat.c.
722 * libc/machine/spu/Makefile.in: Regenerate.
724 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
726 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
727 I accidentally dropped.
728 * libc/machine/spu/Makefile.in: Regenerated.
730 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
732 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
733 * libc/include/sys/unistd.h: Change usleep prototype to Posix
734 form and move outside of OS flag checks.
735 * libc/machine/spu/Makefile.am: Add sleep and usleep.
736 * libc/machine/spu/Makefile.in: Regenerate.
737 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
738 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
740 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
742 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
743 Define confstr constants for Cygwin. Add comment.
745 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
747 * libc/sys/mmixware/access.c (access): Do not try to use a magic
748 file-handle and a direct syscall, just use _open.
749 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
752 * libc/sys/mmixware/_exit.c (_exit): Update comment about
753 passing on the exit value.
755 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
757 * libc/string/strcasestr.c: New file.
758 * libc/include/string.h: Add strcasestr.
759 * libc/string/strings.tex: Add strcasestr.
760 * libc/string/Makefile.am: Ditto.
761 * libc/string/Makefile.in: Regenerated.
763 2007-06-06 Christian Groessler <chris@groessler.org>
765 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
766 rnd is done after the last local variable declaration.
768 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
770 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
772 2007-06-05 Christian Groessler <chris@groessler.org>
774 * libc/argz/argz_insert.c (argz_insert): Move delta variable
775 declaration to top of function in keeping with C89 standard.
777 2007-06-04 Eric Blake <ebb9@byu.net>
779 Implement funopen, fopencookie.
780 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
781 Switch to reentrant callbacks.
782 * libc/include/stdio.h (funopen): Fix declaration.
783 (fopencookie): Declare.
784 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
785 (__sseek64, __swrite64): Fix prototypes.
786 [__SCLE]: Pull in setmode declaration.
787 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
789 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
790 (__sseek64, __swrite64): Fix reentrancy.
791 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
793 * libc/stdio/ftell.c (_ftell_r): Likewise.
794 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
795 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
796 * libc/stdio/freopen.c (_freopen_r): Likewise.
797 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
798 * libc/stdio/refill.c (__srefill_r): Likewise.
799 * libc/stdio/siscanf.c (eofread): Likewise.
800 * libc/stdio/sscanf.c (eofread): Likewise.
801 * libc/stdio/vsiscanf.c (eofread1): Likewise.
802 * libc/stdio/vsscanf.c (eofread1): Likewise.
803 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
804 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
805 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
806 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
808 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
809 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
810 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
812 * libc/stdio/Makefile.in: Regenerate.
814 2007-05-29 Eric Blake <ebb9@byu.net>
816 Avoid more compiler warnings.
817 * libc/stdlib/btowc.c: Add missing header.
818 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
819 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
820 * libc/stdlib/wctob.c: Add missing header.
821 * libc/string/strcpy.c (strcpy): Avoid warnings.
822 * libc/string/strrchr.c (strrchr): Likewise.
824 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
826 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
828 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
829 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
830 on empty input strings.
831 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
832 looping through argz.
833 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
835 2007-05-27 Brian Dessent <brian@dessent.net>
837 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
840 2007-05-25 Eric Blake <ebb9@byu.net>
842 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
844 2007-05-24 Steve Ellcey <sje@cup.hp.com>
845 Charles Wilson <libtool@cwilson.fastmail.fm>
847 * libtool.m4: removed
848 * configure.in: invoke _LD_DECL_SED before conditionally initializing
849 libtool. Move AC_PROG_AWK outside conditional.
850 * libc/sys/linux/configure.in: Ditto.
851 * libc/sys/linux/linuxthreads/configure.in: Ditto.
852 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
853 * libc/sys/linux/machine/i386/configure.in: Ditto.
855 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
856 initializing libtool.
857 * libc/configure.in: Ditto.
858 * libc/machine/configure.in: Ditto.
859 * libc/machine/i386/configure.in: Ditto.
860 * libc/sys/configure.in: Ditto.
861 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
862 * libc/sys/linux/machine/configure.in: Ditto.
863 * libm/configure.in: Ditto.
864 * libm/machine/configure.in: Ditto.
866 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
867 * doc/Makefile.am: Ditto.
868 * iconvdata/Makefile.am: Ditto.
869 * libc/Makefile.am: Ditto.
870 * libc/machine/Makefile.am: Ditto.
871 * libc/machine/a29k/Makefile.am: Ditto.
872 * libc/machine/arm/Makefile.am: Ditto.
873 * libc/machine/bfin/Makefile.am: Ditto.
874 * libc/machine/cris/Makefile.am: Ditto.
875 * libc/machine/crx/Makefile.am: Ditto.
876 * libc/machine/d10v/Makefile.am: Ditto.
877 * libc/machine/d30v/Makefile.am: Ditto.
878 * libc/machine/fr30/Makefile.am: Ditto.
879 * libc/machine/frv/Makefile.am: Ditto.
880 * libc/machine/h8300/Makefile.am: Ditto.
881 * libc/machine/h8500/Makefile.am: Ditto.
882 * libc/machine/hppa/Makefile.am: Ditto.
883 * libc/machine/i386/Makefile.am: Ditto.
884 * libc/machine/i960/Makefile.am: Ditto.
885 * libc/machine/iq2000/Makefile.am: Ditto.
886 * libc/machine/m32c/Makefile.am: Ditto.
887 * libc/machine/m32r/Makefile.am: Ditto.
888 * libc/machine/m68hc11/Makefile.am: Ditto.
889 * libc/machine/m68k/Makefile.am: Ditto.
890 * libc/machine/m88k/Makefile.am: Ditto.
891 * libc/machine/mips/Makefile.am: Ditto.
892 * libc/machine/mn10200/Makefile.am: Ditto.
893 * libc/machine/mn10300/Makefile.am: Ditto.
894 * libc/machine/mt/Makefile.am: Ditto.
895 * libc/machine/necv70/Makefile.am: Ditto.
896 * libc/machine/powerpc/Makefile.am: Ditto.
897 * libc/machine/sh/Makefile.am: Ditto.
898 * libc/machine/sparc/Makefile.am: Ditto.
899 * libc/machine/spu/Makefile.am: Ditto.
900 * libc/machine/tic4x/Makefile.am: Ditto.
901 * libc/machine/tic80/Makefile.am: Ditto.
902 * libc/machine/v850/Makefile.am: Ditto.
903 * libc/machine/w65/Makefile.am: Ditto.
904 * libc/machine/xscale/Makefile.am: Ditto.
905 * libc/machine/xstormy16/Makefile.am: Ditto.
906 * libc/machine/z8k/Makefile.am: Ditto.
907 * libc/sys/Makefile.am: Ditto.
908 * libc/sys/a29khif/Makefile.am: Ditto.
909 * libc/sys/arc/Makefile.am: Ditto.
910 * libc/sys/arm/Makefile.am: Ditto.
911 * libc/sys/d10v/Makefile.am: Ditto.
912 * libc/sys/decstation/Makefile.am: Ditto.
913 * libc/sys/h8300hms/Makefile.am: Ditto.
914 * libc/sys/h8500hms/Makefile.am: Ditto.
915 * libc/sys/linux/Makefile.am: Ditto.
916 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
917 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
918 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
919 * libc/sys/linux/machine/Makefile.am: Ditto.
920 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
921 * libc/sys/m88kbug/Makefile.am: Ditto.
922 * libc/sys/mmixware/Makefile.am: Ditto.
923 * libc/sys/netware/Makefile.am: Ditto.
924 * libc/sys/rdos/Makefile.am: Ditto.
925 * libc/sys/rtems/Makefile.am: Ditto.
926 * libc/sys/sh/Makefile.am: Ditto.
927 * libc/sys/sparc64/Makefile.am: Ditto.
928 * libc/sys/sun4/Makefile.am: Ditto.
929 * libc/sys/sysmec/Makefile.am: Ditto.
930 * libc/sys/sysnec810/Makefile.am: Ditto.
931 * libc/sys/sysnecv850/Makefile.am: Ditto.
932 * libc/sys/sysvi386/Makefile.am: Ditto.
933 * libc/sys/sysvnecv70/Makefile.am: Ditto.
934 * libc/sys/tic80/Makefile.am: Ditto.
935 * libc/sys/w65/Makefile.am: Ditto.
936 * libc/sys/z8ksim/Makefile.am: Ditto.
937 * libm/Makefile.am: Ditto.
938 * libm/machine/Makefile.am: Ditto.
939 * libm/machine/i386/Makefile.am: Ditto.
940 * libm/machine/spu/Makefile.am: Ditto.
942 * aclocal.m4: Regenerate.
943 * iconvdata/aclocal.m4: Regenerate.
944 * libc/aclocal.m4: Regenerate.
945 * libc/machine/aclocal.m4: Regenerate.
946 * libc/machine/i386/aclocal.m4: Regenerate.
947 * libc/sys/aclocal.m4: Regenerate.
948 * libc/sys/linux/aclocal.m4: Regenerate.
949 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
950 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
951 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
952 * libc/sys/linux/machine/aclocal.m4: Regenerate.
953 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
954 * libm/aclocal.m4: Regenerate.
955 * libm/machine/aclocal.m4: Regenerate.
956 * libm/machine/i386/aclocal.m4: Regenerate.
958 * Makefile.in: Regenerate.
959 * doc/Makefile.in: Regenerate.
960 * iconvdata/Makefile.in: Regenerate.
961 * libc/Makefile.in: Regenerate.
962 * libc/argz/Makefile.in: Regenerate.
963 * libc/ctype/Makefile.in: Regenerate.
964 * libc/errno/Makefile.in: Regenerate.
965 * libc/iconv/Makefile.in: Regenerate.
966 * libc/iconv/ccs/Makefile.in: Regenerate.
967 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
968 * libc/iconv/ces/Makefile.in: Regenerate.
969 * libc/iconv/lib/Makefile.in: Regenerate.
970 * libc/locale/Makefile.in: Regenerate.
971 * libc/machine/Makefile.in: Regenerate.
972 * libc/machine/a29k/Makefile.in: Regenerate.
973 * libc/machine/arm/Makefile.in: Regenerate.
974 * libc/machine/bfin/Makefile.in: Regenerate.
975 * libc/machine/cris/Makefile.in: Regenerate.
976 * libc/machine/crx/Makefile.in: Regenerate.
977 * libc/machine/d10v/Makefile.in: Regenerate.
978 * libc/machine/d30v/Makefile.in: Regenerate.
979 * libc/machine/fr30/Makefile.in: Regenerate.
980 * libc/machine/frv/Makefile.in: Regenerate.
981 * libc/machine/h8300/Makefile.in: Regenerate.
982 * libc/machine/h8500/Makefile.in: Regenerate.
983 * libc/machine/hppa/Makefile.in: Regenerate.
984 * libc/machine/i386/Makefile.in: Regenerate.
985 * libc/machine/i960/Makefile.in: Regenerate.
986 * libc/machine/iq2000/Makefile.in: Regenerate.
987 * libc/machine/m32c/Makefile.in: Regenerate.
988 * libc/machine/m32r/Makefile.in: Regenerate.
989 * libc/machine/m68hc11/Makefile.in: Regenerate.
990 * libc/machine/m68k/Makefile.in: Regenerate.
991 * libc/machine/m88k/Makefile.in: Regenerate.
992 * libc/machine/mips/Makefile.in: Regenerate.
993 * libc/machine/mn10200/Makefile.in: Regenerate.
994 * libc/machine/mn10300/Makefile.in: Regenerate.
995 * libc/machine/mt/Makefile.in: Regenerate.
996 * libc/machine/necv70/Makefile.in: Regenerate.
997 * libc/machine/powerpc/Makefile.in: Regenerate.
998 * libc/machine/sh/Makefile.in: Regenerate.
999 * libc/machine/sparc/Makefile.in: Regenerate.
1000 * libc/machine/spu/Makefile.in: Regenerate.
1001 * libc/machine/tic4x/Makefile.in: Regenerate.
1002 * libc/machine/tic80/Makefile.in: Regenerate.
1003 * libc/machine/v850/Makefile.in: Regenerate.
1004 * libc/machine/w65/Makefile.in: Regenerate.
1005 * libc/machine/xscale/Makefile.in: Regenerate.
1006 * libc/machine/xstormy16/Makefile.in: Regenerate.
1007 * libc/machine/z8k/Makefile.in: Regenerate.
1008 * libc/misc/Makefile.in: Regenerate.
1009 * libc/posix/Makefile.in: Regenerate.
1010 * libc/reent/Makefile.in: Regenerate.
1011 * libc/search/Makefile.in: Regenerate.
1012 * libc/signal/Makefile.in: Regenerate.
1013 * libc/stdio/Makefile.in: Regenerate.
1014 * libc/stdio64/Makefile.in: Regenerate.
1015 * libc/stdlib/Makefile.in: Regenerate.
1016 * libc/string/Makefile.in: Regenerate.
1017 * libc/sys/Makefile.in: Regenerate.
1018 * libc/sys/a29khif/Makefile.in: Regenerate.
1019 * libc/sys/arc/Makefile.in: Regenerate.
1020 * libc/sys/arm/Makefile.in: Regenerate.
1021 * libc/sys/d10v/Makefile.in: Regenerate.
1022 * libc/sys/decstation/Makefile.in: Regenerate.
1023 * libc/sys/h8300hms/Makefile.in: Regenerate.
1024 * libc/sys/h8500hms/Makefile.in: Regenerate.
1025 * libc/sys/linux/Makefile.in: Regenerate.
1026 * libc/sys/linux/argp/Makefile.in: Regenerate.
1027 * libc/sys/linux/cmath/Makefile.in: Regenerate.
1028 * libc/sys/linux/dl/Makefile.in: Regenerate.
1029 * libc/sys/linux/iconv/Makefile.in: Regenerate.
1030 * libc/sys/linux/intl/Makefile.in: Regenerate.
1031 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
1032 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
1033 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1034 * libc/sys/linux/machine/Makefile.in: Regenerate.
1035 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1036 * libc/sys/linux/net/Makefile.in: Regenerate.
1037 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1038 * libc/sys/m88kbug/Makefile.in: Regenerate.
1039 * libc/sys/mmixware/Makefile.in: Regenerate.
1040 * libc/sys/netware/Makefile.in: Regenerate.
1041 * libc/sys/rdos/Makefile.in: Regenerate.
1042 * libc/sys/rtems/Makefile.in: Regenerate.
1043 * libc/sys/sh/Makefile.in: Regenerate.
1044 * libc/sys/sparc64/Makefile.in: Regenerate.
1045 * libc/sys/sun4/Makefile.in: Regenerate.
1046 * libc/sys/sysmec/Makefile.in: Regenerate.
1047 * libc/sys/sysnec810/Makefile.in: Regenerate.
1048 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1049 * libc/sys/sysvi386/Makefile.in: Regenerate.
1050 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1051 * libc/sys/tic80/Makefile.in: Regenerate.
1052 * libc/sys/w65/Makefile.in: Regenerate.
1053 * libc/sys/z8ksim/Makefile.in: Regenerate.
1054 * libc/syscalls/Makefile.in: Regenerate.
1055 * libc/time/Makefile.in: Regenerate.
1056 * libc/unix/Makefile.in: Regenerate.
1057 * libm/Makefile.in: Regenerate.
1058 * libm/common/Makefile.in: Regenerate.
1059 * libm/machine/Makefile.in: Regenerate.
1060 * libm/machine/i386/Makefile.in: Regenerate.
1061 * libm/machine/spu/Makefile.in: Regenerate.
1062 * libm/math/Makefile.in: Regenerate.
1063 * libm/mathfp/Makefile.in: Regenerate.
1065 * configure: Regenerate.
1066 * iconvdata/configure: Regenerate.
1067 * libc/configure: Regenerate.
1068 * libc/machine/configure: Regenerate.
1069 * libc/machine/i386/configure: Regenerate.
1070 * libc/sys/configure: Regenerate.
1071 * libc/sys/linux/configure: Regenerate.
1072 * libc/sys/linux/linuxthreads/configure: Regenerate.
1073 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1074 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1075 * libc/sys/linux/machine/configure: Regenerate.
1076 * libc/sys/linux/machine/i386/configure: Regenerate.
1077 * libm/configure: Regenerate.
1078 * libm/machine/configure: Regenerate.
1079 * libm/machine/i386/configure: Regenerate.
1081 2007-05-23 Eric Blake <ebb9@byu.net>
1083 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1084 sizeof(void*) is 8 but sizeof(long) is 4.
1085 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1086 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1087 to fix reentrancy and bug on encoding error in multibyte locales.
1088 Always return EOF on read error.
1090 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1092 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1094 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1095 instead of the slot 0 value, remove any now unused variables, and
1096 for some cases, now store the result in an int vs int*.
1097 * libc/machine/spu/feof.c: Ditto.
1098 * libc/machine/spu/ferror.c: Ditto.
1099 * libc/machine/spu/fflush.c: Ditto.
1100 * libc/machine/spu/fgetc.c: Ditto.
1101 * libc/machine/spu/fgetpos.c: Ditto.
1102 * libc/machine/spu/fgets.c: Ditto.
1103 * libc/machine/spu/fileno.c: Ditto.
1104 * libc/machine/spu/fopen.c: Ditto.
1105 * libc/machine/spu/fprintf.c: Ditto.
1106 * libc/machine/spu/fputc.c: Ditto.
1107 * libc/machine/spu/fputs.c: Ditto.
1108 * libc/machine/spu/fread.c: Ditto.
1109 * libc/machine/spu/freopen.c: Ditto.
1110 * libc/machine/spu/fscanf.c: Ditto.
1111 * libc/machine/spu/fseek.c: Ditto.
1112 * libc/machine/spu/fsetpos.c: Ditto.
1113 * libc/machine/spu/ftell.c: Ditto.
1114 * libc/machine/spu/fwrite.c: Ditto.
1115 * libc/machine/spu/getc.c: Ditto.
1116 * libc/machine/spu/getchar.c: Ditto.
1117 * libc/machine/spu/gets.c: Ditto.
1118 * libc/machine/spu/printf.c: Ditto.
1119 * libc/machine/spu/putc.c: Ditto.
1120 * libc/machine/spu/putchar.c: Ditto.
1121 * libc/machine/spu/puts.c: Ditto.
1122 * libc/machine/spu/remove.c: Ditto.
1123 * libc/machine/spu/rename.c: Ditto.
1124 * libc/machine/spu/scanf.c: Ditto.
1125 * libc/machine/spu/setvbuf.c: Ditto.
1126 * libc/machine/spu/snprintf.c: Ditto.
1127 * libc/machine/spu/sprintf.c: Ditto.
1128 * libc/machine/spu/sscanf.c: Ditto.
1129 * libc/machine/spu/tmpfile.c: Ditto.
1130 * libc/machine/spu/tmpnam.c: Ditto.
1131 * libc/machine/spu/ungetc.c: Ditto.
1132 * libc/machine/spu/vfprintf.c: Ditto.
1133 * libc/machine/spu/vfscanf.c: Ditto.
1134 * libc/machine/spu/vprintf.c: Ditto.
1135 * libc/machine/spu/vscanf.c: Ditto.
1136 * libc/machine/spu/vsnprintf.c: Ditto.
1137 * libc/machine/spu/vsprintf.c: Ditto.
1138 * libc/machine/spu/vsscanf.c: Ditto.
1140 2007-05-23 Eric Blake <ebb9@byu.net>
1142 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
1143 Avoid warning when !FLOATING_POINT.
1144 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
1147 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
1149 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
1151 * libc/include/argz.h: Guard against multiple inclusion. Guard for
1154 2007-05-18 Eric Blake <ebb9@byu.net>
1156 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
1158 * libc/stdio/vfscanf.c: Likewise.
1160 2007-05-17 Cary R. <cygcary <at> yahoo.com>
1162 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
1163 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
1164 * libm/math/wf_atan2.c: Ditto.
1166 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
1168 * libm/common/Makefile.am: Add support for exp10, exp10f,
1169 pow10, and pow10f functions.
1170 * libm/common/Makefile.in: Regenerated.
1171 * libm/common/s_pow10.c: New file.
1172 * libm/common/sf_pow10.c: Ditto.
1173 * libm/common/s_exp10.c: Ditto.
1174 * libm/common/sf_exp10.c: Ditto.
1175 * libc/include/math.h [!pow10]: New pow10 prototype.
1176 [!pow10f]: New pow10f prototype.
1177 [!exp10]: New exp10 prototype.
1178 [!exp10f]: New exp10f prototype.
1180 2007-05-17 Charles Wilson <cygwin@...>
1182 * stdio/tmpfile.c: Include <sys/stat.h>.
1183 * stdio64/tmpfile64.c: Ditto.
1185 2007-05-16 Eric Blake <ebb9@byu.net>
1187 Close security hole in tmpfile.
1188 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
1189 generation and opening the fd.
1190 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
1192 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
1193 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
1195 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
1196 avoid clash with <math.h>.
1198 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
1199 * libc/search/hash.c (__hash_open): Likewise.
1201 2007-05-14 Eric Blake <ebb9@byu.net>
1203 Reduce stack size of *printf.
1204 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
1205 in %f. Avoid malloc when possible for %S.
1206 (BUF): Improve stack locality by using smaller size.
1207 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
1208 (exponent): Use smaller stack size.
1210 2007-05-11 Eric Blake <ebb9@byu.net>
1212 Minimize printf/scanf size on platforms that don't need C99.
1213 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
1214 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
1215 * configure.in (newlib-io-c99-formats): New configure option.
1216 (_WANT_IO_C99_FORMATS): Define appropriately.
1217 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
1218 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
1219 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
1220 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
1222 * configure: Regenerate.
1224 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
1225 (get_arg): Support '%a' and '%A'.
1227 2007-05-09 Eric Blake <ebb9@byu.net>
1229 Allow zero size with non-null buf in *asnprintf.
1230 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
1232 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
1233 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1234 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
1236 2007-05-07 Charles Wilson <cygwin@...>
1238 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
1240 2007-05-03 Eric Blake <ebb9@byu.net>
1242 Add support for asnprintf, and improve *printf documentation.
1243 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
1244 (ELIX_2_SOURCES): ...to this.
1245 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
1246 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
1247 (CHEWOUT_FILES): Include diprintf in documentation.
1248 * libc/stdio/Makefile.in: Regenerate.
1249 * libc/stdio/diprintf.c: Improve documentation.
1250 * libc/stdio/dprintf.c: Likewise.
1251 * libc/stdio/siprintf.c: Likewise.
1252 * libc/stdio/sprintf.c: Likewise.
1253 * libc/stdio/vfprintf.c: Likewise.
1254 * libc/stdio/viprintf.c: Likewise.
1255 * libc/stdio/vsniprintf.c: Consolidate documentation.
1256 * libc/stdio/asiprintf.c: Refer to documentation.
1257 * libc/stdio/asprintf.c: Likewise.
1258 * libc/stdio/fiprintf.c: Likewise.
1259 * libc/stdio/fprintf.c: Likewise.
1260 * libc/stdio/iprintf.c: Likewise.
1261 * libc/stdio/printf.c: Likewise.
1262 * libc/stdio/sniprintf.c: Likewise.
1263 * libc/stdio/vdiprintf.c: Likewise.
1264 * libc/stdio/vdprintf.c: Likewise.
1265 * libc/stdio/vsiprintf.c: Likewise.
1266 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
1267 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
1268 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
1269 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
1271 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
1272 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
1274 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
1275 * libc/include/stdio.h: Add prototypes for new functions; sort
1278 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
1280 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1282 * libc/machine/m68k/Makefile.in: Regenerate.
1283 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
1284 * libc/machine/m68k/memset.S: Likewise.
1286 2007-05-01 Eric Blake <ebb9@byu.net>
1288 * libc/stdio64/local64.h: Delete, move contents to...
1289 * libc/stdio/local.h: ...here.
1290 * libc/stdio64/fdopen64.c: Update includes.
1291 * libc/stdio64/fopen64.c: Likewise.
1292 * libc/stdio64/freopen64.c: Likewise.
1293 * libc/stdio64/fseeko64.c: Likewise.
1294 * libc/stdio64/ftello64.c: Likewise.
1295 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
1296 and stderr with 64-bit offset.
1297 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
1298 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
1299 * libc/stdio/mktemp.c (_gettemp): Likewise.
1301 2007-05-01 Cary R. <cygcary <at> yahoo.com>
1303 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
1304 to treatment of NaN and +-inf arguments.
1305 * libm/math/ef_pow.c: Ditto.
1306 * libm/math/w_pow.c: Ditto.
1307 * libm/math/wf_pow.c: Ditto.
1308 * libm/math/w_acos.c: Fix domain errors to return NaN.
1309 * libm/math/w_asin.c: Ditto.
1310 * libm/math/wf_acos.c: Ditto.
1311 * libm/math/wf_asin.c: Ditto.
1312 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
1313 * libm/math/wf_log.c: Ditto.
1314 * libm/math/wf_log10.c: Ditto.
1315 * libm/math/w_log10.c: Ditto.
1317 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
1319 * libc/machine/m68k/Makefile.am: Temporarily remove
1320 memcpy.S and memset.S until logic can be confirmed for
1321 !(__mcoldfile__) case.
1322 * libc/machine/m68k/Makefile.in: Regenerated.
1324 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
1326 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1328 * libc/machine/m68k/Makefile.in: Regenerate.
1329 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
1331 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
1333 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
1334 overridden via machine/ieeefp.h.
1335 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
1336 macros for isnan and related macros.
1337 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
1338 overridden via machine/ieeefp.h.
1339 * libm/machine/spu/Makefile.am: Add new files.
1340 * libm/machine/spu/Makefile.in: Autogenerate with new files.
1341 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
1342 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
1343 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
1344 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
1345 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
1346 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
1347 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
1349 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
1351 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
1352 * libm/common/sf_fpclassify.c: ...here. New file.
1353 * libm/common/Makefile.am: Add sf_fpclassify.c.
1354 * libm/common/Makefile.in: Regenerated.
1356 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1358 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
1359 ppu linux values. This file is a copy of the cris/sys/errno.h plus
1360 a few changes (see spu errno.h comments).
1362 2007-04-25 Eric Blake <ebb9@byu.net>
1364 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
1365 that promote to int.
1367 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1369 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
1370 we clear the proper bits in the fpscr, and don't set some random ones.
1372 2007-04-24 Eric Blake <ebb9@byu.net>
1374 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
1377 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
1380 * libc/include/limits.h (NL_ARGMAX): Define a default value.
1381 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
1382 NL_ARGMAX, if present.
1384 2007-04-23 Brian Dessent <brian@dessent.net>
1386 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
1387 has been specified with types 'f', 'F', 'g', or 'G', ensure the
1388 trailing decimal is printed.
1390 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
1392 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
1393 file. Override Autoconf-2.59's version of these macros with
1394 fixed handling of multiple adjacent whitespace in arguments.
1395 * aclocal.m4: Regenerated forcefully.
1397 * Makefile.in: Ditto.
1398 * libc/*Makefile.in: Ditto.
1399 * libc/*aclocal.m4: Ditto.
1400 * libc/*configure: Ditto.
1401 * libm/*Makefile.in: Ditto.
1402 * libm/*aclocal.m4: Ditto.
1403 * libm/*configure: Ditto.
1405 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
1407 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
1408 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
1409 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
1410 * libc/sys/arc/Makefile.in: Regenerated.
1412 2007-04-17 Brian Dessent <brian@dessent.net>
1414 * libc/stdio/sscanf.c: Update documentation comments.
1415 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
1417 2007-04-12 Eric Blake <ebb9@byu.net>
1419 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1420 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1421 (get_arg): Handle %1$F, %1$n.
1423 2007-04-10 Eric Blake <ebb9@byu.net>
1425 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1428 2007-04-09 Eric Blake <ebb9@byu.net>
1430 * libc/include/stdio.h: Add gcc format attributes to printf and
1433 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
1435 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1436 even if the passed in length n is shorter than the source string.
1437 This matches both the non-spu specific and the glibc strxfrm
1440 2007-04-04 Mark Mitchell <mark@codesourcery.com>
1442 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1443 functions registering additional atexit functions.
1445 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1448 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
1450 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1452 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1453 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1454 * libc/machine/spu/fclose.c: Ditto.
1455 * libc/machine/spu/feof.c: Ditto.
1456 * libc/machine/spu/ferror.c: Ditto.
1457 * libc/machine/spu/fflush.c: Ditto.
1458 * libc/machine/spu/fgetc.c: Ditto.
1459 * libc/machine/spu/fgetpos.c: Ditto.
1460 * libc/machine/spu/fgets.c: Ditto.
1461 * libc/machine/spu/fileno.c: Ditto.
1462 * libc/machine/spu/fopen.c: Ditto.
1463 * libc/machine/spu/fprintf.c: Ditto.
1464 * libc/machine/spu/fputc.c: Ditto.
1465 * libc/machine/spu/fputs.c: Ditto.
1466 * libc/machine/spu/fread.c: Ditto.
1467 * libc/machine/spu/freopen.c: Ditto.
1468 * libc/machine/spu/fscanf.c: Ditto.
1469 * libc/machine/spu/fseek.c: Ditto.
1470 * libc/machine/spu/fsetpos.c: Ditto.
1471 * libc/machine/spu/ftell.c: Ditto.
1472 * libc/machine/spu/fwrite.c: Ditto.
1473 * libc/machine/spu/getc.c: Ditto.
1474 * libc/machine/spu/getchar.c: Ditto.
1475 * libc/machine/spu/gets.c: Ditto.
1476 * libc/machine/spu/perror.c: Ditto.
1477 * libc/machine/spu/printf.c: Ditto.
1478 * libc/machine/spu/putc.c: Ditto.
1479 * libc/machine/spu/putchar.c: Ditto.
1480 * libc/machine/spu/puts.c: Ditto.
1481 * libc/machine/spu/remove.c: Ditto.
1482 * libc/machine/spu/rename.c: Ditto.
1483 * libc/machine/spu/rewind.c: Ditto.
1484 * libc/machine/spu/scanf.c: Ditto.
1485 * libc/machine/spu/setbuf.c: Ditto.
1486 * libc/machine/spu/setvbuf.c: Ditto.
1487 * libc/machine/spu/snprintf.c: Ditto.
1488 * libc/machine/spu/sprintf.c: Ditto.
1489 * libc/machine/spu/sscanf.c: Ditto.
1490 * libc/machine/spu/tmpfile.c: Ditto.
1491 * libc/machine/spu/tmpnam.c: Ditto.
1492 * libc/machine/spu/ungetc.c: Ditto.
1493 * libc/machine/spu/vfprintf.c: Ditto.
1494 * libc/machine/spu/vfscanf.c: Ditto.
1495 * libc/machine/spu/vprintf.c: Ditto.
1496 * libc/machine/spu/vscanf.c: Ditto.
1497 * libc/machine/spu/vsnprintf.c: Ditto.
1498 * libc/machine/spu/vsprintf.c: Ditto.
1499 * libc/machine/spu/vsscanf.c: Ditto.
1501 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1503 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1505 2007-04-04 Eric Blake <ebb9@byu.net>
1507 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1508 (asiprintf): Avoid overhead.
1509 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1510 (asprintf): Avoid overhead.
1511 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1512 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1513 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1514 (fiprintf): Avoid overhead.
1515 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1516 (fprintf): Avoid overhead.
1517 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1518 (iprintf): Avoid overhead.
1519 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1520 (printf): Avoid overhead.
1521 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1522 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1523 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1524 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1525 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1526 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1527 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1528 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1529 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1531 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1532 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1534 2007-03-30 Dave Korn <dave.korn@artimi.com>
1536 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1537 conflicting inline semantics between C99 and GNU89.
1538 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1539 compatible with -fkeep-inline-functions usage.
1540 (__sputc_r): Likewise for consistency even though disabled.
1542 2007-03-29 Nick Clifton <nickc@redhat.com>
1544 Reflect changes made to generic vfprintf.c:
1545 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1546 and add a "struct reent *" argument.
1547 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1548 argument and call _VFPRINTF_R instead of VFPRINTF.
1549 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1550 Fix uses of __sprint() and __sbprintf.
1552 2007-03-20 Nick Clifton <nickc@redhat.com>
1554 Reflect changes made to generic vfprintf.c:
1555 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1556 and add a "struct reent *" argument.
1557 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1558 argument and call _VFPRINTF_R instead of VFPRINTF.
1559 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1560 Fix uses of __sprint() and __sbprintf.
1562 2007-03-16 Charles Wilson <cygwin@...>
1564 * libc/argz/argz_insert.c: "before" pointer is
1565 invalid after *argz realloc. Compute offset
1566 between "before" and *argz, and use it after
1567 reallocation instead.
1569 2007-03-16 Eric Blake <ebb9@byu.net>
1571 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1572 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1574 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1576 * configure.in: Add new --enable-newlib-reent-small option.
1577 * configure: Regenerated.
1578 * acconfig.h: Add _WANT_REENT_SMALL.
1579 * newlib.hin: Regenerated minus PACKAGE macros to add
1580 _WANT_REENT_SMALL macro.
1581 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1583 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1585 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1586 use reentrant pointer passed in when resetting the file
1587 pointer to one of the std streams.
1589 2007-03-15 Eric Blake <ebb9@byu.net>
1591 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1592 (__smakebuf): Rename...
1593 (__smakebuf_r): to this.
1594 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1595 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1596 allocation, then rename...
1597 (__smakebuf_r): ...to this and fix reentrancy.
1598 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1599 allocation, then rename...
1600 (__swsetup_r): ...to this and fix reentrancy.
1601 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1602 * libc/stdio/refill.c (__srefill_r): Likewise.
1603 * libc/stdio/fclose.c (_fclose_r): Likewise.
1604 * libc/stdio/fread.c (_fread_r): Likewise.
1605 * libc/stdio/freopen.c (_freopen_r): Likewise.
1606 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1607 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1608 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1609 failed asprintf allocation, and fix reentrancy.
1610 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1611 as required by POSIX.
1612 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1613 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1614 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1616 2007-03-12 Eric Blake <ebb9@byu.net>
1618 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1619 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1620 allocation to caller.
1621 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1622 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1623 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1625 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1627 * libm/math/w_pow.c: Fix typo in documentation comment.
1629 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1631 * libc/reent/timer.c: Removed (split into two new files).
1632 * libc/reent/timesr.c: New file for _times_r.
1633 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1634 * reent/Makefile.in: Remove timer.c, add timesr.c and
1636 * libc/reent/Makefile.am: Regenerate.
1638 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1640 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1642 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1644 * libc/machine/spu/Makefile.am: Add new objects.
1645 * libc/machine/spu/Makefile.in: Regenerated.
1646 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1647 integer-only version.
1648 * libc/machine/spu/fiscanf.c: Ditto.
1649 * libc/machine/spu/iprintf.c: Ditto.
1650 * libc/machine/spu/iscanf.c: Ditto.
1651 * libc/machine/spu/siprintf.c: Ditto.
1652 * libc/machine/spu/siscanf.c: Ditto.
1653 * libc/machine/spu/sniprintf.c: Ditto.
1654 * libc/machine/spu/vfiprintf.c: Ditto.
1655 * libc/machine/spu/vfiscanf.c: Ditto.
1656 * libc/machine/spu/viprintf.c: Ditto.
1657 * libc/machine/spu/viscanf.c: Ditto.
1658 * libc/machine/spu/vsiprintf.c: Ditto.
1659 * libc/machine/spu/vsiscanf.c: Ditto.
1660 * libc/machine/spu/vsniprintf.c: Ditto.
1661 * libc/machine/spu/fprintf.c: Add support for integer-only
1663 * libc/machine/spu/fscanf.c: Ditto.
1664 * libc/machine/spu/printf.c: Ditto.
1665 * libc/machine/spu/scanf.c: Ditto.
1666 * libc/machine/spu/snprintf.c: Ditto.
1667 * libc/machine/spu/sprintf.c: Ditto.
1668 * libc/machine/spu/sscanf.c: Ditto.
1669 * libc/machine/spu/vfprintf.c: Ditto.
1670 * libc/machine/spu/vfscanf.c: Ditto.
1671 * libc/machine/spu/vprintf.c: Ditto.
1672 * libc/machine/spu/vscanf.c: Ditto.
1673 * libc/machine/spu/vsnprintf.c: Ditto.
1674 * libc/machine/spu/vsprintf.c: Ditto.
1675 * libc/machine/spu/vsscanf.c: Ditto.
1677 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1679 * libc/include/stdio.h: Add declaration for vsiprintf.
1681 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1683 Add a floating point environment for SPU (cell):
1685 * configure.host: add libm_machine_dir=spu.
1686 * libm/machine/configure: Add spu.
1687 * libm/machine/configure.in: regenerated with spu added.
1688 * libc/machine/spu/include/fenv.h: New file.
1689 * libc/machine/spu/sys/fenv.h: Ditto.
1690 * libm/machine/spu/Makefile.am: Ditto.
1691 * libm/machine/spu/Makefile.in: Ditto.
1692 * libm/machine/spu/aclocal.m4: Ditto.
1693 * libm/machine/spu/configure: Ditto.
1694 * libm/machine/spu/configure.in: Ditto.
1695 * libm/machine/spu/fe_dfl_env.c: Ditto.
1696 * libm/machine/spu/feclearexcept.c: Ditto.
1697 * libm/machine/spu/fegetenv.c: Ditto.
1698 * libm/machine/spu/fegetexceptflag.c: Ditto.
1699 * libm/machine/spu/fegetround.c: Ditto.
1700 * libm/machine/spu/feholdexcept.c: Ditto.
1701 * libm/machine/spu/feraiseexcept.c: Ditto.
1702 * libm/machine/spu/fesetenv.c: Ditto.
1703 * libm/machine/spu/fesetexceptflag.c: Ditto.
1704 * libm/machine/spu/fesetround.c: Ditto.
1705 * libm/machine/spu/fetestexcept.c: Ditto.
1706 * libm/machine/spu/feupdateenv.c: Ditto.
1707 * libm/machine/spu/headers/feclearexcept.h: Ditto.
1708 * libm/machine/spu/headers/fefpscr.h: Ditto.
1709 * libm/machine/spu/headers/fegetenv.h: Ditto.
1710 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
1711 * libm/machine/spu/headers/fegetround.h: Ditto.
1712 * libm/machine/spu/headers/feholdexcept.h: Ditto.
1713 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
1714 * libm/machine/spu/headers/fesetenv.h: Ditto.
1715 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1716 * libm/machine/spu/headers/fesetround.h: Ditto.
1717 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1718 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1720 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
1722 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1725 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
1727 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1728 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1730 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
1732 * libc/include/sys/features.h: Add definition of all supported
1733 _POSIX_xxx values for Cygwin.
1734 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1736 (pthread_rwlockattr_t): Ditto.
1737 * libc/include/sys/unistd.h: Define all _SC_xxx values as
1738 required by SUSv3. Unify formatting.
1740 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
1742 * libc/include/sys/errno.h: Add ECANCELED.
1744 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1745 Kazunori Asayama <asayama@sm.sony.co.jp>
1747 * libc/machine/spu/Makefile.am: Add objects.
1748 * libc/machine/spu/Makefile.in: Regenerated.
1749 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
1751 * libc/machine/spu/snprintf.c: Ditto.
1752 * libc/machine/spu/sprintf.c: Ditto.
1753 * libc/machine/spu/sscanf.c: Ditto.
1754 * libc/machine/spu/remove.c: Ditto.
1755 * libc/machine/spu/rename.c: Ditto.
1756 * libc/machine/spu/tmpnam.c: Ditto.
1757 * libc/machine/spu/vsnprintf.c: Add initialization routine of
1759 * libc/machine/spu/vsprintf.c: Ditto.
1761 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1762 Kazunori Asayama <asayama@sm.sony.co.jp>
1764 * configure.host: Enable SPU specific stdio directory.
1765 * libc/machine/spu/Makefile.am: Add objects.
1766 * libc/machine/spu/Makefile.in: Regenerated.
1767 * libc/machine/spu/c99ppe.h: Add macros and function
1768 declarations to initialize SPU specific stdio stuffs.
1769 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
1770 specific FILE structures.
1771 * libc/machine/spu/perror.c: Add initialization routine of
1773 * libc/machine/spu/printf.c: Ditto.
1774 * libc/machine/spu/putchar.c: Ditto.
1775 * libc/machine/spu/puts.c: Ditto.
1776 * libc/machine/spu/vprintf.c: Ditto.
1777 * libc/machine/spu/clearerr.c: New file. Add a stdio function
1779 * libc/machine/spu/feof.c: Ditto.
1780 * libc/machine/spu/ferror.c: Ditto.
1781 * libc/machine/spu/fileno.c: Ditto.
1782 * libc/machine/spu/fopen.c: Ditto.
1783 * libc/machine/spu/fclose.c: Ditto.
1784 * libc/machine/spu/freopen.c: Ditto.
1785 * libc/machine/spu/fflush.c: Ditto.
1786 * libc/machine/spu/fseek.c: Ditto.
1787 * libc/machine/spu/ftell.c: Ditto.
1788 * libc/machine/spu/rewind.c: Ditto.
1789 * libc/machine/spu/fgetpos.c: Ditto.
1790 * libc/machine/spu/fsetpos.c: Ditto.
1791 * libc/machine/spu/fread.c: Ditto.
1792 * libc/machine/spu/fwrite.c: Ditto.
1793 * libc/machine/spu/getc.c: Ditto.
1794 * libc/machine/spu/getchar.c: Ditto.
1795 * libc/machine/spu/gets.c: Ditto.
1796 * libc/machine/spu/fgetc.c: Ditto.
1797 * libc/machine/spu/fgets.c: Ditto.
1798 * libc/machine/spu/ungetc.c: Ditto.
1799 * libc/machine/spu/putc.c: Ditto.
1800 * libc/machine/spu/fputc.c: Ditto.
1801 * libc/machine/spu/fputs.c: Ditto.
1802 * libc/machine/spu/vfprintf.c: Ditto.
1803 * libc/machine/spu/vfscanf.c: Ditto.
1804 * libc/machine/spu/fprintf.c: Ditto.
1805 * libc/machine/spu/fscanf.c: Ditto.
1806 * libc/machine/spu/scanf.c: Ditto.
1807 * libc/machine/spu/vscanf.c: Ditto.
1808 * libc/machine/spu/setbuf.c: Ditto.
1809 * libc/machine/spu/setvbuf.c: Ditto.
1810 * libc/machine/spu/tmpfile.c: Ditto.
1812 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
1814 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
1815 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
1816 around stdio macros that manipulate fields in the normal file
1818 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
1819 <sys/custom_file.h> to define custom FILE structure.
1820 * libc/include/sys/custom_file.h: New default header file
1821 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
1822 * libc/machine/spu/sys/custom_file.h: New file.
1824 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
1826 * configure.host: Define stdio directory as a variable.
1827 * libc/Makefile.am: Define stdio related names
1829 * libc/configure.in: Add detection routine of stdio directory.
1830 * libc/Makefile.in: Regenerated.
1831 * libc/configure: Ditto.
1832 * libc/argz/Makefile.in: Ditto.
1833 * libc/ctype/Makefile.in: Ditto.
1834 * libc/errno/Makefile.in: Ditto.
1835 * libc/iconv/Makefile.in: Ditto.
1836 * libc/iconv/ccs/Makefile.in: Ditto.
1837 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1838 * libc/iconv/ces/Makefile.in: Ditto.
1839 * libc/iconv/lib/Makefile.in: Ditto.
1840 * libc/locale/Makefile.in: Ditto.
1841 * libc/misc/Makefile.in: Ditto.
1842 * libc/posix/Makefile.in: Ditto.
1843 * libc/reent/Makefile.in: Ditto.
1844 * libc/search/Makefile.in: Ditto.
1845 * libc/signal/Makefile.in: Ditto.
1846 * libc/stdio/Makefile.in: Ditto.
1847 * libc/stdio64/Makefile.in: Ditto.
1848 * libc/stdlib/Makefile.in: Ditto.
1849 * libc/string/Makefile.in: Ditto.
1850 * libc/syscalls/Makefile.in: Ditto.
1851 * libc/time/Makefile.in: Ditto.
1852 * libc/unix/Makefile.in: Ditto.
1854 2007-01-30 Ben Elliston <bje@au.ibm.com>
1856 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
1858 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
1859 (printf): Pass fmt to va_start to suppress a warning.
1861 * libc/search/hash.c (init_hash): Make `info' parameter const.
1863 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
1865 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
1866 * libc/machine/spu/vec_literal.h: Ditto.
1867 * libc/machine/spu/strncmp.c: Ditto.
1869 2007-01-15 Joseph Myers <joseph@codesourcery.com>
1870 Kazu Hirata <kazu@codesourcery.com>
1872 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
1873 for E500V1 and E500V2.
1875 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
1877 * libm/configure.in: Always configure machine directory.
1878 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
1880 * libm/configure: Regenerated.
1881 * libm/Makefile.in: Ditto.
1882 * libm/*/Makefile.in: Ditto.
1884 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
1886 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
1888 2007-01-02 Ben Elliston <bje@au.ibm.com>
1890 * doc/makedoc.c: Include <stdlib.h>.
1891 (malloc, realloc): Remove extern declarations.
1893 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1895 * NEWS: Update with 1.15.0 info.
1897 * acinclude.m4: Change version number to 1.15.0.
1898 * aclocal.m4: Regenerated.
1900 * doc/aclocal.m4: Ditto.
1901 * doc/configure: Ditto.
1902 * libc/*/aclocal.m4: Ditto.
1903 * libc/*/configure: Ditto.
1904 * libc/libc.texinfo: Ditto.
1905 * libm/*/aclocal.m4: Ditto.
1906 * libm/*/configure: Ditto.
1907 * libm/libm.texinfo: Ditto.
1908 * libc/sys/linux/shared.ld: Add VERS_1.15.
1910 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
1912 Merge from newlib-csl-20060320-branch:
1913 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
1914 Kazu Hirata <kazu@codesourcery.com>
1916 * configure.host: Recognize fido.
1918 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
1920 * libc/machine/spu/c99ppe.h: New file
1921 * libc/machine/spu/perror.c: New file to override libc/stdio version.
1922 * libc/machine/spu/printf.c: New file
1923 * libc/machine/spu/putchar.c: New file
1924 * libc/machine/spu/puts.c: New file
1925 * libc/machine/spu/vprintf.c: New file
1926 * libc/machine/spu/vsnprintf.c: New file
1927 * libc/machine/spu/vsprintf.c: New file
1928 * libc/machine/spu/Makefile.am: Add new targets.
1929 * libc/machine/spu/Makefile.in: Regenerated.
1931 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1933 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
1934 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
1936 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1938 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
1939 2.6.5 version of Doug Lea's malloc which is the basis of
1942 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
1944 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
1946 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
1947 Eric Blake <ebb9@byu.net>
1949 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
1950 read but unused data.
1951 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
1952 even read streams may have side effects that must happen.
1954 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1956 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
1959 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1961 * libc/include/alloca.h: Add undef alloca to work with xlc.
1963 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
1965 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
1968 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1970 * libc/machine/spu/strncpy.c: Add padding.
1972 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1974 * testsuite/newlib.string/tstring.c:
1976 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
1978 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
1979 * libc/machine/spu/strrchr.c: Ditto.
1981 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
1983 * libc/include/math.h: Allow C99 functions/macros to be
1984 defined for C++ even when __STRICT_ANSI__.
1986 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
1988 * libc/stdio/makebuf.c (__smakebuf): If dealing with
1989 an asprintf-family buffer, make the default initial size 64.
1991 2006-11-29 Eric Blake <ebb9@byu.net>
1993 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
1994 asprintf, as well as quadratic realloc behavior.
1996 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
1998 * libc/machine/spu/memset.c: Fix type of explicit cast.
1999 * libc/machine/spu/strncmp.c: Add explicit cast.
2000 * libc/machine/spu/strrchr.c: Ditto.
2001 * libc/machine/spu/strspn.c: Ditto.
2003 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
2005 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
2006 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
2007 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
2008 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
2009 * libc/machine/spu/strncat.c: Explicit cast.
2010 * libc/machine/spu/strncmp.c: Use spu_splats.
2011 * libc/machine/spu/strncpy.c: Explicit cast.
2012 * libc/machine/spu/strrchr.c: Use spu_splats.
2013 * libc/machine/spu/strspn.c: Use spu_splats.
2015 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
2017 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
2019 2006-11-14 Eric Blake <ebb9@byu.net>
2021 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
2022 (chclass): ' is a flag. j, t, and z are modifiers.
2024 2006-11-08 Jie Zhang <jie.zhang@analog.com>
2026 * configure.host: Add support for bfin.
2027 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
2028 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
2029 * libc/machine/bfin/aclocal.m4: Generate.
2030 * libc/machine/bfin/configure.in: New.
2031 * libc/machine/bfin/configure: Generate.
2032 * libc/machine/bfin/Makefile.am: New.
2033 * libc/machine/bfin/Makefile.in: Generate.
2034 * libc/machine/bfin/setjmp.S: New.
2035 * libc/machine/bfin/longjmp.S: New.
2036 * libc/machine/configure.in: Add bfin support.
2037 * libc/machine/configure: Generate.
2039 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
2041 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2042 (_PC_FILESIZEBITS): Add definition.
2043 (_PC_2_SYMLINKS): Ditto.
2044 (_PC_SYMLINK_MAX): Ditto.
2046 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2048 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2049 version optimized for the cell spu.
2050 * libc/machine/spu/memmove.c: Ditto.
2051 * libc/machine/spu/memset.c: Ditto.
2052 * libc/machine/spu/strcat.c: Ditto.
2053 * libc/machine/spu/strchr.c: Ditto.
2054 * libc/machine/spu/strcmp.c: Ditto.
2055 * libc/machine/spu/strcpy.c: Ditto.
2056 * libc/machine/spu/strcspn.c: Ditto.
2057 * libc/machine/spu/strlen.c: Ditto.
2058 * libc/machine/spu/strncat.c: Ditto.
2059 * libc/machine/spu/strncmp.c: Ditto.
2060 * libc/machine/spu/strncpy.c: Ditto.
2061 * libc/machine/spu/strpbrk.c: Ditto.
2062 * libc/machine/spu/strrchr.c: Ditto.
2063 * libc/machine/spu/strspn.c: Ditto.
2064 * libc/machine/spu/strxfrm.c: Ditto.
2065 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
2066 removing altivec style initializers.
2067 * libc/machine/spu/Makefile.am: Add new files to list so they build
2068 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2070 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2072 * README: Add a brief section on how to regenerate
2073 configuration files in newlib.
2075 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2077 * libc/include/math.h: (exception): Add a comment
2078 telling fixincludes that we handle C vs. C++ issue.
2080 2006-10-11 Yang Tse <yangsita@gmail.com>
2082 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2085 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
2087 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2089 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2091 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2092 for clearerr, feof, or fileno.
2093 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2094 the dummy std stream scheme to use pointers to const external
2095 fake files, one for each standard stream.
2096 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2097 argument. For _REENT_SMALL, reset the file pointer if it
2098 matches one of the fake std stream pointers.
2099 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2101 * libc/stdio/fclose.c: Ditto.
2102 * libc/stdio/feof.c: Ditto.
2103 * libc/stdio/ferror.c: Ditto.
2104 * libc/stdio/fflush.c: Ditto.
2105 * libc/stdio/fgetc.c: Ditto.
2106 * libc/stdio/fgets.c: Ditto.
2107 * libc/stdio/fileno.c: Ditto.
2108 * libc/stdio/findfp.c: Ditto.
2109 * libc/stdio/fputc.c: Ditto.
2110 * libc/stdio/fputs.c: Ditto.
2111 * libc/stdio/fread.c: Ditto.
2112 * libc/stdio/freopen.c: Ditto.
2113 * libc/stdio/fseek.c: Ditto.
2114 * libc/stdio/ftell.c: Ditto.
2115 * libc/stdio/fwrite.c: Ditto.
2116 * libc/stdio/getc.c: Ditto.
2117 * libc/stdio/getdelim.c: Ditto.
2118 * libc/stdio/putc.c: Ditto.
2119 * libc/stdio/refill.c: Ditto.
2120 * libc/stdio/setvbuf.c: Ditto.
2121 * libc/stdio/ungetc.c: Ditto.
2122 * libc/stdio/vfprintf.c: Ditto.
2123 * libc/stdio/vfscanf.c: Ditto.
2124 * libc/stdio/wbuf.c: Ditto.: Ditto.
2125 * libc/stdio/wsetup.c: Ditto.
2126 * libc/stdio64/freopen64.c: Ditto.
2127 * libc/stdio64/fseeko64.c: Ditto.
2128 * libc/stdio64/ftello64.c: Ditto.
2129 * libc/machine/powerpc/vfprintf.c: Ditto.
2130 * libc/machine/powerpc/vfscanf.c: Ditto.
2132 2006-09-22 Paul Brook <paul@codesourcery.com>
2134 * libc/include/sys/reent.h: Define and use __reent_assert.
2136 2006-09-13 Joel Sherrill <joel@oarcorp.com>
2138 * libc/include/pthread.h: Add pthread barriers,
2139 rwlocks, and spinlocks. Change const to
2140 _CONST and prefix parameter names with
2142 * libc/include/sys/types.h: Add id and attribute
2143 types for barriers, wrlocks, and spinlocks.
2144 * libc/include/sys/features.h: Enable barriers,
2145 wrlocks, and spinlocks for RTEMS.
2147 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
2149 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
2150 supposed to be writable.
2151 * libm/common/s_lib_ver.c: Ditto.
2153 2006-09-12 Paul Brook <paul@codesourcery.com>
2155 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2157 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
2160 * libc/machine/xstormy16/Makefile.am:
2161 Add $(lpfx) prefix to LIBADD objects.
2162 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
2163 * libc/machine/xstormy16/Makefile.in: Regenerated.
2165 2006-09-06 Eric Blake <ebb9@byu.net>
2167 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
2168 't', and 'z' modifiers.
2170 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
2172 Merge from newlib-csl-20060320-branch:
2173 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
2175 * configure.host: Tell it we have _rename and _system when
2176 building m68k-unknown-elf.
2178 2006-08-29 Paul Brook <paul@codesourcery.com>
2180 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2182 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
2184 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
2185 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
2186 This is needed to build all AVR and H8300 RTEMS multilib variants.
2188 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
2190 * libc/machine/configure.in: Add configuration for SPU.
2191 * libc/machine/configure: Regenerated.
2192 * libc/machine/spu/memcpy.c: Include string.h.
2194 2006-08-22 Eric Blake <ebb9@byu.net>
2196 * libc/posix/popen.c (popen): Don't close output end of pipe in
2197 child if stdout was closed on entry.
2198 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2200 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
2202 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
2205 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
2207 * libc/time/gmtime.c: Correct man page; clock is not a
2208 local time and no conversion occurs.
2210 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2212 * configure.host (newlib_cflags) [spu]: Add special compiler
2213 options to reduce size.
2215 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2217 * configure.host: Add spu support.
2218 * libc/include/stdint.h: Ditto.
2219 * libc/include/machine/ieeefp.h: Ditto.
2220 * libc/include/machine/setjmp.h: Ditto.
2221 * libc/include/sys/config.h: Ditto.
2222 * libc/include/sys/types.h: Ditto.
2223 * libc/machine/spu/Makefile.am: New file.
2224 * libc/machine/spu/Makefile.in: Ditto.
2225 * libc/machine/spu/aclocal.m4: Ditto.
2226 * libc/machine/spu/configure: Ditto.
2227 * libc/machine/spu/configure.in: Ditto.
2228 * libc/machine/spu/memcpy.c: Ditto.
2229 * libc/machine/spu/setjmp.S: Ditto.
2231 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
2233 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
2236 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
2238 * libc/Makefile.am: Add libc_TEXINFOS dependency on
2239 generated .texi files.
2240 * libm/Makefile.am: Add libm_TEXINFOS dependency on
2241 generated .texi files.
2242 * libc/Makefile.in: Regenerated.
2243 * libm/Makefile.in: Ditto.
2245 2006-08-01 Thiemo Seufer <ths@mips.com>
2246 Nigel Stephens <nigel@mips.com>
2248 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
2249 define this to force _impure_ptr to live in the .sdata section.
2251 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2253 * acinclude.m4: Check for readelf tool.
2254 * configure.in: Use ${READELF} instead of hard-coding.
2255 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2257 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2259 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
2260 to avoid conflict with newer glibc's revision of mremap.
2262 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
2264 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
2265 floating-point format support. Also redefine
2266 dword0 and dword1 macros.
2267 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2268 to prevent setting dword1 which is an rvalue only.
2270 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
2272 * libc/stdlib/Makefile.am: Add new gdtoa routines.
2273 * libc/stdlib/Makefile.in: Regenerated.
2274 * libc/stdlib/gd_qnan.h: New file.
2275 * libc/stdlib/gdtoa-gethex.c: Ditto.
2276 * libc/stdlib/gdtoa-hexnan.c: Ditto.
2277 * libc/stdlib/gdtoa.h: Ditto.
2278 * libc/stdlib/mprec.c: Add new helper routines needed by
2280 * libc/stdlib/mprec.h: Integrate some defines and prototypes
2281 used by gdtoa routines here.
2282 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
2283 which adds C99 support such as nan, inf, and hexadecimal input
2286 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
2288 * libc/include/stdio.h (__sgetc_r): Fix typo.
2289 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
2290 * libc/stdio/rget.c (__srbuf): Reinstantiate.
2291 * libc/stdio/wbuf.c (__swbuf): Ditto.
2293 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
2295 * libc/include/stdio.h: Add new reentrant I/O prototypes for
2296 read/write functions. Change getc/putc macros to have reentrant underlying
2297 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
2298 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
2299 new reentrant I/O functions/macros for reading/writing.
2300 * libc/stdio/fgets.c: Ditto.
2301 * libc/stdio/fputc.c: Ditto.
2302 * libc/stdio/fputs.c: Ditto.
2303 * libc/stdio/fread.c: Ditto.
2304 * libc/stdio/fseek.c: Ditto.
2305 * libc/stdio64/fseeko64.c: Ditto.
2306 * libc/stdio/fwrite.c: Ditto.
2307 * libc/stdio/getc.c: Ditto.
2308 * libc/stdio/getc_u.c: Ditto.
2309 * libc/stdio/getchar.c: Ditto.
2310 * libc/stdio/getchar_u.c: Ditto.
2311 * libc/stdio/putc.c: Ditto.
2312 * libc/stdio/putc_u.c: Ditto.
2313 * libc/stdio/putchar.c: Ditto.
2314 * libc/stdio/puts.c: Ditto.
2315 * libc/stdio/vfprintf.c: Ditto.
2316 * libc/stdio/vfscanf.c: Ditto.
2317 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
2318 Change all previous callers of __sfvwrite. Set errno to EBADF and
2319 set error flag on if attempt is made to write to file that does not
2321 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
2322 * libc/stdio/local.h: Ditto.
2323 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
2324 Set errno to EBADF and the error flag on if attempt is made to
2325 read unreadable file. Change all previous callers of __srefill.
2327 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
2328 all previous callers of __swbuf.
2329 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
2330 huge value macros are already defined correctly for i386 by <math.h>.
2332 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
2334 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
2335 Make them do something useful in the ARM_RDI_MONITOR case.
2337 2006-06-07 Fred Fish <fnf@specifix.com>
2339 * libc/search/hash_bigkey.c (MIN,MAX): Remove
2340 defines that are already supplied by <sys/param.h>.
2342 2006-06-07 Fred Fish <fnf@specifix.com>
2344 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
2346 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2348 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
2350 * libc/posix/Makefile.in: Regenerate.
2351 * libc/posix/sleep.c: New file.
2352 * libc/posix/usleep.c: Ditto.
2354 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2356 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
2357 -DABORT_PROVIDED flag.
2358 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
2359 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
2361 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
2363 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
2364 * Makefile.in: Regenerated.
2365 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
2366 extraneous CFLAGS reference now that CCASFLAGS are being extended
2367 properly via multilib.
2368 * libc/machine/sh/Makefile.in: Regenerated.
2370 2006-06-02 Shaun Jackman <sjackman@gmail.com>
2372 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
2375 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2377 * libc/misc/dprintf.c: Removed.
2378 * libc/misc/__dprintf.c: Renamed from dprintf.c.
2379 * libc/misc/Makefile.am: Changed appropriately for rename.
2380 * libc/misc/Makefile.in: Regenerated.
2382 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2384 * libc/include/stdio.h: Protect dprintf prototype
2385 with #ifndef dprintf so as to not interfere with
2386 historical code defining their own dprintf macro.
2388 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
2390 * libc/include/stdio.h: Add prototypes for fiscanf,
2391 iscanf, and siscanf.
2393 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
2395 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
2396 (DEF_NEWLIB_VERSION).
2397 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
2398 * configure: Regenerate.
2400 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
2402 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
2404 * libc/ctype/Makefile.in: Regenerated.
2406 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
2408 * libc/machine/arm/Makefile.am: Fix a typo.
2409 * libc/machine/arm/Makefile.in: Regenerated.
2411 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
2413 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2414 * libc/machine/sh/Makefile.in: Regenerate.
2416 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
2418 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2419 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2421 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2423 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2425 * libc/sys/sysnec810/Makefile.in: Regenerated.
2426 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2427 * libc/sys/sysnec810/io.S: Ditto.
2428 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2429 * libc/sys/sysnec810/io.s: Ditto.
2431 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2433 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2434 be specified instead of object, do so.
2435 * libc/ctype/Makefile.am: Ditto.
2436 * libc/iconv/ccs/Makefile.am: Ditto.
2437 * libc/iconv/ces/Makefile.am: Ditto.
2438 * libc/iconv/lib/Makefile.am: Ditto.
2439 * libc/locale/Makefile.am: Ditto.
2440 * libc/posix/Makefile.am: Ditto.
2441 * libc/reent/Makefile.am: Ditto.
2442 * libc/search/Makefile.am: Ditto.
2443 * libc/stdio/Makefile.am: Ditto.
2444 * libc/stdio64/Makefile.am: Ditto.
2445 * libc/stdlib/Makefile.am: Ditto.
2446 * libc/string/Makefile.am: Ditto.
2447 * libc/syscalls/Makefile.am: Ditto.
2448 * libc/unix/Makefile.am: Ditto.
2449 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2450 prefix added automatically. Any specified rules must use $(lpfx) for
2452 * libc/machine/arm/Makefile.am: Ditto.
2453 * libc/machine/cris/Makefile.am: Ditto.
2454 * libc/machine/crx/Makefile.am: Ditto.
2455 * libc/machine/d10v/Makefile.am: Ditto.
2456 * libc/machine/d30v/Makefile.am: Ditto.
2457 * libc/machine/fr30/Makefile.am: Ditto.
2458 * libc/machine/frv/Makefile.am: Ditto.
2459 * libc/machine/h8300/Makefile.am: Ditto.
2460 * libc/machine/h8500/Makefile.am: Ditto.
2461 * libc/machine/hppa/Makefile.am: Ditto.
2462 * libc/machine/i386/Makefile.am: Ditto.
2463 * libc/machine/i960/Makefile.am: Ditto.
2464 * libc/machine/iq2000/Makefile.am: Ditto.
2465 * libc/machine/m32c/Makefile.am: Ditto.
2466 * libc/machine/m32r/Makefile.am: Ditto.
2467 * libc/machine/m68hc11/Makefile.am: Ditto.
2468 * libc/machine/m68k/Makefile.am: Ditto.
2469 * libc/machine/m88k/Makefile.am: Ditto.
2470 * libc/machine/mips/Makefile.am: Ditto.
2471 * libc/machine/mn10200/Makefile.am: Ditto.
2472 * libc/machine/mn10300/Makefile.am: Ditto.
2473 * libc/machine/mt/Makefile.am: Ditto.
2474 * libc/machine/necv70/Makefile.am: Ditto.
2475 * libc/machine/powerpc/Makefile.am: Ditto.
2476 * libc/machine/sh/Makefile.am: Ditto.
2477 * libc/machine/sh/Makefile.in: Ditto.
2478 * libc/machine/sparc/Makefile.am: Ditto.
2479 * libc/machine/tic4x/Makefile.am: Ditto.
2480 * libc/machine/tic80/Makefile.am: Ditto.
2481 * libc/machine/v850/Makefile.am: Ditto.
2482 * libc/machine/w65/Makefile.am: Ditto.
2483 * libc/machine/xscale/Makefile.am: Ditto.
2484 * libc/machine/xstormy16/Makefile.am: Ditto.
2485 * libc/machine/z8k/Makefile.am: Ditto.
2486 * libc/sys/a29khif/Makefile.am: Ditto.
2487 * libc/sys/arm/Makefile.am: Ditto.
2488 * libc/sys/d10v/Makefile.am: Ditto.
2489 * libc/sys/h8300hms/Makefile.am: Ditto.
2490 * libc/sys/h8500hms/Makefile.am: Ditto.
2491 * libc/sys/linux/Makefile.am: Ditto.
2492 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2493 * libc/sys/linux/net/Makefile.am: Ditto.
2494 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2495 * libc/sys/m88kbug/Makefile.am: Ditto.
2496 * libc/sys/mmixware/Makefile.am: Ditto.
2497 * libc/sys/rdos/Makefile.am: Ditto.
2498 * libc/sys/rtems/Makefile.am: Ditto.
2499 * libc/sys/sh/Makefile.am: Ditto.
2500 * libc/sys/sun4/Makefile.am: Ditto.
2501 * libc/sys/sysmec/Makefile.am: Ditto.
2502 * libc/sys/sysnec810/Makefile.am: Ditto.
2503 * libc/sys/sysnecv850/Makefile.am: Ditto.
2504 * libc/sys/sysvi386/Makefile.am: Ditto.
2505 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2506 * libc/sys/tic80/Makefile.am: Ditto.
2507 * libc/sys/w65/Makefile.am: Ditto.
2508 * libc/sys/z8ksim/Makefile.am: Ditto.
2509 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2510 * libc/machine/necv70/setjmp.S: Ditto.
2511 * libc/machine/necv70/fastmath.s: Removed.
2512 * libc/machine/necv70/setjmp.s: Ditto.
2513 * libc/machine/w65/*.S: New files renamed from .s files.
2514 * libc/machine/w65/*.s: Renamed and removed.
2515 * libc/sys/a29khif/*.S: New files renamed from .s files.
2516 * libc/sys/a29khif/*.s: Renamed and removed.
2517 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2518 * libc/sys/sysvi386/*.s: Renamed and removed.
2519 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2520 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2521 * libc/*Makefile.in: Regenerated as appropriate.
2523 2006-04-24 DJ Delorie <dj@redhat.com>
2525 * libc/machine/sh/configure.in: Avoid link tests.
2526 * libc/machine/sh/configure: Regenerate.
2528 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2530 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2531 (sigaddset, sigemptyset): Add return code.
2533 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2535 * acinclude.m4: New _NEWLIB_VERSION.
2536 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2537 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2538 Use new form of AC_INIT_AUTOMAKE.
2539 * configure.in: AC_PREREQ(2.59).
2540 Use autoconf-2.5.x version of AC_INIT.
2541 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2542 autoconf-2.13's AC_OUTPUT.
2543 * libm/configure.in: Ditto.
2544 * libm/machine/configure.in: Ditto.
2545 * libm/machine/i386/configure.in: Ditto.
2546 * libc/configure.in: Ditto.
2547 * libc/machine/a29k/configure.in: Ditto.
2548 * libc/machine/arm/configure.in: Ditto.
2549 * libc/machine/configure.in: Ditto.
2550 * libc/machine/mn10300/configure.in: Ditto.
2551 * libc/machine/powerpc/configure.in: Ditto.
2552 * libc/machine/z8k/configure.in: Ditto.
2553 * libc/machine/h8300/configure.in: Ditto.
2554 * libc/machine/mips/configure.in: Ditto.
2555 * libc/machine/crx/configure.in: Ditto.
2556 * libc/machine/m68hc11/configure.in: Ditto.
2557 * libc/machine/h8500/configure.in: Ditto.
2558 * libc/machine/xscale/configure.in: Ditto.
2559 * libc/machine/d10v/configure.in: Ditto.
2560 * libc/machine/fr30/configure.in: Ditto.
2561 * libc/machine/sh/configure.in: Ditto.
2562 * libc/machine/tic80/configure.in: Ditto.
2563 * libc/machine/m32r/configure.in: Ditto.
2564 * libc/machine/xstormy16/configure.in: Ditto.
2565 * libc/machine/i386/configure.in: Ditto.
2566 * libc/machine/d30v/configure.in: Ditto.
2567 * libc/machine/mn10200/configure.in: Ditto.
2568 * libc/machine/frv/configure.in: Ditto.
2569 * libc/machine/mt/configure.in: Ditto.
2570 * libc/machine/i960/configure.in: Ditto.
2571 * libc/machine/v850/configure.in: Ditto.
2572 * libc/machine/necv70/configure.in: Ditto.
2573 * libc/machine/tic4x/configure.in: Ditto.
2574 * libc/machine/cris/configure.in: Ditto.
2575 * libc/machine/m68k/configure.in: Ditto.
2576 * libc/machine/m32c/configure.in: Ditto.
2577 * libc/machine/hppa/configure.in: Ditto.
2578 * libc/machine/w65/configure.in: Ditto.
2579 * libc/machine/iq2000/configure.in: Ditto.
2580 * libc/machine/sparc/configure.in: Ditto.
2581 * libc/machine/m88k/configure.in: Ditto.
2582 * libc/sys/linux/configure.in: Ditto.
2583 * libc/sys/linux/machine/configure.in: Ditto.
2584 * libc/sys/linux/machine/i386/configure.in: Ditto.
2585 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2586 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2587 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2588 * libc/sys/arm/configure.in: Ditto.
2589 * libc/sys/configure.in: Ditto.
2590 * libc/sys/decstation/configure.in: Ditto.
2591 * libc/sys/a29khif/configure.in: Ditto.
2592 * libc/sys/sysnecv850/configure.in: Ditto.
2593 * libc/sys/d10v/configure.in: Ditto.
2594 * libc/sys/netware/configure.in: Ditto.
2595 * libc/sys/mmixware/configure.in: Ditto.
2596 * libc/sys/h8500hms/configure.in: Ditto.
2597 * libc/sys/sh/configure.in: Ditto.
2598 * libc/sys/tic80/configure.in: Ditto.
2599 * libc/sys/rdos/configure.in: Ditto.
2600 * libc/sys/sysmec/configure.in: Ditto.
2601 * libc/sys/sysvi386/configure.in: Ditto.
2602 * libc/sys/h8300hms/configure.in: Ditto.
2603 * libc/sys/sparc64/configure.in: Ditto.
2604 * libc/sys/arc/configure.in: Ditto.
2605 * libc/sys/sysnec810/configure.in: Ditto.
2606 * libc/sys/m88kbug/configure.in: Ditto.
2607 * libc/sys/sysvnecv70/configure.in: Ditto.
2608 * libc/sys/z8ksim/configure.in: Ditto.
2609 * libc/sys/rtems/configure.in: Ditto.
2610 * libc/sys/w65/configure.in: Ditto.
2611 * libc/sys/sun4/configure.in: Ditto.
2612 * doc/configure.in: Ditto.
2613 * iconvdata/configure.in: Ditto.
2614 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2616 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2618 * acinclude.m4: Properly add square brackets for
2619 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2620 macros no longer available. Add LIB_AM_PROG_AS to
2621 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2622 macro. Substitute lpfx (library object prefix).
2623 * configure.host: Set lpfx depending on whether
2624 libtool is used or not.
2625 * configure.in: Individually specify libc and libm
2626 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2628 * Makefile.am: Use $(lpfx) to get object names for
2629 math-library functions that should also be in libc.
2630 * libc/machine/configure.in: Use case statement to determine
2631 AC_CONFIG_SUBDIRS statement.
2632 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2633 * libc/sys/linux/machine/configure.in: Ditto.
2634 * libc/sys/configure.in: Ditto.
2635 * libm/machine/configure.in: Ditto.
2636 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2637 * libm/configure.in: Add AM_CONDITIONAL statement
2638 for HAVE_LIBM_MACHINE_DIR.
2639 * libc/machine/a29k/Makefile.am: Modified to work with
2640 latest automake. Change includes setting AM_CCASFLAGS
2641 so building .S files will properly pick up flags used
2643 * libc/machine/arm/Makefile.am: Ditto.
2644 * libc/machine/crx/Makefile.am: Ditto.
2645 * libc/machine/d10v/Makefile.am: Ditto.
2646 * libc/machine/d30v/Makefile.am: Ditto.
2647 * libc/machine/fr30/Makefile.am: Ditto.
2648 * libc/machine/frv/Makefile.am: Ditto.
2649 * libc/machine/h8300/Makefile.am: Ditto.
2650 * libc/machine/h8500/Makefile.am: Ditto.
2651 * libc/machine/hppa/Makefile.am: Ditto.
2652 * libc/machine/i386/Makefile.am: Ditto.
2653 * libc/machine/iq2000/Makefile.am: Ditto.
2654 * libc/machine/m32c/Makefile.am: Ditto.
2655 * libc/machine/m32r/Makefile.am: Ditto.
2656 * libc/machine/m68hc11/Makefile.am: Ditto.
2657 * libc/machine/m68k/Makefile.am: Ditto.
2658 * libc/machine/m88k/Makefile.am: Ditto.
2659 * libc/machine/mips/Makefile.am: Ditto.
2660 * libc/machine/mn10200/Makefile.am: Ditto.
2661 * libc/machine/mn10300/Makefile.am: Ditto.
2662 * libc/machine/mt/Makefile.am: Ditto.
2663 * libc/machine/necv70/Makefile.am: Ditto.
2664 * libc/machine/powerpc/Makefile.am: Ditto.
2665 * libc/machine/sh/Makefile.am: Ditto.
2666 * libc/machine/sparc/Makefile.am: Ditto.
2667 * libc/machine/tic4x/Makefile.am: Ditto.
2668 * libc/machine/tic80/Makefile.am: Ditto.
2669 * libc/machine/v850/Makefile.am: Ditto.
2670 * libc/machine/w65/Makefile.am: Ditto.
2671 * libc/machine/xscale/Makefile.am: Ditto.
2672 * libc/machine/xstormy16/Makefile.am: Ditto.
2673 * libc/machine/z8k/Makefile.am: Ditto.
2674 * libc/sys/a29khif/Makefile.am: Ditto.
2675 * libc/sys/arc/Makefile.am: Ditto.
2676 * libc/sys/arm/Makefile.am: Ditto.
2677 * libc/sys/d10v/Makefile.am: Ditto.
2678 * libc/sys/decstation/Makefile.am: Ditto.
2679 * libc/sys/h8300hms/Makefile.am: Ditto.
2680 * libc/sys/h8500hms/Makefile.am: Ditto.
2681 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2682 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2683 * libc/sys/m88kbug/Makefile.am: Ditto.
2684 * libc/sys/mmixware/Makefile.am: Ditto.
2685 * libc/sys/netware/Makefile.am: Ditto.
2686 * libc/sys/rdos/Makefile.am: Ditto.
2687 * libc/sys/rtems/Makefile.am: Ditto.
2688 * libc/sys/sh/Makefile.am: Ditto.
2689 * libc/sys/sparc64/Makefile.am: Ditto.
2690 * libc/sys/sysmec/Makefile.am: Ditto.
2691 * libc/sys/sysnec810/Makefile.am: Ditto.
2692 * libc/sys/sysnecv850/Makefile.am: Ditto.
2693 * libc/sys/sysvi386/Makefile.am: Ditto.
2694 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2695 * libc/sys/tic80/Makefile.am: Ditto.
2696 * libc/sys/w65/Makefile.am: Ditto.
2697 * libc/sys/z8ksim/Makefile.am: Ditto.
2698 * libm/machine/i386/Makefile.am: Ditto.
2699 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
2700 trap.S so that automake will generate a .S.o suffix rule.
2701 * libc/argz/Makefile.am: Modified to work with
2702 latest automake. Change includes adding lib_a_CFLAGS
2703 so automake doesn't complain about libtool and non-libtool
2704 libraries sharing objects.
2705 * libc/ctype/Makefile.am: Ditto.
2706 * libc/errno/Makefile.am: Ditto.
2707 * libc/iconv/ccs/Makefile.am: Ditto.
2708 * libc/iconv/ces/Makefile.am: Ditto.
2709 * libc/iconv/lib/Makefile.am: Ditto.
2710 * libc/locale/Makefile.am: Ditto.
2711 * libc/misc/Makefile.am: Ditto.
2712 * libc/posix/Makefile.am: Ditto.
2713 * libc/reent/Makefile.am: Ditto.
2714 * libc/search/Makefile.am: Ditto.
2715 * libc/signal/Makefile.am: Ditto.
2716 * libc/stdio/Makefile.am: Ditto.
2717 * libc/stdio64/Makefile.am: Ditto.
2718 * libc/stdlib/Makefile.am: Ditto.
2719 * libc/string/Makefile.am: Ditto.
2720 * libc/sys/linux/Makefile.am: Ditto.
2721 * libc/sys/linux/argp/Makefile.am: Ditto.
2722 * libc/sys/linux/cmath/Makefile.am: Ditto.
2723 * libc/sys/linux/dl/Makefile.am: Ditto.
2724 * libc/sys/linux/iconv/Makefile.am: Ditto.
2725 * libc/sys/linux/intl/Makefile.am: Ditto.
2726 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2727 * libc/sys/linux/net/Makefile.am: Ditto.
2728 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2729 * libc/syscalls/Makefile.am: Ditto.
2730 * libc/time/Makefile.am: Ditto.
2731 * libc/unix/Makefile.am: Ditto.
2732 * libm/Makefile.am: Ditto.
2733 * libm/common/Makefile.am: Ditto.
2734 * libm/math/Makefile.am: Ditto.
2735 * libm/mathfp/Makefile.am: Ditto.
2736 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2738 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
2740 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
2741 anymore. Assume there is a gettimeofday syscall.
2743 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2745 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
2746 for the declaration of n_long.
2748 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2750 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
2752 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
2753 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
2754 (IFF_NOTRAILERS): New define.
2755 (struct ifreq): Add ifru_netmask.
2756 (ifr_netmask): New define.
2758 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2760 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
2763 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2765 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
2766 linux-newlib libc implementations.
2768 2006-03-29 Eric Blake <ebb9@byu.net>
2770 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
2771 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
2773 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2775 * libc/sys/linux/io.c (__mknod): Fix declaration of
2776 syscall to pass a dev_t as third argument rather than
2779 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2781 * libc/sys/linux/net/name6.c: Fix struct references.
2783 2006-03-22 Mark Mitchell <mark@codesourcery.com>
2785 * configure.host: Allow hosts to set the default
2786 newlib_atexit_dynamic_alloc value.
2787 * configure.in: Likewise.
2788 * configure: Regenerated.
2790 2006-03-20 Mark Mitchell <mark@codesourcery.com>
2792 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
2793 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
2795 * configure: Regenerated.
2796 * newlib.hin: Regenerated.
2797 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
2798 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2799 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
2800 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2802 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
2804 * libc/sys/linux/linuxthreads/config.h: Remove definition
2807 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
2809 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
2810 for a string I/O file that isn't using the asprintf family.
2812 2006-03-07 Eric Blake <ebb9@byu.net>
2814 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
2815 filename, allow read-only or write-only FILE atop O_RDWR file
2817 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
2819 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
2821 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
2822 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
2824 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
2826 * libm/math/math.tex: Fix reference to sisnan.def which
2827 is now in common subdirectory.
2828 * libm/mathfp/mathfp.tex: Ditto.
2830 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
2832 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
2833 s_isnand, and sf_isnanf object files.
2834 * Makefile.in: Regenerated.
2835 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
2836 conflict if <math.h> has previously been included.
2837 * libc/include/math.h
2838 * libc/include/math.h: Make isnan and isinf macros to
2840 (__isinfd, __isinff, __isnand, __isnanf): New functions.
2841 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
2842 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
2843 sf_isinf files which have been moved from math/mathfp directories.
2844 * libm/common/Makefile.in: Regenerated.
2845 * libm/common/s_isinfd.c: New file.
2846 * libm/common/s_isnand.c: Ditto.
2847 * libm/common/sf_isinff.c: Ditto.
2848 * libm/common/sf_isnanf.c: Ditto.
2849 * libm/common/s_isinf.c: Moved from libm/math directory.
2850 * libm/common/s_isnan.c: Ditto.
2851 * libm/common/sf_isinf.c: Ditto.
2852 * libm/common/sf_isnan.c: Ditto.
2853 * libm/math/Makefile.am: Remove isinf and isnan family functions
2854 which have been moved into common directory.
2855 * libm/mathfp/Makefile.am: Ditto.
2856 * libm/math/Makefile.in: Regenerated.
2857 * libm/mathfp/Makefile.in: Ditto.
2858 * libm/math/s_isinf.c: Removed.
2859 * libm/math/s_isnan.c: Ditto.
2860 * libm/math/sf_isinf.c: Ditto.
2861 * libm/math/sf_isnan.c: Ditto.
2862 * libm/mathfp/s_isinf.c: Ditto.
2863 * libm/mathfp/s_isnan.c: Ditto.
2864 * libm/mathfp/sf_isinf.c: Ditto.
2865 * libm/mathfp/sf_isnan.c: Ditto.
2867 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
2869 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
2870 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
2871 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
2872 seek, turn off the __SNPT no-optimization flag.
2874 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
2876 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
2878 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
2879 <features.h> to preset special flags.
2881 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
2883 * libc/include/sys/time.h (struct timeval): Change member types
2885 * libc/include/sys/types.h (useconds_t): Change to unsigned
2887 (suseconds_t): Define type.
2889 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
2890 David Carne <davidcarne@gmail.com>
2892 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
2893 instead of strlen to determine number of bytes to copy.
2894 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
2895 before looking at storage location.
2897 2006-02-07 Paul Brook <paul@codesourcery.com>
2899 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
2900 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
2901 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
2902 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
2903 * libc/sys/arm/trap.S: Disable for Thumb-2.
2905 2006-01-31 Leif Ekblad <leif@rdos.net>
2907 * configure.host: RDOS support added
2908 * libc/include/sys/config.h: Ditto.
2909 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
2910 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
2911 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
2912 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
2913 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
2914 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
2915 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
2916 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
2917 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
2918 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
2919 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
2920 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
2921 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
2922 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
2923 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
2924 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
2925 * libc/sys/rdos/write.c: Ditto.
2927 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
2929 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
2930 so as not to define PACKAGE and VERSION in newlib.h.
2931 * aclocal.m4: Regenerated.
2933 * newlib.hin: Ditto.
2935 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
2937 * acconfig.h: New file to generate newlib.hin from.
2938 * newlib.hin: Regenerated.
2939 * stamp-h.in: Regenerated.
2940 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
2941 called automatically.
2942 * Makefile.in: Regenerated.
2943 * acinclude.m4: Add proper comment for hack in previous change.
2944 * aclocal.m4 */aclocal.m4: Regenerated.
2945 * configure */configure: Regenerated.
2947 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
2949 * acinclude.m4: Add hack to prevent INSTALL in subdirs
2950 from being set to "../".
2951 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
2952 * aclocal.m4: Regenerated.
2954 * Makefile.in: Ditto.
2955 * doc/aclocal.m4: Ditto.
2956 * doc/configure: Ditto.
2957 * iconvdata/aclocal.m4: Ditto.
2958 * iconvdata/configure: Ditto.
2959 * libc/*/aclocal.m4: Ditto.
2960 * libc/*/configure: Ditto.
2961 * libc/libc.texinfo: Ditto.
2962 * libm/*/aclocal.m4: Ditto.
2963 * libm/*/configure: Ditto.
2965 2006-01-10 Eric Blake <ebb9@byu.net>
2967 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
2968 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2970 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
2972 * libm/mathfp/s_frexp.c: Check for special values on
2973 the original input, not the manipulated output value.
2974 * libm/mathfp/sf_frexp.c: Ditto.
2975 * libm/mathfp/s_atangent.c: Don't use local value branch
2976 when checking for quadrant.
2977 * libm/mathfp/sf_atangent.c: Ditto.
2979 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
2981 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
2982 * libc/stdio64/freopen64.c: Ditto.
2984 2006-01-09 Eric Blake <ebb9@byu.net>
2986 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
2987 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2989 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
2991 * libc/sys/linux/include/getopt.h: Add macros needed by
2992 new version of getopt.c in libc/stdlib.
2994 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
2996 * libc/stdlib/getopt.c: Replaced with version
2997 that adds getopt_long and getopt_long_only support.
2998 * libc/include/getopt.h: New file.
3000 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3002 * NEWS: Update with 1.14.0 info.
3004 * acinclude.m4: Change version number to 1.14.0.
3005 * aclocal.m4: Regenerated.
3007 * doc/aclocal.m4: Ditto.
3008 * doc/configure: Ditto.
3009 * libc/*/aclocal.m4: Ditto.
3010 * libc/*/configure: Ditto.
3011 * libc/libc.texinfo: Ditto.
3012 * libm/*/aclocal.m4: Ditto.
3013 * libm/*/configure: Ditto.
3014 * libm/libm.texinfo: Ditto.
3015 * libc/sys/linux/shared.ld: Add VERS_1.14.
3017 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3019 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
3020 take a pointer to struct stat64 rather than struct stat.
3022 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
3024 * libc/include/stdint.h: Prefer long over int for int32_t.
3025 Use __have_long32 to set up int32_t.
3026 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
3027 (Sync with stdint.h).
3029 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
3031 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
3032 typo in O_NDELAY comment.
3034 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3036 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3037 * libc/include/machine/setjmp.h (__mt__): Likewise.
3038 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3039 * libc/machine/configure.in: Ditto.
3041 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3043 * configure.host: Replace ms1 arch with mt arch.
3044 * libc/machine/mt: Renamed from ms1 dir.
3046 2005-12-08 Shaun Jackman <sjackman@gmail.com>
3048 * libc/include/sys/types.h: Remove the ifdef armour around
3049 standard POSIX types.
3051 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3053 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3054 rtems_gxx_key_delete, rtems_gxx_getspecific,
3055 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3056 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
3057 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3059 2005-12-05 Christopher Faylor <cgf@timesys.com>
3061 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3062 file. Declare unsetenv and _unsetenv_r when not cygwin.
3064 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3066 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3067 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3069 2005-11-18 Christopher Faylor <cgf@timesys.com>
3071 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3073 2005-11-18 Christopher Faylor <cgf@timesys.com>
3075 * include/time.h: Remove more cygwin-specific stuff.
3077 2005-11-18 Christopher Faylor <cgf@timesys.com>
3079 * include/time.h: Move cygwin declarations to cygwin-specific header.
3080 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3082 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3084 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3085 in libc/sys/linux/include.
3086 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3087 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3088 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3089 in libc/sys/linux/dl.
3091 2005-11-11 Christopher Faylor <cgf@timesys.com>
3093 * libc/include/sys/time.h: For cygwin, use general header rather than
3094 specific "sys/select.h".
3096 2005-11-08 Tom Walsh <tom@openhardware.net>
3098 * libc/time/tzvars.c: New file.
3099 * libc/time/tzset_r.c: Moved globals into tzvars.c
3100 so other time functions needn't link in __tzset_r and its
3102 * libc/time/Makefile.am: Add the new file.
3103 * libc/time/Makefile.in: Regenerated.
3105 2005-11-08 Christopher Faylor <cgf@timesys.com>
3107 * libc/include/string.h: Add cygwin-specific function declaration.
3109 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
3111 * libc/include/ieeefp.h: Add C++ guards.
3113 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3115 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
3116 * libc/unix/getlogin.c: Ditto.
3117 * libc/unix/getpass.c: Ditto.
3118 * libc/unix/getut.c: Ditto.
3119 * libc/unix/ttyname.c: Ditto.
3121 2005-11-03 Shaun Jackman <sjackman@gmail.com>
3123 * libc/include/sys/unistd.h (readlink, symlink): Provide these
3124 prototypes by default.
3125 * libc/sys/linux/include/unistd.h (readlink): Remove this
3127 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
3130 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
3132 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
3134 2005-10-31 Darin Johnson <darin@usa.net>
3136 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
3137 correct for constants.
3139 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3141 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
3142 * libc/stdio/siscanf.c: Likewise.
3143 * libc/stdio/sprintf.c: Likewise.
3144 * libc/stdio/sscanf.c: Likewise.
3145 * libc/stdio/vfprintf.c: Likewise.
3146 * libc/stdio/vfscanf.c: Likewise.
3147 * libc/stdio/viprintf.c: Likewise.
3148 * libc/stdio/viscanf.c: Likewise.
3150 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3152 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
3153 example to use "_end" symbol instead of "end". Change write example
3154 to use "outbyte" instead of "writechar".
3156 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3158 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
3159 * libc/ctype/islower.c: Likewise.
3160 * libc/ctype/isupper.c: Likewise.
3161 * libc/ctype/iswalnum.c: Likewise.
3162 * libc/ctype/iswalpha.c: Likewise.
3163 * libc/ctype/iswblank.c: Likewise.
3164 * libc/ctype/iswcntrl.c: Likewise.
3165 * libc/ctype/iswdigit.c: Likewise.
3166 * libc/ctype/iswgraph.c: Likewise.
3167 * libc/ctype/iswlower.c: Likewise.
3168 * libc/ctype/iswprint.c: Likewise.
3169 * libc/ctype/iswpunct.c: Likewise.
3170 * libc/ctype/iswspace.c: Likewise.
3171 * libc/ctype/iswupper.c: Likewise.
3172 * libc/ctype/iswxdigit.c: Likewise.
3173 * libc/ctype/tolower.c: Likewise.
3174 * libc/ctype/toupper.c: Likewise.
3175 * libc/ctype/towctrans.c: Likewise.
3176 * libc/ctype/towlower.c: Likewise.
3177 * libc/ctype/towupper.c: Likewise.
3178 * libc/string/strcasecmp.c: Likewise.
3179 * libc/string/strcoll.c: Likewise.
3180 * libc/string/strings.tex: Likewise.
3181 * libc/string/strlwr.c: Likewise.
3182 * libc/string/strncasecmp.c: Likewise.
3183 * libc/string/strupr.c: Likewise.
3184 * libc/string/wcscoll.c: Likewise.
3185 * libc/string/wcslcat.c: Likewise.
3186 * libc/string/wcslcpy.c: Likewise.
3187 * libc/string/wcsnlen.c: Likewise.
3188 * libc/string/wcsstr.c: Likewise.
3189 * libc/string/wcstrings.tex: Likewise.
3190 * libc/string/wmemchr.c: Likewise.
3191 * libc/string/wmemcmp.c: Likewise.
3192 * libc/string/wmemcpy.c: Likewise.
3193 * libc/string/wmemmove.c: Likewise.
3194 * libc/string/wmemset.c: Likewise.
3196 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3198 * libc/misc/unctrl.c: Replace FUNCTION description.
3199 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
3200 * libc/stdio/getdelim.c: Fix spelling errors.
3201 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
3202 * libc/stdio/putw.c: Likewise.
3203 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
3205 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
3206 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
3207 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
3208 * libc/stdlib/mlock.c: Likewise.
3209 * libc/stdlib/mstats.c: Likewise.
3210 * libc/time/tzlock.c: Likewise.
3211 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
3212 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
3213 and hyphenate "pseudo-random".
3214 * libc/string/bcmp.c: Remove extra blank lines in documentation.
3215 * libc/string/strncat.c: Likewise.
3216 * libc/string/memchr.c: Remove extra ">" character in documentation.
3217 * libc/string/strcspn.c: Use "characters" instead of "chars".
3218 * libc/string/strpbrk.c: Likewise.
3219 * libc/string/strerror_r.c: Capitalize "GNU".
3220 * libc/string/strnlen.c: Likewise.
3221 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
3222 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
3223 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
3224 * libc/string/wcschr.c: Likewise.
3225 * libc/string/wcscmp.c: Likewise.
3226 * libc/string/wcscpy.c: Likewise.
3227 * libc/string/wcscspn.c: Likewise.
3228 * libc/string/wcslen.c: Likewise.
3229 * libc/string/wcsncat.c: Likewise.
3230 * libc/string/wcsncmp.c: Likewise.
3231 * libc/string/wcsncpy.c: Likewise.
3232 * libc/string/wcsnlen.c: Likewise.
3233 * libc/string/wcspbrk.c: Likewise.
3234 * libc/string/wcsrchr.c: Likewise.
3235 * libc/string/wcsspn.c: Likewise.
3236 * libc/string/wmemchr.c: Likewise.
3237 * libc/string/wmemcmp.c: Likewise.
3238 * libc/string/wmemcpy.c: Likewise.
3239 * libc/string/wmemset.c: Likewise.
3240 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
3241 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
3242 * libc/string/wcwidth.c: Likewise.
3243 * libm/common/s_modf.c: Remove extra period from documentation.
3244 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
3246 * libm/mathfp/s_isnan.c: Likewise.
3247 * libm/math/s_ldexp.c: Fix punctuation.
3248 * libm/mathfp/s_ldexp.c: Likewise.
3249 * libm/math/w_log.c: Likewise.
3250 * libm/mathfp/s_logarithm.c: Likewise.
3251 * libm/math/w_j0.c: Add spaces to FUNCTION description.
3252 * libm/mathfp/w_jn.c: Likewise.
3254 2005-10-26 Shaun Jackman <sjackman@gmail.com>
3256 * libc/posix/scandir.c (scandir): Update the function
3257 prototype to match the header.
3258 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
3260 * libc/sys/linux/sys/lock.h: Do not include
3261 machine/weakalias.h, since it's not used by this file.
3263 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
3265 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
3266 directories can override properly.
3268 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
3270 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
3271 gcc is 3.3 or greater, use special gcc builtins.
3273 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
3275 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
3277 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
3279 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
3281 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3283 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
3284 * libm/common/Makefile.am: Add s_infconst.c support.
3285 * libm/common/Makefile.in: Regenerated.
3286 * libm/common/s_infconst.c: New file with float and
3287 long double infinity support added.
3288 * libm/math/Makefile.am: Remove s_infconst.c support.
3289 * libm/math/Makefile.in: Regenerated.
3290 * libm/math/s_infconst.c: Moved to common directory.
3291 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
3292 * libm/mathfp/Makefile.in: Regenerated.
3293 * libm/mathfp/s_infconst.c: Moved to common directory.
3295 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3297 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
3298 dbgprintf to prevent conflict with new dprintf function.
3300 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3302 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
3303 "nan" processing for systems that have long double support.
3305 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3307 * libc/sys/linux/sys/types.h (int8_t): Add type.
3309 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3311 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
3312 * libm/common/Makefile.in: Regenerate.
3313 * libm/common/common.tex: Delete file.
3314 * libm/math/math.tex: Include .def files from common/.
3315 * libm/mathfp/mathfp.tex: Likewise.
3317 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3319 * libc/libc.texinfo (Top): Surround this node with @ifnottex
3320 instead of @ifinfo. Update menu to add Introduction and match
3322 (Introduction): New section.
3324 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3326 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
3327 with "Red Hat newlib C Library".
3328 * libc/sys.tex (Stubs): Likewise.
3329 * libm/math/math.tex (Math): Likewise.
3330 * libm/mathfp/mathfp.tex (Math): Likewise.
3332 2005-10-11 Shaun Jackman <sjackman@gmail.com>
3334 * libc/include/stdio.h (dprintf): New declaration.
3336 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
3338 * libc/stdio/Makefile.in: Regenerate.
3339 * libc/stdio/dprintf.c: New file.
3340 * libc/stdio/vdprintf.c: New file.
3341 * libc/stdio/stdio.tex (dprintf): New entry.
3343 2005-10-11 David Weatherford <weath@tensilica.com>
3345 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
3346 Print "inf" and "nan" in lowercase for e/f/g formats and in
3347 uppercase for E/F/G formats.
3349 2005-10-07 Bob Wilson <bob.wilson@acm.org>
3351 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
3352 to ENOMEM on failure.
3354 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3356 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
3358 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
3360 * libc/include/stdint.h: Move magic to set __have_long* to the
3361 beginning. Use #if __have* instead of #if defined(__have*).
3364 2005-10-04 James E Wilson <wilson@specifix.com>
3366 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
3369 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
3371 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
3372 incorporate Ralf's change below.
3374 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
3376 * libc/include/stdint.h:
3377 Use __INTMAX_TYPE__ to derive intmax_t.
3378 Use __UINTMAX_TYPE__ to derive uintmax_t.
3381 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
3383 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
3386 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3388 * libc/sys/linux/include/stdint.h: Update to match functionality
3389 of generic newlib stdint.h.
3391 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3393 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
3394 and do not #undef the macro after it is used. Fix typos.
3395 Also change 64-bit constants to use the __have_long64 and
3396 __have_longlong64 flags to determine if long or long long
3397 constants should be used.
3398 * libc/include/inttypes.h: Include stddef.h to get wchar_t
3401 2005-09-20 Shaun Jackman <sjackman@gmail.com>
3403 * libc/include/stdint.h: Fix typo in names of
3406 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3408 * libc/sys/rtems/include/inttypes.h: Moved to...
3409 * libc/include/inttypes.h: ...here.
3411 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
3413 * libc/sys/rtems/include/stdint.h: Moved to...
3414 * libc/include/stdint.h: ...here.
3416 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
3418 * Makefile.am: Add include files under bits sub-directory.
3419 * Makefile.in: Regenerated.
3420 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3421 actual value of 1 to be compatible with newer glibc headers.
3422 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3424 * libc/sys/linux/sys/dirent.h: Ditto.
3425 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3426 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3427 profile_fixup routines are marked used so they won't be
3429 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3430 to mark functions as weak.
3431 * libc/sys/linux/dl/dl-open.c: Ditto.
3432 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3433 rules about lvalues.
3434 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3435 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3436 weak_extern macro to mark functions as weak. Instead always
3438 * iconvdata/jis0208.h: Fix to work with gcc4.
3439 * libc/sys/linux/dl/dl-load.c: Ditto.
3440 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3441 * libc/sys/linux/dl/do-rel.h: Ditto.
3442 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3443 * libc/sys/linux/include/ltdl.h: Ditto.
3444 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3445 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3446 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3447 * libc/sys/linux/bits/initspin.h: New file.
3448 * libc/sys/linux/bits/libc-lock.h: Ditto.
3449 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3450 * libc/sys/linux/bits/typesizes.h: Ditto.
3452 2005-09-08 Eric Blake <ebb9@byu.net>
3454 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3457 2005-09-08 Brian Dessent <brian@dessent.net>
3459 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3463 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3465 * libc/include/stdio.h: Add prototype for viprintf.
3467 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3469 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3470 any positive power results in 0.
3471 * libm/mathfp/sf_pow.c (powf): Ditto.
3473 2005-08-31 Paul Brook <paul@codesourcery.com>
3475 * configure.host: Set have_crt0 to no for Arm targts when not
3476 providing syscalls. Set sys_dir=arm unconditionally.
3477 Default have_crt0 based on sys_dir.
3478 * configure.in: Use have_crt0.
3479 * libc/configure.in: Ditto.
3480 * libc/sys/configure.in: Ditto.
3481 * configure: Regenerate.
3482 * libc/configure: Regenerate.
3483 * libc/sys/configure: Regenerate.
3484 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3485 Only build other files when providing syscalls.
3486 * libc/sys/arm/Makefile.in: Regenerate.
3487 * libc/sys/arm/aeabi_atexit.c: New file.
3489 2005-08-26 Christopher Faylor <cgf@timesys.com>
3491 * libc/include/string.h: Revert previous change.
3493 2005-08-25 Christopher Faylor <cgf@timesys.com>
3495 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3497 2005-08-22 Shaun Jackman <sjackman@gmail.com>
3499 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3500 define _opendir as opendir, _readdir as readdir, and
3501 _closedir as closedir so that the implementations in
3502 libc/posix will be used.
3504 2005-08-10 DJ Delorie <dj@redhat.com>
3506 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3508 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3510 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3511 * libm/common/s_max.c: Ditto.
3512 * libm/common/sf_fmin.c: Ditto.
3513 * libm/common/s_min.c: Ditto.
3515 2005-08-10 DJ Delorie <dj@redhat.com>
3517 * configure.host: Add m32c support.
3518 * libc/include/machine/ieeefp.h: Likewise.
3519 * libc/include/machine/setjmp.h: Likewise.
3520 * libc/include/sys/config.h: Likewise.
3521 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3522 * libc/machine/m32c/aclocal.m4: New file.
3523 * libc/machine/m32c/configure: Ditto.
3524 * libc/machine/m32c/configure.in: Ditto.
3525 * libc/machine/m32c/Makefile.am: Ditto.
3526 * libc/machine/m32c/Makefile.in: Ditto.
3527 * libc/machine/m32c/setjmp.S: Ditto.
3529 2005-08-02 Bob Wilson <bob.wilson@acm.org>
3531 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3532 to the value for 2^126.
3534 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3536 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3539 2005-07-20 Bob Wilson <bob.wilson@acm.org>
3540 Darin Petkov <darin@tensilica.com>
3542 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3544 2005-07-19 Paul Brook <paul@codesourcery.com>
3546 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3548 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3550 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3551 names after PASS and FAIL which do not depend on source directory
3552 name or on whether test passed or failed.
3553 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3555 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3557 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3559 2005-07-07 Shaun Jackman <sjackman@gmail.com>
3561 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
3562 twice for the same directory. _closedir calls free, and freeing
3563 the same pointer twice may cause a crash.
3565 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
3567 * configure.host: Added entry for ms1*.
3568 * libc/include/machine/ieeefp.h: Handle ms1.
3569 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3570 * libc/machine/ms1/aclocal.m4: New.
3571 * libc/machine/ms1/configure: New.
3572 * libc/machine/ms1/configure.in: New.
3573 * libc/machine/ms1/Makefile.am: New.
3574 * libc/machine/ms1/Makefile.in: New.
3575 * libc/machine/ms1/setjmp.S: New.
3577 2005-07-04 Mark Mitchell <mark@codesourcery.com>
3579 * Makefile.am (site.exp): Set tmpdir.
3580 * Makefile.in: Regenerated.
3581 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3582 executables in $tmpdir.
3583 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3584 libgloss version if not running in the build directory.
3585 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3587 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3590 2005-06-28 Dave Korn <dave.korn@artimi.com>
3592 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3593 and miscalculation caused by fp representation of zero.
3594 * libm/common/sf_lrint.c (lrintf): Likewise.
3596 2005-06-16 Christopher Faylor <cgf@timesys.com>
3598 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3599 determine characteristics of long double. Use a union instead.
3600 * ldtoa.c (_ldtoa_r): Ditto.
3603 (union uconv): New union.
3605 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3607 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3610 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3612 * configure.host (mn10300-*): Add long long I/O support by default.
3614 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3616 * libc/sys/linux/getpwuid.c: Removed.
3617 * libc/sys/linux/getpwnam.c: Removed.
3618 * libc/sys/linux/getpwent.c: New file containing logic
3619 from files removed above. This allows overriding of file
3621 * libc/sys/linux/Makefile.am: Support changes above.
3622 * libc/sys/linux/Makefile.in: Regenerated.
3624 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3626 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3627 when checking for multiple flags.
3629 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
3631 * configure.host <cris-*-* | crisv32-*-*>: Set
3632 default_newlib_io_long_long="yes".
3634 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3636 * libc/include/libgen.h: New file.
3638 2005-04-08 Shaun Jackman <sjackman@gmail.com>
3640 * libc/unix/Makefile.am: Add support for basename and dirname.
3641 * libc/unix/Makefile.in: Regenerated.
3642 * libc/unix/basename.c: New file.
3643 * libc/unix/dirname.c: New file.
3645 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3647 * libc/sys/linux/inode.c (lchown): New function.
3649 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3651 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3652 ELIX level is defined.
3653 * libc/unix/Makefile.in: Regenerated.
3655 2005-04-05 Dave Korn <dave.korn@artimi.com>
3657 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3658 something that looks like a "NaN", put back the characters processed.
3660 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
3662 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3664 2005-03-23 Christopher Faylor <cgf@timesys.com>
3666 * configure.host: For cygwin, redefine CC with cygwin include directory
3667 first to mimic the behavior of the top-level configury. Move include
3668 directory out of newlib_cflags.
3670 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3672 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
3673 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
3676 2005-03-22 Christopher Faylor <cgf@timesys.com>
3678 * libc/include/machine/_types.h: Make trivial change to comment to
3679 avoid a spurious warning from gcc.
3681 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
3683 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
3684 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
3687 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
3688 Corinna Vinschen <corinna@vinschen.de>
3690 * libc/include/ctype.h: Remove invalid +1 offset from
3691 ctype macro references to __ctype_ptr.
3692 (_ctype_): Move declaration outside #ifndef __cplusplus.
3694 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
3696 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
3697 evaluate first parameter only once.
3698 (siglongjmp): Ditto.
3700 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
3702 * configure.in: Add new check to see if compiler supports
3703 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
3704 * configure: Regenerated.
3705 * Makefile.in: Ditto.
3706 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
3707 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
3708 aliasing the _ctype_ array to _ctype_b.
3709 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
3710 _ctype_ as deprecated.
3712 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
3714 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3717 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3719 * libc/sys/rtems/include/inttypes.h: New file.
3720 * libc/sys/rtems/include/stdint.h: Ditto.
3722 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3724 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3726 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3728 * libc/include/machine/_types.h: New file.
3729 * libc/include/sys/types.h: Do not check for __rtems__
3730 when including <machine/_types.h>. Remove some redundant
3731 declarations now that <machine/_types.h> is included.
3732 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3735 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
3737 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
3738 L qualifier for these long constants.
3740 2005-02-25 Eric Blake <ebb9@byu.net>
3742 * libc/include/time.h (__tzrule_struct): Make offset long, since
3743 a 16-bit int overflows on a 12-hour offset.
3744 * libc/sys/linux/include/time.h: Ditto.
3745 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
3746 * libc/time/mktm_r.c: Ditto.
3747 * libc/time/gettzinfo.c: Ditto.
3748 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
3749 years. Fix '%z' to use long, not int.
3751 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3753 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
3754 manipulate float values in integer form.
3755 * libm/common/sf_round.c: Ditto.
3757 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3759 * libc/include/sys/types.h [__rtems__]: Include new
3760 header file machine/_types.h.
3761 * libc/include/machine/types.h: Ditto.
3762 * libc/sys/rtems/machine/_types.h: New file.
3764 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3766 * libc/include/time.h (_timezone): Change to long also for Cygwin.
3767 (timezone): Drop cast from definition.
3769 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
3771 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
3772 (__tzrule_type, __tzinfo_type): New types.
3773 (__gettzinfo): New function.
3774 * libc/sys/linux/include/time.h: Ditto.
3775 * libc/time/Makefile.am: Add gettzinfo.c.
3776 * libc/time/Makefile.in: Regenerated.
3777 * libc/time/local.h: Moved __tzrule_type to time.h.
3778 * libc/time/mktime.c: Call __gettzinfo to reference
3779 __tznorth, __tzyear, and __tzrule array.
3780 * libc/time/mktm_r.c: Ditto.
3781 * libc/time/strftime.c: Ditto.
3782 * libc/time/tzset_r.c: Ditto. Also remove definition
3783 of __tzrule which is now in gettzinfo.c. Change _timezone
3784 references to not cast to time_t.
3785 * libc/time/gettzinfo.c: New file.
3787 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3789 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
3791 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
3793 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
3795 2005-02-16 Eric Blake <ebb9@byu.net>
3797 * libc/time/time.tex: Improve the documentation.
3798 * libc/time/strftime.c: Improve the documentation.
3799 (iso_year_adjust): New helper function.
3800 (strftime): Simplify '%E' and '%O'. Change '%c' to use
3801 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
3802 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
3803 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
3804 Avoid core dumps on valid inputs (maxsize == 0, or
3805 tim_p->tm_isdst > 1).
3807 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
3809 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
3810 members to uid_t and gid_t according to SUSv3.
3811 * libc/include/sys/time.h (utimes): Change second parameter
3812 to const according to SUSv3.
3814 2005-02-07 Antony King <antony.king@st.com>
3816 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
3817 called before _flockfile to prevent lock object use before
3818 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
3819 take a struct _reent * instead of a FILE *.
3820 * libc/stdio/fclose.c (_fclose_r): Ditto.
3821 * libc/stdio/feof.c (feof): Ditto.
3822 * libc/stdio/ferror.c (ferror): Ditto.
3823 * libc/stdio/fflush.c (fflush): Ditto.
3824 * libc/stdio/fgetc.c (fgetc): Ditto.
3825 * libc/stdio/fgets.c (fgets): Ditto.
3826 * libc/stdio/fileno.c (fileno): Ditto.
3827 * libc/stdio/fputc.c (fputc): Ditto.
3828 * libc/stdio/fputs.c (fputs): Ditto.
3829 * libc/stdio/fread.c (fread): Ditto.
3830 * libc/stdio/freopen.c (_freopen_r): Ditto.
3831 * libc/stdio/fseek.c (_fseek_r): Ditto.
3832 * libc/stdio/ftell.c (_ftell_r): Ditto.
3833 * libc/stdio/fwrite.c (fwrite): Ditto.
3834 * libc/stdio/getc.c (getc): Ditto.
3835 * libc/stdio/getdelim.c (__getdelim): Ditto.
3836 * libc/stdio/putc.c (putc): Ditto.
3837 * libc/stdio/setvbuf.c (setvbuf): Ditto.
3838 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
3839 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3840 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3841 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
3842 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
3843 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
3844 _reent * instead of a FILE * and so replace incorrect use of
3845 _REENT with argument.
3846 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
3847 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
3848 CHECK_INIT() take a struct _reent * instead of a FILE *.
3849 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
3850 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
3851 * libc/stdio/perror.c (perror): Ditto.
3852 * libc/stdio/printf.c (printf, _printf_r): Ditto.
3853 * libc/stdio/putchar.c (putchar): Ditto.
3854 * libc/stdio/puts.c (puts): Ditto.
3855 * libc/stdio/refill.c (__srefill): Ditto.
3856 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
3857 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
3858 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
3859 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
3860 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
3861 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
3862 * libc/stdio/wbuf.c (__swbuf): Ditto.
3863 * libc/stdio/wsetup.c (__swsetup): Ditto.
3864 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
3865 * libc/stdlib/mstats.c (_mstats_r): Ditto.
3866 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
3867 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
3868 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
3869 to _flockfile and _funlockfile; rely on locking in _ftell_r.
3870 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
3871 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
3872 initialision of _data field in FILE structure.
3873 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
3875 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3877 * libc/stdio/findfp.c (__sinit): Protect with new lock.
3878 (__sinit_lock): New lock.
3879 (__sinit_lock_acquire, __sinit_lock_release): New functions.
3880 * libc/stdio/local.h: Add reference to new __sinit locking
3883 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3885 * libc/include/math.h (isfinite, isnormal, isunordered): Change
3886 input variable names to avoid mixups with nesting macros.
3888 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3890 * configure.host: Add support for cris-*-* and crisv32-*-*.
3891 * libc/include/machine/ieeefp.h: Ditto.
3892 * libc/include/machine/setjmp.h: Ditto.
3893 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
3894 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
3895 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
3896 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
3897 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
3898 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
3899 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
3902 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3904 * testsuite/newlib.string/memmove1.c: New test.
3906 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3908 * testsuite/include/check.h: Include stdlib.h.
3910 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3912 * Makefile.am (stmp-targ-include): Support include header files
3913 from machine directories.
3914 (install-data-local): Ditto.
3915 * Makefile.in: Regenerate.
3917 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
3919 * libc/include/string.h: Remove Linux-specific declaration of
3920 strsignal and add #include <sys/string.h>.
3921 * libc/include/sys/string.h: New file.
3922 * libc/include/sys/linux/sys/string.h: New file with strsignal
3923 declaration deleted above.
3925 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
3927 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
3928 to POSIX standard for "C" locale. Allow %E and %O modifiers
3929 to be ignored as long as they precede valid specifiers according
3932 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3934 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3935 environment variable is set.
3937 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3939 * tzset_r.c (_tzname): Add a comma.
3941 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
3943 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
3946 2005-01-07 Paul Brook <paul@codesourcery.com>
3948 * configure.in: Add test for .init_array.
3949 * configure: Regenerate.
3950 * newlib.hin: Add HAVE_INITFINI_ARRAY.
3951 * libc/misc/Makefile.am: Add init.c
3952 * libc/misc/Makefile.in: Regenerate.
3953 * libc/misc/init.c: New file.
3954 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
3955 _init/_fini if they exist.
3957 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
3959 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
3961 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
3962 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
3963 functions for use by strtod and strtof.
3964 * Makefile.in: Regenerated.
3966 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3968 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
3969 bit-test in combination with NULL test.
3971 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3973 * README: Fix typo of LGPL. Change "license" to "copyright".
3975 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
3977 * NEWS: Update with 1.13.0 info.
3979 * acinclude.m4: Change version number to 1.13.0.
3980 * aclocal.m4: Regenerated.
3982 * doc/aclocal.m4: Ditto.
3983 * doc/configure: Ditto.
3984 * libc/*/aclocal.m4: Ditto.
3985 * libc/*/configure: Ditto.
3986 * libc/libc.texinfo: Ditto.
3987 * libm/*/aclocal.m4: Ditto.
3988 * libm/*/configure: Ditto.
3989 * libm/libm.texinfo: Ditto.
3990 * libc/sys/linux/shared.ld: Add VERS_1.13.
3992 2004-12-17 Christian Groessler <chris@groessler.org>
3994 * libc/machine/z8k/memcmp.S: New file.
3995 * libc/machine/z8k/memcpy.S: Ditto.
3996 * libc/machine/z8k/memmove.S: Ditto.
3997 * libc/machine/z8k/memset.S: Ditto.
3998 * libc/machine/z8k/Makefile.am: Add new files.
3999 * libc/machine/z8k/Makefile.in: Regenerated.
4000 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
4001 part. Implement Z8002 stdcall version.
4003 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
4005 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
4006 a low-level read if we don't get the full amount of bytes so
4007 EOF or error flags will be set.
4009 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
4011 * libc/time/tzset_r (_tzset_r): Properly skip over
4012 '/' when it is detected.
4014 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4016 * libc/time/tzset_r (_tzset_r): Fix loop.
4018 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4020 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
4022 (__tzcalc_limits): Fix reference to month array to be zero-based.
4024 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
4026 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
4029 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
4031 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
4032 libgcc dependencies.
4033 (libm_la_LDFLAGS): Ditto.
4034 * Makefile.in: Regenerated.
4036 2004-12-03 Shaun Jackman <sjackman@gmail.com>
4038 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4039 our link to use readlink so as to preserve any relative link created
4040 by install-toollibLIBRARIES.
4041 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4043 2004-12-02 Shaun Jackman <sjackman@gmail.com>
4045 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4046 time_t before including sys/stat.h, which uses it.
4047 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4048 <linux/time.h> just prior to definition of __KERNEL__ so as to
4049 allow building on Debian Linux where otherwise, mktime would
4052 2004-11-26 Paul Brook <paul@codesourcery.com>
4054 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
4056 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4058 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
4059 const for value string parameter to match Single Unix and glibc.
4060 * libc/stdlib/putenv.c: Ditto.
4061 * libc/stdlib/putenv_r.c: Ditto.
4063 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4065 * libc/stdio/Makefile.am: Fix missing vfscanf.
4066 * libc/stdio/Makefile.in: Regenerated.
4068 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
4070 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4072 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4073 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4075 * libc/stdio/Makefile.in: Regenerated.
4076 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4077 * libc/stdio/iprintf.c: Ditto.
4078 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4079 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4080 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4081 * libc/stdio/stdio.tex: Add new functions.
4082 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4083 file and add special name defines so this file can be used
4084 to build vfiscanf.o.
4085 * libc/stdio/asiprintf.c: New file.
4086 * libc/stdio/fiscanf.c: Ditto.
4087 * libc/stdio/iscanf.c: Ditto.
4088 * libc/stdio/sccl.c: Ditto.
4089 * libc/stdio/siscanf.c: Ditto.
4090 * libc/stdio/vasiprintf.c: Ditto.
4091 * libc/stdio/viprintf.c: Ditto.
4092 * libc/stdio/viscanf.c: Ditto.
4093 * libc/stdio/vsiprintf.c: Ditto.
4094 * libc/stdio/vsiscanf.c: Ditto.
4095 * libc/stdio/vsniprintf.c: Ditto.
4097 2004-11-19 Shaun Jackman <sjackman@gmail.com>
4099 * libc/include/stdio.h: Add sniprintf.
4100 * libc/stdio/Makefile.am: Add sniprintf.c.
4101 * libc/stdio/Makefile.in: Regenerated.
4102 * libc/stdio/sniprintf.c: New file.
4103 * libc/stdio/stdio.tex: Add sniprintf.
4105 2004-11-17 Christopher Faylor <cgf@timesys.com>
4107 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4108 EOF flag if successful.
4110 2004-10-28 Christopher Faylor <cgf@timesys.com>
4112 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
4113 so that all relevant definitions have been performed for use in the
4116 2004-10-26 Jason Tishler <jason@tishler.net>
4118 * libc/stdio/fread.c (fread): Fix return value for unbuffered
4121 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4123 * libc/include/machine/setjmp.h: Add AVR support.
4124 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
4126 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
4128 * libc/include/sys/signal.h: If <signal.h> didn't include
4129 this header file, include <signal.h> to account for
4130 applications that take advantage that the two header
4131 files are the same in glibc.
4133 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
4135 * configure.host: Add support for crx.
4136 * libc/include/machine/ieeefp.h: Ditto.
4137 * libc/include/machine/setjmp.h: Ditto.
4138 * libc/machine/crx/Makefile.am: New file.
4139 * libc/machine/crx/configure.in: Ditto.
4140 * libc/machine/crx/setjmp.S: Ditto.
4141 * libc/machine/crx/getenv.c: Ditto.
4142 * libc/machine/crx/aclocal.m4: Generate.
4143 * libc/machine/crx/configure: Ditto.
4144 * libc/machine/crx/Makefile.in: Ditto.
4145 * libc/machine/crx/sys/asm.h: New file.
4146 * libc/machine/crx/sys/libh.h: Ditto.
4147 * libc/machine/crx/sys/syscall.h: Ditto.
4149 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
4151 * Makefile.am (stmp-targ-include): Support sys header files
4152 from machine directories.
4153 * Makefile.in: Regenerated.
4155 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
4157 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4158 count skipped zero characters as part of the nread count for %n.
4159 * libc/machine/powerpc/vfscanf.c: Ditto.
4161 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
4163 * libc/stdio/local.h: Include <stdlib.h>.
4165 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
4167 * libc/stdio/fread.c (fread): Include <malloc.h>.
4169 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
4171 * libc/stdio/fread.c (fread): For non-space-optimized case,
4172 add special code for unbuffered files to use user buffer and
4173 only require one low-level system read.
4175 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
4177 * libc/machine/xscale/setjmp.S: New file, copied from
4178 libc/machine/arm/setjmp.S.
4179 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
4180 * libc/machine/xscale/Makefile.in: Regenerate.
4182 2004-09-16 Antony King <antony.king@st.com>
4184 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
4186 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
4187 check for__SSTR in _flags and if set, skip lock request.
4188 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4189 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
4191 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
4192 initialisation of _file to -1 in local FILE.
4193 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
4194 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
4195 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4196 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4197 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
4198 _flags in local FILE to prevent locking.
4199 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4201 2004-09-16 Antony King <antony.king@st.com>
4203 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
4204 and only walk the reentrancy parameter.
4205 (_fwalk_reent): Ditto.
4206 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
4208 2004-09-16 Antony King <antony.king@st.com>
4210 * libc/stdio64/freopen64.c: Remove casting of fp lock to
4213 2004-09-16 Antony King <antony.king@st.com>
4215 * libc/time/tzlock.c: Add default stubs that use generic
4218 2004-09-16 Antony King <antony.king@st.com>
4220 * libc/ctype/ctype.tex: Added missing documentation.
4221 * libc/stdio/stdio.tex Ditto.
4222 * libc/stdlib/stdlib.tex Ditto.
4223 * libc/string/strings.tex Ditto.
4224 * libc/time/time.tex: Ditto.
4225 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
4227 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
4229 * libc/reent/impure.c (reent_data): Define as alias to impure_data
4230 when building for Cygwin.
4231 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
4234 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
4236 * configure.host: Reverting 2004-09-14 change as fix has occurred on
4238 * configure.in: Ditto.
4239 * libc/configure.in: Ditto.
4240 * libc/sys/configure.in: Ditto.
4242 * libc/configure: Ditto.
4243 * libc/sys/configure: Ditto.
4244 * libc/include/sys/reent.h: Ditto.
4245 * libc/stdlib/__atexit.c: Ditto.
4246 * libc/stdlib/__call_atexit.c: Ditto.
4247 * libc/stdlib/cxa_atexit.c: Ditto.
4248 * libc/stdlib/cxa_finalize.c: Ditto.
4249 * libc/sys/cygwin/Makefile.am: Removed again.
4250 * libc/sys/cygwin/Makefile.in: Ditto.
4251 * libc/sys/cygwin/aclocal.m4: Ditto.
4252 * libc/sys/cygwin/configure: Ditto.
4253 * libc/sys/cygwin/configure.in: Ditto.
4254 * libc/sys/cygwin/dummy.c: Ditto.
4255 * libc/sys/cygwin/sys/reent.h: Ditto.
4257 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
4259 * configure.host: Add Cygwin sys directory.
4260 * configure.in: Do not set CRT0 for cygwin.
4261 * libc/configure.in: Ditto.
4262 * libc/sys/configure.in: Ditto.
4263 * configure: Regenerated.
4264 * libc/configure: Ditto.
4265 * libc/sys/configure: Ditto.
4266 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
4267 * libc/stdlib/__atexit.c: Keep cxa support protected by new
4268 __REENT_HAS_CXA_SUPPORT flag.
4269 * libc/stdlib/__call_atexit.c: Ditto.
4270 * libc/stdlib/cxa_atexit.c: Ditto.
4271 * libc/stdlib/cxa_finalize.c: Ditto.
4272 * libc/sys/cygwin/Makefile.am: New file.
4273 * libc/sys/cygwin/Makefile.in: Ditto.
4274 * libc/sys/cygwin/aclocal.m4: Ditto.
4275 * libc/sys/cygwin/configure: Ditto.
4276 * libc/sys/cygwin/configure.in: Ditto.
4277 * libc/sys/cygwin/dummy.c: Ditto.
4278 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
4281 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4283 * libc/iconv/iconv.tex: Updated with new content.
4284 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
4285 instead of NLS_DEFAULT_NLSPATH.
4286 * libc/iconv/lib/iconvnls.h: Fix typo.
4287 * libc/include/sys/iconvnls.h: New file.
4289 2004-09-09 Paul Brook <paul@codesourcery.com>
4291 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
4293 (struct _atexit): Add _next when _REENT_SMALL.
4294 (struct _reent): Add _atexit0 when _REENT_SMALL.
4295 (_REENT_INIT_PTR): Adjust.
4296 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
4298 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
4299 * libc/stdlib/Makefile.in: Regenerate.
4300 * libc/stdlib/__atexit.c: New file.
4301 * libc/stdlib/__call_atexit.c: New file.
4302 * libc/stdlib/atexit.h: Remove old definitions. Add new.
4303 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
4304 * libc/stdlib/cxa_atexit.c: New file.
4305 * libc/stdlib/cxa_finalize.c: New file.
4306 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
4307 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
4308 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
4309 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
4312 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
4314 * libc/include/sys/unistd.h (getpass): Change prototype to use
4315 const instead of __const.
4317 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
4319 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
4322 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
4324 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
4325 on linux systems with glibc 2.3.3 installed.
4326 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
4327 profile_fixup so newlib can build on fc3 system.
4329 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
4331 Introduce SH2a support.
4332 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
4333 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
4334 __SH2A_SINGLE_ONLY__, too.
4335 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
4336 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4337 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
4338 2004-02-10 DJ Delorie <dj@redhat.com>
4339 * libc/sys/sh/crt0.S (start_l): Support sh2a.
4341 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
4343 * libc/time/strptime.c: Correct full-name of "March" typo.
4345 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
4347 * configure.host (h8300*-*-*): Default long long printing support.
4349 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
4351 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
4352 calls, if realloc fails, free up buffer as it is no longer
4355 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4357 * libc/iconv/iconv.tex: Updated to represent recent changes.
4358 * libc/iconv/lib/iconv.c: Documentation updated.
4360 2004-07-07 Nick Clifton <nickc@redhat.com>
4362 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
4365 2004-07-06 Chris Demetriou <cgd@broadcom.com>
4367 * configure.host (mips*-*-elf*): Default long long printing
4370 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
4372 * libc/Makefile.am (libc.dvi): Add target and specify
4373 same dependencies as libc.info.
4374 * libc/Makefile.in: Regenerated.
4375 * libm/Makefile.am (libm.dvi): Add target and specify
4376 same dependencies as libm.info.
4377 * libm/Makefile.in: Regenerated.
4379 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4381 * acinclude.m4: Move --enable-newlib-iconv option back here.
4382 * configure.in: Remove --enable-newlib-iconv option. Don't
4383 tie iconv support to --enable-newlib-mb.
4384 * aclocal.m4: Regenerated.
4386 * doc/aclocal.m4, doc/configure: Ditto.
4387 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
4388 * libm/*/aclocal.m4: Ditto.
4389 * libm/*/configure: Ditto.
4390 * libc/*/aclocal.m4: Ditto.
4391 * libc/*/configure: Ditto.
4393 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4395 * acinclude.m4: Move iconv options into configure.in.
4396 * aclocal.m4: Regenerated.
4398 * configure.in: Add iconv options.
4399 * newlib.hin: Add new iconv encodings and remove deleted ones.
4400 * doc/aclocal.m4: Regenerated.
4401 * doc/configure: Ditto.
4402 * iconvdata/aclocal.m4: Ditto.
4403 * iconvdata/configure: Ditto.
4404 * libc/iconv: Design change. New size-optimized ccs format.
4405 * libc/iconv/AUTHORS: Removed.
4406 * libc/iconv/COPYING: Ditto.
4407 * libc/iconv/README.ORIGINAL: Ditto.
4408 * libc/iconv/README.TODO: Ditto.
4409 * libc/iconv/charset.aliases: Ditto.
4410 * libc/iconv/encoding.aliases: New file.
4411 * libc/iconv/Makefile.am: Updated.
4412 * libc/iconv/Makefile.in: Regenerated.
4413 * libc/iconv/iconv.tex: Updated.
4414 * libc/iconv/ccs/Makefile.am: Ditto.
4415 * libc/iconv/ccs/Makefile.in: Regenerated.
4416 * libc/iconv/ccs/big5.c: Updated.
4417 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4418 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4419 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4420 * libc/iconv/ccs/cp775.c: Ditto.
4421 * libc/iconv/ccs/cp850.c: Ditto.
4422 * libc/iconv/ccs/cp852.c: Ditto.
4423 * libc/iconv/ccs/cp855.c: Ditto.
4424 * libc/iconv/ccs/cp866.c: Ditto.
4425 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4426 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4427 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4428 * libc/iconv/ccs/iconv_mktbl: Ditto.
4429 * libc/iconv/ccs/jis_x0201.c: Ditto.
4430 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4431 * libc/iconv/ccs/shift_jis.c: Ditto.
4432 * libc/iconv/ccs/us_ascii.c: Ditto.
4433 * libc/iconv/ccs/ccs.h: New file.
4434 * libc/iconv/ccs/ccsbi.c: Ditto.
4435 * libc/iconv/ccs/ccsbi.h: Ditto.
4436 * libc/iconv/ccs/ccsnames.h: Ditto.
4437 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4438 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4439 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4440 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4441 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4442 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4443 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4444 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4445 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4446 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4447 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4448 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4449 * libc/iconv/ccs/koi8_ru.c: Ditto.
4450 * libc/iconv/ccs/koi8_uni.c: Ditto.
4451 * libc/iconv/ccs/mktbl.pl: Ditto.
4452 * libc/iconv/ccs/win_1250.c: Ditto.
4453 * libc/iconv/ccs/win_1251.c: Ditto.
4454 * libc/iconv/ccs/win_1252.c: Ditto.
4455 * libc/iconv/ccs/win_1253.c: Ditto.
4456 * libc/iconv/ccs/win_1254.c: Ditto.
4457 * libc/iconv/ccs/win_1255.c: Ditto.
4458 * libc/iconv/ccs/win_1256.c: Ditto.
4459 * libc/iconv/ccs/win_1257.c: Ditto.
4460 * libc/iconv/ccs/win_1258.c: Ditto.
4461 * libc/iconv/ccs/iso_8859_15.c: Updated.
4462 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4463 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4464 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4465 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4466 * libc/iconv/ccs/koi8_r.c: Ditto.
4467 * libc/iconv/ccs/koi8_u.c: Ditto.
4468 * libc/iconv/ccs/ksx1001.c: Ditto.
4469 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4470 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4471 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4472 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4473 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4474 * libc/iconv/ccs/binary/Makefile.am: Updated.
4475 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4476 * libc/iconv/ccs/binary/big5.cct: Updated.
4477 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4478 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4479 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4480 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4481 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4482 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4483 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4484 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4485 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4486 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4487 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4488 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4489 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4490 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4491 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4492 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4493 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4494 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4495 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4496 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4497 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4498 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4499 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4500 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4501 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4502 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4503 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4504 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4505 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4506 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4507 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4508 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4509 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4510 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4511 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4512 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4513 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4514 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4515 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4516 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4517 * libc/iconv/ces/Makefile.am: Updated.
4518 * libc/iconv/ces/Makefile.in: Regenerated.
4519 * libc/iconv/ces/ucs-2-internal.c: Updated.
4520 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4521 * libc/iconv/ces/utf-16.c: Ditto.
4522 * libc/iconv/ces/utf-8.c: Ditto.
4523 * libc/iconv/ces/cesbi.c: New file.
4524 * libc/iconv/ces/cesbi.h: Ditto.
4525 * libc/iconv/ces/cesdeps.h: Ditto.
4526 * libc/iconv/ces/euc.c: Ditto.
4527 * libc/iconv/ces/mkdeps.pl: Ditto.
4528 * libc/iconv/ces/table-pcs.c: Ditto.
4529 * libc/iconv/ces/table.c: Ditto.
4530 * libc/iconv/ces/ucs-2.c: Ditto.
4531 * libc/iconv/ces/ucs-4.c: Ditto.
4532 * libc/iconv/ces/us-ascii.c: Ditto.
4533 * libc/iconv/ces/euc-jp.c: Removed.
4534 * libc/iconv/ces/euc-kr.c: Ditto.
4535 * libc/iconv/ces/euc-tw.c: Ditto.
4536 * libc/iconv/ces/gb2312.c: Ditto.
4537 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4538 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4539 * libc/iconv/lib/Makefile.am: Updated.
4540 * libc/iconv/lib/Makefile.in: Regenerated.
4541 * libc/iconv/lib/endian.h: Updated.
4542 * libc/iconv/lib/iconv.c: Ditto.
4543 * libc/iconv/lib/local.h: Ditto.
4544 * libc/iconv/lib/aliases.c: Removed.
4545 * libc/iconv/lib/bialiasesi.c: Ditto.
4546 * libc/iconv/lib/biccs.c: Ditto.
4547 * libc/iconv/lib/bices.c: Ditto.
4548 * libc/iconv/lib/ccs.c: Ditto.
4549 * libc/iconv/lib/ces.c: Ditto.
4550 * libc/iconv/lib/ces_euc.c: Ditto.
4551 * libc/iconv/lib/ces_iso2022.c: Ditto.
4552 * libc/iconv/lib/ces_table.c: Ditto.
4553 * libc/iconv/lib/converter.c: Ditto.
4554 * libc/iconv/lib/deps.h: Ditto.
4555 * libc/iconv/lib/loaddata.c: Ditto.
4556 * libc/iconv/lib/aliasesbi.c: New file.
4557 * libc/iconv/lib/aliasesi.c: Ditto.
4558 * libc/iconv/lib/conv.h: Ditto.
4559 * libc/iconv/lib/encnames.h: Ditto.
4560 * libc/iconv/lib/encoding.deps: Ditto.
4561 * libc/iconv/lib/iconvnls.c: Ditto.
4562 * libc/iconv/lib/iconvnls.h: Ditto.
4563 * libc/iconv/lib/nullconv.c: Ditto.
4564 * libc/iconv/lib/ucsconv.c: Ditto.
4565 * libc/iconv/lib/ucsconv.h: Ditto.
4566 * libc/include/iconv.h: Update copyright.
4567 * libc/*/aclocal.m4: Regenerated.
4568 * libc/*/configure: Ditto.
4569 * libm/*/aclocal.m4: Ditto.
4570 * libm/*/configure: Ditto.
4572 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
4574 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4575 instead of typedefing jmp_buf.
4577 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4578 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4579 * libc/machine/h8300/defines.h (LEN): New macro.
4580 * libc/machine/h8300/memcpy.S: Add h8sx version.
4581 * libc/machine/h8300/memset.S: Likewise.
4582 * libc/machine/h8300/strcmp.S: Likewise.
4583 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4584 * libc/machine/h8300/h8sx_strcpy.S: New file.
4585 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4586 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4588 * libc/include/machine/setjmp.h: Likewise.
4589 * libc/include/sys/config.h: Likewise.
4590 * libc/machine/h8300/defines.h: Likewise.
4591 * libc/machine/h8300/setjmp.S: Likewise.
4592 * libc/machine/h8300/strcmp.S: Likewise.
4593 * libc/sys/h8300hms/close.S: Likewise.
4594 * libc/sys/h8300hms/fstat.S: Likewise.
4595 * libc/sys/h8300hms/lseek.S: Likewise.
4596 * libc/sys/h8300hms/read.S: Likewise.
4597 * libc/sys/h8300hms/write.S: Likewise.
4598 * libc/sys/h8300hms/crt0.S: Likewise.
4599 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4600 __H8300SX__ is defined.
4601 * libc/sys/h8300hms/setarch.h: Likewise.
4603 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4605 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4606 out change which set _GLOBAL_REENT to _global_impure_ptr until
4607 we understand why Cygwin breaks because of it.
4609 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4611 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4612 __syscall_return macro for systems with vsyscall.
4614 2004-06-11 Antony King <antony.king@st.com>
4616 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4617 _flock_t to be of type _LOCK_RECURSIVE_T.
4618 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4619 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4620 (_global_impure_ptr): New declaration.
4621 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4622 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4624 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4625 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4626 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4627 * libc/stdio/fclose.c: Remove casting of fp lock to
4629 * libc/stdio/findfp.c: Ditto.
4630 * libc/stdio/fopen.c: Ditto.
4631 * libc/stdio/freopen.c: Ditto.
4632 * libc/stdio/vfprintf.c: Ditto.
4633 * libc/stdio64/fopen64.c: Ditto.
4634 * libc/stdlib/envlock.c: Add default stubs that use generic
4636 * libc/stdlib/mlock.c: Ditto.
4638 Jeff Johnston <jjohnstn@redhat.com>
4639 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4640 (_flock_t): Change to be a struct containing a single member
4641 named mutex which is of type __flock_mutex_t.
4643 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4645 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4646 from /usr/include/asm/signal.h instead of kernel sources. Also
4647 default max to 32 if not found in header file.
4648 * libc/sys/linux/Makefile.in: Regenerated.
4649 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4650 systems where __syscall_return is not defined.
4651 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4652 systems to use syscall() function instead of assembler interrupt.
4654 2004-06-09 Toralf Lund <toralf@procaptura.com>
4656 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4657 files from libc/sys/arm to libc/machine/arm.
4658 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4659 library build support for files moved from libc/sys/arm.
4660 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4661 references to access and setjmp.
4662 * configure.host: Add checks for newlib_may_supply_syscalls to
4663 determine whether or not to use sys/arm directory and use
4664 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
4666 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4668 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4669 reset digit flags appropriately after we have discovered "0x".
4670 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4672 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4674 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4676 (_VFPRINTF_R): ... to here so all I/O printf routines
4679 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4681 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4683 * libc/search/hash.c: Ditto.
4685 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4687 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
4688 (_WANT_IO_LONG_LONG): Ditto.
4689 (_WANT_IO_LONG_DOUBLE): Ditto.
4690 * configure.in: Add new configuration options
4691 --enable-newlib-io-long-long and --enable-newlib-io-long-double
4692 which tie to new defines in newlib.hin.
4693 * configure: Regenerated.
4694 * configure.host: Add checks for new configuration options. Also
4695 fix up check for --enable-newlib-io-pos-args so configuration
4696 option will override any default for a given platform.
4697 Remove defining compiler flags for the _WANT_IO* options.
4698 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
4699 instead of looking for old compiler flags.
4700 * libc/stdio/vfscanf.c: Ditto.
4701 * libc/stdio/vfieeefp.h: Ditto.
4702 * libc/machine/powerpc/vfprintf.c: Ditto.
4703 * libc/machine/powerpc/vfscanf.c: Ditto.
4705 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
4707 * testsuite/include/check.h: Add include of <stdio.h>.
4709 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
4711 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
4713 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4715 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4718 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4720 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4721 list for reentrant pointer. Call _vfiprintf_r.
4722 * libc/stdio/siprintf.c (_siprintf_r): New function.
4723 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4724 pointer argument. Change all callers. Call _VFPRINTF_R.
4725 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4728 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4730 * libc/include/sys/param.h: Remove endian info and include
4731 <machine/endian.h> instead.
4732 * libc/include/machine/endian.h: New file.
4733 * libc/include/machine/param.h: Ditto.
4734 * libc/machine/arm/machine/endian.h: Ditto.
4735 * libc/machine/arm/machine/param.h: Ditto.
4736 * libc/sys/arm/sys/param.h: Removed.
4737 * libc/sys/sysvi386/sys/param.h: Ditto.
4738 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
4740 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4742 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
4743 multibyte functions return failure for %C, %S, %lc, and %ls
4746 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4748 * testsuite/include/check.h (CHECK): Add flush of stdout.
4750 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4752 * libc/include/stdio.h (_ungetc_r): New prototype.
4753 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
4754 (__submore): Add reentrant struct pointer argument.
4755 (ungetc): Change to call _ungetc_r.
4757 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4759 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
4760 function pointer argument.
4761 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
4762 to specify function pointer arguments.
4763 (__fwalk, __fwalk_reent): Ditto.
4765 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
4767 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
4770 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4772 * configure.in: Define _MB_CAPABLE if mb supported.
4773 * configure: Regenerated.
4774 * configure.host: Remove manual setting of MB_CAPABLE compiler
4776 * newlib.hin: Add _MB_CAPABLE flag.
4777 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
4778 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
4779 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
4780 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
4781 * libc/ctype/jp2uc.c: Ditto.
4782 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
4783 * libc/locale/locale.c: Ditto
4784 * libc/machine/powerpc/vfscanf.c: Ditto
4785 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
4786 * libc/stdlib/mblen.c: Ditto
4787 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
4788 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
4789 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
4790 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
4791 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
4792 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
4793 * libc/sys/linux/intl/explodename.c: Ditto
4794 * libc/sys/linux/intl/finddomain.c: Ditto
4795 * libc/sys/linux/intl/l10nflist.c: Ditto
4796 * libc/sys/linux/intl/loadmsgcat.c: Ditto
4797 * libc/sys/linux/intl/localealias.c: Ditto
4799 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4801 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
4802 (__svfscanf_r): In integer conversions, leave out leading zeroes
4803 which are not part of a base prefix.
4804 Keep track of width truncation to fit into buf, not counting left-out
4805 zeroes against width till the truncation has been compensated for.
4806 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
4808 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4810 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
4812 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4814 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
4815 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
4816 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
4817 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
4818 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
4819 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
4820 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
4821 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
4822 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
4823 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
4824 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
4825 libc/stdio/getchar.c libc/stdio/getchar_u.c,
4826 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
4827 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
4828 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
4829 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
4830 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
4831 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
4832 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
4833 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
4834 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
4835 libc/stdio/siprintf.c libc/stdio/snprintf.c,
4836 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
4837 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
4838 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
4839 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
4840 libc/stdio/vprintf.c libc/stdio/vscanf.c,
4841 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
4842 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
4843 libc/stdio/wsetup.c: Perform minor formatting changes. Move
4844 copyright notices to top of file, ensure that <_ansi.h> is
4845 included, be consistent with open parentheses, use _DEFUN macro,
4846 include "local.h" where needed, and remove various compiler
4849 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
4851 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
4852 (__svfscanf_r): In integer conversions, leave out leading zeroes
4853 which are not part of a base prefix.
4854 Keep track of width truncation to fit into buf, not counting left-out
4855 zeroes against width till the truncation has been compensated for.
4857 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4859 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
4861 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4863 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
4865 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
4867 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
4870 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4872 * libc/stdio/fclose.c (_fclose_r): New function.
4873 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
4874 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
4875 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
4876 * libc/include/stdio.h (_fclose_r): New prototype.
4877 * libc/stdio/fopen.c: Fix typo in comment.
4879 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
4881 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
4882 to handle _r reentrant functions.
4884 2004-04-08 Eric Christopher <echristo@redhat.com>
4886 * libc/include/machine/setjmp.h: Fix endif locations.
4888 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4890 * libc/time/strptime.c: Add standard includes to avoid
4891 warning messages at compilation time.
4893 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
4895 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
4898 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
4900 * libc/machine/h8300/Makefile.am: Reformat slightly.
4901 * libc/machine/h8300/Makefile.in: Regenerate.
4903 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
4905 * libc/stdio/findfp.c (__fp_lock_all): Add call to
4907 (__fp_unlock_all): Add call to __sfp_lock_release.
4909 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
4911 * libc/stdio/fclose.c (fclose): Protect file pointer list when
4913 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
4915 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
4916 _flockfile/_funlockfile.
4917 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
4919 Change __lock_acquire/__lock_release calls for __sfp_lock to
4920 __sfp_lock_acquire/__sfp_lock_release throughout.
4921 (std): Make sure that file lock is only initialized once.
4922 (__sfp): Move _file initialization. Initialize file lock.
4923 (__sfp_lock_acquire): New function.
4924 (__sfp_lock_release): Ditto.
4925 (__fp_lock_all): Remove __sfp_lock_acquire call.
4926 (__fp_unlock_all): Remove __sfp_lock_release call.
4927 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
4928 Add calls to _flockfile/_funlockfile. Remove
4929 __lock_init_recursive call.
4930 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
4931 * libc/stdio/fwalk.c (__fwalk): New static function.
4932 (_fwalk): Protect file pointer list. Use __fwalk to walk through
4934 * libc/stdio/local.h: Add defines for
4935 __sfp_lock_acquire/__sfp_lock_release when
4936 single threaded. Add function prototypes otherwise.
4937 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
4938 _flockfile/_funlockfile.
4939 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
4940 Add calls to _flockfile/_funlockfile. Remove
4941 __lock_init_recursive call.
4942 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
4945 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
4947 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
4948 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
4949 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
4950 to be __LOCK_INIT_RECURSIVE.
4952 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
4954 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
4955 _exit.c with _exit.S.
4956 * libc/sys/h8300hms/Makefile.in: Regenerate.
4957 * libc/sys/h8300hms/_exit.c: Remove.
4958 * libc/sys/h8300hms/_exit.S: New.
4960 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
4962 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
4963 Change __sfp_lock to static global.
4964 (__fp_lock): New static function.
4965 (__fp_unlock): Ditto.
4966 (__fp_lock_all): New function.
4967 (__fp_unlock_all): Ditto.
4969 2004-02-10 Christopher Faylor <cgf@redhat.com>
4971 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
4972 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
4973 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
4974 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
4976 2004-02-09 Christopher Faylor <cgf@redhat.com>
4978 * libc/include/time.h (TIMER_RELTIME): New define.
4980 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
4982 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
4983 * libc/stdlib/Makefile.in: Regenerated.
4985 2004-02-08 Christopher Faylor <cgf@redhat.com>
4987 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
4988 * libc/include/sys/reent.h (__getreent): Protect against possibly being
4990 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
4992 2004-02-05 Paul Brook <paul@codesourcery.com>
4994 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
4995 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
4997 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4999 * NEWS: Update with 1.12.0 info.
5001 * acinclude.m4: Change version number to 1.12.0.
5002 * aclocal.m4: Regenerated.
5004 * doc/aclocal.m4: Ditto.
5005 * doc/configure: Ditto.
5006 * libc/*/aclocal.m4: Ditto.
5007 * libc/*/configure: Ditto.
5008 * libc/libc.texinfo: Ditto.
5009 * libm/*/aclocal.m4: Ditto.
5010 * libm/*/configure: Ditto.
5011 * libm/libm.texinfo: Ditto.
5012 * libc/sys/linux/shared.ld: Add VERS_1.12.
5014 2004-02-02 Joel Sherrill <joel@oarcorp.com>
5016 * configure.host: Add support for tic4x.
5017 * libc/include/machine/ieeefp.h: Ditto.
5018 * libc/include/machine/setjmp.h: Ditto.
5019 * libc/machine/tic4x/Makefile.am: New file.
5020 * libc/machine/tic4x/configure.in: Ditto.
5021 * libc/machine/tic4x/setjmp.S: Ditto.
5022 * libc/machine/tic4x/aclocal.m4: Generated.
5023 * libc/machine/tic4x/configure: Ditto.
5024 * libc/machine/tic4x/Makefile.in: Ditto.
5026 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
5028 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
5029 file chain on the passed in reentrancy struct if it
5032 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5033 Jeff Johnston <jjohnstn@redhat.com>
5035 * libc/iconv/iconv.tex: Updated with more information.
5037 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
5038 Jeff Johnston <jjohnstn@redhat.com>
5040 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5041 struct for std streams and traverse the global reeentrancy
5042 struct for all other streams.
5044 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5046 * libc/stdlib/atexit.c: Protect global atexit list with a
5047 lock when newlib is multithreaded.
5049 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5051 * configure.in: Add support to generate iconv converter flags
5053 * newlib.hin: Add iconv converter flags.
5054 * configure: Regenerated.
5055 * libc/Makefile.in: Ditto.
5056 * libc/configure.in: Moved iconv converter parsing logic to
5057 top level newlib configure.in.
5058 * libc/configure: Regenerated.
5059 * libc/iconv/Makefile.in: Ditto.
5060 * libc/iconv/README.TODO
5061 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5063 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5064 newlib.h can be used.
5065 * libc/iconv/ces/Makefile.am: Ditto.
5066 * libc/iconv/lib/Makefile.am: Ditto.
5067 * libc/iconv/ccs/Makefile.in: Regenerated.
5068 * libc/iconv/ces/Makefile.in: Ditto.
5069 * libc/iconv/lib/Makefile.in: Ditto.
5070 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5071 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5072 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5073 defined in newlib.h.
5074 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5075 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5076 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5077 * libc/iconv/ccs/cp775.c: Ditto.
5078 * libc/iconv/ccs/cp850.c: Ditto.
5079 * libc/iconv/ccs/cp852.c: Ditto.
5080 * libc/iconv/ccs/cp855.c: Ditto.
5081 * libc/iconv/ccs/cp866.c: Ditto.
5082 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5083 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5084 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5085 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5086 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5087 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5088 * libc/iconv/ccs/jis_x0201.c: Ditto.
5089 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5090 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5091 * libc/iconv/ccs/koi8_r.c: Ditto.
5092 * libc/iconv/ccs/koi8_u.c: Ditto.
5093 * libc/iconv/ccs/ksx1001.c: Ditto.
5094 * libc/iconv/ccs/shift_jis.c: Ditto.
5095 * libc/iconv/ccs/us_ascii.c: Ditto.
5096 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5097 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5098 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5099 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5100 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5101 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5102 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5103 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5104 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5105 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5106 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5107 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5108 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5109 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5110 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5111 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5112 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5113 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5114 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5115 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5116 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5117 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5118 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5119 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
5120 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
5121 * libc/iconv/ces/euc-kr.c: Ditto.
5122 * libc/iconv/ces/euc-tw.c: Ditto.
5123 * libc/iconv/ces/gb2312.c: Ditto.
5124 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
5125 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5126 * libc/iconv/ces/ucs-2-internal.c: Ditto.
5127 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5128 * libc/iconv/ces/utf-16.c: Ditto.
5129 * libc/iconv/ces/utf-8.c: Ditto.
5130 * libc/iconv/lib/aliases.c: Ditto.
5131 * libc/iconv/lib/biccs.c: Ditto.
5132 * libc/iconv/lib/bices.c: Ditto.
5133 * libc/iconv/lib/ccs.c: Ditto.
5134 * libc/iconv/lib/ces.c: Ditto.
5135 * libc/iconv/lib/ces_euc.c: Ditto.
5136 * libc/iconv/lib/ces_iso2022.c: Ditto.
5137 * libc/iconv/lib/ces_table.c: Ditto.
5138 * libc/iconv/lib/converter.c: Ditto.
5139 * libc/iconv/lib/deps.h: Ditto.
5140 * libc/iconv/lib/endian.h: Ditto.
5141 * libc/iconv/lib/iconv.c: Ditto.
5142 * libc/iconv/lib/loaddata.c: Ditto.
5143 * libc/iconv/lib/local.h: Include newlib.h.
5144 * libc/argz/Makefile.in: Regenerated.
5145 * libc/ctype/Makefile.in: Ditto.
5146 * libc/errno/Makefile.in: Ditto.
5147 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5148 * libc/locale/Makefile.in: Ditto.
5149 * libc/misc/Makefile.in: Ditto.
5150 * libc/posix/Makefile.in: Ditto.
5151 * libc/reent/Makefile.in: Ditto.
5152 * libc/search/Makefile.in: Ditto.
5153 * libc/signal/Makefile.in: Ditto.
5154 * libc/stdio/Makefile.in: Ditto.
5155 * libc/stdio64/Makefile.in: Ditto.
5156 * libc/stdlib/Makefile.in: Ditto.
5157 * libc/string/Makefile.in: Ditto.
5158 * libc/syscalls/Makefile.in: Ditto.
5159 * libc/time/Makefile.in: Ditto.
5160 * libc/unix/Makefile.in: Ditto.
5161 * testsuite/newlib.iconv/iconv.exp: New file.
5162 * testsuite/newlib.iconv/iconvjp.c: Ditto.
5163 * testsuite/newlib.iconv/iconvnm.c: Ditto.
5164 * testsuite/newlib.iconv/iconvru.c: Ditto.
5166 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5168 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
5169 (--enable-newlib-builtin-converters): Ditto.
5170 * configure.in: Add code to set _ICONV_ENABLED flag.
5171 Set _MB_LEN_MAX to 1 if not mb enabled.
5172 * configure: Regenerated.
5173 * aclocal.m4: Ditto.
5174 * Makefile.in: Ditto.
5175 * newlib.hin: Add _ICONV_ENABLED flag.
5176 * libc/Makefile.am: Add support for iconv.
5177 * libc/configure.in: Ditto.
5178 * libc/Makefile.in: Regenerated.
5179 * libc/aclocal.m4: Ditto.
5180 * libc/configure: Ditto.
5181 * libc/libc.texinfo: Add iconv documentation.
5182 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
5183 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
5184 libc/iconv/README.TODO, libc/iconv/charset.aliases,
5185 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
5186 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
5187 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
5188 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
5189 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
5190 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
5191 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
5192 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
5193 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
5194 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
5195 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
5196 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
5197 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
5198 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
5199 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
5200 libc/iconv/ccs/binary/big5.cct,
5201 libc/iconv/ccs/binary/cns11643_plane1.cct,
5202 libc/iconv/ccs/binary/cns11643_plane14.cct,
5203 libc/iconv/ccs/binary/cns11643_plane2.cct,
5204 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
5205 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
5206 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
5207 libc/iconv/ccs/binary/iso_8859_1.cct,
5208 libc/iconv/ccs/binary/iso_8859_15.cct,
5209 libc/iconv/ccs/binary/iso_8859_2.cct,
5210 libc/iconv/ccs/binary/iso_8859_4.cct,
5211 libc/iconv/ccs/binary/iso_8859_5.cct,
5212 libc/iconv/ccs/binary/jis_x0201.cct,
5213 libc/iconv/ccs/binary/jis_x0208_1983.cct,
5214 libc/iconv/ccs/binary/jis_x0212_1990.cct,
5215 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
5216 libc/iconv/ccs/binary/ksx1001.cct,
5217 libc/iconv/ccs/binary/shift_jis.cct,
5218 libc/iconv/ccs/binary/us_ascii.cct,
5219 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
5220 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
5221 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
5222 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
5223 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
5224 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
5225 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
5226 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
5227 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
5228 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
5229 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
5230 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
5231 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
5232 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
5233 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
5234 * libc/sys/linux/include/iconv.h: Ditto.
5235 * libc/include/sys/_types.h (_iconv_t): Added.
5236 * doc/aclocal.m4: Regenerated.
5237 * doc/configure: Ditto.
5238 * doc/Makefile.in: Ditto.
5239 * iconvdata/Makefile.in: Ditto.
5240 * iconvdata/aclocal.m4: Ditto.
5241 * iconvdata/configure: Ditto.
5242 * libc/*aclocal.m4: Ditto.
5243 * libc/*Makefile.in: Ditto.
5244 * libc/*configure: Ditto.
5245 * libm/*aclocal.m4: Ditto.
5246 * libm/*Makefile.in: Ditto.
5247 * libm/*configure: Ditto.
5249 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
5251 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
5252 by a lock when newlib is multithreaded.
5254 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
5256 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
5257 pointer to match C99 spec.
5258 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
5259 dst is NULL. Also fix to not alter src pointer when dst is NULL
5260 and call _mbrtowc_r instead of _mbtowc_r.
5261 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
5264 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
5266 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
5267 * libc/stdio/freopen.c (freopen): Ditto.
5269 2004-01-16 Christopher Faylor <cgf@redhat.com>
5271 * libc/stdio/vfprintf.c: Add sys/lock.h include.
5273 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
5275 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
5276 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
5277 Add calls to __lock_init_recursive and __lock_close_recursive
5280 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
5282 * libc/stdio/fclose.c: Include sys/lock.h.
5283 (fclose): Destroy lock when file is closed.
5284 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
5286 * libc/stdio/freopen.c: Include sys/lock.h.
5287 (_freopen_r): Destroy lock when file is closed.
5288 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
5291 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5293 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
5296 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5298 * libc/sys/rtems/sys/queue.h: New file.
5299 * libc/include/sys/signal.h: Reflect renumbering of signals to
5300 fit into 32-bit mask.
5301 * libc/include/sys/unistd.h: Add fdatasync() prototype.
5302 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
5303 required. In particular, add the reentrant variants of libc calls.
5304 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
5306 2004-01-06 Mark Mitchell <mark@codesourcery.com>
5308 * libc/sys/arm/syscalls.c (unistd.h): Include it.
5309 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
5310 Similarly for stdout and stderr.
5312 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
5314 * libc/libc.texinfo: Correct escape character for @ sign
5315 so file will be processed by make info. Update copyright years.
5316 * libm/libm.texinfo: Ditto.
5318 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5320 * libc/include/sys/stat.h: No longer include stat-dj.h.
5321 * libc/include/sys/stat-dj.h: Removed.
5323 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5325 * libc/include/wchar.h: Include <sys/reent.h>.
5327 2003-12-05 Christopher Faylor <cgf@redhat.com>
5329 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
5330 when defining _mbrtowc.
5331 * libc/stdlib/mbsinit.c: Ditto.
5332 * libc/stdlib/mbsrtowcs.c: Ditto.
5333 * libc/stdlib/wcrtomb.c: Ditto.
5334 * libc/stdlib/wcsrtombs.c: Ditto.
5335 * libc/stdlib/wctob.c: Ditto.
5337 2003-12-05 Christopher Faylor <cgf@redhat.com>
5339 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
5340 errors when defining _mbrtowc.
5341 * libc/stdlib/mbsinit.c: Ditto.
5342 * libc/stdlib/mbsrtowcs.c: Ditto.
5344 2003-12-05 Christopher Faylor <cgf@redhat.com>
5346 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
5347 errors when defining _mbrtowc.
5349 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5351 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
5352 of mb routines for %lc and %ls support.
5353 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
5354 %ls, and %S support. Remove CYGNUS_NEC markers and
5357 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
5359 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
5360 _wcrtomb_r, and _wcsrtombs_r.
5362 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
5364 * libc/include/sys/fcntl.h: Don't define struct flock when on
5365 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
5367 2003-11-28 Christopher Faylor <cgf@redhat.com>
5369 * libc/include/sys/signal.h: Use system specific signal file when
5372 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5374 * libc/include/stdlib.h (_atoi_r): New prototype.
5375 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
5377 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5379 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
5380 * libc/stdlib/atol.c (_atol_r): New reentrant function.
5381 * libc/stdlib/atoll.c (_atoll_r): Ditto.
5383 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5384 Jeff Johnston <jjohnstn@redhat.com>
5386 * libc/include/stdlib.h (lldiv_t): New type.
5387 (atoll, llabs, lldiv): New prototypes.
5388 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
5389 * libc/stdlib/stdlib.tex: Ditto.
5390 * libc/stdlib/Makefile.in: Regenerated.
5391 * libc/stdlib/atoll.c: New file.
5392 * libc/stdlib/llabs.c: Ditto.
5393 * libc/stdlib/lldiv.c: Ditto.
5395 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
5397 * libc/include/fcntl.h: Declare syscalls only when building newlib.
5398 * libc/include/unistd.h: Ditto.
5399 * libc/include/stat.h: Ditto. Also declare struct stat64.
5401 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5403 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
5404 specifier to use ch instead of *fmt.
5406 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5408 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
5409 code within checks for MB_CAPABLE. For non-mb-capable platforms,
5410 use simple byte logic.
5412 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
5414 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
5415 _strtold routine for processing floats and doubles since it
5416 is not as fast as _strtod_r.
5418 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
5420 * libc/machine/h8300/defines.h : Correct pointer register defines
5422 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
5424 * libc/machine/h8300/reg_memcpy.S : Likewise.
5425 * libc/machine/h8300/reg_memset.S : Likewise.
5426 * libc/machine/h8300/strcmp.S : Likewise.
5428 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
5430 * configure.host: Enable positional arguments for printf
5432 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5433 pointer reference for quad_ptr_t.
5435 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5437 * libc/stdio/scanf.c: Don't include local.h more than once.
5439 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
5441 * libc/include/sys/fcntl.h: Declare _open64.
5442 * libc/include/sys/stat.h: Declare _fstat64.
5443 * libc/include/sys/unistd.h: Declare _lseek64.
5445 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
5447 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5448 (setprogname): Ditto.
5450 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5452 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5453 to use (Ebits + 1) which accounts for the sign-bit.
5455 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5457 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
5459 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5460 and set up default flags to pass to aclocal.
5461 * iconvdata/Makefile.in: Regenerated.
5462 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5463 and getpwuid routines.
5464 * libc/sys/linux/Makefile.in: Regenerated.
5465 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5466 applications to link with newlib's shared libc library.
5467 * libc/sys/linux/getpwnam.c: Ditto.
5468 * libc/sys/linux/getpwuid.c: Ditto.
5469 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5470 that were formerly supplied by /usr/include/linux/types.h with
5472 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5473 test _ELIX_LEVEL macro.
5475 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5477 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5478 referring to _NO_LONGLONG macro.
5480 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5482 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5483 in LOG() macro so this will compile on gcc 3.4 and up.
5484 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5485 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5486 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5487 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5488 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5489 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5490 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5491 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5492 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5493 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5494 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5495 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5496 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5497 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5498 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5499 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5500 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5501 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5502 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5503 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5504 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5505 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5506 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5507 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5508 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5509 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5510 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5511 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5512 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5513 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5514 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5515 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5516 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5517 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5518 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5519 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5521 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5522 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5524 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5525 %ls, %S, %lc, and %C format specifiers.
5527 * libc/stdio/sprintf.c: Add documentation regarding new
5528 format specifiers added in vfprintf.c.
5530 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5532 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5533 to make code work as specified in standard.
5535 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5537 * configure.in: Use absolute newlib basedir when forming
5538 CC_FOR_NEWLIB include options.
5539 * configure: Regenerated.
5541 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5543 * libc/string/wcsnlen.c: New file.
5544 * libc/include/wchar.h: Add wcsnlen prototype.
5545 * libc/string/Makefile.am: Add wcsnlen support.
5546 * libc/string/Makefile.in: Regenerated.
5547 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5549 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
5551 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5553 2003-10-20 Bob Wilson <bob.wilson@acm.org>
5555 * libc/locale/locale.c: Use double quotes in code.
5556 * libc/locale/locale.tex: Likewise.
5557 * libc/libc.texinfo: Hyphenate "floating-point".
5558 * libc/machine/necv70/necv70.tex: Likewise.
5559 * libc/stdio/sprintf.c: Likewise.
5560 * libc/stdio/sscanf.c: Likewise.
5561 * libc/stdlib/atof.c: Likewise.
5562 * libc/stdlib/ldtoa.c: Fix comment typo.
5563 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5564 * libc/stdlib/ldiv.c: Likewise.
5565 * libm/common/s_expm1.c: Likewise.
5566 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5567 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5568 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5569 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5570 and "floating-point".
5571 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5572 * libm/math/e_pow.c: Fix comment typo.
5573 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5574 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5575 * libm/math/s_atan.c: Likewise.
5576 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5577 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5578 "floating-point". Use "nonzero".
5579 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5580 * libm/math/w_acos.c: Likewise.
5581 * libm/math/w_acosh.c: Likewise.
5582 * libm/math/w_asin.c: Likewise.
5583 * libm/math/w_atan2.c: Likewise.
5584 * libm/math/w_atanh.c: Likewise.
5585 * libm/math/w_cosh.c: Likewise.
5586 * libm/math/w_exp.c: Likewise.
5587 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5588 version of 2^x in the description.
5589 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5590 * libm/math/w_gamma.c: Likewise.
5591 * libm/math/w_hypot.c: Likewise.
5592 * libm/math/w_j0.c: Likewise.
5593 * libm/math/w_sinh.c: Likewise.
5594 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5595 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5597 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5598 * libm/mathfp/e_atanh.c: Likewise.
5599 * libm/mathfp/e_hypot.c: Likewise.
5600 * libm/mathfp/er_lgamma.c: Likewise.
5601 * libm/mathfp/s_acos.c: Likewise.
5602 * libm/mathfp/s_asine.c: Likewise.
5603 * libm/mathfp/s_asinh.c: Likewise.
5604 * libm/mathfp/s_atan.c: Likewise.
5605 * libm/mathfp/s_atan2.c: Likewise.
5606 * libm/mathfp/s_atangent.c: Likewise.
5607 * libm/mathfp/s_cosh.c: Likewise.
5608 * libm/mathfp/s_exp.c: Likewise.
5609 * libm/mathfp/s_fmod.c: Likewise.
5610 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5611 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5612 "floating-point". Use "nonzero".
5613 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5614 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5615 * libm/mathfp/s_sineh.c: Likewise.
5616 * libm/mathfp/w_jn.c: Likewise.
5618 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
5620 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5621 lines, to enable parallel make.
5622 * Makefile.in: Rebuilt.
5624 2003-10-14 Christopher Faylor <cgf@redhat.com>
5626 * libc/time/clock.c: Clarify documentation of return value when no
5627 measurement is available.
5629 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5631 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5632 * libm/configure: Regenerate.
5633 * libm/Makefile.in: Ditto.
5635 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5637 * libc/machine/sh/strncpy.S: New file.
5638 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5639 * libc/machine/sh/Makefile.in: Regenerate.
5641 2003-09-11 James E Wilson <wilson@specifixinc.com>
5643 * MAINTAINERS: Update my e-mail address.
5645 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
5647 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5649 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5651 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5653 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5654 _simdldcheck(). Also add unsigned cast for index variable in
5655 for loop using sizeof operators.
5656 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5657 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5658 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5659 plus fix shift calculation for determining if there is a
5662 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
5664 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5665 setgroupent for Cygwin.
5667 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5669 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5670 is different for _REENT_SMALL than when using regular reent
5673 2003-09-05 Ben Elliston <bje@wasabisystems.com>
5675 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5676 modern versions of GCC issue a warning.
5678 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5679 after continuation characters that induces a warning from modern
5682 2003-09-04 Ben Elliston <bje@wasabisystems.com>
5684 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
5685 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
5687 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
5689 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
5690 * libc/stdlib/exit.c : Ditto.
5691 * libc/stdlib/on_exit.c: Ditto.
5693 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
5695 * libc/include/reent.h: Define stat64 as __stat64 when
5696 compiling newlib for Cygwin.
5698 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5700 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
5701 __stat64 when compiling newlib.
5703 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5705 * libc/include/stdio.h: Allow the io64 function prototypes for
5706 Cygwin when compiling newlib.
5707 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
5708 to expose the Cygwin struct __stat64 type.
5709 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
5711 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
5713 2003-08-23 Christopher Faylor <cgf@redhat.com>
5715 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5716 definition to fseeko64.
5718 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5720 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5721 * libc/stdio: Globally remove/replace all references to fp->_data.
5722 Replace with _REENT or _GLOBAL_REENT where appropriate.
5723 * libc/stdio/asprintf.c: Ditto.
5724 * libc/stdio/fclose.c: Ditto.
5725 * libc/stdio/fvwrite.c: Ditto.
5726 * libc/stdio/makebuf.c: Ditto.
5727 * libc/stdio/refill.c: Ditto.
5728 * libc/stdio/local.h: Ditto.
5729 * libc/stdio/setvbuf.c: Ditto.
5730 * libc/stdio/sscanf.c: Ditto.
5731 * libc/stdio/stdio.c: Ditto.
5732 * libc/stdio/ungetc.c: Ditto.
5733 * libc/stdio/vfscanf.c: Ditto.
5734 * libc/stdio/vsscanf.c: Ditto.
5735 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
5736 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
5737 * libc/stdio/vsnprintf.c: Ditto.
5738 * libc/stdio/vsprintf.c: Ditto.
5739 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
5740 instead of _REENT to walk file list.
5741 * libc/stdio/fflush.c: Ditto.
5742 * libc/stdio/fgetpos.c: Add reentrant version and have regular
5743 version call reentrant version with _REENT argument.
5744 * libc/stdio/fsetpos.c: Ditto.
5745 * libc/stdio/fseek.c: Ditto.
5746 * libc/stdio/fseeko.c: Ditto.
5747 * libc/stdio/ftell.c: Ditto.
5748 * libc/stdio/ftello.c: Ditto.
5749 * libc/stdio/freopen.c: Ditto.
5750 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
5751 new files to chain. Also use _GLOBAL_REENT pointer for
5753 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
5754 * libc/stdio/siprintf.c: Ditto.
5755 * libc/stdio/iprintf.c: Ditto.
5756 * libc/stdio/fprintf.c: Ditto.
5757 * libc/stdio/printf.c: Ditto.
5758 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
5759 * libc/stdio/sprintf.c: Ditto.
5760 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
5761 * libc/stdio/rewind.c: Call _fseek_r directly.
5762 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
5763 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
5765 (get_arg): Add extra struct _reent pointer argument.
5766 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
5768 * libc/stdio64/fopen64.c: Ditto.
5769 * libc/stdio64/freopen64.c: Ditto.
5770 * libc/stdio64/fsetpos64.c: Ditto.
5771 * libc/stdio64/ftello64.c: Ditto.
5772 * libc/stdio64/local64.h: Ditto.
5773 * libc/stdio64/stdio64.c: Ditto.
5774 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
5775 _fstat64_r for the meantime.
5777 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
5779 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
5782 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
5784 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
5787 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
5789 * libc/include/math.h: Add prototypes for __signbitf and
5792 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
5794 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
5795 correct type of conversion when dealing with EUCJP or SJIS.
5796 * libc/ctype/iswblank.c: Ditto.
5797 * libc/ctype/iswcntrl.c: Ditto.
5798 * libc/ctype/iswprint.c: Ditto.
5799 * libc/ctype/iswpunct.c: Ditto.
5800 * libc/ctype/iswspace.c: Ditto.
5801 * libc/ctype/towlower.c: Ditto.
5802 * libc/ctype/towupper.c: Ditto.
5804 2003-07-31 Nick Clifton <nickc@redhat.com>
5806 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
5807 before calling main, in case it saves its argument registers.
5808 Remove reference to deleted v850ea port.
5809 * configure.host: Remove reference to deleted v850ea port.
5810 Do not use -mv850 when building for v850e target. This
5811 prevents the ctbp system register from being initialised.
5813 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
5815 * libc/stdio/vfprintf.c: Set output size to 1 when
5816 we have %f format with precision 0 and # flag not specified.
5818 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
5820 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
5823 2003-07-25 Christopher Faylor <cgf@redhat.com>
5825 * libc/stdio64/fdopen64.c: Include sys/lock.h.
5827 2003-07-25 Christopher Faylor <cgf@redhat.com>
5829 * configure.host: Find cygwin include directory, when appropriate.
5831 2003-07-24 Christopher Faylor <cgf@redhat.com>
5833 * libc/stdio64/fdopen64.c: New file.
5834 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
5835 * libc/stdio64/Makefile.in: Regenerate.
5836 * libc/include/stdio.h (fdopen64): Define.
5837 * libc/include/stdio.h (_fdopen64_r): Ditto.
5839 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
5841 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
5842 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
5843 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
5844 restore callee-saved FP registers.
5846 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
5848 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
5850 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
5852 * libc/sys/sh/Makefile.in: Regenerate.
5853 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
5854 * libc/sys/sh/ftruncate.c: New file.
5855 * libc/sys/sh/truncate.c: Likewise.
5857 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
5859 * libc/include/math.h (nan, nanf): Update prototype to C99.
5860 * libm/common/s_nan.c (nan): Likewise.
5861 * libm/common/s_nanf.c (nanf, nan): Likewise.
5862 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
5864 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
5866 * libc/include/stdbool.h: Removed as this is defined by gcc.
5868 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
5870 * libc/include/stdbool.h: New header file defined by C99.
5872 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5874 * libc/include/sys/types.h (int8_t): Make signed.
5876 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5878 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
5880 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
5882 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
5883 on if we actually created the shared memory file exclusively.
5885 2003-06-27 Joe Vornehm <joev@mitre.org>
5887 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
5888 comparisons to account for unsigned internal value w.
5890 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
5892 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
5893 wrbuf for a non-creating open.
5895 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
5897 * libc/machine/h8300/setarch.h: New.
5898 * libc/machine/h8300/memcpy.S: Use it.
5899 * libc/machine/h8300/memset.S: Likewise.
5900 * libc/machine/h8300/reg_memcpy.S: Likewise.
5901 * libc/machine/h8300/reg_memset.S: Likewise.
5902 * libc/machine/h8300/setjmp.S: Likewise.
5903 * libc/machine/h8300/strcmp.S: Likewise.
5905 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
5907 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
5910 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5912 * configure.host (iq2000): Add tabs.
5914 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5916 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
5917 to handle latest on_exit change.
5918 * libc/sys/linux/Makefile.am: Remove special compilation
5919 for malloc.c and mcheck.c.
5920 * libc/sys/linux/Makefile.in: Regenerated.
5921 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
5922 after including <features.h>.
5923 * libc/sys/linux/mcheck.c: Ditto.
5924 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
5926 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
5927 add -DNOT_IN_libc to C flags.
5928 * libc/sys/linux/intl/Makefile.in: Regenerated.
5929 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
5930 * libc/sys/linux/linuxthreads/semaphore.h: Include
5931 <bits/pthreadtypes.h>.
5932 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
5933 including <features.h>.
5934 * libc/sys/linux/sys/lock.h: Ditto.
5936 2003-06-11 Nick Clifton <nickc@redhat.com>
5938 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
5941 2003-06-10 Stan Cox <scox@redhat.com>
5942 Anthony Green <green@redhat.com>
5944 * configure.host: Add iq2000 support.
5945 * newlib/libc/include/machine/ieeefp.h: Ditto.
5946 * newlib/libc/include/machine/setjmp.h: Ditto.
5947 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
5948 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
5949 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
5950 libc/machine/iq2000/Makefile.in: New files.
5952 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
5954 * libc/sys/h8300hms/setarch.h: New file.
5955 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
5956 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
5957 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
5958 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
5960 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
5962 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
5964 * libc/argz/argz_add_sep.c: Ditto.
5965 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
5966 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
5967 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
5968 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
5969 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
5970 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
5971 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
5972 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
5973 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
5974 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
5975 * libc/posix/execl.c libc/posix/execle.c: Ditto.
5976 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
5977 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
5978 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
5979 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
5980 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
5981 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
5982 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
5983 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
5984 * libc/search/twalk.c libc/signal/signal.c: Ditto.
5986 2003-06-05 Nick Clifton <nickc@redhat.com>
5988 * libc/include/sys/reent.h (struct _on_exit_args): New
5989 structure containing fields used by the on_exit() function.
5990 (struct _atexit): Include struct _on_exit_args. For
5991 _REENT_SMALL do his via a pointer that is initialised when
5993 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
5994 structure, if one has been allocated.
5995 * libc/stdlib/atexit.c (atexit): Update indirection to
5997 * libc/stdlib/on_exit.c (on_exit): Indirect via the
5998 _on_exit_args structure. For _REENT_SMALL, allocate a
5999 structure if one does not exist.
6000 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
6003 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
6005 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
6006 * libc/sys/linux/net/Makefile.in: Regenerated.
6008 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
6010 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
6011 * libc/reent/fcntlr.c: Ditto.
6012 * libc/reent/fstat64r.c: Ditto.
6013 * libc/reent/linkr.c: Ditto.
6014 * libc/reent/lseek64r.c: Ditto.
6015 * libc/reent/lseekr.c: Ditto.
6016 * libc/reent/openr.c: Ditto.
6017 * libc/reent/readr.c: Ditto.
6018 * libc/reent/reent.c: Ditto.
6019 * libc/reent/sbrkr.c: Ditto.
6020 * libc/reent/signalr.c: Ditto.
6021 * libc/reent/signgam.c: Ditto.
6022 * libc/reent/statr.c: Ditto.
6023 * libc/reent/timer.c: Ditto.
6024 * libc/reent/unlinkr.c: Ditto.
6025 * libc/reent/writer.c: Ditto.
6026 * libc/syscalls/sysclose.c: Ditto.
6027 * libc/syscalls/sysexecve.c: Ditto.
6028 * libc/syscalls/sysfcntl.c: Ditto.
6029 * libc/syscalls/sysfork.c: Ditto.
6030 * libc/syscalls/sysfstat.c: Ditto.
6031 * libc/syscalls/sysgetpid.c: Ditto.
6032 * libc/syscalls/sysgettod.c: Ditto.
6033 * libc/syscalls/syskill.c: Ditto.
6034 * libc/syscalls/syslink.c: Ditto.
6035 * libc/syscalls/syslseek.c: Ditto.
6036 * libc/syscalls/sysopen.c: Ditto.
6037 * libc/syscalls/sysread.c: Ditto.
6038 * libc/syscalls/syssbrk.c: Ditto.
6039 * libc/syscalls/sysstat.c: Ditto.
6040 * libc/syscalls/systimes.c: Ditto.
6041 * libc/syscalls/sysunlink.c: Ditto.
6042 * libc/syscalls/syswait.c: Ditto.
6043 * libc/syscalls/syswrite.c: Ditto.
6045 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6047 * libc/time/tzset_r.c: Change local variables that are
6048 set via sscanf using the %h format specifier to be unsigned short
6051 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6053 * configure.host: Allow i[34567]86 variant.
6054 * configure.in: Likewise.
6055 * README: Likewise to the docs.
6056 * configure: Regenerated.
6057 * Makefile.in: Ditto.
6059 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6060 Tom Fitzsimmons <fitzsim@redhat.com>
6062 * configure.in: Add iconvdata support for x86 linux.
6063 * configure: Regenerated.
6064 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
6065 library, iconv, and linuxthreads support.
6066 * libc/sys/linux/configure.in: Ditto.
6067 * libc/sys/linux/Makefile.in: Regenerated.
6068 * libc/sys/linux/configure: Ditto.
6069 * iconvdata/EUC-JP.irreversible: New file.
6070 * iconvdata/Makefile.am: Ditto.
6071 * iconvdata/Makefile.in: Ditto.
6072 * iconvdata/SJIS.irreversible: Ditto.
6073 * iconvdata/aclocal.m4: Ditto.
6074 * iconvdata/configure: Ditto.
6075 * iconvdata/configure.in: Ditto.
6076 * iconvdata/dummy.c: Ditto.
6077 * iconvdata/euc-jp.c: Ditto.
6078 * iconvdata/gconv-modules: Ditto.
6079 * iconvdata/jis0201.c: Ditto.
6080 * iconvdata/jis0201.h: Ditto.
6081 * iconvdata/jis0208.c: Ditto.
6082 * iconvdata/jis0208.h: Ditto.
6083 * iconvdata/jis0212.c: Ditto.
6084 * iconvdata/jis0212.h: Ditto.
6085 * iconvdata/sjis.c: Ditto.
6086 * libc/include/errno.h: Protect definition of error_t.
6087 * libc/sys/linux/gethostid.c: New file.
6088 * libc/sys/linux/sethostid.c: Ditto.
6089 * libc/sys/linux/dl/Makefile.am: Ditto.
6090 * libc/sys/linux/dl/Makefile.in: Ditto.
6091 * libc/sys/linux/dl/abi-tag.h: Ditto.
6092 * libc/sys/linux/dl/atomicity.h: Ditto.
6093 * libc/sys/linux/dl/dl-addr.c: Ditto.
6094 * libc/sys/linux/dl/dl-cache.c: Ditto.
6095 * libc/sys/linux/dl/dl-cache.h: Ditto.
6096 * libc/sys/linux/dl/dl-close.c: Ditto.
6097 * libc/sys/linux/dl/dl-debug.c: Ditto.
6098 * libc/sys/linux/dl/dl-deps.c: Ditto.
6099 * libc/sys/linux/dl/dl-dst.h: Ditto.
6100 * libc/sys/linux/dl/dl-error.c: Ditto.
6101 * libc/sys/linux/dl/dl-fini.c: Ditto.
6102 * libc/sys/linux/dl/dl-init.c: Ditto.
6103 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6104 * libc/sys/linux/dl/dl-libc.c: Ditto.
6105 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6106 * libc/sys/linux/dl/dl-load.c: Ditto.
6107 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6108 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6109 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6110 * libc/sys/linux/dl/dl-misc.c: Ditto.
6111 * libc/sys/linux/dl/dl-object.c: Ditto.
6112 * libc/sys/linux/dl/dl-open.c: Ditto.
6113 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6114 * libc/sys/linux/dl/dl-profile.c: Ditto.
6115 * libc/sys/linux/dl/dl-profstub.c: Ditto.
6116 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6117 * libc/sys/linux/dl/dl-runtime.c: Ditto.
6118 * libc/sys/linux/dl/dl-support.c: Ditto.
6119 * libc/sys/linux/dl/dl-sym.c: Ditto.
6120 * libc/sys/linux/dl/dl-version.c: Ditto.
6121 * libc/sys/linux/dl/dlfcn.h: Ditto.
6122 * libc/sys/linux/dl/do-lookup.h: Ditto.
6123 * libc/sys/linux/dl/do-rel.h: Ditto.
6124 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6125 * libc/sys/linux/dl/kernel-features.h: Ditto.
6126 * libc/sys/linux/dl/ldsodefs.h: Ditto.
6127 * libc/sys/linux/dl/libintl.h: Ditto.
6128 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
6129 * libc/sys/linux/dl/unsecvars.h: Ditto.
6130 * libc/sys/linux/iconv/Makefile.am: Ditto.
6131 * libc/sys/linux/iconv/Makefile.in: Ditto.
6132 * libc/sys/linux/iconv/categories.def: Ditto.
6133 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
6134 * libc/sys/linux/iconv/gconv.c: Ditto.
6135 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
6136 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
6137 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
6138 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
6139 * libc/sys/linux/iconv/gconv_close.c: Ditto.
6140 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
6141 * libc/sys/linux/iconv/gconv_db.c: Ditto.
6142 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
6143 * libc/sys/linux/iconv/gconv_int.h: Ditto.
6144 * libc/sys/linux/iconv/gconv_open.c: Ditto.
6145 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6146 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
6147 * libc/sys/linux/iconv/hash-string.h: Ditto.
6148 * libc/sys/linux/iconv/iconv.c: Ditto.
6149 * libc/sys/linux/iconv/iconv.h: Ditto.
6150 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
6151 * libc/sys/linux/iconv/iconv_close.c: Ditto.
6152 * libc/sys/linux/iconv/iconv_open.c: Ditto.
6153 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
6154 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
6155 * libc/sys/linux/iconv/loadinfo.h: Ditto.
6156 * libc/sys/linux/iconv/localeinfo.h: Ditto.
6157 * libc/sys/linux/iconv/loop.c: Ditto.
6158 * libc/sys/linux/iconv/skeleton.c: Ditto.
6159 * libc/sys/linux/iconv/strtab.c: Ditto.
6160 * libc/sys/linux/include/dl-hash.h: Ditto.
6161 * libc/sys/linux/include/dlfcn.h: Ditto.
6162 * libc/sys/linux/include/fnmatch.h: Ditto.
6163 * libc/sys/linux/include/gconv.h: Ditto.
6164 * libc/sys/linux/include/glob.h: Ditto.
6165 * libc/sys/linux/include/hesiod.h: Ditto.
6166 * libc/sys/linux/include/ifaddrs.h: Ditto.
6167 * libc/sys/linux/include/libc_private.h: Ditto.
6168 * libc/sys/linux/include/link.h: Ditto.
6169 * libc/sys/linux/include/namespace.h: Ditto.
6170 * libc/sys/linux/include/netconfig.h: Ditto.
6171 * libc/sys/linux/include/netdb.h: Ditto.
6172 * libc/sys/linux/include/nsswitch.h: Ditto.
6173 * libc/sys/linux/include/regex.h: Ditto.
6174 * libc/sys/linux/include/resolv.h: Ditto.
6175 * libc/sys/linux/include/rune.h: Ditto.
6176 * libc/sys/linux/include/runetype.h: Ditto.
6177 * libc/sys/linux/include/semaphore.h: Ditto.
6178 * libc/sys/linux/include/setlocale.h: Ditto.
6179 * libc/sys/linux/include/un-namespace.h: Ditto.
6180 * libc/sys/linux/include/wordexp.h: Ditto.
6181 * libc/sys/linux/include/arpa/ftp.h: Ditto.
6182 * libc/sys/linux/include/arpa/inet.h: Ditto.
6183 * libc/sys/linux/include/arpa/nameser.h: Ditto.
6184 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
6185 * libc/sys/linux/include/arpa/telnet.h: Ditto.
6186 * libc/sys/linux/include/arpa/tftp.h: Ditto.
6187 * libc/sys/linux/include/net/bpf.h: Ditto.
6188 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
6189 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
6190 * libc/sys/linux/include/net/bridge.h: Ditto.
6191 * libc/sys/linux/include/net/ethernet.h: Ditto.
6192 * libc/sys/linux/include/net/fddi.h: Ditto.
6193 * libc/sys/linux/include/net/if.h: Ditto.
6194 * libc/sys/linux/include/net/if_arc.h: Ditto.
6195 * libc/sys/linux/include/net/if_arp.h: Ditto.
6196 * libc/sys/linux/include/net/if_atm.h: Ditto.
6197 * libc/sys/linux/include/net/if_dl.h: Ditto.
6198 * libc/sys/linux/include/net/if_gif.h: Ditto.
6199 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
6200 * libc/sys/linux/include/net/if_llc.h: Ditto.
6201 * libc/sys/linux/include/net/if_media.h: Ditto.
6202 * libc/sys/linux/include/net/if_mib.h: Ditto.
6203 * libc/sys/linux/include/net/if_ppp.h: Ditto.
6204 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
6205 * libc/sys/linux/include/net/if_slvar.h: Ditto.
6206 * libc/sys/linux/include/net/if_sppp.h: Ditto.
6207 * libc/sys/linux/include/net/if_stf.h: Ditto.
6208 * libc/sys/linux/include/net/if_tap.h: Ditto.
6209 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
6210 * libc/sys/linux/include/net/if_tun.h: Ditto.
6211 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
6212 * libc/sys/linux/include/net/if_types.h: Ditto.
6213 * libc/sys/linux/include/net/if_var.h: Ditto.
6214 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
6215 * libc/sys/linux/include/net/intrq.h: Ditto.
6216 * libc/sys/linux/include/net/iso88025.h: Ditto.
6217 * libc/sys/linux/include/net/net_osdep.h: Ditto.
6218 * libc/sys/linux/include/net/netisr.h: Ditto.
6219 * libc/sys/linux/include/net/pfil.h: Ditto.
6220 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
6221 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
6222 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
6223 * libc/sys/linux/include/net/radix.h: Ditto.
6224 * libc/sys/linux/include/net/raw_cb.h: Ditto.
6225 * libc/sys/linux/include/net/route.h: Ditto.
6226 * libc/sys/linux/include/net/slcompress.h: Ditto.
6227 * libc/sys/linux/include/net/slip.h: Ditto.
6228 * libc/sys/linux/include/net/zlib.h: Ditto.
6229 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
6230 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
6231 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
6232 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
6233 * libc/sys/linux/include/netinet/igmp.h: Ditto.
6234 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
6235 * libc/sys/linux/include/netinet/in.h: Ditto.
6236 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
6237 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
6238 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
6239 * libc/sys/linux/include/netinet/in_var.h: Ditto.
6240 * libc/sys/linux/include/netinet/ip.h: Ditto.
6241 * libc/sys/linux/include/netinet/ip6.h: Ditto.
6242 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
6243 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
6244 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
6245 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
6246 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
6247 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
6248 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
6249 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
6250 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
6251 * libc/sys/linux/include/netinet/tcp.h: Ditto.
6252 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
6253 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
6254 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
6255 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
6256 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
6257 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
6258 * libc/sys/linux/include/netinet/udp.h: Ditto.
6259 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
6260 * libc/sys/linux/include/netinet6/ah.h: Ditto.
6261 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
6262 * libc/sys/linux/include/netinet6/esp.h: Ditto.
6263 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
6264 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
6265 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
6266 * libc/sys/linux/include/netinet6/in6.h: Ditto.
6267 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
6268 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
6269 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
6270 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
6271 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
6272 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
6273 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
6274 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
6275 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
6276 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
6277 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
6278 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
6279 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
6280 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
6281 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
6282 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
6283 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
6284 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
6285 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
6286 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
6287 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
6288 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
6289 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
6290 * libc/sys/linux/include/netns/idp.h: Ditto.
6291 * libc/sys/linux/include/netns/idp_var.h: Ditto.
6292 * libc/sys/linux/include/netns/ns.h: Ditto.
6293 * libc/sys/linux/include/netns/ns_error.h: Ditto.
6294 * libc/sys/linux/include/netns/ns_if.h: Ditto.
6295 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
6296 * libc/sys/linux/include/netns/sp.h: Ditto.
6297 * libc/sys/linux/include/netns/spidp.h: Ditto.
6298 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
6299 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
6300 * libc/sys/linux/include/netns/spp_var.h: Ditto.
6301 * libc/sys/linux/include/rpc/Makefile: Ditto.
6302 * libc/sys/linux/include/rpc/auth.h: Ditto.
6303 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
6304 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
6305 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
6306 * libc/sys/linux/include/rpc/clnt.h: Ditto.
6307 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
6308 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
6309 * libc/sys/linux/include/rpc/des.h: Ditto.
6310 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
6311 * libc/sys/linux/include/rpc/nettype.h: Ditto.
6312 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
6313 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
6314 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
6315 * libc/sys/linux/include/rpc/raw.h: Ditto.
6316 * libc/sys/linux/include/rpc/rpc.h: Ditto.
6317 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
6318 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
6319 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
6320 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
6321 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
6322 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
6323 * libc/sys/linux/include/rpc/svc.h: Ditto.
6324 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
6325 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
6326 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
6327 * libc/sys/linux/include/rpc/types.h: Ditto.
6328 * libc/sys/linux/include/rpc/xdr.h: Ditto.
6329 * libc/sys/linux/intl/Makefile.am: Ditto.
6330 * libc/sys/linux/intl/Makefile.in: Ditto.
6331 * libc/sys/linux/intl/bindtextdom.c: Ditto.
6332 * libc/sys/linux/intl/catgets.c: Ditto.
6333 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
6334 * libc/sys/linux/intl/config.h: Ditto.
6335 * libc/sys/linux/intl/dcgettext.c: Ditto.
6336 * libc/sys/linux/intl/dcigettext.c: Ditto.
6337 * libc/sys/linux/intl/dcngettext.c: Ditto.
6338 * libc/sys/linux/intl/dgettext.c: Ditto.
6339 * libc/sys/linux/intl/dngettext.c: Ditto.
6340 * libc/sys/linux/intl/explodename.c: Ditto.
6341 * libc/sys/linux/intl/finddomain.c: Ditto.
6342 * libc/sys/linux/intl/gettext.c: Ditto.
6343 * libc/sys/linux/intl/gettext.h: Ditto.
6344 * libc/sys/linux/intl/gettextP.h: Ditto.
6345 * libc/sys/linux/intl/hash-string.h: Ditto.
6346 * libc/sys/linux/intl/l10nflist.c: Ditto.
6347 * libc/sys/linux/intl/loadinfo.h: Ditto.
6348 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
6349 * libc/sys/linux/intl/locale.alias: Ditto.
6350 * libc/sys/linux/intl/localealias.c: Ditto.
6351 * libc/sys/linux/intl/ngettext.c: Ditto.
6352 * libc/sys/linux/intl/open_catalog.c: Ditto.
6353 * libc/sys/linux/intl/plural.c: Ditto.
6354 * libc/sys/linux/intl/plural.y: Ditto.
6355 * libc/sys/linux/intl/stpcpy.c: Ditto.
6356 * libc/sys/linux/intl/textdomain.c: Ditto.
6357 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
6358 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6359 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
6360 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
6361 * libc/sys/linux/linuxthreads/attr.c: Ditto.
6362 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
6363 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
6364 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
6365 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
6366 * libc/sys/linux/linuxthreads/config.h: Ditto.
6367 * libc/sys/linux/linuxthreads/configure: Ditto.
6368 * libc/sys/linux/linuxthreads/configure.in: Ditto.
6369 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
6370 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
6371 * libc/sys/linux/linuxthreads/events.c: Ditto.
6372 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
6373 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
6374 * libc/sys/linux/linuxthreads/internals.h: Ditto.
6375 * libc/sys/linux/linuxthreads/join.c: Ditto.
6376 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
6377 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
6378 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
6379 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
6380 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
6381 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
6382 * libc/sys/linux/linuxthreads/manager.c: Ditto.
6383 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
6384 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
6385 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
6386 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
6387 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
6388 * libc/sys/linux/linuxthreads/prio.c: Ditto.
6389 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
6390 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
6391 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
6392 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
6393 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
6394 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
6395 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
6396 * libc/sys/linux/linuxthreads/queue.h: Ditto.
6397 * libc/sys/linux/linuxthreads/reent.c: Ditto.
6398 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
6399 * libc/sys/linux/linuxthreads/restart.h: Ditto.
6400 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
6401 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
6402 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
6403 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
6404 * libc/sys/linux/linuxthreads/signals.c: Ditto.
6405 * libc/sys/linux/linuxthreads/specific.c: Ditto.
6406 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
6407 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
6408 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
6409 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
6410 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6411 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
6412 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6413 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6414 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6415 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6416 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6417 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6418 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6419 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6420 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6421 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6422 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6423 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6424 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6425 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6426 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6427 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6428 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6429 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6430 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6431 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6432 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6433 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6434 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6435 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6436 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6437 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6438 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6439 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6440 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6441 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6442 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6443 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6444 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6445 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6446 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6447 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6448 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6449 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6450 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6451 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6452 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6453 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6454 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6455 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6456 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6457 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6458 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6459 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6460 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6461 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6462 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6463 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6464 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6465 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6466 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6467 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6468 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6469 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6470 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6471 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6472 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6473 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6474 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6475 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6476 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6477 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6478 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6479 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6480 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6481 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6482 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6483 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6484 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6485 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6486 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6487 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6488 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6489 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6490 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6491 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6492 * libc/sys/linux/net/Makefile.am: Ditto.
6493 * libc/sys/linux/net/Makefile.in: Ditto.
6494 * libc/sys/linux/net/addr2ascii.3: Ditto.
6495 * libc/sys/linux/net/addr2ascii.c: Ditto.
6496 * libc/sys/linux/net/ascii2addr.c: Ditto.
6497 * libc/sys/linux/net/base64.c: Ditto.
6498 * libc/sys/linux/net/bindresvport.c: Ditto.
6499 * libc/sys/linux/net/byteorder.3: Ditto.
6500 * libc/sys/linux/net/ether_addr.c: Ditto.
6501 * libc/sys/linux/net/ethers.3: Ditto.
6502 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6503 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6504 * libc/sys/linux/net/gethostbydns.c: Ditto.
6505 * libc/sys/linux/net/gethostbyht.c: Ditto.
6506 * libc/sys/linux/net/gethostbyname.3: Ditto.
6507 * libc/sys/linux/net/gethostbynis.c: Ditto.
6508 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6509 * libc/sys/linux/net/getifaddrs.3: Ditto.
6510 * libc/sys/linux/net/getifaddrs.c: Ditto.
6511 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6512 * libc/sys/linux/net/getnameinfo.3: Ditto.
6513 * libc/sys/linux/net/getnameinfo.c: Ditto.
6514 * libc/sys/linux/net/getnetbydns.c: Ditto.
6515 * libc/sys/linux/net/getnetbyht.c: Ditto.
6516 * libc/sys/linux/net/getnetbynis.c: Ditto.
6517 * libc/sys/linux/net/getnetent.3: Ditto.
6518 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6519 * libc/sys/linux/net/getproto.c: Ditto.
6520 * libc/sys/linux/net/getprotoent.3: Ditto.
6521 * libc/sys/linux/net/getprotoent.c: Ditto.
6522 * libc/sys/linux/net/getprotoname.c: Ditto.
6523 * libc/sys/linux/net/getservbyname.c: Ditto.
6524 * libc/sys/linux/net/getservbyport.c: Ditto.
6525 * libc/sys/linux/net/getservent.3: Ditto.
6526 * libc/sys/linux/net/getservent.c: Ditto.
6527 * libc/sys/linux/net/herror.c: Ditto.
6528 * libc/sys/linux/net/hesiod.3: Ditto.
6529 * libc/sys/linux/net/hesiod.c: Ditto.
6530 * libc/sys/linux/net/if_indextoname.3: Ditto.
6531 * libc/sys/linux/net/ifname.c: Ditto.
6532 * libc/sys/linux/net/inet.3: Ditto.
6533 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6534 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6535 * libc/sys/linux/net/inet_addr.c: Ditto.
6536 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6537 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6538 * libc/sys/linux/net/inet_net.3: Ditto.
6539 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6540 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6541 * libc/sys/linux/net/inet_neta.c: Ditto.
6542 * libc/sys/linux/net/inet_netof.c: Ditto.
6543 * libc/sys/linux/net/inet_network.c: Ditto.
6544 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6545 * libc/sys/linux/net/inet_ntop.c: Ditto.
6546 * libc/sys/linux/net/inet_pton.c: Ditto.
6547 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6548 * libc/sys/linux/net/ip6opt.c: Ditto.
6549 * libc/sys/linux/net/iso_addr.3: Ditto.
6550 * libc/sys/linux/net/iso_addr.c: Ditto.
6551 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6552 * libc/sys/linux/net/linkaddr.3: Ditto.
6553 * libc/sys/linux/net/linkaddr.c: Ditto.
6554 * libc/sys/linux/net/map_v4v6.c: Ditto.
6555 * libc/sys/linux/net/name6.c: Ditto.
6556 * libc/sys/linux/net/namespace.h: Ditto.
6557 * libc/sys/linux/net/ns.3: Ditto.
6558 * libc/sys/linux/net/ns_addr.c: Ditto.
6559 * libc/sys/linux/net/ns_name.c: Ditto.
6560 * libc/sys/linux/net/ns_netint.c: Ditto.
6561 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6562 * libc/sys/linux/net/ns_parse.c: Ditto.
6563 * libc/sys/linux/net/ns_print.c: Ditto.
6564 * libc/sys/linux/net/ns_ttl.c: Ditto.
6565 * libc/sys/linux/net/nsap_addr.c: Ditto.
6566 * libc/sys/linux/net/nsdispatch.3: Ditto.
6567 * libc/sys/linux/net/nsdispatch.c: Ditto.
6568 * libc/sys/linux/net/nslexer.c: Ditto.
6569 * libc/sys/linux/net/nslexer.l: Ditto.
6570 * libc/sys/linux/net/nsparser.c: Ditto.
6571 * libc/sys/linux/net/nsparser.h: Ditto.
6572 * libc/sys/linux/net/nsparser.y: Ditto.
6573 * libc/sys/linux/net/rcmd.3: Ditto.
6574 * libc/sys/linux/net/rcmd.c: Ditto.
6575 * libc/sys/linux/net/rcmdsh.3: Ditto.
6576 * libc/sys/linux/net/rcmdsh.c: Ditto.
6577 * libc/sys/linux/net/recv.c: Ditto.
6578 * libc/sys/linux/net/res_comp.c: Ditto.
6579 * libc/sys/linux/net/res_config.h: Ditto.
6580 * libc/sys/linux/net/res_data.c: Ditto.
6581 * libc/sys/linux/net/res_debug.c: Ditto.
6582 * libc/sys/linux/net/res_init.c: Ditto.
6583 * libc/sys/linux/net/res_mkquery.c: Ditto.
6584 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6585 * libc/sys/linux/net/res_query.c: Ditto.
6586 * libc/sys/linux/net/res_send.c: Ditto.
6587 * libc/sys/linux/net/res_update.c: Ditto.
6588 * libc/sys/linux/net/resolver.3: Ditto.
6589 * libc/sys/linux/net/rthdr.c: Ditto.
6590 * libc/sys/linux/net/send.c: Ditto.
6591 * libc/sys/linux/net/un-namespace.h: Ditto.
6592 * libc/sys/linux/net/vars.c: Ditto.
6593 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6594 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6595 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6596 * libc/sys/linux/stdlib/cclass.h: Ditto.
6597 * libc/sys/linux/stdlib/cname.h: Ditto.
6598 * libc/sys/linux/stdlib/collate.c: Ditto.
6599 * libc/sys/linux/stdlib/collate.h: Ditto.
6600 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6601 * libc/sys/linux/stdlib/engine.c: Ditto.
6602 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6603 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6604 * libc/sys/linux/stdlib/glob.3: Ditto.
6605 * libc/sys/linux/stdlib/glob.c: Ditto.
6606 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6607 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6608 * libc/sys/linux/stdlib/regerror.c: Ditto.
6609 * libc/sys/linux/stdlib/regex.3: Ditto.
6610 * libc/sys/linux/stdlib/regex2.h: Ditto.
6611 * libc/sys/linux/stdlib/regexec.c: Ditto.
6612 * libc/sys/linux/stdlib/regfree.c: Ditto.
6613 * libc/sys/linux/stdlib/utils.h: Ditto.
6614 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6615 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6616 * libc/sys/linux/sys/dlfcn.h: Ditto.
6617 * libc/sys/linux/sys/elfclass.h: Ditto.
6618 * libc/sys/linux/sys/event.h: Ditto.
6619 * libc/sys/linux/sys/ioccom.h: Ditto.
6620 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6621 * libc/sys/linux/sys/link.h: Ditto.
6622 * libc/sys/linux/sys/lock.h: Ditto.
6623 * libc/sys/linux/sys/param.h: Ditto.
6624 * libc/sys/linux/sys/socket.h: Ditto.
6625 * libc/sys/linux/sys/sockio.h: Ditto.
6627 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
6629 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
6631 * newlib/libc/machine/h8300/memset.S: Likewise
6632 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6633 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6634 * newlib/lib/machine/h8300/setjmp.S: Likewise
6635 * newlib/lib/machine/h8300/strcmp.S: Likewise
6636 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6638 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6640 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6641 * libc/include/stdio.h: Ditto.
6642 * libc/include/sys/config.h: Ditto.
6643 * libc/stdio/mktemp.c: Ditto.
6645 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6647 * libc/locale/ldpart.c (__part_load_locale): Substitute
6648 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6649 * libc/search/hash.c (__hash_open): Ditto.
6651 * libc/stdio/fseek.c (fseek): Ditto.
6652 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6653 * libc/stdio/mktemp.c (_gettemp): Ditto.
6655 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6657 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6659 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6661 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6662 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6663 if __CYGWIN_USE_BIG_TYPES__ is set.
6664 * libc/search/hash.c (__hash_open): Ditto.
6666 * libc/stdio/fseek.c (fseek): Ditto.
6667 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6668 * libc/stdio/mktemp.c (_gettemp): Ditto.
6669 * libc/sys/cygwin/Makefile.am: Remove.
6670 * libc/sys/cygwin/Makefile.in: Remove.
6671 * libc/sys/cygwin/aclocal.m4: Remove.
6672 * libc/sys/cygwin/configure: Remove.
6673 * libc/sys/cygwin/configure.in: Remove.
6674 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6675 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6677 * libc/sys/cygwin/sys/param.h: Ditto.
6678 * libc/sys/cygwin/sys/utime.h: Ditto.
6679 * libc/sys/cygwin/sys/utmp.h: Ditto.
6681 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
6683 * libc/include/sys/types.h: Don't define key_t for Cygwin.
6685 2003-05-10 Christopher Faylor <cgf@redhat.com>
6687 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
6690 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
6692 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
6693 Include cygwin/config.h instead.
6695 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
6697 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
6698 all code with #ifdef __SPE__ test.
6699 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
6701 2003-04-15 Chris January <chris@atomice.net>
6703 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
6706 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
6708 * libc/machine/sh/memset.S: Avoid clobbering volatile
6709 objects following a tiny to-be-set array in the same quadword.
6711 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
6713 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
6714 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
6715 * libc/string/Makefile.in: Regenerated.
6716 * libc/string/wcswidth.c: New file.
6717 * libc/string/wcwidth.c: New file.
6718 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6720 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6722 * libc/machine/sh/memset.S: Fix problem with alloco region
6723 exceeding destination region for length >= 88 bytes, start
6724 & 0x16 == 0, end & 0x1f == 18.
6726 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
6728 * libc/string/wcscoll.c: Fix comment.
6730 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
6732 * libc/include/wchar.h: Add definition for wcscoll.
6733 * libc/string/Makefile.am: Add wcscoll.c.
6734 * libc/string/Makefile.in: Regenerated.
6735 * libc/string/wcscoll.c: New file.
6736 * libc/string/wcstrings.tex: Add wcscoll.
6738 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6740 * libc/stdio/sscanf.c: Update flags description.
6741 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
6743 (__svfscanf_r): Add 'hh' and 'll' handling.
6745 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6747 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
6748 __d_position member to _off_t.
6750 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
6752 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
6753 count all characters used to create number against maximum width.
6754 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6756 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6758 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
6760 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
6761 flag to support simulator only extensions.
6763 2003-03-17 Bob Cassels <bcassels@abinitio.com>
6765 * libc/string/wcschr.c: (wcschr): Look for character first,
6766 then for end of string, so you can do wcschr(x, '\0').
6768 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
6770 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
6771 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
6772 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
6773 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
6774 * libc/stdio/fseeko.c (fseeko): Ditto.
6775 * libc/stdio/ftello.c (ftello): Ditto.
6776 * libc/stdio/stdio.c (__swrite): Ditto.
6778 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
6779 * libc/stdio/fseek.c (fseek): Ditto.
6780 * libc/stdio/fsetpos.c (fsetpos): Ditto.
6781 * libc/stdio/ftell.c (ftell): Ditto.
6782 * libc/stdio/local.h: Declare __sseek using _off_t.
6784 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6786 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
6788 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6790 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
6793 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6795 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
6797 * libc/include/sys/stat.h: Ditto.
6798 * libc/include/sys/unistd.h: Ditto.
6799 * libc/sys/cygwin/sys/dirent.h: Ditto.
6801 2003-03-07 Christopher Faylor <cgf@redhat.com>
6803 * libc/include/sys/unistd.h: Guard getopt.h call to force only
6804 declaration of getopt and avoid getopt_long declaration.
6805 * libc/sys/cygwin/include/unistd.h: Remove.
6807 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
6809 * configure.host: Define stdio64_dir for Cygwin.
6810 * libc/include/stdio.h: Change definition of fpos_t to fulfill
6811 Cygwin 64bit file access requirements.
6812 Drop definition of f*64() functions when compiled for Cygwin.
6813 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
6814 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
6815 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
6817 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
6819 * libc/include/sys/reent.h: Remove extraneous _sig_func
6822 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6824 * libc/sys/h8300hms/Makefile.am: Add support for new files.
6825 * libc/sys/h8300hms/Makefile.in: Regenerated.
6826 * libc/sys/h8300hms/close.S: New file.
6827 * libc/sys/h8300hms/fstat.S: Ditto.
6828 * libc/sys/h8300hms/lseek.S: Ditto.
6829 * libc/sys/h8300hms/open.S: Ditto.
6830 * libc/sys/h8300hms/stat.S: Ditto.
6831 * libc/sys/h8300hms/read.S: New file to replace read.c.
6832 * libc/sys/h8300hms/read.c: Removed.
6833 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
6834 _lseek, _close, _stat, _fstat.
6835 * libc/sys/h8300hms/write.S: New file to replace write.c.
6836 * libc/sys/h8300hms/write.c: Removed.
6838 2003-02-20 Nick Clifton <nickc@redhat.com>
6840 * Add support for Cirrus Maverick ARM co-processor:
6842 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
6844 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
6845 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
6847 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
6849 * configure.host: set sys_dir, syscall_dir, and
6850 newlib_cflags for ep9312 host.
6852 * configure.host: Restore alpha sorting of entries in case
6855 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
6857 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
6859 2003-02-18 Christian Groessler <chris@groessler.org>
6861 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
6862 support z8001 segmented mode.
6864 2003-02-18 Earnie Boyd <earnie@users.sf.net>
6866 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
6869 2003-02-10 Christopher Faylor <cgf@redhat.com>
6871 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
6872 Don't define some types under cygwin.
6874 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
6876 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
6877 option to allow disabling of syscalls being supplied in newlib.
6878 * aclocal.m4: Regenerated.
6880 * configure.host: Add support of new configuration option and add
6881 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
6882 * doc/aclocal.m4: Regenerated.
6883 * doc/configure: Ditto.
6884 * libc/*aclocal.m4: Ditto.
6885 * libc/*configure: Ditto.
6886 * libm/*aclocal.m4: Ditto.
6887 * libm/*configure: Ditto.
6888 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
6890 * libc/sys/arm/Makefile.in: Regenerated.
6892 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
6894 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
6895 -1 to be sure it cannot later match a valid file fd causing
6896 isatty() to return 1.
6897 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
6898 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
6899 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
6901 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
6903 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
6904 buffer based on the precision, after we have processed the input value
6905 in a local buffer and know its relative magnitude.
6907 2003-01-31 Michael Snyder <msnyder@redhat.com>
6909 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
6910 into registers r1 and r2, so that the simulator can distinguish
6911 this trap from a breakpoint trap. Copied from libgloss.
6913 2003-01-31 Michael Snyder <msnyder@redhat.com>
6915 * libc/sys/h8300hms/crt0.S (_start): Change local label
6916 from .loop to .Loop, so that ld and gdb will ignore it.
6918 2003-01-29 Jason Tishler <jason@tishler.net>
6920 * libc/include/time.h: Declare nanosleep() under Cygwin.
6922 2003-01-24 Nick Clifton <nickc@redhat.com>
6926 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
6928 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
6929 * libc/machine/sh/setjmp.S: Likewise.
6930 * libc/include/machine/ieeefp.h: Likewise.
6932 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
6934 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
6937 2003-01-21 Anita Kulkarni <anitak@kpit.com>
6939 * libc/time/difftime.c : Typecast the result to double.
6941 2003-01-20 Christopher Faylor <cgf@redhat.com>
6943 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
6945 2003-01-18 Nick Clifton <nickc@redhat.com>
6947 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
6948 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
6950 2003-01-16 Joel Sherrill <joel@OARcorp.com>
6952 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
6953 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
6954 constants are defined in each file in the shared versions in
6956 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
6957 autoconf can link programs.
6958 * libc/include/machine/types.h: Explicitly specify signed on
6959 intXX_t types to ensure they are signed.
6961 2003-01-14 Christopher Faylor <cgf@redhat.com>
6963 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
6966 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
6968 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
6970 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
6972 * libc/stdio/sprintf.c: fix typo
6973 * libc/stdio/vfprintf.c: fix typo
6975 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
6977 * configure.host: Support long double I/O for x86-linux.
6978 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
6979 large enough to hold formatted result.
6980 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
6982 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6984 * Makefile.am: Add vasprintf.
6985 * Makefile.in: Regenerated.
6987 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6989 * asprintf.c (_asprintf_r): insure both declarations
6992 2002-12-28 Christopher Faylor <cgf@redhat.com>
6994 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
6995 than defining getopt directly.
6997 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6999 * NEWS: Update with 1.11.0 info.
7001 * acinclude.m4: Change version number to 1.11.0.
7002 * aclocal.m4: Regenerated.
7004 * doc/aclocal.m4: Ditto.
7005 * doc/configure: Ditto.
7006 * libc/*/aclocal.m4: Ditto.
7007 * libc/*/configure: Ditto.
7008 * libc/libc.texinfo: Ditto.
7009 * libm/*/aclocal.m4: Ditto.
7010 * libm/*/configure: Ditto.
7011 * libm/libm.texinfo: Ditto.
7012 * libc/sys/linux/shared.ld: Add VERS_1.11.
7014 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7016 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
7017 Solutions to Red Hat Inc.
7018 * libc/machine/i386/f_atan2f.S: Ditto.
7019 * libc/machine/i386/f_exp.c: Ditto.
7020 * libc/machine/i386/f_expf.c: Ditto.
7021 * libc/machine/i386/f_frexp.S: Ditto.
7022 * libc/machine/i386/f_frexpf.S: Ditto.
7023 * libc/machine/i386/f_ldexp.S: Ditto.
7024 * libc/machine/i386/f_ldexpf.S: Ditto.
7025 * libc/machine/i386/f_log.S: Ditto.
7026 * libc/machine/i386/f_log10.S: Ditto.
7027 * libc/machine/i386/f_log10f.S: Ditto.
7028 * libc/machine/i386/f_logf.S: Ditto.
7029 * libc/machine/i386/f_pow.c: Ditto.
7030 * libc/machine/i386/f_powf.c: Ditto.
7031 * libc/machine/i386/f_tan.S: Ditto.
7032 * libc/machine/i386/f_tanf.S: Ditto.
7033 * libc/machine/i386/memchr.S: Ditto.
7034 * libc/machine/i386/memcmp.S: Ditto.
7035 * libc/machine/i386/memcpy.S: Ditto.
7036 * libc/machine/i386/memmove.S: Ditto.
7037 * libc/machine/i386/memset.S: Ditto.
7038 * libc/machine/i386/strchr.S: Ditto.
7039 * libc/machine/i386/strlen.S: Ditto.
7040 * libm/machine/i386/f_atan2.S: Ditto.
7041 * libm/machine/i386/f_atan2f.S: Ditto.
7042 * libm/machine/i386/f_exp.c: Ditto.
7043 * libm/machine/i386/f_expf.c: Ditto.
7044 * libm/machine/i386/f_frexp.S: Ditto.
7045 * libm/machine/i386/f_frexpf.S: Ditto.
7046 * libm/machine/i386/f_ldexp.S: Ditto.
7047 * libm/machine/i386/f_ldexpf.S: Ditto.
7048 * libm/machine/i386/f_log.S: Ditto.
7049 * libm/machine/i386/f_log10.S: Ditto.
7050 * libm/machine/i386/f_log10f.S: Ditto.
7051 * libm/machine/i386/f_logf.S: Ditto.
7052 * libm/machine/i386/f_pow.c: Ditto.
7053 * libm/machine/i386/f_powf.c: Ditto.
7054 * libm/machine/i386/f_tan.S: Ditto.
7055 * libm/machine/i386/f_tanf.S: Ditto.
7057 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7059 * libc/stdlib/environ.c: Update license to Red Hat.
7060 * libc/machine/hppa/setjmp.S: Ditto.
7061 * libm/test/Makefile.in: Ditto.
7063 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7065 * configure.host: Remove references to go32.
7066 * libc/sys/go32/*: Removed.
7068 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7070 * libc/include/sys/config.h: Change setting of INT_MAX
7071 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7072 __H8300S__. Also consolidate flag settings for these
7075 2002-12-10 Joel Sherrill <joel@OARcorp.com>
7077 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7078 for i386-rtems targets.
7080 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7082 * libc/include/stdlib.h (strtof): New prototype (from C99).
7083 (strtodf): Changed from prototype to macro which redefines
7085 * libc/stdlib/atof.c: Change documentation to refer to strtof
7087 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7089 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7090 (strtof): New function.
7091 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7094 2002-11-27 Christopher Faylor <cgf@redhat.com>
7096 * libc/string/memset.c (memset): Fix comment.
7098 2002-11-26 Christopher Faylor <cgf@redhat.com>
7100 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7103 2002-11-25 Christopher Faylor <cgf@redhat.com>
7105 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7106 variable, introduced below, everywhere.
7108 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7110 * libc/string/memset.c (memset): Make it safe even if
7113 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
7115 * configure.in: Change check for libc/include in ${CC} to
7116 use an intermediate value so as to work with different shells.
7117 * configure: Regenerated.
7118 * Makefile.in: Ditto.
7120 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
7122 * libc/sys/h8300hms/read.c: Add support for normal mode
7125 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
7127 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
7128 code for __H8300H__ and __H8300S__. Also return 32-bit return code
7129 when -mint32 is used.
7131 2002-11-18 Nick Clifton <nickc@redhat.com>
7133 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
7135 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
7137 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
7138 only issue one pass/fail message for a compile/link/execute.
7139 * testsuite/newlib.elix/elix.exp: New file.
7140 * testsuite/newlib.elix/tmmap.c: Ditto.
7142 2002-11-06 Christopher Faylor <cgf@redhat.com>
7144 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
7145 * libc/stdlib/mlock.c: Ditto.
7146 * libc/stdlib/msize.c: Ditto.
7147 * libc/stdlib/msize.c: Ditto.
7148 * libc/stdlib/mtrim.c: Ditto.
7149 * libc/stdlib/valloc.c: Ditto.
7151 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
7153 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
7154 for inf/nan, make sure that the check ignores the sign bit.
7156 2002-11-07 Joel Sherrill <joel@OARcorp.com>
7158 * libc/sys/rtems/machine: New directory.
7159 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
7160 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
7161 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
7162 targets more BSD like when installed without requiring files to
7163 be overwritten at install point when RTEMS itself is installed.
7164 * Makefile.am: Pick up system dependent machine .h files such as
7165 might be found on a BSD-ish system.
7166 * Makefile.in: Regenerate.
7167 * libc/include/machine/types.h: When on an RTEMS target, define a
7168 few BSD flavor types.
7170 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
7172 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
7174 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7176 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
7177 * libc/include/wctype.h: Ditto.
7179 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
7181 * libc/include/wchar.h: Add extern "C" specifier if C++.
7182 * libc/include/wctype.h: Ditto.
7184 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7186 * testsuite/newlib.wctype/tiswctype.c: New test case.
7187 * testsuite/newlib.wctype/twctrans.c: Ditto.
7189 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7191 * libc/sys/linux/machine/i386/include/endian.h: New file.
7192 * libc/sys/linux/machine/i386/include/param.h: Ditto.
7194 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7196 * libm/machine/i386/aclocal.m4: Regenerated.
7197 * libm/machine/i386/configure: Ditto.
7199 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7201 * testsuite/include/check.h: New header file to use with
7203 * testsuite/lib/newlib.exp: Add testsuite/include directory
7204 to list of header files to use.
7205 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
7206 * testsuite/newlib.wctype/wctype.exp: New file.
7208 2002-10-11 Graham Stott <graham.stott@btinternet.com>
7209 Richard Sandiford <rsandifo@redhat.com>
7211 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
7212 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
7213 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7215 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7217 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
7220 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7222 * libc/include/pthread.h: Define PTHREAD_CANCELED.
7224 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7226 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
7227 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
7228 compile with current GNU tools.
7230 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
7232 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
7234 * configure.in: Ditto.
7235 * Makefile.in: Regenerated.
7237 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
7238 for specifying configured libraries/directories.
7239 * libc/sys/linux/configure.in: Ditto.
7240 * libc/sys/linux/Makefile.in: Regenerated.
7241 * libc/sys/linux/configure: Ditto.
7243 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
7245 * libc/include/reent.h: Update documentation at start of file.
7247 2002-09-27 Jim Wilson <wilson@redhat.com>
7249 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
7252 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
7254 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
7255 Also convert to EUCJP before using arrays. For values not in
7256 the conversion arrays, return WEOF.
7257 * libc/ctype/jp2uc.h: Change from one array to a number of
7258 arrays to account for the fact that the originating table
7259 is not contiguous for the input values since some are invalid.
7261 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
7263 * libc/time/ctime.c: Fix prototype documentation.
7265 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
7267 * libc/include/sys/errno.h: Add EOVERFLOW.
7269 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7271 * libc/include/wctype.h: New file.
7273 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7275 * libc/ctype/Makefile.am: Add new files.
7276 * libc/ctype/Makefile.in: Regenerated.
7277 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
7278 and wctrans functions to documentation index.
7279 * libc/ctype/iswalnum.c: New file.
7280 * libc/ctype/iswalpha.c: Ditto.
7281 * libc/ctype/iswblank.c: Ditto.
7282 * libc/ctype/iswcntrl.c: Ditto.
7283 * libc/ctype/iswctype.c: Ditto.
7284 * libc/ctype/iswdigit.c: Ditto.
7285 * libc/ctype/iswgraph.c: Ditto.
7286 * libc/ctype/iswlower.c: Ditto.
7287 * libc/ctype/iswprint.c: Ditto.
7288 * libc/ctype/iswpunct.c: Ditto.
7289 * libc/ctype/iswspace.c: Ditto.
7290 * libc/ctype/iswupper.c: Ditto.
7291 * libc/ctype/iswxdigit.c: Ditto.
7292 * libc/ctype/jp2uc.c: Ditto.
7293 * libc/ctype/jp2uc.h: Ditto.
7294 * libc/ctype/local.h: Ditto.
7295 * libc/ctype/towctrans.c: Ditto.
7296 * libc/ctype/towlower.c: Ditto.
7297 * libc/ctype/towupper.c: Ditto.
7298 * libc/ctype/utf8alpha.h: Ditto.
7299 * libc/ctype/utf8print.h: Ditto.
7300 * libc/ctype/utf8punct.h: Ditto.
7301 * libc/ctype/wctrans.c: Ditto.
7302 * libc/ctype/wctype.c: Ditto.
7303 * libc/locale/locale.c (__lc_ctype): New external array to
7304 replace static lc_ctype array.
7305 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
7306 rather than reentrancy structure's _current_locale field.
7307 * libc/stdlib/wctomb_r.c: Ditto.
7309 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7311 * configure.host: Minor comment and formatting changes.
7312 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
7313 * libc/Makefile.in: Regenerated.
7314 * libc/include/sys/config.h: Minor format change.
7316 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7318 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
7321 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7323 * libc/posix/opendir.c (opendir): Change code to check
7324 for HAVE_FCNTL before calling fcntl.
7325 * libc/search/hash.c (hash_open): Ditto.
7326 * libc/search/hash_page.c (open_tmp): Ditto.
7327 * libc/reent/Makefile.am: Add fcntlr.c.
7328 * libc/reent/Makefile.in: Regenerated.
7329 * libc/reent/fcntlr.c: New file.
7330 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
7331 instead of _fcntl when HAVE_FCNTL flag is set.
7332 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
7333 to see if _fcntl or _fcntl_r should be called. If flag is not
7334 set, default to ENOSYS stub.
7336 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
7338 * libc/include/wchar.h (mbstate_t): Change protective flag to
7340 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
7341 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
7343 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
7345 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
7347 * acinclude.m4 (enable-newlib-mb): Change check to
7348 default newlib_mb variable to empty string rather than "no".
7349 * configure.host: Remove hard-coding of -DMB_CAPABLE for
7350 x86-linux and Cygwin. Add code to check for newlib_mb
7351 being unset in which case set to "yes" for x86-linux and
7352 Cygwin. Change check for newlib_mb being "yes" to allow
7353 for an empty string.
7354 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
7355 * newlib.hin (_MB_LEN_MAX): New define to configure.
7356 * aclocal.m4: Regenerated.
7358 * libc/include/limits.h: New file.
7359 * libc/sys/linux/include/limits.h: Ditto.
7360 * doc/aclocal.m4 doc/configure libc/aclocal.m4
7361 libc/configure libc/machine/aclocal.m4
7362 libc/machine/configure libc/machine/a29k/aclocal.m4
7363 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7364 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7365 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7366 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7367 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
7368 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
7369 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7370 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7371 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7372 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7373 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7374 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
7375 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
7376 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7377 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7378 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7379 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7380 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7381 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7382 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7383 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7384 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7385 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7386 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7387 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
7388 libc/machine/xscale/configure
7389 libc/machine/xstormy16/aclocal.m4
7390 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
7391 libc/machine/z8k/configure libc/sys/aclocal.m4
7392 libc/sys/configure libc/sys/a29khif/aclocal.m4
7393 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
7394 libc/sys/arc/configure libc/sys/arm/aclocal.m4
7395 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7396 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
7397 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
7398 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
7399 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
7400 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
7401 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
7402 libc/sys/idt/configure libc/sys/linux/aclocal.m4
7403 libc/sys/linux/configure
7404 libc/sys/linux/machine/aclocal.m4
7405 libc/sys/linux/machine/configure
7406 libc/sys/linux/machine/i386/aclocal.m4
7407 libc/sys/linux/machine/i386/configure
7408 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7409 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
7410 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7411 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7412 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7413 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7414 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7415 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7416 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7417 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7418 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7419 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7420 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7421 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7422 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7423 libm/aclocal.m4 libm/configure: Regenerated.
7425 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7427 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7428 code that clears the .bss section.
7430 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7432 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7433 unsigned char internally.
7434 * libc/sys/linux/sys/_types.h: Ditto.
7435 * libc/include/sys/reent.h
7436 * libc/stdlib/mblen.c (mblen): Use function-specific state
7437 value from default reentrancy structure.
7438 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7439 _mbtowc_r is less than 0, reset state __count value and
7441 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7442 is NULL, use the function-specific pointer provided in the
7443 default reentrancy structure.
7444 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7445 If input state pointer is NULL, use function-specific area
7446 provided in reentrancy structure.
7447 * libc/stdlib/mbsrtowcs.c: Ditto.
7448 * libc/stdlib/wcrtomb.c: Ditto.
7449 * libc/stdlib/wcsrtombs.c: Ditto.
7450 * libc/stdlib/mbstowcs.c: Reformat.
7451 * libc/stdlib/wcstombs.c: Ditto.
7452 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7453 reset the state's __count value and return -1.
7454 * libc/stdlib/mbtowc.c: Ditto.
7455 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7456 If number of bytes is used up before completing a valid multibyte
7457 character, return -2 and save the state.
7458 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7459 and change some __count references to __state for clarity.
7461 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7463 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7464 is defined by <limits.h>.
7466 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7468 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7471 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7473 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7474 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7475 __WCHAR_MAX__ or 0x7fffffffu.
7476 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7477 * libc/string/wcsncmp.c: Ditto.
7479 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7481 * libc/string/wcschr.c: Add include of <stddef.h>.
7482 * libc/string/wcspbrk.c: Ditto.
7483 * libc/string/wcsrchr.c: Ditto.
7484 * libc/string/wcsstr.c: Ditto.
7486 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7488 * libc/include/sys/_types.h (_flock_t): Added.
7489 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7490 (__lock_try_acquire_recursive): Ditto.
7491 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7493 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7495 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7496 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7497 * libc/sys/linux/include/time.h (struct timespec): Moved from
7498 <sys/types.h> and added check for __need_timespec flag so type
7499 can be defined by itself.
7500 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7501 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7504 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7506 * libc/sys/linux/argp: New directory.
7507 * libc/sys/linux/getopt.c: New file.
7508 * libc/sys/linux/getopt1.c: New file.
7509 * libc/sys/linux/getoptlong.c: Remove file.
7510 * libc/sys/linux/include/argp.h: New file.
7511 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7512 based on ELIX level.
7513 (SUBDIRS): Add argp_dir.
7514 (SUBLIBS): Add ARGP_LIB.
7515 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7516 getopt_long.$(oext).
7517 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7519 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7521 * libc/libc.texinfo: Add node reference to wide-character strings.
7522 * libc/string/wcstrings.tex: New file.
7523 * libc/string/strtok_r.c: Remove outdated advertising clause.
7524 * libc/string/Makefile.am (doc): Add wide-character string
7525 chapter to documentation.
7526 * libc/string/Makefile.in: Regenerated.
7528 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7530 * libc/include/wchar.h: Define NULL. Define WEOF more general
7531 way. Declare functions in newlib manner.
7532 * libc/stdlib/Makefile.am: Delete wmem*.c
7533 * libc/stdlib/Makefile.in: Regenerated.
7534 * libc/stdlib/wmemchr.c: Delete.
7535 * libc/stdlib/wmemcmp.c: Ditto.
7536 * libc/stdlib/wmemcpy.c: Ditto.
7537 * libc/stdlib/wmemmove.c: Ditto.
7538 * libc/stdlib/wmemset.c: Ditto.
7539 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7540 * libc/string/Makefile.in: Regenerated.
7541 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7542 * libc/string/wcschr.c: Ditto.
7543 * libc/string/wcscmp.c: Ditto.
7544 * libc/string/wcscpy.c: Ditto.
7545 * libc/string/wcscspn.c: Ditto.
7546 * libc/string/wcslcat.c: Ditto.
7547 * libc/string/wcslcpy.c: Ditto.
7548 * libc/string/wcslen.c: Ditto.
7549 * libc/string/wcsncat.c: Ditto.
7550 * libc/string/wcsncmp.c: Ditto.
7551 * libc/string/wcsncpy.c: Ditto.
7552 * libc/string/wcspbrk.c: Ditto.
7553 * libc/string/wcsrchr.c: Ditto.
7554 * libc/string/wcsspn.c: Ditto.
7555 * libc/string/wcsstr.c: Ditto.
7556 * libc/string/wmemchr.c: Ditto.
7557 * libc/string/wmemcmp.c: Ditto.
7558 * libc/string/wmemcpy.c: Ditto.
7559 * libc/string/wmemmove.c: Ditto.
7560 * libc/string/wmemset.c: Ditto.
7562 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7564 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7565 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7566 and is treated as if "C" was specified.
7568 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7570 * Makefile.am (install-data-local): Move install of build
7571 newlib.h after installing headers in libc/include so as to
7572 overwrite default newlib.h.
7573 * Makefile.in: Regenerated.
7575 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7577 * libc/include/newlib.h: New file for tools that use newlib
7578 headers but don't build newlib first (e.g. gcc).
7580 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7582 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7583 * libc/stdlib/wmemcmp.c: Ditto.
7584 * libc/stdlib/wmemcpy.c: Ditto.
7585 * libc/stdlib/wmemmove.c: Ditto.
7586 * libc/stdlib/wmemset.c: Ditto.
7588 2002-08-27 Egor Duda <deo@logos-m.ru>
7590 * libc/stdlib/wmemchr.c: New file.
7591 * libc/stdlib/wmemcmp.c: Ditto.
7592 * libc/stdlib/wmemcpy.c: Ditto.
7593 * libc/stdlib/wmemmove.c: Ditto.
7594 * libc/stdlib/wmemset.c: Ditto.
7595 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7596 * configure.host: Default -DMB_CAPABLE for cygwin.
7597 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7598 wmemmove() and wmemset(). Add include of <_ansi.h>.
7599 * libc/stdlib/Makefile.in: Regenerate.
7601 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7603 * configure.host: Remove _ELIX_LEVEL flag setting.
7604 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7605 (install-data-local): Install newlib.h.
7606 * Makefile.in: Regenerated.
7607 * aclocal.m4: Ditto.
7609 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
7610 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7611 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7612 In AC_OUTPUT statement, unset ac_file so multilib support does
7613 not use last ac_file temporary used in newlib.h configuration.
7614 * libc/include/_ansi.h: Include <newlib.h>.
7615 * newlib.hin: New template file for newlib.h.
7616 * stamp-h.in: New file.
7618 2002-08-26 Wu Yongwei <adah@netstd.com>
7620 * time.h (timezonevar): Change "#if" to "#ifdef".
7622 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7624 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7625 * Makefile.in: Regenerated.
7626 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7627 * aclocal.m4: Regenerated.
7629 * configure.host: Add code to define _ELIX_LEVEL if
7630 --enable-newlib-elix-level option is used.
7632 * libc/aclocal.m4: Regenerated.
7633 * libc/configure: Ditto.
7634 * libc/argz/Makefile.am: Add EL/IX level checking.
7635 * libc/argz/Makefile.in: Regenerated.
7636 * libc/argz/dummy.c: New file.
7637 * libc/ctype/Makefile.am: Add EL/IX level checking.
7638 * libc/ctype/Makefile.in: Regenerated.
7639 * libc/locale/Makefile.am: Add EL/IX level checking.
7640 * libc/locale/Makefile.in: Regenerated.
7641 * libc/posix/Makefile.am: Add EL/IX level checking.
7642 * libc/posix/Makefile.in: Regenerated.
7643 * libc/posix/telldir.c: Add EL/IX level checking.
7644 * libc/reent/Makefile.am: Ditto.
7645 * libc/reent/fstat64r.c: Ditto.
7646 * libc/reent/lseek64r.c: Ditto.
7647 * libc/reent/open64r.c: Ditto.
7648 * libc/reent/Makefile.in: Regenerated.
7649 * libc/search/Makefile.am: Add EL/IX level checking.
7650 * libc/search/Makefile.in: Regenerated.
7651 * libc/stdio/Makefile.am: Add EL/IX level checking.
7652 * libc/stdio/Makefile.in: Regenerated.
7653 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7654 * libc/stdio64/Makefile.in: Regenerated.
7655 * libc/stdio64/dummy.c: New file.
7656 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
7657 after first include.
7658 * libc/stdio64/fopen64.c: Ditto.
7659 * libc/stdio64/freopen64.c: Ditto.
7660 * libc/stdio64/fseeko64.c: Ditto.
7661 * libc/stdio64/fsetpos64.c: Ditto.
7662 * libc/stdio64/ftello64.c: Ditto.
7663 * libc/stdio64/tmpfile64.c: Ditto.
7664 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7665 * libc/stdlib/Makefile.in: Regenerated.
7666 * libc/stdlib/mstats.c: Add EL/IX level checking.
7667 * libc/string/Makefile.am: Ditto.
7668 * libc/string/Makefile.in: Regenerated.
7669 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7670 * libc/sys/linux/Makefile.in: Regenerated.
7671 * libc/sys/linux/aclocal.m4: Ditto.
7672 * libc/sys/linux/configure: Ditto.
7673 * libc/sys/linux/aio.c: Add EL/IX level checking.
7674 * libc/sys/linux/ftok.c: Ditto.
7675 * libc/sys/linux/getdate.c: Ditto.
7676 * libc/sys/linux/ids.c: Ditto.
7677 * libc/sys/linux/inode.c: Ditto.
7678 * libc/sys/linux/io.c: Ditto.
7679 * libc/sys/linux/process.c: Ditto.
7680 * libc/sys/linux/resource.c: Ditto.
7681 * libc/sys/linux/sched.c: Ditto.
7682 * libc/sys/linux/sig.c: Ditto.
7683 * libc/sys/linux/termios.c: Ditto.
7684 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
7685 __libc___waitpid weak aliases.
7686 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
7687 that generate the code for a syscall, but do not create a
7689 * libc/syscalls/Makefile.am: Add EL/IX level checking.
7690 * libc/syscalls/Makefile.in: Regenerated.
7691 * libc/time/tzset_r.c: Change to replace strdup with equivalent
7693 * libc/unix/Makefile.am: Add EL/IX level checking.
7694 * libc/unix/Makefile.in: Regenerated.
7696 2002-08-26 Christopher Faylor <cgf@redhat.com>
7698 * libc/include/malloc.h: On cygwin, define malloc _r functions as
7699 wrapper macros to standard malloc functions.
7700 * libc/include/stdlib.h: Ditto.
7701 * configure.host: Always define MALLOC_PROVIDED on cygwin.
7703 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7705 * libc/include/langinfo.h: New file.
7706 * libc/include/wchar.h: Likewise.
7707 * libc/include/sys/syslimits.h: Likewise.
7708 * libc/locale/fix_grouping.c: Likewise.
7709 * libc/locale/ldpart.c: Likewise.
7710 * libc/locale/ldpart.h: Likewise.
7711 * libc/locale/lmessages.c: Likewise.
7712 * libc/locale/lmessages.h: Likewise.
7713 * libc/locale/lmonetary.c: Likewise.
7714 * libc/locale/lmonetary.h: Likewise.
7715 * libc/locale/lnumeric.c: Likewise.
7716 * libc/locale/lnumeric.h: Likewise.
7717 * libc/locale/nl_langinfo.3: Likewise.
7718 * libc/locale/nl_langinfo.c: Likewise.
7719 * libc/locale/timelocal.c: Likewise.
7720 * libc/locale/timelocal.h: Likewise.
7721 * libc/stdlib/btowc.c: Likewise.
7722 * libc/stdlib/mbrlen.c: Likewise.
7723 * libc/stdlib/mbrtowc.c: Likewise.
7724 * libc/stdlib/mbsinit.c: Likewise.
7725 * libc/stdlib/mbsrtowcs.c: Likewise.
7726 * libc/stdlib/wcrtomb.c: Likewise.
7727 * libc/stdlib/wcsrtombs.c: Likewise.
7728 * libc/stdlib/wctob.c: Likewise.
7729 * libc/sys/linux/prof-freq.c: Likewise.
7730 * libc/sys/linux/profile.c: Likewise.
7731 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7732 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7733 * libc/include/stdlib.h: Change re-entrant functions to take
7735 * libc/include/sys/_types.h: Define _mbstate_t.
7736 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
7737 * libc/include/sys/errno.h (EILSEQ): New error code.
7738 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
7739 structure to use mbstate_t.
7740 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
7741 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
7742 * libc/machine/powerpc/vfscanf.c: Likewise.
7743 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
7744 * libc/stdio/vfprintf.c: Likewise.
7745 * libc/stdio/vfscanf.c: Likewise.
7746 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
7747 * libc/stdlib/mblen.c: Use mbstate_t.
7748 * libc/stdlib/mblen_r.c: Likewise.
7749 * libc/stdlib/mbstowcs.c: Likewise.
7750 * libc/stdlib/mbstowcs_r.c: Likewise.
7751 * libc/stdlib/mbtowc.c: Likewise.
7752 * libc/stdlib/mbtowc_r.c: Likewise.
7753 * libc/stdlib/wcstombs.c: Likewise.
7754 * libc/stdlib/wcstombs_r.c: Likewise.
7755 * libc/stdlib/wctomb_r.c: Likewise.
7756 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
7758 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
7760 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
7761 * libc/sys/linux/sys/types.h (off_t): Define type.
7762 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
7764 * testsuite/newlib.locale/UTF-8.exp: Likewise.
7766 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
7768 * libc/stdlib/mallocr.c: #include windows.h on Win32.
7769 (AlignPage): Continue macro on next line.
7771 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7773 * libc/sys/linux/include/pthread.h: New file.
7775 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7777 * libc/include/sys/types.h: Support __need_inttypes macro
7778 that only sets the __intxx and __uintxx types.
7779 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
7781 * libc/machine/powerpc/Makefile.in: Regenerated.
7782 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
7783 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
7784 redundant fixed-point conversion prototypes.
7785 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
7786 after setting __need_inttypes.
7788 2002-08-18 Christopher Faylor <cgf@redhat.com>
7790 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
7792 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7794 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
7795 _LONG_DOUBLE to double.
7797 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7799 * configure.host: Add powerpc*-*-eabispe* configuration.
7800 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
7801 * libc/machine/powerpc/atosfix32.c: Ditto.
7802 * libc/machine/powerpc/atosfix64.c: Ditto.
7803 * libc/machine/powerpc/atoufix16.c: Ditto.
7804 * libc/machine/powerpc/atoufix32.c: Ditto.
7805 * libc/machine/powerpc/atoufix64.c: Ditto.
7806 * libc/machine/powerpc/fix64.h: Ditto.
7807 * libc/machine/powerpc/simdldtoa.c: Ditto.
7808 * libc/machine/powerpc/strtosfix16.c: Ditto.
7809 * libc/machine/powerpc/strtosfix32.c: Ditto.
7810 * libc/machine/powerpc/strtosfix64.c: Ditto.
7811 * libc/machine/powerpc/strtoufix16.c: Ditto.
7812 * libc/machine/powerpc/strtoufix32.c: Ditto.
7813 * libc/machine/powerpc/strtoufix64.c: Ditto.
7814 * libc/machine/powerpc/ufix64toa.c: Ditto.
7815 * libc/machine/powerpc/configure.in: Add check for
7816 powerpc*-eabispe and add fixed-point conversion functions.
7817 * libc/machine/powerpc/configure: Regenerated.
7818 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
7819 %r and %R format specifiers which handle fixed-point data.
7820 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
7821 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
7822 function prototypes.
7824 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7826 * Makefile.am: Move cmath stuff into libc/sys/linux.
7827 * Makefile.in: Regenerated.
7828 * configure.host: Default -DMB_CAPABLE for x86-linux.
7829 * libc/include/reent.h: Define _sbrk to take signed int argument.
7830 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
7831 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
7832 make locale name checking more efficient. Also allow "C-ISO-8859-1"
7833 locale for LC_CTYPE and LC_MESSAGES.
7834 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
7835 * libc/sys/linux/brk.c: Change sbrk prototype.
7836 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
7837 include <sys/features.h>.
7838 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
7839 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
7840 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
7841 with a few local additions.
7842 * libc/sys/linux/sys/features.h: New file.
7843 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
7844 to take signed argument.
7845 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
7846 prototypes to take signed size argument.
7848 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
7850 * libc/sys/linux/cmath: New directory.
7851 * libc/sys/linux/include/cmathcalls.h: New file.
7852 * libc/sys/linux/include/complex.h: New file.
7853 * libc/sys/linux/machine/i386/huge_val.h: New file
7854 * libm/math/w_sincos.c: New file
7855 * libm/math/wf_sincos.c: New file
7856 * libm/mathfp/s_sincos.c: New file
7857 * libm/mathfp/sf_sincos.c: New file
7858 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
7859 * libc/include/math.h: Add sincos and sincosf declarations.
7860 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
7861 (SUBLIBS): Likewise.
7862 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
7863 * libm/math/Makefile.am (src): Add w_sincos.c.
7864 (fsrc): Add wf_sincos.c.
7865 * libm/mathfp/Makefile.am (src): Add s_sincos.c
7866 (fsrc): Add sf_sincos.c.
7868 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
7870 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
7871 Declare as extern chars and use the address operator to
7872 properly use values set in linker script.
7874 2002-08-09 Jason Tishler <jason@tishler.net>
7876 * libc/stdlib/mallocr.c: Include <limits.h>.
7877 (request2size): Change macro to do
7878 unsigned long comparisons and avoid signed overflow.
7879 (mALLOc): Add overflow check for the number of bytes to allocate.
7882 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
7884 * configure.host: Add check for --enable-newlib-io-pos-args
7885 and define WANT_IO_POS_ARGS flag if enabled. Define
7886 the flag by default for x86-linux configurations.
7887 * configure.in: Add support for --enable-newlib-io-pos-args.
7888 * libc/configure.in: Ditto.
7889 * configure: Regenerated.
7890 * libc/configure: Ditto.
7891 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
7892 vfprintf.c and vfiprintf.c.
7893 * libc/stdio/Makefile.in: Regenerated.
7894 * libc/stdio/vfprintf.c: Add positional argument support that
7895 is enabled by compiling with -DWANT_IO_POS_ARGS.
7897 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
7899 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
7900 based on __mips_soft_float rather than __mips64.
7901 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
7902 of both 32-bit and 64-bit code.
7904 2002-08-04 Christopher Faylor <cgf@redhat.com>
7906 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
7907 arguments for popen to match similar functionality in fopen.
7909 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
7911 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
7913 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
7915 * libc/sys/linux/Makefile.am: Add aio64.c.
7916 * libc/sys/linux/Makefile.in: Regenerated.
7917 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
7918 * libc/sys/linux/aio64.c: New file.
7920 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7922 * libc/include/sys/param.h (MAX, MIN): Added macros.
7923 * libc/sys/linux/Makefile.am: Add new files.
7924 * libc/sys/linux/Makefile.in: Regenerated.
7925 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7926 * libc/sys/linux/inode.c (fchdir): Added syscall.
7927 * libc/sys/linux/ftw.c: New file.
7928 * libc/sys/linux/ftw64.c: Ditto.
7929 * libc/sys/linux/getwd.c: Ditto.
7930 * libc/sys/linux/scandir64.c: Ditto.
7931 * libc/sys/linux/strverscmp.c: Ditto.
7932 * libc/sys/linux/versionsort.c: Ditto.
7933 * libc/sys/linux/versionsort64.c: Ditto.
7935 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7937 * libc/string/strings.tex: Fix typo for memccpy.
7939 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7941 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
7942 * libc/sys/linux/sys/types.h (off64_t): Definition added.
7944 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7946 * libc/sys/linux/Makefile.am: Add fclean.c.
7947 * libc/sys/linux/Makefile.in: Regenerated.
7948 * libc/sys/linux/fclean.c: New file.
7950 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7952 * libc/sys/linux/Makefile.am: Add confstr.c.
7953 * libc/sys/linux/Makefile.in: Regenerated.
7954 * libc/sys/linux/confstr.c: New file.
7955 * libc/sys/linux/confstr.h: Ditto.
7956 * libc/sys/linux/sys/unistd.h: Include <features.h> and
7957 <bits/environments.h>.
7959 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7961 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
7962 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
7963 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
7964 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
7965 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
7966 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
7968 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7970 * libc/sys/linux/Makefile.am: Add new files.
7971 * libc/sys/linux/Makefile.in: Regenerated.
7972 * libc/sys/linux/fstab.c: New file.
7973 * libc/sys/linux/fstatvfs.c: Ditto.
7974 * libc/sys/linux/fstatvfs64.c: Ditto.
7975 * libc/sys/linux/internal_statvfs.c: Ditto.
7976 * libc/sys/linux/mntent.c: Ditto.
7977 * libc/sys/linux/mntent_r.c: Ditto.
7978 * libc/sys/linux/statvfs.c: Ditto.
7979 * libc/sys/linux/statvfs64.c: Ditto.
7980 * libc/sys/linux/include/paths.h: Ditto.
7981 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
7982 with double-underscore weak-aliases.
7983 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7985 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7987 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
7988 to use _sig_func_ptr type casted constants.
7989 (_sig_func_ptr): Typedef moved to sys/signal.h.
7990 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
7991 For __rtems, use POSIX definition, otherwise default to ANSI.
7992 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
7994 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
7996 * configure.host: Recognize m6811-elf and m6812-elf targets.
7997 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
7998 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
7999 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
8000 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
8001 according to __INT_MAX__.
8002 (_POINTER_INT): Define to short.
8003 * libc/machine/m68hc11/Makefile.am: New file.
8004 * libc/machine/m68hc11/Makefile.in: New file.
8005 * libc/machine/m68hc11/configure.in: New file.
8006 * libc/machine/m68hc11/configure: New file.
8007 * libc/machine/m68hc11/aclocal.m4: New file.
8008 * libc/machine/m68hc11/setjmp.S: New file.
8010 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8012 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
8014 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
8015 * libc/stdlib/Makefile.in: Regenerated.
8016 * libc/stdlib/strdup.c: Removed.
8017 * libc/stdlib/strdup_r.c: Removed.
8018 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
8019 mempcpy.c, strndup.c, and strndup_r.c.
8020 * libc/string/Makefile.in: Regenerated.
8021 * libc/string/memccpy.c: New file.
8022 * libc/string/mempcpy.c: Ditto.
8023 * libc/string/strndup.c: Ditto.
8024 * libc/string/strndup_r.c: Ditto.
8025 * libc/string/strdup.c: New file moved from stdlib.
8026 * libc/string/strdup_r.c: Ditto.
8027 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
8029 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8031 * libc/include/stdio.h: Move fcloseall prototype within
8032 #ifndef _REENT_ONLY section.
8033 * libc/sys/linux/Makefile.am: Add new files.
8034 * libc/sys/linux/Makefile.in: Regenerated.
8035 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8036 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
8037 * libc/sys/linux/sys/types.h: Add ino64_t type.
8038 * libc/sys/linux/ctermid.c: New file.
8039 * libc/sys/linux/ttyname_r.c: Ditto.
8040 * libc/sys/linux/readdir64.c: Ditto.
8042 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8044 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8045 * libc/stdio/Makefile.am: Added fcloseall.c support.
8046 * libc/stdio/Makefile.in: Regenerated.
8047 * libc/stdio/fcloseall.c: New file.
8048 * libc/stdio64/Makefile.am: Remove missing .def references.
8049 * libc/stdio64/Makefile.in: Regenerated.
8051 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8053 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8054 * libc/machine/powerpc/times.c: New file.
8055 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8056 * libc/machine/powerpc/Makefile.in: Regenerated.
8058 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
8060 * libc/machine/powerpc/time.c: New file.
8061 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8063 * libc/machine/powerpc/Makefile.in: Regenerated.
8065 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8067 * libc/libc.texinfo: Change copyright notices to Red Hat from
8069 * libm/libm.texinfo: Likewise.
8070 * README: Change docs URL to
8071 http://sources.redhat.com/newlib/docs.html.
8073 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8075 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8076 * libc/sys/linux/Makefile.in: Regenerated.
8077 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8078 * libc/sys/linux/io.c: Add ftruncate syscall.
8079 * libc/sys/linux/fpathconf.c: New file.
8080 * libc/sys/linux/pathconf.c: Ditto.
8081 * libc/sys/linux/linux_fsinfo.h: Ditto.
8082 * libc/sys/linux/sys/unistd.h: Ditto.
8084 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8086 * libc/stdio64/Makefile.am: Remove missing files.
8087 * libc/stdio64/Makefile.in: Regenerated.
8089 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8091 * libc/include/sys/config.h[__i386__][__linux__]: Define
8092 _LARGE64FILE_SOURCE to 1.
8093 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8094 * libc/sys/linux/Makefile.in: Regenerated.
8095 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8096 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8097 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8098 of <linux/resource.h>.
8099 * libc/sys/linux/getrlimit64.c: New file.
8100 * libc/sys/linux/setrlimit64.c: Ditto.
8102 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8104 * libc/argz/argz_replace.c: Include buf_findstr.h.
8105 * libc/argz/buf_findstr.c: Likewise.
8106 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8108 * libc/argz/envz_get.c: Likewise.
8109 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8110 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8111 * libc/stdlib/getsubopt.3: New file.
8112 * libc/stdlib/getsubopt.c: New file.
8113 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8116 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
8118 * configure.host(stdio64_dir): New setting that is used to
8119 enable building of new stdio64 directory.
8120 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
8122 (stmp-stdio64,stdio64.texi): New targets to optionally add in
8123 stdio64 info to info files.
8124 * libc/Makefile.in: Regenerated.
8125 * libc/configure: Ditto.
8126 * libc/configure.in: Add configuration variables that are set
8127 when stdio64 is selected as subdir in configure.host.
8128 * libc/libc.texinfo: Add optional menu item for Stdio64, based
8129 on whether STDIO64 flag is set or not.
8130 * libc/sys.tex: Add optional stdio64 syscalls based on whether
8131 STDIO64 flag is set or not.
8132 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
8134 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
8135 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
8136 (__SL64): New file flag indicating file is opened via fopen64.
8137 * libc/include/sys/_types.h(_off64_t): Added.
8138 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
8139 * libc/include/sys/reent.h(struct __sFILE64): New file structure
8140 for 64-bit offset large file support.
8141 (__FILE): New intermediate type either set to struct __sFILE64 or
8142 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
8143 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
8144 * libc/reent/Makefile.in: Regenerated.
8145 * libc/reent/fstat64r.c: New file.
8146 * libc/reent/lseek64r.c: Ditto.
8147 * libc/reent/open64r.c: Ditto.
8148 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
8149 based on whether STDIO64 flag is set.
8150 * libc/stdio/stdio.tex: Add blank line.
8151 * libc/stdio64/Makefile.am: New file.
8152 * libc/stdio64/Makefile.in: Ditto.
8153 * libc/stdio64/fgetpos64.c: Ditto.
8154 * libc/stdio64/fopen64.: Ditto.
8155 * libc/stdio64/freopen64.c: Ditto.
8156 * libc/stdio64/fseeko64.c: Ditto.
8157 * libc/stdio64/fsetpos64.c: Ditto.
8158 * libc/stdio64/ftello64.c: Ditto.
8159 * libc/stdio64/local64.h: Ditto.
8160 * libc/stdio64/stdio64.c: Ditto.
8161 * libc/stdio64/stdio64.tex: Ditto.
8162 * libc/stdio64/tmpfile64.c: Ditto.
8163 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
8166 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
8168 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
8169 if LIBC_EXTRA_LIB is present.
8170 * libc/Makefile.in: Regenerated.
8171 * libc/libc.texinfo: Add blank line.
8172 * libc/argz/Makefile.am: Add doc support.
8173 * libc/search/Makefile.am: Ditto.
8174 * libc/argz/Makefile.in: Regenerated.
8175 * libc/search/Makefile.in: Ditto.
8176 * libc/misc/misc.tex: Add ffs function.
8177 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
8179 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8181 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
8182 definition that was removed in error.
8184 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8186 * libc/include/machine/ieeefp.h: Change to only define
8187 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
8188 __IEEE_LITTLE_ENDIAN must be defined for each platform).
8189 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
8190 remove redundant floating point definitions.
8192 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8194 * libc/sys/linux/callocr.c: Fix so code references
8197 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8199 * libc/sys/linux/Makefile.am: Add new files.
8200 * libc/sys/linux/Makefile.in: Regenerated.
8201 * libc/sys/linux/bp-sym.h: Moved to include directory.
8202 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
8203 * libc/sys/linux/inode.c: Set _LIBC to 1.
8204 * libc/sys/linux/mq_close.c: Ditto.
8205 * libc/sys/linux/mq_getattr.c: Ditto.
8206 * libc/sys/linux/mq_open.c: Ditto.
8207 * libc/sys/linux/mq_receive.c: Ditto.
8208 * libc/sys/linux/mq_send.c: Ditto.
8209 * libc/sys/linux/mq_setattr.c: Ditto.
8210 * libc/sys/linux/mq_unlink.c: Ditto.
8211 * libc/sys/linux/calloc.c: New file.
8212 * libc/sys/linux/callocr.c: Ditto.
8213 * libc/sys/linux/cfreer.c: Ditto.
8214 * libc/sys/linux/config.h: Ditto.
8215 * libc/sys/linux/free.c: Ditto.
8216 * libc/sys/linux/freer.c: Ditto.
8217 * libc/sys/linux/msize.c: Ditto.
8218 * libc/sys/linux/msizer.c: Ditto.
8219 * libc/sys/linux/mstats.c: Ditto.
8220 * libc/sys/linux/mtrim.c: Ditto.
8221 * libc/sys/linux/mtrimr.c: Ditto.
8222 * libc/sys/linux/pvallocr.c: Ditto.
8223 * libc/sys/linux/realloc.c: Ditto.
8224 * libc/sys/linux/reallocr.c: Ditto.
8225 * libc/sys/linux/thread-m.h: Ditto.
8226 * libc/sys/linux/vallocr.c: Ditto.
8227 * libc/sys/linux/bp-checks.h: Ditto.
8228 * libc/sys/linux/libc-symbols.h: Ditto.
8229 * libc/sys/linux/libc-tsd.h: Ditto.
8230 * libc/sys/linux/libintl.h: Ditto.
8231 * libc/sys/linux/malign.c: Ditto.
8232 * libc/sys/linux/malignr.c: Ditto.
8233 * libc/sys/linux/mallinfor.c: Ditto.
8234 * libc/sys/linux/malloc.c: Ditto.
8235 * libc/sys/linux/mallocr.c: Ditto.
8236 * libc/sys/linux/malloptr.c: Ditto.
8237 * libc/sys/linux/mallstatsr.c: Ditto.
8238 * libc/sys/linux/mcheck.c: Ditto.
8239 * libc/sys/linux/mhooks.h: Ditto.
8240 * libc/sys/linux/include/bp-sym.h: Ditto.
8241 * libc/sys/linux/include/malloc.h: Ditto.
8242 * libc/sys/linux/include/mcheck.h: Ditto.
8243 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
8245 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
8246 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
8247 * libc/sys/linux/machine/i386/getpagesize.c: New file.
8248 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
8249 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8250 * libc/sys/linux/machine/i386/sysdep.h: New file.
8251 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
8252 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
8253 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
8255 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
8257 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
8258 instead of <asm/siginfo.h>.
8259 * libc/sys/linux/sys/signal.h: Change to include various linux
8260 <bits/xxx.h> header files, rather than <linux/signal.h> so as
8261 to work with multiple releases of glibc header files.
8263 2002-07-11 Chris Demetriou <cgd@broadcom.com>
8265 * testsuite/newlib.search/hsearchtest.c: New file to test
8267 * testsuite/newlib.search/hsearchtest.exp: Likewise.
8269 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
8271 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
8273 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
8275 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
8277 * libc/include/math.h (MAXFLOAT): Added.
8279 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
8281 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
8282 Make strcmp.S unconditional.
8283 * libc/machine/sh/Makefile.in: Regenerate.
8284 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
8285 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
8288 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8290 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
8291 define before including <sys/lock.h>.
8293 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8295 * libc/include/utime.h: Add include of <_ansi.h>.
8296 * libc/sys/linux/Makefile.am: Add utimes.c.
8297 * libc/sys/linux/Makefile.in: Regenerated.
8298 * libc/sys/linux/inode.c(__umask): New static routine.
8299 (umask): Written to use __umask and attempt to thread lock.
8300 (getumask): New function written to use __umask and thread lock.
8301 * libc/sys/linux/utimes.c: New file.
8302 * libc/sys/linux/sys/time.h: Fix utimes prototype.
8303 * libc/sys/linux/sys/utime.h: New file.
8305 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8307 * libtool.m4: New file.
8308 * libc/sys/linux/process.c: Implement vfork in terms of fork,
8309 rather than as a syscall.
8311 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8313 * libc/include/stdio.h: Add new prototypes.
8314 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
8315 * libc/stdio/Makefile.in: Regenerated.
8316 * libc/stdio/fseek.c: Add fseeko documentation.
8317 * libc/stdio/ftell.c: Add ftello documentation.
8318 * libc/stdio/fseeko.c: New file.
8319 * libc/stdio/ftello.c: New file.
8321 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8323 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
8324 * libc/stdio/Makefile.in: Regenerated.
8325 * libc/stdio/asprintf.c: New file.
8326 * libc/stdio/vasprintf.c: Ditto.
8327 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
8328 the buffer for asprintf support.
8329 * libc/stdio/sprintf.c: Add asprintf documentation.
8330 * libc/stdio/vfprintf.c: Add vasprintf documentation.
8331 * libc/include/stdio.h: Add new prototypes.
8333 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
8335 * libc/search/hcreate.c: Remove advertising clause from license.
8336 * libc/search/hcreate_r.c: Likewise.
8338 2002-07-02 Chris Demetriou <cgd@broadcom.com>
8340 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
8341 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
8342 Check that one of them is defined and error out if not.
8343 Add any platforms defined in <machine/ieeefp.h> that are missing.
8344 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
8345 (DB_LITTLE_ENDIAN): New defines.
8346 * libc/search/hash.c: Replace all incorrect checks for
8347 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
8348 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
8349 * libc/search/hash_page.c: Likewise.
8351 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8353 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
8355 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
8357 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
8358 * libc/include/time.h: Same.
8359 * libc/include/string.h: Same.
8360 * libc/include/stdlib.h: Same.
8361 * libc/include/signal.h: Same.
8362 * libc/include/setjmp.h: Same.
8363 * libc/include/math.h: Same.
8364 * libc/include/locale.h: Same.
8365 * libc/include/ctype.h: Same.
8366 * libc/include/machine/setjmp.h: Same.
8367 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
8370 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8372 * libc/include/sys/_types.h: Define _ssize_t as int if int is
8373 32-bits, otherwise define it as long.
8374 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
8375 and define ssize_t as _ssize_t.
8376 * libc/reent/readr.c: Change return type to _ssize_t.
8377 * libc/reent/writer.c: Ditto.
8378 * libc/sys/linux/Makefile.am: Add aio.c.
8379 * libc/sys/linux/Makefile.in: Regenerated.
8380 * libc/sys/linux/aio.c: New file.
8381 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
8382 * libm/common/fdlibm.h: Undef __P before defining it.
8384 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8386 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
8387 exponent_is_even_int variable. Handle case where x is
8388 negative, and y is an odd integer.
8389 * libm/mathfp/sf_pow.c (powf): Likewise.
8391 * libm/mathfp/er_lgamma.c: Remove __kernel references.
8392 * libm/mathfp/erf_lgamma.c: Likewise.
8393 * libm/mathfp/s_tgamma.c: Likewise.
8394 * libm/mathfp/sf_tgamma.c: Likewise.
8396 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8398 * libc/sys/linux/Makefile.am: Add new clock routines.
8399 * libc/sys/linux/Makefile.in: Regenerated.
8400 * libc/sys/linux/clock_getres.c: New file.
8401 * libc/sys/linux/clock_gettime.c: Ditto.
8402 * libc/sys/linux/clock_settime.c: Ditto.
8403 * libc/sys/linux/hp-timing.h: Ditto.
8404 * libc/sys/linux/libc-internal.h: Ditto.
8405 * libc/sys/linux/sysconf.c: Fix typo.
8406 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
8407 * libc/sys/linux/machine/hp-timing.h: New file.
8408 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
8409 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8410 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
8411 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
8412 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
8413 * libc/sys/linux/sys/linux_time.h: New file.
8414 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
8415 replace with <sys/linux_time.h>.
8417 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
8419 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8421 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8423 * libc/sys/linux/Makefile.am: Consolidate additional items under
8425 * libc/sys/linux/Makefile.in: Regenerated.
8427 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8429 * libc/sys/linux/sethostname.c: New file.
8430 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8431 * libc/sys/linux/Makefile.in: Regenerated.
8433 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8435 * libc/search/db_local.h: New file.
8436 * libc/include/db.h: Remove.
8437 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8438 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8440 * libc/search/hash_bigkey.c: Likewise.
8441 * libc/search/hash_buf.c: Likewise.
8442 * libc/search/hash_func.c: Likewise.
8443 * libc/search/hash_log2.c: Likewise.
8444 * libc/search/hash_page.c: Likewise.
8446 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
8448 * libc/machine/sh/strlen.S: New file.
8449 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8450 * libc/machine/sh/Makefile.am: Regenerate.
8452 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8454 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8455 add gethostname alias.
8457 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8459 * libc/include/math.h: Remove <sys/types.h>.
8460 (__dmath): Use __ULong instead of __uint32_t.
8461 * libc/include/sys/reent.h: If long or int is not 32-bits,
8462 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
8463 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8464 * libm/common/fdlibm.h: Ditto.
8466 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8468 * libc/include/ndbm.h: Remove.
8469 * libc/search/ndbm.c: Remove.
8471 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8473 * libc/stdio/fseek.c (fseek): Fix braces.
8475 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
8477 * libc/time/strftime.c (strftime): Add %e format specifier.
8479 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8481 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8484 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
8486 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8487 (BYTE_ORDER): Define as appropriate for the target.
8489 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8491 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8493 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8495 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8497 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8498 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8499 [HAVE_GETDATE](getdate_err): New error code.
8500 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8501 * libc/stdio/Makefile.in: Regenerated.
8502 * libc/stdio/getdelim.c: New file.
8503 * libc/stdio/getline.c: Ditto.
8504 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8505 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8506 * libc/sys/linux/Makefile.in: Regenerated.
8507 * libc/sys/linux/getdate.c: New file.
8508 * libc/sys/linux/getdate_err.c: Ditto.
8509 * libc/sys/linux/ntp_gettime.c: Ditto.
8510 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8511 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8513 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8515 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8516 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8517 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8518 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8519 * libc/include/sys/param.h: Remove i386 case which is handled
8521 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8522 definitions in case they are already defined.
8523 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8524 _IEEE_LITTLE_ENDIAN flags.
8525 * libc/include/sys/reent.h: Change __uint32_t references to
8527 (_REENT_GETDATE_REENT_P): New macro.
8528 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8529 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8530 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8531 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8532 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8533 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8534 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8535 definitions which are done by subsequent glibc headers.
8536 Add macro definitions to prevent subsequent header files from
8537 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8538 intptr_t to after glibc definitions of types they are based on.
8540 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8542 * libc/include/errno.h: Protect from multiple inclusion.
8544 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8546 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8548 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8550 * Makefile.am (LIB_OBJECTLISTS): Add
8551 libc/search/objectlist.awk.in.
8552 * libc/Makefile.am (SUBDIRS): Add search.
8553 (SUBLIBS): Add search/libsearch.la.
8554 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8555 * libc/search: New directory.
8556 * libc/search/Makefile.am: New file.
8557 * libc/search/extern.h: New file.
8558 * libc/search/hash.c: New file.
8559 * libc/search/hash.h: New file.
8560 * libc/search/hash_bigkey.c: New file.
8561 * libc/search/hash_buf.c: New file.
8562 * libc/search/hash_func.c: New file.
8563 * libc/search/hash_log2.c: New file.
8564 * libc/search/hash_page.c: New file.
8565 * libc/search/hcreate.3: New file.
8566 * libc/search/hcreate.c: New file.
8567 * libc/search/hcreate_r.c: New file.
8568 * libc/search/ndbm.c: New file.
8569 * libc/search/page.h: New file.
8570 * libc/search/tdelete.c: New file.
8571 * libc/search/tdestroy.c: New file.
8572 * libc/search/tfind.c: New file.
8573 * libc/search/tsearch.3: New file.
8574 * libc/search/tsearch.c: New file.
8575 * libc/search/twalk.c: New file.
8576 * libc/include/db.h: New file.
8577 * libc/include/ndbm.h: New file.
8578 * libc/include/search.h: New file.
8579 * libc/include/sys/queue.h: New file.
8580 * libc/include/sys/cdefs.h: New file.
8581 * libc/include/sys/param.h
8582 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8583 LITTLE_ENDIAN or BIG_ENDIAN.
8584 * libc/include/sys/errno.h (EFTYPE): New macro.
8585 * libc/search/bsearch.c: Move from libc/stdlib.
8586 * libc/search/qsort.c: Likewise.
8587 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8589 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8590 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8592 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8594 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8595 ipc routines, and ftok.
8596 * libc/sys/linux/Makefile.in: Regenerated.
8597 * libc/sys/linux/ftok.c: New file.
8598 * libc/sys/linux/ipc.c: Ditto.
8599 * libc/sys/linux/mq_close.c: Ditto.
8600 * libc/sys/linux/mq_getattr.c: Ditto.
8601 * libc/sys/linux/mq_notify.c: Ditto.
8602 * libc/sys/linux/mq_open.c: Ditto.
8603 * libc/sys/linux/mq_receive.c: Ditto.
8604 * libc/sys/linux/mq_send.c: Ditto.
8605 * libc/sys/linux/mq_setattr.c: Ditto.
8606 * libc/sys/linux/mq_unlink.c: Ditto.
8607 * libc/sys/linux/mqlocal.h: Ditto.
8608 * libc/sys/linux/include/mqueue.h: Ditto.
8609 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8612 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8614 * libm/common/sf_lround.c (round): Change name to: (lround).
8615 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8618 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8620 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8622 (newlib_pass_fail): Change to compile and run only one file.
8623 * testsuite/newlib.locale/locale.exp: Use new
8624 newlib_pass_fail_all procedure.
8625 * testsuite/newlib.string/string.exp: Likewise.
8627 2002-06-18 Dave Brolley <brolley@redhat.com>
8629 From Catherine Moore, Michael Meissner, Richard Sandiford:
8630 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8632 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8633 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8634 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8635 * configure.host: Support frv-*-*.
8636 * libc/machine/frv/Makefile.am: New file.
8637 * libc/machine/frv/configure.in: New file.
8638 * libc/machine/frv/setjmp.S: New file.
8640 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8642 * libc/include/ctype.h: Remove isblank macro.
8644 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8645 * libc/ctype/isblank.c: New file.
8646 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8647 declaration. Add isblank macro.
8649 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8651 * testsuite/newlib.stdlib/atexit.c: New file.
8652 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8653 * testsuite/newlib.string/tstring.c: Change default start size
8654 to something more reasonable for embedded platforms.
8656 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8658 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8660 * libc/argz: New directory.
8661 * libc/argz/*: New files.
8662 * libc/argz/argz_add.c: New file.
8663 * libc/argz/argz_add_sep.c: New file.
8664 * libc/argz/argz_append.c: New file.
8665 * libc/argz/argz_count.c: New file.
8666 * libc/argz/argz_create.c: New file.
8667 * libc/argz/argz_create_sep.c: New file.
8668 * libc/argz/argz_delete.c: New file.
8669 * libc/argz/argz_extract.c: New file.
8670 * libc/argz/argz_insert.c: New file.
8671 * libc/argz/argz_next.c: New file.
8672 * libc/argz/argz_replace.c: New file.
8673 * libc/argz/argz_stringify.c: New file.
8674 * libc/argz/buf_findstr.c: New file.
8675 * libc/argz/envz_add.c: New file.
8676 * libc/argz/envz_entry.c: New file.
8677 * libc/argz/envz_get.c: New file.
8678 * libc/argz/envz_merge.c: New file.
8679 * libc/argz/envz_remove.c: New file.
8680 * libc/argz/envz_strip.c: New file.
8681 * libc/include/argz.h: New file.
8682 * libc/include/envz.h: New file.
8683 * Makefile.am (LIBC_OBJECTLISTS): Add
8684 libc/argz/objectlist.awk.in.
8685 * libc/Makefile.am (SUBDIRS): Add argz.
8686 (SUBLIBS): Add argz/libargz.la.
8687 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
8688 * libc/include/errno.h: Add error_t typedef.
8690 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
8692 * libc/include/stdlib.h: Add _Exit prototype.
8693 * libc/stdlib/Makefile.am: Add _Exit.c support.
8694 * libc/stdlib/Makefile.in: Ditto.
8695 * libc/stdlib/_Exit.c: New file.
8697 2002-06-13 Stephen L. Moshier <steve@moshier.net>
8699 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
8700 x is close to -1.0 and y is very large to use ax (absolute value)
8702 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
8704 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
8706 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
8707 Fix clobbering bytes before destination if src and dst have same
8708 non-zero misalignment.
8710 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8711 Fixed bug in writing end of set region.
8713 2002-06-10 Christopher Faylor <cgf@redhat.com>
8715 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8716 spawnve declaration.
8718 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8720 * libm/common/s_fdim.c: New file.
8721 * libm/common/s_fma.c: Likewise.
8722 * libm/common/s_fmax.c: Likewise.
8723 * libm/common/s_fmin.c: Likewise.
8724 * libm/common/s_fpclassify.c: Likewise.
8725 * libm/common/s_lrint.c: Likewise.
8726 * libm/common/s_lround.c: Likewise.
8727 * libm/common/s_nearbyint.c: Likewise.
8728 * libm/common/s_remquo.c: Likewise.
8729 * libm/common/s_round.c: Likewise.
8730 * libm/common/s_scalbln.c: Likewise.
8731 * libm/common/s_signbit.c: Likewise.
8732 * libm/common/s_trunc.c: Likewise.
8733 * libm/common/sf_fdim.c: Likewise.
8734 * libm/common/sf_fma.c: Likewise.
8735 * libm/common/sf_fmax.c: Likewise.
8736 * libm/common/sf_fmin.c: Likewise.
8737 * libm/common/sf_lrint.c: Likewise.
8738 * libm/common/sf_lround.c: Likewise.
8739 * libm/common/sf_nearbyint.c: Likewise.
8740 * libm/common/sf_remquo.c: Likewise.
8741 * libm/common/sf_round.c: Likewise.
8742 * libm/common/sf_scalbln.c: Likewise.
8743 * libm/common/sf_trunc.c: Likewise.
8744 * libm/math/w_exp2.c: Likewise.
8745 * libm/math/w_tgamma.c: Likewise.
8746 * libm/math/wf_exp2.c: Likewise.
8747 * libm/math/wf_tgamma.c: Likewise.
8748 * libm/mathfp/s_exp2.c: Likewise.
8749 * libm/mathfp/s_tgamma.c: Likewise.
8750 * libm/mathfp/sf_exp2.c: Likewise.
8751 * libm/mathfp/sf_tgamma.c: Likewise.
8752 * libm/math/er_gamma.c: Fix return value.
8753 * libm/math/erf_gamma.c: Likewise.
8754 * libm/mathfp/er_gamma.c: Likewise.
8755 * libm/mathfp/erf_gamma.c: Likewise.
8756 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
8757 declarations and macros.
8758 Regenerated all Makefile.in, aclocal.m4 and configure files to
8759 use new libtool macros in top-level libtool.m4
8761 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
8763 * libc/include/string.h[__linux__]: Add strsignal prototype.
8764 * libc/include/sys/lock.h: New file with default locking support.
8765 * libc/include/sys/reent.h: Add signal buffer support for strsignal
8767 * libc/posix/Makefile.am: Add support for readdir_r.c.
8768 * libc/posix/Makefile.in: Regenerated.
8769 * libc/posix/closedir.c: Add locking support and hash table cleanup.
8770 * libc/posix/opendir.c: Add lock support.
8771 * libc/posix/readdir.c: Ditto.
8772 * libc/posix/rewinddir.c: Ditto.
8773 * libc/posix/scandir.c: Ditto.
8774 * libc/posix/seekdir.c: Ditto.
8775 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
8776 clean up leftover hash table entries.
8777 * libc/posix/readdir_r.c: New file.
8778 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
8779 * libc/sys/linux/Makefile.in: Regenerated.
8780 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
8781 * libc/sys/linux/sys/signal.h: Add psignal prototype.
8782 * libc/sys/linux/psignal.c: New file.
8783 * libc/sys/linux/strsignal.c: Ditto.
8785 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
8787 * libc/include/sys/types.h: Don't define dev_t when compiling for
8790 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
8792 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
8793 make siglist.inc dependent on sig.c instead of signal.c.
8794 * libc/sys/linux/Makefile.in: Regenerated.
8795 * libc/sys/linux/sig.c: Rename from signal.c and change code to
8796 use NSIG instead of _NSIG.
8797 * libc/sys/linux/sigaction.c: New file.
8798 * libc/sys/linux/signal.c: Changed to be linux signal() function
8799 so as to override regular newlib default signal.c.
8800 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
8801 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8802 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
8803 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
8804 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
8805 default linux sigset_t typedef by defining it equal to __sigset_t.
8806 * libc/unix/sigset.c: Add check so code isn't compiled on systems
8807 with a sigset_t that isn't implemented with a single int.
8809 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
8811 * libc/sys/linux/Makefile.am: Add support for new files.
8812 * libc/sys/linux/Makefile.in: Regenerated.
8813 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
8814 * libc/sys/linux/signal.c: Change to use real-time syscalls for
8815 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
8816 it is in a separate file now.
8817 * libc/sys/linux/machine/i386/Makefile.am
8818 * libc/sys/linux/machine/i386/Makefile.in
8819 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
8820 * libc/sys/linux/sigaction.c: New file.
8821 * libc/sys/linux/sigqueue.c: Ditto.
8822 * libc/sys/linux/sigwait.c: Ditto.
8823 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
8824 * libc/sys/linux/kernel_sigaction.h: Ditto.
8826 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
8828 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
8830 * libc/sys/linux/Makefile.in: Regenerated.
8831 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
8832 tcgetpgrp(), and tcsetpgrp() functions.
8833 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
8834 to get __MAX_BAUD rate.
8835 * libc/sys/linux/machine/i386/include/termios.h: New file.
8836 * libc/include/machine/termios.h: Ditto.
8837 * libc/sys/linux/cfspeed.c: Ditto.
8838 * libc/sys/linux/tcsendbrk.c: Ditto.
8840 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
8842 * libc/include/string.h: Add strnlen and strerror_r prototypes.
8843 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
8844 * libc/string/Makefile.in: Regenerated.
8845 * libc/string/strerror_r.c: New file.
8846 * libc/string/strnlen.c: New file.
8847 * libc/sys/linux/Makefile.am: Add rename.c.
8848 * libc/sys/linux/Makefile.in: Regenerated.
8849 * libc/sys/linux/rename.c: New file to override default rename.
8851 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8853 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
8854 * libc/sys/linux/sys/time.h: Add conversion macros.
8855 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
8856 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
8857 * libc/sys/linux/gethostname.c: New file.
8858 * libc/sys/linux/seteuid.c: New file.
8859 * libc/sys/linux/sysctl.c: New file.
8861 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8863 * libc/string/Makefile.am: Add support for strsep.c.
8864 * libc/string/Makefile.in: Regenerated.
8865 * libc/string/strsep.c: New file.
8866 * libc/string/strtok.c: Change to call __strtok_r service routine.
8867 * libc/string/strtok_r.c: Add __strtok_r routine which takes
8868 additional flag parameter regarding whether to skip leading delimeters.
8869 Change strtok_r to call __strtok_r.
8871 2002-05-23 Gareth Pearce <tilps@hotmail.com>
8873 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
8874 * libc/stdio/Makefile.in: Regenerated.
8875 * libc/stdio/setbuffer.c: New file.
8876 * libc/stdio/setlinebuf.c: New file.
8878 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8880 * libc/sys/linux/Makefile.am: Add resource.c.
8881 * libc/sys/linux/Makefile.in: Regenerated.
8882 * libc/sys/linux/resource.c: New file.
8883 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
8884 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
8885 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8886 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
8887 are now found in libc/sys/linux/resource.c.
8889 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8891 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
8892 to use void * pointers and comply with Single Unix spec.
8893 * libc/string/bcmp.c: Change to use void * instead of char *.
8894 * libc/string/bcopy.c: Ditto.
8895 * libc/string/bzero.c: Ditto.
8897 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8899 * libc/sys/linux/shm_open.c: New file.
8900 * libc/sys/linux/shm_unlink.c: Ditto.
8901 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
8903 * libc/sys/linux/Makefile.in: Regenerated.
8904 * libc/sys/linux/sys/types.h: Add some additional checks to see
8905 if clock_t or time_t is already defined.
8907 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8909 * Makefile.am: Don't pass $toollibdir down directly in
8910 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
8911 Pass it under the name: top_toollibdir.
8912 * Makefile.in: Regenerated.
8914 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8916 * libc/include/sys/types.h: Revert previous patch.
8918 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8920 * libc/include/sys/types.h: Include cygwin/types.h always under
8921 Cygwin, not only if _POSIX_THREADS is defined.
8923 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
8925 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
8927 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
8929 * Makefile.am: Copy and install headers from sys/machine/include
8930 directory. Also pass $toollibdir to lower-level directories.
8931 * Makefile.in: Regenerated.
8932 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
8933 stderr to use _REENT macro instead of _impure_ptr directly.
8934 * libc/include/sys/config.h[__i386__][__linux__]: Define
8936 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
8937 call to __getreent() function if !__SINGLE_THREAD__ and
8938 __DYNAMIC_REENT__ is set.
8939 * libc/reent/Makefile.am: Add support for getreent.c.
8940 * libc/reent/Makefile.in: Regenerated.
8941 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
8942 * libc/sys/linux/Makefile.am: Add support for new files.
8943 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
8944 * libc/sys/linux/Makefile.in: Regenerated.
8945 * libc/sys/linux/configure: Ditto.
8946 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
8947 __close, __read, __write, __poll, __open, __lseek, __fcntl from
8948 their __libc_ counterparts.
8949 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
8950 and weak-alias to regular names.
8951 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
8952 to pread64 and __pread64.
8953 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
8954 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
8955 weak-alias to pwrite64.
8956 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
8957 __libc_sched_getscheduler, __libc_sched_get_priority_max,
8958 __libc_sched_get_priority_min, and __libc_sched_setschedule to
8959 name with __ instead of __libc_.
8960 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
8961 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
8962 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
8963 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
8965 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
8966 __libc_send to __send.
8967 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
8969 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
8970 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
8971 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
8972 type and typedef __jmp_buf to jmp_buf.
8973 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
8975 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8976 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
8978 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
8979 prefix for function macros and then use weak_alias() to regular names.
8980 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8981 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
8982 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
8983 to be flockfile() and funlockfile() respectively.
8984 * libc/sys/linux/sys/types.h
8985 * libc/reent/getreent.c: New file.
8986 * libc/sys/linux/flockfile.c: Ditto.
8987 * libc/sys/linux/funlockfile.c: Ditto.
8988 * libc/sys/linux/getreent.c: Ditto.
8989 * libc/sys/linux/pread.c: Ditto.
8990 * libc/sys/linux/pwrite.c: Ditto.
8991 * libc/sys/linux/raise.c: Ditto.
8992 * libc/sys/linux/system.c: Ditto.
8993 * libc/sys/linux/tcdrain.c: Ditto.
8994 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
8995 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
8996 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
8997 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
8998 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
9000 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
9002 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
9003 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
9004 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
9005 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
9007 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
9009 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
9010 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
9013 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9015 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
9016 options when testing natively on i[3456]86-*-linux.
9018 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
9019 only one pass or fail per test file. Trim \r's from output
9020 values received from test programs. Remove support for named
9022 * testsuite/newlib.locale/UTF-8.exp: Update to support new
9023 newlib_check_output behaviour.
9024 * testsuite/newlib.locale/UTF-8.c: Likewise.
9026 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
9028 * libc/include/stdlib.h: Add on_exit prototype.
9029 * libc/include/sys/reent.h (struct _atexit): Add argument array
9030 and bits to track type of exit routine to support both on_exit
9032 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
9033 by default and change the setting of the atexit structure.
9034 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9035 * libc/stdlib/on_exit.c: New file.
9036 * libc/stdlib/Makefile.am: Add support for on_exit.
9037 * libc/stdlib/Makefile.in: Regenerated.
9038 * libc/stdlib/atexit.c: Change to initialize types field.
9039 * libc/stdlib/exit.c: Change to look at types field for each
9040 exit routine and either call an atexit-style or an on_exit-style
9041 routine accordingly.
9043 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9045 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9046 allow v specifier with n or L specifiers. For vector c format,
9047 move tmp declaration to the top.
9049 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9051 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9052 the original format specifier when looping for vectors to compensate
9053 for any changes made in vector %g format processing.
9054 Also add syntax checking for various invalid scenarios
9055 involving vector format extensions.
9056 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9057 return code setting for vector formats. Also treat vector
9058 separator mismatch as a match error instead of an input error.
9059 Perform some syntax checking for vector formats.
9061 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9063 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9064 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9065 * libc/string/strlcat.c: New file.
9066 * libc/string/strlcpy.c: New file.
9068 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9070 * libc/string/strchr.c: Fix comment typo.
9072 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9074 * acinclude.m4: Add support for --enable-newlib-multithread.
9075 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9076 --enable-newlib-multithread=no.
9078 * libc/stdio/getc_u.c: New file.
9079 * libc/stdio/getchar_u.c: New file.
9080 * libc/stdio/putc_u.c: New file.
9081 * libc/stdio/putchar_u.c: New file.
9082 * libc/include/stdio.h: Add declarations for getc_unlocked,
9083 getchar_unlocked, putc_unlocked and putchar_unlocked.
9084 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9085 (CHEWOUT_FILES): Add new files' .def's.
9086 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9088 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9090 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9091 Also handle as single quad word when destination ends at last
9092 byte of first quad word. Fix byte selection in single quad code.
9094 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9096 * libc/include/sys/stdio.h: New file.
9097 * libc/sys/linux/sys/stdio.h: New file.
9098 * libc/include/stdio.h: Add declarations for flockfile,
9099 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9100 * libc/stdio/clearerr.c: Add file locking.
9101 * libc/stdio/fclose.c: Likewise.
9102 * libc/stdio/feof.c: Likewise.
9103 * libc/stdio/ferror.c: Likewise.
9104 * libc/stdio/fflush.c: Likewise.
9105 * libc/stdio/fgetc.c: Likewise.
9106 * libc/stdio/fgetpos.c: Likewise.
9107 * libc/stdio/fgets.c: Likewise.
9108 * libc/stdio/fileno.c: Likewise.
9109 * libc/stdio/fputc.c: Likewise.
9110 * libc/stdio/fputs.c: Likewise.
9111 * libc/stdio/fread.c: Likewise.
9112 * libc/stdio/freopen.c: Likewise.
9113 * libc/stdio/fseek.c: Likewise.
9114 * libc/stdio/ftell.c: Likewise.
9115 * libc/stdio/fwrite.c: Likewise.
9116 * libc/stdio/getc.c: Likewise.
9117 * libc/stdio/putc.c: Likewise.
9118 * libc/stdio/setvbuf.c: Likewise.
9119 * libc/stdio/ungetc.c: Likewise.
9120 * libc/stdio/vfprintf.c: Likewise.
9122 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9124 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
9125 support for 'p' format. Fix code to print bytes for vector
9126 integer formats that do not specify 'h' or 'l'.
9127 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
9128 for 'p' specifier. Fix code to scan 16 bytes for vector integer
9129 formats that do not specify 'h' or 'l'.
9131 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
9133 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
9135 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
9136 (_sbrk): Add cast of return value.
9138 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9140 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
9141 (_REENT_L64A_BUF): New macro for accessing area.
9142 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
9143 * libc/stdlib/Makefile.in: Regenerated.
9144 * libc/stdlib/a64l.c: New file.
9145 * libc/stdlib/l64a.c: New file.
9147 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9149 * libc/unix/pread.c: Fix typo for _pread_r.
9150 * libc/unix/pwrite.c: Fix type for _pwrite_r.
9151 * libc/sys/linux/pread64.c: Fix typo for read syscall.
9152 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
9154 2002-05-03 Christopher Faylor <cgf@redhat.com>
9156 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
9158 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9160 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
9162 2002-05-01 Christopher Faylor <cgf@redhat.com>
9164 * utmp.h: Define more UNIX constants.
9166 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9168 * Makefile.am: Add support for checking multilibs.
9170 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
9171 (SUBDEFS): Add LIBC_EXTRA_DEF.
9172 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
9173 (LIBC_EXTRA_DEF): Likewise.
9174 (extra_dir): Likewise.
9175 * libc/machine/xscale/machine: New directory.
9176 * libc/machine/xscale/machine/profile.h: New file.
9178 * Makefile.am (site.exp): Remove newlib_cflags. Add
9180 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
9181 * testsuite/lib/flags.exp: New file.
9182 * testsuite/lib/newlib.exp: Load flags.exp.
9183 (newlib_target_compile): Remove libgloss directory references.
9184 (newlib_init): Remove newlib_cflags references.
9186 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9188 * testsuite/lib/newlib.exp (newlib_target_compile): Change
9189 method of finding libgloss_target_dir.
9191 * Makefile.am (site.exp): Change host_alias, host_triplet,
9192 target_alias, target_triplet to refer to gcc's host and target
9193 variables (newlib's build and host variables).
9194 * testsuite/lib/newlib.exp (newlib_init): Change build
9195 references to host references, host references to target
9196 references to reflect Makefile.am changes.
9197 (newlib_target_compile): Likewise.
9198 (newlib_finish): Likewise.
9200 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9202 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
9204 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
9206 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
9207 (_system): New function. Ditto.
9208 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
9209 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
9212 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9214 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
9215 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
9216 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
9217 * libc/sys/linux/Makefile.in: Regenerated.
9218 * libc/unix/Makefile.in: Ditto.
9219 * libc/sys/linux/pread64.c: New file.
9220 * libc/sys/linux/pwrite64.c: Ditto.
9221 * libc/unix/pread.c: Ditto.
9222 * libc/unix/pwrite.c: Ditto.
9224 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9226 * libc/sys/linux/Makefile.am: Add io64.c.
9227 * libc/sys/linux/Makefile.in: Regenerated.
9228 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
9229 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
9230 * libc/sys/linux/io64.c: New file.
9232 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9234 * configure.in (CC_FOR_NEWLIB): New variable that
9235 bases on $(CC) and adds targ-include and libc/include as
9236 -isystem directives if they are not already part of $(CC).
9237 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
9239 * configure: Regenerated.
9240 * Makefile.in: Ditto.
9242 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
9244 * libc/sys/linux/Makefile.am: Add support for sched.c.
9245 * libc/sys/linux/Makefile.in: Regenerated.
9246 * libc/sys/linux/sched.c: New file.
9247 * libc/sys/linux/sys/types.h: Add struct timespec.
9249 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9251 * configure.in (CC_FOR_BUILD): Set to gcc whether
9252 cross-compiling or not.
9253 (CC): Add -isystem's for targ-include and libc/include when they
9254 do not already appear in CC.
9256 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9258 * Makefile.am (check-DEJAGNU): New target.
9259 (site.exp): Likewise.
9260 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
9261 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
9262 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
9263 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
9264 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
9265 * testsuite: New directory.
9266 * testsuite/config: Likewise.
9267 * testsuite/lib: Likewise.
9268 * testsuite/newlib.locale: Likewise.
9269 * testsuite/newlib.string: Likewise.
9270 * testsuite/config/default.exp: New file.
9271 * testsuite/lib/checkoutput.exp: New file.
9272 * testsuite/lib/newlib.exp: New file.
9273 * testsuite/lib/passfail.exp: New file.
9274 * testsuite/newlib.locale/UTF-8.c: New file.
9275 * testsuite/newlib.locale/UTF-8.exp: New file.
9276 * testsuite/newlib.locale/locale.exp: New file.
9277 * testsuite/newlib.string/string.exp: New file.
9278 * testsuite/newlib.string/tstring.c: New file.
9280 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
9282 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
9283 * libc/sys/linux/Makefile.am: Add support for mmap.c.
9284 * libc/sys/linux/Makefile.in: Regenerated.
9285 * libc/sys/linux/mmap.c: New file.
9286 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
9287 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
9289 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9291 * acinclude.m4 (newlib_cflags): Remove include directories that
9292 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
9294 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
9296 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
9297 * libc/machine/xscale/memcmp.c: Ditto.
9298 * libc/machine/xscale/memcpy.c: Ditto.
9299 * libc/machine/xscale/memmove.c: Ditto.
9300 * libc/machine/xscale/memset.c: Ditto.
9301 * libc/machine/xscale/strchr.c: Ditto.
9302 * libc/machine/xscale/strcmp.c: Ditto.
9303 * libc/machine/xscale/strcpy.c: Ditto.
9304 * libc/machine/xscale/strlen.c: Ditto.
9306 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
9308 * libc/include/sys/config.h: Remove include of <limits.h>.
9309 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
9310 define INT_MAX and LONG_MAX. Use them in tests.
9312 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
9314 * configure.host: Add support for powerpc-eabialtivec*.
9315 * libc/include/malloc.h: Add include of <machine/malloc.h>.
9316 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
9317 * libc/include/machine/malloc.h: New file.
9318 * libc/include/machine/stdlib.h: Ditto.
9319 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
9320 * libc/machine/powerpc/Makefile.am: Add conditional objects and
9321 sources based on configuration.
9322 * libc/machine/powerpc/Makefile.in: Regenerated.
9323 * libc/machine/powerpc/configure: Ditto.
9324 * libc/machine/powerpc/configure.in: Add check for
9325 powerpc-eabialtivec* in which case add in additional source files.
9326 * libc/machine/powerpc/setjmp.S: Add altivec support.
9327 * libc/machine/powerpc/vec_calloc.c: New file.
9328 * libc/machine/powerpc/vec_free.c: Ditto.
9329 * libc/machine/powerpc/vec_malloc.c: Ditto.
9330 * libc/machine/powerpc/vec_mallocr.c: Ditto.
9331 * libc/machine/powerpc/vec_realloc.c: Ditto.
9332 * libc/machine/powerpc/machine/malloc.h: Ditto.
9333 * libc/machine/powerpc/machine/stdlib.h: Ditto.
9334 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
9335 with added altivec format specifiers.
9336 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
9337 added altivec format specifiers.
9339 2002-04-19 Joel Sherrill <joel@OARcorp.com>
9341 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
9342 while autoconf is trying to link main(){}.
9344 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9346 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
9347 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
9349 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9351 * libc/time/time.tex: Add tzset info.
9353 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9355 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9356 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9357 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9358 (tzname): Defined for all platforms.
9359 (daylight, timezone): Defined only for CYGWIN.
9360 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9362 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9363 environment variable is set.
9364 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9366 * libc/time/Makefile.in: Regenerated.
9367 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9368 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9369 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9370 * libc/time/local.h: New local header file.
9371 * libc/time/mktime.c (mktime): Add timezone support.
9372 * libc/time/mktm_r.c: New file which is the common engine
9373 for gmtime_r and lcltime_r. This code has timezone support.
9374 * libc/time/strftime.c (strftime): Add %Z timezone support.
9375 * libc/time/tzlock.c: New file containing timezone lock stubs.
9376 * libc/time/tzset.c: New file containing tzset() routine.
9377 * libc/time/tzset_r.c: New file containing _tzset_r and
9378 internal routine for calculating timezone changes for specified year.
9380 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9382 * configure.in (CRT0_DIR): Set to libc/.
9383 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9384 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9385 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9386 $(CRT1_DIR)/$(CRT1).
9387 * libc/machine/xstormy16/Makefile.in: Regenerated.
9388 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9389 * libc/machine/xstormy16/configure: Regenerated.
9391 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9393 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9394 fails, don't bail out, and try to correct next time.
9396 * libc/include/sys/config.h: Include limits.h.
9398 2002-04-12 Eric Norum <eric.norum@usask.com>
9400 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9401 routine to allow autoconf to determine that building executables
9403 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9404 (rtems_gxx_mutex_once): Ditto.
9406 2002-04-09 Tom Rix <trix@redhat.com>
9408 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9410 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9412 * libc/include/time.h: Fix strptime declaration.
9413 * libc/time/Makefile.am: Add strptime.c.
9414 * libc/time/Makefile.in: Regenerated.
9415 * libc/time/strptime.c: New file.
9417 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9419 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9420 siglongjmp prototype, and sigsetjmp macro definition.
9421 * libc/sys/linux/siglongjmp.c: New file.
9422 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9423 * libc/sys/linux/Makefile.in: Regenerated.
9425 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9427 * Makefile.am: Add support for installing crt1.o if one exists.
9428 * configure.host: Specify crt1.o for linux.
9429 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9430 * Makefile.in: Regenerated.
9432 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9433 Added for non-Cygwin, non-RTEMS configurations.
9434 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9435 * libc/sys/linux/Makefile.in: Regenerated.
9436 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9437 by gcc. This fixes problem with reconfiguring linux newlib build.
9438 * libc/sys/linux/sysconf.c: New file.
9440 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9442 * configure.host: Add support for machine subdirectory of
9444 * configure.in: Add check for sys machine subdirectory.
9445 * Makefile.am: Ditto.
9446 * configure: Regenerated.
9447 * Makefile.in: Ditto.
9448 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9449 * libc/sys/linux/sys/syscall.h: Ditto.
9450 * libc/sys/linux/sleep.c: New file.
9451 * libc/sys/linux/socket.c: Ditto.
9452 * libc/sys/linux/sockops.h: Ditto.
9453 * libc/sys/linux/stack.c: Ditto.
9454 * libc/sys/linux/usleep.c: Ditto.
9455 * libc/sys/linux/machine/Makefile.am: Ditto.
9456 * libc/sys/linux/machine/Makefile.in: Ditto.
9457 * libc/sys/linux/machine/aclocal.m4: Ditto.
9458 * libc/sys/linux/machine/configure: Ditto.
9459 * libc/sys/linux/machine/configure.in: Ditto.
9460 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9461 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9462 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9463 * libc/sys/linux/machine/i386/configure: Ditto.
9464 * libc/sys/linux/machine/i386/configure.in: Ditto.
9465 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9466 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9467 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9468 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9469 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9470 * libc/sys/linux/sys/select.h: Ditto.
9471 * libc/sys/linux/configure.in: Add support for machine directory.
9472 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9473 * libc/sys/linux/Makefile.in: Regenerated.
9474 * libc/sys/linux/configure: Ditto.
9475 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9476 * libc/sys/linux/inode.c: Ditto.
9477 * libc/sys/linux/linux.c: Ditto.
9478 * libc/sys/linux/process.c: Ditto.
9479 * libc/sys/linux/systat.c: Ditto.
9480 * libc/sys/linux/time.c: Ditto.
9481 * libc/sys/linux/wait.c: Ditto.
9482 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9483 * libc/sys/linux/io.c: Change header plus add readv/writev.
9484 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9485 use __sigsuspend syscall.
9486 * libc/sys/linux/select.c: Change header plus change select to
9487 use _newselect syscall.
9488 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9489 used by glibc header files.
9490 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9493 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9495 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9496 initializing a struct _reent that has been dynamically allocated.
9497 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9498 _REENT_SMALL and does nothing otherwise.
9499 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9500 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9501 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9502 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9503 [_REENT_SMALL](struct _misc_reent): New structure containing
9504 miscellaneous reentrant areas needed by newlib.
9505 [_REENT_SMALL](struct _reent): Add _misc pointer.
9506 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9507 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9508 and _REENT_STRTOK_LAST macros.
9509 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9510 and _REENT_MBLEN_STATE macros.
9511 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9512 and _REENT_MBTOWC_STATE macros.
9513 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9514 and _REENT_WCTOMB_STATE macros.
9516 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9518 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9520 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9522 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9524 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9526 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9527 Store high part of leading bytes too.
9529 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9531 * libm/math/ef_hypot.c: Increase scale factor to 68.
9533 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9535 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9538 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9540 * libc/sys/go32/access.c: Change license to relaxed license
9541 used in identical file throughout newlib/libgloss.
9543 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9545 * libc/sys/arm/access.c: New file.
9546 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9547 * libc/sys/arm/Makefile.in: Regenerate.
9548 * libc/sys/arm/syscalls.c (_stat): New function.
9550 2002-03-11 Michael Meissner <meissner@redhat.com>
9552 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9553 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9554 * libc/machine/mips/Makefile.in: Regenerate.
9555 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9556 * libc/machine/mips/memset.c: Dito.
9557 * libc/machine/mips/strcmp.c: Dito.
9558 * libc/machine/mips/strlen.c: Dito.
9559 * libc/machine/mips/strncmp.c: Dito.
9561 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9563 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9564 object so it works for shared library or statici library.
9565 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9567 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9568 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9569 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9570 (tzname): Defined for all platforms.
9571 (daylight, timezone): Defined only for CYGWIN.
9572 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9574 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9575 environment variable is set.
9576 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9578 * libc/time/Makefile.in: Regenerated.
9579 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9580 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9581 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9582 * libc/time/local.h: New local header file.
9583 * libc/time/mktime.c (mktime): Add timezone support.
9584 * libc/time/mktm_r.c: New file which is the common engine
9585 for gmtime_r and lcltime_r. This code has timezone support.
9586 * libc/time/strftime.c (strftime): Add %Z timezone support.
9587 * libc/time/tzlock.c: New file containing timezone lock stubs.
9588 * libc/time/tzset.c: New file containing tzset() routine.
9589 * libc/time/tzset_r.c: New file containing _tzset_r and
9590 internal routine for calculating timezone changes for specified year.
9592 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9594 * configure.in (CRT0_DIR): Set to libc/.
9595 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9596 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9597 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9598 $(CRT1_DIR)/$(CRT1).
9599 * libc/machine/xstormy16/Makefile.in: Regenerated.
9600 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9601 * libc/machine/xstormy16/configure: Regenerated.
9603 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9605 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9606 fails, don't bail out, and try to correct next time.
9608 * libc/include/sys/config.h: Include limits.h.
9610 2002-04-12 Eric Norum <eric.norum@usask.com>
9612 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9613 routine to allow autoconf to determine that building executables
9615 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9616 (rtems_gxx_mutex_once): Ditto.
9618 2002-04-09 Tom Rix <trix@redhat.com>
9620 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9622 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9624 * libc/include/time.h: Fix strptime declaration.
9625 * libc/time/Makefile.am: Add strptime.c.
9626 * libc/time/Makefile.in: Regenerated.
9627 * libc/time/strptime.c: New file.
9629 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9631 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9632 siglongjmp prototype, and sigsetjmp macro definition.
9633 * libc/sys/linux/siglongjmp.c: New file.
9634 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9635 * libc/sys/linux/Makefile.in: Regenerated.
9637 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9639 * Makefile.am: Add support for installing crt1.o if one exists.
9640 * configure.host: Specify crt1.o for linux.
9641 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9642 * Makefile.in: Regenerated.
9644 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9645 Added for non-Cygwin, non-RTEMS configurations.
9646 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9647 * libc/sys/linux/Makefile.in: Regenerated.
9648 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9649 by gcc. This fixes problem with reconfiguring linux newlib build.
9650 * libc/sys/linux/sysconf.c: New file.
9652 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9654 * configure.host: Add support for machine subdirectory of
9656 * configure.in: Add check for sys machine subdirectory.
9657 * Makefile.am: Ditto.
9658 * configure: Regenerated.
9659 * Makefile.in: Ditto.
9660 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9661 * libc/sys/linux/sys/syscall.h: Ditto.
9662 * libc/sys/linux/sleep.c: New file.
9663 * libc/sys/linux/socket.c: Ditto.
9664 * libc/sys/linux/sockops.h: Ditto.
9665 * libc/sys/linux/stack.c: Ditto.
9666 * libc/sys/linux/usleep.c: Ditto.
9667 * libc/sys/linux/machine/Makefile.am: Ditto.
9668 * libc/sys/linux/machine/Makefile.in: Ditto.
9669 * libc/sys/linux/machine/aclocal.m4: Ditto.
9670 * libc/sys/linux/machine/configure: Ditto.
9671 * libc/sys/linux/machine/configure.in: Ditto.
9672 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9673 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9674 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9675 * libc/sys/linux/machine/i386/configure: Ditto.
9676 * libc/sys/linux/machine/i386/configure.in: Ditto.
9677 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9678 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9679 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9680 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9681 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9682 * libc/sys/linux/sys/select.h: Ditto.
9683 * libc/sys/linux/configure.in: Add support for machine directory.
9684 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9685 * libc/sys/linux/Makefile.in: Regenerated.
9686 * libc/sys/linux/configure: Ditto.
9687 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9688 * libc/sys/linux/inode.c: Ditto.
9689 * libc/sys/linux/linux.c: Ditto.
9690 * libc/sys/linux/process.c: Ditto.
9691 * libc/sys/linux/systat.c: Ditto.
9692 * libc/sys/linux/time.c: Ditto.
9693 * libc/sys/linux/wait.c: Ditto.
9694 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9695 * libc/sys/linux/io.c: Change header plus add readv/writev.
9696 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9697 use __sigsuspend syscall.
9698 * libc/sys/linux/select.c: Change header plus change select to
9699 use _newselect syscall.
9700 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9701 used by glibc header files.
9702 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9705 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9707 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9708 initializing a struct _reent that has been dynamically allocated.
9709 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9710 _REENT_SMALL and does nothing otherwise.
9711 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9712 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9713 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9714 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9715 [_REENT_SMALL](struct _misc_reent): New structure containing
9716 miscellaneous reentrant areas needed by newlib.
9717 [_REENT_SMALL](struct _reent): Add _misc pointer.
9718 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9719 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9720 and _REENT_STRTOK_LAST macros.
9721 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9722 and _REENT_MBLEN_STATE macros.
9723 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9724 and _REENT_MBTOWC_STATE macros.
9725 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9726 and _REENT_WCTOMB_STATE macros.
9728 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9730 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9732 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9734 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9736 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9738 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9739 Store high part of leading bytes too.
9741 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9743 * libm/math/ef_hypot.c: Increase scale factor to 68.
9745 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9747 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9750 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9752 * libc/sys/go32/access.c: Change license to relaxed license
9753 used in identical file throughout newlib/libgloss.
9755 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9757 * libc/sys/arm/access.c: New file.
9758 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9759 * libc/sys/arm/Makefile.in: Regenerate.
9760 * libc/sys/arm/syscalls.c (_stat): New function.
9762 2002-03-11 Michael Meissner <meissner@redhat.com>
9764 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9765 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9766 * libc/machine/mips/Makefile.in: Regenerate.
9767 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9768 * libc/machine/mips/memset.c: Dito.
9769 * libc/machine/mips/strcmp.c: Dito.
9770 * libc/machine/mips/strlen.c: Dito.
9771 * libc/machine/mips/strncmp.c: Dito.
9773 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9775 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9776 object so it works for shared library or statici library.
9777 * libc/machine/i386/Makefile.in: Regenerated.
9779 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
9781 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
9782 Add memcpy.S, memset.S and strcpy.S.
9783 * libc/machine/sh/Makefile.in: Regenerate.
9784 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
9785 (SHHI, SHLO): Define.
9786 * libc/machine/sh/memset.S: Add code for SH5.
9787 * libc/machine/sh/memset.S: Likewise.
9788 * libc/machine/sh/strcpy.S: Likewise.
9790 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
9792 * configure.host: Add check for --disable-newlib-io-float
9793 configuration option and add -DNO_FLOATING_POINT to newlib cflags
9795 * acinclude.m4: Added --disable-newlib-io-float option.
9796 * aclocal.m4: Regenerated.
9798 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
9799 * libc/*/aclocal.m4 libc/*/configure
9800 * libm/*/aclocal.m4 libm/*/configure: Ditto.
9801 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
9802 if NO_FLOATING_POINT flag is not defined.
9804 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
9806 * libc/include/sys/config.h: Add __extension__ in front of
9807 long long references.
9809 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9811 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
9814 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9816 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
9819 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
9821 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
9822 clobbered registers.
9824 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9826 * configure.host (newlib_cflags): When host is in m68* add
9829 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
9831 * libc/include/sys/config.h: Add definitions for
9832 __int16_t, __uint16_t, __int64_t, and __uint64_t.
9834 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
9836 * libc/sys/mmixware/link.c: New.
9837 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
9839 * libc/sys/mmixware/times.c (_times): Renamed from times.
9840 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
9841 properly by reading previous contents, not through BinaryReadWrite.
9842 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
9843 * libc/sys/mmixware/Makefile.in: Regenerate.
9845 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
9847 * libc/include/grp.h: Don't declare group functions when compiling
9850 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
9852 * libc/include/grp.h: Include Cygwin specific header.
9853 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
9854 when compiling for Cygwin.
9855 * libc/include/sys/types.h: Don't define off_t, uid_t
9856 and gid_t when compiling for Cygwin.
9858 2002-02-08 matthew green <mrg@redhat.com>
9860 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
9861 _REENT_EMERGENCY_SIZE, not sizeof(char *).
9863 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
9865 Contribute sh64-elf.
9866 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9867 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
9869 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
9870 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
9872 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
9873 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
9874 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
9875 * libc/machine/sh/configure.in: Rework conditionals.
9876 * libc/machine/sh/Makefile.am: Likewise.
9877 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
9878 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
9879 * configure.host: Match `sh*'.
9880 * libc/include/machine/setjmp.h: Define for SH5.
9881 * libc/machine/sh/configure.in: Detect SH5.
9882 * libc/machine/sh/configure: Rebuilt.
9883 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
9884 * libc/machine/sh/Makefile.in: Rebuilt.
9885 * libc/machine/sh/asm.h: Adjust for SH5.
9886 * libc/machine/sh/setjmp.S: Implement in SHmedia.
9887 * libc/sys/sh/crt0.S: Likewise.
9888 * libc/sys/sh/trap.S: Likewise.
9890 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
9892 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
9893 (mach_add_obj): Conditionally set to setjmp.o or nothing.
9894 (LIB_SOURCES): Remove $(mach_add_src).
9895 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
9896 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
9897 * libc/machine/i386/Makefile.in: Regenerate.
9899 2002-02-05 Manik Raina <manik@cisco.com>
9901 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
9902 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
9903 s, p, k, and outstr.
9904 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
9906 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
9908 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
9909 _REENT_CHECK_EMERGENCY macro.
9911 2002-02-03 matthew green <mrg@redhat.com>
9913 * libc/reent/signgam.c (__signgam): Fix error in previous.
9915 2002-02-02 matthew green <mrg@redhat.com>
9917 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
9919 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
9920 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
9921 * libc/include/sys/reent.h (struct _reent): Completely new version
9923 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
9924 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
9925 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
9926 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
9927 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
9928 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
9929 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
9930 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
9931 (_REENT_EMERGENCY): Likewise.
9933 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
9934 the start of the real __sFILE, used for stdin, stdout and stderr until
9935 they are setup properly.
9936 (struct __sFILE): Move location of _data in _REENT_SMALL case.
9937 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
9938 allocated stdin, stdout and stderr.
9939 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
9940 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
9941 * libc/stdio/perror.c (_perror_r): Likewise.
9942 * libc/stdio/printf.c (printf, _printf_r): Likewise.
9943 * libc/stdio/putchar.c (_putchar_r): Likewise.
9944 * libc/stdio/puts.c (_puts_r): Likewise.
9945 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
9946 * libc/stdio/vprintf.c (vprintf): Likewise.
9947 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
9949 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
9951 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
9952 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
9954 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
9955 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
9957 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
9959 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
9960 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
9961 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
9962 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
9963 * libc/stdlib/rand48.c (__dorand48): Likewise.
9964 * libc/stdlib/seed48.c (_seed48_r): Likewise.
9965 * libc/stdlib/srand48.c (_srand48_r): Likewise.
9966 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
9967 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
9968 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
9969 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
9970 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
9971 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
9972 * libc/stdlib/rand.c (rand): Likewise.
9974 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
9975 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
9977 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
9978 _REENT_MP_FREELIST() and _REENT_MP_P5S.
9979 * libc/include/sys/reent.h (struct _mprec): New structure.
9981 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
9982 _unused_strtok_last.
9983 * libc/string/strtok.c (strtok): Use a local static variable.
9985 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
9986 (_REENT_EMERGENCY_SIZE): Likewise.
9987 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
9988 _REENT_ASCTIME_BUF().
9989 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
9992 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
9993 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
9994 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
9995 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
9996 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
9997 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
9999 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
10001 * configure.host (xstormy16): Don't use the generic malloc.
10002 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
10003 * libc/machine/xstormy16/Makefile.in: Regenerate.
10004 * libc/machine/xstormy16/mallocr.c: New file.
10005 * libc/machine/xstormy16/tiny-malloc.c: New file.
10007 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10009 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
10010 when _CYGWIN_TYPES_H is not defined.
10012 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10014 * libc/include/sys/signal.h: Revert 2002-01-23 change.
10016 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
10018 * libc/include/sys/signal.h: Remove pthread_kill declaration
10019 when __CYGWIN__ is defined.
10021 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10023 * libc/include/time.h: Add prototype for strptime for Cygwin.
10025 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
10027 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
10028 dst was not word aligned.
10030 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
10031 if too much memory is requested.
10033 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10035 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10036 reads blanks from the input file to break if EOF reached
10037 rather than end processing.
10039 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10041 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10043 2002-01-07 Alan Matsuoka <alanm@redhat.com>
10045 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10046 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10047 libc/include/sys/config.h: Ditto.
10049 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
10051 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10053 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
10054 Catherine Moore <clm@redhat.com>
10055 Richard Henderson <rth@redhat.com>
10056 Corinna Vinschen <vinschen@redhat.com>
10058 * configure.host: Add support for xstormy16.
10059 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10060 * libc/include/machine/setjmp.h: Add support for xstormy16.
10061 * libc/include/sys/config.h: Add support for xstormy16.
10062 * libc/machine/xstormy16/Makefile.am: New file.
10063 * libc/machine/xstormy16/Makefile.in: New file.
10064 * libc/machine/xstormy16/aclocal.m4: New file.
10065 * libc/machine/xstormy16/configure: New file.
10066 * libc/machine/xstormy16/configure.in: New file.
10067 * libc/machine/xstormy16/setjmp.S: New file.
10069 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10071 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10072 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10074 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
10076 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10077 * libm/machine/Makefile.in: Regenerated through automake.
10079 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10081 * Makefile.am (DOCDIR): Force to empty string when doc
10082 directory is not present.
10084 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10086 * libc/machine/i386/f_*: Move to libm/machine/i386.
10088 2001-12-18 Joel Sherrill <joel@OARcorp.com>
10090 * libm/machine/Makefile.am: Add dummy doc stub so
10093 2001-12-17 Joel Sherrill <joel@OARcorp.com>
10095 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10097 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10099 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10100 $(COMPILE) rather than $(CC).
10101 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10102 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10103 $(LIB_COMPILE) change.
10104 (vfiprintf.$(oext)): Likewise.
10106 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
10108 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10109 conditionalized including of getopt stuff.
10111 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10113 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10115 (vfiprintf.$(oext)): Likewise.
10117 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10119 * Makefile.shared: New file.
10120 * libc/sys/linux/shared.ld: New file.
10121 * libm/machine/*: New files.
10122 * libm/machine/i386/*: New files.
10123 * Makefile.am: Add libtool support. Change math and mathfp
10124 references to variables.
10125 * configure.host: Add variables for libtool support. Add
10126 libm_machine_dir variable.
10127 * configure.in: Add objectlist variables, for libtool
10128 support. Add CC_FOR_BUILD tests.
10129 * libc/Makefile.am: Add libtool support. Change crt0.o
10130 reference to be a variable reference.
10131 * libc/configure.in: Add libtool support. Change sublib
10132 names to be lib${subdir}.la when using libtool.
10133 * libc/ctype/Makefile.am: Add libtool support.
10134 * libc/errno/Makefile.am: Likewise.
10135 * libc/locale/Makefile.am: Likewise.
10136 * libc/machine/Makefile.am: Likewise.
10137 * libc/machine/configure.in: Likewise.
10138 * libc/machine/i386/Makefile.am: Likewise.
10139 * libc/machine/i386/configure.in: Likewise.
10140 * libc/misc/Makefile.am: Likewise.
10141 * libc/posix/Makefile.am: Likewise.
10142 * libc/reent/Makefile.am: Likewise.
10143 * libc/signal/Makefile.am: Likewise.
10144 * libc/stdio/Makefile.am: Likewise.
10145 * libc/stdlib/Makefile.am: Likewise.
10146 * libc/string/Makefile.am: Likewise.
10147 * libc/sys/Makefile.am: Likewise.
10148 * libc/sys/configure.in: Likewise.
10149 * libc/sys/linux/Makefile.am: Add libtool support. Change
10150 awk reference to a variable reference. Change signal.h
10151 reference to a variable reference.
10152 * libc/sys/linux/configure.in: Add libtool support.
10153 * libc/syscalls/Makefile.am: Likewise.
10154 * libc/time/Makefile.am: Likewise.
10155 * libc/unix/Makefile.am: Likewise.
10156 * libm/Makefile.am: Add libtool support. Change math and
10157 mathfp references to variables.
10158 * libm/configure.in: Add libtool support. Add
10159 LIBM_MACHINE_LIB variable.
10160 * libm/common/Makefile.am: Add libtool support.
10161 * libm/math/Makefile.am: Likewise.
10162 * libm/mathfp/Makefile.am: Likewise.
10163 Regenerate all Makefile.in, aclocal.m4, and configure.
10165 2001-12-13 Anita Kulkarni <anitak@kpit.com>
10167 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
10169 2001-12-06 John Peacock <jpeacock@rowman.com>
10171 * libc/include/sys/unistd.h: Correct ualarm declaration.
10173 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
10175 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
10176 vector before calling the initialisation functions.
10178 2001-11-29 Christopher Faylor <cgf@redhat.com>
10180 * libc/include/dirent.h: Protect against multiple inclusion.
10182 2001-11-27 Christopher Faylor <cgf@redhat.com>
10184 * libc/include/sys/types.h: Define useconds_t.
10185 * libc/include/sys/ulimit.h: Declare ualarm.
10187 2001-11-21 Christopher Faylor <cgf@redhat.com>
10189 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
10191 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
10193 * libc/sys/mmixware/*: Tweak license header in all source files.
10195 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
10197 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
10198 to here. Rearrange for general inclusion by stdlib.h.
10199 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
10201 * libc/sys/linux/include/alloca.h: Move to libc/include.
10203 2001-11-12 Anthony Green <green@redhat.com>
10205 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
10207 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
10209 * libc/sys/mmixware/*: Correct spacing in all source files.
10210 * libc/sys/mmixware/syscall.h: Move misplaced file...
10211 * libc/sys/mmixware/sys/syscall.h: ...here.
10213 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
10215 * libc/include/machine/ieeefp.h: Add support for mmix target.
10216 * libc/include/machine/setjmp.h: Ditto.
10217 * configure.host: Ditto.
10218 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
10219 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
10220 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
10221 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
10222 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
10223 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
10224 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
10225 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
10226 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
10227 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
10228 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
10229 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
10230 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
10231 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
10232 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
10233 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
10234 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
10235 libc/sys/mmixware/aclocal.m4: Generate.
10237 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
10239 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
10240 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
10241 when __CYGWIN__ is defined.
10242 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
10245 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
10247 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
10248 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
10249 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
10250 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
10252 2001-10-24 Christopher Faylor <cgf@redhat.com>
10254 * libc/stdio/fseek.c: Reset pointer to buffer base
10255 when forced to seek outside of current buffer contents.
10256 This prevents the code from erroneously thinking there is
10257 anything in the current buffer.
10259 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
10261 * libc/include/math.h: The C++ standard adds the single-precision
10262 versions of the elementary functions.
10264 2001-10-22 Christopher Faylor <cgf@redhat.com>
10266 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
10268 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
10269 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
10270 * system.c (_system_r): Ditto.
10272 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
10274 * libc/include/sys/unistd.h: Add prototype for fchdir() when
10275 __CYGWIN__ or __rtems__ is defined.
10277 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
10279 * libc/include/stdlib.h: add declarations for
10280 _strtoull_r, _strtoll_r, strtoull, and strtoll.
10281 * libc/stdio/local.h: remove declarations of
10282 __strtoull_r and __strtoll_r.
10283 * libc/stdio/vfscanf.c(__svfscanf_r): call
10284 _strtoull_r instead of __strtoull_r. Ditto
10285 _strtoll_r vs. __strtoll_r.
10286 * libc/stdlib/Makefile.am: add new files to
10287 .c list and .def list
10288 * libc/stdlib/Makefile.in: regenerate
10289 * libc/stdlib/strtoll_r.c: rename __strtoll_r
10291 * libc/stdlib/strtoull_r.c: rename __strtoull_r
10293 * libc/stdlib/strtoull.c: new file
10294 * libc/stdlib/strtoll.c: new file
10296 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
10298 * libc/include/process.h: Add getpid() declaration.
10300 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10302 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
10303 for new style arm/elf ctor/dtor handling.
10304 Minor formatting tidy up.
10306 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
10308 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
10310 * libc/stdlib/Makefile.in: Regenerated.
10311 * libc/stdlib/strtoll_r.c: New file.
10312 * libc/stdlib/strtoull_r.c: New file.
10313 * libc/stdio/local.h: Add prototypes for long long string
10314 conversion routines.
10315 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
10316 tied to %L integer conversion specifier.
10318 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
10320 * strftime.c (strftime): Fix "%W" implementation to properly handle
10323 2001-09-07 Jeff Law <law@redhat.com>
10325 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
10326 __fini with "mov.l" instead of "mov.w".
10328 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
10330 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
10333 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
10335 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
10337 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10339 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
10341 (__DIRENT_VERSION): New define.
10343 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10345 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
10346 Shrink __d_reserved accordingly to keep structure size.
10347 (dirfd): Declare external.
10349 2001-08-29 Joel Sherrill <joel@OARcorp.com>
10351 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
10353 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10355 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
10356 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
10357 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
10358 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
10359 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
10360 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
10361 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
10362 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
10363 Add conditional compilation to avoid HW FPU instructions
10364 when compiled for soft-float.
10366 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10368 * Makefile.am: Add check for ln failing when creating libg.a
10369 so that cp gets used as a backup.
10370 * Makefile.in: Regenerated.
10372 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10374 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
10375 No longer include time.h. Add struct __tm to use for
10376 _localtime_buf in the reentrant structure. Add a
10377 _NULL definition to use in initializing the reentrant struct.
10378 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
10379 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
10381 * libc/include/sys/unistd.h: Include <sys/_types.h>.
10382 * libc/time/lcltime.c (localtime): Cast the reentrant struct
10383 _localtime_buf to be struct tm *.
10385 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
10387 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
10388 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
10390 * libc/sys/h8300hms/syscalls.c: Include errno.h.
10391 (_unlink): New stub function.
10393 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
10395 * libc/include/sys/errno.h: Add a cautionary comment.
10397 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
10399 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
10400 for SIZE_SZ so that alignment ends up a minimum of 8.
10402 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
10404 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
10407 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
10410 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
10412 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
10413 macro constants for mallopt options.
10414 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
10416 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
10418 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
10421 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
10423 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
10425 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10427 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10428 Define for little endian ARMs.
10430 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10431 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10433 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10435 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
10437 2001-06-11 Egor Duda <deo@logos-m.ru>
10439 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10440 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10441 initialized memory region. Platform can define COMPACT_CTYPE
10442 to avoid allocation of the additional 128 bytes of data.
10443 Add pointer to _ctype_ array. Always initialize all _ctype_
10446 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10448 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10451 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10453 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10455 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10457 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10458 matching, non-word alignment, and the length is <= 4 but more than
10459 enough to move them over a word boundary.
10460 Add comments explaining what each instruction does.
10462 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10464 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
10465 * libc/include/sys/unistd.h: Ditto.
10467 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10469 * libc/string/strrchr.c: Use strchr for the speed improvements.
10471 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10473 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10474 real file systems, let __smakebuf() determine if line buffering
10475 should be used for stdout.
10477 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10479 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10481 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10483 * libc/include/stdlib.h: Add prototype for _strtod_r.
10485 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10487 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10488 * libc/stdio/vprintf.c (_vprintf_r): new function
10489 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10490 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10491 _DEFUN, and call _vfprintf_r, not vfprintf.
10492 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10493 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10494 _DEFUN, and call _vfprintf_r, not vfprintf.
10496 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
10498 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10499 Cygwin X_OK definitions in sys/file.h.
10501 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10503 * libc/include/sys/time.h: Define timercmp and other macros for
10506 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10508 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10509 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10510 --enable-malloc-debugging selected.
10511 * aclocal.m4 configure: Regenerated.
10512 libm/aclocal.m4 libm/configure: Ditto.
10513 * libc/aclocal.m4 libc/configure: Ditto.
10514 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10515 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10516 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10517 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10518 * doc/aclocal.m4 doc/configure: Ditto.
10520 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10522 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10524 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10525 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10526 function prototypes.
10527 (_fscanf_r, _sscanf_r): Ditto.
10528 * libc/include/stdlib.h: Added _strtod_r prototype.
10529 * libc/stdio/Makefile.am: Add new v*scanf functions.
10530 * libc/stdio/Makefile.in: Regenerate.
10531 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10532 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10533 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10534 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10535 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10536 (_sscanf_r): New routine.
10537 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10538 with __svfscanf_r prototype.
10539 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10541 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10542 structure as argument as calls reentrant versions of helper functions
10543 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10544 to _strtol_r and _strtod_r respectively.
10545 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10546 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10548 * libc/stdio/vscanf.c: New file.
10549 * libc/stdio/vsscanf.c: Ditto.
10551 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
10553 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10554 Define daylight to _daylight if it is not defined
10555 Prepare a variable export of timezone based on timezonevariable.
10556 (Cannot be used with the timezone() function.)
10558 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10560 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10561 Correct the numerical values.
10563 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
10565 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10567 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10569 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10570 on case insensitve file systems.
10572 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
10574 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10576 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10577 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10578 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10580 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
10582 * libc/include/machine/ieeefp.h: Comment about new configuration
10583 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10584 * libm/common/fdlib.h: Define new macros for testing floats.
10585 * libm/common/sf_*: Use them.
10586 * libm/math/ef_*: Likewise.
10587 * libm/math/sf_*: Likewise.
10589 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10591 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10592 prolog to by-pass possible assembler error.
10594 2001-03-21 Egor Duda <deo@logos-m.ru>
10596 Allow building internal stubs for non-reentrant syscalls
10597 if target provides its own malloc
10598 * libc/reent/reent.c (errno): Move definition here.
10599 * libc/reent/sbrkr.c: From here.
10601 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10603 * libc/include/sys/types.h (BSD int typedefs): Guard with
10604 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10605 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10607 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10608 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10610 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10612 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10613 _PC_POSIX_SECURITY constants for Cygwin.
10615 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10617 * libc/sys/cygwin/crt0.c: Add copyright hint.
10618 * libc/sys/cygwin/sys/dirent.h: Ditto.
10619 * libc/sys/cygwin/sys/param.h: Ditto.
10620 * libc/sys/cygwin/sys/utime.h: Ditto.
10621 * libc/sys/cygwin/sys/utmp.h: Ditto.
10623 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10625 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10626 equivalent to LONGINT.
10628 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
10630 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10631 jmpbuf on MIPS64 targets.
10632 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
10634 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10636 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
10639 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10641 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10642 For RTEMS, define to be ssize_t. Default to int if not defined.
10643 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10644 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10645 * libc/stdio/local.h (__sread, __swrite): Likewise.
10646 * libc/include/sys/reent.h (_read, _write): Likewise.
10647 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10648 * libc/syscalls/sysread.c (read): Likewise.
10649 * libc/syscalls/syswrite.c (write): Likewise.
10651 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10653 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
10655 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10657 * libc/include/sys/stat.h: Use special defines for executable stat bits
10658 when compiling for Cygwin.
10659 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10662 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10664 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10665 of strtok_r is always defined.
10667 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10669 * libc/include/machine/ansi.h: New dummy header file.
10671 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10673 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10674 changed the copyright information to allow free modification of the
10675 file with no reference to "copying.dj".
10676 * libc/include/sys/stat-dj.h: Ditto.
10677 * libc/machine/i386/setjmp.S: Ditto.
10678 * libc/sys/h8300hms/sys/file.h: Ditto.
10679 * libc/sys/sysmec/access.c: Ditto.
10680 * libc/sys/sysnecv850/access.c: Ditto.
10681 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10682 * libc/stdlib/getenv_r.c: Ditto.
10683 * libc/stdlib/putenv_r.c: Ditto.
10684 * libc/stdlib/setenv_r.c: Ditto.
10685 * libc/stdlib/getenv.c: Removed DJ reference since any possible
10686 modifications will now be in the _r version of this file.
10687 * libc/stdlib/putenv.c: Ditto.
10688 * libc/stdlib/setenv.c: Ditto.
10689 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
10690 valid. Added a reference to DJ's web page that contains his address.
10691 * libc/sys/go32/*.s: Removed references to DJ's old address.
10692 * libc/sys/go32/*.c: Ditto.
10693 * libc/sys/go32/*.h: Ditto.
10694 * libc/sys/go32/*.S: Ditto.
10695 * libc/sys/go32/sys/*.h: Ditto.
10697 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
10699 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
10700 HAVE_FCNTL flag check.
10701 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
10702 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
10704 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
10706 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
10708 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10710 * libc/include/stdlib.h: Add declarations of rand48 functions and
10711 their reentrant versions.
10712 * libc/include/sys/reent.h: Move macros from rand48.h. Add
10713 struct _rand48 for shared parameters of rand48 functions.
10714 (struct _reent): Add a variable _r48 of struct _rand48.
10715 (_REENT_INIT): Add _r48 initialization.
10716 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10717 (CHEWOUT_FILES): Add rand48.def.
10718 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10719 * libc/stdlib/Makefile.in: Regenerated.
10720 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10722 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10723 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10724 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10725 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10726 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10727 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10728 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10729 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10730 * libc/stdlib/rand48.c (__dorand48): Ditto.
10731 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10732 parameters into macros referring them in the reentrant structure.
10734 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10736 * libc/include/sys/stat.h: Add mknod for Cygwin now that
10737 Cygwin definition has correct prototype.
10739 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10741 * libc/include/sys/stat.h: Must revert change for mknod
10742 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
10745 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10747 * libc/include/stdio.h: Revert putw prototype.
10749 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
10751 * libc/include/grp.h: add prototype for initgroups.
10752 * libc/include/stdio.h: fix prototype for putw.
10753 * libc/include/sys/signal.h: add prototype for killpg.
10754 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
10755 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
10756 vhangup and remove duplicate sysconf prototype.
10758 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
10760 * libc/sys/rtems/sys/types.h: Removed.
10762 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
10764 * libc/include/locale.h: add LC_MESSAGES definition
10766 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10768 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
10770 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
10771 __setup_argv_and_call_main): New.
10773 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
10775 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
10777 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
10778 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
10779 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
10780 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
10782 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
10784 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
10785 compiling under Cygwin.
10787 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
10789 * libc/include/math.h (signgam): Change to errno-like solution
10790 using a function to return the address of the real signgam.
10791 * libc/reent/signgam.c: New file containing __signgam().
10792 * libc/reent/Makefile.am: Added signgam.c to list of files.
10793 * libc/reent/Makefile.in: Regenerated.
10795 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
10797 * libc/sys/sh/syscalls.c (_times): New.
10799 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
10800 * libc/sys/sh/syscalls.c (_gettimeofday): New.
10802 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10804 * libc/include/math.h (signgam): Regress previous fix as
10805 it does not handle programs with extern int signgam in them.
10807 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10809 * libc/include/math.h (signgam): Changed to a macro refering to
10810 its location in the reentrant structure.
10812 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10814 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
10815 that suppressed . for %.0f, 0.1. Check now looks if there
10816 are padding zeroes (expt) in addition to any digits (ndig) to
10819 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
10821 * libc/sys/arc/Makefile.am: New file.
10822 * libc/sys/arc/Makefile.in: Ditto.
10823 * libc/sys/arc/aclocal.m4: Ditto.
10824 * libc/sys/arc/configure: Ditto.
10825 * libc/sys/arc/configure.in: Ditto.
10826 * libc/sys/arc/crt0.S: Ditto.
10827 * libc/sys/arc/isatty.c: Ditto.
10828 * libc/sys/arc/mem-layout.c: Ditto.
10829 * libc/sys/arc/sbrk.c: Ditto.
10830 * libc/sys/arc/syscalls.c: Ditto.
10831 * libc/sys/arc/sys/syscall.h: Ditto.
10833 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
10835 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
10837 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
10839 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
10841 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
10843 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
10845 2001-01-09 Nick Clifton <nickc@redhat.com>
10847 * configure.host (v859): Remove unsupported compiler options.
10849 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
10851 * src/newlib/configure.host (*-*-rtems*): add printf long long
10854 2000-12-19 Graham Stott <grahams@redhat.com>
10856 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
10858 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10860 * configure.host: Turn on long double I/O for Cygwin.
10862 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10864 * MAINTAINERS: Removed Ranjith.
10865 * NEWS: Updated for 1.9.0.
10867 * acinclude.m4: Updated to release 1.9.0.
10868 * aclocal.m4 configure
10869 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10870 libc/machine/aclocal.m4 libc/machine/configure
10871 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
10872 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
10873 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
10874 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
10875 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
10876 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
10877 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
10878 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
10879 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
10880 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
10881 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
10882 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
10883 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
10884 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
10885 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
10886 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
10887 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
10888 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
10889 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
10890 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
10891 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10892 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10893 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10894 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
10895 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10896 libc/sys/aclocal.m4 libc/sys/configure
10897 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10898 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10899 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10900 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10901 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10902 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10903 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10904 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10905 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
10906 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10907 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10908 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10909 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10910 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10911 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10912 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10913 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10914 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10915 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10916 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10917 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10918 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10919 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10920 libm/aclocal.m4 libm/configure: Regenerated.
10922 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10924 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
10925 when __CYGWIN__ is defined.
10927 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10929 * libc/stdlib/ldtoa.c (_ldcheck): New routine
10930 that categorizes a long double as NaN, Infinity, or other.
10931 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
10932 isinfl and isnanl static routines which were i386-specific. Changed
10933 calls to the two removed routines to a single _ldcheck call.
10934 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
10936 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10938 * Makefile.am: Fixed install-data-local target to use
10939 $(mkinstalldirs) for the installed header files to ensure
10940 the directories exist before copying.
10941 * Makefile.in: Regenerated.
10943 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
10945 * libc/include/sys/unistd.h: Restored Cygwin _SC
10946 constants and moved new constants appropriately
10947 so Cygwin will build.
10949 2000-12-11 Joel Sherrill <joel@OARcorp.com>
10951 * Merge RTEMS specific .h files into main libc/include.
10952 * libc/sys/rtems/include/signal.h: Removed.
10953 * libc/sys/rtems/include/time.h: Removed.
10954 * libc/sys/rtems/sys/features.h: Removed.
10955 * libc/sys/rtems/sys/sched.h: Removed.
10956 * libc/sys/rtems/sys/siginfo.h: Removed.
10957 * libc/sys/rtems/sys/signal.h: Removed.
10958 * libc/sys/rtems/sys/time.h: Removed.
10959 * libc/sys/rtems/sys/times.h: Removed.
10960 definitions for time_t and clock_t since these are
10961 no longer in time.h.
10962 * libc/include/pthread.h: New file.
10963 * libc/include/sys/sched.h: New file.
10964 * libc/include/sys/features.h: New file.
10965 * libc/include/time.h: Removed duplicate definition of clock_t
10966 and time_t, get them from <sys/types.h> instead. Add prototypes
10967 for POSIX clock and timer functionality.
10968 * libc/sys/linux/sys/types.h: Changed to include
10969 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
10970 * libc/include/sys/signal.h: Add more complete set of POSIX
10971 signal functionality including real-time and threaded signals.
10972 * libc/include/sys/types.h: Add clock_t, time_t, struct
10973 timespec, and struct itimerspec. Centralizing these makes
10974 things cleaner. RTEMS uses 64-bit dev_t.
10975 Added numerous primitive definitions
10976 for pthreads including macros, pthread_attr_t,
10977 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
10978 pthread_once_t, and pthread_t.
10979 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
10980 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
10981 Feature flags removed and moved to new file <sys/features.h>.
10982 Full set of POSIX sysconf() constants
10984 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
10986 * configure.host: Added x86 linux target.
10987 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
10988 definitions provided if not already defined.
10989 * libc/sys/linux/crt0.c: New file.
10990 * libc/sys/linux/Makefile.am: Ditto.
10991 * libc/sys/linux/Makefile.in: Ditto.
10992 * libc/sys/linux/aclocal.m4: Ditto.
10993 * libc/sys/linux/brk.c: Ditto.
10994 * libc/sys/linux/configure: Ditto.
10995 * libc/sys/linux/configure.in: Ditto.
10996 * libc/sys/linux/getoptlong.c: Ditto.
10997 * libc/sys/linux/ids.c: Ditto.
10998 * libc/sys/linux/inode.c: Ditto.
10999 * libc/sys/linux/io.c: Ditto.
11000 * libc/sys/linux/linux.c: Ditto.
11001 * libc/sys/linux/process.c: Ditto.
11002 * libc/sys/linux/realpath.c: Ditto.
11003 * libc/sys/linux/select.c: Ditto.
11004 * libc/sys/linux/signal.c: Ditto.
11005 * libc/sys/linux/systat.c: Ditto.
11006 * libc/sys/linux/termios.c: Ditto.
11007 * libc/sys/linux/time.c: Ditto.
11008 * libc/sys/linux/wait.c: Ditto.
11009 * libc/sys/linux/include/alloca.h: Ditto.
11010 * libc/sys/linux/include/getopt.h: Ditto.
11011 * libc/sys/linux/include/stdint.h: Ditto.
11012 * libc/sys/linux/include/unistd.h: Ditto.
11013 * libc/sys/linux/sys/cdefs.h: Ditto.
11014 * libc/sys/linux/sys/dirent.h: Ditto.
11015 * libc/sys/linux/sys/errno.h: Ditto.
11016 * libc/sys/linux/sys/fcntl.h: Ditto.
11017 * libc/sys/linux/sys/file.h: Ditto.
11018 * libc/sys/linux/sys/ioctl.h: Ditto.
11019 * libc/sys/linux/sys/resource.h: Ditto.
11020 * libc/sys/linux/sys/signal.h: Ditto.
11021 * libc/sys/linux/sys/stat.h: Ditto.
11022 * libc/sys/linux/sys/syscall.h: Ditto.
11023 * libc/sys/linux/sys/termios.h: Ditto.
11024 * libc/sys/linux/sys/time.h: Ditto.
11025 * libc/sys/linux/sys/types.h: Ditto.
11026 * libc/sys/linux/sys/utmp.h: Ditto.
11027 * libc/sys/linux/sys/utsname.h: Ditto.
11028 * libc/sys/linux/sys/wait.h: Ditto.
11030 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11032 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
11033 can be a relative path to $(top_srcdir)/install.sh so ensure the
11034 autoconf detected settings are properly passed recursively.
11035 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11036 properly to subdirectories.
11037 * Makefile.in: Regenerated.
11039 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11041 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11042 a floating point register unless really printing a floating
11045 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11047 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11049 (asctoeg): Replaced alloca call with stack array and malloc
11050 when storage exceeds reasonable limit.
11051 (e53toe): Fixed einfin calls missing ldp parameter.
11052 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11054 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11057 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11059 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11061 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11062 * libc/stdlib/Makefile.in: Regenerated.
11063 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11064 * libc/stdio/vfieeefp.h: Added long double bit structures.
11065 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11066 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11067 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11068 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11069 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11070 _strtold routines used for conversions between character
11073 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11075 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11077 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11079 * libc/include/machine/time.h: RTEMS systems can configure clock
11080 tick rate so use sysconf() to ask.
11082 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11084 * libc/include/sys/times.h: Add reference to POSIX standard.
11086 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11088 * libc/include/sys/time.h: Added BSD timer manipulation macros
11089 used by RTEMS code.
11091 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11093 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11094 referenced by code generated by gcc 2.8.1.
11095 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
11098 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11100 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
11102 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11104 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
11106 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11108 * configure.host (or16, or32): New entries for OpenCores
11110 (*-*-rtems*): Add -DNO_EXEC.
11112 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
11114 * libc/include/sys/errno.h: Added comments on many error numbers.
11115 * libc/string/strerror.c: Added some more strings.
11117 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
11119 * libc/sys/sh/syscalls.c (_link): New stub.
11121 2000-11-29 Nick Clifton <nickc@redhat.com>
11123 * configure.host: Add xscale target.
11124 * libc/machine/xscale: New directory.
11125 * libc/machine/xscale/Makefile.am: New file.
11126 * libc/machine/xscale/Makefile.in: New file.
11127 * libc/machine/xscale/aclocal.m4: New file.
11128 * libc/machine/xscale/configure: New file.
11129 * libc/machine/xscale/configure.in: New file.
11130 * libc/machine/xscale/memchr.S: New file.
11131 * libc/machine/xscale/memcmp.S: New file.
11132 * libc/machine/xscale/memcpy.S: New file.
11133 * libc/machine/xscale/memmove.S: New file.
11134 * libc/machine/xscale/memset.S: New file.
11135 * libc/machine/xscale/strchr.S: New file.
11136 * libc/machine/xscale/strcmp.S: New file.
11137 * libc/machine/xscale/strcpy.S: New file.
11138 * libc/machine/xscale/strlen.S: New file.
11140 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11142 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
11143 avoid compiler warnings.
11145 2000-11-22 Michael Meissner <meissner@redhat.com>
11147 * libc/posix/execl.c (execl): Don't reference environ directly,
11148 reference it only via a static pointer to avoid problems with some
11149 shared library systems and with different uses of small data where
11150 the user specifies his own version of environ.
11151 * libc/posix/execv.c (execv): Ditto.
11152 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
11153 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
11154 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
11156 * libc/stdlib/getenv.c (environ): Delete unused reference to
11159 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
11161 * libc/stdlib/system.c: Ditto.
11163 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
11165 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
11166 including windows headers.
11168 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
11170 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
11171 * libc/include/dirent.h: Added definition of MAXNAMLEN if
11172 not defined by sys/dirent.h.
11173 * libc/posix/execvp.c: Added include of dirent.h to get
11174 MAXNAMLEN value which used to be in unistd.h.
11176 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11178 * libc/include/sys/types.h: Change type of i to `size_t' in
11179 FD_ZERO macro to avoid compiler warnings.
11181 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
11183 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
11184 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
11186 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11188 * libc/include/sys/unistd.h: Add defines for sysconf values
11189 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
11192 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
11194 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
11195 declarations for __CYGWIN__.
11197 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
11199 * libc/signal/signal.c (__sigtramp_r): ISO C requires
11200 case labels to be integral constant expressions, so
11201 use an if/else tree instead.
11202 (_raise_r): Likewise.
11204 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
11206 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
11207 clipping patch from e-mail reader.
11209 2000-09-13 Will Cohen <wcohen@redhat.com>
11211 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
11212 Added return value 0.
11213 (_longjmp): Allow longjmp to return value of second argument
11216 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
11218 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
11219 inline code to prevent having to include another header file.
11221 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
11223 * Makefile.am: Fix space vs. tab problem in install-data-local.
11224 * Makefile.in: Regenerate.
11226 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
11228 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
11229 (_EXPARM): New macro for defining a function parameter.
11230 * libc/include/stdlib.h: Use _EXPARM.
11231 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
11233 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
11235 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
11236 required, as documented in the gnu coding standards.
11237 * Makefile.in: Regenerate.
11239 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
11241 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
11242 make O_NDELAY and O_NONBLOCK have the same value.
11244 2000-08-30 Kazu Hirata <kazu@hxi.com>
11246 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
11248 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
11250 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
11251 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
11252 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
11255 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
11257 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
11258 * libc/include/string.h: Don't include <sys/types.h>,
11259 as it causes really bad namespace pollution. Don't declare
11260 swab(), it is properly declared in unistd.h.
11262 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
11264 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
11265 (broken) support for non-existent /etc/passwd field "comment".
11267 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11269 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
11270 only if _DIRENT_HAVE_D_NAMLEN is defined.
11271 (alphasort): aligned prototype with
11272 libc/sys/cygwin/sys/dirent.h and simplified function body.
11273 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
11274 long telldir (DIR *) as mentioned in annex B of POSIX.1
11276 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11278 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
11279 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
11280 Added __CLI and __STI macros (controlled via
11281 _I386MACH_ALLOW_HW_INTERRUPTS macro).
11282 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
11283 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
11284 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
11285 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
11286 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
11287 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
11288 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
11289 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
11290 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
11291 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
11292 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
11293 for all global entry points.
11294 * libc/machine/i386/setjmp.S: removed code replicated in
11295 libc/machine/i386/i386mach.h and included i386mach.h instead;
11296 Use __CLI and __STI instead of cli and sti.
11298 2000-08-25 DJ Delorie <dj@redhat.com>
11300 * libc/include/sys/unistd.h (environ): this one isn't from the
11303 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
11305 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
11306 environ when compiling under cygwin since it is already declared in
11309 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11311 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
11312 like x << y-z to the equivalent x << (y-z).
11313 (d2b): changed if statements with assignment to perform the
11314 assignment prior to the if check.
11315 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
11316 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
11317 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
11318 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
11320 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
11321 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
11323 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
11325 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
11326 clarify && and || precendence (and to remove pascalism).
11327 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
11328 * libm/math/s_infconst.c: added another pair of braces to all
11329 initializers for __infinity (need three: for __infinity[1] array,
11330 for union __dmath, and for i[2]).
11332 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11334 * libc/stdlib/abort.c: changed description: uses "raise" instead of
11335 "getpid" and "kill"; added: uses "write" and "_exit".
11336 Also included unistd.h for "_exit" prototype.
11337 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
11338 reent.h for "_fork_r" and "_wait_r" prototypes.
11339 (do_system): changed extern char *environ[] to POSIX-friendly
11340 extern char **environ.
11341 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
11343 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
11344 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
11345 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
11346 * libc/reent/openr.c: included fcntl.h for "open" prototype.
11347 * libc/reent/signalr.c: included signal.h for "kill" prototype,
11348 unistd.h for "getpid" prototype.
11349 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
11350 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
11351 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
11352 prototype. Also included stdlib.h for "abort", string.h for
11353 "strdup" and "strncmp" prototypes.
11354 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
11355 "strncpy", unistd.h for "read" and "close" prototypes.
11356 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
11357 "strcat" prototypes.
11359 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
11361 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
11362 used later (ifdef __SCLE)
11363 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
11364 used later (ifdef MB_CAPABLE)
11365 * libc/string/memset.c (memset): removed unused variables "count"
11366 and "unaligned_addr"
11367 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
11368 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
11369 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
11372 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11374 * libc/stdlib/envlock.c: changed documented "__env_lock" and
11375 "__env_unlock" prototype from "void *" or "char *" to
11376 "struct _reent *" to match real function. Also added include
11378 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
11379 "__malloc_unlock" prototype from "void *" or "char *" to
11380 "struct _reent *" to match real function.
11381 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
11382 prototypes (for getenv_r.c and setenv_r.c).
11384 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
11386 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
11387 and prototype in cygwin's utmp.h
11389 2000-08-16 Eric Fifer <efifer@sanwaint.com>
11391 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
11393 2000-08-09 Nick Clifton <nickc@cygnus.com>
11395 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
11396 epilogue and to allow the functions to be used in a Thumb based
11399 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
11401 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
11402 so size of 0 results in nothing being written to string.
11403 Also fixed code so that when size is non-zero, there is only
11404 a maximum of size - 1 characters written to the array and
11405 a nul terminator is appended at the end.
11406 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
11408 2000-08-01 DJ Delorie <dj@redhat.com>
11410 * libc/include/sys/config.h: define __IMPORT appropriately
11411 * libc/include/ctype.h (_ctype_): use __IMPORT
11412 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
11413 * libc/include/math.h (__mb_cur_max): ditto
11414 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
11415 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
11416 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
11417 * libc/include/unistd.h (environ): ditto
11419 2000-07-28 Michael Meissner <meissner@redhat.com>
11421 * libc/include/math.h (__infinity): Declare as an array without
11422 bounds to get around small data support. Rewrite Cygwin support
11423 to be more general.
11424 * libm/math/s_infconst.c (__infinity): Ditto.
11425 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11427 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11429 * libc/include/math.h: Use appropriate dll import linkage for
11430 __infinity under Cygwin.
11432 2000-07-13 DJ Delorie <dj@cygnus.com>
11434 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11436 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11438 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11439 to argument list for AngelSWI_Reason_GetCmdLine.
11441 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11443 * configure.host: Add support for AVR target.
11444 * libc/include/machine/ieeefp.h: Likewise.
11445 * libc/include/sys/config.h: Likewise.
11447 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11449 * README: Newlib 1.8.2 must be built in a separate directory
11452 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11454 * libc/include/sys/reent.h (_rand_next): Added __extension__
11455 qualifier as long long type is not strict ANSI.
11456 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11457 to long long constant.
11459 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11461 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11462 `setegid' provided by Cygwin.
11464 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11466 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11467 account for Cygwin.
11469 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11471 * libc/include/sys/reent.h (_rand_next): Changed to
11472 unsigned long long and moved to end of _reent struct in _new union.
11473 (_REENT_INIT): Changed to move _rand_next initialization.
11474 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11475 linear congruential algorithm that is used by DJGPP.
11477 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11479 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11480 * libc/include/sys/config.h: Define __RAND_MAX.
11482 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11484 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11487 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11489 * libc/include/string.h: Work around problem with strsignal and gdb.
11491 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11493 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11494 * libc/include/malloc.h: Ditto.
11495 * libc/include/process.h: Ditto.
11496 * libc/include/stdio.h: Ditto.
11497 * libc/include/stdlib.h: Ditto.
11498 * libc/include/time.h: Ditto.
11499 * libc/include/machine/setjmp.h: Ditto.
11500 * libc/include/sys/errno.h: Ditto.
11501 * libc/include/sys/signal.h: Ditto.
11502 * libc/include/sys/stat.h: Ditto.
11503 * libc/include/sys/time.h: Ditto.
11504 * libc/include/sys/unistd.h: Ditto.
11505 * libc/include/string.h: Ditto. strsignal should return a const char *.
11507 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11509 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11510 * libm/common/s_log1p.c (log1p): Likewise.
11511 * libm/common/s_scalbn.c (scalbn): Likewise.
11512 * libm/math/e_log.c: Likewise.
11513 * libm/math/e_asin.c: Likewise.
11514 * libm/math/ef_asin.c: Likewise.
11515 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11516 * libm/math/e_j1.c (pone, qone): Likewise.
11517 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11518 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11519 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11520 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11521 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11522 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11524 2000-05-19 DJ Delorie <dj@cygnus.com>
11526 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11527 (__sread): always read in binary mode
11528 (__swrite): always write in binary mode
11529 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11530 compatibility issues with different dll versions
11531 * libc/stdio/fopen.c: use __stextmode
11532 * libc/stdio/fdopen.c: ditto
11533 * libc/stdio/freopen.c: ditto
11534 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11535 * libc/stdio/local.h: declare __stextmode
11537 2000-05-18 DJ Delorie <dj@cygnus.com>
11539 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
11541 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11543 * libc/include/ctype.h: Changed tolower and toupper macros
11544 to use __extension__ to prevent pedantic warnings.
11546 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11548 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11551 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11553 * libc/include/machine/ieeefp.h: Add ia64 support.
11554 * configure.host: Likewise.
11556 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11558 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11559 month is now padded with space, not zero. This now conforms to
11562 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11564 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11565 host or network path") used by cygwin. Add some comments.
11567 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11569 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11570 endings" for Cygwin.
11571 (__sgetc): convert line endings if needed
11573 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11574 * libc/stdio/fopen.c (_fopen_r): ditto
11575 * libc/stdio/freopen.c (freopen): ditto
11576 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11577 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11579 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11581 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11582 post-increment when it is worth it, spacewise.
11584 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11586 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11587 * libc/stdio/findfp.c (std): Added declaration of flags and file.
11588 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
11590 * libc/stdio/putchar.c (putchar): Added return statement.
11591 * libc/stdio/refill.c (lflush): Added correct parentheses.
11592 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
11593 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
11594 prints long value to use l qualifier.
11595 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11596 messages and initialized local values: ilim, ilim1, and spec_case.
11597 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11598 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11599 * libc/stdlib/mprec.c: Ditto.
11600 * libc/stdlib/setenv_r.c: Ditto.
11601 * libc/stdlib/strtod.c: Ditto.
11602 * libc/stdlib/strtol.c: Ditto.
11603 * libc/stdlib/strtoul.c: Ditto.
11604 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11605 * libm/common/sf_log1p.c: Ditto.
11606 * libm/common/sf_scalbn.c: Ditto.
11607 * libm/math/ef_log.c: Ditto.
11609 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11611 * libc/posix/execvp.c (execvp): Check path for
11614 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11616 * libc/include/sys/unistd.h: Add prototypes for
11617 fchmod, fchown, lchown.
11619 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11621 * acinclude.m4: Changed release to 1.8.2.
11622 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11623 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11624 libc/machine/configure libc/machine/a29k/aclocal.m4
11625 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11626 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11627 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11628 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11629 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11630 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11631 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11632 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11633 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11634 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11635 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11636 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11637 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11638 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11639 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11640 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11641 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11642 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11643 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11644 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11645 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11646 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11647 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11648 libc/machine/z8k/configure libc/sys/aclocal.m4
11649 libc/sys/aclocal.m4 libc/sys/configure
11650 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11651 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11652 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11653 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11654 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11655 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11656 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11657 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11658 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11659 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11660 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11661 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11662 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11663 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11664 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11665 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11666 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11667 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11668 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11669 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11670 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11671 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11672 libm/aclocal.m4 libm/configure: Regenerated.
11674 2000-03-24 Nick Clifton <nickc@cygnus.com>
11676 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11677 (do_AngelSWI): Add "cc" to list o registers clobbered.
11679 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11681 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
11682 information to be clobbered by an Angel C library support syscall.
11684 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11686 * libc/stdlib/envlock.c: Fixed comment typo.
11688 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11690 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
11691 code to update nread as each character is processed instead
11692 of using buffer contents which throw away leading zeroes.
11694 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
11696 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
11698 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
11700 * libc/include/string.h: Include <sys/types.h>.
11702 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11704 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
11705 with XSH5, not SVID.
11707 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11709 * libc/include/string.h: Changed last argument back to ssize_t
11710 to make it compatible with XPG4 definition which is
11711 defined in <unistd.h>. There is a conflict in the SVID 3
11712 and XPG4 definitions and newlib will settle with XPG4.
11713 * libc/string/swab.c: Ditto.
11715 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11717 * libc/include/string.h: Changed last argument to size_t.
11718 * libc/string/swab.c: Changed last argument to size_t.
11720 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11722 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11723 (CHEWOUT_FILES): Added unlinkr.def.
11724 * libc/reent/Makefile.in: Rebuilt.
11725 * libc/sys.tex: Include unlinkr.def.
11726 * libc/reent/linkr.c (_unlink_r): Moved to...
11727 * libc/reent/unlinkr.c: ... new file.
11729 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11731 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11732 (CHEWOUT_FILES): Added swab.def.
11733 * libc/string/Makefile.in: Rebuilt.
11734 * libc/string/string.tex: Include swab.def.
11735 * libc/include/string.h (swab): Declare.
11736 * libc/string/swab.c: New file.
11738 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11740 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
11741 (CHEWOUT_FILES): Added getw.def and putw.def.
11742 * libc/stdio/Makefile.in: Rebuilt.
11743 * libc/stdio/stdio.tex: Include getw.def and putw.def.
11744 * libc/stdio/getw.c: New file.
11745 * libc/stdio/putw.c: New file.
11747 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11749 * libc/stdio/flags.c (__sflags): Added check that mode[1]
11750 is non-null before looking at mode[2].
11752 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11754 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
11755 * libm/mathfp/sf_atan.c: Ditto.
11757 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
11759 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
11761 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11763 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
11766 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11768 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
11769 call prior to calling _VFPRINTF_R so reentrant data area is set.
11770 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
11772 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11774 * libc/stdio/vfscanf.c (limits.h): #include.
11775 (MAX_LONG_LEN): #define.
11776 (__svfscanf): Handle floating point numbers with arbitrary amounts
11779 2000-02-15 Nick Clifton <nickc@cygnus.com>
11781 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
11782 zero. Set the blocksize to 1024/
11784 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11786 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
11787 with line buffering.
11789 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11791 * acinclude.m4: Changed include directory for winsup headers.
11792 * aclocal.m4 configure libc/aclocal.m4
11793 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
11794 libc/locale/Makefile.in libc/machine/aclocal.m4
11795 libc/machine/configure libc/machine/a29k/aclocal.m4
11796 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11797 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11798 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11799 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11800 libc/machine/fr30/configure
11801 libc/machine/h8300/aclocal.m4
11802 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11803 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11804 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11805 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11806 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11807 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11808 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11809 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11810 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11811 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11812 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11813 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11814 libc/machine/powerpc/configure
11815 libc/machine/sh/aclocal.m4
11816 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11817 libc/machine/sparc/configure
11818 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11819 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11820 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11821 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11822 libc/misc/Makefile.in libc/posix/Makefile.in
11823 libc/reent/Makefile.in
11824 libc/signal/Makefile.in
11825 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
11826 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11827 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
11828 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
11829 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
11830 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11831 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11832 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11833 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11834 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11835 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11836 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11837 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11838 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
11839 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
11840 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
11841 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
11842 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
11843 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
11844 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
11845 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
11846 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
11847 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
11848 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
11849 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
11850 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
11851 libm/configure: Regenerated.
11853 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
11855 * libc/stdlib/putenv_r.c (_putenv_r): New file.
11856 * libc/stdlib/strdup_r.c (_strdup_r): New file.
11857 * libc/include/string.h: Added _strdup_r.
11858 * libc/stdlib/putenv.c: Added call to reentrant version.
11859 * libc/stdlib/strdup.c: Ditto.
11860 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
11861 * libc/include/stdlib.h: Ditto.
11862 * libc/stdlib/Makefile.in: Regenerated.
11863 * libc/string/Makefile.in: Regenerated.
11864 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
11865 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
11866 management calls to reentrant versions.
11867 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
11868 * libc/stdlib/wctomb.c: Ditto.
11869 * libc/stdlib/mblen.c: Ditto.
11870 * libc/stdlib/mbstowcs.c: Ditto.
11871 * libc/stdlib/mbtowc.c: Ditto.
11872 * libc/stdlib/getenv.c: Ditto.
11873 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
11876 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
11878 patch from Corinna Vinschen <corinna@vinschen.de>
11879 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
11881 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
11883 * libm/mathfp/s_atangent.c: Fix exponent calculation.
11884 * libm/mathfp/s_ldexp.c: Ditto.
11885 * libm/mathfp/sf_atangent.c: Ditto.
11886 * libm/mathfp/sf_ldexp.c: Ditto.
11888 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11890 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
11891 * libc/include/locale.h: define NULL to be 0.
11893 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
11895 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
11898 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
11900 * libc/machine/mn10300/setjmp.S: Handle am33.
11902 1999-11-26 Nick Clifton <nickc@cygnus.com>
11904 * libc/sys/arm/syscalls.c: Add function prototypes.
11905 (stack_ptr): Move declaration before function definitions.
11907 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11909 * NEWS: Updated version information.
11912 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
11914 * libc/machine/i386/strchr.S: Fixed alignment test.
11916 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
11918 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
11920 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
11922 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
11923 ensuring that there is space between the two.
11925 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
11927 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
11930 1999-10-08 Vadim Egorov <egorovv@1c.ru>
11932 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
11935 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11937 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
11938 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
11940 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
11941 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
11943 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
11946 1999-09-13 DJ Delorie <dj@cygnus.com>
11948 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
11951 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11953 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
11954 also note BUFSIZ as its size.
11956 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
11958 * configure.host: Corrected feature defines for RTEMS.
11959 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
11960 * libc/include/sys/stat.h: mkfifo() should take const path arg.
11961 * libc/include/sys/unistd.h: pathconf() should take const path arg.
11962 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
11963 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
11964 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
11965 _PC_PRIO_IO, and _PC_SYNC_IO.
11966 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
11967 * libc/machine/m68k/Makefile.in: Regenerated.
11968 * libc/machine/m68k/strcpy.c: New file.
11969 * libc/machine/m68k/strlen.c: New file.
11970 * libc/stdio/tmpnam.c: Always make the returned name usable.
11971 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
11972 * libc/sys/rtems/sys/dirent.h: New file.
11973 * libc/sys/rtems/sys/types.h: Added dev_t.
11975 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
11977 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
11979 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
11981 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
11984 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
11986 patch from Jeff Johnston <jjohnstn@cygnus.com>
11987 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
11988 buffer is not in a useful state.
11990 1999-09-01 Nick Clifton <nickc@cygnus.com>
11992 * libc/sys/arm/syscalls.c (_link): Add stub.
11994 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11996 * ftell.c (ftell): Use actual position within buffer for text mode.
11997 * findfp.c (std): Initialize ptr->_bf._size.
11999 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
12001 * libc/include/sys/unistd.h: Add nice() declaration.
12003 1999-08-09 Nick Clifton <nickc@cygnus.com>
12005 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
12006 declare as a thumb function so that the disassembler will see the
12009 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12011 * libc/reent/reent.tex: Updated list of reentrant functions.
12013 1999-07-09 Michael Meissner <meissner@cygnus.com>
12015 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
12017 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
12019 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
12021 * libc/stdio/snprintf.c: New file.
12022 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
12024 * libc/stdio/vsnprintf.c: New file.
12025 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
12026 * libc/stdio/Makefile.in: Regenerated.
12028 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
12030 Patch submitted by Egor Duda <deo@logos-m.ru>:
12031 * libc/include/stdio.h: Add declarations for *nprintf.
12032 * libc/stdio/sprintf.c (snprintf): New function.
12033 (_snprintf_r): New function.
12034 * libc/stdio/vsprintf.c (vsnprintf): New function.
12035 (_vnsprintf_r): New function.
12037 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12039 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12040 * libm/Makefile.am (stmp-targetdep): Ditto.
12041 * libc/Makefile.in: Regenerated.
12042 * libm/Makefile.in: Ditto.
12044 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12046 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12047 * libm/Makefile.am (stmp-targetdep): Ditto.
12048 * libc/Makefile.in: Regenerated.
12049 * libm/Makefile.in: Ditto.
12051 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12053 * Makefile.am: Removed dependencies on all-recursive and added "."
12054 to the SUBDIRS list to prevent infinite recursion from occurring.
12055 Also removed any references to EXTRA_DATA.
12056 * libc/Makefile.am: Ditto.
12057 * libc/machine/Makefile.am: Ditto.
12058 * libc/machine/i386/Makefile.am: Ditto.
12059 * libm/Makefile.am: Ditto.
12060 * libc/sys/Makefile.am: Ditto.
12061 * Makefile.in: Regenerated.
12062 * aclocal.m4: Ditto.
12063 * configure: Ditto.
12064 * doc/Makefile.in: Ditto.
12065 * doc/aclocal.m4: Ditto.
12066 * doc/configure: Ditto.
12067 * libc/Makefile.in: Ditto.
12068 * libc/aclocal.m4: Ditto.
12069 * libc/configure: Ditto.
12070 * libc/machine/Makefile.in: Ditto.
12071 * libc/machine/aclocal.m4: Ditto.
12072 * libc/machine/configure: Ditto.
12073 * libc/machine/mn10300/Makefile.in: Ditto.
12074 * libc/machine/mn10300/aclocal.m4: Ditto.
12075 * libc/machine/mn10300/configure: Ditto.
12076 * libc/sys/Makefile.in: Ditto.
12077 * libc/sys/aclocal.m4: Ditto.
12078 * libc/sys/configure: Ditto.
12079 * libm/Makefile.in: Ditto.
12080 * libm/aclocal.m4: Ditto.
12081 * libm/configure: Ditto.
12083 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12085 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12087 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12089 * libc/include/stdlib.h: Add reentrant routines.
12090 * libc/stdlib/Makefile.am: Add reentrant routines.
12091 * libc/stdlib/Makefile.in: Ditto.
12092 * libc/stdlib/envlock.c: New file.
12093 * libc/stdlib/envlock.h: New file.
12094 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12095 * libc/stdlib/getenv_r.c: New file.
12096 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12097 * libc/stdlib/mblen_r.c: New file.
12098 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12099 * libc/stdlib/setenv_r.c: New file.
12100 * libc/stdlib/stdlib.tex: Add reentrant routines.
12102 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12104 * libc/include/sys/types.h: Define __MS_types__ whenever
12107 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12109 * libc/include/machine/ieeefp.h: Always default to little
12110 endian if Windows, regardless of architecture.
12111 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12112 regardless of architecture.
12114 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12116 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
12117 _WIN32 isn't defined.
12119 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
12121 * libm/common/s_rint.c (rint): Add volatile qualifier for
12122 intermediate value w.
12123 * libm/common/sf_rint.c (rintf): Ditto.
12125 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12127 * libc/sys/arm/syscalls.c (remap_handle): Added check to
12128 ensure that std streams are initialized before being referenced.
12130 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
12132 * README: Update reference to newlib@cygnus.com new
12133 newlib@sourceware.cygnus.com address.
12135 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
12137 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
12138 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
12139 defined, even if _WIN32 isn't defined.
12141 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
12143 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
12145 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12147 * libc/include/sys/reent.h: Change Long and ULong to __Long and
12149 * libc/stdlib/dtoa.c: Ditto.
12150 * libc/stdlib/mprec.c: Ditto.
12151 * libc/stdlib/mprec.h: Ditto.
12152 * libc/stdlib/strtod.c: Ditto.
12154 1999-04-21 Nick Clifton <nickc@cygnus.com>
12156 * configure.host (mcore): Remove mcore machine directory.
12158 1999-04-18 Nick Clifton <nickc@cygnus.com>
12160 * libc/include/machine/ieeefp.h: Add support for mcore target.
12161 * libc/include/machine/setjmp.h: Add support for mcore target.
12162 * configure.host: Add support for mcore target.
12164 1999-04-13 Mark Salter <msalter@cygnus.com>
12166 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
12167 * libc/sys/arm/syscalls.c: Added isatty.
12169 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12171 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
12172 insert zeroes after significant digits.
12174 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12176 * libc/stdio/vfprintf.c (cvt): Changed floating point
12177 cvt routine to use union used by dtoa to properly determine
12178 if the sign bit is on or not.
12179 * libc/stdio/vfieeefp.h: New file
12181 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12183 * aclocal.m4: Regenerated.
12184 * configure: Regenerated.
12186 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12188 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
12190 * libc/machine/i386/Makefile.in: Regenerated.
12192 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
12194 * acinclude.m4: Changed to work with new automake.
12195 * configure: Regenerated.
12196 * libc/machine/i386/aclocal.m4: Regenerated.
12197 * libc/machine/i386/configure: Regenerated.
12199 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
12201 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
12202 for telldir() and seekdir(). Rename unused structure element
12203 for use with these two routines.
12205 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
12207 * libc/time/mktime.c (validate_structure): Multiple fixes to
12208 code to handle cases where input fields are outside valid ranges.
12209 * libc/stdlib/div.c (div): Modified invalid rounding check.
12210 * libc/stdlib/ldiv.c (ldiv): Ditto.
12212 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
12214 * libc/machine/i386/memcpy.S: Performance rewrite.
12215 * libc/machine/i386/memmove.S: Ditto.
12216 * libc/machine/i386/i386mach.h: Added more register definitions.
12217 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
12219 * libc/include/machine/fastmath.h: Add definitions for x86
12220 fast-math routines.
12222 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12224 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
12226 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
12228 Adjust newlib headers for new Cygwin Win32 API header files:
12229 * libc/include/sys/time.h: Check _WINSOCK_H rather than
12230 _GNU_H_WINDOWS32_SOCKETS.
12231 * libc/include/sys/types.h: Ditto.
12233 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12235 *include/sys/reent.h: Add checks for size of Bigint element Long.
12236 *libc/dtoa.c: Change routines to use generic Long type.
12237 *libc/mprec.c: Change routines to use generic Long type.
12238 *libc/mprec.h: Change routines to use generic Long type.
12240 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
12242 * libc/Makefile.am: Add .def files.
12243 * libc/Makefile.in: Regenerate.
12244 * libc/e_acosh.c: Documentation update.
12245 * libc/e_atanh.c: Documentation update.
12246 * libc/e_hypot.c: Documentation update.
12247 * libc/e_remainder.c: Documentation update.
12248 * libc/er_lgamma.c: Documentation update.
12249 * libc/mathfp.tex: Documentation update.
12250 * libc/s_acos.c: Documentation update.
12251 * libc/s_atan.c: Documentation update.
12252 * libc/s_atan2.c: Documentation update.
12253 * libc/s_cosh.c: Documentation update.
12254 * libc/s_fmod.c: Documentation update.
12255 * libc/s_isnan.c: Documentation update.
12256 * libc/s_log10.c: Documentation update.
12257 * libc/s_pow.c: Documentation update.
12258 * libc/w_jn.c: Documentation update.
12260 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
12262 * aclocal.m4: Regenerate.
12263 * configure: Regenerate.
12265 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
12267 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
12268 to return 1 if user specified return code is 0.
12269 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
12271 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
12273 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
12274 to save the return address. Fixed longjmp to return to the original
12275 calling address of setjmp and to return the user specified return code
12276 rather than default to 1.
12277 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
12279 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
12281 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
12283 1999-02-10 Nick Clifton <nickc@cygnus.com>
12285 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
12286 volatile so that its assignments will not be discarded.
12288 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
12290 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
12291 be __STRICT_ANSI__ which is generated by compiler.
12292 * libc/include/ctype.h: Ditto.
12293 * libc/include/math.h: Ditto.
12294 * libc/include/stdio.h: Ditto.
12295 * libc/include/stdlib.h: Ditto.
12296 * libc/include/string.h: Ditto.
12297 * libc/include/sys/signal.h: Ditto.
12299 1999-02-08 Nick Clifton <nickc@cygnus.com>
12301 * configure.host: Add support for StrongARM target.
12303 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
12305 * libc/string/strncpy.c (strncpy): Removed redundant code
12306 that was copying bytes if data unaligned.
12308 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
12310 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
12311 mbstowcs.def, and wcstombs.def.
12313 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
12315 * libc/include/sys/errno.h: Add Cygwin errno.
12316 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
12319 1999-01-29 Nick Clifton <nickc@cygnus.com>
12321 * libc/sys/arm/syscalls.c: Move C library functions into seperate
12324 * libc/sys/arm/libcfunc.c: New file containing C library functions
12327 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
12328 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
12331 1999-01-27 Michael Meissner <meissner@cygnus.com>
12333 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
12334 type, and cut size in half so that the jmp_buf array is guaranteed
12335 to be aligned on a 64-bit boundary.
12337 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
12339 * libc/string/strings.tex: Added information about
12340 strcasecmp and strncasecmp.
12341 * libc/stdlib/stdlib.tex: Added missing information
12342 about mblen, mbstowcs, and wcstombs.
12343 * libc/string/strchr.c: Changed how mask is built to use
12344 shift operators so register will be used instead of storage.
12346 1999-01-22 DJ Delorie <dj@cygnus.com>
12348 * libc/include/stdlib.h: don't use dllimport if we're building
12349 newlib, since it's inside cygwin.dll
12351 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
12353 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
12354 _ctype_ under cygwin.
12356 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
12358 * include/stdlib.h: Fix typo from previous checkin.
12360 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
12362 * include/ctype.h: Use __declspec(dllimport) method for exporting
12363 variable from cygwin DLL.
12364 * include/time.h: Ditto.
12365 * sys/errno.h: Ditto.
12366 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
12367 * libc/locale/locale.c: Use __declspec(dllexport) method for
12368 exporting variable from cygwin DLL.
12370 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
12372 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
12373 access of bogus pointer will result in SIGSEGV.
12375 1999-01-07 Nick Clifton <nickc@cygnus.com>
12377 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
12378 of an underscore prefix to function names.
12380 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
12382 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
12383 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
12385 1998-12-31 Michael Meissner <meissner@cygnus.com>
12387 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
12388 to `%' if not already defined.
12390 1998-12-30 Michael Meissner <meissner@cygnus.com>
12392 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
12393 arguments const char *, not char *.
12394 * libc/include/stdio.h (_tempnam_r): Ditto.
12396 * libc/include/sys/reent.h (struct _reent): The _sig_func type
12397 points to a function taking an integer, not void.
12399 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
12401 * configure.host: Add a define for Cygwin builds.
12402 * libc/include/ctype.h: Don't use dll imported variables in newlib.
12404 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
12406 * libc/include/ctype.h: Define _ctype_ as dll imported variable
12407 for use with Cygwin.
12408 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
12409 dll imported variables for use with Cygwin.
12410 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
12411 as a dll imported variable for Cygwin.
12413 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
12415 * libc/include/sys/unistd.h: Add proto for getpass.
12417 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
12419 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12422 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12424 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12425 not posix_path_list_p.
12427 1998-12-15 Nick Clifton <nickc@cygnus.com>
12429 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12432 1998-12-13 Nick Clifton <nickc@cygnus.com>
12434 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12436 1998-12-12 Nick Clifton <nickc@cygnus.com>
12438 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12439 <msalter@cygnus.com>
12440 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12441 * libc/machine/fr30/Makefile.in: Regenerated.
12443 1998-12-11 Nick Clifton <nickc@cygnus.com>
12445 * configure.host: Remove use of libc/sys for FR30 port.
12446 * libc/sys/fr30: Remove directory (replaced by libgloss).
12448 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
12450 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12451 * libc/string/strncat.c (ALIGNED): Ditto.
12453 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12455 * libc/include/sys/time.h: include sys/types.h
12457 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12459 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12460 comparison found when checking word at a time.
12462 1998-12-04 Nick Clifton <nickc@cygnus.com>
12464 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12466 1998-12-03 Nick Clifton <nickc@cygnus.com>
12468 * libc/sys/fr30/syscalls.c (_times): New function stub.
12470 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12472 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12473 with mach_add_setjmp flag which indicates if setjmp should
12474 be added to the machine directory objects.
12475 * acinclude.m4: Removed reference to mach_add_objs.
12476 * aclocal.m4: Regenerated.
12477 * Makefile.in: Regenerated.
12478 * configure: Regenerated.
12479 * libc/aclocal.m4: Regenerated.
12480 * libc/Makefile.in: Regenerated.
12481 * libc/configure: Regenerated.
12482 * libc/machine/aclocal.m4: Regenerated.
12483 * libc/machine/Makefile.in: Regenerated.
12484 * libc/machine/configure: Regenerated.
12485 * libc/machine/i386/aclocal.m4: Regenerated.
12486 * libc/machine/i386/Makefile.am: Altered to selectively add
12487 setjmp.S to the src files list.
12488 * libc/machine/i386/Makefile.in: Regenerated.
12489 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12490 * libc/machine/i386/configure: Regenerated.
12492 1998-12-02 Nick Clifton <nickc@cygnus.com>
12494 * libc/sys/fr30/crt0.s (_start): Fix function names.
12496 * libc/machine/fr30: New directory
12497 * libc/machine/fr30/Makefile.am: New file.
12498 * libc/machine/fr30/Makefile.in: New generated file.
12499 * libc/machine/fr30/configure.in: New file.
12500 * libc/machine/fr30/configure: New generated file.
12501 * libc/machine/fr30/aclocal.m4: New generated file.
12502 * libc/sys/fr30/Makefile.am: New file.
12503 * libc/sys/fr30/Makefile.in: New generated file.
12504 * libc/sys/fr30/configure.in: New file.
12505 * libc/sys/fr30/configure: New generated file.
12506 * libc/sys/fr30/syscalls.c: New file.
12508 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12510 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12512 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
12514 * libc/time/strftime.c (strftime): Also handle %y for years before
12517 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12519 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12520 UNIX convention. Perform tolower on characters before comparing
12521 them rather than use toupper.
12522 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12524 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12526 * configure.host: Added using i386 machine directory
12527 for all x86 cross-compiler and configuring
12528 which added object files to use via new "mach_add_objs" variable.
12529 * configure: Regenerated.
12530 * libc/configure: Regenerated.
12531 * libc/Makefile.in: Regenerated.
12532 * libc/aclocal.m4: Regenerated.
12533 * libc/ctype/Makefile.in: Regenerated.
12534 * libc/errno/Makefile.in: Regenerated.
12535 * libc/locale/Makefile.in: Regenerated.
12536 * libc/machine/Makefile.in: Regenerated.
12537 * libc/machine/aclocal.m4: Regenerated.
12538 * libc/machine/configure: Regenerated.
12539 * libc/posix/Makefile.in: Regenerated.
12540 * libc/reent/Makefile.in: Regenerated.
12541 * libc/signal/Makefile.in: Regenerated.
12542 * libc/stdio/Makefile.in: Regenerated.
12543 * libc/stdlib/Makefile.in: Regenerated.
12544 * libc/string/Makefile.in: Regenerated.
12545 * libc/string/memmove.c: Optimized code to use memcpy
12546 logic when performing a non-destructive copy.
12547 * libc/string/strncmp.c: Altered code to allow building
12548 optimized for size or speed.
12549 * libc/syscalls/Makefile.in: Regenerated.
12550 * libc/time/Makefile.in: Regenerated.
12551 * libc/unix/Makefile.in: Regenerated.
12552 * libc/machine/i386/Makefile.am: Added new files and reference
12553 to "mach_add_objs" to indicate optional object files.
12554 * libc/machine/i386/Makefile.in: Regenerated.
12555 * libc/machine/i386/aclocal.m4: Regenerated.
12556 * libc/machine/i386/configure: Regenerated.
12557 * libc/machine/i386/memchr.S: New file that implements
12558 function in Intel assembler.
12559 * libc/machine/i386/memcmp.S: ditto.
12560 * libc/machine/i386/memcpy.S: ditto.
12561 * libc/machine/i386/memmove.S: ditto.
12562 * libc/machine/i386/memset.S: ditto.
12563 * libc/machine/i386/strchr.S: ditto.
12564 * libc/machine/i386/strlen.S: ditto.
12565 * libc/machine/i386/f_atan2.S: New file that implements
12566 fast version of math function to be used by compiler when
12567 --ffast_math compile option is used.
12568 * libc/machine/i386/f_atan2f.S: ditto.
12569 * libc/machine/i386/f_exp.c: ditto.
12570 * libc/machine/i386/f_expf.c: ditto.
12571 * libc/machine/i386/f_frexp.S: ditto.
12572 * libc/machine/i386/f_frexpf.S: ditto.
12573 * libc/machine/i386/f_ldexp.S: ditto.
12574 * libc/machine/i386/f_ldexpf.S: ditto.
12575 * libc/machine/i386/f_log.S: ditto.
12576 * libc/machine/i386/f_logf.S: ditto.
12577 * libc/machine/i386/f_log10.S: ditto.
12578 * libc/machine/i386/f_log10f.S: ditto.
12579 * libc/machine/i386/f_math.h: New file.
12580 * libc/machine/i386/f_pow.c: ditto.
12581 * libc/machine/i386/f_powf.S: ditto.
12582 * libc/machine/i386/f_tan.S: ditto.
12583 * libc/machine/i386/f_tan.S: ditto.
12584 * libc/machine/i386/i386mach.h: New file.
12586 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12588 patch from Mumit Khan <khan@xraylith.wisc.edu>
12589 * libc/include/stdio.h (tempnam): Add prototype.
12590 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12591 (tempnam): Adhere to prototype.
12593 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12595 * Makefile.am: Add default for AR_FLAGS.
12596 * Makefile.in: Regenerate.
12598 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12600 * libc/include/time.h: move __cplusplus wrapper after includes
12601 * libc/include/sys/time.h: ditto. If Cygwin, include
12603 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12605 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
12607 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12609 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12611 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12612 abnormnal end-of-crt0 marker.
12614 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12616 * libc/sys/fr30/crt0.s: New file/directory.
12617 * libc/include/machine/setjmp.h: Add FR30 target.
12618 * libc/include/machine/ieeefp.h: Add FR30 target.
12619 * configure.host: Add FR30 target.
12621 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12623 * libm/math: Files that are duplicated in common directory removed.
12624 * libm/math/fdlibm.h: Removed.
12625 * libm/math/s_cbrt.c: Removed.
12626 * libm/math/s_copysign.c: Removed.
12627 * libm/math/s_expm1.c: Removed.
12628 * libm/math/s_finite.c: Removed.
12629 * libm/math/s_ilogb.c: Removed.
12630 * libm/math/s_infinity.c: Removed.
12631 * libm/math/s_lib_ver.c: Removed.
12632 * libm/math/s_log1p.c: Removed.
12633 * libm/math/s_logb.c: Removed.
12634 * libm/math/s_matherr.c: Removed.
12635 * libm/math/s_modf.c: Removed.
12636 * libm/math/s_nan.c: Removed.
12637 * libm/math/s_nextafter.c: Removed.
12638 * libm/math/s_rint.c: Removed.
12639 * libm/math/s_scalbn.c: Removed.
12640 * libm/math/sf_cbrt.c: Removed.
12641 * libm/math/sf_copysign.c: Removed.
12642 * libm/math/sf_expm1.c: Removed.
12643 * libm/math/sf_finite.c: Removed.
12644 * libm/math/sf_ilogb.c: Removed.
12645 * libm/math/sf_infinity.c: Removed.
12646 * libm/math/sf_log1p.c: Removed.
12647 * libm/math/sf_logb.c: Removed.
12648 * libm/math/sf_modf.c: Removed.
12649 * libm/math/sf_nan.c: Removed.
12650 * libm/math/sf_nextafter.c: Removed.
12651 * libm/math/sf_rint.c: Removed.
12652 * libm/math/sf_scalbn.c: Removed.
12653 * libm/math/Makefile.am: Removed references to deleted files (above).
12654 * libm/math/Makefile.in: Regenerated.
12655 * libm/Makefile.am: Added common directory to math.
12656 * libm/Makefile.in: Regenerated.
12658 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12660 * libm/mathfp: Add non-ANSI functions.
12661 * libm/mathfp/e_acosh.c acosh(): New file.
12662 * libm/mathfp/e_atanh.c atanh(): New file.
12663 * libm/mathfp/e_hypot.c hypot(): New file.
12664 * libm/mathfp/e_j0.c j0(): New file.
12665 * libm/mathfp/e_j1.c j1(): New file.
12666 * libm/mathfp/e_remainder.c remainder(): New file.
12667 * libm/mathfp/e_scalb.c scalb(): New file.
12668 * libm/mathfp/ef_acosh.c acoshf(): New file.
12669 * libm/mathfp/ef_atanh.c atanhf(): New file.
12670 * libm/mathfp/ef_hypot.c hypotf(): New file.
12671 * libm/mathfp/ef_j0.c j0f(): New file.
12672 * libm/mathfp/ef_j1.c j1f(): New file.
12673 * libm/mathfp/ef_remainder.c remainderf(): New file.
12674 * libm/mathfp/ef_scalb.c scalbf(): New file.
12675 * libm/mathfp/er_gamma.c gamma_r: New file.
12676 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12677 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12678 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12679 * libm/mathfp/w_cabs.c cabs(): New file.
12680 * libm/mathfp/w_drem.c drem(): New file.
12681 * libm/mathfp/w_jn.c jn(): New file.
12682 * libm/mathfp/wf_cabs.c cabsf(): New file.
12683 * libm/mathfp/wf_drem.c dremf(): New file.
12684 * libm/mathfp/wf_jn.c jnf(): New file.
12686 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
12688 * libc/sys/cygwin32: remove directory and contents
12689 * libc/sys/cygwin: and add back, losing the "32".
12690 * configure.host: check for cygwin* instead of cygwin32.
12691 * acinclude.m4: ditto.
12692 * aclocal.m4: regenerate with aclocal
12693 * configure: regenerate with autoconf
12695 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
12697 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
12700 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12702 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
12703 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
12704 to make rand/srand, strtok, asctime, localtime, w_gamma,
12705 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
12706 time.h to bring in struct tm definition.
12707 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
12708 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
12709 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
12710 instead of static variable.
12711 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
12712 struct reent instead of static variable.
12713 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
12714 struct reent instead of static variable.
12715 * libm/math/Makefile.am: Removed s_signgam.o.
12716 * libm/math/Makefile.in: Regenerated.
12717 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12718 struct reent instead of global variable 'signgam'.
12719 * libm/math/w_lgamma.c (lgamma): Likewise.
12720 * libm/math/wf_gamma.c (gammaf): Likewise.
12721 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12722 * libm/math/s_signgam.c: Removed.
12723 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12725 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12727 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12728 libc/include/reent.h.
12729 * libc/reent/Makefile.in: Regenerated.
12730 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12732 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12733 'JIS_action_table' to be const.
12734 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12736 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
12738 * acinclude.m4: $with_target_subdir should default to '.'
12739 or confusion results when configuring in same directory as sources.
12740 * Regenerate all aclocal.m4 and configure files.
12742 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
12744 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
12745 can be set by defining MALLOC_ALIGNMENT=16. Also added support
12746 for platforms where sizeof(size_t) < sizeof(long) via
12747 SIZE_T_SMALLER_THAN_LONG macro.
12749 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
12751 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
12752 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
12753 which sets _CLOCKS_PER_SEC_ for selected machines.
12754 * libc/include/machine/time.h: New file.
12756 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12758 * libc/syscalls/sysexecve.c: New file.
12759 * libc/syscalls/sysgettod.c: New file.
12760 * libc/syscalls/systimes.c: New file.
12761 * libc/syscalls/Makefile.am: Added new objects.
12762 * libc/syscalls/Makefile.in: Regenerated.
12763 * libc/include/_syslist.h (_execve): Moved define in file.
12764 * libc/include/reent.h: Added _execve_r declaration.
12765 * libc/Makefile.in: Regenerated.
12766 * libc/ctype/Makefile.in: Regenerated.
12767 * libc/errno/Makefile.in: Regenerated.
12768 * libc/locale/Makefile.in: Regenerated.
12769 * libc/machine/Makefile.in: Regenerated.
12770 * libc/misc/Makefile.in: Regenerated.
12771 * libc/posix/Makefile.in: Regenerated.
12772 * libc/reent/Makefile.in: Regenerated.
12773 * libc/reent/execr.c (_execve_r): Added _execve_r function.
12774 * libc/signal/Makefile.in: Regenerated.
12775 * libc/stdio/Makefile.in: Regenerated.
12776 * libc/time/Makefile.in: Regenerated.
12777 * libc/unix/Makefile.in: Regenerated.
12778 * libm/mathfp/Makefile.in: Regenerated.
12780 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12782 * libc/string/Makefile.in: Regenerated.
12783 * libc/string/memchr.c (memchr): Moved code to reduce object size.
12784 * libc/string/memcpy.c (memcpy): Ditto.
12785 * libc/string/memcmp.c (memcmp): Ditto.
12786 * libc/string/memset.c (memset): Ditto.
12787 * libc/string/strchr.c (strchr): Ditto.
12788 * libc/string/strcmp.c (strcmp): Ditto.
12789 * libc/string/strcpy.c (strcpy): Ditto.
12790 * libc/string/strlen.c (strlen): Ditto.
12792 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12794 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
12795 to generate aclocal.m4.
12796 * libm/Makefile.in: Regenerated.
12797 * libm/aclocal.m4: Regenerated.
12798 * libm/configure: Regenerated.
12799 * libm/math/Makefile.in: Regenerated.
12800 * libm/mathfp/Makefile.in: Regenerated.
12802 1998-09-25 Mark Salter <msalter@cygnus.com>
12804 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
12805 by adding leading and trailing underscores to symbol names.
12807 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
12809 * Makefile.in: Add default for AR_FLAGS.
12811 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
12813 patch from ian@airs.com (Ian Taylor):
12814 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
12815 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
12816 is needed for detecting the build machine. Required for
12817 cygwin native builds.
12819 * Regenerate all aclocal.m4 and configure files.
12821 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
12823 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
12824 used to start with LC.
12826 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12828 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
12829 (longjmp): Likewise.
12831 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12833 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
12834 the test for small number of bytes.
12836 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12838 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
12839 math library that uses floating point algorithms instead of the old
12841 * Makefile.in: Regenerate with automake version 1.3b.
12842 * configure: Rebuild.
12843 * libm/Makefile.in: Regenerate with automake version 1.3b.
12844 * libm/aclocal.m4: Regenerate.
12845 * libm/configure: Rebuild.
12846 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
12847 * libm/acinclude.m4: Define macros for configure.in.
12848 * libm/config.h.in: Generate.
12849 * libm/mathfp/Makefile.am: New file.
12850 * libm/mathfp/Makefile.in: Generate.
12851 * libm/mathfp/s_acos.c (acos): New file.
12852 * libm/mathfp/s_asin.c (asin): New file.
12853 * libm/mathfp/s_asine.c (asine): New file.
12854 * libm/mathfp/s_atan.c (atan): New file.
12855 * libm/mathfp/s_atan2.c (atan2): New file.
12856 * libm/mathfp/s_atangent.c (atangent): New file.
12857 * libm/mathfp/s_ceil.c (ceil): New file.
12858 * libm/mathfp/s_copysign.c (copysign): New file.
12859 * libm/mathfp/s_cos.c (cos): New file.
12860 * libm/mathfp/s_cosh.c (cosh): New file.
12861 * libm/mathfp/s_exp.c (exp): New file.
12862 * libm/mathfp/s_fabs.c (fabs): New file.
12863 * libm/mathfp/s_finite.c (finite): New file.
12864 * libm/mathfp/s_floor.c (floor): New file.
12865 * libm/mathfp/s_fmod.c (fmod): New file.
12866 * libm/mathfp/s_frexp.c (frexp): New file.
12867 * libm/mathfp/s_infconst.c: New file.
12868 * libm/mathfp/s_isinf (isinf).c: New file.
12869 * libm/mathfp/s_isnan.c (isnan): New file.
12870 * libm/mathfp/s_ispos.c (ispos): New file.
12871 * libm/mathfp/s_ldexp.c (ldexp): New file.
12872 * libm/mathfp/s_log.c (log): New file.
12873 * libm/mathfp/s_log10.c (log10): New file.
12874 * libm/mathfp/s_logarithm.c (logarithm): New file.
12875 * libm/mathfp/s_mathcnst.c: New file.
12876 * libm/mathfp/s_modf (modf).c: New file.
12877 * libm/mathfp/s_numtest.c (numtest): New file.
12878 * libm/mathfp/s_pow.c (pow): New file.
12879 * libm/mathfp/s_scalbn.c (scalbn): New file.
12880 * libm/mathfp/s_sin (sin).c: New file.
12881 * libm/mathfp/s_sine.c (sine): New file.
12882 * libm/mathfp/s_sineh.c (sineh): New file.
12883 * libm/mathfp/s_sinf.c (sinf): New file.
12884 * libm/mathfp/s_sinh.c (sinh): New file.
12885 * libm/mathfp/s_sqrt.c (sqrt): New file.
12886 * libm/mathfp/s_tan.c (tan): New file.
12887 * libm/mathfp/s_tanh.c (tanh): New file.
12888 * libm/mathfp/sf_acos.c (acosf): New file.
12889 * libm/mathfp/sf_asin.c (asinf): New file.
12890 * libm/mathfp/sf_asine.c (asinef): New file.
12891 * libm/mathfp/sf_atan.c (atanf): New file.
12892 * libm/mathfp/sf_atan2.c (atan2f): New file.
12893 * libm/mathfp/sf_atangent.c (atangent): New file.
12894 * libm/mathfp/sf_ceil.c (ceilf): New file.
12895 * libm/mathfp/sf_copysign.c (copysignf): New file.
12896 * libm/mathfp/sf_cos.c (cosf): New file.
12897 * libm/mathfp/sf_cosh.c (coshf): New file.
12898 * libm/mathfp/sf_exp.c (expf): New file.
12899 * libm/mathfp/sf_fabs.c (fabsf): New file.
12900 * libm/mathfp/sf_finite.c (finitef): New file.
12901 * libm/mathfp/sf_floor.c (floorf): New file.
12902 * libm/mathfp/sf_fmod.c (fmodf): New file.
12903 * libm/mathfp/sf_frexp.c (frexpf): New file.
12904 * libm/mathfp/sf_isinf.c (isinff): New file.
12905 * libm/mathfp/sf_isnan.c (isnanf): New file.
12906 * libm/mathfp/sf_ispos.c (isposf): New file.
12907 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
12908 * libm/mathfp/sf_log.c (logf): New file.
12909 * libm/mathfp/sf_log10.c (log10f): New file.
12910 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
12911 * libm/mathfp/sf_modf.c (modff): New file.
12912 * libm/mathfp/sf_numtest.c (numtestf): New file.
12913 * libm/mathfp/sf_pow.c (powf): New file.
12914 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
12915 * libm/mathfp/sf_sin.c (sinf): New file.
12916 * libm/mathfp/sf_sine.c (sinef): New file.
12917 * libm/mathfp/sf_sineh.c (sinehf): New file.
12918 * libm/mathfp/sf_sinh.c (sinhf): New file.
12919 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
12920 * libm/mathfp/sf_tan.c (tanf): New file.
12921 * libm/mathfp/sf_tanh.c (tanhf): New file.
12922 * libm/mathfp/zmath.h: New file.
12924 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12926 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
12927 exit if it has been overwritten by pre-fetching in delay slot.
12929 1998-09-01 Michael Meissner <meissner@cygnus.com>
12931 * Makefile.am (tooldir): Add in host_alias, so that multilib
12932 libraries are installed in the directory the compiler looks in.
12933 * Makefile.in: Regenerate.
12935 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
12937 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
12939 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
12940 ahead of test for number of bytes being moved.
12942 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
12944 * libc/include/sys/unistd.h: Nothing special needed for
12945 _exit under cygwin.
12947 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
12949 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
12950 conform to user label naming conventions.
12952 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
12954 * libc/sys/cygwin32/sys/utime.h: variable names in
12955 protos should start with two leading underscores
12956 * libc/include/string.h: ditto
12957 * libc/include/sys/signal.h: ditto
12958 * libc/include/sys/stat.h: ditto
12959 * libc/include/sys/time.h: ditto
12960 * libc/include/sys/unistd.h: ditto
12961 * libc/include/ctype.h: ditto
12962 * libc/include/stdlib.h: ditto
12963 * libc/include/sys/reent.h: struct _atexit function ptr takes a
12964 void, same with _sig_func.
12966 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
12968 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
12969 for MB_CAPABLE to reduce code size when newlib is not configured
12970 with --enable-newlib-mb.
12971 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
12972 mbtowc_r.o to minimize size.
12973 * libc/stdlib/Makefile.in: Rebuild.
12975 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
12977 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
12979 * libc/sys/sparc64/Makefile.in: Rebuild.
12981 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
12983 * Makefile.am (MAKEOVERRIDES): Define.
12984 * Makefile.in: Rebuild.
12986 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
12988 * libc/sys/sparc64/sys/stat.h (stat): Add const.
12990 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
12992 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
12993 newlib_cflags when looking for targ-include.
12994 * */aclocal.m4, */configure: Rebuild.
12996 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
12998 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
13001 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
13003 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
13004 on SPARCs with little-endian data.
13005 * libc/include/machine/ieeefp.h: Ditto.
13007 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
13009 * acinclude.m4: Handle a relative srcdir correctly when setting
13011 * */aclocal.m4, */configure: Rebuild.
13013 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
13015 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
13016 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
13017 * libm/math/wrf_gamma.c (gammaf_r): ditto
13018 * libm/math/wr_lgamma.c (lgamma_r): ditto
13019 * libm/math/wr_gamma.c (gamma_r): ditto
13020 * libm/math/wf_sqrt.c (sqrtf): ditto
13021 * libm/math/wf_sinh.c (sinhf): ditto
13022 * libm/math/wf_scalb.c (scalbf): ditto
13023 * libm/math/wf_remainder.c (remainderf): ditto
13024 * libm/math/wf_pow.c (powf): ditto
13025 * libm/math/wf_log10.c (log10f): ditto
13026 * libm/math/wf_log.c (logf): ditto
13027 * libm/math/wf_lgamma.c (lgammaf): ditto
13028 * libm/math/wf_jn.c (jnf, ynf): ditto
13029 * libm/math/wf_j1.c (j1f, y1f): ditto
13030 * libm/math/wf_j0.c (j0f, y0f): ditto
13031 * libm/math/wf_hypot.c (hypotf): ditto
13032 * libm/math/wf_gamma.c (gammaf): ditto
13033 * libm/math/wf_fmod.c (fmodf): ditto
13034 * libm/math/wf_exp.c (expf): ditto
13035 * libm/math/wf_cosh.c (coshf): ditto
13036 * libm/math/wf_atanh.c (atanhf): ditto
13037 * libm/math/wf_atan2f.c (atan2f): ditto
13038 * libm/math/wf_asin.c (asinf): ditto
13039 * libm/math/wf_acosh.c (acoshf): ditto
13040 * libm/math/wf_acos.c (acosf): ditto
13041 * libm/math/w_sqrt.c (sqrt): ditto
13042 * libm/math/w_sinh.c (sinh): ditto
13043 * libm/math/w_scalb.c (scalb): ditto
13044 * libm/math/w_remainder.c (remainder): ditto
13045 * libm/math/w_pow.c (pow): ditto
13046 * libm/math/w_log10.c (log10): ditto
13047 * libm/math/w_log.c (log): ditto
13048 * libm/math/w_lgamma.c (lgamma): ditto
13049 * libm/math/w_jn.c (jn, yn): ditto
13050 * libm/math/w_j1.c (j1, y1): ditto
13051 * libm/math/w_j0.c (j0, y0): ditto
13052 * libm/math/w_hypot.c (hypot): ditto
13053 * libm/math/w_gamma.c (gamma): ditto
13054 * libm/math/w_fmod.c (fmod): ditto
13055 * libm/math/w_exp.c (exp): ditto
13056 * libm/math/w_cosh.c (cosh): ditto
13057 * libm/math/w_atanh.c (atanh): ditto
13058 * libm/math/w_atan2f.c (atan2): ditto
13059 * libm/math/w_asin.c (asin): ditto
13060 * libm/math/w_acosh.c (acosh): ditto
13061 * libm/math/w_acos.c (acos): ditto
13063 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13065 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13066 (fsrc): Add wf_cabs.c and wf_drem.c.
13067 * libm/math/Makefile.in: Rebuild.
13069 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13070 unused directory variables. Remove duplicate CFLAGS.
13071 * Makefile.in: Rebuild.
13073 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13074 with $(CC_FOR_BUILD).
13075 (makedoc.o): Likewise.
13076 * doc/Makefile.in: Rebuild.
13078 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13079 force a definition of COMPILE.
13080 (libfoo_a_SOURCES): Define.
13081 * libc/sys/cygwin32/Makefile.in: Rebuild.
13082 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13083 force a definition of COMPILE.
13084 (libfoo_a_SOURCES): Define.
13085 * libc/sys/tic80/Makefile.in: Rebuild.
13087 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13089 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13092 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13094 * Build using autoconf and automake. Added many Makefile.am and
13095 configure.in files, plus generated files. Old configure.in files
13096 and all old Makefile.in files completely replaced. Removed
13097 host/any. Added acinclude.m4 and configure.host.
13099 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13101 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13102 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13104 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13106 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13107 * libc/machine/sh/Makefile.in: Add rules for new files.
13109 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13111 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13112 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13113 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13115 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
13117 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
13120 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
13122 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
13123 internal static buffer when s is NULL, as prescribed by ANSI.
13125 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
13127 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
13129 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
13130 libc/stdlib will be used for h8300hms.
13132 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13134 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
13135 version that can be built either for speed or size.
13136 * libc/machine/mn10300/memset.S (_memset): ditto
13137 * libc/machine/mn10300/memchr.S (_memchr): ditto
13138 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
13139 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
13140 * libc/machine/mn10300/strchr.S (_strchr): ditto
13141 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
13142 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
13143 * libc/machine/mn10300/Makefile.in: Added entries for
13144 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
13145 strcmp.o, strcpy.o, and strlen.o.
13147 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
13149 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
13150 been replaced with libgloss/mn10200.
13152 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
13154 * libc/string/strchr.c (strchr): Make s a constant pointer to
13157 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
13159 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
13160 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
13161 board SWIs instead of Demon board SWIs).
13163 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
13165 * libc/string/strncat.c (strncat): Make -Os act the same as
13166 PREFER_SIZE_OVER_SPEED being defined.
13168 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
13170 * libc/string/memchr.c (memchr): Make -Os act the same as
13171 PREFER_SIZE_OVER_SPEED being defined.
13172 * libc/string/memcmp.c (memcmp): Ditto.
13173 * libc/string/memcpy.c (memcpy): Ditto.
13174 * libc/string/memset.c (memset): Ditto.
13175 * libc/string/strcat.c (strcat): Ditto.
13176 * libc/string/strchr.c (strchr): Ditto.
13177 * libc/string/strcmp.c (strcmp): Ditto.
13178 * libc/string/strcpy.c (strcpy): Ditto.
13179 * libc/string/strlen.c (strlen): Ditto.
13180 * libc/string/strncat.c (strncat): Ditto.
13181 * libc/string/strncmp.c (strncmp): Ditto.
13182 * libc/string/strncpy.c (strncpy): Ditto.
13184 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
13186 * libc/include/sys/itimer.h: remove
13187 * libc/include/sys/time.h: itimer stuff should be here
13189 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
13191 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
13192 bit instead of comparing to 0 so -0.0 can be printed correctly.
13194 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13196 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
13198 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
13200 * libc/include/sys/unistd.h: fix sync() proto
13201 * libc/include/sys/fcntl.h: remove _close which is already
13202 defined in unistd.h.
13203 * libc/include/sys/time.h: add getitimer proto
13205 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
13207 * libc/string/strchr.c: convert arg to unsigned char
13208 * libc/include/stdlib.h: add protos for random, srandom
13209 * libc/include/sys/stat.h: add lstat proto
13210 * libc/include/sys/time.h: add setitimer proto
13211 * libc/include/sys/unistd.h: add readlink, symlink protos
13212 * libc/include/process.h: instead of including windows.h and using
13213 HANDLEs in sexec protos, just use void *s. Need to include
13216 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
13218 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
13220 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
13222 * libc/include/process.h: add secure exec protos
13224 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
13226 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
13227 which are accessed as both doubles and integers.
13228 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
13229 * libc/stdlib/strtod.c (_strtod_r): Likewise.
13230 * libc/stdlib/mprec.h: Add "union double_union" and change
13231 word0/word1 macros to use it.
13233 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
13235 * libc/include/sys/signal.h: add __cplusplus wrapper
13237 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
13239 * libc/include/sys/utime.h: new generic file that gets replaced by
13240 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
13242 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
13243 * libc/include/time.h: remove duplicate utime proto
13244 * libc/include/utime.h: add comment
13246 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
13248 * libc/include/sys/time.h: Add missing include to
13249 allow use of _EXFUN. Remove times function that is
13250 already defined in times.h.
13252 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
13254 * libc/include/time.h: Fix typo in tzset.
13256 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
13258 * libc/include/sys/time.h: add missing Cygwin32 function protos
13259 * libc/include/sys/unistd.h: ditto
13260 * libc/include/time.h: ditto
13262 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
13264 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
13266 * libc/include/sys/types.h: add a new __MS_types__ section
13267 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
13268 __BIT_TYPES_DEFINED__.
13270 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
13272 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
13273 since it overrides the one in libc/include/sys. Also, start
13276 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
13278 * libm/math/Makefile.in: add s_signgam.o to obj list
13280 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
13282 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
13284 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
13286 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
13287 so don't use defines.
13289 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
13291 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
13293 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
13295 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
13296 _current_locale as default locale.
13298 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
13300 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
13301 insufficient space in a chunk.
13303 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
13305 * configure.in (links): Added check for --enable-newlib-mb configure
13306 option which defines the MB_CAPABLE macro.
13307 * libc/locale/locale.c (_setlocale_r): Added support for setting
13308 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
13310 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
13311 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
13312 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
13313 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
13314 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
13315 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
13316 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
13317 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
13318 * libc/stdlib/Makefile.in: Added new multibyte
13319 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
13320 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
13321 _mbstowcs_r(), and _wcstombs_r().
13322 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
13323 for JIS, SJIS, and EUC-JP characters.
13324 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
13325 MB_CAPABLE defined.
13326 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
13327 MB_CAPABLE defined.
13328 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
13329 MB_CAPABLE defined.
13330 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
13331 if MB_CAPABLE defined.
13332 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
13333 if MB_CAPABLE defined.
13334 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
13335 to the format string processing when MB_CAPABLE.
13336 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
13339 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
13341 The following modifications are courtesy of Anthony Thompson,
13342 athompson@cambridge.arm.com:
13343 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
13344 boith RDI and RDP monitors.
13345 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
13346 RDI and RDP monitors.
13348 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
13350 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
13351 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
13352 (_swiopen): Fixed open flags to treat write with append as just append.
13353 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
13354 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
13356 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13358 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
13359 When needing to transfer an initial 2-byte-word, store as
13362 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13364 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
13366 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
13367 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
13369 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
13371 * configure.in (target_cflags): If --enable-target-optspace, use
13372 -Os to compile newlib rather than -O2. Default to using -Os for
13373 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
13376 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
13378 * libc/include/machine/setjmp.h: change sigsetjmp and
13379 siglongjmp definitions to use an array instead of a struct
13382 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
13384 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
13386 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
13388 * libc/string/strxfrm.c: fix to get correct return value
13390 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
13392 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
13393 builds. Make mode change labels global so that they will be seen
13396 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
13398 * configure.in (links): Do not use ARM debiugging protocols for PE
13401 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
13404 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13406 * libc/stdio/findfp.c (__sinit): Made stdout default to
13407 line buffered mode as defined by ANSI.
13409 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
13411 * libc/include/sys/itimer.h: New file.
13413 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
13415 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13417 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
13420 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13422 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13425 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13427 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13429 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13431 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13434 * libc/include/machine/setjmp.h: Add D30V support.
13436 * configure.in (d30v-*): Add d30v machine directory.
13438 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13440 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13441 been replaced with libgloss/mn10300.
13443 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13445 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13446 it is no longer needed.
13448 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13450 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
13452 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13454 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
13455 the file when O_APPEND is set, wherever the EOF happens to be at
13458 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
13460 patch from cgf@bbc.com (Christopher Faylor):
13461 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13462 convention of closing fp prior to attempting to open the file
13463 argument. This allows correct operation when reopening
13464 stdin/stdout/stderr. Replaces last freopen.c patch.
13466 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13468 patch from cgf@bbc.com (Christopher Faylor):
13469 * libc/stdio/freopen.c: freopen was not preserving the fd
13470 of the stream being operated on. This confuses programs that
13471 expect that the handles for stdout and stderr will be 1 and 2.
13473 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13475 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13477 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13479 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13481 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13483 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13484 altered to not use a branch. Also added hint that last
13485 bclr in longjmp will likely result in branch.
13488 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13490 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
13492 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13494 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13497 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
13499 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13501 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13502 that loads FR14 to specify offset of 8 rather than 4
13503 so it loads from offset 96 (where setjmp stored it).
13505 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13507 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13508 latest version supplied by customer.
13509 * libc/machine/sh/memset.S (_memset): Ditto.
13511 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13513 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
13516 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13518 * libc/include/string.h: remove redefinition of ffs
13520 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13522 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
13525 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13527 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
13528 TI Libraries to link to libc.a
13530 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13532 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13533 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13534 * libc/include/sys/wait.h (_wait): Ditto.
13535 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13536 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13538 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13540 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13541 minded stabs so function name shows up when running the simulator
13543 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13545 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13547 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
13548 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13549 Use R5 where we used to use R3.
13551 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13553 * libc/stdlib/getopt.c (getopt): replaced __progname
13554 with nargv[0] to improve portability to imbedded systems.
13556 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13558 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13559 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13562 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13564 * libc/stdio/tmpnam.c (worker): Generate a different file name
13567 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13568 fails, try an execlp for sh.
13570 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13571 option for the winsup include directory.
13573 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13575 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13576 debugging interface from Tony.Thompson@arm.com.
13578 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13579 * libc/sys/arm/swi.h: ditto.
13581 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13583 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13584 DIR struct used for readdir hashes.
13586 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13588 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13590 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13592 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13595 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13597 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13598 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13599 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13600 (__malloc_copy): Declare.
13602 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13604 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13606 (POINTER_UINT): Define.
13607 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13608 (MALLOC_ALIGNMENT): Don't define if already defined.
13609 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13612 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13614 * libc/string/memset.c (memset): Fiddle with code so that the long
13615 value being stored is not a stack value. Unroll storing longs 4
13618 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13620 * Reduce code size for libm modules.
13621 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13622 and simply move code into sqrt.
13623 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13624 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13625 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13626 * libm/math/wr_gamma.c (gamma_r): Likewise.
13627 * libm/math/wf_sinh.c (sinfh): Likewise.
13628 * libm/math/w_sinh.c (sinh): Likewise.
13629 * libm/math/wf_scalb.c (scalbf): Likewise.
13630 * libm/math/w_scalb.c (scalb): Likewise.
13631 * libm/math/wf_remainder.c (remainderf): Likewise.
13632 * libm/math/w_remainder.c (remainder): Likewise.
13633 * libm/math/wf_pow.c (powf): Likewise.
13634 * libm/math/w_pow.c (pow): Likewise.
13635 * libm/math/wf_log10.c (log10f): Likewise.
13636 * libm/math/w_log10.c (log10): Likewise.
13637 * libm/math/wf_log.c (logf): Likewise.
13638 * libm/math/w_log.c (log): Likewise.
13639 * libm/math/w_lgamma.c (lgamma): Likewise.
13640 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13641 * libm/math/wf_jn.c (jnf): Likewise.
13642 * libm/math/w_jn.c (jn): Likewise.
13643 * libm/math/wf_j1.c (j1f): Likewise.
13644 * libm/math/w_j1.c (j1): Likewise.
13645 * libm/math/wf_j0.c (j0f): Likewise.
13646 * libm/math/w_j0.c (j0): Likewise.
13647 * libm/math/wf_hypot.c (hypotf): Likewise.
13648 * libm/math/w_hypot.c (hypot): Likewise.
13649 * libm/math/wf_gamma.c (gammaf): Likewise.
13650 * libm/math/w_gamma.c (gamma): Likewise.
13651 * libm/math/wf_fmod.c (fmodf): Likewise.
13652 * libm/math/w_fmod.c (fmod): Likewise.
13653 * libm/math/wf_exp.c (expf): Likewise.
13654 * libm/math/w_exp.c (exp): Likewise.
13655 * libm/math/wf_cosh.c (coshf): Likewise.
13656 * libm/math/w_cosh.c (cosh): Likewise.
13657 * libm/math/wf_atanh.c (atanhf): Likewise.
13658 * libm/math/w_atanh.c (atanh): Likewise.
13659 * libm/math/wf_atan2.c (atan2f): Likewise.
13660 * libm/math/w_atan2.c (atan2): Likewise.
13661 * libm/math/wf_asin.c (asinf): Likewise.
13662 * libm/math/w_asin.c (asin): Likewise.
13663 * libm/math/wf_acosh.c (acoshf): Likewise.
13664 * libm/math/w_acosh.c (acosh): Likewise.
13665 * libm/math/wf_acos.c (asocf): Likewise.
13666 * libm/math/w_acos.c (acos): Likewise.
13667 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13668 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13669 for embedded systems.
13671 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13673 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13674 Lea in case of a foreign sbrk.
13676 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13678 Incorporate Doug Lea's malloc:
13679 * libc/stdlib/mallocr.c: Completely replaced.
13680 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13682 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
13683 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
13685 (mallinfo, malloc_stats, mallopt): New functions.
13686 (_mstats_r): Just call _malloc_stats_r.
13687 * libc/stdlib/malign.c: New file.
13688 * libc/stdlib/mlock.c: New file.
13689 * libc/stdlib/msize.c: New file.
13690 * libc/stdlib/mtrim.c: New file.
13691 * libc/stdlib/realloc.c: New file.
13692 * libc/stdlib/valloc.c: New file.
13693 * libc/stdlib/malloc.h: Remove.
13694 * libc/stdlib/callocr.c: Remove.
13695 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
13696 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
13697 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
13698 reallocr.o, valloc.o, vallocr.o.
13699 (CHEWOUT_FILES): Add mlock.def, mstats.def.
13700 (MALLOC_CFLAGS): New variable.
13701 (mallocr.o): New target, build from mallocr.c.
13702 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
13703 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
13704 (msizer.o, malloptr.o): Likewise.
13705 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
13706 (valloc.o): New target.
13707 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
13708 * libc/include/malloc.h: Declare struct mallinfo, and new
13710 * libc/include/stdlib.h (cfree): Correct declaration.
13712 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
13714 * libc/include/machine/setjmp.h: Add support for Thumb target.
13716 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13718 * configure.in (links): Add support for Thumb target.
13720 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13722 * libc/sys/arm/setjmp.S: Updated with version from branch.
13724 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13726 * libc/include/stdio.h: add POSIX-required define L_ctermid
13729 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13731 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13732 addition to MISSING_SYSCALL_NAMES.
13734 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13736 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
13738 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
13740 * libc/include/string.h: change strsignal proto to return
13741 a char *. This eliminates compile problems in gdb resulting
13742 from gdb's definition of strsignal in defs.h.
13744 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
13746 * libc/sys/cygwin32/sys/utime.h: new (moved here from
13747 winsup/include) so as not to conflict with the one in
13749 * libc/include/string.h: add protos for strsignal, strtosigno
13751 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
13753 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
13755 * configure.in (d30v-*-*): Add configuration.
13757 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
13759 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
13760 to select which kind of debug monitor is in use for an ARM target.
13762 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
13763 Angel and Demon debug monitors. Part of this code was supplied by
13764 Tony Thompson at ARM: athompso@arm.com.
13766 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
13768 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
13769 semantics when the count is greater than the length of the second
13772 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
13774 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
13775 * libc/include/sys/unistd.h: add protos for usleep, truncate,
13776 truncate and ftruncate take off_t, not size_t
13778 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
13780 * libc/string/strcat.c (strcat): Add missing comment end.
13781 * libc/string/strncat.c (strncat): Likewise.
13783 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
13785 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
13787 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
13788 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
13790 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13791 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13792 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13794 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
13796 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
13797 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
13799 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
13801 * libc/machine/i386/setjmp.S: New file.
13802 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
13803 (OFILES): Add setjmp.o.
13804 (setjmp.o): Add rule for.
13805 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
13807 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
13808 Jeffrey A Law (law@cygnus.com)
13810 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
13811 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13812 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13813 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13815 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
13817 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
13820 * libc/include/sys/config.h: Use __v850 to select v850
13823 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
13826 * libc/include/machine/ieeefp.h: Use __v850 to select v850
13829 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
13831 * libc/stdlib/setenv.c: change unsetenv definition to match
13832 style of setenv (with _DEFUN). The string should be a const.
13833 * libc/include/stdlib.h: unsetenv proto should return void.
13835 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
13837 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
13839 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
13841 * libc/stdio/glue.h: remove.
13842 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
13843 * libc/stdio/Makefile.in: remove glue.h dependencies
13845 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
13847 * libc/sys/sysnecv850/crt0.S: Created V850e version.
13849 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
13851 * configure.in (target_cpu): Add `arc'.
13853 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
13855 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
13856 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
13857 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
13858 * newlib/libc/reent/reent.c: Add _wrapup_reent.
13859 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
13861 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
13863 * libc/machine/mips/setjmp.S: Handle mips16 builds.
13865 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
13867 * libc/include/stdio.h (siprintf): Declare.
13869 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
13871 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
13872 TARGET_CFLAGS and NEWLIB_FLAGS.
13874 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13876 * configure.in (links): Add support for v850ea target.
13878 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13880 * configure.in (links): Add support for v850e target.
13882 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
13884 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
13886 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
13888 * configure.in (arc-*-*): Add support for.
13889 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
13891 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13893 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
13895 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
13897 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
13898 comparison which accesses invalid memory when the key is
13899 larger than the last member of the array.
13900 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
13902 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
13904 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
13906 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
13909 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
13911 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
13912 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
13914 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
13916 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
13917 to load/store memory.
13919 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
13921 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
13922 underscores if _WIN32.
13924 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
13926 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
13927 support ifdef _USE_WRITE missed in last change.
13928 From Anders Blomdell <anders.blomdell@control.lth.se>.
13930 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
13932 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
13933 (_tmpnam_r, _tempnam_r): Update.
13935 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
13937 * libc/machine/sparc/setjmp.S: New file.
13938 * libc/machine/sparc/Makefile.in: Add setjmp.
13939 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
13941 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
13943 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
13945 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
13947 From Joel Sherrill <joel@oarcorp.com>.
13948 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
13950 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
13951 * configure.in: Recognize *-*-rtems*.
13952 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
13953 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
13954 time.h,times.h,types.h}: New files.
13955 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
13957 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
13959 patch from sos@prospect.com.ru (Sergey Okhapkin):
13960 * include/sys/wait.h: correct operator precidence bug
13963 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
13965 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
13966 with newlib's unsetenv function
13967 * libc/sys/cygwin32/sys: new directory for includes
13968 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
13969 here from winsup/include/sys
13971 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
13973 * libc/include/sys/unistd.h: _exit should only be
13974 labelled noreturn when not __CYGWIN32__
13975 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
13976 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
13979 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
13981 * libc/include/sys/time.h: Only define timeval and timezone if
13982 _GNU_H_WINDOWS32_SOCKETS is not defined.
13983 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
13985 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
13987 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
13988 * libc/machine/mn10300/setjmp.S: Likewise.
13990 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
13991 the mn10300 (more relaxing opportunities).
13993 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
13995 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
13996 Build libraries with -mstrict-align.
13998 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
14000 * libc/string/strlwr.c: New file.
14001 * libc/string/strupr.c: New file.
14002 * libc/include/string.h: Declare strlwr and strupr.
14003 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
14004 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
14005 (strlwr.o, strupr.o): New targets.
14006 * libc/string/strings.tex: Include strlwr and strupr docs.
14008 * libc/include/sys/types.h: Don't define u_char, et. al., if
14009 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
14010 et. al. Make FD_SETSIZE default 64 rather than 60. Define
14011 _types_fd_set rather than fd_set, and define fd_set as a macro.
14013 * libc/include/malloc.h: New file.
14015 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
14016 strnicmp if they are not already defined.
14018 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
14019 _timezone, _daylight, and _tzname.
14021 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
14023 * configure.in: Sort all configuration tables.
14025 From Joel Sherrill <joel@oarcorp.com>
14026 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
14028 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
14030 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
14031 use int when declaring kill.
14033 * libc/include/sys/timeb.h: New file.
14035 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14037 * libc/include/sys/time.h: add itimer support for Cygwin32
14039 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14041 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14042 out a message that abort was called to stderr.
14044 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14046 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14047 so that libio doesn't freak.
14049 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14052 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14053 memory sizes, not int.
14055 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14057 * libm/math/ef_hypot.c: Use long constants where
14059 * libm/math/ef_sqrt.c: Ditto.
14061 * libc/sys/sysmec/times.c(_times): Change to times.
14063 * libc/sys/sysmec/read.c(_read): The third argument is
14065 * libc/sys/sysmec/write.c (_write): Ditto.
14067 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14068 (_lseek): It's off_t for the second argument.
14070 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14072 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14073 as well as machine/ieeefp.h.
14075 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14077 * libc/include/sys/signal.h: add signal protos for winsup
14078 functions (when __CYGWIN32__), include types.h
14079 * libc/include/sys/types.h: Change __go32_types__ internal
14080 define to __MS_types__ since it's used for more than just
14081 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14083 * libc/include/sys/unistd.h: add ftruncate proto for
14084 winsup functions (when __CYGWIN32__)
14086 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14088 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14090 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14092 * libc/include/machine/setjmp.h: Add tic80 support.
14093 * libc/machine/tic80/setjmp.S: Likewise.
14095 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14097 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14098 link programs from libraries only (such as in the X11
14101 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14103 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14104 supplied elsewhere in newlib.
14106 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14108 * Makefile.in (INSTALL): Change install.sh to install-sh.
14110 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14112 * README: update WWW address for on-line documentation.
14114 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14116 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
14119 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
14121 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
14123 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
14125 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
14127 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
14128 * libc/sys/d10v/syscalls.c: Likewise.
14129 * libc/sys/h8300hms/sbrk.c: Likewise.
14130 * libc/sys/h8500hms/syscalls.c: Likewise.
14131 * libc/sys/m88kbug/syscalls.c: Likewise.
14132 * libc/sys/sh/syscalls.c: Likewise.
14133 * libc/sys/sysmec/sbrk.c: Likewise.
14134 * libc/sys/sysnecv850/sbrk.c: Likewise.
14135 * libc/sys/w65/syscalls.c: Likewise.
14136 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
14138 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
14140 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
14141 emulated syscall instead of "trap".
14143 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
14145 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
14148 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
14150 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
14152 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
14154 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
14156 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
14158 * libc/sys/tic80/crt0.c: New file for TIc80.
14159 * libc/sys/tic80/Makefile.in: New file for TIc80.
14160 * libc/machine/tic80/Makefile.in: New file for TIc80.
14162 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
14164 * libc/machine/sh/memcpy.S: New file.
14165 * libc/machine/sh/memset.S: New file.
14166 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
14168 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
14170 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
14173 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
14175 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
14178 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
14180 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
14181 (patch from andrew@pogo.WV.TEK.COM).
14183 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
14185 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
14186 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
14188 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
14190 * configure.in: Add cases for "tic80" to set machine_dir,
14191 sys_dir, and syscall_dir.
14193 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
14195 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
14197 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
14199 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
14201 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
14203 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
14204 Use proper constant prefix.
14206 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
14208 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
14209 that loses on the mn10200 where ints and pointers are different
14212 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
14214 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
14215 target as signal is provided in winsup.
14217 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
14219 * libc/include/sys/process.h: Corrected const definitions
14220 in spawn functions. Added cwait.
14222 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
14224 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
14226 * libc/include/sys/config.h: Similarly.
14228 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14230 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
14232 (i[3456]86-*-sco*): Ditto.
14234 * libc/signal/Makefile.in (OFILES): Add signal.o.
14235 (CFILES): Add signal.c.
14237 * libc/signal/raise.c (_raise_r): Only compile code if
14238 SIGNAL_PROVIDED is defined.
14240 * libc/signal/signal.c: Redo whole file so that it works with
14241 current newlib. Use _kill_r if no signal handler provided.
14243 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
14245 * libc/sys/sysvnecv70/Makefile.in: Ditto.
14246 * libc/sys/sysnecv850/Makefile.in: Ditto.
14248 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
14249 * libc/sys/sysmec/{raise,signal}.c: Ditto.
14250 * libc/sys/sysvnecv70/signal.s: Ditto.
14251 * libc/sys/sysnecv850/raise.c: Ditto.
14253 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
14254 simulator and debugger can tell the difference between a signal
14255 being raised and an exit system call.
14257 * NEWS: Document software signals being provided.
14259 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14261 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
14262 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
14263 include/sys/config.h.
14264 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
14265 Change from 'inpure_data'.
14266 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
14267 &impure_data, not &inpure_data.
14269 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
14270 and and System V ABI, define so that _impure_ptr lives in the
14273 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14275 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
14276 nothing if not defined.
14277 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
14280 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
14282 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
14284 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
14285 * libc/sys/sysmec/trap.s: Handle mn10200 too.
14286 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
14288 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
14290 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
14292 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
14294 * libc/include/sys/errno.h: Added net errno's.
14296 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14298 * libc/misc/ffs.c: New file to support ffs function for GCC test
14299 gcc.c-torture/execute/960909-1.c.
14301 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
14303 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
14305 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
14306 * libc/sys/sysmec/trap.S: Likewise.
14308 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
14310 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
14311 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
14313 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
14315 * libc/sys/sysmec/signal.c: Dummy file.
14316 * libc/sys/sysmec/Makefile.in: Build it.
14318 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
14320 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
14323 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
14325 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
14326 c-startup and simulator traps.
14329 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
14330 * libc/sys/sysmec/trap0.S: Likewise.
14332 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14334 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
14335 round to double word alignment.
14336 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
14339 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
14341 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
14344 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
14346 * configure.in: Handle mn10200 and mn10300.
14347 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
14348 * libc/include/sys/config.h: Likewise.
14349 * libc/sys/sysmec: New directory for mec stuff.
14350 * libc/machine/mn10300: New directory for mn10300 stuff.
14351 * libc/machine/mn10200: Similarly for mn10200 stuff.
14353 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
14355 * libc/sys/arm/crt0.S: Use .text, not .section .text.
14356 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
14358 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
14359 (nlink_t): Change type from unsigned int to unsigned short.
14360 (mode_t): Ensure size is 32 bits even if int is 16.
14361 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
14362 (st_spare[123]): Change type from int to long.
14364 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14366 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
14369 * configure.in (d10v*): Define SMALL_MEMORY.
14371 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14373 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
14374 -mrelocatable-lib and -mno-eabi flags.
14376 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
14378 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
14379 Fix handling of mis-aligned source operand when both the
14380 destination & length are properly aligned.
14382 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
14384 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
14385 times.o, time.o and gettime.o
14386 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
14387 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
14390 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
14392 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
14393 * libc/sys/sysnecv850/access.c: New file.
14395 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
14397 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
14399 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
14402 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
14404 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
14406 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
14408 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
14409 * libc/include/sys/config.h: Add m32r support.
14411 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
14413 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
14416 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
14418 * libc/include/machine/setjmp.h: Add D10v support.
14420 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14422 * configure.in: Configure the "libc/syscalls" directory for
14425 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14426 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14427 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14428 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14429 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14431 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14433 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14434 stack for args for main and other routines. Zero out args for
14437 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14440 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14442 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14445 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14447 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14448 real system calls now.
14450 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14451 before casting them to int.
14452 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14454 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14456 * libc/string/memset.c (memset): Ditto.
14458 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14459 first convert ints to _POINTER_INT to eliminate GCC warning.
14461 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14464 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14465 from 65000 if ints are only 16 bits.
14467 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14468 from 50000 if ints are only 16 bits.
14470 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14471 int type that is the same size as a pointer.
14473 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14475 (get_number): Explicitly cast number to long before shifting by 16
14476 or 24, in case ints are short.
14478 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14480 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14482 * libc/string.h: Added ffs, removed swab.
14483 * libc/sys/errno.h: Added EOPNOTSUPP.
14484 * libc/sys/unistd.h: Added swab.
14486 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14488 * libc/include/sys/stat.h: Added fchmod.
14489 * libc/include/sys/unistd.h: Added fsync.
14491 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14493 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14494 and ECONNRESET (104) for cygwin32.
14496 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14498 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14499 do the static destructors.
14501 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14503 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14505 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14507 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14508 * configure.in: Recognize m32r-*-*.
14510 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14512 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
14513 __rt_stkovf_split_small): Added default software stack overflow
14514 handlers, which just call SWI_Exit.
14515 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
14516 limit initialisation.
14518 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14520 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14522 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14524 * libc/include/sys/types.h: Added ssize_t definition.
14526 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14528 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14529 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14531 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14532 branch around a single ldi instruction.
14534 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14535 Call exit, instead of just issuing a stop instruction.
14537 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14539 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14541 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14543 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14544 longs, and then cast them to __uint32_t.
14546 * libc/include/sys/config.h: Protect against multiple inclusions.
14548 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14550 * configure.in (d10v*): Set syscall_dir.
14552 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14554 * libc/sys/d10v/crt0.S: Set stack pointer.
14556 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14558 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14559 in assembly for efficiency. Change calling convention to allow
14560 long ints to be returned.
14562 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14564 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14566 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14568 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14569 Handle empty entries in $PATH.
14571 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14573 * libc/machine/d10v/setjmp.S: Make it really work.
14575 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14577 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14578 the .stack section.
14580 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14582 * sys/sysnecv850/sys/file.h: Remove.
14583 * sys/sysnecv850/sys/syscall.h: New file.
14584 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14585 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14586 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14587 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14588 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14589 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14590 * sys/sysnec850/trap.S: New file.
14591 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14593 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14594 * sys/sysnec850/sbrk.c: New version.
14596 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14598 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14599 as long as r6 is less than r7.
14601 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14603 * Makefile.in (mostlyclean): Separate from clean target. Don't
14604 remove *.a or targ-include.
14605 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14607 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14609 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14611 (__SMALL_BITFIELDS): Ditto.
14613 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14615 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14617 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14620 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14621 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14622 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14623 * libc/sys/sysnecv850/write.c (write): Likewise.
14625 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14628 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14630 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14631 appropriately for D10V, depending on -mint16/-mint32.
14633 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14635 * configure.in: Add cases for D10V.
14637 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14639 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14641 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14643 * libc/include/machine/ieeefp.h: Fix typo.
14645 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14647 * libc/sys/d10v: New directory for D10V stuff.
14648 * libc/include/machine/ieeefp.h: Add D10V defines.
14650 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14652 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14653 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14654 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14655 * libc/string/strerror.c (strerror): Add them.
14657 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14659 * libc/sys/sysnecv850: New directory for v850 stuff.
14661 * libc/machine/v850: New directory for v850 stuff.
14662 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14664 * configure.in: Add support for the v850.
14666 * libc/include/machine/ieeefp.h: Add v850 defines.
14667 * libc/include/machine/setjmp.h: Likewise.
14668 * libc/include/sys/config.h: Add v850 defines.
14670 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14672 * libc/include/machine/ieeefp.h
14673 * libc/include/machine/setjmp.h
14674 * libc/include/sys/fcntl.h
14675 * libc/include/sys/signal.h
14676 * libc/include/sys/types.h
14677 * libc/stdlib/system.c:
14678 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14679 API availability, __CYGWIN32__ for cygwin32 environment specific).
14681 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14683 * libc/include/stdlib.h: add multibyte character functions. Add
14684 __eprintf for assert.
14686 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14688 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
14689 arithmetic or __alignof__ to properly get the alignment, instead
14690 of hardwiring it to 4.
14692 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
14694 * libc/stdio/fseek.c: add fflush call to adjust seek offset
14695 on append stream (fix from NetBSD sources), adjust curoff offset
14696 for ungetc's benefit.
14697 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
14698 * libc/stdio/rewind.c: replace code with up to date NetBSD
14699 code to undo hacks made to work around above problem of not
14700 having fflush call mentioned above
14702 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14704 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
14705 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
14706 Partially revert last changes. The thread specific errno is set
14707 iff if the underlying syscall fails and the global errno is not
14710 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14712 * libc/reent/filer.c: Removed files, all functions have split out
14713 into their own files.
14714 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
14715 New files containing functions formally in filer.c
14716 * libc/reent/Makefile.in: Updated for above change.
14718 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
14719 syscall fails, not if errno is changed.
14720 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
14721 _write_r): Likewise.
14722 * libc/reent/fstatr.c (_fstat_r): Likewise.
14723 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14724 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14725 * libc/reent/signalr.c (_kill_r): Likewise.
14726 * libc/reent/statr.c (_stat_r): Likewise.
14727 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14729 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
14730 signalr.c, statr.c, timer.c} (errno): declare extern rather
14733 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
14734 instead of calling vfprintf so that i*printf will not require
14735 floating point support code.
14737 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
14739 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
14741 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
14742 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
14744 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
14746 * libc/include/signal.h: _sig_func_ptr function takes an int
14747 * libc/include/sys/signal.h: sa_handler function takes an int
14749 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
14751 * libc/include/machine/ieeefp.h: Simplify H8/S support.
14752 * libc/include/sys/config.h: Add missing H8/S conditional.
14754 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
14756 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
14758 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
14760 * libc/include/machine/setjmp.h: Handle H8/S.
14761 * libc/include/machine/ieeefp.h: Likewise.
14762 * libc/include/sys/config.h: Likewise.
14763 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
14764 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
14765 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
14766 * libc/sys/h8300hms/crt0.S: Likewise.
14768 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
14770 * Makefile.in (datadir): Set to $(prefix)/share.
14771 (oldincludedir, docdir): Removed.
14772 * doc/Makefile.in (datadir): Set to $(prefix)/share.
14773 (oldincludedir, docdir): Removed.
14774 * libc/Makefile.in (datadir): Set to $(prefix)/share.
14775 (oldincludedir, docdir): Removed.
14776 * libm/Makefile.in (datadir): Set to $(prefix)/share.
14777 (oldincludedir, docdir): Removed.
14779 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
14781 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
14784 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
14786 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
14787 fetch current path rules with sysconf and handler posix/win32
14790 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
14792 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
14793 (WAIT_CHILD): Always define.
14795 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
14797 * libc/stdlib/eprintf.c: New file.
14798 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
14799 (eprintf.o): New target.
14801 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
14803 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
14804 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
14806 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
14808 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
14809 NT in PowerPC endianess cases.
14811 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14813 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
14815 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14817 * libc/string/strtok.c: Fix doc typo.
14819 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14821 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
14822 _next, _scanpoint, _signgam fields.
14824 * libc/include/stdlib.h (rand_r): Added new declaration.
14825 (_rand_r, _srand_r): Removed declarations.
14826 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
14827 have been made obsolete by rand_r.
14828 * libc/stdlib/rand_r.c: New file, rand_r function as specified
14831 * libc/string/strtok.c: Update documentation to describe
14834 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
14836 * libc/include/sys/stat.h (stat structure): Use the expanded stat
14837 structure on Solaris, and PowerPC systems even though __svr4__ is
14840 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
14842 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
14844 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
14846 * host/any: Use ../.. rather than .. to get to the main build
14847 directory. This matches the current layout of the build
14850 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
14852 * libc/machine/h8300/__main.S: Delete. No longer needed.
14853 * libc/machine/h8300/Makefile.in: Corresponding changes.
14854 * libc/sys/h8300hms/crt1.c: New file.
14855 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
14856 * libc/sys/h8300hms/crt0.s: Call __main.
14858 * libc/sys/h8300hms/crt0.S: Use temporary label names
14859 for branch targets.
14861 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
14863 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
14865 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14867 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
14868 .sdata on the PowerPC so that we can link newlib with code
14869 compiled with -msdata.
14871 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
14873 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
14875 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
14877 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
14878 exception handler to __cygwin_exception_handler.
14880 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
14882 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
14884 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
14886 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
14888 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
14889 wcstombs.o): Likewise.
14891 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
14893 * libc/stdlib/environ.c (initial_env): New static local.
14894 (environ): Point to `initial_env'.
14896 * libc/include/machine/setjmp.h: Clean up.
14897 (__H8300H__,__PPC__): Define _JBTYPE.
14898 (__arm__): Provide entry for.
14899 (sigjmp_buf): Delete.
14900 (jmp_buf): Use _JBTYPE if defined, otherwise int.
14902 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
14904 * libc/machine/h8300/strcmp.S: Sign extend the result to
14905 32bits so we don't lose with -mint32.
14907 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
14909 * libc/sys/go32/sys/errno.h: New file.
14910 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
14911 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
14912 errno's address (make compatible with rest of newlib).
14913 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
14914 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
14916 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
14918 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
14919 * libc/machine/sparc/Makefile.in: Build them.
14920 * libc/machine/sparc/machine/sparclet.h: New file.
14922 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14924 * libc/machine/sh/asm.h: New file.
14925 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
14926 support for SH3e's FP registers. Use asm.h.
14928 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
14930 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
14931 as first argument. Call _dtoa_r and pass the reent structure
14932 instead of calling __dtoa.
14934 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
14936 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
14937 the h8300, h8500, and others. Add comments for some rather
14940 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
14942 * Makefile.in (check): Check that testsuite exists before cd.
14944 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14946 * libc/include/string.h (strsep): Correct prototype.
14948 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
14950 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
14951 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
14952 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
14954 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
14956 * libc/posix/{creat.c,isatty.c}: New files.
14957 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
14959 * libc/sys/sparc64/crt0.S (environ): Delete.
14960 (.LHaveBias): Renamed from HaveBias.
14962 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
14964 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
14965 (_morecore_r): Delete SBRK_IS_ALLOC support.
14967 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14969 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
14970 module rather than touch, so we don't get warning messages when
14971 all of the libraries are combined into libc.a.
14973 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
14975 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
14976 crt0.s replaced by version in libgloss.
14978 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14980 * libc/reent/Makefile.in (OFILES): Add impure.o.
14981 * libc/reent/impure.o: New file, define initial reentrancy struct.
14982 * libc/reent/reent.c: Remove above definition.
14984 * libm/math/sf_asinh.c: Fix typo.
14986 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
14989 * libm/libm.texinfo: Change documentation to reflect changes
14990 in reentrancy model.
14991 * libm/math/w_gamma.c: Likewise.
14993 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
14995 * configure.in (*-*-cygwin32): New.
14996 (*-*-win32): Deleted.
14997 * libc/sys/win32 renamed libc/sys/cygwin32.
14999 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15001 * libc/include/sys/file.h: New include file.
15003 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
15005 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
15007 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
15009 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
15011 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15013 * doc/makedoc.c (realloc): Declare at file scope.
15014 (catchar): Not here.
15016 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
15018 * Makefile.in (VERSION): Update to 1.7.0.
15019 * {libc,libm}/Makefile.in (VERSION): Likewise.
15020 * configure.in: Minor clean up of multilib stuff.
15022 From David Johnson <davidj@ICSI.Berkeley.EDU>
15023 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
15025 * libc/stdlib/environ.c: New file.
15026 * libc/stdlib/Makefile.in (OFILES): Build it.
15027 * libc/sys/h8500hms/crt0.c (environ): Deleted.
15028 * libc/sys/m88kbug/crt0.c (environ): Deleted.
15029 * libc/sys/z8ksim/crt0.c (environ): Deleted.
15030 * libc/sys/netware/environ.c: Deleted.
15032 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15034 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15036 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15038 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15039 declaration out to external scope and declare it PTR, not char *.
15041 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15043 * libc/include/sys/unistd.h (getpagesize): New declaration.
15044 (_SC_PAGESIZE): New definition.
15045 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15046 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15048 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15050 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
15051 addressing. System call returns size, not (last address + 1).
15053 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15055 * libm/math/*.c: Removed _foo_r() reentrancy API.
15056 * libc/include/math.h: Removed _foo_r prototypes and macros.
15058 * libm/math/*.c: On systems with IEEE single precision "doubles"
15059 move foo() -> foof() wrapper code from the files that implement
15060 the standard IEEE double precision functions to the files that
15061 implement IEEE single precision functions. (ie. On those systems
15062 sin is moved from s_sin.c to sf_sin.c). There should eventually
15063 be use of a C extension (like gcc's alias attribute) so that the
15064 wrappers are not needed at all.
15066 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
15067 strict NEC V810 compiler.
15068 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
15071 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15073 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
15074 from NetBSD C library.
15075 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15077 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
15078 and adapted from implementation I wrote for NetBSD C library.
15079 The difference is __assert doesn't take a format argument,
15080 so that there won't be multiple copies of the same string
15081 constant in the executable if assertions are enabled in
15082 more than one source module.
15083 * libc/include/assert.h (assert): Changed to call __assert.
15085 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15087 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15088 word1 on systems with 32 bit doubles.
15089 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15090 so that we can do arithmetic on them.
15091 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
15094 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15096 * libc/sys/arm/crt0.S: Zero bss.
15098 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15100 * libc/include/unctrl.h: New file.
15101 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15102 * configure.in (subdirs): Add libc/misc.
15103 * libc/Makefile.in (SUBDIRS): Add misc.
15104 (SUBLIBS): Add misc/lib.a.
15106 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15108 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15110 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15111 (_vfprintf_r): Call CHECK_INIT.
15113 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15115 * Makefile.in (MULTITOP): Delete.
15116 (MULTISRCTOP, MULTIBUILDTOP): Add.
15117 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
15118 instead of cfg-ml-pos.in.
15120 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15122 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
15123 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
15126 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15128 * libc/string/strtok.c: Include string.h to pick up strtok_r
15131 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15133 * libc/string/strtok.c: include <_ansi.h>.
15134 * libc/time/asctime_r.c: `reresult' -> `result'.
15136 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15138 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
15139 in #ifndef _REENT_ONLY ... #endif conditional.
15141 * libc/include/string.h (_strtok_r): Remove declaration.
15142 * libc/include/time.h (_asctime_r): Remove declaration.
15143 * libc/string/strtok.c (_strtok_r): Removed.
15144 * libc/time/asctime.c (_asctime_r): Removed.
15146 * libc/string/Makefile.in (OFILES): Add new object.
15147 * libc/string/strtok_r.c: New file. strtok_r function as
15148 specified by POSIX.1c, adapted from strtok implementation
15149 from NetBSD C library.
15150 * libc/string/strtok.c (strtok): Reimplemented in terms of
15153 * libc/time/Makefile.in (OFILES): Add new objects.
15154 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
15155 New files, reentrant time functions specified by POSIX.1c.
15156 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
15157 reentrant time functions re-written in terms of reentrant
15159 * libc/time/lcltime.c: Renamed from localtime.c
15161 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
15162 gmtime_r, and localtime_r.
15164 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
15166 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
15167 * libc/include/sys/unistd.h (getlogin): Revert change of
15169 * libc/include/sys/signal.h (sigprocmask): Change prototype
15170 so it compiles with c++.
15172 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
15174 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
15175 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
15176 to give some room in case we need to align the jmp_buf.
15178 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
15179 the new ppc-asm.h include file the compiler provides to specify
15180 function prologue/epilogue. Eliminate saves of the xer and ctr
15181 registers, which are volatile. Before starting to save registers,
15182 align to 8 byte boundary.
15184 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15186 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
15187 referenced by standard libraries.
15189 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
15191 * libc/unix/Makefile.in, libc/string/Makefile.in,
15192 libc/stdio/Makefile.in, libc/reent/Makefile.in,
15193 libc/posix/Makefile.in:
15194 Remove tabs from otherwise empty line. Confuses some
15195 older non-GNU versions of "make".
15197 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
15199 * libc/sys/unistd.h (getlogin): Returns const char *.
15201 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
15203 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
15204 * libc/include/errno.h: Moved into and include...
15205 * libc/include/sys/errno.h: New file.
15206 * libc/include/sys/wait.h: New file.
15207 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
15208 * libc/sys/win32/*: Moved out.
15209 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
15210 * configure.in (i[345]86-*-win32): HAVE_RENAME
15212 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
15214 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
15215 avoid macro expansion for these two names.
15217 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
15219 * libc/machine/h8500/psi.S: r6 renamed to fp.
15221 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15223 * configure.in (powerpc*): No longer need to define
15224 NO_LONGLONG_POINTERS to supress warnings.
15226 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15228 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
15229 through PTR instead of directly.
15231 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
15232 non-standard constructor support.
15234 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15236 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
15237 address of the Bigint instead of the address of its _x field,
15238 as the size the result buffer was calculated accordingly.
15239 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
15241 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
15242 from NetBSD C library. No longer special cases division by
15243 zero (which needs to be done by the application anyway), but
15244 it doesn't need to call abs() (or labs()) four times either.
15246 * libc/stdlib/qsort.c: Replaced with implementation from
15249 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15251 * libc/stdio/vfprintf.c: Replaced with implementation from
15252 NetBSD C library (which is derived from the 4.4BSD C library).
15253 * libc/stdio/cvt.c: Removed.
15254 * libc/stdio/Makefile: Updated.
15256 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
15258 * libc/sys/win32/syscalls.c (rename): New.
15259 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
15261 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15263 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
15264 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
15266 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
15267 (setjmp.o): Delete rule to build setjmp.o.
15268 * libc/sys/sh/setjmp.S: Delete file.
15270 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15272 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
15273 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
15274 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
15275 pow5mult and s2b to identifiers with leading underscores.
15276 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
15277 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
15279 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
15281 * libc/sys/posix/popen.c (sys/types.h): Include.
15283 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
15285 * libc/sys/win32/syscalls.h (fhandler): New struct.
15286 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
15287 (__fhandler_normal): Declare.
15288 (hinfo): New member op_handlers.
15289 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
15290 (__write): Likewise.
15291 (_read, _write, _open, _close, _lseek): Validate fd here.
15292 Move file type specific stuff to foo_normal.
15293 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
15295 (__lookup_fhandler): New function.
15296 (__lookup_fhandler_hook, __fhandler_normal): New variables.
15298 From anders.blomdell@control.lth.se (Anders Blomdell)
15299 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
15300 Don't touch standard handles.
15301 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
15302 (_execve): Only create __FD_TABLE__ if necessary.
15303 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
15305 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
15307 * libc/sys/win32/sys/termios.h (FLUSHO): New.
15308 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
15309 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
15310 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
15311 without a handler is received.
15312 * libc/sys/win32/Makefile.in: Remove --nodelete.
15313 * libc/sys/win32/resouce.c (gettimeofday): New.
15314 * libc/sys/win32/syscalls.c (path_to_real_path): New.
15315 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
15317 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
15319 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
15320 Don't append "/*" to search pattern if trailing '/' already there,
15322 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
15323 like /'s, convert them to \'s. Handle //<drive>/ path names.
15324 Add space for quoted \'s in arg string. Print translated prog name
15325 and original prog name.
15326 (_execve): Handle parent doing exec a teensy bit better.
15327 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
15328 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
15329 path needs conversion, handle both cases. Delete `const' from result.
15330 (hash_path_name): New function.
15332 (_stat): Likewise. Fill in more fields for directories.
15333 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
15334 (wait_for_any): Fix trace message.
15335 (waitpid): Explicitly test for intpid == 0.
15337 From anders.blomdell@control.lth.se (Anders Blomdell)
15338 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
15339 so `next' is valid.
15341 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
15343 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
15346 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15348 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
15349 at all, not just == 1.
15350 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
15352 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15354 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
15355 * libc/sys/win32/include/wintypes.h: include <winnt.h>
15356 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
15359 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15361 * libc/sys/syscalls.c (getcwd): Fix off by one error.
15363 * libc/sys/signal.c (sleep): Fill it in.
15364 * libc/sys/termios.c (tcflush): Use PurgeComm
15365 (tcsetattr): Set some more of the bits.
15366 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
15368 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
15370 * libc/sys/arm/crt0.S (fp): Initialize to 0.
15371 Conditionally include .idata$3 stuff ifdef __pe__.
15373 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15375 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
15376 * libc/sys/win32/pipe.c (pipe): Ditto.
15377 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
15378 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
15379 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
15380 (tcgetattr): Contents are new.
15381 * libc/sys/win32/include/winkernel.h (DCB): New.
15382 (GetCommState, SetCommState): New.
15384 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
15386 * libc/sys/arm/crt0.S (_start): Define.
15388 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
15390 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
15391 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
15393 * libc/sys/win32/sysconf.c: New
15394 * libc/sys/win32/sys/winadvapi.h: New
15395 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
15396 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
15397 * libc/sys/win32/pipe.c (pipe): Ditto.
15398 * libc/sys/win32/signal.c (_raise): New.
15399 (_kill): Moved from spawn.c
15400 * libc/sys/win32/spawn.c (kill): Moved to signal.c
15401 * libc/sys/win32/syscalls.c (__read): Use new fields.
15403 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
15404 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
15405 * libc/include/sys/unistd.h (rmdir): Takes const path.
15406 * libc/include/sys/stat.h (mkdir): Takes const path.
15407 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
15409 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
15411 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
15413 Add support for specifying paths as //<drive>/foo/bar.
15414 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
15415 (__path_to_real_path): Declare.
15416 (PATH_TO_REAL_PATH): New macro.
15417 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
15418 (__path_needs_conversion_p, __path_to_real_path): New functions.
15419 (_open): Fix test for error return from CreateFileA.
15420 Handle new path syntax.
15421 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15422 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15424 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15426 * libc/sys/win32/include/*.h: Reorganized
15427 * libc/sys/win32/include/WINREADME: New.
15428 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15429 * libc/sys/win32/*.c: Fix for new include scheme.
15430 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15431 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15432 * libc/sys/win32/passwd.c (*): Fix.
15433 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15434 (_stat): Get directory owner and permissions right.
15435 * libc/sys/win32/syscalls.h (uinfo): New.
15436 * libc/sys/win32/version.def: Remove leading underscores.
15438 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15440 * libc/sys/win32/key.c: include "include/wincon.h".
15442 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15444 * libc/sys/win32/{key, stubs}.c: New.
15445 * libc/sys/win32/Makefile: Adjust to cope.
15446 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15447 (environ_init): Change env names to upper case.
15448 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15449 * libc/sys/win32/passwd.c (*): Fill in the functions.
15450 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15451 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15452 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15453 (_open): Initialze hmap->execable_p too.
15454 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15455 (_fstat): Fill in permissions.
15456 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15458 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15460 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15462 (cfg-ml-pos.in invocation): Likewise.
15464 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15466 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15467 s_isnan.o and sf_isnan.o.
15469 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15471 * All Makefile.in files: added maintainer-clean target as a
15472 synonym for realclean.
15474 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15476 * libc/include/machine/setjmp.h: Add hppa support.
15477 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15479 * libc/machine/hppa/Makefile.in: Related changes.
15481 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15483 * configure.in (machine_dir): Don't set for v810-*-*.
15485 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15487 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15488 conventions correctly.
15490 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15492 * libc/stdio/puts.c: Update documentation of return value to match
15495 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15497 Fix file descriptor inheritance.
15498 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15499 (NOT_OPEN_FD): Fix.
15500 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15501 close-on-exec flag not set. Initialize child's entire fd table.
15502 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15504 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15505 if CHILD_P. Initialize entire hmap entry.
15506 (dup): Only create new handle as inheritable if CHILD_P.
15507 (dup2): Likewise. Properly initialize hmap entry.
15509 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15511 (_exit): Use CHILD_P.
15512 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15515 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15517 * libc/sys/win32/crt0.c (passover): fix up the state table.
15518 * libc/posix/popen.c: Added.
15519 * libc/posix/Makefile.in: compile popen.c.
15521 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15523 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15524 h8/500 define _DOUBLE_IS_32BITS.
15526 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15528 Get vfork/exec/spawn/cwait/wait working again.
15529 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15530 (procinfo): New member vfork_level.
15531 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15532 (vfork_init_first): Use GetCurrentProcessId to get pid.
15533 Initialize vfork_level.
15534 (vfork_init): Delete __PID__.
15535 (environ_init): New function. Undo patch of Aug 19, Posix says
15536 environment variables are case sensitive.
15537 (mainCRTStartup): Call it.
15538 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15539 (my_longjump: Make static.
15540 (_spawn): New argument `h'. Delete setting of __PID__.
15541 Delete local `idx'. Look for chars that need quotes, rather than
15542 ones that don't. Set handle of created process in `h'.
15543 Result is process id if created task.
15544 (allocate_spawn_entry): New function.
15545 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15546 (_execve): Set __FD_TABLE__ before spawning child.
15547 Scan our fd table when passing fds, not our parent's.
15548 Store handle and pid in procinfo entry.
15549 (vfork0): Ensure strace message always printed.
15550 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15551 (vfork): Don't clobber result of vfork0.
15552 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15553 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15555 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15557 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15558 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
15559 adding vfork level to pseudo-pid.
15560 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15561 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15562 (_exit): If child, set exit code.
15563 (__vfork_record_death): Only close process handle if valid.
15564 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15566 (wait_for_any): Likewise. Start scan after root entry.
15568 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15570 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15571 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15572 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15573 of actual file length.
15575 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15576 * libc/include/paths.h: _PATH_BSHELL added.
15577 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15580 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15582 * libc/include/ar.h: Added.
15583 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15584 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15585 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15587 (_fstat): use .namehash for inode number of the fd.
15589 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15591 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15592 Change hinfo to __this_procinfo.
15593 * libc/sys/win32/crt0.c: Remove procinfo_list.
15595 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15597 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15600 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15602 * libc/sys/win32/include/grp.h: Removed.
15603 * libc/sys/include/grp.h: Added.
15604 * libc/sys/win32/grp.c: Include <grp.h>.
15606 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15608 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15609 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15610 Defined for all but strict ANSI.
15611 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15612 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15613 * libc/signal/signal.c (_signal_r): Changed from using
15614 _MAX_SIGNALS to NSIG.
15615 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15617 (__strace, __vfork_next_pid): New.
15618 (__exe_suffix): Default to 1.
15619 (passover, table): Understand quoted arguments.
15620 (vfork_init_first): New.
15621 (vfork_init): Initialize new process structure.
15622 (mainCRTStartup): Pass environ to main.
15623 * exceptions.c (__sig_mask): New
15624 (ehandler3): Ignore signals in mask.
15625 (really_exit): Remove CHILD_P test.
15626 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15627 * resource.c (getrusage): Ditto.
15628 * signal.c (sigprocmask): New.
15629 * spawn.c (*): Rewritten.
15630 * syscalls.c (*): Use new process and file structure.
15631 (find_unused_handle): New.
15632 * syscalls.h (MAX_HANDLES): Deleted.
15633 (hinfo): Removed child_created_p.
15634 (MAX_CHILDREN): Deleted.
15635 (vfork_jmp_info, procinfo): New.
15636 * wait.c (*): Mostly new.
15637 * sys/strace.h (_STRACE_PARANOID): New.
15638 * sys/param.h: New file.
15640 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15642 * libc/include/sys/stat.h: add S_BLKSIZE.
15643 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15644 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15646 (mode_t): add a #else to avoid multiple definitons.
15648 * libc/sys/win32/Makefile.in: add grp.c.
15649 * libc/sys/win32/grp.c: include grp.h correctly.
15650 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15651 of the st structure with real information.
15652 * libc/sys/win32 (dirent): d_ino is of type ino_t.
15654 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15656 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15657 and (maybe) sparc64.
15658 (nlink_t): Provide typedef.
15660 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15662 * libc/sys/win32/grp.c: New file.
15663 * libc/sys/win32/include/grp.h: New file.
15665 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15667 * libc/include/machine/ieeefp.h: Added whitespace to make this
15668 file easier to maintain.
15669 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15670 depending on the value of __LITTLE_ENDIAN__.
15671 On the sh3e, define _DOUBLE_IS_32BITS.
15673 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15675 * libc/sys/vr4300/syscalls.c: Added missing support
15676 routines. _raise() and getpid().
15678 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15680 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15682 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
15684 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
15685 and VR4300 processor.
15686 * libc/sys/vr4300: Add directory.
15687 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
15688 monitor run-time support.
15690 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15692 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
15693 * libc/stdlib/stdlib.tex: Don't include atol.def.
15695 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15697 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
15699 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
15701 * libc/ctype/Makefile.in: Fill in _to* dependencies.
15703 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
15705 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
15706 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
15707 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
15708 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
15709 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
15711 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15713 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
15715 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15717 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15718 * libc/stdlib/atoff.c: New file.
15719 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15720 * libc/stdlib/atoi.c (atol): Removed.
15721 * libc/stdlib/atol.c: Removed duplicate documentation.
15723 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15724 #ifndef _STRICT_ANSI conditional.
15725 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15726 * libc/ctype/_tolower.c: New file.
15727 * libc/ctype/_toupper.c: New file.
15728 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15729 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15730 * libc/ctype/toascii.c (_toascii): Removed.
15732 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15734 * libc/sys/sparc64/sys/types.h: Deleted.
15736 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15738 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
15739 and recognize Windows_95 systems.
15741 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15743 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
15744 and passed fds should be opened in text mode.
15746 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15748 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
15749 in __hmap, set to binary mode by default.
15751 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15753 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
15754 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
15757 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
15759 * Makefile.in (install): Install all libraries found in the
15760 top level. If there's a sys/<type>/include directory,
15761 install those headers into include.
15763 * libc/sys/win32/kernel.def351: Delete
15764 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
15765 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
15766 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
15767 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
15768 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
15769 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
15770 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
15771 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
15773 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
15774 * libc/sys/win32/crt0.c: Force all env names to upper case.
15775 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
15776 * libc/sys/win32/*.c: Headers have moved.
15777 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
15778 __vfork_child_idx is now __vfork_child_ptr.
15780 * posix/execvp (execvp): Don't crash if no PATH envname.
15782 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15784 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
15785 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
15786 through the _freelist instead of through the _reclaim list.
15787 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
15788 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
15791 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15793 * libc/machine/h8500/setjmp.S: New file.
15794 * libc/include/machine/setjmp.h: Updated for H8/500.
15796 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
15798 * libc/sys/win32/syscalls.c (_open): More stracing.
15799 (_stat): Open the file in O_BINARY.
15801 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15803 * libc/machine/h8300/setjmp.S: New file.
15804 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
15806 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
15808 * libc/sys/win32/crt0.c (__exe_suffix): New global.
15809 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
15810 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
15811 __exe_suffix. Free fd_tab after setting env variable.
15812 (spawnv,_execve): Update.
15813 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
15814 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
15815 (__small_vfprintf): New function.
15816 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
15817 * libc/sys/win32/wait.c (cwait): Validate argument.
15819 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
15820 (process_deletion_queue): Likewise.
15822 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
15824 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
15826 * libc/sys/win32: Copyrights and gratuitous indenting.
15828 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
15830 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
15831 (process_deletion_queue): Likewise.
15832 (__close_all_files): New function.
15833 (_close): Only queue file deletion if really a file.
15834 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
15836 (_exit): Call __close_all_files.
15838 * libc/stdlib/system.c: #include <errno.h>.
15839 (_system_r): Fix results in -DNO_EXEC case.
15841 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
15842 Reorganize structure.
15843 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
15844 if argument is valid. Save directory name in DIR. malloc space
15845 for dirent struct separately.
15846 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
15848 * libc/include/errno.h (ENAMETOOLONG): Define.
15849 * libc/string/strerror.c (strerror): Reword ENFILE.
15850 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
15852 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
15854 * libc/sys/win32/crt0.c (__progname): New global.
15855 (mainCRTStartup): Support strace=bitmask,filename.
15856 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
15857 * libc/sys/win32/syscalls.c (_write): Print parent trace message
15859 (getcwd): Handle len too small. Convert '\\' to '/'.
15860 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
15861 Add prototypes for open, creat, fcntl.
15862 (O_APPEND): Change value to conform to Microsoft's value.
15863 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
15865 * libc/stdlib/getopt.c: New file.
15866 * libc/stdlib/Makefile.in: Build it.
15868 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
15870 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
15871 Fix scanning of $PATH.
15872 * libc/posix/exec*.c: Call _execve, not execve.
15873 * libc/posix/execve.c: New file.
15874 * libc/posix/Makefile.in (OFILES): Add execve.o.
15876 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
15877 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
15878 (_STRACE): If level==0, always print. Handle new bit mask scheme.
15879 * libc/sys/win32/crt0.c: Update _STRACE calls.
15880 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
15882 * libc/sys/win32/smallprint.c (rn): Fix digit list.
15884 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
15885 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
15886 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
15887 Print __seterrno trace message first.
15888 (_execve): Renamed from execve.
15889 (vfork): Update __strace usage.
15890 (__vfork_child_pid): Deleted.
15891 (__vfork_children, __vfork_child_idx): New globals.
15892 (_spawnvp): New function.
15893 (spawnvp, spawnv, _execve): Call _spawnvp.
15894 (init_child): Record child in __vfork_children.
15895 (__vfork_get_entry, __vfork_record_death): New functions.
15896 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
15897 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
15898 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
15899 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
15900 (children): New typedef.
15901 (__vfork_children,__vfork_child_idx): Declare.
15902 (__vfork_get_entry,__vfork_record_death): Declare.
15903 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
15904 (waitpid): Handle pid == -1.
15905 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
15906 * configure.in (i386-win32): Add -DNO_FORK.
15907 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
15908 * libc/reent/execr.c (_fork_r): Likewise.
15909 * libc/stdlib/system.c (do_system): New function.
15910 If WIN32, try to get shell path from $SH_PATH, use vfork.
15911 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
15912 otherwise return 0.
15914 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
15916 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
15917 * libc/sys/win32/fcntl.h: Don't include self.
15918 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
15919 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
15920 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
15921 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
15922 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
15923 Correct prototypes.
15924 * libc/sys/win32/strace.c: New file.
15925 * libc/sys/win32/smallprint.c: New file.
15926 * libc/sys/win32/crt0.c (func): Delete.
15927 (mainCRTStartup): Fix alloca usage. Set handles explictly.
15928 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
15929 * libc/sys/win32/exceptions.c: Lint.
15930 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
15931 Clean up handle usage.
15932 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
15933 (open.c): Default file type is text.
15934 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
15935 * libc/sys/win32/advapi32.def: New
15937 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
15939 * configure.in (posix_dir, libc_posix_lib): New variables.
15940 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
15941 (i[345]86-*-win32): Define posix_dir.
15942 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
15943 (if unix_dir): Fix typo.
15944 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
15945 scandir,seekdir,telldir}: New files.
15946 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
15948 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
15949 (SUBDIRS): Add posix.
15950 (SUBLIBS): Add $(LIBC_POSIX_LIB).
15952 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
15953 (NSIG): Increase to 21.
15954 * libc/include/sys/unistd.h (pid_t): Move from here,
15955 * libc/include/sys/types.h (pid_t): to here.
15957 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
15958 (__ptrace): Delete.
15959 (hinfo): New members close_exec_p, child_created_p.
15960 (struct exception_list): Define.
15961 (__hmap): Redefine as pointer to table.
15962 (__parent_hmap, __child_hmap): New globals.
15963 (__set_errno, __really_exit): Declare.
15964 (__vfork_child_pid): Declare.
15965 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
15966 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
15967 (__parent_hmap, __child_hmap): New globals.
15968 (__hmap): Redefine as pointer to active map.
15969 (__get_console): New function.
15970 (mainCRTStartup): Change leading '=' in environ vars to '!'.
15971 (env __FD_TABLE__): Watch for this and initialize our fd/handle
15972 mapping table from it if defined.
15973 (argv, envp): Dump if __strace >= 4.
15975 * libc/sys/win32/exceptions.c (myp): Redefine.
15976 (__syscalls_b): Delete.
15977 (__stack_trace): New function.
15978 (ehandler3): Update to use _STRACE. Print stack trace.
15979 Call __really_exit instead of exit.
15980 (init_exceptions): Delete args argc,argv. New arg mine.
15981 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
15982 FindFirstFileA, FindNextFileA, GetComputerNameA,
15983 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
15984 * libc/sys/win32/signal.c (signal): Validate arg.
15985 (alarm, sleep): Define as stubs for now.
15986 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
15987 (__syscalls_b, errno): Delete.
15988 (__vfork_child_pid, __vfork_jmp_buf): New globals.
15989 (__seterrno): Handle more errors.
15990 (__sys_printf): Renamed from _ptrace.
15991 (__really_exit): New function.
15992 (queue_file_deletion, process_deletion_queue): New functions.
15993 (__resume_parent): New function.
15994 (_unlink): Handle trying to delete open file.
15995 (__totime_t): Renamed from totime_t.
15996 (setsid, __read, __write): New functions.
15997 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
15998 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
15999 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
16000 * libc/sys/win32/console.c: Update to new definition of __hmap.
16001 * libc/sys/win32/Makefile.in: Build new files.
16002 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
16003 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
16004 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
16005 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
16007 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
16009 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
16011 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16013 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
16014 have been made to the master dtoa.c sources (from netlib.att.com)
16015 since they were integrated into newlib in early 1992. Fixes
16016 problems with storage leaks and handling of numbers with very
16017 negative exponents.
16019 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16021 * Makefile.in (all): set rootpre and srcrootpre before calling
16024 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
16026 * libc/sys/win32/crt0.c: Change __hmap usage.
16027 * libc/sys/win32/exceptions.c: Use _ptrace call.
16028 * libc/sys/win32/syscalls.c: Use _ptrace call.
16029 (read, write): Cope with DOS style CRLF when in TEXT mode.
16030 * libc/sys/win32/syscalls.h: Declare hinfo struct.
16031 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
16032 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
16033 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16034 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16036 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16038 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16040 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16041 wrappers for hypot() and remainder() for BSD libm compatibility.
16042 These are public domain implementations written by me for the
16043 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16044 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16045 (fobj): Added wf_cabs.o and wf_drem.o.
16047 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16049 * libc/sys/h8500hms/misc.c: New file.
16050 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16052 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16054 * libc/time/localtime.c (localtime): Fix problem with leap year
16055 handling. Stole algorithm from Arthur David Olson's tz code.
16057 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16059 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16061 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16062 (_exit): Use argument.
16064 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16066 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16068 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16070 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16072 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16074 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16077 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16079 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16080 ptrace with case insensitivity
16081 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
16082 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
16085 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16087 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16088 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16089 (all, install, *clean): Use new multilib support.
16090 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16092 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16094 * libc/include/sys/signal.h (__WIN32__): New.
16096 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16098 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16099 (ulp, b2d): Handle 32 bit doubles.
16100 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16101 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16103 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16105 from medp@primag.co.uk:
16106 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16107 dynamically allocated buffers.
16109 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16111 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16112 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16114 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16116 * configure.in (powerpc): Fix previous fix.
16118 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16120 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
16121 directories for this target.
16123 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16125 * configure.in (hppa): Add machine_dir definition.
16126 * libc/machine/hppa: New directory with PA specific implementations
16127 of the basic memory/string functions.
16129 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16131 * configure.in: Update current PowerPC multilib directories.
16132 Split big and little endian configurations.
16134 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
16136 * configure.in: Add --enable-single-float option to configure to
16137 control use of MIPS single-float directories. Default to yes.
16139 * Makefile.in (all): Don't recurse into multilib directory if it
16142 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16144 * libc/sys/sh/syscalls.c: Fix typo.
16146 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
16148 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
16150 * libc/include/process.h: Define WAIT_CHILD.
16151 * libc/include/types.h: Get sizes right for win32.
16152 * configure.in (i386-*-pe): Becomes i386-win32.
16153 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16154 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
16155 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
16158 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
16160 * configure.in (i[345]86-*-pe): New target (NT).
16161 * host/any: DLLTOOL new.
16162 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16163 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
16164 WIN32 (just enough to cross host the comp-tools).
16166 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
16168 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
16169 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
16171 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
16173 * libc/include/machine/ieeefp.h (arm): Change to always be
16174 __IEEE_BIG_ENDIAN (even on little endian ARM's).
16176 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
16178 * libc/sys/crt0.S: Initialze sp, and call exit after main.
16179 * libc/sys/syscalls.c (abort): New.
16180 * configure.in (arm): Define ABORT_PROVIDED.
16182 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16184 * configure.in (powerpc): Define multidirs.
16186 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
16188 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
16190 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
16192 * configure.in (sparclite): Delete target_cflags. Define multidirs.
16194 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
16196 * configure.in, libc/include/machine/ieeefp.h: Modified
16198 libc/machine/arm/*, libc/sys/arm/*: New
16200 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16202 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
16203 __powerpc__ when determining endianness.
16205 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16207 * configure.in (m68*): Add multidir for the m68332.
16209 * host/any (CC): Fix typo in last change.
16211 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
16213 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
16214 when determining endianness.
16215 * libc/include/machine/ieeefp.h: Ditto.
16216 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
16219 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
16221 * libc/include/errno.h (ENOTEMPTY): Define.
16223 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16225 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
16228 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
16231 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
16232 instead of only when open succeeds. ANSI requires that multiple
16233 calls to tmpnam() result in different files.
16235 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
16236 objects pulled in from /lib/libc.a that must be renamed before
16237 being pulled into newlib. /lib/libc.a's div.o conflicted with
16238 newlib's file with the same name.
16240 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
16242 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
16243 the build tree will only be used if the executables are present
16244 (instead of just the Makefiles).
16246 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
16248 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
16249 versions of these functions that I orignally wrote for the
16251 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
16252 versions I wrote for NetBSD.
16254 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
16256 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
16257 * libc/sys/sparclite/crt0.s: ditto.
16259 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
16261 * configure.in: Add soft-float for proelf.
16263 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
16265 * libc/stdlib/mprec.h (Bcopy): Copy the right number
16268 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
16270 * Makefile.in (all): Depend on `force'.
16271 * configure.in (syscall_dir): Renamed from fake_sys_dir.
16272 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
16273 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
16274 * libc/Makefile.in: Likewise.
16275 * libc/include/reent.h: Update syscall references.
16276 (_fcntl_r): Add prototype.
16277 * libc/syscalls/*.c #include <reent.h>.
16278 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
16280 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
16282 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
16283 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
16284 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
16285 (time.h, sys/types.h): Always include (even if MSDOS).
16286 (stat): Fix prototype.
16288 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
16290 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
16292 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16294 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
16296 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
16298 * libc/include/regdef.h: New file.
16299 * libc/machine/mips/machine/regdef.h: New file.
16301 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
16303 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
16305 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
16307 * libc/sys/sh/crt0.S: Pass main's return to exit.
16308 * libc/sys/sh/trap.S: Put errno in the right place.
16310 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16312 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
16313 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
16314 * libm/math/ef_rem_pio2.c: Likewise.
16315 * libm/math/e_log10.c: Remove unused static one.
16316 * libm/math/ef_log10.c: Likewise.
16317 * libm/math/s_frexp.c: Likewise.
16318 * libm/math/sf_frexp.c: Likewise.
16320 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
16322 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
16323 longjmp.S: Upgraded.
16324 * libc/sys/go32/sys/setjmp.h: Upgraded.
16325 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
16327 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16329 * configure.in: Add many entries to multidirs for mips targets.
16331 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16333 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
16334 5.2 which fixes bug where jn(-1,x) is three times larger than
16336 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
16338 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
16340 * libc/sys/w65/sys/syscalls.h: New file
16341 * libc/include/machine/ieeefp.h: W65 support.
16342 * libc/include/sys/config.h: Ditto.
16343 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
16344 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
16345 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
16347 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16349 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
16351 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
16353 * Makefile.in, configure.in: Remove any references to the old
16356 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16358 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
16359 uses ... in prototype.
16362 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
16364 * libc/sys/a29khif/sys/libconfig.h: Remove.
16365 * libc/sys/go32/sys/libconfig.h: Remove.
16366 * libc/sys/sun4/sys/libconfig.h: Remove.
16367 * libc/sys/sysvi386/sys/libconfig.h: Remove.
16368 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
16369 * libc/sys/sparc64/sys/libconfig.h: Remove.
16371 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
16372 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
16373 * libc/include/math.h: Change all uses of _FLOAT_RET and
16374 _FLOAT_ARG to float.
16375 * libm/test/math.c: Likewise.
16376 * testsuite/libm.sac/math.c: Likewise.
16377 * testsuite/libm.sac/working/math.c: Likewise.
16379 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16381 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
16382 gcc calls gas with endian option.
16383 * configure.in (sh): Build little endian version too.
16385 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16387 * configure.in: Configure big and little endian versions for MIPS
16390 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
16392 * libc/include/limits.h: Deleted.
16393 * libc/include/machine/limits.h: Deleted.
16395 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
16397 * ChangeLog: Remove stub directory. This has all been rewritten
16398 and moved to devo/libgloss.
16400 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16402 * Makefile.in (dvi): Add to info target, use $@ in sub make.
16403 (docs): Merge into info target.
16404 * libm/Makefile.in (dvi): Add $(srcdir).
16405 * libm/math/Makefile.in (chobjs): Remove underscores from file
16406 names. Texinfo doesn't like them.
16407 (wacos.def, ...): Add explicit targets for all .def files.
16408 * libm/math/math.tex: Remove underscores from @include file names.
16409 * doc/Makefile.in (dvi): Add dummy target.
16410 * testsuite/Makefile.in (dvi): Add dummy target.
16412 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
16414 * Makefile.in (VERSION): Define. For net newlib releases.
16416 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
16418 * README: New file.
16420 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16422 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16424 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16426 * libc/stdlib/setenv.c (_findenv): Declare.
16428 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16429 fcntl to not use _EXFUN, and change string parameters to open and
16430 creat to be ``const char *''.
16431 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16432 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16433 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16434 (open) Make _FILE const.
16435 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16436 (_creat): Make PATH const.
16437 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16438 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16439 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16440 * libc/sys/sh/syscalls.c (_open): Likewise.
16441 * stub/shared/glue.c (open): Make BUF const.
16442 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16444 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16446 * libc/include/errno.h: Add ENMFILE
16447 * libc/include/sys/config.h: Support Z8000.
16448 * libc/include/sys/signal.h: New signals for go32.
16449 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16450 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16451 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16452 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16453 size is variable, depending upon CHUNK_POWER.
16454 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16456 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16458 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16460 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16462 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16464 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16466 * configure.in: Change i[34]86 to i[345]86.
16468 * libc/include/math.h: Don't define HUGE_VAL if it is already
16471 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16473 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16474 * testsuite/libm.sac/test_gammaf.c: Likewise.
16475 * testsuite/libm.sac/test_sin.c: Likewise.
16476 * testsuite/libm.sac/test_tanh.c: Likewise.
16478 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16480 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16481 already set. Define typedefs __int32_t and __uint32_t.
16482 * libc/include/math.h: Include <machine/ieeefp.h>.
16483 (union __dmath): Use __uint32_t.
16484 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16485 instead of int and unsigned int.
16487 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16489 Replace the math library with the SunPRO fdlibm package.
16490 * libm/math: Completely changed all files.
16491 * libm/ieeefp: Remove contents and directory.
16492 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16493 (SUBDIRS): Just set to math/lib.a.
16494 * libm/libm.texinfo: Updated for new library.
16495 * libc/include/math.h: Extensive changes for new math library.
16496 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16497 from _FLOAT_ARG to float.
16498 (maxpowtwo, maxpowtwof): Don't declare.
16499 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16500 (libm_fp_lib): Removed.
16501 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16502 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16503 argument to ${RUNTEST}.
16504 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16506 (RUNTESTFLAGS): Set CC and CFLAGS.
16507 (TESTS): Remove test_log2 and test_log2f.
16508 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16509 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16510 _FLOAT_ARG, for single precision argument type.
16511 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16512 expected failure. Close the input pipe.
16513 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16514 Correct misspelling of inaccurate.
16515 (test_mok): Use ``inaccurate'', not ``wrong''.
16516 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16517 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16518 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16519 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16520 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16521 test_yn.c): Correct many result values. Many are still wrong.
16523 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16524 just copy the string.
16525 (_gcvt): Always return the buffer.
16527 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16529 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16531 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16533 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16535 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16536 (_reclaim_reent): declare new entry point.
16537 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16540 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16541 ever allocated, so that we can later reclaim them all.
16542 (pow5mult): make reentrant.
16544 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16545 so that when given NULL as a buffer, return a pointer to static
16546 space in the rent structure. This is not documented behaviour;
16547 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16548 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16549 therefore become reentrant).
16551 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16553 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16555 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16557 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16559 * Makefile.in: Make link to libg.a after libc.a; this is needed
16560 for the testsuites to build executables when everything comes
16563 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16565 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16566 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16568 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16570 * libc/include/stdio.h: Use __VALIST, not va_list.
16572 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16574 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16575 testsuite/libm.sac/execute.exp:
16576 Replace error proc calls with perror calls.
16578 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16580 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16581 * libc/include/time.h: #define NULL as 0L.
16583 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16585 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16588 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16590 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16593 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16595 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16596 (z8k-*-*): Use syscalls fake sys dir.
16597 * libc/sys/z8k/glue.c: Rename syscalls.
16598 * libc/sys/go32/Makefile.in: Use new routines.
16599 * libc/machine/Makefile.in: Fix typo in ln stuff.
16601 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16603 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16604 * libc/Makefile.in (crt0.o): Likewise.
16605 * libc/machine/Makefile.in (lib.a): Likewise.
16606 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16608 All Makefile.in files: Added mostlyclean, realclean and distclean
16611 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16612 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16613 the top level Makefile.
16615 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16617 * libc/sys/sparc64/sys/stat.h: New file.
16618 * libc/sys/sparc64/sys/time.h: New file.
16619 * libc/sys/sparc64/sys/types.h: New file.
16621 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16623 * stub/ex93x/crt0.s (start): Add code to clear bss.
16625 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16627 * libc/include/sys/types.h (time_t): Properly protect inside
16628 #ifndef __time_t_defined.
16630 * libc/stdio/fileno.c: New file.
16631 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16632 (fileno.o): Add dependency.
16633 * libc/include/stdio.h (__sgetc): Rename never to _never.
16634 (fileno macro): Disable, needs to do CHECK_INIT first.
16636 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16638 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
16641 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16642 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16644 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16647 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16649 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16650 of the various constants.
16652 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16654 * libc/include/math.h: #ifndef __math_68881 around things which
16655 conflict with the (gcc-provided) inline functions in
16656 gcc/ginclude/math-68881.h.
16658 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16660 * libc/include/_syslist.h (_gettimeofday): Define.
16662 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16663 (struct tms, timeval, timezone): Declare.
16664 (_gettimeofday_r, _times_r): Declare.
16665 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16666 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16667 (time_t): Add multiple definition protection, __time_t_defined.
16668 * libc/include/sys/time.h: Don't #include <time.h>.
16669 Always define struct timezone (remove #ifndef _TIME_H_).
16670 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16671 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16672 * libc/reent/Makefile.in (OFILES): Add timer.o.
16673 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16674 * libc/reent/timer.c: New file.
16675 * libc/time/clock.c: #include <reent.h>.
16676 (clock): Call _times_r instead of times.
16677 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16678 HAVE_GET_TIME_OF_DAY.
16679 Add comment regarding supporting OS routine(s) required (for docs).
16680 #include <reent.h>.
16681 (time): Call _gettimeofday_r instead of gettimeofday.
16682 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
16683 * libc/time/ctime.c: Ditto.
16684 * libc/time/strftime.c: Ditto.
16685 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
16686 (TEMPLATE_SFILES_R): Define here. Also define times.
16687 Add times_r.o/times.S dependence.
16688 (time2.c, junk.c): Deleted.
16689 * libc/sys/sparc64/time2.c: Deleted.
16690 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
16692 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
16693 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
16694 * libc/sys/sparc64/junk.c: Deleted.
16696 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
16698 * libc/sys/sparc64/Makefile.in: Add times syscall.
16699 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
16700 be used with and without it. Add comment clarifying Medium/Anywhere
16701 model requirements.
16702 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
16703 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
16706 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
16708 * configure.in (target_cflags): Move init.
16709 (sparc64-*-*): Define HAVE_BLKSIZE.
16711 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
16713 * libc/include/sys/_types.h: New file.
16714 * libc/include/reent.h: #include it.
16715 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16716 MISSING_SYSCALL_NAMES.
16718 * libc/include/_syslist.h: Remove _raise.
16719 * libc/reent/signalr.c: New file.
16720 * libc/reent/Makefile.in: Compile it.
16721 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16722 Add doc for raise and _raise_r.
16723 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16724 (raise): Call _raise_r.
16725 (_raise_r): Call _getpid_r and _kill_r.
16726 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16727 (abort): Loop forever calling raise and _exit.
16729 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16731 * configure.in: Remove extraneous echo.
16733 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16735 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
16736 collision with unistd.h, and fix for svr4.
16738 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
16740 * libc/stdio/local.h (_llicvt): Declare.
16741 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
16742 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
16744 (_sicvt): Fix function header (`value' is short).
16745 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
16746 Add printing of long long's support.
16747 Add printing of 8 byte pointer support.
16749 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
16751 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
16752 stat, chmod): New hooks.
16753 (sbrk): Abort if stack and heap collide.
16754 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
16755 shortcut when given small args.
16756 * libc/machine/sh/setjmp.s: Rewritten.
16757 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
16758 of cmp/str instruction.
16760 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16762 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
16763 and machine_dir powerpc.
16764 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
16765 Add cases for __powerpc__.
16766 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
16769 * libc/include/stdio.h (_iprintf_r): Declare correctly.
16771 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
16773 * libc/stdlib/callocr.c: New file with _calloc_r in it.
16774 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
16776 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
16778 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
16779 (print_e): More comments to describe args, etc.
16780 "type" arg may now be 'g' or 'G' for %g/G format --> remove
16782 (_gcvt): Remove locals decpt, sign, end, p, done.
16783 More comments for print_e invocation.
16784 Pass "type" to print_e as is (g/G).
16786 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
16788 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
16791 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
16793 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
16794 works with any sized pointer, including ones bigger than ints and
16797 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
16799 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
16801 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16803 * libc/include/stdlib.h (_calloc_r): Add prototype.
16804 * libc/machine/h8500/negsi2.c: New file.
16805 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
16806 large unsigned numbers.
16807 * libc/machine/h8500/cmpsi.c: Add cmppsi.
16808 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
16809 works when sizeof(size_t) != sizeof(char *).
16810 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
16812 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
16814 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
16816 * libc/include/assert.h (assert): Handle -traditional.
16818 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
16820 * Makefile.in: added ; after every "fi" and "done" that wasn't at
16821 the end of a line (ie. anything before a backslash continuation)
16822 so that bash handles them.
16824 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16826 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
16829 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
16831 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
16832 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
16833 libc/machine/sh/udivsi3.s: Use new calling convention.
16835 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
16837 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
16838 chmod, access, chdir, chown by making _path const. Also fix _amode
16841 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
16843 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
16844 _khif_tmpnam, because it doesn't comply with ANSI but may be
16845 useful anyway. Real tmpnam was already in libc/stdio, and was
16846 colliding with this one (pr 2176.)
16847 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
16848 the wrong idea anyhow.
16850 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
16852 * configure.in: Remove h8300h, we have multilib now.
16854 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
16856 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
16857 functions, to get preference over the ones in libiberty (since we
16858 provide correct declarations in <string.h>.
16859 * libc/string/Makefile.in: add support for strncasecmp,
16862 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
16864 * Change netware config not to look for cpu explicitly.
16866 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
16868 * libc/sys/sparc64/{creat.c,junk.c}: New files.
16869 * libc/sys/sparc64/Makefile.in: Add dependencies.
16871 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
16873 * configure.in: Clean up v9 a bit, new "os" aoutv8.
16875 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
16877 * libc/include/sys/reent.h: make structure smaller by allocating
16878 some stuff when needed.
16879 * libc/signal/signal.c: allocate as needed
16880 * libc/stdio/findfp.c,stdio/local.h: ditto
16881 * libc/stdlib/mprec.c: ditto
16883 * libc/time/localtime.c: don't return a dangling stack ptr.
16885 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
16887 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
16889 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16891 * libc/include/stdio.h (__sputc): comment out static inline which
16892 confuses coff toolchains.
16894 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
16896 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
16897 _write.s, getpid.c, kill.c, read.s}:
16898 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
16899 through the syscalls directory.
16901 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
16903 * configure.in: fixed double quote gotcha.
16905 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
16907 * stub/ex931: stub library for sparclite board.
16908 * stub/idp: Renamed from mc68ec. Added contructor table
16909 stuff to linker script.
16910 * stub/mvme135: Renamed from m68kmvme. Added contructor table
16911 stuff to linker script.
16913 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16915 * configure.in: Configure testsuites only if they exist.
16917 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16919 * configure.in: Don't set machine_dir for i386 until there is
16920 something in libc/machine/i386 to compile. For i[34]86-*-netware*
16921 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
16922 CLOCK_PROVIDED and MALLOC_PROVIDED.
16924 * libc/sys/netware: New directory. Contains simplistic and
16925 probably incorrect stubs for NetWare. Should be enough to load
16927 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
16928 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
16931 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
16932 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
16933 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
16934 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
16936 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
16938 * testsuite/Makefile.in: add "docs" dummy target for consistency
16939 with rest of newlib; turn "info" and "install-info" into dummy
16940 targets, since they wouldn't have worked. (Depended on
16941 nonexistent "doc" subdir.)
16943 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16945 * configure.in: handle mips* instead of mips
16947 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
16949 * libc/include/sys/dirent.h: New file. If it is not overridden by
16950 a version of libc/sys/*/sys/dirent.h, it includes the next
16951 <dirent.h> file in case there is one lurking somewhere.
16953 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16955 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
16956 compliance, namely: Accept a minus sign. Consider a single 0 with
16957 a radix of 0 as being a conversion. Determine overflow correctly.
16958 If an overflow occurs, set *ptr to the end of the number, not the
16960 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
16962 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
16964 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
16966 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
16968 * Makefile.in (INSTALL): Use $srcrootpre.
16969 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
16971 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
16973 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
16974 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
16975 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
16976 * libm/math/Makefile.in (matherr.o): Ditto.
16978 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16980 * configure.in: Build multidirs for z8k.
16981 * libc/include/stdlib.h (_strtoul_r): add prototype.
16982 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
16983 * libc/include/machine/setjmp.h: Add for z8k.
16984 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
16985 * libc/sys/z8ksim/glue.c: tidy up.
16987 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
16989 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
16990 New files. Requires execve system call.
16991 * libc/unix/Makefile.in: Use them.
16992 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
16993 Deleted, moved to libc/unix.
16994 * libc/sys/sparc64/Makefile.in: Remove them.
16996 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
16998 * libc/sys/sparc64/{template.S template_r.S}: New files.
16999 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
17001 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
17002 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
17003 umask.S unlink.S wait4.S write.S}: Removed, now built from
17006 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
17008 * libc/time/time.c: #include <_ansi.h>.
17010 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
17012 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
17014 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17016 * configure.in: match m8* rather than m88k so that m88110 is
17017 recognized as well.
17019 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
17021 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
17022 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
17025 * configure.in: Add multilib support to h8300.
17027 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
17029 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
17030 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
17031 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
17033 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17035 * configure.in: Corrected multidirs for sparc target.
17037 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17039 Support for building newlib multiple times with different
17041 * configure.in: Only configure doc at top level. Set multidirs
17042 when appropriate for target, unless not at top level. If
17043 multidirs is set, independently configure each subdirectory.
17044 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17045 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17046 automagically set by configure.in.
17047 (all): If MULTIDIRS is set, build multiple copies of libraries.
17048 (install): If MULTIDIRS is set, install multiple copies of
17049 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17050 MULTISUBDIR is set, don't bother to install header files.
17051 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17053 * stub/configure.in: Set MULTISUBDIR appropriately.
17054 * stub/Makefile.in (install): Install in
17055 $(tooldir)/lib/$(MULTISUBDIR).
17056 * All Makefile.in files: Define SRCTOP as well as TOP.
17058 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17060 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17061 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17063 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17065 * libc/sys/h8300hms/exit.c (_exit): New function.
17067 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17069 * configure.in: recognize m88110.
17071 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17073 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17074 prototype main and call with args.
17076 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17078 First real try at system traps for m88k-bug.
17079 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17080 to real trap calls.
17081 * libc/sys/m88kbug/sys/systraps.h: new file.
17083 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17085 Patches to fix info building when target does not use sys
17087 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17088 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17090 * libc/sys/Makefile.in (doc): do nothing.
17092 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17094 * libc/Makefile.in (CRT0): new macro.
17095 (all): depend on $(CRT0) rather than crt0.o.
17097 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17098 do not default crt0, instead, set crt0 and crt0_dir based on
17099 sys_dir and stub_dir.
17101 * Makefile.in (CRT0_DIR): new macro.
17102 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17103 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17105 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17107 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17109 * testsuite/lib/libm.exp:
17110 added code to support compiling and linking of tests for
17111 libm.sac (paranoia to be added next) and processing the
17112 pass or failure of the tests.
17114 * testsuite/config/unix-libm.exp:
17115 platform specific proc's for dealing with compiler, linker
17116 and the way we execute and process the test results.
17118 * testsuite/libm.sac/execute.exp:
17119 generic framework for the sac tests. the config and lib
17120 expect code for specific platforms tie it all together.
17122 * testsuite/libm.sac/test_is.c:
17123 changed the output of the test to be consistant with the
17124 other tests. parsing of pass nad fail messages is now fixed.
17126 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
17128 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
17129 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
17130 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
17131 #ifdef __cplusplus, surround by extern ""C { ... }.
17132 * libc/include/assert.h: Do *not* protect assert.h against
17133 multiple inclusion! Also, #undef it before #define, to allow
17135 * libc/include/stdio.h (getlogin, cuserid): Removed. These
17136 should be only in unistd.h.
17138 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
17139 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
17142 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
17144 * libc/machine/sparc/Makefile.in: Must create a library, even
17147 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17149 * configure.in: set machine_dir for m88k. edit crt0 definition
17152 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
17154 * libc/Makefile.in (all): also build crt0.o.
17156 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
17157 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
17160 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
17161 (all): reworked to build in place.
17162 (clean): remove lib.a
17163 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
17165 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
17166 (_start): key off edata rather than _start_bss.
17168 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
17170 * libc/include/sys/unistd.h, libc/include/reent.h,
17171 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
17173 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17175 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
17177 * Makefile.in (libc.a): break into two rules, one for libc.a and
17178 one for libc/libc.a. Force subdirs current before rebuilding
17180 (libm.a): break into two rules, one for libm.a and one for
17181 libm/libm.a. Force subdirs current before rebuilding library.
17183 * libc/Makefile.in (SUBLIBS): fix typo.
17185 * libc/sys/Makefile.in (all): force descent into subdirs, then
17186 rebuild library iff out of of date.
17188 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17190 Rework so that library is built and then finished rather than
17191 being built on each invocation of make.
17193 * host/any (machine_dir, sys_dir, signal_dir): these are not
17194 shared and have been moved to their associated Makefile.in's.
17195 (AR_FLAGS): switch to qc which is faster.
17196 * configure.in: no longer assign machine_dir for m88k. set
17197 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
17198 stub_dir set, then add to configdirs. add comment about silly
17200 (configdirs): drop stub. It will be added only
17202 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
17203 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
17204 stub_lib, crt0): new variables for tailoring lower level
17205 makefiles. Assign accordingly and edit into makefiles.
17206 * libm/Makefile.in: updated copyright.
17207 (TARGETLIB): removed.
17208 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
17209 (SUBDIRS): removed TARGETDEP_DIRS.
17210 (LIBM_FP_LIB, SUBLIBS): new macros.
17212 (force): new target to force rebuilds.
17213 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17214 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
17215 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
17216 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
17217 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
17218 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
17219 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
17220 stub/m68kmvme/Makefile.in: updated copyright.
17221 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
17222 (all): reworked. made this the default rule.
17223 (clean): also remove lib.a.
17224 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17225 * stub/Makefile.in: updated copyright.
17226 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
17227 (stub_lib): new macro.
17228 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
17231 (clean, install): assume stub_dir exists.
17232 (Makefile): depend on configure.in. call $(SHELL) rather than
17233 sh. drop redundant ./
17234 * stub/configure.in (stublib): new macro, assign it, edit it into
17236 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
17239 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17240 * libc/Makefile.in (TARGETCRT0): removed.
17241 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
17243 (SUBDIRS): drop TARGETDEP_DIRS.
17244 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
17245 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
17246 (force): new target to force rebuilds.
17247 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
17248 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
17250 (clean): assume sys_dir always exists.
17251 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
17253 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
17254 libc/locale/Makefile.in, libc/machine/Makefile.in,
17255 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
17256 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
17257 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
17258 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
17259 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
17260 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
17261 libc/signal/Makefile.in, libc/stdio/Makefile.in,
17262 libc/stdlib/Makefile.in, libc/string/Makefile.in,
17263 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
17264 libc/time/Makefile.in, libc/unix/Makefile.in,
17265 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
17266 (TARGETLIB): removed.
17268 (clean): also remove lib.a.
17269 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17270 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
17272 (SUBDIRS): moved to follow frag inclusion, change stub to
17274 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
17275 are now set in the libc Makefile.
17276 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
17277 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
17279 (force): new target to force rebuilds.
17280 * stub/configure.in: determine and set stub_lib for for Makefile.
17282 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
17284 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
17285 crt0.s renamed to crt0.S.
17286 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
17288 * libc/machine/h8300/Makefile.in: Make `all' the default target.
17289 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
17291 * libc/machine/h8300/defines.h: Add macros to handle pointers for
17292 h8300 (16 bits) and h8300h (32 bits).
17293 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
17294 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
17296 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
17298 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
17299 implementation of setjmp and longjmp for the m88k.
17300 * libc/include/machine/setjmp.h: Added __m88000__ case.
17302 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
17304 * configure.in: Recognize h8300h as variant of h8300.
17306 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17308 * libc/include/sys/unistd.h (read, write): get prototypes right.
17309 (sbrk): New prototype.
17310 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
17311 * libc/stdio/local.h: Include unistd.h.
17312 * libc/machine/h8300/syscalls.c: Names have changed.
17314 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
17316 * configure.in: add sys_dir assignment for m88k-bug.
17318 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
17320 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
17322 * libc/sys/sparc64: all *.S files: Use new macros.
17323 * libc/sys/sparc64/isatty.c: New file.
17324 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
17325 functions beyond what newlib provides.
17327 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
17329 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
17332 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
17334 * libc/include/machine/ieeefp.h: Add support for h8/300h.
17336 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
17338 * configure.in: add m88k.
17339 * libc/include/machine/ieeefp.h: add case for m88k. Also add
17340 sanity check so no one else need ever chase what I did to find
17343 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
17345 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
17347 * doc/makedoc.c: Include <ctype.h>.
17349 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
17351 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17352 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17353 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17355 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
17357 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
17359 * libc/include/errno.h (ENOSYS): Added.
17361 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
17363 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17365 * libc/stdio/fflush.c (fflush): Check for reent struct
17367 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
17369 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
17371 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
17372 out of dtoa.c so it doesn't pollute the namespace.
17373 * libc/include/_syslist.h: new file -- mappings from _function to
17374 function, for systems where we can't win (by default, all of them,
17375 until we start updating system calls.)
17376 * libc/syscalls: new directory -- stubs for exporting _function
17377 names as unmodified function names.
17378 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
17379 _syslist.h on all platforms by default, but put hooks in for
17380 fake_sys_dir so we can include it when we've renamed the system
17382 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
17383 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
17384 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
17385 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
17386 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
17387 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
17388 non ANSI functions to call _function.
17390 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
17392 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
17393 when base 16 is specified. Don't accept non-digits if radix > 10.
17395 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
17397 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
17399 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17401 * libc/include/sys/stat.h: Surround text after #endif with
17404 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
17406 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
17407 _malloc_r, _realloc_r, and free_r call the corresponding
17408 non-reentrant functions.
17410 * libm/math/modf.c (modf): We now take the address of ipart, so
17411 don't make it a register variable.
17413 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
17415 * libm/math/*: Rename all xxx_r fns to _xxx_r.
17417 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
17419 * libc/libc.texinfo and embedded docn throughout: formatting
17420 improvements, minor rephrasing for clarity, and improved
17423 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17425 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17427 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17428 where sizeof(int) != sizeof(long).
17430 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17432 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17433 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17434 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17435 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17436 libm/math/matherr.c: changes for better docn formatting (info).
17438 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17439 libc/reent/reent.tex, libc/signal/signal.tex,
17440 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17441 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17442 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17443 makeinfo node defaulting to get better Info file node structure.
17444 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17445 Also include a few formerly missing sections (subroutines).
17447 * doc/doc.str: delete fossil expansion for "func"
17449 * default.menu, no-signal.menu: delete.
17451 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17452 method used to adjust doc for missing "signals" chapter when
17453 signal_dir is empty.
17455 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17457 * configure.in: added testsuite/libm.sac
17459 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17461 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17464 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17466 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17467 MAKEOVERRIDES to be empty.
17469 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17471 * configure.in: Don't build mips-*-* with -msoft-float, since that
17472 makes it incompatible with hard floating point.
17474 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17476 * Makefile.in: added recursive 'make check'
17478 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17480 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17481 * ./testsuite/Makefile.in: created
17482 * ./testsuite/libm.paranoia: paranoia tests added
17484 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17486 * configure.in: For mips-*-* set machine_dir to mips.
17488 * libc/machine/mips: New directory.
17489 * libc/machine/mips/Makefile.in: New file.
17490 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17491 setjmp and longjmp.
17492 * libc/include/machine/setjmp.h: Added __mips__ case.
17494 * libc/machine/lmips: Removed unused and useless directory.
17496 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17498 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17500 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17502 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17505 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17507 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17510 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17512 * libm/test/convert.c: structure member errno -> errno_val.
17513 Must include <errno.h> to use errno, it's a macro now.
17514 * libm/test/math.c: Ditto.
17515 * libm/test/math2.c: Include errno.h.
17516 * libm/test/string.c: Ditto.
17517 * libm/test/test.h: structure member errno -> errno_val.
17518 Remove extern int errno decl.
17520 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17522 * libc/stdio/Makefile.in: Added dependencies on local header
17524 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17527 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17529 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17531 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17533 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17536 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17537 * libc/stdio/local.h: Add prototype for _licvt.
17539 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17540 instead of malloc,reealloc.
17542 * libc/stdlib/local.h: New file.
17543 * libc/stdlib/efgcvt.c: #include local.h.
17544 (gcvt): Fix call to _gcvt.
17545 * libc/stdlib/ecvtbuf.c: #include local.h.
17547 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17548 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17549 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17551 * libc/stdlib/atexit.c: moved global data to struct _reent.
17552 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17554 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17556 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17558 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17559 here from ../reent.h.
17561 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17563 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17564 should be provided in both libc.a and libm.a.
17565 (libc.a): Depend on targ-include and libm.a. Copy
17566 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17567 (libm.a): Depend on targ-include.
17568 * configure.in (subdirs): Removed libc/math.
17570 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17572 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17574 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17576 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17577 sys/reent.h instead of reent.h.
17578 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17579 headers moved to sys/reent.h.
17580 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17581 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17582 __need__MAX_SIGNALS defined.
17583 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17584 std{in,out,err} refer to new _std{in,out,err} members.
17586 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17588 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17591 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17593 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17594 rather than whatever macro seterrno() has.
17596 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17598 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17599 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17601 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17604 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17605 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17606 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17608 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17609 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17611 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17612 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17613 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17614 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17615 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17616 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17617 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17618 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17619 for ANSI. structure members given leading "_" for ANSI. Use
17620 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17622 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17623 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17624 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17625 reent_struct renamed to struct _reent for ANSI.
17626 Structure members given leading "_" for ANSI.
17627 _CONST --> const in prototypes.
17628 Use _HAVE_STDC instead of __STDC__.
17630 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17632 struct reent_struct renamed to struct _reent for ANSI.
17633 Structure members given leading "_" for ANSI.
17635 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17637 struct reent_struct renamed to struct _reent for ANSI.
17639 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17640 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17641 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17642 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17643 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17645 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17646 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17647 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17648 #ifndef _STRICT_ANSI non-ANSI routines.
17649 Reentrant routines renamed from _r_xxx to _xxx_r.
17650 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17651 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17652 Clean up namespace (structure members have leading "_").
17653 struct reent_struct renamed to struct _reent for ANSI compliance.
17654 _CONST --> const in function prototypes.
17656 * libc/include/string.h: Add NULL and size_t.
17658 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17659 unlink, wait, wait4. Reentrant syscall routines close, fork,
17660 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17662 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17663 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17664 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17665 write.S}: Define reentrant versions.
17666 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17667 reentrant syscalls.
17669 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17671 * libc/include/stdlib.h (RAND_MAX): Fix value.
17673 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17675 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17676 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17677 VPATH support targets after all: target.
17679 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17680 exceptionHandler, which is what mvme135-stub.c expects.
17682 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
17684 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
17686 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
17687 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
17690 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
17692 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
17694 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
17696 libc/reent/fstatr.c (_r_fstat): Ditto.
17697 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
17698 libc/reent/sbrkr.c (_r_sbrk): Ditto.
17699 libc/reent/statr.c (_r_stat): Ditto.
17701 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
17702 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
17703 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
17704 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
17705 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
17706 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
17707 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
17708 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
17709 (__swrite): Ditto for _r_lseek, _r_write.
17710 (__sseek): Ditto for _r_lseek.
17711 (__close): Ditto for _r_close.
17712 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
17714 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
17715 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17717 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17718 to make reent_struct the first argument (and thus consistent with
17719 the rest of newlib).
17721 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17722 reference to __STDC__.
17724 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17726 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
17729 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17731 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17733 libc/stdio/fclose.c (fclose): Ditto.
17735 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
17737 * Run through indent and rename reentrant routines for ANSI.
17738 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
17739 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
17740 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
17741 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
17742 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
17743 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
17744 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
17745 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
17746 vsprintf.c wbuf.c wsetup.c local.h}
17748 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
17750 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
17751 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
17752 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
17753 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
17754 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
17755 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
17757 * Run through indent.
17758 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
17759 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
17760 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
17761 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
17764 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
17765 localtime.c mktime.c strftime.c time.c}:
17766 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
17768 * Reformatting + renaming (for ANSI, GNU style, consistency).
17769 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
17770 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
17771 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
17773 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
17775 * libc/include/stdio.h (stdin_r): Fix.
17777 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
17779 * Makefile.in: Unexport some variables to keep GNU make from
17780 putting them in the environment and using up needed ARG_MAX space
17781 (a hack is used to let this work with older makes as well).
17783 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
17785 * Makefile.in: Use $(MAKE) rather than make.
17786 (MAKEOVERRIDES): Define to be empty.
17787 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17788 (libc.a, libm.a): Depend on targ-include.
17789 * host/any (LD): Don't define.
17790 (INCLUDES): Use targ-include.
17791 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
17792 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17793 * libc/Makefile.in: Use $(MAKE) rather than make.
17794 (MAKEOVERRIDES): Define to be empty.
17795 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17796 (all): Rewrote to be slightly smaller.
17797 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
17798 Define to be empty.
17799 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17800 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
17802 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
17804 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
17805 with errno/errno.c.
17807 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
17809 * Changes for reentrancy.
17810 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
17811 Use ptr->_errno, not errno.
17812 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
17813 libc/stdio/remove.c (remove_r): New function.
17814 libc/stdio/rename.c (rename_r): New function.
17815 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17816 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
17817 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
17818 reentrant versions of system calls.
17819 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
17820 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
17821 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
17822 libc/stdio/findfp.c: Include <string.h>.
17823 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
17825 libc/stdio/wbuf.c: Include "fvwrite.h"
17827 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
17829 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
17830 (NULL): Don't define if already defined.
17831 libc/stdlib/system.c: Call reentrant versions of system calls.
17832 (system_r): New function.
17834 * Changes for reentrancy.
17835 libc/include/_ansi.h (_PARAMS): New macro.
17836 libc/include/errno.h: Define errno as a macro that calls __errno.
17837 (__errno_r): New macro for reentrant code.
17838 libc/include/math.h: Include reent.h. Declare many reentrant
17840 (signgam): Now a macro, not a variable.
17841 (struct exception): Added err field.
17842 libc/include/reent.h: Don't declare __sglue. Added function
17844 (struct reent_struct): Moved errno to beginning. Added _signgam.
17845 libc/include/stdio.h, libc/include/stdlib.h: Added function
17848 * More reentrancy hacking.
17849 libc/errno/errno.c (__errno): New function.
17850 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
17851 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
17854 * Added many new reentrant functions to libm/math/*.
17855 libm/math/error.c (__matherror): Added reent_struct pointer
17856 argument. Changed all callers.
17857 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
17858 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
17859 libm/math/tan.h: Removed obsolete unused header files.
17861 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
17863 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
17865 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17867 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
17870 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17872 * libc/libc.texinfo: comment out reentrancy chapter (duh)
17874 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17876 * libc/reent/reent.tex: New file. (text from
17877 newlib/libc/libc.texinfo)
17878 * libc/stdio/tmpnam.c: fixed doc typo
17879 * libc/stdlib/rand.c: fixed doc typo
17881 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17883 * libc/reent/reent.tex: New file. (text from
17884 newlib/libc/libc.texinfo)
17886 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17888 support for reentrancy
17889 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
17891 * libc/errno/errno.c, libc/include/ieeefp.h,
17892 libc/include/locale.h, libc/include/reent.h,
17893 libc/include/signal.h, libc/include/stdio.h,
17894 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
17895 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
17896 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
17897 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
17898 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17899 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
17900 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
17901 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
17902 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
17903 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
17904 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
17905 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
17906 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
17907 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
17908 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
17909 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
17910 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
17911 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
17912 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
17913 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
17914 libc/time/strftime.c: modify to provide reentracy.
17917 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
17918 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
17919 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
17920 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
17921 mstats_r, realloc_r, localeconv_r, setlocale_r
17923 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
17925 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
17926 libc/include/sys/config.h, libc/include/sys/signal.h,
17927 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
17928 provided macros (such as m68000), use the ansi version
17929 (__m68000__) so that the library can be used with code compiled
17930 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
17933 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17935 * configure.in (sparc*): Don't set -fsoft-float for sparc
17936 configurations. Do set -fsoft-float for sparclite configurations.
17938 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17940 * default.menu, no-signal.menu: alternate forms of libc main menu
17941 (in newlib rather than newlib/libc due to configuration restrictions)
17943 * configure.in: select one of the two menus above, link to
17946 * libc/libc.texinfo: include menu from separate file
17948 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
17950 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
17951 (info): Split long shell command in half.
17952 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
17953 sub-makes, just CHEW and TARGETDOC.
17954 (targetdep.tex): Removed now special handling of sys and machine
17955 subdirectories, made obsolete some time ago.
17956 * libc/machine/Makefile.in (doc): Don't pass everything to
17957 sub-make, just CHEW and TARGETDOC.
17958 (Makefile): New target.
17959 * libc/sys/Makefile.in (Makefile): New target.
17961 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
17963 * Makefile.in (here and most subdirectories): Only pass down CHEW
17964 and TARGETDOC when making info, not for other targets.
17966 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
17967 $(AR_FLAGS) rather than $(ARUPDATE).
17969 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
17971 * Try to reduce command line length:
17972 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
17973 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
17974 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
17975 (info): Pass CHEW to other subdirs.
17977 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
17979 * configure.in: add signal_dir, like unix_dir, but by default it
17980 is set to "signal" so that a29khif can turn it off (since a29khif
17981 has raise() as part of machine-specific signal.s.)
17983 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17985 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
17986 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
17988 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
17989 libc/stdio/vfprintf: type lint.
17990 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
17991 initialzation code.
17992 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
17994 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
17996 * stub/mvme135/mvme135-asm.S: new file.
17997 stub/mvme135mvme135-stub.c: moved all assembler routines into
17999 stub/mvme135/Makefile.in: build mvme135-stub.o.
18001 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
18003 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
18004 sub-Makefiles instead, to try to avoid line length limitations.
18006 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
18008 * libc/include/unistd.h (read, write): Use void* instead of
18011 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
18013 * stub/go32/resetpc: sample script to send a reset packet to the
18016 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
18017 DOS environment, which compiles with Turbo C.
18019 * stub/go32/DSER32.LNK: new file, linker commands for serial
18022 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
18023 start up message to identify version; call set_debug_traps.
18025 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
18026 keyboard interaction); call handle_exception() in go_til_stop,
18027 rather than return, so that the remote stub gets control.
18029 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
18030 rename, rather than mv), set flags that work with current Turbo C,
18031 including using the /3 flag; also, add commands to build dser32.
18033 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18034 default Turbo C installation (\tc rather than \usr)
18036 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
18039 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18041 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18043 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18045 * libc/stdio/cvt.c (licvt): new function to convert ints when
18046 sizeof(int) != sizeof(long).
18048 * libc/include/stdio.h: added prototype for iprintf.
18049 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18051 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18053 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18054 __REGISTER_PREFIX__.
18056 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18058 * libc/sys/m68kbare: moved into stub directory.
18060 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18062 * configure.in, Makefile.in: created new directory stub, to hold
18063 sample code for specific targets.
18065 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18067 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18068 in the unified libc/include/sys/fcntl.h.
18070 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18072 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18073 printed .01, not 0.01.
18075 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18077 * configure.in: compile with -m68000 for m68* targets.
18079 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18081 * libm/math/remainder.c (remainder): document the svr4 and sunos
18082 references used to construct the function.
18084 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18086 * libm/math/remainder.c (rint, remainder): fix old typos.
18087 * libm/math/Makefile.in: actually build remainder.c (functions
18088 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18091 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18093 * libc/string/bcopy.c: BSD version works on overlapping strings,
18094 so ours should too.
18096 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18099 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18101 * Makefile.in (docs): new target.
18103 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18105 * libc/include/sys/times.h: define clock_t as required by POSIX.
18106 libc/include/time.h: protect clock_t from multiple definitions.
18108 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18110 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18111 does not need more than the original three iterations to get
18112 within 1 ulp. (Paranoia tests for rounding to better than that,
18113 but further iterations *don't* help, only more subtle changes
18116 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
18118 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
18119 were doing nothing useful.
18121 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
18123 * configure.in: define MALLOC_PROVIDED for vxworks targets;
18124 removed sys_dir settings of vxworks68 and vxworks960.
18125 host/any: don't pass -nostdinc to gcc, since newlib no longer
18126 provides all required header files.
18128 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
18129 is not defined; this provides a hook for VxWorks.
18131 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18133 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
18134 buffer if buf is NULL, don't do it here -- it is already being
18135 done by makebuf elsewhere in stdio.
18137 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
18139 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
18140 that C programs can call functions without using initial
18143 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
18145 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
18147 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
18149 * configure.in: set TARGET_CFLAGS for certain CPU types to
18152 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18154 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
18156 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
18158 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
18159 m68k*-unknown-coff.
18161 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
18163 * libc/include/stdio.h: define __need___va_list before including
18164 <stdarg.h>, to avoid defining va_arg, et. al.
18166 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
18168 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
18169 (don't cd to the user's home directory).
18171 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
18172 In general this is the wrong thing to do, but I can't get around
18173 GNU make's insistence on passing command line arguments any other
18176 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
18178 * configure.in: always configure the libc/sys directory, since it
18179 now provides a required documentation file.
18181 * Makefile.in: replaced all instances of $(MAKE) with make. In
18182 general this is the wrong thing to do, but I can't get around GNU
18183 make's insistence on passing command line arguments any other way.
18185 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
18187 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
18190 * libc/stdio/local.h: include <stdarg.h> to define va_list.
18191 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
18193 * libc/include/float.h, libc/include/stdarg.h,
18194 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
18196 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
18197 <stdarg.h>, not from <machine/types.h>. Protect definition of
18199 libc/include/time.h: get size_t from stddef.h. Protect definition
18201 libc/include/machine/limits.h: override gcc <limits.h> by defining
18202 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
18203 get correct INT_MIN and LONG_LONG values.
18204 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
18205 size_t or va_list at all; they're now gotten from stddef.h
18207 libc/include/machine/varargs.h: removed; use gcc version instead.
18208 libc/include/sys/types.h: explicitly include <machine/types.h>.
18210 * libm/math/sqrt.h: using the fp-bit routines appears to require
18213 * Makefile.in, host/any: let system include files override machine
18216 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18218 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
18219 override _*_T_ definitions defaulted here.
18221 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
18223 * Makefile.in (install): install the include files in
18224 $(tooldir)/include, not $(exec_prefix)/include.
18226 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
18228 * Makefile.in (install): fixed typo, and changed install to not
18229 force rebuild of libc.a and libm.a.
18231 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
18233 * libc/sys/a29khif/*: Changed all .include's to include
18234 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
18235 that they will be installed for the user.
18237 * Makefile.in (all): create targ-include, a directory holding the
18238 machine and system specific header files during the build.
18239 (install): fixed installation of machine and system specific
18242 * Makefile.in: fixed comment.
18243 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
18244 we can pass $(INCLUDES) to it.
18246 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
18248 * libc/include/sys/param.h: new generic file, which may be
18249 overridden for specific systems.
18251 * libc/include/sys/signal.h: define all ANSI signal names, and
18252 NSIG (which is not ANSI) for a29k.
18254 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
18256 * Makefile.in: don't pass down arguments the lower level makes
18258 * libc/Makefile.in: recurse directly, rather than using subdir_do,
18259 in hopes of avoiding argument length limits.
18260 * libm/Makefile.in: recurse directly, rather using subdir_do, in
18261 hopes of avoiding argument length limits.
18263 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
18265 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
18268 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
18270 * Fixed make info and make install-info for newlib, changing most
18271 Makefile.in and several *.tex files. Moved doc directory from
18274 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
18275 Should be rewritten.
18277 * libc/string/strings.tex: renamed node index to node index
18278 function, so that it does not conflict with the top level index
18281 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
18283 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
18285 * Overhauled general configuration for newlib. Eliminated all
18286 target dependent Makefile fragments. Create libraries in newlib
18287 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
18288 than CROSS_CC, et. al. Broke make docs; will fix later.
18290 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
18291 Should be rewritten.
18293 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
18295 * libc/configure.in: cleaned up somewhat; switch on ${target}
18296 rather than ${target_alias}.
18297 * libm/configure.in: cleaned up somewhat; switch on ${target}
18298 rather than ${target_alias}.
18300 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
18301 * libc/include/ctype.h: marked _ctype_ as _CONST.
18303 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
18306 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
18307 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
18308 libc/stdio/gets.c (gets): removed non-ANSI warning message.
18309 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
18311 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
18312 bigtens, tinytens): marked arrays _CONST.
18313 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
18314 rather than a static variable.
18316 * libc/time/asctime.c (asctime), libc/time/localtime.c
18317 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
18318 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
18319 mname_len, mname): Marked static arrays _CONST.
18321 * libm/math/gamma.h: made local variables non-static.
18323 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
18324 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
18327 * libm/math/constants.c: removed file, because the constants it
18328 defined were never referenced.
18329 libm/math/Makefile.in: removed references to constants.c.
18330 libm/math/mathimpl.h: removed declarations of constants.
18332 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
18334 * libc/include/machine/varargs.h: only call __builtin_saveregs if
18335 it is sensibly defined in libgcc2. Checks preprocessor defines,
18336 which is not a good solution.
18338 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
18340 * libm/frexp.c: handle denormalized numbers as arguments.
18342 * libm/math/Makefile.in: added some dependencies for .c files
18343 which include local .h files.
18345 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
18347 * libc/configure.in: set target_alias for OSE*. Replace
18348 target_makefile_frag if it is blank.
18350 * libc/Makefile.in: make sure everything is passed to subsidiary
18351 makes; create all directories when installing.
18353 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
18354 CROSS_ARUPDATE instead of AR.
18356 * libm/configure.in: set target_alias for OSE*. Replace
18357 target_makefile_frag if it is blank.
18359 * libm/Makefile.in: make sure everything is passed to subsidiary
18360 makes; create all directories when installing.
18362 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
18364 * add following change from libc copy.
18366 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18368 * libc/libc.texinfo: make copyright disclaimers appear on back of
18369 title page; make format of same slightly less ugly; avoid using
18370 underbars in section headings (avoids nasty texinfo bug in table
18373 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
18374 comments only) avoid using underbars in section headings
18376 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18377 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
18378 changes in comments only): shorten headings ieeefp/infinity.c,
18379 ieeefp/isnan.c: (doc, comments only) more informative headings
18381 * libc/math/bessel.c: (doc, comments only) shorten heading
18383 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
18384 (doc, comments only) shorten headings
18386 * libc/time/localtime.c (doc, comments only): shorten headings
18388 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18390 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
18391 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
18393 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
18394 only) more informative headings
18395 * libm/math/bessel.c: (doc, comments only) shorten heading
18397 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18399 * .../Makefile.in: use CROSS_ARUPDATE consistently.
18400 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
18401 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
18402 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
18403 defined, the one from the .mt file will be correct.
18404 * libc/include/machine, libc/include/sys: created, and populated
18405 with common files from machine/*/machine. ifdefs were used for
18406 most, typically by handling exceptions first and then filling in
18407 defaults. Files with D.J. Delorie copyright #included rather than
18408 copied. Most files in include/sys really were the same in the
18410 * libc/include/...: cleaned up use of _EXFUN.
18411 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
18412 it with double quotes, not angles.
18414 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
18416 * libc/Makefile.in: always create installation directories.
18418 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18420 * libc/configure.in: handle host properly (using canonical
18421 triples), better error message for the case of target not found
18423 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18425 * libc/Makefile.in (insincdir): Ensure this directory exists
18426 before attempting installation.
18428 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18430 * libc/stdlib/assert.c: now calls abort like it should
18431 * libc/sys/a29khif: many many patches for 29khif work
18432 * libc/machine/i386: gnulib2 expanded there.
18434 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18436 Added accurate fp conversion routines to stdlib, moved dcvt from
18437 stdio to stdlib and called it ecvtbuf:
18438 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18439 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18441 * libc/libc.texinfo: Modifed to include the copyright info from
18443 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18444 * libc/test/ : many vector which tested for the implementation
18445 defined returns of strange conversion requests have been updated
18446 to relflect the new implementation
18448 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18450 * libc/libc.texinfo: new chapter on variable arg lists
18451 (stdarg.h/varargs.h)
18452 * libc/libc.texinfo: new title
18453 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18454 (doc only) shorter headings for better formatting.
18456 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18458 * libc/libc.texinfo: three more info menu entries
18459 * libc/locale/locale.tex: new chapter
18460 * libc/locale/locale.c: new doc for setlocale, localeconv
18461 * libc/locale/Makefile.in: use new locale doc
18462 * libc/signal/signal.tex: new chapter
18463 * libc/signal/raise.c, libc/signal/signal.c: new doc
18464 * libc/signal/Makefile.in: use new doc
18465 * libc/time/time.tex: new chapter
18466 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18467 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18468 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18469 * libc/time/Makefile.in: use new doc
18471 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18473 * libm/math/log1p.c: split to use the new function way of float
18474 function definition. math/log1p.h deleted
18475 * libm/math/scalb.c: obsolete and deleted
18476 * libm/math/scalbn.c: created from part log1p.c
18477 * libm/math/Makefile.in: know about log1p and scalbn
18479 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18481 * libc/ctype/isupper.c: revise doc;
18482 libc/ctype/ctype.tex: use doc from isupper.c
18484 * libc/string/bzero.c: new doc
18486 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18488 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18490 * libc/stdlib/Makefile.in: extract new doc
18491 * libc/stdlib/stdlib.tex: use new doc
18493 * libc/string/strerror.c: expanded doc.
18495 * libc/stdio/Makefile.in: extract doc from more files
18496 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18497 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18498 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18499 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18500 libc/stdio/vsprintf.c: new doc
18501 * libc/stdio/stdio.tex: use new doc
18503 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18505 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18506 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18508 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18511 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18512 * libc/stdio/setbuf.c: added ansi style definition.
18513 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18514 buffer if none provided.
18515 * libc/stdio/tmpfile.c: lint
18516 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18517 rather than using static, also make sure file isn't already
18518 present. Uses P_tmpdir. (tempnam): rewritten to use new
18519 subroutine, and uses P_tmpdir.
18520 * libc/stdio/siprintf.c: created
18522 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18524 Release 1.03 for NEC, major mods. Main differences from release
18527 More tests in test/:
18528 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18529 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18530 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18531 get/set mask, get/set sticky and get/set roundtoi. Tests
18532 that setting the bits changes the way arithmetic is done.
18533 * string.c: added test to make sure memcmp does it with unsigned
18535 * test.c: cleaned up and removed lint.
18536 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18537 dvec.c: tests for string to value conversions, sprintf, scanf,
18538 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18539 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18540 rounding in sprintf too.
18541 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18542 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18543 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18545 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18549 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18550 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18551 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18552 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18553 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18555 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
18556 * Method of producting float versions of double functions has
18557 changed, functions will be modified gradually. So far:
18558 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18559 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18561 * libc/string/memcmp.c: now uses unsigned chars
18562 * libc/string/bcmp.c, libc/string/strcpy.c,
18563 libc/stsring/strxfrm.c: fixed doc
18564 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18567 version-control: never