1 2007-10-13 Eric Blake <ebb9@byu.net>
3 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
4 Correctly nest else within conditionals.
5 Reported by Artur Lipowski.
7 2007-10-09 Nick Clifton <nickc@redhat.com>
9 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
12 2007-10-09 Ben Elliston <bje@au.ibm.com>
14 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
15 before simdmath.h to get a definition for `vector'.
16 * libm/machine/spu/headers/asind2.h: Likewise.
18 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
20 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
21 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
22 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
23 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
24 * libm/machine/spu/headers/acos.h: Add domain check.
25 * libm/machine/spu/headers/acosf.h: Ditto.
26 * libm/machine/spu/headers/acosh.h: Ditto.
27 * libm/machine/spu/headers/acoshf.h: Ditto.
28 * libm/machine/spu/headers/asin.h: Ditto.
29 * libm/machine/spu/headers/asinf.h: Ditto.
30 * libm/machine/spu/headers/atanh.h: Ditto.
31 * libm/machine/spu/headers/atanhf.h: Ditto.
32 * libm/machine/spu/headers/fmod.h: Ditto.
33 * libm/machine/spu/headers/fmodf.h: Ditto.
34 * libm/machine/spu/headers/log.h: Ditto.
35 * libm/machine/spu/headers/log10.h: Ditto.
36 * libm/machine/spu/headers/log1p.h: Ditto.
37 * libm/machine/spu/headers/log1pf.h: Ditto.
38 * libm/machine/spu/headers/log2.h: Ditto.
39 * libm/machine/spu/headers/log2f.h: Ditto.
40 * libm/machine/spu/headers/sqrt.h: Ditto.
41 * libm/machine/spu/headers/sqrtf.h: Ditto.
42 * libm/machine/spu/headers/tgamma.h: Ditto.
43 * libm/machine/spu/headers/tgammaf.h: Ditto.
45 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
47 * libm/machine/spu/Makefile.am: Add new C files.
48 * libm/machine/spu/Makefile.in: Regenerate.
49 * libm/machine/spu/headers/acos.h: New file.
50 * libm/machine/spu/headers/acosd2.h: Ditto.
51 * libm/machine/spu/headers/acosf.h: Ditto.
52 * libm/machine/spu/headers/acosf4.h: Ditto.
53 * libm/machine/spu/headers/acosh.h: Ditto.
54 * libm/machine/spu/headers/acoshd2.h: Ditto.
55 * libm/machine/spu/headers/acoshf.h: Ditto.
56 * libm/machine/spu/headers/acoshf4.h: Ditto.
57 * libm/machine/spu/headers/asin.h: Ditto.
58 * libm/machine/spu/headers/asind2.h: Ditto.
59 * libm/machine/spu/headers/asinf.h: Ditto.
60 * libm/machine/spu/headers/asinf4.h: Ditto.
61 * libm/machine/spu/headers/asinh.h: Ditto.
62 * libm/machine/spu/headers/asinhd2.h: Ditto.
63 * libm/machine/spu/headers/asinhf.h: Ditto.
64 * libm/machine/spu/headers/asinhf4.h: Ditto.
65 * libm/machine/spu/headers/atan.h: Ditto.
66 * libm/machine/spu/headers/atan2.h: Ditto.
67 * libm/machine/spu/headers/atan2d2.h: Ditto.
68 * libm/machine/spu/headers/atan2f.h: Ditto.
69 * libm/machine/spu/headers/atan2f4.h: Ditto.
70 * libm/machine/spu/headers/atand2.h: Ditto.
71 * libm/machine/spu/headers/atanf4.h: Ditto.
72 * libm/machine/spu/headers/atanh.h: Ditto.
73 * libm/machine/spu/headers/atanhd2.h: Ditto.
74 * libm/machine/spu/headers/atanhf.h: Ditto.
75 * libm/machine/spu/headers/atanhf4.h: Ditto.
76 * libm/machine/spu/headers/cos.h: Ditto.
77 * libm/machine/spu/headers/cos_sin.h: Ditto.
78 * libm/machine/spu/headers/cosd2.h: Ditto.
79 * libm/machine/spu/headers/cosf.h: Ditto.
80 * libm/machine/spu/headers/cosf4.h: Ditto.
81 * libm/machine/spu/headers/cosh.h: Ditto.
82 * libm/machine/spu/headers/coshd2.h: Ditto.
83 * libm/machine/spu/headers/coshf.h: Ditto.
84 * libm/machine/spu/headers/coshf4.h: Ditto.
85 * libm/machine/spu/headers/divd2.h: Ditto.
86 * libm/machine/spu/headers/divf4.h: Ditto.
87 * libm/machine/spu/headers/erf.h: Ditto.
88 * libm/machine/spu/headers/erf_utils.h: Ditto.
89 * libm/machine/spu/headers/erfc.h: Ditto.
90 * libm/machine/spu/headers/erfcd2.h: Ditto.
91 * libm/machine/spu/headers/erfcf.h: Ditto.
92 * libm/machine/spu/headers/erfcf4.h: Ditto.
93 * libm/machine/spu/headers/erfd2.h: Ditto.
94 * libm/machine/spu/headers/erff.h: Ditto.
95 * libm/machine/spu/headers/erff4.h: Ditto.
96 * libm/machine/spu/headers/exp.h: Ditto.
97 * libm/machine/spu/headers/exp2.h: Ditto.
98 * libm/machine/spu/headers/exp2d2.h: Ditto.
99 * libm/machine/spu/headers/exp2f4.h: Ditto.
100 * libm/machine/spu/headers/expd2.h: Ditto.
101 * libm/machine/spu/headers/expf4.h: Ditto.
102 * libm/machine/spu/headers/expm1.h: Ditto.
103 * libm/machine/spu/headers/expm1d2.h: Ditto.
104 * libm/machine/spu/headers/expm1f.h: Ditto.
105 * libm/machine/spu/headers/expm1f4.h: Ditto.
106 * libm/machine/spu/headers/floord2.h: Ditto.
107 * libm/machine/spu/headers/floorf4.h: Ditto.
108 * libm/machine/spu/headers/hypot.h: Ditto.
109 * libm/machine/spu/headers/hypotd2.h: Ditto.
110 * libm/machine/spu/headers/hypotf.h: Ditto.
111 * libm/machine/spu/headers/hypotf4.h: Ditto.
112 * libm/machine/spu/headers/isnan.h: Ditto.
113 * libm/machine/spu/headers/isnand2.h: Ditto.
114 * libm/machine/spu/headers/isnanf.h: Ditto.
115 * libm/machine/spu/headers/isnanf4.h: Ditto.
116 * libm/machine/spu/headers/ldexpd2.h: Ditto.
117 * libm/machine/spu/headers/ldexpf4.h: Ditto.
118 * libm/machine/spu/headers/lgamma.h: Ditto.
119 * libm/machine/spu/headers/lgammad2.h: Ditto.
120 * libm/machine/spu/headers/lgammaf.h: Ditto.
121 * libm/machine/spu/headers/lgammaf4.h: Ditto.
122 * libm/machine/spu/headers/log.h: Ditto.
123 * libm/machine/spu/headers/log10.h: Ditto.
124 * libm/machine/spu/headers/log10d2.h: Ditto.
125 * libm/machine/spu/headers/log1p.h: Ditto.
126 * libm/machine/spu/headers/log1pd2.h: Ditto.
127 * libm/machine/spu/headers/log1pf.h: Ditto.
128 * libm/machine/spu/headers/log1pf4.h: Ditto.
129 * libm/machine/spu/headers/log2.h: Ditto.
130 * libm/machine/spu/headers/log2d2.h: Ditto.
131 * libm/machine/spu/headers/log2f4.h: Ditto.
132 * libm/machine/spu/headers/logbf.h: Ditto.
133 * libm/machine/spu/headers/logbf4.h: Ditto.
134 * libm/machine/spu/headers/logd2.h: Ditto.
135 * libm/machine/spu/headers/logf4.h: Ditto.
136 * libm/machine/spu/headers/nearbyintf.h: Ditto.
137 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
138 * libm/machine/spu/headers/nextafter.h: Ditto.
139 * libm/machine/spu/headers/nextafterd2.h: Ditto.
140 * libm/machine/spu/headers/nextafterf.h: Ditto.
141 * libm/machine/spu/headers/nextafterf4.h: Ditto.
142 * libm/machine/spu/headers/pow.h: Ditto.
143 * libm/machine/spu/headers/powd2.h: Ditto.
144 * libm/machine/spu/headers/powf.h: Ditto.
145 * libm/machine/spu/headers/powf4.h: Ditto.
146 * libm/machine/spu/headers/recipd2.h: Ditto.
147 * libm/machine/spu/headers/recipf4.h: Ditto.
148 * libm/machine/spu/headers/rintf.h: Ditto.
149 * libm/machine/spu/headers/rintf4.h: Ditto.
150 * libm/machine/spu/headers/scalbnf4.h: Ditto.
151 * libm/machine/spu/headers/signbit.h: Ditto.
152 * libm/machine/spu/headers/signbitd2.h: Ditto.
153 * libm/machine/spu/headers/simdmath.h: Ditto.
154 * libm/machine/spu/headers/sin.h: Ditto.
155 * libm/machine/spu/headers/sincos.h: Ditto.
156 * libm/machine/spu/headers/sincosd2.h: Ditto.
157 * libm/machine/spu/headers/sincosf.h: Ditto.
158 * libm/machine/spu/headers/sincosf4.h: Ditto.
159 * libm/machine/spu/headers/sind2.h: Ditto.
160 * libm/machine/spu/headers/sinf.h: Ditto.
161 * libm/machine/spu/headers/sinf4.h: Ditto.
162 * libm/machine/spu/headers/sinh.h: Ditto.
163 * libm/machine/spu/headers/sinhd2.h: Ditto.
164 * libm/machine/spu/headers/sinhf.h: Ditto.
165 * libm/machine/spu/headers/sinhf4.h: Ditto.
166 * libm/machine/spu/headers/sqrtd2.h: Ditto.
167 * libm/machine/spu/headers/sqrtf.h: Ditto.
168 * libm/machine/spu/headers/sqrtf4.h: Ditto.
169 * libm/machine/spu/headers/tan.h: Ditto.
170 * libm/machine/spu/headers/tand2.h: Ditto.
171 * libm/machine/spu/headers/tanf.h: Ditto.
172 * libm/machine/spu/headers/tanf4.h: Ditto.
173 * libm/machine/spu/headers/tanh.h: Ditto.
174 * libm/machine/spu/headers/tanhd2.h: Ditto.
175 * libm/machine/spu/headers/tanhf.h: Ditto.
176 * libm/machine/spu/headers/tanhf4.h: Ditto.
177 * libm/machine/spu/headers/tgamma.h: Ditto.
178 * libm/machine/spu/headers/tgammad2.h: Ditto.
179 * libm/machine/spu/headers/tgammaf.h: Ditto.
180 * libm/machine/spu/headers/tgammaf4.h: Ditto.
181 * libm/machine/spu/headers/truncd2.h: Ditto.
182 * libm/machine/spu/headers/truncf4.h: Ditto.
183 * libm/machine/spu/log2.c: Ditto.
184 * libm/machine/spu/s_asinh.c: Ditto.
185 * libm/machine/spu/s_atan.c: Ditto.
186 * libm/machine/spu/s_cos.c: Ditto.
187 * libm/machine/spu/s_erf.c: Ditto.
188 * libm/machine/spu/s_expm1.c: Ditto.
189 * libm/machine/spu/s_isnan.c: Ditto.
190 * libm/machine/spu/s_log1p.c: Ditto.
191 * libm/machine/spu/s_nextafter.c: Ditto.
192 * libm/machine/spu/s_sin.c: Ditto.
193 * libm/machine/spu/s_tan.c: Ditto.
194 * libm/machine/spu/s_tanh.c: Ditto.
195 * libm/machine/spu/sf_asinh.c: Ditto.
196 * libm/machine/spu/sf_cos.c: Ditto.
197 * libm/machine/spu/sf_erf.c: Ditto.
198 * libm/machine/spu/sf_expm1.c: Ditto.
199 * libm/machine/spu/sf_log1p.c: Ditto.
200 * libm/machine/spu/sf_logb.c: Ditto.
201 * libm/machine/spu/sf_nearbyint.c: Ditto.
202 * libm/machine/spu/sf_nextafter.c: Ditto.
203 * libm/machine/spu/sf_rint.c: Ditto.
204 * libm/machine/spu/sf_sin.c: Ditto.
205 * libm/machine/spu/sf_tan.c: Ditto.
206 * libm/machine/spu/sf_tanh.c: Ditto.
207 * libm/machine/spu/w_acos.c: Ditto.
208 * libm/machine/spu/w_acosh.c: Ditto.
209 * libm/machine/spu/w_asin.c: Ditto.
210 * libm/machine/spu/w_atan2.c: Ditto.
211 * libm/machine/spu/w_atanh.c: Ditto.
212 * libm/machine/spu/w_cosh.c: Ditto.
213 * libm/machine/spu/w_exp.c: Ditto.
214 * libm/machine/spu/w_exp2.c: Ditto.
215 * libm/machine/spu/w_hypot.c: Ditto.
216 * libm/machine/spu/w_lgamma.c: Ditto.
217 * libm/machine/spu/w_log.c: Ditto.
218 * libm/machine/spu/w_log10.c: Ditto.
219 * libm/machine/spu/w_pow.c: Ditto.
220 * libm/machine/spu/w_sincos.c: Ditto.
221 * libm/machine/spu/w_sinh.c: Ditto.
222 * libm/machine/spu/w_tgamma.c: Ditto.
223 * libm/machine/spu/wf_acos.c: Ditto.
224 * libm/machine/spu/wf_acosh.c: Ditto.
225 * libm/machine/spu/wf_asin.c: Ditto.
226 * libm/machine/spu/wf_atan2.c: Ditto.
227 * libm/machine/spu/wf_atanh.c: Ditto.
228 * libm/machine/spu/wf_cosh.c: Ditto.
229 * libm/machine/spu/wf_hypot.c: Ditto.
230 * libm/machine/spu/wf_lgamma.c: Ditto.
231 * libm/machine/spu/wf_pow.c: Ditto.
232 * libm/machine/spu/wf_sincos.c: Ditto.
233 * libm/machine/spu/wf_sinh.c: Ditto.
234 * libm/machine/spu/wf_sqrt.c: Ditto.
235 * libm/machine/spu/wf_tgamma.c: Ditto.
237 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
239 * configure.host: Define _POSIX_MODE to match the existing vector
240 math code, as we don't support the matherr callout.
241 * libm/machine/spu/Makefile.am: New file.
242 * libm/machine/spu/Makefile.in: Auto-generated.
243 * libm/machine/spu/headers/atanf.h: New file.
244 * libm/machine/spu/headers/cbrt.h: Ditto.
245 * libm/machine/spu/headers/cbrtf.h: Ditto.
246 * libm/machine/spu/headers/ceil.h: Ditto.
247 * libm/machine/spu/headers/ceilf.h: Ditto.
248 * libm/machine/spu/headers/copysign.h: Ditto.
249 * libm/machine/spu/headers/copysignf.h: Ditto.
250 * libm/machine/spu/headers/exp2f.h: Ditto.
251 * libm/machine/spu/headers/expf.h: Ditto.
252 * libm/machine/spu/headers/fabs.h: Ditto.
253 * libm/machine/spu/headers/fabsf.h: Ditto.
254 * libm/machine/spu/headers/fdim.h: Ditto.
255 * libm/machine/spu/headers/fdimf.h: Ditto.
256 * libm/machine/spu/headers/floor.h: Ditto.
257 * libm/machine/spu/headers/floorf.h: Ditto.
258 * libm/machine/spu/headers/fma.h: Ditto.
259 * libm/machine/spu/headers/fmaf.h: Ditto.
260 * libm/machine/spu/headers/fmax.h: Ditto.
261 * libm/machine/spu/headers/fmaxf.h: Ditto.
262 * libm/machine/spu/headers/fmin.h: Ditto.
263 * libm/machine/spu/headers/fminf.h: Ditto.
264 * libm/machine/spu/headers/fmod.h: Ditto.
265 * libm/machine/spu/headers/fmodf.h: Ditto.
266 * libm/machine/spu/headers/frexp.h: Ditto.
267 * libm/machine/spu/headers/frexpf.h: Ditto.
268 * libm/machine/spu/headers/ilogb.h: Ditto.
269 * libm/machine/spu/headers/ilogbf.h: Ditto.
270 * libm/machine/spu/headers/ldexp.h: Ditto.
271 * libm/machine/spu/headers/ldexpf.h: Ditto.
272 * libm/machine/spu/headers/llrint.h: Ditto.
273 * libm/machine/spu/headers/llrintf.h: Ditto.
274 * libm/machine/spu/headers/llround.h: Ditto.
275 * libm/machine/spu/headers/llroundf.h: Ditto.
276 * libm/machine/spu/headers/log10f.h: Ditto.
277 * libm/machine/spu/headers/log2f.h: Ditto.
278 * libm/machine/spu/headers/logf.h: Ditto.
279 * libm/machine/spu/headers/lrint.h: Ditto.
280 * libm/machine/spu/headers/lrintf.h: Ditto.
281 * libm/machine/spu/headers/lround.h: Ditto.
282 * libm/machine/spu/headers/lroundf.h: Ditto.
283 * libm/machine/spu/headers/nearbyint.h: Ditto.
284 * libm/machine/spu/headers/remainder.h: Ditto.
285 * libm/machine/spu/headers/remainderf.h: Ditto.
286 * libm/machine/spu/headers/remquo.h: Ditto.
287 * libm/machine/spu/headers/remquof.h: Ditto.
288 * libm/machine/spu/headers/rint.h: Ditto.
289 * libm/machine/spu/headers/round.h: Ditto.
290 * libm/machine/spu/headers/roundf.h: Ditto.
291 * libm/machine/spu/headers/scalbn.h: Ditto.
292 * libm/machine/spu/headers/scalbnf.h: Ditto.
293 * libm/machine/spu/headers/sqrt.h: Ditto.
294 * libm/machine/spu/headers/trunc.h: Ditto.
295 * libm/machine/spu/headers/truncf.h: Ditto.
296 * libm/machine/spu/headers/vec_literal.h: Ditto.
297 * libm/machine/spu/llrint.c: Ditto.
298 * libm/machine/spu/llrintf.c: Ditto.
299 * libm/machine/spu/llround.c: Ditto.
300 * libm/machine/spu/llroundf.c: Ditto.
301 * libm/machine/spu/log2f.c: Ditto.
302 * libm/machine/spu/s_cbrt.c: Ditto.
303 * libm/machine/spu/s_ceil.c: Ditto.
304 * libm/machine/spu/s_copysign.c: Ditto.
305 * libm/machine/spu/s_fabs.c: Ditto.
306 * libm/machine/spu/s_fdim.c: Ditto.
307 * libm/machine/spu/s_floor.c: Ditto.
308 * libm/machine/spu/s_fma.c: Ditto.
309 * libm/machine/spu/s_fmax.c: Ditto.
310 * libm/machine/spu/s_fmin.c: Ditto.
311 * libm/machine/spu/s_frexp.c: Ditto.
312 * libm/machine/spu/s_ilogb.c: Ditto.
313 * libm/machine/spu/s_ldexp.c: Ditto.
314 * libm/machine/spu/s_lrint.c: Ditto.
315 * libm/machine/spu/s_lround.c: Ditto.
316 * libm/machine/spu/s_nearbyint.c: Ditto.
317 * libm/machine/spu/s_remquo.c: Ditto.
318 * libm/machine/spu/s_rint.c: Ditto.
319 * libm/machine/spu/s_round.c: Ditto.
320 * libm/machine/spu/s_scalbn.c: Ditto.
321 * libm/machine/spu/s_trunc.c: Ditto.
322 * libm/machine/spu/sf_atan.c: Ditto.
323 * libm/machine/spu/sf_cbrt.c: Ditto.
324 * libm/machine/spu/sf_ceil.c: Ditto.
325 * libm/machine/spu/sf_copysign.c: Ditto.
326 * libm/machine/spu/sf_fabs.c: Ditto.
327 * libm/machine/spu/sf_fdim.c: Ditto.
328 * libm/machine/spu/sf_floor.c: Ditto.
329 * libm/machine/spu/sf_fma.c: Ditto.
330 * libm/machine/spu/sf_fmax.c: Ditto.
331 * libm/machine/spu/sf_fmin.c: Ditto.
332 * libm/machine/spu/sf_frexp.c: Ditto.
333 * libm/machine/spu/sf_ilogb.c: Ditto.
334 * libm/machine/spu/sf_ldexp.c: Ditto.
335 * libm/machine/spu/sf_lrint.c: Ditto.
336 * libm/machine/spu/sf_lround.c: Ditto.
337 * libm/machine/spu/sf_remquo.c: Ditto.
338 * libm/machine/spu/sf_round.c: Ditto.
339 * libm/machine/spu/sf_scalbn.c: Ditto.
340 * libm/machine/spu/sf_trunc.c: Ditto.
341 * libm/machine/spu/w_fmod.c: Ditto.
342 * libm/machine/spu/w_remainder.c: Ditto.
343 * libm/machine/spu/w_sqrt.c: Ditto.
344 * libm/machine/spu/wf_exp.c: Ditto.
345 * libm/machine/spu/wf_exp2.c: Ditto.
346 * libm/machine/spu/wf_fmod.c: Ditto.
347 * libm/machine/spu/wf_log.c: Ditto.
348 * libm/machine/spu/wf_log10.c: Ditto.
349 * libm/machine/spu/wf_remainder.c: Ditto.
351 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
353 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
355 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
357 * libc/include/sched.h: New file, just include sys/sched.h.
358 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
360 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
361 struct utimbuf definition.
363 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
365 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
366 specific struct and typedef.
368 2007-09-18 Patrick Mansfield <patmans@us.ibm.com>
370 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
371 typedef dev_t, gid_t, and uid_t.
372 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
373 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
374 Change to lower case for all __foo_t_defined names.
375 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
376 __uid_t, and __gid_t making them all four bytes. Change to lower case
377 for all __foo_t_defined names.
379 2007-09-18 Jeff Johnston <jjohnstn@redhat.com>
381 * libc/reent/renamer.c: New file.
382 * libc/reent/Makefile.am: Add new file.
383 * libc/reent/Makefile.in: Regenerated.
384 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
385 and add check for rename syscall.
387 2007-09-17 Eric Blake <ebb9@byu.net>
389 Obey POSIX on printf("%.s", (char*)NULL).
390 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
391 for %s on NULL. Skip NULL check when optimizing for size.
393 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
395 * libc/include/sys/_types.h: Protect all types with flag
396 checks to allow definition in machine/_types.h.
398 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
400 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
401 definitions in light of the previous change.
403 2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
405 * libc/include/machine/_default_types.h: New file, contains what
406 was previously in libc/include/machine/_types.h.
407 * libc/include/machine/_types.h: Now only includes
408 machine/_default_types.h.
409 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
410 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
411 with conditional declarations.
412 * libc/machine/spu/machine/_types.h: New file, add SPU specific
413 typedefs for _fpos_t and _fpos64_t.
415 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
417 * libc/include/math.h (_M_LOG2E): Replace with..
418 (_M_LOG2_E): New macro.
419 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
421 2007-09-06 Brian Dessent <brian@dessent.net>
423 * libc/reent/getreent.c: Allow for case where __getreent is
426 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
428 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
429 (log2): Use _M_LOG2E instead of M_LOG2E.
431 (M_LOG2E): Define to be _M_LOG2E.
433 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
435 * libm/math/wf_tgamma.c: Add missing include.
437 2007-08-31 Antony King <antony.king@st.com>
439 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
440 bits and redefine associated dword0 macro (rvalue issue).
441 * libc/stdio/vfieeefp.h: Ditto.
442 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
443 to prevent setting dword1 which is an rvalue only.
445 2007-08-28 Hans Kester <hans.kester@ellips.nl>
447 * configure.host: Added support for x86_64.
448 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
449 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
450 * libc/machine/x86_64/aclocal.m4: Generated.
451 * libc/machine/x86_64/configure.in: New.
452 * libc/machine/x86_64/configure: Generated.
453 * libc/machine/x86_64/Makefile.am: New.
454 * libc/machine/x86_64/Makefile.in: Generated.
455 * libc/machine/x86_64/setjmp.S: New.
456 * libc/machine/x86_64/memcpy.S: New.
457 * libc/machine/x86_64/memset.S: New.
458 * libc/machine/configure.in: Added support for x86_64.
459 * libc/machine/configure: Regenerated.
461 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
463 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
464 to int before comparing it to a signed int value.
466 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
468 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
469 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
472 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
474 Reduce the memory consumption of variable argument functions
476 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
477 to assembler sources.
478 * libc/machine/spu/Makefile.in: Regenerated.
479 * libc/machine/spu/stdio.c: Add __check_init function wrapping
480 CHECK_INIT macro to use from assembler routines.
481 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
482 * libc/machine/spu/fiprintf.S: New file.
483 * libc/machine/spu/fiscanf.S: Ditto.
484 * libc/machine/spu/fprintf.S: Ditto.
485 * libc/machine/spu/fscanf.S: Ditto.
486 * libc/machine/spu/iprintf.S: Ditto.
487 * libc/machine/spu/iscanf.S: Ditto.
488 * libc/machine/spu/printf.S: Ditto.
489 * libc/machine/spu/scanf.S: Ditto.
490 * libc/machine/spu/siprintf.S: Ditto.
491 * libc/machine/spu/siscanf.S: Ditto.
492 * libc/machine/spu/sniprintf.S: Ditto.
493 * libc/machine/spu/snprintf.S: Ditto.
494 * libc/machine/spu/sprintf.S: Ditto.
495 * libc/machine/spu/sscanf.S: Ditto.
496 * libc/machine/spu/stack_reg_va.S: Ditto.
497 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
498 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
499 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
500 * libc/machine/spu/fiscanf.c: Ditto.
501 * libc/machine/spu/fprintf.c: Ditto.
502 * libc/machine/spu/fscanf.c: Ditto.
503 * libc/machine/spu/iprintf.c: Ditto.
504 * libc/machine/spu/iscanf.c: Ditto.
505 * libc/machine/spu/printf.c: Ditto.
506 * libc/machine/spu/scanf.c: Ditto.
507 * libc/machine/spu/siprintf.c: Ditto.
508 * libc/machine/spu/siscanf.c: Ditto.
509 * libc/machine/spu/sniprintf.c: Ditto.
510 * libc/machine/spu/snprintf.c: Ditto.
511 * libc/machine/spu/sprintf.c: Ditto.
512 * libc/machine/spu/sscanf.c: Ditto.
514 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
516 * libc/include/tar.h: New.
518 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
520 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
521 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
522 * libc/sys/linux/intl/Makefile.in: Regenerated.
523 * libc/sys/linux/intl/stpcpy.c: Renamed to...
524 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
526 2007-08-02 Eric Blake <ebb9@byu.net>
528 Implement fmemopen and open_memstream.
529 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
530 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
532 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
533 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
535 (fmemopen, open_memstream): Declare new functions.
536 * libc/stdio/stdio.tex: Document them.
537 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
538 fmemopen and open_memstream.
539 * libc/stdio/Makefile.in: Regenerate.
541 2007-07-31 Eric Blake <ebb9@byu.net>
543 More POSIX stream corner cases.
544 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
545 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
547 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
549 2007-07-18 Eric Blake <ebb9@byu.net>
552 * libc/stdio/stdio.tex: Add missing include.
553 * libc/stdio/vfprintf.c: Use expected node name.
554 * libc/stdio/vfscanf.c: Likewise.
555 * libc/stdio/sscanf.c: Likewise.
556 * libc/stdio/sprintf.c: Likewise.
557 * libc/stdio/siscanf.c: Likewise.
558 * libc/stdio/siprintf.c: Likewise.
559 * libc/stdio/fopencookie.c: Quote raw {}.
560 Reported by DJ Delorie.
562 2007-07-13 Eric Blake <ebb9@byu.net>
565 * libc/stdio/fflush.c (_fflush_r): New function.
566 (fflush): Fix reentrancy and large offset behavior.
567 * libc/include/stdio.h (_fflush_r): Add prototype.
568 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
569 * libc/stdio/freopen.c (_freopen_r): Likewise.
570 * libc/stdio/fseek.c (_fseek_r): Likewise.
571 * libc/stdio/ftell.c (_ftell_r): Likewise.
572 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
573 * libc/stdio/refill.c (__srefill_r): Likewise.
574 * libc/stdio/setvbuf.c (setvbuf): Likewise.
575 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
576 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
577 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
578 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
579 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
580 32-bit version if not large file.
581 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
582 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
584 Documentation updates.
585 * libc/stdio/ungetc.c: Document ungetc.
586 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
587 of files with documentation.
588 * libc/stdio/Makefile.in: Regenerate.
589 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
591 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
593 * libc/include/math.h: Fix so C99 functions/macros are accessible
594 when -std=c99 is used when compiling and not when using C89.
596 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
598 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
599 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
600 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
601 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
603 (CHEWOUT_FILES): Add .def files accordingly.
604 * libc/stdlib/Makefile.in: Regenerate.
605 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
606 * libc/stdlib/strtoll.c: Fix portability note.
607 * libc/stdlib/strtoull.c: Ditto.
608 * libc/stdlib/wcstol.c: New file.
609 * libc/stdlib/wcstoll.c: New file.
610 * libc/stdlib/wcstoll_r.c: New file.
611 * libc/stdlib/wcstoul.c: New file.
612 * libc/stdlib/wcstoull.c: New file.
613 * libc/stdlib/wcstoull_r.c: New file.
615 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
617 * libc/include/sys/time.h (gettimeofday): Change to proper
618 prototype where second parameter is void *.
619 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
621 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
622 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
623 * libc/sys/rdos/gettod.c: Ditto.
624 * libc/sys/sh/syscalls.c: Ditto.
625 * libc/time/time.c (time): Change call to _gettimeofday_r
626 to pass NULL as 2nd argument.
628 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
630 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
631 * libc/sys/linux/intl/l10nflist.c: Ditto.
633 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
635 * libc/include/wchar.h: Add prototype for wcsxfrm.
636 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
637 (CHEWOUT_FILES): Add wcsxfrm.def.
638 * libc/string/Makefile.in: Regenerate.
639 * libc/string/wcsxfrm.c: New file.
640 * libc/string/wcstrings.tex: Add wcsxfrm.
642 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
644 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
645 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
647 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
648 * libc/string/Makefile.in: Regenerate.
649 * libc/string/stpcpy.c: New file.
650 * libc/string/stpncpy.c: New file.
651 * libc/string/strings.tex: Add stpcpy and stpncpy.
653 2007-06-27 Eric Blake <ebb9@byu.net>
655 Support __func__ in assert, as required by C99.
656 * libc/stdlib/assert.c (__assert_func): New function.
657 (__assert): Use __assert_func.
658 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
661 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
663 * libc/machine/spu/perror.c: Pass errno as the second argument to
666 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
668 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
669 defines; expose ftruncate, truncate and sync prototypes.
671 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
673 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
674 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
677 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
679 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
680 from a dropped patch.
681 * libc/machine/spu/Makefile.in: Regenerate.
683 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
685 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
686 it just calls open with appropriate arguments.
687 * libc/machine/spu/Makefile.am: Add creat.c.
688 * libc/machine/spu/Makefile.in: Regenerate.
690 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
692 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
693 I accidentally dropped.
694 * libc/machine/spu/Makefile.in: Regenerated.
696 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
698 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
699 * libc/include/sys/unistd.h: Change usleep prototype to Posix
700 form and move outside of OS flag checks.
701 * libc/machine/spu/Makefile.am: Add sleep and usleep.
702 * libc/machine/spu/Makefile.in: Regenerate.
703 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
704 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
706 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
708 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
709 Define confstr constants for Cygwin. Add comment.
711 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
713 * libc/sys/mmixware/access.c (access): Do not try to use a magic
714 file-handle and a direct syscall, just use _open.
715 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
718 * libc/sys/mmixware/_exit.c (_exit): Update comment about
719 passing on the exit value.
721 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
723 * libc/string/strcasestr.c: New file.
724 * libc/include/string.h: Add strcasestr.
725 * libc/string/strings.tex: Add strcasestr.
726 * libc/string/Makefile.am: Ditto.
727 * libc/string/Makefile.in: Regenerated.
729 2007-06-06 Christian Groessler <chris@groessler.org>
731 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
732 rnd is done after the last local variable declaration.
734 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
736 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
738 2007-06-05 Christian Groessler <chris@groessler.org>
740 * libc/argz/argz_insert.c (argz_insert): Move delta variable
741 declaration to top of function in keeping with C89 standard.
743 2007-06-04 Eric Blake <ebb9@byu.net>
745 Implement funopen, fopencookie.
746 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
747 Switch to reentrant callbacks.
748 * libc/include/stdio.h (funopen): Fix declaration.
749 (fopencookie): Declare.
750 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
751 (__sseek64, __swrite64): Fix prototypes.
752 [__SCLE]: Pull in setmode declaration.
753 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
755 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
756 (__sseek64, __swrite64): Fix reentrancy.
757 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
759 * libc/stdio/ftell.c (_ftell_r): Likewise.
760 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
761 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
762 * libc/stdio/freopen.c (_freopen_r): Likewise.
763 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
764 * libc/stdio/refill.c (__srefill_r): Likewise.
765 * libc/stdio/siscanf.c (eofread): Likewise.
766 * libc/stdio/sscanf.c (eofread): Likewise.
767 * libc/stdio/vsiscanf.c (eofread1): Likewise.
768 * libc/stdio/vsscanf.c (eofread1): Likewise.
769 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
770 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
771 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
772 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
774 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
775 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
776 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
778 * libc/stdio/Makefile.in: Regenerate.
780 2007-05-29 Eric Blake <ebb9@byu.net>
782 Avoid more compiler warnings.
783 * libc/stdlib/btowc.c: Add missing header.
784 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
785 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
786 * libc/stdlib/wctob.c: Add missing header.
787 * libc/string/strcpy.c (strcpy): Avoid warnings.
788 * libc/string/strrchr.c (strrchr): Likewise.
790 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
792 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
794 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
795 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
796 on empty input strings.
797 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
798 looping through argz.
799 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
801 2007-05-27 Brian Dessent <brian@dessent.net>
803 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
806 2007-05-25 Eric Blake <ebb9@byu.net>
808 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
810 2007-05-24 Steve Ellcey <sje@cup.hp.com>
811 Charles Wilson <libtool@cwilson.fastmail.fm>
813 * libtool.m4: removed
814 * configure.in: invoke _LD_DECL_SED before conditionally initializing
815 libtool. Move AC_PROG_AWK outside conditional.
816 * libc/sys/linux/configure.in: Ditto.
817 * libc/sys/linux/linuxthreads/configure.in: Ditto.
818 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
819 * libc/sys/linux/machine/i386/configure.in: Ditto.
821 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
822 initializing libtool.
823 * libc/configure.in: Ditto.
824 * libc/machine/configure.in: Ditto.
825 * libc/machine/i386/configure.in: Ditto.
826 * libc/sys/configure.in: Ditto.
827 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
828 * libc/sys/linux/machine/configure.in: Ditto.
829 * libm/configure.in: Ditto.
830 * libm/machine/configure.in: Ditto.
832 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
833 * doc/Makefile.am: Ditto.
834 * iconvdata/Makefile.am: Ditto.
835 * libc/Makefile.am: Ditto.
836 * libc/machine/Makefile.am: Ditto.
837 * libc/machine/a29k/Makefile.am: Ditto.
838 * libc/machine/arm/Makefile.am: Ditto.
839 * libc/machine/bfin/Makefile.am: Ditto.
840 * libc/machine/cris/Makefile.am: Ditto.
841 * libc/machine/crx/Makefile.am: Ditto.
842 * libc/machine/d10v/Makefile.am: Ditto.
843 * libc/machine/d30v/Makefile.am: Ditto.
844 * libc/machine/fr30/Makefile.am: Ditto.
845 * libc/machine/frv/Makefile.am: Ditto.
846 * libc/machine/h8300/Makefile.am: Ditto.
847 * libc/machine/h8500/Makefile.am: Ditto.
848 * libc/machine/hppa/Makefile.am: Ditto.
849 * libc/machine/i386/Makefile.am: Ditto.
850 * libc/machine/i960/Makefile.am: Ditto.
851 * libc/machine/iq2000/Makefile.am: Ditto.
852 * libc/machine/m32c/Makefile.am: Ditto.
853 * libc/machine/m32r/Makefile.am: Ditto.
854 * libc/machine/m68hc11/Makefile.am: Ditto.
855 * libc/machine/m68k/Makefile.am: Ditto.
856 * libc/machine/m88k/Makefile.am: Ditto.
857 * libc/machine/mips/Makefile.am: Ditto.
858 * libc/machine/mn10200/Makefile.am: Ditto.
859 * libc/machine/mn10300/Makefile.am: Ditto.
860 * libc/machine/mt/Makefile.am: Ditto.
861 * libc/machine/necv70/Makefile.am: Ditto.
862 * libc/machine/powerpc/Makefile.am: Ditto.
863 * libc/machine/sh/Makefile.am: Ditto.
864 * libc/machine/sparc/Makefile.am: Ditto.
865 * libc/machine/spu/Makefile.am: Ditto.
866 * libc/machine/tic4x/Makefile.am: Ditto.
867 * libc/machine/tic80/Makefile.am: Ditto.
868 * libc/machine/v850/Makefile.am: Ditto.
869 * libc/machine/w65/Makefile.am: Ditto.
870 * libc/machine/xscale/Makefile.am: Ditto.
871 * libc/machine/xstormy16/Makefile.am: Ditto.
872 * libc/machine/z8k/Makefile.am: Ditto.
873 * libc/sys/Makefile.am: Ditto.
874 * libc/sys/a29khif/Makefile.am: Ditto.
875 * libc/sys/arc/Makefile.am: Ditto.
876 * libc/sys/arm/Makefile.am: Ditto.
877 * libc/sys/d10v/Makefile.am: Ditto.
878 * libc/sys/decstation/Makefile.am: Ditto.
879 * libc/sys/h8300hms/Makefile.am: Ditto.
880 * libc/sys/h8500hms/Makefile.am: Ditto.
881 * libc/sys/linux/Makefile.am: Ditto.
882 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
883 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
884 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
885 * libc/sys/linux/machine/Makefile.am: Ditto.
886 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
887 * libc/sys/m88kbug/Makefile.am: Ditto.
888 * libc/sys/mmixware/Makefile.am: Ditto.
889 * libc/sys/netware/Makefile.am: Ditto.
890 * libc/sys/rdos/Makefile.am: Ditto.
891 * libc/sys/rtems/Makefile.am: Ditto.
892 * libc/sys/sh/Makefile.am: Ditto.
893 * libc/sys/sparc64/Makefile.am: Ditto.
894 * libc/sys/sun4/Makefile.am: Ditto.
895 * libc/sys/sysmec/Makefile.am: Ditto.
896 * libc/sys/sysnec810/Makefile.am: Ditto.
897 * libc/sys/sysnecv850/Makefile.am: Ditto.
898 * libc/sys/sysvi386/Makefile.am: Ditto.
899 * libc/sys/sysvnecv70/Makefile.am: Ditto.
900 * libc/sys/tic80/Makefile.am: Ditto.
901 * libc/sys/w65/Makefile.am: Ditto.
902 * libc/sys/z8ksim/Makefile.am: Ditto.
903 * libm/Makefile.am: Ditto.
904 * libm/machine/Makefile.am: Ditto.
905 * libm/machine/i386/Makefile.am: Ditto.
906 * libm/machine/spu/Makefile.am: Ditto.
908 * aclocal.m4: Regenerate.
909 * iconvdata/aclocal.m4: Regenerate.
910 * libc/aclocal.m4: Regenerate.
911 * libc/machine/aclocal.m4: Regenerate.
912 * libc/machine/i386/aclocal.m4: Regenerate.
913 * libc/sys/aclocal.m4: Regenerate.
914 * libc/sys/linux/aclocal.m4: Regenerate.
915 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
916 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
917 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
918 * libc/sys/linux/machine/aclocal.m4: Regenerate.
919 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
920 * libm/aclocal.m4: Regenerate.
921 * libm/machine/aclocal.m4: Regenerate.
922 * libm/machine/i386/aclocal.m4: Regenerate.
924 * Makefile.in: Regenerate.
925 * doc/Makefile.in: Regenerate.
926 * iconvdata/Makefile.in: Regenerate.
927 * libc/Makefile.in: Regenerate.
928 * libc/argz/Makefile.in: Regenerate.
929 * libc/ctype/Makefile.in: Regenerate.
930 * libc/errno/Makefile.in: Regenerate.
931 * libc/iconv/Makefile.in: Regenerate.
932 * libc/iconv/ccs/Makefile.in: Regenerate.
933 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
934 * libc/iconv/ces/Makefile.in: Regenerate.
935 * libc/iconv/lib/Makefile.in: Regenerate.
936 * libc/locale/Makefile.in: Regenerate.
937 * libc/machine/Makefile.in: Regenerate.
938 * libc/machine/a29k/Makefile.in: Regenerate.
939 * libc/machine/arm/Makefile.in: Regenerate.
940 * libc/machine/bfin/Makefile.in: Regenerate.
941 * libc/machine/cris/Makefile.in: Regenerate.
942 * libc/machine/crx/Makefile.in: Regenerate.
943 * libc/machine/d10v/Makefile.in: Regenerate.
944 * libc/machine/d30v/Makefile.in: Regenerate.
945 * libc/machine/fr30/Makefile.in: Regenerate.
946 * libc/machine/frv/Makefile.in: Regenerate.
947 * libc/machine/h8300/Makefile.in: Regenerate.
948 * libc/machine/h8500/Makefile.in: Regenerate.
949 * libc/machine/hppa/Makefile.in: Regenerate.
950 * libc/machine/i386/Makefile.in: Regenerate.
951 * libc/machine/i960/Makefile.in: Regenerate.
952 * libc/machine/iq2000/Makefile.in: Regenerate.
953 * libc/machine/m32c/Makefile.in: Regenerate.
954 * libc/machine/m32r/Makefile.in: Regenerate.
955 * libc/machine/m68hc11/Makefile.in: Regenerate.
956 * libc/machine/m68k/Makefile.in: Regenerate.
957 * libc/machine/m88k/Makefile.in: Regenerate.
958 * libc/machine/mips/Makefile.in: Regenerate.
959 * libc/machine/mn10200/Makefile.in: Regenerate.
960 * libc/machine/mn10300/Makefile.in: Regenerate.
961 * libc/machine/mt/Makefile.in: Regenerate.
962 * libc/machine/necv70/Makefile.in: Regenerate.
963 * libc/machine/powerpc/Makefile.in: Regenerate.
964 * libc/machine/sh/Makefile.in: Regenerate.
965 * libc/machine/sparc/Makefile.in: Regenerate.
966 * libc/machine/spu/Makefile.in: Regenerate.
967 * libc/machine/tic4x/Makefile.in: Regenerate.
968 * libc/machine/tic80/Makefile.in: Regenerate.
969 * libc/machine/v850/Makefile.in: Regenerate.
970 * libc/machine/w65/Makefile.in: Regenerate.
971 * libc/machine/xscale/Makefile.in: Regenerate.
972 * libc/machine/xstormy16/Makefile.in: Regenerate.
973 * libc/machine/z8k/Makefile.in: Regenerate.
974 * libc/misc/Makefile.in: Regenerate.
975 * libc/posix/Makefile.in: Regenerate.
976 * libc/reent/Makefile.in: Regenerate.
977 * libc/search/Makefile.in: Regenerate.
978 * libc/signal/Makefile.in: Regenerate.
979 * libc/stdio/Makefile.in: Regenerate.
980 * libc/stdio64/Makefile.in: Regenerate.
981 * libc/stdlib/Makefile.in: Regenerate.
982 * libc/string/Makefile.in: Regenerate.
983 * libc/sys/Makefile.in: Regenerate.
984 * libc/sys/a29khif/Makefile.in: Regenerate.
985 * libc/sys/arc/Makefile.in: Regenerate.
986 * libc/sys/arm/Makefile.in: Regenerate.
987 * libc/sys/d10v/Makefile.in: Regenerate.
988 * libc/sys/decstation/Makefile.in: Regenerate.
989 * libc/sys/h8300hms/Makefile.in: Regenerate.
990 * libc/sys/h8500hms/Makefile.in: Regenerate.
991 * libc/sys/linux/Makefile.in: Regenerate.
992 * libc/sys/linux/argp/Makefile.in: Regenerate.
993 * libc/sys/linux/cmath/Makefile.in: Regenerate.
994 * libc/sys/linux/dl/Makefile.in: Regenerate.
995 * libc/sys/linux/iconv/Makefile.in: Regenerate.
996 * libc/sys/linux/intl/Makefile.in: Regenerate.
997 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
998 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
999 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1000 * libc/sys/linux/machine/Makefile.in: Regenerate.
1001 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1002 * libc/sys/linux/net/Makefile.in: Regenerate.
1003 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1004 * libc/sys/m88kbug/Makefile.in: Regenerate.
1005 * libc/sys/mmixware/Makefile.in: Regenerate.
1006 * libc/sys/netware/Makefile.in: Regenerate.
1007 * libc/sys/rdos/Makefile.in: Regenerate.
1008 * libc/sys/rtems/Makefile.in: Regenerate.
1009 * libc/sys/sh/Makefile.in: Regenerate.
1010 * libc/sys/sparc64/Makefile.in: Regenerate.
1011 * libc/sys/sun4/Makefile.in: Regenerate.
1012 * libc/sys/sysmec/Makefile.in: Regenerate.
1013 * libc/sys/sysnec810/Makefile.in: Regenerate.
1014 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1015 * libc/sys/sysvi386/Makefile.in: Regenerate.
1016 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1017 * libc/sys/tic80/Makefile.in: Regenerate.
1018 * libc/sys/w65/Makefile.in: Regenerate.
1019 * libc/sys/z8ksim/Makefile.in: Regenerate.
1020 * libc/syscalls/Makefile.in: Regenerate.
1021 * libc/time/Makefile.in: Regenerate.
1022 * libc/unix/Makefile.in: Regenerate.
1023 * libm/Makefile.in: Regenerate.
1024 * libm/common/Makefile.in: Regenerate.
1025 * libm/machine/Makefile.in: Regenerate.
1026 * libm/machine/i386/Makefile.in: Regenerate.
1027 * libm/machine/spu/Makefile.in: Regenerate.
1028 * libm/math/Makefile.in: Regenerate.
1029 * libm/mathfp/Makefile.in: Regenerate.
1031 * configure: Regenerate.
1032 * iconvdata/configure: Regenerate.
1033 * libc/configure: Regenerate.
1034 * libc/machine/configure: Regenerate.
1035 * libc/machine/i386/configure: Regenerate.
1036 * libc/sys/configure: Regenerate.
1037 * libc/sys/linux/configure: Regenerate.
1038 * libc/sys/linux/linuxthreads/configure: Regenerate.
1039 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1040 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1041 * libc/sys/linux/machine/configure: Regenerate.
1042 * libc/sys/linux/machine/i386/configure: Regenerate.
1043 * libm/configure: Regenerate.
1044 * libm/machine/configure: Regenerate.
1045 * libm/machine/i386/configure: Regenerate.
1047 2007-05-23 Eric Blake <ebb9@byu.net>
1049 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1050 sizeof(void*) is 8 but sizeof(long) is 4.
1051 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1052 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1053 to fix reentrancy and bug on encoding error in multibyte locales.
1054 Always return EOF on read error.
1056 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1058 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1060 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1061 instead of the slot 0 value, remove any now unused variables, and
1062 for some cases, now store the result in an int vs int*.
1063 * libc/machine/spu/feof.c: Ditto.
1064 * libc/machine/spu/ferror.c: Ditto.
1065 * libc/machine/spu/fflush.c: Ditto.
1066 * libc/machine/spu/fgetc.c: Ditto.
1067 * libc/machine/spu/fgetpos.c: Ditto.
1068 * libc/machine/spu/fgets.c: Ditto.
1069 * libc/machine/spu/fileno.c: Ditto.
1070 * libc/machine/spu/fopen.c: Ditto.
1071 * libc/machine/spu/fprintf.c: Ditto.
1072 * libc/machine/spu/fputc.c: Ditto.
1073 * libc/machine/spu/fputs.c: Ditto.
1074 * libc/machine/spu/fread.c: Ditto.
1075 * libc/machine/spu/freopen.c: Ditto.
1076 * libc/machine/spu/fscanf.c: Ditto.
1077 * libc/machine/spu/fseek.c: Ditto.
1078 * libc/machine/spu/fsetpos.c: Ditto.
1079 * libc/machine/spu/ftell.c: Ditto.
1080 * libc/machine/spu/fwrite.c: Ditto.
1081 * libc/machine/spu/getc.c: Ditto.
1082 * libc/machine/spu/getchar.c: Ditto.
1083 * libc/machine/spu/gets.c: Ditto.
1084 * libc/machine/spu/printf.c: Ditto.
1085 * libc/machine/spu/putc.c: Ditto.
1086 * libc/machine/spu/putchar.c: Ditto.
1087 * libc/machine/spu/puts.c: Ditto.
1088 * libc/machine/spu/remove.c: Ditto.
1089 * libc/machine/spu/rename.c: Ditto.
1090 * libc/machine/spu/scanf.c: Ditto.
1091 * libc/machine/spu/setvbuf.c: Ditto.
1092 * libc/machine/spu/snprintf.c: Ditto.
1093 * libc/machine/spu/sprintf.c: Ditto.
1094 * libc/machine/spu/sscanf.c: Ditto.
1095 * libc/machine/spu/tmpfile.c: Ditto.
1096 * libc/machine/spu/tmpnam.c: Ditto.
1097 * libc/machine/spu/ungetc.c: Ditto.
1098 * libc/machine/spu/vfprintf.c: Ditto.
1099 * libc/machine/spu/vfscanf.c: Ditto.
1100 * libc/machine/spu/vprintf.c: Ditto.
1101 * libc/machine/spu/vscanf.c: Ditto.
1102 * libc/machine/spu/vsnprintf.c: Ditto.
1103 * libc/machine/spu/vsprintf.c: Ditto.
1104 * libc/machine/spu/vsscanf.c: Ditto.
1106 2007-05-23 Eric Blake <ebb9@byu.net>
1108 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
1109 Avoid warning when !FLOATING_POINT.
1110 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
1113 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
1115 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
1117 * libc/include/argz.h: Guard against multiple inclusion. Guard for
1120 2007-05-18 Eric Blake <ebb9@byu.net>
1122 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
1124 * libc/stdio/vfscanf.c: Likewise.
1126 2007-05-17 Cary R. <cygcary <at> yahoo.com>
1128 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
1129 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
1130 * libm/math/wf_atan2.c: Ditto.
1132 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
1134 * libm/common/Makefile.am: Add support for exp10, exp10f,
1135 pow10, and pow10f functions.
1136 * libm/common/Makefile.in: Regenerated.
1137 * libm/common/s_pow10.c: New file.
1138 * libm/common/sf_pow10.c: Ditto.
1139 * libm/common/s_exp10.c: Ditto.
1140 * libm/common/sf_exp10.c: Ditto.
1141 * libc/include/math.h [!pow10]: New pow10 prototype.
1142 [!pow10f]: New pow10f prototype.
1143 [!exp10]: New exp10 prototype.
1144 [!exp10f]: New exp10f prototype.
1146 2007-05-17 Charles Wilson <cygwin@...>
1148 * stdio/tmpfile.c: Include <sys/stat.h>.
1149 * stdio64/tmpfile64.c: Ditto.
1151 2007-05-16 Eric Blake <ebb9@byu.net>
1153 Close security hole in tmpfile.
1154 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
1155 generation and opening the fd.
1156 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
1158 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
1159 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
1161 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
1162 avoid clash with <math.h>.
1164 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
1165 * libc/search/hash.c (__hash_open): Likewise.
1167 2007-05-14 Eric Blake <ebb9@byu.net>
1169 Reduce stack size of *printf.
1170 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
1171 in %f. Avoid malloc when possible for %S.
1172 (BUF): Improve stack locality by using smaller size.
1173 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
1174 (exponent): Use smaller stack size.
1176 2007-05-11 Eric Blake <ebb9@byu.net>
1178 Minimize printf/scanf size on platforms that don't need C99.
1179 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
1180 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
1181 * configure.in (newlib-io-c99-formats): New configure option.
1182 (_WANT_IO_C99_FORMATS): Define appropriately.
1183 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
1184 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
1185 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
1186 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
1188 * configure: Regenerate.
1190 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
1191 (get_arg): Support '%a' and '%A'.
1193 2007-05-09 Eric Blake <ebb9@byu.net>
1195 Allow zero size with non-null buf in *asnprintf.
1196 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
1198 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
1199 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1200 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
1202 2007-05-07 Charles Wilson <cygwin@...>
1204 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
1206 2007-05-03 Eric Blake <ebb9@byu.net>
1208 Add support for asnprintf, and improve *printf documentation.
1209 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
1210 (ELIX_2_SOURCES): ...to this.
1211 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
1212 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
1213 (CHEWOUT_FILES): Include diprintf in documentation.
1214 * libc/stdio/Makefile.in: Regenerate.
1215 * libc/stdio/diprintf.c: Improve documentation.
1216 * libc/stdio/dprintf.c: Likewise.
1217 * libc/stdio/siprintf.c: Likewise.
1218 * libc/stdio/sprintf.c: Likewise.
1219 * libc/stdio/vfprintf.c: Likewise.
1220 * libc/stdio/viprintf.c: Likewise.
1221 * libc/stdio/vsniprintf.c: Consolidate documentation.
1222 * libc/stdio/asiprintf.c: Refer to documentation.
1223 * libc/stdio/asprintf.c: Likewise.
1224 * libc/stdio/fiprintf.c: Likewise.
1225 * libc/stdio/fprintf.c: Likewise.
1226 * libc/stdio/iprintf.c: Likewise.
1227 * libc/stdio/printf.c: Likewise.
1228 * libc/stdio/sniprintf.c: Likewise.
1229 * libc/stdio/vdiprintf.c: Likewise.
1230 * libc/stdio/vdprintf.c: Likewise.
1231 * libc/stdio/vsiprintf.c: Likewise.
1232 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
1233 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
1234 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
1235 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
1237 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
1238 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
1240 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
1241 * libc/include/stdio.h: Add prototypes for new functions; sort
1244 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
1246 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1248 * libc/machine/m68k/Makefile.in: Regenerate.
1249 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
1250 * libc/machine/m68k/memset.S: Likewise.
1252 2007-05-01 Eric Blake <ebb9@byu.net>
1254 * libc/stdio64/local64.h: Delete, move contents to...
1255 * libc/stdio/local.h: ...here.
1256 * libc/stdio64/fdopen64.c: Update includes.
1257 * libc/stdio64/fopen64.c: Likewise.
1258 * libc/stdio64/freopen64.c: Likewise.
1259 * libc/stdio64/fseeko64.c: Likewise.
1260 * libc/stdio64/ftello64.c: Likewise.
1261 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
1262 and stderr with 64-bit offset.
1263 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
1264 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
1265 * libc/stdio/mktemp.c (_gettemp): Likewise.
1267 2007-05-01 Cary R. <cygcary <at> yahoo.com>
1269 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
1270 to treatment of NaN and +-inf arguments.
1271 * libm/math/ef_pow.c: Ditto.
1272 * libm/math/w_pow.c: Ditto.
1273 * libm/math/wf_pow.c: Ditto.
1274 * libm/math/w_acos.c: Fix domain errors to return NaN.
1275 * libm/math/w_asin.c: Ditto.
1276 * libm/math/wf_acos.c: Ditto.
1277 * libm/math/wf_asin.c: Ditto.
1278 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
1279 * libm/math/wf_log.c: Ditto.
1280 * libm/math/wf_log10.c: Ditto.
1281 * libm/math/w_log10.c: Ditto.
1283 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
1285 * libc/machine/m68k/Makefile.am: Temporarily remove
1286 memcpy.S and memset.S until logic can be confirmed for
1287 !(__mcoldfile__) case.
1288 * libc/machine/m68k/Makefile.in: Regenerated.
1290 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
1292 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1294 * libc/machine/m68k/Makefile.in: Regenerate.
1295 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
1297 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
1299 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
1300 overridden via machine/ieeefp.h.
1301 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
1302 macros for isnan and related macros.
1303 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
1304 overridden via machine/ieeefp.h.
1305 * libm/machine/spu/Makefile.am: Add new files.
1306 * libm/machine/spu/Makefile.in: Autogenerate with new files.
1307 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
1308 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
1309 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
1310 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
1311 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
1312 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
1313 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
1315 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
1317 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
1318 * libm/common/sf_fpclassify.c: ...here. New file.
1319 * libm/common/Makefile.am: Add sf_fpclassify.c.
1320 * libm/common/Makefile.in: Regenerated.
1322 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1324 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
1325 ppu linux values. This file is a copy of the cris/sys/errno.h plus
1326 a few changes (see spu errno.h comments).
1328 2007-04-25 Eric Blake <ebb9@byu.net>
1330 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
1331 that promote to int.
1333 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1335 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
1336 we clear the proper bits in the fpscr, and don't set some random ones.
1338 2007-04-24 Eric Blake <ebb9@byu.net>
1340 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
1343 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
1346 * libc/include/limits.h (NL_ARGMAX): Define a default value.
1347 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
1348 NL_ARGMAX, if present.
1350 2007-04-23 Brian Dessent <brian@dessent.net>
1352 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
1353 has been specified with types 'f', 'F', 'g', or 'G', ensure the
1354 trailing decimal is printed.
1356 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
1358 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
1359 file. Override Autoconf-2.59's version of these macros with
1360 fixed handling of multiple adjacent whitespace in arguments.
1361 * aclocal.m4: Regenerated forcefully.
1363 * Makefile.in: Ditto.
1364 * libc/*Makefile.in: Ditto.
1365 * libc/*aclocal.m4: Ditto.
1366 * libc/*configure: Ditto.
1367 * libm/*Makefile.in: Ditto.
1368 * libm/*aclocal.m4: Ditto.
1369 * libm/*configure: Ditto.
1371 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
1373 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
1374 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
1375 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
1376 * libc/sys/arc/Makefile.in: Regenerated.
1378 2007-04-17 Brian Dessent <brian@dessent.net>
1380 * libc/stdio/sscanf.c: Update documentation comments.
1381 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
1383 2007-04-12 Eric Blake <ebb9@byu.net>
1385 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1386 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1387 (get_arg): Handle %1$F, %1$n.
1389 2007-04-10 Eric Blake <ebb9@byu.net>
1391 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1394 2007-04-09 Eric Blake <ebb9@byu.net>
1396 * libc/include/stdio.h: Add gcc format attributes to printf and
1399 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
1401 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1402 even if the passed in length n is shorter than the source string.
1403 This matches both the non-spu specific and the glibc strxfrm
1406 2007-04-04 Mark Mitchell <mark@codesourcery.com>
1408 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1409 functions registering additional atexit functions.
1411 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1414 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
1416 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1418 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1419 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1420 * libc/machine/spu/fclose.c: Ditto.
1421 * libc/machine/spu/feof.c: Ditto.
1422 * libc/machine/spu/ferror.c: Ditto.
1423 * libc/machine/spu/fflush.c: Ditto.
1424 * libc/machine/spu/fgetc.c: Ditto.
1425 * libc/machine/spu/fgetpos.c: Ditto.
1426 * libc/machine/spu/fgets.c: Ditto.
1427 * libc/machine/spu/fileno.c: Ditto.
1428 * libc/machine/spu/fopen.c: Ditto.
1429 * libc/machine/spu/fprintf.c: Ditto.
1430 * libc/machine/spu/fputc.c: Ditto.
1431 * libc/machine/spu/fputs.c: Ditto.
1432 * libc/machine/spu/fread.c: Ditto.
1433 * libc/machine/spu/freopen.c: Ditto.
1434 * libc/machine/spu/fscanf.c: Ditto.
1435 * libc/machine/spu/fseek.c: Ditto.
1436 * libc/machine/spu/fsetpos.c: Ditto.
1437 * libc/machine/spu/ftell.c: Ditto.
1438 * libc/machine/spu/fwrite.c: Ditto.
1439 * libc/machine/spu/getc.c: Ditto.
1440 * libc/machine/spu/getchar.c: Ditto.
1441 * libc/machine/spu/gets.c: Ditto.
1442 * libc/machine/spu/perror.c: Ditto.
1443 * libc/machine/spu/printf.c: Ditto.
1444 * libc/machine/spu/putc.c: Ditto.
1445 * libc/machine/spu/putchar.c: Ditto.
1446 * libc/machine/spu/puts.c: Ditto.
1447 * libc/machine/spu/remove.c: Ditto.
1448 * libc/machine/spu/rename.c: Ditto.
1449 * libc/machine/spu/rewind.c: Ditto.
1450 * libc/machine/spu/scanf.c: Ditto.
1451 * libc/machine/spu/setbuf.c: Ditto.
1452 * libc/machine/spu/setvbuf.c: Ditto.
1453 * libc/machine/spu/snprintf.c: Ditto.
1454 * libc/machine/spu/sprintf.c: Ditto.
1455 * libc/machine/spu/sscanf.c: Ditto.
1456 * libc/machine/spu/tmpfile.c: Ditto.
1457 * libc/machine/spu/tmpnam.c: Ditto.
1458 * libc/machine/spu/ungetc.c: Ditto.
1459 * libc/machine/spu/vfprintf.c: Ditto.
1460 * libc/machine/spu/vfscanf.c: Ditto.
1461 * libc/machine/spu/vprintf.c: Ditto.
1462 * libc/machine/spu/vscanf.c: Ditto.
1463 * libc/machine/spu/vsnprintf.c: Ditto.
1464 * libc/machine/spu/vsprintf.c: Ditto.
1465 * libc/machine/spu/vsscanf.c: Ditto.
1467 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1469 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1471 2007-04-04 Eric Blake <ebb9@byu.net>
1473 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1474 (asiprintf): Avoid overhead.
1475 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1476 (asprintf): Avoid overhead.
1477 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1478 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1479 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1480 (fiprintf): Avoid overhead.
1481 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1482 (fprintf): Avoid overhead.
1483 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1484 (iprintf): Avoid overhead.
1485 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1486 (printf): Avoid overhead.
1487 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1488 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1489 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1490 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1491 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1492 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1493 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1494 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1495 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1497 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1498 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1500 2007-03-30 Dave Korn <dave.korn@artimi.com>
1502 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1503 conflicting inline semantics between C99 and GNU89.
1504 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1505 compatible with -fkeep-inline-functions usage.
1506 (__sputc_r): Likewise for consistency even though disabled.
1508 2007-03-29 Nick Clifton <nickc@redhat.com>
1510 Reflect changes made to generic vfprintf.c:
1511 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1512 and add a "struct reent *" argument.
1513 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1514 argument and call _VFPRINTF_R instead of VFPRINTF.
1515 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1516 Fix uses of __sprint() and __sbprintf.
1518 2007-03-20 Nick Clifton <nickc@redhat.com>
1520 Reflect changes made to generic vfprintf.c:
1521 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1522 and add a "struct reent *" argument.
1523 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1524 argument and call _VFPRINTF_R instead of VFPRINTF.
1525 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1526 Fix uses of __sprint() and __sbprintf.
1528 2007-03-16 Charles Wilson <cygwin@...>
1530 * libc/argz/argz_insert.c: "before" pointer is
1531 invalid after *argz realloc. Compute offset
1532 between "before" and *argz, and use it after
1533 reallocation instead.
1535 2007-03-16 Eric Blake <ebb9@byu.net>
1537 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1538 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1540 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1542 * configure.in: Add new --enable-newlib-reent-small option.
1543 * configure: Regenerated.
1544 * acconfig.h: Add _WANT_REENT_SMALL.
1545 * newlib.hin: Regenerated minus PACKAGE macros to add
1546 _WANT_REENT_SMALL macro.
1547 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1549 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1551 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1552 use reentrant pointer passed in when resetting the file
1553 pointer to one of the std streams.
1555 2007-03-15 Eric Blake <ebb9@byu.net>
1557 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1558 (__smakebuf): Rename...
1559 (__smakebuf_r): to this.
1560 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1561 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1562 allocation, then rename...
1563 (__smakebuf_r): ...to this and fix reentrancy.
1564 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1565 allocation, then rename...
1566 (__swsetup_r): ...to this and fix reentrancy.
1567 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1568 * libc/stdio/refill.c (__srefill_r): Likewise.
1569 * libc/stdio/fclose.c (_fclose_r): Likewise.
1570 * libc/stdio/fread.c (_fread_r): Likewise.
1571 * libc/stdio/freopen.c (_freopen_r): Likewise.
1572 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1573 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1574 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1575 failed asprintf allocation, and fix reentrancy.
1576 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1577 as required by POSIX.
1578 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1579 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1580 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1582 2007-03-12 Eric Blake <ebb9@byu.net>
1584 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1585 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1586 allocation to caller.
1587 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1588 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1589 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1591 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1593 * libm/math/w_pow.c: Fix typo in documentation comment.
1595 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1597 * libc/reent/timer.c: Removed (split into two new files).
1598 * libc/reent/timesr.c: New file for _times_r.
1599 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1600 * reent/Makefile.in: Remove timer.c, add timesr.c and
1602 * libc/reent/Makefile.am: Regenerate.
1604 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1606 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1608 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1610 * libc/machine/spu/Makefile.am: Add new objects.
1611 * libc/machine/spu/Makefile.in: Regenerated.
1612 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1613 integer-only version.
1614 * libc/machine/spu/fiscanf.c: Ditto.
1615 * libc/machine/spu/iprintf.c: Ditto.
1616 * libc/machine/spu/iscanf.c: Ditto.
1617 * libc/machine/spu/siprintf.c: Ditto.
1618 * libc/machine/spu/siscanf.c: Ditto.
1619 * libc/machine/spu/sniprintf.c: Ditto.
1620 * libc/machine/spu/vfiprintf.c: Ditto.
1621 * libc/machine/spu/vfiscanf.c: Ditto.
1622 * libc/machine/spu/viprintf.c: Ditto.
1623 * libc/machine/spu/viscanf.c: Ditto.
1624 * libc/machine/spu/vsiprintf.c: Ditto.
1625 * libc/machine/spu/vsiscanf.c: Ditto.
1626 * libc/machine/spu/vsniprintf.c: Ditto.
1627 * libc/machine/spu/fprintf.c: Add support for integer-only
1629 * libc/machine/spu/fscanf.c: Ditto.
1630 * libc/machine/spu/printf.c: Ditto.
1631 * libc/machine/spu/scanf.c: Ditto.
1632 * libc/machine/spu/snprintf.c: Ditto.
1633 * libc/machine/spu/sprintf.c: Ditto.
1634 * libc/machine/spu/sscanf.c: Ditto.
1635 * libc/machine/spu/vfprintf.c: Ditto.
1636 * libc/machine/spu/vfscanf.c: Ditto.
1637 * libc/machine/spu/vprintf.c: Ditto.
1638 * libc/machine/spu/vscanf.c: Ditto.
1639 * libc/machine/spu/vsnprintf.c: Ditto.
1640 * libc/machine/spu/vsprintf.c: Ditto.
1641 * libc/machine/spu/vsscanf.c: Ditto.
1643 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1645 * libc/include/stdio.h: Add declaration for vsiprintf.
1647 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1649 Add a floating point environment for SPU (cell):
1651 * configure.host: add libm_machine_dir=spu.
1652 * libm/machine/configure: Add spu.
1653 * libm/machine/configure.in: regenerated with spu added.
1654 * libc/machine/spu/include/fenv.h: New file.
1655 * libc/machine/spu/sys/fenv.h: Ditto.
1656 * libm/machine/spu/Makefile.am: Ditto.
1657 * libm/machine/spu/Makefile.in: Ditto.
1658 * libm/machine/spu/aclocal.m4: Ditto.
1659 * libm/machine/spu/configure: Ditto.
1660 * libm/machine/spu/configure.in: Ditto.
1661 * libm/machine/spu/fe_dfl_env.c: Ditto.
1662 * libm/machine/spu/feclearexcept.c: Ditto.
1663 * libm/machine/spu/fegetenv.c: Ditto.
1664 * libm/machine/spu/fegetexceptflag.c: Ditto.
1665 * libm/machine/spu/fegetround.c: Ditto.
1666 * libm/machine/spu/feholdexcept.c: Ditto.
1667 * libm/machine/spu/feraiseexcept.c: Ditto.
1668 * libm/machine/spu/fesetenv.c: Ditto.
1669 * libm/machine/spu/fesetexceptflag.c: Ditto.
1670 * libm/machine/spu/fesetround.c: Ditto.
1671 * libm/machine/spu/fetestexcept.c: Ditto.
1672 * libm/machine/spu/feupdateenv.c: Ditto.
1673 * libm/machine/spu/headers/feclearexcept.h: Ditto.
1674 * libm/machine/spu/headers/fefpscr.h: Ditto.
1675 * libm/machine/spu/headers/fegetenv.h: Ditto.
1676 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
1677 * libm/machine/spu/headers/fegetround.h: Ditto.
1678 * libm/machine/spu/headers/feholdexcept.h: Ditto.
1679 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
1680 * libm/machine/spu/headers/fesetenv.h: Ditto.
1681 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1682 * libm/machine/spu/headers/fesetround.h: Ditto.
1683 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1684 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1686 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
1688 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1691 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
1693 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1694 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1696 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
1698 * libc/include/sys/features.h: Add definition of all supported
1699 _POSIX_xxx values for Cygwin.
1700 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1702 (pthread_rwlockattr_t): Ditto.
1703 * libc/include/sys/unistd.h: Define all _SC_xxx values as
1704 required by SUSv3. Unify formatting.
1706 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
1708 * libc/include/sys/errno.h: Add ECANCELED.
1710 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1711 Kazunori Asayama <asayama@sm.sony.co.jp>
1713 * libc/machine/spu/Makefile.am: Add objects.
1714 * libc/machine/spu/Makefile.in: Regenerated.
1715 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
1717 * libc/machine/spu/snprintf.c: Ditto.
1718 * libc/machine/spu/sprintf.c: Ditto.
1719 * libc/machine/spu/sscanf.c: Ditto.
1720 * libc/machine/spu/remove.c: Ditto.
1721 * libc/machine/spu/rename.c: Ditto.
1722 * libc/machine/spu/tmpnam.c: Ditto.
1723 * libc/machine/spu/vsnprintf.c: Add initialization routine of
1725 * libc/machine/spu/vsprintf.c: Ditto.
1727 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1728 Kazunori Asayama <asayama@sm.sony.co.jp>
1730 * configure.host: Enable SPU specific stdio directory.
1731 * libc/machine/spu/Makefile.am: Add objects.
1732 * libc/machine/spu/Makefile.in: Regenerated.
1733 * libc/machine/spu/c99ppe.h: Add macros and function
1734 declarations to initialize SPU specific stdio stuffs.
1735 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
1736 specific FILE structures.
1737 * libc/machine/spu/perror.c: Add initialization routine of
1739 * libc/machine/spu/printf.c: Ditto.
1740 * libc/machine/spu/putchar.c: Ditto.
1741 * libc/machine/spu/puts.c: Ditto.
1742 * libc/machine/spu/vprintf.c: Ditto.
1743 * libc/machine/spu/clearerr.c: New file. Add a stdio function
1745 * libc/machine/spu/feof.c: Ditto.
1746 * libc/machine/spu/ferror.c: Ditto.
1747 * libc/machine/spu/fileno.c: Ditto.
1748 * libc/machine/spu/fopen.c: Ditto.
1749 * libc/machine/spu/fclose.c: Ditto.
1750 * libc/machine/spu/freopen.c: Ditto.
1751 * libc/machine/spu/fflush.c: Ditto.
1752 * libc/machine/spu/fseek.c: Ditto.
1753 * libc/machine/spu/ftell.c: Ditto.
1754 * libc/machine/spu/rewind.c: Ditto.
1755 * libc/machine/spu/fgetpos.c: Ditto.
1756 * libc/machine/spu/fsetpos.c: Ditto.
1757 * libc/machine/spu/fread.c: Ditto.
1758 * libc/machine/spu/fwrite.c: Ditto.
1759 * libc/machine/spu/getc.c: Ditto.
1760 * libc/machine/spu/getchar.c: Ditto.
1761 * libc/machine/spu/gets.c: Ditto.
1762 * libc/machine/spu/fgetc.c: Ditto.
1763 * libc/machine/spu/fgets.c: Ditto.
1764 * libc/machine/spu/ungetc.c: Ditto.
1765 * libc/machine/spu/putc.c: Ditto.
1766 * libc/machine/spu/fputc.c: Ditto.
1767 * libc/machine/spu/fputs.c: Ditto.
1768 * libc/machine/spu/vfprintf.c: Ditto.
1769 * libc/machine/spu/vfscanf.c: Ditto.
1770 * libc/machine/spu/fprintf.c: Ditto.
1771 * libc/machine/spu/fscanf.c: Ditto.
1772 * libc/machine/spu/scanf.c: Ditto.
1773 * libc/machine/spu/vscanf.c: Ditto.
1774 * libc/machine/spu/setbuf.c: Ditto.
1775 * libc/machine/spu/setvbuf.c: Ditto.
1776 * libc/machine/spu/tmpfile.c: Ditto.
1778 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
1780 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
1781 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
1782 around stdio macros that manipulate fields in the normal file
1784 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
1785 <sys/custom_file.h> to define custom FILE structure.
1786 * libc/include/sys/custom_file.h: New default header file
1787 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
1788 * libc/machine/spu/sys/custom_file.h: New file.
1790 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
1792 * configure.host: Define stdio directory as a variable.
1793 * libc/Makefile.am: Define stdio related names
1795 * libc/configure.in: Add detection routine of stdio directory.
1796 * libc/Makefile.in: Regenerated.
1797 * libc/configure: Ditto.
1798 * libc/argz/Makefile.in: Ditto.
1799 * libc/ctype/Makefile.in: Ditto.
1800 * libc/errno/Makefile.in: Ditto.
1801 * libc/iconv/Makefile.in: Ditto.
1802 * libc/iconv/ccs/Makefile.in: Ditto.
1803 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1804 * libc/iconv/ces/Makefile.in: Ditto.
1805 * libc/iconv/lib/Makefile.in: Ditto.
1806 * libc/locale/Makefile.in: Ditto.
1807 * libc/misc/Makefile.in: Ditto.
1808 * libc/posix/Makefile.in: Ditto.
1809 * libc/reent/Makefile.in: Ditto.
1810 * libc/search/Makefile.in: Ditto.
1811 * libc/signal/Makefile.in: Ditto.
1812 * libc/stdio/Makefile.in: Ditto.
1813 * libc/stdio64/Makefile.in: Ditto.
1814 * libc/stdlib/Makefile.in: Ditto.
1815 * libc/string/Makefile.in: Ditto.
1816 * libc/syscalls/Makefile.in: Ditto.
1817 * libc/time/Makefile.in: Ditto.
1818 * libc/unix/Makefile.in: Ditto.
1820 2007-01-30 Ben Elliston <bje@au.ibm.com>
1822 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
1824 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
1825 (printf): Pass fmt to va_start to suppress a warning.
1827 * libc/search/hash.c (init_hash): Make `info' parameter const.
1829 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
1831 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
1832 * libc/machine/spu/vec_literal.h: Ditto.
1833 * libc/machine/spu/strncmp.c: Ditto.
1835 2007-01-15 Joseph Myers <joseph@codesourcery.com>
1836 Kazu Hirata <kazu@codesourcery.com>
1838 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
1839 for E500V1 and E500V2.
1841 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
1843 * libm/configure.in: Always configure machine directory.
1844 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
1846 * libm/configure: Regenerated.
1847 * libm/Makefile.in: Ditto.
1848 * libm/*/Makefile.in: Ditto.
1850 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
1852 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
1854 2007-01-02 Ben Elliston <bje@au.ibm.com>
1856 * doc/makedoc.c: Include <stdlib.h>.
1857 (malloc, realloc): Remove extern declarations.
1859 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1861 * NEWS: Update with 1.15.0 info.
1863 * acinclude.m4: Change version number to 1.15.0.
1864 * aclocal.m4: Regenerated.
1866 * doc/aclocal.m4: Ditto.
1867 * doc/configure: Ditto.
1868 * libc/*/aclocal.m4: Ditto.
1869 * libc/*/configure: Ditto.
1870 * libc/libc.texinfo: Ditto.
1871 * libm/*/aclocal.m4: Ditto.
1872 * libm/*/configure: Ditto.
1873 * libm/libm.texinfo: Ditto.
1874 * libc/sys/linux/shared.ld: Add VERS_1.15.
1876 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
1878 Merge from newlib-csl-20060320-branch:
1879 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
1880 Kazu Hirata <kazu@codesourcery.com>
1882 * configure.host: Recognize fido.
1884 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
1886 * libc/machine/spu/c99ppe.h: New file
1887 * libc/machine/spu/perror.c: New file to override libc/stdio version.
1888 * libc/machine/spu/printf.c: New file
1889 * libc/machine/spu/putchar.c: New file
1890 * libc/machine/spu/puts.c: New file
1891 * libc/machine/spu/vprintf.c: New file
1892 * libc/machine/spu/vsnprintf.c: New file
1893 * libc/machine/spu/vsprintf.c: New file
1894 * libc/machine/spu/Makefile.am: Add new targets.
1895 * libc/machine/spu/Makefile.in: Regenerated.
1897 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1899 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
1900 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
1902 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1904 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
1905 2.6.5 version of Doug Lea's malloc which is the basis of
1908 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
1910 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
1912 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
1913 Eric Blake <ebb9@byu.net>
1915 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
1916 read but unused data.
1917 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
1918 even read streams may have side effects that must happen.
1920 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1922 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
1925 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1927 * libc/include/alloca.h: Add undef alloca to work with xlc.
1929 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
1931 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
1934 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1936 * libc/machine/spu/strncpy.c: Add padding.
1938 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1940 * testsuite/newlib.string/tstring.c:
1942 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
1944 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
1945 * libc/machine/spu/strrchr.c: Ditto.
1947 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
1949 * libc/include/math.h: Allow C99 functions/macros to be
1950 defined for C++ even when __STRICT_ANSI__.
1952 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
1954 * libc/stdio/makebuf.c (__smakebuf): If dealing with
1955 an asprintf-family buffer, make the default initial size 64.
1957 2006-11-29 Eric Blake <ebb9@byu.net>
1959 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
1960 asprintf, as well as quadratic realloc behavior.
1962 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
1964 * libc/machine/spu/memset.c: Fix type of explicit cast.
1965 * libc/machine/spu/strncmp.c: Add explicit cast.
1966 * libc/machine/spu/strrchr.c: Ditto.
1967 * libc/machine/spu/strspn.c: Ditto.
1969 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
1971 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
1972 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
1973 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
1974 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
1975 * libc/machine/spu/strncat.c: Explicit cast.
1976 * libc/machine/spu/strncmp.c: Use spu_splats.
1977 * libc/machine/spu/strncpy.c: Explicit cast.
1978 * libc/machine/spu/strrchr.c: Use spu_splats.
1979 * libc/machine/spu/strspn.c: Use spu_splats.
1981 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
1983 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
1985 2006-11-14 Eric Blake <ebb9@byu.net>
1987 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
1988 (chclass): ' is a flag. j, t, and z are modifiers.
1990 2006-11-08 Jie Zhang <jie.zhang@analog.com>
1992 * configure.host: Add support for bfin.
1993 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
1994 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
1995 * libc/machine/bfin/aclocal.m4: Generate.
1996 * libc/machine/bfin/configure.in: New.
1997 * libc/machine/bfin/configure: Generate.
1998 * libc/machine/bfin/Makefile.am: New.
1999 * libc/machine/bfin/Makefile.in: Generate.
2000 * libc/machine/bfin/setjmp.S: New.
2001 * libc/machine/bfin/longjmp.S: New.
2002 * libc/machine/configure.in: Add bfin support.
2003 * libc/machine/configure: Generate.
2005 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
2007 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2008 (_PC_FILESIZEBITS): Add definition.
2009 (_PC_2_SYMLINKS): Ditto.
2010 (_PC_SYMLINK_MAX): Ditto.
2012 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2014 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2015 version optimized for the cell spu.
2016 * libc/machine/spu/memmove.c: Ditto.
2017 * libc/machine/spu/memset.c: Ditto.
2018 * libc/machine/spu/strcat.c: Ditto.
2019 * libc/machine/spu/strchr.c: Ditto.
2020 * libc/machine/spu/strcmp.c: Ditto.
2021 * libc/machine/spu/strcpy.c: Ditto.
2022 * libc/machine/spu/strcspn.c: Ditto.
2023 * libc/machine/spu/strlen.c: Ditto.
2024 * libc/machine/spu/strncat.c: Ditto.
2025 * libc/machine/spu/strncmp.c: Ditto.
2026 * libc/machine/spu/strncpy.c: Ditto.
2027 * libc/machine/spu/strpbrk.c: Ditto.
2028 * libc/machine/spu/strrchr.c: Ditto.
2029 * libc/machine/spu/strspn.c: Ditto.
2030 * libc/machine/spu/strxfrm.c: Ditto.
2031 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
2032 removing altivec style initializers.
2033 * libc/machine/spu/Makefile.am: Add new files to list so they build
2034 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2036 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2038 * README: Add a brief section on how to regenerate
2039 configuration files in newlib.
2041 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2043 * libc/include/math.h: (exception): Add a comment
2044 telling fixincludes that we handle C vs. C++ issue.
2046 2006-10-11 Yang Tse <yangsita@gmail.com>
2048 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2051 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
2053 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2055 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2057 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2058 for clearerr, feof, or fileno.
2059 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2060 the dummy std stream scheme to use pointers to const external
2061 fake files, one for each standard stream.
2062 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2063 argument. For _REENT_SMALL, reset the file pointer if it
2064 matches one of the fake std stream pointers.
2065 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2067 * libc/stdio/fclose.c: Ditto.
2068 * libc/stdio/feof.c: Ditto.
2069 * libc/stdio/ferror.c: Ditto.
2070 * libc/stdio/fflush.c: Ditto.
2071 * libc/stdio/fgetc.c: Ditto.
2072 * libc/stdio/fgets.c: Ditto.
2073 * libc/stdio/fileno.c: Ditto.
2074 * libc/stdio/findfp.c: Ditto.
2075 * libc/stdio/fputc.c: Ditto.
2076 * libc/stdio/fputs.c: Ditto.
2077 * libc/stdio/fread.c: Ditto.
2078 * libc/stdio/freopen.c: Ditto.
2079 * libc/stdio/fseek.c: Ditto.
2080 * libc/stdio/ftell.c: Ditto.
2081 * libc/stdio/fwrite.c: Ditto.
2082 * libc/stdio/getc.c: Ditto.
2083 * libc/stdio/getdelim.c: Ditto.
2084 * libc/stdio/putc.c: Ditto.
2085 * libc/stdio/refill.c: Ditto.
2086 * libc/stdio/setvbuf.c: Ditto.
2087 * libc/stdio/ungetc.c: Ditto.
2088 * libc/stdio/vfprintf.c: Ditto.
2089 * libc/stdio/vfscanf.c: Ditto.
2090 * libc/stdio/wbuf.c: Ditto.: Ditto.
2091 * libc/stdio/wsetup.c: Ditto.
2092 * libc/stdio64/freopen64.c: Ditto.
2093 * libc/stdio64/fseeko64.c: Ditto.
2094 * libc/stdio64/ftello64.c: Ditto.
2095 * libc/machine/powerpc/vfprintf.c: Ditto.
2096 * libc/machine/powerpc/vfscanf.c: Ditto.
2098 2006-09-22 Paul Brook <paul@codesourcery.com>
2100 * libc/include/sys/reent.h: Define and use __reent_assert.
2102 2006-09-13 Joel Sherrill <joel@oarcorp.com>
2104 * libc/include/pthread.h: Add pthread barriers,
2105 rwlocks, and spinlocks. Change const to
2106 _CONST and prefix parameter names with
2108 * libc/include/sys/types.h: Add id and attribute
2109 types for barriers, wrlocks, and spinlocks.
2110 * libc/include/sys/features.h: Enable barriers,
2111 wrlocks, and spinlocks for RTEMS.
2113 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
2115 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
2116 supposed to be writable.
2117 * libm/common/s_lib_ver.c: Ditto.
2119 2006-09-12 Paul Brook <paul@codesourcery.com>
2121 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2123 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
2126 * libc/machine/xstormy16/Makefile.am:
2127 Add $(lpfx) prefix to LIBADD objects.
2128 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
2129 * libc/machine/xstormy16/Makefile.in: Regenerated.
2131 2006-09-06 Eric Blake <ebb9@byu.net>
2133 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
2134 't', and 'z' modifiers.
2136 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
2138 Merge from newlib-csl-20060320-branch:
2139 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
2141 * configure.host: Tell it we have _rename and _system when
2142 building m68k-unknown-elf.
2144 2006-08-29 Paul Brook <paul@codesourcery.com>
2146 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2148 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
2150 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
2151 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
2152 This is needed to build all AVR and H8300 RTEMS multilib variants.
2154 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
2156 * libc/machine/configure.in: Add configuration for SPU.
2157 * libc/machine/configure: Regenerated.
2158 * libc/machine/spu/memcpy.c: Include string.h.
2160 2006-08-22 Eric Blake <ebb9@byu.net>
2162 * libc/posix/popen.c (popen): Don't close output end of pipe in
2163 child if stdout was closed on entry.
2164 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2166 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
2168 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
2171 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
2173 * libc/time/gmtime.c: Correct man page; clock is not a
2174 local time and no conversion occurs.
2176 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2178 * configure.host (newlib_cflags) [spu]: Add special compiler
2179 options to reduce size.
2181 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2183 * configure.host: Add spu support.
2184 * libc/include/stdint.h: Ditto.
2185 * libc/include/machine/ieeefp.h: Ditto.
2186 * libc/include/machine/setjmp.h: Ditto.
2187 * libc/include/sys/config.h: Ditto.
2188 * libc/include/sys/types.h: Ditto.
2189 * libc/machine/spu/Makefile.am: New file.
2190 * libc/machine/spu/Makefile.in: Ditto.
2191 * libc/machine/spu/aclocal.m4: Ditto.
2192 * libc/machine/spu/configure: Ditto.
2193 * libc/machine/spu/configure.in: Ditto.
2194 * libc/machine/spu/memcpy.c: Ditto.
2195 * libc/machine/spu/setjmp.S: Ditto.
2197 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
2199 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
2202 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
2204 * libc/Makefile.am: Add libc_TEXINFOS dependency on
2205 generated .texi files.
2206 * libm/Makefile.am: Add libm_TEXINFOS dependency on
2207 generated .texi files.
2208 * libc/Makefile.in: Regenerated.
2209 * libm/Makefile.in: Ditto.
2211 2006-08-01 Thiemo Seufer <ths@mips.com>
2212 Nigel Stephens <nigel@mips.com>
2214 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
2215 define this to force _impure_ptr to live in the .sdata section.
2217 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2219 * acinclude.m4: Check for readelf tool.
2220 * configure.in: Use ${READELF} instead of hard-coding.
2221 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2223 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2225 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
2226 to avoid conflict with newer glibc's revision of mremap.
2228 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
2230 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
2231 floating-point format support. Also redefine
2232 dword0 and dword1 macros.
2233 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2234 to prevent setting dword1 which is an rvalue only.
2236 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
2238 * libc/stdlib/Makefile.am: Add new gdtoa routines.
2239 * libc/stdlib/Makefile.in: Regenerated.
2240 * libc/stdlib/gd_qnan.h: New file.
2241 * libc/stdlib/gdtoa-gethex.c: Ditto.
2242 * libc/stdlib/gdtoa-hexnan.c: Ditto.
2243 * libc/stdlib/gdtoa.h: Ditto.
2244 * libc/stdlib/mprec.c: Add new helper routines needed by
2246 * libc/stdlib/mprec.h: Integrate some defines and prototypes
2247 used by gdtoa routines here.
2248 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
2249 which adds C99 support such as nan, inf, and hexadecimal input
2252 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
2254 * libc/include/stdio.h (__sgetc_r): Fix typo.
2255 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
2256 * libc/stdio/rget.c (__srbuf): Reinstantiate.
2257 * libc/stdio/wbuf.c (__swbuf): Ditto.
2259 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
2261 * libc/include/stdio.h: Add new reentrant I/O prototypes for
2262 read/write functions. Change getc/putc macros to have reentrant underlying
2263 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
2264 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
2265 new reentrant I/O functions/macros for reading/writing.
2266 * libc/stdio/fgets.c: Ditto.
2267 * libc/stdio/fputc.c: Ditto.
2268 * libc/stdio/fputs.c: Ditto.
2269 * libc/stdio/fread.c: Ditto.
2270 * libc/stdio/fseek.c: Ditto.
2271 * libc/stdio64/fseeko64.c: Ditto.
2272 * libc/stdio/fwrite.c: Ditto.
2273 * libc/stdio/getc.c: Ditto.
2274 * libc/stdio/getc_u.c: Ditto.
2275 * libc/stdio/getchar.c: Ditto.
2276 * libc/stdio/getchar_u.c: Ditto.
2277 * libc/stdio/putc.c: Ditto.
2278 * libc/stdio/putc_u.c: Ditto.
2279 * libc/stdio/putchar.c: Ditto.
2280 * libc/stdio/puts.c: Ditto.
2281 * libc/stdio/vfprintf.c: Ditto.
2282 * libc/stdio/vfscanf.c: Ditto.
2283 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
2284 Change all previous callers of __sfvwrite. Set errno to EBADF and
2285 set error flag on if attempt is made to write to file that does not
2287 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
2288 * libc/stdio/local.h: Ditto.
2289 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
2290 Set errno to EBADF and the error flag on if attempt is made to
2291 read unreadable file. Change all previous callers of __srefill.
2293 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
2294 all previous callers of __swbuf.
2295 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
2296 huge value macros are already defined correctly for i386 by <math.h>.
2298 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
2300 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
2301 Make them do something useful in the ARM_RDI_MONITOR case.
2303 2006-06-07 Fred Fish <fnf@specifix.com>
2305 * libc/search/hash_bigkey.c (MIN,MAX): Remove
2306 defines that are already supplied by <sys/param.h>.
2308 2006-06-07 Fred Fish <fnf@specifix.com>
2310 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
2312 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2314 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
2316 * libc/posix/Makefile.in: Regenerate.
2317 * libc/posix/sleep.c: New file.
2318 * libc/posix/usleep.c: Ditto.
2320 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2322 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
2323 -DABORT_PROVIDED flag.
2324 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
2325 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
2327 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
2329 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
2330 * Makefile.in: Regenerated.
2331 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
2332 extraneous CFLAGS reference now that CCASFLAGS are being extended
2333 properly via multilib.
2334 * libc/machine/sh/Makefile.in: Regenerated.
2336 2006-06-02 Shaun Jackman <sjackman@gmail.com>
2338 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
2341 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2343 * libc/misc/dprintf.c: Removed.
2344 * libc/misc/__dprintf.c: Renamed from dprintf.c.
2345 * libc/misc/Makefile.am: Changed appropriately for rename.
2346 * libc/misc/Makefile.in: Regenerated.
2348 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2350 * libc/include/stdio.h: Protect dprintf prototype
2351 with #ifndef dprintf so as to not interfere with
2352 historical code defining their own dprintf macro.
2354 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
2356 * libc/include/stdio.h: Add prototypes for fiscanf,
2357 iscanf, and siscanf.
2359 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
2361 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
2362 (DEF_NEWLIB_VERSION).
2363 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
2364 * configure: Regenerate.
2366 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
2368 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
2370 * libc/ctype/Makefile.in: Regenerated.
2372 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
2374 * libc/machine/arm/Makefile.am: Fix a typo.
2375 * libc/machine/arm/Makefile.in: Regenerated.
2377 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
2379 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2380 * libc/machine/sh/Makefile.in: Regenerate.
2382 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
2384 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2385 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2387 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2389 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2391 * libc/sys/sysnec810/Makefile.in: Regenerated.
2392 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2393 * libc/sys/sysnec810/io.S: Ditto.
2394 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2395 * libc/sys/sysnec810/io.s: Ditto.
2397 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2399 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2400 be specified instead of object, do so.
2401 * libc/ctype/Makefile.am: Ditto.
2402 * libc/iconv/ccs/Makefile.am: Ditto.
2403 * libc/iconv/ces/Makefile.am: Ditto.
2404 * libc/iconv/lib/Makefile.am: Ditto.
2405 * libc/locale/Makefile.am: Ditto.
2406 * libc/posix/Makefile.am: Ditto.
2407 * libc/reent/Makefile.am: Ditto.
2408 * libc/search/Makefile.am: Ditto.
2409 * libc/stdio/Makefile.am: Ditto.
2410 * libc/stdio64/Makefile.am: Ditto.
2411 * libc/stdlib/Makefile.am: Ditto.
2412 * libc/string/Makefile.am: Ditto.
2413 * libc/syscalls/Makefile.am: Ditto.
2414 * libc/unix/Makefile.am: Ditto.
2415 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2416 prefix added automatically. Any specified rules must use $(lpfx) for
2418 * libc/machine/arm/Makefile.am: Ditto.
2419 * libc/machine/cris/Makefile.am: Ditto.
2420 * libc/machine/crx/Makefile.am: Ditto.
2421 * libc/machine/d10v/Makefile.am: Ditto.
2422 * libc/machine/d30v/Makefile.am: Ditto.
2423 * libc/machine/fr30/Makefile.am: Ditto.
2424 * libc/machine/frv/Makefile.am: Ditto.
2425 * libc/machine/h8300/Makefile.am: Ditto.
2426 * libc/machine/h8500/Makefile.am: Ditto.
2427 * libc/machine/hppa/Makefile.am: Ditto.
2428 * libc/machine/i386/Makefile.am: Ditto.
2429 * libc/machine/i960/Makefile.am: Ditto.
2430 * libc/machine/iq2000/Makefile.am: Ditto.
2431 * libc/machine/m32c/Makefile.am: Ditto.
2432 * libc/machine/m32r/Makefile.am: Ditto.
2433 * libc/machine/m68hc11/Makefile.am: Ditto.
2434 * libc/machine/m68k/Makefile.am: Ditto.
2435 * libc/machine/m88k/Makefile.am: Ditto.
2436 * libc/machine/mips/Makefile.am: Ditto.
2437 * libc/machine/mn10200/Makefile.am: Ditto.
2438 * libc/machine/mn10300/Makefile.am: Ditto.
2439 * libc/machine/mt/Makefile.am: Ditto.
2440 * libc/machine/necv70/Makefile.am: Ditto.
2441 * libc/machine/powerpc/Makefile.am: Ditto.
2442 * libc/machine/sh/Makefile.am: Ditto.
2443 * libc/machine/sh/Makefile.in: Ditto.
2444 * libc/machine/sparc/Makefile.am: Ditto.
2445 * libc/machine/tic4x/Makefile.am: Ditto.
2446 * libc/machine/tic80/Makefile.am: Ditto.
2447 * libc/machine/v850/Makefile.am: Ditto.
2448 * libc/machine/w65/Makefile.am: Ditto.
2449 * libc/machine/xscale/Makefile.am: Ditto.
2450 * libc/machine/xstormy16/Makefile.am: Ditto.
2451 * libc/machine/z8k/Makefile.am: Ditto.
2452 * libc/sys/a29khif/Makefile.am: Ditto.
2453 * libc/sys/arm/Makefile.am: Ditto.
2454 * libc/sys/d10v/Makefile.am: Ditto.
2455 * libc/sys/h8300hms/Makefile.am: Ditto.
2456 * libc/sys/h8500hms/Makefile.am: Ditto.
2457 * libc/sys/linux/Makefile.am: Ditto.
2458 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2459 * libc/sys/linux/net/Makefile.am: Ditto.
2460 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2461 * libc/sys/m88kbug/Makefile.am: Ditto.
2462 * libc/sys/mmixware/Makefile.am: Ditto.
2463 * libc/sys/rdos/Makefile.am: Ditto.
2464 * libc/sys/rtems/Makefile.am: Ditto.
2465 * libc/sys/sh/Makefile.am: Ditto.
2466 * libc/sys/sun4/Makefile.am: Ditto.
2467 * libc/sys/sysmec/Makefile.am: Ditto.
2468 * libc/sys/sysnec810/Makefile.am: Ditto.
2469 * libc/sys/sysnecv850/Makefile.am: Ditto.
2470 * libc/sys/sysvi386/Makefile.am: Ditto.
2471 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2472 * libc/sys/tic80/Makefile.am: Ditto.
2473 * libc/sys/w65/Makefile.am: Ditto.
2474 * libc/sys/z8ksim/Makefile.am: Ditto.
2475 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2476 * libc/machine/necv70/setjmp.S: Ditto.
2477 * libc/machine/necv70/fastmath.s: Removed.
2478 * libc/machine/necv70/setjmp.s: Ditto.
2479 * libc/machine/w65/*.S: New files renamed from .s files.
2480 * libc/machine/w65/*.s: Renamed and removed.
2481 * libc/sys/a29khif/*.S: New files renamed from .s files.
2482 * libc/sys/a29khif/*.s: Renamed and removed.
2483 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2484 * libc/sys/sysvi386/*.s: Renamed and removed.
2485 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2486 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2487 * libc/*Makefile.in: Regenerated as appropriate.
2489 2006-04-24 DJ Delorie <dj@redhat.com>
2491 * libc/machine/sh/configure.in: Avoid link tests.
2492 * libc/machine/sh/configure: Regenerate.
2494 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2496 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2497 (sigaddset, sigemptyset): Add return code.
2499 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2501 * acinclude.m4: New _NEWLIB_VERSION.
2502 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2503 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2504 Use new form of AC_INIT_AUTOMAKE.
2505 * configure.in: AC_PREREQ(2.59).
2506 Use autoconf-2.5.x version of AC_INIT.
2507 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2508 autoconf-2.13's AC_OUTPUT.
2509 * libm/configure.in: Ditto.
2510 * libm/machine/configure.in: Ditto.
2511 * libm/machine/i386/configure.in: Ditto.
2512 * libc/configure.in: Ditto.
2513 * libc/machine/a29k/configure.in: Ditto.
2514 * libc/machine/arm/configure.in: Ditto.
2515 * libc/machine/configure.in: Ditto.
2516 * libc/machine/mn10300/configure.in: Ditto.
2517 * libc/machine/powerpc/configure.in: Ditto.
2518 * libc/machine/z8k/configure.in: Ditto.
2519 * libc/machine/h8300/configure.in: Ditto.
2520 * libc/machine/mips/configure.in: Ditto.
2521 * libc/machine/crx/configure.in: Ditto.
2522 * libc/machine/m68hc11/configure.in: Ditto.
2523 * libc/machine/h8500/configure.in: Ditto.
2524 * libc/machine/xscale/configure.in: Ditto.
2525 * libc/machine/d10v/configure.in: Ditto.
2526 * libc/machine/fr30/configure.in: Ditto.
2527 * libc/machine/sh/configure.in: Ditto.
2528 * libc/machine/tic80/configure.in: Ditto.
2529 * libc/machine/m32r/configure.in: Ditto.
2530 * libc/machine/xstormy16/configure.in: Ditto.
2531 * libc/machine/i386/configure.in: Ditto.
2532 * libc/machine/d30v/configure.in: Ditto.
2533 * libc/machine/mn10200/configure.in: Ditto.
2534 * libc/machine/frv/configure.in: Ditto.
2535 * libc/machine/mt/configure.in: Ditto.
2536 * libc/machine/i960/configure.in: Ditto.
2537 * libc/machine/v850/configure.in: Ditto.
2538 * libc/machine/necv70/configure.in: Ditto.
2539 * libc/machine/tic4x/configure.in: Ditto.
2540 * libc/machine/cris/configure.in: Ditto.
2541 * libc/machine/m68k/configure.in: Ditto.
2542 * libc/machine/m32c/configure.in: Ditto.
2543 * libc/machine/hppa/configure.in: Ditto.
2544 * libc/machine/w65/configure.in: Ditto.
2545 * libc/machine/iq2000/configure.in: Ditto.
2546 * libc/machine/sparc/configure.in: Ditto.
2547 * libc/machine/m88k/configure.in: Ditto.
2548 * libc/sys/linux/configure.in: Ditto.
2549 * libc/sys/linux/machine/configure.in: Ditto.
2550 * libc/sys/linux/machine/i386/configure.in: Ditto.
2551 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2552 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2553 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2554 * libc/sys/arm/configure.in: Ditto.
2555 * libc/sys/configure.in: Ditto.
2556 * libc/sys/decstation/configure.in: Ditto.
2557 * libc/sys/a29khif/configure.in: Ditto.
2558 * libc/sys/sysnecv850/configure.in: Ditto.
2559 * libc/sys/d10v/configure.in: Ditto.
2560 * libc/sys/netware/configure.in: Ditto.
2561 * libc/sys/mmixware/configure.in: Ditto.
2562 * libc/sys/h8500hms/configure.in: Ditto.
2563 * libc/sys/sh/configure.in: Ditto.
2564 * libc/sys/tic80/configure.in: Ditto.
2565 * libc/sys/rdos/configure.in: Ditto.
2566 * libc/sys/sysmec/configure.in: Ditto.
2567 * libc/sys/sysvi386/configure.in: Ditto.
2568 * libc/sys/h8300hms/configure.in: Ditto.
2569 * libc/sys/sparc64/configure.in: Ditto.
2570 * libc/sys/arc/configure.in: Ditto.
2571 * libc/sys/sysnec810/configure.in: Ditto.
2572 * libc/sys/m88kbug/configure.in: Ditto.
2573 * libc/sys/sysvnecv70/configure.in: Ditto.
2574 * libc/sys/z8ksim/configure.in: Ditto.
2575 * libc/sys/rtems/configure.in: Ditto.
2576 * libc/sys/w65/configure.in: Ditto.
2577 * libc/sys/sun4/configure.in: Ditto.
2578 * doc/configure.in: Ditto.
2579 * iconvdata/configure.in: Ditto.
2580 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2582 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2584 * acinclude.m4: Properly add square brackets for
2585 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2586 macros no longer available. Add LIB_AM_PROG_AS to
2587 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2588 macro. Substitute lpfx (library object prefix).
2589 * configure.host: Set lpfx depending on whether
2590 libtool is used or not.
2591 * configure.in: Individually specify libc and libm
2592 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2594 * Makefile.am: Use $(lpfx) to get object names for
2595 math-library functions that should also be in libc.
2596 * libc/machine/configure.in: Use case statement to determine
2597 AC_CONFIG_SUBDIRS statement.
2598 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2599 * libc/sys/linux/machine/configure.in: Ditto.
2600 * libc/sys/configure.in: Ditto.
2601 * libm/machine/configure.in: Ditto.
2602 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2603 * libm/configure.in: Add AM_CONDITIONAL statement
2604 for HAVE_LIBM_MACHINE_DIR.
2605 * libc/machine/a29k/Makefile.am: Modified to work with
2606 latest automake. Change includes setting AM_CCASFLAGS
2607 so building .S files will properly pick up flags used
2609 * libc/machine/arm/Makefile.am: Ditto.
2610 * libc/machine/crx/Makefile.am: Ditto.
2611 * libc/machine/d10v/Makefile.am: Ditto.
2612 * libc/machine/d30v/Makefile.am: Ditto.
2613 * libc/machine/fr30/Makefile.am: Ditto.
2614 * libc/machine/frv/Makefile.am: Ditto.
2615 * libc/machine/h8300/Makefile.am: Ditto.
2616 * libc/machine/h8500/Makefile.am: Ditto.
2617 * libc/machine/hppa/Makefile.am: Ditto.
2618 * libc/machine/i386/Makefile.am: Ditto.
2619 * libc/machine/iq2000/Makefile.am: Ditto.
2620 * libc/machine/m32c/Makefile.am: Ditto.
2621 * libc/machine/m32r/Makefile.am: Ditto.
2622 * libc/machine/m68hc11/Makefile.am: Ditto.
2623 * libc/machine/m68k/Makefile.am: Ditto.
2624 * libc/machine/m88k/Makefile.am: Ditto.
2625 * libc/machine/mips/Makefile.am: Ditto.
2626 * libc/machine/mn10200/Makefile.am: Ditto.
2627 * libc/machine/mn10300/Makefile.am: Ditto.
2628 * libc/machine/mt/Makefile.am: Ditto.
2629 * libc/machine/necv70/Makefile.am: Ditto.
2630 * libc/machine/powerpc/Makefile.am: Ditto.
2631 * libc/machine/sh/Makefile.am: Ditto.
2632 * libc/machine/sparc/Makefile.am: Ditto.
2633 * libc/machine/tic4x/Makefile.am: Ditto.
2634 * libc/machine/tic80/Makefile.am: Ditto.
2635 * libc/machine/v850/Makefile.am: Ditto.
2636 * libc/machine/w65/Makefile.am: Ditto.
2637 * libc/machine/xscale/Makefile.am: Ditto.
2638 * libc/machine/xstormy16/Makefile.am: Ditto.
2639 * libc/machine/z8k/Makefile.am: Ditto.
2640 * libc/sys/a29khif/Makefile.am: Ditto.
2641 * libc/sys/arc/Makefile.am: Ditto.
2642 * libc/sys/arm/Makefile.am: Ditto.
2643 * libc/sys/d10v/Makefile.am: Ditto.
2644 * libc/sys/decstation/Makefile.am: Ditto.
2645 * libc/sys/h8300hms/Makefile.am: Ditto.
2646 * libc/sys/h8500hms/Makefile.am: Ditto.
2647 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2648 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2649 * libc/sys/m88kbug/Makefile.am: Ditto.
2650 * libc/sys/mmixware/Makefile.am: Ditto.
2651 * libc/sys/netware/Makefile.am: Ditto.
2652 * libc/sys/rdos/Makefile.am: Ditto.
2653 * libc/sys/rtems/Makefile.am: Ditto.
2654 * libc/sys/sh/Makefile.am: Ditto.
2655 * libc/sys/sparc64/Makefile.am: Ditto.
2656 * libc/sys/sysmec/Makefile.am: Ditto.
2657 * libc/sys/sysnec810/Makefile.am: Ditto.
2658 * libc/sys/sysnecv850/Makefile.am: Ditto.
2659 * libc/sys/sysvi386/Makefile.am: Ditto.
2660 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2661 * libc/sys/tic80/Makefile.am: Ditto.
2662 * libc/sys/w65/Makefile.am: Ditto.
2663 * libc/sys/z8ksim/Makefile.am: Ditto.
2664 * libm/machine/i386/Makefile.am: Ditto.
2665 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
2666 trap.S so that automake will generate a .S.o suffix rule.
2667 * libc/argz/Makefile.am: Modified to work with
2668 latest automake. Change includes adding lib_a_CFLAGS
2669 so automake doesn't complain about libtool and non-libtool
2670 libraries sharing objects.
2671 * libc/ctype/Makefile.am: Ditto.
2672 * libc/errno/Makefile.am: Ditto.
2673 * libc/iconv/ccs/Makefile.am: Ditto.
2674 * libc/iconv/ces/Makefile.am: Ditto.
2675 * libc/iconv/lib/Makefile.am: Ditto.
2676 * libc/locale/Makefile.am: Ditto.
2677 * libc/misc/Makefile.am: Ditto.
2678 * libc/posix/Makefile.am: Ditto.
2679 * libc/reent/Makefile.am: Ditto.
2680 * libc/search/Makefile.am: Ditto.
2681 * libc/signal/Makefile.am: Ditto.
2682 * libc/stdio/Makefile.am: Ditto.
2683 * libc/stdio64/Makefile.am: Ditto.
2684 * libc/stdlib/Makefile.am: Ditto.
2685 * libc/string/Makefile.am: Ditto.
2686 * libc/sys/linux/Makefile.am: Ditto.
2687 * libc/sys/linux/argp/Makefile.am: Ditto.
2688 * libc/sys/linux/cmath/Makefile.am: Ditto.
2689 * libc/sys/linux/dl/Makefile.am: Ditto.
2690 * libc/sys/linux/iconv/Makefile.am: Ditto.
2691 * libc/sys/linux/intl/Makefile.am: Ditto.
2692 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2693 * libc/sys/linux/net/Makefile.am: Ditto.
2694 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2695 * libc/syscalls/Makefile.am: Ditto.
2696 * libc/time/Makefile.am: Ditto.
2697 * libc/unix/Makefile.am: Ditto.
2698 * libm/Makefile.am: Ditto.
2699 * libm/common/Makefile.am: Ditto.
2700 * libm/math/Makefile.am: Ditto.
2701 * libm/mathfp/Makefile.am: Ditto.
2702 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2704 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
2706 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
2707 anymore. Assume there is a gettimeofday syscall.
2709 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2711 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
2712 for the declaration of n_long.
2714 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2716 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
2718 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
2719 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
2720 (IFF_NOTRAILERS): New define.
2721 (struct ifreq): Add ifru_netmask.
2722 (ifr_netmask): New define.
2724 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2726 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
2729 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2731 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
2732 linux-newlib libc implementations.
2734 2006-03-29 Eric Blake <ebb9@byu.net>
2736 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
2737 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
2739 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2741 * libc/sys/linux/io.c (__mknod): Fix declaration of
2742 syscall to pass a dev_t as third argument rather than
2745 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2747 * libc/sys/linux/net/name6.c: Fix struct references.
2749 2006-03-22 Mark Mitchell <mark@codesourcery.com>
2751 * configure.host: Allow hosts to set the default
2752 newlib_atexit_dynamic_alloc value.
2753 * configure.in: Likewise.
2754 * configure: Regenerated.
2756 2006-03-20 Mark Mitchell <mark@codesourcery.com>
2758 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
2759 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
2761 * configure: Regenerated.
2762 * newlib.hin: Regenerated.
2763 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
2764 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2765 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
2766 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2768 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
2770 * libc/sys/linux/linuxthreads/config.h: Remove definition
2773 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
2775 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
2776 for a string I/O file that isn't using the asprintf family.
2778 2006-03-07 Eric Blake <ebb9@byu.net>
2780 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
2781 filename, allow read-only or write-only FILE atop O_RDWR file
2783 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
2785 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
2787 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
2788 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
2790 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
2792 * libm/math/math.tex: Fix reference to sisnan.def which
2793 is now in common subdirectory.
2794 * libm/mathfp/mathfp.tex: Ditto.
2796 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
2798 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
2799 s_isnand, and sf_isnanf object files.
2800 * Makefile.in: Regenerated.
2801 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
2802 conflict if <math.h> has previously been included.
2803 * libc/include/math.h
2804 * libc/include/math.h: Make isnan and isinf macros to
2806 (__isinfd, __isinff, __isnand, __isnanf): New functions.
2807 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
2808 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
2809 sf_isinf files which have been moved from math/mathfp directories.
2810 * libm/common/Makefile.in: Regenerated.
2811 * libm/common/s_isinfd.c: New file.
2812 * libm/common/s_isnand.c: Ditto.
2813 * libm/common/sf_isinff.c: Ditto.
2814 * libm/common/sf_isnanf.c: Ditto.
2815 * libm/common/s_isinf.c: Moved from libm/math directory.
2816 * libm/common/s_isnan.c: Ditto.
2817 * libm/common/sf_isinf.c: Ditto.
2818 * libm/common/sf_isnan.c: Ditto.
2819 * libm/math/Makefile.am: Remove isinf and isnan family functions
2820 which have been moved into common directory.
2821 * libm/mathfp/Makefile.am: Ditto.
2822 * libm/math/Makefile.in: Regenerated.
2823 * libm/mathfp/Makefile.in: Ditto.
2824 * libm/math/s_isinf.c: Removed.
2825 * libm/math/s_isnan.c: Ditto.
2826 * libm/math/sf_isinf.c: Ditto.
2827 * libm/math/sf_isnan.c: Ditto.
2828 * libm/mathfp/s_isinf.c: Ditto.
2829 * libm/mathfp/s_isnan.c: Ditto.
2830 * libm/mathfp/sf_isinf.c: Ditto.
2831 * libm/mathfp/sf_isnan.c: Ditto.
2833 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
2835 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
2836 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
2837 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
2838 seek, turn off the __SNPT no-optimization flag.
2840 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
2842 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
2844 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
2845 <features.h> to preset special flags.
2847 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
2849 * libc/include/sys/time.h (struct timeval): Change member types
2851 * libc/include/sys/types.h (useconds_t): Change to unsigned
2853 (suseconds_t): Define type.
2855 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
2856 David Carne <davidcarne@gmail.com>
2858 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
2859 instead of strlen to determine number of bytes to copy.
2860 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
2861 before looking at storage location.
2863 2006-02-07 Paul Brook <paul@codesourcery.com>
2865 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
2866 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
2867 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
2868 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
2869 * libc/sys/arm/trap.S: Disable for Thumb-2.
2871 2006-01-31 Leif Ekblad <leif@rdos.net>
2873 * configure.host: RDOS support added
2874 * libc/include/sys/config.h: Ditto.
2875 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
2876 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
2877 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
2878 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
2879 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
2880 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
2881 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
2882 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
2883 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
2884 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
2885 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
2886 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
2887 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
2888 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
2889 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
2890 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
2891 * libc/sys/rdos/write.c: Ditto.
2893 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
2895 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
2896 so as not to define PACKAGE and VERSION in newlib.h.
2897 * aclocal.m4: Regenerated.
2899 * newlib.hin: Ditto.
2901 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
2903 * acconfig.h: New file to generate newlib.hin from.
2904 * newlib.hin: Regenerated.
2905 * stamp-h.in: Regenerated.
2906 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
2907 called automatically.
2908 * Makefile.in: Regenerated.
2909 * acinclude.m4: Add proper comment for hack in previous change.
2910 * aclocal.m4 */aclocal.m4: Regenerated.
2911 * configure */configure: Regenerated.
2913 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
2915 * acinclude.m4: Add hack to prevent INSTALL in subdirs
2916 from being set to "../".
2917 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
2918 * aclocal.m4: Regenerated.
2920 * Makefile.in: Ditto.
2921 * doc/aclocal.m4: Ditto.
2922 * doc/configure: Ditto.
2923 * iconvdata/aclocal.m4: Ditto.
2924 * iconvdata/configure: Ditto.
2925 * libc/*/aclocal.m4: Ditto.
2926 * libc/*/configure: Ditto.
2927 * libc/libc.texinfo: Ditto.
2928 * libm/*/aclocal.m4: Ditto.
2929 * libm/*/configure: Ditto.
2931 2006-01-10 Eric Blake <ebb9@byu.net>
2933 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
2934 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2936 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
2938 * libm/mathfp/s_frexp.c: Check for special values on
2939 the original input, not the manipulated output value.
2940 * libm/mathfp/sf_frexp.c: Ditto.
2941 * libm/mathfp/s_atangent.c: Don't use local value branch
2942 when checking for quadrant.
2943 * libm/mathfp/sf_atangent.c: Ditto.
2945 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
2947 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
2948 * libc/stdio64/freopen64.c: Ditto.
2950 2006-01-09 Eric Blake <ebb9@byu.net>
2952 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
2953 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2955 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
2957 * libc/sys/linux/include/getopt.h: Add macros needed by
2958 new version of getopt.c in libc/stdlib.
2960 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
2962 * libc/stdlib/getopt.c: Replaced with version
2963 that adds getopt_long and getopt_long_only support.
2964 * libc/include/getopt.h: New file.
2966 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2968 * NEWS: Update with 1.14.0 info.
2970 * acinclude.m4: Change version number to 1.14.0.
2971 * aclocal.m4: Regenerated.
2973 * doc/aclocal.m4: Ditto.
2974 * doc/configure: Ditto.
2975 * libc/*/aclocal.m4: Ditto.
2976 * libc/*/configure: Ditto.
2977 * libc/libc.texinfo: Ditto.
2978 * libm/*/aclocal.m4: Ditto.
2979 * libm/*/configure: Ditto.
2980 * libm/libm.texinfo: Ditto.
2981 * libc/sys/linux/shared.ld: Add VERS_1.14.
2983 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2985 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
2986 take a pointer to struct stat64 rather than struct stat.
2988 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
2990 * libc/include/stdint.h: Prefer long over int for int32_t.
2991 Use __have_long32 to set up int32_t.
2992 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
2993 (Sync with stdint.h).
2995 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
2997 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
2998 typo in O_NDELAY comment.
3000 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3002 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3003 * libc/include/machine/setjmp.h (__mt__): Likewise.
3004 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3005 * libc/machine/configure.in: Ditto.
3007 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3009 * configure.host: Replace ms1 arch with mt arch.
3010 * libc/machine/mt: Renamed from ms1 dir.
3012 2005-12-08 Shaun Jackman <sjackman@gmail.com>
3014 * libc/include/sys/types.h: Remove the ifdef armour around
3015 standard POSIX types.
3017 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3019 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3020 rtems_gxx_key_delete, rtems_gxx_getspecific,
3021 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3022 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
3023 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3025 2005-12-05 Christopher Faylor <cgf@timesys.com>
3027 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3028 file. Declare unsetenv and _unsetenv_r when not cygwin.
3030 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3032 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3033 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3035 2005-11-18 Christopher Faylor <cgf@timesys.com>
3037 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3039 2005-11-18 Christopher Faylor <cgf@timesys.com>
3041 * include/time.h: Remove more cygwin-specific stuff.
3043 2005-11-18 Christopher Faylor <cgf@timesys.com>
3045 * include/time.h: Move cygwin declarations to cygwin-specific header.
3046 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3048 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3050 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3051 in libc/sys/linux/include.
3052 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3053 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3054 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3055 in libc/sys/linux/dl.
3057 2005-11-11 Christopher Faylor <cgf@timesys.com>
3059 * libc/include/sys/time.h: For cygwin, use general header rather than
3060 specific "sys/select.h".
3062 2005-11-08 Tom Walsh <tom@openhardware.net>
3064 * libc/time/tzvars.c: New file.
3065 * libc/time/tzset_r.c: Moved globals into tzvars.c
3066 so other time functions needn't link in __tzset_r and its
3068 * libc/time/Makefile.am: Add the new file.
3069 * libc/time/Makefile.in: Regenerated.
3071 2005-11-08 Christopher Faylor <cgf@timesys.com>
3073 * libc/include/string.h: Add cygwin-specific function declaration.
3075 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
3077 * libc/include/ieeefp.h: Add C++ guards.
3079 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3081 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
3082 * libc/unix/getlogin.c: Ditto.
3083 * libc/unix/getpass.c: Ditto.
3084 * libc/unix/getut.c: Ditto.
3085 * libc/unix/ttyname.c: Ditto.
3087 2005-11-03 Shaun Jackman <sjackman@gmail.com>
3089 * libc/include/sys/unistd.h (readlink, symlink): Provide these
3090 prototypes by default.
3091 * libc/sys/linux/include/unistd.h (readlink): Remove this
3093 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
3096 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
3098 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
3100 2005-10-31 Darin Johnson <darin@usa.net>
3102 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
3103 correct for constants.
3105 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3107 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
3108 * libc/stdio/siscanf.c: Likewise.
3109 * libc/stdio/sprintf.c: Likewise.
3110 * libc/stdio/sscanf.c: Likewise.
3111 * libc/stdio/vfprintf.c: Likewise.
3112 * libc/stdio/vfscanf.c: Likewise.
3113 * libc/stdio/viprintf.c: Likewise.
3114 * libc/stdio/viscanf.c: Likewise.
3116 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3118 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
3119 example to use "_end" symbol instead of "end". Change write example
3120 to use "outbyte" instead of "writechar".
3122 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3124 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
3125 * libc/ctype/islower.c: Likewise.
3126 * libc/ctype/isupper.c: Likewise.
3127 * libc/ctype/iswalnum.c: Likewise.
3128 * libc/ctype/iswalpha.c: Likewise.
3129 * libc/ctype/iswblank.c: Likewise.
3130 * libc/ctype/iswcntrl.c: Likewise.
3131 * libc/ctype/iswdigit.c: Likewise.
3132 * libc/ctype/iswgraph.c: Likewise.
3133 * libc/ctype/iswlower.c: Likewise.
3134 * libc/ctype/iswprint.c: Likewise.
3135 * libc/ctype/iswpunct.c: Likewise.
3136 * libc/ctype/iswspace.c: Likewise.
3137 * libc/ctype/iswupper.c: Likewise.
3138 * libc/ctype/iswxdigit.c: Likewise.
3139 * libc/ctype/tolower.c: Likewise.
3140 * libc/ctype/toupper.c: Likewise.
3141 * libc/ctype/towctrans.c: Likewise.
3142 * libc/ctype/towlower.c: Likewise.
3143 * libc/ctype/towupper.c: Likewise.
3144 * libc/string/strcasecmp.c: Likewise.
3145 * libc/string/strcoll.c: Likewise.
3146 * libc/string/strings.tex: Likewise.
3147 * libc/string/strlwr.c: Likewise.
3148 * libc/string/strncasecmp.c: Likewise.
3149 * libc/string/strupr.c: Likewise.
3150 * libc/string/wcscoll.c: Likewise.
3151 * libc/string/wcslcat.c: Likewise.
3152 * libc/string/wcslcpy.c: Likewise.
3153 * libc/string/wcsnlen.c: Likewise.
3154 * libc/string/wcsstr.c: Likewise.
3155 * libc/string/wcstrings.tex: Likewise.
3156 * libc/string/wmemchr.c: Likewise.
3157 * libc/string/wmemcmp.c: Likewise.
3158 * libc/string/wmemcpy.c: Likewise.
3159 * libc/string/wmemmove.c: Likewise.
3160 * libc/string/wmemset.c: Likewise.
3162 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3164 * libc/misc/unctrl.c: Replace FUNCTION description.
3165 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
3166 * libc/stdio/getdelim.c: Fix spelling errors.
3167 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
3168 * libc/stdio/putw.c: Likewise.
3169 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
3171 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
3172 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
3173 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
3174 * libc/stdlib/mlock.c: Likewise.
3175 * libc/stdlib/mstats.c: Likewise.
3176 * libc/time/tzlock.c: Likewise.
3177 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
3178 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
3179 and hyphenate "pseudo-random".
3180 * libc/string/bcmp.c: Remove extra blank lines in documentation.
3181 * libc/string/strncat.c: Likewise.
3182 * libc/string/memchr.c: Remove extra ">" character in documentation.
3183 * libc/string/strcspn.c: Use "characters" instead of "chars".
3184 * libc/string/strpbrk.c: Likewise.
3185 * libc/string/strerror_r.c: Capitalize "GNU".
3186 * libc/string/strnlen.c: Likewise.
3187 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
3188 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
3189 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
3190 * libc/string/wcschr.c: Likewise.
3191 * libc/string/wcscmp.c: Likewise.
3192 * libc/string/wcscpy.c: Likewise.
3193 * libc/string/wcscspn.c: Likewise.
3194 * libc/string/wcslen.c: Likewise.
3195 * libc/string/wcsncat.c: Likewise.
3196 * libc/string/wcsncmp.c: Likewise.
3197 * libc/string/wcsncpy.c: Likewise.
3198 * libc/string/wcsnlen.c: Likewise.
3199 * libc/string/wcspbrk.c: Likewise.
3200 * libc/string/wcsrchr.c: Likewise.
3201 * libc/string/wcsspn.c: Likewise.
3202 * libc/string/wmemchr.c: Likewise.
3203 * libc/string/wmemcmp.c: Likewise.
3204 * libc/string/wmemcpy.c: Likewise.
3205 * libc/string/wmemset.c: Likewise.
3206 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
3207 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
3208 * libc/string/wcwidth.c: Likewise.
3209 * libm/common/s_modf.c: Remove extra period from documentation.
3210 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
3212 * libm/mathfp/s_isnan.c: Likewise.
3213 * libm/math/s_ldexp.c: Fix punctuation.
3214 * libm/mathfp/s_ldexp.c: Likewise.
3215 * libm/math/w_log.c: Likewise.
3216 * libm/mathfp/s_logarithm.c: Likewise.
3217 * libm/math/w_j0.c: Add spaces to FUNCTION description.
3218 * libm/mathfp/w_jn.c: Likewise.
3220 2005-10-26 Shaun Jackman <sjackman@gmail.com>
3222 * libc/posix/scandir.c (scandir): Update the function
3223 prototype to match the header.
3224 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
3226 * libc/sys/linux/sys/lock.h: Do not include
3227 machine/weakalias.h, since it's not used by this file.
3229 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
3231 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
3232 directories can override properly.
3234 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
3236 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
3237 gcc is 3.3 or greater, use special gcc builtins.
3239 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
3241 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
3243 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
3245 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
3247 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3249 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
3250 * libm/common/Makefile.am: Add s_infconst.c support.
3251 * libm/common/Makefile.in: Regenerated.
3252 * libm/common/s_infconst.c: New file with float and
3253 long double infinity support added.
3254 * libm/math/Makefile.am: Remove s_infconst.c support.
3255 * libm/math/Makefile.in: Regenerated.
3256 * libm/math/s_infconst.c: Moved to common directory.
3257 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
3258 * libm/mathfp/Makefile.in: Regenerated.
3259 * libm/mathfp/s_infconst.c: Moved to common directory.
3261 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3263 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
3264 dbgprintf to prevent conflict with new dprintf function.
3266 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3268 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
3269 "nan" processing for systems that have long double support.
3271 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3273 * libc/sys/linux/sys/types.h (int8_t): Add type.
3275 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3277 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
3278 * libm/common/Makefile.in: Regenerate.
3279 * libm/common/common.tex: Delete file.
3280 * libm/math/math.tex: Include .def files from common/.
3281 * libm/mathfp/mathfp.tex: Likewise.
3283 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3285 * libc/libc.texinfo (Top): Surround this node with @ifnottex
3286 instead of @ifinfo. Update menu to add Introduction and match
3288 (Introduction): New section.
3290 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3292 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
3293 with "Red Hat newlib C Library".
3294 * libc/sys.tex (Stubs): Likewise.
3295 * libm/math/math.tex (Math): Likewise.
3296 * libm/mathfp/mathfp.tex (Math): Likewise.
3298 2005-10-11 Shaun Jackman <sjackman@gmail.com>
3300 * libc/include/stdio.h (dprintf): New declaration.
3302 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
3304 * libc/stdio/Makefile.in: Regenerate.
3305 * libc/stdio/dprintf.c: New file.
3306 * libc/stdio/vdprintf.c: New file.
3307 * libc/stdio/stdio.tex (dprintf): New entry.
3309 2005-10-11 David Weatherford <weath@tensilica.com>
3311 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
3312 Print "inf" and "nan" in lowercase for e/f/g formats and in
3313 uppercase for E/F/G formats.
3315 2005-10-07 Bob Wilson <bob.wilson@acm.org>
3317 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
3318 to ENOMEM on failure.
3320 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3322 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
3324 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
3326 * libc/include/stdint.h: Move magic to set __have_long* to the
3327 beginning. Use #if __have* instead of #if defined(__have*).
3330 2005-10-04 James E Wilson <wilson@specifix.com>
3332 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
3335 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
3337 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
3338 incorporate Ralf's change below.
3340 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
3342 * libc/include/stdint.h:
3343 Use __INTMAX_TYPE__ to derive intmax_t.
3344 Use __UINTMAX_TYPE__ to derive uintmax_t.
3347 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
3349 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
3352 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3354 * libc/sys/linux/include/stdint.h: Update to match functionality
3355 of generic newlib stdint.h.
3357 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3359 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
3360 and do not #undef the macro after it is used. Fix typos.
3361 Also change 64-bit constants to use the __have_long64 and
3362 __have_longlong64 flags to determine if long or long long
3363 constants should be used.
3364 * libc/include/inttypes.h: Include stddef.h to get wchar_t
3367 2005-09-20 Shaun Jackman <sjackman@gmail.com>
3369 * libc/include/stdint.h: Fix typo in names of
3372 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3374 * libc/sys/rtems/include/inttypes.h: Moved to...
3375 * libc/include/inttypes.h: ...here.
3377 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
3379 * libc/sys/rtems/include/stdint.h: Moved to...
3380 * libc/include/stdint.h: ...here.
3382 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
3384 * Makefile.am: Add include files under bits sub-directory.
3385 * Makefile.in: Regenerated.
3386 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3387 actual value of 1 to be compatible with newer glibc headers.
3388 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3390 * libc/sys/linux/sys/dirent.h: Ditto.
3391 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3392 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3393 profile_fixup routines are marked used so they won't be
3395 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3396 to mark functions as weak.
3397 * libc/sys/linux/dl/dl-open.c: Ditto.
3398 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3399 rules about lvalues.
3400 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3401 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3402 weak_extern macro to mark functions as weak. Instead always
3404 * iconvdata/jis0208.h: Fix to work with gcc4.
3405 * libc/sys/linux/dl/dl-load.c: Ditto.
3406 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3407 * libc/sys/linux/dl/do-rel.h: Ditto.
3408 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3409 * libc/sys/linux/include/ltdl.h: Ditto.
3410 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3411 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3412 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3413 * libc/sys/linux/bits/initspin.h: New file.
3414 * libc/sys/linux/bits/libc-lock.h: Ditto.
3415 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3416 * libc/sys/linux/bits/typesizes.h: Ditto.
3418 2005-09-08 Eric Blake <ebb9@byu.net>
3420 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3423 2005-09-08 Brian Dessent <brian@dessent.net>
3425 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3429 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3431 * libc/include/stdio.h: Add prototype for viprintf.
3433 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3435 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3436 any positive power results in 0.
3437 * libm/mathfp/sf_pow.c (powf): Ditto.
3439 2005-08-31 Paul Brook <paul@codesourcery.com>
3441 * configure.host: Set have_crt0 to no for Arm targts when not
3442 providing syscalls. Set sys_dir=arm unconditionally.
3443 Default have_crt0 based on sys_dir.
3444 * configure.in: Use have_crt0.
3445 * libc/configure.in: Ditto.
3446 * libc/sys/configure.in: Ditto.
3447 * configure: Regenerate.
3448 * libc/configure: Regenerate.
3449 * libc/sys/configure: Regenerate.
3450 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3451 Only build other files when providing syscalls.
3452 * libc/sys/arm/Makefile.in: Regenerate.
3453 * libc/sys/arm/aeabi_atexit.c: New file.
3455 2005-08-26 Christopher Faylor <cgf@timesys.com>
3457 * libc/include/string.h: Revert previous change.
3459 2005-08-25 Christopher Faylor <cgf@timesys.com>
3461 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3463 2005-08-22 Shaun Jackman <sjackman@gmail.com>
3465 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3466 define _opendir as opendir, _readdir as readdir, and
3467 _closedir as closedir so that the implementations in
3468 libc/posix will be used.
3470 2005-08-10 DJ Delorie <dj@redhat.com>
3472 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3474 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3476 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3477 * libm/common/s_max.c: Ditto.
3478 * libm/common/sf_fmin.c: Ditto.
3479 * libm/common/s_min.c: Ditto.
3481 2005-08-10 DJ Delorie <dj@redhat.com>
3483 * configure.host: Add m32c support.
3484 * libc/include/machine/ieeefp.h: Likewise.
3485 * libc/include/machine/setjmp.h: Likewise.
3486 * libc/include/sys/config.h: Likewise.
3487 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3488 * libc/machine/m32c/aclocal.m4: New file.
3489 * libc/machine/m32c/configure: Ditto.
3490 * libc/machine/m32c/configure.in: Ditto.
3491 * libc/machine/m32c/Makefile.am: Ditto.
3492 * libc/machine/m32c/Makefile.in: Ditto.
3493 * libc/machine/m32c/setjmp.S: Ditto.
3495 2005-08-02 Bob Wilson <bob.wilson@acm.org>
3497 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3498 to the value for 2^126.
3500 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3502 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3505 2005-07-20 Bob Wilson <bob.wilson@acm.org>
3506 Darin Petkov <darin@tensilica.com>
3508 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3510 2005-07-19 Paul Brook <paul@codesourcery.com>
3512 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3514 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3516 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3517 names after PASS and FAIL which do not depend on source directory
3518 name or on whether test passed or failed.
3519 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3521 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3523 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3525 2005-07-07 Shaun Jackman <sjackman@gmail.com>
3527 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
3528 twice for the same directory. _closedir calls free, and freeing
3529 the same pointer twice may cause a crash.
3531 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
3533 * configure.host: Added entry for ms1*.
3534 * libc/include/machine/ieeefp.h: Handle ms1.
3535 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3536 * libc/machine/ms1/aclocal.m4: New.
3537 * libc/machine/ms1/configure: New.
3538 * libc/machine/ms1/configure.in: New.
3539 * libc/machine/ms1/Makefile.am: New.
3540 * libc/machine/ms1/Makefile.in: New.
3541 * libc/machine/ms1/setjmp.S: New.
3543 2005-07-04 Mark Mitchell <mark@codesourcery.com>
3545 * Makefile.am (site.exp): Set tmpdir.
3546 * Makefile.in: Regenerated.
3547 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3548 executables in $tmpdir.
3549 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3550 libgloss version if not running in the build directory.
3551 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3553 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3556 2005-06-28 Dave Korn <dave.korn@artimi.com>
3558 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3559 and miscalculation caused by fp representation of zero.
3560 * libm/common/sf_lrint.c (lrintf): Likewise.
3562 2005-06-16 Christopher Faylor <cgf@timesys.com>
3564 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3565 determine characteristics of long double. Use a union instead.
3566 * ldtoa.c (_ldtoa_r): Ditto.
3569 (union uconv): New union.
3571 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3573 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3576 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3578 * configure.host (mn10300-*): Add long long I/O support by default.
3580 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3582 * libc/sys/linux/getpwuid.c: Removed.
3583 * libc/sys/linux/getpwnam.c: Removed.
3584 * libc/sys/linux/getpwent.c: New file containing logic
3585 from files removed above. This allows overriding of file
3587 * libc/sys/linux/Makefile.am: Support changes above.
3588 * libc/sys/linux/Makefile.in: Regenerated.
3590 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3592 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3593 when checking for multiple flags.
3595 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
3597 * configure.host <cris-*-* | crisv32-*-*>: Set
3598 default_newlib_io_long_long="yes".
3600 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3602 * libc/include/libgen.h: New file.
3604 2005-04-08 Shaun Jackman <sjackman@gmail.com>
3606 * libc/unix/Makefile.am: Add support for basename and dirname.
3607 * libc/unix/Makefile.in: Regenerated.
3608 * libc/unix/basename.c: New file.
3609 * libc/unix/dirname.c: New file.
3611 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3613 * libc/sys/linux/inode.c (lchown): New function.
3615 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3617 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3618 ELIX level is defined.
3619 * libc/unix/Makefile.in: Regenerated.
3621 2005-04-05 Dave Korn <dave.korn@artimi.com>
3623 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3624 something that looks like a "NaN", put back the characters processed.
3626 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
3628 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3630 2005-03-23 Christopher Faylor <cgf@timesys.com>
3632 * configure.host: For cygwin, redefine CC with cygwin include directory
3633 first to mimic the behavior of the top-level configury. Move include
3634 directory out of newlib_cflags.
3636 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3638 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
3639 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
3642 2005-03-22 Christopher Faylor <cgf@timesys.com>
3644 * libc/include/machine/_types.h: Make trivial change to comment to
3645 avoid a spurious warning from gcc.
3647 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
3649 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
3650 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
3653 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
3654 Corinna Vinschen <corinna@vinschen.de>
3656 * libc/include/ctype.h: Remove invalid +1 offset from
3657 ctype macro references to __ctype_ptr.
3658 (_ctype_): Move declaration outside #ifndef __cplusplus.
3660 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
3662 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
3663 evaluate first parameter only once.
3664 (siglongjmp): Ditto.
3666 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
3668 * configure.in: Add new check to see if compiler supports
3669 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
3670 * configure: Regenerated.
3671 * Makefile.in: Ditto.
3672 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
3673 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
3674 aliasing the _ctype_ array to _ctype_b.
3675 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
3676 _ctype_ as deprecated.
3678 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
3680 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3683 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3685 * libc/sys/rtems/include/inttypes.h: New file.
3686 * libc/sys/rtems/include/stdint.h: Ditto.
3688 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3690 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3692 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3694 * libc/include/machine/_types.h: New file.
3695 * libc/include/sys/types.h: Do not check for __rtems__
3696 when including <machine/_types.h>. Remove some redundant
3697 declarations now that <machine/_types.h> is included.
3698 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3701 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
3703 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
3704 L qualifier for these long constants.
3706 2005-02-25 Eric Blake <ebb9@byu.net>
3708 * libc/include/time.h (__tzrule_struct): Make offset long, since
3709 a 16-bit int overflows on a 12-hour offset.
3710 * libc/sys/linux/include/time.h: Ditto.
3711 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
3712 * libc/time/mktm_r.c: Ditto.
3713 * libc/time/gettzinfo.c: Ditto.
3714 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
3715 years. Fix '%z' to use long, not int.
3717 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3719 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
3720 manipulate float values in integer form.
3721 * libm/common/sf_round.c: Ditto.
3723 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3725 * libc/include/sys/types.h [__rtems__]: Include new
3726 header file machine/_types.h.
3727 * libc/include/machine/types.h: Ditto.
3728 * libc/sys/rtems/machine/_types.h: New file.
3730 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3732 * libc/include/time.h (_timezone): Change to long also for Cygwin.
3733 (timezone): Drop cast from definition.
3735 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
3737 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
3738 (__tzrule_type, __tzinfo_type): New types.
3739 (__gettzinfo): New function.
3740 * libc/sys/linux/include/time.h: Ditto.
3741 * libc/time/Makefile.am: Add gettzinfo.c.
3742 * libc/time/Makefile.in: Regenerated.
3743 * libc/time/local.h: Moved __tzrule_type to time.h.
3744 * libc/time/mktime.c: Call __gettzinfo to reference
3745 __tznorth, __tzyear, and __tzrule array.
3746 * libc/time/mktm_r.c: Ditto.
3747 * libc/time/strftime.c: Ditto.
3748 * libc/time/tzset_r.c: Ditto. Also remove definition
3749 of __tzrule which is now in gettzinfo.c. Change _timezone
3750 references to not cast to time_t.
3751 * libc/time/gettzinfo.c: New file.
3753 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3755 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
3757 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
3759 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
3761 2005-02-16 Eric Blake <ebb9@byu.net>
3763 * libc/time/time.tex: Improve the documentation.
3764 * libc/time/strftime.c: Improve the documentation.
3765 (iso_year_adjust): New helper function.
3766 (strftime): Simplify '%E' and '%O'. Change '%c' to use
3767 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
3768 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
3769 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
3770 Avoid core dumps on valid inputs (maxsize == 0, or
3771 tim_p->tm_isdst > 1).
3773 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
3775 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
3776 members to uid_t and gid_t according to SUSv3.
3777 * libc/include/sys/time.h (utimes): Change second parameter
3778 to const according to SUSv3.
3780 2005-02-07 Antony King <antony.king@st.com>
3782 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
3783 called before _flockfile to prevent lock object use before
3784 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
3785 take a struct _reent * instead of a FILE *.
3786 * libc/stdio/fclose.c (_fclose_r): Ditto.
3787 * libc/stdio/feof.c (feof): Ditto.
3788 * libc/stdio/ferror.c (ferror): Ditto.
3789 * libc/stdio/fflush.c (fflush): Ditto.
3790 * libc/stdio/fgetc.c (fgetc): Ditto.
3791 * libc/stdio/fgets.c (fgets): Ditto.
3792 * libc/stdio/fileno.c (fileno): Ditto.
3793 * libc/stdio/fputc.c (fputc): Ditto.
3794 * libc/stdio/fputs.c (fputs): Ditto.
3795 * libc/stdio/fread.c (fread): Ditto.
3796 * libc/stdio/freopen.c (_freopen_r): Ditto.
3797 * libc/stdio/fseek.c (_fseek_r): Ditto.
3798 * libc/stdio/ftell.c (_ftell_r): Ditto.
3799 * libc/stdio/fwrite.c (fwrite): Ditto.
3800 * libc/stdio/getc.c (getc): Ditto.
3801 * libc/stdio/getdelim.c (__getdelim): Ditto.
3802 * libc/stdio/putc.c (putc): Ditto.
3803 * libc/stdio/setvbuf.c (setvbuf): Ditto.
3804 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
3805 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3806 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3807 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
3808 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
3809 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
3810 _reent * instead of a FILE * and so replace incorrect use of
3811 _REENT with argument.
3812 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
3813 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
3814 CHECK_INIT() take a struct _reent * instead of a FILE *.
3815 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
3816 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
3817 * libc/stdio/perror.c (perror): Ditto.
3818 * libc/stdio/printf.c (printf, _printf_r): Ditto.
3819 * libc/stdio/putchar.c (putchar): Ditto.
3820 * libc/stdio/puts.c (puts): Ditto.
3821 * libc/stdio/refill.c (__srefill): Ditto.
3822 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
3823 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
3824 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
3825 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
3826 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
3827 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
3828 * libc/stdio/wbuf.c (__swbuf): Ditto.
3829 * libc/stdio/wsetup.c (__swsetup): Ditto.
3830 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
3831 * libc/stdlib/mstats.c (_mstats_r): Ditto.
3832 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
3833 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
3834 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
3835 to _flockfile and _funlockfile; rely on locking in _ftell_r.
3836 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
3837 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
3838 initialision of _data field in FILE structure.
3839 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
3841 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3843 * libc/stdio/findfp.c (__sinit): Protect with new lock.
3844 (__sinit_lock): New lock.
3845 (__sinit_lock_acquire, __sinit_lock_release): New functions.
3846 * libc/stdio/local.h: Add reference to new __sinit locking
3849 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3851 * libc/include/math.h (isfinite, isnormal, isunordered): Change
3852 input variable names to avoid mixups with nesting macros.
3854 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3856 * configure.host: Add support for cris-*-* and crisv32-*-*.
3857 * libc/include/machine/ieeefp.h: Ditto.
3858 * libc/include/machine/setjmp.h: Ditto.
3859 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
3860 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
3861 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
3862 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
3863 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
3864 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
3865 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
3868 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3870 * testsuite/newlib.string/memmove1.c: New test.
3872 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3874 * testsuite/include/check.h: Include stdlib.h.
3876 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3878 * Makefile.am (stmp-targ-include): Support include header files
3879 from machine directories.
3880 (install-data-local): Ditto.
3881 * Makefile.in: Regenerate.
3883 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
3885 * libc/include/string.h: Remove Linux-specific declaration of
3886 strsignal and add #include <sys/string.h>.
3887 * libc/include/sys/string.h: New file.
3888 * libc/include/sys/linux/sys/string.h: New file with strsignal
3889 declaration deleted above.
3891 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
3893 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
3894 to POSIX standard for "C" locale. Allow %E and %O modifiers
3895 to be ignored as long as they precede valid specifiers according
3898 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3900 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3901 environment variable is set.
3903 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3905 * tzset_r.c (_tzname): Add a comma.
3907 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
3909 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
3912 2005-01-07 Paul Brook <paul@codesourcery.com>
3914 * configure.in: Add test for .init_array.
3915 * configure: Regenerate.
3916 * newlib.hin: Add HAVE_INITFINI_ARRAY.
3917 * libc/misc/Makefile.am: Add init.c
3918 * libc/misc/Makefile.in: Regenerate.
3919 * libc/misc/init.c: New file.
3920 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
3921 _init/_fini if they exist.
3923 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
3925 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
3927 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
3928 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
3929 functions for use by strtod and strtof.
3930 * Makefile.in: Regenerated.
3932 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3934 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
3935 bit-test in combination with NULL test.
3937 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3939 * README: Fix typo of LGPL. Change "license" to "copyright".
3941 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
3943 * NEWS: Update with 1.13.0 info.
3945 * acinclude.m4: Change version number to 1.13.0.
3946 * aclocal.m4: Regenerated.
3948 * doc/aclocal.m4: Ditto.
3949 * doc/configure: Ditto.
3950 * libc/*/aclocal.m4: Ditto.
3951 * libc/*/configure: Ditto.
3952 * libc/libc.texinfo: Ditto.
3953 * libm/*/aclocal.m4: Ditto.
3954 * libm/*/configure: Ditto.
3955 * libm/libm.texinfo: Ditto.
3956 * libc/sys/linux/shared.ld: Add VERS_1.13.
3958 2004-12-17 Christian Groessler <chris@groessler.org>
3960 * libc/machine/z8k/memcmp.S: New file.
3961 * libc/machine/z8k/memcpy.S: Ditto.
3962 * libc/machine/z8k/memmove.S: Ditto.
3963 * libc/machine/z8k/memset.S: Ditto.
3964 * libc/machine/z8k/Makefile.am: Add new files.
3965 * libc/machine/z8k/Makefile.in: Regenerated.
3966 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
3967 part. Implement Z8002 stdcall version.
3969 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
3971 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
3972 a low-level read if we don't get the full amount of bytes so
3973 EOF or error flags will be set.
3975 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
3977 * libc/time/tzset_r (_tzset_r): Properly skip over
3978 '/' when it is detected.
3980 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3982 * libc/time/tzset_r (_tzset_r): Fix loop.
3984 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3986 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
3988 (__tzcalc_limits): Fix reference to month array to be zero-based.
3990 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
3992 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
3995 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
3997 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
3998 libgcc dependencies.
3999 (libm_la_LDFLAGS): Ditto.
4000 * Makefile.in: Regenerated.
4002 2004-12-03 Shaun Jackman <sjackman@gmail.com>
4004 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4005 our link to use readlink so as to preserve any relative link created
4006 by install-toollibLIBRARIES.
4007 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4009 2004-12-02 Shaun Jackman <sjackman@gmail.com>
4011 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4012 time_t before including sys/stat.h, which uses it.
4013 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4014 <linux/time.h> just prior to definition of __KERNEL__ so as to
4015 allow building on Debian Linux where otherwise, mktime would
4018 2004-11-26 Paul Brook <paul@codesourcery.com>
4020 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
4022 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4024 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
4025 const for value string parameter to match Single Unix and glibc.
4026 * libc/stdlib/putenv.c: Ditto.
4027 * libc/stdlib/putenv_r.c: Ditto.
4029 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4031 * libc/stdio/Makefile.am: Fix missing vfscanf.
4032 * libc/stdio/Makefile.in: Regenerated.
4034 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
4036 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4038 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4039 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4041 * libc/stdio/Makefile.in: Regenerated.
4042 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4043 * libc/stdio/iprintf.c: Ditto.
4044 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4045 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4046 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4047 * libc/stdio/stdio.tex: Add new functions.
4048 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4049 file and add special name defines so this file can be used
4050 to build vfiscanf.o.
4051 * libc/stdio/asiprintf.c: New file.
4052 * libc/stdio/fiscanf.c: Ditto.
4053 * libc/stdio/iscanf.c: Ditto.
4054 * libc/stdio/sccl.c: Ditto.
4055 * libc/stdio/siscanf.c: Ditto.
4056 * libc/stdio/vasiprintf.c: Ditto.
4057 * libc/stdio/viprintf.c: Ditto.
4058 * libc/stdio/viscanf.c: Ditto.
4059 * libc/stdio/vsiprintf.c: Ditto.
4060 * libc/stdio/vsiscanf.c: Ditto.
4061 * libc/stdio/vsniprintf.c: Ditto.
4063 2004-11-19 Shaun Jackman <sjackman@gmail.com>
4065 * libc/include/stdio.h: Add sniprintf.
4066 * libc/stdio/Makefile.am: Add sniprintf.c.
4067 * libc/stdio/Makefile.in: Regenerated.
4068 * libc/stdio/sniprintf.c: New file.
4069 * libc/stdio/stdio.tex: Add sniprintf.
4071 2004-11-17 Christopher Faylor <cgf@timesys.com>
4073 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4074 EOF flag if successful.
4076 2004-10-28 Christopher Faylor <cgf@timesys.com>
4078 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
4079 so that all relevant definitions have been performed for use in the
4082 2004-10-26 Jason Tishler <jason@tishler.net>
4084 * libc/stdio/fread.c (fread): Fix return value for unbuffered
4087 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4089 * libc/include/machine/setjmp.h: Add AVR support.
4090 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
4092 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
4094 * libc/include/sys/signal.h: If <signal.h> didn't include
4095 this header file, include <signal.h> to account for
4096 applications that take advantage that the two header
4097 files are the same in glibc.
4099 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
4101 * configure.host: Add support for crx.
4102 * libc/include/machine/ieeefp.h: Ditto.
4103 * libc/include/machine/setjmp.h: Ditto.
4104 * libc/machine/crx/Makefile.am: New file.
4105 * libc/machine/crx/configure.in: Ditto.
4106 * libc/machine/crx/setjmp.S: Ditto.
4107 * libc/machine/crx/getenv.c: Ditto.
4108 * libc/machine/crx/aclocal.m4: Generate.
4109 * libc/machine/crx/configure: Ditto.
4110 * libc/machine/crx/Makefile.in: Ditto.
4111 * libc/machine/crx/sys/asm.h: New file.
4112 * libc/machine/crx/sys/libh.h: Ditto.
4113 * libc/machine/crx/sys/syscall.h: Ditto.
4115 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
4117 * Makefile.am (stmp-targ-include): Support sys header files
4118 from machine directories.
4119 * Makefile.in: Regenerated.
4121 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
4123 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4124 count skipped zero characters as part of the nread count for %n.
4125 * libc/machine/powerpc/vfscanf.c: Ditto.
4127 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
4129 * libc/stdio/local.h: Include <stdlib.h>.
4131 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
4133 * libc/stdio/fread.c (fread): Include <malloc.h>.
4135 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
4137 * libc/stdio/fread.c (fread): For non-space-optimized case,
4138 add special code for unbuffered files to use user buffer and
4139 only require one low-level system read.
4141 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
4143 * libc/machine/xscale/setjmp.S: New file, copied from
4144 libc/machine/arm/setjmp.S.
4145 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
4146 * libc/machine/xscale/Makefile.in: Regenerate.
4148 2004-09-16 Antony King <antony.king@st.com>
4150 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
4152 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
4153 check for__SSTR in _flags and if set, skip lock request.
4154 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4155 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
4157 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
4158 initialisation of _file to -1 in local FILE.
4159 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
4160 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
4161 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4162 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4163 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
4164 _flags in local FILE to prevent locking.
4165 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4167 2004-09-16 Antony King <antony.king@st.com>
4169 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
4170 and only walk the reentrancy parameter.
4171 (_fwalk_reent): Ditto.
4172 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
4174 2004-09-16 Antony King <antony.king@st.com>
4176 * libc/stdio64/freopen64.c: Remove casting of fp lock to
4179 2004-09-16 Antony King <antony.king@st.com>
4181 * libc/time/tzlock.c: Add default stubs that use generic
4184 2004-09-16 Antony King <antony.king@st.com>
4186 * libc/ctype/ctype.tex: Added missing documentation.
4187 * libc/stdio/stdio.tex Ditto.
4188 * libc/stdlib/stdlib.tex Ditto.
4189 * libc/string/strings.tex Ditto.
4190 * libc/time/time.tex: Ditto.
4191 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
4193 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
4195 * libc/reent/impure.c (reent_data): Define as alias to impure_data
4196 when building for Cygwin.
4197 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
4200 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
4202 * configure.host: Reverting 2004-09-14 change as fix has occurred on
4204 * configure.in: Ditto.
4205 * libc/configure.in: Ditto.
4206 * libc/sys/configure.in: Ditto.
4208 * libc/configure: Ditto.
4209 * libc/sys/configure: Ditto.
4210 * libc/include/sys/reent.h: Ditto.
4211 * libc/stdlib/__atexit.c: Ditto.
4212 * libc/stdlib/__call_atexit.c: Ditto.
4213 * libc/stdlib/cxa_atexit.c: Ditto.
4214 * libc/stdlib/cxa_finalize.c: Ditto.
4215 * libc/sys/cygwin/Makefile.am: Removed again.
4216 * libc/sys/cygwin/Makefile.in: Ditto.
4217 * libc/sys/cygwin/aclocal.m4: Ditto.
4218 * libc/sys/cygwin/configure: Ditto.
4219 * libc/sys/cygwin/configure.in: Ditto.
4220 * libc/sys/cygwin/dummy.c: Ditto.
4221 * libc/sys/cygwin/sys/reent.h: Ditto.
4223 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
4225 * configure.host: Add Cygwin sys directory.
4226 * configure.in: Do not set CRT0 for cygwin.
4227 * libc/configure.in: Ditto.
4228 * libc/sys/configure.in: Ditto.
4229 * configure: Regenerated.
4230 * libc/configure: Ditto.
4231 * libc/sys/configure: Ditto.
4232 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
4233 * libc/stdlib/__atexit.c: Keep cxa support protected by new
4234 __REENT_HAS_CXA_SUPPORT flag.
4235 * libc/stdlib/__call_atexit.c: Ditto.
4236 * libc/stdlib/cxa_atexit.c: Ditto.
4237 * libc/stdlib/cxa_finalize.c: Ditto.
4238 * libc/sys/cygwin/Makefile.am: New file.
4239 * libc/sys/cygwin/Makefile.in: Ditto.
4240 * libc/sys/cygwin/aclocal.m4: Ditto.
4241 * libc/sys/cygwin/configure: Ditto.
4242 * libc/sys/cygwin/configure.in: Ditto.
4243 * libc/sys/cygwin/dummy.c: Ditto.
4244 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
4247 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4249 * libc/iconv/iconv.tex: Updated with new content.
4250 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
4251 instead of NLS_DEFAULT_NLSPATH.
4252 * libc/iconv/lib/iconvnls.h: Fix typo.
4253 * libc/include/sys/iconvnls.h: New file.
4255 2004-09-09 Paul Brook <paul@codesourcery.com>
4257 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
4259 (struct _atexit): Add _next when _REENT_SMALL.
4260 (struct _reent): Add _atexit0 when _REENT_SMALL.
4261 (_REENT_INIT_PTR): Adjust.
4262 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
4264 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
4265 * libc/stdlib/Makefile.in: Regenerate.
4266 * libc/stdlib/__atexit.c: New file.
4267 * libc/stdlib/__call_atexit.c: New file.
4268 * libc/stdlib/atexit.h: Remove old definitions. Add new.
4269 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
4270 * libc/stdlib/cxa_atexit.c: New file.
4271 * libc/stdlib/cxa_finalize.c: New file.
4272 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
4273 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
4274 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
4275 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
4278 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
4280 * libc/include/sys/unistd.h (getpass): Change prototype to use
4281 const instead of __const.
4283 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
4285 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
4288 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
4290 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
4291 on linux systems with glibc 2.3.3 installed.
4292 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
4293 profile_fixup so newlib can build on fc3 system.
4295 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
4297 Introduce SH2a support.
4298 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
4299 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
4300 __SH2A_SINGLE_ONLY__, too.
4301 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
4302 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4303 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
4304 2004-02-10 DJ Delorie <dj@redhat.com>
4305 * libc/sys/sh/crt0.S (start_l): Support sh2a.
4307 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
4309 * libc/time/strptime.c: Correct full-name of "March" typo.
4311 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
4313 * configure.host (h8300*-*-*): Default long long printing support.
4315 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
4317 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
4318 calls, if realloc fails, free up buffer as it is no longer
4321 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4323 * libc/iconv/iconv.tex: Updated to represent recent changes.
4324 * libc/iconv/lib/iconv.c: Documentation updated.
4326 2004-07-07 Nick Clifton <nickc@redhat.com>
4328 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
4331 2004-07-06 Chris Demetriou <cgd@broadcom.com>
4333 * configure.host (mips*-*-elf*): Default long long printing
4336 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
4338 * libc/Makefile.am (libc.dvi): Add target and specify
4339 same dependencies as libc.info.
4340 * libc/Makefile.in: Regenerated.
4341 * libm/Makefile.am (libm.dvi): Add target and specify
4342 same dependencies as libm.info.
4343 * libm/Makefile.in: Regenerated.
4345 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4347 * acinclude.m4: Move --enable-newlib-iconv option back here.
4348 * configure.in: Remove --enable-newlib-iconv option. Don't
4349 tie iconv support to --enable-newlib-mb.
4350 * aclocal.m4: Regenerated.
4352 * doc/aclocal.m4, doc/configure: Ditto.
4353 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
4354 * libm/*/aclocal.m4: Ditto.
4355 * libm/*/configure: Ditto.
4356 * libc/*/aclocal.m4: Ditto.
4357 * libc/*/configure: Ditto.
4359 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4361 * acinclude.m4: Move iconv options into configure.in.
4362 * aclocal.m4: Regenerated.
4364 * configure.in: Add iconv options.
4365 * newlib.hin: Add new iconv encodings and remove deleted ones.
4366 * doc/aclocal.m4: Regenerated.
4367 * doc/configure: Ditto.
4368 * iconvdata/aclocal.m4: Ditto.
4369 * iconvdata/configure: Ditto.
4370 * libc/iconv: Design change. New size-optimized ccs format.
4371 * libc/iconv/AUTHORS: Removed.
4372 * libc/iconv/COPYING: Ditto.
4373 * libc/iconv/README.ORIGINAL: Ditto.
4374 * libc/iconv/README.TODO: Ditto.
4375 * libc/iconv/charset.aliases: Ditto.
4376 * libc/iconv/encoding.aliases: New file.
4377 * libc/iconv/Makefile.am: Updated.
4378 * libc/iconv/Makefile.in: Regenerated.
4379 * libc/iconv/iconv.tex: Updated.
4380 * libc/iconv/ccs/Makefile.am: Ditto.
4381 * libc/iconv/ccs/Makefile.in: Regenerated.
4382 * libc/iconv/ccs/big5.c: Updated.
4383 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4384 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4385 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4386 * libc/iconv/ccs/cp775.c: Ditto.
4387 * libc/iconv/ccs/cp850.c: Ditto.
4388 * libc/iconv/ccs/cp852.c: Ditto.
4389 * libc/iconv/ccs/cp855.c: Ditto.
4390 * libc/iconv/ccs/cp866.c: Ditto.
4391 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4392 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4393 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4394 * libc/iconv/ccs/iconv_mktbl: Ditto.
4395 * libc/iconv/ccs/jis_x0201.c: Ditto.
4396 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4397 * libc/iconv/ccs/shift_jis.c: Ditto.
4398 * libc/iconv/ccs/us_ascii.c: Ditto.
4399 * libc/iconv/ccs/ccs.h: New file.
4400 * libc/iconv/ccs/ccsbi.c: Ditto.
4401 * libc/iconv/ccs/ccsbi.h: Ditto.
4402 * libc/iconv/ccs/ccsnames.h: Ditto.
4403 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4404 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4405 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4406 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4407 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4408 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4409 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4410 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4411 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4412 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4413 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4414 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4415 * libc/iconv/ccs/koi8_ru.c: Ditto.
4416 * libc/iconv/ccs/koi8_uni.c: Ditto.
4417 * libc/iconv/ccs/mktbl.pl: Ditto.
4418 * libc/iconv/ccs/win_1250.c: Ditto.
4419 * libc/iconv/ccs/win_1251.c: Ditto.
4420 * libc/iconv/ccs/win_1252.c: Ditto.
4421 * libc/iconv/ccs/win_1253.c: Ditto.
4422 * libc/iconv/ccs/win_1254.c: Ditto.
4423 * libc/iconv/ccs/win_1255.c: Ditto.
4424 * libc/iconv/ccs/win_1256.c: Ditto.
4425 * libc/iconv/ccs/win_1257.c: Ditto.
4426 * libc/iconv/ccs/win_1258.c: Ditto.
4427 * libc/iconv/ccs/iso_8859_15.c: Updated.
4428 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4429 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4430 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4431 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4432 * libc/iconv/ccs/koi8_r.c: Ditto.
4433 * libc/iconv/ccs/koi8_u.c: Ditto.
4434 * libc/iconv/ccs/ksx1001.c: Ditto.
4435 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4436 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4437 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4438 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4439 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4440 * libc/iconv/ccs/binary/Makefile.am: Updated.
4441 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4442 * libc/iconv/ccs/binary/big5.cct: Updated.
4443 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4444 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4445 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4446 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4447 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4448 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4449 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4450 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4451 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4452 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4453 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4454 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4455 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4456 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4457 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4458 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4459 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4460 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4461 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4462 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4463 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4464 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4465 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4466 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4467 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4468 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4469 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4470 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4471 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4472 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4473 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4474 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4475 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4476 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4477 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4478 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4479 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4480 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4481 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4482 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4483 * libc/iconv/ces/Makefile.am: Updated.
4484 * libc/iconv/ces/Makefile.in: Regenerated.
4485 * libc/iconv/ces/ucs-2-internal.c: Updated.
4486 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4487 * libc/iconv/ces/utf-16.c: Ditto.
4488 * libc/iconv/ces/utf-8.c: Ditto.
4489 * libc/iconv/ces/cesbi.c: New file.
4490 * libc/iconv/ces/cesbi.h: Ditto.
4491 * libc/iconv/ces/cesdeps.h: Ditto.
4492 * libc/iconv/ces/euc.c: Ditto.
4493 * libc/iconv/ces/mkdeps.pl: Ditto.
4494 * libc/iconv/ces/table-pcs.c: Ditto.
4495 * libc/iconv/ces/table.c: Ditto.
4496 * libc/iconv/ces/ucs-2.c: Ditto.
4497 * libc/iconv/ces/ucs-4.c: Ditto.
4498 * libc/iconv/ces/us-ascii.c: Ditto.
4499 * libc/iconv/ces/euc-jp.c: Removed.
4500 * libc/iconv/ces/euc-kr.c: Ditto.
4501 * libc/iconv/ces/euc-tw.c: Ditto.
4502 * libc/iconv/ces/gb2312.c: Ditto.
4503 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4504 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4505 * libc/iconv/lib/Makefile.am: Updated.
4506 * libc/iconv/lib/Makefile.in: Regenerated.
4507 * libc/iconv/lib/endian.h: Updated.
4508 * libc/iconv/lib/iconv.c: Ditto.
4509 * libc/iconv/lib/local.h: Ditto.
4510 * libc/iconv/lib/aliases.c: Removed.
4511 * libc/iconv/lib/bialiasesi.c: Ditto.
4512 * libc/iconv/lib/biccs.c: Ditto.
4513 * libc/iconv/lib/bices.c: Ditto.
4514 * libc/iconv/lib/ccs.c: Ditto.
4515 * libc/iconv/lib/ces.c: Ditto.
4516 * libc/iconv/lib/ces_euc.c: Ditto.
4517 * libc/iconv/lib/ces_iso2022.c: Ditto.
4518 * libc/iconv/lib/ces_table.c: Ditto.
4519 * libc/iconv/lib/converter.c: Ditto.
4520 * libc/iconv/lib/deps.h: Ditto.
4521 * libc/iconv/lib/loaddata.c: Ditto.
4522 * libc/iconv/lib/aliasesbi.c: New file.
4523 * libc/iconv/lib/aliasesi.c: Ditto.
4524 * libc/iconv/lib/conv.h: Ditto.
4525 * libc/iconv/lib/encnames.h: Ditto.
4526 * libc/iconv/lib/encoding.deps: Ditto.
4527 * libc/iconv/lib/iconvnls.c: Ditto.
4528 * libc/iconv/lib/iconvnls.h: Ditto.
4529 * libc/iconv/lib/nullconv.c: Ditto.
4530 * libc/iconv/lib/ucsconv.c: Ditto.
4531 * libc/iconv/lib/ucsconv.h: Ditto.
4532 * libc/include/iconv.h: Update copyright.
4533 * libc/*/aclocal.m4: Regenerated.
4534 * libc/*/configure: Ditto.
4535 * libm/*/aclocal.m4: Ditto.
4536 * libm/*/configure: Ditto.
4538 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
4540 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4541 instead of typedefing jmp_buf.
4543 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4544 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4545 * libc/machine/h8300/defines.h (LEN): New macro.
4546 * libc/machine/h8300/memcpy.S: Add h8sx version.
4547 * libc/machine/h8300/memset.S: Likewise.
4548 * libc/machine/h8300/strcmp.S: Likewise.
4549 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4550 * libc/machine/h8300/h8sx_strcpy.S: New file.
4551 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4552 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4554 * libc/include/machine/setjmp.h: Likewise.
4555 * libc/include/sys/config.h: Likewise.
4556 * libc/machine/h8300/defines.h: Likewise.
4557 * libc/machine/h8300/setjmp.S: Likewise.
4558 * libc/machine/h8300/strcmp.S: Likewise.
4559 * libc/sys/h8300hms/close.S: Likewise.
4560 * libc/sys/h8300hms/fstat.S: Likewise.
4561 * libc/sys/h8300hms/lseek.S: Likewise.
4562 * libc/sys/h8300hms/read.S: Likewise.
4563 * libc/sys/h8300hms/write.S: Likewise.
4564 * libc/sys/h8300hms/crt0.S: Likewise.
4565 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4566 __H8300SX__ is defined.
4567 * libc/sys/h8300hms/setarch.h: Likewise.
4569 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4571 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4572 out change which set _GLOBAL_REENT to _global_impure_ptr until
4573 we understand why Cygwin breaks because of it.
4575 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4577 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4578 __syscall_return macro for systems with vsyscall.
4580 2004-06-11 Antony King <antony.king@st.com>
4582 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4583 _flock_t to be of type _LOCK_RECURSIVE_T.
4584 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4585 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4586 (_global_impure_ptr): New declaration.
4587 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4588 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4590 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4591 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4592 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4593 * libc/stdio/fclose.c: Remove casting of fp lock to
4595 * libc/stdio/findfp.c: Ditto.
4596 * libc/stdio/fopen.c: Ditto.
4597 * libc/stdio/freopen.c: Ditto.
4598 * libc/stdio/vfprintf.c: Ditto.
4599 * libc/stdio64/fopen64.c: Ditto.
4600 * libc/stdlib/envlock.c: Add default stubs that use generic
4602 * libc/stdlib/mlock.c: Ditto.
4604 Jeff Johnston <jjohnstn@redhat.com>
4605 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4606 (_flock_t): Change to be a struct containing a single member
4607 named mutex which is of type __flock_mutex_t.
4609 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4611 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4612 from /usr/include/asm/signal.h instead of kernel sources. Also
4613 default max to 32 if not found in header file.
4614 * libc/sys/linux/Makefile.in: Regenerated.
4615 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4616 systems where __syscall_return is not defined.
4617 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4618 systems to use syscall() function instead of assembler interrupt.
4620 2004-06-09 Toralf Lund <toralf@procaptura.com>
4622 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4623 files from libc/sys/arm to libc/machine/arm.
4624 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4625 library build support for files moved from libc/sys/arm.
4626 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4627 references to access and setjmp.
4628 * configure.host: Add checks for newlib_may_supply_syscalls to
4629 determine whether or not to use sys/arm directory and use
4630 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
4632 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4634 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4635 reset digit flags appropriately after we have discovered "0x".
4636 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4638 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4640 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4642 (_VFPRINTF_R): ... to here so all I/O printf routines
4645 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4647 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4649 * libc/search/hash.c: Ditto.
4651 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4653 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
4654 (_WANT_IO_LONG_LONG): Ditto.
4655 (_WANT_IO_LONG_DOUBLE): Ditto.
4656 * configure.in: Add new configuration options
4657 --enable-newlib-io-long-long and --enable-newlib-io-long-double
4658 which tie to new defines in newlib.hin.
4659 * configure: Regenerated.
4660 * configure.host: Add checks for new configuration options. Also
4661 fix up check for --enable-newlib-io-pos-args so configuration
4662 option will override any default for a given platform.
4663 Remove defining compiler flags for the _WANT_IO* options.
4664 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
4665 instead of looking for old compiler flags.
4666 * libc/stdio/vfscanf.c: Ditto.
4667 * libc/stdio/vfieeefp.h: Ditto.
4668 * libc/machine/powerpc/vfprintf.c: Ditto.
4669 * libc/machine/powerpc/vfscanf.c: Ditto.
4671 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
4673 * testsuite/include/check.h: Add include of <stdio.h>.
4675 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
4677 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
4679 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4681 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4684 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4686 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4687 list for reentrant pointer. Call _vfiprintf_r.
4688 * libc/stdio/siprintf.c (_siprintf_r): New function.
4689 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4690 pointer argument. Change all callers. Call _VFPRINTF_R.
4691 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4694 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4696 * libc/include/sys/param.h: Remove endian info and include
4697 <machine/endian.h> instead.
4698 * libc/include/machine/endian.h: New file.
4699 * libc/include/machine/param.h: Ditto.
4700 * libc/machine/arm/machine/endian.h: Ditto.
4701 * libc/machine/arm/machine/param.h: Ditto.
4702 * libc/sys/arm/sys/param.h: Removed.
4703 * libc/sys/sysvi386/sys/param.h: Ditto.
4704 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
4706 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4708 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
4709 multibyte functions return failure for %C, %S, %lc, and %ls
4712 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4714 * testsuite/include/check.h (CHECK): Add flush of stdout.
4716 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4718 * libc/include/stdio.h (_ungetc_r): New prototype.
4719 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
4720 (__submore): Add reentrant struct pointer argument.
4721 (ungetc): Change to call _ungetc_r.
4723 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4725 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
4726 function pointer argument.
4727 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
4728 to specify function pointer arguments.
4729 (__fwalk, __fwalk_reent): Ditto.
4731 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
4733 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
4736 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4738 * configure.in: Define _MB_CAPABLE if mb supported.
4739 * configure: Regenerated.
4740 * configure.host: Remove manual setting of MB_CAPABLE compiler
4742 * newlib.hin: Add _MB_CAPABLE flag.
4743 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
4744 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
4745 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
4746 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
4747 * libc/ctype/jp2uc.c: Ditto.
4748 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
4749 * libc/locale/locale.c: Ditto
4750 * libc/machine/powerpc/vfscanf.c: Ditto
4751 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
4752 * libc/stdlib/mblen.c: Ditto
4753 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
4754 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
4755 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
4756 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
4757 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
4758 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
4759 * libc/sys/linux/intl/explodename.c: Ditto
4760 * libc/sys/linux/intl/finddomain.c: Ditto
4761 * libc/sys/linux/intl/l10nflist.c: Ditto
4762 * libc/sys/linux/intl/loadmsgcat.c: Ditto
4763 * libc/sys/linux/intl/localealias.c: Ditto
4765 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4767 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
4768 (__svfscanf_r): In integer conversions, leave out leading zeroes
4769 which are not part of a base prefix.
4770 Keep track of width truncation to fit into buf, not counting left-out
4771 zeroes against width till the truncation has been compensated for.
4772 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
4774 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4776 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
4778 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4780 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
4781 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
4782 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
4783 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
4784 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
4785 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
4786 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
4787 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
4788 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
4789 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
4790 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
4791 libc/stdio/getchar.c libc/stdio/getchar_u.c,
4792 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
4793 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
4794 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
4795 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
4796 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
4797 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
4798 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
4799 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
4800 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
4801 libc/stdio/siprintf.c libc/stdio/snprintf.c,
4802 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
4803 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
4804 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
4805 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
4806 libc/stdio/vprintf.c libc/stdio/vscanf.c,
4807 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
4808 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
4809 libc/stdio/wsetup.c: Perform minor formatting changes. Move
4810 copyright notices to top of file, ensure that <_ansi.h> is
4811 included, be consistent with open parentheses, use _DEFUN macro,
4812 include "local.h" where needed, and remove various compiler
4815 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
4817 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
4818 (__svfscanf_r): In integer conversions, leave out leading zeroes
4819 which are not part of a base prefix.
4820 Keep track of width truncation to fit into buf, not counting left-out
4821 zeroes against width till the truncation has been compensated for.
4823 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4825 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
4827 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4829 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
4831 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
4833 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
4836 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4838 * libc/stdio/fclose.c (_fclose_r): New function.
4839 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
4840 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
4841 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
4842 * libc/include/stdio.h (_fclose_r): New prototype.
4843 * libc/stdio/fopen.c: Fix typo in comment.
4845 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
4847 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
4848 to handle _r reentrant functions.
4850 2004-04-08 Eric Christopher <echristo@redhat.com>
4852 * libc/include/machine/setjmp.h: Fix endif locations.
4854 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4856 * libc/time/strptime.c: Add standard includes to avoid
4857 warning messages at compilation time.
4859 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
4861 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
4864 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
4866 * libc/machine/h8300/Makefile.am: Reformat slightly.
4867 * libc/machine/h8300/Makefile.in: Regenerate.
4869 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
4871 * libc/stdio/findfp.c (__fp_lock_all): Add call to
4873 (__fp_unlock_all): Add call to __sfp_lock_release.
4875 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
4877 * libc/stdio/fclose.c (fclose): Protect file pointer list when
4879 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
4881 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
4882 _flockfile/_funlockfile.
4883 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
4885 Change __lock_acquire/__lock_release calls for __sfp_lock to
4886 __sfp_lock_acquire/__sfp_lock_release throughout.
4887 (std): Make sure that file lock is only initialized once.
4888 (__sfp): Move _file initialization. Initialize file lock.
4889 (__sfp_lock_acquire): New function.
4890 (__sfp_lock_release): Ditto.
4891 (__fp_lock_all): Remove __sfp_lock_acquire call.
4892 (__fp_unlock_all): Remove __sfp_lock_release call.
4893 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
4894 Add calls to _flockfile/_funlockfile. Remove
4895 __lock_init_recursive call.
4896 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
4897 * libc/stdio/fwalk.c (__fwalk): New static function.
4898 (_fwalk): Protect file pointer list. Use __fwalk to walk through
4900 * libc/stdio/local.h: Add defines for
4901 __sfp_lock_acquire/__sfp_lock_release when
4902 single threaded. Add function prototypes otherwise.
4903 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
4904 _flockfile/_funlockfile.
4905 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
4906 Add calls to _flockfile/_funlockfile. Remove
4907 __lock_init_recursive call.
4908 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
4911 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
4913 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
4914 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
4915 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
4916 to be __LOCK_INIT_RECURSIVE.
4918 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
4920 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
4921 _exit.c with _exit.S.
4922 * libc/sys/h8300hms/Makefile.in: Regenerate.
4923 * libc/sys/h8300hms/_exit.c: Remove.
4924 * libc/sys/h8300hms/_exit.S: New.
4926 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
4928 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
4929 Change __sfp_lock to static global.
4930 (__fp_lock): New static function.
4931 (__fp_unlock): Ditto.
4932 (__fp_lock_all): New function.
4933 (__fp_unlock_all): Ditto.
4935 2004-02-10 Christopher Faylor <cgf@redhat.com>
4937 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
4938 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
4939 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
4940 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
4942 2004-02-09 Christopher Faylor <cgf@redhat.com>
4944 * libc/include/time.h (TIMER_RELTIME): New define.
4946 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
4948 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
4949 * libc/stdlib/Makefile.in: Regenerated.
4951 2004-02-08 Christopher Faylor <cgf@redhat.com>
4953 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
4954 * libc/include/sys/reent.h (__getreent): Protect against possibly being
4956 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
4958 2004-02-05 Paul Brook <paul@codesourcery.com>
4960 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
4961 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
4963 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4965 * NEWS: Update with 1.12.0 info.
4967 * acinclude.m4: Change version number to 1.12.0.
4968 * aclocal.m4: Regenerated.
4970 * doc/aclocal.m4: Ditto.
4971 * doc/configure: Ditto.
4972 * libc/*/aclocal.m4: Ditto.
4973 * libc/*/configure: Ditto.
4974 * libc/libc.texinfo: Ditto.
4975 * libm/*/aclocal.m4: Ditto.
4976 * libm/*/configure: Ditto.
4977 * libm/libm.texinfo: Ditto.
4978 * libc/sys/linux/shared.ld: Add VERS_1.12.
4980 2004-02-02 Joel Sherrill <joel@oarcorp.com>
4982 * configure.host: Add support for tic4x.
4983 * libc/include/machine/ieeefp.h: Ditto.
4984 * libc/include/machine/setjmp.h: Ditto.
4985 * libc/machine/tic4x/Makefile.am: New file.
4986 * libc/machine/tic4x/configure.in: Ditto.
4987 * libc/machine/tic4x/setjmp.S: Ditto.
4988 * libc/machine/tic4x/aclocal.m4: Generated.
4989 * libc/machine/tic4x/configure: Ditto.
4990 * libc/machine/tic4x/Makefile.in: Ditto.
4992 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
4994 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
4995 file chain on the passed in reentrancy struct if it
4998 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4999 Jeff Johnston <jjohnstn@redhat.com>
5001 * libc/iconv/iconv.tex: Updated with more information.
5003 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
5004 Jeff Johnston <jjohnstn@redhat.com>
5006 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5007 struct for std streams and traverse the global reeentrancy
5008 struct for all other streams.
5010 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5012 * libc/stdlib/atexit.c: Protect global atexit list with a
5013 lock when newlib is multithreaded.
5015 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5017 * configure.in: Add support to generate iconv converter flags
5019 * newlib.hin: Add iconv converter flags.
5020 * configure: Regenerated.
5021 * libc/Makefile.in: Ditto.
5022 * libc/configure.in: Moved iconv converter parsing logic to
5023 top level newlib configure.in.
5024 * libc/configure: Regenerated.
5025 * libc/iconv/Makefile.in: Ditto.
5026 * libc/iconv/README.TODO
5027 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5029 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5030 newlib.h can be used.
5031 * libc/iconv/ces/Makefile.am: Ditto.
5032 * libc/iconv/lib/Makefile.am: Ditto.
5033 * libc/iconv/ccs/Makefile.in: Regenerated.
5034 * libc/iconv/ces/Makefile.in: Ditto.
5035 * libc/iconv/lib/Makefile.in: Ditto.
5036 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5037 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5038 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5039 defined in newlib.h.
5040 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5041 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5042 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5043 * libc/iconv/ccs/cp775.c: Ditto.
5044 * libc/iconv/ccs/cp850.c: Ditto.
5045 * libc/iconv/ccs/cp852.c: Ditto.
5046 * libc/iconv/ccs/cp855.c: Ditto.
5047 * libc/iconv/ccs/cp866.c: Ditto.
5048 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5049 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5050 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5051 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5052 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5053 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5054 * libc/iconv/ccs/jis_x0201.c: Ditto.
5055 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5056 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5057 * libc/iconv/ccs/koi8_r.c: Ditto.
5058 * libc/iconv/ccs/koi8_u.c: Ditto.
5059 * libc/iconv/ccs/ksx1001.c: Ditto.
5060 * libc/iconv/ccs/shift_jis.c: Ditto.
5061 * libc/iconv/ccs/us_ascii.c: Ditto.
5062 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5063 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5064 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5065 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5066 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5067 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5068 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5069 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5070 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5071 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5072 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5073 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5074 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5075 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5076 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5077 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5078 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5079 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5080 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5081 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5082 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5083 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5084 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5085 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
5086 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
5087 * libc/iconv/ces/euc-kr.c: Ditto.
5088 * libc/iconv/ces/euc-tw.c: Ditto.
5089 * libc/iconv/ces/gb2312.c: Ditto.
5090 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
5091 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5092 * libc/iconv/ces/ucs-2-internal.c: Ditto.
5093 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5094 * libc/iconv/ces/utf-16.c: Ditto.
5095 * libc/iconv/ces/utf-8.c: Ditto.
5096 * libc/iconv/lib/aliases.c: Ditto.
5097 * libc/iconv/lib/biccs.c: Ditto.
5098 * libc/iconv/lib/bices.c: Ditto.
5099 * libc/iconv/lib/ccs.c: Ditto.
5100 * libc/iconv/lib/ces.c: Ditto.
5101 * libc/iconv/lib/ces_euc.c: Ditto.
5102 * libc/iconv/lib/ces_iso2022.c: Ditto.
5103 * libc/iconv/lib/ces_table.c: Ditto.
5104 * libc/iconv/lib/converter.c: Ditto.
5105 * libc/iconv/lib/deps.h: Ditto.
5106 * libc/iconv/lib/endian.h: Ditto.
5107 * libc/iconv/lib/iconv.c: Ditto.
5108 * libc/iconv/lib/loaddata.c: Ditto.
5109 * libc/iconv/lib/local.h: Include newlib.h.
5110 * libc/argz/Makefile.in: Regenerated.
5111 * libc/ctype/Makefile.in: Ditto.
5112 * libc/errno/Makefile.in: Ditto.
5113 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5114 * libc/locale/Makefile.in: Ditto.
5115 * libc/misc/Makefile.in: Ditto.
5116 * libc/posix/Makefile.in: Ditto.
5117 * libc/reent/Makefile.in: Ditto.
5118 * libc/search/Makefile.in: Ditto.
5119 * libc/signal/Makefile.in: Ditto.
5120 * libc/stdio/Makefile.in: Ditto.
5121 * libc/stdio64/Makefile.in: Ditto.
5122 * libc/stdlib/Makefile.in: Ditto.
5123 * libc/string/Makefile.in: Ditto.
5124 * libc/syscalls/Makefile.in: Ditto.
5125 * libc/time/Makefile.in: Ditto.
5126 * libc/unix/Makefile.in: Ditto.
5127 * testsuite/newlib.iconv/iconv.exp: New file.
5128 * testsuite/newlib.iconv/iconvjp.c: Ditto.
5129 * testsuite/newlib.iconv/iconvnm.c: Ditto.
5130 * testsuite/newlib.iconv/iconvru.c: Ditto.
5132 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5134 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
5135 (--enable-newlib-builtin-converters): Ditto.
5136 * configure.in: Add code to set _ICONV_ENABLED flag.
5137 Set _MB_LEN_MAX to 1 if not mb enabled.
5138 * configure: Regenerated.
5139 * aclocal.m4: Ditto.
5140 * Makefile.in: Ditto.
5141 * newlib.hin: Add _ICONV_ENABLED flag.
5142 * libc/Makefile.am: Add support for iconv.
5143 * libc/configure.in: Ditto.
5144 * libc/Makefile.in: Regenerated.
5145 * libc/aclocal.m4: Ditto.
5146 * libc/configure: Ditto.
5147 * libc/libc.texinfo: Add iconv documentation.
5148 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
5149 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
5150 libc/iconv/README.TODO, libc/iconv/charset.aliases,
5151 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
5152 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
5153 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
5154 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
5155 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
5156 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
5157 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
5158 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
5159 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
5160 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
5161 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
5162 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
5163 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
5164 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
5165 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
5166 libc/iconv/ccs/binary/big5.cct,
5167 libc/iconv/ccs/binary/cns11643_plane1.cct,
5168 libc/iconv/ccs/binary/cns11643_plane14.cct,
5169 libc/iconv/ccs/binary/cns11643_plane2.cct,
5170 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
5171 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
5172 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
5173 libc/iconv/ccs/binary/iso_8859_1.cct,
5174 libc/iconv/ccs/binary/iso_8859_15.cct,
5175 libc/iconv/ccs/binary/iso_8859_2.cct,
5176 libc/iconv/ccs/binary/iso_8859_4.cct,
5177 libc/iconv/ccs/binary/iso_8859_5.cct,
5178 libc/iconv/ccs/binary/jis_x0201.cct,
5179 libc/iconv/ccs/binary/jis_x0208_1983.cct,
5180 libc/iconv/ccs/binary/jis_x0212_1990.cct,
5181 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
5182 libc/iconv/ccs/binary/ksx1001.cct,
5183 libc/iconv/ccs/binary/shift_jis.cct,
5184 libc/iconv/ccs/binary/us_ascii.cct,
5185 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
5186 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
5187 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
5188 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
5189 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
5190 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
5191 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
5192 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
5193 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
5194 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
5195 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
5196 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
5197 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
5198 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
5199 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
5200 * libc/sys/linux/include/iconv.h: Ditto.
5201 * libc/include/sys/_types.h (_iconv_t): Added.
5202 * doc/aclocal.m4: Regenerated.
5203 * doc/configure: Ditto.
5204 * doc/Makefile.in: Ditto.
5205 * iconvdata/Makefile.in: Ditto.
5206 * iconvdata/aclocal.m4: Ditto.
5207 * iconvdata/configure: Ditto.
5208 * libc/*aclocal.m4: Ditto.
5209 * libc/*Makefile.in: Ditto.
5210 * libc/*configure: Ditto.
5211 * libm/*aclocal.m4: Ditto.
5212 * libm/*Makefile.in: Ditto.
5213 * libm/*configure: Ditto.
5215 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
5217 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
5218 by a lock when newlib is multithreaded.
5220 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
5222 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
5223 pointer to match C99 spec.
5224 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
5225 dst is NULL. Also fix to not alter src pointer when dst is NULL
5226 and call _mbrtowc_r instead of _mbtowc_r.
5227 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
5230 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
5232 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
5233 * libc/stdio/freopen.c (freopen): Ditto.
5235 2004-01-16 Christopher Faylor <cgf@redhat.com>
5237 * libc/stdio/vfprintf.c: Add sys/lock.h include.
5239 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
5241 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
5242 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
5243 Add calls to __lock_init_recursive and __lock_close_recursive
5246 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
5248 * libc/stdio/fclose.c: Include sys/lock.h.
5249 (fclose): Destroy lock when file is closed.
5250 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
5252 * libc/stdio/freopen.c: Include sys/lock.h.
5253 (_freopen_r): Destroy lock when file is closed.
5254 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
5257 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5259 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
5262 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5264 * libc/sys/rtems/sys/queue.h: New file.
5265 * libc/include/sys/signal.h: Reflect renumbering of signals to
5266 fit into 32-bit mask.
5267 * libc/include/sys/unistd.h: Add fdatasync() prototype.
5268 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
5269 required. In particular, add the reentrant variants of libc calls.
5270 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
5272 2004-01-06 Mark Mitchell <mark@codesourcery.com>
5274 * libc/sys/arm/syscalls.c (unistd.h): Include it.
5275 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
5276 Similarly for stdout and stderr.
5278 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
5280 * libc/libc.texinfo: Correct escape character for @ sign
5281 so file will be processed by make info. Update copyright years.
5282 * libm/libm.texinfo: Ditto.
5284 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5286 * libc/include/sys/stat.h: No longer include stat-dj.h.
5287 * libc/include/sys/stat-dj.h: Removed.
5289 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5291 * libc/include/wchar.h: Include <sys/reent.h>.
5293 2003-12-05 Christopher Faylor <cgf@redhat.com>
5295 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
5296 when defining _mbrtowc.
5297 * libc/stdlib/mbsinit.c: Ditto.
5298 * libc/stdlib/mbsrtowcs.c: Ditto.
5299 * libc/stdlib/wcrtomb.c: Ditto.
5300 * libc/stdlib/wcsrtombs.c: Ditto.
5301 * libc/stdlib/wctob.c: Ditto.
5303 2003-12-05 Christopher Faylor <cgf@redhat.com>
5305 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
5306 errors when defining _mbrtowc.
5307 * libc/stdlib/mbsinit.c: Ditto.
5308 * libc/stdlib/mbsrtowcs.c: Ditto.
5310 2003-12-05 Christopher Faylor <cgf@redhat.com>
5312 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
5313 errors when defining _mbrtowc.
5315 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5317 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
5318 of mb routines for %lc and %ls support.
5319 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
5320 %ls, and %S support. Remove CYGNUS_NEC markers and
5323 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
5325 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
5326 _wcrtomb_r, and _wcsrtombs_r.
5328 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
5330 * libc/include/sys/fcntl.h: Don't define struct flock when on
5331 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
5333 2003-11-28 Christopher Faylor <cgf@redhat.com>
5335 * libc/include/sys/signal.h: Use system specific signal file when
5338 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5340 * libc/include/stdlib.h (_atoi_r): New prototype.
5341 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
5343 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5345 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
5346 * libc/stdlib/atol.c (_atol_r): New reentrant function.
5347 * libc/stdlib/atoll.c (_atoll_r): Ditto.
5349 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5350 Jeff Johnston <jjohnstn@redhat.com>
5352 * libc/include/stdlib.h (lldiv_t): New type.
5353 (atoll, llabs, lldiv): New prototypes.
5354 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
5355 * libc/stdlib/stdlib.tex: Ditto.
5356 * libc/stdlib/Makefile.in: Regenerated.
5357 * libc/stdlib/atoll.c: New file.
5358 * libc/stdlib/llabs.c: Ditto.
5359 * libc/stdlib/lldiv.c: Ditto.
5361 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
5363 * libc/include/fcntl.h: Declare syscalls only when building newlib.
5364 * libc/include/unistd.h: Ditto.
5365 * libc/include/stat.h: Ditto. Also declare struct stat64.
5367 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5369 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
5370 specifier to use ch instead of *fmt.
5372 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5374 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
5375 code within checks for MB_CAPABLE. For non-mb-capable platforms,
5376 use simple byte logic.
5378 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
5380 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
5381 _strtold routine for processing floats and doubles since it
5382 is not as fast as _strtod_r.
5384 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
5386 * libc/machine/h8300/defines.h : Correct pointer register defines
5388 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
5390 * libc/machine/h8300/reg_memcpy.S : Likewise.
5391 * libc/machine/h8300/reg_memset.S : Likewise.
5392 * libc/machine/h8300/strcmp.S : Likewise.
5394 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
5396 * configure.host: Enable positional arguments for printf
5398 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5399 pointer reference for quad_ptr_t.
5401 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5403 * libc/stdio/scanf.c: Don't include local.h more than once.
5405 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
5407 * libc/include/sys/fcntl.h: Declare _open64.
5408 * libc/include/sys/stat.h: Declare _fstat64.
5409 * libc/include/sys/unistd.h: Declare _lseek64.
5411 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
5413 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5414 (setprogname): Ditto.
5416 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5418 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5419 to use (Ebits + 1) which accounts for the sign-bit.
5421 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5423 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
5425 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5426 and set up default flags to pass to aclocal.
5427 * iconvdata/Makefile.in: Regenerated.
5428 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5429 and getpwuid routines.
5430 * libc/sys/linux/Makefile.in: Regenerated.
5431 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5432 applications to link with newlib's shared libc library.
5433 * libc/sys/linux/getpwnam.c: Ditto.
5434 * libc/sys/linux/getpwuid.c: Ditto.
5435 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5436 that were formerly supplied by /usr/include/linux/types.h with
5438 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5439 test _ELIX_LEVEL macro.
5441 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5443 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5444 referring to _NO_LONGLONG macro.
5446 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5448 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5449 in LOG() macro so this will compile on gcc 3.4 and up.
5450 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5451 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5452 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5453 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5454 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5455 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5456 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5457 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5458 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5459 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5460 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5461 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5462 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5463 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5464 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5465 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5466 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5467 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5468 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5469 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5470 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5471 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5472 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5473 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5474 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5475 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5476 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5477 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5478 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5479 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5480 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5481 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5482 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5483 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5484 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5485 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5487 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5488 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5490 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5491 %ls, %S, %lc, and %C format specifiers.
5493 * libc/stdio/sprintf.c: Add documentation regarding new
5494 format specifiers added in vfprintf.c.
5496 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5498 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5499 to make code work as specified in standard.
5501 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5503 * configure.in: Use absolute newlib basedir when forming
5504 CC_FOR_NEWLIB include options.
5505 * configure: Regenerated.
5507 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5509 * libc/string/wcsnlen.c: New file.
5510 * libc/include/wchar.h: Add wcsnlen prototype.
5511 * libc/string/Makefile.am: Add wcsnlen support.
5512 * libc/string/Makefile.in: Regenerated.
5513 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5515 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
5517 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5519 2003-10-20 Bob Wilson <bob.wilson@acm.org>
5521 * libc/locale/locale.c: Use double quotes in code.
5522 * libc/locale/locale.tex: Likewise.
5523 * libc/libc.texinfo: Hyphenate "floating-point".
5524 * libc/machine/necv70/necv70.tex: Likewise.
5525 * libc/stdio/sprintf.c: Likewise.
5526 * libc/stdio/sscanf.c: Likewise.
5527 * libc/stdlib/atof.c: Likewise.
5528 * libc/stdlib/ldtoa.c: Fix comment typo.
5529 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5530 * libc/stdlib/ldiv.c: Likewise.
5531 * libm/common/s_expm1.c: Likewise.
5532 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5533 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5534 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5535 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5536 and "floating-point".
5537 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5538 * libm/math/e_pow.c: Fix comment typo.
5539 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5540 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5541 * libm/math/s_atan.c: Likewise.
5542 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5543 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5544 "floating-point". Use "nonzero".
5545 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5546 * libm/math/w_acos.c: Likewise.
5547 * libm/math/w_acosh.c: Likewise.
5548 * libm/math/w_asin.c: Likewise.
5549 * libm/math/w_atan2.c: Likewise.
5550 * libm/math/w_atanh.c: Likewise.
5551 * libm/math/w_cosh.c: Likewise.
5552 * libm/math/w_exp.c: Likewise.
5553 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5554 version of 2^x in the description.
5555 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5556 * libm/math/w_gamma.c: Likewise.
5557 * libm/math/w_hypot.c: Likewise.
5558 * libm/math/w_j0.c: Likewise.
5559 * libm/math/w_sinh.c: Likewise.
5560 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5561 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5563 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5564 * libm/mathfp/e_atanh.c: Likewise.
5565 * libm/mathfp/e_hypot.c: Likewise.
5566 * libm/mathfp/er_lgamma.c: Likewise.
5567 * libm/mathfp/s_acos.c: Likewise.
5568 * libm/mathfp/s_asine.c: Likewise.
5569 * libm/mathfp/s_asinh.c: Likewise.
5570 * libm/mathfp/s_atan.c: Likewise.
5571 * libm/mathfp/s_atan2.c: Likewise.
5572 * libm/mathfp/s_atangent.c: Likewise.
5573 * libm/mathfp/s_cosh.c: Likewise.
5574 * libm/mathfp/s_exp.c: Likewise.
5575 * libm/mathfp/s_fmod.c: Likewise.
5576 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5577 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5578 "floating-point". Use "nonzero".
5579 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5580 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5581 * libm/mathfp/s_sineh.c: Likewise.
5582 * libm/mathfp/w_jn.c: Likewise.
5584 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
5586 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5587 lines, to enable parallel make.
5588 * Makefile.in: Rebuilt.
5590 2003-10-14 Christopher Faylor <cgf@redhat.com>
5592 * libc/time/clock.c: Clarify documentation of return value when no
5593 measurement is available.
5595 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5597 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5598 * libm/configure: Regenerate.
5599 * libm/Makefile.in: Ditto.
5601 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5603 * libc/machine/sh/strncpy.S: New file.
5604 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5605 * libc/machine/sh/Makefile.in: Regenerate.
5607 2003-09-11 James E Wilson <wilson@specifixinc.com>
5609 * MAINTAINERS: Update my e-mail address.
5611 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
5613 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5615 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5617 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5619 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5620 _simdldcheck(). Also add unsigned cast for index variable in
5621 for loop using sizeof operators.
5622 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5623 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5624 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5625 plus fix shift calculation for determining if there is a
5628 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
5630 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5631 setgroupent for Cygwin.
5633 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5635 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5636 is different for _REENT_SMALL than when using regular reent
5639 2003-09-05 Ben Elliston <bje@wasabisystems.com>
5641 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5642 modern versions of GCC issue a warning.
5644 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5645 after continuation characters that induces a warning from modern
5648 2003-09-04 Ben Elliston <bje@wasabisystems.com>
5650 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
5651 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
5653 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
5655 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
5656 * libc/stdlib/exit.c : Ditto.
5657 * libc/stdlib/on_exit.c: Ditto.
5659 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
5661 * libc/include/reent.h: Define stat64 as __stat64 when
5662 compiling newlib for Cygwin.
5664 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5666 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
5667 __stat64 when compiling newlib.
5669 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5671 * libc/include/stdio.h: Allow the io64 function prototypes for
5672 Cygwin when compiling newlib.
5673 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
5674 to expose the Cygwin struct __stat64 type.
5675 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
5677 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
5679 2003-08-23 Christopher Faylor <cgf@redhat.com>
5681 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5682 definition to fseeko64.
5684 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5686 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5687 * libc/stdio: Globally remove/replace all references to fp->_data.
5688 Replace with _REENT or _GLOBAL_REENT where appropriate.
5689 * libc/stdio/asprintf.c: Ditto.
5690 * libc/stdio/fclose.c: Ditto.
5691 * libc/stdio/fvwrite.c: Ditto.
5692 * libc/stdio/makebuf.c: Ditto.
5693 * libc/stdio/refill.c: Ditto.
5694 * libc/stdio/local.h: Ditto.
5695 * libc/stdio/setvbuf.c: Ditto.
5696 * libc/stdio/sscanf.c: Ditto.
5697 * libc/stdio/stdio.c: Ditto.
5698 * libc/stdio/ungetc.c: Ditto.
5699 * libc/stdio/vfscanf.c: Ditto.
5700 * libc/stdio/vsscanf.c: Ditto.
5701 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
5702 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
5703 * libc/stdio/vsnprintf.c: Ditto.
5704 * libc/stdio/vsprintf.c: Ditto.
5705 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
5706 instead of _REENT to walk file list.
5707 * libc/stdio/fflush.c: Ditto.
5708 * libc/stdio/fgetpos.c: Add reentrant version and have regular
5709 version call reentrant version with _REENT argument.
5710 * libc/stdio/fsetpos.c: Ditto.
5711 * libc/stdio/fseek.c: Ditto.
5712 * libc/stdio/fseeko.c: Ditto.
5713 * libc/stdio/ftell.c: Ditto.
5714 * libc/stdio/ftello.c: Ditto.
5715 * libc/stdio/freopen.c: Ditto.
5716 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
5717 new files to chain. Also use _GLOBAL_REENT pointer for
5719 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
5720 * libc/stdio/siprintf.c: Ditto.
5721 * libc/stdio/iprintf.c: Ditto.
5722 * libc/stdio/fprintf.c: Ditto.
5723 * libc/stdio/printf.c: Ditto.
5724 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
5725 * libc/stdio/sprintf.c: Ditto.
5726 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
5727 * libc/stdio/rewind.c: Call _fseek_r directly.
5728 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
5729 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
5731 (get_arg): Add extra struct _reent pointer argument.
5732 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
5734 * libc/stdio64/fopen64.c: Ditto.
5735 * libc/stdio64/freopen64.c: Ditto.
5736 * libc/stdio64/fsetpos64.c: Ditto.
5737 * libc/stdio64/ftello64.c: Ditto.
5738 * libc/stdio64/local64.h: Ditto.
5739 * libc/stdio64/stdio64.c: Ditto.
5740 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
5741 _fstat64_r for the meantime.
5743 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
5745 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
5748 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
5750 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
5753 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
5755 * libc/include/math.h: Add prototypes for __signbitf and
5758 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
5760 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
5761 correct type of conversion when dealing with EUCJP or SJIS.
5762 * libc/ctype/iswblank.c: Ditto.
5763 * libc/ctype/iswcntrl.c: Ditto.
5764 * libc/ctype/iswprint.c: Ditto.
5765 * libc/ctype/iswpunct.c: Ditto.
5766 * libc/ctype/iswspace.c: Ditto.
5767 * libc/ctype/towlower.c: Ditto.
5768 * libc/ctype/towupper.c: Ditto.
5770 2003-07-31 Nick Clifton <nickc@redhat.com>
5772 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
5773 before calling main, in case it saves its argument registers.
5774 Remove reference to deleted v850ea port.
5775 * configure.host: Remove reference to deleted v850ea port.
5776 Do not use -mv850 when building for v850e target. This
5777 prevents the ctbp system register from being initialised.
5779 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
5781 * libc/stdio/vfprintf.c: Set output size to 1 when
5782 we have %f format with precision 0 and # flag not specified.
5784 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
5786 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
5789 2003-07-25 Christopher Faylor <cgf@redhat.com>
5791 * libc/stdio64/fdopen64.c: Include sys/lock.h.
5793 2003-07-25 Christopher Faylor <cgf@redhat.com>
5795 * configure.host: Find cygwin include directory, when appropriate.
5797 2003-07-24 Christopher Faylor <cgf@redhat.com>
5799 * libc/stdio64/fdopen64.c: New file.
5800 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
5801 * libc/stdio64/Makefile.in: Regenerate.
5802 * libc/include/stdio.h (fdopen64): Define.
5803 * libc/include/stdio.h (_fdopen64_r): Ditto.
5805 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
5807 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
5808 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
5809 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
5810 restore callee-saved FP registers.
5812 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
5814 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
5816 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
5818 * libc/sys/sh/Makefile.in: Regenerate.
5819 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
5820 * libc/sys/sh/ftruncate.c: New file.
5821 * libc/sys/sh/truncate.c: Likewise.
5823 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
5825 * libc/include/math.h (nan, nanf): Update prototype to C99.
5826 * libm/common/s_nan.c (nan): Likewise.
5827 * libm/common/s_nanf.c (nanf, nan): Likewise.
5828 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
5830 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
5832 * libc/include/stdbool.h: Removed as this is defined by gcc.
5834 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
5836 * libc/include/stdbool.h: New header file defined by C99.
5838 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5840 * libc/include/sys/types.h (int8_t): Make signed.
5842 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5844 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
5846 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
5848 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
5849 on if we actually created the shared memory file exclusively.
5851 2003-06-27 Joe Vornehm <joev@mitre.org>
5853 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
5854 comparisons to account for unsigned internal value w.
5856 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
5858 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
5859 wrbuf for a non-creating open.
5861 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
5863 * libc/machine/h8300/setarch.h: New.
5864 * libc/machine/h8300/memcpy.S: Use it.
5865 * libc/machine/h8300/memset.S: Likewise.
5866 * libc/machine/h8300/reg_memcpy.S: Likewise.
5867 * libc/machine/h8300/reg_memset.S: Likewise.
5868 * libc/machine/h8300/setjmp.S: Likewise.
5869 * libc/machine/h8300/strcmp.S: Likewise.
5871 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
5873 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
5876 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5878 * configure.host (iq2000): Add tabs.
5880 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5882 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
5883 to handle latest on_exit change.
5884 * libc/sys/linux/Makefile.am: Remove special compilation
5885 for malloc.c and mcheck.c.
5886 * libc/sys/linux/Makefile.in: Regenerated.
5887 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
5888 after including <features.h>.
5889 * libc/sys/linux/mcheck.c: Ditto.
5890 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
5892 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
5893 add -DNOT_IN_libc to C flags.
5894 * libc/sys/linux/intl/Makefile.in: Regenerated.
5895 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
5896 * libc/sys/linux/linuxthreads/semaphore.h: Include
5897 <bits/pthreadtypes.h>.
5898 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
5899 including <features.h>.
5900 * libc/sys/linux/sys/lock.h: Ditto.
5902 2003-06-11 Nick Clifton <nickc@redhat.com>
5904 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
5907 2003-06-10 Stan Cox <scox@redhat.com>
5908 Anthony Green <green@redhat.com>
5910 * configure.host: Add iq2000 support.
5911 * newlib/libc/include/machine/ieeefp.h: Ditto.
5912 * newlib/libc/include/machine/setjmp.h: Ditto.
5913 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
5914 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
5915 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
5916 libc/machine/iq2000/Makefile.in: New files.
5918 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
5920 * libc/sys/h8300hms/setarch.h: New file.
5921 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
5922 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
5923 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
5924 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
5926 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
5928 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
5930 * libc/argz/argz_add_sep.c: Ditto.
5931 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
5932 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
5933 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
5934 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
5935 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
5936 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
5937 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
5938 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
5939 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
5940 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
5941 * libc/posix/execl.c libc/posix/execle.c: Ditto.
5942 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
5943 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
5944 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
5945 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
5946 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
5947 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
5948 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
5949 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
5950 * libc/search/twalk.c libc/signal/signal.c: Ditto.
5952 2003-06-05 Nick Clifton <nickc@redhat.com>
5954 * libc/include/sys/reent.h (struct _on_exit_args): New
5955 structure containing fields used by the on_exit() function.
5956 (struct _atexit): Include struct _on_exit_args. For
5957 _REENT_SMALL do his via a pointer that is initialised when
5959 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
5960 structure, if one has been allocated.
5961 * libc/stdlib/atexit.c (atexit): Update indirection to
5963 * libc/stdlib/on_exit.c (on_exit): Indirect via the
5964 _on_exit_args structure. For _REENT_SMALL, allocate a
5965 structure if one does not exist.
5966 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
5969 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
5971 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
5972 * libc/sys/linux/net/Makefile.in: Regenerated.
5974 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
5976 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
5977 * libc/reent/fcntlr.c: Ditto.
5978 * libc/reent/fstat64r.c: Ditto.
5979 * libc/reent/linkr.c: Ditto.
5980 * libc/reent/lseek64r.c: Ditto.
5981 * libc/reent/lseekr.c: Ditto.
5982 * libc/reent/openr.c: Ditto.
5983 * libc/reent/readr.c: Ditto.
5984 * libc/reent/reent.c: Ditto.
5985 * libc/reent/sbrkr.c: Ditto.
5986 * libc/reent/signalr.c: Ditto.
5987 * libc/reent/signgam.c: Ditto.
5988 * libc/reent/statr.c: Ditto.
5989 * libc/reent/timer.c: Ditto.
5990 * libc/reent/unlinkr.c: Ditto.
5991 * libc/reent/writer.c: Ditto.
5992 * libc/syscalls/sysclose.c: Ditto.
5993 * libc/syscalls/sysexecve.c: Ditto.
5994 * libc/syscalls/sysfcntl.c: Ditto.
5995 * libc/syscalls/sysfork.c: Ditto.
5996 * libc/syscalls/sysfstat.c: Ditto.
5997 * libc/syscalls/sysgetpid.c: Ditto.
5998 * libc/syscalls/sysgettod.c: Ditto.
5999 * libc/syscalls/syskill.c: Ditto.
6000 * libc/syscalls/syslink.c: Ditto.
6001 * libc/syscalls/syslseek.c: Ditto.
6002 * libc/syscalls/sysopen.c: Ditto.
6003 * libc/syscalls/sysread.c: Ditto.
6004 * libc/syscalls/syssbrk.c: Ditto.
6005 * libc/syscalls/sysstat.c: Ditto.
6006 * libc/syscalls/systimes.c: Ditto.
6007 * libc/syscalls/sysunlink.c: Ditto.
6008 * libc/syscalls/syswait.c: Ditto.
6009 * libc/syscalls/syswrite.c: Ditto.
6011 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6013 * libc/time/tzset_r.c: Change local variables that are
6014 set via sscanf using the %h format specifier to be unsigned short
6017 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6019 * configure.host: Allow i[34567]86 variant.
6020 * configure.in: Likewise.
6021 * README: Likewise to the docs.
6022 * configure: Regenerated.
6023 * Makefile.in: Ditto.
6025 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6026 Tom Fitzsimmons <fitzsim@redhat.com>
6028 * configure.in: Add iconvdata support for x86 linux.
6029 * configure: Regenerated.
6030 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
6031 library, iconv, and linuxthreads support.
6032 * libc/sys/linux/configure.in: Ditto.
6033 * libc/sys/linux/Makefile.in: Regenerated.
6034 * libc/sys/linux/configure: Ditto.
6035 * iconvdata/EUC-JP.irreversible: New file.
6036 * iconvdata/Makefile.am: Ditto.
6037 * iconvdata/Makefile.in: Ditto.
6038 * iconvdata/SJIS.irreversible: Ditto.
6039 * iconvdata/aclocal.m4: Ditto.
6040 * iconvdata/configure: Ditto.
6041 * iconvdata/configure.in: Ditto.
6042 * iconvdata/dummy.c: Ditto.
6043 * iconvdata/euc-jp.c: Ditto.
6044 * iconvdata/gconv-modules: Ditto.
6045 * iconvdata/jis0201.c: Ditto.
6046 * iconvdata/jis0201.h: Ditto.
6047 * iconvdata/jis0208.c: Ditto.
6048 * iconvdata/jis0208.h: Ditto.
6049 * iconvdata/jis0212.c: Ditto.
6050 * iconvdata/jis0212.h: Ditto.
6051 * iconvdata/sjis.c: Ditto.
6052 * libc/include/errno.h: Protect definition of error_t.
6053 * libc/sys/linux/gethostid.c: New file.
6054 * libc/sys/linux/sethostid.c: Ditto.
6055 * libc/sys/linux/dl/Makefile.am: Ditto.
6056 * libc/sys/linux/dl/Makefile.in: Ditto.
6057 * libc/sys/linux/dl/abi-tag.h: Ditto.
6058 * libc/sys/linux/dl/atomicity.h: Ditto.
6059 * libc/sys/linux/dl/dl-addr.c: Ditto.
6060 * libc/sys/linux/dl/dl-cache.c: Ditto.
6061 * libc/sys/linux/dl/dl-cache.h: Ditto.
6062 * libc/sys/linux/dl/dl-close.c: Ditto.
6063 * libc/sys/linux/dl/dl-debug.c: Ditto.
6064 * libc/sys/linux/dl/dl-deps.c: Ditto.
6065 * libc/sys/linux/dl/dl-dst.h: Ditto.
6066 * libc/sys/linux/dl/dl-error.c: Ditto.
6067 * libc/sys/linux/dl/dl-fini.c: Ditto.
6068 * libc/sys/linux/dl/dl-init.c: Ditto.
6069 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6070 * libc/sys/linux/dl/dl-libc.c: Ditto.
6071 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6072 * libc/sys/linux/dl/dl-load.c: Ditto.
6073 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6074 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6075 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6076 * libc/sys/linux/dl/dl-misc.c: Ditto.
6077 * libc/sys/linux/dl/dl-object.c: Ditto.
6078 * libc/sys/linux/dl/dl-open.c: Ditto.
6079 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6080 * libc/sys/linux/dl/dl-profile.c: Ditto.
6081 * libc/sys/linux/dl/dl-profstub.c: Ditto.
6082 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6083 * libc/sys/linux/dl/dl-runtime.c: Ditto.
6084 * libc/sys/linux/dl/dl-support.c: Ditto.
6085 * libc/sys/linux/dl/dl-sym.c: Ditto.
6086 * libc/sys/linux/dl/dl-version.c: Ditto.
6087 * libc/sys/linux/dl/dlfcn.h: Ditto.
6088 * libc/sys/linux/dl/do-lookup.h: Ditto.
6089 * libc/sys/linux/dl/do-rel.h: Ditto.
6090 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6091 * libc/sys/linux/dl/kernel-features.h: Ditto.
6092 * libc/sys/linux/dl/ldsodefs.h: Ditto.
6093 * libc/sys/linux/dl/libintl.h: Ditto.
6094 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
6095 * libc/sys/linux/dl/unsecvars.h: Ditto.
6096 * libc/sys/linux/iconv/Makefile.am: Ditto.
6097 * libc/sys/linux/iconv/Makefile.in: Ditto.
6098 * libc/sys/linux/iconv/categories.def: Ditto.
6099 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
6100 * libc/sys/linux/iconv/gconv.c: Ditto.
6101 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
6102 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
6103 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
6104 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
6105 * libc/sys/linux/iconv/gconv_close.c: Ditto.
6106 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
6107 * libc/sys/linux/iconv/gconv_db.c: Ditto.
6108 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
6109 * libc/sys/linux/iconv/gconv_int.h: Ditto.
6110 * libc/sys/linux/iconv/gconv_open.c: Ditto.
6111 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6112 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
6113 * libc/sys/linux/iconv/hash-string.h: Ditto.
6114 * libc/sys/linux/iconv/iconv.c: Ditto.
6115 * libc/sys/linux/iconv/iconv.h: Ditto.
6116 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
6117 * libc/sys/linux/iconv/iconv_close.c: Ditto.
6118 * libc/sys/linux/iconv/iconv_open.c: Ditto.
6119 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
6120 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
6121 * libc/sys/linux/iconv/loadinfo.h: Ditto.
6122 * libc/sys/linux/iconv/localeinfo.h: Ditto.
6123 * libc/sys/linux/iconv/loop.c: Ditto.
6124 * libc/sys/linux/iconv/skeleton.c: Ditto.
6125 * libc/sys/linux/iconv/strtab.c: Ditto.
6126 * libc/sys/linux/include/dl-hash.h: Ditto.
6127 * libc/sys/linux/include/dlfcn.h: Ditto.
6128 * libc/sys/linux/include/fnmatch.h: Ditto.
6129 * libc/sys/linux/include/gconv.h: Ditto.
6130 * libc/sys/linux/include/glob.h: Ditto.
6131 * libc/sys/linux/include/hesiod.h: Ditto.
6132 * libc/sys/linux/include/ifaddrs.h: Ditto.
6133 * libc/sys/linux/include/libc_private.h: Ditto.
6134 * libc/sys/linux/include/link.h: Ditto.
6135 * libc/sys/linux/include/namespace.h: Ditto.
6136 * libc/sys/linux/include/netconfig.h: Ditto.
6137 * libc/sys/linux/include/netdb.h: Ditto.
6138 * libc/sys/linux/include/nsswitch.h: Ditto.
6139 * libc/sys/linux/include/regex.h: Ditto.
6140 * libc/sys/linux/include/resolv.h: Ditto.
6141 * libc/sys/linux/include/rune.h: Ditto.
6142 * libc/sys/linux/include/runetype.h: Ditto.
6143 * libc/sys/linux/include/semaphore.h: Ditto.
6144 * libc/sys/linux/include/setlocale.h: Ditto.
6145 * libc/sys/linux/include/un-namespace.h: Ditto.
6146 * libc/sys/linux/include/wordexp.h: Ditto.
6147 * libc/sys/linux/include/arpa/ftp.h: Ditto.
6148 * libc/sys/linux/include/arpa/inet.h: Ditto.
6149 * libc/sys/linux/include/arpa/nameser.h: Ditto.
6150 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
6151 * libc/sys/linux/include/arpa/telnet.h: Ditto.
6152 * libc/sys/linux/include/arpa/tftp.h: Ditto.
6153 * libc/sys/linux/include/net/bpf.h: Ditto.
6154 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
6155 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
6156 * libc/sys/linux/include/net/bridge.h: Ditto.
6157 * libc/sys/linux/include/net/ethernet.h: Ditto.
6158 * libc/sys/linux/include/net/fddi.h: Ditto.
6159 * libc/sys/linux/include/net/if.h: Ditto.
6160 * libc/sys/linux/include/net/if_arc.h: Ditto.
6161 * libc/sys/linux/include/net/if_arp.h: Ditto.
6162 * libc/sys/linux/include/net/if_atm.h: Ditto.
6163 * libc/sys/linux/include/net/if_dl.h: Ditto.
6164 * libc/sys/linux/include/net/if_gif.h: Ditto.
6165 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
6166 * libc/sys/linux/include/net/if_llc.h: Ditto.
6167 * libc/sys/linux/include/net/if_media.h: Ditto.
6168 * libc/sys/linux/include/net/if_mib.h: Ditto.
6169 * libc/sys/linux/include/net/if_ppp.h: Ditto.
6170 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
6171 * libc/sys/linux/include/net/if_slvar.h: Ditto.
6172 * libc/sys/linux/include/net/if_sppp.h: Ditto.
6173 * libc/sys/linux/include/net/if_stf.h: Ditto.
6174 * libc/sys/linux/include/net/if_tap.h: Ditto.
6175 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
6176 * libc/sys/linux/include/net/if_tun.h: Ditto.
6177 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
6178 * libc/sys/linux/include/net/if_types.h: Ditto.
6179 * libc/sys/linux/include/net/if_var.h: Ditto.
6180 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
6181 * libc/sys/linux/include/net/intrq.h: Ditto.
6182 * libc/sys/linux/include/net/iso88025.h: Ditto.
6183 * libc/sys/linux/include/net/net_osdep.h: Ditto.
6184 * libc/sys/linux/include/net/netisr.h: Ditto.
6185 * libc/sys/linux/include/net/pfil.h: Ditto.
6186 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
6187 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
6188 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
6189 * libc/sys/linux/include/net/radix.h: Ditto.
6190 * libc/sys/linux/include/net/raw_cb.h: Ditto.
6191 * libc/sys/linux/include/net/route.h: Ditto.
6192 * libc/sys/linux/include/net/slcompress.h: Ditto.
6193 * libc/sys/linux/include/net/slip.h: Ditto.
6194 * libc/sys/linux/include/net/zlib.h: Ditto.
6195 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
6196 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
6197 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
6198 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
6199 * libc/sys/linux/include/netinet/igmp.h: Ditto.
6200 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
6201 * libc/sys/linux/include/netinet/in.h: Ditto.
6202 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
6203 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
6204 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
6205 * libc/sys/linux/include/netinet/in_var.h: Ditto.
6206 * libc/sys/linux/include/netinet/ip.h: Ditto.
6207 * libc/sys/linux/include/netinet/ip6.h: Ditto.
6208 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
6209 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
6210 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
6211 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
6212 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
6213 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
6214 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
6215 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
6216 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
6217 * libc/sys/linux/include/netinet/tcp.h: Ditto.
6218 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
6219 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
6220 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
6221 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
6222 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
6223 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
6224 * libc/sys/linux/include/netinet/udp.h: Ditto.
6225 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
6226 * libc/sys/linux/include/netinet6/ah.h: Ditto.
6227 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
6228 * libc/sys/linux/include/netinet6/esp.h: Ditto.
6229 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
6230 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
6231 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
6232 * libc/sys/linux/include/netinet6/in6.h: Ditto.
6233 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
6234 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
6235 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
6236 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
6237 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
6238 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
6239 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
6240 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
6241 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
6242 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
6243 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
6244 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
6245 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
6246 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
6247 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
6248 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
6249 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
6250 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
6251 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
6252 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
6253 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
6254 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
6255 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
6256 * libc/sys/linux/include/netns/idp.h: Ditto.
6257 * libc/sys/linux/include/netns/idp_var.h: Ditto.
6258 * libc/sys/linux/include/netns/ns.h: Ditto.
6259 * libc/sys/linux/include/netns/ns_error.h: Ditto.
6260 * libc/sys/linux/include/netns/ns_if.h: Ditto.
6261 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
6262 * libc/sys/linux/include/netns/sp.h: Ditto.
6263 * libc/sys/linux/include/netns/spidp.h: Ditto.
6264 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
6265 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
6266 * libc/sys/linux/include/netns/spp_var.h: Ditto.
6267 * libc/sys/linux/include/rpc/Makefile: Ditto.
6268 * libc/sys/linux/include/rpc/auth.h: Ditto.
6269 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
6270 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
6271 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
6272 * libc/sys/linux/include/rpc/clnt.h: Ditto.
6273 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
6274 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
6275 * libc/sys/linux/include/rpc/des.h: Ditto.
6276 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
6277 * libc/sys/linux/include/rpc/nettype.h: Ditto.
6278 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
6279 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
6280 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
6281 * libc/sys/linux/include/rpc/raw.h: Ditto.
6282 * libc/sys/linux/include/rpc/rpc.h: Ditto.
6283 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
6284 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
6285 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
6286 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
6287 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
6288 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
6289 * libc/sys/linux/include/rpc/svc.h: Ditto.
6290 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
6291 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
6292 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
6293 * libc/sys/linux/include/rpc/types.h: Ditto.
6294 * libc/sys/linux/include/rpc/xdr.h: Ditto.
6295 * libc/sys/linux/intl/Makefile.am: Ditto.
6296 * libc/sys/linux/intl/Makefile.in: Ditto.
6297 * libc/sys/linux/intl/bindtextdom.c: Ditto.
6298 * libc/sys/linux/intl/catgets.c: Ditto.
6299 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
6300 * libc/sys/linux/intl/config.h: Ditto.
6301 * libc/sys/linux/intl/dcgettext.c: Ditto.
6302 * libc/sys/linux/intl/dcigettext.c: Ditto.
6303 * libc/sys/linux/intl/dcngettext.c: Ditto.
6304 * libc/sys/linux/intl/dgettext.c: Ditto.
6305 * libc/sys/linux/intl/dngettext.c: Ditto.
6306 * libc/sys/linux/intl/explodename.c: Ditto.
6307 * libc/sys/linux/intl/finddomain.c: Ditto.
6308 * libc/sys/linux/intl/gettext.c: Ditto.
6309 * libc/sys/linux/intl/gettext.h: Ditto.
6310 * libc/sys/linux/intl/gettextP.h: Ditto.
6311 * libc/sys/linux/intl/hash-string.h: Ditto.
6312 * libc/sys/linux/intl/l10nflist.c: Ditto.
6313 * libc/sys/linux/intl/loadinfo.h: Ditto.
6314 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
6315 * libc/sys/linux/intl/locale.alias: Ditto.
6316 * libc/sys/linux/intl/localealias.c: Ditto.
6317 * libc/sys/linux/intl/ngettext.c: Ditto.
6318 * libc/sys/linux/intl/open_catalog.c: Ditto.
6319 * libc/sys/linux/intl/plural.c: Ditto.
6320 * libc/sys/linux/intl/plural.y: Ditto.
6321 * libc/sys/linux/intl/stpcpy.c: Ditto.
6322 * libc/sys/linux/intl/textdomain.c: Ditto.
6323 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
6324 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6325 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
6326 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
6327 * libc/sys/linux/linuxthreads/attr.c: Ditto.
6328 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
6329 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
6330 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
6331 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
6332 * libc/sys/linux/linuxthreads/config.h: Ditto.
6333 * libc/sys/linux/linuxthreads/configure: Ditto.
6334 * libc/sys/linux/linuxthreads/configure.in: Ditto.
6335 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
6336 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
6337 * libc/sys/linux/linuxthreads/events.c: Ditto.
6338 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
6339 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
6340 * libc/sys/linux/linuxthreads/internals.h: Ditto.
6341 * libc/sys/linux/linuxthreads/join.c: Ditto.
6342 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
6343 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
6344 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
6345 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
6346 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
6347 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
6348 * libc/sys/linux/linuxthreads/manager.c: Ditto.
6349 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
6350 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
6351 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
6352 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
6353 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
6354 * libc/sys/linux/linuxthreads/prio.c: Ditto.
6355 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
6356 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
6357 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
6358 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
6359 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
6360 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
6361 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
6362 * libc/sys/linux/linuxthreads/queue.h: Ditto.
6363 * libc/sys/linux/linuxthreads/reent.c: Ditto.
6364 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
6365 * libc/sys/linux/linuxthreads/restart.h: Ditto.
6366 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
6367 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
6368 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
6369 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
6370 * libc/sys/linux/linuxthreads/signals.c: Ditto.
6371 * libc/sys/linux/linuxthreads/specific.c: Ditto.
6372 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
6373 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
6374 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
6375 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
6376 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6377 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
6378 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6379 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6380 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6381 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6382 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6383 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6384 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6385 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6386 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6387 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6388 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6389 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6390 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6391 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6392 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6393 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6394 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6395 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6396 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6397 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6398 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6399 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6400 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6401 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6402 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6403 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6404 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6405 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6406 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6407 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6408 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6409 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6410 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6411 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6412 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6413 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6414 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6415 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6416 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6417 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6418 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6419 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6420 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6421 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6422 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6423 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6424 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6425 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6426 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6427 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6428 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6429 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6430 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6431 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6432 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6433 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6434 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6435 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6436 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6437 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6438 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6439 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6440 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6441 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6442 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6443 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6444 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6445 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6446 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6447 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6448 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6449 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6450 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6451 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6452 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6453 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6454 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6455 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6456 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6457 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6458 * libc/sys/linux/net/Makefile.am: Ditto.
6459 * libc/sys/linux/net/Makefile.in: Ditto.
6460 * libc/sys/linux/net/addr2ascii.3: Ditto.
6461 * libc/sys/linux/net/addr2ascii.c: Ditto.
6462 * libc/sys/linux/net/ascii2addr.c: Ditto.
6463 * libc/sys/linux/net/base64.c: Ditto.
6464 * libc/sys/linux/net/bindresvport.c: Ditto.
6465 * libc/sys/linux/net/byteorder.3: Ditto.
6466 * libc/sys/linux/net/ether_addr.c: Ditto.
6467 * libc/sys/linux/net/ethers.3: Ditto.
6468 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6469 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6470 * libc/sys/linux/net/gethostbydns.c: Ditto.
6471 * libc/sys/linux/net/gethostbyht.c: Ditto.
6472 * libc/sys/linux/net/gethostbyname.3: Ditto.
6473 * libc/sys/linux/net/gethostbynis.c: Ditto.
6474 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6475 * libc/sys/linux/net/getifaddrs.3: Ditto.
6476 * libc/sys/linux/net/getifaddrs.c: Ditto.
6477 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6478 * libc/sys/linux/net/getnameinfo.3: Ditto.
6479 * libc/sys/linux/net/getnameinfo.c: Ditto.
6480 * libc/sys/linux/net/getnetbydns.c: Ditto.
6481 * libc/sys/linux/net/getnetbyht.c: Ditto.
6482 * libc/sys/linux/net/getnetbynis.c: Ditto.
6483 * libc/sys/linux/net/getnetent.3: Ditto.
6484 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6485 * libc/sys/linux/net/getproto.c: Ditto.
6486 * libc/sys/linux/net/getprotoent.3: Ditto.
6487 * libc/sys/linux/net/getprotoent.c: Ditto.
6488 * libc/sys/linux/net/getprotoname.c: Ditto.
6489 * libc/sys/linux/net/getservbyname.c: Ditto.
6490 * libc/sys/linux/net/getservbyport.c: Ditto.
6491 * libc/sys/linux/net/getservent.3: Ditto.
6492 * libc/sys/linux/net/getservent.c: Ditto.
6493 * libc/sys/linux/net/herror.c: Ditto.
6494 * libc/sys/linux/net/hesiod.3: Ditto.
6495 * libc/sys/linux/net/hesiod.c: Ditto.
6496 * libc/sys/linux/net/if_indextoname.3: Ditto.
6497 * libc/sys/linux/net/ifname.c: Ditto.
6498 * libc/sys/linux/net/inet.3: Ditto.
6499 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6500 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6501 * libc/sys/linux/net/inet_addr.c: Ditto.
6502 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6503 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6504 * libc/sys/linux/net/inet_net.3: Ditto.
6505 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6506 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6507 * libc/sys/linux/net/inet_neta.c: Ditto.
6508 * libc/sys/linux/net/inet_netof.c: Ditto.
6509 * libc/sys/linux/net/inet_network.c: Ditto.
6510 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6511 * libc/sys/linux/net/inet_ntop.c: Ditto.
6512 * libc/sys/linux/net/inet_pton.c: Ditto.
6513 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6514 * libc/sys/linux/net/ip6opt.c: Ditto.
6515 * libc/sys/linux/net/iso_addr.3: Ditto.
6516 * libc/sys/linux/net/iso_addr.c: Ditto.
6517 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6518 * libc/sys/linux/net/linkaddr.3: Ditto.
6519 * libc/sys/linux/net/linkaddr.c: Ditto.
6520 * libc/sys/linux/net/map_v4v6.c: Ditto.
6521 * libc/sys/linux/net/name6.c: Ditto.
6522 * libc/sys/linux/net/namespace.h: Ditto.
6523 * libc/sys/linux/net/ns.3: Ditto.
6524 * libc/sys/linux/net/ns_addr.c: Ditto.
6525 * libc/sys/linux/net/ns_name.c: Ditto.
6526 * libc/sys/linux/net/ns_netint.c: Ditto.
6527 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6528 * libc/sys/linux/net/ns_parse.c: Ditto.
6529 * libc/sys/linux/net/ns_print.c: Ditto.
6530 * libc/sys/linux/net/ns_ttl.c: Ditto.
6531 * libc/sys/linux/net/nsap_addr.c: Ditto.
6532 * libc/sys/linux/net/nsdispatch.3: Ditto.
6533 * libc/sys/linux/net/nsdispatch.c: Ditto.
6534 * libc/sys/linux/net/nslexer.c: Ditto.
6535 * libc/sys/linux/net/nslexer.l: Ditto.
6536 * libc/sys/linux/net/nsparser.c: Ditto.
6537 * libc/sys/linux/net/nsparser.h: Ditto.
6538 * libc/sys/linux/net/nsparser.y: Ditto.
6539 * libc/sys/linux/net/rcmd.3: Ditto.
6540 * libc/sys/linux/net/rcmd.c: Ditto.
6541 * libc/sys/linux/net/rcmdsh.3: Ditto.
6542 * libc/sys/linux/net/rcmdsh.c: Ditto.
6543 * libc/sys/linux/net/recv.c: Ditto.
6544 * libc/sys/linux/net/res_comp.c: Ditto.
6545 * libc/sys/linux/net/res_config.h: Ditto.
6546 * libc/sys/linux/net/res_data.c: Ditto.
6547 * libc/sys/linux/net/res_debug.c: Ditto.
6548 * libc/sys/linux/net/res_init.c: Ditto.
6549 * libc/sys/linux/net/res_mkquery.c: Ditto.
6550 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6551 * libc/sys/linux/net/res_query.c: Ditto.
6552 * libc/sys/linux/net/res_send.c: Ditto.
6553 * libc/sys/linux/net/res_update.c: Ditto.
6554 * libc/sys/linux/net/resolver.3: Ditto.
6555 * libc/sys/linux/net/rthdr.c: Ditto.
6556 * libc/sys/linux/net/send.c: Ditto.
6557 * libc/sys/linux/net/un-namespace.h: Ditto.
6558 * libc/sys/linux/net/vars.c: Ditto.
6559 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6560 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6561 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6562 * libc/sys/linux/stdlib/cclass.h: Ditto.
6563 * libc/sys/linux/stdlib/cname.h: Ditto.
6564 * libc/sys/linux/stdlib/collate.c: Ditto.
6565 * libc/sys/linux/stdlib/collate.h: Ditto.
6566 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6567 * libc/sys/linux/stdlib/engine.c: Ditto.
6568 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6569 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6570 * libc/sys/linux/stdlib/glob.3: Ditto.
6571 * libc/sys/linux/stdlib/glob.c: Ditto.
6572 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6573 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6574 * libc/sys/linux/stdlib/regerror.c: Ditto.
6575 * libc/sys/linux/stdlib/regex.3: Ditto.
6576 * libc/sys/linux/stdlib/regex2.h: Ditto.
6577 * libc/sys/linux/stdlib/regexec.c: Ditto.
6578 * libc/sys/linux/stdlib/regfree.c: Ditto.
6579 * libc/sys/linux/stdlib/utils.h: Ditto.
6580 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6581 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6582 * libc/sys/linux/sys/dlfcn.h: Ditto.
6583 * libc/sys/linux/sys/elfclass.h: Ditto.
6584 * libc/sys/linux/sys/event.h: Ditto.
6585 * libc/sys/linux/sys/ioccom.h: Ditto.
6586 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6587 * libc/sys/linux/sys/link.h: Ditto.
6588 * libc/sys/linux/sys/lock.h: Ditto.
6589 * libc/sys/linux/sys/param.h: Ditto.
6590 * libc/sys/linux/sys/socket.h: Ditto.
6591 * libc/sys/linux/sys/sockio.h: Ditto.
6593 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
6595 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
6597 * newlib/libc/machine/h8300/memset.S: Likewise
6598 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6599 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6600 * newlib/lib/machine/h8300/setjmp.S: Likewise
6601 * newlib/lib/machine/h8300/strcmp.S: Likewise
6602 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6604 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6606 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6607 * libc/include/stdio.h: Ditto.
6608 * libc/include/sys/config.h: Ditto.
6609 * libc/stdio/mktemp.c: Ditto.
6611 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6613 * libc/locale/ldpart.c (__part_load_locale): Substitute
6614 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6615 * libc/search/hash.c (__hash_open): Ditto.
6617 * libc/stdio/fseek.c (fseek): Ditto.
6618 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6619 * libc/stdio/mktemp.c (_gettemp): Ditto.
6621 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6623 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6625 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6627 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6628 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6629 if __CYGWIN_USE_BIG_TYPES__ is set.
6630 * libc/search/hash.c (__hash_open): Ditto.
6632 * libc/stdio/fseek.c (fseek): Ditto.
6633 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6634 * libc/stdio/mktemp.c (_gettemp): Ditto.
6635 * libc/sys/cygwin/Makefile.am: Remove.
6636 * libc/sys/cygwin/Makefile.in: Remove.
6637 * libc/sys/cygwin/aclocal.m4: Remove.
6638 * libc/sys/cygwin/configure: Remove.
6639 * libc/sys/cygwin/configure.in: Remove.
6640 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6641 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6643 * libc/sys/cygwin/sys/param.h: Ditto.
6644 * libc/sys/cygwin/sys/utime.h: Ditto.
6645 * libc/sys/cygwin/sys/utmp.h: Ditto.
6647 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
6649 * libc/include/sys/types.h: Don't define key_t for Cygwin.
6651 2003-05-10 Christopher Faylor <cgf@redhat.com>
6653 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
6656 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
6658 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
6659 Include cygwin/config.h instead.
6661 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
6663 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
6664 all code with #ifdef __SPE__ test.
6665 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
6667 2003-04-15 Chris January <chris@atomice.net>
6669 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
6672 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
6674 * libc/machine/sh/memset.S: Avoid clobbering volatile
6675 objects following a tiny to-be-set array in the same quadword.
6677 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
6679 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
6680 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
6681 * libc/string/Makefile.in: Regenerated.
6682 * libc/string/wcswidth.c: New file.
6683 * libc/string/wcwidth.c: New file.
6684 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6686 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6688 * libc/machine/sh/memset.S: Fix problem with alloco region
6689 exceeding destination region for length >= 88 bytes, start
6690 & 0x16 == 0, end & 0x1f == 18.
6692 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
6694 * libc/string/wcscoll.c: Fix comment.
6696 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
6698 * libc/include/wchar.h: Add definition for wcscoll.
6699 * libc/string/Makefile.am: Add wcscoll.c.
6700 * libc/string/Makefile.in: Regenerated.
6701 * libc/string/wcscoll.c: New file.
6702 * libc/string/wcstrings.tex: Add wcscoll.
6704 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6706 * libc/stdio/sscanf.c: Update flags description.
6707 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
6709 (__svfscanf_r): Add 'hh' and 'll' handling.
6711 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6713 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
6714 __d_position member to _off_t.
6716 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
6718 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
6719 count all characters used to create number against maximum width.
6720 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6722 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6724 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
6726 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
6727 flag to support simulator only extensions.
6729 2003-03-17 Bob Cassels <bcassels@abinitio.com>
6731 * libc/string/wcschr.c: (wcschr): Look for character first,
6732 then for end of string, so you can do wcschr(x, '\0').
6734 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
6736 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
6737 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
6738 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
6739 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
6740 * libc/stdio/fseeko.c (fseeko): Ditto.
6741 * libc/stdio/ftello.c (ftello): Ditto.
6742 * libc/stdio/stdio.c (__swrite): Ditto.
6744 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
6745 * libc/stdio/fseek.c (fseek): Ditto.
6746 * libc/stdio/fsetpos.c (fsetpos): Ditto.
6747 * libc/stdio/ftell.c (ftell): Ditto.
6748 * libc/stdio/local.h: Declare __sseek using _off_t.
6750 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6752 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
6754 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6756 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
6759 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6761 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
6763 * libc/include/sys/stat.h: Ditto.
6764 * libc/include/sys/unistd.h: Ditto.
6765 * libc/sys/cygwin/sys/dirent.h: Ditto.
6767 2003-03-07 Christopher Faylor <cgf@redhat.com>
6769 * libc/include/sys/unistd.h: Guard getopt.h call to force only
6770 declaration of getopt and avoid getopt_long declaration.
6771 * libc/sys/cygwin/include/unistd.h: Remove.
6773 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
6775 * configure.host: Define stdio64_dir for Cygwin.
6776 * libc/include/stdio.h: Change definition of fpos_t to fulfill
6777 Cygwin 64bit file access requirements.
6778 Drop definition of f*64() functions when compiled for Cygwin.
6779 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
6780 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
6781 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
6783 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
6785 * libc/include/sys/reent.h: Remove extraneous _sig_func
6788 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6790 * libc/sys/h8300hms/Makefile.am: Add support for new files.
6791 * libc/sys/h8300hms/Makefile.in: Regenerated.
6792 * libc/sys/h8300hms/close.S: New file.
6793 * libc/sys/h8300hms/fstat.S: Ditto.
6794 * libc/sys/h8300hms/lseek.S: Ditto.
6795 * libc/sys/h8300hms/open.S: Ditto.
6796 * libc/sys/h8300hms/stat.S: Ditto.
6797 * libc/sys/h8300hms/read.S: New file to replace read.c.
6798 * libc/sys/h8300hms/read.c: Removed.
6799 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
6800 _lseek, _close, _stat, _fstat.
6801 * libc/sys/h8300hms/write.S: New file to replace write.c.
6802 * libc/sys/h8300hms/write.c: Removed.
6804 2003-02-20 Nick Clifton <nickc@redhat.com>
6806 * Add support for Cirrus Maverick ARM co-processor:
6808 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
6810 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
6811 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
6813 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
6815 * configure.host: set sys_dir, syscall_dir, and
6816 newlib_cflags for ep9312 host.
6818 * configure.host: Restore alpha sorting of entries in case
6821 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
6823 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
6825 2003-02-18 Christian Groessler <chris@groessler.org>
6827 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
6828 support z8001 segmented mode.
6830 2003-02-18 Earnie Boyd <earnie@users.sf.net>
6832 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
6835 2003-02-10 Christopher Faylor <cgf@redhat.com>
6837 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
6838 Don't define some types under cygwin.
6840 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
6842 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
6843 option to allow disabling of syscalls being supplied in newlib.
6844 * aclocal.m4: Regenerated.
6846 * configure.host: Add support of new configuration option and add
6847 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
6848 * doc/aclocal.m4: Regenerated.
6849 * doc/configure: Ditto.
6850 * libc/*aclocal.m4: Ditto.
6851 * libc/*configure: Ditto.
6852 * libm/*aclocal.m4: Ditto.
6853 * libm/*configure: Ditto.
6854 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
6856 * libc/sys/arm/Makefile.in: Regenerated.
6858 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
6860 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
6861 -1 to be sure it cannot later match a valid file fd causing
6862 isatty() to return 1.
6863 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
6864 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
6865 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
6867 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
6869 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
6870 buffer based on the precision, after we have processed the input value
6871 in a local buffer and know its relative magnitude.
6873 2003-01-31 Michael Snyder <msnyder@redhat.com>
6875 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
6876 into registers r1 and r2, so that the simulator can distinguish
6877 this trap from a breakpoint trap. Copied from libgloss.
6879 2003-01-31 Michael Snyder <msnyder@redhat.com>
6881 * libc/sys/h8300hms/crt0.S (_start): Change local label
6882 from .loop to .Loop, so that ld and gdb will ignore it.
6884 2003-01-29 Jason Tishler <jason@tishler.net>
6886 * libc/include/time.h: Declare nanosleep() under Cygwin.
6888 2003-01-24 Nick Clifton <nickc@redhat.com>
6892 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
6894 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
6895 * libc/machine/sh/setjmp.S: Likewise.
6896 * libc/include/machine/ieeefp.h: Likewise.
6898 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
6900 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
6903 2003-01-21 Anita Kulkarni <anitak@kpit.com>
6905 * libc/time/difftime.c : Typecast the result to double.
6907 2003-01-20 Christopher Faylor <cgf@redhat.com>
6909 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
6911 2003-01-18 Nick Clifton <nickc@redhat.com>
6913 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
6914 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
6916 2003-01-16 Joel Sherrill <joel@OARcorp.com>
6918 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
6919 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
6920 constants are defined in each file in the shared versions in
6922 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
6923 autoconf can link programs.
6924 * libc/include/machine/types.h: Explicitly specify signed on
6925 intXX_t types to ensure they are signed.
6927 2003-01-14 Christopher Faylor <cgf@redhat.com>
6929 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
6932 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
6934 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
6936 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
6938 * libc/stdio/sprintf.c: fix typo
6939 * libc/stdio/vfprintf.c: fix typo
6941 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
6943 * configure.host: Support long double I/O for x86-linux.
6944 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
6945 large enough to hold formatted result.
6946 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
6948 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6950 * Makefile.am: Add vasprintf.
6951 * Makefile.in: Regenerated.
6953 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6955 * asprintf.c (_asprintf_r): insure both declarations
6958 2002-12-28 Christopher Faylor <cgf@redhat.com>
6960 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
6961 than defining getopt directly.
6963 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6965 * NEWS: Update with 1.11.0 info.
6967 * acinclude.m4: Change version number to 1.11.0.
6968 * aclocal.m4: Regenerated.
6970 * doc/aclocal.m4: Ditto.
6971 * doc/configure: Ditto.
6972 * libc/*/aclocal.m4: Ditto.
6973 * libc/*/configure: Ditto.
6974 * libc/libc.texinfo: Ditto.
6975 * libm/*/aclocal.m4: Ditto.
6976 * libm/*/configure: Ditto.
6977 * libm/libm.texinfo: Ditto.
6978 * libc/sys/linux/shared.ld: Add VERS_1.11.
6980 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6982 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
6983 Solutions to Red Hat Inc.
6984 * libc/machine/i386/f_atan2f.S: Ditto.
6985 * libc/machine/i386/f_exp.c: Ditto.
6986 * libc/machine/i386/f_expf.c: Ditto.
6987 * libc/machine/i386/f_frexp.S: Ditto.
6988 * libc/machine/i386/f_frexpf.S: Ditto.
6989 * libc/machine/i386/f_ldexp.S: Ditto.
6990 * libc/machine/i386/f_ldexpf.S: Ditto.
6991 * libc/machine/i386/f_log.S: Ditto.
6992 * libc/machine/i386/f_log10.S: Ditto.
6993 * libc/machine/i386/f_log10f.S: Ditto.
6994 * libc/machine/i386/f_logf.S: Ditto.
6995 * libc/machine/i386/f_pow.c: Ditto.
6996 * libc/machine/i386/f_powf.c: Ditto.
6997 * libc/machine/i386/f_tan.S: Ditto.
6998 * libc/machine/i386/f_tanf.S: Ditto.
6999 * libc/machine/i386/memchr.S: Ditto.
7000 * libc/machine/i386/memcmp.S: Ditto.
7001 * libc/machine/i386/memcpy.S: Ditto.
7002 * libc/machine/i386/memmove.S: Ditto.
7003 * libc/machine/i386/memset.S: Ditto.
7004 * libc/machine/i386/strchr.S: Ditto.
7005 * libc/machine/i386/strlen.S: Ditto.
7006 * libm/machine/i386/f_atan2.S: Ditto.
7007 * libm/machine/i386/f_atan2f.S: Ditto.
7008 * libm/machine/i386/f_exp.c: Ditto.
7009 * libm/machine/i386/f_expf.c: Ditto.
7010 * libm/machine/i386/f_frexp.S: Ditto.
7011 * libm/machine/i386/f_frexpf.S: Ditto.
7012 * libm/machine/i386/f_ldexp.S: Ditto.
7013 * libm/machine/i386/f_ldexpf.S: Ditto.
7014 * libm/machine/i386/f_log.S: Ditto.
7015 * libm/machine/i386/f_log10.S: Ditto.
7016 * libm/machine/i386/f_log10f.S: Ditto.
7017 * libm/machine/i386/f_logf.S: Ditto.
7018 * libm/machine/i386/f_pow.c: Ditto.
7019 * libm/machine/i386/f_powf.c: Ditto.
7020 * libm/machine/i386/f_tan.S: Ditto.
7021 * libm/machine/i386/f_tanf.S: Ditto.
7023 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7025 * libc/stdlib/environ.c: Update license to Red Hat.
7026 * libc/machine/hppa/setjmp.S: Ditto.
7027 * libm/test/Makefile.in: Ditto.
7029 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7031 * configure.host: Remove references to go32.
7032 * libc/sys/go32/*: Removed.
7034 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7036 * libc/include/sys/config.h: Change setting of INT_MAX
7037 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7038 __H8300S__. Also consolidate flag settings for these
7041 2002-12-10 Joel Sherrill <joel@OARcorp.com>
7043 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7044 for i386-rtems targets.
7046 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7048 * libc/include/stdlib.h (strtof): New prototype (from C99).
7049 (strtodf): Changed from prototype to macro which redefines
7051 * libc/stdlib/atof.c: Change documentation to refer to strtof
7053 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7055 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7056 (strtof): New function.
7057 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7060 2002-11-27 Christopher Faylor <cgf@redhat.com>
7062 * libc/string/memset.c (memset): Fix comment.
7064 2002-11-26 Christopher Faylor <cgf@redhat.com>
7066 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7069 2002-11-25 Christopher Faylor <cgf@redhat.com>
7071 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7072 variable, introduced below, everywhere.
7074 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7076 * libc/string/memset.c (memset): Make it safe even if
7079 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
7081 * configure.in: Change check for libc/include in ${CC} to
7082 use an intermediate value so as to work with different shells.
7083 * configure: Regenerated.
7084 * Makefile.in: Ditto.
7086 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
7088 * libc/sys/h8300hms/read.c: Add support for normal mode
7091 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
7093 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
7094 code for __H8300H__ and __H8300S__. Also return 32-bit return code
7095 when -mint32 is used.
7097 2002-11-18 Nick Clifton <nickc@redhat.com>
7099 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
7101 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
7103 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
7104 only issue one pass/fail message for a compile/link/execute.
7105 * testsuite/newlib.elix/elix.exp: New file.
7106 * testsuite/newlib.elix/tmmap.c: Ditto.
7108 2002-11-06 Christopher Faylor <cgf@redhat.com>
7110 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
7111 * libc/stdlib/mlock.c: Ditto.
7112 * libc/stdlib/msize.c: Ditto.
7113 * libc/stdlib/msize.c: Ditto.
7114 * libc/stdlib/mtrim.c: Ditto.
7115 * libc/stdlib/valloc.c: Ditto.
7117 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
7119 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
7120 for inf/nan, make sure that the check ignores the sign bit.
7122 2002-11-07 Joel Sherrill <joel@OARcorp.com>
7124 * libc/sys/rtems/machine: New directory.
7125 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
7126 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
7127 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
7128 targets more BSD like when installed without requiring files to
7129 be overwritten at install point when RTEMS itself is installed.
7130 * Makefile.am: Pick up system dependent machine .h files such as
7131 might be found on a BSD-ish system.
7132 * Makefile.in: Regenerate.
7133 * libc/include/machine/types.h: When on an RTEMS target, define a
7134 few BSD flavor types.
7136 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
7138 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
7140 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7142 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
7143 * libc/include/wctype.h: Ditto.
7145 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
7147 * libc/include/wchar.h: Add extern "C" specifier if C++.
7148 * libc/include/wctype.h: Ditto.
7150 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7152 * testsuite/newlib.wctype/tiswctype.c: New test case.
7153 * testsuite/newlib.wctype/twctrans.c: Ditto.
7155 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7157 * libc/sys/linux/machine/i386/include/endian.h: New file.
7158 * libc/sys/linux/machine/i386/include/param.h: Ditto.
7160 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7162 * libm/machine/i386/aclocal.m4: Regenerated.
7163 * libm/machine/i386/configure: Ditto.
7165 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7167 * testsuite/include/check.h: New header file to use with
7169 * testsuite/lib/newlib.exp: Add testsuite/include directory
7170 to list of header files to use.
7171 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
7172 * testsuite/newlib.wctype/wctype.exp: New file.
7174 2002-10-11 Graham Stott <graham.stott@btinternet.com>
7175 Richard Sandiford <rsandifo@redhat.com>
7177 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
7178 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
7179 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7181 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7183 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
7186 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7188 * libc/include/pthread.h: Define PTHREAD_CANCELED.
7190 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7192 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
7193 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
7194 compile with current GNU tools.
7196 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
7198 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
7200 * configure.in: Ditto.
7201 * Makefile.in: Regenerated.
7203 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
7204 for specifying configured libraries/directories.
7205 * libc/sys/linux/configure.in: Ditto.
7206 * libc/sys/linux/Makefile.in: Regenerated.
7207 * libc/sys/linux/configure: Ditto.
7209 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
7211 * libc/include/reent.h: Update documentation at start of file.
7213 2002-09-27 Jim Wilson <wilson@redhat.com>
7215 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
7218 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
7220 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
7221 Also convert to EUCJP before using arrays. For values not in
7222 the conversion arrays, return WEOF.
7223 * libc/ctype/jp2uc.h: Change from one array to a number of
7224 arrays to account for the fact that the originating table
7225 is not contiguous for the input values since some are invalid.
7227 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
7229 * libc/time/ctime.c: Fix prototype documentation.
7231 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
7233 * libc/include/sys/errno.h: Add EOVERFLOW.
7235 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7237 * libc/include/wctype.h: New file.
7239 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7241 * libc/ctype/Makefile.am: Add new files.
7242 * libc/ctype/Makefile.in: Regenerated.
7243 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
7244 and wctrans functions to documentation index.
7245 * libc/ctype/iswalnum.c: New file.
7246 * libc/ctype/iswalpha.c: Ditto.
7247 * libc/ctype/iswblank.c: Ditto.
7248 * libc/ctype/iswcntrl.c: Ditto.
7249 * libc/ctype/iswctype.c: Ditto.
7250 * libc/ctype/iswdigit.c: Ditto.
7251 * libc/ctype/iswgraph.c: Ditto.
7252 * libc/ctype/iswlower.c: Ditto.
7253 * libc/ctype/iswprint.c: Ditto.
7254 * libc/ctype/iswpunct.c: Ditto.
7255 * libc/ctype/iswspace.c: Ditto.
7256 * libc/ctype/iswupper.c: Ditto.
7257 * libc/ctype/iswxdigit.c: Ditto.
7258 * libc/ctype/jp2uc.c: Ditto.
7259 * libc/ctype/jp2uc.h: Ditto.
7260 * libc/ctype/local.h: Ditto.
7261 * libc/ctype/towctrans.c: Ditto.
7262 * libc/ctype/towlower.c: Ditto.
7263 * libc/ctype/towupper.c: Ditto.
7264 * libc/ctype/utf8alpha.h: Ditto.
7265 * libc/ctype/utf8print.h: Ditto.
7266 * libc/ctype/utf8punct.h: Ditto.
7267 * libc/ctype/wctrans.c: Ditto.
7268 * libc/ctype/wctype.c: Ditto.
7269 * libc/locale/locale.c (__lc_ctype): New external array to
7270 replace static lc_ctype array.
7271 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
7272 rather than reentrancy structure's _current_locale field.
7273 * libc/stdlib/wctomb_r.c: Ditto.
7275 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7277 * configure.host: Minor comment and formatting changes.
7278 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
7279 * libc/Makefile.in: Regenerated.
7280 * libc/include/sys/config.h: Minor format change.
7282 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7284 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
7287 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7289 * libc/posix/opendir.c (opendir): Change code to check
7290 for HAVE_FCNTL before calling fcntl.
7291 * libc/search/hash.c (hash_open): Ditto.
7292 * libc/search/hash_page.c (open_tmp): Ditto.
7293 * libc/reent/Makefile.am: Add fcntlr.c.
7294 * libc/reent/Makefile.in: Regenerated.
7295 * libc/reent/fcntlr.c: New file.
7296 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
7297 instead of _fcntl when HAVE_FCNTL flag is set.
7298 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
7299 to see if _fcntl or _fcntl_r should be called. If flag is not
7300 set, default to ENOSYS stub.
7302 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
7304 * libc/include/wchar.h (mbstate_t): Change protective flag to
7306 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
7307 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
7309 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
7311 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
7313 * acinclude.m4 (enable-newlib-mb): Change check to
7314 default newlib_mb variable to empty string rather than "no".
7315 * configure.host: Remove hard-coding of -DMB_CAPABLE for
7316 x86-linux and Cygwin. Add code to check for newlib_mb
7317 being unset in which case set to "yes" for x86-linux and
7318 Cygwin. Change check for newlib_mb being "yes" to allow
7319 for an empty string.
7320 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
7321 * newlib.hin (_MB_LEN_MAX): New define to configure.
7322 * aclocal.m4: Regenerated.
7324 * libc/include/limits.h: New file.
7325 * libc/sys/linux/include/limits.h: Ditto.
7326 * doc/aclocal.m4 doc/configure libc/aclocal.m4
7327 libc/configure libc/machine/aclocal.m4
7328 libc/machine/configure libc/machine/a29k/aclocal.m4
7329 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7330 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7331 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7332 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7333 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
7334 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
7335 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7336 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7337 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7338 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7339 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7340 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
7341 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
7342 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7343 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7344 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7345 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7346 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7347 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7348 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7349 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7350 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7351 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7352 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7353 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
7354 libc/machine/xscale/configure
7355 libc/machine/xstormy16/aclocal.m4
7356 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
7357 libc/machine/z8k/configure libc/sys/aclocal.m4
7358 libc/sys/configure libc/sys/a29khif/aclocal.m4
7359 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
7360 libc/sys/arc/configure libc/sys/arm/aclocal.m4
7361 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7362 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
7363 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
7364 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
7365 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
7366 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
7367 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
7368 libc/sys/idt/configure libc/sys/linux/aclocal.m4
7369 libc/sys/linux/configure
7370 libc/sys/linux/machine/aclocal.m4
7371 libc/sys/linux/machine/configure
7372 libc/sys/linux/machine/i386/aclocal.m4
7373 libc/sys/linux/machine/i386/configure
7374 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7375 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
7376 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7377 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7378 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7379 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7380 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7381 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7382 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7383 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7384 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7385 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7386 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7387 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7388 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7389 libm/aclocal.m4 libm/configure: Regenerated.
7391 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7393 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7394 code that clears the .bss section.
7396 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7398 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7399 unsigned char internally.
7400 * libc/sys/linux/sys/_types.h: Ditto.
7401 * libc/include/sys/reent.h
7402 * libc/stdlib/mblen.c (mblen): Use function-specific state
7403 value from default reentrancy structure.
7404 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7405 _mbtowc_r is less than 0, reset state __count value and
7407 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7408 is NULL, use the function-specific pointer provided in the
7409 default reentrancy structure.
7410 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7411 If input state pointer is NULL, use function-specific area
7412 provided in reentrancy structure.
7413 * libc/stdlib/mbsrtowcs.c: Ditto.
7414 * libc/stdlib/wcrtomb.c: Ditto.
7415 * libc/stdlib/wcsrtombs.c: Ditto.
7416 * libc/stdlib/mbstowcs.c: Reformat.
7417 * libc/stdlib/wcstombs.c: Ditto.
7418 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7419 reset the state's __count value and return -1.
7420 * libc/stdlib/mbtowc.c: Ditto.
7421 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7422 If number of bytes is used up before completing a valid multibyte
7423 character, return -2 and save the state.
7424 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7425 and change some __count references to __state for clarity.
7427 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7429 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7430 is defined by <limits.h>.
7432 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7434 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7437 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7439 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7440 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7441 __WCHAR_MAX__ or 0x7fffffffu.
7442 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7443 * libc/string/wcsncmp.c: Ditto.
7445 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7447 * libc/string/wcschr.c: Add include of <stddef.h>.
7448 * libc/string/wcspbrk.c: Ditto.
7449 * libc/string/wcsrchr.c: Ditto.
7450 * libc/string/wcsstr.c: Ditto.
7452 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7454 * libc/include/sys/_types.h (_flock_t): Added.
7455 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7456 (__lock_try_acquire_recursive): Ditto.
7457 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7459 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7461 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7462 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7463 * libc/sys/linux/include/time.h (struct timespec): Moved from
7464 <sys/types.h> and added check for __need_timespec flag so type
7465 can be defined by itself.
7466 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7467 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7470 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7472 * libc/sys/linux/argp: New directory.
7473 * libc/sys/linux/getopt.c: New file.
7474 * libc/sys/linux/getopt1.c: New file.
7475 * libc/sys/linux/getoptlong.c: Remove file.
7476 * libc/sys/linux/include/argp.h: New file.
7477 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7478 based on ELIX level.
7479 (SUBDIRS): Add argp_dir.
7480 (SUBLIBS): Add ARGP_LIB.
7481 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7482 getopt_long.$(oext).
7483 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7485 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7487 * libc/libc.texinfo: Add node reference to wide-character strings.
7488 * libc/string/wcstrings.tex: New file.
7489 * libc/string/strtok_r.c: Remove outdated advertising clause.
7490 * libc/string/Makefile.am (doc): Add wide-character string
7491 chapter to documentation.
7492 * libc/string/Makefile.in: Regenerated.
7494 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7496 * libc/include/wchar.h: Define NULL. Define WEOF more general
7497 way. Declare functions in newlib manner.
7498 * libc/stdlib/Makefile.am: Delete wmem*.c
7499 * libc/stdlib/Makefile.in: Regenerated.
7500 * libc/stdlib/wmemchr.c: Delete.
7501 * libc/stdlib/wmemcmp.c: Ditto.
7502 * libc/stdlib/wmemcpy.c: Ditto.
7503 * libc/stdlib/wmemmove.c: Ditto.
7504 * libc/stdlib/wmemset.c: Ditto.
7505 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7506 * libc/string/Makefile.in: Regenerated.
7507 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7508 * libc/string/wcschr.c: Ditto.
7509 * libc/string/wcscmp.c: Ditto.
7510 * libc/string/wcscpy.c: Ditto.
7511 * libc/string/wcscspn.c: Ditto.
7512 * libc/string/wcslcat.c: Ditto.
7513 * libc/string/wcslcpy.c: Ditto.
7514 * libc/string/wcslen.c: Ditto.
7515 * libc/string/wcsncat.c: Ditto.
7516 * libc/string/wcsncmp.c: Ditto.
7517 * libc/string/wcsncpy.c: Ditto.
7518 * libc/string/wcspbrk.c: Ditto.
7519 * libc/string/wcsrchr.c: Ditto.
7520 * libc/string/wcsspn.c: Ditto.
7521 * libc/string/wcsstr.c: Ditto.
7522 * libc/string/wmemchr.c: Ditto.
7523 * libc/string/wmemcmp.c: Ditto.
7524 * libc/string/wmemcpy.c: Ditto.
7525 * libc/string/wmemmove.c: Ditto.
7526 * libc/string/wmemset.c: Ditto.
7528 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7530 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7531 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7532 and is treated as if "C" was specified.
7534 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7536 * Makefile.am (install-data-local): Move install of build
7537 newlib.h after installing headers in libc/include so as to
7538 overwrite default newlib.h.
7539 * Makefile.in: Regenerated.
7541 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7543 * libc/include/newlib.h: New file for tools that use newlib
7544 headers but don't build newlib first (e.g. gcc).
7546 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7548 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7549 * libc/stdlib/wmemcmp.c: Ditto.
7550 * libc/stdlib/wmemcpy.c: Ditto.
7551 * libc/stdlib/wmemmove.c: Ditto.
7552 * libc/stdlib/wmemset.c: Ditto.
7554 2002-08-27 Egor Duda <deo@logos-m.ru>
7556 * libc/stdlib/wmemchr.c: New file.
7557 * libc/stdlib/wmemcmp.c: Ditto.
7558 * libc/stdlib/wmemcpy.c: Ditto.
7559 * libc/stdlib/wmemmove.c: Ditto.
7560 * libc/stdlib/wmemset.c: Ditto.
7561 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7562 * configure.host: Default -DMB_CAPABLE for cygwin.
7563 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7564 wmemmove() and wmemset(). Add include of <_ansi.h>.
7565 * libc/stdlib/Makefile.in: Regenerate.
7567 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7569 * configure.host: Remove _ELIX_LEVEL flag setting.
7570 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7571 (install-data-local): Install newlib.h.
7572 * Makefile.in: Regenerated.
7573 * aclocal.m4: Ditto.
7575 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
7576 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7577 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7578 In AC_OUTPUT statement, unset ac_file so multilib support does
7579 not use last ac_file temporary used in newlib.h configuration.
7580 * libc/include/_ansi.h: Include <newlib.h>.
7581 * newlib.hin: New template file for newlib.h.
7582 * stamp-h.in: New file.
7584 2002-08-26 Wu Yongwei <adah@netstd.com>
7586 * time.h (timezonevar): Change "#if" to "#ifdef".
7588 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7590 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7591 * Makefile.in: Regenerated.
7592 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7593 * aclocal.m4: Regenerated.
7595 * configure.host: Add code to define _ELIX_LEVEL if
7596 --enable-newlib-elix-level option is used.
7598 * libc/aclocal.m4: Regenerated.
7599 * libc/configure: Ditto.
7600 * libc/argz/Makefile.am: Add EL/IX level checking.
7601 * libc/argz/Makefile.in: Regenerated.
7602 * libc/argz/dummy.c: New file.
7603 * libc/ctype/Makefile.am: Add EL/IX level checking.
7604 * libc/ctype/Makefile.in: Regenerated.
7605 * libc/locale/Makefile.am: Add EL/IX level checking.
7606 * libc/locale/Makefile.in: Regenerated.
7607 * libc/posix/Makefile.am: Add EL/IX level checking.
7608 * libc/posix/Makefile.in: Regenerated.
7609 * libc/posix/telldir.c: Add EL/IX level checking.
7610 * libc/reent/Makefile.am: Ditto.
7611 * libc/reent/fstat64r.c: Ditto.
7612 * libc/reent/lseek64r.c: Ditto.
7613 * libc/reent/open64r.c: Ditto.
7614 * libc/reent/Makefile.in: Regenerated.
7615 * libc/search/Makefile.am: Add EL/IX level checking.
7616 * libc/search/Makefile.in: Regenerated.
7617 * libc/stdio/Makefile.am: Add EL/IX level checking.
7618 * libc/stdio/Makefile.in: Regenerated.
7619 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7620 * libc/stdio64/Makefile.in: Regenerated.
7621 * libc/stdio64/dummy.c: New file.
7622 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
7623 after first include.
7624 * libc/stdio64/fopen64.c: Ditto.
7625 * libc/stdio64/freopen64.c: Ditto.
7626 * libc/stdio64/fseeko64.c: Ditto.
7627 * libc/stdio64/fsetpos64.c: Ditto.
7628 * libc/stdio64/ftello64.c: Ditto.
7629 * libc/stdio64/tmpfile64.c: Ditto.
7630 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7631 * libc/stdlib/Makefile.in: Regenerated.
7632 * libc/stdlib/mstats.c: Add EL/IX level checking.
7633 * libc/string/Makefile.am: Ditto.
7634 * libc/string/Makefile.in: Regenerated.
7635 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7636 * libc/sys/linux/Makefile.in: Regenerated.
7637 * libc/sys/linux/aclocal.m4: Ditto.
7638 * libc/sys/linux/configure: Ditto.
7639 * libc/sys/linux/aio.c: Add EL/IX level checking.
7640 * libc/sys/linux/ftok.c: Ditto.
7641 * libc/sys/linux/getdate.c: Ditto.
7642 * libc/sys/linux/ids.c: Ditto.
7643 * libc/sys/linux/inode.c: Ditto.
7644 * libc/sys/linux/io.c: Ditto.
7645 * libc/sys/linux/process.c: Ditto.
7646 * libc/sys/linux/resource.c: Ditto.
7647 * libc/sys/linux/sched.c: Ditto.
7648 * libc/sys/linux/sig.c: Ditto.
7649 * libc/sys/linux/termios.c: Ditto.
7650 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
7651 __libc___waitpid weak aliases.
7652 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
7653 that generate the code for a syscall, but do not create a
7655 * libc/syscalls/Makefile.am: Add EL/IX level checking.
7656 * libc/syscalls/Makefile.in: Regenerated.
7657 * libc/time/tzset_r.c: Change to replace strdup with equivalent
7659 * libc/unix/Makefile.am: Add EL/IX level checking.
7660 * libc/unix/Makefile.in: Regenerated.
7662 2002-08-26 Christopher Faylor <cgf@redhat.com>
7664 * libc/include/malloc.h: On cygwin, define malloc _r functions as
7665 wrapper macros to standard malloc functions.
7666 * libc/include/stdlib.h: Ditto.
7667 * configure.host: Always define MALLOC_PROVIDED on cygwin.
7669 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7671 * libc/include/langinfo.h: New file.
7672 * libc/include/wchar.h: Likewise.
7673 * libc/include/sys/syslimits.h: Likewise.
7674 * libc/locale/fix_grouping.c: Likewise.
7675 * libc/locale/ldpart.c: Likewise.
7676 * libc/locale/ldpart.h: Likewise.
7677 * libc/locale/lmessages.c: Likewise.
7678 * libc/locale/lmessages.h: Likewise.
7679 * libc/locale/lmonetary.c: Likewise.
7680 * libc/locale/lmonetary.h: Likewise.
7681 * libc/locale/lnumeric.c: Likewise.
7682 * libc/locale/lnumeric.h: Likewise.
7683 * libc/locale/nl_langinfo.3: Likewise.
7684 * libc/locale/nl_langinfo.c: Likewise.
7685 * libc/locale/timelocal.c: Likewise.
7686 * libc/locale/timelocal.h: Likewise.
7687 * libc/stdlib/btowc.c: Likewise.
7688 * libc/stdlib/mbrlen.c: Likewise.
7689 * libc/stdlib/mbrtowc.c: Likewise.
7690 * libc/stdlib/mbsinit.c: Likewise.
7691 * libc/stdlib/mbsrtowcs.c: Likewise.
7692 * libc/stdlib/wcrtomb.c: Likewise.
7693 * libc/stdlib/wcsrtombs.c: Likewise.
7694 * libc/stdlib/wctob.c: Likewise.
7695 * libc/sys/linux/prof-freq.c: Likewise.
7696 * libc/sys/linux/profile.c: Likewise.
7697 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7698 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7699 * libc/include/stdlib.h: Change re-entrant functions to take
7701 * libc/include/sys/_types.h: Define _mbstate_t.
7702 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
7703 * libc/include/sys/errno.h (EILSEQ): New error code.
7704 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
7705 structure to use mbstate_t.
7706 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
7707 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
7708 * libc/machine/powerpc/vfscanf.c: Likewise.
7709 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
7710 * libc/stdio/vfprintf.c: Likewise.
7711 * libc/stdio/vfscanf.c: Likewise.
7712 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
7713 * libc/stdlib/mblen.c: Use mbstate_t.
7714 * libc/stdlib/mblen_r.c: Likewise.
7715 * libc/stdlib/mbstowcs.c: Likewise.
7716 * libc/stdlib/mbstowcs_r.c: Likewise.
7717 * libc/stdlib/mbtowc.c: Likewise.
7718 * libc/stdlib/mbtowc_r.c: Likewise.
7719 * libc/stdlib/wcstombs.c: Likewise.
7720 * libc/stdlib/wcstombs_r.c: Likewise.
7721 * libc/stdlib/wctomb_r.c: Likewise.
7722 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
7724 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
7726 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
7727 * libc/sys/linux/sys/types.h (off_t): Define type.
7728 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
7730 * testsuite/newlib.locale/UTF-8.exp: Likewise.
7732 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
7734 * libc/stdlib/mallocr.c: #include windows.h on Win32.
7735 (AlignPage): Continue macro on next line.
7737 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7739 * libc/sys/linux/include/pthread.h: New file.
7741 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7743 * libc/include/sys/types.h: Support __need_inttypes macro
7744 that only sets the __intxx and __uintxx types.
7745 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
7747 * libc/machine/powerpc/Makefile.in: Regenerated.
7748 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
7749 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
7750 redundant fixed-point conversion prototypes.
7751 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
7752 after setting __need_inttypes.
7754 2002-08-18 Christopher Faylor <cgf@redhat.com>
7756 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
7758 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7760 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
7761 _LONG_DOUBLE to double.
7763 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7765 * configure.host: Add powerpc*-*-eabispe* configuration.
7766 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
7767 * libc/machine/powerpc/atosfix32.c: Ditto.
7768 * libc/machine/powerpc/atosfix64.c: Ditto.
7769 * libc/machine/powerpc/atoufix16.c: Ditto.
7770 * libc/machine/powerpc/atoufix32.c: Ditto.
7771 * libc/machine/powerpc/atoufix64.c: Ditto.
7772 * libc/machine/powerpc/fix64.h: Ditto.
7773 * libc/machine/powerpc/simdldtoa.c: Ditto.
7774 * libc/machine/powerpc/strtosfix16.c: Ditto.
7775 * libc/machine/powerpc/strtosfix32.c: Ditto.
7776 * libc/machine/powerpc/strtosfix64.c: Ditto.
7777 * libc/machine/powerpc/strtoufix16.c: Ditto.
7778 * libc/machine/powerpc/strtoufix32.c: Ditto.
7779 * libc/machine/powerpc/strtoufix64.c: Ditto.
7780 * libc/machine/powerpc/ufix64toa.c: Ditto.
7781 * libc/machine/powerpc/configure.in: Add check for
7782 powerpc*-eabispe and add fixed-point conversion functions.
7783 * libc/machine/powerpc/configure: Regenerated.
7784 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
7785 %r and %R format specifiers which handle fixed-point data.
7786 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
7787 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
7788 function prototypes.
7790 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7792 * Makefile.am: Move cmath stuff into libc/sys/linux.
7793 * Makefile.in: Regenerated.
7794 * configure.host: Default -DMB_CAPABLE for x86-linux.
7795 * libc/include/reent.h: Define _sbrk to take signed int argument.
7796 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
7797 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
7798 make locale name checking more efficient. Also allow "C-ISO-8859-1"
7799 locale for LC_CTYPE and LC_MESSAGES.
7800 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
7801 * libc/sys/linux/brk.c: Change sbrk prototype.
7802 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
7803 include <sys/features.h>.
7804 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
7805 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
7806 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
7807 with a few local additions.
7808 * libc/sys/linux/sys/features.h: New file.
7809 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
7810 to take signed argument.
7811 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
7812 prototypes to take signed size argument.
7814 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
7816 * libc/sys/linux/cmath: New directory.
7817 * libc/sys/linux/include/cmathcalls.h: New file.
7818 * libc/sys/linux/include/complex.h: New file.
7819 * libc/sys/linux/machine/i386/huge_val.h: New file
7820 * libm/math/w_sincos.c: New file
7821 * libm/math/wf_sincos.c: New file
7822 * libm/mathfp/s_sincos.c: New file
7823 * libm/mathfp/sf_sincos.c: New file
7824 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
7825 * libc/include/math.h: Add sincos and sincosf declarations.
7826 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
7827 (SUBLIBS): Likewise.
7828 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
7829 * libm/math/Makefile.am (src): Add w_sincos.c.
7830 (fsrc): Add wf_sincos.c.
7831 * libm/mathfp/Makefile.am (src): Add s_sincos.c
7832 (fsrc): Add sf_sincos.c.
7834 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
7836 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
7837 Declare as extern chars and use the address operator to
7838 properly use values set in linker script.
7840 2002-08-09 Jason Tishler <jason@tishler.net>
7842 * libc/stdlib/mallocr.c: Include <limits.h>.
7843 (request2size): Change macro to do
7844 unsigned long comparisons and avoid signed overflow.
7845 (mALLOc): Add overflow check for the number of bytes to allocate.
7848 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
7850 * configure.host: Add check for --enable-newlib-io-pos-args
7851 and define WANT_IO_POS_ARGS flag if enabled. Define
7852 the flag by default for x86-linux configurations.
7853 * configure.in: Add support for --enable-newlib-io-pos-args.
7854 * libc/configure.in: Ditto.
7855 * configure: Regenerated.
7856 * libc/configure: Ditto.
7857 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
7858 vfprintf.c and vfiprintf.c.
7859 * libc/stdio/Makefile.in: Regenerated.
7860 * libc/stdio/vfprintf.c: Add positional argument support that
7861 is enabled by compiling with -DWANT_IO_POS_ARGS.
7863 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
7865 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
7866 based on __mips_soft_float rather than __mips64.
7867 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
7868 of both 32-bit and 64-bit code.
7870 2002-08-04 Christopher Faylor <cgf@redhat.com>
7872 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
7873 arguments for popen to match similar functionality in fopen.
7875 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
7877 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
7879 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
7881 * libc/sys/linux/Makefile.am: Add aio64.c.
7882 * libc/sys/linux/Makefile.in: Regenerated.
7883 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
7884 * libc/sys/linux/aio64.c: New file.
7886 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7888 * libc/include/sys/param.h (MAX, MIN): Added macros.
7889 * libc/sys/linux/Makefile.am: Add new files.
7890 * libc/sys/linux/Makefile.in: Regenerated.
7891 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7892 * libc/sys/linux/inode.c (fchdir): Added syscall.
7893 * libc/sys/linux/ftw.c: New file.
7894 * libc/sys/linux/ftw64.c: Ditto.
7895 * libc/sys/linux/getwd.c: Ditto.
7896 * libc/sys/linux/scandir64.c: Ditto.
7897 * libc/sys/linux/strverscmp.c: Ditto.
7898 * libc/sys/linux/versionsort.c: Ditto.
7899 * libc/sys/linux/versionsort64.c: Ditto.
7901 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7903 * libc/string/strings.tex: Fix typo for memccpy.
7905 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7907 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
7908 * libc/sys/linux/sys/types.h (off64_t): Definition added.
7910 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7912 * libc/sys/linux/Makefile.am: Add fclean.c.
7913 * libc/sys/linux/Makefile.in: Regenerated.
7914 * libc/sys/linux/fclean.c: New file.
7916 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7918 * libc/sys/linux/Makefile.am: Add confstr.c.
7919 * libc/sys/linux/Makefile.in: Regenerated.
7920 * libc/sys/linux/confstr.c: New file.
7921 * libc/sys/linux/confstr.h: Ditto.
7922 * libc/sys/linux/sys/unistd.h: Include <features.h> and
7923 <bits/environments.h>.
7925 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7927 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
7928 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
7929 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
7930 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
7931 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
7932 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
7934 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7936 * libc/sys/linux/Makefile.am: Add new files.
7937 * libc/sys/linux/Makefile.in: Regenerated.
7938 * libc/sys/linux/fstab.c: New file.
7939 * libc/sys/linux/fstatvfs.c: Ditto.
7940 * libc/sys/linux/fstatvfs64.c: Ditto.
7941 * libc/sys/linux/internal_statvfs.c: Ditto.
7942 * libc/sys/linux/mntent.c: Ditto.
7943 * libc/sys/linux/mntent_r.c: Ditto.
7944 * libc/sys/linux/statvfs.c: Ditto.
7945 * libc/sys/linux/statvfs64.c: Ditto.
7946 * libc/sys/linux/include/paths.h: Ditto.
7947 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
7948 with double-underscore weak-aliases.
7949 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7951 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7953 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
7954 to use _sig_func_ptr type casted constants.
7955 (_sig_func_ptr): Typedef moved to sys/signal.h.
7956 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
7957 For __rtems, use POSIX definition, otherwise default to ANSI.
7958 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
7960 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
7962 * configure.host: Recognize m6811-elf and m6812-elf targets.
7963 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
7964 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
7965 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
7966 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
7967 according to __INT_MAX__.
7968 (_POINTER_INT): Define to short.
7969 * libc/machine/m68hc11/Makefile.am: New file.
7970 * libc/machine/m68hc11/Makefile.in: New file.
7971 * libc/machine/m68hc11/configure.in: New file.
7972 * libc/machine/m68hc11/configure: New file.
7973 * libc/machine/m68hc11/aclocal.m4: New file.
7974 * libc/machine/m68hc11/setjmp.S: New file.
7976 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7978 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
7980 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
7981 * libc/stdlib/Makefile.in: Regenerated.
7982 * libc/stdlib/strdup.c: Removed.
7983 * libc/stdlib/strdup_r.c: Removed.
7984 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
7985 mempcpy.c, strndup.c, and strndup_r.c.
7986 * libc/string/Makefile.in: Regenerated.
7987 * libc/string/memccpy.c: New file.
7988 * libc/string/mempcpy.c: Ditto.
7989 * libc/string/strndup.c: Ditto.
7990 * libc/string/strndup_r.c: Ditto.
7991 * libc/string/strdup.c: New file moved from stdlib.
7992 * libc/string/strdup_r.c: Ditto.
7993 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
7995 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7997 * libc/include/stdio.h: Move fcloseall prototype within
7998 #ifndef _REENT_ONLY section.
7999 * libc/sys/linux/Makefile.am: Add new files.
8000 * libc/sys/linux/Makefile.in: Regenerated.
8001 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8002 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
8003 * libc/sys/linux/sys/types.h: Add ino64_t type.
8004 * libc/sys/linux/ctermid.c: New file.
8005 * libc/sys/linux/ttyname_r.c: Ditto.
8006 * libc/sys/linux/readdir64.c: Ditto.
8008 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8010 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8011 * libc/stdio/Makefile.am: Added fcloseall.c support.
8012 * libc/stdio/Makefile.in: Regenerated.
8013 * libc/stdio/fcloseall.c: New file.
8014 * libc/stdio64/Makefile.am: Remove missing .def references.
8015 * libc/stdio64/Makefile.in: Regenerated.
8017 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8019 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8020 * libc/machine/powerpc/times.c: New file.
8021 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8022 * libc/machine/powerpc/Makefile.in: Regenerated.
8024 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
8026 * libc/machine/powerpc/time.c: New file.
8027 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8029 * libc/machine/powerpc/Makefile.in: Regenerated.
8031 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8033 * libc/libc.texinfo: Change copyright notices to Red Hat from
8035 * libm/libm.texinfo: Likewise.
8036 * README: Change docs URL to
8037 http://sources.redhat.com/newlib/docs.html.
8039 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8041 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8042 * libc/sys/linux/Makefile.in: Regenerated.
8043 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8044 * libc/sys/linux/io.c: Add ftruncate syscall.
8045 * libc/sys/linux/fpathconf.c: New file.
8046 * libc/sys/linux/pathconf.c: Ditto.
8047 * libc/sys/linux/linux_fsinfo.h: Ditto.
8048 * libc/sys/linux/sys/unistd.h: Ditto.
8050 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8052 * libc/stdio64/Makefile.am: Remove missing files.
8053 * libc/stdio64/Makefile.in: Regenerated.
8055 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8057 * libc/include/sys/config.h[__i386__][__linux__]: Define
8058 _LARGE64FILE_SOURCE to 1.
8059 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8060 * libc/sys/linux/Makefile.in: Regenerated.
8061 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8062 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8063 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8064 of <linux/resource.h>.
8065 * libc/sys/linux/getrlimit64.c: New file.
8066 * libc/sys/linux/setrlimit64.c: Ditto.
8068 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8070 * libc/argz/argz_replace.c: Include buf_findstr.h.
8071 * libc/argz/buf_findstr.c: Likewise.
8072 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8074 * libc/argz/envz_get.c: Likewise.
8075 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8076 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8077 * libc/stdlib/getsubopt.3: New file.
8078 * libc/stdlib/getsubopt.c: New file.
8079 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8082 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
8084 * configure.host(stdio64_dir): New setting that is used to
8085 enable building of new stdio64 directory.
8086 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
8088 (stmp-stdio64,stdio64.texi): New targets to optionally add in
8089 stdio64 info to info files.
8090 * libc/Makefile.in: Regenerated.
8091 * libc/configure: Ditto.
8092 * libc/configure.in: Add configuration variables that are set
8093 when stdio64 is selected as subdir in configure.host.
8094 * libc/libc.texinfo: Add optional menu item for Stdio64, based
8095 on whether STDIO64 flag is set or not.
8096 * libc/sys.tex: Add optional stdio64 syscalls based on whether
8097 STDIO64 flag is set or not.
8098 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
8100 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
8101 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
8102 (__SL64): New file flag indicating file is opened via fopen64.
8103 * libc/include/sys/_types.h(_off64_t): Added.
8104 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
8105 * libc/include/sys/reent.h(struct __sFILE64): New file structure
8106 for 64-bit offset large file support.
8107 (__FILE): New intermediate type either set to struct __sFILE64 or
8108 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
8109 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
8110 * libc/reent/Makefile.in: Regenerated.
8111 * libc/reent/fstat64r.c: New file.
8112 * libc/reent/lseek64r.c: Ditto.
8113 * libc/reent/open64r.c: Ditto.
8114 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
8115 based on whether STDIO64 flag is set.
8116 * libc/stdio/stdio.tex: Add blank line.
8117 * libc/stdio64/Makefile.am: New file.
8118 * libc/stdio64/Makefile.in: Ditto.
8119 * libc/stdio64/fgetpos64.c: Ditto.
8120 * libc/stdio64/fopen64.: Ditto.
8121 * libc/stdio64/freopen64.c: Ditto.
8122 * libc/stdio64/fseeko64.c: Ditto.
8123 * libc/stdio64/fsetpos64.c: Ditto.
8124 * libc/stdio64/ftello64.c: Ditto.
8125 * libc/stdio64/local64.h: Ditto.
8126 * libc/stdio64/stdio64.c: Ditto.
8127 * libc/stdio64/stdio64.tex: Ditto.
8128 * libc/stdio64/tmpfile64.c: Ditto.
8129 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
8132 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
8134 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
8135 if LIBC_EXTRA_LIB is present.
8136 * libc/Makefile.in: Regenerated.
8137 * libc/libc.texinfo: Add blank line.
8138 * libc/argz/Makefile.am: Add doc support.
8139 * libc/search/Makefile.am: Ditto.
8140 * libc/argz/Makefile.in: Regenerated.
8141 * libc/search/Makefile.in: Ditto.
8142 * libc/misc/misc.tex: Add ffs function.
8143 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
8145 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8147 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
8148 definition that was removed in error.
8150 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8152 * libc/include/machine/ieeefp.h: Change to only define
8153 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
8154 __IEEE_LITTLE_ENDIAN must be defined for each platform).
8155 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
8156 remove redundant floating point definitions.
8158 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8160 * libc/sys/linux/callocr.c: Fix so code references
8163 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8165 * libc/sys/linux/Makefile.am: Add new files.
8166 * libc/sys/linux/Makefile.in: Regenerated.
8167 * libc/sys/linux/bp-sym.h: Moved to include directory.
8168 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
8169 * libc/sys/linux/inode.c: Set _LIBC to 1.
8170 * libc/sys/linux/mq_close.c: Ditto.
8171 * libc/sys/linux/mq_getattr.c: Ditto.
8172 * libc/sys/linux/mq_open.c: Ditto.
8173 * libc/sys/linux/mq_receive.c: Ditto.
8174 * libc/sys/linux/mq_send.c: Ditto.
8175 * libc/sys/linux/mq_setattr.c: Ditto.
8176 * libc/sys/linux/mq_unlink.c: Ditto.
8177 * libc/sys/linux/calloc.c: New file.
8178 * libc/sys/linux/callocr.c: Ditto.
8179 * libc/sys/linux/cfreer.c: Ditto.
8180 * libc/sys/linux/config.h: Ditto.
8181 * libc/sys/linux/free.c: Ditto.
8182 * libc/sys/linux/freer.c: Ditto.
8183 * libc/sys/linux/msize.c: Ditto.
8184 * libc/sys/linux/msizer.c: Ditto.
8185 * libc/sys/linux/mstats.c: Ditto.
8186 * libc/sys/linux/mtrim.c: Ditto.
8187 * libc/sys/linux/mtrimr.c: Ditto.
8188 * libc/sys/linux/pvallocr.c: Ditto.
8189 * libc/sys/linux/realloc.c: Ditto.
8190 * libc/sys/linux/reallocr.c: Ditto.
8191 * libc/sys/linux/thread-m.h: Ditto.
8192 * libc/sys/linux/vallocr.c: Ditto.
8193 * libc/sys/linux/bp-checks.h: Ditto.
8194 * libc/sys/linux/libc-symbols.h: Ditto.
8195 * libc/sys/linux/libc-tsd.h: Ditto.
8196 * libc/sys/linux/libintl.h: Ditto.
8197 * libc/sys/linux/malign.c: Ditto.
8198 * libc/sys/linux/malignr.c: Ditto.
8199 * libc/sys/linux/mallinfor.c: Ditto.
8200 * libc/sys/linux/malloc.c: Ditto.
8201 * libc/sys/linux/mallocr.c: Ditto.
8202 * libc/sys/linux/malloptr.c: Ditto.
8203 * libc/sys/linux/mallstatsr.c: Ditto.
8204 * libc/sys/linux/mcheck.c: Ditto.
8205 * libc/sys/linux/mhooks.h: Ditto.
8206 * libc/sys/linux/include/bp-sym.h: Ditto.
8207 * libc/sys/linux/include/malloc.h: Ditto.
8208 * libc/sys/linux/include/mcheck.h: Ditto.
8209 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
8211 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
8212 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
8213 * libc/sys/linux/machine/i386/getpagesize.c: New file.
8214 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
8215 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8216 * libc/sys/linux/machine/i386/sysdep.h: New file.
8217 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
8218 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
8219 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
8221 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
8223 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
8224 instead of <asm/siginfo.h>.
8225 * libc/sys/linux/sys/signal.h: Change to include various linux
8226 <bits/xxx.h> header files, rather than <linux/signal.h> so as
8227 to work with multiple releases of glibc header files.
8229 2002-07-11 Chris Demetriou <cgd@broadcom.com>
8231 * testsuite/newlib.search/hsearchtest.c: New file to test
8233 * testsuite/newlib.search/hsearchtest.exp: Likewise.
8235 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
8237 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
8239 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
8241 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
8243 * libc/include/math.h (MAXFLOAT): Added.
8245 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
8247 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
8248 Make strcmp.S unconditional.
8249 * libc/machine/sh/Makefile.in: Regenerate.
8250 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
8251 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
8254 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8256 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
8257 define before including <sys/lock.h>.
8259 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8261 * libc/include/utime.h: Add include of <_ansi.h>.
8262 * libc/sys/linux/Makefile.am: Add utimes.c.
8263 * libc/sys/linux/Makefile.in: Regenerated.
8264 * libc/sys/linux/inode.c(__umask): New static routine.
8265 (umask): Written to use __umask and attempt to thread lock.
8266 (getumask): New function written to use __umask and thread lock.
8267 * libc/sys/linux/utimes.c: New file.
8268 * libc/sys/linux/sys/time.h: Fix utimes prototype.
8269 * libc/sys/linux/sys/utime.h: New file.
8271 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8273 * libtool.m4: New file.
8274 * libc/sys/linux/process.c: Implement vfork in terms of fork,
8275 rather than as a syscall.
8277 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8279 * libc/include/stdio.h: Add new prototypes.
8280 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
8281 * libc/stdio/Makefile.in: Regenerated.
8282 * libc/stdio/fseek.c: Add fseeko documentation.
8283 * libc/stdio/ftell.c: Add ftello documentation.
8284 * libc/stdio/fseeko.c: New file.
8285 * libc/stdio/ftello.c: New file.
8287 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8289 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
8290 * libc/stdio/Makefile.in: Regenerated.
8291 * libc/stdio/asprintf.c: New file.
8292 * libc/stdio/vasprintf.c: Ditto.
8293 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
8294 the buffer for asprintf support.
8295 * libc/stdio/sprintf.c: Add asprintf documentation.
8296 * libc/stdio/vfprintf.c: Add vasprintf documentation.
8297 * libc/include/stdio.h: Add new prototypes.
8299 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
8301 * libc/search/hcreate.c: Remove advertising clause from license.
8302 * libc/search/hcreate_r.c: Likewise.
8304 2002-07-02 Chris Demetriou <cgd@broadcom.com>
8306 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
8307 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
8308 Check that one of them is defined and error out if not.
8309 Add any platforms defined in <machine/ieeefp.h> that are missing.
8310 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
8311 (DB_LITTLE_ENDIAN): New defines.
8312 * libc/search/hash.c: Replace all incorrect checks for
8313 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
8314 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
8315 * libc/search/hash_page.c: Likewise.
8317 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8319 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
8321 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
8323 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
8324 * libc/include/time.h: Same.
8325 * libc/include/string.h: Same.
8326 * libc/include/stdlib.h: Same.
8327 * libc/include/signal.h: Same.
8328 * libc/include/setjmp.h: Same.
8329 * libc/include/math.h: Same.
8330 * libc/include/locale.h: Same.
8331 * libc/include/ctype.h: Same.
8332 * libc/include/machine/setjmp.h: Same.
8333 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
8336 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8338 * libc/include/sys/_types.h: Define _ssize_t as int if int is
8339 32-bits, otherwise define it as long.
8340 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
8341 and define ssize_t as _ssize_t.
8342 * libc/reent/readr.c: Change return type to _ssize_t.
8343 * libc/reent/writer.c: Ditto.
8344 * libc/sys/linux/Makefile.am: Add aio.c.
8345 * libc/sys/linux/Makefile.in: Regenerated.
8346 * libc/sys/linux/aio.c: New file.
8347 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
8348 * libm/common/fdlibm.h: Undef __P before defining it.
8350 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8352 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
8353 exponent_is_even_int variable. Handle case where x is
8354 negative, and y is an odd integer.
8355 * libm/mathfp/sf_pow.c (powf): Likewise.
8357 * libm/mathfp/er_lgamma.c: Remove __kernel references.
8358 * libm/mathfp/erf_lgamma.c: Likewise.
8359 * libm/mathfp/s_tgamma.c: Likewise.
8360 * libm/mathfp/sf_tgamma.c: Likewise.
8362 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8364 * libc/sys/linux/Makefile.am: Add new clock routines.
8365 * libc/sys/linux/Makefile.in: Regenerated.
8366 * libc/sys/linux/clock_getres.c: New file.
8367 * libc/sys/linux/clock_gettime.c: Ditto.
8368 * libc/sys/linux/clock_settime.c: Ditto.
8369 * libc/sys/linux/hp-timing.h: Ditto.
8370 * libc/sys/linux/libc-internal.h: Ditto.
8371 * libc/sys/linux/sysconf.c: Fix typo.
8372 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
8373 * libc/sys/linux/machine/hp-timing.h: New file.
8374 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
8375 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8376 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
8377 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
8378 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
8379 * libc/sys/linux/sys/linux_time.h: New file.
8380 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
8381 replace with <sys/linux_time.h>.
8383 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
8385 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8387 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8389 * libc/sys/linux/Makefile.am: Consolidate additional items under
8391 * libc/sys/linux/Makefile.in: Regenerated.
8393 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8395 * libc/sys/linux/sethostname.c: New file.
8396 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8397 * libc/sys/linux/Makefile.in: Regenerated.
8399 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8401 * libc/search/db_local.h: New file.
8402 * libc/include/db.h: Remove.
8403 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8404 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8406 * libc/search/hash_bigkey.c: Likewise.
8407 * libc/search/hash_buf.c: Likewise.
8408 * libc/search/hash_func.c: Likewise.
8409 * libc/search/hash_log2.c: Likewise.
8410 * libc/search/hash_page.c: Likewise.
8412 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
8414 * libc/machine/sh/strlen.S: New file.
8415 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8416 * libc/machine/sh/Makefile.am: Regenerate.
8418 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8420 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8421 add gethostname alias.
8423 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8425 * libc/include/math.h: Remove <sys/types.h>.
8426 (__dmath): Use __ULong instead of __uint32_t.
8427 * libc/include/sys/reent.h: If long or int is not 32-bits,
8428 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
8429 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8430 * libm/common/fdlibm.h: Ditto.
8432 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8434 * libc/include/ndbm.h: Remove.
8435 * libc/search/ndbm.c: Remove.
8437 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8439 * libc/stdio/fseek.c (fseek): Fix braces.
8441 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
8443 * libc/time/strftime.c (strftime): Add %e format specifier.
8445 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8447 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8450 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
8452 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8453 (BYTE_ORDER): Define as appropriate for the target.
8455 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8457 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8459 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8461 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8463 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8464 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8465 [HAVE_GETDATE](getdate_err): New error code.
8466 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8467 * libc/stdio/Makefile.in: Regenerated.
8468 * libc/stdio/getdelim.c: New file.
8469 * libc/stdio/getline.c: Ditto.
8470 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8471 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8472 * libc/sys/linux/Makefile.in: Regenerated.
8473 * libc/sys/linux/getdate.c: New file.
8474 * libc/sys/linux/getdate_err.c: Ditto.
8475 * libc/sys/linux/ntp_gettime.c: Ditto.
8476 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8477 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8479 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8481 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8482 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8483 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8484 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8485 * libc/include/sys/param.h: Remove i386 case which is handled
8487 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8488 definitions in case they are already defined.
8489 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8490 _IEEE_LITTLE_ENDIAN flags.
8491 * libc/include/sys/reent.h: Change __uint32_t references to
8493 (_REENT_GETDATE_REENT_P): New macro.
8494 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8495 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8496 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8497 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8498 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8499 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8500 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8501 definitions which are done by subsequent glibc headers.
8502 Add macro definitions to prevent subsequent header files from
8503 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8504 intptr_t to after glibc definitions of types they are based on.
8506 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8508 * libc/include/errno.h: Protect from multiple inclusion.
8510 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8512 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8514 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8516 * Makefile.am (LIB_OBJECTLISTS): Add
8517 libc/search/objectlist.awk.in.
8518 * libc/Makefile.am (SUBDIRS): Add search.
8519 (SUBLIBS): Add search/libsearch.la.
8520 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8521 * libc/search: New directory.
8522 * libc/search/Makefile.am: New file.
8523 * libc/search/extern.h: New file.
8524 * libc/search/hash.c: New file.
8525 * libc/search/hash.h: New file.
8526 * libc/search/hash_bigkey.c: New file.
8527 * libc/search/hash_buf.c: New file.
8528 * libc/search/hash_func.c: New file.
8529 * libc/search/hash_log2.c: New file.
8530 * libc/search/hash_page.c: New file.
8531 * libc/search/hcreate.3: New file.
8532 * libc/search/hcreate.c: New file.
8533 * libc/search/hcreate_r.c: New file.
8534 * libc/search/ndbm.c: New file.
8535 * libc/search/page.h: New file.
8536 * libc/search/tdelete.c: New file.
8537 * libc/search/tdestroy.c: New file.
8538 * libc/search/tfind.c: New file.
8539 * libc/search/tsearch.3: New file.
8540 * libc/search/tsearch.c: New file.
8541 * libc/search/twalk.c: New file.
8542 * libc/include/db.h: New file.
8543 * libc/include/ndbm.h: New file.
8544 * libc/include/search.h: New file.
8545 * libc/include/sys/queue.h: New file.
8546 * libc/include/sys/cdefs.h: New file.
8547 * libc/include/sys/param.h
8548 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8549 LITTLE_ENDIAN or BIG_ENDIAN.
8550 * libc/include/sys/errno.h (EFTYPE): New macro.
8551 * libc/search/bsearch.c: Move from libc/stdlib.
8552 * libc/search/qsort.c: Likewise.
8553 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8555 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8556 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8558 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8560 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8561 ipc routines, and ftok.
8562 * libc/sys/linux/Makefile.in: Regenerated.
8563 * libc/sys/linux/ftok.c: New file.
8564 * libc/sys/linux/ipc.c: Ditto.
8565 * libc/sys/linux/mq_close.c: Ditto.
8566 * libc/sys/linux/mq_getattr.c: Ditto.
8567 * libc/sys/linux/mq_notify.c: Ditto.
8568 * libc/sys/linux/mq_open.c: Ditto.
8569 * libc/sys/linux/mq_receive.c: Ditto.
8570 * libc/sys/linux/mq_send.c: Ditto.
8571 * libc/sys/linux/mq_setattr.c: Ditto.
8572 * libc/sys/linux/mq_unlink.c: Ditto.
8573 * libc/sys/linux/mqlocal.h: Ditto.
8574 * libc/sys/linux/include/mqueue.h: Ditto.
8575 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8578 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8580 * libm/common/sf_lround.c (round): Change name to: (lround).
8581 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8584 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8586 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8588 (newlib_pass_fail): Change to compile and run only one file.
8589 * testsuite/newlib.locale/locale.exp: Use new
8590 newlib_pass_fail_all procedure.
8591 * testsuite/newlib.string/string.exp: Likewise.
8593 2002-06-18 Dave Brolley <brolley@redhat.com>
8595 From Catherine Moore, Michael Meissner, Richard Sandiford:
8596 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8598 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8599 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8600 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8601 * configure.host: Support frv-*-*.
8602 * libc/machine/frv/Makefile.am: New file.
8603 * libc/machine/frv/configure.in: New file.
8604 * libc/machine/frv/setjmp.S: New file.
8606 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8608 * libc/include/ctype.h: Remove isblank macro.
8610 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8611 * libc/ctype/isblank.c: New file.
8612 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8613 declaration. Add isblank macro.
8615 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8617 * testsuite/newlib.stdlib/atexit.c: New file.
8618 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8619 * testsuite/newlib.string/tstring.c: Change default start size
8620 to something more reasonable for embedded platforms.
8622 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8624 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8626 * libc/argz: New directory.
8627 * libc/argz/*: New files.
8628 * libc/argz/argz_add.c: New file.
8629 * libc/argz/argz_add_sep.c: New file.
8630 * libc/argz/argz_append.c: New file.
8631 * libc/argz/argz_count.c: New file.
8632 * libc/argz/argz_create.c: New file.
8633 * libc/argz/argz_create_sep.c: New file.
8634 * libc/argz/argz_delete.c: New file.
8635 * libc/argz/argz_extract.c: New file.
8636 * libc/argz/argz_insert.c: New file.
8637 * libc/argz/argz_next.c: New file.
8638 * libc/argz/argz_replace.c: New file.
8639 * libc/argz/argz_stringify.c: New file.
8640 * libc/argz/buf_findstr.c: New file.
8641 * libc/argz/envz_add.c: New file.
8642 * libc/argz/envz_entry.c: New file.
8643 * libc/argz/envz_get.c: New file.
8644 * libc/argz/envz_merge.c: New file.
8645 * libc/argz/envz_remove.c: New file.
8646 * libc/argz/envz_strip.c: New file.
8647 * libc/include/argz.h: New file.
8648 * libc/include/envz.h: New file.
8649 * Makefile.am (LIBC_OBJECTLISTS): Add
8650 libc/argz/objectlist.awk.in.
8651 * libc/Makefile.am (SUBDIRS): Add argz.
8652 (SUBLIBS): Add argz/libargz.la.
8653 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
8654 * libc/include/errno.h: Add error_t typedef.
8656 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
8658 * libc/include/stdlib.h: Add _Exit prototype.
8659 * libc/stdlib/Makefile.am: Add _Exit.c support.
8660 * libc/stdlib/Makefile.in: Ditto.
8661 * libc/stdlib/_Exit.c: New file.
8663 2002-06-13 Stephen L. Moshier <steve@moshier.net>
8665 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
8666 x is close to -1.0 and y is very large to use ax (absolute value)
8668 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
8670 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
8672 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
8673 Fix clobbering bytes before destination if src and dst have same
8674 non-zero misalignment.
8676 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8677 Fixed bug in writing end of set region.
8679 2002-06-10 Christopher Faylor <cgf@redhat.com>
8681 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8682 spawnve declaration.
8684 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8686 * libm/common/s_fdim.c: New file.
8687 * libm/common/s_fma.c: Likewise.
8688 * libm/common/s_fmax.c: Likewise.
8689 * libm/common/s_fmin.c: Likewise.
8690 * libm/common/s_fpclassify.c: Likewise.
8691 * libm/common/s_lrint.c: Likewise.
8692 * libm/common/s_lround.c: Likewise.
8693 * libm/common/s_nearbyint.c: Likewise.
8694 * libm/common/s_remquo.c: Likewise.
8695 * libm/common/s_round.c: Likewise.
8696 * libm/common/s_scalbln.c: Likewise.
8697 * libm/common/s_signbit.c: Likewise.
8698 * libm/common/s_trunc.c: Likewise.
8699 * libm/common/sf_fdim.c: Likewise.
8700 * libm/common/sf_fma.c: Likewise.
8701 * libm/common/sf_fmax.c: Likewise.
8702 * libm/common/sf_fmin.c: Likewise.
8703 * libm/common/sf_lrint.c: Likewise.
8704 * libm/common/sf_lround.c: Likewise.
8705 * libm/common/sf_nearbyint.c: Likewise.
8706 * libm/common/sf_remquo.c: Likewise.
8707 * libm/common/sf_round.c: Likewise.
8708 * libm/common/sf_scalbln.c: Likewise.
8709 * libm/common/sf_trunc.c: Likewise.
8710 * libm/math/w_exp2.c: Likewise.
8711 * libm/math/w_tgamma.c: Likewise.
8712 * libm/math/wf_exp2.c: Likewise.
8713 * libm/math/wf_tgamma.c: Likewise.
8714 * libm/mathfp/s_exp2.c: Likewise.
8715 * libm/mathfp/s_tgamma.c: Likewise.
8716 * libm/mathfp/sf_exp2.c: Likewise.
8717 * libm/mathfp/sf_tgamma.c: Likewise.
8718 * libm/math/er_gamma.c: Fix return value.
8719 * libm/math/erf_gamma.c: Likewise.
8720 * libm/mathfp/er_gamma.c: Likewise.
8721 * libm/mathfp/erf_gamma.c: Likewise.
8722 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
8723 declarations and macros.
8724 Regenerated all Makefile.in, aclocal.m4 and configure files to
8725 use new libtool macros in top-level libtool.m4
8727 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
8729 * libc/include/string.h[__linux__]: Add strsignal prototype.
8730 * libc/include/sys/lock.h: New file with default locking support.
8731 * libc/include/sys/reent.h: Add signal buffer support for strsignal
8733 * libc/posix/Makefile.am: Add support for readdir_r.c.
8734 * libc/posix/Makefile.in: Regenerated.
8735 * libc/posix/closedir.c: Add locking support and hash table cleanup.
8736 * libc/posix/opendir.c: Add lock support.
8737 * libc/posix/readdir.c: Ditto.
8738 * libc/posix/rewinddir.c: Ditto.
8739 * libc/posix/scandir.c: Ditto.
8740 * libc/posix/seekdir.c: Ditto.
8741 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
8742 clean up leftover hash table entries.
8743 * libc/posix/readdir_r.c: New file.
8744 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
8745 * libc/sys/linux/Makefile.in: Regenerated.
8746 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
8747 * libc/sys/linux/sys/signal.h: Add psignal prototype.
8748 * libc/sys/linux/psignal.c: New file.
8749 * libc/sys/linux/strsignal.c: Ditto.
8751 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
8753 * libc/include/sys/types.h: Don't define dev_t when compiling for
8756 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
8758 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
8759 make siglist.inc dependent on sig.c instead of signal.c.
8760 * libc/sys/linux/Makefile.in: Regenerated.
8761 * libc/sys/linux/sig.c: Rename from signal.c and change code to
8762 use NSIG instead of _NSIG.
8763 * libc/sys/linux/sigaction.c: New file.
8764 * libc/sys/linux/signal.c: Changed to be linux signal() function
8765 so as to override regular newlib default signal.c.
8766 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
8767 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8768 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
8769 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
8770 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
8771 default linux sigset_t typedef by defining it equal to __sigset_t.
8772 * libc/unix/sigset.c: Add check so code isn't compiled on systems
8773 with a sigset_t that isn't implemented with a single int.
8775 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
8777 * libc/sys/linux/Makefile.am: Add support for new files.
8778 * libc/sys/linux/Makefile.in: Regenerated.
8779 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
8780 * libc/sys/linux/signal.c: Change to use real-time syscalls for
8781 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
8782 it is in a separate file now.
8783 * libc/sys/linux/machine/i386/Makefile.am
8784 * libc/sys/linux/machine/i386/Makefile.in
8785 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
8786 * libc/sys/linux/sigaction.c: New file.
8787 * libc/sys/linux/sigqueue.c: Ditto.
8788 * libc/sys/linux/sigwait.c: Ditto.
8789 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
8790 * libc/sys/linux/kernel_sigaction.h: Ditto.
8792 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
8794 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
8796 * libc/sys/linux/Makefile.in: Regenerated.
8797 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
8798 tcgetpgrp(), and tcsetpgrp() functions.
8799 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
8800 to get __MAX_BAUD rate.
8801 * libc/sys/linux/machine/i386/include/termios.h: New file.
8802 * libc/include/machine/termios.h: Ditto.
8803 * libc/sys/linux/cfspeed.c: Ditto.
8804 * libc/sys/linux/tcsendbrk.c: Ditto.
8806 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
8808 * libc/include/string.h: Add strnlen and strerror_r prototypes.
8809 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
8810 * libc/string/Makefile.in: Regenerated.
8811 * libc/string/strerror_r.c: New file.
8812 * libc/string/strnlen.c: New file.
8813 * libc/sys/linux/Makefile.am: Add rename.c.
8814 * libc/sys/linux/Makefile.in: Regenerated.
8815 * libc/sys/linux/rename.c: New file to override default rename.
8817 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8819 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
8820 * libc/sys/linux/sys/time.h: Add conversion macros.
8821 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
8822 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
8823 * libc/sys/linux/gethostname.c: New file.
8824 * libc/sys/linux/seteuid.c: New file.
8825 * libc/sys/linux/sysctl.c: New file.
8827 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8829 * libc/string/Makefile.am: Add support for strsep.c.
8830 * libc/string/Makefile.in: Regenerated.
8831 * libc/string/strsep.c: New file.
8832 * libc/string/strtok.c: Change to call __strtok_r service routine.
8833 * libc/string/strtok_r.c: Add __strtok_r routine which takes
8834 additional flag parameter regarding whether to skip leading delimeters.
8835 Change strtok_r to call __strtok_r.
8837 2002-05-23 Gareth Pearce <tilps@hotmail.com>
8839 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
8840 * libc/stdio/Makefile.in: Regenerated.
8841 * libc/stdio/setbuffer.c: New file.
8842 * libc/stdio/setlinebuf.c: New file.
8844 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8846 * libc/sys/linux/Makefile.am: Add resource.c.
8847 * libc/sys/linux/Makefile.in: Regenerated.
8848 * libc/sys/linux/resource.c: New file.
8849 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
8850 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
8851 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8852 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
8853 are now found in libc/sys/linux/resource.c.
8855 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8857 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
8858 to use void * pointers and comply with Single Unix spec.
8859 * libc/string/bcmp.c: Change to use void * instead of char *.
8860 * libc/string/bcopy.c: Ditto.
8861 * libc/string/bzero.c: Ditto.
8863 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8865 * libc/sys/linux/shm_open.c: New file.
8866 * libc/sys/linux/shm_unlink.c: Ditto.
8867 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
8869 * libc/sys/linux/Makefile.in: Regenerated.
8870 * libc/sys/linux/sys/types.h: Add some additional checks to see
8871 if clock_t or time_t is already defined.
8873 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8875 * Makefile.am: Don't pass $toollibdir down directly in
8876 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
8877 Pass it under the name: top_toollibdir.
8878 * Makefile.in: Regenerated.
8880 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8882 * libc/include/sys/types.h: Revert previous patch.
8884 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8886 * libc/include/sys/types.h: Include cygwin/types.h always under
8887 Cygwin, not only if _POSIX_THREADS is defined.
8889 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
8891 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
8893 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
8895 * Makefile.am: Copy and install headers from sys/machine/include
8896 directory. Also pass $toollibdir to lower-level directories.
8897 * Makefile.in: Regenerated.
8898 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
8899 stderr to use _REENT macro instead of _impure_ptr directly.
8900 * libc/include/sys/config.h[__i386__][__linux__]: Define
8902 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
8903 call to __getreent() function if !__SINGLE_THREAD__ and
8904 __DYNAMIC_REENT__ is set.
8905 * libc/reent/Makefile.am: Add support for getreent.c.
8906 * libc/reent/Makefile.in: Regenerated.
8907 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
8908 * libc/sys/linux/Makefile.am: Add support for new files.
8909 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
8910 * libc/sys/linux/Makefile.in: Regenerated.
8911 * libc/sys/linux/configure: Ditto.
8912 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
8913 __close, __read, __write, __poll, __open, __lseek, __fcntl from
8914 their __libc_ counterparts.
8915 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
8916 and weak-alias to regular names.
8917 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
8918 to pread64 and __pread64.
8919 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
8920 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
8921 weak-alias to pwrite64.
8922 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
8923 __libc_sched_getscheduler, __libc_sched_get_priority_max,
8924 __libc_sched_get_priority_min, and __libc_sched_setschedule to
8925 name with __ instead of __libc_.
8926 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
8927 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
8928 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
8929 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
8931 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
8932 __libc_send to __send.
8933 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
8935 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
8936 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
8937 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
8938 type and typedef __jmp_buf to jmp_buf.
8939 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
8941 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8942 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
8944 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
8945 prefix for function macros and then use weak_alias() to regular names.
8946 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8947 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
8948 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
8949 to be flockfile() and funlockfile() respectively.
8950 * libc/sys/linux/sys/types.h
8951 * libc/reent/getreent.c: New file.
8952 * libc/sys/linux/flockfile.c: Ditto.
8953 * libc/sys/linux/funlockfile.c: Ditto.
8954 * libc/sys/linux/getreent.c: Ditto.
8955 * libc/sys/linux/pread.c: Ditto.
8956 * libc/sys/linux/pwrite.c: Ditto.
8957 * libc/sys/linux/raise.c: Ditto.
8958 * libc/sys/linux/system.c: Ditto.
8959 * libc/sys/linux/tcdrain.c: Ditto.
8960 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
8961 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
8962 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
8963 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
8964 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
8966 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
8968 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
8969 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
8970 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
8971 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
8973 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
8975 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
8976 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
8979 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8981 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
8982 options when testing natively on i[3456]86-*-linux.
8984 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
8985 only one pass or fail per test file. Trim \r's from output
8986 values received from test programs. Remove support for named
8988 * testsuite/newlib.locale/UTF-8.exp: Update to support new
8989 newlib_check_output behaviour.
8990 * testsuite/newlib.locale/UTF-8.c: Likewise.
8992 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
8994 * libc/include/stdlib.h: Add on_exit prototype.
8995 * libc/include/sys/reent.h (struct _atexit): Add argument array
8996 and bits to track type of exit routine to support both on_exit
8998 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
8999 by default and change the setting of the atexit structure.
9000 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9001 * libc/stdlib/on_exit.c: New file.
9002 * libc/stdlib/Makefile.am: Add support for on_exit.
9003 * libc/stdlib/Makefile.in: Regenerated.
9004 * libc/stdlib/atexit.c: Change to initialize types field.
9005 * libc/stdlib/exit.c: Change to look at types field for each
9006 exit routine and either call an atexit-style or an on_exit-style
9007 routine accordingly.
9009 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9011 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9012 allow v specifier with n or L specifiers. For vector c format,
9013 move tmp declaration to the top.
9015 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9017 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9018 the original format specifier when looping for vectors to compensate
9019 for any changes made in vector %g format processing.
9020 Also add syntax checking for various invalid scenarios
9021 involving vector format extensions.
9022 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9023 return code setting for vector formats. Also treat vector
9024 separator mismatch as a match error instead of an input error.
9025 Perform some syntax checking for vector formats.
9027 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9029 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9030 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9031 * libc/string/strlcat.c: New file.
9032 * libc/string/strlcpy.c: New file.
9034 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9036 * libc/string/strchr.c: Fix comment typo.
9038 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9040 * acinclude.m4: Add support for --enable-newlib-multithread.
9041 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9042 --enable-newlib-multithread=no.
9044 * libc/stdio/getc_u.c: New file.
9045 * libc/stdio/getchar_u.c: New file.
9046 * libc/stdio/putc_u.c: New file.
9047 * libc/stdio/putchar_u.c: New file.
9048 * libc/include/stdio.h: Add declarations for getc_unlocked,
9049 getchar_unlocked, putc_unlocked and putchar_unlocked.
9050 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9051 (CHEWOUT_FILES): Add new files' .def's.
9052 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9054 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9056 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9057 Also handle as single quad word when destination ends at last
9058 byte of first quad word. Fix byte selection in single quad code.
9060 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9062 * libc/include/sys/stdio.h: New file.
9063 * libc/sys/linux/sys/stdio.h: New file.
9064 * libc/include/stdio.h: Add declarations for flockfile,
9065 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9066 * libc/stdio/clearerr.c: Add file locking.
9067 * libc/stdio/fclose.c: Likewise.
9068 * libc/stdio/feof.c: Likewise.
9069 * libc/stdio/ferror.c: Likewise.
9070 * libc/stdio/fflush.c: Likewise.
9071 * libc/stdio/fgetc.c: Likewise.
9072 * libc/stdio/fgetpos.c: Likewise.
9073 * libc/stdio/fgets.c: Likewise.
9074 * libc/stdio/fileno.c: Likewise.
9075 * libc/stdio/fputc.c: Likewise.
9076 * libc/stdio/fputs.c: Likewise.
9077 * libc/stdio/fread.c: Likewise.
9078 * libc/stdio/freopen.c: Likewise.
9079 * libc/stdio/fseek.c: Likewise.
9080 * libc/stdio/ftell.c: Likewise.
9081 * libc/stdio/fwrite.c: Likewise.
9082 * libc/stdio/getc.c: Likewise.
9083 * libc/stdio/putc.c: Likewise.
9084 * libc/stdio/setvbuf.c: Likewise.
9085 * libc/stdio/ungetc.c: Likewise.
9086 * libc/stdio/vfprintf.c: Likewise.
9088 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9090 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
9091 support for 'p' format. Fix code to print bytes for vector
9092 integer formats that do not specify 'h' or 'l'.
9093 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
9094 for 'p' specifier. Fix code to scan 16 bytes for vector integer
9095 formats that do not specify 'h' or 'l'.
9097 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
9099 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
9101 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
9102 (_sbrk): Add cast of return value.
9104 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9106 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
9107 (_REENT_L64A_BUF): New macro for accessing area.
9108 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
9109 * libc/stdlib/Makefile.in: Regenerated.
9110 * libc/stdlib/a64l.c: New file.
9111 * libc/stdlib/l64a.c: New file.
9113 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9115 * libc/unix/pread.c: Fix typo for _pread_r.
9116 * libc/unix/pwrite.c: Fix type for _pwrite_r.
9117 * libc/sys/linux/pread64.c: Fix typo for read syscall.
9118 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
9120 2002-05-03 Christopher Faylor <cgf@redhat.com>
9122 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
9124 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9126 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
9128 2002-05-01 Christopher Faylor <cgf@redhat.com>
9130 * utmp.h: Define more UNIX constants.
9132 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9134 * Makefile.am: Add support for checking multilibs.
9136 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
9137 (SUBDEFS): Add LIBC_EXTRA_DEF.
9138 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
9139 (LIBC_EXTRA_DEF): Likewise.
9140 (extra_dir): Likewise.
9141 * libc/machine/xscale/machine: New directory.
9142 * libc/machine/xscale/machine/profile.h: New file.
9144 * Makefile.am (site.exp): Remove newlib_cflags. Add
9146 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
9147 * testsuite/lib/flags.exp: New file.
9148 * testsuite/lib/newlib.exp: Load flags.exp.
9149 (newlib_target_compile): Remove libgloss directory references.
9150 (newlib_init): Remove newlib_cflags references.
9152 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9154 * testsuite/lib/newlib.exp (newlib_target_compile): Change
9155 method of finding libgloss_target_dir.
9157 * Makefile.am (site.exp): Change host_alias, host_triplet,
9158 target_alias, target_triplet to refer to gcc's host and target
9159 variables (newlib's build and host variables).
9160 * testsuite/lib/newlib.exp (newlib_init): Change build
9161 references to host references, host references to target
9162 references to reflect Makefile.am changes.
9163 (newlib_target_compile): Likewise.
9164 (newlib_finish): Likewise.
9166 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9168 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
9170 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
9172 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
9173 (_system): New function. Ditto.
9174 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
9175 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
9178 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9180 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
9181 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
9182 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
9183 * libc/sys/linux/Makefile.in: Regenerated.
9184 * libc/unix/Makefile.in: Ditto.
9185 * libc/sys/linux/pread64.c: New file.
9186 * libc/sys/linux/pwrite64.c: Ditto.
9187 * libc/unix/pread.c: Ditto.
9188 * libc/unix/pwrite.c: Ditto.
9190 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9192 * libc/sys/linux/Makefile.am: Add io64.c.
9193 * libc/sys/linux/Makefile.in: Regenerated.
9194 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
9195 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
9196 * libc/sys/linux/io64.c: New file.
9198 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9200 * configure.in (CC_FOR_NEWLIB): New variable that
9201 bases on $(CC) and adds targ-include and libc/include as
9202 -isystem directives if they are not already part of $(CC).
9203 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
9205 * configure: Regenerated.
9206 * Makefile.in: Ditto.
9208 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
9210 * libc/sys/linux/Makefile.am: Add support for sched.c.
9211 * libc/sys/linux/Makefile.in: Regenerated.
9212 * libc/sys/linux/sched.c: New file.
9213 * libc/sys/linux/sys/types.h: Add struct timespec.
9215 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9217 * configure.in (CC_FOR_BUILD): Set to gcc whether
9218 cross-compiling or not.
9219 (CC): Add -isystem's for targ-include and libc/include when they
9220 do not already appear in CC.
9222 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9224 * Makefile.am (check-DEJAGNU): New target.
9225 (site.exp): Likewise.
9226 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
9227 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
9228 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
9229 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
9230 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
9231 * testsuite: New directory.
9232 * testsuite/config: Likewise.
9233 * testsuite/lib: Likewise.
9234 * testsuite/newlib.locale: Likewise.
9235 * testsuite/newlib.string: Likewise.
9236 * testsuite/config/default.exp: New file.
9237 * testsuite/lib/checkoutput.exp: New file.
9238 * testsuite/lib/newlib.exp: New file.
9239 * testsuite/lib/passfail.exp: New file.
9240 * testsuite/newlib.locale/UTF-8.c: New file.
9241 * testsuite/newlib.locale/UTF-8.exp: New file.
9242 * testsuite/newlib.locale/locale.exp: New file.
9243 * testsuite/newlib.string/string.exp: New file.
9244 * testsuite/newlib.string/tstring.c: New file.
9246 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
9248 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
9249 * libc/sys/linux/Makefile.am: Add support for mmap.c.
9250 * libc/sys/linux/Makefile.in: Regenerated.
9251 * libc/sys/linux/mmap.c: New file.
9252 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
9253 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
9255 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9257 * acinclude.m4 (newlib_cflags): Remove include directories that
9258 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
9260 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
9262 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
9263 * libc/machine/xscale/memcmp.c: Ditto.
9264 * libc/machine/xscale/memcpy.c: Ditto.
9265 * libc/machine/xscale/memmove.c: Ditto.
9266 * libc/machine/xscale/memset.c: Ditto.
9267 * libc/machine/xscale/strchr.c: Ditto.
9268 * libc/machine/xscale/strcmp.c: Ditto.
9269 * libc/machine/xscale/strcpy.c: Ditto.
9270 * libc/machine/xscale/strlen.c: Ditto.
9272 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
9274 * libc/include/sys/config.h: Remove include of <limits.h>.
9275 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
9276 define INT_MAX and LONG_MAX. Use them in tests.
9278 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
9280 * configure.host: Add support for powerpc-eabialtivec*.
9281 * libc/include/malloc.h: Add include of <machine/malloc.h>.
9282 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
9283 * libc/include/machine/malloc.h: New file.
9284 * libc/include/machine/stdlib.h: Ditto.
9285 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
9286 * libc/machine/powerpc/Makefile.am: Add conditional objects and
9287 sources based on configuration.
9288 * libc/machine/powerpc/Makefile.in: Regenerated.
9289 * libc/machine/powerpc/configure: Ditto.
9290 * libc/machine/powerpc/configure.in: Add check for
9291 powerpc-eabialtivec* in which case add in additional source files.
9292 * libc/machine/powerpc/setjmp.S: Add altivec support.
9293 * libc/machine/powerpc/vec_calloc.c: New file.
9294 * libc/machine/powerpc/vec_free.c: Ditto.
9295 * libc/machine/powerpc/vec_malloc.c: Ditto.
9296 * libc/machine/powerpc/vec_mallocr.c: Ditto.
9297 * libc/machine/powerpc/vec_realloc.c: Ditto.
9298 * libc/machine/powerpc/machine/malloc.h: Ditto.
9299 * libc/machine/powerpc/machine/stdlib.h: Ditto.
9300 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
9301 with added altivec format specifiers.
9302 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
9303 added altivec format specifiers.
9305 2002-04-19 Joel Sherrill <joel@OARcorp.com>
9307 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
9308 while autoconf is trying to link main(){}.
9310 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9312 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
9313 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
9315 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9317 * libc/time/time.tex: Add tzset info.
9319 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9321 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9322 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9323 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9324 (tzname): Defined for all platforms.
9325 (daylight, timezone): Defined only for CYGWIN.
9326 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9328 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9329 environment variable is set.
9330 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9332 * libc/time/Makefile.in: Regenerated.
9333 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9334 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9335 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9336 * libc/time/local.h: New local header file.
9337 * libc/time/mktime.c (mktime): Add timezone support.
9338 * libc/time/mktm_r.c: New file which is the common engine
9339 for gmtime_r and lcltime_r. This code has timezone support.
9340 * libc/time/strftime.c (strftime): Add %Z timezone support.
9341 * libc/time/tzlock.c: New file containing timezone lock stubs.
9342 * libc/time/tzset.c: New file containing tzset() routine.
9343 * libc/time/tzset_r.c: New file containing _tzset_r and
9344 internal routine for calculating timezone changes for specified year.
9346 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9348 * configure.in (CRT0_DIR): Set to libc/.
9349 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9350 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9351 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9352 $(CRT1_DIR)/$(CRT1).
9353 * libc/machine/xstormy16/Makefile.in: Regenerated.
9354 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9355 * libc/machine/xstormy16/configure: Regenerated.
9357 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9359 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9360 fails, don't bail out, and try to correct next time.
9362 * libc/include/sys/config.h: Include limits.h.
9364 2002-04-12 Eric Norum <eric.norum@usask.com>
9366 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9367 routine to allow autoconf to determine that building executables
9369 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9370 (rtems_gxx_mutex_once): Ditto.
9372 2002-04-09 Tom Rix <trix@redhat.com>
9374 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9376 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9378 * libc/include/time.h: Fix strptime declaration.
9379 * libc/time/Makefile.am: Add strptime.c.
9380 * libc/time/Makefile.in: Regenerated.
9381 * libc/time/strptime.c: New file.
9383 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9385 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9386 siglongjmp prototype, and sigsetjmp macro definition.
9387 * libc/sys/linux/siglongjmp.c: New file.
9388 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9389 * libc/sys/linux/Makefile.in: Regenerated.
9391 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9393 * Makefile.am: Add support for installing crt1.o if one exists.
9394 * configure.host: Specify crt1.o for linux.
9395 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9396 * Makefile.in: Regenerated.
9398 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9399 Added for non-Cygwin, non-RTEMS configurations.
9400 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9401 * libc/sys/linux/Makefile.in: Regenerated.
9402 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9403 by gcc. This fixes problem with reconfiguring linux newlib build.
9404 * libc/sys/linux/sysconf.c: New file.
9406 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9408 * configure.host: Add support for machine subdirectory of
9410 * configure.in: Add check for sys machine subdirectory.
9411 * Makefile.am: Ditto.
9412 * configure: Regenerated.
9413 * Makefile.in: Ditto.
9414 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9415 * libc/sys/linux/sys/syscall.h: Ditto.
9416 * libc/sys/linux/sleep.c: New file.
9417 * libc/sys/linux/socket.c: Ditto.
9418 * libc/sys/linux/sockops.h: Ditto.
9419 * libc/sys/linux/stack.c: Ditto.
9420 * libc/sys/linux/usleep.c: Ditto.
9421 * libc/sys/linux/machine/Makefile.am: Ditto.
9422 * libc/sys/linux/machine/Makefile.in: Ditto.
9423 * libc/sys/linux/machine/aclocal.m4: Ditto.
9424 * libc/sys/linux/machine/configure: Ditto.
9425 * libc/sys/linux/machine/configure.in: Ditto.
9426 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9427 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9428 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9429 * libc/sys/linux/machine/i386/configure: Ditto.
9430 * libc/sys/linux/machine/i386/configure.in: Ditto.
9431 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9432 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9433 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9434 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9435 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9436 * libc/sys/linux/sys/select.h: Ditto.
9437 * libc/sys/linux/configure.in: Add support for machine directory.
9438 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9439 * libc/sys/linux/Makefile.in: Regenerated.
9440 * libc/sys/linux/configure: Ditto.
9441 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9442 * libc/sys/linux/inode.c: Ditto.
9443 * libc/sys/linux/linux.c: Ditto.
9444 * libc/sys/linux/process.c: Ditto.
9445 * libc/sys/linux/systat.c: Ditto.
9446 * libc/sys/linux/time.c: Ditto.
9447 * libc/sys/linux/wait.c: Ditto.
9448 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9449 * libc/sys/linux/io.c: Change header plus add readv/writev.
9450 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9451 use __sigsuspend syscall.
9452 * libc/sys/linux/select.c: Change header plus change select to
9453 use _newselect syscall.
9454 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9455 used by glibc header files.
9456 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9459 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9461 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9462 initializing a struct _reent that has been dynamically allocated.
9463 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9464 _REENT_SMALL and does nothing otherwise.
9465 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9466 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9467 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9468 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9469 [_REENT_SMALL](struct _misc_reent): New structure containing
9470 miscellaneous reentrant areas needed by newlib.
9471 [_REENT_SMALL](struct _reent): Add _misc pointer.
9472 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9473 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9474 and _REENT_STRTOK_LAST macros.
9475 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9476 and _REENT_MBLEN_STATE macros.
9477 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9478 and _REENT_MBTOWC_STATE macros.
9479 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9480 and _REENT_WCTOMB_STATE macros.
9482 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9484 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9486 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9488 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9490 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9492 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9493 Store high part of leading bytes too.
9495 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9497 * libm/math/ef_hypot.c: Increase scale factor to 68.
9499 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9501 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9504 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9506 * libc/sys/go32/access.c: Change license to relaxed license
9507 used in identical file throughout newlib/libgloss.
9509 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9511 * libc/sys/arm/access.c: New file.
9512 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9513 * libc/sys/arm/Makefile.in: Regenerate.
9514 * libc/sys/arm/syscalls.c (_stat): New function.
9516 2002-03-11 Michael Meissner <meissner@redhat.com>
9518 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9519 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9520 * libc/machine/mips/Makefile.in: Regenerate.
9521 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9522 * libc/machine/mips/memset.c: Dito.
9523 * libc/machine/mips/strcmp.c: Dito.
9524 * libc/machine/mips/strlen.c: Dito.
9525 * libc/machine/mips/strncmp.c: Dito.
9527 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9529 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9530 object so it works for shared library or statici library.
9531 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9533 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9534 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9535 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9536 (tzname): Defined for all platforms.
9537 (daylight, timezone): Defined only for CYGWIN.
9538 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9540 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9541 environment variable is set.
9542 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9544 * libc/time/Makefile.in: Regenerated.
9545 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9546 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9547 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9548 * libc/time/local.h: New local header file.
9549 * libc/time/mktime.c (mktime): Add timezone support.
9550 * libc/time/mktm_r.c: New file which is the common engine
9551 for gmtime_r and lcltime_r. This code has timezone support.
9552 * libc/time/strftime.c (strftime): Add %Z timezone support.
9553 * libc/time/tzlock.c: New file containing timezone lock stubs.
9554 * libc/time/tzset.c: New file containing tzset() routine.
9555 * libc/time/tzset_r.c: New file containing _tzset_r and
9556 internal routine for calculating timezone changes for specified year.
9558 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9560 * configure.in (CRT0_DIR): Set to libc/.
9561 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9562 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9563 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9564 $(CRT1_DIR)/$(CRT1).
9565 * libc/machine/xstormy16/Makefile.in: Regenerated.
9566 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9567 * libc/machine/xstormy16/configure: Regenerated.
9569 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9571 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9572 fails, don't bail out, and try to correct next time.
9574 * libc/include/sys/config.h: Include limits.h.
9576 2002-04-12 Eric Norum <eric.norum@usask.com>
9578 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9579 routine to allow autoconf to determine that building executables
9581 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9582 (rtems_gxx_mutex_once): Ditto.
9584 2002-04-09 Tom Rix <trix@redhat.com>
9586 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9588 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9590 * libc/include/time.h: Fix strptime declaration.
9591 * libc/time/Makefile.am: Add strptime.c.
9592 * libc/time/Makefile.in: Regenerated.
9593 * libc/time/strptime.c: New file.
9595 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9597 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9598 siglongjmp prototype, and sigsetjmp macro definition.
9599 * libc/sys/linux/siglongjmp.c: New file.
9600 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9601 * libc/sys/linux/Makefile.in: Regenerated.
9603 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9605 * Makefile.am: Add support for installing crt1.o if one exists.
9606 * configure.host: Specify crt1.o for linux.
9607 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9608 * Makefile.in: Regenerated.
9610 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9611 Added for non-Cygwin, non-RTEMS configurations.
9612 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9613 * libc/sys/linux/Makefile.in: Regenerated.
9614 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9615 by gcc. This fixes problem with reconfiguring linux newlib build.
9616 * libc/sys/linux/sysconf.c: New file.
9618 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9620 * configure.host: Add support for machine subdirectory of
9622 * configure.in: Add check for sys machine subdirectory.
9623 * Makefile.am: Ditto.
9624 * configure: Regenerated.
9625 * Makefile.in: Ditto.
9626 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9627 * libc/sys/linux/sys/syscall.h: Ditto.
9628 * libc/sys/linux/sleep.c: New file.
9629 * libc/sys/linux/socket.c: Ditto.
9630 * libc/sys/linux/sockops.h: Ditto.
9631 * libc/sys/linux/stack.c: Ditto.
9632 * libc/sys/linux/usleep.c: Ditto.
9633 * libc/sys/linux/machine/Makefile.am: Ditto.
9634 * libc/sys/linux/machine/Makefile.in: Ditto.
9635 * libc/sys/linux/machine/aclocal.m4: Ditto.
9636 * libc/sys/linux/machine/configure: Ditto.
9637 * libc/sys/linux/machine/configure.in: Ditto.
9638 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9639 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9640 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9641 * libc/sys/linux/machine/i386/configure: Ditto.
9642 * libc/sys/linux/machine/i386/configure.in: Ditto.
9643 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9644 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9645 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9646 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9647 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9648 * libc/sys/linux/sys/select.h: Ditto.
9649 * libc/sys/linux/configure.in: Add support for machine directory.
9650 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9651 * libc/sys/linux/Makefile.in: Regenerated.
9652 * libc/sys/linux/configure: Ditto.
9653 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9654 * libc/sys/linux/inode.c: Ditto.
9655 * libc/sys/linux/linux.c: Ditto.
9656 * libc/sys/linux/process.c: Ditto.
9657 * libc/sys/linux/systat.c: Ditto.
9658 * libc/sys/linux/time.c: Ditto.
9659 * libc/sys/linux/wait.c: Ditto.
9660 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9661 * libc/sys/linux/io.c: Change header plus add readv/writev.
9662 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9663 use __sigsuspend syscall.
9664 * libc/sys/linux/select.c: Change header plus change select to
9665 use _newselect syscall.
9666 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9667 used by glibc header files.
9668 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9671 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9673 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9674 initializing a struct _reent that has been dynamically allocated.
9675 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9676 _REENT_SMALL and does nothing otherwise.
9677 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9678 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9679 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9680 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9681 [_REENT_SMALL](struct _misc_reent): New structure containing
9682 miscellaneous reentrant areas needed by newlib.
9683 [_REENT_SMALL](struct _reent): Add _misc pointer.
9684 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9685 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9686 and _REENT_STRTOK_LAST macros.
9687 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9688 and _REENT_MBLEN_STATE macros.
9689 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9690 and _REENT_MBTOWC_STATE macros.
9691 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9692 and _REENT_WCTOMB_STATE macros.
9694 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9696 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9698 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9700 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9702 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9704 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9705 Store high part of leading bytes too.
9707 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9709 * libm/math/ef_hypot.c: Increase scale factor to 68.
9711 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9713 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9716 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9718 * libc/sys/go32/access.c: Change license to relaxed license
9719 used in identical file throughout newlib/libgloss.
9721 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9723 * libc/sys/arm/access.c: New file.
9724 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9725 * libc/sys/arm/Makefile.in: Regenerate.
9726 * libc/sys/arm/syscalls.c (_stat): New function.
9728 2002-03-11 Michael Meissner <meissner@redhat.com>
9730 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9731 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9732 * libc/machine/mips/Makefile.in: Regenerate.
9733 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9734 * libc/machine/mips/memset.c: Dito.
9735 * libc/machine/mips/strcmp.c: Dito.
9736 * libc/machine/mips/strlen.c: Dito.
9737 * libc/machine/mips/strncmp.c: Dito.
9739 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9741 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9742 object so it works for shared library or statici library.
9743 * libc/machine/i386/Makefile.in: Regenerated.
9745 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
9747 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
9748 Add memcpy.S, memset.S and strcpy.S.
9749 * libc/machine/sh/Makefile.in: Regenerate.
9750 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
9751 (SHHI, SHLO): Define.
9752 * libc/machine/sh/memset.S: Add code for SH5.
9753 * libc/machine/sh/memset.S: Likewise.
9754 * libc/machine/sh/strcpy.S: Likewise.
9756 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
9758 * configure.host: Add check for --disable-newlib-io-float
9759 configuration option and add -DNO_FLOATING_POINT to newlib cflags
9761 * acinclude.m4: Added --disable-newlib-io-float option.
9762 * aclocal.m4: Regenerated.
9764 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
9765 * libc/*/aclocal.m4 libc/*/configure
9766 * libm/*/aclocal.m4 libm/*/configure: Ditto.
9767 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
9768 if NO_FLOATING_POINT flag is not defined.
9770 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
9772 * libc/include/sys/config.h: Add __extension__ in front of
9773 long long references.
9775 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9777 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
9780 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9782 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
9785 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
9787 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
9788 clobbered registers.
9790 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9792 * configure.host (newlib_cflags): When host is in m68* add
9795 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
9797 * libc/include/sys/config.h: Add definitions for
9798 __int16_t, __uint16_t, __int64_t, and __uint64_t.
9800 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
9802 * libc/sys/mmixware/link.c: New.
9803 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
9805 * libc/sys/mmixware/times.c (_times): Renamed from times.
9806 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
9807 properly by reading previous contents, not through BinaryReadWrite.
9808 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
9809 * libc/sys/mmixware/Makefile.in: Regenerate.
9811 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
9813 * libc/include/grp.h: Don't declare group functions when compiling
9816 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
9818 * libc/include/grp.h: Include Cygwin specific header.
9819 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
9820 when compiling for Cygwin.
9821 * libc/include/sys/types.h: Don't define off_t, uid_t
9822 and gid_t when compiling for Cygwin.
9824 2002-02-08 matthew green <mrg@redhat.com>
9826 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
9827 _REENT_EMERGENCY_SIZE, not sizeof(char *).
9829 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
9831 Contribute sh64-elf.
9832 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9833 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
9835 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
9836 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
9838 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
9839 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
9840 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
9841 * libc/machine/sh/configure.in: Rework conditionals.
9842 * libc/machine/sh/Makefile.am: Likewise.
9843 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
9844 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
9845 * configure.host: Match `sh*'.
9846 * libc/include/machine/setjmp.h: Define for SH5.
9847 * libc/machine/sh/configure.in: Detect SH5.
9848 * libc/machine/sh/configure: Rebuilt.
9849 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
9850 * libc/machine/sh/Makefile.in: Rebuilt.
9851 * libc/machine/sh/asm.h: Adjust for SH5.
9852 * libc/machine/sh/setjmp.S: Implement in SHmedia.
9853 * libc/sys/sh/crt0.S: Likewise.
9854 * libc/sys/sh/trap.S: Likewise.
9856 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
9858 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
9859 (mach_add_obj): Conditionally set to setjmp.o or nothing.
9860 (LIB_SOURCES): Remove $(mach_add_src).
9861 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
9862 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
9863 * libc/machine/i386/Makefile.in: Regenerate.
9865 2002-02-05 Manik Raina <manik@cisco.com>
9867 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
9868 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
9869 s, p, k, and outstr.
9870 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
9872 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
9874 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
9875 _REENT_CHECK_EMERGENCY macro.
9877 2002-02-03 matthew green <mrg@redhat.com>
9879 * libc/reent/signgam.c (__signgam): Fix error in previous.
9881 2002-02-02 matthew green <mrg@redhat.com>
9883 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
9885 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
9886 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
9887 * libc/include/sys/reent.h (struct _reent): Completely new version
9889 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
9890 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
9891 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
9892 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
9893 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
9894 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
9895 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
9896 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
9897 (_REENT_EMERGENCY): Likewise.
9899 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
9900 the start of the real __sFILE, used for stdin, stdout and stderr until
9901 they are setup properly.
9902 (struct __sFILE): Move location of _data in _REENT_SMALL case.
9903 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
9904 allocated stdin, stdout and stderr.
9905 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
9906 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
9907 * libc/stdio/perror.c (_perror_r): Likewise.
9908 * libc/stdio/printf.c (printf, _printf_r): Likewise.
9909 * libc/stdio/putchar.c (_putchar_r): Likewise.
9910 * libc/stdio/puts.c (_puts_r): Likewise.
9911 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
9912 * libc/stdio/vprintf.c (vprintf): Likewise.
9913 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
9915 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
9917 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
9918 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
9920 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
9921 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
9923 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
9925 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
9926 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
9927 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
9928 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
9929 * libc/stdlib/rand48.c (__dorand48): Likewise.
9930 * libc/stdlib/seed48.c (_seed48_r): Likewise.
9931 * libc/stdlib/srand48.c (_srand48_r): Likewise.
9932 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
9933 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
9934 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
9935 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
9936 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
9937 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
9938 * libc/stdlib/rand.c (rand): Likewise.
9940 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
9941 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
9943 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
9944 _REENT_MP_FREELIST() and _REENT_MP_P5S.
9945 * libc/include/sys/reent.h (struct _mprec): New structure.
9947 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
9948 _unused_strtok_last.
9949 * libc/string/strtok.c (strtok): Use a local static variable.
9951 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
9952 (_REENT_EMERGENCY_SIZE): Likewise.
9953 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
9954 _REENT_ASCTIME_BUF().
9955 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
9958 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
9959 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
9960 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
9961 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
9962 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
9963 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
9965 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
9967 * configure.host (xstormy16): Don't use the generic malloc.
9968 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
9969 * libc/machine/xstormy16/Makefile.in: Regenerate.
9970 * libc/machine/xstormy16/mallocr.c: New file.
9971 * libc/machine/xstormy16/tiny-malloc.c: New file.
9973 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
9975 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
9976 when _CYGWIN_TYPES_H is not defined.
9978 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9980 * libc/include/sys/signal.h: Revert 2002-01-23 change.
9982 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
9984 * libc/include/sys/signal.h: Remove pthread_kill declaration
9985 when __CYGWIN__ is defined.
9987 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9989 * libc/include/time.h: Add prototype for strptime for Cygwin.
9991 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
9993 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
9994 dst was not word aligned.
9996 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
9997 if too much memory is requested.
9999 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10001 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10002 reads blanks from the input file to break if EOF reached
10003 rather than end processing.
10005 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10007 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10009 2002-01-07 Alan Matsuoka <alanm@redhat.com>
10011 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10012 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10013 libc/include/sys/config.h: Ditto.
10015 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
10017 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10019 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
10020 Catherine Moore <clm@redhat.com>
10021 Richard Henderson <rth@redhat.com>
10022 Corinna Vinschen <vinschen@redhat.com>
10024 * configure.host: Add support for xstormy16.
10025 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10026 * libc/include/machine/setjmp.h: Add support for xstormy16.
10027 * libc/include/sys/config.h: Add support for xstormy16.
10028 * libc/machine/xstormy16/Makefile.am: New file.
10029 * libc/machine/xstormy16/Makefile.in: New file.
10030 * libc/machine/xstormy16/aclocal.m4: New file.
10031 * libc/machine/xstormy16/configure: New file.
10032 * libc/machine/xstormy16/configure.in: New file.
10033 * libc/machine/xstormy16/setjmp.S: New file.
10035 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10037 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10038 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10040 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
10042 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10043 * libm/machine/Makefile.in: Regenerated through automake.
10045 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10047 * Makefile.am (DOCDIR): Force to empty string when doc
10048 directory is not present.
10050 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10052 * libc/machine/i386/f_*: Move to libm/machine/i386.
10054 2001-12-18 Joel Sherrill <joel@OARcorp.com>
10056 * libm/machine/Makefile.am: Add dummy doc stub so
10059 2001-12-17 Joel Sherrill <joel@OARcorp.com>
10061 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10063 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10065 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10066 $(COMPILE) rather than $(CC).
10067 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10068 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10069 $(LIB_COMPILE) change.
10070 (vfiprintf.$(oext)): Likewise.
10072 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
10074 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10075 conditionalized including of getopt stuff.
10077 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10079 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10081 (vfiprintf.$(oext)): Likewise.
10083 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10085 * Makefile.shared: New file.
10086 * libc/sys/linux/shared.ld: New file.
10087 * libm/machine/*: New files.
10088 * libm/machine/i386/*: New files.
10089 * Makefile.am: Add libtool support. Change math and mathfp
10090 references to variables.
10091 * configure.host: Add variables for libtool support. Add
10092 libm_machine_dir variable.
10093 * configure.in: Add objectlist variables, for libtool
10094 support. Add CC_FOR_BUILD tests.
10095 * libc/Makefile.am: Add libtool support. Change crt0.o
10096 reference to be a variable reference.
10097 * libc/configure.in: Add libtool support. Change sublib
10098 names to be lib${subdir}.la when using libtool.
10099 * libc/ctype/Makefile.am: Add libtool support.
10100 * libc/errno/Makefile.am: Likewise.
10101 * libc/locale/Makefile.am: Likewise.
10102 * libc/machine/Makefile.am: Likewise.
10103 * libc/machine/configure.in: Likewise.
10104 * libc/machine/i386/Makefile.am: Likewise.
10105 * libc/machine/i386/configure.in: Likewise.
10106 * libc/misc/Makefile.am: Likewise.
10107 * libc/posix/Makefile.am: Likewise.
10108 * libc/reent/Makefile.am: Likewise.
10109 * libc/signal/Makefile.am: Likewise.
10110 * libc/stdio/Makefile.am: Likewise.
10111 * libc/stdlib/Makefile.am: Likewise.
10112 * libc/string/Makefile.am: Likewise.
10113 * libc/sys/Makefile.am: Likewise.
10114 * libc/sys/configure.in: Likewise.
10115 * libc/sys/linux/Makefile.am: Add libtool support. Change
10116 awk reference to a variable reference. Change signal.h
10117 reference to a variable reference.
10118 * libc/sys/linux/configure.in: Add libtool support.
10119 * libc/syscalls/Makefile.am: Likewise.
10120 * libc/time/Makefile.am: Likewise.
10121 * libc/unix/Makefile.am: Likewise.
10122 * libm/Makefile.am: Add libtool support. Change math and
10123 mathfp references to variables.
10124 * libm/configure.in: Add libtool support. Add
10125 LIBM_MACHINE_LIB variable.
10126 * libm/common/Makefile.am: Add libtool support.
10127 * libm/math/Makefile.am: Likewise.
10128 * libm/mathfp/Makefile.am: Likewise.
10129 Regenerate all Makefile.in, aclocal.m4, and configure.
10131 2001-12-13 Anita Kulkarni <anitak@kpit.com>
10133 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
10135 2001-12-06 John Peacock <jpeacock@rowman.com>
10137 * libc/include/sys/unistd.h: Correct ualarm declaration.
10139 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
10141 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
10142 vector before calling the initialisation functions.
10144 2001-11-29 Christopher Faylor <cgf@redhat.com>
10146 * libc/include/dirent.h: Protect against multiple inclusion.
10148 2001-11-27 Christopher Faylor <cgf@redhat.com>
10150 * libc/include/sys/types.h: Define useconds_t.
10151 * libc/include/sys/ulimit.h: Declare ualarm.
10153 2001-11-21 Christopher Faylor <cgf@redhat.com>
10155 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
10157 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
10159 * libc/sys/mmixware/*: Tweak license header in all source files.
10161 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
10163 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
10164 to here. Rearrange for general inclusion by stdlib.h.
10165 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
10167 * libc/sys/linux/include/alloca.h: Move to libc/include.
10169 2001-11-12 Anthony Green <green@redhat.com>
10171 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
10173 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
10175 * libc/sys/mmixware/*: Correct spacing in all source files.
10176 * libc/sys/mmixware/syscall.h: Move misplaced file...
10177 * libc/sys/mmixware/sys/syscall.h: ...here.
10179 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
10181 * libc/include/machine/ieeefp.h: Add support for mmix target.
10182 * libc/include/machine/setjmp.h: Ditto.
10183 * configure.host: Ditto.
10184 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
10185 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
10186 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
10187 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
10188 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
10189 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
10190 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
10191 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
10192 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
10193 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
10194 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
10195 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
10196 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
10197 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
10198 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
10199 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
10200 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
10201 libc/sys/mmixware/aclocal.m4: Generate.
10203 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
10205 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
10206 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
10207 when __CYGWIN__ is defined.
10208 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
10211 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
10213 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
10214 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
10215 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
10216 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
10218 2001-10-24 Christopher Faylor <cgf@redhat.com>
10220 * libc/stdio/fseek.c: Reset pointer to buffer base
10221 when forced to seek outside of current buffer contents.
10222 This prevents the code from erroneously thinking there is
10223 anything in the current buffer.
10225 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
10227 * libc/include/math.h: The C++ standard adds the single-precision
10228 versions of the elementary functions.
10230 2001-10-22 Christopher Faylor <cgf@redhat.com>
10232 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
10234 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
10235 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
10236 * system.c (_system_r): Ditto.
10238 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
10240 * libc/include/sys/unistd.h: Add prototype for fchdir() when
10241 __CYGWIN__ or __rtems__ is defined.
10243 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
10245 * libc/include/stdlib.h: add declarations for
10246 _strtoull_r, _strtoll_r, strtoull, and strtoll.
10247 * libc/stdio/local.h: remove declarations of
10248 __strtoull_r and __strtoll_r.
10249 * libc/stdio/vfscanf.c(__svfscanf_r): call
10250 _strtoull_r instead of __strtoull_r. Ditto
10251 _strtoll_r vs. __strtoll_r.
10252 * libc/stdlib/Makefile.am: add new files to
10253 .c list and .def list
10254 * libc/stdlib/Makefile.in: regenerate
10255 * libc/stdlib/strtoll_r.c: rename __strtoll_r
10257 * libc/stdlib/strtoull_r.c: rename __strtoull_r
10259 * libc/stdlib/strtoull.c: new file
10260 * libc/stdlib/strtoll.c: new file
10262 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
10264 * libc/include/process.h: Add getpid() declaration.
10266 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10268 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
10269 for new style arm/elf ctor/dtor handling.
10270 Minor formatting tidy up.
10272 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
10274 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
10276 * libc/stdlib/Makefile.in: Regenerated.
10277 * libc/stdlib/strtoll_r.c: New file.
10278 * libc/stdlib/strtoull_r.c: New file.
10279 * libc/stdio/local.h: Add prototypes for long long string
10280 conversion routines.
10281 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
10282 tied to %L integer conversion specifier.
10284 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
10286 * strftime.c (strftime): Fix "%W" implementation to properly handle
10289 2001-09-07 Jeff Law <law@redhat.com>
10291 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
10292 __fini with "mov.l" instead of "mov.w".
10294 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
10296 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
10299 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
10301 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
10303 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10305 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
10307 (__DIRENT_VERSION): New define.
10309 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10311 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
10312 Shrink __d_reserved accordingly to keep structure size.
10313 (dirfd): Declare external.
10315 2001-08-29 Joel Sherrill <joel@OARcorp.com>
10317 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
10319 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10321 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
10322 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
10323 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
10324 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
10325 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
10326 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
10327 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
10328 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
10329 Add conditional compilation to avoid HW FPU instructions
10330 when compiled for soft-float.
10332 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10334 * Makefile.am: Add check for ln failing when creating libg.a
10335 so that cp gets used as a backup.
10336 * Makefile.in: Regenerated.
10338 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10340 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
10341 No longer include time.h. Add struct __tm to use for
10342 _localtime_buf in the reentrant structure. Add a
10343 _NULL definition to use in initializing the reentrant struct.
10344 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
10345 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
10347 * libc/include/sys/unistd.h: Include <sys/_types.h>.
10348 * libc/time/lcltime.c (localtime): Cast the reentrant struct
10349 _localtime_buf to be struct tm *.
10351 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
10353 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
10354 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
10356 * libc/sys/h8300hms/syscalls.c: Include errno.h.
10357 (_unlink): New stub function.
10359 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
10361 * libc/include/sys/errno.h: Add a cautionary comment.
10363 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
10365 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
10366 for SIZE_SZ so that alignment ends up a minimum of 8.
10368 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
10370 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
10373 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
10376 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
10378 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
10379 macro constants for mallopt options.
10380 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
10382 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
10384 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
10387 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
10389 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
10391 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10393 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10394 Define for little endian ARMs.
10396 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10397 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10399 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10401 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
10403 2001-06-11 Egor Duda <deo@logos-m.ru>
10405 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10406 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10407 initialized memory region. Platform can define COMPACT_CTYPE
10408 to avoid allocation of the additional 128 bytes of data.
10409 Add pointer to _ctype_ array. Always initialize all _ctype_
10412 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10414 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10417 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10419 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10421 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10423 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10424 matching, non-word alignment, and the length is <= 4 but more than
10425 enough to move them over a word boundary.
10426 Add comments explaining what each instruction does.
10428 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10430 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
10431 * libc/include/sys/unistd.h: Ditto.
10433 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10435 * libc/string/strrchr.c: Use strchr for the speed improvements.
10437 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10439 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10440 real file systems, let __smakebuf() determine if line buffering
10441 should be used for stdout.
10443 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10445 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10447 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10449 * libc/include/stdlib.h: Add prototype for _strtod_r.
10451 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10453 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10454 * libc/stdio/vprintf.c (_vprintf_r): new function
10455 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10456 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10457 _DEFUN, and call _vfprintf_r, not vfprintf.
10458 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10459 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10460 _DEFUN, and call _vfprintf_r, not vfprintf.
10462 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
10464 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10465 Cygwin X_OK definitions in sys/file.h.
10467 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10469 * libc/include/sys/time.h: Define timercmp and other macros for
10472 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10474 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10475 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10476 --enable-malloc-debugging selected.
10477 * aclocal.m4 configure: Regenerated.
10478 libm/aclocal.m4 libm/configure: Ditto.
10479 * libc/aclocal.m4 libc/configure: Ditto.
10480 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10481 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10482 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10483 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10484 * doc/aclocal.m4 doc/configure: Ditto.
10486 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10488 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10490 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10491 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10492 function prototypes.
10493 (_fscanf_r, _sscanf_r): Ditto.
10494 * libc/include/stdlib.h: Added _strtod_r prototype.
10495 * libc/stdio/Makefile.am: Add new v*scanf functions.
10496 * libc/stdio/Makefile.in: Regenerate.
10497 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10498 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10499 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10500 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10501 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10502 (_sscanf_r): New routine.
10503 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10504 with __svfscanf_r prototype.
10505 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10507 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10508 structure as argument as calls reentrant versions of helper functions
10509 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10510 to _strtol_r and _strtod_r respectively.
10511 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10512 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10514 * libc/stdio/vscanf.c: New file.
10515 * libc/stdio/vsscanf.c: Ditto.
10517 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
10519 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10520 Define daylight to _daylight if it is not defined
10521 Prepare a variable export of timezone based on timezonevariable.
10522 (Cannot be used with the timezone() function.)
10524 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10526 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10527 Correct the numerical values.
10529 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
10531 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10533 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10535 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10536 on case insensitve file systems.
10538 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
10540 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10542 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10543 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10544 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10546 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
10548 * libc/include/machine/ieeefp.h: Comment about new configuration
10549 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10550 * libm/common/fdlib.h: Define new macros for testing floats.
10551 * libm/common/sf_*: Use them.
10552 * libm/math/ef_*: Likewise.
10553 * libm/math/sf_*: Likewise.
10555 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10557 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10558 prolog to by-pass possible assembler error.
10560 2001-03-21 Egor Duda <deo@logos-m.ru>
10562 Allow building internal stubs for non-reentrant syscalls
10563 if target provides its own malloc
10564 * libc/reent/reent.c (errno): Move definition here.
10565 * libc/reent/sbrkr.c: From here.
10567 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10569 * libc/include/sys/types.h (BSD int typedefs): Guard with
10570 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10571 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10573 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10574 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10576 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10578 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10579 _PC_POSIX_SECURITY constants for Cygwin.
10581 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10583 * libc/sys/cygwin/crt0.c: Add copyright hint.
10584 * libc/sys/cygwin/sys/dirent.h: Ditto.
10585 * libc/sys/cygwin/sys/param.h: Ditto.
10586 * libc/sys/cygwin/sys/utime.h: Ditto.
10587 * libc/sys/cygwin/sys/utmp.h: Ditto.
10589 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10591 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10592 equivalent to LONGINT.
10594 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
10596 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10597 jmpbuf on MIPS64 targets.
10598 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
10600 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10602 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
10605 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10607 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10608 For RTEMS, define to be ssize_t. Default to int if not defined.
10609 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10610 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10611 * libc/stdio/local.h (__sread, __swrite): Likewise.
10612 * libc/include/sys/reent.h (_read, _write): Likewise.
10613 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10614 * libc/syscalls/sysread.c (read): Likewise.
10615 * libc/syscalls/syswrite.c (write): Likewise.
10617 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10619 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
10621 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10623 * libc/include/sys/stat.h: Use special defines for executable stat bits
10624 when compiling for Cygwin.
10625 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10628 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10630 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10631 of strtok_r is always defined.
10633 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10635 * libc/include/machine/ansi.h: New dummy header file.
10637 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10639 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10640 changed the copyright information to allow free modification of the
10641 file with no reference to "copying.dj".
10642 * libc/include/sys/stat-dj.h: Ditto.
10643 * libc/machine/i386/setjmp.S: Ditto.
10644 * libc/sys/h8300hms/sys/file.h: Ditto.
10645 * libc/sys/sysmec/access.c: Ditto.
10646 * libc/sys/sysnecv850/access.c: Ditto.
10647 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10648 * libc/stdlib/getenv_r.c: Ditto.
10649 * libc/stdlib/putenv_r.c: Ditto.
10650 * libc/stdlib/setenv_r.c: Ditto.
10651 * libc/stdlib/getenv.c: Removed DJ reference since any possible
10652 modifications will now be in the _r version of this file.
10653 * libc/stdlib/putenv.c: Ditto.
10654 * libc/stdlib/setenv.c: Ditto.
10655 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
10656 valid. Added a reference to DJ's web page that contains his address.
10657 * libc/sys/go32/*.s: Removed references to DJ's old address.
10658 * libc/sys/go32/*.c: Ditto.
10659 * libc/sys/go32/*.h: Ditto.
10660 * libc/sys/go32/*.S: Ditto.
10661 * libc/sys/go32/sys/*.h: Ditto.
10663 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
10665 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
10666 HAVE_FCNTL flag check.
10667 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
10668 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
10670 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
10672 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
10674 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10676 * libc/include/stdlib.h: Add declarations of rand48 functions and
10677 their reentrant versions.
10678 * libc/include/sys/reent.h: Move macros from rand48.h. Add
10679 struct _rand48 for shared parameters of rand48 functions.
10680 (struct _reent): Add a variable _r48 of struct _rand48.
10681 (_REENT_INIT): Add _r48 initialization.
10682 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10683 (CHEWOUT_FILES): Add rand48.def.
10684 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10685 * libc/stdlib/Makefile.in: Regenerated.
10686 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10688 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10689 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10690 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10691 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10692 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10693 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10694 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10695 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10696 * libc/stdlib/rand48.c (__dorand48): Ditto.
10697 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10698 parameters into macros referring them in the reentrant structure.
10700 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10702 * libc/include/sys/stat.h: Add mknod for Cygwin now that
10703 Cygwin definition has correct prototype.
10705 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10707 * libc/include/sys/stat.h: Must revert change for mknod
10708 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
10711 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10713 * libc/include/stdio.h: Revert putw prototype.
10715 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
10717 * libc/include/grp.h: add prototype for initgroups.
10718 * libc/include/stdio.h: fix prototype for putw.
10719 * libc/include/sys/signal.h: add prototype for killpg.
10720 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
10721 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
10722 vhangup and remove duplicate sysconf prototype.
10724 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
10726 * libc/sys/rtems/sys/types.h: Removed.
10728 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
10730 * libc/include/locale.h: add LC_MESSAGES definition
10732 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10734 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
10736 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
10737 __setup_argv_and_call_main): New.
10739 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
10741 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
10743 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
10744 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
10745 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
10746 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
10748 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
10750 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
10751 compiling under Cygwin.
10753 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
10755 * libc/include/math.h (signgam): Change to errno-like solution
10756 using a function to return the address of the real signgam.
10757 * libc/reent/signgam.c: New file containing __signgam().
10758 * libc/reent/Makefile.am: Added signgam.c to list of files.
10759 * libc/reent/Makefile.in: Regenerated.
10761 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
10763 * libc/sys/sh/syscalls.c (_times): New.
10765 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
10766 * libc/sys/sh/syscalls.c (_gettimeofday): New.
10768 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10770 * libc/include/math.h (signgam): Regress previous fix as
10771 it does not handle programs with extern int signgam in them.
10773 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10775 * libc/include/math.h (signgam): Changed to a macro refering to
10776 its location in the reentrant structure.
10778 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10780 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
10781 that suppressed . for %.0f, 0.1. Check now looks if there
10782 are padding zeroes (expt) in addition to any digits (ndig) to
10785 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
10787 * libc/sys/arc/Makefile.am: New file.
10788 * libc/sys/arc/Makefile.in: Ditto.
10789 * libc/sys/arc/aclocal.m4: Ditto.
10790 * libc/sys/arc/configure: Ditto.
10791 * libc/sys/arc/configure.in: Ditto.
10792 * libc/sys/arc/crt0.S: Ditto.
10793 * libc/sys/arc/isatty.c: Ditto.
10794 * libc/sys/arc/mem-layout.c: Ditto.
10795 * libc/sys/arc/sbrk.c: Ditto.
10796 * libc/sys/arc/syscalls.c: Ditto.
10797 * libc/sys/arc/sys/syscall.h: Ditto.
10799 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
10801 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
10803 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
10805 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
10807 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
10809 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
10811 2001-01-09 Nick Clifton <nickc@redhat.com>
10813 * configure.host (v859): Remove unsupported compiler options.
10815 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
10817 * src/newlib/configure.host (*-*-rtems*): add printf long long
10820 2000-12-19 Graham Stott <grahams@redhat.com>
10822 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
10824 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10826 * configure.host: Turn on long double I/O for Cygwin.
10828 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10830 * MAINTAINERS: Removed Ranjith.
10831 * NEWS: Updated for 1.9.0.
10833 * acinclude.m4: Updated to release 1.9.0.
10834 * aclocal.m4 configure
10835 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10836 libc/machine/aclocal.m4 libc/machine/configure
10837 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
10838 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
10839 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
10840 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
10841 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
10842 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
10843 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
10844 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
10845 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
10846 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
10847 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
10848 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
10849 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
10850 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
10851 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
10852 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
10853 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
10854 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
10855 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
10856 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
10857 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10858 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10859 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10860 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
10861 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10862 libc/sys/aclocal.m4 libc/sys/configure
10863 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10864 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10865 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10866 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10867 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10868 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10869 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10870 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10871 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
10872 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10873 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10874 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10875 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10876 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10877 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10878 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10879 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10880 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10881 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10882 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10883 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10884 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10885 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10886 libm/aclocal.m4 libm/configure: Regenerated.
10888 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10890 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
10891 when __CYGWIN__ is defined.
10893 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10895 * libc/stdlib/ldtoa.c (_ldcheck): New routine
10896 that categorizes a long double as NaN, Infinity, or other.
10897 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
10898 isinfl and isnanl static routines which were i386-specific. Changed
10899 calls to the two removed routines to a single _ldcheck call.
10900 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
10902 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10904 * Makefile.am: Fixed install-data-local target to use
10905 $(mkinstalldirs) for the installed header files to ensure
10906 the directories exist before copying.
10907 * Makefile.in: Regenerated.
10909 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
10911 * libc/include/sys/unistd.h: Restored Cygwin _SC
10912 constants and moved new constants appropriately
10913 so Cygwin will build.
10915 2000-12-11 Joel Sherrill <joel@OARcorp.com>
10917 * Merge RTEMS specific .h files into main libc/include.
10918 * libc/sys/rtems/include/signal.h: Removed.
10919 * libc/sys/rtems/include/time.h: Removed.
10920 * libc/sys/rtems/sys/features.h: Removed.
10921 * libc/sys/rtems/sys/sched.h: Removed.
10922 * libc/sys/rtems/sys/siginfo.h: Removed.
10923 * libc/sys/rtems/sys/signal.h: Removed.
10924 * libc/sys/rtems/sys/time.h: Removed.
10925 * libc/sys/rtems/sys/times.h: Removed.
10926 definitions for time_t and clock_t since these are
10927 no longer in time.h.
10928 * libc/include/pthread.h: New file.
10929 * libc/include/sys/sched.h: New file.
10930 * libc/include/sys/features.h: New file.
10931 * libc/include/time.h: Removed duplicate definition of clock_t
10932 and time_t, get them from <sys/types.h> instead. Add prototypes
10933 for POSIX clock and timer functionality.
10934 * libc/sys/linux/sys/types.h: Changed to include
10935 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
10936 * libc/include/sys/signal.h: Add more complete set of POSIX
10937 signal functionality including real-time and threaded signals.
10938 * libc/include/sys/types.h: Add clock_t, time_t, struct
10939 timespec, and struct itimerspec. Centralizing these makes
10940 things cleaner. RTEMS uses 64-bit dev_t.
10941 Added numerous primitive definitions
10942 for pthreads including macros, pthread_attr_t,
10943 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
10944 pthread_once_t, and pthread_t.
10945 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
10946 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
10947 Feature flags removed and moved to new file <sys/features.h>.
10948 Full set of POSIX sysconf() constants
10950 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
10952 * configure.host: Added x86 linux target.
10953 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
10954 definitions provided if not already defined.
10955 * libc/sys/linux/crt0.c: New file.
10956 * libc/sys/linux/Makefile.am: Ditto.
10957 * libc/sys/linux/Makefile.in: Ditto.
10958 * libc/sys/linux/aclocal.m4: Ditto.
10959 * libc/sys/linux/brk.c: Ditto.
10960 * libc/sys/linux/configure: Ditto.
10961 * libc/sys/linux/configure.in: Ditto.
10962 * libc/sys/linux/getoptlong.c: Ditto.
10963 * libc/sys/linux/ids.c: Ditto.
10964 * libc/sys/linux/inode.c: Ditto.
10965 * libc/sys/linux/io.c: Ditto.
10966 * libc/sys/linux/linux.c: Ditto.
10967 * libc/sys/linux/process.c: Ditto.
10968 * libc/sys/linux/realpath.c: Ditto.
10969 * libc/sys/linux/select.c: Ditto.
10970 * libc/sys/linux/signal.c: Ditto.
10971 * libc/sys/linux/systat.c: Ditto.
10972 * libc/sys/linux/termios.c: Ditto.
10973 * libc/sys/linux/time.c: Ditto.
10974 * libc/sys/linux/wait.c: Ditto.
10975 * libc/sys/linux/include/alloca.h: Ditto.
10976 * libc/sys/linux/include/getopt.h: Ditto.
10977 * libc/sys/linux/include/stdint.h: Ditto.
10978 * libc/sys/linux/include/unistd.h: Ditto.
10979 * libc/sys/linux/sys/cdefs.h: Ditto.
10980 * libc/sys/linux/sys/dirent.h: Ditto.
10981 * libc/sys/linux/sys/errno.h: Ditto.
10982 * libc/sys/linux/sys/fcntl.h: Ditto.
10983 * libc/sys/linux/sys/file.h: Ditto.
10984 * libc/sys/linux/sys/ioctl.h: Ditto.
10985 * libc/sys/linux/sys/resource.h: Ditto.
10986 * libc/sys/linux/sys/signal.h: Ditto.
10987 * libc/sys/linux/sys/stat.h: Ditto.
10988 * libc/sys/linux/sys/syscall.h: Ditto.
10989 * libc/sys/linux/sys/termios.h: Ditto.
10990 * libc/sys/linux/sys/time.h: Ditto.
10991 * libc/sys/linux/sys/types.h: Ditto.
10992 * libc/sys/linux/sys/utmp.h: Ditto.
10993 * libc/sys/linux/sys/utsname.h: Ditto.
10994 * libc/sys/linux/sys/wait.h: Ditto.
10996 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10998 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
10999 can be a relative path to $(top_srcdir)/install.sh so ensure the
11000 autoconf detected settings are properly passed recursively.
11001 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11002 properly to subdirectories.
11003 * Makefile.in: Regenerated.
11005 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11007 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11008 a floating point register unless really printing a floating
11011 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11013 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11015 (asctoeg): Replaced alloca call with stack array and malloc
11016 when storage exceeds reasonable limit.
11017 (e53toe): Fixed einfin calls missing ldp parameter.
11018 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11020 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11023 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11025 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11027 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11028 * libc/stdlib/Makefile.in: Regenerated.
11029 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11030 * libc/stdio/vfieeefp.h: Added long double bit structures.
11031 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11032 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11033 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11034 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11035 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11036 _strtold routines used for conversions between character
11039 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11041 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11043 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11045 * libc/include/machine/time.h: RTEMS systems can configure clock
11046 tick rate so use sysconf() to ask.
11048 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11050 * libc/include/sys/times.h: Add reference to POSIX standard.
11052 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11054 * libc/include/sys/time.h: Added BSD timer manipulation macros
11055 used by RTEMS code.
11057 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11059 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11060 referenced by code generated by gcc 2.8.1.
11061 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
11064 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11066 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
11068 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11070 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
11072 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11074 * configure.host (or16, or32): New entries for OpenCores
11076 (*-*-rtems*): Add -DNO_EXEC.
11078 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
11080 * libc/include/sys/errno.h: Added comments on many error numbers.
11081 * libc/string/strerror.c: Added some more strings.
11083 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
11085 * libc/sys/sh/syscalls.c (_link): New stub.
11087 2000-11-29 Nick Clifton <nickc@redhat.com>
11089 * configure.host: Add xscale target.
11090 * libc/machine/xscale: New directory.
11091 * libc/machine/xscale/Makefile.am: New file.
11092 * libc/machine/xscale/Makefile.in: New file.
11093 * libc/machine/xscale/aclocal.m4: New file.
11094 * libc/machine/xscale/configure: New file.
11095 * libc/machine/xscale/configure.in: New file.
11096 * libc/machine/xscale/memchr.S: New file.
11097 * libc/machine/xscale/memcmp.S: New file.
11098 * libc/machine/xscale/memcpy.S: New file.
11099 * libc/machine/xscale/memmove.S: New file.
11100 * libc/machine/xscale/memset.S: New file.
11101 * libc/machine/xscale/strchr.S: New file.
11102 * libc/machine/xscale/strcmp.S: New file.
11103 * libc/machine/xscale/strcpy.S: New file.
11104 * libc/machine/xscale/strlen.S: New file.
11106 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11108 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
11109 avoid compiler warnings.
11111 2000-11-22 Michael Meissner <meissner@redhat.com>
11113 * libc/posix/execl.c (execl): Don't reference environ directly,
11114 reference it only via a static pointer to avoid problems with some
11115 shared library systems and with different uses of small data where
11116 the user specifies his own version of environ.
11117 * libc/posix/execv.c (execv): Ditto.
11118 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
11119 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
11120 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
11122 * libc/stdlib/getenv.c (environ): Delete unused reference to
11125 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
11127 * libc/stdlib/system.c: Ditto.
11129 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
11131 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
11132 including windows headers.
11134 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
11136 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
11137 * libc/include/dirent.h: Added definition of MAXNAMLEN if
11138 not defined by sys/dirent.h.
11139 * libc/posix/execvp.c: Added include of dirent.h to get
11140 MAXNAMLEN value which used to be in unistd.h.
11142 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11144 * libc/include/sys/types.h: Change type of i to `size_t' in
11145 FD_ZERO macro to avoid compiler warnings.
11147 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
11149 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
11150 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
11152 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11154 * libc/include/sys/unistd.h: Add defines for sysconf values
11155 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
11158 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
11160 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
11161 declarations for __CYGWIN__.
11163 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
11165 * libc/signal/signal.c (__sigtramp_r): ISO C requires
11166 case labels to be integral constant expressions, so
11167 use an if/else tree instead.
11168 (_raise_r): Likewise.
11170 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
11172 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
11173 clipping patch from e-mail reader.
11175 2000-09-13 Will Cohen <wcohen@redhat.com>
11177 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
11178 Added return value 0.
11179 (_longjmp): Allow longjmp to return value of second argument
11182 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
11184 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
11185 inline code to prevent having to include another header file.
11187 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
11189 * Makefile.am: Fix space vs. tab problem in install-data-local.
11190 * Makefile.in: Regenerate.
11192 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
11194 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
11195 (_EXPARM): New macro for defining a function parameter.
11196 * libc/include/stdlib.h: Use _EXPARM.
11197 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
11199 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
11201 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
11202 required, as documented in the gnu coding standards.
11203 * Makefile.in: Regenerate.
11205 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
11207 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
11208 make O_NDELAY and O_NONBLOCK have the same value.
11210 2000-08-30 Kazu Hirata <kazu@hxi.com>
11212 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
11214 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
11216 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
11217 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
11218 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
11221 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
11223 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
11224 * libc/include/string.h: Don't include <sys/types.h>,
11225 as it causes really bad namespace pollution. Don't declare
11226 swab(), it is properly declared in unistd.h.
11228 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
11230 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
11231 (broken) support for non-existent /etc/passwd field "comment".
11233 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11235 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
11236 only if _DIRENT_HAVE_D_NAMLEN is defined.
11237 (alphasort): aligned prototype with
11238 libc/sys/cygwin/sys/dirent.h and simplified function body.
11239 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
11240 long telldir (DIR *) as mentioned in annex B of POSIX.1
11242 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11244 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
11245 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
11246 Added __CLI and __STI macros (controlled via
11247 _I386MACH_ALLOW_HW_INTERRUPTS macro).
11248 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
11249 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
11250 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
11251 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
11252 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
11253 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
11254 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
11255 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
11256 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
11257 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
11258 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
11259 for all global entry points.
11260 * libc/machine/i386/setjmp.S: removed code replicated in
11261 libc/machine/i386/i386mach.h and included i386mach.h instead;
11262 Use __CLI and __STI instead of cli and sti.
11264 2000-08-25 DJ Delorie <dj@redhat.com>
11266 * libc/include/sys/unistd.h (environ): this one isn't from the
11269 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
11271 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
11272 environ when compiling under cygwin since it is already declared in
11275 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11277 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
11278 like x << y-z to the equivalent x << (y-z).
11279 (d2b): changed if statements with assignment to perform the
11280 assignment prior to the if check.
11281 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
11282 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
11283 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
11284 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
11286 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
11287 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
11289 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
11291 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
11292 clarify && and || precendence (and to remove pascalism).
11293 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
11294 * libm/math/s_infconst.c: added another pair of braces to all
11295 initializers for __infinity (need three: for __infinity[1] array,
11296 for union __dmath, and for i[2]).
11298 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11300 * libc/stdlib/abort.c: changed description: uses "raise" instead of
11301 "getpid" and "kill"; added: uses "write" and "_exit".
11302 Also included unistd.h for "_exit" prototype.
11303 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
11304 reent.h for "_fork_r" and "_wait_r" prototypes.
11305 (do_system): changed extern char *environ[] to POSIX-friendly
11306 extern char **environ.
11307 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
11309 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
11310 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
11311 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
11312 * libc/reent/openr.c: included fcntl.h for "open" prototype.
11313 * libc/reent/signalr.c: included signal.h for "kill" prototype,
11314 unistd.h for "getpid" prototype.
11315 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
11316 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
11317 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
11318 prototype. Also included stdlib.h for "abort", string.h for
11319 "strdup" and "strncmp" prototypes.
11320 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
11321 "strncpy", unistd.h for "read" and "close" prototypes.
11322 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
11323 "strcat" prototypes.
11325 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
11327 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
11328 used later (ifdef __SCLE)
11329 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
11330 used later (ifdef MB_CAPABLE)
11331 * libc/string/memset.c (memset): removed unused variables "count"
11332 and "unaligned_addr"
11333 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
11334 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
11335 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
11338 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11340 * libc/stdlib/envlock.c: changed documented "__env_lock" and
11341 "__env_unlock" prototype from "void *" or "char *" to
11342 "struct _reent *" to match real function. Also added include
11344 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
11345 "__malloc_unlock" prototype from "void *" or "char *" to
11346 "struct _reent *" to match real function.
11347 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
11348 prototypes (for getenv_r.c and setenv_r.c).
11350 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
11352 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
11353 and prototype in cygwin's utmp.h
11355 2000-08-16 Eric Fifer <efifer@sanwaint.com>
11357 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
11359 2000-08-09 Nick Clifton <nickc@cygnus.com>
11361 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
11362 epilogue and to allow the functions to be used in a Thumb based
11365 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
11367 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
11368 so size of 0 results in nothing being written to string.
11369 Also fixed code so that when size is non-zero, there is only
11370 a maximum of size - 1 characters written to the array and
11371 a nul terminator is appended at the end.
11372 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
11374 2000-08-01 DJ Delorie <dj@redhat.com>
11376 * libc/include/sys/config.h: define __IMPORT appropriately
11377 * libc/include/ctype.h (_ctype_): use __IMPORT
11378 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
11379 * libc/include/math.h (__mb_cur_max): ditto
11380 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
11381 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
11382 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
11383 * libc/include/unistd.h (environ): ditto
11385 2000-07-28 Michael Meissner <meissner@redhat.com>
11387 * libc/include/math.h (__infinity): Declare as an array without
11388 bounds to get around small data support. Rewrite Cygwin support
11389 to be more general.
11390 * libm/math/s_infconst.c (__infinity): Ditto.
11391 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11393 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11395 * libc/include/math.h: Use appropriate dll import linkage for
11396 __infinity under Cygwin.
11398 2000-07-13 DJ Delorie <dj@cygnus.com>
11400 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11402 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11404 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11405 to argument list for AngelSWI_Reason_GetCmdLine.
11407 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11409 * configure.host: Add support for AVR target.
11410 * libc/include/machine/ieeefp.h: Likewise.
11411 * libc/include/sys/config.h: Likewise.
11413 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11415 * README: Newlib 1.8.2 must be built in a separate directory
11418 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11420 * libc/include/sys/reent.h (_rand_next): Added __extension__
11421 qualifier as long long type is not strict ANSI.
11422 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11423 to long long constant.
11425 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11427 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11428 `setegid' provided by Cygwin.
11430 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11432 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11433 account for Cygwin.
11435 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11437 * libc/include/sys/reent.h (_rand_next): Changed to
11438 unsigned long long and moved to end of _reent struct in _new union.
11439 (_REENT_INIT): Changed to move _rand_next initialization.
11440 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11441 linear congruential algorithm that is used by DJGPP.
11443 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11445 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11446 * libc/include/sys/config.h: Define __RAND_MAX.
11448 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11450 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11453 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11455 * libc/include/string.h: Work around problem with strsignal and gdb.
11457 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11459 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11460 * libc/include/malloc.h: Ditto.
11461 * libc/include/process.h: Ditto.
11462 * libc/include/stdio.h: Ditto.
11463 * libc/include/stdlib.h: Ditto.
11464 * libc/include/time.h: Ditto.
11465 * libc/include/machine/setjmp.h: Ditto.
11466 * libc/include/sys/errno.h: Ditto.
11467 * libc/include/sys/signal.h: Ditto.
11468 * libc/include/sys/stat.h: Ditto.
11469 * libc/include/sys/time.h: Ditto.
11470 * libc/include/sys/unistd.h: Ditto.
11471 * libc/include/string.h: Ditto. strsignal should return a const char *.
11473 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11475 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11476 * libm/common/s_log1p.c (log1p): Likewise.
11477 * libm/common/s_scalbn.c (scalbn): Likewise.
11478 * libm/math/e_log.c: Likewise.
11479 * libm/math/e_asin.c: Likewise.
11480 * libm/math/ef_asin.c: Likewise.
11481 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11482 * libm/math/e_j1.c (pone, qone): Likewise.
11483 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11484 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11485 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11486 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11487 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11488 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11490 2000-05-19 DJ Delorie <dj@cygnus.com>
11492 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11493 (__sread): always read in binary mode
11494 (__swrite): always write in binary mode
11495 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11496 compatibility issues with different dll versions
11497 * libc/stdio/fopen.c: use __stextmode
11498 * libc/stdio/fdopen.c: ditto
11499 * libc/stdio/freopen.c: ditto
11500 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11501 * libc/stdio/local.h: declare __stextmode
11503 2000-05-18 DJ Delorie <dj@cygnus.com>
11505 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
11507 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11509 * libc/include/ctype.h: Changed tolower and toupper macros
11510 to use __extension__ to prevent pedantic warnings.
11512 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11514 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11517 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11519 * libc/include/machine/ieeefp.h: Add ia64 support.
11520 * configure.host: Likewise.
11522 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11524 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11525 month is now padded with space, not zero. This now conforms to
11528 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11530 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11531 host or network path") used by cygwin. Add some comments.
11533 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11535 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11536 endings" for Cygwin.
11537 (__sgetc): convert line endings if needed
11539 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11540 * libc/stdio/fopen.c (_fopen_r): ditto
11541 * libc/stdio/freopen.c (freopen): ditto
11542 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11543 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11545 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11547 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11548 post-increment when it is worth it, spacewise.
11550 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11552 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11553 * libc/stdio/findfp.c (std): Added declaration of flags and file.
11554 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
11556 * libc/stdio/putchar.c (putchar): Added return statement.
11557 * libc/stdio/refill.c (lflush): Added correct parentheses.
11558 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
11559 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
11560 prints long value to use l qualifier.
11561 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11562 messages and initialized local values: ilim, ilim1, and spec_case.
11563 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11564 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11565 * libc/stdlib/mprec.c: Ditto.
11566 * libc/stdlib/setenv_r.c: Ditto.
11567 * libc/stdlib/strtod.c: Ditto.
11568 * libc/stdlib/strtol.c: Ditto.
11569 * libc/stdlib/strtoul.c: Ditto.
11570 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11571 * libm/common/sf_log1p.c: Ditto.
11572 * libm/common/sf_scalbn.c: Ditto.
11573 * libm/math/ef_log.c: Ditto.
11575 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11577 * libc/posix/execvp.c (execvp): Check path for
11580 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11582 * libc/include/sys/unistd.h: Add prototypes for
11583 fchmod, fchown, lchown.
11585 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11587 * acinclude.m4: Changed release to 1.8.2.
11588 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11589 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11590 libc/machine/configure libc/machine/a29k/aclocal.m4
11591 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11592 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11593 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11594 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11595 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11596 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11597 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11598 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11599 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11600 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11601 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11602 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11603 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11604 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11605 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11606 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11607 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11608 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11609 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11610 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11611 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11612 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11613 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11614 libc/machine/z8k/configure libc/sys/aclocal.m4
11615 libc/sys/aclocal.m4 libc/sys/configure
11616 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11617 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11618 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11619 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11620 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11621 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11622 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11623 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11624 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11625 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11626 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11627 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11628 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11629 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11630 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11631 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11632 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11633 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11634 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11635 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11636 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11637 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11638 libm/aclocal.m4 libm/configure: Regenerated.
11640 2000-03-24 Nick Clifton <nickc@cygnus.com>
11642 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11643 (do_AngelSWI): Add "cc" to list o registers clobbered.
11645 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11647 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
11648 information to be clobbered by an Angel C library support syscall.
11650 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11652 * libc/stdlib/envlock.c: Fixed comment typo.
11654 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11656 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
11657 code to update nread as each character is processed instead
11658 of using buffer contents which throw away leading zeroes.
11660 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
11662 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
11664 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
11666 * libc/include/string.h: Include <sys/types.h>.
11668 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11670 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
11671 with XSH5, not SVID.
11673 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11675 * libc/include/string.h: Changed last argument back to ssize_t
11676 to make it compatible with XPG4 definition which is
11677 defined in <unistd.h>. There is a conflict in the SVID 3
11678 and XPG4 definitions and newlib will settle with XPG4.
11679 * libc/string/swab.c: Ditto.
11681 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11683 * libc/include/string.h: Changed last argument to size_t.
11684 * libc/string/swab.c: Changed last argument to size_t.
11686 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11688 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11689 (CHEWOUT_FILES): Added unlinkr.def.
11690 * libc/reent/Makefile.in: Rebuilt.
11691 * libc/sys.tex: Include unlinkr.def.
11692 * libc/reent/linkr.c (_unlink_r): Moved to...
11693 * libc/reent/unlinkr.c: ... new file.
11695 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11697 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11698 (CHEWOUT_FILES): Added swab.def.
11699 * libc/string/Makefile.in: Rebuilt.
11700 * libc/string/string.tex: Include swab.def.
11701 * libc/include/string.h (swab): Declare.
11702 * libc/string/swab.c: New file.
11704 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11706 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
11707 (CHEWOUT_FILES): Added getw.def and putw.def.
11708 * libc/stdio/Makefile.in: Rebuilt.
11709 * libc/stdio/stdio.tex: Include getw.def and putw.def.
11710 * libc/stdio/getw.c: New file.
11711 * libc/stdio/putw.c: New file.
11713 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11715 * libc/stdio/flags.c (__sflags): Added check that mode[1]
11716 is non-null before looking at mode[2].
11718 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11720 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
11721 * libm/mathfp/sf_atan.c: Ditto.
11723 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
11725 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
11727 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11729 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
11732 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11734 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
11735 call prior to calling _VFPRINTF_R so reentrant data area is set.
11736 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
11738 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11740 * libc/stdio/vfscanf.c (limits.h): #include.
11741 (MAX_LONG_LEN): #define.
11742 (__svfscanf): Handle floating point numbers with arbitrary amounts
11745 2000-02-15 Nick Clifton <nickc@cygnus.com>
11747 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
11748 zero. Set the blocksize to 1024/
11750 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11752 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
11753 with line buffering.
11755 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11757 * acinclude.m4: Changed include directory for winsup headers.
11758 * aclocal.m4 configure libc/aclocal.m4
11759 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
11760 libc/locale/Makefile.in libc/machine/aclocal.m4
11761 libc/machine/configure libc/machine/a29k/aclocal.m4
11762 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11763 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11764 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11765 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11766 libc/machine/fr30/configure
11767 libc/machine/h8300/aclocal.m4
11768 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11769 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11770 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11771 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11772 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11773 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11774 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11775 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11776 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11777 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11778 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11779 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11780 libc/machine/powerpc/configure
11781 libc/machine/sh/aclocal.m4
11782 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11783 libc/machine/sparc/configure
11784 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11785 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11786 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11787 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11788 libc/misc/Makefile.in libc/posix/Makefile.in
11789 libc/reent/Makefile.in
11790 libc/signal/Makefile.in
11791 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
11792 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11793 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
11794 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
11795 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
11796 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11797 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11798 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11799 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11800 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11801 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11802 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11803 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11804 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
11805 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
11806 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
11807 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
11808 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
11809 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
11810 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
11811 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
11812 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
11813 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
11814 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
11815 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
11816 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
11817 libm/configure: Regenerated.
11819 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
11821 * libc/stdlib/putenv_r.c (_putenv_r): New file.
11822 * libc/stdlib/strdup_r.c (_strdup_r): New file.
11823 * libc/include/string.h: Added _strdup_r.
11824 * libc/stdlib/putenv.c: Added call to reentrant version.
11825 * libc/stdlib/strdup.c: Ditto.
11826 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
11827 * libc/include/stdlib.h: Ditto.
11828 * libc/stdlib/Makefile.in: Regenerated.
11829 * libc/string/Makefile.in: Regenerated.
11830 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
11831 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
11832 management calls to reentrant versions.
11833 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
11834 * libc/stdlib/wctomb.c: Ditto.
11835 * libc/stdlib/mblen.c: Ditto.
11836 * libc/stdlib/mbstowcs.c: Ditto.
11837 * libc/stdlib/mbtowc.c: Ditto.
11838 * libc/stdlib/getenv.c: Ditto.
11839 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
11842 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
11844 patch from Corinna Vinschen <corinna@vinschen.de>
11845 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
11847 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
11849 * libm/mathfp/s_atangent.c: Fix exponent calculation.
11850 * libm/mathfp/s_ldexp.c: Ditto.
11851 * libm/mathfp/sf_atangent.c: Ditto.
11852 * libm/mathfp/sf_ldexp.c: Ditto.
11854 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11856 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
11857 * libc/include/locale.h: define NULL to be 0.
11859 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
11861 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
11864 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
11866 * libc/machine/mn10300/setjmp.S: Handle am33.
11868 1999-11-26 Nick Clifton <nickc@cygnus.com>
11870 * libc/sys/arm/syscalls.c: Add function prototypes.
11871 (stack_ptr): Move declaration before function definitions.
11873 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11875 * NEWS: Updated version information.
11878 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
11880 * libc/machine/i386/strchr.S: Fixed alignment test.
11882 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
11884 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
11886 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
11888 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
11889 ensuring that there is space between the two.
11891 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
11893 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
11896 1999-10-08 Vadim Egorov <egorovv@1c.ru>
11898 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
11901 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11903 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
11904 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
11906 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
11907 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
11909 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
11912 1999-09-13 DJ Delorie <dj@cygnus.com>
11914 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
11917 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11919 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
11920 also note BUFSIZ as its size.
11922 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
11924 * configure.host: Corrected feature defines for RTEMS.
11925 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
11926 * libc/include/sys/stat.h: mkfifo() should take const path arg.
11927 * libc/include/sys/unistd.h: pathconf() should take const path arg.
11928 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
11929 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
11930 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
11931 _PC_PRIO_IO, and _PC_SYNC_IO.
11932 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
11933 * libc/machine/m68k/Makefile.in: Regenerated.
11934 * libc/machine/m68k/strcpy.c: New file.
11935 * libc/machine/m68k/strlen.c: New file.
11936 * libc/stdio/tmpnam.c: Always make the returned name usable.
11937 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
11938 * libc/sys/rtems/sys/dirent.h: New file.
11939 * libc/sys/rtems/sys/types.h: Added dev_t.
11941 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
11943 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
11945 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
11947 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
11950 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
11952 patch from Jeff Johnston <jjohnstn@cygnus.com>
11953 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
11954 buffer is not in a useful state.
11956 1999-09-01 Nick Clifton <nickc@cygnus.com>
11958 * libc/sys/arm/syscalls.c (_link): Add stub.
11960 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11962 * ftell.c (ftell): Use actual position within buffer for text mode.
11963 * findfp.c (std): Initialize ptr->_bf._size.
11965 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
11967 * libc/include/sys/unistd.h: Add nice() declaration.
11969 1999-08-09 Nick Clifton <nickc@cygnus.com>
11971 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
11972 declare as a thumb function so that the disassembler will see the
11975 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11977 * libc/reent/reent.tex: Updated list of reentrant functions.
11979 1999-07-09 Michael Meissner <meissner@cygnus.com>
11981 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
11983 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
11985 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
11987 * libc/stdio/snprintf.c: New file.
11988 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
11990 * libc/stdio/vsnprintf.c: New file.
11991 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
11992 * libc/stdio/Makefile.in: Regenerated.
11994 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
11996 Patch submitted by Egor Duda <deo@logos-m.ru>:
11997 * libc/include/stdio.h: Add declarations for *nprintf.
11998 * libc/stdio/sprintf.c (snprintf): New function.
11999 (_snprintf_r): New function.
12000 * libc/stdio/vsprintf.c (vsnprintf): New function.
12001 (_vnsprintf_r): New function.
12003 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12005 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12006 * libm/Makefile.am (stmp-targetdep): Ditto.
12007 * libc/Makefile.in: Regenerated.
12008 * libm/Makefile.in: Ditto.
12010 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12012 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12013 * libm/Makefile.am (stmp-targetdep): Ditto.
12014 * libc/Makefile.in: Regenerated.
12015 * libm/Makefile.in: Ditto.
12017 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12019 * Makefile.am: Removed dependencies on all-recursive and added "."
12020 to the SUBDIRS list to prevent infinite recursion from occurring.
12021 Also removed any references to EXTRA_DATA.
12022 * libc/Makefile.am: Ditto.
12023 * libc/machine/Makefile.am: Ditto.
12024 * libc/machine/i386/Makefile.am: Ditto.
12025 * libm/Makefile.am: Ditto.
12026 * libc/sys/Makefile.am: Ditto.
12027 * Makefile.in: Regenerated.
12028 * aclocal.m4: Ditto.
12029 * configure: Ditto.
12030 * doc/Makefile.in: Ditto.
12031 * doc/aclocal.m4: Ditto.
12032 * doc/configure: Ditto.
12033 * libc/Makefile.in: Ditto.
12034 * libc/aclocal.m4: Ditto.
12035 * libc/configure: Ditto.
12036 * libc/machine/Makefile.in: Ditto.
12037 * libc/machine/aclocal.m4: Ditto.
12038 * libc/machine/configure: Ditto.
12039 * libc/machine/mn10300/Makefile.in: Ditto.
12040 * libc/machine/mn10300/aclocal.m4: Ditto.
12041 * libc/machine/mn10300/configure: Ditto.
12042 * libc/sys/Makefile.in: Ditto.
12043 * libc/sys/aclocal.m4: Ditto.
12044 * libc/sys/configure: Ditto.
12045 * libm/Makefile.in: Ditto.
12046 * libm/aclocal.m4: Ditto.
12047 * libm/configure: Ditto.
12049 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12051 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12053 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12055 * libc/include/stdlib.h: Add reentrant routines.
12056 * libc/stdlib/Makefile.am: Add reentrant routines.
12057 * libc/stdlib/Makefile.in: Ditto.
12058 * libc/stdlib/envlock.c: New file.
12059 * libc/stdlib/envlock.h: New file.
12060 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12061 * libc/stdlib/getenv_r.c: New file.
12062 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12063 * libc/stdlib/mblen_r.c: New file.
12064 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12065 * libc/stdlib/setenv_r.c: New file.
12066 * libc/stdlib/stdlib.tex: Add reentrant routines.
12068 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12070 * libc/include/sys/types.h: Define __MS_types__ whenever
12073 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12075 * libc/include/machine/ieeefp.h: Always default to little
12076 endian if Windows, regardless of architecture.
12077 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12078 regardless of architecture.
12080 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12082 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
12083 _WIN32 isn't defined.
12085 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
12087 * libm/common/s_rint.c (rint): Add volatile qualifier for
12088 intermediate value w.
12089 * libm/common/sf_rint.c (rintf): Ditto.
12091 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12093 * libc/sys/arm/syscalls.c (remap_handle): Added check to
12094 ensure that std streams are initialized before being referenced.
12096 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
12098 * README: Update reference to newlib@cygnus.com new
12099 newlib@sourceware.cygnus.com address.
12101 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
12103 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
12104 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
12105 defined, even if _WIN32 isn't defined.
12107 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
12109 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
12111 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12113 * libc/include/sys/reent.h: Change Long and ULong to __Long and
12115 * libc/stdlib/dtoa.c: Ditto.
12116 * libc/stdlib/mprec.c: Ditto.
12117 * libc/stdlib/mprec.h: Ditto.
12118 * libc/stdlib/strtod.c: Ditto.
12120 1999-04-21 Nick Clifton <nickc@cygnus.com>
12122 * configure.host (mcore): Remove mcore machine directory.
12124 1999-04-18 Nick Clifton <nickc@cygnus.com>
12126 * libc/include/machine/ieeefp.h: Add support for mcore target.
12127 * libc/include/machine/setjmp.h: Add support for mcore target.
12128 * configure.host: Add support for mcore target.
12130 1999-04-13 Mark Salter <msalter@cygnus.com>
12132 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
12133 * libc/sys/arm/syscalls.c: Added isatty.
12135 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12137 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
12138 insert zeroes after significant digits.
12140 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12142 * libc/stdio/vfprintf.c (cvt): Changed floating point
12143 cvt routine to use union used by dtoa to properly determine
12144 if the sign bit is on or not.
12145 * libc/stdio/vfieeefp.h: New file
12147 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12149 * aclocal.m4: Regenerated.
12150 * configure: Regenerated.
12152 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12154 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
12156 * libc/machine/i386/Makefile.in: Regenerated.
12158 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
12160 * acinclude.m4: Changed to work with new automake.
12161 * configure: Regenerated.
12162 * libc/machine/i386/aclocal.m4: Regenerated.
12163 * libc/machine/i386/configure: Regenerated.
12165 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
12167 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
12168 for telldir() and seekdir(). Rename unused structure element
12169 for use with these two routines.
12171 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
12173 * libc/time/mktime.c (validate_structure): Multiple fixes to
12174 code to handle cases where input fields are outside valid ranges.
12175 * libc/stdlib/div.c (div): Modified invalid rounding check.
12176 * libc/stdlib/ldiv.c (ldiv): Ditto.
12178 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
12180 * libc/machine/i386/memcpy.S: Performance rewrite.
12181 * libc/machine/i386/memmove.S: Ditto.
12182 * libc/machine/i386/i386mach.h: Added more register definitions.
12183 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
12185 * libc/include/machine/fastmath.h: Add definitions for x86
12186 fast-math routines.
12188 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12190 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
12192 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
12194 Adjust newlib headers for new Cygwin Win32 API header files:
12195 * libc/include/sys/time.h: Check _WINSOCK_H rather than
12196 _GNU_H_WINDOWS32_SOCKETS.
12197 * libc/include/sys/types.h: Ditto.
12199 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12201 *include/sys/reent.h: Add checks for size of Bigint element Long.
12202 *libc/dtoa.c: Change routines to use generic Long type.
12203 *libc/mprec.c: Change routines to use generic Long type.
12204 *libc/mprec.h: Change routines to use generic Long type.
12206 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
12208 * libc/Makefile.am: Add .def files.
12209 * libc/Makefile.in: Regenerate.
12210 * libc/e_acosh.c: Documentation update.
12211 * libc/e_atanh.c: Documentation update.
12212 * libc/e_hypot.c: Documentation update.
12213 * libc/e_remainder.c: Documentation update.
12214 * libc/er_lgamma.c: Documentation update.
12215 * libc/mathfp.tex: Documentation update.
12216 * libc/s_acos.c: Documentation update.
12217 * libc/s_atan.c: Documentation update.
12218 * libc/s_atan2.c: Documentation update.
12219 * libc/s_cosh.c: Documentation update.
12220 * libc/s_fmod.c: Documentation update.
12221 * libc/s_isnan.c: Documentation update.
12222 * libc/s_log10.c: Documentation update.
12223 * libc/s_pow.c: Documentation update.
12224 * libc/w_jn.c: Documentation update.
12226 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
12228 * aclocal.m4: Regenerate.
12229 * configure: Regenerate.
12231 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
12233 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
12234 to return 1 if user specified return code is 0.
12235 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
12237 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
12239 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
12240 to save the return address. Fixed longjmp to return to the original
12241 calling address of setjmp and to return the user specified return code
12242 rather than default to 1.
12243 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
12245 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
12247 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
12249 1999-02-10 Nick Clifton <nickc@cygnus.com>
12251 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
12252 volatile so that its assignments will not be discarded.
12254 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
12256 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
12257 be __STRICT_ANSI__ which is generated by compiler.
12258 * libc/include/ctype.h: Ditto.
12259 * libc/include/math.h: Ditto.
12260 * libc/include/stdio.h: Ditto.
12261 * libc/include/stdlib.h: Ditto.
12262 * libc/include/string.h: Ditto.
12263 * libc/include/sys/signal.h: Ditto.
12265 1999-02-08 Nick Clifton <nickc@cygnus.com>
12267 * configure.host: Add support for StrongARM target.
12269 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
12271 * libc/string/strncpy.c (strncpy): Removed redundant code
12272 that was copying bytes if data unaligned.
12274 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
12276 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
12277 mbstowcs.def, and wcstombs.def.
12279 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
12281 * libc/include/sys/errno.h: Add Cygwin errno.
12282 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
12285 1999-01-29 Nick Clifton <nickc@cygnus.com>
12287 * libc/sys/arm/syscalls.c: Move C library functions into seperate
12290 * libc/sys/arm/libcfunc.c: New file containing C library functions
12293 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
12294 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
12297 1999-01-27 Michael Meissner <meissner@cygnus.com>
12299 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
12300 type, and cut size in half so that the jmp_buf array is guaranteed
12301 to be aligned on a 64-bit boundary.
12303 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
12305 * libc/string/strings.tex: Added information about
12306 strcasecmp and strncasecmp.
12307 * libc/stdlib/stdlib.tex: Added missing information
12308 about mblen, mbstowcs, and wcstombs.
12309 * libc/string/strchr.c: Changed how mask is built to use
12310 shift operators so register will be used instead of storage.
12312 1999-01-22 DJ Delorie <dj@cygnus.com>
12314 * libc/include/stdlib.h: don't use dllimport if we're building
12315 newlib, since it's inside cygwin.dll
12317 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
12319 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
12320 _ctype_ under cygwin.
12322 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
12324 * include/stdlib.h: Fix typo from previous checkin.
12326 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
12328 * include/ctype.h: Use __declspec(dllimport) method for exporting
12329 variable from cygwin DLL.
12330 * include/time.h: Ditto.
12331 * sys/errno.h: Ditto.
12332 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
12333 * libc/locale/locale.c: Use __declspec(dllexport) method for
12334 exporting variable from cygwin DLL.
12336 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
12338 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
12339 access of bogus pointer will result in SIGSEGV.
12341 1999-01-07 Nick Clifton <nickc@cygnus.com>
12343 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
12344 of an underscore prefix to function names.
12346 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
12348 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
12349 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
12351 1998-12-31 Michael Meissner <meissner@cygnus.com>
12353 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
12354 to `%' if not already defined.
12356 1998-12-30 Michael Meissner <meissner@cygnus.com>
12358 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
12359 arguments const char *, not char *.
12360 * libc/include/stdio.h (_tempnam_r): Ditto.
12362 * libc/include/sys/reent.h (struct _reent): The _sig_func type
12363 points to a function taking an integer, not void.
12365 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
12367 * configure.host: Add a define for Cygwin builds.
12368 * libc/include/ctype.h: Don't use dll imported variables in newlib.
12370 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
12372 * libc/include/ctype.h: Define _ctype_ as dll imported variable
12373 for use with Cygwin.
12374 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
12375 dll imported variables for use with Cygwin.
12376 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
12377 as a dll imported variable for Cygwin.
12379 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
12381 * libc/include/sys/unistd.h: Add proto for getpass.
12383 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
12385 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12388 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12390 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12391 not posix_path_list_p.
12393 1998-12-15 Nick Clifton <nickc@cygnus.com>
12395 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12398 1998-12-13 Nick Clifton <nickc@cygnus.com>
12400 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12402 1998-12-12 Nick Clifton <nickc@cygnus.com>
12404 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12405 <msalter@cygnus.com>
12406 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12407 * libc/machine/fr30/Makefile.in: Regenerated.
12409 1998-12-11 Nick Clifton <nickc@cygnus.com>
12411 * configure.host: Remove use of libc/sys for FR30 port.
12412 * libc/sys/fr30: Remove directory (replaced by libgloss).
12414 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
12416 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12417 * libc/string/strncat.c (ALIGNED): Ditto.
12419 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12421 * libc/include/sys/time.h: include sys/types.h
12423 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12425 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12426 comparison found when checking word at a time.
12428 1998-12-04 Nick Clifton <nickc@cygnus.com>
12430 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12432 1998-12-03 Nick Clifton <nickc@cygnus.com>
12434 * libc/sys/fr30/syscalls.c (_times): New function stub.
12436 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12438 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12439 with mach_add_setjmp flag which indicates if setjmp should
12440 be added to the machine directory objects.
12441 * acinclude.m4: Removed reference to mach_add_objs.
12442 * aclocal.m4: Regenerated.
12443 * Makefile.in: Regenerated.
12444 * configure: Regenerated.
12445 * libc/aclocal.m4: Regenerated.
12446 * libc/Makefile.in: Regenerated.
12447 * libc/configure: Regenerated.
12448 * libc/machine/aclocal.m4: Regenerated.
12449 * libc/machine/Makefile.in: Regenerated.
12450 * libc/machine/configure: Regenerated.
12451 * libc/machine/i386/aclocal.m4: Regenerated.
12452 * libc/machine/i386/Makefile.am: Altered to selectively add
12453 setjmp.S to the src files list.
12454 * libc/machine/i386/Makefile.in: Regenerated.
12455 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12456 * libc/machine/i386/configure: Regenerated.
12458 1998-12-02 Nick Clifton <nickc@cygnus.com>
12460 * libc/sys/fr30/crt0.s (_start): Fix function names.
12462 * libc/machine/fr30: New directory
12463 * libc/machine/fr30/Makefile.am: New file.
12464 * libc/machine/fr30/Makefile.in: New generated file.
12465 * libc/machine/fr30/configure.in: New file.
12466 * libc/machine/fr30/configure: New generated file.
12467 * libc/machine/fr30/aclocal.m4: New generated file.
12468 * libc/sys/fr30/Makefile.am: New file.
12469 * libc/sys/fr30/Makefile.in: New generated file.
12470 * libc/sys/fr30/configure.in: New file.
12471 * libc/sys/fr30/configure: New generated file.
12472 * libc/sys/fr30/syscalls.c: New file.
12474 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12476 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12478 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
12480 * libc/time/strftime.c (strftime): Also handle %y for years before
12483 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12485 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12486 UNIX convention. Perform tolower on characters before comparing
12487 them rather than use toupper.
12488 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12490 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12492 * configure.host: Added using i386 machine directory
12493 for all x86 cross-compiler and configuring
12494 which added object files to use via new "mach_add_objs" variable.
12495 * configure: Regenerated.
12496 * libc/configure: Regenerated.
12497 * libc/Makefile.in: Regenerated.
12498 * libc/aclocal.m4: Regenerated.
12499 * libc/ctype/Makefile.in: Regenerated.
12500 * libc/errno/Makefile.in: Regenerated.
12501 * libc/locale/Makefile.in: Regenerated.
12502 * libc/machine/Makefile.in: Regenerated.
12503 * libc/machine/aclocal.m4: Regenerated.
12504 * libc/machine/configure: Regenerated.
12505 * libc/posix/Makefile.in: Regenerated.
12506 * libc/reent/Makefile.in: Regenerated.
12507 * libc/signal/Makefile.in: Regenerated.
12508 * libc/stdio/Makefile.in: Regenerated.
12509 * libc/stdlib/Makefile.in: Regenerated.
12510 * libc/string/Makefile.in: Regenerated.
12511 * libc/string/memmove.c: Optimized code to use memcpy
12512 logic when performing a non-destructive copy.
12513 * libc/string/strncmp.c: Altered code to allow building
12514 optimized for size or speed.
12515 * libc/syscalls/Makefile.in: Regenerated.
12516 * libc/time/Makefile.in: Regenerated.
12517 * libc/unix/Makefile.in: Regenerated.
12518 * libc/machine/i386/Makefile.am: Added new files and reference
12519 to "mach_add_objs" to indicate optional object files.
12520 * libc/machine/i386/Makefile.in: Regenerated.
12521 * libc/machine/i386/aclocal.m4: Regenerated.
12522 * libc/machine/i386/configure: Regenerated.
12523 * libc/machine/i386/memchr.S: New file that implements
12524 function in Intel assembler.
12525 * libc/machine/i386/memcmp.S: ditto.
12526 * libc/machine/i386/memcpy.S: ditto.
12527 * libc/machine/i386/memmove.S: ditto.
12528 * libc/machine/i386/memset.S: ditto.
12529 * libc/machine/i386/strchr.S: ditto.
12530 * libc/machine/i386/strlen.S: ditto.
12531 * libc/machine/i386/f_atan2.S: New file that implements
12532 fast version of math function to be used by compiler when
12533 --ffast_math compile option is used.
12534 * libc/machine/i386/f_atan2f.S: ditto.
12535 * libc/machine/i386/f_exp.c: ditto.
12536 * libc/machine/i386/f_expf.c: ditto.
12537 * libc/machine/i386/f_frexp.S: ditto.
12538 * libc/machine/i386/f_frexpf.S: ditto.
12539 * libc/machine/i386/f_ldexp.S: ditto.
12540 * libc/machine/i386/f_ldexpf.S: ditto.
12541 * libc/machine/i386/f_log.S: ditto.
12542 * libc/machine/i386/f_logf.S: ditto.
12543 * libc/machine/i386/f_log10.S: ditto.
12544 * libc/machine/i386/f_log10f.S: ditto.
12545 * libc/machine/i386/f_math.h: New file.
12546 * libc/machine/i386/f_pow.c: ditto.
12547 * libc/machine/i386/f_powf.S: ditto.
12548 * libc/machine/i386/f_tan.S: ditto.
12549 * libc/machine/i386/f_tan.S: ditto.
12550 * libc/machine/i386/i386mach.h: New file.
12552 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12554 patch from Mumit Khan <khan@xraylith.wisc.edu>
12555 * libc/include/stdio.h (tempnam): Add prototype.
12556 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12557 (tempnam): Adhere to prototype.
12559 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12561 * Makefile.am: Add default for AR_FLAGS.
12562 * Makefile.in: Regenerate.
12564 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12566 * libc/include/time.h: move __cplusplus wrapper after includes
12567 * libc/include/sys/time.h: ditto. If Cygwin, include
12569 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12571 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
12573 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12575 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12577 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12578 abnormnal end-of-crt0 marker.
12580 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12582 * libc/sys/fr30/crt0.s: New file/directory.
12583 * libc/include/machine/setjmp.h: Add FR30 target.
12584 * libc/include/machine/ieeefp.h: Add FR30 target.
12585 * configure.host: Add FR30 target.
12587 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12589 * libm/math: Files that are duplicated in common directory removed.
12590 * libm/math/fdlibm.h: Removed.
12591 * libm/math/s_cbrt.c: Removed.
12592 * libm/math/s_copysign.c: Removed.
12593 * libm/math/s_expm1.c: Removed.
12594 * libm/math/s_finite.c: Removed.
12595 * libm/math/s_ilogb.c: Removed.
12596 * libm/math/s_infinity.c: Removed.
12597 * libm/math/s_lib_ver.c: Removed.
12598 * libm/math/s_log1p.c: Removed.
12599 * libm/math/s_logb.c: Removed.
12600 * libm/math/s_matherr.c: Removed.
12601 * libm/math/s_modf.c: Removed.
12602 * libm/math/s_nan.c: Removed.
12603 * libm/math/s_nextafter.c: Removed.
12604 * libm/math/s_rint.c: Removed.
12605 * libm/math/s_scalbn.c: Removed.
12606 * libm/math/sf_cbrt.c: Removed.
12607 * libm/math/sf_copysign.c: Removed.
12608 * libm/math/sf_expm1.c: Removed.
12609 * libm/math/sf_finite.c: Removed.
12610 * libm/math/sf_ilogb.c: Removed.
12611 * libm/math/sf_infinity.c: Removed.
12612 * libm/math/sf_log1p.c: Removed.
12613 * libm/math/sf_logb.c: Removed.
12614 * libm/math/sf_modf.c: Removed.
12615 * libm/math/sf_nan.c: Removed.
12616 * libm/math/sf_nextafter.c: Removed.
12617 * libm/math/sf_rint.c: Removed.
12618 * libm/math/sf_scalbn.c: Removed.
12619 * libm/math/Makefile.am: Removed references to deleted files (above).
12620 * libm/math/Makefile.in: Regenerated.
12621 * libm/Makefile.am: Added common directory to math.
12622 * libm/Makefile.in: Regenerated.
12624 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12626 * libm/mathfp: Add non-ANSI functions.
12627 * libm/mathfp/e_acosh.c acosh(): New file.
12628 * libm/mathfp/e_atanh.c atanh(): New file.
12629 * libm/mathfp/e_hypot.c hypot(): New file.
12630 * libm/mathfp/e_j0.c j0(): New file.
12631 * libm/mathfp/e_j1.c j1(): New file.
12632 * libm/mathfp/e_remainder.c remainder(): New file.
12633 * libm/mathfp/e_scalb.c scalb(): New file.
12634 * libm/mathfp/ef_acosh.c acoshf(): New file.
12635 * libm/mathfp/ef_atanh.c atanhf(): New file.
12636 * libm/mathfp/ef_hypot.c hypotf(): New file.
12637 * libm/mathfp/ef_j0.c j0f(): New file.
12638 * libm/mathfp/ef_j1.c j1f(): New file.
12639 * libm/mathfp/ef_remainder.c remainderf(): New file.
12640 * libm/mathfp/ef_scalb.c scalbf(): New file.
12641 * libm/mathfp/er_gamma.c gamma_r: New file.
12642 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12643 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12644 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12645 * libm/mathfp/w_cabs.c cabs(): New file.
12646 * libm/mathfp/w_drem.c drem(): New file.
12647 * libm/mathfp/w_jn.c jn(): New file.
12648 * libm/mathfp/wf_cabs.c cabsf(): New file.
12649 * libm/mathfp/wf_drem.c dremf(): New file.
12650 * libm/mathfp/wf_jn.c jnf(): New file.
12652 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
12654 * libc/sys/cygwin32: remove directory and contents
12655 * libc/sys/cygwin: and add back, losing the "32".
12656 * configure.host: check for cygwin* instead of cygwin32.
12657 * acinclude.m4: ditto.
12658 * aclocal.m4: regenerate with aclocal
12659 * configure: regenerate with autoconf
12661 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
12663 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
12666 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12668 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
12669 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
12670 to make rand/srand, strtok, asctime, localtime, w_gamma,
12671 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
12672 time.h to bring in struct tm definition.
12673 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
12674 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
12675 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
12676 instead of static variable.
12677 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
12678 struct reent instead of static variable.
12679 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
12680 struct reent instead of static variable.
12681 * libm/math/Makefile.am: Removed s_signgam.o.
12682 * libm/math/Makefile.in: Regenerated.
12683 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12684 struct reent instead of global variable 'signgam'.
12685 * libm/math/w_lgamma.c (lgamma): Likewise.
12686 * libm/math/wf_gamma.c (gammaf): Likewise.
12687 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12688 * libm/math/s_signgam.c: Removed.
12689 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12691 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12693 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12694 libc/include/reent.h.
12695 * libc/reent/Makefile.in: Regenerated.
12696 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12698 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12699 'JIS_action_table' to be const.
12700 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12702 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
12704 * acinclude.m4: $with_target_subdir should default to '.'
12705 or confusion results when configuring in same directory as sources.
12706 * Regenerate all aclocal.m4 and configure files.
12708 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
12710 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
12711 can be set by defining MALLOC_ALIGNMENT=16. Also added support
12712 for platforms where sizeof(size_t) < sizeof(long) via
12713 SIZE_T_SMALLER_THAN_LONG macro.
12715 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
12717 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
12718 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
12719 which sets _CLOCKS_PER_SEC_ for selected machines.
12720 * libc/include/machine/time.h: New file.
12722 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12724 * libc/syscalls/sysexecve.c: New file.
12725 * libc/syscalls/sysgettod.c: New file.
12726 * libc/syscalls/systimes.c: New file.
12727 * libc/syscalls/Makefile.am: Added new objects.
12728 * libc/syscalls/Makefile.in: Regenerated.
12729 * libc/include/_syslist.h (_execve): Moved define in file.
12730 * libc/include/reent.h: Added _execve_r declaration.
12731 * libc/Makefile.in: Regenerated.
12732 * libc/ctype/Makefile.in: Regenerated.
12733 * libc/errno/Makefile.in: Regenerated.
12734 * libc/locale/Makefile.in: Regenerated.
12735 * libc/machine/Makefile.in: Regenerated.
12736 * libc/misc/Makefile.in: Regenerated.
12737 * libc/posix/Makefile.in: Regenerated.
12738 * libc/reent/Makefile.in: Regenerated.
12739 * libc/reent/execr.c (_execve_r): Added _execve_r function.
12740 * libc/signal/Makefile.in: Regenerated.
12741 * libc/stdio/Makefile.in: Regenerated.
12742 * libc/time/Makefile.in: Regenerated.
12743 * libc/unix/Makefile.in: Regenerated.
12744 * libm/mathfp/Makefile.in: Regenerated.
12746 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12748 * libc/string/Makefile.in: Regenerated.
12749 * libc/string/memchr.c (memchr): Moved code to reduce object size.
12750 * libc/string/memcpy.c (memcpy): Ditto.
12751 * libc/string/memcmp.c (memcmp): Ditto.
12752 * libc/string/memset.c (memset): Ditto.
12753 * libc/string/strchr.c (strchr): Ditto.
12754 * libc/string/strcmp.c (strcmp): Ditto.
12755 * libc/string/strcpy.c (strcpy): Ditto.
12756 * libc/string/strlen.c (strlen): Ditto.
12758 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12760 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
12761 to generate aclocal.m4.
12762 * libm/Makefile.in: Regenerated.
12763 * libm/aclocal.m4: Regenerated.
12764 * libm/configure: Regenerated.
12765 * libm/math/Makefile.in: Regenerated.
12766 * libm/mathfp/Makefile.in: Regenerated.
12768 1998-09-25 Mark Salter <msalter@cygnus.com>
12770 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
12771 by adding leading and trailing underscores to symbol names.
12773 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
12775 * Makefile.in: Add default for AR_FLAGS.
12777 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
12779 patch from ian@airs.com (Ian Taylor):
12780 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
12781 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
12782 is needed for detecting the build machine. Required for
12783 cygwin native builds.
12785 * Regenerate all aclocal.m4 and configure files.
12787 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
12789 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
12790 used to start with LC.
12792 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12794 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
12795 (longjmp): Likewise.
12797 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12799 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
12800 the test for small number of bytes.
12802 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12804 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
12805 math library that uses floating point algorithms instead of the old
12807 * Makefile.in: Regenerate with automake version 1.3b.
12808 * configure: Rebuild.
12809 * libm/Makefile.in: Regenerate with automake version 1.3b.
12810 * libm/aclocal.m4: Regenerate.
12811 * libm/configure: Rebuild.
12812 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
12813 * libm/acinclude.m4: Define macros for configure.in.
12814 * libm/config.h.in: Generate.
12815 * libm/mathfp/Makefile.am: New file.
12816 * libm/mathfp/Makefile.in: Generate.
12817 * libm/mathfp/s_acos.c (acos): New file.
12818 * libm/mathfp/s_asin.c (asin): New file.
12819 * libm/mathfp/s_asine.c (asine): New file.
12820 * libm/mathfp/s_atan.c (atan): New file.
12821 * libm/mathfp/s_atan2.c (atan2): New file.
12822 * libm/mathfp/s_atangent.c (atangent): New file.
12823 * libm/mathfp/s_ceil.c (ceil): New file.
12824 * libm/mathfp/s_copysign.c (copysign): New file.
12825 * libm/mathfp/s_cos.c (cos): New file.
12826 * libm/mathfp/s_cosh.c (cosh): New file.
12827 * libm/mathfp/s_exp.c (exp): New file.
12828 * libm/mathfp/s_fabs.c (fabs): New file.
12829 * libm/mathfp/s_finite.c (finite): New file.
12830 * libm/mathfp/s_floor.c (floor): New file.
12831 * libm/mathfp/s_fmod.c (fmod): New file.
12832 * libm/mathfp/s_frexp.c (frexp): New file.
12833 * libm/mathfp/s_infconst.c: New file.
12834 * libm/mathfp/s_isinf (isinf).c: New file.
12835 * libm/mathfp/s_isnan.c (isnan): New file.
12836 * libm/mathfp/s_ispos.c (ispos): New file.
12837 * libm/mathfp/s_ldexp.c (ldexp): New file.
12838 * libm/mathfp/s_log.c (log): New file.
12839 * libm/mathfp/s_log10.c (log10): New file.
12840 * libm/mathfp/s_logarithm.c (logarithm): New file.
12841 * libm/mathfp/s_mathcnst.c: New file.
12842 * libm/mathfp/s_modf (modf).c: New file.
12843 * libm/mathfp/s_numtest.c (numtest): New file.
12844 * libm/mathfp/s_pow.c (pow): New file.
12845 * libm/mathfp/s_scalbn.c (scalbn): New file.
12846 * libm/mathfp/s_sin (sin).c: New file.
12847 * libm/mathfp/s_sine.c (sine): New file.
12848 * libm/mathfp/s_sineh.c (sineh): New file.
12849 * libm/mathfp/s_sinf.c (sinf): New file.
12850 * libm/mathfp/s_sinh.c (sinh): New file.
12851 * libm/mathfp/s_sqrt.c (sqrt): New file.
12852 * libm/mathfp/s_tan.c (tan): New file.
12853 * libm/mathfp/s_tanh.c (tanh): New file.
12854 * libm/mathfp/sf_acos.c (acosf): New file.
12855 * libm/mathfp/sf_asin.c (asinf): New file.
12856 * libm/mathfp/sf_asine.c (asinef): New file.
12857 * libm/mathfp/sf_atan.c (atanf): New file.
12858 * libm/mathfp/sf_atan2.c (atan2f): New file.
12859 * libm/mathfp/sf_atangent.c (atangent): New file.
12860 * libm/mathfp/sf_ceil.c (ceilf): New file.
12861 * libm/mathfp/sf_copysign.c (copysignf): New file.
12862 * libm/mathfp/sf_cos.c (cosf): New file.
12863 * libm/mathfp/sf_cosh.c (coshf): New file.
12864 * libm/mathfp/sf_exp.c (expf): New file.
12865 * libm/mathfp/sf_fabs.c (fabsf): New file.
12866 * libm/mathfp/sf_finite.c (finitef): New file.
12867 * libm/mathfp/sf_floor.c (floorf): New file.
12868 * libm/mathfp/sf_fmod.c (fmodf): New file.
12869 * libm/mathfp/sf_frexp.c (frexpf): New file.
12870 * libm/mathfp/sf_isinf.c (isinff): New file.
12871 * libm/mathfp/sf_isnan.c (isnanf): New file.
12872 * libm/mathfp/sf_ispos.c (isposf): New file.
12873 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
12874 * libm/mathfp/sf_log.c (logf): New file.
12875 * libm/mathfp/sf_log10.c (log10f): New file.
12876 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
12877 * libm/mathfp/sf_modf.c (modff): New file.
12878 * libm/mathfp/sf_numtest.c (numtestf): New file.
12879 * libm/mathfp/sf_pow.c (powf): New file.
12880 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
12881 * libm/mathfp/sf_sin.c (sinf): New file.
12882 * libm/mathfp/sf_sine.c (sinef): New file.
12883 * libm/mathfp/sf_sineh.c (sinehf): New file.
12884 * libm/mathfp/sf_sinh.c (sinhf): New file.
12885 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
12886 * libm/mathfp/sf_tan.c (tanf): New file.
12887 * libm/mathfp/sf_tanh.c (tanhf): New file.
12888 * libm/mathfp/zmath.h: New file.
12890 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12892 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
12893 exit if it has been overwritten by pre-fetching in delay slot.
12895 1998-09-01 Michael Meissner <meissner@cygnus.com>
12897 * Makefile.am (tooldir): Add in host_alias, so that multilib
12898 libraries are installed in the directory the compiler looks in.
12899 * Makefile.in: Regenerate.
12901 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
12903 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
12905 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
12906 ahead of test for number of bytes being moved.
12908 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
12910 * libc/include/sys/unistd.h: Nothing special needed for
12911 _exit under cygwin.
12913 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
12915 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
12916 conform to user label naming conventions.
12918 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
12920 * libc/sys/cygwin32/sys/utime.h: variable names in
12921 protos should start with two leading underscores
12922 * libc/include/string.h: ditto
12923 * libc/include/sys/signal.h: ditto
12924 * libc/include/sys/stat.h: ditto
12925 * libc/include/sys/time.h: ditto
12926 * libc/include/sys/unistd.h: ditto
12927 * libc/include/ctype.h: ditto
12928 * libc/include/stdlib.h: ditto
12929 * libc/include/sys/reent.h: struct _atexit function ptr takes a
12930 void, same with _sig_func.
12932 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
12934 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
12935 for MB_CAPABLE to reduce code size when newlib is not configured
12936 with --enable-newlib-mb.
12937 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
12938 mbtowc_r.o to minimize size.
12939 * libc/stdlib/Makefile.in: Rebuild.
12941 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
12943 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
12945 * libc/sys/sparc64/Makefile.in: Rebuild.
12947 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
12949 * Makefile.am (MAKEOVERRIDES): Define.
12950 * Makefile.in: Rebuild.
12952 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
12954 * libc/sys/sparc64/sys/stat.h (stat): Add const.
12956 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
12958 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
12959 newlib_cflags when looking for targ-include.
12960 * */aclocal.m4, */configure: Rebuild.
12962 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
12964 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
12967 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
12969 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
12970 on SPARCs with little-endian data.
12971 * libc/include/machine/ieeefp.h: Ditto.
12973 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
12975 * acinclude.m4: Handle a relative srcdir correctly when setting
12977 * */aclocal.m4, */configure: Rebuild.
12979 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
12981 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
12982 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
12983 * libm/math/wrf_gamma.c (gammaf_r): ditto
12984 * libm/math/wr_lgamma.c (lgamma_r): ditto
12985 * libm/math/wr_gamma.c (gamma_r): ditto
12986 * libm/math/wf_sqrt.c (sqrtf): ditto
12987 * libm/math/wf_sinh.c (sinhf): ditto
12988 * libm/math/wf_scalb.c (scalbf): ditto
12989 * libm/math/wf_remainder.c (remainderf): ditto
12990 * libm/math/wf_pow.c (powf): ditto
12991 * libm/math/wf_log10.c (log10f): ditto
12992 * libm/math/wf_log.c (logf): ditto
12993 * libm/math/wf_lgamma.c (lgammaf): ditto
12994 * libm/math/wf_jn.c (jnf, ynf): ditto
12995 * libm/math/wf_j1.c (j1f, y1f): ditto
12996 * libm/math/wf_j0.c (j0f, y0f): ditto
12997 * libm/math/wf_hypot.c (hypotf): ditto
12998 * libm/math/wf_gamma.c (gammaf): ditto
12999 * libm/math/wf_fmod.c (fmodf): ditto
13000 * libm/math/wf_exp.c (expf): ditto
13001 * libm/math/wf_cosh.c (coshf): ditto
13002 * libm/math/wf_atanh.c (atanhf): ditto
13003 * libm/math/wf_atan2f.c (atan2f): ditto
13004 * libm/math/wf_asin.c (asinf): ditto
13005 * libm/math/wf_acosh.c (acoshf): ditto
13006 * libm/math/wf_acos.c (acosf): ditto
13007 * libm/math/w_sqrt.c (sqrt): ditto
13008 * libm/math/w_sinh.c (sinh): ditto
13009 * libm/math/w_scalb.c (scalb): ditto
13010 * libm/math/w_remainder.c (remainder): ditto
13011 * libm/math/w_pow.c (pow): ditto
13012 * libm/math/w_log10.c (log10): ditto
13013 * libm/math/w_log.c (log): ditto
13014 * libm/math/w_lgamma.c (lgamma): ditto
13015 * libm/math/w_jn.c (jn, yn): ditto
13016 * libm/math/w_j1.c (j1, y1): ditto
13017 * libm/math/w_j0.c (j0, y0): ditto
13018 * libm/math/w_hypot.c (hypot): ditto
13019 * libm/math/w_gamma.c (gamma): ditto
13020 * libm/math/w_fmod.c (fmod): ditto
13021 * libm/math/w_exp.c (exp): ditto
13022 * libm/math/w_cosh.c (cosh): ditto
13023 * libm/math/w_atanh.c (atanh): ditto
13024 * libm/math/w_atan2f.c (atan2): ditto
13025 * libm/math/w_asin.c (asin): ditto
13026 * libm/math/w_acosh.c (acosh): ditto
13027 * libm/math/w_acos.c (acos): ditto
13029 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13031 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13032 (fsrc): Add wf_cabs.c and wf_drem.c.
13033 * libm/math/Makefile.in: Rebuild.
13035 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13036 unused directory variables. Remove duplicate CFLAGS.
13037 * Makefile.in: Rebuild.
13039 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13040 with $(CC_FOR_BUILD).
13041 (makedoc.o): Likewise.
13042 * doc/Makefile.in: Rebuild.
13044 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13045 force a definition of COMPILE.
13046 (libfoo_a_SOURCES): Define.
13047 * libc/sys/cygwin32/Makefile.in: Rebuild.
13048 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13049 force a definition of COMPILE.
13050 (libfoo_a_SOURCES): Define.
13051 * libc/sys/tic80/Makefile.in: Rebuild.
13053 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13055 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13058 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13060 * Build using autoconf and automake. Added many Makefile.am and
13061 configure.in files, plus generated files. Old configure.in files
13062 and all old Makefile.in files completely replaced. Removed
13063 host/any. Added acinclude.m4 and configure.host.
13065 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13067 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13068 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13070 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13072 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13073 * libc/machine/sh/Makefile.in: Add rules for new files.
13075 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13077 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13078 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13079 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13081 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
13083 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
13086 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
13088 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
13089 internal static buffer when s is NULL, as prescribed by ANSI.
13091 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
13093 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
13095 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
13096 libc/stdlib will be used for h8300hms.
13098 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13100 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
13101 version that can be built either for speed or size.
13102 * libc/machine/mn10300/memset.S (_memset): ditto
13103 * libc/machine/mn10300/memchr.S (_memchr): ditto
13104 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
13105 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
13106 * libc/machine/mn10300/strchr.S (_strchr): ditto
13107 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
13108 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
13109 * libc/machine/mn10300/Makefile.in: Added entries for
13110 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
13111 strcmp.o, strcpy.o, and strlen.o.
13113 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
13115 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
13116 been replaced with libgloss/mn10200.
13118 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
13120 * libc/string/strchr.c (strchr): Make s a constant pointer to
13123 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
13125 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
13126 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
13127 board SWIs instead of Demon board SWIs).
13129 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
13131 * libc/string/strncat.c (strncat): Make -Os act the same as
13132 PREFER_SIZE_OVER_SPEED being defined.
13134 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
13136 * libc/string/memchr.c (memchr): Make -Os act the same as
13137 PREFER_SIZE_OVER_SPEED being defined.
13138 * libc/string/memcmp.c (memcmp): Ditto.
13139 * libc/string/memcpy.c (memcpy): Ditto.
13140 * libc/string/memset.c (memset): Ditto.
13141 * libc/string/strcat.c (strcat): Ditto.
13142 * libc/string/strchr.c (strchr): Ditto.
13143 * libc/string/strcmp.c (strcmp): Ditto.
13144 * libc/string/strcpy.c (strcpy): Ditto.
13145 * libc/string/strlen.c (strlen): Ditto.
13146 * libc/string/strncat.c (strncat): Ditto.
13147 * libc/string/strncmp.c (strncmp): Ditto.
13148 * libc/string/strncpy.c (strncpy): Ditto.
13150 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
13152 * libc/include/sys/itimer.h: remove
13153 * libc/include/sys/time.h: itimer stuff should be here
13155 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
13157 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
13158 bit instead of comparing to 0 so -0.0 can be printed correctly.
13160 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13162 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
13164 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
13166 * libc/include/sys/unistd.h: fix sync() proto
13167 * libc/include/sys/fcntl.h: remove _close which is already
13168 defined in unistd.h.
13169 * libc/include/sys/time.h: add getitimer proto
13171 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
13173 * libc/string/strchr.c: convert arg to unsigned char
13174 * libc/include/stdlib.h: add protos for random, srandom
13175 * libc/include/sys/stat.h: add lstat proto
13176 * libc/include/sys/time.h: add setitimer proto
13177 * libc/include/sys/unistd.h: add readlink, symlink protos
13178 * libc/include/process.h: instead of including windows.h and using
13179 HANDLEs in sexec protos, just use void *s. Need to include
13182 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
13184 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
13186 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
13188 * libc/include/process.h: add secure exec protos
13190 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
13192 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
13193 which are accessed as both doubles and integers.
13194 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
13195 * libc/stdlib/strtod.c (_strtod_r): Likewise.
13196 * libc/stdlib/mprec.h: Add "union double_union" and change
13197 word0/word1 macros to use it.
13199 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
13201 * libc/include/sys/signal.h: add __cplusplus wrapper
13203 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
13205 * libc/include/sys/utime.h: new generic file that gets replaced by
13206 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
13208 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
13209 * libc/include/time.h: remove duplicate utime proto
13210 * libc/include/utime.h: add comment
13212 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
13214 * libc/include/sys/time.h: Add missing include to
13215 allow use of _EXFUN. Remove times function that is
13216 already defined in times.h.
13218 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
13220 * libc/include/time.h: Fix typo in tzset.
13222 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
13224 * libc/include/sys/time.h: add missing Cygwin32 function protos
13225 * libc/include/sys/unistd.h: ditto
13226 * libc/include/time.h: ditto
13228 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
13230 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
13232 * libc/include/sys/types.h: add a new __MS_types__ section
13233 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
13234 __BIT_TYPES_DEFINED__.
13236 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
13238 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
13239 since it overrides the one in libc/include/sys. Also, start
13242 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
13244 * libm/math/Makefile.in: add s_signgam.o to obj list
13246 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
13248 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
13250 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
13252 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
13253 so don't use defines.
13255 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
13257 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
13259 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
13261 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
13262 _current_locale as default locale.
13264 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
13266 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
13267 insufficient space in a chunk.
13269 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
13271 * configure.in (links): Added check for --enable-newlib-mb configure
13272 option which defines the MB_CAPABLE macro.
13273 * libc/locale/locale.c (_setlocale_r): Added support for setting
13274 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
13276 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
13277 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
13278 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
13279 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
13280 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
13281 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
13282 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
13283 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
13284 * libc/stdlib/Makefile.in: Added new multibyte
13285 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
13286 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
13287 _mbstowcs_r(), and _wcstombs_r().
13288 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
13289 for JIS, SJIS, and EUC-JP characters.
13290 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
13291 MB_CAPABLE defined.
13292 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
13293 MB_CAPABLE defined.
13294 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
13295 MB_CAPABLE defined.
13296 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
13297 if MB_CAPABLE defined.
13298 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
13299 if MB_CAPABLE defined.
13300 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
13301 to the format string processing when MB_CAPABLE.
13302 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
13305 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
13307 The following modifications are courtesy of Anthony Thompson,
13308 athompson@cambridge.arm.com:
13309 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
13310 boith RDI and RDP monitors.
13311 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
13312 RDI and RDP monitors.
13314 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
13316 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
13317 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
13318 (_swiopen): Fixed open flags to treat write with append as just append.
13319 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
13320 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
13322 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13324 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
13325 When needing to transfer an initial 2-byte-word, store as
13328 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13330 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
13332 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
13333 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
13335 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
13337 * configure.in (target_cflags): If --enable-target-optspace, use
13338 -Os to compile newlib rather than -O2. Default to using -Os for
13339 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
13342 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
13344 * libc/include/machine/setjmp.h: change sigsetjmp and
13345 siglongjmp definitions to use an array instead of a struct
13348 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
13350 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
13352 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
13354 * libc/string/strxfrm.c: fix to get correct return value
13356 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
13358 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
13359 builds. Make mode change labels global so that they will be seen
13362 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
13364 * configure.in (links): Do not use ARM debiugging protocols for PE
13367 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
13370 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13372 * libc/stdio/findfp.c (__sinit): Made stdout default to
13373 line buffered mode as defined by ANSI.
13375 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
13377 * libc/include/sys/itimer.h: New file.
13379 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
13381 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13383 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
13386 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13388 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13391 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13393 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13395 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13397 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13400 * libc/include/machine/setjmp.h: Add D30V support.
13402 * configure.in (d30v-*): Add d30v machine directory.
13404 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13406 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13407 been replaced with libgloss/mn10300.
13409 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13411 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13412 it is no longer needed.
13414 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13416 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
13418 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13420 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
13421 the file when O_APPEND is set, wherever the EOF happens to be at
13424 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
13426 patch from cgf@bbc.com (Christopher Faylor):
13427 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13428 convention of closing fp prior to attempting to open the file
13429 argument. This allows correct operation when reopening
13430 stdin/stdout/stderr. Replaces last freopen.c patch.
13432 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13434 patch from cgf@bbc.com (Christopher Faylor):
13435 * libc/stdio/freopen.c: freopen was not preserving the fd
13436 of the stream being operated on. This confuses programs that
13437 expect that the handles for stdout and stderr will be 1 and 2.
13439 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13441 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13443 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13445 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13447 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13449 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13450 altered to not use a branch. Also added hint that last
13451 bclr in longjmp will likely result in branch.
13454 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13456 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
13458 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13460 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13463 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
13465 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13467 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13468 that loads FR14 to specify offset of 8 rather than 4
13469 so it loads from offset 96 (where setjmp stored it).
13471 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13473 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13474 latest version supplied by customer.
13475 * libc/machine/sh/memset.S (_memset): Ditto.
13477 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13479 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
13482 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13484 * libc/include/string.h: remove redefinition of ffs
13486 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13488 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
13491 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13493 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
13494 TI Libraries to link to libc.a
13496 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13498 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13499 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13500 * libc/include/sys/wait.h (_wait): Ditto.
13501 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13502 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13504 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13506 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13507 minded stabs so function name shows up when running the simulator
13509 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13511 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13513 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
13514 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13515 Use R5 where we used to use R3.
13517 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13519 * libc/stdlib/getopt.c (getopt): replaced __progname
13520 with nargv[0] to improve portability to imbedded systems.
13522 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13524 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13525 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13528 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13530 * libc/stdio/tmpnam.c (worker): Generate a different file name
13533 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13534 fails, try an execlp for sh.
13536 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13537 option for the winsup include directory.
13539 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13541 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13542 debugging interface from Tony.Thompson@arm.com.
13544 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13545 * libc/sys/arm/swi.h: ditto.
13547 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13549 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13550 DIR struct used for readdir hashes.
13552 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13554 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13556 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13558 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13561 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13563 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13564 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13565 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13566 (__malloc_copy): Declare.
13568 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13570 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13572 (POINTER_UINT): Define.
13573 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13574 (MALLOC_ALIGNMENT): Don't define if already defined.
13575 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13578 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13580 * libc/string/memset.c (memset): Fiddle with code so that the long
13581 value being stored is not a stack value. Unroll storing longs 4
13584 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13586 * Reduce code size for libm modules.
13587 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13588 and simply move code into sqrt.
13589 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13590 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13591 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13592 * libm/math/wr_gamma.c (gamma_r): Likewise.
13593 * libm/math/wf_sinh.c (sinfh): Likewise.
13594 * libm/math/w_sinh.c (sinh): Likewise.
13595 * libm/math/wf_scalb.c (scalbf): Likewise.
13596 * libm/math/w_scalb.c (scalb): Likewise.
13597 * libm/math/wf_remainder.c (remainderf): Likewise.
13598 * libm/math/w_remainder.c (remainder): Likewise.
13599 * libm/math/wf_pow.c (powf): Likewise.
13600 * libm/math/w_pow.c (pow): Likewise.
13601 * libm/math/wf_log10.c (log10f): Likewise.
13602 * libm/math/w_log10.c (log10): Likewise.
13603 * libm/math/wf_log.c (logf): Likewise.
13604 * libm/math/w_log.c (log): Likewise.
13605 * libm/math/w_lgamma.c (lgamma): Likewise.
13606 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13607 * libm/math/wf_jn.c (jnf): Likewise.
13608 * libm/math/w_jn.c (jn): Likewise.
13609 * libm/math/wf_j1.c (j1f): Likewise.
13610 * libm/math/w_j1.c (j1): Likewise.
13611 * libm/math/wf_j0.c (j0f): Likewise.
13612 * libm/math/w_j0.c (j0): Likewise.
13613 * libm/math/wf_hypot.c (hypotf): Likewise.
13614 * libm/math/w_hypot.c (hypot): Likewise.
13615 * libm/math/wf_gamma.c (gammaf): Likewise.
13616 * libm/math/w_gamma.c (gamma): Likewise.
13617 * libm/math/wf_fmod.c (fmodf): Likewise.
13618 * libm/math/w_fmod.c (fmod): Likewise.
13619 * libm/math/wf_exp.c (expf): Likewise.
13620 * libm/math/w_exp.c (exp): Likewise.
13621 * libm/math/wf_cosh.c (coshf): Likewise.
13622 * libm/math/w_cosh.c (cosh): Likewise.
13623 * libm/math/wf_atanh.c (atanhf): Likewise.
13624 * libm/math/w_atanh.c (atanh): Likewise.
13625 * libm/math/wf_atan2.c (atan2f): Likewise.
13626 * libm/math/w_atan2.c (atan2): Likewise.
13627 * libm/math/wf_asin.c (asinf): Likewise.
13628 * libm/math/w_asin.c (asin): Likewise.
13629 * libm/math/wf_acosh.c (acoshf): Likewise.
13630 * libm/math/w_acosh.c (acosh): Likewise.
13631 * libm/math/wf_acos.c (asocf): Likewise.
13632 * libm/math/w_acos.c (acos): Likewise.
13633 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13634 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13635 for embedded systems.
13637 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13639 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13640 Lea in case of a foreign sbrk.
13642 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13644 Incorporate Doug Lea's malloc:
13645 * libc/stdlib/mallocr.c: Completely replaced.
13646 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13648 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
13649 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
13651 (mallinfo, malloc_stats, mallopt): New functions.
13652 (_mstats_r): Just call _malloc_stats_r.
13653 * libc/stdlib/malign.c: New file.
13654 * libc/stdlib/mlock.c: New file.
13655 * libc/stdlib/msize.c: New file.
13656 * libc/stdlib/mtrim.c: New file.
13657 * libc/stdlib/realloc.c: New file.
13658 * libc/stdlib/valloc.c: New file.
13659 * libc/stdlib/malloc.h: Remove.
13660 * libc/stdlib/callocr.c: Remove.
13661 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
13662 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
13663 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
13664 reallocr.o, valloc.o, vallocr.o.
13665 (CHEWOUT_FILES): Add mlock.def, mstats.def.
13666 (MALLOC_CFLAGS): New variable.
13667 (mallocr.o): New target, build from mallocr.c.
13668 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
13669 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
13670 (msizer.o, malloptr.o): Likewise.
13671 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
13672 (valloc.o): New target.
13673 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
13674 * libc/include/malloc.h: Declare struct mallinfo, and new
13676 * libc/include/stdlib.h (cfree): Correct declaration.
13678 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
13680 * libc/include/machine/setjmp.h: Add support for Thumb target.
13682 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13684 * configure.in (links): Add support for Thumb target.
13686 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13688 * libc/sys/arm/setjmp.S: Updated with version from branch.
13690 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13692 * libc/include/stdio.h: add POSIX-required define L_ctermid
13695 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13697 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13698 addition to MISSING_SYSCALL_NAMES.
13700 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13702 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
13704 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
13706 * libc/include/string.h: change strsignal proto to return
13707 a char *. This eliminates compile problems in gdb resulting
13708 from gdb's definition of strsignal in defs.h.
13710 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
13712 * libc/sys/cygwin32/sys/utime.h: new (moved here from
13713 winsup/include) so as not to conflict with the one in
13715 * libc/include/string.h: add protos for strsignal, strtosigno
13717 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
13719 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
13721 * configure.in (d30v-*-*): Add configuration.
13723 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
13725 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
13726 to select which kind of debug monitor is in use for an ARM target.
13728 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
13729 Angel and Demon debug monitors. Part of this code was supplied by
13730 Tony Thompson at ARM: athompso@arm.com.
13732 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
13734 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
13735 semantics when the count is greater than the length of the second
13738 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
13740 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
13741 * libc/include/sys/unistd.h: add protos for usleep, truncate,
13742 truncate and ftruncate take off_t, not size_t
13744 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
13746 * libc/string/strcat.c (strcat): Add missing comment end.
13747 * libc/string/strncat.c (strncat): Likewise.
13749 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
13751 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
13753 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
13754 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
13756 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13757 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13758 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13760 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
13762 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
13763 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
13765 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
13767 * libc/machine/i386/setjmp.S: New file.
13768 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
13769 (OFILES): Add setjmp.o.
13770 (setjmp.o): Add rule for.
13771 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
13773 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
13774 Jeffrey A Law (law@cygnus.com)
13776 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
13777 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13778 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13779 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13781 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
13783 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
13786 * libc/include/sys/config.h: Use __v850 to select v850
13789 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
13792 * libc/include/machine/ieeefp.h: Use __v850 to select v850
13795 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
13797 * libc/stdlib/setenv.c: change unsetenv definition to match
13798 style of setenv (with _DEFUN). The string should be a const.
13799 * libc/include/stdlib.h: unsetenv proto should return void.
13801 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
13803 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
13805 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
13807 * libc/stdio/glue.h: remove.
13808 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
13809 * libc/stdio/Makefile.in: remove glue.h dependencies
13811 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
13813 * libc/sys/sysnecv850/crt0.S: Created V850e version.
13815 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
13817 * configure.in (target_cpu): Add `arc'.
13819 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
13821 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
13822 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
13823 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
13824 * newlib/libc/reent/reent.c: Add _wrapup_reent.
13825 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
13827 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
13829 * libc/machine/mips/setjmp.S: Handle mips16 builds.
13831 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
13833 * libc/include/stdio.h (siprintf): Declare.
13835 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
13837 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
13838 TARGET_CFLAGS and NEWLIB_FLAGS.
13840 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13842 * configure.in (links): Add support for v850ea target.
13844 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13846 * configure.in (links): Add support for v850e target.
13848 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
13850 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
13852 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
13854 * configure.in (arc-*-*): Add support for.
13855 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
13857 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13859 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
13861 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
13863 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
13864 comparison which accesses invalid memory when the key is
13865 larger than the last member of the array.
13866 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
13868 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
13870 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
13872 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
13875 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
13877 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
13878 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
13880 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
13882 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
13883 to load/store memory.
13885 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
13887 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
13888 underscores if _WIN32.
13890 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
13892 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
13893 support ifdef _USE_WRITE missed in last change.
13894 From Anders Blomdell <anders.blomdell@control.lth.se>.
13896 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
13898 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
13899 (_tmpnam_r, _tempnam_r): Update.
13901 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
13903 * libc/machine/sparc/setjmp.S: New file.
13904 * libc/machine/sparc/Makefile.in: Add setjmp.
13905 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
13907 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
13909 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
13911 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
13913 From Joel Sherrill <joel@oarcorp.com>.
13914 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
13916 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
13917 * configure.in: Recognize *-*-rtems*.
13918 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
13919 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
13920 time.h,times.h,types.h}: New files.
13921 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
13923 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
13925 patch from sos@prospect.com.ru (Sergey Okhapkin):
13926 * include/sys/wait.h: correct operator precidence bug
13929 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
13931 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
13932 with newlib's unsetenv function
13933 * libc/sys/cygwin32/sys: new directory for includes
13934 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
13935 here from winsup/include/sys
13937 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
13939 * libc/include/sys/unistd.h: _exit should only be
13940 labelled noreturn when not __CYGWIN32__
13941 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
13942 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
13945 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
13947 * libc/include/sys/time.h: Only define timeval and timezone if
13948 _GNU_H_WINDOWS32_SOCKETS is not defined.
13949 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
13951 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
13953 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
13954 * libc/machine/mn10300/setjmp.S: Likewise.
13956 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
13957 the mn10300 (more relaxing opportunities).
13959 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
13961 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
13962 Build libraries with -mstrict-align.
13964 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
13966 * libc/string/strlwr.c: New file.
13967 * libc/string/strupr.c: New file.
13968 * libc/include/string.h: Declare strlwr and strupr.
13969 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
13970 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
13971 (strlwr.o, strupr.o): New targets.
13972 * libc/string/strings.tex: Include strlwr and strupr docs.
13974 * libc/include/sys/types.h: Don't define u_char, et. al., if
13975 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
13976 et. al. Make FD_SETSIZE default 64 rather than 60. Define
13977 _types_fd_set rather than fd_set, and define fd_set as a macro.
13979 * libc/include/malloc.h: New file.
13981 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
13982 strnicmp if they are not already defined.
13984 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
13985 _timezone, _daylight, and _tzname.
13987 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
13989 * configure.in: Sort all configuration tables.
13991 From Joel Sherrill <joel@oarcorp.com>
13992 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
13994 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
13996 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
13997 use int when declaring kill.
13999 * libc/include/sys/timeb.h: New file.
14001 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14003 * libc/include/sys/time.h: add itimer support for Cygwin32
14005 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14007 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14008 out a message that abort was called to stderr.
14010 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14012 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14013 so that libio doesn't freak.
14015 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14018 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14019 memory sizes, not int.
14021 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14023 * libm/math/ef_hypot.c: Use long constants where
14025 * libm/math/ef_sqrt.c: Ditto.
14027 * libc/sys/sysmec/times.c(_times): Change to times.
14029 * libc/sys/sysmec/read.c(_read): The third argument is
14031 * libc/sys/sysmec/write.c (_write): Ditto.
14033 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14034 (_lseek): It's off_t for the second argument.
14036 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14038 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14039 as well as machine/ieeefp.h.
14041 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14043 * libc/include/sys/signal.h: add signal protos for winsup
14044 functions (when __CYGWIN32__), include types.h
14045 * libc/include/sys/types.h: Change __go32_types__ internal
14046 define to __MS_types__ since it's used for more than just
14047 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14049 * libc/include/sys/unistd.h: add ftruncate proto for
14050 winsup functions (when __CYGWIN32__)
14052 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14054 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14056 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14058 * libc/include/machine/setjmp.h: Add tic80 support.
14059 * libc/machine/tic80/setjmp.S: Likewise.
14061 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14063 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14064 link programs from libraries only (such as in the X11
14067 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14069 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14070 supplied elsewhere in newlib.
14072 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14074 * Makefile.in (INSTALL): Change install.sh to install-sh.
14076 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14078 * README: update WWW address for on-line documentation.
14080 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14082 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
14085 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
14087 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
14089 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
14091 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
14093 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
14094 * libc/sys/d10v/syscalls.c: Likewise.
14095 * libc/sys/h8300hms/sbrk.c: Likewise.
14096 * libc/sys/h8500hms/syscalls.c: Likewise.
14097 * libc/sys/m88kbug/syscalls.c: Likewise.
14098 * libc/sys/sh/syscalls.c: Likewise.
14099 * libc/sys/sysmec/sbrk.c: Likewise.
14100 * libc/sys/sysnecv850/sbrk.c: Likewise.
14101 * libc/sys/w65/syscalls.c: Likewise.
14102 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
14104 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
14106 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
14107 emulated syscall instead of "trap".
14109 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
14111 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
14114 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
14116 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
14118 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
14120 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
14122 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
14124 * libc/sys/tic80/crt0.c: New file for TIc80.
14125 * libc/sys/tic80/Makefile.in: New file for TIc80.
14126 * libc/machine/tic80/Makefile.in: New file for TIc80.
14128 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
14130 * libc/machine/sh/memcpy.S: New file.
14131 * libc/machine/sh/memset.S: New file.
14132 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
14134 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
14136 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
14139 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
14141 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
14144 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
14146 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
14147 (patch from andrew@pogo.WV.TEK.COM).
14149 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
14151 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
14152 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
14154 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
14156 * configure.in: Add cases for "tic80" to set machine_dir,
14157 sys_dir, and syscall_dir.
14159 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
14161 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
14163 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
14165 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
14167 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
14169 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
14170 Use proper constant prefix.
14172 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
14174 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
14175 that loses on the mn10200 where ints and pointers are different
14178 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
14180 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
14181 target as signal is provided in winsup.
14183 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
14185 * libc/include/sys/process.h: Corrected const definitions
14186 in spawn functions. Added cwait.
14188 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
14190 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
14192 * libc/include/sys/config.h: Similarly.
14194 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14196 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
14198 (i[3456]86-*-sco*): Ditto.
14200 * libc/signal/Makefile.in (OFILES): Add signal.o.
14201 (CFILES): Add signal.c.
14203 * libc/signal/raise.c (_raise_r): Only compile code if
14204 SIGNAL_PROVIDED is defined.
14206 * libc/signal/signal.c: Redo whole file so that it works with
14207 current newlib. Use _kill_r if no signal handler provided.
14209 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
14211 * libc/sys/sysvnecv70/Makefile.in: Ditto.
14212 * libc/sys/sysnecv850/Makefile.in: Ditto.
14214 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
14215 * libc/sys/sysmec/{raise,signal}.c: Ditto.
14216 * libc/sys/sysvnecv70/signal.s: Ditto.
14217 * libc/sys/sysnecv850/raise.c: Ditto.
14219 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
14220 simulator and debugger can tell the difference between a signal
14221 being raised and an exit system call.
14223 * NEWS: Document software signals being provided.
14225 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14227 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
14228 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
14229 include/sys/config.h.
14230 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
14231 Change from 'inpure_data'.
14232 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
14233 &impure_data, not &inpure_data.
14235 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
14236 and and System V ABI, define so that _impure_ptr lives in the
14239 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14241 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
14242 nothing if not defined.
14243 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
14246 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
14248 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
14250 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
14251 * libc/sys/sysmec/trap.s: Handle mn10200 too.
14252 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
14254 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
14256 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
14258 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
14260 * libc/include/sys/errno.h: Added net errno's.
14262 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14264 * libc/misc/ffs.c: New file to support ffs function for GCC test
14265 gcc.c-torture/execute/960909-1.c.
14267 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
14269 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
14271 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
14272 * libc/sys/sysmec/trap.S: Likewise.
14274 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
14276 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
14277 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
14279 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
14281 * libc/sys/sysmec/signal.c: Dummy file.
14282 * libc/sys/sysmec/Makefile.in: Build it.
14284 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
14286 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
14289 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
14291 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
14292 c-startup and simulator traps.
14295 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
14296 * libc/sys/sysmec/trap0.S: Likewise.
14298 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14300 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
14301 round to double word alignment.
14302 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
14305 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
14307 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
14310 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
14312 * configure.in: Handle mn10200 and mn10300.
14313 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
14314 * libc/include/sys/config.h: Likewise.
14315 * libc/sys/sysmec: New directory for mec stuff.
14316 * libc/machine/mn10300: New directory for mn10300 stuff.
14317 * libc/machine/mn10200: Similarly for mn10200 stuff.
14319 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
14321 * libc/sys/arm/crt0.S: Use .text, not .section .text.
14322 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
14324 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
14325 (nlink_t): Change type from unsigned int to unsigned short.
14326 (mode_t): Ensure size is 32 bits even if int is 16.
14327 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
14328 (st_spare[123]): Change type from int to long.
14330 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14332 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
14335 * configure.in (d10v*): Define SMALL_MEMORY.
14337 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14339 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
14340 -mrelocatable-lib and -mno-eabi flags.
14342 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
14344 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
14345 Fix handling of mis-aligned source operand when both the
14346 destination & length are properly aligned.
14348 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
14350 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
14351 times.o, time.o and gettime.o
14352 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
14353 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
14356 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
14358 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
14359 * libc/sys/sysnecv850/access.c: New file.
14361 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
14363 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
14365 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
14368 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
14370 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
14372 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
14374 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
14375 * libc/include/sys/config.h: Add m32r support.
14377 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
14379 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
14382 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
14384 * libc/include/machine/setjmp.h: Add D10v support.
14386 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14388 * configure.in: Configure the "libc/syscalls" directory for
14391 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14392 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14393 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14394 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14395 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14397 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14399 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14400 stack for args for main and other routines. Zero out args for
14403 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14406 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14408 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14411 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14413 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14414 real system calls now.
14416 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14417 before casting them to int.
14418 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14420 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14422 * libc/string/memset.c (memset): Ditto.
14424 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14425 first convert ints to _POINTER_INT to eliminate GCC warning.
14427 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14430 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14431 from 65000 if ints are only 16 bits.
14433 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14434 from 50000 if ints are only 16 bits.
14436 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14437 int type that is the same size as a pointer.
14439 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14441 (get_number): Explicitly cast number to long before shifting by 16
14442 or 24, in case ints are short.
14444 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14446 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14448 * libc/string.h: Added ffs, removed swab.
14449 * libc/sys/errno.h: Added EOPNOTSUPP.
14450 * libc/sys/unistd.h: Added swab.
14452 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14454 * libc/include/sys/stat.h: Added fchmod.
14455 * libc/include/sys/unistd.h: Added fsync.
14457 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14459 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14460 and ECONNRESET (104) for cygwin32.
14462 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14464 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14465 do the static destructors.
14467 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14469 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14471 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14473 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14474 * configure.in: Recognize m32r-*-*.
14476 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14478 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
14479 __rt_stkovf_split_small): Added default software stack overflow
14480 handlers, which just call SWI_Exit.
14481 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
14482 limit initialisation.
14484 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14486 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14488 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14490 * libc/include/sys/types.h: Added ssize_t definition.
14492 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14494 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14495 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14497 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14498 branch around a single ldi instruction.
14500 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14501 Call exit, instead of just issuing a stop instruction.
14503 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14505 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14507 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14509 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14510 longs, and then cast them to __uint32_t.
14512 * libc/include/sys/config.h: Protect against multiple inclusions.
14514 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14516 * configure.in (d10v*): Set syscall_dir.
14518 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14520 * libc/sys/d10v/crt0.S: Set stack pointer.
14522 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14524 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14525 in assembly for efficiency. Change calling convention to allow
14526 long ints to be returned.
14528 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14530 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14532 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14534 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14535 Handle empty entries in $PATH.
14537 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14539 * libc/machine/d10v/setjmp.S: Make it really work.
14541 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14543 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14544 the .stack section.
14546 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14548 * sys/sysnecv850/sys/file.h: Remove.
14549 * sys/sysnecv850/sys/syscall.h: New file.
14550 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14551 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14552 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14553 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14554 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14555 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14556 * sys/sysnec850/trap.S: New file.
14557 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14559 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14560 * sys/sysnec850/sbrk.c: New version.
14562 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14564 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14565 as long as r6 is less than r7.
14567 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14569 * Makefile.in (mostlyclean): Separate from clean target. Don't
14570 remove *.a or targ-include.
14571 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14573 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14575 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14577 (__SMALL_BITFIELDS): Ditto.
14579 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14581 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14583 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14586 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14587 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14588 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14589 * libc/sys/sysnecv850/write.c (write): Likewise.
14591 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14594 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14596 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14597 appropriately for D10V, depending on -mint16/-mint32.
14599 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14601 * configure.in: Add cases for D10V.
14603 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14605 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14607 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14609 * libc/include/machine/ieeefp.h: Fix typo.
14611 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14613 * libc/sys/d10v: New directory for D10V stuff.
14614 * libc/include/machine/ieeefp.h: Add D10V defines.
14616 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14618 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14619 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14620 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14621 * libc/string/strerror.c (strerror): Add them.
14623 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14625 * libc/sys/sysnecv850: New directory for v850 stuff.
14627 * libc/machine/v850: New directory for v850 stuff.
14628 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14630 * configure.in: Add support for the v850.
14632 * libc/include/machine/ieeefp.h: Add v850 defines.
14633 * libc/include/machine/setjmp.h: Likewise.
14634 * libc/include/sys/config.h: Add v850 defines.
14636 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14638 * libc/include/machine/ieeefp.h
14639 * libc/include/machine/setjmp.h
14640 * libc/include/sys/fcntl.h
14641 * libc/include/sys/signal.h
14642 * libc/include/sys/types.h
14643 * libc/stdlib/system.c:
14644 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14645 API availability, __CYGWIN32__ for cygwin32 environment specific).
14647 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14649 * libc/include/stdlib.h: add multibyte character functions. Add
14650 __eprintf for assert.
14652 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14654 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
14655 arithmetic or __alignof__ to properly get the alignment, instead
14656 of hardwiring it to 4.
14658 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
14660 * libc/stdio/fseek.c: add fflush call to adjust seek offset
14661 on append stream (fix from NetBSD sources), adjust curoff offset
14662 for ungetc's benefit.
14663 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
14664 * libc/stdio/rewind.c: replace code with up to date NetBSD
14665 code to undo hacks made to work around above problem of not
14666 having fflush call mentioned above
14668 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14670 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
14671 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
14672 Partially revert last changes. The thread specific errno is set
14673 iff if the underlying syscall fails and the global errno is not
14676 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14678 * libc/reent/filer.c: Removed files, all functions have split out
14679 into their own files.
14680 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
14681 New files containing functions formally in filer.c
14682 * libc/reent/Makefile.in: Updated for above change.
14684 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
14685 syscall fails, not if errno is changed.
14686 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
14687 _write_r): Likewise.
14688 * libc/reent/fstatr.c (_fstat_r): Likewise.
14689 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14690 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14691 * libc/reent/signalr.c (_kill_r): Likewise.
14692 * libc/reent/statr.c (_stat_r): Likewise.
14693 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14695 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
14696 signalr.c, statr.c, timer.c} (errno): declare extern rather
14699 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
14700 instead of calling vfprintf so that i*printf will not require
14701 floating point support code.
14703 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
14705 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
14707 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
14708 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
14710 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
14712 * libc/include/signal.h: _sig_func_ptr function takes an int
14713 * libc/include/sys/signal.h: sa_handler function takes an int
14715 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
14717 * libc/include/machine/ieeefp.h: Simplify H8/S support.
14718 * libc/include/sys/config.h: Add missing H8/S conditional.
14720 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
14722 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
14724 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
14726 * libc/include/machine/setjmp.h: Handle H8/S.
14727 * libc/include/machine/ieeefp.h: Likewise.
14728 * libc/include/sys/config.h: Likewise.
14729 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
14730 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
14731 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
14732 * libc/sys/h8300hms/crt0.S: Likewise.
14734 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
14736 * Makefile.in (datadir): Set to $(prefix)/share.
14737 (oldincludedir, docdir): Removed.
14738 * doc/Makefile.in (datadir): Set to $(prefix)/share.
14739 (oldincludedir, docdir): Removed.
14740 * libc/Makefile.in (datadir): Set to $(prefix)/share.
14741 (oldincludedir, docdir): Removed.
14742 * libm/Makefile.in (datadir): Set to $(prefix)/share.
14743 (oldincludedir, docdir): Removed.
14745 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
14747 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
14750 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
14752 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
14753 fetch current path rules with sysconf and handler posix/win32
14756 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
14758 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
14759 (WAIT_CHILD): Always define.
14761 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
14763 * libc/stdlib/eprintf.c: New file.
14764 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
14765 (eprintf.o): New target.
14767 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
14769 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
14770 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
14772 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
14774 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
14775 NT in PowerPC endianess cases.
14777 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14779 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
14781 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14783 * libc/string/strtok.c: Fix doc typo.
14785 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14787 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
14788 _next, _scanpoint, _signgam fields.
14790 * libc/include/stdlib.h (rand_r): Added new declaration.
14791 (_rand_r, _srand_r): Removed declarations.
14792 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
14793 have been made obsolete by rand_r.
14794 * libc/stdlib/rand_r.c: New file, rand_r function as specified
14797 * libc/string/strtok.c: Update documentation to describe
14800 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
14802 * libc/include/sys/stat.h (stat structure): Use the expanded stat
14803 structure on Solaris, and PowerPC systems even though __svr4__ is
14806 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
14808 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
14810 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
14812 * host/any: Use ../.. rather than .. to get to the main build
14813 directory. This matches the current layout of the build
14816 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
14818 * libc/machine/h8300/__main.S: Delete. No longer needed.
14819 * libc/machine/h8300/Makefile.in: Corresponding changes.
14820 * libc/sys/h8300hms/crt1.c: New file.
14821 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
14822 * libc/sys/h8300hms/crt0.s: Call __main.
14824 * libc/sys/h8300hms/crt0.S: Use temporary label names
14825 for branch targets.
14827 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
14829 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
14831 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14833 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
14834 .sdata on the PowerPC so that we can link newlib with code
14835 compiled with -msdata.
14837 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
14839 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
14841 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
14843 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
14844 exception handler to __cygwin_exception_handler.
14846 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
14848 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
14850 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
14852 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
14854 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
14855 wcstombs.o): Likewise.
14857 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
14859 * libc/stdlib/environ.c (initial_env): New static local.
14860 (environ): Point to `initial_env'.
14862 * libc/include/machine/setjmp.h: Clean up.
14863 (__H8300H__,__PPC__): Define _JBTYPE.
14864 (__arm__): Provide entry for.
14865 (sigjmp_buf): Delete.
14866 (jmp_buf): Use _JBTYPE if defined, otherwise int.
14868 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
14870 * libc/machine/h8300/strcmp.S: Sign extend the result to
14871 32bits so we don't lose with -mint32.
14873 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
14875 * libc/sys/go32/sys/errno.h: New file.
14876 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
14877 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
14878 errno's address (make compatible with rest of newlib).
14879 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
14880 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
14882 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
14884 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
14885 * libc/machine/sparc/Makefile.in: Build them.
14886 * libc/machine/sparc/machine/sparclet.h: New file.
14888 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14890 * libc/machine/sh/asm.h: New file.
14891 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
14892 support for SH3e's FP registers. Use asm.h.
14894 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
14896 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
14897 as first argument. Call _dtoa_r and pass the reent structure
14898 instead of calling __dtoa.
14900 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
14902 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
14903 the h8300, h8500, and others. Add comments for some rather
14906 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
14908 * Makefile.in (check): Check that testsuite exists before cd.
14910 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14912 * libc/include/string.h (strsep): Correct prototype.
14914 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
14916 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
14917 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
14918 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
14920 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
14922 * libc/posix/{creat.c,isatty.c}: New files.
14923 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
14925 * libc/sys/sparc64/crt0.S (environ): Delete.
14926 (.LHaveBias): Renamed from HaveBias.
14928 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
14930 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
14931 (_morecore_r): Delete SBRK_IS_ALLOC support.
14933 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14935 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
14936 module rather than touch, so we don't get warning messages when
14937 all of the libraries are combined into libc.a.
14939 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
14941 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
14942 crt0.s replaced by version in libgloss.
14944 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14946 * libc/reent/Makefile.in (OFILES): Add impure.o.
14947 * libc/reent/impure.o: New file, define initial reentrancy struct.
14948 * libc/reent/reent.c: Remove above definition.
14950 * libm/math/sf_asinh.c: Fix typo.
14952 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
14955 * libm/libm.texinfo: Change documentation to reflect changes
14956 in reentrancy model.
14957 * libm/math/w_gamma.c: Likewise.
14959 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
14961 * configure.in (*-*-cygwin32): New.
14962 (*-*-win32): Deleted.
14963 * libc/sys/win32 renamed libc/sys/cygwin32.
14965 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14967 * libc/include/sys/file.h: New include file.
14969 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
14971 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
14973 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
14975 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
14977 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14979 * doc/makedoc.c (realloc): Declare at file scope.
14980 (catchar): Not here.
14982 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
14984 * Makefile.in (VERSION): Update to 1.7.0.
14985 * {libc,libm}/Makefile.in (VERSION): Likewise.
14986 * configure.in: Minor clean up of multilib stuff.
14988 From David Johnson <davidj@ICSI.Berkeley.EDU>
14989 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
14991 * libc/stdlib/environ.c: New file.
14992 * libc/stdlib/Makefile.in (OFILES): Build it.
14993 * libc/sys/h8500hms/crt0.c (environ): Deleted.
14994 * libc/sys/m88kbug/crt0.c (environ): Deleted.
14995 * libc/sys/z8ksim/crt0.c (environ): Deleted.
14996 * libc/sys/netware/environ.c: Deleted.
14998 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15000 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15002 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15004 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15005 declaration out to external scope and declare it PTR, not char *.
15007 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15009 * libc/include/sys/unistd.h (getpagesize): New declaration.
15010 (_SC_PAGESIZE): New definition.
15011 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15012 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15014 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15016 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
15017 addressing. System call returns size, not (last address + 1).
15019 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15021 * libm/math/*.c: Removed _foo_r() reentrancy API.
15022 * libc/include/math.h: Removed _foo_r prototypes and macros.
15024 * libm/math/*.c: On systems with IEEE single precision "doubles"
15025 move foo() -> foof() wrapper code from the files that implement
15026 the standard IEEE double precision functions to the files that
15027 implement IEEE single precision functions. (ie. On those systems
15028 sin is moved from s_sin.c to sf_sin.c). There should eventually
15029 be use of a C extension (like gcc's alias attribute) so that the
15030 wrappers are not needed at all.
15032 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
15033 strict NEC V810 compiler.
15034 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
15037 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15039 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
15040 from NetBSD C library.
15041 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15043 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
15044 and adapted from implementation I wrote for NetBSD C library.
15045 The difference is __assert doesn't take a format argument,
15046 so that there won't be multiple copies of the same string
15047 constant in the executable if assertions are enabled in
15048 more than one source module.
15049 * libc/include/assert.h (assert): Changed to call __assert.
15051 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15053 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15054 word1 on systems with 32 bit doubles.
15055 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15056 so that we can do arithmetic on them.
15057 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
15060 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15062 * libc/sys/arm/crt0.S: Zero bss.
15064 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15066 * libc/include/unctrl.h: New file.
15067 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15068 * configure.in (subdirs): Add libc/misc.
15069 * libc/Makefile.in (SUBDIRS): Add misc.
15070 (SUBLIBS): Add misc/lib.a.
15072 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15074 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15076 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15077 (_vfprintf_r): Call CHECK_INIT.
15079 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15081 * Makefile.in (MULTITOP): Delete.
15082 (MULTISRCTOP, MULTIBUILDTOP): Add.
15083 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
15084 instead of cfg-ml-pos.in.
15086 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15088 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
15089 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
15092 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15094 * libc/string/strtok.c: Include string.h to pick up strtok_r
15097 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15099 * libc/string/strtok.c: include <_ansi.h>.
15100 * libc/time/asctime_r.c: `reresult' -> `result'.
15102 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15104 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
15105 in #ifndef _REENT_ONLY ... #endif conditional.
15107 * libc/include/string.h (_strtok_r): Remove declaration.
15108 * libc/include/time.h (_asctime_r): Remove declaration.
15109 * libc/string/strtok.c (_strtok_r): Removed.
15110 * libc/time/asctime.c (_asctime_r): Removed.
15112 * libc/string/Makefile.in (OFILES): Add new object.
15113 * libc/string/strtok_r.c: New file. strtok_r function as
15114 specified by POSIX.1c, adapted from strtok implementation
15115 from NetBSD C library.
15116 * libc/string/strtok.c (strtok): Reimplemented in terms of
15119 * libc/time/Makefile.in (OFILES): Add new objects.
15120 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
15121 New files, reentrant time functions specified by POSIX.1c.
15122 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
15123 reentrant time functions re-written in terms of reentrant
15125 * libc/time/lcltime.c: Renamed from localtime.c
15127 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
15128 gmtime_r, and localtime_r.
15130 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
15132 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
15133 * libc/include/sys/unistd.h (getlogin): Revert change of
15135 * libc/include/sys/signal.h (sigprocmask): Change prototype
15136 so it compiles with c++.
15138 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
15140 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
15141 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
15142 to give some room in case we need to align the jmp_buf.
15144 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
15145 the new ppc-asm.h include file the compiler provides to specify
15146 function prologue/epilogue. Eliminate saves of the xer and ctr
15147 registers, which are volatile. Before starting to save registers,
15148 align to 8 byte boundary.
15150 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15152 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
15153 referenced by standard libraries.
15155 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
15157 * libc/unix/Makefile.in, libc/string/Makefile.in,
15158 libc/stdio/Makefile.in, libc/reent/Makefile.in,
15159 libc/posix/Makefile.in:
15160 Remove tabs from otherwise empty line. Confuses some
15161 older non-GNU versions of "make".
15163 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
15165 * libc/sys/unistd.h (getlogin): Returns const char *.
15167 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
15169 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
15170 * libc/include/errno.h: Moved into and include...
15171 * libc/include/sys/errno.h: New file.
15172 * libc/include/sys/wait.h: New file.
15173 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
15174 * libc/sys/win32/*: Moved out.
15175 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
15176 * configure.in (i[345]86-*-win32): HAVE_RENAME
15178 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
15180 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
15181 avoid macro expansion for these two names.
15183 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
15185 * libc/machine/h8500/psi.S: r6 renamed to fp.
15187 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15189 * configure.in (powerpc*): No longer need to define
15190 NO_LONGLONG_POINTERS to supress warnings.
15192 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15194 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
15195 through PTR instead of directly.
15197 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
15198 non-standard constructor support.
15200 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15202 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
15203 address of the Bigint instead of the address of its _x field,
15204 as the size the result buffer was calculated accordingly.
15205 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
15207 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
15208 from NetBSD C library. No longer special cases division by
15209 zero (which needs to be done by the application anyway), but
15210 it doesn't need to call abs() (or labs()) four times either.
15212 * libc/stdlib/qsort.c: Replaced with implementation from
15215 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15217 * libc/stdio/vfprintf.c: Replaced with implementation from
15218 NetBSD C library (which is derived from the 4.4BSD C library).
15219 * libc/stdio/cvt.c: Removed.
15220 * libc/stdio/Makefile: Updated.
15222 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
15224 * libc/sys/win32/syscalls.c (rename): New.
15225 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
15227 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15229 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
15230 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
15232 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
15233 (setjmp.o): Delete rule to build setjmp.o.
15234 * libc/sys/sh/setjmp.S: Delete file.
15236 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15238 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
15239 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
15240 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
15241 pow5mult and s2b to identifiers with leading underscores.
15242 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
15243 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
15245 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
15247 * libc/sys/posix/popen.c (sys/types.h): Include.
15249 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
15251 * libc/sys/win32/syscalls.h (fhandler): New struct.
15252 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
15253 (__fhandler_normal): Declare.
15254 (hinfo): New member op_handlers.
15255 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
15256 (__write): Likewise.
15257 (_read, _write, _open, _close, _lseek): Validate fd here.
15258 Move file type specific stuff to foo_normal.
15259 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
15261 (__lookup_fhandler): New function.
15262 (__lookup_fhandler_hook, __fhandler_normal): New variables.
15264 From anders.blomdell@control.lth.se (Anders Blomdell)
15265 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
15266 Don't touch standard handles.
15267 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
15268 (_execve): Only create __FD_TABLE__ if necessary.
15269 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
15271 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
15273 * libc/sys/win32/sys/termios.h (FLUSHO): New.
15274 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
15275 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
15276 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
15277 without a handler is received.
15278 * libc/sys/win32/Makefile.in: Remove --nodelete.
15279 * libc/sys/win32/resouce.c (gettimeofday): New.
15280 * libc/sys/win32/syscalls.c (path_to_real_path): New.
15281 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
15283 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
15285 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
15286 Don't append "/*" to search pattern if trailing '/' already there,
15288 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
15289 like /'s, convert them to \'s. Handle //<drive>/ path names.
15290 Add space for quoted \'s in arg string. Print translated prog name
15291 and original prog name.
15292 (_execve): Handle parent doing exec a teensy bit better.
15293 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
15294 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
15295 path needs conversion, handle both cases. Delete `const' from result.
15296 (hash_path_name): New function.
15298 (_stat): Likewise. Fill in more fields for directories.
15299 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
15300 (wait_for_any): Fix trace message.
15301 (waitpid): Explicitly test for intpid == 0.
15303 From anders.blomdell@control.lth.se (Anders Blomdell)
15304 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
15305 so `next' is valid.
15307 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
15309 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
15312 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15314 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
15315 at all, not just == 1.
15316 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
15318 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15320 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
15321 * libc/sys/win32/include/wintypes.h: include <winnt.h>
15322 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
15325 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15327 * libc/sys/syscalls.c (getcwd): Fix off by one error.
15329 * libc/sys/signal.c (sleep): Fill it in.
15330 * libc/sys/termios.c (tcflush): Use PurgeComm
15331 (tcsetattr): Set some more of the bits.
15332 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
15334 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
15336 * libc/sys/arm/crt0.S (fp): Initialize to 0.
15337 Conditionally include .idata$3 stuff ifdef __pe__.
15339 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15341 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
15342 * libc/sys/win32/pipe.c (pipe): Ditto.
15343 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
15344 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
15345 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
15346 (tcgetattr): Contents are new.
15347 * libc/sys/win32/include/winkernel.h (DCB): New.
15348 (GetCommState, SetCommState): New.
15350 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
15352 * libc/sys/arm/crt0.S (_start): Define.
15354 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
15356 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
15357 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
15359 * libc/sys/win32/sysconf.c: New
15360 * libc/sys/win32/sys/winadvapi.h: New
15361 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
15362 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
15363 * libc/sys/win32/pipe.c (pipe): Ditto.
15364 * libc/sys/win32/signal.c (_raise): New.
15365 (_kill): Moved from spawn.c
15366 * libc/sys/win32/spawn.c (kill): Moved to signal.c
15367 * libc/sys/win32/syscalls.c (__read): Use new fields.
15369 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
15370 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
15371 * libc/include/sys/unistd.h (rmdir): Takes const path.
15372 * libc/include/sys/stat.h (mkdir): Takes const path.
15373 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
15375 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
15377 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
15379 Add support for specifying paths as //<drive>/foo/bar.
15380 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
15381 (__path_to_real_path): Declare.
15382 (PATH_TO_REAL_PATH): New macro.
15383 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
15384 (__path_needs_conversion_p, __path_to_real_path): New functions.
15385 (_open): Fix test for error return from CreateFileA.
15386 Handle new path syntax.
15387 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15388 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15390 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15392 * libc/sys/win32/include/*.h: Reorganized
15393 * libc/sys/win32/include/WINREADME: New.
15394 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15395 * libc/sys/win32/*.c: Fix for new include scheme.
15396 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15397 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15398 * libc/sys/win32/passwd.c (*): Fix.
15399 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15400 (_stat): Get directory owner and permissions right.
15401 * libc/sys/win32/syscalls.h (uinfo): New.
15402 * libc/sys/win32/version.def: Remove leading underscores.
15404 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15406 * libc/sys/win32/key.c: include "include/wincon.h".
15408 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15410 * libc/sys/win32/{key, stubs}.c: New.
15411 * libc/sys/win32/Makefile: Adjust to cope.
15412 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15413 (environ_init): Change env names to upper case.
15414 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15415 * libc/sys/win32/passwd.c (*): Fill in the functions.
15416 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15417 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15418 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15419 (_open): Initialze hmap->execable_p too.
15420 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15421 (_fstat): Fill in permissions.
15422 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15424 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15426 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15428 (cfg-ml-pos.in invocation): Likewise.
15430 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15432 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15433 s_isnan.o and sf_isnan.o.
15435 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15437 * All Makefile.in files: added maintainer-clean target as a
15438 synonym for realclean.
15440 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15442 * libc/include/machine/setjmp.h: Add hppa support.
15443 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15445 * libc/machine/hppa/Makefile.in: Related changes.
15447 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15449 * configure.in (machine_dir): Don't set for v810-*-*.
15451 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15453 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15454 conventions correctly.
15456 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15458 * libc/stdio/puts.c: Update documentation of return value to match
15461 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15463 Fix file descriptor inheritance.
15464 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15465 (NOT_OPEN_FD): Fix.
15466 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15467 close-on-exec flag not set. Initialize child's entire fd table.
15468 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15470 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15471 if CHILD_P. Initialize entire hmap entry.
15472 (dup): Only create new handle as inheritable if CHILD_P.
15473 (dup2): Likewise. Properly initialize hmap entry.
15475 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15477 (_exit): Use CHILD_P.
15478 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15481 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15483 * libc/sys/win32/crt0.c (passover): fix up the state table.
15484 * libc/posix/popen.c: Added.
15485 * libc/posix/Makefile.in: compile popen.c.
15487 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15489 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15490 h8/500 define _DOUBLE_IS_32BITS.
15492 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15494 Get vfork/exec/spawn/cwait/wait working again.
15495 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15496 (procinfo): New member vfork_level.
15497 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15498 (vfork_init_first): Use GetCurrentProcessId to get pid.
15499 Initialize vfork_level.
15500 (vfork_init): Delete __PID__.
15501 (environ_init): New function. Undo patch of Aug 19, Posix says
15502 environment variables are case sensitive.
15503 (mainCRTStartup): Call it.
15504 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15505 (my_longjump: Make static.
15506 (_spawn): New argument `h'. Delete setting of __PID__.
15507 Delete local `idx'. Look for chars that need quotes, rather than
15508 ones that don't. Set handle of created process in `h'.
15509 Result is process id if created task.
15510 (allocate_spawn_entry): New function.
15511 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15512 (_execve): Set __FD_TABLE__ before spawning child.
15513 Scan our fd table when passing fds, not our parent's.
15514 Store handle and pid in procinfo entry.
15515 (vfork0): Ensure strace message always printed.
15516 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15517 (vfork): Don't clobber result of vfork0.
15518 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15519 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15521 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15523 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15524 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
15525 adding vfork level to pseudo-pid.
15526 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15527 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15528 (_exit): If child, set exit code.
15529 (__vfork_record_death): Only close process handle if valid.
15530 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15532 (wait_for_any): Likewise. Start scan after root entry.
15534 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15536 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15537 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15538 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15539 of actual file length.
15541 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15542 * libc/include/paths.h: _PATH_BSHELL added.
15543 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15546 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15548 * libc/include/ar.h: Added.
15549 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15550 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15551 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15553 (_fstat): use .namehash for inode number of the fd.
15555 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15557 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15558 Change hinfo to __this_procinfo.
15559 * libc/sys/win32/crt0.c: Remove procinfo_list.
15561 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15563 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15566 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15568 * libc/sys/win32/include/grp.h: Removed.
15569 * libc/sys/include/grp.h: Added.
15570 * libc/sys/win32/grp.c: Include <grp.h>.
15572 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15574 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15575 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15576 Defined for all but strict ANSI.
15577 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15578 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15579 * libc/signal/signal.c (_signal_r): Changed from using
15580 _MAX_SIGNALS to NSIG.
15581 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15583 (__strace, __vfork_next_pid): New.
15584 (__exe_suffix): Default to 1.
15585 (passover, table): Understand quoted arguments.
15586 (vfork_init_first): New.
15587 (vfork_init): Initialize new process structure.
15588 (mainCRTStartup): Pass environ to main.
15589 * exceptions.c (__sig_mask): New
15590 (ehandler3): Ignore signals in mask.
15591 (really_exit): Remove CHILD_P test.
15592 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15593 * resource.c (getrusage): Ditto.
15594 * signal.c (sigprocmask): New.
15595 * spawn.c (*): Rewritten.
15596 * syscalls.c (*): Use new process and file structure.
15597 (find_unused_handle): New.
15598 * syscalls.h (MAX_HANDLES): Deleted.
15599 (hinfo): Removed child_created_p.
15600 (MAX_CHILDREN): Deleted.
15601 (vfork_jmp_info, procinfo): New.
15602 * wait.c (*): Mostly new.
15603 * sys/strace.h (_STRACE_PARANOID): New.
15604 * sys/param.h: New file.
15606 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15608 * libc/include/sys/stat.h: add S_BLKSIZE.
15609 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15610 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15612 (mode_t): add a #else to avoid multiple definitons.
15614 * libc/sys/win32/Makefile.in: add grp.c.
15615 * libc/sys/win32/grp.c: include grp.h correctly.
15616 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15617 of the st structure with real information.
15618 * libc/sys/win32 (dirent): d_ino is of type ino_t.
15620 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15622 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15623 and (maybe) sparc64.
15624 (nlink_t): Provide typedef.
15626 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15628 * libc/sys/win32/grp.c: New file.
15629 * libc/sys/win32/include/grp.h: New file.
15631 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15633 * libc/include/machine/ieeefp.h: Added whitespace to make this
15634 file easier to maintain.
15635 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15636 depending on the value of __LITTLE_ENDIAN__.
15637 On the sh3e, define _DOUBLE_IS_32BITS.
15639 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15641 * libc/sys/vr4300/syscalls.c: Added missing support
15642 routines. _raise() and getpid().
15644 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15646 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15648 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
15650 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
15651 and VR4300 processor.
15652 * libc/sys/vr4300: Add directory.
15653 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
15654 monitor run-time support.
15656 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15658 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
15659 * libc/stdlib/stdlib.tex: Don't include atol.def.
15661 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15663 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
15665 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
15667 * libc/ctype/Makefile.in: Fill in _to* dependencies.
15669 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
15671 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
15672 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
15673 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
15674 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
15675 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
15677 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15679 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
15681 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15683 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15684 * libc/stdlib/atoff.c: New file.
15685 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15686 * libc/stdlib/atoi.c (atol): Removed.
15687 * libc/stdlib/atol.c: Removed duplicate documentation.
15689 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15690 #ifndef _STRICT_ANSI conditional.
15691 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15692 * libc/ctype/_tolower.c: New file.
15693 * libc/ctype/_toupper.c: New file.
15694 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15695 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15696 * libc/ctype/toascii.c (_toascii): Removed.
15698 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15700 * libc/sys/sparc64/sys/types.h: Deleted.
15702 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15704 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
15705 and recognize Windows_95 systems.
15707 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15709 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
15710 and passed fds should be opened in text mode.
15712 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15714 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
15715 in __hmap, set to binary mode by default.
15717 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15719 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
15720 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
15723 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
15725 * Makefile.in (install): Install all libraries found in the
15726 top level. If there's a sys/<type>/include directory,
15727 install those headers into include.
15729 * libc/sys/win32/kernel.def351: Delete
15730 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
15731 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
15732 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
15733 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
15734 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
15735 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
15736 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
15737 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
15739 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
15740 * libc/sys/win32/crt0.c: Force all env names to upper case.
15741 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
15742 * libc/sys/win32/*.c: Headers have moved.
15743 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
15744 __vfork_child_idx is now __vfork_child_ptr.
15746 * posix/execvp (execvp): Don't crash if no PATH envname.
15748 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15750 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
15751 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
15752 through the _freelist instead of through the _reclaim list.
15753 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
15754 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
15757 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15759 * libc/machine/h8500/setjmp.S: New file.
15760 * libc/include/machine/setjmp.h: Updated for H8/500.
15762 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
15764 * libc/sys/win32/syscalls.c (_open): More stracing.
15765 (_stat): Open the file in O_BINARY.
15767 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15769 * libc/machine/h8300/setjmp.S: New file.
15770 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
15772 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
15774 * libc/sys/win32/crt0.c (__exe_suffix): New global.
15775 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
15776 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
15777 __exe_suffix. Free fd_tab after setting env variable.
15778 (spawnv,_execve): Update.
15779 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
15780 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
15781 (__small_vfprintf): New function.
15782 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
15783 * libc/sys/win32/wait.c (cwait): Validate argument.
15785 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
15786 (process_deletion_queue): Likewise.
15788 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
15790 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
15792 * libc/sys/win32: Copyrights and gratuitous indenting.
15794 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
15796 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
15797 (process_deletion_queue): Likewise.
15798 (__close_all_files): New function.
15799 (_close): Only queue file deletion if really a file.
15800 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
15802 (_exit): Call __close_all_files.
15804 * libc/stdlib/system.c: #include <errno.h>.
15805 (_system_r): Fix results in -DNO_EXEC case.
15807 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
15808 Reorganize structure.
15809 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
15810 if argument is valid. Save directory name in DIR. malloc space
15811 for dirent struct separately.
15812 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
15814 * libc/include/errno.h (ENAMETOOLONG): Define.
15815 * libc/string/strerror.c (strerror): Reword ENFILE.
15816 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
15818 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
15820 * libc/sys/win32/crt0.c (__progname): New global.
15821 (mainCRTStartup): Support strace=bitmask,filename.
15822 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
15823 * libc/sys/win32/syscalls.c (_write): Print parent trace message
15825 (getcwd): Handle len too small. Convert '\\' to '/'.
15826 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
15827 Add prototypes for open, creat, fcntl.
15828 (O_APPEND): Change value to conform to Microsoft's value.
15829 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
15831 * libc/stdlib/getopt.c: New file.
15832 * libc/stdlib/Makefile.in: Build it.
15834 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
15836 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
15837 Fix scanning of $PATH.
15838 * libc/posix/exec*.c: Call _execve, not execve.
15839 * libc/posix/execve.c: New file.
15840 * libc/posix/Makefile.in (OFILES): Add execve.o.
15842 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
15843 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
15844 (_STRACE): If level==0, always print. Handle new bit mask scheme.
15845 * libc/sys/win32/crt0.c: Update _STRACE calls.
15846 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
15848 * libc/sys/win32/smallprint.c (rn): Fix digit list.
15850 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
15851 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
15852 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
15853 Print __seterrno trace message first.
15854 (_execve): Renamed from execve.
15855 (vfork): Update __strace usage.
15856 (__vfork_child_pid): Deleted.
15857 (__vfork_children, __vfork_child_idx): New globals.
15858 (_spawnvp): New function.
15859 (spawnvp, spawnv, _execve): Call _spawnvp.
15860 (init_child): Record child in __vfork_children.
15861 (__vfork_get_entry, __vfork_record_death): New functions.
15862 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
15863 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
15864 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
15865 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
15866 (children): New typedef.
15867 (__vfork_children,__vfork_child_idx): Declare.
15868 (__vfork_get_entry,__vfork_record_death): Declare.
15869 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
15870 (waitpid): Handle pid == -1.
15871 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
15872 * configure.in (i386-win32): Add -DNO_FORK.
15873 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
15874 * libc/reent/execr.c (_fork_r): Likewise.
15875 * libc/stdlib/system.c (do_system): New function.
15876 If WIN32, try to get shell path from $SH_PATH, use vfork.
15877 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
15878 otherwise return 0.
15880 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
15882 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
15883 * libc/sys/win32/fcntl.h: Don't include self.
15884 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
15885 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
15886 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
15887 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
15888 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
15889 Correct prototypes.
15890 * libc/sys/win32/strace.c: New file.
15891 * libc/sys/win32/smallprint.c: New file.
15892 * libc/sys/win32/crt0.c (func): Delete.
15893 (mainCRTStartup): Fix alloca usage. Set handles explictly.
15894 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
15895 * libc/sys/win32/exceptions.c: Lint.
15896 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
15897 Clean up handle usage.
15898 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
15899 (open.c): Default file type is text.
15900 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
15901 * libc/sys/win32/advapi32.def: New
15903 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
15905 * configure.in (posix_dir, libc_posix_lib): New variables.
15906 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
15907 (i[345]86-*-win32): Define posix_dir.
15908 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
15909 (if unix_dir): Fix typo.
15910 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
15911 scandir,seekdir,telldir}: New files.
15912 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
15914 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
15915 (SUBDIRS): Add posix.
15916 (SUBLIBS): Add $(LIBC_POSIX_LIB).
15918 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
15919 (NSIG): Increase to 21.
15920 * libc/include/sys/unistd.h (pid_t): Move from here,
15921 * libc/include/sys/types.h (pid_t): to here.
15923 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
15924 (__ptrace): Delete.
15925 (hinfo): New members close_exec_p, child_created_p.
15926 (struct exception_list): Define.
15927 (__hmap): Redefine as pointer to table.
15928 (__parent_hmap, __child_hmap): New globals.
15929 (__set_errno, __really_exit): Declare.
15930 (__vfork_child_pid): Declare.
15931 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
15932 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
15933 (__parent_hmap, __child_hmap): New globals.
15934 (__hmap): Redefine as pointer to active map.
15935 (__get_console): New function.
15936 (mainCRTStartup): Change leading '=' in environ vars to '!'.
15937 (env __FD_TABLE__): Watch for this and initialize our fd/handle
15938 mapping table from it if defined.
15939 (argv, envp): Dump if __strace >= 4.
15941 * libc/sys/win32/exceptions.c (myp): Redefine.
15942 (__syscalls_b): Delete.
15943 (__stack_trace): New function.
15944 (ehandler3): Update to use _STRACE. Print stack trace.
15945 Call __really_exit instead of exit.
15946 (init_exceptions): Delete args argc,argv. New arg mine.
15947 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
15948 FindFirstFileA, FindNextFileA, GetComputerNameA,
15949 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
15950 * libc/sys/win32/signal.c (signal): Validate arg.
15951 (alarm, sleep): Define as stubs for now.
15952 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
15953 (__syscalls_b, errno): Delete.
15954 (__vfork_child_pid, __vfork_jmp_buf): New globals.
15955 (__seterrno): Handle more errors.
15956 (__sys_printf): Renamed from _ptrace.
15957 (__really_exit): New function.
15958 (queue_file_deletion, process_deletion_queue): New functions.
15959 (__resume_parent): New function.
15960 (_unlink): Handle trying to delete open file.
15961 (__totime_t): Renamed from totime_t.
15962 (setsid, __read, __write): New functions.
15963 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
15964 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
15965 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
15966 * libc/sys/win32/console.c: Update to new definition of __hmap.
15967 * libc/sys/win32/Makefile.in: Build new files.
15968 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
15969 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
15970 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
15971 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
15973 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
15975 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
15977 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15979 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
15980 have been made to the master dtoa.c sources (from netlib.att.com)
15981 since they were integrated into newlib in early 1992. Fixes
15982 problems with storage leaks and handling of numbers with very
15983 negative exponents.
15985 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15987 * Makefile.in (all): set rootpre and srcrootpre before calling
15990 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
15992 * libc/sys/win32/crt0.c: Change __hmap usage.
15993 * libc/sys/win32/exceptions.c: Use _ptrace call.
15994 * libc/sys/win32/syscalls.c: Use _ptrace call.
15995 (read, write): Cope with DOS style CRLF when in TEXT mode.
15996 * libc/sys/win32/syscalls.h: Declare hinfo struct.
15997 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
15998 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
15999 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16000 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16002 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16004 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16006 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16007 wrappers for hypot() and remainder() for BSD libm compatibility.
16008 These are public domain implementations written by me for the
16009 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16010 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16011 (fobj): Added wf_cabs.o and wf_drem.o.
16013 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16015 * libc/sys/h8500hms/misc.c: New file.
16016 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16018 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16020 * libc/time/localtime.c (localtime): Fix problem with leap year
16021 handling. Stole algorithm from Arthur David Olson's tz code.
16023 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16025 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16027 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16028 (_exit): Use argument.
16030 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16032 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16034 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16036 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16038 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16040 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16043 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16045 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16046 ptrace with case insensitivity
16047 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
16048 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
16051 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16053 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16054 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16055 (all, install, *clean): Use new multilib support.
16056 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16058 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16060 * libc/include/sys/signal.h (__WIN32__): New.
16062 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16064 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16065 (ulp, b2d): Handle 32 bit doubles.
16066 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16067 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16069 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16071 from medp@primag.co.uk:
16072 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16073 dynamically allocated buffers.
16075 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16077 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16078 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16080 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16082 * configure.in (powerpc): Fix previous fix.
16084 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16086 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
16087 directories for this target.
16089 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16091 * configure.in (hppa): Add machine_dir definition.
16092 * libc/machine/hppa: New directory with PA specific implementations
16093 of the basic memory/string functions.
16095 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16097 * configure.in: Update current PowerPC multilib directories.
16098 Split big and little endian configurations.
16100 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
16102 * configure.in: Add --enable-single-float option to configure to
16103 control use of MIPS single-float directories. Default to yes.
16105 * Makefile.in (all): Don't recurse into multilib directory if it
16108 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16110 * libc/sys/sh/syscalls.c: Fix typo.
16112 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
16114 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
16116 * libc/include/process.h: Define WAIT_CHILD.
16117 * libc/include/types.h: Get sizes right for win32.
16118 * configure.in (i386-*-pe): Becomes i386-win32.
16119 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16120 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
16121 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
16124 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
16126 * configure.in (i[345]86-*-pe): New target (NT).
16127 * host/any: DLLTOOL new.
16128 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16129 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
16130 WIN32 (just enough to cross host the comp-tools).
16132 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
16134 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
16135 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
16137 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
16139 * libc/include/machine/ieeefp.h (arm): Change to always be
16140 __IEEE_BIG_ENDIAN (even on little endian ARM's).
16142 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
16144 * libc/sys/crt0.S: Initialze sp, and call exit after main.
16145 * libc/sys/syscalls.c (abort): New.
16146 * configure.in (arm): Define ABORT_PROVIDED.
16148 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16150 * configure.in (powerpc): Define multidirs.
16152 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
16154 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
16156 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
16158 * configure.in (sparclite): Delete target_cflags. Define multidirs.
16160 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
16162 * configure.in, libc/include/machine/ieeefp.h: Modified
16164 libc/machine/arm/*, libc/sys/arm/*: New
16166 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16168 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
16169 __powerpc__ when determining endianness.
16171 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16173 * configure.in (m68*): Add multidir for the m68332.
16175 * host/any (CC): Fix typo in last change.
16177 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
16179 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
16180 when determining endianness.
16181 * libc/include/machine/ieeefp.h: Ditto.
16182 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
16185 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
16187 * libc/include/errno.h (ENOTEMPTY): Define.
16189 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16191 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
16194 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
16197 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
16198 instead of only when open succeeds. ANSI requires that multiple
16199 calls to tmpnam() result in different files.
16201 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
16202 objects pulled in from /lib/libc.a that must be renamed before
16203 being pulled into newlib. /lib/libc.a's div.o conflicted with
16204 newlib's file with the same name.
16206 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
16208 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
16209 the build tree will only be used if the executables are present
16210 (instead of just the Makefiles).
16212 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
16214 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
16215 versions of these functions that I orignally wrote for the
16217 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
16218 versions I wrote for NetBSD.
16220 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
16222 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
16223 * libc/sys/sparclite/crt0.s: ditto.
16225 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
16227 * configure.in: Add soft-float for proelf.
16229 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
16231 * libc/stdlib/mprec.h (Bcopy): Copy the right number
16234 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
16236 * Makefile.in (all): Depend on `force'.
16237 * configure.in (syscall_dir): Renamed from fake_sys_dir.
16238 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
16239 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
16240 * libc/Makefile.in: Likewise.
16241 * libc/include/reent.h: Update syscall references.
16242 (_fcntl_r): Add prototype.
16243 * libc/syscalls/*.c #include <reent.h>.
16244 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
16246 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
16248 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
16249 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
16250 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
16251 (time.h, sys/types.h): Always include (even if MSDOS).
16252 (stat): Fix prototype.
16254 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
16256 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
16258 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16260 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
16262 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
16264 * libc/include/regdef.h: New file.
16265 * libc/machine/mips/machine/regdef.h: New file.
16267 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
16269 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
16271 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
16273 * libc/sys/sh/crt0.S: Pass main's return to exit.
16274 * libc/sys/sh/trap.S: Put errno in the right place.
16276 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16278 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
16279 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
16280 * libm/math/ef_rem_pio2.c: Likewise.
16281 * libm/math/e_log10.c: Remove unused static one.
16282 * libm/math/ef_log10.c: Likewise.
16283 * libm/math/s_frexp.c: Likewise.
16284 * libm/math/sf_frexp.c: Likewise.
16286 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
16288 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
16289 longjmp.S: Upgraded.
16290 * libc/sys/go32/sys/setjmp.h: Upgraded.
16291 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
16293 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16295 * configure.in: Add many entries to multidirs for mips targets.
16297 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16299 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
16300 5.2 which fixes bug where jn(-1,x) is three times larger than
16302 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
16304 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
16306 * libc/sys/w65/sys/syscalls.h: New file
16307 * libc/include/machine/ieeefp.h: W65 support.
16308 * libc/include/sys/config.h: Ditto.
16309 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
16310 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
16311 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
16313 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16315 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
16317 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
16319 * Makefile.in, configure.in: Remove any references to the old
16322 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16324 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
16325 uses ... in prototype.
16328 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
16330 * libc/sys/a29khif/sys/libconfig.h: Remove.
16331 * libc/sys/go32/sys/libconfig.h: Remove.
16332 * libc/sys/sun4/sys/libconfig.h: Remove.
16333 * libc/sys/sysvi386/sys/libconfig.h: Remove.
16334 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
16335 * libc/sys/sparc64/sys/libconfig.h: Remove.
16337 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
16338 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
16339 * libc/include/math.h: Change all uses of _FLOAT_RET and
16340 _FLOAT_ARG to float.
16341 * libm/test/math.c: Likewise.
16342 * testsuite/libm.sac/math.c: Likewise.
16343 * testsuite/libm.sac/working/math.c: Likewise.
16345 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16347 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
16348 gcc calls gas with endian option.
16349 * configure.in (sh): Build little endian version too.
16351 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16353 * configure.in: Configure big and little endian versions for MIPS
16356 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
16358 * libc/include/limits.h: Deleted.
16359 * libc/include/machine/limits.h: Deleted.
16361 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
16363 * ChangeLog: Remove stub directory. This has all been rewritten
16364 and moved to devo/libgloss.
16366 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16368 * Makefile.in (dvi): Add to info target, use $@ in sub make.
16369 (docs): Merge into info target.
16370 * libm/Makefile.in (dvi): Add $(srcdir).
16371 * libm/math/Makefile.in (chobjs): Remove underscores from file
16372 names. Texinfo doesn't like them.
16373 (wacos.def, ...): Add explicit targets for all .def files.
16374 * libm/math/math.tex: Remove underscores from @include file names.
16375 * doc/Makefile.in (dvi): Add dummy target.
16376 * testsuite/Makefile.in (dvi): Add dummy target.
16378 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
16380 * Makefile.in (VERSION): Define. For net newlib releases.
16382 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
16384 * README: New file.
16386 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16388 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16390 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16392 * libc/stdlib/setenv.c (_findenv): Declare.
16394 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16395 fcntl to not use _EXFUN, and change string parameters to open and
16396 creat to be ``const char *''.
16397 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16398 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16399 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16400 (open) Make _FILE const.
16401 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16402 (_creat): Make PATH const.
16403 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16404 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16405 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16406 * libc/sys/sh/syscalls.c (_open): Likewise.
16407 * stub/shared/glue.c (open): Make BUF const.
16408 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16410 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16412 * libc/include/errno.h: Add ENMFILE
16413 * libc/include/sys/config.h: Support Z8000.
16414 * libc/include/sys/signal.h: New signals for go32.
16415 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16416 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16417 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16418 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16419 size is variable, depending upon CHUNK_POWER.
16420 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16422 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16424 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16426 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16428 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16430 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16432 * configure.in: Change i[34]86 to i[345]86.
16434 * libc/include/math.h: Don't define HUGE_VAL if it is already
16437 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16439 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16440 * testsuite/libm.sac/test_gammaf.c: Likewise.
16441 * testsuite/libm.sac/test_sin.c: Likewise.
16442 * testsuite/libm.sac/test_tanh.c: Likewise.
16444 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16446 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16447 already set. Define typedefs __int32_t and __uint32_t.
16448 * libc/include/math.h: Include <machine/ieeefp.h>.
16449 (union __dmath): Use __uint32_t.
16450 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16451 instead of int and unsigned int.
16453 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16455 Replace the math library with the SunPRO fdlibm package.
16456 * libm/math: Completely changed all files.
16457 * libm/ieeefp: Remove contents and directory.
16458 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16459 (SUBDIRS): Just set to math/lib.a.
16460 * libm/libm.texinfo: Updated for new library.
16461 * libc/include/math.h: Extensive changes for new math library.
16462 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16463 from _FLOAT_ARG to float.
16464 (maxpowtwo, maxpowtwof): Don't declare.
16465 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16466 (libm_fp_lib): Removed.
16467 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16468 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16469 argument to ${RUNTEST}.
16470 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16472 (RUNTESTFLAGS): Set CC and CFLAGS.
16473 (TESTS): Remove test_log2 and test_log2f.
16474 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16475 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16476 _FLOAT_ARG, for single precision argument type.
16477 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16478 expected failure. Close the input pipe.
16479 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16480 Correct misspelling of inaccurate.
16481 (test_mok): Use ``inaccurate'', not ``wrong''.
16482 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16483 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16484 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16485 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16486 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16487 test_yn.c): Correct many result values. Many are still wrong.
16489 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16490 just copy the string.
16491 (_gcvt): Always return the buffer.
16493 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16495 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16497 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16499 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16501 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16502 (_reclaim_reent): declare new entry point.
16503 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16506 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16507 ever allocated, so that we can later reclaim them all.
16508 (pow5mult): make reentrant.
16510 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16511 so that when given NULL as a buffer, return a pointer to static
16512 space in the rent structure. This is not documented behaviour;
16513 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16514 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16515 therefore become reentrant).
16517 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16519 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16521 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16523 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16525 * Makefile.in: Make link to libg.a after libc.a; this is needed
16526 for the testsuites to build executables when everything comes
16529 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16531 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16532 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16534 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16536 * libc/include/stdio.h: Use __VALIST, not va_list.
16538 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16540 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16541 testsuite/libm.sac/execute.exp:
16542 Replace error proc calls with perror calls.
16544 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16546 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16547 * libc/include/time.h: #define NULL as 0L.
16549 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16551 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16554 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16556 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16559 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16561 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16562 (z8k-*-*): Use syscalls fake sys dir.
16563 * libc/sys/z8k/glue.c: Rename syscalls.
16564 * libc/sys/go32/Makefile.in: Use new routines.
16565 * libc/machine/Makefile.in: Fix typo in ln stuff.
16567 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16569 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16570 * libc/Makefile.in (crt0.o): Likewise.
16571 * libc/machine/Makefile.in (lib.a): Likewise.
16572 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16574 All Makefile.in files: Added mostlyclean, realclean and distclean
16577 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16578 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16579 the top level Makefile.
16581 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16583 * libc/sys/sparc64/sys/stat.h: New file.
16584 * libc/sys/sparc64/sys/time.h: New file.
16585 * libc/sys/sparc64/sys/types.h: New file.
16587 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16589 * stub/ex93x/crt0.s (start): Add code to clear bss.
16591 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16593 * libc/include/sys/types.h (time_t): Properly protect inside
16594 #ifndef __time_t_defined.
16596 * libc/stdio/fileno.c: New file.
16597 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16598 (fileno.o): Add dependency.
16599 * libc/include/stdio.h (__sgetc): Rename never to _never.
16600 (fileno macro): Disable, needs to do CHECK_INIT first.
16602 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16604 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
16607 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16608 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16610 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16613 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16615 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16616 of the various constants.
16618 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16620 * libc/include/math.h: #ifndef __math_68881 around things which
16621 conflict with the (gcc-provided) inline functions in
16622 gcc/ginclude/math-68881.h.
16624 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16626 * libc/include/_syslist.h (_gettimeofday): Define.
16628 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16629 (struct tms, timeval, timezone): Declare.
16630 (_gettimeofday_r, _times_r): Declare.
16631 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16632 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16633 (time_t): Add multiple definition protection, __time_t_defined.
16634 * libc/include/sys/time.h: Don't #include <time.h>.
16635 Always define struct timezone (remove #ifndef _TIME_H_).
16636 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16637 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16638 * libc/reent/Makefile.in (OFILES): Add timer.o.
16639 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16640 * libc/reent/timer.c: New file.
16641 * libc/time/clock.c: #include <reent.h>.
16642 (clock): Call _times_r instead of times.
16643 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16644 HAVE_GET_TIME_OF_DAY.
16645 Add comment regarding supporting OS routine(s) required (for docs).
16646 #include <reent.h>.
16647 (time): Call _gettimeofday_r instead of gettimeofday.
16648 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
16649 * libc/time/ctime.c: Ditto.
16650 * libc/time/strftime.c: Ditto.
16651 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
16652 (TEMPLATE_SFILES_R): Define here. Also define times.
16653 Add times_r.o/times.S dependence.
16654 (time2.c, junk.c): Deleted.
16655 * libc/sys/sparc64/time2.c: Deleted.
16656 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
16658 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
16659 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
16660 * libc/sys/sparc64/junk.c: Deleted.
16662 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
16664 * libc/sys/sparc64/Makefile.in: Add times syscall.
16665 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
16666 be used with and without it. Add comment clarifying Medium/Anywhere
16667 model requirements.
16668 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
16669 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
16672 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
16674 * configure.in (target_cflags): Move init.
16675 (sparc64-*-*): Define HAVE_BLKSIZE.
16677 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
16679 * libc/include/sys/_types.h: New file.
16680 * libc/include/reent.h: #include it.
16681 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16682 MISSING_SYSCALL_NAMES.
16684 * libc/include/_syslist.h: Remove _raise.
16685 * libc/reent/signalr.c: New file.
16686 * libc/reent/Makefile.in: Compile it.
16687 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16688 Add doc for raise and _raise_r.
16689 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16690 (raise): Call _raise_r.
16691 (_raise_r): Call _getpid_r and _kill_r.
16692 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16693 (abort): Loop forever calling raise and _exit.
16695 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16697 * configure.in: Remove extraneous echo.
16699 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16701 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
16702 collision with unistd.h, and fix for svr4.
16704 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
16706 * libc/stdio/local.h (_llicvt): Declare.
16707 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
16708 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
16710 (_sicvt): Fix function header (`value' is short).
16711 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
16712 Add printing of long long's support.
16713 Add printing of 8 byte pointer support.
16715 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
16717 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
16718 stat, chmod): New hooks.
16719 (sbrk): Abort if stack and heap collide.
16720 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
16721 shortcut when given small args.
16722 * libc/machine/sh/setjmp.s: Rewritten.
16723 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
16724 of cmp/str instruction.
16726 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16728 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
16729 and machine_dir powerpc.
16730 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
16731 Add cases for __powerpc__.
16732 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
16735 * libc/include/stdio.h (_iprintf_r): Declare correctly.
16737 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
16739 * libc/stdlib/callocr.c: New file with _calloc_r in it.
16740 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
16742 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
16744 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
16745 (print_e): More comments to describe args, etc.
16746 "type" arg may now be 'g' or 'G' for %g/G format --> remove
16748 (_gcvt): Remove locals decpt, sign, end, p, done.
16749 More comments for print_e invocation.
16750 Pass "type" to print_e as is (g/G).
16752 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
16754 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
16757 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
16759 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
16760 works with any sized pointer, including ones bigger than ints and
16763 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
16765 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
16767 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16769 * libc/include/stdlib.h (_calloc_r): Add prototype.
16770 * libc/machine/h8500/negsi2.c: New file.
16771 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
16772 large unsigned numbers.
16773 * libc/machine/h8500/cmpsi.c: Add cmppsi.
16774 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
16775 works when sizeof(size_t) != sizeof(char *).
16776 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
16778 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
16780 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
16782 * libc/include/assert.h (assert): Handle -traditional.
16784 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
16786 * Makefile.in: added ; after every "fi" and "done" that wasn't at
16787 the end of a line (ie. anything before a backslash continuation)
16788 so that bash handles them.
16790 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16792 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
16795 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
16797 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
16798 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
16799 libc/machine/sh/udivsi3.s: Use new calling convention.
16801 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
16803 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
16804 chmod, access, chdir, chown by making _path const. Also fix _amode
16807 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
16809 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
16810 _khif_tmpnam, because it doesn't comply with ANSI but may be
16811 useful anyway. Real tmpnam was already in libc/stdio, and was
16812 colliding with this one (pr 2176.)
16813 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
16814 the wrong idea anyhow.
16816 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
16818 * configure.in: Remove h8300h, we have multilib now.
16820 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
16822 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
16823 functions, to get preference over the ones in libiberty (since we
16824 provide correct declarations in <string.h>.
16825 * libc/string/Makefile.in: add support for strncasecmp,
16828 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
16830 * Change netware config not to look for cpu explicitly.
16832 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
16834 * libc/sys/sparc64/{creat.c,junk.c}: New files.
16835 * libc/sys/sparc64/Makefile.in: Add dependencies.
16837 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
16839 * configure.in: Clean up v9 a bit, new "os" aoutv8.
16841 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
16843 * libc/include/sys/reent.h: make structure smaller by allocating
16844 some stuff when needed.
16845 * libc/signal/signal.c: allocate as needed
16846 * libc/stdio/findfp.c,stdio/local.h: ditto
16847 * libc/stdlib/mprec.c: ditto
16849 * libc/time/localtime.c: don't return a dangling stack ptr.
16851 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
16853 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
16855 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16857 * libc/include/stdio.h (__sputc): comment out static inline which
16858 confuses coff toolchains.
16860 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
16862 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
16863 _write.s, getpid.c, kill.c, read.s}:
16864 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
16865 through the syscalls directory.
16867 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
16869 * configure.in: fixed double quote gotcha.
16871 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
16873 * stub/ex931: stub library for sparclite board.
16874 * stub/idp: Renamed from mc68ec. Added contructor table
16875 stuff to linker script.
16876 * stub/mvme135: Renamed from m68kmvme. Added contructor table
16877 stuff to linker script.
16879 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16881 * configure.in: Configure testsuites only if they exist.
16883 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16885 * configure.in: Don't set machine_dir for i386 until there is
16886 something in libc/machine/i386 to compile. For i[34]86-*-netware*
16887 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
16888 CLOCK_PROVIDED and MALLOC_PROVIDED.
16890 * libc/sys/netware: New directory. Contains simplistic and
16891 probably incorrect stubs for NetWare. Should be enough to load
16893 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
16894 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
16897 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
16898 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
16899 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
16900 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
16902 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
16904 * testsuite/Makefile.in: add "docs" dummy target for consistency
16905 with rest of newlib; turn "info" and "install-info" into dummy
16906 targets, since they wouldn't have worked. (Depended on
16907 nonexistent "doc" subdir.)
16909 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16911 * configure.in: handle mips* instead of mips
16913 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
16915 * libc/include/sys/dirent.h: New file. If it is not overridden by
16916 a version of libc/sys/*/sys/dirent.h, it includes the next
16917 <dirent.h> file in case there is one lurking somewhere.
16919 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16921 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
16922 compliance, namely: Accept a minus sign. Consider a single 0 with
16923 a radix of 0 as being a conversion. Determine overflow correctly.
16924 If an overflow occurs, set *ptr to the end of the number, not the
16926 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
16928 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
16930 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
16932 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
16934 * Makefile.in (INSTALL): Use $srcrootpre.
16935 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
16937 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
16939 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
16940 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
16941 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
16942 * libm/math/Makefile.in (matherr.o): Ditto.
16944 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16946 * configure.in: Build multidirs for z8k.
16947 * libc/include/stdlib.h (_strtoul_r): add prototype.
16948 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
16949 * libc/include/machine/setjmp.h: Add for z8k.
16950 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
16951 * libc/sys/z8ksim/glue.c: tidy up.
16953 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
16955 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
16956 New files. Requires execve system call.
16957 * libc/unix/Makefile.in: Use them.
16958 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
16959 Deleted, moved to libc/unix.
16960 * libc/sys/sparc64/Makefile.in: Remove them.
16962 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
16964 * libc/sys/sparc64/{template.S template_r.S}: New files.
16965 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
16967 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
16968 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
16969 umask.S unlink.S wait4.S write.S}: Removed, now built from
16972 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
16974 * libc/time/time.c: #include <_ansi.h>.
16976 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
16978 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
16980 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16982 * configure.in: match m8* rather than m88k so that m88110 is
16983 recognized as well.
16985 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
16987 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
16988 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
16991 * configure.in: Add multilib support to h8300.
16993 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
16995 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
16996 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
16997 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
16999 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17001 * configure.in: Corrected multidirs for sparc target.
17003 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17005 Support for building newlib multiple times with different
17007 * configure.in: Only configure doc at top level. Set multidirs
17008 when appropriate for target, unless not at top level. If
17009 multidirs is set, independently configure each subdirectory.
17010 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17011 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17012 automagically set by configure.in.
17013 (all): If MULTIDIRS is set, build multiple copies of libraries.
17014 (install): If MULTIDIRS is set, install multiple copies of
17015 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17016 MULTISUBDIR is set, don't bother to install header files.
17017 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17019 * stub/configure.in: Set MULTISUBDIR appropriately.
17020 * stub/Makefile.in (install): Install in
17021 $(tooldir)/lib/$(MULTISUBDIR).
17022 * All Makefile.in files: Define SRCTOP as well as TOP.
17024 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17026 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17027 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17029 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17031 * libc/sys/h8300hms/exit.c (_exit): New function.
17033 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17035 * configure.in: recognize m88110.
17037 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17039 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17040 prototype main and call with args.
17042 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17044 First real try at system traps for m88k-bug.
17045 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17046 to real trap calls.
17047 * libc/sys/m88kbug/sys/systraps.h: new file.
17049 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17051 Patches to fix info building when target does not use sys
17053 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17054 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17056 * libc/sys/Makefile.in (doc): do nothing.
17058 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17060 * libc/Makefile.in (CRT0): new macro.
17061 (all): depend on $(CRT0) rather than crt0.o.
17063 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17064 do not default crt0, instead, set crt0 and crt0_dir based on
17065 sys_dir and stub_dir.
17067 * Makefile.in (CRT0_DIR): new macro.
17068 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17069 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17071 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17073 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17075 * testsuite/lib/libm.exp:
17076 added code to support compiling and linking of tests for
17077 libm.sac (paranoia to be added next) and processing the
17078 pass or failure of the tests.
17080 * testsuite/config/unix-libm.exp:
17081 platform specific proc's for dealing with compiler, linker
17082 and the way we execute and process the test results.
17084 * testsuite/libm.sac/execute.exp:
17085 generic framework for the sac tests. the config and lib
17086 expect code for specific platforms tie it all together.
17088 * testsuite/libm.sac/test_is.c:
17089 changed the output of the test to be consistant with the
17090 other tests. parsing of pass nad fail messages is now fixed.
17092 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
17094 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
17095 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
17096 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
17097 #ifdef __cplusplus, surround by extern ""C { ... }.
17098 * libc/include/assert.h: Do *not* protect assert.h against
17099 multiple inclusion! Also, #undef it before #define, to allow
17101 * libc/include/stdio.h (getlogin, cuserid): Removed. These
17102 should be only in unistd.h.
17104 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
17105 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
17108 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
17110 * libc/machine/sparc/Makefile.in: Must create a library, even
17113 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17115 * configure.in: set machine_dir for m88k. edit crt0 definition
17118 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
17120 * libc/Makefile.in (all): also build crt0.o.
17122 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
17123 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
17126 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
17127 (all): reworked to build in place.
17128 (clean): remove lib.a
17129 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
17131 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
17132 (_start): key off edata rather than _start_bss.
17134 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
17136 * libc/include/sys/unistd.h, libc/include/reent.h,
17137 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
17139 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17141 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
17143 * Makefile.in (libc.a): break into two rules, one for libc.a and
17144 one for libc/libc.a. Force subdirs current before rebuilding
17146 (libm.a): break into two rules, one for libm.a and one for
17147 libm/libm.a. Force subdirs current before rebuilding library.
17149 * libc/Makefile.in (SUBLIBS): fix typo.
17151 * libc/sys/Makefile.in (all): force descent into subdirs, then
17152 rebuild library iff out of of date.
17154 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17156 Rework so that library is built and then finished rather than
17157 being built on each invocation of make.
17159 * host/any (machine_dir, sys_dir, signal_dir): these are not
17160 shared and have been moved to their associated Makefile.in's.
17161 (AR_FLAGS): switch to qc which is faster.
17162 * configure.in: no longer assign machine_dir for m88k. set
17163 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
17164 stub_dir set, then add to configdirs. add comment about silly
17166 (configdirs): drop stub. It will be added only
17168 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
17169 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
17170 stub_lib, crt0): new variables for tailoring lower level
17171 makefiles. Assign accordingly and edit into makefiles.
17172 * libm/Makefile.in: updated copyright.
17173 (TARGETLIB): removed.
17174 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
17175 (SUBDIRS): removed TARGETDEP_DIRS.
17176 (LIBM_FP_LIB, SUBLIBS): new macros.
17178 (force): new target to force rebuilds.
17179 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17180 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
17181 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
17182 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
17183 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
17184 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
17185 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
17186 stub/m68kmvme/Makefile.in: updated copyright.
17187 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
17188 (all): reworked. made this the default rule.
17189 (clean): also remove lib.a.
17190 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17191 * stub/Makefile.in: updated copyright.
17192 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
17193 (stub_lib): new macro.
17194 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
17197 (clean, install): assume stub_dir exists.
17198 (Makefile): depend on configure.in. call $(SHELL) rather than
17199 sh. drop redundant ./
17200 * stub/configure.in (stublib): new macro, assign it, edit it into
17202 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
17205 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17206 * libc/Makefile.in (TARGETCRT0): removed.
17207 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
17209 (SUBDIRS): drop TARGETDEP_DIRS.
17210 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
17211 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
17212 (force): new target to force rebuilds.
17213 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
17214 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
17216 (clean): assume sys_dir always exists.
17217 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
17219 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
17220 libc/locale/Makefile.in, libc/machine/Makefile.in,
17221 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
17222 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
17223 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
17224 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
17225 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
17226 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
17227 libc/signal/Makefile.in, libc/stdio/Makefile.in,
17228 libc/stdlib/Makefile.in, libc/string/Makefile.in,
17229 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
17230 libc/time/Makefile.in, libc/unix/Makefile.in,
17231 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
17232 (TARGETLIB): removed.
17234 (clean): also remove lib.a.
17235 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17236 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
17238 (SUBDIRS): moved to follow frag inclusion, change stub to
17240 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
17241 are now set in the libc Makefile.
17242 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
17243 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
17245 (force): new target to force rebuilds.
17246 * stub/configure.in: determine and set stub_lib for for Makefile.
17248 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
17250 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
17251 crt0.s renamed to crt0.S.
17252 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
17254 * libc/machine/h8300/Makefile.in: Make `all' the default target.
17255 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
17257 * libc/machine/h8300/defines.h: Add macros to handle pointers for
17258 h8300 (16 bits) and h8300h (32 bits).
17259 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
17260 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
17262 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
17264 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
17265 implementation of setjmp and longjmp for the m88k.
17266 * libc/include/machine/setjmp.h: Added __m88000__ case.
17268 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
17270 * configure.in: Recognize h8300h as variant of h8300.
17272 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17274 * libc/include/sys/unistd.h (read, write): get prototypes right.
17275 (sbrk): New prototype.
17276 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
17277 * libc/stdio/local.h: Include unistd.h.
17278 * libc/machine/h8300/syscalls.c: Names have changed.
17280 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
17282 * configure.in: add sys_dir assignment for m88k-bug.
17284 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
17286 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
17288 * libc/sys/sparc64: all *.S files: Use new macros.
17289 * libc/sys/sparc64/isatty.c: New file.
17290 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
17291 functions beyond what newlib provides.
17293 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
17295 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
17298 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
17300 * libc/include/machine/ieeefp.h: Add support for h8/300h.
17302 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
17304 * configure.in: add m88k.
17305 * libc/include/machine/ieeefp.h: add case for m88k. Also add
17306 sanity check so no one else need ever chase what I did to find
17309 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
17311 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
17313 * doc/makedoc.c: Include <ctype.h>.
17315 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
17317 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17318 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17319 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17321 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
17323 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
17325 * libc/include/errno.h (ENOSYS): Added.
17327 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
17329 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17331 * libc/stdio/fflush.c (fflush): Check for reent struct
17333 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
17335 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
17337 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
17338 out of dtoa.c so it doesn't pollute the namespace.
17339 * libc/include/_syslist.h: new file -- mappings from _function to
17340 function, for systems where we can't win (by default, all of them,
17341 until we start updating system calls.)
17342 * libc/syscalls: new directory -- stubs for exporting _function
17343 names as unmodified function names.
17344 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
17345 _syslist.h on all platforms by default, but put hooks in for
17346 fake_sys_dir so we can include it when we've renamed the system
17348 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
17349 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
17350 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
17351 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
17352 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
17353 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
17354 non ANSI functions to call _function.
17356 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
17358 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
17359 when base 16 is specified. Don't accept non-digits if radix > 10.
17361 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
17363 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
17365 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17367 * libc/include/sys/stat.h: Surround text after #endif with
17370 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
17372 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
17373 _malloc_r, _realloc_r, and free_r call the corresponding
17374 non-reentrant functions.
17376 * libm/math/modf.c (modf): We now take the address of ipart, so
17377 don't make it a register variable.
17379 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
17381 * libm/math/*: Rename all xxx_r fns to _xxx_r.
17383 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
17385 * libc/libc.texinfo and embedded docn throughout: formatting
17386 improvements, minor rephrasing for clarity, and improved
17389 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17391 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17393 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17394 where sizeof(int) != sizeof(long).
17396 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17398 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17399 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17400 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17401 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17402 libm/math/matherr.c: changes for better docn formatting (info).
17404 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17405 libc/reent/reent.tex, libc/signal/signal.tex,
17406 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17407 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17408 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17409 makeinfo node defaulting to get better Info file node structure.
17410 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17411 Also include a few formerly missing sections (subroutines).
17413 * doc/doc.str: delete fossil expansion for "func"
17415 * default.menu, no-signal.menu: delete.
17417 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17418 method used to adjust doc for missing "signals" chapter when
17419 signal_dir is empty.
17421 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17423 * configure.in: added testsuite/libm.sac
17425 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17427 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17430 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17432 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17433 MAKEOVERRIDES to be empty.
17435 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17437 * configure.in: Don't build mips-*-* with -msoft-float, since that
17438 makes it incompatible with hard floating point.
17440 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17442 * Makefile.in: added recursive 'make check'
17444 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17446 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17447 * ./testsuite/Makefile.in: created
17448 * ./testsuite/libm.paranoia: paranoia tests added
17450 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17452 * configure.in: For mips-*-* set machine_dir to mips.
17454 * libc/machine/mips: New directory.
17455 * libc/machine/mips/Makefile.in: New file.
17456 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17457 setjmp and longjmp.
17458 * libc/include/machine/setjmp.h: Added __mips__ case.
17460 * libc/machine/lmips: Removed unused and useless directory.
17462 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17464 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17466 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17468 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17471 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17473 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17476 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17478 * libm/test/convert.c: structure member errno -> errno_val.
17479 Must include <errno.h> to use errno, it's a macro now.
17480 * libm/test/math.c: Ditto.
17481 * libm/test/math2.c: Include errno.h.
17482 * libm/test/string.c: Ditto.
17483 * libm/test/test.h: structure member errno -> errno_val.
17484 Remove extern int errno decl.
17486 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17488 * libc/stdio/Makefile.in: Added dependencies on local header
17490 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17493 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17495 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17497 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17499 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17502 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17503 * libc/stdio/local.h: Add prototype for _licvt.
17505 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17506 instead of malloc,reealloc.
17508 * libc/stdlib/local.h: New file.
17509 * libc/stdlib/efgcvt.c: #include local.h.
17510 (gcvt): Fix call to _gcvt.
17511 * libc/stdlib/ecvtbuf.c: #include local.h.
17513 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17514 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17515 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17517 * libc/stdlib/atexit.c: moved global data to struct _reent.
17518 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17520 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17522 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17524 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17525 here from ../reent.h.
17527 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17529 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17530 should be provided in both libc.a and libm.a.
17531 (libc.a): Depend on targ-include and libm.a. Copy
17532 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17533 (libm.a): Depend on targ-include.
17534 * configure.in (subdirs): Removed libc/math.
17536 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17538 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17540 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17542 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17543 sys/reent.h instead of reent.h.
17544 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17545 headers moved to sys/reent.h.
17546 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17547 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17548 __need__MAX_SIGNALS defined.
17549 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17550 std{in,out,err} refer to new _std{in,out,err} members.
17552 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17554 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17557 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17559 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17560 rather than whatever macro seterrno() has.
17562 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17564 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17565 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17567 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17570 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17571 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17572 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17574 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17575 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17577 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17578 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17579 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17580 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17581 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17582 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17583 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17584 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17585 for ANSI. structure members given leading "_" for ANSI. Use
17586 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17588 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17589 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17590 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17591 reent_struct renamed to struct _reent for ANSI.
17592 Structure members given leading "_" for ANSI.
17593 _CONST --> const in prototypes.
17594 Use _HAVE_STDC instead of __STDC__.
17596 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17598 struct reent_struct renamed to struct _reent for ANSI.
17599 Structure members given leading "_" for ANSI.
17601 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17603 struct reent_struct renamed to struct _reent for ANSI.
17605 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17606 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17607 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17608 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17609 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17611 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17612 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17613 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17614 #ifndef _STRICT_ANSI non-ANSI routines.
17615 Reentrant routines renamed from _r_xxx to _xxx_r.
17616 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17617 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17618 Clean up namespace (structure members have leading "_").
17619 struct reent_struct renamed to struct _reent for ANSI compliance.
17620 _CONST --> const in function prototypes.
17622 * libc/include/string.h: Add NULL and size_t.
17624 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17625 unlink, wait, wait4. Reentrant syscall routines close, fork,
17626 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17628 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17629 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17630 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17631 write.S}: Define reentrant versions.
17632 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17633 reentrant syscalls.
17635 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17637 * libc/include/stdlib.h (RAND_MAX): Fix value.
17639 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17641 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17642 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17643 VPATH support targets after all: target.
17645 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17646 exceptionHandler, which is what mvme135-stub.c expects.
17648 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
17650 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
17652 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
17653 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
17656 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
17658 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
17660 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
17662 libc/reent/fstatr.c (_r_fstat): Ditto.
17663 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
17664 libc/reent/sbrkr.c (_r_sbrk): Ditto.
17665 libc/reent/statr.c (_r_stat): Ditto.
17667 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
17668 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
17669 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
17670 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
17671 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
17672 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
17673 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
17674 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
17675 (__swrite): Ditto for _r_lseek, _r_write.
17676 (__sseek): Ditto for _r_lseek.
17677 (__close): Ditto for _r_close.
17678 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
17680 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
17681 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17683 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17684 to make reent_struct the first argument (and thus consistent with
17685 the rest of newlib).
17687 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17688 reference to __STDC__.
17690 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17692 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
17695 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17697 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17699 libc/stdio/fclose.c (fclose): Ditto.
17701 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
17703 * Run through indent and rename reentrant routines for ANSI.
17704 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
17705 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
17706 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
17707 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
17708 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
17709 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
17710 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
17711 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
17712 vsprintf.c wbuf.c wsetup.c local.h}
17714 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
17716 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
17717 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
17718 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
17719 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
17720 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
17721 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
17723 * Run through indent.
17724 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
17725 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
17726 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
17727 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
17730 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
17731 localtime.c mktime.c strftime.c time.c}:
17732 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
17734 * Reformatting + renaming (for ANSI, GNU style, consistency).
17735 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
17736 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
17737 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
17739 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
17741 * libc/include/stdio.h (stdin_r): Fix.
17743 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
17745 * Makefile.in: Unexport some variables to keep GNU make from
17746 putting them in the environment and using up needed ARG_MAX space
17747 (a hack is used to let this work with older makes as well).
17749 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
17751 * Makefile.in: Use $(MAKE) rather than make.
17752 (MAKEOVERRIDES): Define to be empty.
17753 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17754 (libc.a, libm.a): Depend on targ-include.
17755 * host/any (LD): Don't define.
17756 (INCLUDES): Use targ-include.
17757 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
17758 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17759 * libc/Makefile.in: Use $(MAKE) rather than make.
17760 (MAKEOVERRIDES): Define to be empty.
17761 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17762 (all): Rewrote to be slightly smaller.
17763 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
17764 Define to be empty.
17765 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17766 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
17768 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
17770 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
17771 with errno/errno.c.
17773 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
17775 * Changes for reentrancy.
17776 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
17777 Use ptr->_errno, not errno.
17778 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
17779 libc/stdio/remove.c (remove_r): New function.
17780 libc/stdio/rename.c (rename_r): New function.
17781 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17782 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
17783 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
17784 reentrant versions of system calls.
17785 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
17786 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
17787 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
17788 libc/stdio/findfp.c: Include <string.h>.
17789 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
17791 libc/stdio/wbuf.c: Include "fvwrite.h"
17793 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
17795 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
17796 (NULL): Don't define if already defined.
17797 libc/stdlib/system.c: Call reentrant versions of system calls.
17798 (system_r): New function.
17800 * Changes for reentrancy.
17801 libc/include/_ansi.h (_PARAMS): New macro.
17802 libc/include/errno.h: Define errno as a macro that calls __errno.
17803 (__errno_r): New macro for reentrant code.
17804 libc/include/math.h: Include reent.h. Declare many reentrant
17806 (signgam): Now a macro, not a variable.
17807 (struct exception): Added err field.
17808 libc/include/reent.h: Don't declare __sglue. Added function
17810 (struct reent_struct): Moved errno to beginning. Added _signgam.
17811 libc/include/stdio.h, libc/include/stdlib.h: Added function
17814 * More reentrancy hacking.
17815 libc/errno/errno.c (__errno): New function.
17816 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
17817 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
17820 * Added many new reentrant functions to libm/math/*.
17821 libm/math/error.c (__matherror): Added reent_struct pointer
17822 argument. Changed all callers.
17823 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
17824 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
17825 libm/math/tan.h: Removed obsolete unused header files.
17827 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
17829 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
17831 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17833 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
17836 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17838 * libc/libc.texinfo: comment out reentrancy chapter (duh)
17840 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17842 * libc/reent/reent.tex: New file. (text from
17843 newlib/libc/libc.texinfo)
17844 * libc/stdio/tmpnam.c: fixed doc typo
17845 * libc/stdlib/rand.c: fixed doc typo
17847 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17849 * libc/reent/reent.tex: New file. (text from
17850 newlib/libc/libc.texinfo)
17852 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17854 support for reentrancy
17855 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
17857 * libc/errno/errno.c, libc/include/ieeefp.h,
17858 libc/include/locale.h, libc/include/reent.h,
17859 libc/include/signal.h, libc/include/stdio.h,
17860 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
17861 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
17862 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
17863 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
17864 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17865 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
17866 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
17867 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
17868 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
17869 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
17870 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
17871 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
17872 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
17873 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
17874 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
17875 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
17876 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
17877 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
17878 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
17879 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
17880 libc/time/strftime.c: modify to provide reentracy.
17883 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
17884 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
17885 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
17886 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
17887 mstats_r, realloc_r, localeconv_r, setlocale_r
17889 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
17891 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
17892 libc/include/sys/config.h, libc/include/sys/signal.h,
17893 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
17894 provided macros (such as m68000), use the ansi version
17895 (__m68000__) so that the library can be used with code compiled
17896 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
17899 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17901 * configure.in (sparc*): Don't set -fsoft-float for sparc
17902 configurations. Do set -fsoft-float for sparclite configurations.
17904 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17906 * default.menu, no-signal.menu: alternate forms of libc main menu
17907 (in newlib rather than newlib/libc due to configuration restrictions)
17909 * configure.in: select one of the two menus above, link to
17912 * libc/libc.texinfo: include menu from separate file
17914 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
17916 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
17917 (info): Split long shell command in half.
17918 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
17919 sub-makes, just CHEW and TARGETDOC.
17920 (targetdep.tex): Removed now special handling of sys and machine
17921 subdirectories, made obsolete some time ago.
17922 * libc/machine/Makefile.in (doc): Don't pass everything to
17923 sub-make, just CHEW and TARGETDOC.
17924 (Makefile): New target.
17925 * libc/sys/Makefile.in (Makefile): New target.
17927 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
17929 * Makefile.in (here and most subdirectories): Only pass down CHEW
17930 and TARGETDOC when making info, not for other targets.
17932 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
17933 $(AR_FLAGS) rather than $(ARUPDATE).
17935 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
17937 * Try to reduce command line length:
17938 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
17939 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
17940 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
17941 (info): Pass CHEW to other subdirs.
17943 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
17945 * configure.in: add signal_dir, like unix_dir, but by default it
17946 is set to "signal" so that a29khif can turn it off (since a29khif
17947 has raise() as part of machine-specific signal.s.)
17949 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17951 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
17952 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
17954 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
17955 libc/stdio/vfprintf: type lint.
17956 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
17957 initialzation code.
17958 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
17960 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
17962 * stub/mvme135/mvme135-asm.S: new file.
17963 stub/mvme135mvme135-stub.c: moved all assembler routines into
17965 stub/mvme135/Makefile.in: build mvme135-stub.o.
17967 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
17969 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
17970 sub-Makefiles instead, to try to avoid line length limitations.
17972 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
17974 * libc/include/unistd.h (read, write): Use void* instead of
17977 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
17979 * stub/go32/resetpc: sample script to send a reset packet to the
17982 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
17983 DOS environment, which compiles with Turbo C.
17985 * stub/go32/DSER32.LNK: new file, linker commands for serial
17988 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
17989 start up message to identify version; call set_debug_traps.
17991 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
17992 keyboard interaction); call handle_exception() in go_til_stop,
17993 rather than return, so that the remote stub gets control.
17995 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
17996 rename, rather than mv), set flags that work with current Turbo C,
17997 including using the /3 flag; also, add commands to build dser32.
17999 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18000 default Turbo C installation (\tc rather than \usr)
18002 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
18005 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18007 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18009 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18011 * libc/stdio/cvt.c (licvt): new function to convert ints when
18012 sizeof(int) != sizeof(long).
18014 * libc/include/stdio.h: added prototype for iprintf.
18015 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18017 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18019 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18020 __REGISTER_PREFIX__.
18022 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18024 * libc/sys/m68kbare: moved into stub directory.
18026 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18028 * configure.in, Makefile.in: created new directory stub, to hold
18029 sample code for specific targets.
18031 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18033 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18034 in the unified libc/include/sys/fcntl.h.
18036 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18038 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18039 printed .01, not 0.01.
18041 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18043 * configure.in: compile with -m68000 for m68* targets.
18045 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18047 * libm/math/remainder.c (remainder): document the svr4 and sunos
18048 references used to construct the function.
18050 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18052 * libm/math/remainder.c (rint, remainder): fix old typos.
18053 * libm/math/Makefile.in: actually build remainder.c (functions
18054 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18057 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18059 * libc/string/bcopy.c: BSD version works on overlapping strings,
18060 so ours should too.
18062 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18065 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18067 * Makefile.in (docs): new target.
18069 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18071 * libc/include/sys/times.h: define clock_t as required by POSIX.
18072 libc/include/time.h: protect clock_t from multiple definitions.
18074 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18076 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18077 does not need more than the original three iterations to get
18078 within 1 ulp. (Paranoia tests for rounding to better than that,
18079 but further iterations *don't* help, only more subtle changes
18082 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
18084 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
18085 were doing nothing useful.
18087 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
18089 * configure.in: define MALLOC_PROVIDED for vxworks targets;
18090 removed sys_dir settings of vxworks68 and vxworks960.
18091 host/any: don't pass -nostdinc to gcc, since newlib no longer
18092 provides all required header files.
18094 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
18095 is not defined; this provides a hook for VxWorks.
18097 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18099 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
18100 buffer if buf is NULL, don't do it here -- it is already being
18101 done by makebuf elsewhere in stdio.
18103 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
18105 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
18106 that C programs can call functions without using initial
18109 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
18111 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
18113 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
18115 * configure.in: set TARGET_CFLAGS for certain CPU types to
18118 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18120 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
18122 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
18124 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
18125 m68k*-unknown-coff.
18127 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
18129 * libc/include/stdio.h: define __need___va_list before including
18130 <stdarg.h>, to avoid defining va_arg, et. al.
18132 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
18134 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
18135 (don't cd to the user's home directory).
18137 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
18138 In general this is the wrong thing to do, but I can't get around
18139 GNU make's insistence on passing command line arguments any other
18142 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
18144 * configure.in: always configure the libc/sys directory, since it
18145 now provides a required documentation file.
18147 * Makefile.in: replaced all instances of $(MAKE) with make. In
18148 general this is the wrong thing to do, but I can't get around GNU
18149 make's insistence on passing command line arguments any other way.
18151 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
18153 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
18156 * libc/stdio/local.h: include <stdarg.h> to define va_list.
18157 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
18159 * libc/include/float.h, libc/include/stdarg.h,
18160 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
18162 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
18163 <stdarg.h>, not from <machine/types.h>. Protect definition of
18165 libc/include/time.h: get size_t from stddef.h. Protect definition
18167 libc/include/machine/limits.h: override gcc <limits.h> by defining
18168 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
18169 get correct INT_MIN and LONG_LONG values.
18170 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
18171 size_t or va_list at all; they're now gotten from stddef.h
18173 libc/include/machine/varargs.h: removed; use gcc version instead.
18174 libc/include/sys/types.h: explicitly include <machine/types.h>.
18176 * libm/math/sqrt.h: using the fp-bit routines appears to require
18179 * Makefile.in, host/any: let system include files override machine
18182 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18184 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
18185 override _*_T_ definitions defaulted here.
18187 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
18189 * Makefile.in (install): install the include files in
18190 $(tooldir)/include, not $(exec_prefix)/include.
18192 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
18194 * Makefile.in (install): fixed typo, and changed install to not
18195 force rebuild of libc.a and libm.a.
18197 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
18199 * libc/sys/a29khif/*: Changed all .include's to include
18200 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
18201 that they will be installed for the user.
18203 * Makefile.in (all): create targ-include, a directory holding the
18204 machine and system specific header files during the build.
18205 (install): fixed installation of machine and system specific
18208 * Makefile.in: fixed comment.
18209 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
18210 we can pass $(INCLUDES) to it.
18212 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
18214 * libc/include/sys/param.h: new generic file, which may be
18215 overridden for specific systems.
18217 * libc/include/sys/signal.h: define all ANSI signal names, and
18218 NSIG (which is not ANSI) for a29k.
18220 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
18222 * Makefile.in: don't pass down arguments the lower level makes
18224 * libc/Makefile.in: recurse directly, rather than using subdir_do,
18225 in hopes of avoiding argument length limits.
18226 * libm/Makefile.in: recurse directly, rather using subdir_do, in
18227 hopes of avoiding argument length limits.
18229 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
18231 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
18234 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
18236 * Fixed make info and make install-info for newlib, changing most
18237 Makefile.in and several *.tex files. Moved doc directory from
18240 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
18241 Should be rewritten.
18243 * libc/string/strings.tex: renamed node index to node index
18244 function, so that it does not conflict with the top level index
18247 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
18249 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
18251 * Overhauled general configuration for newlib. Eliminated all
18252 target dependent Makefile fragments. Create libraries in newlib
18253 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
18254 than CROSS_CC, et. al. Broke make docs; will fix later.
18256 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
18257 Should be rewritten.
18259 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
18261 * libc/configure.in: cleaned up somewhat; switch on ${target}
18262 rather than ${target_alias}.
18263 * libm/configure.in: cleaned up somewhat; switch on ${target}
18264 rather than ${target_alias}.
18266 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
18267 * libc/include/ctype.h: marked _ctype_ as _CONST.
18269 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
18272 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
18273 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
18274 libc/stdio/gets.c (gets): removed non-ANSI warning message.
18275 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
18277 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
18278 bigtens, tinytens): marked arrays _CONST.
18279 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
18280 rather than a static variable.
18282 * libc/time/asctime.c (asctime), libc/time/localtime.c
18283 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
18284 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
18285 mname_len, mname): Marked static arrays _CONST.
18287 * libm/math/gamma.h: made local variables non-static.
18289 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
18290 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
18293 * libm/math/constants.c: removed file, because the constants it
18294 defined were never referenced.
18295 libm/math/Makefile.in: removed references to constants.c.
18296 libm/math/mathimpl.h: removed declarations of constants.
18298 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
18300 * libc/include/machine/varargs.h: only call __builtin_saveregs if
18301 it is sensibly defined in libgcc2. Checks preprocessor defines,
18302 which is not a good solution.
18304 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
18306 * libm/frexp.c: handle denormalized numbers as arguments.
18308 * libm/math/Makefile.in: added some dependencies for .c files
18309 which include local .h files.
18311 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
18313 * libc/configure.in: set target_alias for OSE*. Replace
18314 target_makefile_frag if it is blank.
18316 * libc/Makefile.in: make sure everything is passed to subsidiary
18317 makes; create all directories when installing.
18319 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
18320 CROSS_ARUPDATE instead of AR.
18322 * libm/configure.in: set target_alias for OSE*. Replace
18323 target_makefile_frag if it is blank.
18325 * libm/Makefile.in: make sure everything is passed to subsidiary
18326 makes; create all directories when installing.
18328 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
18330 * add following change from libc copy.
18332 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18334 * libc/libc.texinfo: make copyright disclaimers appear on back of
18335 title page; make format of same slightly less ugly; avoid using
18336 underbars in section headings (avoids nasty texinfo bug in table
18339 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
18340 comments only) avoid using underbars in section headings
18342 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18343 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
18344 changes in comments only): shorten headings ieeefp/infinity.c,
18345 ieeefp/isnan.c: (doc, comments only) more informative headings
18347 * libc/math/bessel.c: (doc, comments only) shorten heading
18349 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
18350 (doc, comments only) shorten headings
18352 * libc/time/localtime.c (doc, comments only): shorten headings
18354 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18356 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
18357 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
18359 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
18360 only) more informative headings
18361 * libm/math/bessel.c: (doc, comments only) shorten heading
18363 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18365 * .../Makefile.in: use CROSS_ARUPDATE consistently.
18366 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
18367 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
18368 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
18369 defined, the one from the .mt file will be correct.
18370 * libc/include/machine, libc/include/sys: created, and populated
18371 with common files from machine/*/machine. ifdefs were used for
18372 most, typically by handling exceptions first and then filling in
18373 defaults. Files with D.J. Delorie copyright #included rather than
18374 copied. Most files in include/sys really were the same in the
18376 * libc/include/...: cleaned up use of _EXFUN.
18377 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
18378 it with double quotes, not angles.
18380 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
18382 * libc/Makefile.in: always create installation directories.
18384 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18386 * libc/configure.in: handle host properly (using canonical
18387 triples), better error message for the case of target not found
18389 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18391 * libc/Makefile.in (insincdir): Ensure this directory exists
18392 before attempting installation.
18394 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18396 * libc/stdlib/assert.c: now calls abort like it should
18397 * libc/sys/a29khif: many many patches for 29khif work
18398 * libc/machine/i386: gnulib2 expanded there.
18400 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18402 Added accurate fp conversion routines to stdlib, moved dcvt from
18403 stdio to stdlib and called it ecvtbuf:
18404 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18405 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18407 * libc/libc.texinfo: Modifed to include the copyright info from
18409 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18410 * libc/test/ : many vector which tested for the implementation
18411 defined returns of strange conversion requests have been updated
18412 to relflect the new implementation
18414 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18416 * libc/libc.texinfo: new chapter on variable arg lists
18417 (stdarg.h/varargs.h)
18418 * libc/libc.texinfo: new title
18419 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18420 (doc only) shorter headings for better formatting.
18422 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18424 * libc/libc.texinfo: three more info menu entries
18425 * libc/locale/locale.tex: new chapter
18426 * libc/locale/locale.c: new doc for setlocale, localeconv
18427 * libc/locale/Makefile.in: use new locale doc
18428 * libc/signal/signal.tex: new chapter
18429 * libc/signal/raise.c, libc/signal/signal.c: new doc
18430 * libc/signal/Makefile.in: use new doc
18431 * libc/time/time.tex: new chapter
18432 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18433 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18434 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18435 * libc/time/Makefile.in: use new doc
18437 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18439 * libm/math/log1p.c: split to use the new function way of float
18440 function definition. math/log1p.h deleted
18441 * libm/math/scalb.c: obsolete and deleted
18442 * libm/math/scalbn.c: created from part log1p.c
18443 * libm/math/Makefile.in: know about log1p and scalbn
18445 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18447 * libc/ctype/isupper.c: revise doc;
18448 libc/ctype/ctype.tex: use doc from isupper.c
18450 * libc/string/bzero.c: new doc
18452 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18454 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18456 * libc/stdlib/Makefile.in: extract new doc
18457 * libc/stdlib/stdlib.tex: use new doc
18459 * libc/string/strerror.c: expanded doc.
18461 * libc/stdio/Makefile.in: extract doc from more files
18462 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18463 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18464 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18465 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18466 libc/stdio/vsprintf.c: new doc
18467 * libc/stdio/stdio.tex: use new doc
18469 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18471 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18472 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18474 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18477 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18478 * libc/stdio/setbuf.c: added ansi style definition.
18479 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18480 buffer if none provided.
18481 * libc/stdio/tmpfile.c: lint
18482 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18483 rather than using static, also make sure file isn't already
18484 present. Uses P_tmpdir. (tempnam): rewritten to use new
18485 subroutine, and uses P_tmpdir.
18486 * libc/stdio/siprintf.c: created
18488 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18490 Release 1.03 for NEC, major mods. Main differences from release
18493 More tests in test/:
18494 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18495 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18496 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18497 get/set mask, get/set sticky and get/set roundtoi. Tests
18498 that setting the bits changes the way arithmetic is done.
18499 * string.c: added test to make sure memcmp does it with unsigned
18501 * test.c: cleaned up and removed lint.
18502 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18503 dvec.c: tests for string to value conversions, sprintf, scanf,
18504 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18505 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18506 rounding in sprintf too.
18507 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18508 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18509 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18511 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18515 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18516 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18517 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18518 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18519 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18521 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
18522 * Method of producting float versions of double functions has
18523 changed, functions will be modified gradually. So far:
18524 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18525 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18527 * libc/string/memcmp.c: now uses unsigned chars
18528 * libc/string/bcmp.c, libc/string/strcpy.c,
18529 libc/stsring/strxfrm.c: fixed doc
18530 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18533 version-control: never