]> sourceware.org Git - newlib-cygwin.git/blob - newlib/ChangeLog
2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
[newlib-cygwin.git] / newlib / ChangeLog
1 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
4 return -inf.
5 * libm/mathfp/sf_logarithm.c: Ditto.
6
7 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
8
9 * libc/machine/i386/machine/fastmath.h: New file.
10
11 2007-10-13 Eric Blake <ebb9@byu.net>
12
13 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
14 Correctly nest else within conditionals.
15 Reported by Artur Lipowski.
16
17 2007-10-09 Nick Clifton <nickc@redhat.com>
18
19 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
20 the STT_COMMON type.
21
22 2007-10-09 Ben Elliston <bje@au.ibm.com>
23
24 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
25 before simdmath.h to get a definition for `vector'.
26 * libm/machine/spu/headers/asind2.h: Likewise.
27
28 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
29
30 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
31 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
32 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
33 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
34 * libm/machine/spu/headers/acos.h: Add domain check.
35 * libm/machine/spu/headers/acosf.h: Ditto.
36 * libm/machine/spu/headers/acosh.h: Ditto.
37 * libm/machine/spu/headers/acoshf.h: Ditto.
38 * libm/machine/spu/headers/asin.h: Ditto.
39 * libm/machine/spu/headers/asinf.h: Ditto.
40 * libm/machine/spu/headers/atanh.h: Ditto.
41 * libm/machine/spu/headers/atanhf.h: Ditto.
42 * libm/machine/spu/headers/fmod.h: Ditto.
43 * libm/machine/spu/headers/fmodf.h: Ditto.
44 * libm/machine/spu/headers/log.h: Ditto.
45 * libm/machine/spu/headers/log10.h: Ditto.
46 * libm/machine/spu/headers/log1p.h: Ditto.
47 * libm/machine/spu/headers/log1pf.h: Ditto.
48 * libm/machine/spu/headers/log2.h: Ditto.
49 * libm/machine/spu/headers/log2f.h: Ditto.
50 * libm/machine/spu/headers/sqrt.h: Ditto.
51 * libm/machine/spu/headers/sqrtf.h: Ditto.
52 * libm/machine/spu/headers/tgamma.h: Ditto.
53 * libm/machine/spu/headers/tgammaf.h: Ditto.
54
55 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
56
57 * libm/machine/spu/Makefile.am: Add new C files.
58 * libm/machine/spu/Makefile.in: Regenerate.
59 * libm/machine/spu/headers/acos.h: New file.
60 * libm/machine/spu/headers/acosd2.h: Ditto.
61 * libm/machine/spu/headers/acosf.h: Ditto.
62 * libm/machine/spu/headers/acosf4.h: Ditto.
63 * libm/machine/spu/headers/acosh.h: Ditto.
64 * libm/machine/spu/headers/acoshd2.h: Ditto.
65 * libm/machine/spu/headers/acoshf.h: Ditto.
66 * libm/machine/spu/headers/acoshf4.h: Ditto.
67 * libm/machine/spu/headers/asin.h: Ditto.
68 * libm/machine/spu/headers/asind2.h: Ditto.
69 * libm/machine/spu/headers/asinf.h: Ditto.
70 * libm/machine/spu/headers/asinf4.h: Ditto.
71 * libm/machine/spu/headers/asinh.h: Ditto.
72 * libm/machine/spu/headers/asinhd2.h: Ditto.
73 * libm/machine/spu/headers/asinhf.h: Ditto.
74 * libm/machine/spu/headers/asinhf4.h: Ditto.
75 * libm/machine/spu/headers/atan.h: Ditto.
76 * libm/machine/spu/headers/atan2.h: Ditto.
77 * libm/machine/spu/headers/atan2d2.h: Ditto.
78 * libm/machine/spu/headers/atan2f.h: Ditto.
79 * libm/machine/spu/headers/atan2f4.h: Ditto.
80 * libm/machine/spu/headers/atand2.h: Ditto.
81 * libm/machine/spu/headers/atanf4.h: Ditto.
82 * libm/machine/spu/headers/atanh.h: Ditto.
83 * libm/machine/spu/headers/atanhd2.h: Ditto.
84 * libm/machine/spu/headers/atanhf.h: Ditto.
85 * libm/machine/spu/headers/atanhf4.h: Ditto.
86 * libm/machine/spu/headers/cos.h: Ditto.
87 * libm/machine/spu/headers/cos_sin.h: Ditto.
88 * libm/machine/spu/headers/cosd2.h: Ditto.
89 * libm/machine/spu/headers/cosf.h: Ditto.
90 * libm/machine/spu/headers/cosf4.h: Ditto.
91 * libm/machine/spu/headers/cosh.h: Ditto.
92 * libm/machine/spu/headers/coshd2.h: Ditto.
93 * libm/machine/spu/headers/coshf.h: Ditto.
94 * libm/machine/spu/headers/coshf4.h: Ditto.
95 * libm/machine/spu/headers/divd2.h: Ditto.
96 * libm/machine/spu/headers/divf4.h: Ditto.
97 * libm/machine/spu/headers/erf.h: Ditto.
98 * libm/machine/spu/headers/erf_utils.h: Ditto.
99 * libm/machine/spu/headers/erfc.h: Ditto.
100 * libm/machine/spu/headers/erfcd2.h: Ditto.
101 * libm/machine/spu/headers/erfcf.h: Ditto.
102 * libm/machine/spu/headers/erfcf4.h: Ditto.
103 * libm/machine/spu/headers/erfd2.h: Ditto.
104 * libm/machine/spu/headers/erff.h: Ditto.
105 * libm/machine/spu/headers/erff4.h: Ditto.
106 * libm/machine/spu/headers/exp.h: Ditto.
107 * libm/machine/spu/headers/exp2.h: Ditto.
108 * libm/machine/spu/headers/exp2d2.h: Ditto.
109 * libm/machine/spu/headers/exp2f4.h: Ditto.
110 * libm/machine/spu/headers/expd2.h: Ditto.
111 * libm/machine/spu/headers/expf4.h: Ditto.
112 * libm/machine/spu/headers/expm1.h: Ditto.
113 * libm/machine/spu/headers/expm1d2.h: Ditto.
114 * libm/machine/spu/headers/expm1f.h: Ditto.
115 * libm/machine/spu/headers/expm1f4.h: Ditto.
116 * libm/machine/spu/headers/floord2.h: Ditto.
117 * libm/machine/spu/headers/floorf4.h: Ditto.
118 * libm/machine/spu/headers/hypot.h: Ditto.
119 * libm/machine/spu/headers/hypotd2.h: Ditto.
120 * libm/machine/spu/headers/hypotf.h: Ditto.
121 * libm/machine/spu/headers/hypotf4.h: Ditto.
122 * libm/machine/spu/headers/isnan.h: Ditto.
123 * libm/machine/spu/headers/isnand2.h: Ditto.
124 * libm/machine/spu/headers/isnanf.h: Ditto.
125 * libm/machine/spu/headers/isnanf4.h: Ditto.
126 * libm/machine/spu/headers/ldexpd2.h: Ditto.
127 * libm/machine/spu/headers/ldexpf4.h: Ditto.
128 * libm/machine/spu/headers/lgamma.h: Ditto.
129 * libm/machine/spu/headers/lgammad2.h: Ditto.
130 * libm/machine/spu/headers/lgammaf.h: Ditto.
131 * libm/machine/spu/headers/lgammaf4.h: Ditto.
132 * libm/machine/spu/headers/log.h: Ditto.
133 * libm/machine/spu/headers/log10.h: Ditto.
134 * libm/machine/spu/headers/log10d2.h: Ditto.
135 * libm/machine/spu/headers/log1p.h: Ditto.
136 * libm/machine/spu/headers/log1pd2.h: Ditto.
137 * libm/machine/spu/headers/log1pf.h: Ditto.
138 * libm/machine/spu/headers/log1pf4.h: Ditto.
139 * libm/machine/spu/headers/log2.h: Ditto.
140 * libm/machine/spu/headers/log2d2.h: Ditto.
141 * libm/machine/spu/headers/log2f4.h: Ditto.
142 * libm/machine/spu/headers/logbf.h: Ditto.
143 * libm/machine/spu/headers/logbf4.h: Ditto.
144 * libm/machine/spu/headers/logd2.h: Ditto.
145 * libm/machine/spu/headers/logf4.h: Ditto.
146 * libm/machine/spu/headers/nearbyintf.h: Ditto.
147 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
148 * libm/machine/spu/headers/nextafter.h: Ditto.
149 * libm/machine/spu/headers/nextafterd2.h: Ditto.
150 * libm/machine/spu/headers/nextafterf.h: Ditto.
151 * libm/machine/spu/headers/nextafterf4.h: Ditto.
152 * libm/machine/spu/headers/pow.h: Ditto.
153 * libm/machine/spu/headers/powd2.h: Ditto.
154 * libm/machine/spu/headers/powf.h: Ditto.
155 * libm/machine/spu/headers/powf4.h: Ditto.
156 * libm/machine/spu/headers/recipd2.h: Ditto.
157 * libm/machine/spu/headers/recipf4.h: Ditto.
158 * libm/machine/spu/headers/rintf.h: Ditto.
159 * libm/machine/spu/headers/rintf4.h: Ditto.
160 * libm/machine/spu/headers/scalbnf4.h: Ditto.
161 * libm/machine/spu/headers/signbit.h: Ditto.
162 * libm/machine/spu/headers/signbitd2.h: Ditto.
163 * libm/machine/spu/headers/simdmath.h: Ditto.
164 * libm/machine/spu/headers/sin.h: Ditto.
165 * libm/machine/spu/headers/sincos.h: Ditto.
166 * libm/machine/spu/headers/sincosd2.h: Ditto.
167 * libm/machine/spu/headers/sincosf.h: Ditto.
168 * libm/machine/spu/headers/sincosf4.h: Ditto.
169 * libm/machine/spu/headers/sind2.h: Ditto.
170 * libm/machine/spu/headers/sinf.h: Ditto.
171 * libm/machine/spu/headers/sinf4.h: Ditto.
172 * libm/machine/spu/headers/sinh.h: Ditto.
173 * libm/machine/spu/headers/sinhd2.h: Ditto.
174 * libm/machine/spu/headers/sinhf.h: Ditto.
175 * libm/machine/spu/headers/sinhf4.h: Ditto.
176 * libm/machine/spu/headers/sqrtd2.h: Ditto.
177 * libm/machine/spu/headers/sqrtf.h: Ditto.
178 * libm/machine/spu/headers/sqrtf4.h: Ditto.
179 * libm/machine/spu/headers/tan.h: Ditto.
180 * libm/machine/spu/headers/tand2.h: Ditto.
181 * libm/machine/spu/headers/tanf.h: Ditto.
182 * libm/machine/spu/headers/tanf4.h: Ditto.
183 * libm/machine/spu/headers/tanh.h: Ditto.
184 * libm/machine/spu/headers/tanhd2.h: Ditto.
185 * libm/machine/spu/headers/tanhf.h: Ditto.
186 * libm/machine/spu/headers/tanhf4.h: Ditto.
187 * libm/machine/spu/headers/tgamma.h: Ditto.
188 * libm/machine/spu/headers/tgammad2.h: Ditto.
189 * libm/machine/spu/headers/tgammaf.h: Ditto.
190 * libm/machine/spu/headers/tgammaf4.h: Ditto.
191 * libm/machine/spu/headers/truncd2.h: Ditto.
192 * libm/machine/spu/headers/truncf4.h: Ditto.
193 * libm/machine/spu/log2.c: Ditto.
194 * libm/machine/spu/s_asinh.c: Ditto.
195 * libm/machine/spu/s_atan.c: Ditto.
196 * libm/machine/spu/s_cos.c: Ditto.
197 * libm/machine/spu/s_erf.c: Ditto.
198 * libm/machine/spu/s_expm1.c: Ditto.
199 * libm/machine/spu/s_isnan.c: Ditto.
200 * libm/machine/spu/s_log1p.c: Ditto.
201 * libm/machine/spu/s_nextafter.c: Ditto.
202 * libm/machine/spu/s_sin.c: Ditto.
203 * libm/machine/spu/s_tan.c: Ditto.
204 * libm/machine/spu/s_tanh.c: Ditto.
205 * libm/machine/spu/sf_asinh.c: Ditto.
206 * libm/machine/spu/sf_cos.c: Ditto.
207 * libm/machine/spu/sf_erf.c: Ditto.
208 * libm/machine/spu/sf_expm1.c: Ditto.
209 * libm/machine/spu/sf_log1p.c: Ditto.
210 * libm/machine/spu/sf_logb.c: Ditto.
211 * libm/machine/spu/sf_nearbyint.c: Ditto.
212 * libm/machine/spu/sf_nextafter.c: Ditto.
213 * libm/machine/spu/sf_rint.c: Ditto.
214 * libm/machine/spu/sf_sin.c: Ditto.
215 * libm/machine/spu/sf_tan.c: Ditto.
216 * libm/machine/spu/sf_tanh.c: Ditto.
217 * libm/machine/spu/w_acos.c: Ditto.
218 * libm/machine/spu/w_acosh.c: Ditto.
219 * libm/machine/spu/w_asin.c: Ditto.
220 * libm/machine/spu/w_atan2.c: Ditto.
221 * libm/machine/spu/w_atanh.c: Ditto.
222 * libm/machine/spu/w_cosh.c: Ditto.
223 * libm/machine/spu/w_exp.c: Ditto.
224 * libm/machine/spu/w_exp2.c: Ditto.
225 * libm/machine/spu/w_hypot.c: Ditto.
226 * libm/machine/spu/w_lgamma.c: Ditto.
227 * libm/machine/spu/w_log.c: Ditto.
228 * libm/machine/spu/w_log10.c: Ditto.
229 * libm/machine/spu/w_pow.c: Ditto.
230 * libm/machine/spu/w_sincos.c: Ditto.
231 * libm/machine/spu/w_sinh.c: Ditto.
232 * libm/machine/spu/w_tgamma.c: Ditto.
233 * libm/machine/spu/wf_acos.c: Ditto.
234 * libm/machine/spu/wf_acosh.c: Ditto.
235 * libm/machine/spu/wf_asin.c: Ditto.
236 * libm/machine/spu/wf_atan2.c: Ditto.
237 * libm/machine/spu/wf_atanh.c: Ditto.
238 * libm/machine/spu/wf_cosh.c: Ditto.
239 * libm/machine/spu/wf_hypot.c: Ditto.
240 * libm/machine/spu/wf_lgamma.c: Ditto.
241 * libm/machine/spu/wf_pow.c: Ditto.
242 * libm/machine/spu/wf_sincos.c: Ditto.
243 * libm/machine/spu/wf_sinh.c: Ditto.
244 * libm/machine/spu/wf_sqrt.c: Ditto.
245 * libm/machine/spu/wf_tgamma.c: Ditto.
246
247 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
248
249 * configure.host: Define _POSIX_MODE to match the existing vector
250 math code, as we don't support the matherr callout.
251 * libm/machine/spu/Makefile.am: New file.
252 * libm/machine/spu/Makefile.in: Auto-generated.
253 * libm/machine/spu/headers/atanf.h: New file.
254 * libm/machine/spu/headers/cbrt.h: Ditto.
255 * libm/machine/spu/headers/cbrtf.h: Ditto.
256 * libm/machine/spu/headers/ceil.h: Ditto.
257 * libm/machine/spu/headers/ceilf.h: Ditto.
258 * libm/machine/spu/headers/copysign.h: Ditto.
259 * libm/machine/spu/headers/copysignf.h: Ditto.
260 * libm/machine/spu/headers/exp2f.h: Ditto.
261 * libm/machine/spu/headers/expf.h: Ditto.
262 * libm/machine/spu/headers/fabs.h: Ditto.
263 * libm/machine/spu/headers/fabsf.h: Ditto.
264 * libm/machine/spu/headers/fdim.h: Ditto.
265 * libm/machine/spu/headers/fdimf.h: Ditto.
266 * libm/machine/spu/headers/floor.h: Ditto.
267 * libm/machine/spu/headers/floorf.h: Ditto.
268 * libm/machine/spu/headers/fma.h: Ditto.
269 * libm/machine/spu/headers/fmaf.h: Ditto.
270 * libm/machine/spu/headers/fmax.h: Ditto.
271 * libm/machine/spu/headers/fmaxf.h: Ditto.
272 * libm/machine/spu/headers/fmin.h: Ditto.
273 * libm/machine/spu/headers/fminf.h: Ditto.
274 * libm/machine/spu/headers/fmod.h: Ditto.
275 * libm/machine/spu/headers/fmodf.h: Ditto.
276 * libm/machine/spu/headers/frexp.h: Ditto.
277 * libm/machine/spu/headers/frexpf.h: Ditto.
278 * libm/machine/spu/headers/ilogb.h: Ditto.
279 * libm/machine/spu/headers/ilogbf.h: Ditto.
280 * libm/machine/spu/headers/ldexp.h: Ditto.
281 * libm/machine/spu/headers/ldexpf.h: Ditto.
282 * libm/machine/spu/headers/llrint.h: Ditto.
283 * libm/machine/spu/headers/llrintf.h: Ditto.
284 * libm/machine/spu/headers/llround.h: Ditto.
285 * libm/machine/spu/headers/llroundf.h: Ditto.
286 * libm/machine/spu/headers/log10f.h: Ditto.
287 * libm/machine/spu/headers/log2f.h: Ditto.
288 * libm/machine/spu/headers/logf.h: Ditto.
289 * libm/machine/spu/headers/lrint.h: Ditto.
290 * libm/machine/spu/headers/lrintf.h: Ditto.
291 * libm/machine/spu/headers/lround.h: Ditto.
292 * libm/machine/spu/headers/lroundf.h: Ditto.
293 * libm/machine/spu/headers/nearbyint.h: Ditto.
294 * libm/machine/spu/headers/remainder.h: Ditto.
295 * libm/machine/spu/headers/remainderf.h: Ditto.
296 * libm/machine/spu/headers/remquo.h: Ditto.
297 * libm/machine/spu/headers/remquof.h: Ditto.
298 * libm/machine/spu/headers/rint.h: Ditto.
299 * libm/machine/spu/headers/round.h: Ditto.
300 * libm/machine/spu/headers/roundf.h: Ditto.
301 * libm/machine/spu/headers/scalbn.h: Ditto.
302 * libm/machine/spu/headers/scalbnf.h: Ditto.
303 * libm/machine/spu/headers/sqrt.h: Ditto.
304 * libm/machine/spu/headers/trunc.h: Ditto.
305 * libm/machine/spu/headers/truncf.h: Ditto.
306 * libm/machine/spu/headers/vec_literal.h: Ditto.
307 * libm/machine/spu/llrint.c: Ditto.
308 * libm/machine/spu/llrintf.c: Ditto.
309 * libm/machine/spu/llround.c: Ditto.
310 * libm/machine/spu/llroundf.c: Ditto.
311 * libm/machine/spu/log2f.c: Ditto.
312 * libm/machine/spu/s_cbrt.c: Ditto.
313 * libm/machine/spu/s_ceil.c: Ditto.
314 * libm/machine/spu/s_copysign.c: Ditto.
315 * libm/machine/spu/s_fabs.c: Ditto.
316 * libm/machine/spu/s_fdim.c: Ditto.
317 * libm/machine/spu/s_floor.c: Ditto.
318 * libm/machine/spu/s_fma.c: Ditto.
319 * libm/machine/spu/s_fmax.c: Ditto.
320 * libm/machine/spu/s_fmin.c: Ditto.
321 * libm/machine/spu/s_frexp.c: Ditto.
322 * libm/machine/spu/s_ilogb.c: Ditto.
323 * libm/machine/spu/s_ldexp.c: Ditto.
324 * libm/machine/spu/s_lrint.c: Ditto.
325 * libm/machine/spu/s_lround.c: Ditto.
326 * libm/machine/spu/s_nearbyint.c: Ditto.
327 * libm/machine/spu/s_remquo.c: Ditto.
328 * libm/machine/spu/s_rint.c: Ditto.
329 * libm/machine/spu/s_round.c: Ditto.
330 * libm/machine/spu/s_scalbn.c: Ditto.
331 * libm/machine/spu/s_trunc.c: Ditto.
332 * libm/machine/spu/sf_atan.c: Ditto.
333 * libm/machine/spu/sf_cbrt.c: Ditto.
334 * libm/machine/spu/sf_ceil.c: Ditto.
335 * libm/machine/spu/sf_copysign.c: Ditto.
336 * libm/machine/spu/sf_fabs.c: Ditto.
337 * libm/machine/spu/sf_fdim.c: Ditto.
338 * libm/machine/spu/sf_floor.c: Ditto.
339 * libm/machine/spu/sf_fma.c: Ditto.
340 * libm/machine/spu/sf_fmax.c: Ditto.
341 * libm/machine/spu/sf_fmin.c: Ditto.
342 * libm/machine/spu/sf_frexp.c: Ditto.
343 * libm/machine/spu/sf_ilogb.c: Ditto.
344 * libm/machine/spu/sf_ldexp.c: Ditto.
345 * libm/machine/spu/sf_lrint.c: Ditto.
346 * libm/machine/spu/sf_lround.c: Ditto.
347 * libm/machine/spu/sf_remquo.c: Ditto.
348 * libm/machine/spu/sf_round.c: Ditto.
349 * libm/machine/spu/sf_scalbn.c: Ditto.
350 * libm/machine/spu/sf_trunc.c: Ditto.
351 * libm/machine/spu/w_fmod.c: Ditto.
352 * libm/machine/spu/w_remainder.c: Ditto.
353 * libm/machine/spu/w_sqrt.c: Ditto.
354 * libm/machine/spu/wf_exp.c: Ditto.
355 * libm/machine/spu/wf_exp2.c: Ditto.
356 * libm/machine/spu/wf_fmod.c: Ditto.
357 * libm/machine/spu/wf_log.c: Ditto.
358 * libm/machine/spu/wf_log10.c: Ditto.
359 * libm/machine/spu/wf_remainder.c: Ditto.
360
361 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
362
363 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
364
365 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
366
367 * libc/include/sched.h: New file, just include sys/sched.h.
368 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
369 prototype.
370 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
371 struct utimbuf definition.
372
373 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
374
375 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
376 specific struct and typedef.
377
378 2007-09-18 Patrick Mansfield <patmans@us.ibm.com>
379
380 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
381 typedef dev_t, gid_t, and uid_t.
382 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
383 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
384 Change to lower case for all __foo_t_defined names.
385 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
386 __uid_t, and __gid_t making them all four bytes. Change to lower case
387 for all __foo_t_defined names.
388
389 2007-09-18 Jeff Johnston <jjohnstn@redhat.com>
390
391 * libc/reent/renamer.c: New file.
392 * libc/reent/Makefile.am: Add new file.
393 * libc/reent/Makefile.in: Regenerated.
394 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
395 and add check for rename syscall.
396
397 2007-09-17 Eric Blake <ebb9@byu.net>
398
399 Obey POSIX on printf("%.s", (char*)NULL).
400 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
401 for %s on NULL. Skip NULL check when optimizing for size.
402
403 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
404
405 * libc/include/sys/_types.h: Protect all types with flag
406 checks to allow definition in machine/_types.h.
407
408 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
409
410 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
411 definitions in light of the previous change.
412
413 2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
414
415 * libc/include/machine/_default_types.h: New file, contains what
416 was previously in libc/include/machine/_types.h.
417 * libc/include/machine/_types.h: Now only includes
418 machine/_default_types.h.
419 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
420 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
421 with conditional declarations.
422 * libc/machine/spu/machine/_types.h: New file, add SPU specific
423 typedefs for _fpos_t and _fpos64_t.
424
425 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
426
427 * libc/include/math.h (_M_LOG2E): Replace with..
428 (_M_LOG2_E): New macro.
429 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
430
431 2007-09-06 Brian Dessent <brian@dessent.net>
432
433 * libc/reent/getreent.c: Allow for case where __getreent is
434 defined as a macro.
435
436 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
437
438 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
439 (log2): Use _M_LOG2E instead of M_LOG2E.
440 (log2f): Ditto.
441 (M_LOG2E): Define to be _M_LOG2E.
442
443 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
444
445 * libm/math/wf_tgamma.c: Add missing include.
446
447 2007-08-31 Antony King <antony.king@st.com>
448
449 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
450 bits and redefine associated dword0 macro (rvalue issue).
451 * libc/stdio/vfieeefp.h: Ditto.
452 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
453 to prevent setting dword1 which is an rvalue only.
454
455 2007-08-28 Hans Kester <hans.kester@ellips.nl>
456
457 * configure.host: Added support for x86_64.
458 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
459 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
460 * libc/machine/x86_64/aclocal.m4: Generated.
461 * libc/machine/x86_64/configure.in: New.
462 * libc/machine/x86_64/configure: Generated.
463 * libc/machine/x86_64/Makefile.am: New.
464 * libc/machine/x86_64/Makefile.in: Generated.
465 * libc/machine/x86_64/setjmp.S: New.
466 * libc/machine/x86_64/memcpy.S: New.
467 * libc/machine/x86_64/memset.S: New.
468 * libc/machine/configure.in: Added support for x86_64.
469 * libc/machine/configure: Regenerated.
470
471 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
472
473 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
474 to int before comparing it to a signed int value.
475
476 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
477
478 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
479 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
480 Define.
481
482 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
483
484 Reduce the memory consumption of variable argument functions
485 for SPU (cell):
486 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
487 to assembler sources.
488 * libc/machine/spu/Makefile.in: Regenerated.
489 * libc/machine/spu/stdio.c: Add __check_init function wrapping
490 CHECK_INIT macro to use from assembler routines.
491 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
492 * libc/machine/spu/fiprintf.S: New file.
493 * libc/machine/spu/fiscanf.S: Ditto.
494 * libc/machine/spu/fprintf.S: Ditto.
495 * libc/machine/spu/fscanf.S: Ditto.
496 * libc/machine/spu/iprintf.S: Ditto.
497 * libc/machine/spu/iscanf.S: Ditto.
498 * libc/machine/spu/printf.S: Ditto.
499 * libc/machine/spu/scanf.S: Ditto.
500 * libc/machine/spu/siprintf.S: Ditto.
501 * libc/machine/spu/siscanf.S: Ditto.
502 * libc/machine/spu/sniprintf.S: Ditto.
503 * libc/machine/spu/snprintf.S: Ditto.
504 * libc/machine/spu/sprintf.S: Ditto.
505 * libc/machine/spu/sscanf.S: Ditto.
506 * libc/machine/spu/stack_reg_va.S: Ditto.
507 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
508 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
509 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
510 * libc/machine/spu/fiscanf.c: Ditto.
511 * libc/machine/spu/fprintf.c: Ditto.
512 * libc/machine/spu/fscanf.c: Ditto.
513 * libc/machine/spu/iprintf.c: Ditto.
514 * libc/machine/spu/iscanf.c: Ditto.
515 * libc/machine/spu/printf.c: Ditto.
516 * libc/machine/spu/scanf.c: Ditto.
517 * libc/machine/spu/siprintf.c: Ditto.
518 * libc/machine/spu/siscanf.c: Ditto.
519 * libc/machine/spu/sniprintf.c: Ditto.
520 * libc/machine/spu/snprintf.c: Ditto.
521 * libc/machine/spu/sprintf.c: Ditto.
522 * libc/machine/spu/sscanf.c: Ditto.
523
524 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
525
526 * libc/include/tar.h: New.
527
528 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
529
530 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
531 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
532 * libc/sys/linux/intl/Makefile.in: Regenerated.
533 * libc/sys/linux/intl/stpcpy.c: Renamed to...
534 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
535
536 2007-08-02 Eric Blake <ebb9@byu.net>
537
538 Implement fmemopen and open_memstream.
539 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
540 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
541 New file.
542 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
543 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
544 functions together.
545 (fmemopen, open_memstream): Declare new functions.
546 * libc/stdio/stdio.tex: Document them.
547 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
548 fmemopen and open_memstream.
549 * libc/stdio/Makefile.in: Regenerate.
550
551 2007-07-31 Eric Blake <ebb9@byu.net>
552
553 More POSIX stream corner cases.
554 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
555 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
556 requested.
557 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
558
559 2007-07-18 Eric Blake <ebb9@byu.net>
560
561 Fix 'make info'.
562 * libc/stdio/stdio.tex: Add missing include.
563 * libc/stdio/vfprintf.c: Use expected node name.
564 * libc/stdio/vfscanf.c: Likewise.
565 * libc/stdio/sscanf.c: Likewise.
566 * libc/stdio/sprintf.c: Likewise.
567 * libc/stdio/siscanf.c: Likewise.
568 * libc/stdio/siprintf.c: Likewise.
569 * libc/stdio/fopencookie.c: Quote raw {}.
570 Reported by DJ Delorie.
571
572 2007-07-13 Eric Blake <ebb9@byu.net>
573
574 Fix fflush issues.
575 * libc/stdio/fflush.c (_fflush_r): New function.
576 (fflush): Fix reentrancy and large offset behavior.
577 * libc/include/stdio.h (_fflush_r): Add prototype.
578 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
579 * libc/stdio/freopen.c (_freopen_r): Likewise.
580 * libc/stdio/fseek.c (_fseek_r): Likewise.
581 * libc/stdio/ftell.c (_ftell_r): Likewise.
582 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
583 * libc/stdio/refill.c (__srefill_r): Likewise.
584 * libc/stdio/setvbuf.c (setvbuf): Likewise.
585 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
586 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
587 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
588 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
589 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
590 32-bit version if not large file.
591 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
592 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
593
594 Documentation updates.
595 * libc/stdio/ungetc.c: Document ungetc.
596 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
597 of files with documentation.
598 * libc/stdio/Makefile.in: Regenerate.
599 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
600
601 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
602
603 * libc/include/math.h: Fix so C99 functions/macros are accessible
604 when -std=c99 is used when compiling and not when using C89.
605
606 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
607
608 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
609 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
610 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
611 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
612 wcstoull_r.c.
613 (CHEWOUT_FILES): Add .def files accordingly.
614 * libc/stdlib/Makefile.in: Regenerate.
615 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
616 * libc/stdlib/strtoll.c: Fix portability note.
617 * libc/stdlib/strtoull.c: Ditto.
618 * libc/stdlib/wcstol.c: New file.
619 * libc/stdlib/wcstoll.c: New file.
620 * libc/stdlib/wcstoll_r.c: New file.
621 * libc/stdlib/wcstoul.c: New file.
622 * libc/stdlib/wcstoull.c: New file.
623 * libc/stdlib/wcstoull_r.c: New file.
624
625 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
626
627 * libc/include/sys/time.h (gettimeofday): Change to proper
628 prototype where second parameter is void *.
629 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
630 accordingly.
631 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
632 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
633 * libc/sys/rdos/gettod.c: Ditto.
634 * libc/sys/sh/syscalls.c: Ditto.
635 * libc/time/time.c (time): Change call to _gettimeofday_r
636 to pass NULL as 2nd argument.
637
638 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
639
640 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
641 * libc/sys/linux/intl/l10nflist.c: Ditto.
642
643 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
644
645 * libc/include/wchar.h: Add prototype for wcsxfrm.
646 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
647 (CHEWOUT_FILES): Add wcsxfrm.def.
648 * libc/string/Makefile.in: Regenerate.
649 * libc/string/wcsxfrm.c: New file.
650 * libc/string/wcstrings.tex: Add wcsxfrm.
651
652 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
653
654 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
655 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
656 stpncpy.c.
657 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
658 * libc/string/Makefile.in: Regenerate.
659 * libc/string/stpcpy.c: New file.
660 * libc/string/stpncpy.c: New file.
661 * libc/string/strings.tex: Add stpcpy and stpncpy.
662
663 2007-06-27 Eric Blake <ebb9@byu.net>
664
665 Support __func__ in assert, as required by C99.
666 * libc/stdlib/assert.c (__assert_func): New function.
667 (__assert): Use __assert_func.
668 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
669 possible.
670
671 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
672
673 * libc/machine/spu/perror.c: Pass errno as the second argument to
674 the assist call.
675
676 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
677
678 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
679 defines; expose ftruncate, truncate and sync prototypes.
680
681 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
682
683 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
684 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
685 visible.
686
687 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
688
689 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
690 from a dropped patch.
691 * libc/machine/spu/Makefile.in: Regenerate.
692
693 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
694
695 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
696 it just calls open with appropriate arguments.
697 * libc/machine/spu/Makefile.am: Add creat.c.
698 * libc/machine/spu/Makefile.in: Regenerate.
699
700 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
701
702 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
703 I accidentally dropped.
704 * libc/machine/spu/Makefile.in: Regenerated.
705
706 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
707
708 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
709 * libc/include/sys/unistd.h: Change usleep prototype to Posix
710 form and move outside of OS flag checks.
711 * libc/machine/spu/Makefile.am: Add sleep and usleep.
712 * libc/machine/spu/Makefile.in: Regenerate.
713 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
714 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
715
716 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
717
718 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
719 Define confstr constants for Cygwin. Add comment.
720
721 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
722
723 * libc/sys/mmixware/access.c (access): Do not try to use a magic
724 file-handle and a direct syscall, just use _open.
725 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
726 file-handle.
727
728 * libc/sys/mmixware/_exit.c (_exit): Update comment about
729 passing on the exit value.
730
731 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
732
733 * libc/string/strcasestr.c: New file.
734 * libc/include/string.h: Add strcasestr.
735 * libc/string/strings.tex: Add strcasestr.
736 * libc/string/Makefile.am: Ditto.
737 * libc/string/Makefile.in: Regenerated.
738
739 2007-06-06 Christian Groessler <chris@groessler.org>
740
741 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
742 rnd is done after the last local variable declaration.
743
744 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
745
746 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
747
748 2007-06-05 Christian Groessler <chris@groessler.org>
749
750 * libc/argz/argz_insert.c (argz_insert): Move delta variable
751 declaration to top of function in keeping with C89 standard.
752
753 2007-06-04 Eric Blake <ebb9@byu.net>
754
755 Implement funopen, fopencookie.
756 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
757 Switch to reentrant callbacks.
758 * libc/include/stdio.h (funopen): Fix declaration.
759 (fopencookie): Declare.
760 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
761 (__sseek64, __swrite64): Fix prototypes.
762 [__SCLE]: Pull in setmode declaration.
763 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
764 reentrancy.
765 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
766 (__sseek64, __swrite64): Fix reentrancy.
767 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
768 reentrancy.
769 * libc/stdio/ftell.c (_ftell_r): Likewise.
770 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
771 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
772 * libc/stdio/freopen.c (_freopen_r): Likewise.
773 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
774 * libc/stdio/refill.c (__srefill_r): Likewise.
775 * libc/stdio/siscanf.c (eofread): Likewise.
776 * libc/stdio/sscanf.c (eofread): Likewise.
777 * libc/stdio/vsiscanf.c (eofread1): Likewise.
778 * libc/stdio/vsscanf.c (eofread1): Likewise.
779 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
780 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
781 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
782 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
783 could be fixed.
784 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
785 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
786 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
787 new files.
788 * libc/stdio/Makefile.in: Regenerate.
789
790 2007-05-29 Eric Blake <ebb9@byu.net>
791
792 Avoid more compiler warnings.
793 * libc/stdlib/btowc.c: Add missing header.
794 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
795 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
796 * libc/stdlib/wctob.c: Add missing header.
797 * libc/string/strcpy.c (strcpy): Avoid warnings.
798 * libc/string/strrchr.c (strrchr): Likewise.
799
800 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
801
802 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
803 argument.
804 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
805 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
806 on empty input strings.
807 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
808 looping through argz.
809 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
810
811 2007-05-27 Brian Dessent <brian@dessent.net>
812
813 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
814 handling %p.
815
816 2007-05-25 Eric Blake <ebb9@byu.net>
817
818 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
819
820 2007-05-24 Steve Ellcey <sje@cup.hp.com>
821 Charles Wilson <libtool@cwilson.fastmail.fm>
822
823 * libtool.m4: removed
824 * configure.in: invoke _LD_DECL_SED before conditionally initializing
825 libtool. Move AC_PROG_AWK outside conditional.
826 * libc/sys/linux/configure.in: Ditto.
827 * libc/sys/linux/linuxthreads/configure.in: Ditto.
828 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
829 * libc/sys/linux/machine/i386/configure.in: Ditto.
830
831 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
832 initializing libtool.
833 * libc/configure.in: Ditto.
834 * libc/machine/configure.in: Ditto.
835 * libc/machine/i386/configure.in: Ditto.
836 * libc/sys/configure.in: Ditto.
837 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
838 * libc/sys/linux/machine/configure.in: Ditto.
839 * libm/configure.in: Ditto.
840 * libm/machine/configure.in: Ditto.
841
842 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
843 * doc/Makefile.am: Ditto.
844 * iconvdata/Makefile.am: Ditto.
845 * libc/Makefile.am: Ditto.
846 * libc/machine/Makefile.am: Ditto.
847 * libc/machine/a29k/Makefile.am: Ditto.
848 * libc/machine/arm/Makefile.am: Ditto.
849 * libc/machine/bfin/Makefile.am: Ditto.
850 * libc/machine/cris/Makefile.am: Ditto.
851 * libc/machine/crx/Makefile.am: Ditto.
852 * libc/machine/d10v/Makefile.am: Ditto.
853 * libc/machine/d30v/Makefile.am: Ditto.
854 * libc/machine/fr30/Makefile.am: Ditto.
855 * libc/machine/frv/Makefile.am: Ditto.
856 * libc/machine/h8300/Makefile.am: Ditto.
857 * libc/machine/h8500/Makefile.am: Ditto.
858 * libc/machine/hppa/Makefile.am: Ditto.
859 * libc/machine/i386/Makefile.am: Ditto.
860 * libc/machine/i960/Makefile.am: Ditto.
861 * libc/machine/iq2000/Makefile.am: Ditto.
862 * libc/machine/m32c/Makefile.am: Ditto.
863 * libc/machine/m32r/Makefile.am: Ditto.
864 * libc/machine/m68hc11/Makefile.am: Ditto.
865 * libc/machine/m68k/Makefile.am: Ditto.
866 * libc/machine/m88k/Makefile.am: Ditto.
867 * libc/machine/mips/Makefile.am: Ditto.
868 * libc/machine/mn10200/Makefile.am: Ditto.
869 * libc/machine/mn10300/Makefile.am: Ditto.
870 * libc/machine/mt/Makefile.am: Ditto.
871 * libc/machine/necv70/Makefile.am: Ditto.
872 * libc/machine/powerpc/Makefile.am: Ditto.
873 * libc/machine/sh/Makefile.am: Ditto.
874 * libc/machine/sparc/Makefile.am: Ditto.
875 * libc/machine/spu/Makefile.am: Ditto.
876 * libc/machine/tic4x/Makefile.am: Ditto.
877 * libc/machine/tic80/Makefile.am: Ditto.
878 * libc/machine/v850/Makefile.am: Ditto.
879 * libc/machine/w65/Makefile.am: Ditto.
880 * libc/machine/xscale/Makefile.am: Ditto.
881 * libc/machine/xstormy16/Makefile.am: Ditto.
882 * libc/machine/z8k/Makefile.am: Ditto.
883 * libc/sys/Makefile.am: Ditto.
884 * libc/sys/a29khif/Makefile.am: Ditto.
885 * libc/sys/arc/Makefile.am: Ditto.
886 * libc/sys/arm/Makefile.am: Ditto.
887 * libc/sys/d10v/Makefile.am: Ditto.
888 * libc/sys/decstation/Makefile.am: Ditto.
889 * libc/sys/h8300hms/Makefile.am: Ditto.
890 * libc/sys/h8500hms/Makefile.am: Ditto.
891 * libc/sys/linux/Makefile.am: Ditto.
892 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
893 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
894 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
895 * libc/sys/linux/machine/Makefile.am: Ditto.
896 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
897 * libc/sys/m88kbug/Makefile.am: Ditto.
898 * libc/sys/mmixware/Makefile.am: Ditto.
899 * libc/sys/netware/Makefile.am: Ditto.
900 * libc/sys/rdos/Makefile.am: Ditto.
901 * libc/sys/rtems/Makefile.am: Ditto.
902 * libc/sys/sh/Makefile.am: Ditto.
903 * libc/sys/sparc64/Makefile.am: Ditto.
904 * libc/sys/sun4/Makefile.am: Ditto.
905 * libc/sys/sysmec/Makefile.am: Ditto.
906 * libc/sys/sysnec810/Makefile.am: Ditto.
907 * libc/sys/sysnecv850/Makefile.am: Ditto.
908 * libc/sys/sysvi386/Makefile.am: Ditto.
909 * libc/sys/sysvnecv70/Makefile.am: Ditto.
910 * libc/sys/tic80/Makefile.am: Ditto.
911 * libc/sys/w65/Makefile.am: Ditto.
912 * libc/sys/z8ksim/Makefile.am: Ditto.
913 * libm/Makefile.am: Ditto.
914 * libm/machine/Makefile.am: Ditto.
915 * libm/machine/i386/Makefile.am: Ditto.
916 * libm/machine/spu/Makefile.am: Ditto.
917
918 * aclocal.m4: Regenerate.
919 * iconvdata/aclocal.m4: Regenerate.
920 * libc/aclocal.m4: Regenerate.
921 * libc/machine/aclocal.m4: Regenerate.
922 * libc/machine/i386/aclocal.m4: Regenerate.
923 * libc/sys/aclocal.m4: Regenerate.
924 * libc/sys/linux/aclocal.m4: Regenerate.
925 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
926 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
927 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
928 * libc/sys/linux/machine/aclocal.m4: Regenerate.
929 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
930 * libm/aclocal.m4: Regenerate.
931 * libm/machine/aclocal.m4: Regenerate.
932 * libm/machine/i386/aclocal.m4: Regenerate.
933
934 * Makefile.in: Regenerate.
935 * doc/Makefile.in: Regenerate.
936 * iconvdata/Makefile.in: Regenerate.
937 * libc/Makefile.in: Regenerate.
938 * libc/argz/Makefile.in: Regenerate.
939 * libc/ctype/Makefile.in: Regenerate.
940 * libc/errno/Makefile.in: Regenerate.
941 * libc/iconv/Makefile.in: Regenerate.
942 * libc/iconv/ccs/Makefile.in: Regenerate.
943 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
944 * libc/iconv/ces/Makefile.in: Regenerate.
945 * libc/iconv/lib/Makefile.in: Regenerate.
946 * libc/locale/Makefile.in: Regenerate.
947 * libc/machine/Makefile.in: Regenerate.
948 * libc/machine/a29k/Makefile.in: Regenerate.
949 * libc/machine/arm/Makefile.in: Regenerate.
950 * libc/machine/bfin/Makefile.in: Regenerate.
951 * libc/machine/cris/Makefile.in: Regenerate.
952 * libc/machine/crx/Makefile.in: Regenerate.
953 * libc/machine/d10v/Makefile.in: Regenerate.
954 * libc/machine/d30v/Makefile.in: Regenerate.
955 * libc/machine/fr30/Makefile.in: Regenerate.
956 * libc/machine/frv/Makefile.in: Regenerate.
957 * libc/machine/h8300/Makefile.in: Regenerate.
958 * libc/machine/h8500/Makefile.in: Regenerate.
959 * libc/machine/hppa/Makefile.in: Regenerate.
960 * libc/machine/i386/Makefile.in: Regenerate.
961 * libc/machine/i960/Makefile.in: Regenerate.
962 * libc/machine/iq2000/Makefile.in: Regenerate.
963 * libc/machine/m32c/Makefile.in: Regenerate.
964 * libc/machine/m32r/Makefile.in: Regenerate.
965 * libc/machine/m68hc11/Makefile.in: Regenerate.
966 * libc/machine/m68k/Makefile.in: Regenerate.
967 * libc/machine/m88k/Makefile.in: Regenerate.
968 * libc/machine/mips/Makefile.in: Regenerate.
969 * libc/machine/mn10200/Makefile.in: Regenerate.
970 * libc/machine/mn10300/Makefile.in: Regenerate.
971 * libc/machine/mt/Makefile.in: Regenerate.
972 * libc/machine/necv70/Makefile.in: Regenerate.
973 * libc/machine/powerpc/Makefile.in: Regenerate.
974 * libc/machine/sh/Makefile.in: Regenerate.
975 * libc/machine/sparc/Makefile.in: Regenerate.
976 * libc/machine/spu/Makefile.in: Regenerate.
977 * libc/machine/tic4x/Makefile.in: Regenerate.
978 * libc/machine/tic80/Makefile.in: Regenerate.
979 * libc/machine/v850/Makefile.in: Regenerate.
980 * libc/machine/w65/Makefile.in: Regenerate.
981 * libc/machine/xscale/Makefile.in: Regenerate.
982 * libc/machine/xstormy16/Makefile.in: Regenerate.
983 * libc/machine/z8k/Makefile.in: Regenerate.
984 * libc/misc/Makefile.in: Regenerate.
985 * libc/posix/Makefile.in: Regenerate.
986 * libc/reent/Makefile.in: Regenerate.
987 * libc/search/Makefile.in: Regenerate.
988 * libc/signal/Makefile.in: Regenerate.
989 * libc/stdio/Makefile.in: Regenerate.
990 * libc/stdio64/Makefile.in: Regenerate.
991 * libc/stdlib/Makefile.in: Regenerate.
992 * libc/string/Makefile.in: Regenerate.
993 * libc/sys/Makefile.in: Regenerate.
994 * libc/sys/a29khif/Makefile.in: Regenerate.
995 * libc/sys/arc/Makefile.in: Regenerate.
996 * libc/sys/arm/Makefile.in: Regenerate.
997 * libc/sys/d10v/Makefile.in: Regenerate.
998 * libc/sys/decstation/Makefile.in: Regenerate.
999 * libc/sys/h8300hms/Makefile.in: Regenerate.
1000 * libc/sys/h8500hms/Makefile.in: Regenerate.
1001 * libc/sys/linux/Makefile.in: Regenerate.
1002 * libc/sys/linux/argp/Makefile.in: Regenerate.
1003 * libc/sys/linux/cmath/Makefile.in: Regenerate.
1004 * libc/sys/linux/dl/Makefile.in: Regenerate.
1005 * libc/sys/linux/iconv/Makefile.in: Regenerate.
1006 * libc/sys/linux/intl/Makefile.in: Regenerate.
1007 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
1008 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
1009 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1010 * libc/sys/linux/machine/Makefile.in: Regenerate.
1011 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1012 * libc/sys/linux/net/Makefile.in: Regenerate.
1013 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1014 * libc/sys/m88kbug/Makefile.in: Regenerate.
1015 * libc/sys/mmixware/Makefile.in: Regenerate.
1016 * libc/sys/netware/Makefile.in: Regenerate.
1017 * libc/sys/rdos/Makefile.in: Regenerate.
1018 * libc/sys/rtems/Makefile.in: Regenerate.
1019 * libc/sys/sh/Makefile.in: Regenerate.
1020 * libc/sys/sparc64/Makefile.in: Regenerate.
1021 * libc/sys/sun4/Makefile.in: Regenerate.
1022 * libc/sys/sysmec/Makefile.in: Regenerate.
1023 * libc/sys/sysnec810/Makefile.in: Regenerate.
1024 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1025 * libc/sys/sysvi386/Makefile.in: Regenerate.
1026 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1027 * libc/sys/tic80/Makefile.in: Regenerate.
1028 * libc/sys/w65/Makefile.in: Regenerate.
1029 * libc/sys/z8ksim/Makefile.in: Regenerate.
1030 * libc/syscalls/Makefile.in: Regenerate.
1031 * libc/time/Makefile.in: Regenerate.
1032 * libc/unix/Makefile.in: Regenerate.
1033 * libm/Makefile.in: Regenerate.
1034 * libm/common/Makefile.in: Regenerate.
1035 * libm/machine/Makefile.in: Regenerate.
1036 * libm/machine/i386/Makefile.in: Regenerate.
1037 * libm/machine/spu/Makefile.in: Regenerate.
1038 * libm/math/Makefile.in: Regenerate.
1039 * libm/mathfp/Makefile.in: Regenerate.
1040
1041 * configure: Regenerate.
1042 * iconvdata/configure: Regenerate.
1043 * libc/configure: Regenerate.
1044 * libc/machine/configure: Regenerate.
1045 * libc/machine/i386/configure: Regenerate.
1046 * libc/sys/configure: Regenerate.
1047 * libc/sys/linux/configure: Regenerate.
1048 * libc/sys/linux/linuxthreads/configure: Regenerate.
1049 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1050 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1051 * libc/sys/linux/machine/configure: Regenerate.
1052 * libc/sys/linux/machine/i386/configure: Regenerate.
1053 * libm/configure: Regenerate.
1054 * libm/machine/configure: Regenerate.
1055 * libm/machine/i386/configure: Regenerate.
1056
1057 2007-05-23 Eric Blake <ebb9@byu.net>
1058
1059 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1060 sizeof(void*) is 8 but sizeof(long) is 4.
1061 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1062 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1063 to fix reentrancy and bug on encoding error in multibyte locales.
1064 Always return EOF on read error.
1065
1066 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1067
1068 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1069 prototype.
1070 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1071 instead of the slot 0 value, remove any now unused variables, and
1072 for some cases, now store the result in an int vs int*.
1073 * libc/machine/spu/feof.c: Ditto.
1074 * libc/machine/spu/ferror.c: Ditto.
1075 * libc/machine/spu/fflush.c: Ditto.
1076 * libc/machine/spu/fgetc.c: Ditto.
1077 * libc/machine/spu/fgetpos.c: Ditto.
1078 * libc/machine/spu/fgets.c: Ditto.
1079 * libc/machine/spu/fileno.c: Ditto.
1080 * libc/machine/spu/fopen.c: Ditto.
1081 * libc/machine/spu/fprintf.c: Ditto.
1082 * libc/machine/spu/fputc.c: Ditto.
1083 * libc/machine/spu/fputs.c: Ditto.
1084 * libc/machine/spu/fread.c: Ditto.
1085 * libc/machine/spu/freopen.c: Ditto.
1086 * libc/machine/spu/fscanf.c: Ditto.
1087 * libc/machine/spu/fseek.c: Ditto.
1088 * libc/machine/spu/fsetpos.c: Ditto.
1089 * libc/machine/spu/ftell.c: Ditto.
1090 * libc/machine/spu/fwrite.c: Ditto.
1091 * libc/machine/spu/getc.c: Ditto.
1092 * libc/machine/spu/getchar.c: Ditto.
1093 * libc/machine/spu/gets.c: Ditto.
1094 * libc/machine/spu/printf.c: Ditto.
1095 * libc/machine/spu/putc.c: Ditto.
1096 * libc/machine/spu/putchar.c: Ditto.
1097 * libc/machine/spu/puts.c: Ditto.
1098 * libc/machine/spu/remove.c: Ditto.
1099 * libc/machine/spu/rename.c: Ditto.
1100 * libc/machine/spu/scanf.c: Ditto.
1101 * libc/machine/spu/setvbuf.c: Ditto.
1102 * libc/machine/spu/snprintf.c: Ditto.
1103 * libc/machine/spu/sprintf.c: Ditto.
1104 * libc/machine/spu/sscanf.c: Ditto.
1105 * libc/machine/spu/tmpfile.c: Ditto.
1106 * libc/machine/spu/tmpnam.c: Ditto.
1107 * libc/machine/spu/ungetc.c: Ditto.
1108 * libc/machine/spu/vfprintf.c: Ditto.
1109 * libc/machine/spu/vfscanf.c: Ditto.
1110 * libc/machine/spu/vprintf.c: Ditto.
1111 * libc/machine/spu/vscanf.c: Ditto.
1112 * libc/machine/spu/vsnprintf.c: Ditto.
1113 * libc/machine/spu/vsprintf.c: Ditto.
1114 * libc/machine/spu/vsscanf.c: Ditto.
1115
1116 2007-05-23 Eric Blake <ebb9@byu.net>
1117
1118 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
1119 Avoid warning when !FLOATING_POINT.
1120 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
1121 slightly.
1122
1123 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
1124
1125 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
1126 to zero.
1127 * libc/include/argz.h: Guard against multiple inclusion. Guard for
1128 use with C++.
1129
1130 2007-05-18 Eric Blake <ebb9@byu.net>
1131
1132 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
1133 compilers.
1134 * libc/stdio/vfscanf.c: Likewise.
1135
1136 2007-05-17 Cary R. <cygcary <at> yahoo.com>
1137
1138 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
1139 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
1140 * libm/math/wf_atan2.c: Ditto.
1141
1142 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
1143
1144 * libm/common/Makefile.am: Add support for exp10, exp10f,
1145 pow10, and pow10f functions.
1146 * libm/common/Makefile.in: Regenerated.
1147 * libm/common/s_pow10.c: New file.
1148 * libm/common/sf_pow10.c: Ditto.
1149 * libm/common/s_exp10.c: Ditto.
1150 * libm/common/sf_exp10.c: Ditto.
1151 * libc/include/math.h [!pow10]: New pow10 prototype.
1152 [!pow10f]: New pow10f prototype.
1153 [!exp10]: New exp10 prototype.
1154 [!exp10f]: New exp10f prototype.
1155
1156 2007-05-17 Charles Wilson <cygwin@...>
1157
1158 * stdio/tmpfile.c: Include <sys/stat.h>.
1159 * stdio64/tmpfile64.c: Ditto.
1160
1161 2007-05-16 Eric Blake <ebb9@byu.net>
1162
1163 Close security hole in tmpfile.
1164 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
1165 generation and opening the fd.
1166 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
1167
1168 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
1169 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
1170 required by POSIX.
1171 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
1172 avoid clash with <math.h>.
1173
1174 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
1175 * libc/search/hash.c (__hash_open): Likewise.
1176
1177 2007-05-14 Eric Blake <ebb9@byu.net>
1178
1179 Reduce stack size of *printf.
1180 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
1181 in %f. Avoid malloc when possible for %S.
1182 (BUF): Improve stack locality by using smaller size.
1183 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
1184 (exponent): Use smaller stack size.
1185
1186 2007-05-11 Eric Blake <ebb9@byu.net>
1187
1188 Minimize printf/scanf size on platforms that don't need C99.
1189 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
1190 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
1191 * configure.in (newlib-io-c99-formats): New configure option.
1192 (_WANT_IO_C99_FORMATS): Define appropriately.
1193 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
1194 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
1195 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
1196 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
1197 Likewise.
1198 * configure: Regenerate.
1199
1200 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
1201 (get_arg): Support '%a' and '%A'.
1202
1203 2007-05-09 Eric Blake <ebb9@byu.net>
1204
1205 Allow zero size with non-null buf in *asnprintf.
1206 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
1207 user's buf.
1208 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
1209 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1210 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
1211
1212 2007-05-07 Charles Wilson <cygwin@...>
1213
1214 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
1215
1216 2007-05-03 Eric Blake <ebb9@byu.net>
1217
1218 Add support for asnprintf, and improve *printf documentation.
1219 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
1220 (ELIX_2_SOURCES): ...to this.
1221 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
1222 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
1223 (CHEWOUT_FILES): Include diprintf in documentation.
1224 * libc/stdio/Makefile.in: Regenerate.
1225 * libc/stdio/diprintf.c: Improve documentation.
1226 * libc/stdio/dprintf.c: Likewise.
1227 * libc/stdio/siprintf.c: Likewise.
1228 * libc/stdio/sprintf.c: Likewise.
1229 * libc/stdio/vfprintf.c: Likewise.
1230 * libc/stdio/viprintf.c: Likewise.
1231 * libc/stdio/vsniprintf.c: Consolidate documentation.
1232 * libc/stdio/asiprintf.c: Refer to documentation.
1233 * libc/stdio/asprintf.c: Likewise.
1234 * libc/stdio/fiprintf.c: Likewise.
1235 * libc/stdio/fprintf.c: Likewise.
1236 * libc/stdio/iprintf.c: Likewise.
1237 * libc/stdio/printf.c: Likewise.
1238 * libc/stdio/sniprintf.c: Likewise.
1239 * libc/stdio/vdiprintf.c: Likewise.
1240 * libc/stdio/vdprintf.c: Likewise.
1241 * libc/stdio/vsiprintf.c: Likewise.
1242 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
1243 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
1244 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
1245 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
1246 file.
1247 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
1248 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
1249 typical case.
1250 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
1251 * libc/include/stdio.h: Add prototypes for new functions; sort
1252 existing functions.
1253
1254 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
1255
1256 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1257 and memset.S.
1258 * libc/machine/m68k/Makefile.in: Regenerate.
1259 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
1260 * libc/machine/m68k/memset.S: Likewise.
1261
1262 2007-05-01 Eric Blake <ebb9@byu.net>
1263
1264 * libc/stdio64/local64.h: Delete, move contents to...
1265 * libc/stdio/local.h: ...here.
1266 * libc/stdio64/fdopen64.c: Update includes.
1267 * libc/stdio64/fopen64.c: Likewise.
1268 * libc/stdio64/freopen64.c: Likewise.
1269 * libc/stdio64/fseeko64.c: Likewise.
1270 * libc/stdio64/ftello64.c: Likewise.
1271 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
1272 and stderr with 64-bit offset.
1273 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
1274 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
1275 * libc/stdio/mktemp.c (_gettemp): Likewise.
1276
1277 2007-05-01 Cary R. <cygcary <at> yahoo.com>
1278
1279 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
1280 to treatment of NaN and +-inf arguments.
1281 * libm/math/ef_pow.c: Ditto.
1282 * libm/math/w_pow.c: Ditto.
1283 * libm/math/wf_pow.c: Ditto.
1284 * libm/math/w_acos.c: Fix domain errors to return NaN.
1285 * libm/math/w_asin.c: Ditto.
1286 * libm/math/wf_acos.c: Ditto.
1287 * libm/math/wf_asin.c: Ditto.
1288 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
1289 * libm/math/wf_log.c: Ditto.
1290 * libm/math/wf_log10.c: Ditto.
1291 * libm/math/w_log10.c: Ditto.
1292
1293 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
1294
1295 * libc/machine/m68k/Makefile.am: Temporarily remove
1296 memcpy.S and memset.S until logic can be confirmed for
1297 !(__mcoldfile__) case.
1298 * libc/machine/m68k/Makefile.in: Regenerated.
1299
1300 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
1301
1302 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1303 and memset.S.
1304 * libc/machine/m68k/Makefile.in: Regenerate.
1305 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
1306
1307 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
1308
1309 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
1310 overridden via machine/ieeefp.h.
1311 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
1312 macros for isnan and related macros.
1313 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
1314 overridden via machine/ieeefp.h.
1315 * libm/machine/spu/Makefile.am: Add new files.
1316 * libm/machine/spu/Makefile.in: Autogenerate with new files.
1317 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
1318 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
1319 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
1320 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
1321 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
1322 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
1323 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
1324
1325 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
1326
1327 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
1328 * libm/common/sf_fpclassify.c: ...here. New file.
1329 * libm/common/Makefile.am: Add sf_fpclassify.c.
1330 * libm/common/Makefile.in: Regenerated.
1331
1332 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1333
1334 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
1335 ppu linux values. This file is a copy of the cris/sys/errno.h plus
1336 a few changes (see spu errno.h comments).
1337
1338 2007-04-25 Eric Blake <ebb9@byu.net>
1339
1340 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
1341 that promote to int.
1342
1343 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1344
1345 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
1346 we clear the proper bits in the fpscr, and don't set some random ones.
1347
1348 2007-04-24 Eric Blake <ebb9@byu.net>
1349
1350 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
1351 or NaN with %05f.
1352
1353 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
1354 _MB_CAPABLE.
1355
1356 * libc/include/limits.h (NL_ARGMAX): Define a default value.
1357 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
1358 NL_ARGMAX, if present.
1359
1360 2007-04-23 Brian Dessent <brian@dessent.net>
1361
1362 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
1363 has been specified with types 'f', 'F', 'g', or 'G', ensure the
1364 trailing decimal is printed.
1365
1366 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
1367
1368 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
1369 file. Override Autoconf-2.59's version of these macros with
1370 fixed handling of multiple adjacent whitespace in arguments.
1371 * aclocal.m4: Regenerated forcefully.
1372 * configure: Ditto.
1373 * Makefile.in: Ditto.
1374 * libc/*Makefile.in: Ditto.
1375 * libc/*aclocal.m4: Ditto.
1376 * libc/*configure: Ditto.
1377 * libm/*Makefile.in: Ditto.
1378 * libm/*aclocal.m4: Ditto.
1379 * libm/*configure: Ditto.
1380
1381 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
1382
1383 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
1384 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
1385 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
1386 * libc/sys/arc/Makefile.in: Regenerated.
1387
1388 2007-04-17 Brian Dessent <brian@dessent.net>
1389
1390 * libc/stdio/sscanf.c: Update documentation comments.
1391 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
1392
1393 2007-04-12 Eric Blake <ebb9@byu.net>
1394
1395 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1396 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1397 (get_arg): Handle %1$F, %1$n.
1398
1399 2007-04-10 Eric Blake <ebb9@byu.net>
1400
1401 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1402 CFLAGS=-O0.
1403
1404 2007-04-09 Eric Blake <ebb9@byu.net>
1405
1406 * libc/include/stdio.h: Add gcc format attributes to printf and
1407 scanf families.
1408
1409 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
1410
1411 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1412 even if the passed in length n is shorter than the source string.
1413 This matches both the non-spu specific and the glibc strxfrm
1414 behaviour.
1415
1416 2007-04-04 Mark Mitchell <mark@codesourcery.com>
1417
1418 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1419 functions registering additional atexit functions.
1420
1421 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1422 -I${newlib_dir}.
1423
1424 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
1425
1426 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1427 prototype.
1428 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1429 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1430 * libc/machine/spu/fclose.c: Ditto.
1431 * libc/machine/spu/feof.c: Ditto.
1432 * libc/machine/spu/ferror.c: Ditto.
1433 * libc/machine/spu/fflush.c: Ditto.
1434 * libc/machine/spu/fgetc.c: Ditto.
1435 * libc/machine/spu/fgetpos.c: Ditto.
1436 * libc/machine/spu/fgets.c: Ditto.
1437 * libc/machine/spu/fileno.c: Ditto.
1438 * libc/machine/spu/fopen.c: Ditto.
1439 * libc/machine/spu/fprintf.c: Ditto.
1440 * libc/machine/spu/fputc.c: Ditto.
1441 * libc/machine/spu/fputs.c: Ditto.
1442 * libc/machine/spu/fread.c: Ditto.
1443 * libc/machine/spu/freopen.c: Ditto.
1444 * libc/machine/spu/fscanf.c: Ditto.
1445 * libc/machine/spu/fseek.c: Ditto.
1446 * libc/machine/spu/fsetpos.c: Ditto.
1447 * libc/machine/spu/ftell.c: Ditto.
1448 * libc/machine/spu/fwrite.c: Ditto.
1449 * libc/machine/spu/getc.c: Ditto.
1450 * libc/machine/spu/getchar.c: Ditto.
1451 * libc/machine/spu/gets.c: Ditto.
1452 * libc/machine/spu/perror.c: Ditto.
1453 * libc/machine/spu/printf.c: Ditto.
1454 * libc/machine/spu/putc.c: Ditto.
1455 * libc/machine/spu/putchar.c: Ditto.
1456 * libc/machine/spu/puts.c: Ditto.
1457 * libc/machine/spu/remove.c: Ditto.
1458 * libc/machine/spu/rename.c: Ditto.
1459 * libc/machine/spu/rewind.c: Ditto.
1460 * libc/machine/spu/scanf.c: Ditto.
1461 * libc/machine/spu/setbuf.c: Ditto.
1462 * libc/machine/spu/setvbuf.c: Ditto.
1463 * libc/machine/spu/snprintf.c: Ditto.
1464 * libc/machine/spu/sprintf.c: Ditto.
1465 * libc/machine/spu/sscanf.c: Ditto.
1466 * libc/machine/spu/tmpfile.c: Ditto.
1467 * libc/machine/spu/tmpnam.c: Ditto.
1468 * libc/machine/spu/ungetc.c: Ditto.
1469 * libc/machine/spu/vfprintf.c: Ditto.
1470 * libc/machine/spu/vfscanf.c: Ditto.
1471 * libc/machine/spu/vprintf.c: Ditto.
1472 * libc/machine/spu/vscanf.c: Ditto.
1473 * libc/machine/spu/vsnprintf.c: Ditto.
1474 * libc/machine/spu/vsprintf.c: Ditto.
1475 * libc/machine/spu/vsscanf.c: Ditto.
1476
1477 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1478
1479 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1480
1481 2007-04-04 Eric Blake <ebb9@byu.net>
1482
1483 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1484 (asiprintf): Avoid overhead.
1485 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1486 (asprintf): Avoid overhead.
1487 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1488 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1489 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1490 (fiprintf): Avoid overhead.
1491 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1492 (fprintf): Avoid overhead.
1493 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1494 (iprintf): Avoid overhead.
1495 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1496 (printf): Avoid overhead.
1497 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1498 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1499 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1500 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1501 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1502 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1503 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1504 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1505 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1506 vdiprintf.c.
1507 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1508 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1509
1510 2007-03-30 Dave Korn <dave.korn@artimi.com>
1511
1512 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1513 conflicting inline semantics between C99 and GNU89.
1514 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1515 compatible with -fkeep-inline-functions usage.
1516 (__sputc_r): Likewise for consistency even though disabled.
1517
1518 2007-03-29 Nick Clifton <nickc@redhat.com>
1519
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.
1527
1528 2007-03-20 Nick Clifton <nickc@redhat.com>
1529
1530 Reflect changes made to generic vfprintf.c:
1531 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1532 and add a "struct reent *" argument.
1533 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1534 argument and call _VFPRINTF_R instead of VFPRINTF.
1535 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1536 Fix uses of __sprint() and __sbprintf.
1537
1538 2007-03-16 Charles Wilson <cygwin@...>
1539
1540 * libc/argz/argz_insert.c: "before" pointer is
1541 invalid after *argz realloc. Compute offset
1542 between "before" and *argz, and use it after
1543 reallocation instead.
1544
1545 2007-03-16 Eric Blake <ebb9@byu.net>
1546
1547 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1548 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1549
1550 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1551
1552 * configure.in: Add new --enable-newlib-reent-small option.
1553 * configure: Regenerated.
1554 * acconfig.h: Add _WANT_REENT_SMALL.
1555 * newlib.hin: Regenerated minus PACKAGE macros to add
1556 _WANT_REENT_SMALL macro.
1557 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1558 if not already set.
1559 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1560 there is no buffer.
1561 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1562 use reentrant pointer passed in when resetting the file
1563 pointer to one of the std streams.
1564
1565 2007-03-15 Eric Blake <ebb9@byu.net>
1566
1567 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1568 (__smakebuf): Rename...
1569 (__smakebuf_r): to this.
1570 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1571 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1572 allocation, then rename...
1573 (__smakebuf_r): ...to this and fix reentrancy.
1574 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1575 allocation, then rename...
1576 (__swsetup_r): ...to this and fix reentrancy.
1577 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1578 * libc/stdio/refill.c (__srefill_r): Likewise.
1579 * libc/stdio/fclose.c (_fclose_r): Likewise.
1580 * libc/stdio/fread.c (_fread_r): Likewise.
1581 * libc/stdio/freopen.c (_freopen_r): Likewise.
1582 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1583 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1584 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1585 failed asprintf allocation, and fix reentrancy.
1586 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1587 as required by POSIX.
1588 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1589 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1590 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1591
1592 2007-03-12 Eric Blake <ebb9@byu.net>
1593
1594 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1595 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1596 allocation to caller.
1597 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1598 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1599 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1600
1601 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1602
1603 * libm/math/w_pow.c: Fix typo in documentation comment.
1604
1605 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1606
1607 * libc/reent/timer.c: Removed (split into two new files).
1608 * libc/reent/timesr.c: New file for _times_r.
1609 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1610 * reent/Makefile.in: Remove timer.c, add timesr.c and
1611 gettimeofdayr.c.
1612 * libc/reent/Makefile.am: Regenerate.
1613
1614 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1615
1616 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1617
1618 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1619
1620 * libc/machine/spu/Makefile.am: Add new objects.
1621 * libc/machine/spu/Makefile.in: Regenerated.
1622 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1623 integer-only version.
1624 * libc/machine/spu/fiscanf.c: Ditto.
1625 * libc/machine/spu/iprintf.c: Ditto.
1626 * libc/machine/spu/iscanf.c: Ditto.
1627 * libc/machine/spu/siprintf.c: Ditto.
1628 * libc/machine/spu/siscanf.c: Ditto.
1629 * libc/machine/spu/sniprintf.c: Ditto.
1630 * libc/machine/spu/vfiprintf.c: Ditto.
1631 * libc/machine/spu/vfiscanf.c: Ditto.
1632 * libc/machine/spu/viprintf.c: Ditto.
1633 * libc/machine/spu/viscanf.c: Ditto.
1634 * libc/machine/spu/vsiprintf.c: Ditto.
1635 * libc/machine/spu/vsiscanf.c: Ditto.
1636 * libc/machine/spu/vsniprintf.c: Ditto.
1637 * libc/machine/spu/fprintf.c: Add support for integer-only
1638 version.
1639 * libc/machine/spu/fscanf.c: Ditto.
1640 * libc/machine/spu/printf.c: Ditto.
1641 * libc/machine/spu/scanf.c: Ditto.
1642 * libc/machine/spu/snprintf.c: Ditto.
1643 * libc/machine/spu/sprintf.c: Ditto.
1644 * libc/machine/spu/sscanf.c: Ditto.
1645 * libc/machine/spu/vfprintf.c: Ditto.
1646 * libc/machine/spu/vfscanf.c: Ditto.
1647 * libc/machine/spu/vprintf.c: Ditto.
1648 * libc/machine/spu/vscanf.c: Ditto.
1649 * libc/machine/spu/vsnprintf.c: Ditto.
1650 * libc/machine/spu/vsprintf.c: Ditto.
1651 * libc/machine/spu/vsscanf.c: Ditto.
1652
1653 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1654
1655 * libc/include/stdio.h: Add declaration for vsiprintf.
1656
1657 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1658
1659 Add a floating point environment for SPU (cell):
1660
1661 * configure.host: add libm_machine_dir=spu.
1662 * libm/machine/configure: Add spu.
1663 * libm/machine/configure.in: regenerated with spu added.
1664 * libc/machine/spu/include/fenv.h: New file.
1665 * libc/machine/spu/sys/fenv.h: Ditto.
1666 * libm/machine/spu/Makefile.am: Ditto.
1667 * libm/machine/spu/Makefile.in: Ditto.
1668 * libm/machine/spu/aclocal.m4: Ditto.
1669 * libm/machine/spu/configure: Ditto.
1670 * libm/machine/spu/configure.in: Ditto.
1671 * libm/machine/spu/fe_dfl_env.c: Ditto.
1672 * libm/machine/spu/feclearexcept.c: Ditto.
1673 * libm/machine/spu/fegetenv.c: Ditto.
1674 * libm/machine/spu/fegetexceptflag.c: Ditto.
1675 * libm/machine/spu/fegetround.c: Ditto.
1676 * libm/machine/spu/feholdexcept.c: Ditto.
1677 * libm/machine/spu/feraiseexcept.c: Ditto.
1678 * libm/machine/spu/fesetenv.c: Ditto.
1679 * libm/machine/spu/fesetexceptflag.c: Ditto.
1680 * libm/machine/spu/fesetround.c: Ditto.
1681 * libm/machine/spu/fetestexcept.c: Ditto.
1682 * libm/machine/spu/feupdateenv.c: Ditto.
1683 * libm/machine/spu/headers/feclearexcept.h: Ditto.
1684 * libm/machine/spu/headers/fefpscr.h: Ditto.
1685 * libm/machine/spu/headers/fegetenv.h: Ditto.
1686 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
1687 * libm/machine/spu/headers/fegetround.h: Ditto.
1688 * libm/machine/spu/headers/feholdexcept.h: Ditto.
1689 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
1690 * libm/machine/spu/headers/fesetenv.h: Ditto.
1691 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1692 * libm/machine/spu/headers/fesetround.h: Ditto.
1693 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1694 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1695
1696 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
1697
1698 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1699 Cygwin.
1700
1701 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
1702
1703 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1704 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1705
1706 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
1707
1708 * libc/include/sys/features.h: Add definition of all supported
1709 _POSIX_xxx values for Cygwin.
1710 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1711 on Cygwin.
1712 (pthread_rwlockattr_t): Ditto.
1713 * libc/include/sys/unistd.h: Define all _SC_xxx values as
1714 required by SUSv3. Unify formatting.
1715
1716 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
1717
1718 * libc/include/sys/errno.h: Add ECANCELED.
1719
1720 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1721 Kazunori Asayama <asayama@sm.sony.co.jp>
1722
1723 * libc/machine/spu/Makefile.am: Add objects.
1724 * libc/machine/spu/Makefile.in: Regenerated.
1725 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
1726 implementation.
1727 * libc/machine/spu/snprintf.c: Ditto.
1728 * libc/machine/spu/sprintf.c: Ditto.
1729 * libc/machine/spu/sscanf.c: Ditto.
1730 * libc/machine/spu/remove.c: Ditto.
1731 * libc/machine/spu/rename.c: Ditto.
1732 * libc/machine/spu/tmpnam.c: Ditto.
1733 * libc/machine/spu/vsnprintf.c: Add initialization routine of
1734 stdio stuffs.
1735 * libc/machine/spu/vsprintf.c: Ditto.
1736
1737 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1738 Kazunori Asayama <asayama@sm.sony.co.jp>
1739
1740 * configure.host: Enable SPU specific stdio directory.
1741 * libc/machine/spu/Makefile.am: Add objects.
1742 * libc/machine/spu/Makefile.in: Regenerated.
1743 * libc/machine/spu/c99ppe.h: Add macros and function
1744 declarations to initialize SPU specific stdio stuffs.
1745 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
1746 specific FILE structures.
1747 * libc/machine/spu/perror.c: Add initialization routine of
1748 stdio stuffs.
1749 * libc/machine/spu/printf.c: Ditto.
1750 * libc/machine/spu/putchar.c: Ditto.
1751 * libc/machine/spu/puts.c: Ditto.
1752 * libc/machine/spu/vprintf.c: Ditto.
1753 * libc/machine/spu/clearerr.c: New file. Add a stdio function
1754 implementation.
1755 * libc/machine/spu/feof.c: Ditto.
1756 * libc/machine/spu/ferror.c: Ditto.
1757 * libc/machine/spu/fileno.c: Ditto.
1758 * libc/machine/spu/fopen.c: Ditto.
1759 * libc/machine/spu/fclose.c: Ditto.
1760 * libc/machine/spu/freopen.c: Ditto.
1761 * libc/machine/spu/fflush.c: Ditto.
1762 * libc/machine/spu/fseek.c: Ditto.
1763 * libc/machine/spu/ftell.c: Ditto.
1764 * libc/machine/spu/rewind.c: Ditto.
1765 * libc/machine/spu/fgetpos.c: Ditto.
1766 * libc/machine/spu/fsetpos.c: Ditto.
1767 * libc/machine/spu/fread.c: Ditto.
1768 * libc/machine/spu/fwrite.c: Ditto.
1769 * libc/machine/spu/getc.c: Ditto.
1770 * libc/machine/spu/getchar.c: Ditto.
1771 * libc/machine/spu/gets.c: Ditto.
1772 * libc/machine/spu/fgetc.c: Ditto.
1773 * libc/machine/spu/fgets.c: Ditto.
1774 * libc/machine/spu/ungetc.c: Ditto.
1775 * libc/machine/spu/putc.c: Ditto.
1776 * libc/machine/spu/fputc.c: Ditto.
1777 * libc/machine/spu/fputs.c: Ditto.
1778 * libc/machine/spu/vfprintf.c: Ditto.
1779 * libc/machine/spu/vfscanf.c: Ditto.
1780 * libc/machine/spu/fprintf.c: Ditto.
1781 * libc/machine/spu/fscanf.c: Ditto.
1782 * libc/machine/spu/scanf.c: Ditto.
1783 * libc/machine/spu/vscanf.c: Ditto.
1784 * libc/machine/spu/setbuf.c: Ditto.
1785 * libc/machine/spu/setvbuf.c: Ditto.
1786 * libc/machine/spu/tmpfile.c: Ditto.
1787
1788 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
1789
1790 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
1791 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
1792 around stdio macros that manipulate fields in the normal file
1793 structure.
1794 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
1795 <sys/custom_file.h> to define custom FILE structure.
1796 * libc/include/sys/custom_file.h: New default header file
1797 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
1798 * libc/machine/spu/sys/custom_file.h: New file.
1799
1800 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
1801
1802 * configure.host: Define stdio directory as a variable.
1803 * libc/Makefile.am: Define stdio related names
1804 as macros.
1805 * libc/configure.in: Add detection routine of stdio directory.
1806 * libc/Makefile.in: Regenerated.
1807 * libc/configure: Ditto.
1808 * libc/argz/Makefile.in: Ditto.
1809 * libc/ctype/Makefile.in: Ditto.
1810 * libc/errno/Makefile.in: Ditto.
1811 * libc/iconv/Makefile.in: Ditto.
1812 * libc/iconv/ccs/Makefile.in: Ditto.
1813 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1814 * libc/iconv/ces/Makefile.in: Ditto.
1815 * libc/iconv/lib/Makefile.in: Ditto.
1816 * libc/locale/Makefile.in: Ditto.
1817 * libc/misc/Makefile.in: Ditto.
1818 * libc/posix/Makefile.in: Ditto.
1819 * libc/reent/Makefile.in: Ditto.
1820 * libc/search/Makefile.in: Ditto.
1821 * libc/signal/Makefile.in: Ditto.
1822 * libc/stdio/Makefile.in: Ditto.
1823 * libc/stdio64/Makefile.in: Ditto.
1824 * libc/stdlib/Makefile.in: Ditto.
1825 * libc/string/Makefile.in: Ditto.
1826 * libc/syscalls/Makefile.in: Ditto.
1827 * libc/time/Makefile.in: Ditto.
1828 * libc/unix/Makefile.in: Ditto.
1829
1830 2007-01-30 Ben Elliston <bje@au.ibm.com>
1831
1832 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
1833 fmt member.
1834 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
1835 (printf): Pass fmt to va_start to suppress a warning.
1836
1837 * libc/search/hash.c (init_hash): Make `info' parameter const.
1838
1839 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
1840
1841 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
1842 * libc/machine/spu/vec_literal.h: Ditto.
1843 * libc/machine/spu/strncmp.c: Ditto.
1844
1845 2007-01-15 Joseph Myers <joseph@codesourcery.com>
1846 Kazu Hirata <kazu@codesourcery.com>
1847
1848 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
1849 for E500V1 and E500V2.
1850
1851 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
1852
1853 * libm/configure.in: Always configure machine directory.
1854 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
1855 unconditionally.
1856 * libm/configure: Regenerated.
1857 * libm/Makefile.in: Ditto.
1858 * libm/*/Makefile.in: Ditto.
1859
1860 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
1861
1862 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
1863
1864 2007-01-02 Ben Elliston <bje@au.ibm.com>
1865
1866 * doc/makedoc.c: Include <stdlib.h>.
1867 (malloc, realloc): Remove extern declarations.
1868
1869 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1870
1871 * NEWS: Update with 1.15.0 info.
1872 * README: Ditto.
1873 * acinclude.m4: Change version number to 1.15.0.
1874 * aclocal.m4: Regenerated.
1875 * configure: Ditto.
1876 * doc/aclocal.m4: Ditto.
1877 * doc/configure: Ditto.
1878 * libc/*/aclocal.m4: Ditto.
1879 * libc/*/configure: Ditto.
1880 * libc/libc.texinfo: Ditto.
1881 * libm/*/aclocal.m4: Ditto.
1882 * libm/*/configure: Ditto.
1883 * libm/libm.texinfo: Ditto.
1884 * libc/sys/linux/shared.ld: Add VERS_1.15.
1885
1886 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
1887
1888 Merge from newlib-csl-20060320-branch:
1889 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
1890 Kazu Hirata <kazu@codesourcery.com>
1891
1892 * configure.host: Recognize fido.
1893
1894 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
1895
1896 * libc/machine/spu/c99ppe.h: New file
1897 * libc/machine/spu/perror.c: New file to override libc/stdio version.
1898 * libc/machine/spu/printf.c: New file
1899 * libc/machine/spu/putchar.c: New file
1900 * libc/machine/spu/puts.c: New file
1901 * libc/machine/spu/vprintf.c: New file
1902 * libc/machine/spu/vsnprintf.c: New file
1903 * libc/machine/spu/vsprintf.c: New file
1904 * libc/machine/spu/Makefile.am: Add new targets.
1905 * libc/machine/spu/Makefile.in: Regenerated.
1906
1907 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1908
1909 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
1910 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
1911
1912 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1913
1914 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
1915 2.6.5 version of Doug Lea's malloc which is the basis of
1916 this code.
1917
1918 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
1919
1920 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
1921
1922 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
1923 Eric Blake <ebb9@byu.net>
1924
1925 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
1926 read but unused data.
1927 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
1928 even read streams may have side effects that must happen.
1929
1930 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1931
1932 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
1933 correctly.
1934
1935 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1936
1937 * libc/include/alloca.h: Add undef alloca to work with xlc.
1938
1939 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
1940
1941 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
1942 cell spu.
1943
1944 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1945
1946 * libc/machine/spu/strncpy.c: Add padding.
1947
1948 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1949
1950 * testsuite/newlib.string/tstring.c:
1951
1952 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
1953
1954 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
1955 * libc/machine/spu/strrchr.c: Ditto.
1956
1957 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
1958
1959 * libc/include/math.h: Allow C99 functions/macros to be
1960 defined for C++ even when __STRICT_ANSI__.
1961
1962 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
1963
1964 * libc/stdio/makebuf.c (__smakebuf): If dealing with
1965 an asprintf-family buffer, make the default initial size 64.
1966
1967 2006-11-29 Eric Blake <ebb9@byu.net>
1968
1969 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
1970 asprintf, as well as quadratic realloc behavior.
1971
1972 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
1973
1974 * libc/machine/spu/memset.c: Fix type of explicit cast.
1975 * libc/machine/spu/strncmp.c: Add explicit cast.
1976 * libc/machine/spu/strrchr.c: Ditto.
1977 * libc/machine/spu/strspn.c: Ditto.
1978
1979 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
1980
1981 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
1982 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
1983 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
1984 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
1985 * libc/machine/spu/strncat.c: Explicit cast.
1986 * libc/machine/spu/strncmp.c: Use spu_splats.
1987 * libc/machine/spu/strncpy.c: Explicit cast.
1988 * libc/machine/spu/strrchr.c: Use spu_splats.
1989 * libc/machine/spu/strspn.c: Use spu_splats.
1990
1991 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
1992
1993 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
1994
1995 2006-11-14 Eric Blake <ebb9@byu.net>
1996
1997 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
1998 (chclass): ' is a flag. j, t, and z are modifiers.
1999
2000 2006-11-08 Jie Zhang <jie.zhang@analog.com>
2001
2002 * configure.host: Add support for bfin.
2003 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
2004 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
2005 * libc/machine/bfin/aclocal.m4: Generate.
2006 * libc/machine/bfin/configure.in: New.
2007 * libc/machine/bfin/configure: Generate.
2008 * libc/machine/bfin/Makefile.am: New.
2009 * libc/machine/bfin/Makefile.in: Generate.
2010 * libc/machine/bfin/setjmp.S: New.
2011 * libc/machine/bfin/longjmp.S: New.
2012 * libc/machine/configure.in: Add bfin support.
2013 * libc/machine/configure: Generate.
2014
2015 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
2016
2017 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2018 (_PC_FILESIZEBITS): Add definition.
2019 (_PC_2_SYMLINKS): Ditto.
2020 (_PC_SYMLINK_MAX): Ditto.
2021
2022 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2023
2024 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2025 version optimized for the cell spu.
2026 * libc/machine/spu/memmove.c: Ditto.
2027 * libc/machine/spu/memset.c: Ditto.
2028 * libc/machine/spu/strcat.c: Ditto.
2029 * libc/machine/spu/strchr.c: Ditto.
2030 * libc/machine/spu/strcmp.c: Ditto.
2031 * libc/machine/spu/strcpy.c: Ditto.
2032 * libc/machine/spu/strcspn.c: Ditto.
2033 * libc/machine/spu/strlen.c: Ditto.
2034 * libc/machine/spu/strncat.c: Ditto.
2035 * libc/machine/spu/strncmp.c: Ditto.
2036 * libc/machine/spu/strncpy.c: Ditto.
2037 * libc/machine/spu/strpbrk.c: Ditto.
2038 * libc/machine/spu/strrchr.c: Ditto.
2039 * libc/machine/spu/strspn.c: Ditto.
2040 * libc/machine/spu/strxfrm.c: Ditto.
2041 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
2042 removing altivec style initializers.
2043 * libc/machine/spu/Makefile.am: Add new files to list so they build
2044 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2045
2046 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2047
2048 * README: Add a brief section on how to regenerate
2049 configuration files in newlib.
2050
2051 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2052
2053 * libc/include/math.h: (exception): Add a comment
2054 telling fixincludes that we handle C vs. C++ issue.
2055
2056 2006-10-11 Yang Tse <yangsita@gmail.com>
2057
2058 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2059 braced-groups.
2060
2061 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
2062
2063 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2064
2065 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2066
2067 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2068 for clearerr, feof, or fileno.
2069 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2070 the dummy std stream scheme to use pointers to const external
2071 fake files, one for each standard stream.
2072 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2073 argument. For _REENT_SMALL, reset the file pointer if it
2074 matches one of the fake std stream pointers.
2075 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2076 argument.
2077 * libc/stdio/fclose.c: Ditto.
2078 * libc/stdio/feof.c: Ditto.
2079 * libc/stdio/ferror.c: Ditto.
2080 * libc/stdio/fflush.c: Ditto.
2081 * libc/stdio/fgetc.c: Ditto.
2082 * libc/stdio/fgets.c: Ditto.
2083 * libc/stdio/fileno.c: Ditto.
2084 * libc/stdio/findfp.c: Ditto.
2085 * libc/stdio/fputc.c: Ditto.
2086 * libc/stdio/fputs.c: Ditto.
2087 * libc/stdio/fread.c: Ditto.
2088 * libc/stdio/freopen.c: Ditto.
2089 * libc/stdio/fseek.c: Ditto.
2090 * libc/stdio/ftell.c: Ditto.
2091 * libc/stdio/fwrite.c: Ditto.
2092 * libc/stdio/getc.c: Ditto.
2093 * libc/stdio/getdelim.c: Ditto.
2094 * libc/stdio/putc.c: Ditto.
2095 * libc/stdio/refill.c: Ditto.
2096 * libc/stdio/setvbuf.c: Ditto.
2097 * libc/stdio/ungetc.c: Ditto.
2098 * libc/stdio/vfprintf.c: Ditto.
2099 * libc/stdio/vfscanf.c: Ditto.
2100 * libc/stdio/wbuf.c: Ditto.: Ditto.
2101 * libc/stdio/wsetup.c: Ditto.
2102 * libc/stdio64/freopen64.c: Ditto.
2103 * libc/stdio64/fseeko64.c: Ditto.
2104 * libc/stdio64/ftello64.c: Ditto.
2105 * libc/machine/powerpc/vfprintf.c: Ditto.
2106 * libc/machine/powerpc/vfscanf.c: Ditto.
2107
2108 2006-09-22 Paul Brook <paul@codesourcery.com>
2109
2110 * libc/include/sys/reent.h: Define and use __reent_assert.
2111
2112 2006-09-13 Joel Sherrill <joel@oarcorp.com>
2113
2114 * libc/include/pthread.h: Add pthread barriers,
2115 rwlocks, and spinlocks. Change const to
2116 _CONST and prefix parameter names with
2117 an underscore.
2118 * libc/include/sys/types.h: Add id and attribute
2119 types for barriers, wrlocks, and spinlocks.
2120 * libc/include/sys/features.h: Enable barriers,
2121 wrlocks, and spinlocks for RTEMS.
2122
2123 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
2124
2125 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
2126 supposed to be writable.
2127 * libm/common/s_lib_ver.c: Ditto.
2128
2129 2006-09-12 Paul Brook <paul@codesourcery.com>
2130
2131 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2132
2133 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
2134
2135
2136 * libc/machine/xstormy16/Makefile.am:
2137 Add $(lpfx) prefix to LIBADD objects.
2138 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
2139 * libc/machine/xstormy16/Makefile.in: Regenerated.
2140
2141 2006-09-06 Eric Blake <ebb9@byu.net>
2142
2143 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
2144 't', and 'z' modifiers.
2145
2146 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
2147
2148 Merge from newlib-csl-20060320-branch:
2149 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
2150
2151 * configure.host: Tell it we have _rename and _system when
2152 building m68k-unknown-elf.
2153
2154 2006-08-29 Paul Brook <paul@codesourcery.com>
2155
2156 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2157
2158 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
2159
2160 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
2161 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
2162 This is needed to build all AVR and H8300 RTEMS multilib variants.
2163
2164 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
2165
2166 * libc/machine/configure.in: Add configuration for SPU.
2167 * libc/machine/configure: Regenerated.
2168 * libc/machine/spu/memcpy.c: Include string.h.
2169
2170 2006-08-22 Eric Blake <ebb9@byu.net>
2171
2172 * libc/posix/popen.c (popen): Don't close output end of pipe in
2173 child if stdout was closed on entry.
2174 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2175
2176 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
2177
2178 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
2179 line.
2180
2181 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
2182
2183 * libc/time/gmtime.c: Correct man page; clock is not a
2184 local time and no conversion occurs.
2185
2186 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2187
2188 * configure.host (newlib_cflags) [spu]: Add special compiler
2189 options to reduce size.
2190
2191 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2192
2193 * configure.host: Add spu support.
2194 * libc/include/stdint.h: Ditto.
2195 * libc/include/machine/ieeefp.h: Ditto.
2196 * libc/include/machine/setjmp.h: Ditto.
2197 * libc/include/sys/config.h: Ditto.
2198 * libc/include/sys/types.h: Ditto.
2199 * libc/machine/spu/Makefile.am: New file.
2200 * libc/machine/spu/Makefile.in: Ditto.
2201 * libc/machine/spu/aclocal.m4: Ditto.
2202 * libc/machine/spu/configure: Ditto.
2203 * libc/machine/spu/configure.in: Ditto.
2204 * libc/machine/spu/memcpy.c: Ditto.
2205 * libc/machine/spu/setjmp.S: Ditto.
2206
2207 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
2208
2209 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
2210 properly.
2211
2212 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
2213
2214 * libc/Makefile.am: Add libc_TEXINFOS dependency on
2215 generated .texi files.
2216 * libm/Makefile.am: Add libm_TEXINFOS dependency on
2217 generated .texi files.
2218 * libc/Makefile.in: Regenerated.
2219 * libm/Makefile.in: Ditto.
2220
2221 2006-08-01 Thiemo Seufer <ths@mips.com>
2222 Nigel Stephens <nigel@mips.com>
2223
2224 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
2225 define this to force _impure_ptr to live in the .sdata section.
2226
2227 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2228
2229 * acinclude.m4: Check for readelf tool.
2230 * configure.in: Use ${READELF} instead of hard-coding.
2231 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2232
2233 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2234
2235 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
2236 to avoid conflict with newer glibc's revision of mremap.
2237
2238 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
2239
2240 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
2241 floating-point format support. Also redefine
2242 dword0 and dword1 macros.
2243 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2244 to prevent setting dword1 which is an rvalue only.
2245
2246 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
2247
2248 * libc/stdlib/Makefile.am: Add new gdtoa routines.
2249 * libc/stdlib/Makefile.in: Regenerated.
2250 * libc/stdlib/gd_qnan.h: New file.
2251 * libc/stdlib/gdtoa-gethex.c: Ditto.
2252 * libc/stdlib/gdtoa-hexnan.c: Ditto.
2253 * libc/stdlib/gdtoa.h: Ditto.
2254 * libc/stdlib/mprec.c: Add new helper routines needed by
2255 the new gdtoa code.
2256 * libc/stdlib/mprec.h: Integrate some defines and prototypes
2257 used by gdtoa routines here.
2258 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
2259 which adds C99 support such as nan, inf, and hexadecimal input
2260 format.
2261
2262 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
2263
2264 * libc/include/stdio.h (__sgetc_r): Fix typo.
2265 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
2266 * libc/stdio/rget.c (__srbuf): Reinstantiate.
2267 * libc/stdio/wbuf.c (__swbuf): Ditto.
2268
2269 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
2270
2271 * libc/include/stdio.h: Add new reentrant I/O prototypes for
2272 read/write functions. Change getc/putc macros to have reentrant underlying
2273 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
2274 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
2275 new reentrant I/O functions/macros for reading/writing.
2276 * libc/stdio/fgets.c: Ditto.
2277 * libc/stdio/fputc.c: Ditto.
2278 * libc/stdio/fputs.c: Ditto.
2279 * libc/stdio/fread.c: Ditto.
2280 * libc/stdio/fseek.c: Ditto.
2281 * libc/stdio64/fseeko64.c: Ditto.
2282 * libc/stdio/fwrite.c: Ditto.
2283 * libc/stdio/getc.c: Ditto.
2284 * libc/stdio/getc_u.c: Ditto.
2285 * libc/stdio/getchar.c: Ditto.
2286 * libc/stdio/getchar_u.c: Ditto.
2287 * libc/stdio/putc.c: Ditto.
2288 * libc/stdio/putc_u.c: Ditto.
2289 * libc/stdio/putchar.c: Ditto.
2290 * libc/stdio/puts.c: Ditto.
2291 * libc/stdio/vfprintf.c: Ditto.
2292 * libc/stdio/vfscanf.c: Ditto.
2293 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
2294 Change all previous callers of __sfvwrite. Set errno to EBADF and
2295 set error flag on if attempt is made to write to file that does not
2296 allow writing.
2297 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
2298 * libc/stdio/local.h: Ditto.
2299 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
2300 Set errno to EBADF and the error flag on if attempt is made to
2301 read unreadable file. Change all previous callers of __srefill.
2302 * libc/stdio/rget.c
2303 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
2304 all previous callers of __swbuf.
2305 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
2306 huge value macros are already defined correctly for i386 by <math.h>.
2307
2308 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
2309
2310 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
2311 Make them do something useful in the ARM_RDI_MONITOR case.
2312
2313 2006-06-07 Fred Fish <fnf@specifix.com>
2314
2315 * libc/search/hash_bigkey.c (MIN,MAX): Remove
2316 defines that are already supplied by <sys/param.h>.
2317
2318 2006-06-07 Fred Fish <fnf@specifix.com>
2319
2320 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
2321
2322 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2323
2324 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
2325 usleep.c.
2326 * libc/posix/Makefile.in: Regenerate.
2327 * libc/posix/sleep.c: New file.
2328 * libc/posix/usleep.c: Ditto.
2329
2330 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2331
2332 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
2333 -DABORT_PROVIDED flag.
2334 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
2335 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
2336
2337 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
2338
2339 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
2340 * Makefile.in: Regenerated.
2341 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
2342 extraneous CFLAGS reference now that CCASFLAGS are being extended
2343 properly via multilib.
2344 * libc/machine/sh/Makefile.in: Regenerated.
2345
2346 2006-06-02 Shaun Jackman <sjackman@gmail.com>
2347
2348 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
2349 sigismember.
2350
2351 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2352
2353 * libc/misc/dprintf.c: Removed.
2354 * libc/misc/__dprintf.c: Renamed from dprintf.c.
2355 * libc/misc/Makefile.am: Changed appropriately for rename.
2356 * libc/misc/Makefile.in: Regenerated.
2357
2358 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2359
2360 * libc/include/stdio.h: Protect dprintf prototype
2361 with #ifndef dprintf so as to not interfere with
2362 historical code defining their own dprintf macro.
2363
2364 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
2365
2366 * libc/include/stdio.h: Add prototypes for fiscanf,
2367 iscanf, and siscanf.
2368
2369 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
2370
2371 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
2372 (DEF_NEWLIB_VERSION).
2373 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
2374 * configure: Regenerate.
2375
2376 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
2377
2378 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
2379 lib_a_SOURCES.
2380 * libc/ctype/Makefile.in: Regenerated.
2381
2382 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
2383
2384 * libc/machine/arm/Makefile.am: Fix a typo.
2385 * libc/machine/arm/Makefile.in: Regenerated.
2386
2387 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
2388
2389 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2390 * libc/machine/sh/Makefile.in: Regenerate.
2391
2392 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
2393
2394 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2395 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2396
2397 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2398
2399 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2400 .s.
2401 * libc/sys/sysnec810/Makefile.in: Regenerated.
2402 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2403 * libc/sys/sysnec810/io.S: Ditto.
2404 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2405 * libc/sys/sysnec810/io.s: Ditto.
2406
2407 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2408
2409 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2410 be specified instead of object, do so.
2411 * libc/ctype/Makefile.am: Ditto.
2412 * libc/iconv/ccs/Makefile.am: Ditto.
2413 * libc/iconv/ces/Makefile.am: Ditto.
2414 * libc/iconv/lib/Makefile.am: Ditto.
2415 * libc/locale/Makefile.am: Ditto.
2416 * libc/posix/Makefile.am: Ditto.
2417 * libc/reent/Makefile.am: Ditto.
2418 * libc/search/Makefile.am: Ditto.
2419 * libc/stdio/Makefile.am: Ditto.
2420 * libc/stdio64/Makefile.am: Ditto.
2421 * libc/stdlib/Makefile.am: Ditto.
2422 * libc/string/Makefile.am: Ditto.
2423 * libc/syscalls/Makefile.am: Ditto.
2424 * libc/unix/Makefile.am: Ditto.
2425 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2426 prefix added automatically. Any specified rules must use $(lpfx) for
2427 object file names.
2428 * libc/machine/arm/Makefile.am: Ditto.
2429 * libc/machine/cris/Makefile.am: Ditto.
2430 * libc/machine/crx/Makefile.am: Ditto.
2431 * libc/machine/d10v/Makefile.am: Ditto.
2432 * libc/machine/d30v/Makefile.am: Ditto.
2433 * libc/machine/fr30/Makefile.am: Ditto.
2434 * libc/machine/frv/Makefile.am: Ditto.
2435 * libc/machine/h8300/Makefile.am: Ditto.
2436 * libc/machine/h8500/Makefile.am: Ditto.
2437 * libc/machine/hppa/Makefile.am: Ditto.
2438 * libc/machine/i386/Makefile.am: Ditto.
2439 * libc/machine/i960/Makefile.am: Ditto.
2440 * libc/machine/iq2000/Makefile.am: Ditto.
2441 * libc/machine/m32c/Makefile.am: Ditto.
2442 * libc/machine/m32r/Makefile.am: Ditto.
2443 * libc/machine/m68hc11/Makefile.am: Ditto.
2444 * libc/machine/m68k/Makefile.am: Ditto.
2445 * libc/machine/m88k/Makefile.am: Ditto.
2446 * libc/machine/mips/Makefile.am: Ditto.
2447 * libc/machine/mn10200/Makefile.am: Ditto.
2448 * libc/machine/mn10300/Makefile.am: Ditto.
2449 * libc/machine/mt/Makefile.am: Ditto.
2450 * libc/machine/necv70/Makefile.am: Ditto.
2451 * libc/machine/powerpc/Makefile.am: Ditto.
2452 * libc/machine/sh/Makefile.am: Ditto.
2453 * libc/machine/sh/Makefile.in: Ditto.
2454 * libc/machine/sparc/Makefile.am: Ditto.
2455 * libc/machine/tic4x/Makefile.am: Ditto.
2456 * libc/machine/tic80/Makefile.am: Ditto.
2457 * libc/machine/v850/Makefile.am: Ditto.
2458 * libc/machine/w65/Makefile.am: Ditto.
2459 * libc/machine/xscale/Makefile.am: Ditto.
2460 * libc/machine/xstormy16/Makefile.am: Ditto.
2461 * libc/machine/z8k/Makefile.am: Ditto.
2462 * libc/sys/a29khif/Makefile.am: Ditto.
2463 * libc/sys/arm/Makefile.am: Ditto.
2464 * libc/sys/d10v/Makefile.am: Ditto.
2465 * libc/sys/h8300hms/Makefile.am: Ditto.
2466 * libc/sys/h8500hms/Makefile.am: Ditto.
2467 * libc/sys/linux/Makefile.am: Ditto.
2468 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2469 * libc/sys/linux/net/Makefile.am: Ditto.
2470 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2471 * libc/sys/m88kbug/Makefile.am: Ditto.
2472 * libc/sys/mmixware/Makefile.am: Ditto.
2473 * libc/sys/rdos/Makefile.am: Ditto.
2474 * libc/sys/rtems/Makefile.am: Ditto.
2475 * libc/sys/sh/Makefile.am: Ditto.
2476 * libc/sys/sun4/Makefile.am: Ditto.
2477 * libc/sys/sysmec/Makefile.am: Ditto.
2478 * libc/sys/sysnec810/Makefile.am: Ditto.
2479 * libc/sys/sysnecv850/Makefile.am: Ditto.
2480 * libc/sys/sysvi386/Makefile.am: Ditto.
2481 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2482 * libc/sys/tic80/Makefile.am: Ditto.
2483 * libc/sys/w65/Makefile.am: Ditto.
2484 * libc/sys/z8ksim/Makefile.am: Ditto.
2485 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2486 * libc/machine/necv70/setjmp.S: Ditto.
2487 * libc/machine/necv70/fastmath.s: Removed.
2488 * libc/machine/necv70/setjmp.s: Ditto.
2489 * libc/machine/w65/*.S: New files renamed from .s files.
2490 * libc/machine/w65/*.s: Renamed and removed.
2491 * libc/sys/a29khif/*.S: New files renamed from .s files.
2492 * libc/sys/a29khif/*.s: Renamed and removed.
2493 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2494 * libc/sys/sysvi386/*.s: Renamed and removed.
2495 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2496 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2497 * libc/*Makefile.in: Regenerated as appropriate.
2498
2499 2006-04-24 DJ Delorie <dj@redhat.com>
2500
2501 * libc/machine/sh/configure.in: Avoid link tests.
2502 * libc/machine/sh/configure: Regenerate.
2503
2504 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2505
2506 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2507 (sigaddset, sigemptyset): Add return code.
2508
2509 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2510
2511 * acinclude.m4: New _NEWLIB_VERSION.
2512 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2513 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2514 Use new form of AC_INIT_AUTOMAKE.
2515 * configure.in: AC_PREREQ(2.59).
2516 Use autoconf-2.5.x version of AC_INIT.
2517 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2518 autoconf-2.13's AC_OUTPUT.
2519 * libm/configure.in: Ditto.
2520 * libm/machine/configure.in: Ditto.
2521 * libm/machine/i386/configure.in: Ditto.
2522 * libc/configure.in: Ditto.
2523 * libc/machine/a29k/configure.in: Ditto.
2524 * libc/machine/arm/configure.in: Ditto.
2525 * libc/machine/configure.in: Ditto.
2526 * libc/machine/mn10300/configure.in: Ditto.
2527 * libc/machine/powerpc/configure.in: Ditto.
2528 * libc/machine/z8k/configure.in: Ditto.
2529 * libc/machine/h8300/configure.in: Ditto.
2530 * libc/machine/mips/configure.in: Ditto.
2531 * libc/machine/crx/configure.in: Ditto.
2532 * libc/machine/m68hc11/configure.in: Ditto.
2533 * libc/machine/h8500/configure.in: Ditto.
2534 * libc/machine/xscale/configure.in: Ditto.
2535 * libc/machine/d10v/configure.in: Ditto.
2536 * libc/machine/fr30/configure.in: Ditto.
2537 * libc/machine/sh/configure.in: Ditto.
2538 * libc/machine/tic80/configure.in: Ditto.
2539 * libc/machine/m32r/configure.in: Ditto.
2540 * libc/machine/xstormy16/configure.in: Ditto.
2541 * libc/machine/i386/configure.in: Ditto.
2542 * libc/machine/d30v/configure.in: Ditto.
2543 * libc/machine/mn10200/configure.in: Ditto.
2544 * libc/machine/frv/configure.in: Ditto.
2545 * libc/machine/mt/configure.in: Ditto.
2546 * libc/machine/i960/configure.in: Ditto.
2547 * libc/machine/v850/configure.in: Ditto.
2548 * libc/machine/necv70/configure.in: Ditto.
2549 * libc/machine/tic4x/configure.in: Ditto.
2550 * libc/machine/cris/configure.in: Ditto.
2551 * libc/machine/m68k/configure.in: Ditto.
2552 * libc/machine/m32c/configure.in: Ditto.
2553 * libc/machine/hppa/configure.in: Ditto.
2554 * libc/machine/w65/configure.in: Ditto.
2555 * libc/machine/iq2000/configure.in: Ditto.
2556 * libc/machine/sparc/configure.in: Ditto.
2557 * libc/machine/m88k/configure.in: Ditto.
2558 * libc/sys/linux/configure.in: Ditto.
2559 * libc/sys/linux/machine/configure.in: Ditto.
2560 * libc/sys/linux/machine/i386/configure.in: Ditto.
2561 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2562 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2563 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2564 * libc/sys/arm/configure.in: Ditto.
2565 * libc/sys/configure.in: Ditto.
2566 * libc/sys/decstation/configure.in: Ditto.
2567 * libc/sys/a29khif/configure.in: Ditto.
2568 * libc/sys/sysnecv850/configure.in: Ditto.
2569 * libc/sys/d10v/configure.in: Ditto.
2570 * libc/sys/netware/configure.in: Ditto.
2571 * libc/sys/mmixware/configure.in: Ditto.
2572 * libc/sys/h8500hms/configure.in: Ditto.
2573 * libc/sys/sh/configure.in: Ditto.
2574 * libc/sys/tic80/configure.in: Ditto.
2575 * libc/sys/rdos/configure.in: Ditto.
2576 * libc/sys/sysmec/configure.in: Ditto.
2577 * libc/sys/sysvi386/configure.in: Ditto.
2578 * libc/sys/h8300hms/configure.in: Ditto.
2579 * libc/sys/sparc64/configure.in: Ditto.
2580 * libc/sys/arc/configure.in: Ditto.
2581 * libc/sys/sysnec810/configure.in: Ditto.
2582 * libc/sys/m88kbug/configure.in: Ditto.
2583 * libc/sys/sysvnecv70/configure.in: Ditto.
2584 * libc/sys/z8ksim/configure.in: Ditto.
2585 * libc/sys/rtems/configure.in: Ditto.
2586 * libc/sys/w65/configure.in: Ditto.
2587 * libc/sys/sun4/configure.in: Ditto.
2588 * doc/configure.in: Ditto.
2589 * iconvdata/configure.in: Ditto.
2590 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2591
2592 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2593
2594 * acinclude.m4: Properly add square brackets for
2595 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2596 macros no longer available. Add LIB_AM_PROG_AS to
2597 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2598 macro. Substitute lpfx (library object prefix).
2599 * configure.host: Set lpfx depending on whether
2600 libtool is used or not.
2601 * configure.in: Individually specify libc and libm
2602 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2603 necessary.
2604 * Makefile.am: Use $(lpfx) to get object names for
2605 math-library functions that should also be in libc.
2606 * libc/machine/configure.in: Use case statement to determine
2607 AC_CONFIG_SUBDIRS statement.
2608 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2609 * libc/sys/linux/machine/configure.in: Ditto.
2610 * libc/sys/configure.in: Ditto.
2611 * libm/machine/configure.in: Ditto.
2612 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2613 * libm/configure.in: Add AM_CONDITIONAL statement
2614 for HAVE_LIBM_MACHINE_DIR.
2615 * libc/machine/a29k/Makefile.am: Modified to work with
2616 latest automake. Change includes setting AM_CCASFLAGS
2617 so building .S files will properly pick up flags used
2618 to build C files.
2619 * libc/machine/arm/Makefile.am: Ditto.
2620 * libc/machine/crx/Makefile.am: Ditto.
2621 * libc/machine/d10v/Makefile.am: Ditto.
2622 * libc/machine/d30v/Makefile.am: Ditto.
2623 * libc/machine/fr30/Makefile.am: Ditto.
2624 * libc/machine/frv/Makefile.am: Ditto.
2625 * libc/machine/h8300/Makefile.am: Ditto.
2626 * libc/machine/h8500/Makefile.am: Ditto.
2627 * libc/machine/hppa/Makefile.am: Ditto.
2628 * libc/machine/i386/Makefile.am: Ditto.
2629 * libc/machine/iq2000/Makefile.am: Ditto.
2630 * libc/machine/m32c/Makefile.am: Ditto.
2631 * libc/machine/m32r/Makefile.am: Ditto.
2632 * libc/machine/m68hc11/Makefile.am: Ditto.
2633 * libc/machine/m68k/Makefile.am: Ditto.
2634 * libc/machine/m88k/Makefile.am: Ditto.
2635 * libc/machine/mips/Makefile.am: Ditto.
2636 * libc/machine/mn10200/Makefile.am: Ditto.
2637 * libc/machine/mn10300/Makefile.am: Ditto.
2638 * libc/machine/mt/Makefile.am: Ditto.
2639 * libc/machine/necv70/Makefile.am: Ditto.
2640 * libc/machine/powerpc/Makefile.am: Ditto.
2641 * libc/machine/sh/Makefile.am: Ditto.
2642 * libc/machine/sparc/Makefile.am: Ditto.
2643 * libc/machine/tic4x/Makefile.am: Ditto.
2644 * libc/machine/tic80/Makefile.am: Ditto.
2645 * libc/machine/v850/Makefile.am: Ditto.
2646 * libc/machine/w65/Makefile.am: Ditto.
2647 * libc/machine/xscale/Makefile.am: Ditto.
2648 * libc/machine/xstormy16/Makefile.am: Ditto.
2649 * libc/machine/z8k/Makefile.am: Ditto.
2650 * libc/sys/a29khif/Makefile.am: Ditto.
2651 * libc/sys/arc/Makefile.am: Ditto.
2652 * libc/sys/arm/Makefile.am: Ditto.
2653 * libc/sys/d10v/Makefile.am: Ditto.
2654 * libc/sys/decstation/Makefile.am: Ditto.
2655 * libc/sys/h8300hms/Makefile.am: Ditto.
2656 * libc/sys/h8500hms/Makefile.am: Ditto.
2657 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2658 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2659 * libc/sys/m88kbug/Makefile.am: Ditto.
2660 * libc/sys/mmixware/Makefile.am: Ditto.
2661 * libc/sys/netware/Makefile.am: Ditto.
2662 * libc/sys/rdos/Makefile.am: Ditto.
2663 * libc/sys/rtems/Makefile.am: Ditto.
2664 * libc/sys/sh/Makefile.am: Ditto.
2665 * libc/sys/sparc64/Makefile.am: Ditto.
2666 * libc/sys/sysmec/Makefile.am: Ditto.
2667 * libc/sys/sysnec810/Makefile.am: Ditto.
2668 * libc/sys/sysnecv850/Makefile.am: Ditto.
2669 * libc/sys/sysvi386/Makefile.am: Ditto.
2670 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2671 * libc/sys/tic80/Makefile.am: Ditto.
2672 * libc/sys/w65/Makefile.am: Ditto.
2673 * libc/sys/z8ksim/Makefile.am: Ditto.
2674 * libm/machine/i386/Makefile.am: Ditto.
2675 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
2676 trap.S so that automake will generate a .S.o suffix rule.
2677 * libc/argz/Makefile.am: Modified to work with
2678 latest automake. Change includes adding lib_a_CFLAGS
2679 so automake doesn't complain about libtool and non-libtool
2680 libraries sharing objects.
2681 * libc/ctype/Makefile.am: Ditto.
2682 * libc/errno/Makefile.am: Ditto.
2683 * libc/iconv/ccs/Makefile.am: Ditto.
2684 * libc/iconv/ces/Makefile.am: Ditto.
2685 * libc/iconv/lib/Makefile.am: Ditto.
2686 * libc/locale/Makefile.am: Ditto.
2687 * libc/misc/Makefile.am: Ditto.
2688 * libc/posix/Makefile.am: Ditto.
2689 * libc/reent/Makefile.am: Ditto.
2690 * libc/search/Makefile.am: Ditto.
2691 * libc/signal/Makefile.am: Ditto.
2692 * libc/stdio/Makefile.am: Ditto.
2693 * libc/stdio64/Makefile.am: Ditto.
2694 * libc/stdlib/Makefile.am: Ditto.
2695 * libc/string/Makefile.am: Ditto.
2696 * libc/sys/linux/Makefile.am: Ditto.
2697 * libc/sys/linux/argp/Makefile.am: Ditto.
2698 * libc/sys/linux/cmath/Makefile.am: Ditto.
2699 * libc/sys/linux/dl/Makefile.am: Ditto.
2700 * libc/sys/linux/iconv/Makefile.am: Ditto.
2701 * libc/sys/linux/intl/Makefile.am: Ditto.
2702 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2703 * libc/sys/linux/net/Makefile.am: Ditto.
2704 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2705 * libc/syscalls/Makefile.am: Ditto.
2706 * libc/time/Makefile.am: Ditto.
2707 * libc/unix/Makefile.am: Ditto.
2708 * libm/Makefile.am: Ditto.
2709 * libm/common/Makefile.am: Ditto.
2710 * libm/math/Makefile.am: Ditto.
2711 * libm/mathfp/Makefile.am: Ditto.
2712 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2713
2714 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
2715
2716 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
2717 anymore. Assume there is a gettimeofday syscall.
2718
2719 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2720
2721 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
2722 for the declaration of n_long.
2723
2724 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2725
2726 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
2727 struct sockaddr.
2728 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
2729 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
2730 (IFF_NOTRAILERS): New define.
2731 (struct ifreq): Add ifru_netmask.
2732 (ifr_netmask): New define.
2733
2734 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2735
2736 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
2737 match sys/ioctl.h.
2738
2739 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2740
2741 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
2742 linux-newlib libc implementations.
2743
2744 2006-03-29 Eric Blake <ebb9@byu.net>
2745
2746 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
2747 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
2748
2749 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2750
2751 * libc/sys/linux/io.c (__mknod): Fix declaration of
2752 syscall to pass a dev_t as third argument rather than
2753 a pointer to dev_t.
2754
2755 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2756
2757 * libc/sys/linux/net/name6.c: Fix struct references.
2758
2759 2006-03-22 Mark Mitchell <mark@codesourcery.com>
2760
2761 * configure.host: Allow hosts to set the default
2762 newlib_atexit_dynamic_alloc value.
2763 * configure.in: Likewise.
2764 * configure: Regenerated.
2765
2766 2006-03-20 Mark Mitchell <mark@codesourcery.com>
2767
2768 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
2769 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
2770 option.
2771 * configure: Regenerated.
2772 * newlib.hin: Regenerated.
2773 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
2774 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2775 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
2776 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2777
2778 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
2779
2780 * libc/sys/linux/linuxthreads/config.h: Remove definition
2781 of UINT32_C.
2782
2783 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
2784
2785 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
2786 for a string I/O file that isn't using the asprintf family.
2787
2788 2006-03-07 Eric Blake <ebb9@byu.net>
2789
2790 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
2791 filename, allow read-only or write-only FILE atop O_RDWR file
2792 descriptor.
2793 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
2794
2795 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
2796
2797 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
2798 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
2799
2800 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
2801
2802 * libm/math/math.tex: Fix reference to sisnan.def which
2803 is now in common subdirectory.
2804 * libm/mathfp/mathfp.tex: Ditto.
2805
2806 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
2807
2808 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
2809 s_isnand, and sf_isnanf object files.
2810 * Makefile.in: Regenerated.
2811 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
2812 conflict if <math.h> has previously been included.
2813 * libc/include/math.h
2814 * libc/include/math.h: Make isnan and isinf macros to
2815 conform to C99.
2816 (__isinfd, __isinff, __isnand, __isnanf): New functions.
2817 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
2818 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
2819 sf_isinf files which have been moved from math/mathfp directories.
2820 * libm/common/Makefile.in: Regenerated.
2821 * libm/common/s_isinfd.c: New file.
2822 * libm/common/s_isnand.c: Ditto.
2823 * libm/common/sf_isinff.c: Ditto.
2824 * libm/common/sf_isnanf.c: Ditto.
2825 * libm/common/s_isinf.c: Moved from libm/math directory.
2826 * libm/common/s_isnan.c: Ditto.
2827 * libm/common/sf_isinf.c: Ditto.
2828 * libm/common/sf_isnan.c: Ditto.
2829 * libm/math/Makefile.am: Remove isinf and isnan family functions
2830 which have been moved into common directory.
2831 * libm/mathfp/Makefile.am: Ditto.
2832 * libm/math/Makefile.in: Regenerated.
2833 * libm/mathfp/Makefile.in: Ditto.
2834 * libm/math/s_isinf.c: Removed.
2835 * libm/math/s_isnan.c: Ditto.
2836 * libm/math/sf_isinf.c: Ditto.
2837 * libm/math/sf_isnan.c: Ditto.
2838 * libm/mathfp/s_isinf.c: Ditto.
2839 * libm/mathfp/s_isnan.c: Ditto.
2840 * libm/mathfp/sf_isinf.c: Ditto.
2841 * libm/mathfp/sf_isnan.c: Ditto.
2842
2843 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
2844
2845 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
2846 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
2847 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
2848 seek, turn off the __SNPT no-optimization flag.
2849
2850 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
2851
2852 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
2853 will be defined.
2854 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
2855 <features.h> to preset special flags.
2856
2857 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
2858
2859 * libc/include/sys/time.h (struct timeval): Change member types
2860 according to SUSv3.
2861 * libc/include/sys/types.h (useconds_t): Change to unsigned
2862 according to SUSv3.
2863 (suseconds_t): Define type.
2864
2865 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
2866 David Carne <davidcarne@gmail.com>
2867
2868 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
2869 instead of strlen to determine number of bytes to copy.
2870 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
2871 before looking at storage location.
2872
2873 2006-02-07 Paul Brook <paul@codesourcery.com>
2874
2875 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
2876 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
2877 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
2878 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
2879 * libc/sys/arm/trap.S: Disable for Thumb-2.
2880
2881 2006-01-31 Leif Ekblad <leif@rdos.net>
2882
2883 * configure.host: RDOS support added
2884 * libc/include/sys/config.h: Ditto.
2885 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
2886 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
2887 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
2888 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
2889 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
2890 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
2891 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
2892 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
2893 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
2894 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
2895 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
2896 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
2897 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
2898 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
2899 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
2900 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
2901 * libc/sys/rdos/write.c: Ditto.
2902
2903 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
2904
2905 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
2906 so as not to define PACKAGE and VERSION in newlib.h.
2907 * aclocal.m4: Regenerated.
2908 * configure: Ditto.
2909 * newlib.hin: Ditto.
2910
2911 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
2912
2913 * acconfig.h: New file to generate newlib.hin from.
2914 * newlib.hin: Regenerated.
2915 * stamp-h.in: Regenerated.
2916 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
2917 called automatically.
2918 * Makefile.in: Regenerated.
2919 * acinclude.m4: Add proper comment for hack in previous change.
2920 * aclocal.m4 */aclocal.m4: Regenerated.
2921 * configure */configure: Regenerated.
2922
2923 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
2924
2925 * acinclude.m4: Add hack to prevent INSTALL in subdirs
2926 from being set to "../".
2927 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
2928 * aclocal.m4: Regenerated.
2929 * configure: Ditto.
2930 * Makefile.in: Ditto.
2931 * doc/aclocal.m4: Ditto.
2932 * doc/configure: Ditto.
2933 * iconvdata/aclocal.m4: Ditto.
2934 * iconvdata/configure: Ditto.
2935 * libc/*/aclocal.m4: Ditto.
2936 * libc/*/configure: Ditto.
2937 * libc/libc.texinfo: Ditto.
2938 * libm/*/aclocal.m4: Ditto.
2939 * libm/*/configure: Ditto.
2940
2941 2006-01-10 Eric Blake <ebb9@byu.net>
2942
2943 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
2944 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2945
2946 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
2947
2948 * libm/mathfp/s_frexp.c: Check for special values on
2949 the original input, not the manipulated output value.
2950 * libm/mathfp/sf_frexp.c: Ditto.
2951 * libm/mathfp/s_atangent.c: Don't use local value branch
2952 when checking for quadrant.
2953 * libm/mathfp/sf_atangent.c: Ditto.
2954
2955 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
2956
2957 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
2958 * libc/stdio64/freopen64.c: Ditto.
2959
2960 2006-01-09 Eric Blake <ebb9@byu.net>
2961
2962 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
2963 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2964
2965 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
2966
2967 * libc/sys/linux/include/getopt.h: Add macros needed by
2968 new version of getopt.c in libc/stdlib.
2969
2970 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
2971
2972 * libc/stdlib/getopt.c: Replaced with version
2973 that adds getopt_long and getopt_long_only support.
2974 * libc/include/getopt.h: New file.
2975
2976 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2977
2978 * NEWS: Update with 1.14.0 info.
2979 * README: Ditto.
2980 * acinclude.m4: Change version number to 1.14.0.
2981 * aclocal.m4: Regenerated.
2982 * configure: Ditto.
2983 * doc/aclocal.m4: Ditto.
2984 * doc/configure: Ditto.
2985 * libc/*/aclocal.m4: Ditto.
2986 * libc/*/configure: Ditto.
2987 * libc/libc.texinfo: Ditto.
2988 * libm/*/aclocal.m4: Ditto.
2989 * libm/*/configure: Ditto.
2990 * libm/libm.texinfo: Ditto.
2991 * libc/sys/linux/shared.ld: Add VERS_1.14.
2992
2993 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2994
2995 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
2996 take a pointer to struct stat64 rather than struct stat.
2997
2998 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
2999
3000 * libc/include/stdint.h: Prefer long over int for int32_t.
3001 Use __have_long32 to set up int32_t.
3002 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
3003 (Sync with stdint.h).
3004
3005 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
3006
3007 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
3008 typo in O_NDELAY comment.
3009
3010 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3011
3012 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3013 * libc/include/machine/setjmp.h (__mt__): Likewise.
3014 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3015 * libc/machine/configure.in: Ditto.
3016
3017 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3018
3019 * configure.host: Replace ms1 arch with mt arch.
3020 * libc/machine/mt: Renamed from ms1 dir.
3021
3022 2005-12-08 Shaun Jackman <sjackman@gmail.com>
3023
3024 * libc/include/sys/types.h: Remove the ifdef armour around
3025 standard POSIX types.
3026
3027 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3028
3029 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3030 rtems_gxx_key_delete, rtems_gxx_getspecific,
3031 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3032 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
3033 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3034
3035 2005-12-05 Christopher Faylor <cgf@timesys.com>
3036
3037 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3038 file. Declare unsetenv and _unsetenv_r when not cygwin.
3039
3040 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3041
3042 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3043 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3044
3045 2005-11-18 Christopher Faylor <cgf@timesys.com>
3046
3047 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3048
3049 2005-11-18 Christopher Faylor <cgf@timesys.com>
3050
3051 * include/time.h: Remove more cygwin-specific stuff.
3052
3053 2005-11-18 Christopher Faylor <cgf@timesys.com>
3054
3055 * include/time.h: Move cygwin declarations to cygwin-specific header.
3056 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3057
3058 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3059
3060 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3061 in libc/sys/linux/include.
3062 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3063 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3064 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3065 in libc/sys/linux/dl.
3066
3067 2005-11-11 Christopher Faylor <cgf@timesys.com>
3068
3069 * libc/include/sys/time.h: For cygwin, use general header rather than
3070 specific "sys/select.h".
3071
3072 2005-11-08 Tom Walsh <tom@openhardware.net>
3073
3074 * libc/time/tzvars.c: New file.
3075 * libc/time/tzset_r.c: Moved globals into tzvars.c
3076 so other time functions needn't link in __tzset_r and its
3077 dependencies.
3078 * libc/time/Makefile.am: Add the new file.
3079 * libc/time/Makefile.in: Regenerated.
3080
3081 2005-11-08 Christopher Faylor <cgf@timesys.com>
3082
3083 * libc/include/string.h: Add cygwin-specific function declaration.
3084
3085 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
3086
3087 * libc/include/ieeefp.h: Add C++ guards.
3088
3089 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3090
3091 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
3092 * libc/unix/getlogin.c: Ditto.
3093 * libc/unix/getpass.c: Ditto.
3094 * libc/unix/getut.c: Ditto.
3095 * libc/unix/ttyname.c: Ditto.
3096
3097 2005-11-03 Shaun Jackman <sjackman@gmail.com>
3098
3099 * libc/include/sys/unistd.h (readlink, symlink): Provide these
3100 prototypes by default.
3101 * libc/sys/linux/include/unistd.h (readlink): Remove this
3102 prototype.
3103 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
3104 prototypes.
3105
3106 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
3107
3108 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
3109
3110 2005-10-31 Darin Johnson <darin@usa.net>
3111
3112 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
3113 correct for constants.
3114
3115 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3116
3117 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
3118 * libc/stdio/siscanf.c: Likewise.
3119 * libc/stdio/sprintf.c: Likewise.
3120 * libc/stdio/sscanf.c: Likewise.
3121 * libc/stdio/vfprintf.c: Likewise.
3122 * libc/stdio/vfscanf.c: Likewise.
3123 * libc/stdio/viprintf.c: Likewise.
3124 * libc/stdio/viscanf.c: Likewise.
3125
3126 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3127
3128 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
3129 example to use "_end" symbol instead of "end". Change write example
3130 to use "outbyte" instead of "writechar".
3131
3132 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3133
3134 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
3135 * libc/ctype/islower.c: Likewise.
3136 * libc/ctype/isupper.c: Likewise.
3137 * libc/ctype/iswalnum.c: Likewise.
3138 * libc/ctype/iswalpha.c: Likewise.
3139 * libc/ctype/iswblank.c: Likewise.
3140 * libc/ctype/iswcntrl.c: Likewise.
3141 * libc/ctype/iswdigit.c: Likewise.
3142 * libc/ctype/iswgraph.c: Likewise.
3143 * libc/ctype/iswlower.c: Likewise.
3144 * libc/ctype/iswprint.c: Likewise.
3145 * libc/ctype/iswpunct.c: Likewise.
3146 * libc/ctype/iswspace.c: Likewise.
3147 * libc/ctype/iswupper.c: Likewise.
3148 * libc/ctype/iswxdigit.c: Likewise.
3149 * libc/ctype/tolower.c: Likewise.
3150 * libc/ctype/toupper.c: Likewise.
3151 * libc/ctype/towctrans.c: Likewise.
3152 * libc/ctype/towlower.c: Likewise.
3153 * libc/ctype/towupper.c: Likewise.
3154 * libc/string/strcasecmp.c: Likewise.
3155 * libc/string/strcoll.c: Likewise.
3156 * libc/string/strings.tex: Likewise.
3157 * libc/string/strlwr.c: Likewise.
3158 * libc/string/strncasecmp.c: Likewise.
3159 * libc/string/strupr.c: Likewise.
3160 * libc/string/wcscoll.c: Likewise.
3161 * libc/string/wcslcat.c: Likewise.
3162 * libc/string/wcslcpy.c: Likewise.
3163 * libc/string/wcsnlen.c: Likewise.
3164 * libc/string/wcsstr.c: Likewise.
3165 * libc/string/wcstrings.tex: Likewise.
3166 * libc/string/wmemchr.c: Likewise.
3167 * libc/string/wmemcmp.c: Likewise.
3168 * libc/string/wmemcpy.c: Likewise.
3169 * libc/string/wmemmove.c: Likewise.
3170 * libc/string/wmemset.c: Likewise.
3171
3172 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3173
3174 * libc/misc/unctrl.c: Replace FUNCTION description.
3175 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
3176 * libc/stdio/getdelim.c: Fix spelling errors.
3177 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
3178 * libc/stdio/putw.c: Likewise.
3179 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
3180 documentation.
3181 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
3182 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
3183 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
3184 * libc/stdlib/mlock.c: Likewise.
3185 * libc/stdlib/mstats.c: Likewise.
3186 * libc/time/tzlock.c: Likewise.
3187 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
3188 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
3189 and hyphenate "pseudo-random".
3190 * libc/string/bcmp.c: Remove extra blank lines in documentation.
3191 * libc/string/strncat.c: Likewise.
3192 * libc/string/memchr.c: Remove extra ">" character in documentation.
3193 * libc/string/strcspn.c: Use "characters" instead of "chars".
3194 * libc/string/strpbrk.c: Likewise.
3195 * libc/string/strerror_r.c: Capitalize "GNU".
3196 * libc/string/strnlen.c: Likewise.
3197 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
3198 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
3199 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
3200 * libc/string/wcschr.c: Likewise.
3201 * libc/string/wcscmp.c: Likewise.
3202 * libc/string/wcscpy.c: Likewise.
3203 * libc/string/wcscspn.c: Likewise.
3204 * libc/string/wcslen.c: Likewise.
3205 * libc/string/wcsncat.c: Likewise.
3206 * libc/string/wcsncmp.c: Likewise.
3207 * libc/string/wcsncpy.c: Likewise.
3208 * libc/string/wcsnlen.c: Likewise.
3209 * libc/string/wcspbrk.c: Likewise.
3210 * libc/string/wcsrchr.c: Likewise.
3211 * libc/string/wcsspn.c: Likewise.
3212 * libc/string/wmemchr.c: Likewise.
3213 * libc/string/wmemcmp.c: Likewise.
3214 * libc/string/wmemcpy.c: Likewise.
3215 * libc/string/wmemset.c: Likewise.
3216 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
3217 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
3218 * libc/string/wcwidth.c: Likewise.
3219 * libm/common/s_modf.c: Remove extra period from documentation.
3220 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
3221 documentation.
3222 * libm/mathfp/s_isnan.c: Likewise.
3223 * libm/math/s_ldexp.c: Fix punctuation.
3224 * libm/mathfp/s_ldexp.c: Likewise.
3225 * libm/math/w_log.c: Likewise.
3226 * libm/mathfp/s_logarithm.c: Likewise.
3227 * libm/math/w_j0.c: Add spaces to FUNCTION description.
3228 * libm/mathfp/w_jn.c: Likewise.
3229
3230 2005-10-26 Shaun Jackman <sjackman@gmail.com>
3231
3232 * libc/posix/scandir.c (scandir): Update the function
3233 prototype to match the header.
3234 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
3235 extraneous #endif.
3236 * libc/sys/linux/sys/lock.h: Do not include
3237 machine/weakalias.h, since it's not used by this file.
3238
3239 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
3240
3241 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
3242 directories can override properly.
3243
3244 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
3245
3246 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
3247 gcc is 3.3 or greater, use special gcc builtins.
3248
3249 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
3250
3251 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
3252
3253 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
3254
3255 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
3256
3257 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3258
3259 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
3260 * libm/common/Makefile.am: Add s_infconst.c support.
3261 * libm/common/Makefile.in: Regenerated.
3262 * libm/common/s_infconst.c: New file with float and
3263 long double infinity support added.
3264 * libm/math/Makefile.am: Remove s_infconst.c support.
3265 * libm/math/Makefile.in: Regenerated.
3266 * libm/math/s_infconst.c: Moved to common directory.
3267 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
3268 * libm/mathfp/Makefile.in: Regenerated.
3269 * libm/mathfp/s_infconst.c: Moved to common directory.
3270
3271 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3272
3273 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
3274 dbgprintf to prevent conflict with new dprintf function.
3275
3276 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3277
3278 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
3279 "nan" processing for systems that have long double support.
3280
3281 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3282
3283 * libc/sys/linux/sys/types.h (int8_t): Add type.
3284
3285 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3286
3287 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
3288 * libm/common/Makefile.in: Regenerate.
3289 * libm/common/common.tex: Delete file.
3290 * libm/math/math.tex: Include .def files from common/.
3291 * libm/mathfp/mathfp.tex: Likewise.
3292
3293 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3294
3295 * libc/libc.texinfo (Top): Surround this node with @ifnottex
3296 instead of @ifinfo. Update menu to add Introduction and match
3297 SUBDIRS order.
3298 (Introduction): New section.
3299
3300 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3301
3302 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
3303 with "Red Hat newlib C Library".
3304 * libc/sys.tex (Stubs): Likewise.
3305 * libm/math/math.tex (Math): Likewise.
3306 * libm/mathfp/mathfp.tex (Math): Likewise.
3307
3308 2005-10-11 Shaun Jackman <sjackman@gmail.com>
3309
3310 * libc/include/stdio.h (dprintf): New declaration.
3311 (vdprintf): Ditto.
3312 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
3313 and vdprintf.c.
3314 * libc/stdio/Makefile.in: Regenerate.
3315 * libc/stdio/dprintf.c: New file.
3316 * libc/stdio/vdprintf.c: New file.
3317 * libc/stdio/stdio.tex (dprintf): New entry.
3318
3319 2005-10-11 David Weatherford <weath@tensilica.com>
3320
3321 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
3322 Print "inf" and "nan" in lowercase for e/f/g formats and in
3323 uppercase for E/F/G formats.
3324
3325 2005-10-07 Bob Wilson <bob.wilson@acm.org>
3326
3327 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
3328 to ENOMEM on failure.
3329
3330 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3331
3332 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
3333
3334 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
3335
3336 * libc/include/stdint.h: Move magic to set __have_long* to the
3337 beginning. Use #if __have* instead of #if defined(__have*).
3338 Minor typo fixes.
3339
3340 2005-10-04 James E Wilson <wilson@specifix.com>
3341
3342 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
3343 #error.
3344
3345 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
3346
3347 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
3348 incorporate Ralf's change below.
3349
3350 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
3351
3352 * libc/include/stdint.h:
3353 Use __INTMAX_TYPE__ to derive intmax_t.
3354 Use __UINTMAX_TYPE__ to derive uintmax_t.
3355 Fix minor typo.
3356
3357 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
3358
3359 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
3360 handling GCC >= 4.
3361
3362 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3363
3364 * libc/sys/linux/include/stdint.h: Update to match functionality
3365 of generic newlib stdint.h.
3366
3367 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3368
3369 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
3370 and do not #undef the macro after it is used. Fix typos.
3371 Also change 64-bit constants to use the __have_long64 and
3372 __have_longlong64 flags to determine if long or long long
3373 constants should be used.
3374 * libc/include/inttypes.h: Include stddef.h to get wchar_t
3375 type defined.
3376
3377 2005-09-20 Shaun Jackman <sjackman@gmail.com>
3378
3379 * libc/include/stdint.h: Fix typo in names of
3380 LEAST macros.
3381
3382 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3383
3384 * libc/sys/rtems/include/inttypes.h: Moved to...
3385 * libc/include/inttypes.h: ...here.
3386
3387 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
3388
3389 * libc/sys/rtems/include/stdint.h: Moved to...
3390 * libc/include/stdint.h: ...here.
3391
3392 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
3393
3394 * Makefile.am: Add include files under bits sub-directory.
3395 * Makefile.in: Regenerated.
3396 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3397 actual value of 1 to be compatible with newer glibc headers.
3398 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3399 glibc headers.
3400 * libc/sys/linux/sys/dirent.h: Ditto.
3401 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3402 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3403 profile_fixup routines are marked used so they won't be
3404 optimized away.
3405 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3406 to mark functions as weak.
3407 * libc/sys/linux/dl/dl-open.c: Ditto.
3408 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3409 rules about lvalues.
3410 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3411 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3412 weak_extern macro to mark functions as weak. Instead always
3413 use #pragma weak.
3414 * iconvdata/jis0208.h: Fix to work with gcc4.
3415 * libc/sys/linux/dl/dl-load.c: Ditto.
3416 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3417 * libc/sys/linux/dl/do-rel.h: Ditto.
3418 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3419 * libc/sys/linux/include/ltdl.h: Ditto.
3420 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3421 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3422 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3423 * libc/sys/linux/bits/initspin.h: New file.
3424 * libc/sys/linux/bits/libc-lock.h: Ditto.
3425 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3426 * libc/sys/linux/bits/typesizes.h: Ditto.
3427
3428 2005-09-08 Eric Blake <ebb9@byu.net>
3429
3430 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3431 before is NULL.
3432
3433 2005-09-08 Brian Dessent <brian@dessent.net>
3434
3435 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3436 mantissa.
3437 * s_lrint.c: Ditto.
3438
3439 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3440
3441 * libc/include/stdio.h: Add prototype for viprintf.
3442
3443 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3444
3445 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3446 any positive power results in 0.
3447 * libm/mathfp/sf_pow.c (powf): Ditto.
3448
3449 2005-08-31 Paul Brook <paul@codesourcery.com>
3450
3451 * configure.host: Set have_crt0 to no for Arm targts when not
3452 providing syscalls. Set sys_dir=arm unconditionally.
3453 Default have_crt0 based on sys_dir.
3454 * configure.in: Use have_crt0.
3455 * libc/configure.in: Ditto.
3456 * libc/sys/configure.in: Ditto.
3457 * configure: Regenerate.
3458 * libc/configure: Regenerate.
3459 * libc/sys/configure: Regenerate.
3460 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3461 Only build other files when providing syscalls.
3462 * libc/sys/arm/Makefile.in: Regenerate.
3463 * libc/sys/arm/aeabi_atexit.c: New file.
3464
3465 2005-08-26 Christopher Faylor <cgf@timesys.com>
3466
3467 * libc/include/string.h: Revert previous change.
3468
3469 2005-08-25 Christopher Faylor <cgf@timesys.com>
3470
3471 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3472
3473 2005-08-22 Shaun Jackman <sjackman@gmail.com>
3474
3475 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3476 define _opendir as opendir, _readdir as readdir, and
3477 _closedir as closedir so that the implementations in
3478 libc/posix will be used.
3479
3480 2005-08-10 DJ Delorie <dj@redhat.com>
3481
3482 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3483
3484 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3485
3486 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3487 * libm/common/s_max.c: Ditto.
3488 * libm/common/sf_fmin.c: Ditto.
3489 * libm/common/s_min.c: Ditto.
3490
3491 2005-08-10 DJ Delorie <dj@redhat.com>
3492
3493 * configure.host: Add m32c support.
3494 * libc/include/machine/ieeefp.h: Likewise.
3495 * libc/include/machine/setjmp.h: Likewise.
3496 * libc/include/sys/config.h: Likewise.
3497 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3498 * libc/machine/m32c/aclocal.m4: New file.
3499 * libc/machine/m32c/configure: Ditto.
3500 * libc/machine/m32c/configure.in: Ditto.
3501 * libc/machine/m32c/Makefile.am: Ditto.
3502 * libc/machine/m32c/Makefile.in: Ditto.
3503 * libc/machine/m32c/setjmp.S: Ditto.
3504
3505 2005-08-02 Bob Wilson <bob.wilson@acm.org>
3506
3507 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3508 to the value for 2^126.
3509
3510 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3511
3512 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3513 used.
3514
3515 2005-07-20 Bob Wilson <bob.wilson@acm.org>
3516 Darin Petkov <darin@tensilica.com>
3517
3518 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3519
3520 2005-07-19 Paul Brook <paul@codesourcery.com>
3521
3522 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3523
3524 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3525
3526 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3527 names after PASS and FAIL which do not depend on source directory
3528 name or on whether test passed or failed.
3529 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3530
3531 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3532
3533 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3534
3535 2005-07-07 Shaun Jackman <sjackman@gmail.com>
3536
3537 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
3538 twice for the same directory. _closedir calls free, and freeing
3539 the same pointer twice may cause a crash.
3540
3541 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
3542
3543 * configure.host: Added entry for ms1*.
3544 * libc/include/machine/ieeefp.h: Handle ms1.
3545 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3546 * libc/machine/ms1/aclocal.m4: New.
3547 * libc/machine/ms1/configure: New.
3548 * libc/machine/ms1/configure.in: New.
3549 * libc/machine/ms1/Makefile.am: New.
3550 * libc/machine/ms1/Makefile.in: New.
3551 * libc/machine/ms1/setjmp.S: New.
3552
3553 2005-07-04 Mark Mitchell <mark@codesourcery.com>
3554
3555 * Makefile.am (site.exp): Set tmpdir.
3556 * Makefile.in: Regenerated.
3557 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3558 executables in $tmpdir.
3559 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3560 libgloss version if not running in the build directory.
3561 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3562 $tmpdir.
3563 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3564 in $tmpdir.
3565
3566 2005-06-28 Dave Korn <dave.korn@artimi.com>
3567
3568 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3569 and miscalculation caused by fp representation of zero.
3570 * libm/common/sf_lrint.c (lrintf): Likewise.
3571
3572 2005-06-16 Christopher Faylor <cgf@timesys.com>
3573
3574 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3575 determine characteristics of long double. Use a union instead.
3576 * ldtoa.c (_ldtoa_r): Ditto.
3577 (_ldcheck): Ditto.
3578 (_strtold): Ditto.
3579 (union uconv): New union.
3580
3581 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3582
3583 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3584 instead of memcpy.
3585
3586 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3587
3588 * configure.host (mn10300-*): Add long long I/O support by default.
3589
3590 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3591
3592 * libc/sys/linux/getpwuid.c: Removed.
3593 * libc/sys/linux/getpwnam.c: Removed.
3594 * libc/sys/linux/getpwent.c: New file containing logic
3595 from files removed above. This allows overriding of file
3596 in libc/unix.
3597 * libc/sys/linux/Makefile.am: Support changes above.
3598 * libc/sys/linux/Makefile.in: Regenerated.
3599
3600 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3601
3602 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3603 when checking for multiple flags.
3604
3605 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
3606
3607 * configure.host <cris-*-* | crisv32-*-*>: Set
3608 default_newlib_io_long_long="yes".
3609
3610 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3611
3612 * libc/include/libgen.h: New file.
3613
3614 2005-04-08 Shaun Jackman <sjackman@gmail.com>
3615
3616 * libc/unix/Makefile.am: Add support for basename and dirname.
3617 * libc/unix/Makefile.in: Regenerated.
3618 * libc/unix/basename.c: New file.
3619 * libc/unix/dirname.c: New file.
3620
3621 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3622
3623 * libc/sys/linux/inode.c (lchown): New function.
3624
3625 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3626
3627 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3628 ELIX level is defined.
3629 * libc/unix/Makefile.in: Regenerated.
3630
3631 2005-04-05 Dave Korn <dave.korn@artimi.com>
3632
3633 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3634 something that looks like a "NaN", put back the characters processed.
3635
3636 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
3637
3638 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3639
3640 2005-03-23 Christopher Faylor <cgf@timesys.com>
3641
3642 * configure.host: For cygwin, redefine CC with cygwin include directory
3643 first to mimic the behavior of the top-level configury. Move include
3644 directory out of newlib_cflags.
3645
3646 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3647
3648 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
3649 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
3650 than errno.
3651
3652 2005-03-22 Christopher Faylor <cgf@timesys.com>
3653
3654 * libc/include/machine/_types.h: Make trivial change to comment to
3655 avoid a spurious warning from gcc.
3656
3657 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
3658
3659 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
3660 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
3661 reent.h include.
3662
3663 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
3664 Corinna Vinschen <corinna@vinschen.de>
3665
3666 * libc/include/ctype.h: Remove invalid +1 offset from
3667 ctype macro references to __ctype_ptr.
3668 (_ctype_): Move declaration outside #ifndef __cplusplus.
3669
3670 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
3671
3672 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
3673 evaluate first parameter only once.
3674 (siglongjmp): Ditto.
3675
3676 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
3677
3678 * configure.in: Add new check to see if compiler supports
3679 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
3680 * configure: Regenerated.
3681 * Makefile.in: Ditto.
3682 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
3683 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
3684 aliasing the _ctype_ array to _ctype_b.
3685 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
3686 _ctype_ as deprecated.
3687
3688 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
3689
3690 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3691 -DCOMPACT_CTYPE.
3692
3693 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3694
3695 * libc/sys/rtems/include/inttypes.h: New file.
3696 * libc/sys/rtems/include/stdint.h: Ditto.
3697
3698 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3699
3700 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3701
3702 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3703
3704 * libc/include/machine/_types.h: New file.
3705 * libc/include/sys/types.h: Do not check for __rtems__
3706 when including <machine/_types.h>. Remove some redundant
3707 declarations now that <machine/_types.h> is included.
3708 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3709 shared header file.
3710
3711 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
3712
3713 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
3714 L qualifier for these long constants.
3715
3716 2005-02-25 Eric Blake <ebb9@byu.net>
3717
3718 * libc/include/time.h (__tzrule_struct): Make offset long, since
3719 a 16-bit int overflows on a 12-hour offset.
3720 * libc/sys/linux/include/time.h: Ditto.
3721 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
3722 * libc/time/mktm_r.c: Ditto.
3723 * libc/time/gettzinfo.c: Ditto.
3724 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
3725 years. Fix '%z' to use long, not int.
3726
3727 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3728
3729 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
3730 manipulate float values in integer form.
3731 * libm/common/sf_round.c: Ditto.
3732
3733 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3734
3735 * libc/include/sys/types.h [__rtems__]: Include new
3736 header file machine/_types.h.
3737 * libc/include/machine/types.h: Ditto.
3738 * libc/sys/rtems/machine/_types.h: New file.
3739
3740 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3741
3742 * libc/include/time.h (_timezone): Change to long also for Cygwin.
3743 (timezone): Drop cast from definition.
3744
3745 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
3746
3747 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
3748 (__tzrule_type, __tzinfo_type): New types.
3749 (__gettzinfo): New function.
3750 * libc/sys/linux/include/time.h: Ditto.
3751 * libc/time/Makefile.am: Add gettzinfo.c.
3752 * libc/time/Makefile.in: Regenerated.
3753 * libc/time/local.h: Moved __tzrule_type to time.h.
3754 * libc/time/mktime.c: Call __gettzinfo to reference
3755 __tznorth, __tzyear, and __tzrule array.
3756 * libc/time/mktm_r.c: Ditto.
3757 * libc/time/strftime.c: Ditto.
3758 * libc/time/tzset_r.c: Ditto. Also remove definition
3759 of __tzrule which is now in gettzinfo.c. Change _timezone
3760 references to not cast to time_t.
3761 * libc/time/gettzinfo.c: New file.
3762
3763 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3764
3765 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
3766
3767 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
3768
3769 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
3770
3771 2005-02-16 Eric Blake <ebb9@byu.net>
3772
3773 * libc/time/time.tex: Improve the documentation.
3774 * libc/time/strftime.c: Improve the documentation.
3775 (iso_year_adjust): New helper function.
3776 (strftime): Simplify '%E' and '%O'. Change '%c' to use
3777 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
3778 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
3779 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
3780 Avoid core dumps on valid inputs (maxsize == 0, or
3781 tim_p->tm_isdst > 1).
3782
3783 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
3784
3785 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
3786 members to uid_t and gid_t according to SUSv3.
3787 * libc/include/sys/time.h (utimes): Change second parameter
3788 to const according to SUSv3.
3789
3790 2005-02-07 Antony King <antony.king@st.com>
3791
3792 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
3793 called before _flockfile to prevent lock object use before
3794 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
3795 take a struct _reent * instead of a FILE *.
3796 * libc/stdio/fclose.c (_fclose_r): Ditto.
3797 * libc/stdio/feof.c (feof): Ditto.
3798 * libc/stdio/ferror.c (ferror): Ditto.
3799 * libc/stdio/fflush.c (fflush): Ditto.
3800 * libc/stdio/fgetc.c (fgetc): Ditto.
3801 * libc/stdio/fgets.c (fgets): Ditto.
3802 * libc/stdio/fileno.c (fileno): Ditto.
3803 * libc/stdio/fputc.c (fputc): Ditto.
3804 * libc/stdio/fputs.c (fputs): Ditto.
3805 * libc/stdio/fread.c (fread): Ditto.
3806 * libc/stdio/freopen.c (_freopen_r): Ditto.
3807 * libc/stdio/fseek.c (_fseek_r): Ditto.
3808 * libc/stdio/ftell.c (_ftell_r): Ditto.
3809 * libc/stdio/fwrite.c (fwrite): Ditto.
3810 * libc/stdio/getc.c (getc): Ditto.
3811 * libc/stdio/getdelim.c (__getdelim): Ditto.
3812 * libc/stdio/putc.c (putc): Ditto.
3813 * libc/stdio/setvbuf.c (setvbuf): Ditto.
3814 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
3815 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3816 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3817 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
3818 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
3819 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
3820 _reent * instead of a FILE * and so replace incorrect use of
3821 _REENT with argument.
3822 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
3823 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
3824 CHECK_INIT() take a struct _reent * instead of a FILE *.
3825 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
3826 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
3827 * libc/stdio/perror.c (perror): Ditto.
3828 * libc/stdio/printf.c (printf, _printf_r): Ditto.
3829 * libc/stdio/putchar.c (putchar): Ditto.
3830 * libc/stdio/puts.c (puts): Ditto.
3831 * libc/stdio/refill.c (__srefill): Ditto.
3832 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
3833 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
3834 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
3835 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
3836 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
3837 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
3838 * libc/stdio/wbuf.c (__swbuf): Ditto.
3839 * libc/stdio/wsetup.c (__swsetup): Ditto.
3840 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
3841 * libc/stdlib/mstats.c (_mstats_r): Ditto.
3842 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
3843 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
3844 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
3845 to _flockfile and _funlockfile; rely on locking in _ftell_r.
3846 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
3847 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
3848 initialision of _data field in FILE structure.
3849 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
3850
3851 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3852
3853 * libc/stdio/findfp.c (__sinit): Protect with new lock.
3854 (__sinit_lock): New lock.
3855 (__sinit_lock_acquire, __sinit_lock_release): New functions.
3856 * libc/stdio/local.h: Add reference to new __sinit locking
3857 functions.
3858
3859 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3860
3861 * libc/include/math.h (isfinite, isnormal, isunordered): Change
3862 input variable names to avoid mixups with nesting macros.
3863
3864 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3865
3866 * configure.host: Add support for cris-*-* and crisv32-*-*.
3867 * libc/include/machine/ieeefp.h: Ditto.
3868 * libc/include/machine/setjmp.h: Ditto.
3869 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
3870 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
3871 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
3872 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
3873 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
3874 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
3875 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
3876 files.
3877
3878 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3879
3880 * testsuite/newlib.string/memmove1.c: New test.
3881
3882 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3883
3884 * testsuite/include/check.h: Include stdlib.h.
3885
3886 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3887
3888 * Makefile.am (stmp-targ-include): Support include header files
3889 from machine directories.
3890 (install-data-local): Ditto.
3891 * Makefile.in: Regenerate.
3892
3893 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
3894
3895 * libc/include/string.h: Remove Linux-specific declaration of
3896 strsignal and add #include <sys/string.h>.
3897 * libc/include/sys/string.h: New file.
3898 * libc/include/sys/linux/sys/string.h: New file with strsignal
3899 declaration deleted above.
3900
3901 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
3902
3903 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
3904 to POSIX standard for "C" locale. Allow %E and %O modifiers
3905 to be ignored as long as they precede valid specifiers according
3906 to POSIX.
3907
3908 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3909
3910 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3911 environment variable is set.
3912
3913 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3914
3915 * tzset_r.c (_tzname): Add a comma.
3916
3917 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
3918
3919 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
3920 _VFPRINTF_R.
3921
3922 2005-01-07 Paul Brook <paul@codesourcery.com>
3923
3924 * configure.in: Add test for .init_array.
3925 * configure: Regenerate.
3926 * newlib.hin: Add HAVE_INITFINI_ARRAY.
3927 * libc/misc/Makefile.am: Add init.c
3928 * libc/misc/Makefile.in: Regenerate.
3929 * libc/misc/init.c: New file.
3930 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
3931 _init/_fini if they exist.
3932
3933 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
3934
3935 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
3936 * (strtof): Ditto.
3937 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
3938 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
3939 functions for use by strtod and strtof.
3940 * Makefile.in: Regenerated.
3941
3942 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3943
3944 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
3945 bit-test in combination with NULL test.
3946
3947 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3948
3949 * README: Fix typo of LGPL. Change "license" to "copyright".
3950
3951 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
3952
3953 * NEWS: Update with 1.13.0 info.
3954 * README: Ditto.
3955 * acinclude.m4: Change version number to 1.13.0.
3956 * aclocal.m4: Regenerated.
3957 * configure: Ditto.
3958 * doc/aclocal.m4: Ditto.
3959 * doc/configure: Ditto.
3960 * libc/*/aclocal.m4: Ditto.
3961 * libc/*/configure: Ditto.
3962 * libc/libc.texinfo: Ditto.
3963 * libm/*/aclocal.m4: Ditto.
3964 * libm/*/configure: Ditto.
3965 * libm/libm.texinfo: Ditto.
3966 * libc/sys/linux/shared.ld: Add VERS_1.13.
3967
3968 2004-12-17 Christian Groessler <chris@groessler.org>
3969
3970 * libc/machine/z8k/memcmp.S: New file.
3971 * libc/machine/z8k/memcpy.S: Ditto.
3972 * libc/machine/z8k/memmove.S: Ditto.
3973 * libc/machine/z8k/memset.S: Ditto.
3974 * libc/machine/z8k/Makefile.am: Add new files.
3975 * libc/machine/z8k/Makefile.in: Regenerated.
3976 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
3977 part. Implement Z8002 stdcall version.
3978
3979 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
3980
3981 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
3982 a low-level read if we don't get the full amount of bytes so
3983 EOF or error flags will be set.
3984
3985 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
3986
3987 * libc/time/tzset_r (_tzset_r): Properly skip over
3988 '/' when it is detected.
3989
3990 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3991
3992 * libc/time/tzset_r (_tzset_r): Fix loop.
3993
3994 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3995
3996 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
3997 m_day.
3998 (__tzcalc_limits): Fix reference to month array to be zero-based.
3999
4000 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
4001
4002 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
4003 and usleep.
4004
4005 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
4006
4007 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
4008 libgcc dependencies.
4009 (libm_la_LDFLAGS): Ditto.
4010 * Makefile.in: Regenerated.
4011
4012 2004-12-03 Shaun Jackman <sjackman@gmail.com>
4013
4014 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4015 our link to use readlink so as to preserve any relative link created
4016 by install-toollibLIBRARIES.
4017 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4018
4019 2004-12-02 Shaun Jackman <sjackman@gmail.com>
4020
4021 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4022 time_t before including sys/stat.h, which uses it.
4023 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4024 <linux/time.h> just prior to definition of __KERNEL__ so as to
4025 allow building on Debian Linux where otherwise, mktime would
4026 be redefined.
4027
4028 2004-11-26 Paul Brook <paul@codesourcery.com>
4029
4030 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
4031
4032 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4033
4034 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
4035 const for value string parameter to match Single Unix and glibc.
4036 * libc/stdlib/putenv.c: Ditto.
4037 * libc/stdlib/putenv_r.c: Ditto.
4038
4039 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4040
4041 * libc/stdio/Makefile.am: Fix missing vfscanf.
4042 * libc/stdio/Makefile.in: Regenerated.
4043
4044 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
4045
4046 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4047 do some reordering.
4048 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4049 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4050 family functions.
4051 * libc/stdio/Makefile.in: Regenerated.
4052 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4053 * libc/stdio/iprintf.c: Ditto.
4054 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4055 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4056 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4057 * libc/stdio/stdio.tex: Add new functions.
4058 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4059 file and add special name defines so this file can be used
4060 to build vfiscanf.o.
4061 * libc/stdio/asiprintf.c: New file.
4062 * libc/stdio/fiscanf.c: Ditto.
4063 * libc/stdio/iscanf.c: Ditto.
4064 * libc/stdio/sccl.c: Ditto.
4065 * libc/stdio/siscanf.c: Ditto.
4066 * libc/stdio/vasiprintf.c: Ditto.
4067 * libc/stdio/viprintf.c: Ditto.
4068 * libc/stdio/viscanf.c: Ditto.
4069 * libc/stdio/vsiprintf.c: Ditto.
4070 * libc/stdio/vsiscanf.c: Ditto.
4071 * libc/stdio/vsniprintf.c: Ditto.
4072
4073 2004-11-19 Shaun Jackman <sjackman@gmail.com>
4074
4075 * libc/include/stdio.h: Add sniprintf.
4076 * libc/stdio/Makefile.am: Add sniprintf.c.
4077 * libc/stdio/Makefile.in: Regenerated.
4078 * libc/stdio/sniprintf.c: New file.
4079 * libc/stdio/stdio.tex: Add sniprintf.
4080
4081 2004-11-17 Christopher Faylor <cgf@timesys.com>
4082
4083 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4084 EOF flag if successful.
4085
4086 2004-10-28 Christopher Faylor <cgf@timesys.com>
4087
4088 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
4089 so that all relevant definitions have been performed for use in the
4090 include.
4091
4092 2004-10-26 Jason Tishler <jason@tishler.net>
4093
4094 * libc/stdio/fread.c (fread): Fix return value for unbuffered
4095 fread.
4096
4097 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4098
4099 * libc/include/machine/setjmp.h: Add AVR support.
4100 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
4101
4102 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
4103
4104 * libc/include/sys/signal.h: If <signal.h> didn't include
4105 this header file, include <signal.h> to account for
4106 applications that take advantage that the two header
4107 files are the same in glibc.
4108
4109 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
4110
4111 * configure.host: Add support for crx.
4112 * libc/include/machine/ieeefp.h: Ditto.
4113 * libc/include/machine/setjmp.h: Ditto.
4114 * libc/machine/crx/Makefile.am: New file.
4115 * libc/machine/crx/configure.in: Ditto.
4116 * libc/machine/crx/setjmp.S: Ditto.
4117 * libc/machine/crx/getenv.c: Ditto.
4118 * libc/machine/crx/aclocal.m4: Generate.
4119 * libc/machine/crx/configure: Ditto.
4120 * libc/machine/crx/Makefile.in: Ditto.
4121 * libc/machine/crx/sys/asm.h: New file.
4122 * libc/machine/crx/sys/libh.h: Ditto.
4123 * libc/machine/crx/sys/syscall.h: Ditto.
4124
4125 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
4126
4127 * Makefile.am (stmp-targ-include): Support sys header files
4128 from machine directories.
4129 * Makefile.in: Regenerated.
4130
4131 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
4132
4133 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4134 count skipped zero characters as part of the nread count for %n.
4135 * libc/machine/powerpc/vfscanf.c: Ditto.
4136
4137 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
4138
4139 * libc/stdio/local.h: Include <stdlib.h>.
4140
4141 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
4142
4143 * libc/stdio/fread.c (fread): Include <malloc.h>.
4144
4145 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
4146
4147 * libc/stdio/fread.c (fread): For non-space-optimized case,
4148 add special code for unbuffered files to use user buffer and
4149 only require one low-level system read.
4150
4151 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
4152
4153 * libc/machine/xscale/setjmp.S: New file, copied from
4154 libc/machine/arm/setjmp.S.
4155 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
4156 * libc/machine/xscale/Makefile.in: Regenerate.
4157
4158 2004-09-16 Antony King <antony.king@st.com>
4159
4160 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
4161 with locking API.
4162 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
4163 check for__SSTR in _flags and if set, skip lock request.
4164 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4165 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
4166 not NULL.
4167 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
4168 initialisation of _file to -1 in local FILE.
4169 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
4170 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
4171 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4172 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4173 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
4174 _flags in local FILE to prevent locking.
4175 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4176
4177 2004-09-16 Antony King <antony.king@st.com>
4178
4179 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
4180 and only walk the reentrancy parameter.
4181 (_fwalk_reent): Ditto.
4182 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
4183
4184 2004-09-16 Antony King <antony.king@st.com>
4185
4186 * libc/stdio64/freopen64.c: Remove casting of fp lock to
4187 _LOCK_RECURSIVE_T.
4188
4189 2004-09-16 Antony King <antony.king@st.com>
4190
4191 * libc/time/tzlock.c: Add default stubs that use generic
4192 locking code.
4193
4194 2004-09-16 Antony King <antony.king@st.com>
4195
4196 * libc/ctype/ctype.tex: Added missing documentation.
4197 * libc/stdio/stdio.tex Ditto.
4198 * libc/stdlib/stdlib.tex Ditto.
4199 * libc/string/strings.tex Ditto.
4200 * libc/time/time.tex: Ditto.
4201 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
4202
4203 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
4204
4205 * libc/reent/impure.c (reent_data): Define as alias to impure_data
4206 when building for Cygwin.
4207 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
4208 _global_impure_ptr.
4209
4210 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
4211
4212 * configure.host: Reverting 2004-09-14 change as fix has occurred on
4213 Cygwin side.
4214 * configure.in: Ditto.
4215 * libc/configure.in: Ditto.
4216 * libc/sys/configure.in: Ditto.
4217 * configure: Ditto.
4218 * libc/configure: Ditto.
4219 * libc/sys/configure: Ditto.
4220 * libc/include/sys/reent.h: Ditto.
4221 * libc/stdlib/__atexit.c: Ditto.
4222 * libc/stdlib/__call_atexit.c: Ditto.
4223 * libc/stdlib/cxa_atexit.c: Ditto.
4224 * libc/stdlib/cxa_finalize.c: Ditto.
4225 * libc/sys/cygwin/Makefile.am: Removed again.
4226 * libc/sys/cygwin/Makefile.in: Ditto.
4227 * libc/sys/cygwin/aclocal.m4: Ditto.
4228 * libc/sys/cygwin/configure: Ditto.
4229 * libc/sys/cygwin/configure.in: Ditto.
4230 * libc/sys/cygwin/dummy.c: Ditto.
4231 * libc/sys/cygwin/sys/reent.h: Ditto.
4232
4233 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
4234
4235 * configure.host: Add Cygwin sys directory.
4236 * configure.in: Do not set CRT0 for cygwin.
4237 * libc/configure.in: Ditto.
4238 * libc/sys/configure.in: Ditto.
4239 * configure: Regenerated.
4240 * libc/configure: Ditto.
4241 * libc/sys/configure: Ditto.
4242 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
4243 * libc/stdlib/__atexit.c: Keep cxa support protected by new
4244 __REENT_HAS_CXA_SUPPORT flag.
4245 * libc/stdlib/__call_atexit.c: Ditto.
4246 * libc/stdlib/cxa_atexit.c: Ditto.
4247 * libc/stdlib/cxa_finalize.c: Ditto.
4248 * libc/sys/cygwin/Makefile.am: New file.
4249 * libc/sys/cygwin/Makefile.in: Ditto.
4250 * libc/sys/cygwin/aclocal.m4: Ditto.
4251 * libc/sys/cygwin/configure: Ditto.
4252 * libc/sys/cygwin/configure.in: Ditto.
4253 * libc/sys/cygwin/dummy.c: Ditto.
4254 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
4255 version of reent.h.
4256
4257 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4258
4259 * libc/iconv/iconv.tex: Updated with new content.
4260 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
4261 instead of NLS_DEFAULT_NLSPATH.
4262 * libc/iconv/lib/iconvnls.h: Fix typo.
4263 * libc/include/sys/iconvnls.h: New file.
4264
4265 2004-09-09 Paul Brook <paul@codesourcery.com>
4266
4267 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
4268 and _is_cxa.
4269 (struct _atexit): Add _next when _REENT_SMALL.
4270 (struct _reent): Add _atexit0 when _REENT_SMALL.
4271 (_REENT_INIT_PTR): Adjust.
4272 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
4273 __call_exit.c.
4274 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
4275 * libc/stdlib/Makefile.in: Regenerate.
4276 * libc/stdlib/__atexit.c: New file.
4277 * libc/stdlib/__call_atexit.c: New file.
4278 * libc/stdlib/atexit.h: Remove old definitions. Add new.
4279 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
4280 * libc/stdlib/cxa_atexit.c: New file.
4281 * libc/stdlib/cxa_finalize.c: New file.
4282 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
4283 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
4284 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
4285 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
4286 _on_exit_args_ptr.
4287
4288 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
4289
4290 * libc/include/sys/unistd.h (getpass): Change prototype to use
4291 const instead of __const.
4292
4293 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
4294
4295 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
4296 #if.
4297
4298 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
4299
4300 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
4301 on linux systems with glibc 2.3.3 installed.
4302 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
4303 profile_fixup so newlib can build on fc3 system.
4304
4305 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
4306
4307 Introduce SH2a support.
4308 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
4309 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
4310 __SH2A_SINGLE_ONLY__, too.
4311 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
4312 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4313 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
4314 2004-02-10 DJ Delorie <dj@redhat.com>
4315 * libc/sys/sh/crt0.S (start_l): Support sh2a.
4316
4317 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
4318
4319 * libc/time/strptime.c: Correct full-name of "March" typo.
4320
4321 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
4322
4323 * configure.host (h8300*-*-*): Default long long printing support.
4324
4325 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
4326
4327 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
4328 calls, if realloc fails, free up buffer as it is no longer
4329 used.
4330
4331 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4332
4333 * libc/iconv/iconv.tex: Updated to represent recent changes.
4334 * libc/iconv/lib/iconv.c: Documentation updated.
4335
4336 2004-07-07 Nick Clifton <nickc@redhat.com>
4337
4338 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
4339 for xStormy16.
4340
4341 2004-07-06 Chris Demetriou <cgd@broadcom.com>
4342
4343 * configure.host (mips*-*-elf*): Default long long printing
4344 support.
4345
4346 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
4347
4348 * libc/Makefile.am (libc.dvi): Add target and specify
4349 same dependencies as libc.info.
4350 * libc/Makefile.in: Regenerated.
4351 * libm/Makefile.am (libm.dvi): Add target and specify
4352 same dependencies as libm.info.
4353 * libm/Makefile.in: Regenerated.
4354
4355 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4356
4357 * acinclude.m4: Move --enable-newlib-iconv option back here.
4358 * configure.in: Remove --enable-newlib-iconv option. Don't
4359 tie iconv support to --enable-newlib-mb.
4360 * aclocal.m4: Regenerated.
4361 * configure: Ditto.
4362 * doc/aclocal.m4, doc/configure: Ditto.
4363 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
4364 * libm/*/aclocal.m4: Ditto.
4365 * libm/*/configure: Ditto.
4366 * libc/*/aclocal.m4: Ditto.
4367 * libc/*/configure: Ditto.
4368
4369 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4370
4371 * acinclude.m4: Move iconv options into configure.in.
4372 * aclocal.m4: Regenerated.
4373 * configure: Ditto.
4374 * configure.in: Add iconv options.
4375 * newlib.hin: Add new iconv encodings and remove deleted ones.
4376 * doc/aclocal.m4: Regenerated.
4377 * doc/configure: Ditto.
4378 * iconvdata/aclocal.m4: Ditto.
4379 * iconvdata/configure: Ditto.
4380 * libc/iconv: Design change. New size-optimized ccs format.
4381 * libc/iconv/AUTHORS: Removed.
4382 * libc/iconv/COPYING: Ditto.
4383 * libc/iconv/README.ORIGINAL: Ditto.
4384 * libc/iconv/README.TODO: Ditto.
4385 * libc/iconv/charset.aliases: Ditto.
4386 * libc/iconv/encoding.aliases: New file.
4387 * libc/iconv/Makefile.am: Updated.
4388 * libc/iconv/Makefile.in: Regenerated.
4389 * libc/iconv/iconv.tex: Updated.
4390 * libc/iconv/ccs/Makefile.am: Ditto.
4391 * libc/iconv/ccs/Makefile.in: Regenerated.
4392 * libc/iconv/ccs/big5.c: Updated.
4393 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4394 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4395 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4396 * libc/iconv/ccs/cp775.c: Ditto.
4397 * libc/iconv/ccs/cp850.c: Ditto.
4398 * libc/iconv/ccs/cp852.c: Ditto.
4399 * libc/iconv/ccs/cp855.c: Ditto.
4400 * libc/iconv/ccs/cp866.c: Ditto.
4401 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4402 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4403 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4404 * libc/iconv/ccs/iconv_mktbl: Ditto.
4405 * libc/iconv/ccs/jis_x0201.c: Ditto.
4406 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4407 * libc/iconv/ccs/shift_jis.c: Ditto.
4408 * libc/iconv/ccs/us_ascii.c: Ditto.
4409 * libc/iconv/ccs/ccs.h: New file.
4410 * libc/iconv/ccs/ccsbi.c: Ditto.
4411 * libc/iconv/ccs/ccsbi.h: Ditto.
4412 * libc/iconv/ccs/ccsnames.h: Ditto.
4413 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4414 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4415 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4416 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4417 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4418 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4419 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4420 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4421 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4422 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4423 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4424 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4425 * libc/iconv/ccs/koi8_ru.c: Ditto.
4426 * libc/iconv/ccs/koi8_uni.c: Ditto.
4427 * libc/iconv/ccs/mktbl.pl: Ditto.
4428 * libc/iconv/ccs/win_1250.c: Ditto.
4429 * libc/iconv/ccs/win_1251.c: Ditto.
4430 * libc/iconv/ccs/win_1252.c: Ditto.
4431 * libc/iconv/ccs/win_1253.c: Ditto.
4432 * libc/iconv/ccs/win_1254.c: Ditto.
4433 * libc/iconv/ccs/win_1255.c: Ditto.
4434 * libc/iconv/ccs/win_1256.c: Ditto.
4435 * libc/iconv/ccs/win_1257.c: Ditto.
4436 * libc/iconv/ccs/win_1258.c: Ditto.
4437 * libc/iconv/ccs/iso_8859_15.c: Updated.
4438 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4439 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4440 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4441 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4442 * libc/iconv/ccs/koi8_r.c: Ditto.
4443 * libc/iconv/ccs/koi8_u.c: Ditto.
4444 * libc/iconv/ccs/ksx1001.c: Ditto.
4445 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4446 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4447 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4448 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4449 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4450 * libc/iconv/ccs/binary/Makefile.am: Updated.
4451 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4452 * libc/iconv/ccs/binary/big5.cct: Updated.
4453 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4454 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4455 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4456 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4457 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4458 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4459 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4460 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4461 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4462 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4463 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4464 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4465 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4466 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4467 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4468 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4469 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4470 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4471 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4472 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4473 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4474 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4475 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4476 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4477 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4478 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4479 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4480 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4481 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4482 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4483 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4484 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4485 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4486 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4487 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4488 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4489 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4490 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4491 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4492 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4493 * libc/iconv/ces/Makefile.am: Updated.
4494 * libc/iconv/ces/Makefile.in: Regenerated.
4495 * libc/iconv/ces/ucs-2-internal.c: Updated.
4496 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4497 * libc/iconv/ces/utf-16.c: Ditto.
4498 * libc/iconv/ces/utf-8.c: Ditto.
4499 * libc/iconv/ces/cesbi.c: New file.
4500 * libc/iconv/ces/cesbi.h: Ditto.
4501 * libc/iconv/ces/cesdeps.h: Ditto.
4502 * libc/iconv/ces/euc.c: Ditto.
4503 * libc/iconv/ces/mkdeps.pl: Ditto.
4504 * libc/iconv/ces/table-pcs.c: Ditto.
4505 * libc/iconv/ces/table.c: Ditto.
4506 * libc/iconv/ces/ucs-2.c: Ditto.
4507 * libc/iconv/ces/ucs-4.c: Ditto.
4508 * libc/iconv/ces/us-ascii.c: Ditto.
4509 * libc/iconv/ces/euc-jp.c: Removed.
4510 * libc/iconv/ces/euc-kr.c: Ditto.
4511 * libc/iconv/ces/euc-tw.c: Ditto.
4512 * libc/iconv/ces/gb2312.c: Ditto.
4513 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4514 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4515 * libc/iconv/lib/Makefile.am: Updated.
4516 * libc/iconv/lib/Makefile.in: Regenerated.
4517 * libc/iconv/lib/endian.h: Updated.
4518 * libc/iconv/lib/iconv.c: Ditto.
4519 * libc/iconv/lib/local.h: Ditto.
4520 * libc/iconv/lib/aliases.c: Removed.
4521 * libc/iconv/lib/bialiasesi.c: Ditto.
4522 * libc/iconv/lib/biccs.c: Ditto.
4523 * libc/iconv/lib/bices.c: Ditto.
4524 * libc/iconv/lib/ccs.c: Ditto.
4525 * libc/iconv/lib/ces.c: Ditto.
4526 * libc/iconv/lib/ces_euc.c: Ditto.
4527 * libc/iconv/lib/ces_iso2022.c: Ditto.
4528 * libc/iconv/lib/ces_table.c: Ditto.
4529 * libc/iconv/lib/converter.c: Ditto.
4530 * libc/iconv/lib/deps.h: Ditto.
4531 * libc/iconv/lib/loaddata.c: Ditto.
4532 * libc/iconv/lib/aliasesbi.c: New file.
4533 * libc/iconv/lib/aliasesi.c: Ditto.
4534 * libc/iconv/lib/conv.h: Ditto.
4535 * libc/iconv/lib/encnames.h: Ditto.
4536 * libc/iconv/lib/encoding.deps: Ditto.
4537 * libc/iconv/lib/iconvnls.c: Ditto.
4538 * libc/iconv/lib/iconvnls.h: Ditto.
4539 * libc/iconv/lib/nullconv.c: Ditto.
4540 * libc/iconv/lib/ucsconv.c: Ditto.
4541 * libc/iconv/lib/ucsconv.h: Ditto.
4542 * libc/include/iconv.h: Update copyright.
4543 * libc/*/aclocal.m4: Regenerated.
4544 * libc/*/configure: Ditto.
4545 * libm/*/aclocal.m4: Ditto.
4546 * libm/*/configure: Ditto.
4547
4548 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
4549
4550 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4551 instead of typedefing jmp_buf.
4552
4553 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4554 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4555 * libc/machine/h8300/defines.h (LEN): New macro.
4556 * libc/machine/h8300/memcpy.S: Add h8sx version.
4557 * libc/machine/h8300/memset.S: Likewise.
4558 * libc/machine/h8300/strcmp.S: Likewise.
4559 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4560 * libc/machine/h8300/h8sx_strcpy.S: New file.
4561 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4562 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4563 __H8300SX__.
4564 * libc/include/machine/setjmp.h: Likewise.
4565 * libc/include/sys/config.h: Likewise.
4566 * libc/machine/h8300/defines.h: Likewise.
4567 * libc/machine/h8300/setjmp.S: Likewise.
4568 * libc/machine/h8300/strcmp.S: Likewise.
4569 * libc/sys/h8300hms/close.S: Likewise.
4570 * libc/sys/h8300hms/fstat.S: Likewise.
4571 * libc/sys/h8300hms/lseek.S: Likewise.
4572 * libc/sys/h8300hms/read.S: Likewise.
4573 * libc/sys/h8300hms/write.S: Likewise.
4574 * libc/sys/h8300hms/crt0.S: Likewise.
4575 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4576 __H8300SX__ is defined.
4577 * libc/sys/h8300hms/setarch.h: Likewise.
4578
4579 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4580
4581 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4582 out change which set _GLOBAL_REENT to _global_impure_ptr until
4583 we understand why Cygwin breaks because of it.
4584
4585 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4586
4587 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4588 __syscall_return macro for systems with vsyscall.
4589
4590 2004-06-11 Antony King <antony.king@st.com>
4591
4592 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4593 _flock_t to be of type _LOCK_RECURSIVE_T.
4594 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4595 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4596 (_global_impure_ptr): New declaration.
4597 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4598 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4599 <sys/reent.h>.
4600 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4601 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4602 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4603 * libc/stdio/fclose.c: Remove casting of fp lock to
4604 _LOCK_RECURSIVE_T.
4605 * libc/stdio/findfp.c: Ditto.
4606 * libc/stdio/fopen.c: Ditto.
4607 * libc/stdio/freopen.c: Ditto.
4608 * libc/stdio/vfprintf.c: Ditto.
4609 * libc/stdio64/fopen64.c: Ditto.
4610 * libc/stdlib/envlock.c: Add default stubs that use generic
4611 locking code.
4612 * libc/stdlib/mlock.c: Ditto.
4613
4614 Jeff Johnston <jjohnstn@redhat.com>
4615 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4616 (_flock_t): Change to be a struct containing a single member
4617 named mutex which is of type __flock_mutex_t.
4618
4619 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4620
4621 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4622 from /usr/include/asm/signal.h instead of kernel sources. Also
4623 default max to 32 if not found in header file.
4624 * libc/sys/linux/Makefile.in: Regenerated.
4625 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4626 systems where __syscall_return is not defined.
4627 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4628 systems to use syscall() function instead of assembler interrupt.
4629
4630 2004-06-09 Toralf Lund <toralf@procaptura.com>
4631
4632 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4633 files from libc/sys/arm to libc/machine/arm.
4634 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4635 library build support for files moved from libc/sys/arm.
4636 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4637 references to access and setjmp.
4638 * configure.host: Add checks for newlib_may_supply_syscalls to
4639 determine whether or not to use sys/arm directory and use
4640 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
4641
4642 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4643
4644 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4645 reset digit flags appropriately after we have discovered "0x".
4646 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4647
4648 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4649
4650 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4651 from here ...
4652 (_VFPRINTF_R): ... to here so all I/O printf routines
4653 are covered.
4654
4655 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4656
4657 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4658 redefinition.
4659 * libc/search/hash.c: Ditto.
4660
4661 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4662
4663 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
4664 (_WANT_IO_LONG_LONG): Ditto.
4665 (_WANT_IO_LONG_DOUBLE): Ditto.
4666 * configure.in: Add new configuration options
4667 --enable-newlib-io-long-long and --enable-newlib-io-long-double
4668 which tie to new defines in newlib.hin.
4669 * configure: Regenerated.
4670 * configure.host: Add checks for new configuration options. Also
4671 fix up check for --enable-newlib-io-pos-args so configuration
4672 option will override any default for a given platform.
4673 Remove defining compiler flags for the _WANT_IO* options.
4674 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
4675 instead of looking for old compiler flags.
4676 * libc/stdio/vfscanf.c: Ditto.
4677 * libc/stdio/vfieeefp.h: Ditto.
4678 * libc/machine/powerpc/vfprintf.c: Ditto.
4679 * libc/machine/powerpc/vfscanf.c: Ditto.
4680
4681 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
4682
4683 * testsuite/include/check.h: Add include of <stdio.h>.
4684
4685 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
4686
4687 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
4688
4689 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4690
4691 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4692 of free.
4693
4694 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4695
4696 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4697 list for reentrant pointer. Call _vfiprintf_r.
4698 * libc/stdio/siprintf.c (_siprintf_r): New function.
4699 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4700 pointer argument. Change all callers. Call _VFPRINTF_R.
4701 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4702 prototypes.
4703
4704 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4705
4706 * libc/include/sys/param.h: Remove endian info and include
4707 <machine/endian.h> instead.
4708 * libc/include/machine/endian.h: New file.
4709 * libc/include/machine/param.h: Ditto.
4710 * libc/machine/arm/machine/endian.h: Ditto.
4711 * libc/machine/arm/machine/param.h: Ditto.
4712 * libc/sys/arm/sys/param.h: Removed.
4713 * libc/sys/sysvi386/sys/param.h: Ditto.
4714 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
4715
4716 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4717
4718 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
4719 multibyte functions return failure for %C, %S, %lc, and %ls
4720 format specifiers.
4721
4722 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4723
4724 * testsuite/include/check.h (CHECK): Add flush of stdout.
4725
4726 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4727
4728 * libc/include/stdio.h (_ungetc_r): New prototype.
4729 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
4730 (__submore): Add reentrant struct pointer argument.
4731 (ungetc): Change to call _ungetc_r.
4732
4733 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4734
4735 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
4736 function pointer argument.
4737 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
4738 to specify function pointer arguments.
4739 (__fwalk, __fwalk_reent): Ditto.
4740
4741 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
4742
4743 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
4744 CT_INT case.
4745
4746 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4747
4748 * configure.in: Define _MB_CAPABLE if mb supported.
4749 * configure: Regenerated.
4750 * configure.host: Remove manual setting of MB_CAPABLE compiler
4751 flag.
4752 * newlib.hin: Add _MB_CAPABLE flag.
4753 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
4754 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
4755 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
4756 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
4757 * libc/ctype/jp2uc.c: Ditto.
4758 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
4759 * libc/locale/locale.c: Ditto
4760 * libc/machine/powerpc/vfscanf.c: Ditto
4761 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
4762 * libc/stdlib/mblen.c: Ditto
4763 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
4764 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
4765 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
4766 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
4767 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
4768 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
4769 * libc/sys/linux/intl/explodename.c: Ditto
4770 * libc/sys/linux/intl/finddomain.c: Ditto
4771 * libc/sys/linux/intl/l10nflist.c: Ditto
4772 * libc/sys/linux/intl/loadmsgcat.c: Ditto
4773 * libc/sys/linux/intl/localealias.c: Ditto
4774
4775 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4776
4777 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
4778 (__svfscanf_r): In integer conversions, leave out leading zeroes
4779 which are not part of a base prefix.
4780 Keep track of width truncation to fit into buf, not counting left-out
4781 zeroes against width till the truncation has been compensated for.
4782 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
4783
4784 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4785
4786 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
4787
4788 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4789
4790 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
4791 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
4792 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
4793 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
4794 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
4795 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
4796 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
4797 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
4798 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
4799 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
4800 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
4801 libc/stdio/getchar.c libc/stdio/getchar_u.c,
4802 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
4803 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
4804 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
4805 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
4806 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
4807 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
4808 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
4809 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
4810 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
4811 libc/stdio/siprintf.c libc/stdio/snprintf.c,
4812 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
4813 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
4814 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
4815 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
4816 libc/stdio/vprintf.c libc/stdio/vscanf.c,
4817 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
4818 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
4819 libc/stdio/wsetup.c: Perform minor formatting changes. Move
4820 copyright notices to top of file, ensure that <_ansi.h> is
4821 included, be consistent with open parentheses, use _DEFUN macro,
4822 include "local.h" where needed, and remove various compiler
4823 warnings.
4824
4825 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
4826
4827 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
4828 (__svfscanf_r): In integer conversions, leave out leading zeroes
4829 which are not part of a base prefix.
4830 Keep track of width truncation to fit into buf, not counting left-out
4831 zeroes against width till the truncation has been compensated for.
4832
4833 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4834
4835 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
4836
4837 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4838
4839 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
4840
4841 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
4842
4843 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
4844 to SUSv3.
4845
4846 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4847
4848 * libc/stdio/fclose.c (_fclose_r): New function.
4849 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
4850 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
4851 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
4852 * libc/include/stdio.h (_fclose_r): New prototype.
4853 * libc/stdio/fopen.c: Fix typo in comment.
4854
4855 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
4856
4857 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
4858 to handle _r reentrant functions.
4859
4860 2004-04-08 Eric Christopher <echristo@redhat.com>
4861
4862 * libc/include/machine/setjmp.h: Fix endif locations.
4863
4864 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4865
4866 * libc/time/strptime.c: Add standard includes to avoid
4867 warning messages at compilation time.
4868
4869 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
4870
4871 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
4872 of file.
4873
4874 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
4875
4876 * libc/machine/h8300/Makefile.am: Reformat slightly.
4877 * libc/machine/h8300/Makefile.in: Regenerate.
4878
4879 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
4880
4881 * libc/stdio/findfp.c (__fp_lock_all): Add call to
4882 __sfp_lock_acquire.
4883 (__fp_unlock_all): Add call to __sfp_lock_release.
4884
4885 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
4886
4887 * libc/stdio/fclose.c (fclose): Protect file pointer list when
4888 releasing a file.
4889 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
4890 fwalk.
4891 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
4892 _flockfile/_funlockfile.
4893 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
4894 to recursive.
4895 Change __lock_acquire/__lock_release calls for __sfp_lock to
4896 __sfp_lock_acquire/__sfp_lock_release throughout.
4897 (std): Make sure that file lock is only initialized once.
4898 (__sfp): Move _file initialization. Initialize file lock.
4899 (__sfp_lock_acquire): New function.
4900 (__sfp_lock_release): Ditto.
4901 (__fp_lock_all): Remove __sfp_lock_acquire call.
4902 (__fp_unlock_all): Remove __sfp_lock_release call.
4903 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
4904 Add calls to _flockfile/_funlockfile. Remove
4905 __lock_init_recursive call.
4906 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
4907 * libc/stdio/fwalk.c (__fwalk): New static function.
4908 (_fwalk): Protect file pointer list. Use __fwalk to walk through
4909 file pointers.
4910 * libc/stdio/local.h: Add defines for
4911 __sfp_lock_acquire/__sfp_lock_release when
4912 single threaded. Add function prototypes otherwise.
4913 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
4914 _flockfile/_funlockfile.
4915 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
4916 Add calls to _flockfile/_funlockfile. Remove
4917 __lock_init_recursive call.
4918 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
4919 list.
4920
4921 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
4922
4923 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
4924 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
4925 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
4926 to be __LOCK_INIT_RECURSIVE.
4927
4928 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
4929
4930 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
4931 _exit.c with _exit.S.
4932 * libc/sys/h8300hms/Makefile.in: Regenerate.
4933 * libc/sys/h8300hms/_exit.c: Remove.
4934 * libc/sys/h8300hms/_exit.S: New.
4935
4936 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
4937
4938 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
4939 Change __sfp_lock to static global.
4940 (__fp_lock): New static function.
4941 (__fp_unlock): Ditto.
4942 (__fp_lock_all): New function.
4943 (__fp_unlock_all): Ditto.
4944
4945 2004-02-10 Christopher Faylor <cgf@redhat.com>
4946
4947 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
4948 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
4949 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
4950 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
4951
4952 2004-02-09 Christopher Faylor <cgf@redhat.com>
4953
4954 * libc/include/time.h (TIMER_RELTIME): New define.
4955
4956 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
4957
4958 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
4959 * libc/stdlib/Makefile.in: Regenerated.
4960
4961 2004-02-08 Christopher Faylor <cgf@redhat.com>
4962
4963 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
4964 * libc/include/sys/reent.h (__getreent): Protect against possibly being
4965 defined.
4966 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
4967
4968 2004-02-05 Paul Brook <paul@codesourcery.com>
4969
4970 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
4971 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
4972
4973 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4974
4975 * NEWS: Update with 1.12.0 info.
4976 * README: Ditto.
4977 * acinclude.m4: Change version number to 1.12.0.
4978 * aclocal.m4: Regenerated.
4979 * configure: Ditto.
4980 * doc/aclocal.m4: Ditto.
4981 * doc/configure: Ditto.
4982 * libc/*/aclocal.m4: Ditto.
4983 * libc/*/configure: Ditto.
4984 * libc/libc.texinfo: Ditto.
4985 * libm/*/aclocal.m4: Ditto.
4986 * libm/*/configure: Ditto.
4987 * libm/libm.texinfo: Ditto.
4988 * libc/sys/linux/shared.ld: Add VERS_1.12.
4989
4990 2004-02-02 Joel Sherrill <joel@oarcorp.com>
4991
4992 * configure.host: Add support for tic4x.
4993 * libc/include/machine/ieeefp.h: Ditto.
4994 * libc/include/machine/setjmp.h: Ditto.
4995 * libc/machine/tic4x/Makefile.am: New file.
4996 * libc/machine/tic4x/configure.in: Ditto.
4997 * libc/machine/tic4x/setjmp.S: Ditto.
4998 * libc/machine/tic4x/aclocal.m4: Generated.
4999 * libc/machine/tic4x/configure: Ditto.
5000 * libc/machine/tic4x/Makefile.in: Ditto.
5001
5002 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
5003
5004 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
5005 file chain on the passed in reentrancy struct if it
5006 is _GLOBAL_REENT.
5007
5008 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5009 Jeff Johnston <jjohnstn@redhat.com>
5010
5011 * libc/iconv/iconv.tex: Updated with more information.
5012
5013 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
5014 Jeff Johnston <jjohnstn@redhat.com>
5015
5016 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5017 struct for std streams and traverse the global reeentrancy
5018 struct for all other streams.
5019
5020 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5021
5022 * libc/stdlib/atexit.c: Protect global atexit list with a
5023 lock when newlib is multithreaded.
5024
5025 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5026
5027 * configure.in: Add support to generate iconv converter flags
5028 for newlib.h
5029 * newlib.hin: Add iconv converter flags.
5030 * configure: Regenerated.
5031 * libc/Makefile.in: Ditto.
5032 * libc/configure.in: Moved iconv converter parsing logic to
5033 top level newlib configure.in.
5034 * libc/configure: Regenerated.
5035 * libc/iconv/Makefile.in: Ditto.
5036 * libc/iconv/README.TODO
5037 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5038 UCS2/UCS4/UTF8.
5039 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5040 newlib.h can be used.
5041 * libc/iconv/ces/Makefile.am: Ditto.
5042 * libc/iconv/lib/Makefile.am: Ditto.
5043 * libc/iconv/ccs/Makefile.in: Regenerated.
5044 * libc/iconv/ces/Makefile.in: Ditto.
5045 * libc/iconv/lib/Makefile.in: Ditto.
5046 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5047 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5048 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5049 defined in newlib.h.
5050 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5051 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5052 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5053 * libc/iconv/ccs/cp775.c: Ditto.
5054 * libc/iconv/ccs/cp850.c: Ditto.
5055 * libc/iconv/ccs/cp852.c: Ditto.
5056 * libc/iconv/ccs/cp855.c: Ditto.
5057 * libc/iconv/ccs/cp866.c: Ditto.
5058 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5059 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5060 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5061 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5062 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5063 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5064 * libc/iconv/ccs/jis_x0201.c: Ditto.
5065 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5066 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5067 * libc/iconv/ccs/koi8_r.c: Ditto.
5068 * libc/iconv/ccs/koi8_u.c: Ditto.
5069 * libc/iconv/ccs/ksx1001.c: Ditto.
5070 * libc/iconv/ccs/shift_jis.c: Ditto.
5071 * libc/iconv/ccs/us_ascii.c: Ditto.
5072 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5073 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5074 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5075 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5076 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5077 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5078 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5079 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5080 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5081 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5082 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5083 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5084 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5085 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5086 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5087 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5088 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5089 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5090 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5091 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5092 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5093 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5094 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5095 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
5096 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
5097 * libc/iconv/ces/euc-kr.c: Ditto.
5098 * libc/iconv/ces/euc-tw.c: Ditto.
5099 * libc/iconv/ces/gb2312.c: Ditto.
5100 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
5101 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5102 * libc/iconv/ces/ucs-2-internal.c: Ditto.
5103 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5104 * libc/iconv/ces/utf-16.c: Ditto.
5105 * libc/iconv/ces/utf-8.c: Ditto.
5106 * libc/iconv/lib/aliases.c: Ditto.
5107 * libc/iconv/lib/biccs.c: Ditto.
5108 * libc/iconv/lib/bices.c: Ditto.
5109 * libc/iconv/lib/ccs.c: Ditto.
5110 * libc/iconv/lib/ces.c: Ditto.
5111 * libc/iconv/lib/ces_euc.c: Ditto.
5112 * libc/iconv/lib/ces_iso2022.c: Ditto.
5113 * libc/iconv/lib/ces_table.c: Ditto.
5114 * libc/iconv/lib/converter.c: Ditto.
5115 * libc/iconv/lib/deps.h: Ditto.
5116 * libc/iconv/lib/endian.h: Ditto.
5117 * libc/iconv/lib/iconv.c: Ditto.
5118 * libc/iconv/lib/loaddata.c: Ditto.
5119 * libc/iconv/lib/local.h: Include newlib.h.
5120 * libc/argz/Makefile.in: Regenerated.
5121 * libc/ctype/Makefile.in: Ditto.
5122 * libc/errno/Makefile.in: Ditto.
5123 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5124 * libc/locale/Makefile.in: Ditto.
5125 * libc/misc/Makefile.in: Ditto.
5126 * libc/posix/Makefile.in: Ditto.
5127 * libc/reent/Makefile.in: Ditto.
5128 * libc/search/Makefile.in: Ditto.
5129 * libc/signal/Makefile.in: Ditto.
5130 * libc/stdio/Makefile.in: Ditto.
5131 * libc/stdio64/Makefile.in: Ditto.
5132 * libc/stdlib/Makefile.in: Ditto.
5133 * libc/string/Makefile.in: Ditto.
5134 * libc/syscalls/Makefile.in: Ditto.
5135 * libc/time/Makefile.in: Ditto.
5136 * libc/unix/Makefile.in: Ditto.
5137 * testsuite/newlib.iconv/iconv.exp: New file.
5138 * testsuite/newlib.iconv/iconvjp.c: Ditto.
5139 * testsuite/newlib.iconv/iconvnm.c: Ditto.
5140 * testsuite/newlib.iconv/iconvru.c: Ditto.
5141
5142 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5143
5144 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
5145 (--enable-newlib-builtin-converters): Ditto.
5146 * configure.in: Add code to set _ICONV_ENABLED flag.
5147 Set _MB_LEN_MAX to 1 if not mb enabled.
5148 * configure: Regenerated.
5149 * aclocal.m4: Ditto.
5150 * Makefile.in: Ditto.
5151 * newlib.hin: Add _ICONV_ENABLED flag.
5152 * libc/Makefile.am: Add support for iconv.
5153 * libc/configure.in: Ditto.
5154 * libc/Makefile.in: Regenerated.
5155 * libc/aclocal.m4: Ditto.
5156 * libc/configure: Ditto.
5157 * libc/libc.texinfo: Add iconv documentation.
5158 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
5159 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
5160 libc/iconv/README.TODO, libc/iconv/charset.aliases,
5161 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
5162 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
5163 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
5164 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
5165 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
5166 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
5167 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
5168 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
5169 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
5170 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
5171 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
5172 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
5173 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
5174 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
5175 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
5176 libc/iconv/ccs/binary/big5.cct,
5177 libc/iconv/ccs/binary/cns11643_plane1.cct,
5178 libc/iconv/ccs/binary/cns11643_plane14.cct,
5179 libc/iconv/ccs/binary/cns11643_plane2.cct,
5180 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
5181 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
5182 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
5183 libc/iconv/ccs/binary/iso_8859_1.cct,
5184 libc/iconv/ccs/binary/iso_8859_15.cct,
5185 libc/iconv/ccs/binary/iso_8859_2.cct,
5186 libc/iconv/ccs/binary/iso_8859_4.cct,
5187 libc/iconv/ccs/binary/iso_8859_5.cct,
5188 libc/iconv/ccs/binary/jis_x0201.cct,
5189 libc/iconv/ccs/binary/jis_x0208_1983.cct,
5190 libc/iconv/ccs/binary/jis_x0212_1990.cct,
5191 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
5192 libc/iconv/ccs/binary/ksx1001.cct,
5193 libc/iconv/ccs/binary/shift_jis.cct,
5194 libc/iconv/ccs/binary/us_ascii.cct,
5195 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
5196 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
5197 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
5198 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
5199 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
5200 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
5201 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
5202 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
5203 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
5204 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
5205 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
5206 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
5207 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
5208 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
5209 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
5210 * libc/sys/linux/include/iconv.h: Ditto.
5211 * libc/include/sys/_types.h (_iconv_t): Added.
5212 * doc/aclocal.m4: Regenerated.
5213 * doc/configure: Ditto.
5214 * doc/Makefile.in: Ditto.
5215 * iconvdata/Makefile.in: Ditto.
5216 * iconvdata/aclocal.m4: Ditto.
5217 * iconvdata/configure: Ditto.
5218 * libc/*aclocal.m4: Ditto.
5219 * libc/*Makefile.in: Ditto.
5220 * libc/*configure: Ditto.
5221 * libm/*aclocal.m4: Ditto.
5222 * libm/*Makefile.in: Ditto.
5223 * libm/*configure: Ditto.
5224
5225 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
5226
5227 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
5228 by a lock when newlib is multithreaded.
5229
5230 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
5231
5232 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
5233 pointer to match C99 spec.
5234 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
5235 dst is NULL. Also fix to not alter src pointer when dst is NULL
5236 and call _mbrtowc_r instead of _mbtowc_r.
5237 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
5238 of _wctomb_r.
5239
5240 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
5241
5242 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
5243 * libc/stdio/freopen.c (freopen): Ditto.
5244
5245 2004-01-16 Christopher Faylor <cgf@redhat.com>
5246
5247 * libc/stdio/vfprintf.c: Add sys/lock.h include.
5248
5249 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
5250
5251 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
5252 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
5253 Add calls to __lock_init_recursive and __lock_close_recursive
5254 instead.
5255
5256 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
5257
5258 * libc/stdio/fclose.c: Include sys/lock.h.
5259 (fclose): Destroy lock when file is closed.
5260 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
5261 member.
5262 * libc/stdio/freopen.c: Include sys/lock.h.
5263 (_freopen_r): Destroy lock when file is closed.
5264 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
5265 _lock member.
5266
5267 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5268
5269 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
5270 Remove warnings.
5271
5272 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5273
5274 * libc/sys/rtems/sys/queue.h: New file.
5275 * libc/include/sys/signal.h: Reflect renumbering of signals to
5276 fit into 32-bit mask.
5277 * libc/include/sys/unistd.h: Add fdatasync() prototype.
5278 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
5279 required. In particular, add the reentrant variants of libc calls.
5280 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
5281
5282 2004-01-06 Mark Mitchell <mark@codesourcery.com>
5283
5284 * libc/sys/arm/syscalls.c (unistd.h): Include it.
5285 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
5286 Similarly for stdout and stderr.
5287
5288 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
5289
5290 * libc/libc.texinfo: Correct escape character for @ sign
5291 so file will be processed by make info. Update copyright years.
5292 * libm/libm.texinfo: Ditto.
5293
5294 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5295
5296 * libc/include/sys/stat.h: No longer include stat-dj.h.
5297 * libc/include/sys/stat-dj.h: Removed.
5298
5299 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5300
5301 * libc/include/wchar.h: Include <sys/reent.h>.
5302
5303 2003-12-05 Christopher Faylor <cgf@redhat.com>
5304
5305 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
5306 when defining _mbrtowc.
5307 * libc/stdlib/mbsinit.c: Ditto.
5308 * libc/stdlib/mbsrtowcs.c: Ditto.
5309 * libc/stdlib/wcrtomb.c: Ditto.
5310 * libc/stdlib/wcsrtombs.c: Ditto.
5311 * libc/stdlib/wctob.c: Ditto.
5312
5313 2003-12-05 Christopher Faylor <cgf@redhat.com>
5314
5315 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
5316 errors when defining _mbrtowc.
5317 * libc/stdlib/mbsinit.c: Ditto.
5318 * libc/stdlib/mbsrtowcs.c: Ditto.
5319
5320 2003-12-05 Christopher Faylor <cgf@redhat.com>
5321
5322 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
5323 errors when defining _mbrtowc.
5324
5325 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5326
5327 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
5328 of mb routines for %lc and %ls support.
5329 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
5330 %ls, and %S support. Remove CYGNUS_NEC markers and
5331 code within.
5332
5333 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
5334
5335 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
5336 _wcrtomb_r, and _wcsrtombs_r.
5337
5338 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
5339
5340 * libc/include/sys/fcntl.h: Don't define struct flock when on
5341 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
5342
5343 2003-11-28 Christopher Faylor <cgf@redhat.com>
5344
5345 * libc/include/sys/signal.h: Use system specific signal file when
5346 building on cygwin.
5347
5348 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5349
5350 * libc/include/stdlib.h (_atoi_r): New prototype.
5351 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
5352
5353 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5354
5355 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
5356 * libc/stdlib/atol.c (_atol_r): New reentrant function.
5357 * libc/stdlib/atoll.c (_atoll_r): Ditto.
5358
5359 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5360 Jeff Johnston <jjohnstn@redhat.com>
5361
5362 * libc/include/stdlib.h (lldiv_t): New type.
5363 (atoll, llabs, lldiv): New prototypes.
5364 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
5365 * libc/stdlib/stdlib.tex: Ditto.
5366 * libc/stdlib/Makefile.in: Regenerated.
5367 * libc/stdlib/atoll.c: New file.
5368 * libc/stdlib/llabs.c: Ditto.
5369 * libc/stdlib/lldiv.c: Ditto.
5370
5371 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
5372
5373 * libc/include/fcntl.h: Declare syscalls only when building newlib.
5374 * libc/include/unistd.h: Ditto.
5375 * libc/include/stat.h: Ditto. Also declare struct stat64.
5376
5377 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5378
5379 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
5380 specifier to use ch instead of *fmt.
5381
5382 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5383
5384 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
5385 code within checks for MB_CAPABLE. For non-mb-capable platforms,
5386 use simple byte logic.
5387
5388 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
5389
5390 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
5391 _strtold routine for processing floats and doubles since it
5392 is not as fast as _strtod_r.
5393
5394 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
5395
5396 * libc/machine/h8300/defines.h : Correct pointer register defines
5397 for normal mode.
5398 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
5399 for normal mode.
5400 * libc/machine/h8300/reg_memcpy.S : Likewise.
5401 * libc/machine/h8300/reg_memset.S : Likewise.
5402 * libc/machine/h8300/strcmp.S : Likewise.
5403
5404 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
5405
5406 * configure.host: Enable positional arguments for printf
5407 family for Cygwin.
5408 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5409 pointer reference for quad_ptr_t.
5410
5411 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5412
5413 * libc/stdio/scanf.c: Don't include local.h more than once.
5414
5415 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
5416
5417 * libc/include/sys/fcntl.h: Declare _open64.
5418 * libc/include/sys/stat.h: Declare _fstat64.
5419 * libc/include/sys/unistd.h: Declare _lseek64.
5420
5421 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
5422
5423 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5424 (setprogname): Ditto.
5425
5426 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5427
5428 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5429 to use (Ebits + 1) which accounts for the sign-bit.
5430
5431 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5432
5433 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
5434 x86 build.
5435 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5436 and set up default flags to pass to aclocal.
5437 * iconvdata/Makefile.in: Regenerated.
5438 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5439 and getpwuid routines.
5440 * libc/sys/linux/Makefile.in: Regenerated.
5441 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5442 applications to link with newlib's shared libc library.
5443 * libc/sys/linux/getpwnam.c: Ditto.
5444 * libc/sys/linux/getpwuid.c: Ditto.
5445 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5446 that were formerly supplied by /usr/include/linux/types.h with
5447 kernel types.
5448 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5449 test _ELIX_LEVEL macro.
5450
5451 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5452
5453 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5454 referring to _NO_LONGLONG macro.
5455
5456 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5457
5458 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5459 in LOG() macro so this will compile on gcc 3.4 and up.
5460 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5461 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5462 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5463 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5464 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5465 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5466 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5467 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5468 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5469 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5470 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5471 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5472 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5473 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5474 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5475 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5476 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5477 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5478 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5479 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5480 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5481 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5482 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5483 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5484 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5485 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5486 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5487 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5488 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5489 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5490 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5491 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5492 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5493 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5494 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5495 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5496
5497 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5498 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5499
5500 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5501 %ls, %S, %lc, and %C format specifiers.
5502 (get_arg): Ditto.
5503 * libc/stdio/sprintf.c: Add documentation regarding new
5504 format specifiers added in vfprintf.c.
5505
5506 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5507
5508 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5509 to make code work as specified in standard.
5510
5511 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5512
5513 * configure.in: Use absolute newlib basedir when forming
5514 CC_FOR_NEWLIB include options.
5515 * configure: Regenerated.
5516
5517 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5518
5519 * libc/string/wcsnlen.c: New file.
5520 * libc/include/wchar.h: Add wcsnlen prototype.
5521 * libc/string/Makefile.am: Add wcsnlen support.
5522 * libc/string/Makefile.in: Regenerated.
5523 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5524
5525 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
5526
5527 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5528
5529 2003-10-20 Bob Wilson <bob.wilson@acm.org>
5530
5531 * libc/locale/locale.c: Use double quotes in code.
5532 * libc/locale/locale.tex: Likewise.
5533 * libc/libc.texinfo: Hyphenate "floating-point".
5534 * libc/machine/necv70/necv70.tex: Likewise.
5535 * libc/stdio/sprintf.c: Likewise.
5536 * libc/stdio/sscanf.c: Likewise.
5537 * libc/stdlib/atof.c: Likewise.
5538 * libc/stdlib/ldtoa.c: Fix comment typo.
5539 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5540 * libc/stdlib/ldiv.c: Likewise.
5541 * libm/common/s_expm1.c: Likewise.
5542 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5543 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5544 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5545 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5546 and "floating-point".
5547 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5548 * libm/math/e_pow.c: Fix comment typo.
5549 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5550 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5551 * libm/math/s_atan.c: Likewise.
5552 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5553 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5554 "floating-point". Use "nonzero".
5555 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5556 * libm/math/w_acos.c: Likewise.
5557 * libm/math/w_acosh.c: Likewise.
5558 * libm/math/w_asin.c: Likewise.
5559 * libm/math/w_atan2.c: Likewise.
5560 * libm/math/w_atanh.c: Likewise.
5561 * libm/math/w_cosh.c: Likewise.
5562 * libm/math/w_exp.c: Likewise.
5563 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5564 version of 2^x in the description.
5565 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5566 * libm/math/w_gamma.c: Likewise.
5567 * libm/math/w_hypot.c: Likewise.
5568 * libm/math/w_j0.c: Likewise.
5569 * libm/math/w_sinh.c: Likewise.
5570 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5571 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5572 "floating-point".
5573 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5574 * libm/mathfp/e_atanh.c: Likewise.
5575 * libm/mathfp/e_hypot.c: Likewise.
5576 * libm/mathfp/er_lgamma.c: Likewise.
5577 * libm/mathfp/s_acos.c: Likewise.
5578 * libm/mathfp/s_asine.c: Likewise.
5579 * libm/mathfp/s_asinh.c: Likewise.
5580 * libm/mathfp/s_atan.c: Likewise.
5581 * libm/mathfp/s_atan2.c: Likewise.
5582 * libm/mathfp/s_atangent.c: Likewise.
5583 * libm/mathfp/s_cosh.c: Likewise.
5584 * libm/mathfp/s_exp.c: Likewise.
5585 * libm/mathfp/s_fmod.c: Likewise.
5586 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5587 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5588 "floating-point". Use "nonzero".
5589 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5590 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5591 * libm/mathfp/s_sineh.c: Likewise.
5592 * libm/mathfp/w_jn.c: Likewise.
5593
5594 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
5595
5596 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5597 lines, to enable parallel make.
5598 * Makefile.in: Rebuilt.
5599
5600 2003-10-14 Christopher Faylor <cgf@redhat.com>
5601
5602 * libc/time/clock.c: Clarify documentation of return value when no
5603 measurement is available.
5604
5605 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5606
5607 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5608 * libm/configure: Regenerate.
5609 * libm/Makefile.in: Ditto.
5610
5611 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5612
5613 * libc/machine/sh/strncpy.S: New file.
5614 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5615 * libc/machine/sh/Makefile.in: Regenerate.
5616
5617 2003-09-11 James E Wilson <wilson@specifixinc.com>
5618
5619 * MAINTAINERS: Update my e-mail address.
5620
5621 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
5622
5623 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5624
5625 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5626
5627 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5628 prototype.
5629 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5630 _simdldcheck(). Also add unsigned cast for index variable in
5631 for loop using sizeof operators.
5632 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5633 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5634 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5635 plus fix shift calculation for determining if there is a
5636 carry from word2.
5637
5638 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
5639
5640 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5641 setgroupent for Cygwin.
5642
5643 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5644
5645 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5646 is different for _REENT_SMALL than when using regular reent
5647 struct.
5648
5649 2003-09-05 Ben Elliston <bje@wasabisystems.com>
5650
5651 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5652 modern versions of GCC issue a warning.
5653
5654 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5655 after continuation characters that induces a warning from modern
5656 versions of GCC.
5657
5658 2003-09-04 Ben Elliston <bje@wasabisystems.com>
5659
5660 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
5661 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
5662
5663 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
5664
5665 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
5666 * libc/stdlib/exit.c : Ditto.
5667 * libc/stdlib/on_exit.c: Ditto.
5668
5669 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
5670
5671 * libc/include/reent.h: Define stat64 as __stat64 when
5672 compiling newlib for Cygwin.
5673
5674 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5675
5676 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
5677 __stat64 when compiling newlib.
5678
5679 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5680
5681 * libc/include/stdio.h: Allow the io64 function prototypes for
5682 Cygwin when compiling newlib.
5683 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
5684 to expose the Cygwin struct __stat64 type.
5685 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
5686 pointer.
5687 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
5688
5689 2003-08-23 Christopher Faylor <cgf@redhat.com>
5690
5691 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5692 definition to fseeko64.
5693
5694 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5695
5696 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5697 * libc/stdio: Globally remove/replace all references to fp->_data.
5698 Replace with _REENT or _GLOBAL_REENT where appropriate.
5699 * libc/stdio/asprintf.c: Ditto.
5700 * libc/stdio/fclose.c: Ditto.
5701 * libc/stdio/fvwrite.c: Ditto.
5702 * libc/stdio/makebuf.c: Ditto.
5703 * libc/stdio/refill.c: Ditto.
5704 * libc/stdio/local.h: Ditto.
5705 * libc/stdio/setvbuf.c: Ditto.
5706 * libc/stdio/sscanf.c: Ditto.
5707 * libc/stdio/stdio.c: Ditto.
5708 * libc/stdio/ungetc.c: Ditto.
5709 * libc/stdio/vfscanf.c: Ditto.
5710 * libc/stdio/vsscanf.c: Ditto.
5711 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
5712 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
5713 * libc/stdio/vsnprintf.c: Ditto.
5714 * libc/stdio/vsprintf.c: Ditto.
5715 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
5716 instead of _REENT to walk file list.
5717 * libc/stdio/fflush.c: Ditto.
5718 * libc/stdio/fgetpos.c: Add reentrant version and have regular
5719 version call reentrant version with _REENT argument.
5720 * libc/stdio/fsetpos.c: Ditto.
5721 * libc/stdio/fseek.c: Ditto.
5722 * libc/stdio/fseeko.c: Ditto.
5723 * libc/stdio/ftell.c: Ditto.
5724 * libc/stdio/ftello.c: Ditto.
5725 * libc/stdio/freopen.c: Ditto.
5726 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
5727 new files to chain. Also use _GLOBAL_REENT pointer for
5728 cleaning up.
5729 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
5730 * libc/stdio/siprintf.c: Ditto.
5731 * libc/stdio/iprintf.c: Ditto.
5732 * libc/stdio/fprintf.c: Ditto.
5733 * libc/stdio/printf.c: Ditto.
5734 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
5735 * libc/stdio/sprintf.c: Ditto.
5736 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
5737 * libc/stdio/rewind.c: Call _fseek_r directly.
5738 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
5739 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
5740 data pointer.
5741 (get_arg): Add extra struct _reent pointer argument.
5742 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
5743 to fp->_data.
5744 * libc/stdio64/fopen64.c: Ditto.
5745 * libc/stdio64/freopen64.c: Ditto.
5746 * libc/stdio64/fsetpos64.c: Ditto.
5747 * libc/stdio64/ftello64.c: Ditto.
5748 * libc/stdio64/local64.h: Ditto.
5749 * libc/stdio64/stdio64.c: Ditto.
5750 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
5751 _fstat64_r for the meantime.
5752
5753 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
5754
5755 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
5756 overflow detection.
5757
5758 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
5759
5760 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
5761 extern "C".
5762
5763 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
5764
5765 * libc/include/math.h: Add prototypes for __signbitf and
5766 __signbitd.
5767
5768 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
5769
5770 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
5771 correct type of conversion when dealing with EUCJP or SJIS.
5772 * libc/ctype/iswblank.c: Ditto.
5773 * libc/ctype/iswcntrl.c: Ditto.
5774 * libc/ctype/iswprint.c: Ditto.
5775 * libc/ctype/iswpunct.c: Ditto.
5776 * libc/ctype/iswspace.c: Ditto.
5777 * libc/ctype/towlower.c: Ditto.
5778 * libc/ctype/towupper.c: Ditto.
5779
5780 2003-07-31 Nick Clifton <nickc@redhat.com>
5781
5782 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
5783 before calling main, in case it saves its argument registers.
5784 Remove reference to deleted v850ea port.
5785 * configure.host: Remove reference to deleted v850ea port.
5786 Do not use -mv850 when building for v850e target. This
5787 prevents the ctbp system register from being initialised.
5788
5789 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
5790
5791 * libc/stdio/vfprintf.c: Set output size to 1 when
5792 we have %f format with precision 0 and # flag not specified.
5793
5794 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
5795
5796 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
5797 .am33_2.
5798
5799 2003-07-25 Christopher Faylor <cgf@redhat.com>
5800
5801 * libc/stdio64/fdopen64.c: Include sys/lock.h.
5802
5803 2003-07-25 Christopher Faylor <cgf@redhat.com>
5804
5805 * configure.host: Find cygwin include directory, when appropriate.
5806
5807 2003-07-24 Christopher Faylor <cgf@redhat.com>
5808
5809 * libc/stdio64/fdopen64.c: New file.
5810 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
5811 * libc/stdio64/Makefile.in: Regenerate.
5812 * libc/include/stdio.h (fdopen64): Define.
5813 * libc/include/stdio.h (_fdopen64_r): Ditto.
5814
5815 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
5816
5817 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
5818 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
5819 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
5820 restore callee-saved FP registers.
5821
5822 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
5823
5824 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
5825 for __sh__.
5826 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
5827 truncate.c.
5828 * libc/sys/sh/Makefile.in: Regenerate.
5829 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
5830 * libc/sys/sh/ftruncate.c: New file.
5831 * libc/sys/sh/truncate.c: Likewise.
5832
5833 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
5834
5835 * libc/include/math.h (nan, nanf): Update prototype to C99.
5836 * libm/common/s_nan.c (nan): Likewise.
5837 * libm/common/s_nanf.c (nanf, nan): Likewise.
5838 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
5839
5840 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
5841
5842 * libc/include/stdbool.h: Removed as this is defined by gcc.
5843
5844 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
5845
5846 * libc/include/stdbool.h: New header file defined by C99.
5847
5848 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5849
5850 * libc/include/sys/types.h (int8_t): Make signed.
5851
5852 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5853
5854 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
5855
5856 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
5857
5858 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
5859 on if we actually created the shared memory file exclusively.
5860
5861 2003-06-27 Joe Vornehm <joev@mitre.org>
5862
5863 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
5864 comparisons to account for unsigned internal value w.
5865
5866 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
5867
5868 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
5869 wrbuf for a non-creating open.
5870
5871 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
5872
5873 * libc/machine/h8300/setarch.h: New.
5874 * libc/machine/h8300/memcpy.S: Use it.
5875 * libc/machine/h8300/memset.S: Likewise.
5876 * libc/machine/h8300/reg_memcpy.S: Likewise.
5877 * libc/machine/h8300/reg_memset.S: Likewise.
5878 * libc/machine/h8300/setjmp.S: Likewise.
5879 * libc/machine/h8300/strcmp.S: Likewise.
5880
5881 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
5882
5883 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
5884 to atexit().
5885
5886 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5887
5888 * configure.host (iq2000): Add tabs.
5889
5890 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5891
5892 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
5893 to handle latest on_exit change.
5894 * libc/sys/linux/Makefile.am: Remove special compilation
5895 for malloc.c and mcheck.c.
5896 * libc/sys/linux/Makefile.in: Regenerated.
5897 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
5898 after including <features.h>.
5899 * libc/sys/linux/mcheck.c: Ditto.
5900 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
5901 for <features.h>.
5902 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
5903 add -DNOT_IN_libc to C flags.
5904 * libc/sys/linux/intl/Makefile.in: Regenerated.
5905 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
5906 * libc/sys/linux/linuxthreads/semaphore.h: Include
5907 <bits/pthreadtypes.h>.
5908 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
5909 including <features.h>.
5910 * libc/sys/linux/sys/lock.h: Ditto.
5911
5912 2003-06-11 Nick Clifton <nickc@redhat.com>
5913
5914 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
5915 _on_exit_args_ptr.
5916
5917 2003-06-10 Stan Cox <scox@redhat.com>
5918 Anthony Green <green@redhat.com>
5919
5920 * configure.host: Add iq2000 support.
5921 * newlib/libc/include/machine/ieeefp.h: Ditto.
5922 * newlib/libc/include/machine/setjmp.h: Ditto.
5923 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
5924 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
5925 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
5926 libc/machine/iq2000/Makefile.in: New files.
5927
5928 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
5929
5930 * libc/sys/h8300hms/setarch.h: New file.
5931 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
5932 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
5933 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
5934 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
5935
5936 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
5937
5938 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
5939 definition.
5940 * libc/argz/argz_add_sep.c: Ditto.
5941 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
5942 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
5943 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
5944 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
5945 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
5946 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
5947 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
5948 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
5949 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
5950 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
5951 * libc/posix/execl.c libc/posix/execle.c: Ditto.
5952 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
5953 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
5954 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
5955 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
5956 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
5957 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
5958 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
5959 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
5960 * libc/search/twalk.c libc/signal/signal.c: Ditto.
5961
5962 2003-06-05 Nick Clifton <nickc@redhat.com>
5963
5964 * libc/include/sys/reent.h (struct _on_exit_args): New
5965 structure containing fields used by the on_exit() function.
5966 (struct _atexit): Include struct _on_exit_args. For
5967 _REENT_SMALL do his via a pointer that is initialised when
5968 needed.
5969 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
5970 structure, if one has been allocated.
5971 * libc/stdlib/atexit.c (atexit): Update indirection to
5972 _fntypes field.
5973 * libc/stdlib/on_exit.c (on_exit): Indirect via the
5974 _on_exit_args structure. For _REENT_SMALL, allocate a
5975 structure if one does not exist.
5976 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
5977 structure.
5978
5979 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
5980
5981 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
5982 * libc/sys/linux/net/Makefile.in: Regenerated.
5983
5984 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
5985
5986 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
5987 * libc/reent/fcntlr.c: Ditto.
5988 * libc/reent/fstat64r.c: Ditto.
5989 * libc/reent/linkr.c: Ditto.
5990 * libc/reent/lseek64r.c: Ditto.
5991 * libc/reent/lseekr.c: Ditto.
5992 * libc/reent/openr.c: Ditto.
5993 * libc/reent/readr.c: Ditto.
5994 * libc/reent/reent.c: Ditto.
5995 * libc/reent/sbrkr.c: Ditto.
5996 * libc/reent/signalr.c: Ditto.
5997 * libc/reent/signgam.c: Ditto.
5998 * libc/reent/statr.c: Ditto.
5999 * libc/reent/timer.c: Ditto.
6000 * libc/reent/unlinkr.c: Ditto.
6001 * libc/reent/writer.c: Ditto.
6002 * libc/syscalls/sysclose.c: Ditto.
6003 * libc/syscalls/sysexecve.c: Ditto.
6004 * libc/syscalls/sysfcntl.c: Ditto.
6005 * libc/syscalls/sysfork.c: Ditto.
6006 * libc/syscalls/sysfstat.c: Ditto.
6007 * libc/syscalls/sysgetpid.c: Ditto.
6008 * libc/syscalls/sysgettod.c: Ditto.
6009 * libc/syscalls/syskill.c: Ditto.
6010 * libc/syscalls/syslink.c: Ditto.
6011 * libc/syscalls/syslseek.c: Ditto.
6012 * libc/syscalls/sysopen.c: Ditto.
6013 * libc/syscalls/sysread.c: Ditto.
6014 * libc/syscalls/syssbrk.c: Ditto.
6015 * libc/syscalls/sysstat.c: Ditto.
6016 * libc/syscalls/systimes.c: Ditto.
6017 * libc/syscalls/sysunlink.c: Ditto.
6018 * libc/syscalls/syswait.c: Ditto.
6019 * libc/syscalls/syswrite.c: Ditto.
6020
6021 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6022
6023 * libc/time/tzset_r.c: Change local variables that are
6024 set via sscanf using the %h format specifier to be unsigned short
6025 instead of int.
6026
6027 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6028
6029 * configure.host: Allow i[34567]86 variant.
6030 * configure.in: Likewise.
6031 * README: Likewise to the docs.
6032 * configure: Regenerated.
6033 * Makefile.in: Ditto.
6034
6035 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6036 Tom Fitzsimmons <fitzsim@redhat.com>
6037
6038 * configure.in: Add iconvdata support for x86 linux.
6039 * configure: Regenerated.
6040 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
6041 library, iconv, and linuxthreads support.
6042 * libc/sys/linux/configure.in: Ditto.
6043 * libc/sys/linux/Makefile.in: Regenerated.
6044 * libc/sys/linux/configure: Ditto.
6045 * iconvdata/EUC-JP.irreversible: New file.
6046 * iconvdata/Makefile.am: Ditto.
6047 * iconvdata/Makefile.in: Ditto.
6048 * iconvdata/SJIS.irreversible: Ditto.
6049 * iconvdata/aclocal.m4: Ditto.
6050 * iconvdata/configure: Ditto.
6051 * iconvdata/configure.in: Ditto.
6052 * iconvdata/dummy.c: Ditto.
6053 * iconvdata/euc-jp.c: Ditto.
6054 * iconvdata/gconv-modules: Ditto.
6055 * iconvdata/jis0201.c: Ditto.
6056 * iconvdata/jis0201.h: Ditto.
6057 * iconvdata/jis0208.c: Ditto.
6058 * iconvdata/jis0208.h: Ditto.
6059 * iconvdata/jis0212.c: Ditto.
6060 * iconvdata/jis0212.h: Ditto.
6061 * iconvdata/sjis.c: Ditto.
6062 * libc/include/errno.h: Protect definition of error_t.
6063 * libc/sys/linux/gethostid.c: New file.
6064 * libc/sys/linux/sethostid.c: Ditto.
6065 * libc/sys/linux/dl/Makefile.am: Ditto.
6066 * libc/sys/linux/dl/Makefile.in: Ditto.
6067 * libc/sys/linux/dl/abi-tag.h: Ditto.
6068 * libc/sys/linux/dl/atomicity.h: Ditto.
6069 * libc/sys/linux/dl/dl-addr.c: Ditto.
6070 * libc/sys/linux/dl/dl-cache.c: Ditto.
6071 * libc/sys/linux/dl/dl-cache.h: Ditto.
6072 * libc/sys/linux/dl/dl-close.c: Ditto.
6073 * libc/sys/linux/dl/dl-debug.c: Ditto.
6074 * libc/sys/linux/dl/dl-deps.c: Ditto.
6075 * libc/sys/linux/dl/dl-dst.h: Ditto.
6076 * libc/sys/linux/dl/dl-error.c: Ditto.
6077 * libc/sys/linux/dl/dl-fini.c: Ditto.
6078 * libc/sys/linux/dl/dl-init.c: Ditto.
6079 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6080 * libc/sys/linux/dl/dl-libc.c: Ditto.
6081 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6082 * libc/sys/linux/dl/dl-load.c: Ditto.
6083 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6084 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6085 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6086 * libc/sys/linux/dl/dl-misc.c: Ditto.
6087 * libc/sys/linux/dl/dl-object.c: Ditto.
6088 * libc/sys/linux/dl/dl-open.c: Ditto.
6089 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6090 * libc/sys/linux/dl/dl-profile.c: Ditto.
6091 * libc/sys/linux/dl/dl-profstub.c: Ditto.
6092 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6093 * libc/sys/linux/dl/dl-runtime.c: Ditto.
6094 * libc/sys/linux/dl/dl-support.c: Ditto.
6095 * libc/sys/linux/dl/dl-sym.c: Ditto.
6096 * libc/sys/linux/dl/dl-version.c: Ditto.
6097 * libc/sys/linux/dl/dlfcn.h: Ditto.
6098 * libc/sys/linux/dl/do-lookup.h: Ditto.
6099 * libc/sys/linux/dl/do-rel.h: Ditto.
6100 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6101 * libc/sys/linux/dl/kernel-features.h: Ditto.
6102 * libc/sys/linux/dl/ldsodefs.h: Ditto.
6103 * libc/sys/linux/dl/libintl.h: Ditto.
6104 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
6105 * libc/sys/linux/dl/unsecvars.h: Ditto.
6106 * libc/sys/linux/iconv/Makefile.am: Ditto.
6107 * libc/sys/linux/iconv/Makefile.in: Ditto.
6108 * libc/sys/linux/iconv/categories.def: Ditto.
6109 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
6110 * libc/sys/linux/iconv/gconv.c: Ditto.
6111 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
6112 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
6113 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
6114 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
6115 * libc/sys/linux/iconv/gconv_close.c: Ditto.
6116 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
6117 * libc/sys/linux/iconv/gconv_db.c: Ditto.
6118 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
6119 * libc/sys/linux/iconv/gconv_int.h: Ditto.
6120 * libc/sys/linux/iconv/gconv_open.c: Ditto.
6121 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6122 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
6123 * libc/sys/linux/iconv/hash-string.h: Ditto.
6124 * libc/sys/linux/iconv/iconv.c: Ditto.
6125 * libc/sys/linux/iconv/iconv.h: Ditto.
6126 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
6127 * libc/sys/linux/iconv/iconv_close.c: Ditto.
6128 * libc/sys/linux/iconv/iconv_open.c: Ditto.
6129 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
6130 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
6131 * libc/sys/linux/iconv/loadinfo.h: Ditto.
6132 * libc/sys/linux/iconv/localeinfo.h: Ditto.
6133 * libc/sys/linux/iconv/loop.c: Ditto.
6134 * libc/sys/linux/iconv/skeleton.c: Ditto.
6135 * libc/sys/linux/iconv/strtab.c: Ditto.
6136 * libc/sys/linux/include/dl-hash.h: Ditto.
6137 * libc/sys/linux/include/dlfcn.h: Ditto.
6138 * libc/sys/linux/include/fnmatch.h: Ditto.
6139 * libc/sys/linux/include/gconv.h: Ditto.
6140 * libc/sys/linux/include/glob.h: Ditto.
6141 * libc/sys/linux/include/hesiod.h: Ditto.
6142 * libc/sys/linux/include/ifaddrs.h: Ditto.
6143 * libc/sys/linux/include/libc_private.h: Ditto.
6144 * libc/sys/linux/include/link.h: Ditto.
6145 * libc/sys/linux/include/namespace.h: Ditto.
6146 * libc/sys/linux/include/netconfig.h: Ditto.
6147 * libc/sys/linux/include/netdb.h: Ditto.
6148 * libc/sys/linux/include/nsswitch.h: Ditto.
6149 * libc/sys/linux/include/regex.h: Ditto.
6150 * libc/sys/linux/include/resolv.h: Ditto.
6151 * libc/sys/linux/include/rune.h: Ditto.
6152 * libc/sys/linux/include/runetype.h: Ditto.
6153 * libc/sys/linux/include/semaphore.h: Ditto.
6154 * libc/sys/linux/include/setlocale.h: Ditto.
6155 * libc/sys/linux/include/un-namespace.h: Ditto.
6156 * libc/sys/linux/include/wordexp.h: Ditto.
6157 * libc/sys/linux/include/arpa/ftp.h: Ditto.
6158 * libc/sys/linux/include/arpa/inet.h: Ditto.
6159 * libc/sys/linux/include/arpa/nameser.h: Ditto.
6160 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
6161 * libc/sys/linux/include/arpa/telnet.h: Ditto.
6162 * libc/sys/linux/include/arpa/tftp.h: Ditto.
6163 * libc/sys/linux/include/net/bpf.h: Ditto.
6164 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
6165 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
6166 * libc/sys/linux/include/net/bridge.h: Ditto.
6167 * libc/sys/linux/include/net/ethernet.h: Ditto.
6168 * libc/sys/linux/include/net/fddi.h: Ditto.
6169 * libc/sys/linux/include/net/if.h: Ditto.
6170 * libc/sys/linux/include/net/if_arc.h: Ditto.
6171 * libc/sys/linux/include/net/if_arp.h: Ditto.
6172 * libc/sys/linux/include/net/if_atm.h: Ditto.
6173 * libc/sys/linux/include/net/if_dl.h: Ditto.
6174 * libc/sys/linux/include/net/if_gif.h: Ditto.
6175 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
6176 * libc/sys/linux/include/net/if_llc.h: Ditto.
6177 * libc/sys/linux/include/net/if_media.h: Ditto.
6178 * libc/sys/linux/include/net/if_mib.h: Ditto.
6179 * libc/sys/linux/include/net/if_ppp.h: Ditto.
6180 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
6181 * libc/sys/linux/include/net/if_slvar.h: Ditto.
6182 * libc/sys/linux/include/net/if_sppp.h: Ditto.
6183 * libc/sys/linux/include/net/if_stf.h: Ditto.
6184 * libc/sys/linux/include/net/if_tap.h: Ditto.
6185 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
6186 * libc/sys/linux/include/net/if_tun.h: Ditto.
6187 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
6188 * libc/sys/linux/include/net/if_types.h: Ditto.
6189 * libc/sys/linux/include/net/if_var.h: Ditto.
6190 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
6191 * libc/sys/linux/include/net/intrq.h: Ditto.
6192 * libc/sys/linux/include/net/iso88025.h: Ditto.
6193 * libc/sys/linux/include/net/net_osdep.h: Ditto.
6194 * libc/sys/linux/include/net/netisr.h: Ditto.
6195 * libc/sys/linux/include/net/pfil.h: Ditto.
6196 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
6197 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
6198 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
6199 * libc/sys/linux/include/net/radix.h: Ditto.
6200 * libc/sys/linux/include/net/raw_cb.h: Ditto.
6201 * libc/sys/linux/include/net/route.h: Ditto.
6202 * libc/sys/linux/include/net/slcompress.h: Ditto.
6203 * libc/sys/linux/include/net/slip.h: Ditto.
6204 * libc/sys/linux/include/net/zlib.h: Ditto.
6205 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
6206 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
6207 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
6208 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
6209 * libc/sys/linux/include/netinet/igmp.h: Ditto.
6210 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
6211 * libc/sys/linux/include/netinet/in.h: Ditto.
6212 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
6213 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
6214 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
6215 * libc/sys/linux/include/netinet/in_var.h: Ditto.
6216 * libc/sys/linux/include/netinet/ip.h: Ditto.
6217 * libc/sys/linux/include/netinet/ip6.h: Ditto.
6218 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
6219 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
6220 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
6221 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
6222 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
6223 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
6224 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
6225 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
6226 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
6227 * libc/sys/linux/include/netinet/tcp.h: Ditto.
6228 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
6229 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
6230 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
6231 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
6232 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
6233 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
6234 * libc/sys/linux/include/netinet/udp.h: Ditto.
6235 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
6236 * libc/sys/linux/include/netinet6/ah.h: Ditto.
6237 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
6238 * libc/sys/linux/include/netinet6/esp.h: Ditto.
6239 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
6240 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
6241 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
6242 * libc/sys/linux/include/netinet6/in6.h: Ditto.
6243 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
6244 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
6245 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
6246 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
6247 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
6248 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
6249 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
6250 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
6251 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
6252 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
6253 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
6254 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
6255 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
6256 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
6257 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
6258 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
6259 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
6260 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
6261 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
6262 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
6263 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
6264 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
6265 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
6266 * libc/sys/linux/include/netns/idp.h: Ditto.
6267 * libc/sys/linux/include/netns/idp_var.h: Ditto.
6268 * libc/sys/linux/include/netns/ns.h: Ditto.
6269 * libc/sys/linux/include/netns/ns_error.h: Ditto.
6270 * libc/sys/linux/include/netns/ns_if.h: Ditto.
6271 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
6272 * libc/sys/linux/include/netns/sp.h: Ditto.
6273 * libc/sys/linux/include/netns/spidp.h: Ditto.
6274 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
6275 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
6276 * libc/sys/linux/include/netns/spp_var.h: Ditto.
6277 * libc/sys/linux/include/rpc/Makefile: Ditto.
6278 * libc/sys/linux/include/rpc/auth.h: Ditto.
6279 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
6280 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
6281 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
6282 * libc/sys/linux/include/rpc/clnt.h: Ditto.
6283 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
6284 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
6285 * libc/sys/linux/include/rpc/des.h: Ditto.
6286 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
6287 * libc/sys/linux/include/rpc/nettype.h: Ditto.
6288 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
6289 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
6290 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
6291 * libc/sys/linux/include/rpc/raw.h: Ditto.
6292 * libc/sys/linux/include/rpc/rpc.h: Ditto.
6293 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
6294 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
6295 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
6296 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
6297 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
6298 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
6299 * libc/sys/linux/include/rpc/svc.h: Ditto.
6300 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
6301 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
6302 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
6303 * libc/sys/linux/include/rpc/types.h: Ditto.
6304 * libc/sys/linux/include/rpc/xdr.h: Ditto.
6305 * libc/sys/linux/intl/Makefile.am: Ditto.
6306 * libc/sys/linux/intl/Makefile.in: Ditto.
6307 * libc/sys/linux/intl/bindtextdom.c: Ditto.
6308 * libc/sys/linux/intl/catgets.c: Ditto.
6309 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
6310 * libc/sys/linux/intl/config.h: Ditto.
6311 * libc/sys/linux/intl/dcgettext.c: Ditto.
6312 * libc/sys/linux/intl/dcigettext.c: Ditto.
6313 * libc/sys/linux/intl/dcngettext.c: Ditto.
6314 * libc/sys/linux/intl/dgettext.c: Ditto.
6315 * libc/sys/linux/intl/dngettext.c: Ditto.
6316 * libc/sys/linux/intl/explodename.c: Ditto.
6317 * libc/sys/linux/intl/finddomain.c: Ditto.
6318 * libc/sys/linux/intl/gettext.c: Ditto.
6319 * libc/sys/linux/intl/gettext.h: Ditto.
6320 * libc/sys/linux/intl/gettextP.h: Ditto.
6321 * libc/sys/linux/intl/hash-string.h: Ditto.
6322 * libc/sys/linux/intl/l10nflist.c: Ditto.
6323 * libc/sys/linux/intl/loadinfo.h: Ditto.
6324 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
6325 * libc/sys/linux/intl/locale.alias: Ditto.
6326 * libc/sys/linux/intl/localealias.c: Ditto.
6327 * libc/sys/linux/intl/ngettext.c: Ditto.
6328 * libc/sys/linux/intl/open_catalog.c: Ditto.
6329 * libc/sys/linux/intl/plural.c: Ditto.
6330 * libc/sys/linux/intl/plural.y: Ditto.
6331 * libc/sys/linux/intl/stpcpy.c: Ditto.
6332 * libc/sys/linux/intl/textdomain.c: Ditto.
6333 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
6334 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6335 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
6336 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
6337 * libc/sys/linux/linuxthreads/attr.c: Ditto.
6338 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
6339 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
6340 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
6341 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
6342 * libc/sys/linux/linuxthreads/config.h: Ditto.
6343 * libc/sys/linux/linuxthreads/configure: Ditto.
6344 * libc/sys/linux/linuxthreads/configure.in: Ditto.
6345 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
6346 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
6347 * libc/sys/linux/linuxthreads/events.c: Ditto.
6348 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
6349 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
6350 * libc/sys/linux/linuxthreads/internals.h: Ditto.
6351 * libc/sys/linux/linuxthreads/join.c: Ditto.
6352 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
6353 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
6354 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
6355 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
6356 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
6357 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
6358 * libc/sys/linux/linuxthreads/manager.c: Ditto.
6359 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
6360 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
6361 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
6362 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
6363 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
6364 * libc/sys/linux/linuxthreads/prio.c: Ditto.
6365 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
6366 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
6367 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
6368 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
6369 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
6370 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
6371 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
6372 * libc/sys/linux/linuxthreads/queue.h: Ditto.
6373 * libc/sys/linux/linuxthreads/reent.c: Ditto.
6374 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
6375 * libc/sys/linux/linuxthreads/restart.h: Ditto.
6376 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
6377 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
6378 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
6379 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
6380 * libc/sys/linux/linuxthreads/signals.c: Ditto.
6381 * libc/sys/linux/linuxthreads/specific.c: Ditto.
6382 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
6383 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
6384 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
6385 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
6386 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6387 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
6388 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6389 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6390 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6391 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6392 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6393 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6394 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6395 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6396 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6397 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6398 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6399 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6400 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6401 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6402 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6403 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6404 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6405 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6406 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6407 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6408 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6409 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6410 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6411 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6412 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6413 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6414 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6415 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6416 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6417 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6418 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6419 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6420 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6421 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6422 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6423 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6424 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6425 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6426 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6427 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6428 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6429 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6430 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6431 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6432 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6433 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6434 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6435 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6436 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6437 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6438 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6439 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6440 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6441 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6442 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6443 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6444 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6445 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6446 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6447 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6448 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6449 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6450 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6451 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6452 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6453 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6454 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6455 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6456 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6457 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6458 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6459 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6460 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6461 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6462 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6463 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6464 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6465 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6466 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6467 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6468 * libc/sys/linux/net/Makefile.am: Ditto.
6469 * libc/sys/linux/net/Makefile.in: Ditto.
6470 * libc/sys/linux/net/addr2ascii.3: Ditto.
6471 * libc/sys/linux/net/addr2ascii.c: Ditto.
6472 * libc/sys/linux/net/ascii2addr.c: Ditto.
6473 * libc/sys/linux/net/base64.c: Ditto.
6474 * libc/sys/linux/net/bindresvport.c: Ditto.
6475 * libc/sys/linux/net/byteorder.3: Ditto.
6476 * libc/sys/linux/net/ether_addr.c: Ditto.
6477 * libc/sys/linux/net/ethers.3: Ditto.
6478 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6479 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6480 * libc/sys/linux/net/gethostbydns.c: Ditto.
6481 * libc/sys/linux/net/gethostbyht.c: Ditto.
6482 * libc/sys/linux/net/gethostbyname.3: Ditto.
6483 * libc/sys/linux/net/gethostbynis.c: Ditto.
6484 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6485 * libc/sys/linux/net/getifaddrs.3: Ditto.
6486 * libc/sys/linux/net/getifaddrs.c: Ditto.
6487 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6488 * libc/sys/linux/net/getnameinfo.3: Ditto.
6489 * libc/sys/linux/net/getnameinfo.c: Ditto.
6490 * libc/sys/linux/net/getnetbydns.c: Ditto.
6491 * libc/sys/linux/net/getnetbyht.c: Ditto.
6492 * libc/sys/linux/net/getnetbynis.c: Ditto.
6493 * libc/sys/linux/net/getnetent.3: Ditto.
6494 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6495 * libc/sys/linux/net/getproto.c: Ditto.
6496 * libc/sys/linux/net/getprotoent.3: Ditto.
6497 * libc/sys/linux/net/getprotoent.c: Ditto.
6498 * libc/sys/linux/net/getprotoname.c: Ditto.
6499 * libc/sys/linux/net/getservbyname.c: Ditto.
6500 * libc/sys/linux/net/getservbyport.c: Ditto.
6501 * libc/sys/linux/net/getservent.3: Ditto.
6502 * libc/sys/linux/net/getservent.c: Ditto.
6503 * libc/sys/linux/net/herror.c: Ditto.
6504 * libc/sys/linux/net/hesiod.3: Ditto.
6505 * libc/sys/linux/net/hesiod.c: Ditto.
6506 * libc/sys/linux/net/if_indextoname.3: Ditto.
6507 * libc/sys/linux/net/ifname.c: Ditto.
6508 * libc/sys/linux/net/inet.3: Ditto.
6509 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6510 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6511 * libc/sys/linux/net/inet_addr.c: Ditto.
6512 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6513 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6514 * libc/sys/linux/net/inet_net.3: Ditto.
6515 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6516 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6517 * libc/sys/linux/net/inet_neta.c: Ditto.
6518 * libc/sys/linux/net/inet_netof.c: Ditto.
6519 * libc/sys/linux/net/inet_network.c: Ditto.
6520 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6521 * libc/sys/linux/net/inet_ntop.c: Ditto.
6522 * libc/sys/linux/net/inet_pton.c: Ditto.
6523 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6524 * libc/sys/linux/net/ip6opt.c: Ditto.
6525 * libc/sys/linux/net/iso_addr.3: Ditto.
6526 * libc/sys/linux/net/iso_addr.c: Ditto.
6527 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6528 * libc/sys/linux/net/linkaddr.3: Ditto.
6529 * libc/sys/linux/net/linkaddr.c: Ditto.
6530 * libc/sys/linux/net/map_v4v6.c: Ditto.
6531 * libc/sys/linux/net/name6.c: Ditto.
6532 * libc/sys/linux/net/namespace.h: Ditto.
6533 * libc/sys/linux/net/ns.3: Ditto.
6534 * libc/sys/linux/net/ns_addr.c: Ditto.
6535 * libc/sys/linux/net/ns_name.c: Ditto.
6536 * libc/sys/linux/net/ns_netint.c: Ditto.
6537 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6538 * libc/sys/linux/net/ns_parse.c: Ditto.
6539 * libc/sys/linux/net/ns_print.c: Ditto.
6540 * libc/sys/linux/net/ns_ttl.c: Ditto.
6541 * libc/sys/linux/net/nsap_addr.c: Ditto.
6542 * libc/sys/linux/net/nsdispatch.3: Ditto.
6543 * libc/sys/linux/net/nsdispatch.c: Ditto.
6544 * libc/sys/linux/net/nslexer.c: Ditto.
6545 * libc/sys/linux/net/nslexer.l: Ditto.
6546 * libc/sys/linux/net/nsparser.c: Ditto.
6547 * libc/sys/linux/net/nsparser.h: Ditto.
6548 * libc/sys/linux/net/nsparser.y: Ditto.
6549 * libc/sys/linux/net/rcmd.3: Ditto.
6550 * libc/sys/linux/net/rcmd.c: Ditto.
6551 * libc/sys/linux/net/rcmdsh.3: Ditto.
6552 * libc/sys/linux/net/rcmdsh.c: Ditto.
6553 * libc/sys/linux/net/recv.c: Ditto.
6554 * libc/sys/linux/net/res_comp.c: Ditto.
6555 * libc/sys/linux/net/res_config.h: Ditto.
6556 * libc/sys/linux/net/res_data.c: Ditto.
6557 * libc/sys/linux/net/res_debug.c: Ditto.
6558 * libc/sys/linux/net/res_init.c: Ditto.
6559 * libc/sys/linux/net/res_mkquery.c: Ditto.
6560 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6561 * libc/sys/linux/net/res_query.c: Ditto.
6562 * libc/sys/linux/net/res_send.c: Ditto.
6563 * libc/sys/linux/net/res_update.c: Ditto.
6564 * libc/sys/linux/net/resolver.3: Ditto.
6565 * libc/sys/linux/net/rthdr.c: Ditto.
6566 * libc/sys/linux/net/send.c: Ditto.
6567 * libc/sys/linux/net/un-namespace.h: Ditto.
6568 * libc/sys/linux/net/vars.c: Ditto.
6569 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6570 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6571 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6572 * libc/sys/linux/stdlib/cclass.h: Ditto.
6573 * libc/sys/linux/stdlib/cname.h: Ditto.
6574 * libc/sys/linux/stdlib/collate.c: Ditto.
6575 * libc/sys/linux/stdlib/collate.h: Ditto.
6576 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6577 * libc/sys/linux/stdlib/engine.c: Ditto.
6578 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6579 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6580 * libc/sys/linux/stdlib/glob.3: Ditto.
6581 * libc/sys/linux/stdlib/glob.c: Ditto.
6582 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6583 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6584 * libc/sys/linux/stdlib/regerror.c: Ditto.
6585 * libc/sys/linux/stdlib/regex.3: Ditto.
6586 * libc/sys/linux/stdlib/regex2.h: Ditto.
6587 * libc/sys/linux/stdlib/regexec.c: Ditto.
6588 * libc/sys/linux/stdlib/regfree.c: Ditto.
6589 * libc/sys/linux/stdlib/utils.h: Ditto.
6590 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6591 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6592 * libc/sys/linux/sys/dlfcn.h: Ditto.
6593 * libc/sys/linux/sys/elfclass.h: Ditto.
6594 * libc/sys/linux/sys/event.h: Ditto.
6595 * libc/sys/linux/sys/ioccom.h: Ditto.
6596 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6597 * libc/sys/linux/sys/link.h: Ditto.
6598 * libc/sys/linux/sys/lock.h: Ditto.
6599 * libc/sys/linux/sys/param.h: Ditto.
6600 * libc/sys/linux/sys/socket.h: Ditto.
6601 * libc/sys/linux/sys/sockio.h: Ditto.
6602
6603 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
6604
6605 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
6606 normal mode
6607 * newlib/libc/machine/h8300/memset.S: Likewise
6608 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6609 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6610 * newlib/lib/machine/h8300/setjmp.S: Likewise
6611 * newlib/lib/machine/h8300/strcmp.S: Likewise
6612 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6613
6614 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6615
6616 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6617 * libc/include/stdio.h: Ditto.
6618 * libc/include/sys/config.h: Ditto.
6619 * libc/stdio/mktemp.c: Ditto.
6620
6621 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6622
6623 * libc/locale/ldpart.c (__part_load_locale): Substitute
6624 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6625 * libc/search/hash.c (__hash_open): Ditto.
6626 (init_hash): Ditto.
6627 * libc/stdio/fseek.c (fseek): Ditto.
6628 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6629 * libc/stdio/mktemp.c (_gettemp): Ditto.
6630
6631 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6632
6633 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6634
6635 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6636
6637 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6638 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6639 if __CYGWIN_USE_BIG_TYPES__ is set.
6640 * libc/search/hash.c (__hash_open): Ditto.
6641 (init_hash): Ditto.
6642 * libc/stdio/fseek.c (fseek): Ditto.
6643 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6644 * libc/stdio/mktemp.c (_gettemp): Ditto.
6645 * libc/sys/cygwin/Makefile.am: Remove.
6646 * libc/sys/cygwin/Makefile.in: Remove.
6647 * libc/sys/cygwin/aclocal.m4: Remove.
6648 * libc/sys/cygwin/configure: Remove.
6649 * libc/sys/cygwin/configure.in: Remove.
6650 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6651 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6652 directory.
6653 * libc/sys/cygwin/sys/param.h: Ditto.
6654 * libc/sys/cygwin/sys/utime.h: Ditto.
6655 * libc/sys/cygwin/sys/utmp.h: Ditto.
6656
6657 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
6658
6659 * libc/include/sys/types.h: Don't define key_t for Cygwin.
6660
6661 2003-05-10 Christopher Faylor <cgf@redhat.com>
6662
6663 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
6664 64 bit inodes.
6665
6666 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
6667
6668 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
6669 Include cygwin/config.h instead.
6670
6671 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
6672
6673 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
6674 all code with #ifdef __SPE__ test.
6675 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
6676
6677 2003-04-15 Chris January <chris@atomice.net>
6678
6679 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
6680 Cygwin.
6681
6682 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
6683
6684 * libc/machine/sh/memset.S: Avoid clobbering volatile
6685 objects following a tiny to-be-set array in the same quadword.
6686
6687 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
6688
6689 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
6690 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
6691 * libc/string/Makefile.in: Regenerated.
6692 * libc/string/wcswidth.c: New file.
6693 * libc/string/wcwidth.c: New file.
6694 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6695
6696 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6697
6698 * libc/machine/sh/memset.S: Fix problem with alloco region
6699 exceeding destination region for length >= 88 bytes, start
6700 & 0x16 == 0, end & 0x1f == 18.
6701
6702 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
6703
6704 * libc/string/wcscoll.c: Fix comment.
6705
6706 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
6707
6708 * libc/include/wchar.h: Add definition for wcscoll.
6709 * libc/string/Makefile.am: Add wcscoll.c.
6710 * libc/string/Makefile.in: Regenerated.
6711 * libc/string/wcscoll.c: New file.
6712 * libc/string/wcstrings.tex: Add wcscoll.
6713
6714 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6715
6716 * libc/stdio/sscanf.c: Update flags description.
6717 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
6718 type.
6719 (__svfscanf_r): Add 'hh' and 'll' handling.
6720
6721 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6722
6723 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
6724 __d_position member to _off_t.
6725
6726 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
6727
6728 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
6729 count all characters used to create number against maximum width.
6730 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6731
6732 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6733
6734 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
6735 support.
6736 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
6737 flag to support simulator only extensions.
6738
6739 2003-03-17 Bob Cassels <bcassels@abinitio.com>
6740
6741 * libc/string/wcschr.c: (wcschr): Look for character first,
6742 then for end of string, so you can do wcschr(x, '\0').
6743
6744 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
6745
6746 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
6747 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
6748 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
6749 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
6750 * libc/stdio/fseeko.c (fseeko): Ditto.
6751 * libc/stdio/ftello.c (ftello): Ditto.
6752 * libc/stdio/stdio.c (__swrite): Ditto.
6753 (__sseek): Ditto.
6754 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
6755 * libc/stdio/fseek.c (fseek): Ditto.
6756 * libc/stdio/fsetpos.c (fsetpos): Ditto.
6757 * libc/stdio/ftell.c (ftell): Ditto.
6758 * libc/stdio/local.h: Declare __sseek using _off_t.
6759
6760 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6761
6762 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
6763
6764 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6765
6766 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
6767 Cygwin.
6768
6769 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6770
6771 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
6772 Cygwin.
6773 * libc/include/sys/stat.h: Ditto.
6774 * libc/include/sys/unistd.h: Ditto.
6775 * libc/sys/cygwin/sys/dirent.h: Ditto.
6776
6777 2003-03-07 Christopher Faylor <cgf@redhat.com>
6778
6779 * libc/include/sys/unistd.h: Guard getopt.h call to force only
6780 declaration of getopt and avoid getopt_long declaration.
6781 * libc/sys/cygwin/include/unistd.h: Remove.
6782
6783 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
6784
6785 * configure.host: Define stdio64_dir for Cygwin.
6786 * libc/include/stdio.h: Change definition of fpos_t to fulfill
6787 Cygwin 64bit file access requirements.
6788 Drop definition of f*64() functions when compiled for Cygwin.
6789 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
6790 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
6791 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
6792
6793 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
6794
6795 * libc/include/sys/reent.h: Remove extraneous _sig_func
6796 declaration.
6797
6798 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6799
6800 * libc/sys/h8300hms/Makefile.am: Add support for new files.
6801 * libc/sys/h8300hms/Makefile.in: Regenerated.
6802 * libc/sys/h8300hms/close.S: New file.
6803 * libc/sys/h8300hms/fstat.S: Ditto.
6804 * libc/sys/h8300hms/lseek.S: Ditto.
6805 * libc/sys/h8300hms/open.S: Ditto.
6806 * libc/sys/h8300hms/stat.S: Ditto.
6807 * libc/sys/h8300hms/read.S: New file to replace read.c.
6808 * libc/sys/h8300hms/read.c: Removed.
6809 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
6810 _lseek, _close, _stat, _fstat.
6811 * libc/sys/h8300hms/write.S: New file to replace write.c.
6812 * libc/sys/h8300hms/write.c: Removed.
6813
6814 2003-02-20 Nick Clifton <nickc@redhat.com>
6815
6816 * Add support for Cirrus Maverick ARM co-processor:
6817
6818 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
6819
6820 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
6821 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
6822
6823 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
6824
6825 * configure.host: set sys_dir, syscall_dir, and
6826 newlib_cflags for ep9312 host.
6827
6828 * configure.host: Restore alpha sorting of entries in case
6829 statements.
6830
6831 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
6832
6833 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
6834
6835 2003-02-18 Christian Groessler <chris@groessler.org>
6836
6837 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
6838 support z8001 segmented mode.
6839
6840 2003-02-18 Earnie Boyd <earnie@users.sf.net>
6841
6842 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
6843 with a NULL value.
6844
6845 2003-02-10 Christopher Faylor <cgf@redhat.com>
6846
6847 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
6848 Don't define some types under cygwin.
6849
6850 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
6851
6852 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
6853 option to allow disabling of syscalls being supplied in newlib.
6854 * aclocal.m4: Regenerated.
6855 * configure: Ditto.
6856 * configure.host: Add support of new configuration option and add
6857 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
6858 * doc/aclocal.m4: Regenerated.
6859 * doc/configure: Ditto.
6860 * libc/*aclocal.m4: Ditto.
6861 * libc/*configure: Ditto.
6862 * libm/*aclocal.m4: Ditto.
6863 * libm/*configure: Ditto.
6864 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
6865 is disabled.
6866 * libc/sys/arm/Makefile.in: Regenerated.
6867
6868 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
6869
6870 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
6871 -1 to be sure it cannot later match a valid file fd causing
6872 isatty() to return 1.
6873 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
6874 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
6875 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
6876
6877 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
6878
6879 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
6880 buffer based on the precision, after we have processed the input value
6881 in a local buffer and know its relative magnitude.
6882
6883 2003-01-31 Michael Snyder <msnyder@redhat.com>
6884
6885 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
6886 into registers r1 and r2, so that the simulator can distinguish
6887 this trap from a breakpoint trap. Copied from libgloss.
6888
6889 2003-01-31 Michael Snyder <msnyder@redhat.com>
6890
6891 * libc/sys/h8300hms/crt0.S (_start): Change local label
6892 from .loop to .Loop, so that ld and gdb will ignore it.
6893
6894 2003-01-29 Jason Tishler <jason@tishler.net>
6895
6896 * libc/include/time.h: Declare nanosleep() under Cygwin.
6897
6898 2003-01-24 Nick Clifton <nickc@redhat.com>
6899
6900 * Add sh2e support:
6901
6902 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
6903
6904 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
6905 * libc/machine/sh/setjmp.S: Likewise.
6906 * libc/include/machine/ieeefp.h: Likewise.
6907
6908 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
6909
6910 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
6911 for Cygwin.
6912
6913 2003-01-21 Anita Kulkarni <anitak@kpit.com>
6914
6915 * libc/time/difftime.c : Typecast the result to double.
6916
6917 2003-01-20 Christopher Faylor <cgf@redhat.com>
6918
6919 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
6920
6921 2003-01-18 Nick Clifton <nickc@redhat.com>
6922
6923 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
6924 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
6925
6926 2003-01-16 Joel Sherrill <joel@OARcorp.com>
6927
6928 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
6929 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
6930 constants are defined in each file in the shared versions in
6931 libc/include.
6932 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
6933 autoconf can link programs.
6934 * libc/include/machine/types.h: Explicitly specify signed on
6935 intXX_t types to ensure they are signed.
6936
6937 2003-01-14 Christopher Faylor <cgf@redhat.com>
6938
6939 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
6940 extensions.
6941
6942 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
6943
6944 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
6945
6946 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
6947
6948 * libc/stdio/sprintf.c: fix typo
6949 * libc/stdio/vfprintf.c: fix typo
6950
6951 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
6952
6953 * configure.host: Support long double I/O for x86-linux.
6954 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
6955 large enough to hold formatted result.
6956 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
6957
6958 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6959
6960 * Makefile.am: Add vasprintf.
6961 * Makefile.in: Regenerated.
6962
6963 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6964
6965 * asprintf.c (_asprintf_r): insure both declarations
6966 are the same.
6967
6968 2002-12-28 Christopher Faylor <cgf@redhat.com>
6969
6970 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
6971 than defining getopt directly.
6972
6973 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6974
6975 * NEWS: Update with 1.11.0 info.
6976 * README: Ditto.
6977 * acinclude.m4: Change version number to 1.11.0.
6978 * aclocal.m4: Regenerated.
6979 * configure: Ditto.
6980 * doc/aclocal.m4: Ditto.
6981 * doc/configure: Ditto.
6982 * libc/*/aclocal.m4: Ditto.
6983 * libc/*/configure: Ditto.
6984 * libc/libc.texinfo: Ditto.
6985 * libm/*/aclocal.m4: Ditto.
6986 * libm/*/configure: Ditto.
6987 * libm/libm.texinfo: Ditto.
6988 * libc/sys/linux/shared.ld: Add VERS_1.11.
6989
6990 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6991
6992 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
6993 Solutions to Red Hat Inc.
6994 * libc/machine/i386/f_atan2f.S: Ditto.
6995 * libc/machine/i386/f_exp.c: Ditto.
6996 * libc/machine/i386/f_expf.c: Ditto.
6997 * libc/machine/i386/f_frexp.S: Ditto.
6998 * libc/machine/i386/f_frexpf.S: Ditto.
6999 * libc/machine/i386/f_ldexp.S: Ditto.
7000 * libc/machine/i386/f_ldexpf.S: Ditto.
7001 * libc/machine/i386/f_log.S: Ditto.
7002 * libc/machine/i386/f_log10.S: Ditto.
7003 * libc/machine/i386/f_log10f.S: Ditto.
7004 * libc/machine/i386/f_logf.S: Ditto.
7005 * libc/machine/i386/f_pow.c: Ditto.
7006 * libc/machine/i386/f_powf.c: Ditto.
7007 * libc/machine/i386/f_tan.S: Ditto.
7008 * libc/machine/i386/f_tanf.S: Ditto.
7009 * libc/machine/i386/memchr.S: Ditto.
7010 * libc/machine/i386/memcmp.S: Ditto.
7011 * libc/machine/i386/memcpy.S: Ditto.
7012 * libc/machine/i386/memmove.S: Ditto.
7013 * libc/machine/i386/memset.S: Ditto.
7014 * libc/machine/i386/strchr.S: Ditto.
7015 * libc/machine/i386/strlen.S: Ditto.
7016 * libm/machine/i386/f_atan2.S: Ditto.
7017 * libm/machine/i386/f_atan2f.S: Ditto.
7018 * libm/machine/i386/f_exp.c: Ditto.
7019 * libm/machine/i386/f_expf.c: Ditto.
7020 * libm/machine/i386/f_frexp.S: Ditto.
7021 * libm/machine/i386/f_frexpf.S: Ditto.
7022 * libm/machine/i386/f_ldexp.S: Ditto.
7023 * libm/machine/i386/f_ldexpf.S: Ditto.
7024 * libm/machine/i386/f_log.S: Ditto.
7025 * libm/machine/i386/f_log10.S: Ditto.
7026 * libm/machine/i386/f_log10f.S: Ditto.
7027 * libm/machine/i386/f_logf.S: Ditto.
7028 * libm/machine/i386/f_pow.c: Ditto.
7029 * libm/machine/i386/f_powf.c: Ditto.
7030 * libm/machine/i386/f_tan.S: Ditto.
7031 * libm/machine/i386/f_tanf.S: Ditto.
7032
7033 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7034
7035 * libc/stdlib/environ.c: Update license to Red Hat.
7036 * libc/machine/hppa/setjmp.S: Ditto.
7037 * libm/test/Makefile.in: Ditto.
7038
7039 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7040
7041 * configure.host: Remove references to go32.
7042 * libc/sys/go32/*: Removed.
7043
7044 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7045
7046 * libc/include/sys/config.h: Change setting of INT_MAX
7047 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7048 __H8300S__. Also consolidate flag settings for these
7049 platforms.
7050
7051 2002-12-10 Joel Sherrill <joel@OARcorp.com>
7052
7053 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7054 for i386-rtems targets.
7055
7056 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7057
7058 * libc/include/stdlib.h (strtof): New prototype (from C99).
7059 (strtodf): Changed from prototype to macro which redefines
7060 to strtof.
7061 * libc/stdlib/atof.c: Change documentation to refer to strtof
7062 instead of strtodf.
7063 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7064 strtodf.
7065 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7066 (strtof): New function.
7067 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7068 calls strtof.
7069
7070 2002-11-27 Christopher Faylor <cgf@redhat.com>
7071
7072 * libc/string/memset.c (memset): Fix comment.
7073
7074 2002-11-26 Christopher Faylor <cgf@redhat.com>
7075
7076 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7077 function.
7078
7079 2002-11-25 Christopher Faylor <cgf@redhat.com>
7080
7081 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7082 variable, introduced below, everywhere.
7083
7084 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7085
7086 * libc/string/memset.c (memset): Make it safe even if
7087 sizeof (int) = 2.
7088
7089 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
7090
7091 * configure.in: Change check for libc/include in ${CC} to
7092 use an intermediate value so as to work with different shells.
7093 * configure: Regenerated.
7094 * Makefile.in: Ditto.
7095
7096 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
7097
7098 * libc/sys/h8300hms/read.c: Add support for normal mode
7099 architecture.
7100
7101 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
7102
7103 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
7104 code for __H8300H__ and __H8300S__. Also return 32-bit return code
7105 when -mint32 is used.
7106
7107 2002-11-18 Nick Clifton <nickc@redhat.com>
7108
7109 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
7110
7111 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
7112
7113 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
7114 only issue one pass/fail message for a compile/link/execute.
7115 * testsuite/newlib.elix/elix.exp: New file.
7116 * testsuite/newlib.elix/tmmap.c: Ditto.
7117
7118 2002-11-06 Christopher Faylor <cgf@redhat.com>
7119
7120 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
7121 * libc/stdlib/mlock.c: Ditto.
7122 * libc/stdlib/msize.c: Ditto.
7123 * libc/stdlib/msize.c: Ditto.
7124 * libc/stdlib/mtrim.c: Ditto.
7125 * libc/stdlib/valloc.c: Ditto.
7126
7127 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
7128
7129 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
7130 for inf/nan, make sure that the check ignores the sign bit.
7131
7132 2002-11-07 Joel Sherrill <joel@OARcorp.com>
7133
7134 * libc/sys/rtems/machine: New directory.
7135 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
7136 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
7137 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
7138 targets more BSD like when installed without requiring files to
7139 be overwritten at install point when RTEMS itself is installed.
7140 * Makefile.am: Pick up system dependent machine .h files such as
7141 might be found on a BSD-ish system.
7142 * Makefile.in: Regenerate.
7143 * libc/include/machine/types.h: When on an RTEMS target, define a
7144 few BSD flavor types.
7145
7146 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
7147
7148 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
7149
7150 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7151
7152 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
7153 * libc/include/wctype.h: Ditto.
7154
7155 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
7156
7157 * libc/include/wchar.h: Add extern "C" specifier if C++.
7158 * libc/include/wctype.h: Ditto.
7159
7160 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7161
7162 * testsuite/newlib.wctype/tiswctype.c: New test case.
7163 * testsuite/newlib.wctype/twctrans.c: Ditto.
7164
7165 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7166
7167 * libc/sys/linux/machine/i386/include/endian.h: New file.
7168 * libc/sys/linux/machine/i386/include/param.h: Ditto.
7169
7170 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7171
7172 * libm/machine/i386/aclocal.m4: Regenerated.
7173 * libm/machine/i386/configure: Ditto.
7174
7175 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7176
7177 * testsuite/include/check.h: New header file to use with
7178 test cases.
7179 * testsuite/lib/newlib.exp: Add testsuite/include directory
7180 to list of header files to use.
7181 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
7182 * testsuite/newlib.wctype/wctype.exp: New file.
7183
7184 2002-10-11 Graham Stott <graham.stott@btinternet.com>
7185 Richard Sandiford <rsandifo@redhat.com>
7186
7187 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
7188 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
7189 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7190
7191 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7192
7193 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
7194 dummy programs.
7195
7196 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7197
7198 * libc/include/pthread.h: Define PTHREAD_CANCELED.
7199
7200 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7201
7202 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
7203 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
7204 compile with current GNU tools.
7205
7206 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
7207
7208 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
7209 the build library.
7210 * configure.in: Ditto.
7211 * Makefile.in: Regenerated.
7212 * configure: Ditto.
7213 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
7214 for specifying configured libraries/directories.
7215 * libc/sys/linux/configure.in: Ditto.
7216 * libc/sys/linux/Makefile.in: Regenerated.
7217 * libc/sys/linux/configure: Ditto.
7218
7219 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
7220
7221 * libc/include/reent.h: Update documentation at start of file.
7222
7223 2002-09-27 Jim Wilson <wilson@redhat.com>
7224
7225 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
7226 the ctbp register.
7227
7228 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
7229
7230 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
7231 Also convert to EUCJP before using arrays. For values not in
7232 the conversion arrays, return WEOF.
7233 * libc/ctype/jp2uc.h: Change from one array to a number of
7234 arrays to account for the fact that the originating table
7235 is not contiguous for the input values since some are invalid.
7236
7237 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
7238
7239 * libc/time/ctime.c: Fix prototype documentation.
7240
7241 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
7242
7243 * libc/include/sys/errno.h: Add EOVERFLOW.
7244
7245 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7246
7247 * libc/include/wctype.h: New file.
7248
7249 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7250
7251 * libc/ctype/Makefile.am: Add new files.
7252 * libc/ctype/Makefile.in: Regenerated.
7253 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
7254 and wctrans functions to documentation index.
7255 * libc/ctype/iswalnum.c: New file.
7256 * libc/ctype/iswalpha.c: Ditto.
7257 * libc/ctype/iswblank.c: Ditto.
7258 * libc/ctype/iswcntrl.c: Ditto.
7259 * libc/ctype/iswctype.c: Ditto.
7260 * libc/ctype/iswdigit.c: Ditto.
7261 * libc/ctype/iswgraph.c: Ditto.
7262 * libc/ctype/iswlower.c: Ditto.
7263 * libc/ctype/iswprint.c: Ditto.
7264 * libc/ctype/iswpunct.c: Ditto.
7265 * libc/ctype/iswspace.c: Ditto.
7266 * libc/ctype/iswupper.c: Ditto.
7267 * libc/ctype/iswxdigit.c: Ditto.
7268 * libc/ctype/jp2uc.c: Ditto.
7269 * libc/ctype/jp2uc.h: Ditto.
7270 * libc/ctype/local.h: Ditto.
7271 * libc/ctype/towctrans.c: Ditto.
7272 * libc/ctype/towlower.c: Ditto.
7273 * libc/ctype/towupper.c: Ditto.
7274 * libc/ctype/utf8alpha.h: Ditto.
7275 * libc/ctype/utf8print.h: Ditto.
7276 * libc/ctype/utf8punct.h: Ditto.
7277 * libc/ctype/wctrans.c: Ditto.
7278 * libc/ctype/wctype.c: Ditto.
7279 * libc/locale/locale.c (__lc_ctype): New external array to
7280 replace static lc_ctype array.
7281 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
7282 rather than reentrancy structure's _current_locale field.
7283 * libc/stdlib/wctomb_r.c: Ditto.
7284
7285 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7286
7287 * configure.host: Minor comment and formatting changes.
7288 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
7289 * libc/Makefile.in: Regenerated.
7290 * libc/include/sys/config.h: Minor format change.
7291
7292 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7293
7294 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
7295 statement comment.
7296
7297 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7298
7299 * libc/posix/opendir.c (opendir): Change code to check
7300 for HAVE_FCNTL before calling fcntl.
7301 * libc/search/hash.c (hash_open): Ditto.
7302 * libc/search/hash_page.c (open_tmp): Ditto.
7303 * libc/reent/Makefile.am: Add fcntlr.c.
7304 * libc/reent/Makefile.in: Regenerated.
7305 * libc/reent/fcntlr.c: New file.
7306 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
7307 instead of _fcntl when HAVE_FCNTL flag is set.
7308 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
7309 to see if _fcntl or _fcntl_r should be called. If flag is not
7310 set, default to ENOSYS stub.
7311
7312 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
7313
7314 * libc/include/wchar.h (mbstate_t): Change protective flag to
7315 be _MBSTATE_T.
7316 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
7317 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
7318 for Cygwin.
7319 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
7320
7321 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
7322
7323 * acinclude.m4 (enable-newlib-mb): Change check to
7324 default newlib_mb variable to empty string rather than "no".
7325 * configure.host: Remove hard-coding of -DMB_CAPABLE for
7326 x86-linux and Cygwin. Add code to check for newlib_mb
7327 being unset in which case set to "yes" for x86-linux and
7328 Cygwin. Change check for newlib_mb being "yes" to allow
7329 for an empty string.
7330 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
7331 * newlib.hin (_MB_LEN_MAX): New define to configure.
7332 * aclocal.m4: Regenerated.
7333 * configure: Ditto.
7334 * libc/include/limits.h: New file.
7335 * libc/sys/linux/include/limits.h: Ditto.
7336 * doc/aclocal.m4 doc/configure libc/aclocal.m4
7337 libc/configure libc/machine/aclocal.m4
7338 libc/machine/configure libc/machine/a29k/aclocal.m4
7339 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7340 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7341 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7342 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7343 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
7344 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
7345 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7346 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7347 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7348 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7349 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7350 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
7351 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
7352 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7353 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7354 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7355 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7356 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7357 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7358 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7359 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7360 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7361 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7362 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7363 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
7364 libc/machine/xscale/configure
7365 libc/machine/xstormy16/aclocal.m4
7366 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
7367 libc/machine/z8k/configure libc/sys/aclocal.m4
7368 libc/sys/configure libc/sys/a29khif/aclocal.m4
7369 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
7370 libc/sys/arc/configure libc/sys/arm/aclocal.m4
7371 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7372 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
7373 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
7374 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
7375 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
7376 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
7377 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
7378 libc/sys/idt/configure libc/sys/linux/aclocal.m4
7379 libc/sys/linux/configure
7380 libc/sys/linux/machine/aclocal.m4
7381 libc/sys/linux/machine/configure
7382 libc/sys/linux/machine/i386/aclocal.m4
7383 libc/sys/linux/machine/i386/configure
7384 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7385 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
7386 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7387 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7388 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7389 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7390 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7391 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7392 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7393 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7394 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7395 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7396 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7397 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7398 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7399 libm/aclocal.m4 libm/configure: Regenerated.
7400
7401 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7402
7403 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7404 code that clears the .bss section.
7405
7406 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7407
7408 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7409 unsigned char internally.
7410 * libc/sys/linux/sys/_types.h: Ditto.
7411 * libc/include/sys/reent.h
7412 * libc/stdlib/mblen.c (mblen): Use function-specific state
7413 value from default reentrancy structure.
7414 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7415 _mbtowc_r is less than 0, reset state __count value and
7416 return -1.
7417 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7418 is NULL, use the function-specific pointer provided in the
7419 default reentrancy structure.
7420 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7421 If input state pointer is NULL, use function-specific area
7422 provided in reentrancy structure.
7423 * libc/stdlib/mbsrtowcs.c: Ditto.
7424 * libc/stdlib/wcrtomb.c: Ditto.
7425 * libc/stdlib/wcsrtombs.c: Ditto.
7426 * libc/stdlib/mbstowcs.c: Reformat.
7427 * libc/stdlib/wcstombs.c: Ditto.
7428 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7429 reset the state's __count value and return -1.
7430 * libc/stdlib/mbtowc.c: Ditto.
7431 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7432 If number of bytes is used up before completing a valid multibyte
7433 character, return -2 and save the state.
7434 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7435 and change some __count references to __state for clarity.
7436
7437 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7438
7439 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7440 is defined by <limits.h>.
7441
7442 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7443
7444 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7445 defined.
7446
7447 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7448
7449 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7450 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7451 __WCHAR_MAX__ or 0x7fffffffu.
7452 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7453 * libc/string/wcsncmp.c: Ditto.
7454
7455 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7456
7457 * libc/string/wcschr.c: Add include of <stddef.h>.
7458 * libc/string/wcspbrk.c: Ditto.
7459 * libc/string/wcsrchr.c: Ditto.
7460 * libc/string/wcsstr.c: Ditto.
7461
7462 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7463
7464 * libc/include/sys/_types.h (_flock_t): Added.
7465 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7466 (__lock_try_acquire_recursive): Ditto.
7467 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7468 _lock field.
7469 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7470 field.
7471 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7472 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7473 * libc/sys/linux/include/time.h (struct timespec): Moved from
7474 <sys/types.h> and added check for __need_timespec flag so type
7475 can be defined by itself.
7476 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7477 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7478 <time.h>.
7479
7480 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7481
7482 * libc/sys/linux/argp: New directory.
7483 * libc/sys/linux/getopt.c: New file.
7484 * libc/sys/linux/getopt1.c: New file.
7485 * libc/sys/linux/getoptlong.c: Remove file.
7486 * libc/sys/linux/include/argp.h: New file.
7487 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7488 based on ELIX level.
7489 (SUBDIRS): Add argp_dir.
7490 (SUBLIBS): Add ARGP_LIB.
7491 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7492 getopt_long.$(oext).
7493 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7494
7495 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7496
7497 * libc/libc.texinfo: Add node reference to wide-character strings.
7498 * libc/string/wcstrings.tex: New file.
7499 * libc/string/strtok_r.c: Remove outdated advertising clause.
7500 * libc/string/Makefile.am (doc): Add wide-character string
7501 chapter to documentation.
7502 * libc/string/Makefile.in: Regenerated.
7503
7504 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7505
7506 * libc/include/wchar.h: Define NULL. Define WEOF more general
7507 way. Declare functions in newlib manner.
7508 * libc/stdlib/Makefile.am: Delete wmem*.c
7509 * libc/stdlib/Makefile.in: Regenerated.
7510 * libc/stdlib/wmemchr.c: Delete.
7511 * libc/stdlib/wmemcmp.c: Ditto.
7512 * libc/stdlib/wmemcpy.c: Ditto.
7513 * libc/stdlib/wmemmove.c: Ditto.
7514 * libc/stdlib/wmemset.c: Ditto.
7515 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7516 * libc/string/Makefile.in: Regenerated.
7517 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7518 * libc/string/wcschr.c: Ditto.
7519 * libc/string/wcscmp.c: Ditto.
7520 * libc/string/wcscpy.c: Ditto.
7521 * libc/string/wcscspn.c: Ditto.
7522 * libc/string/wcslcat.c: Ditto.
7523 * libc/string/wcslcpy.c: Ditto.
7524 * libc/string/wcslen.c: Ditto.
7525 * libc/string/wcsncat.c: Ditto.
7526 * libc/string/wcsncmp.c: Ditto.
7527 * libc/string/wcsncpy.c: Ditto.
7528 * libc/string/wcspbrk.c: Ditto.
7529 * libc/string/wcsrchr.c: Ditto.
7530 * libc/string/wcsspn.c: Ditto.
7531 * libc/string/wcsstr.c: Ditto.
7532 * libc/string/wmemchr.c: Ditto.
7533 * libc/string/wmemcmp.c: Ditto.
7534 * libc/string/wmemcpy.c: Ditto.
7535 * libc/string/wmemmove.c: Ditto.
7536 * libc/string/wmemset.c: Ditto.
7537
7538 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7539
7540 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7541 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7542 and is treated as if "C" was specified.
7543
7544 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7545
7546 * Makefile.am (install-data-local): Move install of build
7547 newlib.h after installing headers in libc/include so as to
7548 overwrite default newlib.h.
7549 * Makefile.in: Regenerated.
7550
7551 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7552
7553 * libc/include/newlib.h: New file for tools that use newlib
7554 headers but don't build newlib first (e.g. gcc).
7555
7556 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7557
7558 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7559 * libc/stdlib/wmemcmp.c: Ditto.
7560 * libc/stdlib/wmemcpy.c: Ditto.
7561 * libc/stdlib/wmemmove.c: Ditto.
7562 * libc/stdlib/wmemset.c: Ditto.
7563
7564 2002-08-27 Egor Duda <deo@logos-m.ru>
7565
7566 * libc/stdlib/wmemchr.c: New file.
7567 * libc/stdlib/wmemcmp.c: Ditto.
7568 * libc/stdlib/wmemcpy.c: Ditto.
7569 * libc/stdlib/wmemmove.c: Ditto.
7570 * libc/stdlib/wmemset.c: Ditto.
7571 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7572 * configure.host: Default -DMB_CAPABLE for cygwin.
7573 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7574 wmemmove() and wmemset(). Add include of <_ansi.h>.
7575 * libc/stdlib/Makefile.in: Regenerate.
7576
7577 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7578
7579 * configure.host: Remove _ELIX_LEVEL flag setting.
7580 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7581 (install-data-local): Install newlib.h.
7582 * Makefile.in: Regenerated.
7583 * aclocal.m4: Ditto.
7584 * configure: Ditto.
7585 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
7586 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7587 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7588 In AC_OUTPUT statement, unset ac_file so multilib support does
7589 not use last ac_file temporary used in newlib.h configuration.
7590 * libc/include/_ansi.h: Include <newlib.h>.
7591 * newlib.hin: New template file for newlib.h.
7592 * stamp-h.in: New file.
7593
7594 2002-08-26 Wu Yongwei <adah@netstd.com>
7595
7596 * time.h (timezonevar): Change "#if" to "#ifdef".
7597
7598 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7599
7600 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7601 * Makefile.in: Regenerated.
7602 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7603 * aclocal.m4: Regenerated.
7604 * configure: Ditto.
7605 * configure.host: Add code to define _ELIX_LEVEL if
7606 --enable-newlib-elix-level option is used.
7607 * configure.in:
7608 * libc/aclocal.m4: Regenerated.
7609 * libc/configure: Ditto.
7610 * libc/argz/Makefile.am: Add EL/IX level checking.
7611 * libc/argz/Makefile.in: Regenerated.
7612 * libc/argz/dummy.c: New file.
7613 * libc/ctype/Makefile.am: Add EL/IX level checking.
7614 * libc/ctype/Makefile.in: Regenerated.
7615 * libc/locale/Makefile.am: Add EL/IX level checking.
7616 * libc/locale/Makefile.in: Regenerated.
7617 * libc/posix/Makefile.am: Add EL/IX level checking.
7618 * libc/posix/Makefile.in: Regenerated.
7619 * libc/posix/telldir.c: Add EL/IX level checking.
7620 * libc/reent/Makefile.am: Ditto.
7621 * libc/reent/fstat64r.c: Ditto.
7622 * libc/reent/lseek64r.c: Ditto.
7623 * libc/reent/open64r.c: Ditto.
7624 * libc/reent/Makefile.in: Regenerated.
7625 * libc/search/Makefile.am: Add EL/IX level checking.
7626 * libc/search/Makefile.in: Regenerated.
7627 * libc/stdio/Makefile.am: Add EL/IX level checking.
7628 * libc/stdio/Makefile.in: Regenerated.
7629 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7630 * libc/stdio64/Makefile.in: Regenerated.
7631 * libc/stdio64/dummy.c: New file.
7632 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
7633 after first include.
7634 * libc/stdio64/fopen64.c: Ditto.
7635 * libc/stdio64/freopen64.c: Ditto.
7636 * libc/stdio64/fseeko64.c: Ditto.
7637 * libc/stdio64/fsetpos64.c: Ditto.
7638 * libc/stdio64/ftello64.c: Ditto.
7639 * libc/stdio64/tmpfile64.c: Ditto.
7640 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7641 * libc/stdlib/Makefile.in: Regenerated.
7642 * libc/stdlib/mstats.c: Add EL/IX level checking.
7643 * libc/string/Makefile.am: Ditto.
7644 * libc/string/Makefile.in: Regenerated.
7645 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7646 * libc/sys/linux/Makefile.in: Regenerated.
7647 * libc/sys/linux/aclocal.m4: Ditto.
7648 * libc/sys/linux/configure: Ditto.
7649 * libc/sys/linux/aio.c: Add EL/IX level checking.
7650 * libc/sys/linux/ftok.c: Ditto.
7651 * libc/sys/linux/getdate.c: Ditto.
7652 * libc/sys/linux/ids.c: Ditto.
7653 * libc/sys/linux/inode.c: Ditto.
7654 * libc/sys/linux/io.c: Ditto.
7655 * libc/sys/linux/process.c: Ditto.
7656 * libc/sys/linux/resource.c: Ditto.
7657 * libc/sys/linux/sched.c: Ditto.
7658 * libc/sys/linux/sig.c: Ditto.
7659 * libc/sys/linux/termios.c: Ditto.
7660 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
7661 __libc___waitpid weak aliases.
7662 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
7663 that generate the code for a syscall, but do not create a
7664 weak alias.
7665 * libc/syscalls/Makefile.am: Add EL/IX level checking.
7666 * libc/syscalls/Makefile.in: Regenerated.
7667 * libc/time/tzset_r.c: Change to replace strdup with equivalent
7668 functionality.
7669 * libc/unix/Makefile.am: Add EL/IX level checking.
7670 * libc/unix/Makefile.in: Regenerated.
7671
7672 2002-08-26 Christopher Faylor <cgf@redhat.com>
7673
7674 * libc/include/malloc.h: On cygwin, define malloc _r functions as
7675 wrapper macros to standard malloc functions.
7676 * libc/include/stdlib.h: Ditto.
7677 * configure.host: Always define MALLOC_PROVIDED on cygwin.
7678
7679 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7680
7681 * libc/include/langinfo.h: New file.
7682 * libc/include/wchar.h: Likewise.
7683 * libc/include/sys/syslimits.h: Likewise.
7684 * libc/locale/fix_grouping.c: Likewise.
7685 * libc/locale/ldpart.c: Likewise.
7686 * libc/locale/ldpart.h: Likewise.
7687 * libc/locale/lmessages.c: Likewise.
7688 * libc/locale/lmessages.h: Likewise.
7689 * libc/locale/lmonetary.c: Likewise.
7690 * libc/locale/lmonetary.h: Likewise.
7691 * libc/locale/lnumeric.c: Likewise.
7692 * libc/locale/lnumeric.h: Likewise.
7693 * libc/locale/nl_langinfo.3: Likewise.
7694 * libc/locale/nl_langinfo.c: Likewise.
7695 * libc/locale/timelocal.c: Likewise.
7696 * libc/locale/timelocal.h: Likewise.
7697 * libc/stdlib/btowc.c: Likewise.
7698 * libc/stdlib/mbrlen.c: Likewise.
7699 * libc/stdlib/mbrtowc.c: Likewise.
7700 * libc/stdlib/mbsinit.c: Likewise.
7701 * libc/stdlib/mbsrtowcs.c: Likewise.
7702 * libc/stdlib/wcrtomb.c: Likewise.
7703 * libc/stdlib/wcsrtombs.c: Likewise.
7704 * libc/stdlib/wctob.c: Likewise.
7705 * libc/sys/linux/prof-freq.c: Likewise.
7706 * libc/sys/linux/profile.c: Likewise.
7707 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7708 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7709 * libc/include/stdlib.h: Change re-entrant functions to take
7710 mbstate_t pointers.
7711 * libc/include/sys/_types.h: Define _mbstate_t.
7712 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
7713 * libc/include/sys/errno.h (EILSEQ): New error code.
7714 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
7715 structure to use mbstate_t.
7716 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
7717 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
7718 * libc/machine/powerpc/vfscanf.c: Likewise.
7719 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
7720 * libc/stdio/vfprintf.c: Likewise.
7721 * libc/stdio/vfscanf.c: Likewise.
7722 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
7723 * libc/stdlib/mblen.c: Use mbstate_t.
7724 * libc/stdlib/mblen_r.c: Likewise.
7725 * libc/stdlib/mbstowcs.c: Likewise.
7726 * libc/stdlib/mbstowcs_r.c: Likewise.
7727 * libc/stdlib/mbtowc.c: Likewise.
7728 * libc/stdlib/mbtowc_r.c: Likewise.
7729 * libc/stdlib/wcstombs.c: Likewise.
7730 * libc/stdlib/wcstombs_r.c: Likewise.
7731 * libc/stdlib/wctomb_r.c: Likewise.
7732 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
7733 profile.c.
7734 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
7735 dl-procinfo.c.
7736 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
7737 * libc/sys/linux/sys/types.h (off_t): Define type.
7738 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
7739 to C-UTF-8.
7740 * testsuite/newlib.locale/UTF-8.exp: Likewise.
7741
7742 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
7743
7744 * libc/stdlib/mallocr.c: #include windows.h on Win32.
7745 (AlignPage): Continue macro on next line.
7746
7747 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7748
7749 * libc/sys/linux/include/pthread.h: New file.
7750
7751 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7752
7753 * libc/include/sys/types.h: Support __need_inttypes macro
7754 that only sets the __intxx and __uintxx types.
7755 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
7756 to get mprec.h.
7757 * libc/machine/powerpc/Makefile.in: Regenerated.
7758 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
7759 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
7760 redundant fixed-point conversion prototypes.
7761 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
7762 after setting __need_inttypes.
7763
7764 2002-08-18 Christopher Faylor <cgf@redhat.com>
7765
7766 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
7767
7768 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7769
7770 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
7771 _LONG_DOUBLE to double.
7772
7773 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7774
7775 * configure.host: Add powerpc*-*-eabispe* configuration.
7776 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
7777 * libc/machine/powerpc/atosfix32.c: Ditto.
7778 * libc/machine/powerpc/atosfix64.c: Ditto.
7779 * libc/machine/powerpc/atoufix16.c: Ditto.
7780 * libc/machine/powerpc/atoufix32.c: Ditto.
7781 * libc/machine/powerpc/atoufix64.c: Ditto.
7782 * libc/machine/powerpc/fix64.h: Ditto.
7783 * libc/machine/powerpc/simdldtoa.c: Ditto.
7784 * libc/machine/powerpc/strtosfix16.c: Ditto.
7785 * libc/machine/powerpc/strtosfix32.c: Ditto.
7786 * libc/machine/powerpc/strtosfix64.c: Ditto.
7787 * libc/machine/powerpc/strtoufix16.c: Ditto.
7788 * libc/machine/powerpc/strtoufix32.c: Ditto.
7789 * libc/machine/powerpc/strtoufix64.c: Ditto.
7790 * libc/machine/powerpc/ufix64toa.c: Ditto.
7791 * libc/machine/powerpc/configure.in: Add check for
7792 powerpc*-eabispe and add fixed-point conversion functions.
7793 * libc/machine/powerpc/configure: Regenerated.
7794 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
7795 %r and %R format specifiers which handle fixed-point data.
7796 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
7797 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
7798 function prototypes.
7799
7800 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7801
7802 * Makefile.am: Move cmath stuff into libc/sys/linux.
7803 * Makefile.in: Regenerated.
7804 * configure.host: Default -DMB_CAPABLE for x86-linux.
7805 * libc/include/reent.h: Define _sbrk to take signed int argument.
7806 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
7807 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
7808 make locale name checking more efficient. Also allow "C-ISO-8859-1"
7809 locale for LC_CTYPE and LC_MESSAGES.
7810 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
7811 * libc/sys/linux/brk.c: Change sbrk prototype.
7812 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
7813 include <sys/features.h>.
7814 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
7815 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
7816 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
7817 with a few local additions.
7818 * libc/sys/linux/sys/features.h: New file.
7819 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
7820 to take signed argument.
7821 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
7822 prototypes to take signed size argument.
7823
7824 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
7825
7826 * libc/sys/linux/cmath: New directory.
7827 * libc/sys/linux/include/cmathcalls.h: New file.
7828 * libc/sys/linux/include/complex.h: New file.
7829 * libc/sys/linux/machine/i386/huge_val.h: New file
7830 * libm/math/w_sincos.c: New file
7831 * libm/math/wf_sincos.c: New file
7832 * libm/mathfp/s_sincos.c: New file
7833 * libm/mathfp/sf_sincos.c: New file
7834 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
7835 * libc/include/math.h: Add sincos and sincosf declarations.
7836 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
7837 (SUBLIBS): Likewise.
7838 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
7839 * libm/math/Makefile.am (src): Add w_sincos.c.
7840 (fsrc): Add wf_sincos.c.
7841 * libm/mathfp/Makefile.am (src): Add s_sincos.c
7842 (fsrc): Add sf_sincos.c.
7843
7844 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
7845
7846 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
7847 Declare as extern chars and use the address operator to
7848 properly use values set in linker script.
7849
7850 2002-08-09 Jason Tishler <jason@tishler.net>
7851
7852 * libc/stdlib/mallocr.c: Include <limits.h>.
7853 (request2size): Change macro to do
7854 unsigned long comparisons and avoid signed overflow.
7855 (mALLOc): Add overflow check for the number of bytes to allocate.
7856 (rEALLOc): Ditto.
7857
7858 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
7859
7860 * configure.host: Add check for --enable-newlib-io-pos-args
7861 and define WANT_IO_POS_ARGS flag if enabled. Define
7862 the flag by default for x86-linux configurations.
7863 * configure.in: Add support for --enable-newlib-io-pos-args.
7864 * libc/configure.in: Ditto.
7865 * configure: Regenerated.
7866 * libc/configure: Ditto.
7867 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
7868 vfprintf.c and vfiprintf.c.
7869 * libc/stdio/Makefile.in: Regenerated.
7870 * libc/stdio/vfprintf.c: Add positional argument support that
7871 is enabled by compiling with -DWANT_IO_POS_ARGS.
7872
7873 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
7874
7875 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
7876 based on __mips_soft_float rather than __mips64.
7877 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
7878 of both 32-bit and 64-bit code.
7879
7880 2002-08-04 Christopher Faylor <cgf@redhat.com>
7881
7882 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
7883 arguments for popen to match similar functionality in fopen.
7884
7885 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
7886
7887 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
7888
7889 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
7890
7891 * libc/sys/linux/Makefile.am: Add aio64.c.
7892 * libc/sys/linux/Makefile.in: Regenerated.
7893 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
7894 * libc/sys/linux/aio64.c: New file.
7895
7896 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7897
7898 * libc/include/sys/param.h (MAX, MIN): Added macros.
7899 * libc/sys/linux/Makefile.am: Add new files.
7900 * libc/sys/linux/Makefile.in: Regenerated.
7901 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7902 * libc/sys/linux/inode.c (fchdir): Added syscall.
7903 * libc/sys/linux/ftw.c: New file.
7904 * libc/sys/linux/ftw64.c: Ditto.
7905 * libc/sys/linux/getwd.c: Ditto.
7906 * libc/sys/linux/scandir64.c: Ditto.
7907 * libc/sys/linux/strverscmp.c: Ditto.
7908 * libc/sys/linux/versionsort.c: Ditto.
7909 * libc/sys/linux/versionsort64.c: Ditto.
7910
7911 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7912
7913 * libc/string/strings.tex: Fix typo for memccpy.
7914
7915 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7916
7917 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
7918 * libc/sys/linux/sys/types.h (off64_t): Definition added.
7919
7920 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7921
7922 * libc/sys/linux/Makefile.am: Add fclean.c.
7923 * libc/sys/linux/Makefile.in: Regenerated.
7924 * libc/sys/linux/fclean.c: New file.
7925
7926 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7927
7928 * libc/sys/linux/Makefile.am: Add confstr.c.
7929 * libc/sys/linux/Makefile.in: Regenerated.
7930 * libc/sys/linux/confstr.c: New file.
7931 * libc/sys/linux/confstr.h: Ditto.
7932 * libc/sys/linux/sys/unistd.h: Include <features.h> and
7933 <bits/environments.h>.
7934
7935 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7936
7937 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
7938 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
7939 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
7940 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
7941 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
7942 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
7943
7944 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7945
7946 * libc/sys/linux/Makefile.am: Add new files.
7947 * libc/sys/linux/Makefile.in: Regenerated.
7948 * libc/sys/linux/fstab.c: New file.
7949 * libc/sys/linux/fstatvfs.c: Ditto.
7950 * libc/sys/linux/fstatvfs64.c: Ditto.
7951 * libc/sys/linux/internal_statvfs.c: Ditto.
7952 * libc/sys/linux/mntent.c: Ditto.
7953 * libc/sys/linux/mntent_r.c: Ditto.
7954 * libc/sys/linux/statvfs.c: Ditto.
7955 * libc/sys/linux/statvfs64.c: Ditto.
7956 * libc/sys/linux/include/paths.h: Ditto.
7957 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
7958 with double-underscore weak-aliases.
7959 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7960
7961 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7962
7963 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
7964 to use _sig_func_ptr type casted constants.
7965 (_sig_func_ptr): Typedef moved to sys/signal.h.
7966 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
7967 For __rtems, use POSIX definition, otherwise default to ANSI.
7968 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
7969
7970 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
7971
7972 * configure.host: Recognize m6811-elf and m6812-elf targets.
7973 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
7974 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
7975 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
7976 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
7977 according to __INT_MAX__.
7978 (_POINTER_INT): Define to short.
7979 * libc/machine/m68hc11/Makefile.am: New file.
7980 * libc/machine/m68hc11/Makefile.in: New file.
7981 * libc/machine/m68hc11/configure.in: New file.
7982 * libc/machine/m68hc11/configure: New file.
7983 * libc/machine/m68hc11/aclocal.m4: New file.
7984 * libc/machine/m68hc11/setjmp.S: New file.
7985
7986 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7987
7988 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
7989 prototypes.
7990 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
7991 * libc/stdlib/Makefile.in: Regenerated.
7992 * libc/stdlib/strdup.c: Removed.
7993 * libc/stdlib/strdup_r.c: Removed.
7994 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
7995 mempcpy.c, strndup.c, and strndup_r.c.
7996 * libc/string/Makefile.in: Regenerated.
7997 * libc/string/memccpy.c: New file.
7998 * libc/string/mempcpy.c: Ditto.
7999 * libc/string/strndup.c: Ditto.
8000 * libc/string/strndup_r.c: Ditto.
8001 * libc/string/strdup.c: New file moved from stdlib.
8002 * libc/string/strdup_r.c: Ditto.
8003 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
8004
8005 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8006
8007 * libc/include/stdio.h: Move fcloseall prototype within
8008 #ifndef _REENT_ONLY section.
8009 * libc/sys/linux/Makefile.am: Add new files.
8010 * libc/sys/linux/Makefile.in: Regenerated.
8011 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8012 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
8013 * libc/sys/linux/sys/types.h: Add ino64_t type.
8014 * libc/sys/linux/ctermid.c: New file.
8015 * libc/sys/linux/ttyname_r.c: Ditto.
8016 * libc/sys/linux/readdir64.c: Ditto.
8017
8018 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8019
8020 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8021 * libc/stdio/Makefile.am: Added fcloseall.c support.
8022 * libc/stdio/Makefile.in: Regenerated.
8023 * libc/stdio/fcloseall.c: New file.
8024 * libc/stdio64/Makefile.am: Remove missing .def references.
8025 * libc/stdio64/Makefile.in: Regenerated.
8026
8027 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8028
8029 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8030 * libc/machine/powerpc/times.c: New file.
8031 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8032 * libc/machine/powerpc/Makefile.in: Regenerated.
8033
8034 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
8035
8036 * libc/machine/powerpc/time.c: New file.
8037 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8038 time.c.
8039 * libc/machine/powerpc/Makefile.in: Regenerated.
8040
8041 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8042
8043 * libc/libc.texinfo: Change copyright notices to Red Hat from
8044 Cygnus.
8045 * libm/libm.texinfo: Likewise.
8046 * README: Change docs URL to
8047 http://sources.redhat.com/newlib/docs.html.
8048
8049 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8050
8051 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8052 * libc/sys/linux/Makefile.in: Regenerated.
8053 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8054 * libc/sys/linux/io.c: Add ftruncate syscall.
8055 * libc/sys/linux/fpathconf.c: New file.
8056 * libc/sys/linux/pathconf.c: Ditto.
8057 * libc/sys/linux/linux_fsinfo.h: Ditto.
8058 * libc/sys/linux/sys/unistd.h: Ditto.
8059
8060 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8061
8062 * libc/stdio64/Makefile.am: Remove missing files.
8063 * libc/stdio64/Makefile.in: Regenerated.
8064
8065 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8066
8067 * libc/include/sys/config.h[__i386__][__linux__]: Define
8068 _LARGE64FILE_SOURCE to 1.
8069 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8070 * libc/sys/linux/Makefile.in: Regenerated.
8071 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8072 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8073 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8074 of <linux/resource.h>.
8075 * libc/sys/linux/getrlimit64.c: New file.
8076 * libc/sys/linux/setrlimit64.c: Ditto.
8077
8078 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8079
8080 * libc/argz/argz_replace.c: Include buf_findstr.h.
8081 * libc/argz/buf_findstr.c: Likewise.
8082 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8083 value to (char *).
8084 * libc/argz/envz_get.c: Likewise.
8085 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8086 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8087 * libc/stdlib/getsubopt.3: New file.
8088 * libc/stdlib/getsubopt.c: New file.
8089 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8090 Change esp to ebp.
8091
8092 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
8093
8094 * configure.host(stdio64_dir): New setting that is used to
8095 enable building of new stdio64 directory.
8096 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
8097 large files.
8098 (stmp-stdio64,stdio64.texi): New targets to optionally add in
8099 stdio64 info to info files.
8100 * libc/Makefile.in: Regenerated.
8101 * libc/configure: Ditto.
8102 * libc/configure.in: Add configuration variables that are set
8103 when stdio64 is selected as subdir in configure.host.
8104 * libc/libc.texinfo: Add optional menu item for Stdio64, based
8105 on whether STDIO64 flag is set or not.
8106 * libc/sys.tex: Add optional stdio64 syscalls based on whether
8107 STDIO64 flag is set or not.
8108 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
8109 _r sycall routines.
8110 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
8111 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
8112 (__SL64): New file flag indicating file is opened via fopen64.
8113 * libc/include/sys/_types.h(_off64_t): Added.
8114 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
8115 * libc/include/sys/reent.h(struct __sFILE64): New file structure
8116 for 64-bit offset large file support.
8117 (__FILE): New intermediate type either set to struct __sFILE64 or
8118 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
8119 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
8120 * libc/reent/Makefile.in: Regenerated.
8121 * libc/reent/fstat64r.c: New file.
8122 * libc/reent/lseek64r.c: Ditto.
8123 * libc/reent/open64r.c: Ditto.
8124 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
8125 based on whether STDIO64 flag is set.
8126 * libc/stdio/stdio.tex: Add blank line.
8127 * libc/stdio64/Makefile.am: New file.
8128 * libc/stdio64/Makefile.in: Ditto.
8129 * libc/stdio64/fgetpos64.c: Ditto.
8130 * libc/stdio64/fopen64.: Ditto.
8131 * libc/stdio64/freopen64.c: Ditto.
8132 * libc/stdio64/fseeko64.c: Ditto.
8133 * libc/stdio64/fsetpos64.c: Ditto.
8134 * libc/stdio64/ftello64.c: Ditto.
8135 * libc/stdio64/local64.h: Ditto.
8136 * libc/stdio64/stdio64.c: Ditto.
8137 * libc/stdio64/stdio64.tex: Ditto.
8138 * libc/stdio64/tmpfile64.c: Ditto.
8139 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
8140 open64.
8141
8142 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
8143
8144 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
8145 if LIBC_EXTRA_LIB is present.
8146 * libc/Makefile.in: Regenerated.
8147 * libc/libc.texinfo: Add blank line.
8148 * libc/argz/Makefile.am: Add doc support.
8149 * libc/search/Makefile.am: Ditto.
8150 * libc/argz/Makefile.in: Regenerated.
8151 * libc/search/Makefile.in: Ditto.
8152 * libc/misc/misc.tex: Add ffs function.
8153 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
8154
8155 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8156
8157 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
8158 definition that was removed in error.
8159
8160 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8161
8162 * libc/include/machine/ieeefp.h: Change to only define
8163 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
8164 __IEEE_LITTLE_ENDIAN must be defined for each platform).
8165 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
8166 remove redundant floating point definitions.
8167
8168 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8169
8170 * libc/sys/linux/callocr.c: Fix so code references
8171 calloc.
8172
8173 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8174
8175 * libc/sys/linux/Makefile.am: Add new files.
8176 * libc/sys/linux/Makefile.in: Regenerated.
8177 * libc/sys/linux/bp-sym.h: Moved to include directory.
8178 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
8179 * libc/sys/linux/inode.c: Set _LIBC to 1.
8180 * libc/sys/linux/mq_close.c: Ditto.
8181 * libc/sys/linux/mq_getattr.c: Ditto.
8182 * libc/sys/linux/mq_open.c: Ditto.
8183 * libc/sys/linux/mq_receive.c: Ditto.
8184 * libc/sys/linux/mq_send.c: Ditto.
8185 * libc/sys/linux/mq_setattr.c: Ditto.
8186 * libc/sys/linux/mq_unlink.c: Ditto.
8187 * libc/sys/linux/calloc.c: New file.
8188 * libc/sys/linux/callocr.c: Ditto.
8189 * libc/sys/linux/cfreer.c: Ditto.
8190 * libc/sys/linux/config.h: Ditto.
8191 * libc/sys/linux/free.c: Ditto.
8192 * libc/sys/linux/freer.c: Ditto.
8193 * libc/sys/linux/msize.c: Ditto.
8194 * libc/sys/linux/msizer.c: Ditto.
8195 * libc/sys/linux/mstats.c: Ditto.
8196 * libc/sys/linux/mtrim.c: Ditto.
8197 * libc/sys/linux/mtrimr.c: Ditto.
8198 * libc/sys/linux/pvallocr.c: Ditto.
8199 * libc/sys/linux/realloc.c: Ditto.
8200 * libc/sys/linux/reallocr.c: Ditto.
8201 * libc/sys/linux/thread-m.h: Ditto.
8202 * libc/sys/linux/vallocr.c: Ditto.
8203 * libc/sys/linux/bp-checks.h: Ditto.
8204 * libc/sys/linux/libc-symbols.h: Ditto.
8205 * libc/sys/linux/libc-tsd.h: Ditto.
8206 * libc/sys/linux/libintl.h: Ditto.
8207 * libc/sys/linux/malign.c: Ditto.
8208 * libc/sys/linux/malignr.c: Ditto.
8209 * libc/sys/linux/mallinfor.c: Ditto.
8210 * libc/sys/linux/malloc.c: Ditto.
8211 * libc/sys/linux/mallocr.c: Ditto.
8212 * libc/sys/linux/malloptr.c: Ditto.
8213 * libc/sys/linux/mallstatsr.c: Ditto.
8214 * libc/sys/linux/mcheck.c: Ditto.
8215 * libc/sys/linux/mhooks.h: Ditto.
8216 * libc/sys/linux/include/bp-sym.h: Ditto.
8217 * libc/sys/linux/include/malloc.h: Ditto.
8218 * libc/sys/linux/include/mcheck.h: Ditto.
8219 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
8220 getpagesize.c.
8221 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
8222 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
8223 * libc/sys/linux/machine/i386/getpagesize.c: New file.
8224 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
8225 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8226 * libc/sys/linux/machine/i386/sysdep.h: New file.
8227 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
8228 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
8229 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
8230
8231 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
8232
8233 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
8234 instead of <asm/siginfo.h>.
8235 * libc/sys/linux/sys/signal.h: Change to include various linux
8236 <bits/xxx.h> header files, rather than <linux/signal.h> so as
8237 to work with multiple releases of glibc header files.
8238
8239 2002-07-11 Chris Demetriou <cgd@broadcom.com>
8240
8241 * testsuite/newlib.search/hsearchtest.c: New file to test
8242 newlib/libc/search.
8243 * testsuite/newlib.search/hsearchtest.exp: Likewise.
8244
8245 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
8246
8247 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
8248 a terminal.
8249 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
8250
8251 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
8252
8253 * libc/include/math.h (MAXFLOAT): Added.
8254
8255 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
8256
8257 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
8258 Make strcmp.S unconditional.
8259 * libc/machine/sh/Makefile.in: Regenerate.
8260 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
8261 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
8262 for SHcompact.
8263
8264 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8265
8266 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
8267 define before including <sys/lock.h>.
8268
8269 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8270
8271 * libc/include/utime.h: Add include of <_ansi.h>.
8272 * libc/sys/linux/Makefile.am: Add utimes.c.
8273 * libc/sys/linux/Makefile.in: Regenerated.
8274 * libc/sys/linux/inode.c(__umask): New static routine.
8275 (umask): Written to use __umask and attempt to thread lock.
8276 (getumask): New function written to use __umask and thread lock.
8277 * libc/sys/linux/utimes.c: New file.
8278 * libc/sys/linux/sys/time.h: Fix utimes prototype.
8279 * libc/sys/linux/sys/utime.h: New file.
8280
8281 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8282
8283 * libtool.m4: New file.
8284 * libc/sys/linux/process.c: Implement vfork in terms of fork,
8285 rather than as a syscall.
8286
8287 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8288
8289 * libc/include/stdio.h: Add new prototypes.
8290 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
8291 * libc/stdio/Makefile.in: Regenerated.
8292 * libc/stdio/fseek.c: Add fseeko documentation.
8293 * libc/stdio/ftell.c: Add ftello documentation.
8294 * libc/stdio/fseeko.c: New file.
8295 * libc/stdio/ftello.c: New file.
8296
8297 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8298
8299 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
8300 * libc/stdio/Makefile.in: Regenerated.
8301 * libc/stdio/asprintf.c: New file.
8302 * libc/stdio/vasprintf.c: Ditto.
8303 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
8304 the buffer for asprintf support.
8305 * libc/stdio/sprintf.c: Add asprintf documentation.
8306 * libc/stdio/vfprintf.c: Add vasprintf documentation.
8307 * libc/include/stdio.h: Add new prototypes.
8308
8309 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
8310
8311 * libc/search/hcreate.c: Remove advertising clause from license.
8312 * libc/search/hcreate_r.c: Likewise.
8313
8314 2002-07-02 Chris Demetriou <cgd@broadcom.com>
8315
8316 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
8317 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
8318 Check that one of them is defined and error out if not.
8319 Add any platforms defined in <machine/ieeefp.h> that are missing.
8320 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
8321 (DB_LITTLE_ENDIAN): New defines.
8322 * libc/search/hash.c: Replace all incorrect checks for
8323 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
8324 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
8325 * libc/search/hash_page.c: Likewise.
8326
8327 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8328
8329 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
8330
8331 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
8332
8333 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
8334 * libc/include/time.h: Same.
8335 * libc/include/string.h: Same.
8336 * libc/include/stdlib.h: Same.
8337 * libc/include/signal.h: Same.
8338 * libc/include/setjmp.h: Same.
8339 * libc/include/math.h: Same.
8340 * libc/include/locale.h: Same.
8341 * libc/include/ctype.h: Same.
8342 * libc/include/machine/setjmp.h: Same.
8343 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
8344 (_END_STD_C): Add.
8345
8346 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8347
8348 * libc/include/sys/_types.h: Define _ssize_t as int if int is
8349 32-bits, otherwise define it as long.
8350 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
8351 and define ssize_t as _ssize_t.
8352 * libc/reent/readr.c: Change return type to _ssize_t.
8353 * libc/reent/writer.c: Ditto.
8354 * libc/sys/linux/Makefile.am: Add aio.c.
8355 * libc/sys/linux/Makefile.in: Regenerated.
8356 * libc/sys/linux/aio.c: New file.
8357 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
8358 * libm/common/fdlibm.h: Undef __P before defining it.
8359
8360 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8361
8362 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
8363 exponent_is_even_int variable. Handle case where x is
8364 negative, and y is an odd integer.
8365 * libm/mathfp/sf_pow.c (powf): Likewise.
8366
8367 * libm/mathfp/er_lgamma.c: Remove __kernel references.
8368 * libm/mathfp/erf_lgamma.c: Likewise.
8369 * libm/mathfp/s_tgamma.c: Likewise.
8370 * libm/mathfp/sf_tgamma.c: Likewise.
8371
8372 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8373
8374 * libc/sys/linux/Makefile.am: Add new clock routines.
8375 * libc/sys/linux/Makefile.in: Regenerated.
8376 * libc/sys/linux/clock_getres.c: New file.
8377 * libc/sys/linux/clock_gettime.c: Ditto.
8378 * libc/sys/linux/clock_settime.c: Ditto.
8379 * libc/sys/linux/hp-timing.h: Ditto.
8380 * libc/sys/linux/libc-internal.h: Ditto.
8381 * libc/sys/linux/sysconf.c: Fix typo.
8382 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
8383 * libc/sys/linux/machine/hp-timing.h: New file.
8384 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
8385 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8386 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
8387 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
8388 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
8389 * libc/sys/linux/sys/linux_time.h: New file.
8390 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
8391 replace with <sys/linux_time.h>.
8392
8393 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
8394
8395 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8396
8397 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8398
8399 * libc/sys/linux/Makefile.am: Consolidate additional items under
8400 ADD_OBJS.
8401 * libc/sys/linux/Makefile.in: Regenerated.
8402
8403 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8404
8405 * libc/sys/linux/sethostname.c: New file.
8406 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8407 * libc/sys/linux/Makefile.in: Regenerated.
8408
8409 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8410
8411 * libc/search/db_local.h: New file.
8412 * libc/include/db.h: Remove.
8413 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8414 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8415 "db_local.h".
8416 * libc/search/hash_bigkey.c: Likewise.
8417 * libc/search/hash_buf.c: Likewise.
8418 * libc/search/hash_func.c: Likewise.
8419 * libc/search/hash_log2.c: Likewise.
8420 * libc/search/hash_page.c: Likewise.
8421
8422 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
8423
8424 * libc/machine/sh/strlen.S: New file.
8425 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8426 * libc/machine/sh/Makefile.am: Regenerate.
8427
8428 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8429
8430 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8431 add gethostname alias.
8432
8433 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8434
8435 * libc/include/math.h: Remove <sys/types.h>.
8436 (__dmath): Use __ULong instead of __uint32_t.
8437 * libc/include/sys/reent.h: If long or int is not 32-bits,
8438 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
8439 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8440 * libm/common/fdlibm.h: Ditto.
8441
8442 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8443
8444 * libc/include/ndbm.h: Remove.
8445 * libc/search/ndbm.c: Remove.
8446
8447 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8448
8449 * libc/stdio/fseek.c (fseek): Fix braces.
8450
8451 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
8452
8453 * libc/time/strftime.c (strftime): Add %e format specifier.
8454
8455 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8456
8457 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8458 previously defined.
8459
8460 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
8461
8462 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8463 (BYTE_ORDER): Define as appropriate for the target.
8464
8465 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8466
8467 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8468 to _ssize_t.
8469 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8470
8471 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8472
8473 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8474 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8475 [HAVE_GETDATE](getdate_err): New error code.
8476 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8477 * libc/stdio/Makefile.in: Regenerated.
8478 * libc/stdio/getdelim.c: New file.
8479 * libc/stdio/getline.c: Ditto.
8480 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8481 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8482 * libc/sys/linux/Makefile.in: Regenerated.
8483 * libc/sys/linux/getdate.c: New file.
8484 * libc/sys/linux/getdate_err.c: Ditto.
8485 * libc/sys/linux/ntp_gettime.c: Ditto.
8486 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8487 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8488
8489 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8490
8491 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8492 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8493 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8494 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8495 * libc/include/sys/param.h: Remove i386 case which is handled
8496 by default case.
8497 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8498 definitions in case they are already defined.
8499 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8500 _IEEE_LITTLE_ENDIAN flags.
8501 * libc/include/sys/reent.h: Change __uint32_t references to
8502 use _ULong instead.
8503 (_REENT_GETDATE_REENT_P): New macro.
8504 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8505 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8506 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8507 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8508 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8509 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8510 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8511 definitions which are done by subsequent glibc headers.
8512 Add macro definitions to prevent subsequent header files from
8513 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8514 intptr_t to after glibc definitions of types they are based on.
8515
8516 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8517
8518 * libc/include/errno.h: Protect from multiple inclusion.
8519
8520 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8521
8522 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8523
8524 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8525
8526 * Makefile.am (LIB_OBJECTLISTS): Add
8527 libc/search/objectlist.awk.in.
8528 * libc/Makefile.am (SUBDIRS): Add search.
8529 (SUBLIBS): Add search/libsearch.la.
8530 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8531 * libc/search: New directory.
8532 * libc/search/Makefile.am: New file.
8533 * libc/search/extern.h: New file.
8534 * libc/search/hash.c: New file.
8535 * libc/search/hash.h: New file.
8536 * libc/search/hash_bigkey.c: New file.
8537 * libc/search/hash_buf.c: New file.
8538 * libc/search/hash_func.c: New file.
8539 * libc/search/hash_log2.c: New file.
8540 * libc/search/hash_page.c: New file.
8541 * libc/search/hcreate.3: New file.
8542 * libc/search/hcreate.c: New file.
8543 * libc/search/hcreate_r.c: New file.
8544 * libc/search/ndbm.c: New file.
8545 * libc/search/page.h: New file.
8546 * libc/search/tdelete.c: New file.
8547 * libc/search/tdestroy.c: New file.
8548 * libc/search/tfind.c: New file.
8549 * libc/search/tsearch.3: New file.
8550 * libc/search/tsearch.c: New file.
8551 * libc/search/twalk.c: New file.
8552 * libc/include/db.h: New file.
8553 * libc/include/ndbm.h: New file.
8554 * libc/include/search.h: New file.
8555 * libc/include/sys/queue.h: New file.
8556 * libc/include/sys/cdefs.h: New file.
8557 * libc/include/sys/param.h
8558 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8559 LITTLE_ENDIAN or BIG_ENDIAN.
8560 * libc/include/sys/errno.h (EFTYPE): New macro.
8561 * libc/search/bsearch.c: Move from libc/stdlib.
8562 * libc/search/qsort.c: Likewise.
8563 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8564 qsort.c.
8565 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8566 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8567
8568 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8569
8570 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8571 ipc routines, and ftok.
8572 * libc/sys/linux/Makefile.in: Regenerated.
8573 * libc/sys/linux/ftok.c: New file.
8574 * libc/sys/linux/ipc.c: Ditto.
8575 * libc/sys/linux/mq_close.c: Ditto.
8576 * libc/sys/linux/mq_getattr.c: Ditto.
8577 * libc/sys/linux/mq_notify.c: Ditto.
8578 * libc/sys/linux/mq_open.c: Ditto.
8579 * libc/sys/linux/mq_receive.c: Ditto.
8580 * libc/sys/linux/mq_send.c: Ditto.
8581 * libc/sys/linux/mq_setattr.c: Ditto.
8582 * libc/sys/linux/mq_unlink.c: Ditto.
8583 * libc/sys/linux/mqlocal.h: Ditto.
8584 * libc/sys/linux/include/mqueue.h: Ditto.
8585 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8586 __uid_t_defined.
8587
8588 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8589
8590 * libm/common/sf_lround.c (round): Change name to: (lround).
8591 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8592 remquof.
8593
8594 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8595
8596 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8597 procedure.
8598 (newlib_pass_fail): Change to compile and run only one file.
8599 * testsuite/newlib.locale/locale.exp: Use new
8600 newlib_pass_fail_all procedure.
8601 * testsuite/newlib.string/string.exp: Likewise.
8602
8603 2002-06-18 Dave Brolley <brolley@redhat.com>
8604
8605 From Catherine Moore, Michael Meissner, Richard Sandiford:
8606 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8607 (_JBTYPE): Ditto.
8608 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8609 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8610 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8611 * configure.host: Support frv-*-*.
8612 * libc/machine/frv/Makefile.am: New file.
8613 * libc/machine/frv/configure.in: New file.
8614 * libc/machine/frv/setjmp.S: New file.
8615
8616 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8617
8618 * libc/include/ctype.h: Remove isblank macro.
8619
8620 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8621 * libc/ctype/isblank.c: New file.
8622 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8623 declaration. Add isblank macro.
8624
8625 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8626
8627 * testsuite/newlib.stdlib/atexit.c: New file.
8628 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8629 * testsuite/newlib.string/tstring.c: Change default start size
8630 to something more reasonable for embedded platforms.
8631
8632 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8633
8634 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8635
8636 * libc/argz: New directory.
8637 * libc/argz/*: New files.
8638 * libc/argz/argz_add.c: New file.
8639 * libc/argz/argz_add_sep.c: New file.
8640 * libc/argz/argz_append.c: New file.
8641 * libc/argz/argz_count.c: New file.
8642 * libc/argz/argz_create.c: New file.
8643 * libc/argz/argz_create_sep.c: New file.
8644 * libc/argz/argz_delete.c: New file.
8645 * libc/argz/argz_extract.c: New file.
8646 * libc/argz/argz_insert.c: New file.
8647 * libc/argz/argz_next.c: New file.
8648 * libc/argz/argz_replace.c: New file.
8649 * libc/argz/argz_stringify.c: New file.
8650 * libc/argz/buf_findstr.c: New file.
8651 * libc/argz/envz_add.c: New file.
8652 * libc/argz/envz_entry.c: New file.
8653 * libc/argz/envz_get.c: New file.
8654 * libc/argz/envz_merge.c: New file.
8655 * libc/argz/envz_remove.c: New file.
8656 * libc/argz/envz_strip.c: New file.
8657 * libc/include/argz.h: New file.
8658 * libc/include/envz.h: New file.
8659 * Makefile.am (LIBC_OBJECTLISTS): Add
8660 libc/argz/objectlist.awk.in.
8661 * libc/Makefile.am (SUBDIRS): Add argz.
8662 (SUBLIBS): Add argz/libargz.la.
8663 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
8664 * libc/include/errno.h: Add error_t typedef.
8665
8666 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
8667
8668 * libc/include/stdlib.h: Add _Exit prototype.
8669 * libc/stdlib/Makefile.am: Add _Exit.c support.
8670 * libc/stdlib/Makefile.in: Ditto.
8671 * libc/stdlib/_Exit.c: New file.
8672
8673 2002-06-13 Stephen L. Moshier <steve@moshier.net>
8674
8675 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
8676 x is close to -1.0 and y is very large to use ax (absolute value)
8677 instead of x.
8678 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
8679
8680 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
8681
8682 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
8683 Fix clobbering bytes before destination if src and dst have same
8684 non-zero misalignment.
8685
8686 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8687 Fixed bug in writing end of set region.
8688
8689 2002-06-10 Christopher Faylor <cgf@redhat.com>
8690
8691 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8692 spawnve declaration.
8693
8694 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8695
8696 * libm/common/s_fdim.c: New file.
8697 * libm/common/s_fma.c: Likewise.
8698 * libm/common/s_fmax.c: Likewise.
8699 * libm/common/s_fmin.c: Likewise.
8700 * libm/common/s_fpclassify.c: Likewise.
8701 * libm/common/s_lrint.c: Likewise.
8702 * libm/common/s_lround.c: Likewise.
8703 * libm/common/s_nearbyint.c: Likewise.
8704 * libm/common/s_remquo.c: Likewise.
8705 * libm/common/s_round.c: Likewise.
8706 * libm/common/s_scalbln.c: Likewise.
8707 * libm/common/s_signbit.c: Likewise.
8708 * libm/common/s_trunc.c: Likewise.
8709 * libm/common/sf_fdim.c: Likewise.
8710 * libm/common/sf_fma.c: Likewise.
8711 * libm/common/sf_fmax.c: Likewise.
8712 * libm/common/sf_fmin.c: Likewise.
8713 * libm/common/sf_lrint.c: Likewise.
8714 * libm/common/sf_lround.c: Likewise.
8715 * libm/common/sf_nearbyint.c: Likewise.
8716 * libm/common/sf_remquo.c: Likewise.
8717 * libm/common/sf_round.c: Likewise.
8718 * libm/common/sf_scalbln.c: Likewise.
8719 * libm/common/sf_trunc.c: Likewise.
8720 * libm/math/w_exp2.c: Likewise.
8721 * libm/math/w_tgamma.c: Likewise.
8722 * libm/math/wf_exp2.c: Likewise.
8723 * libm/math/wf_tgamma.c: Likewise.
8724 * libm/mathfp/s_exp2.c: Likewise.
8725 * libm/mathfp/s_tgamma.c: Likewise.
8726 * libm/mathfp/sf_exp2.c: Likewise.
8727 * libm/mathfp/sf_tgamma.c: Likewise.
8728 * libm/math/er_gamma.c: Fix return value.
8729 * libm/math/erf_gamma.c: Likewise.
8730 * libm/mathfp/er_gamma.c: Likewise.
8731 * libm/mathfp/erf_gamma.c: Likewise.
8732 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
8733 declarations and macros.
8734 Regenerated all Makefile.in, aclocal.m4 and configure files to
8735 use new libtool macros in top-level libtool.m4
8736
8737 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
8738
8739 * libc/include/string.h[__linux__]: Add strsignal prototype.
8740 * libc/include/sys/lock.h: New file with default locking support.
8741 * libc/include/sys/reent.h: Add signal buffer support for strsignal
8742 and psignal.
8743 * libc/posix/Makefile.am: Add support for readdir_r.c.
8744 * libc/posix/Makefile.in: Regenerated.
8745 * libc/posix/closedir.c: Add locking support and hash table cleanup.
8746 * libc/posix/opendir.c: Add lock support.
8747 * libc/posix/readdir.c: Ditto.
8748 * libc/posix/rewinddir.c: Ditto.
8749 * libc/posix/scandir.c: Ditto.
8750 * libc/posix/seekdir.c: Ditto.
8751 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
8752 clean up leftover hash table entries.
8753 * libc/posix/readdir_r.c: New file.
8754 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
8755 * libc/sys/linux/Makefile.in: Regenerated.
8756 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
8757 * libc/sys/linux/sys/signal.h: Add psignal prototype.
8758 * libc/sys/linux/psignal.c: New file.
8759 * libc/sys/linux/strsignal.c: Ditto.
8760
8761 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
8762
8763 * libc/include/sys/types.h: Don't define dev_t when compiling for
8764 Cygwin.
8765
8766 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
8767
8768 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
8769 make siglist.inc dependent on sig.c instead of signal.c.
8770 * libc/sys/linux/Makefile.in: Regenerated.
8771 * libc/sys/linux/sig.c: Rename from signal.c and change code to
8772 use NSIG instead of _NSIG.
8773 * libc/sys/linux/sigaction.c: New file.
8774 * libc/sys/linux/signal.c: Changed to be linux signal() function
8775 so as to override regular newlib default signal.c.
8776 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
8777 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8778 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
8779 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
8780 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
8781 default linux sigset_t typedef by defining it equal to __sigset_t.
8782 * libc/unix/sigset.c: Add check so code isn't compiled on systems
8783 with a sigset_t that isn't implemented with a single int.
8784
8785 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
8786
8787 * libc/sys/linux/Makefile.am: Add support for new files.
8788 * libc/sys/linux/Makefile.in: Regenerated.
8789 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
8790 * libc/sys/linux/signal.c: Change to use real-time syscalls for
8791 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
8792 it is in a separate file now.
8793 * libc/sys/linux/machine/i386/Makefile.am
8794 * libc/sys/linux/machine/i386/Makefile.in
8795 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
8796 * libc/sys/linux/sigaction.c: New file.
8797 * libc/sys/linux/sigqueue.c: Ditto.
8798 * libc/sys/linux/sigwait.c: Ditto.
8799 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
8800 * libc/sys/linux/kernel_sigaction.h: Ditto.
8801
8802 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
8803
8804 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
8805 tcsendbrk.c.
8806 * libc/sys/linux/Makefile.in: Regenerated.
8807 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
8808 tcgetpgrp(), and tcsetpgrp() functions.
8809 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
8810 to get __MAX_BAUD rate.
8811 * libc/sys/linux/machine/i386/include/termios.h: New file.
8812 * libc/include/machine/termios.h: Ditto.
8813 * libc/sys/linux/cfspeed.c: Ditto.
8814 * libc/sys/linux/tcsendbrk.c: Ditto.
8815
8816 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
8817
8818 * libc/include/string.h: Add strnlen and strerror_r prototypes.
8819 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
8820 * libc/string/Makefile.in: Regenerated.
8821 * libc/string/strerror_r.c: New file.
8822 * libc/string/strnlen.c: New file.
8823 * libc/sys/linux/Makefile.am: Add rename.c.
8824 * libc/sys/linux/Makefile.in: Regenerated.
8825 * libc/sys/linux/rename.c: New file to override default rename.
8826
8827 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8828
8829 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
8830 * libc/sys/linux/sys/time.h: Add conversion macros.
8831 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
8832 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
8833 * libc/sys/linux/gethostname.c: New file.
8834 * libc/sys/linux/seteuid.c: New file.
8835 * libc/sys/linux/sysctl.c: New file.
8836
8837 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8838
8839 * libc/string/Makefile.am: Add support for strsep.c.
8840 * libc/string/Makefile.in: Regenerated.
8841 * libc/string/strsep.c: New file.
8842 * libc/string/strtok.c: Change to call __strtok_r service routine.
8843 * libc/string/strtok_r.c: Add __strtok_r routine which takes
8844 additional flag parameter regarding whether to skip leading delimeters.
8845 Change strtok_r to call __strtok_r.
8846
8847 2002-05-23 Gareth Pearce <tilps@hotmail.com>
8848
8849 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
8850 * libc/stdio/Makefile.in: Regenerated.
8851 * libc/stdio/setbuffer.c: New file.
8852 * libc/stdio/setlinebuf.c: New file.
8853
8854 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8855
8856 * libc/sys/linux/Makefile.am: Add resource.c.
8857 * libc/sys/linux/Makefile.in: Regenerated.
8858 * libc/sys/linux/resource.c: New file.
8859 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
8860 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
8861 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8862 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
8863 are now found in libc/sys/linux/resource.c.
8864
8865 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8866
8867 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
8868 to use void * pointers and comply with Single Unix spec.
8869 * libc/string/bcmp.c: Change to use void * instead of char *.
8870 * libc/string/bcopy.c: Ditto.
8871 * libc/string/bzero.c: Ditto.
8872
8873 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8874
8875 * libc/sys/linux/shm_open.c: New file.
8876 * libc/sys/linux/shm_unlink.c: Ditto.
8877 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
8878 shm_unlink.c.
8879 * libc/sys/linux/Makefile.in: Regenerated.
8880 * libc/sys/linux/sys/types.h: Add some additional checks to see
8881 if clock_t or time_t is already defined.
8882
8883 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8884
8885 * Makefile.am: Don't pass $toollibdir down directly in
8886 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
8887 Pass it under the name: top_toollibdir.
8888 * Makefile.in: Regenerated.
8889
8890 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8891
8892 * libc/include/sys/types.h: Revert previous patch.
8893
8894 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8895
8896 * libc/include/sys/types.h: Include cygwin/types.h always under
8897 Cygwin, not only if _POSIX_THREADS is defined.
8898
8899 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
8900
8901 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
8902
8903 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
8904
8905 * Makefile.am: Copy and install headers from sys/machine/include
8906 directory. Also pass $toollibdir to lower-level directories.
8907 * Makefile.in: Regenerated.
8908 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
8909 stderr to use _REENT macro instead of _impure_ptr directly.
8910 * libc/include/sys/config.h[__i386__][__linux__]: Define
8911 __DYNAMIC_REENT__.
8912 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
8913 call to __getreent() function if !__SINGLE_THREAD__ and
8914 __DYNAMIC_REENT__ is set.
8915 * libc/reent/Makefile.am: Add support for getreent.c.
8916 * libc/reent/Makefile.in: Regenerated.
8917 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
8918 * libc/sys/linux/Makefile.am: Add support for new files.
8919 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
8920 * libc/sys/linux/Makefile.in: Regenerated.
8921 * libc/sys/linux/configure: Ditto.
8922 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
8923 __close, __read, __write, __poll, __open, __lseek, __fcntl from
8924 their __libc_ counterparts.
8925 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
8926 and weak-alias to regular names.
8927 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
8928 to pread64 and __pread64.
8929 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
8930 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
8931 weak-alias to pwrite64.
8932 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
8933 __libc_sched_getscheduler, __libc_sched_get_priority_max,
8934 __libc_sched_get_priority_min, and __libc_sched_setschedule to
8935 name with __ instead of __libc_.
8936 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
8937 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
8938 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
8939 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
8940 to raise.
8941 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
8942 __libc_send to __send.
8943 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
8944 __gettimeofday.
8945 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
8946 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
8947 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
8948 type and typedef __jmp_buf to jmp_buf.
8949 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
8950 setjmp.S.
8951 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8952 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
8953 section.
8954 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
8955 prefix for function macros and then use weak_alias() to regular names.
8956 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8957 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
8958 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
8959 to be flockfile() and funlockfile() respectively.
8960 * libc/sys/linux/sys/types.h
8961 * libc/reent/getreent.c: New file.
8962 * libc/sys/linux/flockfile.c: Ditto.
8963 * libc/sys/linux/funlockfile.c: Ditto.
8964 * libc/sys/linux/getreent.c: Ditto.
8965 * libc/sys/linux/pread.c: Ditto.
8966 * libc/sys/linux/pwrite.c: Ditto.
8967 * libc/sys/linux/raise.c: Ditto.
8968 * libc/sys/linux/system.c: Ditto.
8969 * libc/sys/linux/tcdrain.c: Ditto.
8970 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
8971 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
8972 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
8973 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
8974 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
8975
8976 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
8977
8978 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
8979 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
8980 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
8981 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
8982
8983 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
8984
8985 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
8986 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
8987 exit point.
8988
8989 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8990
8991 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
8992 options when testing natively on i[3456]86-*-linux.
8993
8994 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
8995 only one pass or fail per test file. Trim \r's from output
8996 values received from test programs. Remove support for named
8997 tests.
8998 * testsuite/newlib.locale/UTF-8.exp: Update to support new
8999 newlib_check_output behaviour.
9000 * testsuite/newlib.locale/UTF-8.c: Likewise.
9001
9002 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
9003
9004 * libc/include/stdlib.h: Add on_exit prototype.
9005 * libc/include/sys/reent.h (struct _atexit): Add argument array
9006 and bits to track type of exit routine to support both on_exit
9007 and atexit.
9008 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
9009 by default and change the setting of the atexit structure.
9010 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9011 * libc/stdlib/on_exit.c: New file.
9012 * libc/stdlib/Makefile.am: Add support for on_exit.
9013 * libc/stdlib/Makefile.in: Regenerated.
9014 * libc/stdlib/atexit.c: Change to initialize types field.
9015 * libc/stdlib/exit.c: Change to look at types field for each
9016 exit routine and either call an atexit-style or an on_exit-style
9017 routine accordingly.
9018
9019 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9020
9021 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9022 allow v specifier with n or L specifiers. For vector c format,
9023 move tmp declaration to the top.
9024
9025 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9026
9027 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9028 the original format specifier when looping for vectors to compensate
9029 for any changes made in vector %g format processing.
9030 Also add syntax checking for various invalid scenarios
9031 involving vector format extensions.
9032 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9033 return code setting for vector formats. Also treat vector
9034 separator mismatch as a match error instead of an input error.
9035 Perform some syntax checking for vector formats.
9036
9037 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9038
9039 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9040 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9041 * libc/string/strlcat.c: New file.
9042 * libc/string/strlcpy.c: New file.
9043
9044 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9045
9046 * libc/string/strchr.c: Fix comment typo.
9047
9048 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9049
9050 * acinclude.m4: Add support for --enable-newlib-multithread.
9051 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9052 --enable-newlib-multithread=no.
9053
9054 * libc/stdio/getc_u.c: New file.
9055 * libc/stdio/getchar_u.c: New file.
9056 * libc/stdio/putc_u.c: New file.
9057 * libc/stdio/putchar_u.c: New file.
9058 * libc/include/stdio.h: Add declarations for getc_unlocked,
9059 getchar_unlocked, putc_unlocked and putchar_unlocked.
9060 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9061 (CHEWOUT_FILES): Add new files' .def's.
9062 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9063
9064 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9065
9066 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9067 Also handle as single quad word when destination ends at last
9068 byte of first quad word. Fix byte selection in single quad code.
9069
9070 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9071
9072 * libc/include/sys/stdio.h: New file.
9073 * libc/sys/linux/sys/stdio.h: New file.
9074 * libc/include/stdio.h: Add declarations for flockfile,
9075 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9076 * libc/stdio/clearerr.c: Add file locking.
9077 * libc/stdio/fclose.c: Likewise.
9078 * libc/stdio/feof.c: Likewise.
9079 * libc/stdio/ferror.c: Likewise.
9080 * libc/stdio/fflush.c: Likewise.
9081 * libc/stdio/fgetc.c: Likewise.
9082 * libc/stdio/fgetpos.c: Likewise.
9083 * libc/stdio/fgets.c: Likewise.
9084 * libc/stdio/fileno.c: Likewise.
9085 * libc/stdio/fputc.c: Likewise.
9086 * libc/stdio/fputs.c: Likewise.
9087 * libc/stdio/fread.c: Likewise.
9088 * libc/stdio/freopen.c: Likewise.
9089 * libc/stdio/fseek.c: Likewise.
9090 * libc/stdio/ftell.c: Likewise.
9091 * libc/stdio/fwrite.c: Likewise.
9092 * libc/stdio/getc.c: Likewise.
9093 * libc/stdio/putc.c: Likewise.
9094 * libc/stdio/setvbuf.c: Likewise.
9095 * libc/stdio/ungetc.c: Likewise.
9096 * libc/stdio/vfprintf.c: Likewise.
9097
9098 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9099
9100 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
9101 support for 'p' format. Fix code to print bytes for vector
9102 integer formats that do not specify 'h' or 'l'.
9103 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
9104 for 'p' specifier. Fix code to scan 16 bytes for vector integer
9105 formats that do not specify 'h' or 'l'.
9106
9107 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
9108
9109 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
9110
9111 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
9112 (_sbrk): Add cast of return value.
9113
9114 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9115
9116 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
9117 (_REENT_L64A_BUF): New macro for accessing area.
9118 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
9119 * libc/stdlib/Makefile.in: Regenerated.
9120 * libc/stdlib/a64l.c: New file.
9121 * libc/stdlib/l64a.c: New file.
9122
9123 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9124
9125 * libc/unix/pread.c: Fix typo for _pread_r.
9126 * libc/unix/pwrite.c: Fix type for _pwrite_r.
9127 * libc/sys/linux/pread64.c: Fix typo for read syscall.
9128 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
9129
9130 2002-05-03 Christopher Faylor <cgf@redhat.com>
9131
9132 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
9133
9134 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9135
9136 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
9137
9138 2002-05-01 Christopher Faylor <cgf@redhat.com>
9139
9140 * utmp.h: Define more UNIX constants.
9141
9142 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9143
9144 * Makefile.am: Add support for checking multilibs.
9145
9146 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
9147 (SUBDEFS): Add LIBC_EXTRA_DEF.
9148 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
9149 (LIBC_EXTRA_DEF): Likewise.
9150 (extra_dir): Likewise.
9151 * libc/machine/xscale/machine: New directory.
9152 * libc/machine/xscale/machine/profile.h: New file.
9153
9154 * Makefile.am (site.exp): Remove newlib_cflags. Add
9155 multibuildtop.
9156 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
9157 * testsuite/lib/flags.exp: New file.
9158 * testsuite/lib/newlib.exp: Load flags.exp.
9159 (newlib_target_compile): Remove libgloss directory references.
9160 (newlib_init): Remove newlib_cflags references.
9161
9162 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9163
9164 * testsuite/lib/newlib.exp (newlib_target_compile): Change
9165 method of finding libgloss_target_dir.
9166
9167 * Makefile.am (site.exp): Change host_alias, host_triplet,
9168 target_alias, target_triplet to refer to gcc's host and target
9169 variables (newlib's build and host variables).
9170 * testsuite/lib/newlib.exp (newlib_init): Change build
9171 references to host references, host references to target
9172 references to reflect Makefile.am changes.
9173 (newlib_target_compile): Likewise.
9174 (newlib_finish): Likewise.
9175
9176 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9177
9178 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
9179
9180 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
9181
9182 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
9183 (_system): New function. Ditto.
9184 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
9185 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
9186 targets.
9187
9188 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9189
9190 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
9191 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
9192 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
9193 * libc/sys/linux/Makefile.in: Regenerated.
9194 * libc/unix/Makefile.in: Ditto.
9195 * libc/sys/linux/pread64.c: New file.
9196 * libc/sys/linux/pwrite64.c: Ditto.
9197 * libc/unix/pread.c: Ditto.
9198 * libc/unix/pwrite.c: Ditto.
9199
9200 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9201
9202 * libc/sys/linux/Makefile.am: Add io64.c.
9203 * libc/sys/linux/Makefile.in: Regenerated.
9204 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
9205 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
9206 * libc/sys/linux/io64.c: New file.
9207
9208 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9209
9210 * configure.in (CC_FOR_NEWLIB): New variable that
9211 bases on $(CC) and adds targ-include and libc/include as
9212 -isystem directives if they are not already part of $(CC).
9213 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
9214 $(CC_FOR_NEWLIB).
9215 * configure: Regenerated.
9216 * Makefile.in: Ditto.
9217
9218 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
9219
9220 * libc/sys/linux/Makefile.am: Add support for sched.c.
9221 * libc/sys/linux/Makefile.in: Regenerated.
9222 * libc/sys/linux/sched.c: New file.
9223 * libc/sys/linux/sys/types.h: Add struct timespec.
9224
9225 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9226
9227 * configure.in (CC_FOR_BUILD): Set to gcc whether
9228 cross-compiling or not.
9229 (CC): Add -isystem's for targ-include and libc/include when they
9230 do not already appear in CC.
9231
9232 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9233
9234 * Makefile.am (check-DEJAGNU): New target.
9235 (site.exp): Likewise.
9236 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
9237 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
9238 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
9239 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
9240 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
9241 * testsuite: New directory.
9242 * testsuite/config: Likewise.
9243 * testsuite/lib: Likewise.
9244 * testsuite/newlib.locale: Likewise.
9245 * testsuite/newlib.string: Likewise.
9246 * testsuite/config/default.exp: New file.
9247 * testsuite/lib/checkoutput.exp: New file.
9248 * testsuite/lib/newlib.exp: New file.
9249 * testsuite/lib/passfail.exp: New file.
9250 * testsuite/newlib.locale/UTF-8.c: New file.
9251 * testsuite/newlib.locale/UTF-8.exp: New file.
9252 * testsuite/newlib.locale/locale.exp: New file.
9253 * testsuite/newlib.string/string.exp: New file.
9254 * testsuite/newlib.string/tstring.c: New file.
9255
9256 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
9257
9258 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
9259 * libc/sys/linux/Makefile.am: Add support for mmap.c.
9260 * libc/sys/linux/Makefile.in: Regenerated.
9261 * libc/sys/linux/mmap.c: New file.
9262 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
9263 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
9264
9265 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9266
9267 * acinclude.m4 (newlib_cflags): Remove include directories that
9268 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
9269
9270 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
9271
9272 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
9273 * libc/machine/xscale/memcmp.c: Ditto.
9274 * libc/machine/xscale/memcpy.c: Ditto.
9275 * libc/machine/xscale/memmove.c: Ditto.
9276 * libc/machine/xscale/memset.c: Ditto.
9277 * libc/machine/xscale/strchr.c: Ditto.
9278 * libc/machine/xscale/strcmp.c: Ditto.
9279 * libc/machine/xscale/strcpy.c: Ditto.
9280 * libc/machine/xscale/strlen.c: Ditto.
9281
9282 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
9283
9284 * libc/include/sys/config.h: Remove include of <limits.h>.
9285 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
9286 define INT_MAX and LONG_MAX. Use them in tests.
9287
9288 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
9289
9290 * configure.host: Add support for powerpc-eabialtivec*.
9291 * libc/include/malloc.h: Add include of <machine/malloc.h>.
9292 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
9293 * libc/include/machine/malloc.h: New file.
9294 * libc/include/machine/stdlib.h: Ditto.
9295 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
9296 * libc/machine/powerpc/Makefile.am: Add conditional objects and
9297 sources based on configuration.
9298 * libc/machine/powerpc/Makefile.in: Regenerated.
9299 * libc/machine/powerpc/configure: Ditto.
9300 * libc/machine/powerpc/configure.in: Add check for
9301 powerpc-eabialtivec* in which case add in additional source files.
9302 * libc/machine/powerpc/setjmp.S: Add altivec support.
9303 * libc/machine/powerpc/vec_calloc.c: New file.
9304 * libc/machine/powerpc/vec_free.c: Ditto.
9305 * libc/machine/powerpc/vec_malloc.c: Ditto.
9306 * libc/machine/powerpc/vec_mallocr.c: Ditto.
9307 * libc/machine/powerpc/vec_realloc.c: Ditto.
9308 * libc/machine/powerpc/machine/malloc.h: Ditto.
9309 * libc/machine/powerpc/machine/stdlib.h: Ditto.
9310 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
9311 with added altivec format specifiers.
9312 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
9313 added altivec format specifiers.
9314
9315 2002-04-19 Joel Sherrill <joel@OARcorp.com>
9316
9317 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
9318 while autoconf is trying to link main(){}.
9319
9320 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9321
9322 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
9323 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
9324
9325 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9326
9327 * libc/time/time.tex: Add tzset info.
9328
9329 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9330
9331 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9332 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9333 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9334 (tzname): Defined for all platforms.
9335 (daylight, timezone): Defined only for CYGWIN.
9336 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9337 environment set up.
9338 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9339 environment variable is set.
9340 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9341 tzset_r.c.
9342 * libc/time/Makefile.in: Regenerated.
9343 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9344 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9345 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9346 * libc/time/local.h: New local header file.
9347 * libc/time/mktime.c (mktime): Add timezone support.
9348 * libc/time/mktm_r.c: New file which is the common engine
9349 for gmtime_r and lcltime_r. This code has timezone support.
9350 * libc/time/strftime.c (strftime): Add %Z timezone support.
9351 * libc/time/tzlock.c: New file containing timezone lock stubs.
9352 * libc/time/tzset.c: New file containing tzset() routine.
9353 * libc/time/tzset_r.c: New file containing _tzset_r and
9354 internal routine for calculating timezone changes for specified year.
9355
9356 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9357
9358 * configure.in (CRT0_DIR): Set to libc/.
9359 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9360 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9361 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9362 $(CRT1_DIR)/$(CRT1).
9363 * libc/machine/xstormy16/Makefile.in: Regenerated.
9364 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9365 * libc/machine/xstormy16/configure: Regenerated.
9366
9367 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9368
9369 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9370 fails, don't bail out, and try to correct next time.
9371
9372 * libc/include/sys/config.h: Include limits.h.
9373
9374 2002-04-12 Eric Norum <eric.norum@usask.com>
9375
9376 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9377 routine to allow autoconf to determine that building executables
9378 for rtems works.
9379 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9380 (rtems_gxx_mutex_once): Ditto.
9381
9382 2002-04-09 Tom Rix <trix@redhat.com>
9383
9384 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9385
9386 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9387
9388 * libc/include/time.h: Fix strptime declaration.
9389 * libc/time/Makefile.am: Add strptime.c.
9390 * libc/time/Makefile.in: Regenerated.
9391 * libc/time/strptime.c: New file.
9392
9393 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9394
9395 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9396 siglongjmp prototype, and sigsetjmp macro definition.
9397 * libc/sys/linux/siglongjmp.c: New file.
9398 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9399 * libc/sys/linux/Makefile.in: Regenerated.
9400
9401 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9402
9403 * Makefile.am: Add support for installing crt1.o if one exists.
9404 * configure.host: Specify crt1.o for linux.
9405 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9406 * Makefile.in: Regenerated.
9407 * configure: Ditto.
9408 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9409 Added for non-Cygwin, non-RTEMS configurations.
9410 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9411 * libc/sys/linux/Makefile.in: Regenerated.
9412 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9413 by gcc. This fixes problem with reconfiguring linux newlib build.
9414 * libc/sys/linux/sysconf.c: New file.
9415
9416 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9417
9418 * configure.host: Add support for machine subdirectory of
9419 sys subdirectory.
9420 * configure.in: Add check for sys machine subdirectory.
9421 * Makefile.am: Ditto.
9422 * configure: Regenerated.
9423 * Makefile.in: Ditto.
9424 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9425 * libc/sys/linux/sys/syscall.h: Ditto.
9426 * libc/sys/linux/sleep.c: New file.
9427 * libc/sys/linux/socket.c: Ditto.
9428 * libc/sys/linux/sockops.h: Ditto.
9429 * libc/sys/linux/stack.c: Ditto.
9430 * libc/sys/linux/usleep.c: Ditto.
9431 * libc/sys/linux/machine/Makefile.am: Ditto.
9432 * libc/sys/linux/machine/Makefile.in: Ditto.
9433 * libc/sys/linux/machine/aclocal.m4: Ditto.
9434 * libc/sys/linux/machine/configure: Ditto.
9435 * libc/sys/linux/machine/configure.in: Ditto.
9436 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9437 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9438 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9439 * libc/sys/linux/machine/i386/configure: Ditto.
9440 * libc/sys/linux/machine/i386/configure.in: Ditto.
9441 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9442 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9443 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9444 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9445 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9446 * libc/sys/linux/sys/select.h: Ditto.
9447 * libc/sys/linux/configure.in: Add support for machine directory.
9448 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9449 * libc/sys/linux/Makefile.in: Regenerated.
9450 * libc/sys/linux/configure: Ditto.
9451 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9452 * libc/sys/linux/inode.c: Ditto.
9453 * libc/sys/linux/linux.c: Ditto.
9454 * libc/sys/linux/process.c: Ditto.
9455 * libc/sys/linux/systat.c: Ditto.
9456 * libc/sys/linux/time.c: Ditto.
9457 * libc/sys/linux/wait.c: Ditto.
9458 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9459 * libc/sys/linux/io.c: Change header plus add readv/writev.
9460 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9461 use __sigsuspend syscall.
9462 * libc/sys/linux/select.c: Change header plus change select to
9463 use _newselect syscall.
9464 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9465 used by glibc header files.
9466 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9467 types.
9468
9469 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9470
9471 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9472 initializing a struct _reent that has been dynamically allocated.
9473 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9474 _REENT_SMALL and does nothing otherwise.
9475 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9476 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9477 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9478 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9479 [_REENT_SMALL](struct _misc_reent): New structure containing
9480 miscellaneous reentrant areas needed by newlib.
9481 [_REENT_SMALL](struct _reent): Add _misc pointer.
9482 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9483 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9484 and _REENT_STRTOK_LAST macros.
9485 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9486 and _REENT_MBLEN_STATE macros.
9487 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9488 and _REENT_MBTOWC_STATE macros.
9489 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9490 and _REENT_WCTOMB_STATE macros.
9491
9492 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9493
9494 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9495
9496 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9497
9498 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9499
9500 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9501
9502 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9503 Store high part of leading bytes too.
9504
9505 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9506
9507 * libm/math/ef_hypot.c: Increase scale factor to 68.
9508
9509 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9510
9511 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9512 error.
9513
9514 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9515
9516 * libc/sys/go32/access.c: Change license to relaxed license
9517 used in identical file throughout newlib/libgloss.
9518
9519 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9520
9521 * libc/sys/arm/access.c: New file.
9522 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9523 * libc/sys/arm/Makefile.in: Regenerate.
9524 * libc/sys/arm/syscalls.c (_stat): New function.
9525
9526 2002-03-11 Michael Meissner <meissner@redhat.com>
9527
9528 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9529 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9530 * libc/machine/mips/Makefile.in: Regenerate.
9531 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9532 * libc/machine/mips/memset.c: Dito.
9533 * libc/machine/mips/strcmp.c: Dito.
9534 * libc/machine/mips/strlen.c: Dito.
9535 * libc/machine/mips/strncmp.c: Dito.
9536
9537 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9538
9539 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9540 object so it works for shared library or statici library.
9541 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9542
9543 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9544 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9545 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9546 (tzname): Defined for all platforms.
9547 (daylight, timezone): Defined only for CYGWIN.
9548 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9549 environment set up.
9550 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9551 environment variable is set.
9552 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9553 tzset_r.c.
9554 * libc/time/Makefile.in: Regenerated.
9555 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9556 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9557 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9558 * libc/time/local.h: New local header file.
9559 * libc/time/mktime.c (mktime): Add timezone support.
9560 * libc/time/mktm_r.c: New file which is the common engine
9561 for gmtime_r and lcltime_r. This code has timezone support.
9562 * libc/time/strftime.c (strftime): Add %Z timezone support.
9563 * libc/time/tzlock.c: New file containing timezone lock stubs.
9564 * libc/time/tzset.c: New file containing tzset() routine.
9565 * libc/time/tzset_r.c: New file containing _tzset_r and
9566 internal routine for calculating timezone changes for specified year.
9567
9568 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9569
9570 * configure.in (CRT0_DIR): Set to libc/.
9571 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9572 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9573 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9574 $(CRT1_DIR)/$(CRT1).
9575 * libc/machine/xstormy16/Makefile.in: Regenerated.
9576 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9577 * libc/machine/xstormy16/configure: Regenerated.
9578
9579 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9580
9581 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9582 fails, don't bail out, and try to correct next time.
9583
9584 * libc/include/sys/config.h: Include limits.h.
9585
9586 2002-04-12 Eric Norum <eric.norum@usask.com>
9587
9588 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9589 routine to allow autoconf to determine that building executables
9590 for rtems works.
9591 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9592 (rtems_gxx_mutex_once): Ditto.
9593
9594 2002-04-09 Tom Rix <trix@redhat.com>
9595
9596 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9597
9598 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9599
9600 * libc/include/time.h: Fix strptime declaration.
9601 * libc/time/Makefile.am: Add strptime.c.
9602 * libc/time/Makefile.in: Regenerated.
9603 * libc/time/strptime.c: New file.
9604
9605 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9606
9607 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9608 siglongjmp prototype, and sigsetjmp macro definition.
9609 * libc/sys/linux/siglongjmp.c: New file.
9610 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9611 * libc/sys/linux/Makefile.in: Regenerated.
9612
9613 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9614
9615 * Makefile.am: Add support for installing crt1.o if one exists.
9616 * configure.host: Specify crt1.o for linux.
9617 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9618 * Makefile.in: Regenerated.
9619 * configure: Ditto.
9620 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9621 Added for non-Cygwin, non-RTEMS configurations.
9622 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9623 * libc/sys/linux/Makefile.in: Regenerated.
9624 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9625 by gcc. This fixes problem with reconfiguring linux newlib build.
9626 * libc/sys/linux/sysconf.c: New file.
9627
9628 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9629
9630 * configure.host: Add support for machine subdirectory of
9631 sys subdirectory.
9632 * configure.in: Add check for sys machine subdirectory.
9633 * Makefile.am: Ditto.
9634 * configure: Regenerated.
9635 * Makefile.in: Ditto.
9636 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9637 * libc/sys/linux/sys/syscall.h: Ditto.
9638 * libc/sys/linux/sleep.c: New file.
9639 * libc/sys/linux/socket.c: Ditto.
9640 * libc/sys/linux/sockops.h: Ditto.
9641 * libc/sys/linux/stack.c: Ditto.
9642 * libc/sys/linux/usleep.c: Ditto.
9643 * libc/sys/linux/machine/Makefile.am: Ditto.
9644 * libc/sys/linux/machine/Makefile.in: Ditto.
9645 * libc/sys/linux/machine/aclocal.m4: Ditto.
9646 * libc/sys/linux/machine/configure: Ditto.
9647 * libc/sys/linux/machine/configure.in: Ditto.
9648 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9649 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9650 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9651 * libc/sys/linux/machine/i386/configure: Ditto.
9652 * libc/sys/linux/machine/i386/configure.in: Ditto.
9653 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9654 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9655 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9656 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9657 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9658 * libc/sys/linux/sys/select.h: Ditto.
9659 * libc/sys/linux/configure.in: Add support for machine directory.
9660 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9661 * libc/sys/linux/Makefile.in: Regenerated.
9662 * libc/sys/linux/configure: Ditto.
9663 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9664 * libc/sys/linux/inode.c: Ditto.
9665 * libc/sys/linux/linux.c: Ditto.
9666 * libc/sys/linux/process.c: Ditto.
9667 * libc/sys/linux/systat.c: Ditto.
9668 * libc/sys/linux/time.c: Ditto.
9669 * libc/sys/linux/wait.c: Ditto.
9670 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9671 * libc/sys/linux/io.c: Change header plus add readv/writev.
9672 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9673 use __sigsuspend syscall.
9674 * libc/sys/linux/select.c: Change header plus change select to
9675 use _newselect syscall.
9676 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9677 used by glibc header files.
9678 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9679 types.
9680
9681 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9682
9683 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9684 initializing a struct _reent that has been dynamically allocated.
9685 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9686 _REENT_SMALL and does nothing otherwise.
9687 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9688 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9689 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9690 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9691 [_REENT_SMALL](struct _misc_reent): New structure containing
9692 miscellaneous reentrant areas needed by newlib.
9693 [_REENT_SMALL](struct _reent): Add _misc pointer.
9694 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9695 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9696 and _REENT_STRTOK_LAST macros.
9697 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9698 and _REENT_MBLEN_STATE macros.
9699 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9700 and _REENT_MBTOWC_STATE macros.
9701 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9702 and _REENT_WCTOMB_STATE macros.
9703
9704 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9705
9706 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9707
9708 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9709
9710 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9711
9712 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9713
9714 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9715 Store high part of leading bytes too.
9716
9717 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9718
9719 * libm/math/ef_hypot.c: Increase scale factor to 68.
9720
9721 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9722
9723 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9724 error.
9725
9726 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9727
9728 * libc/sys/go32/access.c: Change license to relaxed license
9729 used in identical file throughout newlib/libgloss.
9730
9731 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9732
9733 * libc/sys/arm/access.c: New file.
9734 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9735 * libc/sys/arm/Makefile.in: Regenerate.
9736 * libc/sys/arm/syscalls.c (_stat): New function.
9737
9738 2002-03-11 Michael Meissner <meissner@redhat.com>
9739
9740 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9741 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9742 * libc/machine/mips/Makefile.in: Regenerate.
9743 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9744 * libc/machine/mips/memset.c: Dito.
9745 * libc/machine/mips/strcmp.c: Dito.
9746 * libc/machine/mips/strlen.c: Dito.
9747 * libc/machine/mips/strncmp.c: Dito.
9748
9749 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9750
9751 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9752 object so it works for shared library or statici library.
9753 * libc/machine/i386/Makefile.in: Regenerated.
9754
9755 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
9756
9757 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
9758 Add memcpy.S, memset.S and strcpy.S.
9759 * libc/machine/sh/Makefile.in: Regenerate.
9760 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
9761 (SHHI, SHLO): Define.
9762 * libc/machine/sh/memset.S: Add code for SH5.
9763 * libc/machine/sh/memset.S: Likewise.
9764 * libc/machine/sh/strcpy.S: Likewise.
9765
9766 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
9767
9768 * configure.host: Add check for --disable-newlib-io-float
9769 configuration option and add -DNO_FLOATING_POINT to newlib cflags
9770 if appropriate.
9771 * acinclude.m4: Added --disable-newlib-io-float option.
9772 * aclocal.m4: Regenerated.
9773 * configure: Ditto.
9774 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
9775 * libc/*/aclocal.m4 libc/*/configure
9776 * libm/*/aclocal.m4 libm/*/configure: Ditto.
9777 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
9778 if NO_FLOATING_POINT flag is not defined.
9779
9780 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
9781
9782 * libc/include/sys/config.h: Add __extension__ in front of
9783 long long references.
9784
9785 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9786
9787 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
9788 (_stat): Ditto.
9789
9790 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9791
9792 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
9793 of off_t.
9794
9795 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
9796
9797 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
9798 clobbered registers.
9799
9800 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9801
9802 * configure.host (newlib_cflags): When host is in m68* add
9803 -DCOMPACT_CTYPE.
9804
9805 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
9806
9807 * libc/include/sys/config.h: Add definitions for
9808 __int16_t, __uint16_t, __int64_t, and __uint64_t.
9809
9810 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
9811
9812 * libc/sys/mmixware/link.c: New.
9813 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
9814 volatile.
9815 * libc/sys/mmixware/times.c (_times): Renamed from times.
9816 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
9817 properly by reading previous contents, not through BinaryReadWrite.
9818 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
9819 * libc/sys/mmixware/Makefile.in: Regenerate.
9820
9821 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
9822
9823 * libc/include/grp.h: Don't declare group functions when compiling
9824 Cygwin.
9825
9826 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
9827
9828 * libc/include/grp.h: Include Cygwin specific header.
9829 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
9830 when compiling for Cygwin.
9831 * libc/include/sys/types.h: Don't define off_t, uid_t
9832 and gid_t when compiling for Cygwin.
9833
9834 2002-02-08 matthew green <mrg@redhat.com>
9835
9836 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
9837 _REENT_EMERGENCY_SIZE, not sizeof(char *).
9838
9839 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
9840
9841 Contribute sh64-elf.
9842 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9843 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
9844 support in printf.
9845 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
9846 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
9847 any labels.
9848 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
9849 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
9850 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
9851 * libc/machine/sh/configure.in: Rework conditionals.
9852 * libc/machine/sh/Makefile.am: Likewise.
9853 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
9854 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
9855 * configure.host: Match `sh*'.
9856 * libc/include/machine/setjmp.h: Define for SH5.
9857 * libc/machine/sh/configure.in: Detect SH5.
9858 * libc/machine/sh/configure: Rebuilt.
9859 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
9860 * libc/machine/sh/Makefile.in: Rebuilt.
9861 * libc/machine/sh/asm.h: Adjust for SH5.
9862 * libc/machine/sh/setjmp.S: Implement in SHmedia.
9863 * libc/sys/sh/crt0.S: Likewise.
9864 * libc/sys/sh/trap.S: Likewise.
9865
9866 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
9867
9868 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
9869 (mach_add_obj): Conditionally set to setjmp.o or nothing.
9870 (LIB_SOURCES): Remove $(mach_add_src).
9871 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
9872 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
9873 * libc/machine/i386/Makefile.in: Regenerate.
9874
9875 2002-02-05 Manik Raina <manik@cisco.com>
9876
9877 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
9878 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
9879 s, p, k, and outstr.
9880 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
9881
9882 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
9883
9884 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
9885 _REENT_CHECK_EMERGENCY macro.
9886
9887 2002-02-03 matthew green <mrg@redhat.com>
9888
9889 * libc/reent/signgam.c (__signgam): Fix error in previous.
9890
9891 2002-02-02 matthew green <mrg@redhat.com>
9892
9893 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
9894
9895 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
9896 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
9897 * libc/include/sys/reent.h (struct _reent): Completely new version
9898 for _REENT_SMALL.
9899 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
9900 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
9901 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
9902 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
9903 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
9904 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
9905 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
9906 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
9907 (_REENT_EMERGENCY): Likewise.
9908
9909 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
9910 the start of the real __sFILE, used for stdin, stdout and stderr until
9911 they are setup properly.
9912 (struct __sFILE): Move location of _data in _REENT_SMALL case.
9913 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
9914 allocated stdin, stdout and stderr.
9915 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
9916 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
9917 * libc/stdio/perror.c (_perror_r): Likewise.
9918 * libc/stdio/printf.c (printf, _printf_r): Likewise.
9919 * libc/stdio/putchar.c (_putchar_r): Likewise.
9920 * libc/stdio/puts.c (_puts_r): Likewise.
9921 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
9922 * libc/stdio/vprintf.c (vprintf): Likewise.
9923 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
9924
9925 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
9926
9927 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
9928 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
9929 for _REENT_SMALL.
9930 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
9931 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
9932
9933 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
9934 _REENT_SMALL.
9935 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
9936 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
9937 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
9938 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
9939 * libc/stdlib/rand48.c (__dorand48): Likewise.
9940 * libc/stdlib/seed48.c (_seed48_r): Likewise.
9941 * libc/stdlib/srand48.c (_srand48_r): Likewise.
9942 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
9943 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
9944 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
9945 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
9946 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
9947 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
9948 * libc/stdlib/rand.c (rand): Likewise.
9949
9950 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
9951 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
9952
9953 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
9954 _REENT_MP_FREELIST() and _REENT_MP_P5S.
9955 * libc/include/sys/reent.h (struct _mprec): New structure.
9956
9957 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
9958 _unused_strtok_last.
9959 * libc/string/strtok.c (strtok): Use a local static variable.
9960
9961 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
9962 (_REENT_EMERGENCY_SIZE): Likewise.
9963 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
9964 _REENT_ASCTIME_BUF().
9965 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
9966 _REENT_TM().
9967
9968 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
9969 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
9970 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
9971 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
9972 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
9973 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
9974
9975 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
9976
9977 * configure.host (xstormy16): Don't use the generic malloc.
9978 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
9979 * libc/machine/xstormy16/Makefile.in: Regenerate.
9980 * libc/machine/xstormy16/mallocr.c: New file.
9981 * libc/machine/xstormy16/tiny-malloc.c: New file.
9982
9983 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
9984
9985 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
9986 when _CYGWIN_TYPES_H is not defined.
9987
9988 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9989
9990 * libc/include/sys/signal.h: Revert 2002-01-23 change.
9991
9992 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
9993
9994 * libc/include/sys/signal.h: Remove pthread_kill declaration
9995 when __CYGWIN__ is defined.
9996
9997 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9998
9999 * libc/include/time.h: Add prototype for strptime for Cygwin.
10000
10001 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
10002
10003 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
10004 dst was not word aligned.
10005
10006 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
10007 if too much memory is requested.
10008
10009 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10010
10011 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10012 reads blanks from the input file to break if EOF reached
10013 rather than end processing.
10014
10015 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10016
10017 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10018
10019 2002-01-07 Alan Matsuoka <alanm@redhat.com>
10020
10021 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10022 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10023 libc/include/sys/config.h: Ditto.
10024
10025 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
10026
10027 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10028
10029 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
10030 Catherine Moore <clm@redhat.com>
10031 Richard Henderson <rth@redhat.com>
10032 Corinna Vinschen <vinschen@redhat.com>
10033
10034 * configure.host: Add support for xstormy16.
10035 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10036 * libc/include/machine/setjmp.h: Add support for xstormy16.
10037 * libc/include/sys/config.h: Add support for xstormy16.
10038 * libc/machine/xstormy16/Makefile.am: New file.
10039 * libc/machine/xstormy16/Makefile.in: New file.
10040 * libc/machine/xstormy16/aclocal.m4: New file.
10041 * libc/machine/xstormy16/configure: New file.
10042 * libc/machine/xstormy16/configure.in: New file.
10043 * libc/machine/xstormy16/setjmp.S: New file.
10044
10045 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10046
10047 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10048 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10049
10050 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
10051
10052 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10053 * libm/machine/Makefile.in: Regenerated through automake.
10054
10055 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10056
10057 * Makefile.am (DOCDIR): Force to empty string when doc
10058 directory is not present.
10059
10060 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10061
10062 * libc/machine/i386/f_*: Move to libm/machine/i386.
10063
10064 2001-12-18 Joel Sherrill <joel@OARcorp.com>
10065
10066 * libm/machine/Makefile.am: Add dummy doc stub so
10067 "make info" works.
10068
10069 2001-12-17 Joel Sherrill <joel@OARcorp.com>
10070
10071 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10072
10073 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10074
10075 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10076 $(COMPILE) rather than $(CC).
10077 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10078 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10079 $(LIB_COMPILE) change.
10080 (vfiprintf.$(oext)): Likewise.
10081
10082 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
10083
10084 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10085 conditionalized including of getopt stuff.
10086
10087 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10088
10089 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10090 compile line.
10091 (vfiprintf.$(oext)): Likewise.
10092
10093 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10094
10095 * Makefile.shared: New file.
10096 * libc/sys/linux/shared.ld: New file.
10097 * libm/machine/*: New files.
10098 * libm/machine/i386/*: New files.
10099 * Makefile.am: Add libtool support. Change math and mathfp
10100 references to variables.
10101 * configure.host: Add variables for libtool support. Add
10102 libm_machine_dir variable.
10103 * configure.in: Add objectlist variables, for libtool
10104 support. Add CC_FOR_BUILD tests.
10105 * libc/Makefile.am: Add libtool support. Change crt0.o
10106 reference to be a variable reference.
10107 * libc/configure.in: Add libtool support. Change sublib
10108 names to be lib${subdir}.la when using libtool.
10109 * libc/ctype/Makefile.am: Add libtool support.
10110 * libc/errno/Makefile.am: Likewise.
10111 * libc/locale/Makefile.am: Likewise.
10112 * libc/machine/Makefile.am: Likewise.
10113 * libc/machine/configure.in: Likewise.
10114 * libc/machine/i386/Makefile.am: Likewise.
10115 * libc/machine/i386/configure.in: Likewise.
10116 * libc/misc/Makefile.am: Likewise.
10117 * libc/posix/Makefile.am: Likewise.
10118 * libc/reent/Makefile.am: Likewise.
10119 * libc/signal/Makefile.am: Likewise.
10120 * libc/stdio/Makefile.am: Likewise.
10121 * libc/stdlib/Makefile.am: Likewise.
10122 * libc/string/Makefile.am: Likewise.
10123 * libc/sys/Makefile.am: Likewise.
10124 * libc/sys/configure.in: Likewise.
10125 * libc/sys/linux/Makefile.am: Add libtool support. Change
10126 awk reference to a variable reference. Change signal.h
10127 reference to a variable reference.
10128 * libc/sys/linux/configure.in: Add libtool support.
10129 * libc/syscalls/Makefile.am: Likewise.
10130 * libc/time/Makefile.am: Likewise.
10131 * libc/unix/Makefile.am: Likewise.
10132 * libm/Makefile.am: Add libtool support. Change math and
10133 mathfp references to variables.
10134 * libm/configure.in: Add libtool support. Add
10135 LIBM_MACHINE_LIB variable.
10136 * libm/common/Makefile.am: Add libtool support.
10137 * libm/math/Makefile.am: Likewise.
10138 * libm/mathfp/Makefile.am: Likewise.
10139 Regenerate all Makefile.in, aclocal.m4, and configure.
10140
10141 2001-12-13 Anita Kulkarni <anitak@kpit.com>
10142
10143 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
10144
10145 2001-12-06 John Peacock <jpeacock@rowman.com>
10146
10147 * libc/include/sys/unistd.h: Correct ualarm declaration.
10148
10149 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
10150
10151 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
10152 vector before calling the initialisation functions.
10153
10154 2001-11-29 Christopher Faylor <cgf@redhat.com>
10155
10156 * libc/include/dirent.h: Protect against multiple inclusion.
10157
10158 2001-11-27 Christopher Faylor <cgf@redhat.com>
10159
10160 * libc/include/sys/types.h: Define useconds_t.
10161 * libc/include/sys/ulimit.h: Declare ualarm.
10162
10163 2001-11-21 Christopher Faylor <cgf@redhat.com>
10164
10165 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
10166
10167 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
10168
10169 * libc/sys/mmixware/*: Tweak license header in all source files.
10170
10171 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
10172
10173 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
10174 to here. Rearrange for general inclusion by stdlib.h.
10175 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
10176 isn't defined.
10177 * libc/sys/linux/include/alloca.h: Move to libc/include.
10178
10179 2001-11-12 Anthony Green <green@redhat.com>
10180
10181 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
10182
10183 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
10184
10185 * libc/sys/mmixware/*: Correct spacing in all source files.
10186 * libc/sys/mmixware/syscall.h: Move misplaced file...
10187 * libc/sys/mmixware/sys/syscall.h: ...here.
10188
10189 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
10190
10191 * libc/include/machine/ieeefp.h: Add support for mmix target.
10192 * libc/include/machine/setjmp.h: Ditto.
10193 * configure.host: Ditto.
10194 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
10195 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
10196 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
10197 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
10198 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
10199 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
10200 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
10201 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
10202 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
10203 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
10204 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
10205 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
10206 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
10207 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
10208 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
10209 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
10210 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
10211 libc/sys/mmixware/aclocal.m4: Generate.
10212
10213 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
10214
10215 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
10216 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
10217 when __CYGWIN__ is defined.
10218 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
10219 logwtmp().
10220
10221 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
10222
10223 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
10224 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
10225 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
10226 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
10227
10228 2001-10-24 Christopher Faylor <cgf@redhat.com>
10229
10230 * libc/stdio/fseek.c: Reset pointer to buffer base
10231 when forced to seek outside of current buffer contents.
10232 This prevents the code from erroneously thinking there is
10233 anything in the current buffer.
10234
10235 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
10236
10237 * libc/include/math.h: The C++ standard adds the single-precision
10238 versions of the elementary functions.
10239
10240 2001-10-22 Christopher Faylor <cgf@redhat.com>
10241
10242 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
10243 throughout.
10244 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
10245 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
10246 * system.c (_system_r): Ditto.
10247
10248 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
10249
10250 * libc/include/sys/unistd.h: Add prototype for fchdir() when
10251 __CYGWIN__ or __rtems__ is defined.
10252
10253 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
10254
10255 * libc/include/stdlib.h: add declarations for
10256 _strtoull_r, _strtoll_r, strtoull, and strtoll.
10257 * libc/stdio/local.h: remove declarations of
10258 __strtoull_r and __strtoll_r.
10259 * libc/stdio/vfscanf.c(__svfscanf_r): call
10260 _strtoull_r instead of __strtoull_r. Ditto
10261 _strtoll_r vs. __strtoll_r.
10262 * libc/stdlib/Makefile.am: add new files to
10263 .c list and .def list
10264 * libc/stdlib/Makefile.in: regenerate
10265 * libc/stdlib/strtoll_r.c: rename __strtoll_r
10266 as _strtoll_r
10267 * libc/stdlib/strtoull_r.c: rename __strtoull_r
10268 as _strtoull_r
10269 * libc/stdlib/strtoull.c: new file
10270 * libc/stdlib/strtoll.c: new file
10271
10272 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
10273
10274 * libc/include/process.h: Add getpid() declaration.
10275
10276 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10277
10278 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
10279 for new style arm/elf ctor/dtor handling.
10280 Minor formatting tidy up.
10281
10282 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
10283
10284 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
10285 and strtoull_r.c.
10286 * libc/stdlib/Makefile.in: Regenerated.
10287 * libc/stdlib/strtoll_r.c: New file.
10288 * libc/stdlib/strtoull_r.c: New file.
10289 * libc/stdio/local.h: Add prototypes for long long string
10290 conversion routines.
10291 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
10292 tied to %L integer conversion specifier.
10293
10294 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
10295
10296 * strftime.c (strftime): Fix "%W" implementation to properly handle
10297 Mondays too.
10298
10299 2001-09-07 Jeff Law <law@redhat.com>
10300
10301 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
10302 __fini with "mov.l" instead of "mov.w".
10303
10304 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
10305
10306 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
10307 and getopt.h.
10308
10309 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
10310
10311 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
10312
10313 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10314
10315 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
10316 field.
10317 (__DIRENT_VERSION): New define.
10318
10319 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10320
10321 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
10322 Shrink __d_reserved accordingly to keep structure size.
10323 (dirfd): Declare external.
10324
10325 2001-08-29 Joel Sherrill <joel@OARcorp.com>
10326
10327 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
10328
10329 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10330
10331 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
10332 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
10333 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
10334 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
10335 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
10336 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
10337 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
10338 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
10339 Add conditional compilation to avoid HW FPU instructions
10340 when compiled for soft-float.
10341
10342 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10343
10344 * Makefile.am: Add check for ln failing when creating libg.a
10345 so that cp gets used as a backup.
10346 * Makefile.in: Regenerated.
10347
10348 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10349
10350 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
10351 No longer include time.h. Add struct __tm to use for
10352 _localtime_buf in the reentrant structure. Add a
10353 _NULL definition to use in initializing the reentrant struct.
10354 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
10355 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
10356 <sys/_types.h>.
10357 * libc/include/sys/unistd.h: Include <sys/_types.h>.
10358 * libc/time/lcltime.c (localtime): Cast the reentrant struct
10359 _localtime_buf to be struct tm *.
10360
10361 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
10362
10363 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
10364 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
10365 __ctors_end.
10366 * libc/sys/h8300hms/syscalls.c: Include errno.h.
10367 (_unlink): New stub function.
10368
10369 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
10370
10371 * libc/include/sys/errno.h: Add a cautionary comment.
10372
10373 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
10374
10375 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
10376 for SIZE_SZ so that alignment ends up a minimum of 8.
10377
10378 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
10379
10380 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
10381 arguments.
10382
10383 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
10384 Cygwin.
10385
10386 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
10387
10388 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
10389 macro constants for mallopt options.
10390 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
10391
10392 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
10393
10394 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
10395 otherwise default.
10396
10397 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
10398
10399 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
10400
10401 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10402
10403 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10404 Define for little endian ARMs.
10405
10406 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10407 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10408
10409 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10410
10411 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
10412
10413 2001-06-11 Egor Duda <deo@logos-m.ru>
10414
10415 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10416 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10417 initialized memory region. Platform can define COMPACT_CTYPE
10418 to avoid allocation of the additional 128 bytes of data.
10419 Add pointer to _ctype_ array. Always initialize all _ctype_
10420 array elements.
10421
10422 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10423
10424 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10425 NULL pointer.
10426
10427 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10428
10429 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10430
10431 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10432
10433 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10434 matching, non-word alignment, and the length is <= 4 but more than
10435 enough to move them over a word boundary.
10436 Add comments explaining what each instruction does.
10437
10438 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10439
10440 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
10441 * libc/include/sys/unistd.h: Ditto.
10442
10443 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10444
10445 * libc/string/strrchr.c: Use strchr for the speed improvements.
10446
10447 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10448
10449 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10450 real file systems, let __smakebuf() determine if line buffering
10451 should be used for stdout.
10452
10453 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10454
10455 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10456
10457 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10458
10459 * libc/include/stdlib.h: Add prototype for _strtod_r.
10460
10461 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10462
10463 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10464 * libc/stdio/vprintf.c (_vprintf_r): new function
10465 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10466 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10467 _DEFUN, and call _vfprintf_r, not vfprintf.
10468 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10469 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10470 _DEFUN, and call _vfprintf_r, not vfprintf.
10471
10472 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
10473
10474 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10475 Cygwin X_OK definitions in sys/file.h.
10476
10477 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10478
10479 * libc/include/sys/time.h: Define timercmp and other macros for
10480 __CYGWIN__, too.
10481
10482 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10483
10484 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10485 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10486 --enable-malloc-debugging selected.
10487 * aclocal.m4 configure: Regenerated.
10488 libm/aclocal.m4 libm/configure: Ditto.
10489 * libc/aclocal.m4 libc/configure: Ditto.
10490 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10491 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10492 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10493 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10494 * doc/aclocal.m4 doc/configure: Ditto.
10495
10496 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10497
10498 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10499 into one list.
10500 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10501 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10502 function prototypes.
10503 (_fscanf_r, _sscanf_r): Ditto.
10504 * libc/include/stdlib.h: Added _strtod_r prototype.
10505 * libc/stdio/Makefile.am: Add new v*scanf functions.
10506 * libc/stdio/Makefile.in: Regenerate.
10507 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10508 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10509 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10510 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10511 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10512 (_sscanf_r): New routine.
10513 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10514 with __svfscanf_r prototype.
10515 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10516 routines.
10517 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10518 structure as argument as calls reentrant versions of helper functions
10519 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10520 to _strtol_r and _strtod_r respectively.
10521 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10522 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10523 _REENT argument.
10524 * libc/stdio/vscanf.c: New file.
10525 * libc/stdio/vsscanf.c: Ditto.
10526
10527 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
10528
10529 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10530 Define daylight to _daylight if it is not defined
10531 Prepare a variable export of timezone based on timezonevariable.
10532 (Cannot be used with the timezone() function.)
10533
10534 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10535
10536 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10537 Correct the numerical values.
10538
10539 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
10540
10541 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10542
10543 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10544
10545 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10546 on case insensitve file systems.
10547
10548 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
10549
10550 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10551 pthread support.
10552 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10553 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10554 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10555
10556 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
10557
10558 * libc/include/machine/ieeefp.h: Comment about new configuration
10559 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10560 * libm/common/fdlib.h: Define new macros for testing floats.
10561 * libm/common/sf_*: Use them.
10562 * libm/math/ef_*: Likewise.
10563 * libm/math/sf_*: Likewise.
10564
10565 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10566
10567 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10568 prolog to by-pass possible assembler error.
10569
10570 2001-03-21 Egor Duda <deo@logos-m.ru>
10571
10572 Allow building internal stubs for non-reentrant syscalls
10573 if target provides its own malloc
10574 * libc/reent/reent.c (errno): Move definition here.
10575 * libc/reent/sbrkr.c: From here.
10576
10577 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10578
10579 * libc/include/sys/types.h (BSD int typedefs): Guard with
10580 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10581 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10582 _SYS_TYPES_FD_SET.
10583 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10584 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10585
10586 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10587
10588 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10589 _PC_POSIX_SECURITY constants for Cygwin.
10590
10591 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10592
10593 * libc/sys/cygwin/crt0.c: Add copyright hint.
10594 * libc/sys/cygwin/sys/dirent.h: Ditto.
10595 * libc/sys/cygwin/sys/param.h: Ditto.
10596 * libc/sys/cygwin/sys/utime.h: Ditto.
10597 * libc/sys/cygwin/sys/utmp.h: Ditto.
10598
10599 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10600
10601 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10602 equivalent to LONGINT.
10603
10604 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
10605
10606 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10607 jmpbuf on MIPS64 targets.
10608 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
10609
10610 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10611
10612 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
10613 declarations.
10614
10615 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10616
10617 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10618 For RTEMS, define to be ssize_t. Default to int if not defined.
10619 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10620 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10621 * libc/stdio/local.h (__sread, __swrite): Likewise.
10622 * libc/include/sys/reent.h (_read, _write): Likewise.
10623 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10624 * libc/syscalls/sysread.c (read): Likewise.
10625 * libc/syscalls/syswrite.c (write): Likewise.
10626
10627 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10628
10629 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
10630
10631 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10632
10633 * libc/include/sys/stat.h: Use special defines for executable stat bits
10634 when compiling for Cygwin.
10635 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10636 for Cygwin.
10637
10638 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10639
10640 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10641 of strtok_r is always defined.
10642
10643 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10644
10645 * libc/include/machine/ansi.h: New dummy header file.
10646
10647 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10648
10649 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10650 changed the copyright information to allow free modification of the
10651 file with no reference to "copying.dj".
10652 * libc/include/sys/stat-dj.h: Ditto.
10653 * libc/machine/i386/setjmp.S: Ditto.
10654 * libc/sys/h8300hms/sys/file.h: Ditto.
10655 * libc/sys/sysmec/access.c: Ditto.
10656 * libc/sys/sysnecv850/access.c: Ditto.
10657 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10658 * libc/stdlib/getenv_r.c: Ditto.
10659 * libc/stdlib/putenv_r.c: Ditto.
10660 * libc/stdlib/setenv_r.c: Ditto.
10661 * libc/stdlib/getenv.c: Removed DJ reference since any possible
10662 modifications will now be in the _r version of this file.
10663 * libc/stdlib/putenv.c: Ditto.
10664 * libc/stdlib/setenv.c: Ditto.
10665 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
10666 valid. Added a reference to DJ's web page that contains his address.
10667 * libc/sys/go32/*.s: Removed references to DJ's old address.
10668 * libc/sys/go32/*.c: Ditto.
10669 * libc/sys/go32/*.h: Ditto.
10670 * libc/sys/go32/*.S: Ditto.
10671 * libc/sys/go32/sys/*.h: Ditto.
10672
10673 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
10674
10675 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
10676 HAVE_FCNTL flag check.
10677 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
10678 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
10679
10680 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
10681
10682 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
10683
10684 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10685
10686 * libc/include/stdlib.h: Add declarations of rand48 functions and
10687 their reentrant versions.
10688 * libc/include/sys/reent.h: Move macros from rand48.h. Add
10689 struct _rand48 for shared parameters of rand48 functions.
10690 (struct _reent): Add a variable _r48 of struct _rand48.
10691 (_REENT_INIT): Add _r48 initialization.
10692 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10693 (CHEWOUT_FILES): Add rand48.def.
10694 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10695 * libc/stdlib/Makefile.in: Regenerated.
10696 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10697 NetBSD C library.
10698 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10699 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10700 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10701 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10702 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10703 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10704 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10705 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10706 * libc/stdlib/rand48.c (__dorand48): Ditto.
10707 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10708 parameters into macros referring them in the reentrant structure.
10709
10710 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10711
10712 * libc/include/sys/stat.h: Add mknod for Cygwin now that
10713 Cygwin definition has correct prototype.
10714
10715 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10716
10717 * libc/include/sys/stat.h: Must revert change for mknod
10718 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
10719 prototype.
10720
10721 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10722
10723 * libc/include/stdio.h: Revert putw prototype.
10724
10725 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
10726
10727 * libc/include/grp.h: add prototype for initgroups.
10728 * libc/include/stdio.h: fix prototype for putw.
10729 * libc/include/sys/signal.h: add prototype for killpg.
10730 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
10731 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
10732 vhangup and remove duplicate sysconf prototype.
10733
10734 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
10735
10736 * libc/sys/rtems/sys/types.h: Removed.
10737
10738 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
10739
10740 * libc/include/locale.h: add LC_MESSAGES definition
10741
10742 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10743
10744 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
10745 SYS_get_argN):
10746 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
10747 __setup_argv_and_call_main): New.
10748
10749 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
10750
10751 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
10752 if defined.
10753 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
10754 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
10755 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
10756 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
10757
10758 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
10759
10760 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
10761 compiling under Cygwin.
10762
10763 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
10764
10765 * libc/include/math.h (signgam): Change to errno-like solution
10766 using a function to return the address of the real signgam.
10767 * libc/reent/signgam.c: New file containing __signgam().
10768 * libc/reent/Makefile.am: Added signgam.c to list of files.
10769 * libc/reent/Makefile.in: Regenerated.
10770
10771 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
10772
10773 * libc/sys/sh/syscalls.c (_times): New.
10774
10775 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
10776 * libc/sys/sh/syscalls.c (_gettimeofday): New.
10777
10778 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10779
10780 * libc/include/math.h (signgam): Regress previous fix as
10781 it does not handle programs with extern int signgam in them.
10782
10783 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10784
10785 * libc/include/math.h (signgam): Changed to a macro refering to
10786 its location in the reentrant structure.
10787
10788 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10789
10790 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
10791 that suppressed . for %.0f, 0.1. Check now looks if there
10792 are padding zeroes (expt) in addition to any digits (ndig) to
10793 print.
10794
10795 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
10796
10797 * libc/sys/arc/Makefile.am: New file.
10798 * libc/sys/arc/Makefile.in: Ditto.
10799 * libc/sys/arc/aclocal.m4: Ditto.
10800 * libc/sys/arc/configure: Ditto.
10801 * libc/sys/arc/configure.in: Ditto.
10802 * libc/sys/arc/crt0.S: Ditto.
10803 * libc/sys/arc/isatty.c: Ditto.
10804 * libc/sys/arc/mem-layout.c: Ditto.
10805 * libc/sys/arc/sbrk.c: Ditto.
10806 * libc/sys/arc/syscalls.c: Ditto.
10807 * libc/sys/arc/sys/syscall.h: Ditto.
10808
10809 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
10810
10811 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
10812
10813 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
10814
10815 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
10816
10817 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
10818
10819 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
10820
10821 2001-01-09 Nick Clifton <nickc@redhat.com>
10822
10823 * configure.host (v859): Remove unsupported compiler options.
10824
10825 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
10826
10827 * src/newlib/configure.host (*-*-rtems*): add printf long long
10828 support for RTEMS.
10829
10830 2000-12-19 Graham Stott <grahams@redhat.com>
10831
10832 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
10833
10834 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10835
10836 * configure.host: Turn on long double I/O for Cygwin.
10837
10838 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10839
10840 * MAINTAINERS: Removed Ranjith.
10841 * NEWS: Updated for 1.9.0.
10842 * README: Updated.
10843 * acinclude.m4: Updated to release 1.9.0.
10844 * aclocal.m4 configure
10845 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10846 libc/machine/aclocal.m4 libc/machine/configure
10847 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
10848 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
10849 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
10850 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
10851 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
10852 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
10853 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
10854 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
10855 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
10856 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
10857 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
10858 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
10859 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
10860 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
10861 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
10862 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
10863 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
10864 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
10865 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
10866 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
10867 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10868 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10869 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10870 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
10871 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10872 libc/sys/aclocal.m4 libc/sys/configure
10873 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10874 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10875 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10876 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10877 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10878 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10879 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10880 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10881 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
10882 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10883 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10884 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10885 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10886 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10887 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10888 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10889 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10890 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10891 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10892 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10893 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10894 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10895 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10896 libm/aclocal.m4 libm/configure: Regenerated.
10897
10898 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10899
10900 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
10901 when __CYGWIN__ is defined.
10902
10903 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10904
10905 * libc/stdlib/ldtoa.c (_ldcheck): New routine
10906 that categorizes a long double as NaN, Infinity, or other.
10907 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
10908 isinfl and isnanl static routines which were i386-specific. Changed
10909 calls to the two removed routines to a single _ldcheck call.
10910 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
10911
10912 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10913
10914 * Makefile.am: Fixed install-data-local target to use
10915 $(mkinstalldirs) for the installed header files to ensure
10916 the directories exist before copying.
10917 * Makefile.in: Regenerated.
10918
10919 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
10920
10921 * libc/include/sys/unistd.h: Restored Cygwin _SC
10922 constants and moved new constants appropriately
10923 so Cygwin will build.
10924
10925 2000-12-11 Joel Sherrill <joel@OARcorp.com>
10926
10927 * Merge RTEMS specific .h files into main libc/include.
10928 * libc/sys/rtems/include/signal.h: Removed.
10929 * libc/sys/rtems/include/time.h: Removed.
10930 * libc/sys/rtems/sys/features.h: Removed.
10931 * libc/sys/rtems/sys/sched.h: Removed.
10932 * libc/sys/rtems/sys/siginfo.h: Removed.
10933 * libc/sys/rtems/sys/signal.h: Removed.
10934 * libc/sys/rtems/sys/time.h: Removed.
10935 * libc/sys/rtems/sys/times.h: Removed.
10936 definitions for time_t and clock_t since these are
10937 no longer in time.h.
10938 * libc/include/pthread.h: New file.
10939 * libc/include/sys/sched.h: New file.
10940 * libc/include/sys/features.h: New file.
10941 * libc/include/time.h: Removed duplicate definition of clock_t
10942 and time_t, get them from <sys/types.h> instead. Add prototypes
10943 for POSIX clock and timer functionality.
10944 * libc/sys/linux/sys/types.h: Changed to include
10945 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
10946 * libc/include/sys/signal.h: Add more complete set of POSIX
10947 signal functionality including real-time and threaded signals.
10948 * libc/include/sys/types.h: Add clock_t, time_t, struct
10949 timespec, and struct itimerspec. Centralizing these makes
10950 things cleaner. RTEMS uses 64-bit dev_t.
10951 Added numerous primitive definitions
10952 for pthreads including macros, pthread_attr_t,
10953 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
10954 pthread_once_t, and pthread_t.
10955 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
10956 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
10957 Feature flags removed and moved to new file <sys/features.h>.
10958 Full set of POSIX sysconf() constants
10959
10960 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
10961
10962 * configure.host: Added x86 linux target.
10963 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
10964 definitions provided if not already defined.
10965 * libc/sys/linux/crt0.c: New file.
10966 * libc/sys/linux/Makefile.am: Ditto.
10967 * libc/sys/linux/Makefile.in: Ditto.
10968 * libc/sys/linux/aclocal.m4: Ditto.
10969 * libc/sys/linux/brk.c: Ditto.
10970 * libc/sys/linux/configure: Ditto.
10971 * libc/sys/linux/configure.in: Ditto.
10972 * libc/sys/linux/getoptlong.c: Ditto.
10973 * libc/sys/linux/ids.c: Ditto.
10974 * libc/sys/linux/inode.c: Ditto.
10975 * libc/sys/linux/io.c: Ditto.
10976 * libc/sys/linux/linux.c: Ditto.
10977 * libc/sys/linux/process.c: Ditto.
10978 * libc/sys/linux/realpath.c: Ditto.
10979 * libc/sys/linux/select.c: Ditto.
10980 * libc/sys/linux/signal.c: Ditto.
10981 * libc/sys/linux/systat.c: Ditto.
10982 * libc/sys/linux/termios.c: Ditto.
10983 * libc/sys/linux/time.c: Ditto.
10984 * libc/sys/linux/wait.c: Ditto.
10985 * libc/sys/linux/include/alloca.h: Ditto.
10986 * libc/sys/linux/include/getopt.h: Ditto.
10987 * libc/sys/linux/include/stdint.h: Ditto.
10988 * libc/sys/linux/include/unistd.h: Ditto.
10989 * libc/sys/linux/sys/cdefs.h: Ditto.
10990 * libc/sys/linux/sys/dirent.h: Ditto.
10991 * libc/sys/linux/sys/errno.h: Ditto.
10992 * libc/sys/linux/sys/fcntl.h: Ditto.
10993 * libc/sys/linux/sys/file.h: Ditto.
10994 * libc/sys/linux/sys/ioctl.h: Ditto.
10995 * libc/sys/linux/sys/resource.h: Ditto.
10996 * libc/sys/linux/sys/signal.h: Ditto.
10997 * libc/sys/linux/sys/stat.h: Ditto.
10998 * libc/sys/linux/sys/syscall.h: Ditto.
10999 * libc/sys/linux/sys/termios.h: Ditto.
11000 * libc/sys/linux/sys/time.h: Ditto.
11001 * libc/sys/linux/sys/types.h: Ditto.
11002 * libc/sys/linux/sys/utmp.h: Ditto.
11003 * libc/sys/linux/sys/utsname.h: Ditto.
11004 * libc/sys/linux/sys/wait.h: Ditto.
11005
11006 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11007
11008 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
11009 can be a relative path to $(top_srcdir)/install.sh so ensure the
11010 autoconf detected settings are properly passed recursively.
11011 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11012 properly to subdirectories.
11013 * Makefile.in: Regenerated.
11014
11015 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11016
11017 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11018 a floating point register unless really printing a floating
11019 point number.
11020
11021 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11022
11023 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11024 Also removed \r's.
11025 (asctoeg): Replaced alloca call with stack array and malloc
11026 when storage exceeds reasonable limit.
11027 (e53toe): Fixed einfin calls missing ldp parameter.
11028 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11029
11030 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11031
11032
11033 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11034
11035 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11036
11037 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11038 * libc/stdlib/Makefile.in: Regenerated.
11039 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11040 * libc/stdio/vfieeefp.h: Added long double bit structures.
11041 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11042 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11043 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11044 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11045 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11046 _strtold routines used for conversions between character
11047 and long double.
11048
11049 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11050
11051 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11052
11053 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11054
11055 * libc/include/machine/time.h: RTEMS systems can configure clock
11056 tick rate so use sysconf() to ask.
11057
11058 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11059
11060 * libc/include/sys/times.h: Add reference to POSIX standard.
11061
11062 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11063
11064 * libc/include/sys/time.h: Added BSD timer manipulation macros
11065 used by RTEMS code.
11066
11067 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11068
11069 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11070 referenced by code generated by gcc 2.8.1.
11071 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
11072 satisfy gcc.
11073
11074 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11075
11076 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
11077
11078 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11079
11080 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
11081
11082 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11083
11084 * configure.host (or16, or32): New entries for OpenCores
11085 OpenRisc CPUs.
11086 (*-*-rtems*): Add -DNO_EXEC.
11087
11088 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
11089
11090 * libc/include/sys/errno.h: Added comments on many error numbers.
11091 * libc/string/strerror.c: Added some more strings.
11092
11093 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
11094
11095 * libc/sys/sh/syscalls.c (_link): New stub.
11096
11097 2000-11-29 Nick Clifton <nickc@redhat.com>
11098
11099 * configure.host: Add xscale target.
11100 * libc/machine/xscale: New directory.
11101 * libc/machine/xscale/Makefile.am: New file.
11102 * libc/machine/xscale/Makefile.in: New file.
11103 * libc/machine/xscale/aclocal.m4: New file.
11104 * libc/machine/xscale/configure: New file.
11105 * libc/machine/xscale/configure.in: New file.
11106 * libc/machine/xscale/memchr.S: New file.
11107 * libc/machine/xscale/memcmp.S: New file.
11108 * libc/machine/xscale/memcpy.S: New file.
11109 * libc/machine/xscale/memmove.S: New file.
11110 * libc/machine/xscale/memset.S: New file.
11111 * libc/machine/xscale/strchr.S: New file.
11112 * libc/machine/xscale/strcmp.S: New file.
11113 * libc/machine/xscale/strcpy.S: New file.
11114 * libc/machine/xscale/strlen.S: New file.
11115
11116 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11117
11118 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
11119 avoid compiler warnings.
11120
11121 2000-11-22 Michael Meissner <meissner@redhat.com>
11122
11123 * libc/posix/execl.c (execl): Don't reference environ directly,
11124 reference it only via a static pointer to avoid problems with some
11125 shared library systems and with different uses of small data where
11126 the user specifies his own version of environ.
11127 * libc/posix/execv.c (execv): Ditto.
11128 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
11129 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
11130 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
11131
11132 * libc/stdlib/getenv.c (environ): Delete unused reference to
11133 environ.
11134
11135 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
11136 colorization.
11137 * libc/stdlib/system.c: Ditto.
11138
11139 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
11140
11141 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
11142 including windows headers.
11143
11144 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
11145
11146 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
11147 * libc/include/dirent.h: Added definition of MAXNAMLEN if
11148 not defined by sys/dirent.h.
11149 * libc/posix/execvp.c: Added include of dirent.h to get
11150 MAXNAMLEN value which used to be in unistd.h.
11151
11152 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11153
11154 * libc/include/sys/types.h: Change type of i to `size_t' in
11155 FD_ZERO macro to avoid compiler warnings.
11156
11157 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
11158
11159 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
11160 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
11161
11162 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11163
11164 * libc/include/sys/unistd.h: Add defines for sysconf values
11165 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
11166 _SC_AVPHYS_PAGES.
11167
11168 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
11169
11170 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
11171 declarations for __CYGWIN__.
11172
11173 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
11174
11175 * libc/signal/signal.c (__sigtramp_r): ISO C requires
11176 case labels to be integral constant expressions, so
11177 use an if/else tree instead.
11178 (_raise_r): Likewise.
11179
11180 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
11181
11182 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
11183 clipping patch from e-mail reader.
11184
11185 2000-09-13 Will Cohen <wcohen@redhat.com>
11186
11187 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
11188 Added return value 0.
11189 (_longjmp): Allow longjmp to return value of second argument
11190 passed to it.
11191
11192 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
11193
11194 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
11195 inline code to prevent having to include another header file.
11196
11197 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
11198
11199 * Makefile.am: Fix space vs. tab problem in install-data-local.
11200 * Makefile.in: Regenerate.
11201
11202 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
11203
11204 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
11205 (_EXPARM): New macro for defining a function parameter.
11206 * libc/include/stdlib.h: Use _EXPARM.
11207 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
11208
11209 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
11210
11211 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
11212 required, as documented in the gnu coding standards.
11213 * Makefile.in: Regenerate.
11214
11215 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
11216
11217 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
11218 make O_NDELAY and O_NONBLOCK have the same value.
11219
11220 2000-08-30 Kazu Hirata <kazu@hxi.com>
11221
11222 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
11223
11224 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
11225
11226 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
11227 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
11228 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
11229 everywhere else.
11230
11231 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
11232
11233 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
11234 * libc/include/string.h: Don't include <sys/types.h>,
11235 as it causes really bad namespace pollution. Don't declare
11236 swab(), it is properly declared in unistd.h.
11237
11238 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
11239
11240 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
11241 (broken) support for non-existent /etc/passwd field "comment".
11242
11243 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11244
11245 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
11246 only if _DIRENT_HAVE_D_NAMLEN is defined.
11247 (alphasort): aligned prototype with
11248 libc/sys/cygwin/sys/dirent.h and simplified function body.
11249 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
11250 long telldir (DIR *) as mentioned in annex B of POSIX.1
11251
11252 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11253
11254 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
11255 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
11256 Added __CLI and __STI macros (controlled via
11257 _I386MACH_ALLOW_HW_INTERRUPTS macro).
11258 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
11259 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
11260 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
11261 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
11262 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
11263 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
11264 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
11265 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
11266 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
11267 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
11268 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
11269 for all global entry points.
11270 * libc/machine/i386/setjmp.S: removed code replicated in
11271 libc/machine/i386/i386mach.h and included i386mach.h instead;
11272 Use __CLI and __STI instead of cli and sti.
11273
11274 2000-08-25 DJ Delorie <dj@redhat.com>
11275
11276 * libc/include/sys/unistd.h (environ): this one isn't from the
11277 DLL, no __IMPORT
11278
11279 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
11280
11281 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
11282 environ when compiling under cygwin since it is already declared in
11283 unistd.h.
11284
11285 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11286
11287 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
11288 like x << y-z to the equivalent x << (y-z).
11289 (d2b): changed if statements with assignment to perform the
11290 assignment prior to the if check.
11291 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
11292 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
11293 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
11294 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
11295 precedence.
11296 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
11297 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
11298 execve.c).
11299 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
11300 precedence.
11301 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
11302 clarify && and || precendence (and to remove pascalism).
11303 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
11304 * libm/math/s_infconst.c: added another pair of braces to all
11305 initializers for __infinity (need three: for __infinity[1] array,
11306 for union __dmath, and for i[2]).
11307
11308 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11309
11310 * libc/stdlib/abort.c: changed description: uses "raise" instead of
11311 "getpid" and "kill"; added: uses "write" and "_exit".
11312 Also included unistd.h for "_exit" prototype.
11313 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
11314 reent.h for "_fork_r" and "_wait_r" prototypes.
11315 (do_system): changed extern char *environ[] to POSIX-friendly
11316 extern char **environ.
11317 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
11318 prototypes.
11319 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
11320 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
11321 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
11322 * libc/reent/openr.c: included fcntl.h for "open" prototype.
11323 * libc/reent/signalr.c: included signal.h for "kill" prototype,
11324 unistd.h for "getpid" prototype.
11325 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
11326 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
11327 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
11328 prototype. Also included stdlib.h for "abort", string.h for
11329 "strdup" and "strncmp" prototypes.
11330 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
11331 "strncpy", unistd.h for "read" and "close" prototypes.
11332 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
11333 "strcat" prototypes.
11334
11335 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
11336
11337 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
11338 used later (ifdef __SCLE)
11339 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
11340 used later (ifdef MB_CAPABLE)
11341 * libc/string/memset.c (memset): removed unused variables "count"
11342 and "unaligned_addr"
11343 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
11344 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
11345 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
11346 and "gid"
11347
11348 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11349
11350 * libc/stdlib/envlock.c: changed documented "__env_lock" and
11351 "__env_unlock" prototype from "void *" or "char *" to
11352 "struct _reent *" to match real function. Also added include
11353 of envlock.h.
11354 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
11355 "__malloc_unlock" prototype from "void *" or "char *" to
11356 "struct _reent *" to match real function.
11357 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
11358 prototypes (for getenv_r.c and setenv_r.c).
11359
11360 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
11361
11362 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
11363 and prototype in cygwin's utmp.h
11364
11365 2000-08-16 Eric Fifer <efifer@sanwaint.com>
11366
11367 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
11368
11369 2000-08-09 Nick Clifton <nickc@cygnus.com>
11370
11371 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
11372 epilogue and to allow the functions to be used in a Thumb based
11373 toolchain.
11374
11375 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
11376
11377 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
11378 so size of 0 results in nothing being written to string.
11379 Also fixed code so that when size is non-zero, there is only
11380 a maximum of size - 1 characters written to the array and
11381 a nul terminator is appended at the end.
11382 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
11383
11384 2000-08-01 DJ Delorie <dj@redhat.com>
11385
11386 * libc/include/sys/config.h: define __IMPORT appropriately
11387 * libc/include/ctype.h (_ctype_): use __IMPORT
11388 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
11389 * libc/include/math.h (__mb_cur_max): ditto
11390 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
11391 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
11392 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
11393 * libc/include/unistd.h (environ): ditto
11394
11395 2000-07-28 Michael Meissner <meissner@redhat.com>
11396
11397 * libc/include/math.h (__infinity): Declare as an array without
11398 bounds to get around small data support. Rewrite Cygwin support
11399 to be more general.
11400 * libm/math/s_infconst.c (__infinity): Ditto.
11401 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11402
11403 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11404
11405 * libc/include/math.h: Use appropriate dll import linkage for
11406 __infinity under Cygwin.
11407
11408 2000-07-13 DJ Delorie <dj@cygnus.com>
11409
11410 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11411
11412 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11413
11414 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11415 to argument list for AngelSWI_Reason_GetCmdLine.
11416
11417 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11418
11419 * configure.host: Add support for AVR target.
11420 * libc/include/machine/ieeefp.h: Likewise.
11421 * libc/include/sys/config.h: Likewise.
11422
11423 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11424
11425 * README: Newlib 1.8.2 must be built in a separate directory
11426 than the sources.
11427
11428 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11429
11430 * libc/include/sys/reent.h (_rand_next): Added __extension__
11431 qualifier as long long type is not strict ANSI.
11432 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11433 to long long constant.
11434
11435 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11436
11437 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11438 `setegid' provided by Cygwin.
11439
11440 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11441
11442 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11443 account for Cygwin.
11444
11445 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11446
11447 * libc/include/sys/reent.h (_rand_next): Changed to
11448 unsigned long long and moved to end of _reent struct in _new union.
11449 (_REENT_INIT): Changed to move _rand_next initialization.
11450 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11451 linear congruential algorithm that is used by DJGPP.
11452
11453 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11454
11455 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11456 * libc/include/sys/config.h: Define __RAND_MAX.
11457
11458 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11459
11460 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11461 standard.
11462
11463 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11464
11465 * libc/include/string.h: Work around problem with strsignal and gdb.
11466
11467 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11468
11469 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11470 * libc/include/malloc.h: Ditto.
11471 * libc/include/process.h: Ditto.
11472 * libc/include/stdio.h: Ditto.
11473 * libc/include/stdlib.h: Ditto.
11474 * libc/include/time.h: Ditto.
11475 * libc/include/machine/setjmp.h: Ditto.
11476 * libc/include/sys/errno.h: Ditto.
11477 * libc/include/sys/signal.h: Ditto.
11478 * libc/include/sys/stat.h: Ditto.
11479 * libc/include/sys/time.h: Ditto.
11480 * libc/include/sys/unistd.h: Ditto.
11481 * libc/include/string.h: Ditto. strsignal should return a const char *.
11482
11483 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11484
11485 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11486 * libm/common/s_log1p.c (log1p): Likewise.
11487 * libm/common/s_scalbn.c (scalbn): Likewise.
11488 * libm/math/e_log.c: Likewise.
11489 * libm/math/e_asin.c: Likewise.
11490 * libm/math/ef_asin.c: Likewise.
11491 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11492 * libm/math/e_j1.c (pone, qone): Likewise.
11493 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11494 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11495 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11496 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11497 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11498 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11499
11500 2000-05-19 DJ Delorie <dj@cygnus.com>
11501
11502 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11503 (__sread): always read in binary mode
11504 (__swrite): always write in binary mode
11505 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11506 compatibility issues with different dll versions
11507 * libc/stdio/fopen.c: use __stextmode
11508 * libc/stdio/fdopen.c: ditto
11509 * libc/stdio/freopen.c: ditto
11510 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11511 * libc/stdio/local.h: declare __stextmode
11512
11513 2000-05-18 DJ Delorie <dj@cygnus.com>
11514
11515 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
11516
11517 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11518
11519 * libc/include/ctype.h: Changed tolower and toupper macros
11520 to use __extension__ to prevent pedantic warnings.
11521
11522 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11523
11524 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11525 structures.
11526
11527 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11528
11529 * libc/include/machine/ieeefp.h: Add ia64 support.
11530 * configure.host: Likewise.
11531
11532 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11533
11534 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11535 month is now padded with space, not zero. This now conforms to
11536 ANSI standard.
11537
11538 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11539
11540 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11541 host or network path") used by cygwin. Add some comments.
11542
11543 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11544
11545 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11546 endings" for Cygwin.
11547 (__sgetc): convert line endings if needed
11548 (__sputc): ditto
11549 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11550 * libc/stdio/fopen.c (_fopen_r): ditto
11551 * libc/stdio/freopen.c (freopen): ditto
11552 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11553 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11554
11555 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11556
11557 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11558 post-increment when it is worth it, spacewise.
11559
11560 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11561
11562 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11563 * libc/stdio/findfp.c (std): Added declaration of flags and file.
11564 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
11565 return type.
11566 * libc/stdio/putchar.c (putchar): Added return statement.
11567 * libc/stdio/refill.c (lflush): Added correct parentheses.
11568 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
11569 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
11570 prints long value to use l qualifier.
11571 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11572 messages and initialized local values: ilim, ilim1, and spec_case.
11573 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11574 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11575 * libc/stdlib/mprec.c: Ditto.
11576 * libc/stdlib/setenv_r.c: Ditto.
11577 * libc/stdlib/strtod.c: Ditto.
11578 * libc/stdlib/strtol.c: Ditto.
11579 * libc/stdlib/strtoul.c: Ditto.
11580 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11581 * libm/common/sf_log1p.c: Ditto.
11582 * libm/common/sf_scalbn.c: Ditto.
11583 * libm/math/ef_log.c: Ditto.
11584
11585 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11586
11587 * libc/posix/execvp.c (execvp): Check path for
11588 trailing slash.
11589
11590 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11591
11592 * libc/include/sys/unistd.h: Add prototypes for
11593 fchmod, fchown, lchown.
11594
11595 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11596
11597 * acinclude.m4: Changed release to 1.8.2.
11598 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11599 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11600 libc/machine/configure libc/machine/a29k/aclocal.m4
11601 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11602 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11603 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11604 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11605 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11606 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11607 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11608 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11609 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11610 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11611 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11612 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11613 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11614 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11615 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11616 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11617 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11618 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11619 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11620 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11621 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11622 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11623 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11624 libc/machine/z8k/configure libc/sys/aclocal.m4
11625 libc/sys/aclocal.m4 libc/sys/configure
11626 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11627 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11628 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11629 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11630 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11631 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11632 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11633 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11634 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11635 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11636 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11637 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11638 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11639 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11640 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11641 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11642 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11643 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11644 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11645 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11646 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11647 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11648 libm/aclocal.m4 libm/configure: Regenerated.
11649
11650 2000-03-24 Nick Clifton <nickc@cygnus.com>
11651
11652 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11653 (do_AngelSWI): Add "cc" to list o registers clobbered.
11654
11655 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11656
11657 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
11658 information to be clobbered by an Angel C library support syscall.
11659
11660 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11661
11662 * libc/stdlib/envlock.c: Fixed comment typo.
11663
11664 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11665
11666 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
11667 code to update nread as each character is processed instead
11668 of using buffer contents which throw away leading zeroes.
11669
11670 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
11671
11672 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
11673
11674 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
11675
11676 * libc/include/string.h: Include <sys/types.h>.
11677
11678 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11679
11680 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
11681 with XSH5, not SVID.
11682
11683 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11684
11685 * libc/include/string.h: Changed last argument back to ssize_t
11686 to make it compatible with XPG4 definition which is
11687 defined in <unistd.h>. There is a conflict in the SVID 3
11688 and XPG4 definitions and newlib will settle with XPG4.
11689 * libc/string/swab.c: Ditto.
11690
11691 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11692
11693 * libc/include/string.h: Changed last argument to size_t.
11694 * libc/string/swab.c: Changed last argument to size_t.
11695
11696 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11697
11698 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11699 (CHEWOUT_FILES): Added unlinkr.def.
11700 * libc/reent/Makefile.in: Rebuilt.
11701 * libc/sys.tex: Include unlinkr.def.
11702 * libc/reent/linkr.c (_unlink_r): Moved to...
11703 * libc/reent/unlinkr.c: ... new file.
11704
11705 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11706
11707 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11708 (CHEWOUT_FILES): Added swab.def.
11709 * libc/string/Makefile.in: Rebuilt.
11710 * libc/string/string.tex: Include swab.def.
11711 * libc/include/string.h (swab): Declare.
11712 * libc/string/swab.c: New file.
11713
11714 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11715
11716 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
11717 (CHEWOUT_FILES): Added getw.def and putw.def.
11718 * libc/stdio/Makefile.in: Rebuilt.
11719 * libc/stdio/stdio.tex: Include getw.def and putw.def.
11720 * libc/stdio/getw.c: New file.
11721 * libc/stdio/putw.c: New file.
11722
11723 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11724
11725 * libc/stdio/flags.c (__sflags): Added check that mode[1]
11726 is non-null before looking at mode[2].
11727
11728 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11729
11730 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
11731 * libm/mathfp/sf_atan.c: Ditto.
11732
11733 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
11734
11735 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
11736
11737 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11738
11739 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
11740 _DOUBLE_IS_32BITS.
11741
11742 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11743
11744 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
11745 call prior to calling _VFPRINTF_R so reentrant data area is set.
11746 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
11747
11748 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11749
11750 * libc/stdio/vfscanf.c (limits.h): #include.
11751 (MAX_LONG_LEN): #define.
11752 (__svfscanf): Handle floating point numbers with arbitrary amounts
11753 of leading zeroes.
11754
11755 2000-02-15 Nick Clifton <nickc@cygnus.com>
11756
11757 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
11758 zero. Set the blocksize to 1024/
11759
11760 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11761
11762 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
11763 with line buffering.
11764
11765 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11766
11767 * acinclude.m4: Changed include directory for winsup headers.
11768 * aclocal.m4 configure libc/aclocal.m4
11769 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
11770 libc/locale/Makefile.in libc/machine/aclocal.m4
11771 libc/machine/configure libc/machine/a29k/aclocal.m4
11772 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11773 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11774 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11775 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11776 libc/machine/fr30/configure
11777 libc/machine/h8300/aclocal.m4
11778 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11779 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11780 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11781 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11782 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11783 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11784 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11785 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11786 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11787 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11788 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11789 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11790 libc/machine/powerpc/configure
11791 libc/machine/sh/aclocal.m4
11792 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11793 libc/machine/sparc/configure
11794 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11795 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11796 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11797 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11798 libc/misc/Makefile.in libc/posix/Makefile.in
11799 libc/reent/Makefile.in
11800 libc/signal/Makefile.in
11801 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
11802 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11803 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
11804 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
11805 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
11806 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11807 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11808 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11809 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11810 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11811 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11812 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11813 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11814 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
11815 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
11816 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
11817 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
11818 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
11819 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
11820 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
11821 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
11822 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
11823 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
11824 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
11825 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
11826 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
11827 libm/configure: Regenerated.
11828
11829 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
11830
11831 * libc/stdlib/putenv_r.c (_putenv_r): New file.
11832 * libc/stdlib/strdup_r.c (_strdup_r): New file.
11833 * libc/include/string.h: Added _strdup_r.
11834 * libc/stdlib/putenv.c: Added call to reentrant version.
11835 * libc/stdlib/strdup.c: Ditto.
11836 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
11837 * libc/include/stdlib.h: Ditto.
11838 * libc/stdlib/Makefile.in: Regenerated.
11839 * libc/string/Makefile.in: Regenerated.
11840 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
11841 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
11842 management calls to reentrant versions.
11843 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
11844 * libc/stdlib/wctomb.c: Ditto.
11845 * libc/stdlib/mblen.c: Ditto.
11846 * libc/stdlib/mbstowcs.c: Ditto.
11847 * libc/stdlib/mbtowc.c: Ditto.
11848 * libc/stdlib/getenv.c: Ditto.
11849 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
11850 and _strdup_r.
11851
11852 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
11853
11854 patch from Corinna Vinschen <corinna@vinschen.de>
11855 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
11856
11857 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
11858
11859 * libm/mathfp/s_atangent.c: Fix exponent calculation.
11860 * libm/mathfp/s_ldexp.c: Ditto.
11861 * libm/mathfp/sf_atangent.c: Ditto.
11862 * libm/mathfp/sf_ldexp.c: Ditto.
11863
11864 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11865
11866 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
11867 * libc/include/locale.h: define NULL to be 0.
11868
11869 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
11870
11871 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
11872 function.
11873
11874 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
11875
11876 * libc/machine/mn10300/setjmp.S: Handle am33.
11877
11878 1999-11-26 Nick Clifton <nickc@cygnus.com>
11879
11880 * libc/sys/arm/syscalls.c: Add function prototypes.
11881 (stack_ptr): Move declaration before function definitions.
11882
11883 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11884
11885 * NEWS: Updated version information.
11886 * README: Ditto.
11887
11888 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
11889
11890 * libc/machine/i386/strchr.S: Fixed alignment test.
11891
11892 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
11893
11894 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
11895
11896 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
11897
11898 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
11899 ensuring that there is space between the two.
11900
11901 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
11902
11903 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
11904 only.
11905
11906 1999-10-08 Vadim Egorov <egorovv@1c.ru>
11907
11908 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
11909 section
11910
11911 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11912
11913 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
11914 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
11915
11916 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
11917 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
11918 per POSIX 1003.1b.
11919 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
11920 per POSIX 1003.1b.
11921
11922 1999-09-13 DJ Delorie <dj@cygnus.com>
11923
11924 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
11925 also.
11926
11927 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11928
11929 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
11930 also note BUFSIZ as its size.
11931
11932 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
11933
11934 * configure.host: Corrected feature defines for RTEMS.
11935 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
11936 * libc/include/sys/stat.h: mkfifo() should take const path arg.
11937 * libc/include/sys/unistd.h: pathconf() should take const path arg.
11938 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
11939 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
11940 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
11941 _PC_PRIO_IO, and _PC_SYNC_IO.
11942 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
11943 * libc/machine/m68k/Makefile.in: Regenerated.
11944 * libc/machine/m68k/strcpy.c: New file.
11945 * libc/machine/m68k/strlen.c: New file.
11946 * libc/stdio/tmpnam.c: Always make the returned name usable.
11947 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
11948 * libc/sys/rtems/sys/dirent.h: New file.
11949 * libc/sys/rtems/sys/types.h: Added dev_t.
11950
11951 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
11952
11953 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
11954
11955 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
11956
11957 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
11958 my patch.
11959
11960 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
11961
11962 patch from Jeff Johnston <jjohnstn@cygnus.com>
11963 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
11964 buffer is not in a useful state.
11965
11966 1999-09-01 Nick Clifton <nickc@cygnus.com>
11967
11968 * libc/sys/arm/syscalls.c (_link): Add stub.
11969
11970 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11971
11972 * ftell.c (ftell): Use actual position within buffer for text mode.
11973 * findfp.c (std): Initialize ptr->_bf._size.
11974
11975 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
11976
11977 * libc/include/sys/unistd.h: Add nice() declaration.
11978
11979 1999-08-09 Nick Clifton <nickc@cygnus.com>
11980
11981 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
11982 declare as a thumb function so that the disassembler will see the
11983 mode change.
11984
11985 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11986
11987 * libc/reent/reent.tex: Updated list of reentrant functions.
11988
11989 1999-07-09 Michael Meissner <meissner@cygnus.com>
11990
11991 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
11992
11993 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
11994
11995 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
11996 separate file.
11997 * libc/stdio/snprintf.c: New file.
11998 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
11999 separate file.
12000 * libc/stdio/vsnprintf.c: New file.
12001 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
12002 * libc/stdio/Makefile.in: Regenerated.
12003
12004 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
12005
12006 Patch submitted by Egor Duda <deo@logos-m.ru>:
12007 * libc/include/stdio.h: Add declarations for *nprintf.
12008 * libc/stdio/sprintf.c (snprintf): New function.
12009 (_snprintf_r): New function.
12010 * libc/stdio/vsprintf.c (vsnprintf): New function.
12011 (_vnsprintf_r): New function.
12012
12013 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12014
12015 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12016 * libm/Makefile.am (stmp-targetdep): Ditto.
12017 * libc/Makefile.in: Regenerated.
12018 * libm/Makefile.in: Ditto.
12019
12020 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12021
12022 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12023 * libm/Makefile.am (stmp-targetdep): Ditto.
12024 * libc/Makefile.in: Regenerated.
12025 * libm/Makefile.in: Ditto.
12026
12027 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12028
12029 * Makefile.am: Removed dependencies on all-recursive and added "."
12030 to the SUBDIRS list to prevent infinite recursion from occurring.
12031 Also removed any references to EXTRA_DATA.
12032 * libc/Makefile.am: Ditto.
12033 * libc/machine/Makefile.am: Ditto.
12034 * libc/machine/i386/Makefile.am: Ditto.
12035 * libm/Makefile.am: Ditto.
12036 * libc/sys/Makefile.am: Ditto.
12037 * Makefile.in: Regenerated.
12038 * aclocal.m4: Ditto.
12039 * configure: Ditto.
12040 * doc/Makefile.in: Ditto.
12041 * doc/aclocal.m4: Ditto.
12042 * doc/configure: Ditto.
12043 * libc/Makefile.in: Ditto.
12044 * libc/aclocal.m4: Ditto.
12045 * libc/configure: Ditto.
12046 * libc/machine/Makefile.in: Ditto.
12047 * libc/machine/aclocal.m4: Ditto.
12048 * libc/machine/configure: Ditto.
12049 * libc/machine/mn10300/Makefile.in: Ditto.
12050 * libc/machine/mn10300/aclocal.m4: Ditto.
12051 * libc/machine/mn10300/configure: Ditto.
12052 * libc/sys/Makefile.in: Ditto.
12053 * libc/sys/aclocal.m4: Ditto.
12054 * libc/sys/configure: Ditto.
12055 * libm/Makefile.in: Ditto.
12056 * libm/aclocal.m4: Ditto.
12057 * libm/configure: Ditto.
12058
12059 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12060
12061 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12062
12063 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12064
12065 * libc/include/stdlib.h: Add reentrant routines.
12066 * libc/stdlib/Makefile.am: Add reentrant routines.
12067 * libc/stdlib/Makefile.in: Ditto.
12068 * libc/stdlib/envlock.c: New file.
12069 * libc/stdlib/envlock.h: New file.
12070 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12071 * libc/stdlib/getenv_r.c: New file.
12072 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12073 * libc/stdlib/mblen_r.c: New file.
12074 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12075 * libc/stdlib/setenv_r.c: New file.
12076 * libc/stdlib/stdlib.tex: Add reentrant routines.
12077
12078 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12079
12080 * libc/include/sys/types.h: Define __MS_types__ whenever
12081 cygwin or win32.
12082
12083 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12084
12085 * libc/include/machine/ieeefp.h: Always default to little
12086 endian if Windows, regardless of architecture.
12087 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12088 regardless of architecture.
12089
12090 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12091
12092 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
12093 _WIN32 isn't defined.
12094
12095 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
12096
12097 * libm/common/s_rint.c (rint): Add volatile qualifier for
12098 intermediate value w.
12099 * libm/common/sf_rint.c (rintf): Ditto.
12100
12101 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12102
12103 * libc/sys/arm/syscalls.c (remap_handle): Added check to
12104 ensure that std streams are initialized before being referenced.
12105
12106 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
12107
12108 * README: Update reference to newlib@cygnus.com new
12109 newlib@sourceware.cygnus.com address.
12110
12111 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
12112
12113 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
12114 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
12115 defined, even if _WIN32 isn't defined.
12116
12117 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
12118
12119 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
12120
12121 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12122
12123 * libc/include/sys/reent.h: Change Long and ULong to __Long and
12124 __ULong.
12125 * libc/stdlib/dtoa.c: Ditto.
12126 * libc/stdlib/mprec.c: Ditto.
12127 * libc/stdlib/mprec.h: Ditto.
12128 * libc/stdlib/strtod.c: Ditto.
12129
12130 1999-04-21 Nick Clifton <nickc@cygnus.com>
12131
12132 * configure.host (mcore): Remove mcore machine directory.
12133
12134 1999-04-18 Nick Clifton <nickc@cygnus.com>
12135
12136 * libc/include/machine/ieeefp.h: Add support for mcore target.
12137 * libc/include/machine/setjmp.h: Add support for mcore target.
12138 * configure.host: Add support for mcore target.
12139
12140 1999-04-13 Mark Salter <msalter@cygnus.com>
12141
12142 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
12143 * libc/sys/arm/syscalls.c: Added isatty.
12144
12145 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12146
12147 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
12148 insert zeroes after significant digits.
12149
12150 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12151
12152 * libc/stdio/vfprintf.c (cvt): Changed floating point
12153 cvt routine to use union used by dtoa to properly determine
12154 if the sign bit is on or not.
12155 * libc/stdio/vfieeefp.h: New file
12156
12157 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12158
12159 * aclocal.m4: Regenerated.
12160 * configure: Regenerated.
12161
12162 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12163
12164 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
12165 f_tanf reference.
12166 * libc/machine/i386/Makefile.in: Regenerated.
12167
12168 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
12169
12170 * acinclude.m4: Changed to work with new automake.
12171 * configure: Regenerated.
12172 * libc/machine/i386/aclocal.m4: Regenerated.
12173 * libc/machine/i386/configure: Regenerated.
12174
12175 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
12176
12177 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
12178 for telldir() and seekdir(). Rename unused structure element
12179 for use with these two routines.
12180
12181 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
12182
12183 * libc/time/mktime.c (validate_structure): Multiple fixes to
12184 code to handle cases where input fields are outside valid ranges.
12185 * libc/stdlib/div.c (div): Modified invalid rounding check.
12186 * libc/stdlib/ldiv.c (ldiv): Ditto.
12187
12188 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
12189
12190 * libc/machine/i386/memcpy.S: Performance rewrite.
12191 * libc/machine/i386/memmove.S: Ditto.
12192 * libc/machine/i386/i386mach.h: Added more register definitions.
12193 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
12194 option used.
12195 * libc/include/machine/fastmath.h: Add definitions for x86
12196 fast-math routines.
12197
12198 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12199
12200 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
12201
12202 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
12203
12204 Adjust newlib headers for new Cygwin Win32 API header files:
12205 * libc/include/sys/time.h: Check _WINSOCK_H rather than
12206 _GNU_H_WINDOWS32_SOCKETS.
12207 * libc/include/sys/types.h: Ditto.
12208
12209 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12210
12211 *include/sys/reent.h: Add checks for size of Bigint element Long.
12212 *libc/dtoa.c: Change routines to use generic Long type.
12213 *libc/mprec.c: Change routines to use generic Long type.
12214 *libc/mprec.h: Change routines to use generic Long type.
12215
12216 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
12217
12218 * libc/Makefile.am: Add .def files.
12219 * libc/Makefile.in: Regenerate.
12220 * libc/e_acosh.c: Documentation update.
12221 * libc/e_atanh.c: Documentation update.
12222 * libc/e_hypot.c: Documentation update.
12223 * libc/e_remainder.c: Documentation update.
12224 * libc/er_lgamma.c: Documentation update.
12225 * libc/mathfp.tex: Documentation update.
12226 * libc/s_acos.c: Documentation update.
12227 * libc/s_atan.c: Documentation update.
12228 * libc/s_atan2.c: Documentation update.
12229 * libc/s_cosh.c: Documentation update.
12230 * libc/s_fmod.c: Documentation update.
12231 * libc/s_isnan.c: Documentation update.
12232 * libc/s_log10.c: Documentation update.
12233 * libc/s_pow.c: Documentation update.
12234 * libc/w_jn.c: Documentation update.
12235
12236 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
12237
12238 * aclocal.m4: Regenerate.
12239 * configure: Regenerate.
12240
12241 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
12242
12243 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
12244 to return 1 if user specified return code is 0.
12245 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
12246
12247 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
12248
12249 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
12250 to save the return address. Fixed longjmp to return to the original
12251 calling address of setjmp and to return the user specified return code
12252 rather than default to 1.
12253 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
12254
12255 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
12256
12257 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
12258
12259 1999-02-10 Nick Clifton <nickc@cygnus.com>
12260
12261 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
12262 volatile so that its assignments will not be discarded.
12263
12264 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
12265
12266 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
12267 be __STRICT_ANSI__ which is generated by compiler.
12268 * libc/include/ctype.h: Ditto.
12269 * libc/include/math.h: Ditto.
12270 * libc/include/stdio.h: Ditto.
12271 * libc/include/stdlib.h: Ditto.
12272 * libc/include/string.h: Ditto.
12273 * libc/include/sys/signal.h: Ditto.
12274
12275 1999-02-08 Nick Clifton <nickc@cygnus.com>
12276
12277 * configure.host: Add support for StrongARM target.
12278
12279 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
12280
12281 * libc/string/strncpy.c (strncpy): Removed redundant code
12282 that was copying bytes if data unaligned.
12283
12284 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
12285
12286 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
12287 mbstowcs.def, and wcstombs.def.
12288
12289 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
12290
12291 * libc/include/sys/errno.h: Add Cygwin errno.
12292 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
12293 is specified.
12294
12295 1999-01-29 Nick Clifton <nickc@cygnus.com>
12296
12297 * libc/sys/arm/syscalls.c: Move C library functions into seperate
12298 file.
12299
12300 * libc/sys/arm/libcfunc.c: New file containing C library functions
12301 from syscalls.c
12302
12303 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
12304 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
12305
12306
12307 1999-01-27 Michael Meissner <meissner@cygnus.com>
12308
12309 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
12310 type, and cut size in half so that the jmp_buf array is guaranteed
12311 to be aligned on a 64-bit boundary.
12312
12313 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
12314
12315 * libc/string/strings.tex: Added information about
12316 strcasecmp and strncasecmp.
12317 * libc/stdlib/stdlib.tex: Added missing information
12318 about mblen, mbstowcs, and wcstombs.
12319 * libc/string/strchr.c: Changed how mask is built to use
12320 shift operators so register will be used instead of storage.
12321
12322 1999-01-22 DJ Delorie <dj@cygnus.com>
12323
12324 * libc/include/stdlib.h: don't use dllimport if we're building
12325 newlib, since it's inside cygwin.dll
12326
12327 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
12328
12329 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
12330 _ctype_ under cygwin.
12331
12332 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
12333
12334 * include/stdlib.h: Fix typo from previous checkin.
12335
12336 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
12337
12338 * include/ctype.h: Use __declspec(dllimport) method for exporting
12339 variable from cygwin DLL.
12340 * include/time.h: Ditto.
12341 * sys/errno.h: Ditto.
12342 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
12343 * libc/locale/locale.c: Use __declspec(dllexport) method for
12344 exporting variable from cygwin DLL.
12345
12346 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
12347
12348 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
12349 access of bogus pointer will result in SIGSEGV.
12350
12351 1999-01-07 Nick Clifton <nickc@cygnus.com>
12352
12353 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
12354 of an underscore prefix to function names.
12355
12356 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
12357
12358 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
12359 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
12360
12361 1998-12-31 Michael Meissner <meissner@cygnus.com>
12362
12363 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
12364 to `%' if not already defined.
12365
12366 1998-12-30 Michael Meissner <meissner@cygnus.com>
12367
12368 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
12369 arguments const char *, not char *.
12370 * libc/include/stdio.h (_tempnam_r): Ditto.
12371
12372 * libc/include/sys/reent.h (struct _reent): The _sig_func type
12373 points to a function taking an integer, not void.
12374
12375 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
12376
12377 * configure.host: Add a define for Cygwin builds.
12378 * libc/include/ctype.h: Don't use dll imported variables in newlib.
12379
12380 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
12381
12382 * libc/include/ctype.h: Define _ctype_ as dll imported variable
12383 for use with Cygwin.
12384 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
12385 dll imported variables for use with Cygwin.
12386 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
12387 as a dll imported variable for Cygwin.
12388
12389 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
12390
12391 * libc/include/sys/unistd.h: Add proto for getpass.
12392
12393 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
12394
12395 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12396 alphasort.
12397
12398 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12399
12400 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12401 not posix_path_list_p.
12402
12403 1998-12-15 Nick Clifton <nickc@cygnus.com>
12404
12405 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12406 a signed int.
12407
12408 1998-12-13 Nick Clifton <nickc@cygnus.com>
12409
12410 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12411
12412 1998-12-12 Nick Clifton <nickc@cygnus.com>
12413
12414 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12415 <msalter@cygnus.com>
12416 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12417 * libc/machine/fr30/Makefile.in: Regenerated.
12418
12419 1998-12-11 Nick Clifton <nickc@cygnus.com>
12420
12421 * configure.host: Remove use of libc/sys for FR30 port.
12422 * libc/sys/fr30: Remove directory (replaced by libgloss).
12423
12424 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
12425
12426 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12427 * libc/string/strncat.c (ALIGNED): Ditto.
12428
12429 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12430
12431 * libc/include/sys/time.h: include sys/types.h
12432
12433 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12434
12435 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12436 comparison found when checking word at a time.
12437
12438 1998-12-04 Nick Clifton <nickc@cygnus.com>
12439
12440 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12441
12442 1998-12-03 Nick Clifton <nickc@cygnus.com>
12443
12444 * libc/sys/fr30/syscalls.c (_times): New function stub.
12445
12446 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12447
12448 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12449 with mach_add_setjmp flag which indicates if setjmp should
12450 be added to the machine directory objects.
12451 * acinclude.m4: Removed reference to mach_add_objs.
12452 * aclocal.m4: Regenerated.
12453 * Makefile.in: Regenerated.
12454 * configure: Regenerated.
12455 * libc/aclocal.m4: Regenerated.
12456 * libc/Makefile.in: Regenerated.
12457 * libc/configure: Regenerated.
12458 * libc/machine/aclocal.m4: Regenerated.
12459 * libc/machine/Makefile.in: Regenerated.
12460 * libc/machine/configure: Regenerated.
12461 * libc/machine/i386/aclocal.m4: Regenerated.
12462 * libc/machine/i386/Makefile.am: Altered to selectively add
12463 setjmp.S to the src files list.
12464 * libc/machine/i386/Makefile.in: Regenerated.
12465 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12466 * libc/machine/i386/configure: Regenerated.
12467
12468 1998-12-02 Nick Clifton <nickc@cygnus.com>
12469
12470 * libc/sys/fr30/crt0.s (_start): Fix function names.
12471
12472 * libc/machine/fr30: New directory
12473 * libc/machine/fr30/Makefile.am: New file.
12474 * libc/machine/fr30/Makefile.in: New generated file.
12475 * libc/machine/fr30/configure.in: New file.
12476 * libc/machine/fr30/configure: New generated file.
12477 * libc/machine/fr30/aclocal.m4: New generated file.
12478 * libc/sys/fr30/Makefile.am: New file.
12479 * libc/sys/fr30/Makefile.in: New generated file.
12480 * libc/sys/fr30/configure.in: New file.
12481 * libc/sys/fr30/configure: New generated file.
12482 * libc/sys/fr30/syscalls.c: New file.
12483
12484 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12485
12486 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12487
12488 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
12489
12490 * libc/time/strftime.c (strftime): Also handle %y for years before
12491 1900.
12492
12493 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12494
12495 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12496 UNIX convention. Perform tolower on characters before comparing
12497 them rather than use toupper.
12498 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12499
12500 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12501
12502 * configure.host: Added using i386 machine directory
12503 for all x86 cross-compiler and configuring
12504 which added object files to use via new "mach_add_objs" variable.
12505 * configure: Regenerated.
12506 * libc/configure: Regenerated.
12507 * libc/Makefile.in: Regenerated.
12508 * libc/aclocal.m4: Regenerated.
12509 * libc/ctype/Makefile.in: Regenerated.
12510 * libc/errno/Makefile.in: Regenerated.
12511 * libc/locale/Makefile.in: Regenerated.
12512 * libc/machine/Makefile.in: Regenerated.
12513 * libc/machine/aclocal.m4: Regenerated.
12514 * libc/machine/configure: Regenerated.
12515 * libc/posix/Makefile.in: Regenerated.
12516 * libc/reent/Makefile.in: Regenerated.
12517 * libc/signal/Makefile.in: Regenerated.
12518 * libc/stdio/Makefile.in: Regenerated.
12519 * libc/stdlib/Makefile.in: Regenerated.
12520 * libc/string/Makefile.in: Regenerated.
12521 * libc/string/memmove.c: Optimized code to use memcpy
12522 logic when performing a non-destructive copy.
12523 * libc/string/strncmp.c: Altered code to allow building
12524 optimized for size or speed.
12525 * libc/syscalls/Makefile.in: Regenerated.
12526 * libc/time/Makefile.in: Regenerated.
12527 * libc/unix/Makefile.in: Regenerated.
12528 * libc/machine/i386/Makefile.am: Added new files and reference
12529 to "mach_add_objs" to indicate optional object files.
12530 * libc/machine/i386/Makefile.in: Regenerated.
12531 * libc/machine/i386/aclocal.m4: Regenerated.
12532 * libc/machine/i386/configure: Regenerated.
12533 * libc/machine/i386/memchr.S: New file that implements
12534 function in Intel assembler.
12535 * libc/machine/i386/memcmp.S: ditto.
12536 * libc/machine/i386/memcpy.S: ditto.
12537 * libc/machine/i386/memmove.S: ditto.
12538 * libc/machine/i386/memset.S: ditto.
12539 * libc/machine/i386/strchr.S: ditto.
12540 * libc/machine/i386/strlen.S: ditto.
12541 * libc/machine/i386/f_atan2.S: New file that implements
12542 fast version of math function to be used by compiler when
12543 --ffast_math compile option is used.
12544 * libc/machine/i386/f_atan2f.S: ditto.
12545 * libc/machine/i386/f_exp.c: ditto.
12546 * libc/machine/i386/f_expf.c: ditto.
12547 * libc/machine/i386/f_frexp.S: ditto.
12548 * libc/machine/i386/f_frexpf.S: ditto.
12549 * libc/machine/i386/f_ldexp.S: ditto.
12550 * libc/machine/i386/f_ldexpf.S: ditto.
12551 * libc/machine/i386/f_log.S: ditto.
12552 * libc/machine/i386/f_logf.S: ditto.
12553 * libc/machine/i386/f_log10.S: ditto.
12554 * libc/machine/i386/f_log10f.S: ditto.
12555 * libc/machine/i386/f_math.h: New file.
12556 * libc/machine/i386/f_pow.c: ditto.
12557 * libc/machine/i386/f_powf.S: ditto.
12558 * libc/machine/i386/f_tan.S: ditto.
12559 * libc/machine/i386/f_tan.S: ditto.
12560 * libc/machine/i386/i386mach.h: New file.
12561
12562 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12563
12564 patch from Mumit Khan <khan@xraylith.wisc.edu>
12565 * libc/include/stdio.h (tempnam): Add prototype.
12566 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12567 (tempnam): Adhere to prototype.
12568
12569 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12570
12571 * Makefile.am: Add default for AR_FLAGS.
12572 * Makefile.in: Regenerate.
12573
12574 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12575
12576 * libc/include/time.h: move __cplusplus wrapper after includes
12577 * libc/include/sys/time.h: ditto. If Cygwin, include
12578 sys/select.h.
12579 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12580
12581 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
12582
12583 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12584
12585 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12586
12587 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12588 abnormnal end-of-crt0 marker.
12589
12590 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12591
12592 * libc/sys/fr30/crt0.s: New file/directory.
12593 * libc/include/machine/setjmp.h: Add FR30 target.
12594 * libc/include/machine/ieeefp.h: Add FR30 target.
12595 * configure.host: Add FR30 target.
12596
12597 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12598
12599 * libm/math: Files that are duplicated in common directory removed.
12600 * libm/math/fdlibm.h: Removed.
12601 * libm/math/s_cbrt.c: Removed.
12602 * libm/math/s_copysign.c: Removed.
12603 * libm/math/s_expm1.c: Removed.
12604 * libm/math/s_finite.c: Removed.
12605 * libm/math/s_ilogb.c: Removed.
12606 * libm/math/s_infinity.c: Removed.
12607 * libm/math/s_lib_ver.c: Removed.
12608 * libm/math/s_log1p.c: Removed.
12609 * libm/math/s_logb.c: Removed.
12610 * libm/math/s_matherr.c: Removed.
12611 * libm/math/s_modf.c: Removed.
12612 * libm/math/s_nan.c: Removed.
12613 * libm/math/s_nextafter.c: Removed.
12614 * libm/math/s_rint.c: Removed.
12615 * libm/math/s_scalbn.c: Removed.
12616 * libm/math/sf_cbrt.c: Removed.
12617 * libm/math/sf_copysign.c: Removed.
12618 * libm/math/sf_expm1.c: Removed.
12619 * libm/math/sf_finite.c: Removed.
12620 * libm/math/sf_ilogb.c: Removed.
12621 * libm/math/sf_infinity.c: Removed.
12622 * libm/math/sf_log1p.c: Removed.
12623 * libm/math/sf_logb.c: Removed.
12624 * libm/math/sf_modf.c: Removed.
12625 * libm/math/sf_nan.c: Removed.
12626 * libm/math/sf_nextafter.c: Removed.
12627 * libm/math/sf_rint.c: Removed.
12628 * libm/math/sf_scalbn.c: Removed.
12629 * libm/math/Makefile.am: Removed references to deleted files (above).
12630 * libm/math/Makefile.in: Regenerated.
12631 * libm/Makefile.am: Added common directory to math.
12632 * libm/Makefile.in: Regenerated.
12633
12634 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12635
12636 * libm/mathfp: Add non-ANSI functions.
12637 * libm/mathfp/e_acosh.c acosh(): New file.
12638 * libm/mathfp/e_atanh.c atanh(): New file.
12639 * libm/mathfp/e_hypot.c hypot(): New file.
12640 * libm/mathfp/e_j0.c j0(): New file.
12641 * libm/mathfp/e_j1.c j1(): New file.
12642 * libm/mathfp/e_remainder.c remainder(): New file.
12643 * libm/mathfp/e_scalb.c scalb(): New file.
12644 * libm/mathfp/ef_acosh.c acoshf(): New file.
12645 * libm/mathfp/ef_atanh.c atanhf(): New file.
12646 * libm/mathfp/ef_hypot.c hypotf(): New file.
12647 * libm/mathfp/ef_j0.c j0f(): New file.
12648 * libm/mathfp/ef_j1.c j1f(): New file.
12649 * libm/mathfp/ef_remainder.c remainderf(): New file.
12650 * libm/mathfp/ef_scalb.c scalbf(): New file.
12651 * libm/mathfp/er_gamma.c gamma_r: New file.
12652 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12653 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12654 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12655 * libm/mathfp/w_cabs.c cabs(): New file.
12656 * libm/mathfp/w_drem.c drem(): New file.
12657 * libm/mathfp/w_jn.c jn(): New file.
12658 * libm/mathfp/wf_cabs.c cabsf(): New file.
12659 * libm/mathfp/wf_drem.c dremf(): New file.
12660 * libm/mathfp/wf_jn.c jnf(): New file.
12661
12662 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
12663
12664 * libc/sys/cygwin32: remove directory and contents
12665 * libc/sys/cygwin: and add back, losing the "32".
12666 * configure.host: check for cygwin* instead of cygwin32.
12667 * acinclude.m4: ditto.
12668 * aclocal.m4: regenerate with aclocal
12669 * configure: regenerate with autoconf
12670
12671 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
12672
12673 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
12674 for length
12675
12676 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12677
12678 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
12679 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
12680 to make rand/srand, strtok, asctime, localtime, w_gamma,
12681 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
12682 time.h to bring in struct tm definition.
12683 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
12684 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
12685 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
12686 instead of static variable.
12687 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
12688 struct reent instead of static variable.
12689 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
12690 struct reent instead of static variable.
12691 * libm/math/Makefile.am: Removed s_signgam.o.
12692 * libm/math/Makefile.in: Regenerated.
12693 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12694 struct reent instead of global variable 'signgam'.
12695 * libm/math/w_lgamma.c (lgamma): Likewise.
12696 * libm/math/wf_gamma.c (gammaf): Likewise.
12697 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12698 * libm/math/s_signgam.c: Removed.
12699 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12700 to be const.
12701 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12702 to be const.
12703 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12704 libc/include/reent.h.
12705 * libc/reent/Makefile.in: Regenerated.
12706 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12707 to be const.
12708 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12709 'JIS_action_table' to be const.
12710 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12711
12712 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
12713
12714 * acinclude.m4: $with_target_subdir should default to '.'
12715 or confusion results when configuring in same directory as sources.
12716 * Regenerate all aclocal.m4 and configure files.
12717
12718 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
12719
12720 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
12721 can be set by defining MALLOC_ALIGNMENT=16. Also added support
12722 for platforms where sizeof(size_t) < sizeof(long) via
12723 SIZE_T_SMALLER_THAN_LONG macro.
12724
12725 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
12726
12727 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
12728 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
12729 which sets _CLOCKS_PER_SEC_ for selected machines.
12730 * libc/include/machine/time.h: New file.
12731
12732 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12733
12734 * libc/syscalls/sysexecve.c: New file.
12735 * libc/syscalls/sysgettod.c: New file.
12736 * libc/syscalls/systimes.c: New file.
12737 * libc/syscalls/Makefile.am: Added new objects.
12738 * libc/syscalls/Makefile.in: Regenerated.
12739 * libc/include/_syslist.h (_execve): Moved define in file.
12740 * libc/include/reent.h: Added _execve_r declaration.
12741 * libc/Makefile.in: Regenerated.
12742 * libc/ctype/Makefile.in: Regenerated.
12743 * libc/errno/Makefile.in: Regenerated.
12744 * libc/locale/Makefile.in: Regenerated.
12745 * libc/machine/Makefile.in: Regenerated.
12746 * libc/misc/Makefile.in: Regenerated.
12747 * libc/posix/Makefile.in: Regenerated.
12748 * libc/reent/Makefile.in: Regenerated.
12749 * libc/reent/execr.c (_execve_r): Added _execve_r function.
12750 * libc/signal/Makefile.in: Regenerated.
12751 * libc/stdio/Makefile.in: Regenerated.
12752 * libc/time/Makefile.in: Regenerated.
12753 * libc/unix/Makefile.in: Regenerated.
12754 * libm/mathfp/Makefile.in: Regenerated.
12755
12756 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12757
12758 * libc/string/Makefile.in: Regenerated.
12759 * libc/string/memchr.c (memchr): Moved code to reduce object size.
12760 * libc/string/memcpy.c (memcpy): Ditto.
12761 * libc/string/memcmp.c (memcmp): Ditto.
12762 * libc/string/memset.c (memset): Ditto.
12763 * libc/string/strchr.c (strchr): Ditto.
12764 * libc/string/strcmp.c (strcmp): Ditto.
12765 * libc/string/strcpy.c (strcpy): Ditto.
12766 * libc/string/strlen.c (strlen): Ditto.
12767
12768 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12769
12770 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
12771 to generate aclocal.m4.
12772 * libm/Makefile.in: Regenerated.
12773 * libm/aclocal.m4: Regenerated.
12774 * libm/configure: Regenerated.
12775 * libm/math/Makefile.in: Regenerated.
12776 * libm/mathfp/Makefile.in: Regenerated.
12777
12778 1998-09-25 Mark Salter <msalter@cygnus.com>
12779
12780 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
12781 by adding leading and trailing underscores to symbol names.
12782
12783 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
12784
12785 * Makefile.in: Add default for AR_FLAGS.
12786
12787 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
12788
12789 patch from ian@airs.com (Ian Taylor):
12790 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
12791 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
12792 is needed for detecting the build machine. Required for
12793 cygwin native builds.
12794
12795 * Regenerate all aclocal.m4 and configure files.
12796
12797 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
12798
12799 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
12800 used to start with LC.
12801
12802 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12803
12804 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
12805 (longjmp): Likewise.
12806
12807 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12808
12809 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
12810 the test for small number of bytes.
12811
12812 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12813
12814 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
12815 math library that uses floating point algorithms instead of the old
12816 libm.
12817 * Makefile.in: Regenerate with automake version 1.3b.
12818 * configure: Rebuild.
12819 * libm/Makefile.in: Regenerate with automake version 1.3b.
12820 * libm/aclocal.m4: Regenerate.
12821 * libm/configure: Rebuild.
12822 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
12823 * libm/acinclude.m4: Define macros for configure.in.
12824 * libm/config.h.in: Generate.
12825 * libm/mathfp/Makefile.am: New file.
12826 * libm/mathfp/Makefile.in: Generate.
12827 * libm/mathfp/s_acos.c (acos): New file.
12828 * libm/mathfp/s_asin.c (asin): New file.
12829 * libm/mathfp/s_asine.c (asine): New file.
12830 * libm/mathfp/s_atan.c (atan): New file.
12831 * libm/mathfp/s_atan2.c (atan2): New file.
12832 * libm/mathfp/s_atangent.c (atangent): New file.
12833 * libm/mathfp/s_ceil.c (ceil): New file.
12834 * libm/mathfp/s_copysign.c (copysign): New file.
12835 * libm/mathfp/s_cos.c (cos): New file.
12836 * libm/mathfp/s_cosh.c (cosh): New file.
12837 * libm/mathfp/s_exp.c (exp): New file.
12838 * libm/mathfp/s_fabs.c (fabs): New file.
12839 * libm/mathfp/s_finite.c (finite): New file.
12840 * libm/mathfp/s_floor.c (floor): New file.
12841 * libm/mathfp/s_fmod.c (fmod): New file.
12842 * libm/mathfp/s_frexp.c (frexp): New file.
12843 * libm/mathfp/s_infconst.c: New file.
12844 * libm/mathfp/s_isinf (isinf).c: New file.
12845 * libm/mathfp/s_isnan.c (isnan): New file.
12846 * libm/mathfp/s_ispos.c (ispos): New file.
12847 * libm/mathfp/s_ldexp.c (ldexp): New file.
12848 * libm/mathfp/s_log.c (log): New file.
12849 * libm/mathfp/s_log10.c (log10): New file.
12850 * libm/mathfp/s_logarithm.c (logarithm): New file.
12851 * libm/mathfp/s_mathcnst.c: New file.
12852 * libm/mathfp/s_modf (modf).c: New file.
12853 * libm/mathfp/s_numtest.c (numtest): New file.
12854 * libm/mathfp/s_pow.c (pow): New file.
12855 * libm/mathfp/s_scalbn.c (scalbn): New file.
12856 * libm/mathfp/s_sin (sin).c: New file.
12857 * libm/mathfp/s_sine.c (sine): New file.
12858 * libm/mathfp/s_sineh.c (sineh): New file.
12859 * libm/mathfp/s_sinf.c (sinf): New file.
12860 * libm/mathfp/s_sinh.c (sinh): New file.
12861 * libm/mathfp/s_sqrt.c (sqrt): New file.
12862 * libm/mathfp/s_tan.c (tan): New file.
12863 * libm/mathfp/s_tanh.c (tanh): New file.
12864 * libm/mathfp/sf_acos.c (acosf): New file.
12865 * libm/mathfp/sf_asin.c (asinf): New file.
12866 * libm/mathfp/sf_asine.c (asinef): New file.
12867 * libm/mathfp/sf_atan.c (atanf): New file.
12868 * libm/mathfp/sf_atan2.c (atan2f): New file.
12869 * libm/mathfp/sf_atangent.c (atangent): New file.
12870 * libm/mathfp/sf_ceil.c (ceilf): New file.
12871 * libm/mathfp/sf_copysign.c (copysignf): New file.
12872 * libm/mathfp/sf_cos.c (cosf): New file.
12873 * libm/mathfp/sf_cosh.c (coshf): New file.
12874 * libm/mathfp/sf_exp.c (expf): New file.
12875 * libm/mathfp/sf_fabs.c (fabsf): New file.
12876 * libm/mathfp/sf_finite.c (finitef): New file.
12877 * libm/mathfp/sf_floor.c (floorf): New file.
12878 * libm/mathfp/sf_fmod.c (fmodf): New file.
12879 * libm/mathfp/sf_frexp.c (frexpf): New file.
12880 * libm/mathfp/sf_isinf.c (isinff): New file.
12881 * libm/mathfp/sf_isnan.c (isnanf): New file.
12882 * libm/mathfp/sf_ispos.c (isposf): New file.
12883 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
12884 * libm/mathfp/sf_log.c (logf): New file.
12885 * libm/mathfp/sf_log10.c (log10f): New file.
12886 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
12887 * libm/mathfp/sf_modf.c (modff): New file.
12888 * libm/mathfp/sf_numtest.c (numtestf): New file.
12889 * libm/mathfp/sf_pow.c (powf): New file.
12890 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
12891 * libm/mathfp/sf_sin.c (sinf): New file.
12892 * libm/mathfp/sf_sine.c (sinef): New file.
12893 * libm/mathfp/sf_sineh.c (sinehf): New file.
12894 * libm/mathfp/sf_sinh.c (sinhf): New file.
12895 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
12896 * libm/mathfp/sf_tan.c (tanf): New file.
12897 * libm/mathfp/sf_tanh.c (tanhf): New file.
12898 * libm/mathfp/zmath.h: New file.
12899
12900 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12901
12902 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
12903 exit if it has been overwritten by pre-fetching in delay slot.
12904
12905 1998-09-01 Michael Meissner <meissner@cygnus.com>
12906
12907 * Makefile.am (tooldir): Add in host_alias, so that multilib
12908 libraries are installed in the directory the compiler looks in.
12909 * Makefile.in: Regenerate.
12910
12911 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
12912
12913 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
12914
12915 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
12916 ahead of test for number of bytes being moved.
12917
12918 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
12919
12920 * libc/include/sys/unistd.h: Nothing special needed for
12921 _exit under cygwin.
12922
12923 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
12924
12925 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
12926 conform to user label naming conventions.
12927
12928 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
12929
12930 * libc/sys/cygwin32/sys/utime.h: variable names in
12931 protos should start with two leading underscores
12932 * libc/include/string.h: ditto
12933 * libc/include/sys/signal.h: ditto
12934 * libc/include/sys/stat.h: ditto
12935 * libc/include/sys/time.h: ditto
12936 * libc/include/sys/unistd.h: ditto
12937 * libc/include/ctype.h: ditto
12938 * libc/include/stdlib.h: ditto
12939 * libc/include/sys/reent.h: struct _atexit function ptr takes a
12940 void, same with _sig_func.
12941
12942 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
12943
12944 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
12945 for MB_CAPABLE to reduce code size when newlib is not configured
12946 with --enable-newlib-mb.
12947 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
12948 mbtowc_r.o to minimize size.
12949 * libc/stdlib/Makefile.in: Rebuild.
12950
12951 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
12952
12953 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
12954 to -DREENT.
12955 * libc/sys/sparc64/Makefile.in: Rebuild.
12956
12957 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
12958
12959 * Makefile.am (MAKEOVERRIDES): Define.
12960 * Makefile.in: Rebuild.
12961
12962 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
12963
12964 * libc/sys/sparc64/sys/stat.h (stat): Add const.
12965
12966 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
12967
12968 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
12969 newlib_cflags when looking for targ-include.
12970 * */aclocal.m4, */configure: Rebuild.
12971
12972 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
12973
12974 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
12975 to "_end".
12976
12977 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
12978
12979 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
12980 on SPARCs with little-endian data.
12981 * libc/include/machine/ieeefp.h: Ditto.
12982
12983 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
12984
12985 * acinclude.m4: Handle a relative srcdir correctly when setting
12986 newlib_cflags.
12987 * */aclocal.m4, */configure: Rebuild.
12988
12989 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
12990
12991 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
12992 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
12993 * libm/math/wrf_gamma.c (gammaf_r): ditto
12994 * libm/math/wr_lgamma.c (lgamma_r): ditto
12995 * libm/math/wr_gamma.c (gamma_r): ditto
12996 * libm/math/wf_sqrt.c (sqrtf): ditto
12997 * libm/math/wf_sinh.c (sinhf): ditto
12998 * libm/math/wf_scalb.c (scalbf): ditto
12999 * libm/math/wf_remainder.c (remainderf): ditto
13000 * libm/math/wf_pow.c (powf): ditto
13001 * libm/math/wf_log10.c (log10f): ditto
13002 * libm/math/wf_log.c (logf): ditto
13003 * libm/math/wf_lgamma.c (lgammaf): ditto
13004 * libm/math/wf_jn.c (jnf, ynf): ditto
13005 * libm/math/wf_j1.c (j1f, y1f): ditto
13006 * libm/math/wf_j0.c (j0f, y0f): ditto
13007 * libm/math/wf_hypot.c (hypotf): ditto
13008 * libm/math/wf_gamma.c (gammaf): ditto
13009 * libm/math/wf_fmod.c (fmodf): ditto
13010 * libm/math/wf_exp.c (expf): ditto
13011 * libm/math/wf_cosh.c (coshf): ditto
13012 * libm/math/wf_atanh.c (atanhf): ditto
13013 * libm/math/wf_atan2f.c (atan2f): ditto
13014 * libm/math/wf_asin.c (asinf): ditto
13015 * libm/math/wf_acosh.c (acoshf): ditto
13016 * libm/math/wf_acos.c (acosf): ditto
13017 * libm/math/w_sqrt.c (sqrt): ditto
13018 * libm/math/w_sinh.c (sinh): ditto
13019 * libm/math/w_scalb.c (scalb): ditto
13020 * libm/math/w_remainder.c (remainder): ditto
13021 * libm/math/w_pow.c (pow): ditto
13022 * libm/math/w_log10.c (log10): ditto
13023 * libm/math/w_log.c (log): ditto
13024 * libm/math/w_lgamma.c (lgamma): ditto
13025 * libm/math/w_jn.c (jn, yn): ditto
13026 * libm/math/w_j1.c (j1, y1): ditto
13027 * libm/math/w_j0.c (j0, y0): ditto
13028 * libm/math/w_hypot.c (hypot): ditto
13029 * libm/math/w_gamma.c (gamma): ditto
13030 * libm/math/w_fmod.c (fmod): ditto
13031 * libm/math/w_exp.c (exp): ditto
13032 * libm/math/w_cosh.c (cosh): ditto
13033 * libm/math/w_atanh.c (atanh): ditto
13034 * libm/math/w_atan2f.c (atan2): ditto
13035 * libm/math/w_asin.c (asin): ditto
13036 * libm/math/w_acosh.c (acosh): ditto
13037 * libm/math/w_acos.c (acos): ditto
13038
13039 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13040
13041 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13042 (fsrc): Add wf_cabs.c and wf_drem.c.
13043 * libm/math/Makefile.in: Rebuild.
13044
13045 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13046 unused directory variables. Remove duplicate CFLAGS.
13047 * Makefile.in: Rebuild.
13048
13049 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13050 with $(CC_FOR_BUILD).
13051 (makedoc.o): Likewise.
13052 * doc/Makefile.in: Rebuild.
13053
13054 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13055 force a definition of COMPILE.
13056 (libfoo_a_SOURCES): Define.
13057 * libc/sys/cygwin32/Makefile.in: Rebuild.
13058 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13059 force a definition of COMPILE.
13060 (libfoo_a_SOURCES): Define.
13061 * libc/sys/tic80/Makefile.in: Rebuild.
13062
13063 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13064
13065 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13066 flag.
13067
13068 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13069
13070 * Build using autoconf and automake. Added many Makefile.am and
13071 configure.in files, plus generated files. Old configure.in files
13072 and all old Makefile.in files completely replaced. Removed
13073 host/any. Added acinclude.m4 and configure.host.
13074
13075 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13076
13077 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13078 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13079
13080 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13081
13082 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13083 * libc/machine/sh/Makefile.in: Add rules for new files.
13084
13085 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13086
13087 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13088 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13089 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13090
13091 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
13092
13093 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
13094 code is ignored.
13095
13096 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
13097
13098 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
13099 internal static buffer when s is NULL, as prescribed by ANSI.
13100
13101 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
13102
13103 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
13104 removed.
13105 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
13106 libc/stdlib will be used for h8300hms.
13107
13108 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13109
13110 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
13111 version that can be built either for speed or size.
13112 * libc/machine/mn10300/memset.S (_memset): ditto
13113 * libc/machine/mn10300/memchr.S (_memchr): ditto
13114 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
13115 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
13116 * libc/machine/mn10300/strchr.S (_strchr): ditto
13117 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
13118 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
13119 * libc/machine/mn10300/Makefile.in: Added entries for
13120 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
13121 strcmp.o, strcpy.o, and strlen.o.
13122
13123 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
13124
13125 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
13126 been replaced with libgloss/mn10200.
13127
13128 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
13129
13130 * libc/string/strchr.c (strchr): Make s a constant pointer to
13131 avoid warning.
13132
13133 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
13134
13135 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
13136 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
13137 board SWIs instead of Demon board SWIs).
13138
13139 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
13140
13141 * libc/string/strncat.c (strncat): Make -Os act the same as
13142 PREFER_SIZE_OVER_SPEED being defined.
13143
13144 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
13145
13146 * libc/string/memchr.c (memchr): Make -Os act the same as
13147 PREFER_SIZE_OVER_SPEED being defined.
13148 * libc/string/memcmp.c (memcmp): Ditto.
13149 * libc/string/memcpy.c (memcpy): Ditto.
13150 * libc/string/memset.c (memset): Ditto.
13151 * libc/string/strcat.c (strcat): Ditto.
13152 * libc/string/strchr.c (strchr): Ditto.
13153 * libc/string/strcmp.c (strcmp): Ditto.
13154 * libc/string/strcpy.c (strcpy): Ditto.
13155 * libc/string/strlen.c (strlen): Ditto.
13156 * libc/string/strncat.c (strncat): Ditto.
13157 * libc/string/strncmp.c (strncmp): Ditto.
13158 * libc/string/strncpy.c (strncpy): Ditto.
13159
13160 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
13161
13162 * libc/include/sys/itimer.h: remove
13163 * libc/include/sys/time.h: itimer stuff should be here
13164
13165 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
13166
13167 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
13168 bit instead of comparing to 0 so -0.0 can be printed correctly.
13169
13170 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13171
13172 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
13173
13174 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
13175
13176 * libc/include/sys/unistd.h: fix sync() proto
13177 * libc/include/sys/fcntl.h: remove _close which is already
13178 defined in unistd.h.
13179 * libc/include/sys/time.h: add getitimer proto
13180
13181 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
13182
13183 * libc/string/strchr.c: convert arg to unsigned char
13184 * libc/include/stdlib.h: add protos for random, srandom
13185 * libc/include/sys/stat.h: add lstat proto
13186 * libc/include/sys/time.h: add setitimer proto
13187 * libc/include/sys/unistd.h: add readlink, symlink protos
13188 * libc/include/process.h: instead of including windows.h and using
13189 HANDLEs in sexec protos, just use void *s. Need to include
13190 sys/types.h.
13191
13192 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
13193
13194 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
13195
13196 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
13197
13198 * libc/include/process.h: add secure exec protos
13199
13200 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
13201
13202 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
13203 which are accessed as both doubles and integers.
13204 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
13205 * libc/stdlib/strtod.c (_strtod_r): Likewise.
13206 * libc/stdlib/mprec.h: Add "union double_union" and change
13207 word0/word1 macros to use it.
13208
13209 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
13210
13211 * libc/include/sys/signal.h: add __cplusplus wrapper
13212
13213 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
13214
13215 * libc/include/sys/utime.h: new generic file that gets replaced by
13216 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
13217 function.
13218 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
13219 * libc/include/time.h: remove duplicate utime proto
13220 * libc/include/utime.h: add comment
13221
13222 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
13223
13224 * libc/include/sys/time.h: Add missing include to
13225 allow use of _EXFUN. Remove times function that is
13226 already defined in times.h.
13227
13228 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
13229
13230 * libc/include/time.h: Fix typo in tzset.
13231
13232 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
13233
13234 * libc/include/sys/time.h: add missing Cygwin32 function protos
13235 * libc/include/sys/unistd.h: ditto
13236 * libc/include/time.h: ditto
13237
13238 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
13239
13240 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
13241 FIXME.
13242 * libc/include/sys/types.h: add a new __MS_types__ section
13243 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
13244 __BIT_TYPES_DEFINED__.
13245
13246 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
13247
13248 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
13249 since it overrides the one in libc/include/sys. Also, start
13250 including types.h.
13251
13252 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
13253
13254 * libm/math/Makefile.in: add s_signgam.o to obj list
13255
13256 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
13257
13258 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
13259
13260 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
13261
13262 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
13263 so don't use defines.
13264
13265 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
13266
13267 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
13268
13269 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
13270
13271 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
13272 _current_locale as default locale.
13273
13274 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
13275
13276 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
13277 insufficient space in a chunk.
13278
13279 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
13280
13281 * configure.in (links): Added check for --enable-newlib-mb configure
13282 option which defines the MB_CAPABLE macro.
13283 * libc/locale/locale.c (_setlocale_r): Added support for setting
13284 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
13285 defined.
13286 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
13287 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
13288 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
13289 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
13290 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
13291 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
13292 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
13293 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
13294 * libc/stdlib/Makefile.in: Added new multibyte
13295 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
13296 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
13297 _mbstowcs_r(), and _wcstombs_r().
13298 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
13299 for JIS, SJIS, and EUC-JP characters.
13300 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
13301 MB_CAPABLE defined.
13302 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
13303 MB_CAPABLE defined.
13304 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
13305 MB_CAPABLE defined.
13306 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
13307 if MB_CAPABLE defined.
13308 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
13309 if MB_CAPABLE defined.
13310 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
13311 to the format string processing when MB_CAPABLE.
13312 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
13313 call _mbtowc_r().
13314
13315 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
13316
13317 The following modifications are courtesy of Anthony Thompson,
13318 athompson@cambridge.arm.com:
13319 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
13320 boith RDI and RDP monitors.
13321 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
13322 RDI and RDP monitors.
13323
13324 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
13325
13326 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
13327 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
13328 (_swiopen): Fixed open flags to treat write with append as just append.
13329 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
13330 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
13331
13332 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13333
13334 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
13335 When needing to transfer an initial 2-byte-word, store as
13336 two single bytes.
13337
13338 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13339
13340 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
13341 __SH3E__ .
13342 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
13343 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
13344
13345 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
13346
13347 * configure.in (target_cflags): If --enable-target-optspace, use
13348 -Os to compile newlib rather than -O2. Default to using -Os for
13349 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
13350 used.
13351
13352 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
13353
13354 * libc/include/machine/setjmp.h: change sigsetjmp and
13355 siglongjmp definitions to use an array instead of a struct
13356 for __CYGWIN32__
13357
13358 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
13359
13360 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
13361
13362 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
13363
13364 * libc/string/strxfrm.c: fix to get correct return value
13365
13366 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
13367
13368 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
13369 builds. Make mode change labels global so that they will be seen
13370 by the debugger.
13371
13372 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
13373
13374 * configure.in (links): Do not use ARM debiugging protocols for PE
13375 builds.
13376
13377 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
13378 message.
13379
13380 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13381
13382 * libc/stdio/findfp.c (__sinit): Made stdout default to
13383 line buffered mode as defined by ANSI.
13384
13385 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
13386
13387 * libc/include/sys/itimer.h: New file.
13388
13389 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
13390
13391 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13392
13393 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
13394 failure.
13395
13396 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13397
13398 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13399 insns.
13400
13401 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13402
13403 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13404
13405 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13406
13407 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13408 support.
13409
13410 * libc/include/machine/setjmp.h: Add D30V support.
13411
13412 * configure.in (d30v-*): Add d30v machine directory.
13413
13414 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13415
13416 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13417 been replaced with libgloss/mn10300.
13418
13419 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13420
13421 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13422 it is no longer needed.
13423
13424 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13425
13426 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
13427
13428 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13429
13430 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
13431 the file when O_APPEND is set, wherever the EOF happens to be at
13432 that time.
13433
13434 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
13435
13436 patch from cgf@bbc.com (Christopher Faylor):
13437 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13438 convention of closing fp prior to attempting to open the file
13439 argument. This allows correct operation when reopening
13440 stdin/stdout/stderr. Replaces last freopen.c patch.
13441
13442 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13443
13444 patch from cgf@bbc.com (Christopher Faylor):
13445 * libc/stdio/freopen.c: freopen was not preserving the fd
13446 of the stream being operated on. This confuses programs that
13447 expect that the handles for stdout and stderr will be 1 and 2.
13448
13449 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13450
13451 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13452
13453 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13454
13455 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13456
13457 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13458
13459 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13460 altered to not use a branch. Also added hint that last
13461 bclr in longjmp will likely result in branch.
13462
13463
13464 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13465
13466 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
13467
13468 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13469
13470 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13471 v850 builds.
13472
13473 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
13474
13475 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13476
13477 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13478 that loads FR14 to specify offset of 8 rather than 4
13479 so it loads from offset 96 (where setjmp stored it).
13480
13481 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13482
13483 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13484 latest version supplied by customer.
13485 * libc/machine/sh/memset.S (_memset): Ditto.
13486
13487 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13488
13489 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
13490 PR14730).
13491
13492 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13493
13494 * libc/include/string.h: remove redefinition of ffs
13495
13496 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13497
13498 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
13499 defined
13500
13501 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13502
13503 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
13504 TI Libraries to link to libc.a
13505
13506 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13507
13508 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13509 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13510 * libc/include/sys/wait.h (_wait): Ditto.
13511 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13512 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13513
13514 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13515
13516 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13517 minded stabs so function name shows up when running the simulator
13518 with -t.
13519 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13520
13521 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13522
13523 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
13524 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13525 Use R5 where we used to use R3.
13526
13527 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13528
13529 * libc/stdlib/getopt.c (getopt): replaced __progname
13530 with nargv[0] to improve portability to imbedded systems.
13531
13532 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13533
13534 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13535 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13536 stdout file.
13537
13538 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13539
13540 * libc/stdio/tmpnam.c (worker): Generate a different file name
13541 each time.
13542
13543 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13544 fails, try an execlp for sh.
13545
13546 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13547 option for the winsup include directory.
13548
13549 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13550
13551 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13552 debugging interface from Tony.Thompson@arm.com.
13553
13554 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13555 * libc/sys/arm/swi.h: ditto.
13556
13557 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13558
13559 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13560 DIR struct used for readdir hashes.
13561
13562 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13563
13564 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13565
13566 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13567
13568 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13569 integer targets.
13570
13571 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13572
13573 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13574 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13575 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13576 (__malloc_copy): Declare.
13577
13578 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13579
13580 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13581 <sys/config.h>.
13582 (POINTER_UINT): Define.
13583 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13584 (MALLOC_ALIGNMENT): Don't define if already defined.
13585 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13586 long.
13587
13588 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13589
13590 * libc/string/memset.c (memset): Fiddle with code so that the long
13591 value being stored is not a stack value. Unroll storing longs 4
13592 times.
13593
13594 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13595
13596 * Reduce code size for libm modules.
13597 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13598 and simply move code into sqrt.
13599 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13600 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13601 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13602 * libm/math/wr_gamma.c (gamma_r): Likewise.
13603 * libm/math/wf_sinh.c (sinfh): Likewise.
13604 * libm/math/w_sinh.c (sinh): Likewise.
13605 * libm/math/wf_scalb.c (scalbf): Likewise.
13606 * libm/math/w_scalb.c (scalb): Likewise.
13607 * libm/math/wf_remainder.c (remainderf): Likewise.
13608 * libm/math/w_remainder.c (remainder): Likewise.
13609 * libm/math/wf_pow.c (powf): Likewise.
13610 * libm/math/w_pow.c (pow): Likewise.
13611 * libm/math/wf_log10.c (log10f): Likewise.
13612 * libm/math/w_log10.c (log10): Likewise.
13613 * libm/math/wf_log.c (logf): Likewise.
13614 * libm/math/w_log.c (log): Likewise.
13615 * libm/math/w_lgamma.c (lgamma): Likewise.
13616 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13617 * libm/math/wf_jn.c (jnf): Likewise.
13618 * libm/math/w_jn.c (jn): Likewise.
13619 * libm/math/wf_j1.c (j1f): Likewise.
13620 * libm/math/w_j1.c (j1): Likewise.
13621 * libm/math/wf_j0.c (j0f): Likewise.
13622 * libm/math/w_j0.c (j0): Likewise.
13623 * libm/math/wf_hypot.c (hypotf): Likewise.
13624 * libm/math/w_hypot.c (hypot): Likewise.
13625 * libm/math/wf_gamma.c (gammaf): Likewise.
13626 * libm/math/w_gamma.c (gamma): Likewise.
13627 * libm/math/wf_fmod.c (fmodf): Likewise.
13628 * libm/math/w_fmod.c (fmod): Likewise.
13629 * libm/math/wf_exp.c (expf): Likewise.
13630 * libm/math/w_exp.c (exp): Likewise.
13631 * libm/math/wf_cosh.c (coshf): Likewise.
13632 * libm/math/w_cosh.c (cosh): Likewise.
13633 * libm/math/wf_atanh.c (atanhf): Likewise.
13634 * libm/math/w_atanh.c (atanh): Likewise.
13635 * libm/math/wf_atan2.c (atan2f): Likewise.
13636 * libm/math/w_atan2.c (atan2): Likewise.
13637 * libm/math/wf_asin.c (asinf): Likewise.
13638 * libm/math/w_asin.c (asin): Likewise.
13639 * libm/math/wf_acosh.c (acoshf): Likewise.
13640 * libm/math/w_acosh.c (acosh): Likewise.
13641 * libm/math/wf_acos.c (asocf): Likewise.
13642 * libm/math/w_acos.c (acos): Likewise.
13643 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13644 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13645 for embedded systems.
13646
13647 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13648
13649 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13650 Lea in case of a foreign sbrk.
13651
13652 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13653
13654 Incorporate Doug Lea's malloc:
13655 * libc/stdlib/mallocr.c: Completely replaced.
13656 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13657 (realloc): Remove.
13658 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
13659 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
13660 mallopt.
13661 (mallinfo, malloc_stats, mallopt): New functions.
13662 (_mstats_r): Just call _malloc_stats_r.
13663 * libc/stdlib/malign.c: New file.
13664 * libc/stdlib/mlock.c: New file.
13665 * libc/stdlib/msize.c: New file.
13666 * libc/stdlib/mtrim.c: New file.
13667 * libc/stdlib/realloc.c: New file.
13668 * libc/stdlib/valloc.c: New file.
13669 * libc/stdlib/malloc.h: Remove.
13670 * libc/stdlib/callocr.c: Remove.
13671 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
13672 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
13673 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
13674 reallocr.o, valloc.o, vallocr.o.
13675 (CHEWOUT_FILES): Add mlock.def, mstats.def.
13676 (MALLOC_CFLAGS): New variable.
13677 (mallocr.o): New target, build from mallocr.c.
13678 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
13679 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
13680 (msizer.o, malloptr.o): Likewise.
13681 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
13682 (valloc.o): New target.
13683 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
13684 * libc/include/malloc.h: Declare struct mallinfo, and new
13685 routines.
13686 * libc/include/stdlib.h (cfree): Correct declaration.
13687
13688 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
13689
13690 * libc/include/machine/setjmp.h: Add support for Thumb target.
13691
13692 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13693
13694 * configure.in (links): Add support for Thumb target.
13695
13696 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13697
13698 * libc/sys/arm/setjmp.S: Updated with version from branch.
13699
13700 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13701
13702 * libc/include/stdio.h: add POSIX-required define L_ctermid
13703 for ctermid
13704
13705 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13706
13707 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13708 addition to MISSING_SYSCALL_NAMES.
13709
13710 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13711
13712 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
13713
13714 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
13715
13716 * libc/include/string.h: change strsignal proto to return
13717 a char *. This eliminates compile problems in gdb resulting
13718 from gdb's definition of strsignal in defs.h.
13719
13720 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
13721
13722 * libc/sys/cygwin32/sys/utime.h: new (moved here from
13723 winsup/include) so as not to conflict with the one in
13724 libc/include.
13725 * libc/include/string.h: add protos for strsignal, strtosigno
13726
13727 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
13728
13729 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
13730
13731 * configure.in (d30v-*-*): Add configuration.
13732
13733 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
13734
13735 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
13736 to select which kind of debug monitor is in use for an ARM target.
13737
13738 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
13739 Angel and Demon debug monitors. Part of this code was supplied by
13740 Tony Thompson at ARM: athompso@arm.com.
13741
13742 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
13743
13744 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
13745 semantics when the count is greater than the length of the second
13746 source string.
13747
13748 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
13749
13750 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
13751 * libc/include/sys/unistd.h: add protos for usleep, truncate,
13752 truncate and ftruncate take off_t, not size_t
13753
13754 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
13755
13756 * libc/string/strcat.c (strcat): Add missing comment end.
13757 * libc/string/strncat.c (strncat): Likewise.
13758
13759 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
13760
13761 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
13762 targets.
13763 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
13764 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
13765 defined.
13766 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13767 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13768 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13769
13770 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
13771
13772 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
13773 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
13774
13775 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
13776
13777 * libc/machine/i386/setjmp.S: New file.
13778 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
13779 (OFILES): Add setjmp.o.
13780 (setjmp.o): Add rule for.
13781 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
13782
13783 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
13784 Jeffrey A Law (law@cygnus.com)
13785
13786 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
13787 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13788 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13789 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13790
13791 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
13792
13793 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
13794 rules.
13795
13796 * libc/include/sys/config.h: Use __v850 to select v850
13797 endianness.
13798
13799 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
13800 buffer size.
13801
13802 * libc/include/machine/ieeefp.h: Use __v850 to select v850
13803 endianness.
13804
13805 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
13806
13807 * libc/stdlib/setenv.c: change unsetenv definition to match
13808 style of setenv (with _DEFUN). The string should be a const.
13809 * libc/include/stdlib.h: unsetenv proto should return void.
13810
13811 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
13812
13813 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
13814
13815 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
13816
13817 * libc/stdio/glue.h: remove.
13818 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
13819 * libc/stdio/Makefile.in: remove glue.h dependencies
13820
13821 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
13822
13823 * libc/sys/sysnecv850/crt0.S: Created V850e version.
13824
13825 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
13826
13827 * configure.in (target_cpu): Add `arc'.
13828
13829 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
13830
13831 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
13832 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
13833 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
13834 * newlib/libc/reent/reent.c: Add _wrapup_reent.
13835 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
13836
13837 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
13838
13839 * libc/machine/mips/setjmp.S: Handle mips16 builds.
13840
13841 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
13842
13843 * libc/include/stdio.h (siprintf): Declare.
13844
13845 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
13846
13847 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
13848 TARGET_CFLAGS and NEWLIB_FLAGS.
13849
13850 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13851
13852 * configure.in (links): Add support for v850ea target.
13853
13854 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13855
13856 * configure.in (links): Add support for v850e target.
13857
13858 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
13859
13860 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
13861
13862 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
13863
13864 * configure.in (arc-*-*): Add support for.
13865 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
13866
13867 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13868
13869 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
13870
13871 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
13872
13873 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
13874 comparison which accesses invalid memory when the key is
13875 larger than the last member of the array.
13876 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
13877 for CYGWIN32
13878 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
13879
13880 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
13881
13882 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
13883 not _STRICT_ANSI.
13884
13885 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
13886
13887 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
13888 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
13889
13890 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
13891
13892 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
13893 to load/store memory.
13894
13895 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
13896
13897 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
13898 underscores if _WIN32.
13899
13900 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
13901
13902 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
13903 support ifdef _USE_WRITE missed in last change.
13904 From Anders Blomdell <anders.blomdell@control.lth.se>.
13905
13906 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
13907
13908 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
13909 (_tmpnam_r, _tempnam_r): Update.
13910
13911 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
13912
13913 * libc/machine/sparc/setjmp.S: New file.
13914 * libc/machine/sparc/Makefile.in: Add setjmp.
13915 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
13916
13917 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
13918
13919 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
13920
13921 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
13922
13923 From Joel Sherrill <joel@oarcorp.com>.
13924 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
13925
13926 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
13927 * configure.in: Recognize *-*-rtems*.
13928 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
13929 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
13930 time.h,times.h,types.h}: New files.
13931 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
13932
13933 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
13934
13935 patch from sos@prospect.com.ru (Sergey Okhapkin):
13936 * include/sys/wait.h: correct operator precidence bug
13937 in WIFSIGNALED
13938
13939 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
13940
13941 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
13942 with newlib's unsetenv function
13943 * libc/sys/cygwin32/sys: new directory for includes
13944 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
13945 here from winsup/include/sys
13946
13947 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
13948
13949 * libc/include/sys/unistd.h: _exit should only be
13950 labelled noreturn when not __CYGWIN32__
13951 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
13952 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
13953 increment NSIG
13954
13955 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
13956
13957 * libc/include/sys/time.h: Only define timeval and timezone if
13958 _GNU_H_WINDOWS32_SOCKETS is not defined.
13959 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
13960
13961 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
13962
13963 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
13964 * libc/machine/mn10300/setjmp.S: Likewise.
13965
13966 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
13967 the mn10300 (more relaxing opportunities).
13968
13969 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
13970
13971 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
13972 Build libraries with -mstrict-align.
13973
13974 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
13975
13976 * libc/string/strlwr.c: New file.
13977 * libc/string/strupr.c: New file.
13978 * libc/include/string.h: Declare strlwr and strupr.
13979 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
13980 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
13981 (strlwr.o, strupr.o): New targets.
13982 * libc/string/strings.tex: Include strlwr and strupr docs.
13983
13984 * libc/include/sys/types.h: Don't define u_char, et. al., if
13985 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
13986 et. al. Make FD_SETSIZE default 64 rather than 60. Define
13987 _types_fd_set rather than fd_set, and define fd_set as a macro.
13988
13989 * libc/include/malloc.h: New file.
13990
13991 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
13992 strnicmp if they are not already defined.
13993
13994 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
13995 _timezone, _daylight, and _tzname.
13996
13997 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
13998
13999 * configure.in: Sort all configuration tables.
14000
14001 From Joel Sherrill <joel@oarcorp.com>
14002 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
14003
14004 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
14005
14006 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
14007 use int when declaring kill.
14008
14009 * libc/include/sys/timeb.h: New file.
14010
14011 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14012
14013 * libc/include/sys/time.h: add itimer support for Cygwin32
14014
14015 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14016
14017 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14018 out a message that abort was called to stderr.
14019
14020 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14021
14022 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14023 so that libio doesn't freak.
14024
14025 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14026 int.
14027
14028 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14029 memory sizes, not int.
14030
14031 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14032
14033 * libm/math/ef_hypot.c: Use long constants where
14034 appropriate.
14035 * libm/math/ef_sqrt.c: Ditto.
14036
14037 * libc/sys/sysmec/times.c(_times): Change to times.
14038
14039 * libc/sys/sysmec/read.c(_read): The third argument is
14040 size_t.
14041 * libc/sys/sysmec/write.c (_write): Ditto.
14042
14043 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14044 (_lseek): It's off_t for the second argument.
14045
14046 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14047
14048 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14049 as well as machine/ieeefp.h.
14050
14051 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14052
14053 * libc/include/sys/signal.h: add signal protos for winsup
14054 functions (when __CYGWIN32__), include types.h
14055 * libc/include/sys/types.h: Change __go32_types__ internal
14056 define to __MS_types__ since it's used for more than just
14057 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14058 defined.
14059 * libc/include/sys/unistd.h: add ftruncate proto for
14060 winsup functions (when __CYGWIN32__)
14061
14062 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14063
14064 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14065
14066 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14067
14068 * libc/include/machine/setjmp.h: Add tic80 support.
14069 * libc/machine/tic80/setjmp.S: Likewise.
14070
14071 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14072
14073 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14074 link programs from libraries only (such as in the X11
14075 distribution)
14076
14077 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14078
14079 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14080 supplied elsewhere in newlib.
14081
14082 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14083
14084 * Makefile.in (INSTALL): Change install.sh to install-sh.
14085
14086 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14087
14088 * README: update WWW address for on-line documentation.
14089
14090 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14091
14092 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
14093 increment NSIG
14094
14095 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
14096
14097 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
14098 mn10300.
14099 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
14100
14101 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
14102
14103 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
14104 * libc/sys/d10v/syscalls.c: Likewise.
14105 * libc/sys/h8300hms/sbrk.c: Likewise.
14106 * libc/sys/h8500hms/syscalls.c: Likewise.
14107 * libc/sys/m88kbug/syscalls.c: Likewise.
14108 * libc/sys/sh/syscalls.c: Likewise.
14109 * libc/sys/sysmec/sbrk.c: Likewise.
14110 * libc/sys/sysnecv850/sbrk.c: Likewise.
14111 * libc/sys/w65/syscalls.c: Likewise.
14112 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
14113
14114 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
14115
14116 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
14117 emulated syscall instead of "trap".
14118
14119 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
14120
14121 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
14122 not trap 0.
14123
14124 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
14125
14126 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
14127
14128 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
14129
14130 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
14131 not "sh".
14132 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
14133 not "d10v".
14134 * libc/sys/tic80/crt0.c: New file for TIc80.
14135 * libc/sys/tic80/Makefile.in: New file for TIc80.
14136 * libc/machine/tic80/Makefile.in: New file for TIc80.
14137
14138 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
14139
14140 * libc/machine/sh/memcpy.S: New file.
14141 * libc/machine/sh/memset.S: New file.
14142 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
14143
14144 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
14145
14146 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
14147 for TIc80.
14148
14149 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
14150
14151 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
14152 the mn10200.
14153
14154 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
14155
14156 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
14157 (patch from andrew@pogo.WV.TEK.COM).
14158
14159 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
14160
14161 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
14162 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
14163
14164 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
14165
14166 * configure.in: Add cases for "tic80" to set machine_dir,
14167 sys_dir, and syscall_dir.
14168
14169 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
14170
14171 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
14172
14173 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
14174
14175 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
14176
14177 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
14178
14179 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
14180 Use proper constant prefix.
14181
14182 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
14183
14184 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
14185 that loses on the mn10200 where ints and pointers are different
14186 sizes.
14187
14188 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
14189
14190 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
14191 target as signal is provided in winsup.
14192
14193 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
14194
14195 * libc/include/sys/process.h: Corrected const definitions
14196 in spawn functions. Added cwait.
14197
14198 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
14199
14200 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
14201 doubles.
14202 * libc/include/sys/config.h: Similarly.
14203
14204 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14205
14206 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
14207 target_cflags.
14208 (i[3456]86-*-sco*): Ditto.
14209
14210 * libc/signal/Makefile.in (OFILES): Add signal.o.
14211 (CFILES): Add signal.c.
14212
14213 * libc/signal/raise.c (_raise_r): Only compile code if
14214 SIGNAL_PROVIDED is defined.
14215
14216 * libc/signal/signal.c: Redo whole file so that it works with
14217 current newlib. Use _kill_r if no signal handler provided.
14218
14219 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
14220 signal stubs.
14221 * libc/sys/sysvnecv70/Makefile.in: Ditto.
14222 * libc/sys/sysnecv850/Makefile.in: Ditto.
14223
14224 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
14225 * libc/sys/sysmec/{raise,signal}.c: Ditto.
14226 * libc/sys/sysvnecv70/signal.s: Ditto.
14227 * libc/sys/sysnecv850/raise.c: Ditto.
14228
14229 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
14230 simulator and debugger can tell the difference between a signal
14231 being raised and an exit system call.
14232
14233 * NEWS: Document software signals being provided.
14234
14235 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14236
14237 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
14238 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
14239 include/sys/config.h.
14240 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
14241 Change from 'inpure_data'.
14242 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
14243 &impure_data, not &inpure_data.
14244
14245 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
14246 and and System V ABI, define so that _impure_ptr lives in the
14247 .sdata section.
14248
14249 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14250
14251 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
14252 nothing if not defined.
14253 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
14254 its attributes.
14255
14256 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
14257
14258 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
14259
14260 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
14261 * libc/sys/sysmec/trap.s: Handle mn10200 too.
14262 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
14263
14264 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
14265
14266 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
14267
14268 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
14269
14270 * libc/include/sys/errno.h: Added net errno's.
14271
14272 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14273
14274 * libc/misc/ffs.c: New file to support ffs function for GCC test
14275 gcc.c-torture/execute/960909-1.c.
14276
14277 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
14278
14279 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
14280
14281 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
14282 * libc/sys/sysmec/trap.S: Likewise.
14283
14284 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
14285
14286 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
14287 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
14288
14289 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
14290
14291 * libc/sys/sysmec/signal.c: Dummy file.
14292 * libc/sys/sysmec/Makefile.in: Build it.
14293
14294 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
14295
14296 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
14297 mips16.
14298
14299 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
14300
14301 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
14302 c-startup and simulator traps.
14303
14304
14305 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
14306 * libc/sys/sysmec/trap0.S: Likewise.
14307
14308 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14309
14310 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
14311 round to double word alignment.
14312 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
14313 byte alignment.
14314
14315 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
14316
14317 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
14318 out of memory.
14319
14320 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
14321
14322 * configure.in: Handle mn10200 and mn10300.
14323 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
14324 * libc/include/sys/config.h: Likewise.
14325 * libc/sys/sysmec: New directory for mec stuff.
14326 * libc/machine/mn10300: New directory for mn10300 stuff.
14327 * libc/machine/mn10200: Similarly for mn10200 stuff.
14328
14329 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
14330
14331 * libc/sys/arm/crt0.S: Use .text, not .section .text.
14332 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
14333
14334 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
14335 (nlink_t): Change type from unsigned int to unsigned short.
14336 (mode_t): Ensure size is 32 bits even if int is 16.
14337 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
14338 (st_spare[123]): Change type from int to long.
14339
14340 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14341
14342 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
14343 byte boundary.
14344
14345 * configure.in (d10v*): Define SMALL_MEMORY.
14346
14347 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14348
14349 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
14350 -mrelocatable-lib and -mno-eabi flags.
14351
14352 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
14353
14354 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
14355 Fix handling of mis-aligned source operand when both the
14356 destination & length are properly aligned.
14357
14358 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
14359
14360 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
14361 times.o, time.o and gettime.o
14362 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
14363 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
14364 SYS_gettimeofday.
14365
14366 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
14367
14368 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
14369 * libc/sys/sysnecv850/access.c: New file.
14370
14371 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
14372
14373 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
14374
14375 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
14376 long.
14377
14378 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
14379
14380 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
14381
14382 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
14383
14384 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
14385 * libc/include/sys/config.h: Add m32r support.
14386
14387 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
14388
14389 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
14390 here.
14391
14392 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
14393
14394 * libc/include/machine/setjmp.h: Add D10v support.
14395
14396 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14397
14398 * configure.in: Configure the "libc/syscalls" directory for
14399 the v850.
14400
14401 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14402 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14403 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14404 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14405 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14406
14407 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14408
14409 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14410 stack for args for main and other routines. Zero out args for
14411 main.
14412
14413 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14414 correctly.
14415
14416 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14417
14418 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14419 function.
14420
14421 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14422
14423 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14424 real system calls now.
14425
14426 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14427 before casting them to int.
14428 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14429
14430 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14431 aligning pointer.
14432 * libc/string/memset.c (memset): Ditto.
14433
14434 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14435 first convert ints to _POINTER_INT to eliminate GCC warning.
14436
14437 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14438 processing %p.
14439
14440 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14441 from 65000 if ints are only 16 bits.
14442
14443 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14444 from 50000 if ints are only 16 bits.
14445
14446 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14447 int type that is the same size as a pointer.
14448
14449 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14450 processing %p.
14451 (get_number): Explicitly cast number to long before shifting by 16
14452 or 24, in case ints are short.
14453
14454 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14455
14456 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14457
14458 * libc/string.h: Added ffs, removed swab.
14459 * libc/sys/errno.h: Added EOPNOTSUPP.
14460 * libc/sys/unistd.h: Added swab.
14461
14462 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14463
14464 * libc/include/sys/stat.h: Added fchmod.
14465 * libc/include/sys/unistd.h: Added fsync.
14466
14467 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14468
14469 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14470 and ECONNRESET (104) for cygwin32.
14471
14472 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14473
14474 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14475 do the static destructors.
14476
14477 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14478
14479 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14480
14481 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14482
14483 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14484 * configure.in: Recognize m32r-*-*.
14485
14486 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14487
14488 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
14489 __rt_stkovf_split_small): Added default software stack overflow
14490 handlers, which just call SWI_Exit.
14491 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
14492 limit initialisation.
14493
14494 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14495
14496 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14497
14498 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14499
14500 * libc/include/sys/types.h: Added ssize_t definition.
14501
14502 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14503
14504 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14505 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14506
14507 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14508 branch around a single ldi instruction.
14509
14510 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14511 Call exit, instead of just issuing a stop instruction.
14512
14513 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14514
14515 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14516
14517 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14518
14519 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14520 longs, and then cast them to __uint32_t.
14521
14522 * libc/include/sys/config.h: Protect against multiple inclusions.
14523
14524 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14525
14526 * configure.in (d10v*): Set syscall_dir.
14527
14528 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14529
14530 * libc/sys/d10v/crt0.S: Set stack pointer.
14531
14532 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14533
14534 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14535 in assembly for efficiency. Change calling convention to allow
14536 long ints to be returned.
14537
14538 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14539
14540 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14541
14542 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14543
14544 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14545 Handle empty entries in $PATH.
14546
14547 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14548
14549 * libc/machine/d10v/setjmp.S: Make it really work.
14550
14551 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14552
14553 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14554 the .stack section.
14555
14556 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14557
14558 * sys/sysnecv850/sys/file.h: Remove.
14559 * sys/sysnecv850/sys/syscall.h: New file.
14560 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14561 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14562 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14563 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14564 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14565 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14566 * sys/sysnec850/trap.S: New file.
14567 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14568 syscalls.
14569 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14570 * sys/sysnec850/sbrk.c: New version.
14571
14572 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14573
14574 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14575 as long as r6 is less than r7.
14576
14577 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14578
14579 * Makefile.in (mostlyclean): Separate from clean target. Don't
14580 remove *.a or targ-include.
14581 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14582
14583 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14584
14585 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14586 d10v.
14587 (__SMALL_BITFIELDS): Ditto.
14588
14589 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14590
14591 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14592
14593 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14594 prefix.
14595
14596 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14597 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14598 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14599 * libc/sys/sysnecv850/write.c (write): Likewise.
14600
14601 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14602 .bss.
14603
14604 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14605
14606 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14607 appropriately for D10V, depending on -mint16/-mint32.
14608
14609 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14610
14611 * configure.in: Add cases for D10V.
14612
14613 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14614
14615 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14616
14617 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14618
14619 * libc/include/machine/ieeefp.h: Fix typo.
14620
14621 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14622
14623 * libc/sys/d10v: New directory for D10V stuff.
14624 * libc/include/machine/ieeefp.h: Add D10V defines.
14625
14626 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14627
14628 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14629 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14630 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14631 * libc/string/strerror.c (strerror): Add them.
14632
14633 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14634
14635 * libc/sys/sysnecv850: New directory for v850 stuff.
14636
14637 * libc/machine/v850: New directory for v850 stuff.
14638 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14639
14640 * configure.in: Add support for the v850.
14641
14642 * libc/include/machine/ieeefp.h: Add v850 defines.
14643 * libc/include/machine/setjmp.h: Likewise.
14644 * libc/include/sys/config.h: Add v850 defines.
14645
14646 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14647
14648 * libc/include/machine/ieeefp.h
14649 * libc/include/machine/setjmp.h
14650 * libc/include/sys/fcntl.h
14651 * libc/include/sys/signal.h
14652 * libc/include/sys/types.h
14653 * libc/stdlib/system.c:
14654 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14655 API availability, __CYGWIN32__ for cygwin32 environment specific).
14656
14657 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14658
14659 * libc/include/stdlib.h: add multibyte character functions. Add
14660 __eprintf for assert.
14661
14662 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14663
14664 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
14665 arithmetic or __alignof__ to properly get the alignment, instead
14666 of hardwiring it to 4.
14667
14668 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
14669
14670 * libc/stdio/fseek.c: add fflush call to adjust seek offset
14671 on append stream (fix from NetBSD sources), adjust curoff offset
14672 for ungetc's benefit.
14673 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
14674 * libc/stdio/rewind.c: replace code with up to date NetBSD
14675 code to undo hacks made to work around above problem of not
14676 having fflush call mentioned above
14677
14678 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14679
14680 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
14681 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
14682 Partially revert last changes. The thread specific errno is set
14683 iff if the underlying syscall fails and the global errno is not
14684 zero.
14685
14686 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14687
14688 * libc/reent/filer.c: Removed files, all functions have split out
14689 into their own files.
14690 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
14691 New files containing functions formally in filer.c
14692 * libc/reent/Makefile.in: Updated for above change.
14693
14694 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
14695 syscall fails, not if errno is changed.
14696 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
14697 _write_r): Likewise.
14698 * libc/reent/fstatr.c (_fstat_r): Likewise.
14699 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14700 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14701 * libc/reent/signalr.c (_kill_r): Likewise.
14702 * libc/reent/statr.c (_stat_r): Likewise.
14703 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14704
14705 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
14706 signalr.c, statr.c, timer.c} (errno): declare extern rather
14707 than as a common.
14708
14709 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
14710 instead of calling vfprintf so that i*printf will not require
14711 floating point support code.
14712
14713 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
14714
14715 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
14716 path delimiter.
14717 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
14718 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
14719
14720 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
14721
14722 * libc/include/signal.h: _sig_func_ptr function takes an int
14723 * libc/include/sys/signal.h: sa_handler function takes an int
14724
14725 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
14726
14727 * libc/include/machine/ieeefp.h: Simplify H8/S support.
14728 * libc/include/sys/config.h: Add missing H8/S conditional.
14729
14730 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
14731
14732 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
14733
14734 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
14735
14736 * libc/include/machine/setjmp.h: Handle H8/S.
14737 * libc/include/machine/ieeefp.h: Likewise.
14738 * libc/include/sys/config.h: Likewise.
14739 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
14740 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
14741 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
14742 * libc/sys/h8300hms/crt0.S: Likewise.
14743
14744 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
14745
14746 * Makefile.in (datadir): Set to $(prefix)/share.
14747 (oldincludedir, docdir): Removed.
14748 * doc/Makefile.in (datadir): Set to $(prefix)/share.
14749 (oldincludedir, docdir): Removed.
14750 * libc/Makefile.in (datadir): Set to $(prefix)/share.
14751 (oldincludedir, docdir): Removed.
14752 * libm/Makefile.in (datadir): Set to $(prefix)/share.
14753 (oldincludedir, docdir): Removed.
14754
14755 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
14756
14757 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
14758 _reent struct.
14759
14760 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
14761
14762 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
14763 fetch current path rules with sysconf and handler posix/win32
14764 appropriately.
14765
14766 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
14767
14768 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
14769 (WAIT_CHILD): Always define.
14770
14771 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
14772
14773 * libc/stdlib/eprintf.c: New file.
14774 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
14775 (eprintf.o): New target.
14776
14777 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
14778
14779 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
14780 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
14781
14782 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
14783
14784 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
14785 NT in PowerPC endianess cases.
14786
14787 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14788
14789 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
14790
14791 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14792
14793 * libc/string/strtok.c: Fix doc typo.
14794
14795 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14796
14797 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
14798 _next, _scanpoint, _signgam fields.
14799
14800 * libc/include/stdlib.h (rand_r): Added new declaration.
14801 (_rand_r, _srand_r): Removed declarations.
14802 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
14803 have been made obsolete by rand_r.
14804 * libc/stdlib/rand_r.c: New file, rand_r function as specified
14805 by POSIX.1c.
14806
14807 * libc/string/strtok.c: Update documentation to describe
14808 strtok_r().
14809
14810 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
14811
14812 * libc/include/sys/stat.h (stat structure): Use the expanded stat
14813 structure on Solaris, and PowerPC systems even though __svr4__ is
14814 defined.
14815
14816 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
14817
14818 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
14819
14820 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
14821
14822 * host/any: Use ../.. rather than .. to get to the main build
14823 directory. This matches the current layout of the build
14824 directory.
14825
14826 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
14827
14828 * libc/machine/h8300/__main.S: Delete. No longer needed.
14829 * libc/machine/h8300/Makefile.in: Corresponding changes.
14830 * libc/sys/h8300hms/crt1.c: New file.
14831 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
14832 * libc/sys/h8300hms/crt0.s: Call __main.
14833
14834 * libc/sys/h8300hms/crt0.S: Use temporary label names
14835 for branch targets.
14836
14837 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
14838
14839 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
14840
14841 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14842
14843 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
14844 .sdata on the PowerPC so that we can link newlib with code
14845 compiled with -msdata.
14846
14847 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
14848
14849 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
14850
14851 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
14852
14853 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
14854 exception handler to __cygwin_exception_handler.
14855
14856 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
14857
14858 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
14859
14860 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
14861
14862 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
14863 SunOS VPATH.
14864 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
14865 wcstombs.o): Likewise.
14866
14867 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
14868
14869 * libc/stdlib/environ.c (initial_env): New static local.
14870 (environ): Point to `initial_env'.
14871
14872 * libc/include/machine/setjmp.h: Clean up.
14873 (__H8300H__,__PPC__): Define _JBTYPE.
14874 (__arm__): Provide entry for.
14875 (sigjmp_buf): Delete.
14876 (jmp_buf): Use _JBTYPE if defined, otherwise int.
14877
14878 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
14879
14880 * libc/machine/h8300/strcmp.S: Sign extend the result to
14881 32bits so we don't lose with -mint32.
14882
14883 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
14884
14885 * libc/sys/go32/sys/errno.h: New file.
14886 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
14887 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
14888 errno's address (make compatible with rest of newlib).
14889 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
14890 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
14891
14892 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
14893
14894 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
14895 * libc/machine/sparc/Makefile.in: Build them.
14896 * libc/machine/sparc/machine/sparclet.h: New file.
14897
14898 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14899
14900 * libc/machine/sh/asm.h: New file.
14901 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
14902 support for SH3e's FP registers. Use asm.h.
14903
14904 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
14905
14906 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
14907 as first argument. Call _dtoa_r and pass the reent structure
14908 instead of calling __dtoa.
14909
14910 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
14911
14912 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
14913 the h8300, h8500, and others. Add comments for some rather
14914 dubious code.
14915
14916 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
14917
14918 * Makefile.in (check): Check that testsuite exists before cd.
14919
14920 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14921
14922 * libc/include/string.h (strsep): Correct prototype.
14923
14924 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
14925
14926 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
14927 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
14928 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
14929
14930 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
14931
14932 * libc/posix/{creat.c,isatty.c}: New files.
14933 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
14934
14935 * libc/sys/sparc64/crt0.S (environ): Delete.
14936 (.LHaveBias): Renamed from HaveBias.
14937
14938 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
14939
14940 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
14941 (_morecore_r): Delete SBRK_IS_ALLOC support.
14942
14943 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14944
14945 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
14946 module rather than touch, so we don't get warning messages when
14947 all of the libraries are combined into libc.a.
14948
14949 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
14950
14951 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
14952 crt0.s replaced by version in libgloss.
14953
14954 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14955
14956 * libc/reent/Makefile.in (OFILES): Add impure.o.
14957 * libc/reent/impure.o: New file, define initial reentrancy struct.
14958 * libc/reent/reent.c: Remove above definition.
14959
14960 * libm/math/sf_asinh.c: Fix typo.
14961
14962 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
14963 srf_ldexp.o.
14964
14965 * libm/libm.texinfo: Change documentation to reflect changes
14966 in reentrancy model.
14967 * libm/math/w_gamma.c: Likewise.
14968
14969 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
14970
14971 * configure.in (*-*-cygwin32): New.
14972 (*-*-win32): Deleted.
14973 * libc/sys/win32 renamed libc/sys/cygwin32.
14974
14975 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14976
14977 * libc/include/sys/file.h: New include file.
14978
14979 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
14980
14981 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
14982
14983 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
14984
14985 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
14986
14987 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14988
14989 * doc/makedoc.c (realloc): Declare at file scope.
14990 (catchar): Not here.
14991
14992 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
14993
14994 * Makefile.in (VERSION): Update to 1.7.0.
14995 * {libc,libm}/Makefile.in (VERSION): Likewise.
14996 * configure.in: Minor clean up of multilib stuff.
14997
14998 From David Johnson <davidj@ICSI.Berkeley.EDU>
14999 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
15000
15001 * libc/stdlib/environ.c: New file.
15002 * libc/stdlib/Makefile.in (OFILES): Build it.
15003 * libc/sys/h8500hms/crt0.c (environ): Deleted.
15004 * libc/sys/m88kbug/crt0.c (environ): Deleted.
15005 * libc/sys/z8ksim/crt0.c (environ): Deleted.
15006 * libc/sys/netware/environ.c: Deleted.
15007
15008 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15009
15010 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15011
15012 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15013
15014 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15015 declaration out to external scope and declare it PTR, not char *.
15016
15017 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15018
15019 * libc/include/sys/unistd.h (getpagesize): New declaration.
15020 (_SC_PAGESIZE): New definition.
15021 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15022 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15023
15024 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15025
15026 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
15027 addressing. System call returns size, not (last address + 1).
15028
15029 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15030
15031 * libm/math/*.c: Removed _foo_r() reentrancy API.
15032 * libc/include/math.h: Removed _foo_r prototypes and macros.
15033
15034 * libm/math/*.c: On systems with IEEE single precision "doubles"
15035 move foo() -> foof() wrapper code from the files that implement
15036 the standard IEEE double precision functions to the files that
15037 implement IEEE single precision functions. (ie. On those systems
15038 sin is moved from s_sin.c to sf_sin.c). There should eventually
15039 be use of a C extension (like gcc's alias attribute) so that the
15040 wrappers are not needed at all.
15041
15042 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
15043 strict NEC V810 compiler.
15044 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
15045 for same reason.
15046
15047 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15048
15049 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
15050 from NetBSD C library.
15051 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15052
15053 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
15054 and adapted from implementation I wrote for NetBSD C library.
15055 The difference is __assert doesn't take a format argument,
15056 so that there won't be multiple copies of the same string
15057 constant in the executable if assertions are enabled in
15058 more than one source module.
15059 * libc/include/assert.h (assert): Changed to call __assert.
15060
15061 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15062
15063 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15064 word1 on systems with 32 bit doubles.
15065 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15066 so that we can do arithmetic on them.
15067 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
15068 compilers.
15069
15070 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15071
15072 * libc/sys/arm/crt0.S: Zero bss.
15073
15074 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15075
15076 * libc/include/unctrl.h: New file.
15077 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15078 * configure.in (subdirs): Add libc/misc.
15079 * libc/Makefile.in (SUBDIRS): Add misc.
15080 (SUBLIBS): Add misc/lib.a.
15081
15082 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15083
15084 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15085
15086 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15087 (_vfprintf_r): Call CHECK_INIT.
15088
15089 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15090
15091 * Makefile.in (MULTITOP): Delete.
15092 (MULTISRCTOP, MULTIBUILDTOP): Add.
15093 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
15094 instead of cfg-ml-pos.in.
15095
15096 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15097
15098 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
15099 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
15100 presence.
15101
15102 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15103
15104 * libc/string/strtok.c: Include string.h to pick up strtok_r
15105 prototype.
15106
15107 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15108
15109 * libc/string/strtok.c: include <_ansi.h>.
15110 * libc/time/asctime_r.c: `reresult' -> `result'.
15111
15112 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15113
15114 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
15115 in #ifndef _REENT_ONLY ... #endif conditional.
15116
15117 * libc/include/string.h (_strtok_r): Remove declaration.
15118 * libc/include/time.h (_asctime_r): Remove declaration.
15119 * libc/string/strtok.c (_strtok_r): Removed.
15120 * libc/time/asctime.c (_asctime_r): Removed.
15121
15122 * libc/string/Makefile.in (OFILES): Add new object.
15123 * libc/string/strtok_r.c: New file. strtok_r function as
15124 specified by POSIX.1c, adapted from strtok implementation
15125 from NetBSD C library.
15126 * libc/string/strtok.c (strtok): Reimplemented in terms of
15127 strtok_r.
15128
15129 * libc/time/Makefile.in (OFILES): Add new objects.
15130 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
15131 New files, reentrant time functions specified by POSIX.1c.
15132 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
15133 reentrant time functions re-written in terms of reentrant
15134 functions.
15135 * libc/time/lcltime.c: Renamed from localtime.c
15136
15137 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
15138 gmtime_r, and localtime_r.
15139
15140 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
15141
15142 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
15143 * libc/include/sys/unistd.h (getlogin): Revert change of
15144 Oct 19.
15145 * libc/include/sys/signal.h (sigprocmask): Change prototype
15146 so it compiles with c++.
15147
15148 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
15149
15150 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
15151 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
15152 to give some room in case we need to align the jmp_buf.
15153
15154 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
15155 the new ppc-asm.h include file the compiler provides to specify
15156 function prologue/epilogue. Eliminate saves of the xer and ctr
15157 registers, which are volatile. Before starting to save registers,
15158 align to 8 byte boundary.
15159
15160 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15161
15162 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
15163 referenced by standard libraries.
15164
15165 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
15166
15167 * libc/unix/Makefile.in, libc/string/Makefile.in,
15168 libc/stdio/Makefile.in, libc/reent/Makefile.in,
15169 libc/posix/Makefile.in:
15170 Remove tabs from otherwise empty line. Confuses some
15171 older non-GNU versions of "make".
15172
15173 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
15174
15175 * libc/sys/unistd.h (getlogin): Returns const char *.
15176
15177 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
15178
15179 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
15180 * libc/include/errno.h: Moved into and include...
15181 * libc/include/sys/errno.h: New file.
15182 * libc/include/sys/wait.h: New file.
15183 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
15184 * libc/sys/win32/*: Moved out.
15185 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
15186 * configure.in (i[345]86-*-win32): HAVE_RENAME
15187
15188 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
15189
15190 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
15191 avoid macro expansion for these two names.
15192
15193 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
15194
15195 * libc/machine/h8500/psi.S: r6 renamed to fp.
15196
15197 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15198
15199 * configure.in (powerpc*): No longer need to define
15200 NO_LONGLONG_POINTERS to supress warnings.
15201
15202 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15203
15204 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
15205 through PTR instead of directly.
15206
15207 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
15208 non-standard constructor support.
15209
15210 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15211
15212 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
15213 address of the Bigint instead of the address of its _x field,
15214 as the size the result buffer was calculated accordingly.
15215 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
15216
15217 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
15218 from NetBSD C library. No longer special cases division by
15219 zero (which needs to be done by the application anyway), but
15220 it doesn't need to call abs() (or labs()) four times either.
15221
15222 * libc/stdlib/qsort.c: Replaced with implementation from
15223 NetBSD C library.
15224
15225 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15226
15227 * libc/stdio/vfprintf.c: Replaced with implementation from
15228 NetBSD C library (which is derived from the 4.4BSD C library).
15229 * libc/stdio/cvt.c: Removed.
15230 * libc/stdio/Makefile: Updated.
15231
15232 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
15233
15234 * libc/sys/win32/syscalls.c (rename): New.
15235 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
15236
15237 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15238
15239 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
15240 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
15241
15242 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
15243 (setjmp.o): Delete rule to build setjmp.o.
15244 * libc/sys/sh/setjmp.S: Delete file.
15245
15246 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15247
15248 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
15249 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
15250 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
15251 pow5mult and s2b to identifiers with leading underscores.
15252 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
15253 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
15254
15255 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
15256
15257 * libc/sys/posix/popen.c (sys/types.h): Include.
15258
15259 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
15260
15261 * libc/sys/win32/syscalls.h (fhandler): New struct.
15262 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
15263 (__fhandler_normal): Declare.
15264 (hinfo): New member op_handlers.
15265 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
15266 (__write): Likewise.
15267 (_read, _write, _open, _close, _lseek): Validate fd here.
15268 Move file type specific stuff to foo_normal.
15269 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
15270 New functions.
15271 (__lookup_fhandler): New function.
15272 (__lookup_fhandler_hook, __fhandler_normal): New variables.
15273
15274 From anders.blomdell@control.lth.se (Anders Blomdell)
15275 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
15276 Don't touch standard handles.
15277 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
15278 (_execve): Only create __FD_TABLE__ if necessary.
15279 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
15280
15281 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
15282
15283 * libc/sys/win32/sys/termios.h (FLUSHO): New.
15284 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
15285 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
15286 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
15287 without a handler is received.
15288 * libc/sys/win32/Makefile.in: Remove --nodelete.
15289 * libc/sys/win32/resouce.c (gettimeofday): New.
15290 * libc/sys/win32/syscalls.c (path_to_real_path): New.
15291 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
15292
15293 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
15294
15295 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
15296 Don't append "/*" to search pattern if trailing '/' already there,
15297 append "*".
15298 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
15299 like /'s, convert them to \'s. Handle //<drive>/ path names.
15300 Add space for quoted \'s in arg string. Print translated prog name
15301 and original prog name.
15302 (_execve): Handle parent doing exec a teensy bit better.
15303 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
15304 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
15305 path needs conversion, handle both cases. Delete `const' from result.
15306 (hash_path_name): New function.
15307 (_open): Call it.
15308 (_stat): Likewise. Fill in more fields for directories.
15309 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
15310 (wait_for_any): Fix trace message.
15311 (waitpid): Explicitly test for intpid == 0.
15312
15313 From anders.blomdell@control.lth.se (Anders Blomdell)
15314 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
15315 so `next' is valid.
15316
15317 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
15318
15319 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
15320 complicated.
15321
15322 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15323
15324 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
15325 at all, not just == 1.
15326 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
15327
15328 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15329
15330 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
15331 * libc/sys/win32/include/wintypes.h: include <winnt.h>
15332 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
15333 file.
15334
15335 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15336
15337 * libc/sys/syscalls.c (getcwd): Fix off by one error.
15338
15339 * libc/sys/signal.c (sleep): Fill it in.
15340 * libc/sys/termios.c (tcflush): Use PurgeComm
15341 (tcsetattr): Set some more of the bits.
15342 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
15343
15344 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
15345
15346 * libc/sys/arm/crt0.S (fp): Initialize to 0.
15347 Conditionally include .idata$3 stuff ifdef __pe__.
15348
15349 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15350
15351 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
15352 * libc/sys/win32/pipe.c (pipe): Ditto.
15353 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
15354 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
15355 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
15356 (tcgetattr): Contents are new.
15357 * libc/sys/win32/include/winkernel.h (DCB): New.
15358 (GetCommState, SetCommState): New.
15359
15360 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
15361
15362 * libc/sys/arm/crt0.S (_start): Define.
15363
15364 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
15365
15366 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
15367 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
15368
15369 * libc/sys/win32/sysconf.c: New
15370 * libc/sys/win32/sys/winadvapi.h: New
15371 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
15372 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
15373 * libc/sys/win32/pipe.c (pipe): Ditto.
15374 * libc/sys/win32/signal.c (_raise): New.
15375 (_kill): Moved from spawn.c
15376 * libc/sys/win32/spawn.c (kill): Moved to signal.c
15377 * libc/sys/win32/syscalls.c (__read): Use new fields.
15378 (_open): Ditto.
15379 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
15380 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
15381 * libc/include/sys/unistd.h (rmdir): Takes const path.
15382 * libc/include/sys/stat.h (mkdir): Takes const path.
15383 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
15384
15385 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
15386
15387 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
15388
15389 Add support for specifying paths as //<drive>/foo/bar.
15390 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
15391 (__path_to_real_path): Declare.
15392 (PATH_TO_REAL_PATH): New macro.
15393 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
15394 (__path_needs_conversion_p, __path_to_real_path): New functions.
15395 (_open): Fix test for error return from CreateFileA.
15396 Handle new path syntax.
15397 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15398 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15399
15400 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15401
15402 * libc/sys/win32/include/*.h: Reorganized
15403 * libc/sys/win32/include/WINREADME: New.
15404 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15405 * libc/sys/win32/*.c: Fix for new include scheme.
15406 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15407 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15408 * libc/sys/win32/passwd.c (*): Fix.
15409 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15410 (_stat): Get directory owner and permissions right.
15411 * libc/sys/win32/syscalls.h (uinfo): New.
15412 * libc/sys/win32/version.def: Remove leading underscores.
15413
15414 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15415
15416 * libc/sys/win32/key.c: include "include/wincon.h".
15417
15418 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15419
15420 * libc/sys/win32/{key, stubs}.c: New.
15421 * libc/sys/win32/Makefile: Adjust to cope.
15422 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15423 (environ_init): Change env names to upper case.
15424 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15425 * libc/sys/win32/passwd.c (*): Fill in the functions.
15426 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15427 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15428 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15429 (_open): Initialze hmap->execable_p too.
15430 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15431 (_fstat): Fill in permissions.
15432 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15433
15434 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15435
15436 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15437 if defined.
15438 (cfg-ml-pos.in invocation): Likewise.
15439
15440 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15441
15442 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15443 s_isnan.o and sf_isnan.o.
15444
15445 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15446
15447 * All Makefile.in files: added maintainer-clean target as a
15448 synonym for realclean.
15449
15450 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15451
15452 * libc/include/machine/setjmp.h: Add hppa support.
15453 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15454 support.
15455 * libc/machine/hppa/Makefile.in: Related changes.
15456
15457 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15458
15459 * configure.in (machine_dir): Don't set for v810-*-*.
15460
15461 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15462
15463 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15464 conventions correctly.
15465
15466 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15467
15468 * libc/stdio/puts.c: Update documentation of return value to match
15469 ANSI standard.
15470
15471 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15472
15473 Fix file descriptor inheritance.
15474 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15475 (NOT_OPEN_FD): Fix.
15476 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15477 close-on-exec flag not set. Initialize child's entire fd table.
15478 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15479 CHILD_P.
15480 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15481 if CHILD_P. Initialize entire hmap entry.
15482 (dup): Only create new handle as inheritable if CHILD_P.
15483 (dup2): Likewise. Properly initialize hmap entry.
15484
15485 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15486 _spawn.
15487 (_exit): Use CHILD_P.
15488 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15489 (_stat): Likewise.
15490
15491 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15492
15493 * libc/sys/win32/crt0.c (passover): fix up the state table.
15494 * libc/posix/popen.c: Added.
15495 * libc/posix/Makefile.in: compile popen.c.
15496
15497 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15498
15499 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15500 h8/500 define _DOUBLE_IS_32BITS.
15501
15502 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15503
15504 Get vfork/exec/spawn/cwait/wait working again.
15505 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15506 (procinfo): New member vfork_level.
15507 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15508 (vfork_init_first): Use GetCurrentProcessId to get pid.
15509 Initialize vfork_level.
15510 (vfork_init): Delete __PID__.
15511 (environ_init): New function. Undo patch of Aug 19, Posix says
15512 environment variables are case sensitive.
15513 (mainCRTStartup): Call it.
15514 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15515 (my_longjump: Make static.
15516 (_spawn): New argument `h'. Delete setting of __PID__.
15517 Delete local `idx'. Look for chars that need quotes, rather than
15518 ones that don't. Set handle of created process in `h'.
15519 Result is process id if created task.
15520 (allocate_spawn_entry): New function.
15521 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15522 (_execve): Set __FD_TABLE__ before spawning child.
15523 Scan our fd table when passing fds, not our parent's.
15524 Store handle and pid in procinfo entry.
15525 (vfork0): Ensure strace message always printed.
15526 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15527 (vfork): Don't clobber result of vfork0.
15528 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15529 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15530
15531 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15532 and `exit_code'.
15533 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15534 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
15535 adding vfork level to pseudo-pid.
15536 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15537 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15538 (_exit): If child, set exit code.
15539 (__vfork_record_death): Only close process handle if valid.
15540 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15541 didn't exec.
15542 (wait_for_any): Likewise. Start scan after root entry.
15543
15544 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15545
15546 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15547 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15548 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15549 of actual file length.
15550
15551 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15552 * libc/include/paths.h: _PATH_BSHELL added.
15553 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15554 and STDERR_FILENO.
15555
15556 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15557
15558 * libc/include/ar.h: Added.
15559 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15560 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15561 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15562 on filename.
15563 (_fstat): use .namehash for inode number of the fd.
15564
15565 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15566
15567 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15568 Change hinfo to __this_procinfo.
15569 * libc/sys/win32/crt0.c: Remove procinfo_list.
15570
15571 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15572
15573 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15574 win32 environment.
15575
15576 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15577
15578 * libc/sys/win32/include/grp.h: Removed.
15579 * libc/sys/include/grp.h: Added.
15580 * libc/sys/win32/grp.c: Include <grp.h>.
15581
15582 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15583
15584 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15585 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15586 Defined for all but strict ANSI.
15587 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15588 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15589 * libc/signal/signal.c (_signal_r): Changed from using
15590 _MAX_SIGNALS to NSIG.
15591 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15592 __hmap): Deleted.
15593 (__strace, __vfork_next_pid): New.
15594 (__exe_suffix): Default to 1.
15595 (passover, table): Understand quoted arguments.
15596 (vfork_init_first): New.
15597 (vfork_init): Initialize new process structure.
15598 (mainCRTStartup): Pass environ to main.
15599 * exceptions.c (__sig_mask): New
15600 (ehandler3): Ignore signals in mask.
15601 (really_exit): Remove CHILD_P test.
15602 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15603 * resource.c (getrusage): Ditto.
15604 * signal.c (sigprocmask): New.
15605 * spawn.c (*): Rewritten.
15606 * syscalls.c (*): Use new process and file structure.
15607 (find_unused_handle): New.
15608 * syscalls.h (MAX_HANDLES): Deleted.
15609 (hinfo): Removed child_created_p.
15610 (MAX_CHILDREN): Deleted.
15611 (vfork_jmp_info, procinfo): New.
15612 * wait.c (*): Mostly new.
15613 * sys/strace.h (_STRACE_PARANOID): New.
15614 * sys/param.h: New file.
15615
15616 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15617
15618 * libc/include/sys/stat.h: add S_BLKSIZE.
15619 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15620 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15621 types under win32.
15622 (mode_t): add a #else to avoid multiple definitons.
15623
15624 * libc/sys/win32/Makefile.in: add grp.c.
15625 * libc/sys/win32/grp.c: include grp.h correctly.
15626 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15627 of the st structure with real information.
15628 * libc/sys/win32 (dirent): d_ino is of type ino_t.
15629
15630 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15631
15632 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15633 and (maybe) sparc64.
15634 (nlink_t): Provide typedef.
15635
15636 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15637
15638 * libc/sys/win32/grp.c: New file.
15639 * libc/sys/win32/include/grp.h: New file.
15640
15641 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15642
15643 * libc/include/machine/ieeefp.h: Added whitespace to make this
15644 file easier to maintain.
15645 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15646 depending on the value of __LITTLE_ENDIAN__.
15647 On the sh3e, define _DOUBLE_IS_32BITS.
15648
15649 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15650
15651 * libc/sys/vr4300/syscalls.c: Added missing support
15652 routines. _raise() and getpid().
15653
15654 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15655
15656 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15657
15658 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
15659
15660 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
15661 and VR4300 processor.
15662 * libc/sys/vr4300: Add directory.
15663 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
15664 monitor run-time support.
15665
15666 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15667
15668 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
15669 * libc/stdlib/stdlib.tex: Don't include atol.def.
15670
15671 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15672
15673 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
15674
15675 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
15676
15677 * libc/ctype/Makefile.in: Fill in _to* dependencies.
15678
15679 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
15680
15681 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
15682 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
15683 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
15684 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
15685 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
15686
15687 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15688
15689 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
15690
15691 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15692
15693 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15694 * libc/stdlib/atoff.c: New file.
15695 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15696 * libc/stdlib/atoi.c (atol): Removed.
15697 * libc/stdlib/atol.c: Removed duplicate documentation.
15698
15699 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15700 #ifndef _STRICT_ANSI conditional.
15701 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15702 * libc/ctype/_tolower.c: New file.
15703 * libc/ctype/_toupper.c: New file.
15704 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15705 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15706 * libc/ctype/toascii.c (_toascii): Removed.
15707
15708 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15709
15710 * libc/sys/sparc64/sys/types.h: Deleted.
15711
15712 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15713
15714 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
15715 and recognize Windows_95 systems.
15716
15717 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15718
15719 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
15720 and passed fds should be opened in text mode.
15721
15722 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15723
15724 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
15725 in __hmap, set to binary mode by default.
15726
15727 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15728
15729 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
15730 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
15731 vector 34.
15732
15733 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
15734
15735 * Makefile.in (install): Install all libraries found in the
15736 top level. If there's a sys/<type>/include directory,
15737 install those headers into include.
15738
15739 * libc/sys/win32/kernel.def351: Delete
15740 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
15741 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
15742 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
15743 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
15744 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
15745 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
15746 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
15747 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
15748
15749 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
15750 * libc/sys/win32/crt0.c: Force all env names to upper case.
15751 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
15752 * libc/sys/win32/*.c: Headers have moved.
15753 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
15754 __vfork_child_idx is now __vfork_child_ptr.
15755
15756 * posix/execvp (execvp): Don't crash if no PATH envname.
15757
15758 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15759
15760 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
15761 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
15762 through the _freelist instead of through the _reclaim list.
15763 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
15764 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
15765 sources.
15766
15767 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15768
15769 * libc/machine/h8500/setjmp.S: New file.
15770 * libc/include/machine/setjmp.h: Updated for H8/500.
15771
15772 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
15773
15774 * libc/sys/win32/syscalls.c (_open): More stracing.
15775 (_stat): Open the file in O_BINARY.
15776
15777 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15778
15779 * libc/machine/h8300/setjmp.S: New file.
15780 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
15781
15782 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
15783
15784 * libc/sys/win32/crt0.c (__exe_suffix): New global.
15785 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
15786 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
15787 __exe_suffix. Free fd_tab after setting env variable.
15788 (spawnv,_execve): Update.
15789 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
15790 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
15791 (__small_vfprintf): New function.
15792 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
15793 * libc/sys/win32/wait.c (cwait): Validate argument.
15794
15795 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
15796 (process_deletion_queue): Likewise.
15797
15798 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
15799
15800 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
15801
15802 * libc/sys/win32: Copyrights and gratuitous indenting.
15803
15804 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
15805
15806 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
15807 (process_deletion_queue): Likewise.
15808 (__close_all_files): New function.
15809 (_close): Only queue file deletion if really a file.
15810 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
15811 _P_APPEND_EXE.
15812 (_exit): Call __close_all_files.
15813
15814 * libc/stdlib/system.c: #include <errno.h>.
15815 (_system_r): Fix results in -DNO_EXEC case.
15816
15817 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
15818 Reorganize structure.
15819 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
15820 if argument is valid. Save directory name in DIR. malloc space
15821 for dirent struct separately.
15822 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
15823
15824 * libc/include/errno.h (ENAMETOOLONG): Define.
15825 * libc/string/strerror.c (strerror): Reword ENFILE.
15826 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
15827
15828 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
15829
15830 * libc/sys/win32/crt0.c (__progname): New global.
15831 (mainCRTStartup): Support strace=bitmask,filename.
15832 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
15833 * libc/sys/win32/syscalls.c (_write): Print parent trace message
15834 if error.
15835 (getcwd): Handle len too small. Convert '\\' to '/'.
15836 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
15837 Add prototypes for open, creat, fcntl.
15838 (O_APPEND): Change value to conform to Microsoft's value.
15839 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
15840
15841 * libc/stdlib/getopt.c: New file.
15842 * libc/stdlib/Makefile.in: Build it.
15843
15844 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
15845
15846 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
15847 Fix scanning of $PATH.
15848 * libc/posix/exec*.c: Call _execve, not execve.
15849 * libc/posix/execve.c: New file.
15850 * libc/posix/Makefile.in (OFILES): Add execve.o.
15851
15852 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
15853 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
15854 (_STRACE): If level==0, always print. Handle new bit mask scheme.
15855 * libc/sys/win32/crt0.c: Update _STRACE calls.
15856 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
15857
15858 * libc/sys/win32/smallprint.c (rn): Fix digit list.
15859
15860 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
15861 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
15862 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
15863 Print __seterrno trace message first.
15864 (_execve): Renamed from execve.
15865 (vfork): Update __strace usage.
15866 (__vfork_child_pid): Deleted.
15867 (__vfork_children, __vfork_child_idx): New globals.
15868 (_spawnvp): New function.
15869 (spawnvp, spawnv, _execve): Call _spawnvp.
15870 (init_child): Record child in __vfork_children.
15871 (__vfork_get_entry, __vfork_record_death): New functions.
15872 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
15873 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
15874 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
15875 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
15876 (children): New typedef.
15877 (__vfork_children,__vfork_child_idx): Declare.
15878 (__vfork_get_entry,__vfork_record_death): Declare.
15879 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
15880 (waitpid): Handle pid == -1.
15881 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
15882 * configure.in (i386-win32): Add -DNO_FORK.
15883 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
15884 * libc/reent/execr.c (_fork_r): Likewise.
15885 * libc/stdlib/system.c (do_system): New function.
15886 If WIN32, try to get shell path from $SH_PATH, use vfork.
15887 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
15888 otherwise return 0.
15889
15890 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
15891
15892 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
15893 * libc/sys/win32/fcntl.h: Don't include self.
15894 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
15895 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
15896 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
15897 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
15898 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
15899 Correct prototypes.
15900 * libc/sys/win32/strace.c: New file.
15901 * libc/sys/win32/smallprint.c: New file.
15902 * libc/sys/win32/crt0.c (func): Delete.
15903 (mainCRTStartup): Fix alloca usage. Set handles explictly.
15904 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
15905 * libc/sys/win32/exceptions.c: Lint.
15906 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
15907 Clean up handle usage.
15908 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
15909 (open.c): Default file type is text.
15910 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
15911 * libc/sys/win32/advapi32.def: New
15912
15913 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
15914
15915 * configure.in (posix_dir, libc_posix_lib): New variables.
15916 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
15917 (i[345]86-*-win32): Define posix_dir.
15918 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
15919 (if unix_dir): Fix typo.
15920 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
15921 scandir,seekdir,telldir}: New files.
15922 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
15923 from libc/unix.
15924 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
15925 (SUBDIRS): Add posix.
15926 (SUBLIBS): Add $(LIBC_POSIX_LIB).
15927
15928 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
15929 (NSIG): Increase to 21.
15930 * libc/include/sys/unistd.h (pid_t): Move from here,
15931 * libc/include/sys/types.h (pid_t): to here.
15932
15933 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
15934 (__ptrace): Delete.
15935 (hinfo): New members close_exec_p, child_created_p.
15936 (struct exception_list): Define.
15937 (__hmap): Redefine as pointer to table.
15938 (__parent_hmap, __child_hmap): New globals.
15939 (__set_errno, __really_exit): Declare.
15940 (__vfork_child_pid): Declare.
15941 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
15942 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
15943 (__parent_hmap, __child_hmap): New globals.
15944 (__hmap): Redefine as pointer to active map.
15945 (__get_console): New function.
15946 (mainCRTStartup): Change leading '=' in environ vars to '!'.
15947 (env __FD_TABLE__): Watch for this and initialize our fd/handle
15948 mapping table from it if defined.
15949 (argv, envp): Dump if __strace >= 4.
15950 (main): Call here.
15951 * libc/sys/win32/exceptions.c (myp): Redefine.
15952 (__syscalls_b): Delete.
15953 (__stack_trace): New function.
15954 (ehandler3): Update to use _STRACE. Print stack trace.
15955 Call __really_exit instead of exit.
15956 (init_exceptions): Delete args argc,argv. New arg mine.
15957 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
15958 FindFirstFileA, FindNextFileA, GetComputerNameA,
15959 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
15960 * libc/sys/win32/signal.c (signal): Validate arg.
15961 (alarm, sleep): Define as stubs for now.
15962 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
15963 (__syscalls_b, errno): Delete.
15964 (__vfork_child_pid, __vfork_jmp_buf): New globals.
15965 (__seterrno): Handle more errors.
15966 (__sys_printf): Renamed from _ptrace.
15967 (__really_exit): New function.
15968 (queue_file_deletion, process_deletion_queue): New functions.
15969 (__resume_parent): New function.
15970 (_unlink): Handle trying to delete open file.
15971 (__totime_t): Renamed from totime_t.
15972 (setsid, __read, __write): New functions.
15973 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
15974 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
15975 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
15976 * libc/sys/win32/console.c: Update to new definition of __hmap.
15977 * libc/sys/win32/Makefile.in: Build new files.
15978 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
15979 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
15980 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
15981 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
15982
15983 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
15984
15985 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
15986
15987 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15988
15989 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
15990 have been made to the master dtoa.c sources (from netlib.att.com)
15991 since they were integrated into newlib in early 1992. Fixes
15992 problems with storage leaks and handling of numbers with very
15993 negative exponents.
15994
15995 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15996
15997 * Makefile.in (all): set rootpre and srcrootpre before calling
15998 sub-makes.
15999
16000 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
16001
16002 * libc/sys/win32/crt0.c: Change __hmap usage.
16003 * libc/sys/win32/exceptions.c: Use _ptrace call.
16004 * libc/sys/win32/syscalls.c: Use _ptrace call.
16005 (read, write): Cope with DOS style CRLF when in TEXT mode.
16006 * libc/sys/win32/syscalls.h: Declare hinfo struct.
16007 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
16008 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
16009 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16010 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16011
16012 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16013
16014 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16015
16016 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16017 wrappers for hypot() and remainder() for BSD libm compatibility.
16018 These are public domain implementations written by me for the
16019 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16020 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16021 (fobj): Added wf_cabs.o and wf_drem.o.
16022
16023 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16024
16025 * libc/sys/h8500hms/misc.c: New file.
16026 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16027
16028 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16029
16030 * libc/time/localtime.c (localtime): Fix problem with leap year
16031 handling. Stole algorithm from Arthur David Olson's tz code.
16032
16033 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16034
16035 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16036
16037 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16038 (_exit): Use argument.
16039
16040 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16041
16042 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16043
16044 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16045
16046 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16047
16048 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16049
16050 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16051 target_cflags.
16052
16053 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16054
16055 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16056 ptrace with case insensitivity
16057 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
16058 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
16059 New files.
16060
16061 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16062
16063 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16064 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16065 (all, install, *clean): Use new multilib support.
16066 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16067
16068 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16069
16070 * libc/include/sys/signal.h (__WIN32__): New.
16071
16072 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16073
16074 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16075 (ulp, b2d): Handle 32 bit doubles.
16076 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16077 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16078
16079 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16080
16081 from medp@primag.co.uk:
16082 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16083 dynamically allocated buffers.
16084
16085 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16086
16087 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16088 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16089
16090 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16091
16092 * configure.in (powerpc): Fix previous fix.
16093
16094 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16095
16096 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
16097 directories for this target.
16098
16099 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16100
16101 * configure.in (hppa): Add machine_dir definition.
16102 * libc/machine/hppa: New directory with PA specific implementations
16103 of the basic memory/string functions.
16104
16105 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16106
16107 * configure.in: Update current PowerPC multilib directories.
16108 Split big and little endian configurations.
16109
16110 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
16111
16112 * configure.in: Add --enable-single-float option to configure to
16113 control use of MIPS single-float directories. Default to yes.
16114
16115 * Makefile.in (all): Don't recurse into multilib directory if it
16116 does not exist.
16117
16118 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16119
16120 * libc/sys/sh/syscalls.c: Fix typo.
16121
16122 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
16123
16124 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
16125 Pass down DLLTOOL.
16126 * libc/include/process.h: Define WAIT_CHILD.
16127 * libc/include/types.h: Get sizes right for win32.
16128 * configure.in (i386-*-pe): Becomes i386-win32.
16129 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16130 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
16131 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
16132 is defined.
16133
16134 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
16135
16136 * configure.in (i[345]86-*-pe): New target (NT).
16137 * host/any: DLLTOOL new.
16138 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16139 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
16140 WIN32 (just enough to cross host the comp-tools).
16141
16142 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
16143
16144 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
16145 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
16146
16147 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
16148
16149 * libc/include/machine/ieeefp.h (arm): Change to always be
16150 __IEEE_BIG_ENDIAN (even on little endian ARM's).
16151
16152 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
16153
16154 * libc/sys/crt0.S: Initialze sp, and call exit after main.
16155 * libc/sys/syscalls.c (abort): New.
16156 * configure.in (arm): Define ABORT_PROVIDED.
16157
16158 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16159
16160 * configure.in (powerpc): Define multidirs.
16161
16162 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
16163
16164 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
16165
16166 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
16167
16168 * configure.in (sparclite): Delete target_cflags. Define multidirs.
16169
16170 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
16171
16172 * configure.in, libc/include/machine/ieeefp.h: Modified
16173 for arm:
16174 libc/machine/arm/*, libc/sys/arm/*: New
16175
16176 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16177
16178 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
16179 __powerpc__ when determining endianness.
16180
16181 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16182
16183 * configure.in (m68*): Add multidir for the m68332.
16184
16185 * host/any (CC): Fix typo in last change.
16186
16187 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
16188
16189 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
16190 when determining endianness.
16191 * libc/include/machine/ieeefp.h: Ditto.
16192 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
16193 operands.
16194
16195 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
16196
16197 * libc/include/errno.h (ENOTEMPTY): Define.
16198
16199 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16200
16201 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
16202 target_cflags.
16203
16204 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
16205 and umultiply.o.
16206
16207 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
16208 instead of only when open succeeds. ANSI requires that multiple
16209 calls to tmpnam() result in different files.
16210
16211 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
16212 objects pulled in from /lib/libc.a that must be renamed before
16213 being pulled into newlib. /lib/libc.a's div.o conflicted with
16214 newlib's file with the same name.
16215
16216 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
16217
16218 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
16219 the build tree will only be used if the executables are present
16220 (instead of just the Makefiles).
16221
16222 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
16223 wcstombs): Define.
16224 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
16225 versions of these functions that I orignally wrote for the
16226 NetBSD C library.
16227 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
16228 versions I wrote for NetBSD.
16229
16230 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
16231
16232 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
16233 * libc/sys/sparclite/crt0.s: ditto.
16234
16235 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
16236
16237 * configure.in: Add soft-float for proelf.
16238
16239 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
16240
16241 * libc/stdlib/mprec.h (Bcopy): Copy the right number
16242 of bytes.
16243
16244 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
16245
16246 * Makefile.in (all): Depend on `force'.
16247 * configure.in (syscall_dir): Renamed from fake_sys_dir.
16248 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
16249 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
16250 * libc/Makefile.in: Likewise.
16251 * libc/include/reent.h: Update syscall references.
16252 (_fcntl_r): Add prototype.
16253 * libc/syscalls/*.c #include <reent.h>.
16254 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
16255
16256 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
16257
16258 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
16259 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
16260 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
16261 (time.h, sys/types.h): Always include (even if MSDOS).
16262 (stat): Fix prototype.
16263
16264 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
16265
16266 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
16267
16268 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16269
16270 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
16271
16272 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
16273
16274 * libc/include/regdef.h: New file.
16275 * libc/machine/mips/machine/regdef.h: New file.
16276
16277 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
16278
16279 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
16280
16281 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
16282
16283 * libc/sys/sh/crt0.S: Pass main's return to exit.
16284 * libc/sys/sh/trap.S: Put errno in the right place.
16285
16286 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16287
16288 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
16289 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
16290 * libm/math/ef_rem_pio2.c: Likewise.
16291 * libm/math/e_log10.c: Remove unused static one.
16292 * libm/math/ef_log10.c: Likewise.
16293 * libm/math/s_frexp.c: Likewise.
16294 * libm/math/sf_frexp.c: Likewise.
16295
16296 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
16297
16298 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
16299 longjmp.S: Upgraded.
16300 * libc/sys/go32/sys/setjmp.h: Upgraded.
16301 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
16302
16303 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16304
16305 * configure.in: Add many entries to multidirs for mips targets.
16306
16307 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16308
16309 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
16310 5.2 which fixes bug where jn(-1,x) is three times larger than
16311 the actual answer.
16312 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
16313
16314 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
16315
16316 * libc/sys/w65/sys/syscalls.h: New file
16317 * libc/include/machine/ieeefp.h: W65 support.
16318 * libc/include/sys/config.h: Ditto.
16319 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
16320 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
16321 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
16322
16323 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16324
16325 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
16326
16327 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
16328
16329 * Makefile.in, configure.in: Remove any references to the old
16330 "stub" dir.
16331
16332 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16333
16334 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
16335 uses ... in prototype.
16336
16337
16338 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
16339
16340 * libc/sys/a29khif/sys/libconfig.h: Remove.
16341 * libc/sys/go32/sys/libconfig.h: Remove.
16342 * libc/sys/sun4/sys/libconfig.h: Remove.
16343 * libc/sys/sysvi386/sys/libconfig.h: Remove.
16344 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
16345 * libc/sys/sparc64/sys/libconfig.h: Remove.
16346
16347 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
16348 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
16349 * libc/include/math.h: Change all uses of _FLOAT_RET and
16350 _FLOAT_ARG to float.
16351 * libm/test/math.c: Likewise.
16352 * testsuite/libm.sac/math.c: Likewise.
16353 * testsuite/libm.sac/working/math.c: Likewise.
16354
16355 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16356
16357 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
16358 gcc calls gas with endian option.
16359 * configure.in (sh): Build little endian version too.
16360
16361 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16362
16363 * configure.in: Configure big and little endian versions for MIPS
16364 targets.
16365
16366 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
16367
16368 * libc/include/limits.h: Deleted.
16369 * libc/include/machine/limits.h: Deleted.
16370
16371 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
16372
16373 * ChangeLog: Remove stub directory. This has all been rewritten
16374 and moved to devo/libgloss.
16375
16376 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16377
16378 * Makefile.in (dvi): Add to info target, use $@ in sub make.
16379 (docs): Merge into info target.
16380 * libm/Makefile.in (dvi): Add $(srcdir).
16381 * libm/math/Makefile.in (chobjs): Remove underscores from file
16382 names. Texinfo doesn't like them.
16383 (wacos.def, ...): Add explicit targets for all .def files.
16384 * libm/math/math.tex: Remove underscores from @include file names.
16385 * doc/Makefile.in (dvi): Add dummy target.
16386 * testsuite/Makefile.in (dvi): Add dummy target.
16387
16388 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
16389
16390 * Makefile.in (VERSION): Define. For net newlib releases.
16391
16392 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
16393
16394 * README: New file.
16395
16396 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16397
16398 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16399
16400 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16401
16402 * libc/stdlib/setenv.c (_findenv): Declare.
16403
16404 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16405 fcntl to not use _EXFUN, and change string parameters to open and
16406 creat to be ``const char *''.
16407 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16408 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16409 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16410 (open) Make _FILE const.
16411 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16412 (_creat): Make PATH const.
16413 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16414 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16415 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16416 * libc/sys/sh/syscalls.c (_open): Likewise.
16417 * stub/shared/glue.c (open): Make BUF const.
16418 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16419
16420 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16421
16422 * libc/include/errno.h: Add ENMFILE
16423 * libc/include/sys/config.h: Support Z8000.
16424 * libc/include/sys/signal.h: New signals for go32.
16425 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16426 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16427 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16428 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16429 size is variable, depending upon CHUNK_POWER.
16430 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16431
16432 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16433
16434 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16435
16436 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16437
16438 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16439
16440 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16441
16442 * configure.in: Change i[34]86 to i[345]86.
16443
16444 * libc/include/math.h: Don't define HUGE_VAL if it is already
16445 defined.
16446
16447 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16448
16449 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16450 * testsuite/libm.sac/test_gammaf.c: Likewise.
16451 * testsuite/libm.sac/test_sin.c: Likewise.
16452 * testsuite/libm.sac/test_tanh.c: Likewise.
16453
16454 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16455
16456 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16457 already set. Define typedefs __int32_t and __uint32_t.
16458 * libc/include/math.h: Include <machine/ieeefp.h>.
16459 (union __dmath): Use __uint32_t.
16460 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16461 instead of int and unsigned int.
16462
16463 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16464
16465 Replace the math library with the SunPRO fdlibm package.
16466 * libm/math: Completely changed all files.
16467 * libm/ieeefp: Remove contents and directory.
16468 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16469 (SUBDIRS): Just set to math/lib.a.
16470 * libm/libm.texinfo: Updated for new library.
16471 * libc/include/math.h: Extensive changes for new math library.
16472 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16473 from _FLOAT_ARG to float.
16474 (maxpowtwo, maxpowtwof): Don't declare.
16475 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16476 (libm_fp_lib): Removed.
16477 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16478 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16479 argument to ${RUNTEST}.
16480 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16481 (.c.o): New rule.
16482 (RUNTESTFLAGS): Set CC and CFLAGS.
16483 (TESTS): Remove test_log2 and test_log2f.
16484 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16485 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16486 _FLOAT_ARG, for single precision argument type.
16487 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16488 expected failure. Close the input pipe.
16489 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16490 Correct misspelling of inaccurate.
16491 (test_mok): Use ``inaccurate'', not ``wrong''.
16492 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16493 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16494 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16495 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16496 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16497 test_yn.c): Correct many result values. Many are still wrong.
16498
16499 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16500 just copy the string.
16501 (_gcvt): Always return the buffer.
16502
16503 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16504
16505 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16506
16507 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16508
16509 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16510 structure.
16511 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16512 (_reclaim_reent): declare new entry point.
16513 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16514 functions.
16515
16516 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16517 ever allocated, so that we can later reclaim them all.
16518 (pow5mult): make reentrant.
16519
16520 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16521 so that when given NULL as a buffer, return a pointer to static
16522 space in the rent structure. This is not documented behaviour;
16523 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16524 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16525 therefore become reentrant).
16526
16527 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16528
16529 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16530
16531 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16532
16533 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16534
16535 * Makefile.in: Make link to libg.a after libc.a; this is needed
16536 for the testsuites to build executables when everything comes
16537 from the tree.
16538
16539 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16540
16541 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16542 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16543
16544 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16545
16546 * libc/include/stdio.h: Use __VALIST, not va_list.
16547
16548 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16549
16550 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16551 testsuite/libm.sac/execute.exp:
16552 Replace error proc calls with perror calls.
16553
16554 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16555
16556 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16557 * libc/include/time.h: #define NULL as 0L.
16558
16559 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16560
16561 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16562 care of it.
16563
16564 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16565
16566 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16567 not __unix__.
16568
16569 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16570
16571 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16572 (z8k-*-*): Use syscalls fake sys dir.
16573 * libc/sys/z8k/glue.c: Rename syscalls.
16574 * libc/sys/go32/Makefile.in: Use new routines.
16575 * libc/machine/Makefile.in: Fix typo in ln stuff.
16576
16577 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16578
16579 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16580 * libc/Makefile.in (crt0.o): Likewise.
16581 * libc/machine/Makefile.in (lib.a): Likewise.
16582 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16583
16584 All Makefile.in files: Added mostlyclean, realclean and distclean
16585 targets.
16586
16587 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16588 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16589 the top level Makefile.
16590
16591 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16592
16593 * libc/sys/sparc64/sys/stat.h: New file.
16594 * libc/sys/sparc64/sys/time.h: New file.
16595 * libc/sys/sparc64/sys/types.h: New file.
16596
16597 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16598
16599 * stub/ex93x/crt0.s (start): Add code to clear bss.
16600
16601 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16602
16603 * libc/include/sys/types.h (time_t): Properly protect inside
16604 #ifndef __time_t_defined.
16605
16606 * libc/stdio/fileno.c: New file.
16607 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16608 (fileno.o): Add dependency.
16609 * libc/include/stdio.h (__sgetc): Rename never to _never.
16610 (fileno macro): Disable, needs to do CHECK_INIT first.
16611
16612 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16613
16614 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
16615 goal.
16616
16617 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16618 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16619 runtest.
16620 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16621 runtest.
16622
16623 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16624
16625 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16626 of the various constants.
16627
16628 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16629
16630 * libc/include/math.h: #ifndef __math_68881 around things which
16631 conflict with the (gcc-provided) inline functions in
16632 gcc/ginclude/math-68881.h.
16633
16634 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16635
16636 * libc/include/_syslist.h (_gettimeofday): Define.
16637 (_times): Ditto.
16638 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16639 (struct tms, timeval, timezone): Declare.
16640 (_gettimeofday_r, _times_r): Declare.
16641 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16642 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16643 (time_t): Add multiple definition protection, __time_t_defined.
16644 * libc/include/sys/time.h: Don't #include <time.h>.
16645 Always define struct timezone (remove #ifndef _TIME_H_).
16646 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16647 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16648 * libc/reent/Makefile.in (OFILES): Add timer.o.
16649 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16650 * libc/reent/timer.c: New file.
16651 * libc/time/clock.c: #include <reent.h>.
16652 (clock): Call _times_r instead of times.
16653 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16654 HAVE_GET_TIME_OF_DAY.
16655 Add comment regarding supporting OS routine(s) required (for docs).
16656 #include <reent.h>.
16657 (time): Call _gettimeofday_r instead of gettimeofday.
16658 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
16659 * libc/time/ctime.c: Ditto.
16660 * libc/time/strftime.c: Ditto.
16661 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
16662 (TEMPLATE_SFILES_R): Define here. Also define times.
16663 Add times_r.o/times.S dependence.
16664 (time2.c, junk.c): Deleted.
16665 * libc/sys/sparc64/time2.c: Deleted.
16666 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
16667
16668 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
16669 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
16670 * libc/sys/sparc64/junk.c: Deleted.
16671
16672 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
16673
16674 * libc/sys/sparc64/Makefile.in: Add times syscall.
16675 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
16676 be used with and without it. Add comment clarifying Medium/Anywhere
16677 model requirements.
16678 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
16679 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
16680 even if obsolete.
16681
16682 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
16683
16684 * configure.in (target_cflags): Move init.
16685 (sparc64-*-*): Define HAVE_BLKSIZE.
16686
16687 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
16688
16689 * libc/include/sys/_types.h: New file.
16690 * libc/include/reent.h: #include it.
16691 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16692 MISSING_SYSCALL_NAMES.
16693 Sort syscalls.
16694 * libc/include/_syslist.h: Remove _raise.
16695 * libc/reent/signalr.c: New file.
16696 * libc/reent/Makefile.in: Compile it.
16697 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16698 Add doc for raise and _raise_r.
16699 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16700 (raise): Call _raise_r.
16701 (_raise_r): Call _getpid_r and _kill_r.
16702 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16703 (abort): Loop forever calling raise and _exit.
16704
16705 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16706
16707 * configure.in: Remove extraneous echo.
16708
16709 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16710
16711 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
16712 collision with unistd.h, and fix for svr4.
16713
16714 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
16715
16716 * libc/stdio/local.h (_llicvt): Declare.
16717 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
16718 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
16719 (_llicvt): Define.
16720 (_sicvt): Fix function header (`value' is short).
16721 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
16722 Add printing of long long's support.
16723 Add printing of 8 byte pointer support.
16724
16725 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
16726
16727 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
16728 stat, chmod): New hooks.
16729 (sbrk): Abort if stack and heap collide.
16730 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
16731 shortcut when given small args.
16732 * libc/machine/sh/setjmp.s: Rewritten.
16733 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
16734 of cmp/str instruction.
16735
16736 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16737
16738 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
16739 and machine_dir powerpc.
16740 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
16741 Add cases for __powerpc__.
16742 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
16743 New files.
16744
16745 * libc/include/stdio.h (_iprintf_r): Declare correctly.
16746
16747 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
16748
16749 * libc/stdlib/callocr.c: New file with _calloc_r in it.
16750 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
16751
16752 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
16753
16754 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
16755 (print_e): More comments to describe args, etc.
16756 "type" arg may now be 'g' or 'G' for %g/G format --> remove
16757 trailing blanks.
16758 (_gcvt): Remove locals decpt, sign, end, p, done.
16759 More comments for print_e invocation.
16760 Pass "type" to print_e as is (g/G).
16761
16762 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
16763
16764 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
16765 stock m68000.
16766
16767 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
16768
16769 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
16770 works with any sized pointer, including ones bigger than ints and
16771 longs.
16772
16773 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
16774
16775 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
16776
16777 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16778
16779 * libc/include/stdlib.h (_calloc_r): Add prototype.
16780 * libc/machine/h8500/negsi2.c: New file.
16781 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
16782 large unsigned numbers.
16783 * libc/machine/h8500/cmpsi.c: Add cmppsi.
16784 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
16785 works when sizeof(size_t) != sizeof(char *).
16786 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
16787 get play area
16788 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
16789
16790 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
16791
16792 * libc/include/assert.h (assert): Handle -traditional.
16793
16794 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
16795
16796 * Makefile.in: added ; after every "fi" and "done" that wasn't at
16797 the end of a line (ie. anything before a backslash continuation)
16798 so that bash handles them.
16799
16800 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16801
16802 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
16803 stat to lstat
16804
16805 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
16806
16807 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
16808 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
16809 libc/machine/sh/udivsi3.s: Use new calling convention.
16810
16811 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
16812
16813 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
16814 chmod, access, chdir, chown by making _path const. Also fix _amode
16815 param of access.
16816
16817 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
16818
16819 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
16820 _khif_tmpnam, because it doesn't comply with ANSI but may be
16821 useful anyway. Real tmpnam was already in libc/stdio, and was
16822 colliding with this one (pr 2176.)
16823 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
16824 the wrong idea anyhow.
16825
16826 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
16827
16828 * configure.in: Remove h8300h, we have multilib now.
16829
16830 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
16831
16832 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
16833 functions, to get preference over the ones in libiberty (since we
16834 provide correct declarations in <string.h>.
16835 * libc/string/Makefile.in: add support for strncasecmp,
16836 strcasecmp.
16837
16838 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
16839
16840 * Change netware config not to look for cpu explicitly.
16841
16842 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
16843
16844 * libc/sys/sparc64/{creat.c,junk.c}: New files.
16845 * libc/sys/sparc64/Makefile.in: Add dependencies.
16846
16847 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
16848
16849 * configure.in: Clean up v9 a bit, new "os" aoutv8.
16850
16851 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
16852
16853 * libc/include/sys/reent.h: make structure smaller by allocating
16854 some stuff when needed.
16855 * libc/signal/signal.c: allocate as needed
16856 * libc/stdio/findfp.c,stdio/local.h: ditto
16857 * libc/stdlib/mprec.c: ditto
16858
16859 * libc/time/localtime.c: don't return a dangling stack ptr.
16860
16861 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
16862
16863 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
16864
16865 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16866
16867 * libc/include/stdio.h (__sputc): comment out static inline which
16868 confuses coff toolchains.
16869
16870 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
16871
16872 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
16873 _write.s, getpid.c, kill.c, read.s}:
16874 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
16875 through the syscalls directory.
16876
16877 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
16878
16879 * configure.in: fixed double quote gotcha.
16880
16881 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
16882
16883 * stub/ex931: stub library for sparclite board.
16884 * stub/idp: Renamed from mc68ec. Added contructor table
16885 stuff to linker script.
16886 * stub/mvme135: Renamed from m68kmvme. Added contructor table
16887 stuff to linker script.
16888
16889 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16890
16891 * configure.in: Configure testsuites only if they exist.
16892
16893 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16894
16895 * configure.in: Don't set machine_dir for i386 until there is
16896 something in libc/machine/i386 to compile. For i[34]86-*-netware*
16897 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
16898 CLOCK_PROVIDED and MALLOC_PROVIDED.
16899
16900 * libc/sys/netware: New directory. Contains simplistic and
16901 probably incorrect stubs for NetWare. Should be enough to load
16902 the library.
16903 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
16904 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
16905 stub files.
16906
16907 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
16908 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
16909 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
16910 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
16911
16912 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
16913
16914 * testsuite/Makefile.in: add "docs" dummy target for consistency
16915 with rest of newlib; turn "info" and "install-info" into dummy
16916 targets, since they wouldn't have worked. (Depended on
16917 nonexistent "doc" subdir.)
16918
16919 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16920
16921 * configure.in: handle mips* instead of mips
16922
16923 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
16924
16925 * libc/include/sys/dirent.h: New file. If it is not overridden by
16926 a version of libc/sys/*/sys/dirent.h, it includes the next
16927 <dirent.h> file in case there is one lurking somewhere.
16928
16929 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16930
16931 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
16932 compliance, namely: Accept a minus sign. Consider a single 0 with
16933 a radix of 0 as being a conversion. Determine overflow correctly.
16934 If an overflow occurs, set *ptr to the end of the number, not the
16935 middle.
16936 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
16937
16938 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
16939
16940 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
16941
16942 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
16943
16944 * Makefile.in (INSTALL): Use $srcrootpre.
16945 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
16946 can't handle it.
16947 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
16948 it.
16949 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
16950 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
16951 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
16952 * libm/math/Makefile.in (matherr.o): Ditto.
16953
16954 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16955
16956 * configure.in: Build multidirs for z8k.
16957 * libc/include/stdlib.h (_strtoul_r): add prototype.
16958 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
16959 * libc/include/machine/setjmp.h: Add for z8k.
16960 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
16961 * libc/sys/z8ksim/glue.c: tidy up.
16962
16963 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
16964
16965 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
16966 New files. Requires execve system call.
16967 * libc/unix/Makefile.in: Use them.
16968 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
16969 Deleted, moved to libc/unix.
16970 * libc/sys/sparc64/Makefile.in: Remove them.
16971
16972 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
16973
16974 * libc/sys/sparc64/{template.S template_r.S}: New files.
16975 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
16976 from templates.
16977 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
16978 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
16979 umask.S unlink.S wait4.S write.S}: Removed, now built from
16980 templates.
16981
16982 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
16983
16984 * libc/time/time.c: #include <_ansi.h>.
16985
16986 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
16987
16988 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
16989
16990 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16991
16992 * configure.in: match m8* rather than m88k so that m88110 is
16993 recognized as well.
16994
16995 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
16996
16997 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
16998 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
16999 misc.c: New file.
17000
17001 * configure.in: Add multilib support to h8300.
17002
17003 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
17004
17005 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
17006 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
17007 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
17008
17009 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17010
17011 * configure.in: Corrected multidirs for sparc target.
17012
17013 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17014
17015 Support for building newlib multiple times with different
17016 compilation flags.
17017 * configure.in: Only configure doc at top level. Set multidirs
17018 when appropriate for target, unless not at top level. If
17019 multidirs is set, independently configure each subdirectory.
17020 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17021 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17022 automagically set by configure.in.
17023 (all): If MULTIDIRS is set, build multiple copies of libraries.
17024 (install): If MULTIDIRS is set, install multiple copies of
17025 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17026 MULTISUBDIR is set, don't bother to install header files.
17027 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17028 ${srcrootpre}.
17029 * stub/configure.in: Set MULTISUBDIR appropriately.
17030 * stub/Makefile.in (install): Install in
17031 $(tooldir)/lib/$(MULTISUBDIR).
17032 * All Makefile.in files: Define SRCTOP as well as TOP.
17033
17034 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17035
17036 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17037 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17038
17039 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17040
17041 * libc/sys/h8300hms/exit.c (_exit): New function.
17042
17043 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17044
17045 * configure.in: recognize m88110.
17046
17047 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17048
17049 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17050 prototype main and call with args.
17051
17052 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17053
17054 First real try at system traps for m88k-bug.
17055 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17056 to real trap calls.
17057 * libc/sys/m88kbug/sys/systraps.h: new file.
17058
17059 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17060
17061 Patches to fix info building when target does not use sys
17062 directory.
17063 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17064 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17065 libc/sys.tex.
17066 * libc/sys/Makefile.in (doc): do nothing.
17067
17068 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17069
17070 * libc/Makefile.in (CRT0): new macro.
17071 (all): depend on $(CRT0) rather than crt0.o.
17072
17073 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17074 do not default crt0, instead, set crt0 and crt0_dir based on
17075 sys_dir and stub_dir.
17076
17077 * Makefile.in (CRT0_DIR): new macro.
17078 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17079 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17080 $(CRT0).
17081 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17082
17083 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17084
17085 * testsuite/lib/libm.exp:
17086 added code to support compiling and linking of tests for
17087 libm.sac (paranoia to be added next) and processing the
17088 pass or failure of the tests.
17089
17090 * testsuite/config/unix-libm.exp:
17091 platform specific proc's for dealing with compiler, linker
17092 and the way we execute and process the test results.
17093
17094 * testsuite/libm.sac/execute.exp:
17095 generic framework for the sac tests. the config and lib
17096 expect code for specific platforms tie it all together.
17097
17098 * testsuite/libm.sac/test_is.c:
17099 changed the output of the test to be consistant with the
17100 other tests. parsing of pass nad fail messages is now fixed.
17101
17102 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
17103
17104 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
17105 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
17106 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
17107 #ifdef __cplusplus, surround by extern ""C { ... }.
17108 * libc/include/assert.h: Do *not* protect assert.h against
17109 multiple inclusion! Also, #undef it before #define, to allow
17110 redefinition.
17111 * libc/include/stdio.h (getlogin, cuserid): Removed. These
17112 should be only in unistd.h.
17113
17114 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
17115 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
17116 ... }.
17117
17118 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
17119
17120 * libc/machine/sparc/Makefile.in: Must create a library, even
17121 if empty.
17122
17123 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17124
17125 * configure.in: set machine_dir for m88k. edit crt0 definition
17126 into makefiles.
17127
17128 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
17129
17130 * libc/Makefile.in (all): also build crt0.o.
17131
17132 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
17133 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
17134 to remove CRT0.
17135
17136 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
17137 (all): reworked to build in place.
17138 (clean): remove lib.a
17139 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
17140
17141 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
17142 (_start): key off edata rather than _start_bss.
17143
17144 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
17145
17146 * libc/include/sys/unistd.h, libc/include/reent.h,
17147 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
17148
17149 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17150
17151 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
17152
17153 * Makefile.in (libc.a): break into two rules, one for libc.a and
17154 one for libc/libc.a. Force subdirs current before rebuilding
17155 library.
17156 (libm.a): break into two rules, one for libm.a and one for
17157 libm/libm.a. Force subdirs current before rebuilding library.
17158
17159 * libc/Makefile.in (SUBLIBS): fix typo.
17160
17161 * libc/sys/Makefile.in (all): force descent into subdirs, then
17162 rebuild library iff out of of date.
17163
17164 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17165
17166 Rework so that library is built and then finished rather than
17167 being built on each invocation of make.
17168
17169 * host/any (machine_dir, sys_dir, signal_dir): these are not
17170 shared and have been moved to their associated Makefile.in's.
17171 (AR_FLAGS): switch to qc which is faster.
17172 * configure.in: no longer assign machine_dir for m88k. set
17173 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
17174 stub_dir set, then add to configdirs. add comment about silly
17175 configuration.
17176 (configdirs): drop stub. It will be added only
17177 when needed.
17178 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
17179 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
17180 stub_lib, crt0): new variables for tailoring lower level
17181 makefiles. Assign accordingly and edit into makefiles.
17182 * libm/Makefile.in: updated copyright.
17183 (TARGETLIB): removed.
17184 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
17185 (SUBDIRS): removed TARGETDEP_DIRS.
17186 (LIBM_FP_LIB, SUBLIBS): new macros.
17187 (all): reworked.
17188 (force): new target to force rebuilds.
17189 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17190 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
17191 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
17192 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
17193 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
17194 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
17195 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
17196 stub/m68kmvme/Makefile.in: updated copyright.
17197 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
17198 (all): reworked. made this the default rule.
17199 (clean): also remove lib.a.
17200 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17201 * stub/Makefile.in: updated copyright.
17202 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
17203 (stub_lib): new macro.
17204 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
17205 RANLIB.
17206 (all): reworked.
17207 (clean, install): assume stub_dir exists.
17208 (Makefile): depend on configure.in. call $(SHELL) rather than
17209 sh. drop redundant ./
17210 * stub/configure.in (stublib): new macro, assign it, edit it into
17211 makefiles.
17212 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
17213 updated copyright.
17214 (all): reworked.
17215 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17216 * libc/Makefile.in (TARGETCRT0): removed.
17217 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
17218 TARGETCRT0.
17219 (SUBDIRS): drop TARGETDEP_DIRS.
17220 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
17221 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
17222 (force): new target to force rebuilds.
17223 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
17224 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
17225 removed.
17226 (clean): assume sys_dir always exists.
17227 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
17228 drop redundant ./
17229 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
17230 libc/locale/Makefile.in, libc/machine/Makefile.in,
17231 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
17232 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
17233 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
17234 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
17235 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
17236 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
17237 libc/signal/Makefile.in, libc/stdio/Makefile.in,
17238 libc/stdlib/Makefile.in, libc/string/Makefile.in,
17239 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
17240 libc/time/Makefile.in, libc/unix/Makefile.in,
17241 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
17242 (TARGETLIB): removed.
17243 (all): reworked.
17244 (clean): also remove lib.a.
17245 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17246 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
17247 new macros.
17248 (SUBDIRS): moved to follow frag inclusion, change stub to
17249 stub_dir.
17250 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
17251 are now set in the libc Makefile.
17252 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
17253 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
17254 TARGETCRT0.
17255 (force): new target to force rebuilds.
17256 * stub/configure.in: determine and set stub_lib for for Makefile.
17257
17258 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
17259
17260 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
17261 crt0.s renamed to crt0.S.
17262 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
17263
17264 * libc/machine/h8300/Makefile.in: Make `all' the default target.
17265 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
17266 h8300h.
17267 * libc/machine/h8300/defines.h: Add macros to handle pointers for
17268 h8300 (16 bits) and h8300h (32 bits).
17269 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
17270 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
17271
17272 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
17273
17274 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
17275 implementation of setjmp and longjmp for the m88k.
17276 * libc/include/machine/setjmp.h: Added __m88000__ case.
17277
17278 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
17279
17280 * configure.in: Recognize h8300h as variant of h8300.
17281
17282 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17283
17284 * libc/include/sys/unistd.h (read, write): get prototypes right.
17285 (sbrk): New prototype.
17286 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
17287 * libc/stdio/local.h: Include unistd.h.
17288 * libc/machine/h8300/syscalls.c: Names have changed.
17289
17290 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
17291
17292 * configure.in: add sys_dir assignment for m88k-bug.
17293
17294 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
17295
17296 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
17297 a.out or elf.
17298 * libc/sys/sparc64: all *.S files: Use new macros.
17299 * libc/sys/sparc64/isatty.c: New file.
17300 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
17301 functions beyond what newlib provides.
17302
17303 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
17304
17305 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
17306 svr4.
17307
17308 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
17309
17310 * libc/include/machine/ieeefp.h: Add support for h8/300h.
17311
17312 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
17313
17314 * configure.in: add m88k.
17315 * libc/include/machine/ieeefp.h: add case for m88k. Also add
17316 sanity check so no one else need ever chase what I did to find
17317 this.
17318
17319 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
17320
17321 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
17322
17323 * doc/makedoc.c: Include <ctype.h>.
17324
17325 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
17326
17327 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17328 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17329 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17330
17331 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
17332
17333 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
17334
17335 * libc/include/errno.h (ENOSYS): Added.
17336
17337 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
17338
17339 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17340
17341 * libc/stdio/fflush.c (fflush): Check for reent struct
17342 initialization.
17343 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
17344
17345 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
17346
17347 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
17348 out of dtoa.c so it doesn't pollute the namespace.
17349 * libc/include/_syslist.h: new file -- mappings from _function to
17350 function, for systems where we can't win (by default, all of them,
17351 until we start updating system calls.)
17352 * libc/syscalls: new directory -- stubs for exporting _function
17353 names as unmodified function names.
17354 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
17355 _syslist.h on all platforms by default, but put hooks in for
17356 fake_sys_dir so we can include it when we've renamed the system
17357 calls.
17358 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
17359 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
17360 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
17361 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
17362 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
17363 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
17364 non ANSI functions to call _function.
17365
17366 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
17367
17368 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
17369 when base 16 is specified. Don't accept non-digits if radix > 10.
17370
17371 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
17372
17373 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
17374
17375 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17376
17377 * libc/include/sys/stat.h: Surround text after #endif with
17378 comments.
17379
17380 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
17381
17382 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
17383 _malloc_r, _realloc_r, and free_r call the corresponding
17384 non-reentrant functions.
17385
17386 * libm/math/modf.c (modf): We now take the address of ipart, so
17387 don't make it a register variable.
17388
17389 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
17390
17391 * libm/math/*: Rename all xxx_r fns to _xxx_r.
17392
17393 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
17394
17395 * libc/libc.texinfo and embedded docn throughout: formatting
17396 improvements, minor rephrasing for clarity, and improved
17397 reentrancy docn.
17398
17399 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17400
17401 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17402
17403 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17404 where sizeof(int) != sizeof(long).
17405
17406 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17407
17408 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17409 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17410 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17411 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17412 libm/math/matherr.c: changes for better docn formatting (info).
17413
17414 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17415 libc/reent/reent.tex, libc/signal/signal.tex,
17416 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17417 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17418 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17419 makeinfo node defaulting to get better Info file node structure.
17420 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17421 Also include a few formerly missing sections (subroutines).
17422
17423 * doc/doc.str: delete fossil expansion for "func"
17424
17425 * default.menu, no-signal.menu: delete.
17426
17427 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17428 method used to adjust doc for missing "signals" chapter when
17429 signal_dir is empty.
17430
17431 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17432
17433 * configure.in: added testsuite/libm.sac
17434
17435 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17436
17437 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17438 code model).
17439
17440 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17441
17442 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17443 MAKEOVERRIDES to be empty.
17444
17445 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17446
17447 * configure.in: Don't build mips-*-* with -msoft-float, since that
17448 makes it incompatible with hard floating point.
17449
17450 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17451
17452 * Makefile.in: added recursive 'make check'
17453
17454 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17455
17456 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17457 * ./testsuite/Makefile.in: created
17458 * ./testsuite/libm.paranoia: paranoia tests added
17459
17460 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17461
17462 * configure.in: For mips-*-* set machine_dir to mips.
17463
17464 * libc/machine/mips: New directory.
17465 * libc/machine/mips/Makefile.in: New file.
17466 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17467 setjmp and longjmp.
17468 * libc/include/machine/setjmp.h: Added __mips__ case.
17469
17470 * libc/machine/lmips: Removed unused and useless directory.
17471
17472 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17473
17474 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17475
17476 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17477
17478 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17479 start up).
17480
17481 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17482
17483 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17484 SETJMP_H.
17485
17486 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17487
17488 * libm/test/convert.c: structure member errno -> errno_val.
17489 Must include <errno.h> to use errno, it's a macro now.
17490 * libm/test/math.c: Ditto.
17491 * libm/test/math2.c: Include errno.h.
17492 * libm/test/string.c: Ditto.
17493 * libm/test/test.h: structure member errno -> errno_val.
17494 Remove extern int errno decl.
17495
17496 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17497
17498 * libc/stdio/Makefile.in: Added dependencies on local header
17499 files.
17500 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17501 files.
17502
17503 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17504
17505 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17506
17507 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17508
17509 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17510 Initialize _data.
17511
17512 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17513 * libc/stdio/local.h: Add prototype for _licvt.
17514
17515 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17516 instead of malloc,reealloc.
17517
17518 * libc/stdlib/local.h: New file.
17519 * libc/stdlib/efgcvt.c: #include local.h.
17520 (gcvt): Fix call to _gcvt.
17521 * libc/stdlib/ecvtbuf.c: #include local.h.
17522
17523 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17524 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17525 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17526
17527 * libc/stdlib/atexit.c: moved global data to struct _reent.
17528 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17529
17530 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17531
17532 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17533
17534 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17535 here from ../reent.h.
17536
17537 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17538
17539 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17540 should be provided in both libc.a and libm.a.
17541 (libc.a): Depend on targ-include and libm.a. Copy
17542 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17543 (libm.a): Depend on targ-include.
17544 * configure.in (subdirs): Removed libc/math.
17545
17546 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17547
17548 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17549
17550 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17551
17552 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17553 sys/reent.h instead of reent.h.
17554 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17555 headers moved to sys/reent.h.
17556 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17557 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17558 __need__MAX_SIGNALS defined.
17559 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17560 std{in,out,err} refer to new _std{in,out,err} members.
17561
17562 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17563
17564 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17565 case.
17566
17567 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17568
17569 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17570 rather than whatever macro seterrno() has.
17571
17572 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17573
17574 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17575 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17576
17577 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17578 __STDC__.
17579
17580 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17581 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17582 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17583
17584 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17585 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17586
17587 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17588 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17589 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17590 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17591 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17592 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17593 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17594 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17595 for ANSI. structure members given leading "_" for ANSI. Use
17596 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17597
17598 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17599 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17600 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17601 reent_struct renamed to struct _reent for ANSI.
17602 Structure members given leading "_" for ANSI.
17603 _CONST --> const in prototypes.
17604 Use _HAVE_STDC instead of __STDC__.
17605
17606 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17607 _xxx_r.
17608 struct reent_struct renamed to struct _reent for ANSI.
17609 Structure members given leading "_" for ANSI.
17610
17611 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17612 _xxx_r.
17613 struct reent_struct renamed to struct _reent for ANSI.
17614
17615 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17616 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17617 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17618 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17619 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17620
17621 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17622 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17623 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17624 #ifndef _STRICT_ANSI non-ANSI routines.
17625 Reentrant routines renamed from _r_xxx to _xxx_r.
17626 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17627 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17628 Clean up namespace (structure members have leading "_").
17629 struct reent_struct renamed to struct _reent for ANSI compliance.
17630 _CONST --> const in function prototypes.
17631
17632 * libc/include/string.h: Add NULL and size_t.
17633
17634 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17635 unlink, wait, wait4. Reentrant syscall routines close, fork,
17636 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17637 write.
17638 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17639 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17640 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17641 write.S}: Define reentrant versions.
17642 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17643 reentrant syscalls.
17644
17645 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17646
17647 * libc/include/stdlib.h (RAND_MAX): Fix value.
17648
17649 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17650
17651 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17652 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17653 VPATH support targets after all: target.
17654
17655 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17656 exceptionHandler, which is what mvme135-stub.c expects.
17657
17658 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
17659
17660 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
17661
17662 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
17663 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
17664 compliant).
17665
17666 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
17667
17668 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
17669 first.
17670 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
17671 _r_write): Ditto.
17672 libc/reent/fstatr.c (_r_fstat): Ditto.
17673 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
17674 libc/reent/sbrkr.c (_r_sbrk): Ditto.
17675 libc/reent/statr.c (_r_stat): Ditto.
17676
17677 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
17678 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
17679 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
17680 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
17681 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
17682 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
17683 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
17684 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
17685 (__swrite): Ditto for _r_lseek, _r_write.
17686 (__sseek): Ditto for _r_lseek.
17687 (__close): Ditto for _r_close.
17688 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
17689
17690 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
17691 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17692
17693 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17694 to make reent_struct the first argument (and thus consistent with
17695 the rest of newlib).
17696
17697 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17698 reference to __STDC__.
17699
17700 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17701
17702 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
17703 global __cleanup.
17704
17705 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17706
17707 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17708 first.
17709 libc/stdio/fclose.c (fclose): Ditto.
17710
17711 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
17712
17713 * Run through indent and rename reentrant routines for ANSI.
17714 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
17715 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
17716 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
17717 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
17718 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
17719 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
17720 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
17721 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
17722 vsprintf.c wbuf.c wsetup.c local.h}
17723
17724 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
17725
17726 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
17727 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
17728 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
17729 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
17730 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
17731 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
17732
17733 * Run through indent.
17734 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
17735 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
17736 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
17737 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
17738 strxfrm.c}
17739
17740 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
17741 localtime.c mktime.c strftime.c time.c}:
17742 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
17743
17744 * Reformatting + renaming (for ANSI, GNU style, consistency).
17745 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
17746 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
17747 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
17748
17749 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
17750
17751 * libc/include/stdio.h (stdin_r): Fix.
17752
17753 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
17754
17755 * Makefile.in: Unexport some variables to keep GNU make from
17756 putting them in the environment and using up needed ARG_MAX space
17757 (a hack is used to let this work with older makes as well).
17758
17759 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
17760
17761 * Makefile.in: Use $(MAKE) rather than make.
17762 (MAKEOVERRIDES): Define to be empty.
17763 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17764 (libc.a, libm.a): Depend on targ-include.
17765 * host/any (LD): Don't define.
17766 (INCLUDES): Use targ-include.
17767 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
17768 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17769 * libc/Makefile.in: Use $(MAKE) rather than make.
17770 (MAKEOVERRIDES): Define to be empty.
17771 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17772 (all): Rewrote to be slightly smaller.
17773 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
17774 Define to be empty.
17775 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17776 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
17777
17778 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
17779
17780 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
17781 with errno/errno.c.
17782
17783 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
17784
17785 * Changes for reentrancy.
17786 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
17787 Use ptr->_errno, not errno.
17788 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
17789 libc/stdio/remove.c (remove_r): New function.
17790 libc/stdio/rename.c (rename_r): New function.
17791 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17792 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
17793 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
17794 reentrant versions of system calls.
17795 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
17796 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
17797 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
17798 libc/stdio/findfp.c: Include <string.h>.
17799 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
17800 "local.h".
17801 libc/stdio/wbuf.c: Include "fvwrite.h"
17802
17803 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
17804 <string.h>.
17805 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
17806 (NULL): Don't define if already defined.
17807 libc/stdlib/system.c: Call reentrant versions of system calls.
17808 (system_r): New function.
17809
17810 * Changes for reentrancy.
17811 libc/include/_ansi.h (_PARAMS): New macro.
17812 libc/include/errno.h: Define errno as a macro that calls __errno.
17813 (__errno_r): New macro for reentrant code.
17814 libc/include/math.h: Include reent.h. Declare many reentrant
17815 functions.
17816 (signgam): Now a macro, not a variable.
17817 (struct exception): Added err field.
17818 libc/include/reent.h: Don't declare __sglue. Added function
17819 declarations.
17820 (struct reent_struct): Moved errno to beginning. Added _signgam.
17821 libc/include/stdio.h, libc/include/stdlib.h: Added function
17822 declarations.
17823
17824 * More reentrancy hacking.
17825 libc/errno/errno.c (__errno): New function.
17826 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
17827 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
17828 files.
17829
17830 * Added many new reentrant functions to libm/math/*.
17831 libm/math/error.c (__matherror): Added reent_struct pointer
17832 argument. Changed all callers.
17833 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
17834 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
17835 libm/math/tan.h: Removed obsolete unused header files.
17836
17837 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
17838
17839 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
17840
17841 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17842
17843 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
17844 delay slots.
17845
17846 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17847
17848 * libc/libc.texinfo: comment out reentrancy chapter (duh)
17849
17850 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17851
17852 * libc/reent/reent.tex: New file. (text from
17853 newlib/libc/libc.texinfo)
17854 * libc/stdio/tmpnam.c: fixed doc typo
17855 * libc/stdlib/rand.c: fixed doc typo
17856
17857 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17858
17859 * libc/reent/reent.tex: New file. (text from
17860 newlib/libc/libc.texinfo)
17861
17862 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17863
17864 support for reentrancy
17865 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
17866 new files
17867 * libc/errno/errno.c, libc/include/ieeefp.h,
17868 libc/include/locale.h, libc/include/reent.h,
17869 libc/include/signal.h, libc/include/stdio.h,
17870 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
17871 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
17872 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
17873 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
17874 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17875 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
17876 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
17877 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
17878 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
17879 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
17880 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
17881 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
17882 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
17883 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
17884 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
17885 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
17886 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
17887 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
17888 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
17889 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
17890 libc/time/strftime.c: modify to provide reentracy.
17891
17892 new routines:
17893 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
17894 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
17895 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
17896 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
17897 mstats_r, realloc_r, localeconv_r, setlocale_r
17898
17899 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
17900
17901 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
17902 libc/include/sys/config.h, libc/include/sys/signal.h,
17903 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
17904 provided macros (such as m68000), use the ansi version
17905 (__m68000__) so that the library can be used with code compiled
17906 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
17907 and sparc.
17908
17909 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17910
17911 * configure.in (sparc*): Don't set -fsoft-float for sparc
17912 configurations. Do set -fsoft-float for sparclite configurations.
17913
17914 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17915
17916 * default.menu, no-signal.menu: alternate forms of libc main menu
17917 (in newlib rather than newlib/libc due to configuration restrictions)
17918
17919 * configure.in: select one of the two menus above, link to
17920 libc.menu
17921
17922 * libc/libc.texinfo: include menu from separate file
17923
17924 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
17925
17926 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
17927 (info): Split long shell command in half.
17928 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
17929 sub-makes, just CHEW and TARGETDOC.
17930 (targetdep.tex): Removed now special handling of sys and machine
17931 subdirectories, made obsolete some time ago.
17932 * libc/machine/Makefile.in (doc): Don't pass everything to
17933 sub-make, just CHEW and TARGETDOC.
17934 (Makefile): New target.
17935 * libc/sys/Makefile.in (Makefile): New target.
17936
17937 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
17938
17939 * Makefile.in (here and most subdirectories): Only pass down CHEW
17940 and TARGETDOC when making info, not for other targets.
17941
17942 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
17943 $(AR_FLAGS) rather than $(ARUPDATE).
17944
17945 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
17946
17947 * Try to reduce command line length:
17948 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
17949 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
17950 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
17951 (info): Pass CHEW to other subdirs.
17952
17953 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
17954
17955 * configure.in: add signal_dir, like unix_dir, but by default it
17956 is set to "signal" so that a29khif can turn it off (since a29khif
17957 has raise() as part of machine-specific signal.s.)
17958
17959 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17960
17961 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
17962 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
17963 correctly.
17964 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
17965 libc/stdio/vfprintf: type lint.
17966 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
17967 initialzation code.
17968 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
17969
17970 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
17971
17972 * stub/mvme135/mvme135-asm.S: new file.
17973 stub/mvme135mvme135-stub.c: moved all assembler routines into
17974 mvme135-asm.S.
17975 stub/mvme135/Makefile.in: build mvme135-stub.o.
17976
17977 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
17978
17979 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
17980 sub-Makefiles instead, to try to avoid line length limitations.
17981
17982 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
17983
17984 * libc/include/unistd.h (read, write): Use void* instead of
17985 char*.
17986
17987 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
17988
17989 * stub/go32/resetpc: sample script to send a reset packet to the
17990 stub
17991
17992 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
17993 DOS environment, which compiles with Turbo C.
17994
17995 * stub/go32/DSER32.LNK: new file, linker commands for serial
17996 remote stub.
17997
17998 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
17999 start up message to identify version; call set_debug_traps.
18000
18001 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
18002 keyboard interaction); call handle_exception() in go_til_stop,
18003 rather than return, so that the remote stub gets control.
18004
18005 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
18006 rename, rather than mv), set flags that work with current Turbo C,
18007 including using the /3 flag; also, add commands to build dser32.
18008
18009 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18010 default Turbo C installation (\tc rather than \usr)
18011
18012 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
18013 "&..."
18014
18015 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18016
18017 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18018
18019 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18020
18021 * libc/stdio/cvt.c (licvt): new function to convert ints when
18022 sizeof(int) != sizeof(long).
18023
18024 * libc/include/stdio.h: added prototype for iprintf.
18025 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18026
18027 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18028
18029 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18030 __REGISTER_PREFIX__.
18031
18032 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18033
18034 * libc/sys/m68kbare: moved into stub directory.
18035
18036 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18037
18038 * configure.in, Makefile.in: created new directory stub, to hold
18039 sample code for specific targets.
18040
18041 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18042
18043 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18044 in the unified libc/include/sys/fcntl.h.
18045
18046 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18047
18048 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18049 printed .01, not 0.01.
18050
18051 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18052
18053 * configure.in: compile with -m68000 for m68* targets.
18054
18055 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18056
18057 * libm/math/remainder.c (remainder): document the svr4 and sunos
18058 references used to construct the function.
18059
18060 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18061
18062 * libm/math/remainder.c (rint, remainder): fix old typos.
18063 * libm/math/Makefile.in: actually build remainder.c (functions
18064 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18065 page.)
18066
18067 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18068
18069 * libc/string/bcopy.c: BSD version works on overlapping strings,
18070 so ours should too.
18071
18072 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18073 ("SHELL").
18074
18075 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18076
18077 * Makefile.in (docs): new target.
18078
18079 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18080
18081 * libc/include/sys/times.h: define clock_t as required by POSIX.
18082 libc/include/time.h: protect clock_t from multiple definitions.
18083
18084 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18085
18086 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18087 does not need more than the original three iterations to get
18088 within 1 ulp. (Paranoia tests for rounding to better than that,
18089 but further iterations *don't* help, only more subtle changes
18090 can.)
18091
18092 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
18093
18094 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
18095 were doing nothing useful.
18096
18097 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
18098
18099 * configure.in: define MALLOC_PROVIDED for vxworks targets;
18100 removed sys_dir settings of vxworks68 and vxworks960.
18101 host/any: don't pass -nostdinc to gcc, since newlib no longer
18102 provides all required header files.
18103
18104 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
18105 is not defined; this provides a hook for VxWorks.
18106
18107 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18108
18109 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
18110 buffer if buf is NULL, don't do it here -- it is already being
18111 done by makebuf elsewhere in stdio.
18112
18113 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
18114
18115 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
18116 that C programs can call functions without using initial
18117 underscores.
18118
18119 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
18120
18121 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
18122
18123 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
18124
18125 * configure.in: set TARGET_CFLAGS for certain CPU types to
18126 -msoft-float.
18127
18128 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18129
18130 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
18131
18132 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
18133
18134 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
18135 m68k*-unknown-coff.
18136
18137 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
18138
18139 * libc/include/stdio.h: define __need___va_list before including
18140 <stdarg.h>, to avoid defining va_arg, et. al.
18141
18142 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
18143
18144 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
18145 (don't cd to the user's home directory).
18146
18147 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
18148 In general this is the wrong thing to do, but I can't get around
18149 GNU make's insistence on passing command line arguments any other
18150 way.
18151
18152 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
18153
18154 * configure.in: always configure the libc/sys directory, since it
18155 now provides a required documentation file.
18156
18157 * Makefile.in: replaced all instances of $(MAKE) with make. In
18158 general this is the wrong thing to do, but I can't get around GNU
18159 make's insistence on passing command line arguments any other way.
18160
18161 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
18162
18163 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
18164 terminated.
18165
18166 * libc/stdio/local.h: include <stdarg.h> to define va_list.
18167 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
18168
18169 * libc/include/float.h, libc/include/stdarg.h,
18170 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
18171 versions instead.
18172 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
18173 <stdarg.h>, not from <machine/types.h>. Protect definition of
18174 NULL.
18175 libc/include/time.h: get size_t from stddef.h. Protect definition
18176 of NULL.
18177 libc/include/machine/limits.h: override gcc <limits.h> by defining
18178 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
18179 get correct INT_MIN and LONG_LONG values.
18180 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
18181 size_t or va_list at all; they're now gotten from stddef.h
18182 instead.
18183 libc/include/machine/varargs.h: removed; use gcc version instead.
18184 libc/include/sys/types.h: explicitly include <machine/types.h>.
18185
18186 * libm/math/sqrt.h: using the fp-bit routines appears to require
18187 more iterations.
18188
18189 * Makefile.in, host/any: let system include files override machine
18190 include files.
18191
18192 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18193
18194 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
18195 override _*_T_ definitions defaulted here.
18196
18197 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
18198
18199 * Makefile.in (install): install the include files in
18200 $(tooldir)/include, not $(exec_prefix)/include.
18201
18202 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
18203
18204 * Makefile.in (install): fixed typo, and changed install to not
18205 force rebuild of libc.a and libm.a.
18206
18207 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
18208
18209 * libc/sys/a29khif/*: Changed all .include's to include
18210 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
18211 that they will be installed for the user.
18212
18213 * Makefile.in (all): create targ-include, a directory holding the
18214 machine and system specific header files during the build.
18215 (install): fixed installation of machine and system specific
18216 header files.
18217
18218 * Makefile.in: fixed comment.
18219 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
18220 we can pass $(INCLUDES) to it.
18221
18222 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
18223
18224 * libc/include/sys/param.h: new generic file, which may be
18225 overridden for specific systems.
18226
18227 * libc/include/sys/signal.h: define all ANSI signal names, and
18228 NSIG (which is not ANSI) for a29k.
18229
18230 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
18231
18232 * Makefile.in: don't pass down arguments the lower level makes
18233 will not need.
18234 * libc/Makefile.in: recurse directly, rather than using subdir_do,
18235 in hopes of avoiding argument length limits.
18236 * libm/Makefile.in: recurse directly, rather using subdir_do, in
18237 hopes of avoiding argument length limits.
18238
18239 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
18240
18241 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
18242 mode_t is defined.
18243
18244 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
18245
18246 * Fixed make info and make install-info for newlib, changing most
18247 Makefile.in and several *.tex files. Moved doc directory from
18248 libc to top level.
18249
18250 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
18251 Should be rewritten.
18252
18253 * libc/string/strings.tex: renamed node index to node index
18254 function, so that it does not conflict with the top level index
18255 node.
18256
18257 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
18258
18259 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
18260
18261 * Overhauled general configuration for newlib. Eliminated all
18262 target dependent Makefile fragments. Create libraries in newlib
18263 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
18264 than CROSS_CC, et. al. Broke make docs; will fix later.
18265
18266 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
18267 Should be rewritten.
18268
18269 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
18270
18271 * libc/configure.in: cleaned up somewhat; switch on ${target}
18272 rather than ${target_alias}.
18273 * libm/configure.in: cleaned up somewhat; switch on ${target}
18274 rather than ${target_alias}.
18275
18276 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
18277 * libc/include/ctype.h: marked _ctype_ as _CONST.
18278
18279 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
18280 _CONST.
18281
18282 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
18283 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
18284 libc/stdio/gets.c (gets): removed non-ANSI warning message.
18285 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
18286
18287 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
18288 bigtens, tinytens): marked arrays _CONST.
18289 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
18290 rather than a static variable.
18291
18292 * libc/time/asctime.c (asctime), libc/time/localtime.c
18293 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
18294 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
18295 mname_len, mname): Marked static arrays _CONST.
18296
18297 * libm/math/gamma.h: made local variables non-static.
18298
18299 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
18300 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
18301 _CONST.
18302
18303 * libm/math/constants.c: removed file, because the constants it
18304 defined were never referenced.
18305 libm/math/Makefile.in: removed references to constants.c.
18306 libm/math/mathimpl.h: removed declarations of constants.
18307
18308 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
18309
18310 * libc/include/machine/varargs.h: only call __builtin_saveregs if
18311 it is sensibly defined in libgcc2. Checks preprocessor defines,
18312 which is not a good solution.
18313
18314 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
18315
18316 * libm/frexp.c: handle denormalized numbers as arguments.
18317
18318 * libm/math/Makefile.in: added some dependencies for .c files
18319 which include local .h files.
18320
18321 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
18322
18323 * libc/configure.in: set target_alias for OSE*. Replace
18324 target_makefile_frag if it is blank.
18325
18326 * libc/Makefile.in: make sure everything is passed to subsidiary
18327 makes; create all directories when installing.
18328
18329 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
18330 CROSS_ARUPDATE instead of AR.
18331
18332 * libm/configure.in: set target_alias for OSE*. Replace
18333 target_makefile_frag if it is blank.
18334
18335 * libm/Makefile.in: make sure everything is passed to subsidiary
18336 makes; create all directories when installing.
18337
18338 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
18339
18340 * add following change from libc copy.
18341
18342 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18343
18344 * libc/libc.texinfo: make copyright disclaimers appear on back of
18345 title page; make format of same slightly less ugly; avoid using
18346 underbars in section headings (avoids nasty texinfo bug in table
18347 of contents).
18348
18349 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
18350 comments only) avoid using underbars in section headings
18351
18352 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18353 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
18354 changes in comments only): shorten headings ieeefp/infinity.c,
18355 ieeefp/isnan.c: (doc, comments only) more informative headings
18356
18357 * libc/math/bessel.c: (doc, comments only) shorten heading
18358
18359 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
18360 (doc, comments only) shorten headings
18361
18362 * libc/time/localtime.c (doc, comments only): shorten headings
18363
18364 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18365 isnan
18366 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
18367 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
18368 headings
18369 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
18370 only) more informative headings
18371 * libm/math/bessel.c: (doc, comments only) shorten heading
18372
18373 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18374
18375 * .../Makefile.in: use CROSS_ARUPDATE consistently.
18376 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
18377 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
18378 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
18379 defined, the one from the .mt file will be correct.
18380 * libc/include/machine, libc/include/sys: created, and populated
18381 with common files from machine/*/machine. ifdefs were used for
18382 most, typically by handling exceptions first and then filling in
18383 defaults. Files with D.J. Delorie copyright #included rather than
18384 copied. Most files in include/sys really were the same in the
18385 original.
18386 * libc/include/...: cleaned up use of _EXFUN.
18387 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
18388 it with double quotes, not angles.
18389
18390 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
18391
18392 * libc/Makefile.in: always create installation directories.
18393
18394 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18395
18396 * libc/configure.in: handle host properly (using canonical
18397 triples), better error message for the case of target not found
18398
18399 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18400
18401 * libc/Makefile.in (insincdir): Ensure this directory exists
18402 before attempting installation.
18403
18404 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18405
18406 * libc/stdlib/assert.c: now calls abort like it should
18407 * libc/sys/a29khif: many many patches for 29khif work
18408 * libc/machine/i386: gnulib2 expanded there.
18409
18410 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18411
18412 Added accurate fp conversion routines to stdlib, moved dcvt from
18413 stdio to stdlib and called it ecvtbuf:
18414 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18415 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18416 routines
18417 * libc/libc.texinfo: Modifed to include the copyright info from
18418 the mprec files
18419 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18420 * libc/test/ : many vector which tested for the implementation
18421 defined returns of strange conversion requests have been updated
18422 to relflect the new implementation
18423
18424 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18425
18426 * libc/libc.texinfo: new chapter on variable arg lists
18427 (stdarg.h/varargs.h)
18428 * libc/libc.texinfo: new title
18429 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18430 (doc only) shorter headings for better formatting.
18431
18432 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18433
18434 * libc/libc.texinfo: three more info menu entries
18435 * libc/locale/locale.tex: new chapter
18436 * libc/locale/locale.c: new doc for setlocale, localeconv
18437 * libc/locale/Makefile.in: use new locale doc
18438 * libc/signal/signal.tex: new chapter
18439 * libc/signal/raise.c, libc/signal/signal.c: new doc
18440 * libc/signal/Makefile.in: use new doc
18441 * libc/time/time.tex: new chapter
18442 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18443 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18444 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18445 * libc/time/Makefile.in: use new doc
18446
18447 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18448
18449 * libm/math/log1p.c: split to use the new function way of float
18450 function definition. math/log1p.h deleted
18451 * libm/math/scalb.c: obsolete and deleted
18452 * libm/math/scalbn.c: created from part log1p.c
18453 * libm/math/Makefile.in: know about log1p and scalbn
18454
18455 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18456
18457 * libc/ctype/isupper.c: revise doc;
18458 libc/ctype/ctype.tex: use doc from isupper.c
18459
18460 * libc/string/bzero.c: new doc
18461
18462 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18463
18464 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18465 new doc
18466 * libc/stdlib/Makefile.in: extract new doc
18467 * libc/stdlib/stdlib.tex: use new doc
18468
18469 * libc/string/strerror.c: expanded doc.
18470
18471 * libc/stdio/Makefile.in: extract doc from more files
18472 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18473 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18474 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18475 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18476 libc/stdio/vsprintf.c: new doc
18477 * libc/stdio/stdio.tex: use new doc
18478
18479 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18480
18481 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18482 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18483 finitef functions.
18484 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18485 time ago.
18486
18487 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18488 * libc/stdio/setbuf.c: added ansi style definition.
18489 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18490 buffer if none provided.
18491 * libc/stdio/tmpfile.c: lint
18492 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18493 rather than using static, also make sure file isn't already
18494 present. Uses P_tmpdir. (tempnam): rewritten to use new
18495 subroutine, and uses P_tmpdir.
18496 * libc/stdio/siprintf.c: created
18497
18498 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18499
18500 Release 1.03 for NEC, major mods. Main differences from release
18501 1.02::
18502
18503 More tests in test/:
18504 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18505 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18506 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18507 get/set mask, get/set sticky and get/set roundtoi. Tests
18508 that setting the bits changes the way arithmetic is done.
18509 * string.c: added test to make sure memcmp does it with unsigned
18510 chars.
18511 * test.c: cleaned up and removed lint.
18512 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18513 dvec.c: tests for string to value conversions, sprintf, scanf,
18514 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18515 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18516 rounding in sprintf too.
18517 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18518 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18519 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18520 and function form.
18521 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18522 powf
18523
18524 In the library:
18525 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18526 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18527 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18528 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18529 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18530 than sprintf.
18531 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
18532 * Method of producting float versions of double functions has
18533 changed, functions will be modified gradually. So far:
18534 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18535 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18536 altered
18537 * libc/string/memcmp.c: now uses unsigned chars
18538 * libc/string/bcmp.c, libc/string/strcpy.c,
18539 libc/stsring/strxfrm.c: fixed doc
18540 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18541 \f
18542 Local Variables:
18543 version-control: never
18544 End:
This page took 0.739997 seconds and 6 git commands to generate.