]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
* m32c/exit.S (__exit): preserve both argument registers.
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
ceb32a18
JJ
12008-01-08 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libc/machine/m68k/memcpy.S: Remove % from register references
4 as this is already handled by m68kasm.h.
5 * libc/machine/m68k/memset.S: Ditto.
6
a3211370
JJ
72008-01-07 Jeff Johnston <jjohnstn@redhat.com>
8
9 * libc/machine/m68k/m68kasm.h: New file.
10 * libc/machine/m68k/setjmp.S: Remove common definitions and
11 place in m68kasm.h. Include "m68kasm.h".
12 * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
13 SYM() macro when referencing function name.
14 * libc/machine/m68k/memset.S: Ditto.
15
a639937a
JJ
162008-01-03 Jeff Johnston <jjohnstn@redhat.com>
17
18 Make isatty syscall handling consistent with other newlib syscalls.
19
20 * libc/include/_syslist.h: Add _isatty.
21 * libc/include/reent.h: Add _isatty_r.
22 * libc/include/sys/unistd.h: Add _isatty.
23 * libc/posix/Makefile.am: Add new _isatty.c file.
24 * libc/posix/Makefile.in: Regenerated.
25 * libc/posix/_isatty.c: New file.
26 * libc/posix/isatty.c: Changed to call _isatty().
27 * libc/reent/Makefile.am: Add new isattyr.c file.
28 * libc/reent/Makefile.in: Regenerated.
29 * libc/reent/isattyr.c: New file.
30 * libc/stdio/freopen.c: Changed to call _isatty_r().
31 * libc/stdio/makebuf.c: Ditto.
32 * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
33 * libc/sys/arc/isatty.c: Ditto.
34 * libc/sys/arm/syscalls.c: Ditto.
35 * libc/sys/d10v/syscalls.c: Ditto.
36 * libc/sys/h8300hms/syscalls.c: Ditto.
37 * libc/sys/h8500hms/syscalls.c: Ditto.
38 * libc/sys/linux/Makefile.am: Add new isatty.c file.
39 * libc/sys/linux/Makefile.in: Regenerated.
40 * libc/sys/linux/isatty.c: New file.
41 * libc/syscalls/Makefile.am: Add new sysisatty.c file.
42 * libc/syscalls/Makefile.in: Regenerated.
43 * libc/syscalls/sysisatty.c: New file.
44
7c8bd7a0
JJ
452008-01-02 Jeff Johnston <jjohnstn@redhat.com>
46
47 * libc/syscalls/sysclose.c: Always call reentrant version of the
48 underlying syscall since one is guaranteed to exist in libc/reent.
49 * libc/syscalls/sysexecve.c: Ditto.
50 * libc/syscalls/sysfcntl.c: Ditto.
51 * libc/syscalls/sysfork.c: Ditto.
52 * libc/syscalls/sysfstat.c: Ditto.
53 * libc/syscalls/sysgetpid.c: Ditto.
54 * libc/syscalls/sysgettod.c: Ditto.
55 * libc/syscalls/syskill.c: Ditto.
56 * libc/syscalls/syslink.c: Ditto.
57 * libc/syscalls/syslseek.c: Ditto.
58 * libc/syscalls/sysopen.c: Ditto.
59 * libc/syscalls/sysread.c: Ditto.
60 * libc/syscalls/syssbrk.c: Ditto.
61 * libc/syscalls/sysstat.c: Ditto.
62 * libc/syscalls/systimes.c: Ditto.
63 * libc/syscalls/sysunlink.c: Ditto.
64 * libc/syscalls/syswait.c: Ditto.
65 * libc/syscalls/syswrite.c: Ditto.
66
26b84293
JJ
672007-12-19 Jeff Johnston <jjohnstn@redhat.com>
68
69 * NEWS: Update with 1.16.0 info.
70 * README: Ditto.
71 * acinclude.m4: Change version number to 1.16.0.
72 * aclocal.m4: Regenerated.
73 * configure: Ditto.
74 * doc/aclocal.m4: Ditto.
75 * doc/configure: Ditto.
76 * libc/*/aclocal.m4: Ditto.
77 * libc/*/configure: Ditto.
78 * libc/libc.texinfo: Ditto.
79 * libm/*/aclocal.m4: Ditto.
80 * libm/*/configure: Ditto.
81 * libm/libm.texinfo: Ditto.
82 * libc/sys/linux/shared.ld: Add VERS_1.16.
83
6af69de3
JJ
842007-12-19 Jeff Johnston <jjohnstn@redhat.com>
85
86 * libc/string/strcasestr.c: Remove id macro.
87 * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
88 field reference to be __sched_priority.
89 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
90 * libc/sys/linux/linuxthreads/manager.c: Ditto.
91 * libc/sys/linux/stdlib/collate.c: Remove id macro.
92 * libc/sys/linux/stdlib/collcmp.c: Ditto.
93 * libc/sys/linux/stdlib/engine.c: Ditto.
94 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
95 * libc/sys/linux/stdlib/glob.c: Ditto.
96 * libc/sys/linux/stdlib/reallocf.c: Ditto.
97 * libc/sys/linux/stdlib/regcomp.c: Ditto.
98 * libc/sys/linux/stdlib/regerror.c: Ditto.
99 * libc/sys/linux/stdlib/regexec.c: Ditto.
100 * libc/sys/linux/stdlib/regfree.c: Ditto.
101 * libc/sys/linux/sys/cdefs.h: Replace with latest version.
102 * libc/sys/linux/include/argp.h: Ditto.
103 * libc/sys/linux/sys/libc-lock.h: New file.
104 * libc/sys/linux/sys/stdint.h: Ditto.
105 * libc/sys/linux/include/sched.h: New file.
106
3cc8a378
JJ
1072007-12-19 Dave Korn <dave.korn@artimi.com>
108 Jeff Johnston <jjohnstn@redhhat.com>
109
110 * libc/include/_ansi.h: Add _LONG_LONG definition.
111 * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
112 prototypes.
113 * libc/machine/i386/machine/fastmath.h: Add support for new i386
114 fast math versions of rint, lrint, and llrint family functions.
115 * libm/machine/i386/Makefile.am: Add new files.
116 * libm/machine/i386/Makefile.in: Regenerated.
117 * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
118 libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
119 libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
120 libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
121 libm/machine/i386/f_rintl.c: New files with fast math implementations.
122
41e94f24
JJ
1232007-12-19 Jeff Johnston <jjohnstn@redhat.com>
124
125 * libc/include/sys/features.h: Add checks for C90 compilers using
126 -ansi.
127
ac26b727
CV
1282007-12-19 Corinna Vinschen <corinna@vinschen.de>
129
130 * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
131 * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
132 wcpncpy.c.
133 (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
134 * libc/string/Makefile.in: Regenerate.
135 * libc/string/wcpcpy.c: New file.
136 * libc/string/wcpncpy.c: New file.
137 * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
138
478df8bb
CV
1392007-12-19 Corinna Vinschen <corinna@vinschen.de>
140
141 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
142 _wcsrtombs_r.
143
60bef55d
JJ
1442007-11-19 Nick Clifton <nickc@redhat.com>
145
146 * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
147 * libc/machine/mn10300/Makefile.in: Regenerate.
148 * libc/machine/mn10300/memchar.S: Remove redundant labels. Add
149 .debug_frame section.
150 * libc/machine/mn10300/memcmp.S: Likewise.
151 * libc/machine/mn10300/memcpy.S: Likewise.
152 * libc/machine/mn10300/memset.S: Likewise.
153 * libc/machine/mn10300/strchr.S: Likewise.
154 * libc/machine/mn10300/strcmp.S: Likewise.
155 * libc/machine/mn10300/strcpy.S: Likewise.
156 * libc/machine/mn10300/strlen.S: Likewise.
157
1582007-11-15 Jeff Johnston <jjohnstn@redhat.com>
159
160 * libc/include/sys/_default_fcntl.h: New header file that
161 is the default version of sys/fcntl.h.
162 * libc/include/sys/fcntl.h: Changed to simply include
163 sys/_default_fcntl.h.
164 * libc/sys/arm/sys/fcntl.h: New file that includes
165 sys/_default_fcntl.h and defines O_BINARY.
166
478df8bb 1672007-11-08 Corinna Vinschen <corinna@vinschen.de>
815774e8
CV
168
169 * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
170
7b4cad4a
DB
1712007-11-07 Dave Brolley <brolley@redhat.com>
172
173 * libc/machine/configure: Regenerated to pick up mep-elf changes.
174
175 * Contribute mep-elf from Red Hat
176 2006-10-27 DJ Delorie <dj@redhat.com>
177
178 * libc/include/machine/setjmp.h: Add MeP support.
179
180 2003-04-17 DJ Delorie <dj@redhat.com>
181
182 * configure.host (mep-*-*): Support "long long" type.
183
184 2001-06-06 DJ Delorie <dj@redhat.com>
185
186 * libc/include/machine/ieeefp.h (mep): Support little endian too.
187
188 2001-05-14 DJ Delorie <dj@redhat.com>
189
190 * configure.host: Add mep's machine_dir.
191 * libc/include/setjmp.h: Add mep support.
192 * libc/machine/mep: New.
193 * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
194
195 2001-05-04 DJ Delorie <dj@redhat.com>
196
197 * configure.host: Add mep.
198 * libc/include/machine/ieeefp.h: Ditto.
199
69bfb481
DD
2002007-10-31 DJ Delorie <dj@redhat.com>
201
202 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
203 signal table, just use a default, in case initialization cause
204 recursion.
205
2a3a02a6
JJ
2062007-10-23 Jeff Johnston <jjohnstn@redhat.com>
207
208 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
209 size if output buffer is NULL.
210
70317d85
JJ
2112007-10-17 Jeff Johnston <jjohnstn@redhat.com>
212
213 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
214 fix when handling negative input values. Make function
215 consistent with math directory and glibc version such that
216 inf and nan values return inf and nan respectively with no
217 errno setting.
218 * libm/mathfp/sf_logarithm.c: Ditto.
219 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
220 * libm/math/wf_log.c: Ditto.
221 * libm/math/w_log10.c: Ditto.
222 * libm/math/wf_log10.c: Ditto.
223
923f9573
JJ
2242007-10-17 Jeff Johnston <jjohnstn@redhat.com>
225
226 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
227 return -inf.
228 * libm/mathfp/sf_logarithm.c: Ditto.
229
8b630840
JJ
2302007-10-17 Jeff Johnston <jjohnstn@redhat.com>
231
232 * libc/machine/i386/machine/fastmath.h: New file.
233
c99e78b8
EB
2342007-10-13 Eric Blake <ebb9@byu.net>
235
236 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
237 Correctly nest else within conditionals.
238 Reported by Artur Lipowski.
239
97f0a0ec
NC
2402007-10-09 Nick Clifton <nickc@redhat.com>
241
242 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
243 the STT_COMMON type.
244
b7bc4ccc
BE
2452007-10-09 Ben Elliston <bje@au.ibm.com>
246
247 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
248 before simdmath.h to get a definition for `vector'.
249 * libm/machine/spu/headers/asind2.h: Likewise.
250
1671fbe1
JJ
2512007-09-28 Patrick Mansfield <patmans@us.ibm.com>
252
253 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
254 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
255 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
256 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
257 * libm/machine/spu/headers/acos.h: Add domain check.
258 * libm/machine/spu/headers/acosf.h: Ditto.
259 * libm/machine/spu/headers/acosh.h: Ditto.
260 * libm/machine/spu/headers/acoshf.h: Ditto.
261 * libm/machine/spu/headers/asin.h: Ditto.
262 * libm/machine/spu/headers/asinf.h: Ditto.
263 * libm/machine/spu/headers/atanh.h: Ditto.
264 * libm/machine/spu/headers/atanhf.h: Ditto.
265 * libm/machine/spu/headers/fmod.h: Ditto.
266 * libm/machine/spu/headers/fmodf.h: Ditto.
267 * libm/machine/spu/headers/log.h: Ditto.
268 * libm/machine/spu/headers/log10.h: Ditto.
269 * libm/machine/spu/headers/log1p.h: Ditto.
270 * libm/machine/spu/headers/log1pf.h: Ditto.
271 * libm/machine/spu/headers/log2.h: Ditto.
272 * libm/machine/spu/headers/log2f.h: Ditto.
273 * libm/machine/spu/headers/sqrt.h: Ditto.
274 * libm/machine/spu/headers/sqrtf.h: Ditto.
275 * libm/machine/spu/headers/tgamma.h: Ditto.
276 * libm/machine/spu/headers/tgammaf.h: Ditto.
277
e30a7b84
JJ
2782007-09-28 Patrick Mansfield <patmans@us.ibm.com>
279
280 * libm/machine/spu/Makefile.am: Add new C files.
281 * libm/machine/spu/Makefile.in: Regenerate.
282 * libm/machine/spu/headers/acos.h: New file.
283 * libm/machine/spu/headers/acosd2.h: Ditto.
284 * libm/machine/spu/headers/acosf.h: Ditto.
285 * libm/machine/spu/headers/acosf4.h: Ditto.
286 * libm/machine/spu/headers/acosh.h: Ditto.
287 * libm/machine/spu/headers/acoshd2.h: Ditto.
288 * libm/machine/spu/headers/acoshf.h: Ditto.
289 * libm/machine/spu/headers/acoshf4.h: Ditto.
290 * libm/machine/spu/headers/asin.h: Ditto.
291 * libm/machine/spu/headers/asind2.h: Ditto.
292 * libm/machine/spu/headers/asinf.h: Ditto.
293 * libm/machine/spu/headers/asinf4.h: Ditto.
294 * libm/machine/spu/headers/asinh.h: Ditto.
295 * libm/machine/spu/headers/asinhd2.h: Ditto.
296 * libm/machine/spu/headers/asinhf.h: Ditto.
297 * libm/machine/spu/headers/asinhf4.h: Ditto.
298 * libm/machine/spu/headers/atan.h: Ditto.
299 * libm/machine/spu/headers/atan2.h: Ditto.
300 * libm/machine/spu/headers/atan2d2.h: Ditto.
301 * libm/machine/spu/headers/atan2f.h: Ditto.
302 * libm/machine/spu/headers/atan2f4.h: Ditto.
303 * libm/machine/spu/headers/atand2.h: Ditto.
304 * libm/machine/spu/headers/atanf4.h: Ditto.
305 * libm/machine/spu/headers/atanh.h: Ditto.
306 * libm/machine/spu/headers/atanhd2.h: Ditto.
307 * libm/machine/spu/headers/atanhf.h: Ditto.
308 * libm/machine/spu/headers/atanhf4.h: Ditto.
309 * libm/machine/spu/headers/cos.h: Ditto.
310 * libm/machine/spu/headers/cos_sin.h: Ditto.
311 * libm/machine/spu/headers/cosd2.h: Ditto.
312 * libm/machine/spu/headers/cosf.h: Ditto.
313 * libm/machine/spu/headers/cosf4.h: Ditto.
314 * libm/machine/spu/headers/cosh.h: Ditto.
315 * libm/machine/spu/headers/coshd2.h: Ditto.
316 * libm/machine/spu/headers/coshf.h: Ditto.
317 * libm/machine/spu/headers/coshf4.h: Ditto.
318 * libm/machine/spu/headers/divd2.h: Ditto.
319 * libm/machine/spu/headers/divf4.h: Ditto.
320 * libm/machine/spu/headers/erf.h: Ditto.
321 * libm/machine/spu/headers/erf_utils.h: Ditto.
322 * libm/machine/spu/headers/erfc.h: Ditto.
323 * libm/machine/spu/headers/erfcd2.h: Ditto.
324 * libm/machine/spu/headers/erfcf.h: Ditto.
325 * libm/machine/spu/headers/erfcf4.h: Ditto.
326 * libm/machine/spu/headers/erfd2.h: Ditto.
327 * libm/machine/spu/headers/erff.h: Ditto.
328 * libm/machine/spu/headers/erff4.h: Ditto.
329 * libm/machine/spu/headers/exp.h: Ditto.
330 * libm/machine/spu/headers/exp2.h: Ditto.
331 * libm/machine/spu/headers/exp2d2.h: Ditto.
332 * libm/machine/spu/headers/exp2f4.h: Ditto.
333 * libm/machine/spu/headers/expd2.h: Ditto.
334 * libm/machine/spu/headers/expf4.h: Ditto.
335 * libm/machine/spu/headers/expm1.h: Ditto.
336 * libm/machine/spu/headers/expm1d2.h: Ditto.
337 * libm/machine/spu/headers/expm1f.h: Ditto.
338 * libm/machine/spu/headers/expm1f4.h: Ditto.
339 * libm/machine/spu/headers/floord2.h: Ditto.
340 * libm/machine/spu/headers/floorf4.h: Ditto.
341 * libm/machine/spu/headers/hypot.h: Ditto.
342 * libm/machine/spu/headers/hypotd2.h: Ditto.
343 * libm/machine/spu/headers/hypotf.h: Ditto.
344 * libm/machine/spu/headers/hypotf4.h: Ditto.
345 * libm/machine/spu/headers/isnan.h: Ditto.
346 * libm/machine/spu/headers/isnand2.h: Ditto.
347 * libm/machine/spu/headers/isnanf.h: Ditto.
348 * libm/machine/spu/headers/isnanf4.h: Ditto.
349 * libm/machine/spu/headers/ldexpd2.h: Ditto.
350 * libm/machine/spu/headers/ldexpf4.h: Ditto.
351 * libm/machine/spu/headers/lgamma.h: Ditto.
352 * libm/machine/spu/headers/lgammad2.h: Ditto.
353 * libm/machine/spu/headers/lgammaf.h: Ditto.
354 * libm/machine/spu/headers/lgammaf4.h: Ditto.
355 * libm/machine/spu/headers/log.h: Ditto.
356 * libm/machine/spu/headers/log10.h: Ditto.
357 * libm/machine/spu/headers/log10d2.h: Ditto.
358 * libm/machine/spu/headers/log1p.h: Ditto.
359 * libm/machine/spu/headers/log1pd2.h: Ditto.
360 * libm/machine/spu/headers/log1pf.h: Ditto.
361 * libm/machine/spu/headers/log1pf4.h: Ditto.
362 * libm/machine/spu/headers/log2.h: Ditto.
363 * libm/machine/spu/headers/log2d2.h: Ditto.
364 * libm/machine/spu/headers/log2f4.h: Ditto.
365 * libm/machine/spu/headers/logbf.h: Ditto.
366 * libm/machine/spu/headers/logbf4.h: Ditto.
367 * libm/machine/spu/headers/logd2.h: Ditto.
368 * libm/machine/spu/headers/logf4.h: Ditto.
369 * libm/machine/spu/headers/nearbyintf.h: Ditto.
370 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
371 * libm/machine/spu/headers/nextafter.h: Ditto.
372 * libm/machine/spu/headers/nextafterd2.h: Ditto.
373 * libm/machine/spu/headers/nextafterf.h: Ditto.
374 * libm/machine/spu/headers/nextafterf4.h: Ditto.
375 * libm/machine/spu/headers/pow.h: Ditto.
376 * libm/machine/spu/headers/powd2.h: Ditto.
377 * libm/machine/spu/headers/powf.h: Ditto.
378 * libm/machine/spu/headers/powf4.h: Ditto.
379 * libm/machine/spu/headers/recipd2.h: Ditto.
380 * libm/machine/spu/headers/recipf4.h: Ditto.
381 * libm/machine/spu/headers/rintf.h: Ditto.
382 * libm/machine/spu/headers/rintf4.h: Ditto.
383 * libm/machine/spu/headers/scalbnf4.h: Ditto.
384 * libm/machine/spu/headers/signbit.h: Ditto.
385 * libm/machine/spu/headers/signbitd2.h: Ditto.
386 * libm/machine/spu/headers/simdmath.h: Ditto.
387 * libm/machine/spu/headers/sin.h: Ditto.
388 * libm/machine/spu/headers/sincos.h: Ditto.
389 * libm/machine/spu/headers/sincosd2.h: Ditto.
390 * libm/machine/spu/headers/sincosf.h: Ditto.
391 * libm/machine/spu/headers/sincosf4.h: Ditto.
392 * libm/machine/spu/headers/sind2.h: Ditto.
393 * libm/machine/spu/headers/sinf.h: Ditto.
394 * libm/machine/spu/headers/sinf4.h: Ditto.
395 * libm/machine/spu/headers/sinh.h: Ditto.
396 * libm/machine/spu/headers/sinhd2.h: Ditto.
397 * libm/machine/spu/headers/sinhf.h: Ditto.
398 * libm/machine/spu/headers/sinhf4.h: Ditto.
399 * libm/machine/spu/headers/sqrtd2.h: Ditto.
400 * libm/machine/spu/headers/sqrtf.h: Ditto.
401 * libm/machine/spu/headers/sqrtf4.h: Ditto.
402 * libm/machine/spu/headers/tan.h: Ditto.
403 * libm/machine/spu/headers/tand2.h: Ditto.
404 * libm/machine/spu/headers/tanf.h: Ditto.
405 * libm/machine/spu/headers/tanf4.h: Ditto.
406 * libm/machine/spu/headers/tanh.h: Ditto.
407 * libm/machine/spu/headers/tanhd2.h: Ditto.
408 * libm/machine/spu/headers/tanhf.h: Ditto.
409 * libm/machine/spu/headers/tanhf4.h: Ditto.
410 * libm/machine/spu/headers/tgamma.h: Ditto.
411 * libm/machine/spu/headers/tgammad2.h: Ditto.
412 * libm/machine/spu/headers/tgammaf.h: Ditto.
413 * libm/machine/spu/headers/tgammaf4.h: Ditto.
414 * libm/machine/spu/headers/truncd2.h: Ditto.
415 * libm/machine/spu/headers/truncf4.h: Ditto.
416 * libm/machine/spu/log2.c: Ditto.
417 * libm/machine/spu/s_asinh.c: Ditto.
418 * libm/machine/spu/s_atan.c: Ditto.
419 * libm/machine/spu/s_cos.c: Ditto.
420 * libm/machine/spu/s_erf.c: Ditto.
421 * libm/machine/spu/s_expm1.c: Ditto.
422 * libm/machine/spu/s_isnan.c: Ditto.
423 * libm/machine/spu/s_log1p.c: Ditto.
424 * libm/machine/spu/s_nextafter.c: Ditto.
425 * libm/machine/spu/s_sin.c: Ditto.
426 * libm/machine/spu/s_tan.c: Ditto.
427 * libm/machine/spu/s_tanh.c: Ditto.
428 * libm/machine/spu/sf_asinh.c: Ditto.
429 * libm/machine/spu/sf_cos.c: Ditto.
430 * libm/machine/spu/sf_erf.c: Ditto.
431 * libm/machine/spu/sf_expm1.c: Ditto.
432 * libm/machine/spu/sf_log1p.c: Ditto.
433 * libm/machine/spu/sf_logb.c: Ditto.
434 * libm/machine/spu/sf_nearbyint.c: Ditto.
435 * libm/machine/spu/sf_nextafter.c: Ditto.
436 * libm/machine/spu/sf_rint.c: Ditto.
437 * libm/machine/spu/sf_sin.c: Ditto.
438 * libm/machine/spu/sf_tan.c: Ditto.
439 * libm/machine/spu/sf_tanh.c: Ditto.
440 * libm/machine/spu/w_acos.c: Ditto.
441 * libm/machine/spu/w_acosh.c: Ditto.
442 * libm/machine/spu/w_asin.c: Ditto.
443 * libm/machine/spu/w_atan2.c: Ditto.
444 * libm/machine/spu/w_atanh.c: Ditto.
445 * libm/machine/spu/w_cosh.c: Ditto.
446 * libm/machine/spu/w_exp.c: Ditto.
447 * libm/machine/spu/w_exp2.c: Ditto.
448 * libm/machine/spu/w_hypot.c: Ditto.
449 * libm/machine/spu/w_lgamma.c: Ditto.
450 * libm/machine/spu/w_log.c: Ditto.
451 * libm/machine/spu/w_log10.c: Ditto.
452 * libm/machine/spu/w_pow.c: Ditto.
453 * libm/machine/spu/w_sincos.c: Ditto.
454 * libm/machine/spu/w_sinh.c: Ditto.
455 * libm/machine/spu/w_tgamma.c: Ditto.
456 * libm/machine/spu/wf_acos.c: Ditto.
457 * libm/machine/spu/wf_acosh.c: Ditto.
458 * libm/machine/spu/wf_asin.c: Ditto.
459 * libm/machine/spu/wf_atan2.c: Ditto.
460 * libm/machine/spu/wf_atanh.c: Ditto.
461 * libm/machine/spu/wf_cosh.c: Ditto.
462 * libm/machine/spu/wf_hypot.c: Ditto.
463 * libm/machine/spu/wf_lgamma.c: Ditto.
464 * libm/machine/spu/wf_pow.c: Ditto.
465 * libm/machine/spu/wf_sincos.c: Ditto.
466 * libm/machine/spu/wf_sinh.c: Ditto.
467 * libm/machine/spu/wf_sqrt.c: Ditto.
468 * libm/machine/spu/wf_tgamma.c: Ditto.
469
505ea714
JJ
4702007-09-28 Patrick Mansfield <patmans@us.ibm.com>
471
472 * configure.host: Define _POSIX_MODE to match the existing vector
473 math code, as we don't support the matherr callout.
474 * libm/machine/spu/Makefile.am: New file.
475 * libm/machine/spu/Makefile.in: Auto-generated.
476 * libm/machine/spu/headers/atanf.h: New file.
477 * libm/machine/spu/headers/cbrt.h: Ditto.
478 * libm/machine/spu/headers/cbrtf.h: Ditto.
479 * libm/machine/spu/headers/ceil.h: Ditto.
480 * libm/machine/spu/headers/ceilf.h: Ditto.
481 * libm/machine/spu/headers/copysign.h: Ditto.
482 * libm/machine/spu/headers/copysignf.h: Ditto.
483 * libm/machine/spu/headers/exp2f.h: Ditto.
484 * libm/machine/spu/headers/expf.h: Ditto.
485 * libm/machine/spu/headers/fabs.h: Ditto.
486 * libm/machine/spu/headers/fabsf.h: Ditto.
487 * libm/machine/spu/headers/fdim.h: Ditto.
488 * libm/machine/spu/headers/fdimf.h: Ditto.
489 * libm/machine/spu/headers/floor.h: Ditto.
490 * libm/machine/spu/headers/floorf.h: Ditto.
491 * libm/machine/spu/headers/fma.h: Ditto.
492 * libm/machine/spu/headers/fmaf.h: Ditto.
493 * libm/machine/spu/headers/fmax.h: Ditto.
494 * libm/machine/spu/headers/fmaxf.h: Ditto.
495 * libm/machine/spu/headers/fmin.h: Ditto.
496 * libm/machine/spu/headers/fminf.h: Ditto.
497 * libm/machine/spu/headers/fmod.h: Ditto.
498 * libm/machine/spu/headers/fmodf.h: Ditto.
499 * libm/machine/spu/headers/frexp.h: Ditto.
500 * libm/machine/spu/headers/frexpf.h: Ditto.
501 * libm/machine/spu/headers/ilogb.h: Ditto.
502 * libm/machine/spu/headers/ilogbf.h: Ditto.
503 * libm/machine/spu/headers/ldexp.h: Ditto.
504 * libm/machine/spu/headers/ldexpf.h: Ditto.
505 * libm/machine/spu/headers/llrint.h: Ditto.
506 * libm/machine/spu/headers/llrintf.h: Ditto.
507 * libm/machine/spu/headers/llround.h: Ditto.
508 * libm/machine/spu/headers/llroundf.h: Ditto.
509 * libm/machine/spu/headers/log10f.h: Ditto.
510 * libm/machine/spu/headers/log2f.h: Ditto.
511 * libm/machine/spu/headers/logf.h: Ditto.
512 * libm/machine/spu/headers/lrint.h: Ditto.
513 * libm/machine/spu/headers/lrintf.h: Ditto.
514 * libm/machine/spu/headers/lround.h: Ditto.
515 * libm/machine/spu/headers/lroundf.h: Ditto.
516 * libm/machine/spu/headers/nearbyint.h: Ditto.
517 * libm/machine/spu/headers/remainder.h: Ditto.
518 * libm/machine/spu/headers/remainderf.h: Ditto.
519 * libm/machine/spu/headers/remquo.h: Ditto.
520 * libm/machine/spu/headers/remquof.h: Ditto.
521 * libm/machine/spu/headers/rint.h: Ditto.
522 * libm/machine/spu/headers/round.h: Ditto.
523 * libm/machine/spu/headers/roundf.h: Ditto.
524 * libm/machine/spu/headers/scalbn.h: Ditto.
525 * libm/machine/spu/headers/scalbnf.h: Ditto.
526 * libm/machine/spu/headers/sqrt.h: Ditto.
527 * libm/machine/spu/headers/trunc.h: Ditto.
528 * libm/machine/spu/headers/truncf.h: Ditto.
529 * libm/machine/spu/headers/vec_literal.h: Ditto.
530 * libm/machine/spu/llrint.c: Ditto.
531 * libm/machine/spu/llrintf.c: Ditto.
532 * libm/machine/spu/llround.c: Ditto.
533 * libm/machine/spu/llroundf.c: Ditto.
534 * libm/machine/spu/log2f.c: Ditto.
535 * libm/machine/spu/s_cbrt.c: Ditto.
536 * libm/machine/spu/s_ceil.c: Ditto.
537 * libm/machine/spu/s_copysign.c: Ditto.
538 * libm/machine/spu/s_fabs.c: Ditto.
539 * libm/machine/spu/s_fdim.c: Ditto.
540 * libm/machine/spu/s_floor.c: Ditto.
541 * libm/machine/spu/s_fma.c: Ditto.
542 * libm/machine/spu/s_fmax.c: Ditto.
543 * libm/machine/spu/s_fmin.c: Ditto.
544 * libm/machine/spu/s_frexp.c: Ditto.
545 * libm/machine/spu/s_ilogb.c: Ditto.
546 * libm/machine/spu/s_ldexp.c: Ditto.
547 * libm/machine/spu/s_lrint.c: Ditto.
548 * libm/machine/spu/s_lround.c: Ditto.
549 * libm/machine/spu/s_nearbyint.c: Ditto.
550 * libm/machine/spu/s_remquo.c: Ditto.
551 * libm/machine/spu/s_rint.c: Ditto.
552 * libm/machine/spu/s_round.c: Ditto.
553 * libm/machine/spu/s_scalbn.c: Ditto.
554 * libm/machine/spu/s_trunc.c: Ditto.
555 * libm/machine/spu/sf_atan.c: Ditto.
556 * libm/machine/spu/sf_cbrt.c: Ditto.
557 * libm/machine/spu/sf_ceil.c: Ditto.
558 * libm/machine/spu/sf_copysign.c: Ditto.
559 * libm/machine/spu/sf_fabs.c: Ditto.
560 * libm/machine/spu/sf_fdim.c: Ditto.
561 * libm/machine/spu/sf_floor.c: Ditto.
562 * libm/machine/spu/sf_fma.c: Ditto.
563 * libm/machine/spu/sf_fmax.c: Ditto.
564 * libm/machine/spu/sf_fmin.c: Ditto.
565 * libm/machine/spu/sf_frexp.c: Ditto.
566 * libm/machine/spu/sf_ilogb.c: Ditto.
567 * libm/machine/spu/sf_ldexp.c: Ditto.
568 * libm/machine/spu/sf_lrint.c: Ditto.
569 * libm/machine/spu/sf_lround.c: Ditto.
570 * libm/machine/spu/sf_remquo.c: Ditto.
571 * libm/machine/spu/sf_round.c: Ditto.
572 * libm/machine/spu/sf_scalbn.c: Ditto.
573 * libm/machine/spu/sf_trunc.c: Ditto.
574 * libm/machine/spu/w_fmod.c: Ditto.
575 * libm/machine/spu/w_remainder.c: Ditto.
576 * libm/machine/spu/w_sqrt.c: Ditto.
577 * libm/machine/spu/wf_exp.c: Ditto.
578 * libm/machine/spu/wf_exp2.c: Ditto.
579 * libm/machine/spu/wf_fmod.c: Ditto.
580 * libm/machine/spu/wf_log.c: Ditto.
581 * libm/machine/spu/wf_log10.c: Ditto.
582 * libm/machine/spu/wf_remainder.c: Ditto.
c99e78b8 583
364faf91
JJ
5842007-09-21 Patrick Mansfield <patmans@us.ibm.com>
585
586 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
587
2f3d28fc
JJ
5882007-09-21 Patrick Mansfield <patmans@us.ibm.com>
589
590 * libc/include/sched.h: New file, just include sys/sched.h.
591 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
592 prototype.
593 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
594 struct utimbuf definition.
595
63fbe1fd
JJ
5962007-09-21 Patrick Mansfield <patmans@us.ibm.com>
597
598 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
599 specific struct and typedef.
600
6012007-09-18 Patrick Mansfield <patmans@us.ibm.com>
cebf33e4
JJ
602
603 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
604 typedef dev_t, gid_t, and uid_t.
605 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
606 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
607 Change to lower case for all __foo_t_defined names.
608 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
609 __uid_t, and __gid_t making them all four bytes. Change to lower case
610 for all __foo_t_defined names.
611
3908c985
JJ
6122007-09-18 Jeff Johnston <jjohnstn@redhat.com>
613
614 * libc/reent/renamer.c: New file.
615 * libc/reent/Makefile.am: Add new file.
616 * libc/reent/Makefile.in: Regenerated.
617 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
618 and add check for rename syscall.
619
ba21046d
EB
6202007-09-17 Eric Blake <ebb9@byu.net>
621
622 Obey POSIX on printf("%.s", (char*)NULL).
623 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
624 for %s on NULL. Skip NULL check when optimizing for size.
625
e5ae7230
JJ
6262007-09-07 Jeff Johnston <jjohnstn@redhat.com>
627
628 * libc/include/sys/_types.h: Protect all types with flag
629 checks to allow definition in machine/_types.h.
630
36fe6da6
JJ
6312007-09-07 Jeff Johnston <jjohnstn@redhat.com>
632
633 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
634 definitions in light of the previous change.
635
6362007-09-07 Patrick Mansfield <patmans@us.ibm.com>
dde22334
JJ
637
638 * libc/include/machine/_default_types.h: New file, contains what
639 was previously in libc/include/machine/_types.h.
640 * libc/include/machine/_types.h: Now only includes
641 machine/_default_types.h.
642 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
643 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
644 with conditional declarations.
645 * libc/machine/spu/machine/_types.h: New file, add SPU specific
646 typedefs for _fpos_t and _fpos64_t.
647
78e66fb9
JJ
6482007-09-07 Jeff Johnston <jjohnstn@redhat.com>
649
650 * libc/include/math.h (_M_LOG2E): Replace with..
651 (_M_LOG2_E): New macro.
652 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
653
345c1595
BD
6542007-09-06 Brian Dessent <brian@dessent.net>
655
656 * libc/reent/getreent.c: Allow for case where __getreent is
657 defined as a macro.
658
6494ee83
JJ
6592007-09-06 Jeff Johnston <jjohnstn@redhat.com>
660
661 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
662 (log2): Use _M_LOG2E instead of M_LOG2E.
663 (log2f): Ditto.
664 (M_LOG2E): Define to be _M_LOG2E.
665
86a934d2
JJ
6662007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
667
668 * libm/math/wf_tgamma.c: Add missing include.
669
6ddf8bef
JJ
6702007-08-31 Antony King <antony.king@st.com>
671
ba21046d 672 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
6ddf8bef
JJ
673 bits and redefine associated dword0 macro (rvalue issue).
674 * libc/stdio/vfieeefp.h: Ditto.
ba21046d
EB
675 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
676 to prevent setting dword1 which is an rvalue only.
6ddf8bef 677
d4a27886
JJ
6782007-08-28 Hans Kester <hans.kester@ellips.nl>
679
680 * configure.host: Added support for x86_64.
681 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
682 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
683 * libc/machine/x86_64/aclocal.m4: Generated.
684 * libc/machine/x86_64/configure.in: New.
685 * libc/machine/x86_64/configure: Generated.
686 * libc/machine/x86_64/Makefile.am: New.
687 * libc/machine/x86_64/Makefile.in: Generated.
688 * libc/machine/x86_64/setjmp.S: New.
689 * libc/machine/x86_64/memcpy.S: New.
690 * libc/machine/x86_64/memset.S: New.
691 * libc/machine/configure.in: Added support for x86_64.
692 * libc/machine/configure: Regenerated.
693
309faeb5
JJ
6942007-08-24 Jeff Johnston <jjohnstn@redhat.com>
695
696 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
697 to int before comparing it to a signed int value.
698
8d44415e
HPN
6992007-08-24 Hans-Peter Nilsson <hp@axis.com>
700
701 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
702 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
703 Define.
704
e6e56f7c
JJ
7052007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
706
707 Reduce the memory consumption of variable argument functions
708 for SPU (cell):
709 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
710 to assembler sources.
711 * libc/machine/spu/Makefile.in: Regenerated.
712 * libc/machine/spu/stdio.c: Add __check_init function wrapping
713 CHECK_INIT macro to use from assembler routines.
714 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
715 * libc/machine/spu/fiprintf.S: New file.
716 * libc/machine/spu/fiscanf.S: Ditto.
717 * libc/machine/spu/fprintf.S: Ditto.
718 * libc/machine/spu/fscanf.S: Ditto.
719 * libc/machine/spu/iprintf.S: Ditto.
720 * libc/machine/spu/iscanf.S: Ditto.
721 * libc/machine/spu/printf.S: Ditto.
722 * libc/machine/spu/scanf.S: Ditto.
723 * libc/machine/spu/siprintf.S: Ditto.
724 * libc/machine/spu/siscanf.S: Ditto.
725 * libc/machine/spu/sniprintf.S: Ditto.
726 * libc/machine/spu/snprintf.S: Ditto.
727 * libc/machine/spu/sprintf.S: Ditto.
728 * libc/machine/spu/sscanf.S: Ditto.
729 * libc/machine/spu/stack_reg_va.S: Ditto.
730 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
731 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
732 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
733 * libc/machine/spu/fiscanf.c: Ditto.
734 * libc/machine/spu/fprintf.c: Ditto.
735 * libc/machine/spu/fscanf.c: Ditto.
736 * libc/machine/spu/iprintf.c: Ditto.
737 * libc/machine/spu/iscanf.c: Ditto.
738 * libc/machine/spu/printf.c: Ditto.
739 * libc/machine/spu/scanf.c: Ditto.
740 * libc/machine/spu/siprintf.c: Ditto.
741 * libc/machine/spu/siscanf.c: Ditto.
742 * libc/machine/spu/sniprintf.c: Ditto.
743 * libc/machine/spu/snprintf.c: Ditto.
744 * libc/machine/spu/sprintf.c: Ditto.
745 * libc/machine/spu/sscanf.c: Ditto.
746
90c6084b
JJ
7472007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
748
749 * libc/include/tar.h: New.
750
8fb88162
JJ
7512007-08-03 Jeff Johnston <jjohnstn@redhat.com>
752
753 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
754 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
755 * libc/sys/linux/intl/Makefile.in: Regenerated.
756 * libc/sys/linux/intl/stpcpy.c: Renamed to...
757 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
758
6ddcdb9d
EB
7592007-08-02 Eric Blake <ebb9@byu.net>
760
761 Implement fmemopen and open_memstream.
762 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
763 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
764 New file.
765 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
766 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
767 functions together.
768 (fmemopen, open_memstream): Declare new functions.
769 * libc/stdio/stdio.tex: Document them.
770 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
771 fmemopen and open_memstream.
772 * libc/stdio/Makefile.in: Regenerate.
773
f7c978d5
EB
7742007-07-31 Eric Blake <ebb9@byu.net>
775
776 More POSIX stream corner cases.
777 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
778 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
779 requested.
780 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
781
391b530a
EB
7822007-07-18 Eric Blake <ebb9@byu.net>
783
784 Fix 'make info'.
785 * libc/stdio/stdio.tex: Add missing include.
786 * libc/stdio/vfprintf.c: Use expected node name.
787 * libc/stdio/vfscanf.c: Likewise.
788 * libc/stdio/sscanf.c: Likewise.
789 * libc/stdio/sprintf.c: Likewise.
790 * libc/stdio/siscanf.c: Likewise.
791 * libc/stdio/siprintf.c: Likewise.
792 * libc/stdio/fopencookie.c: Quote raw {}.
793 Reported by DJ Delorie.
794
88c88881
EB
7952007-07-13 Eric Blake <ebb9@byu.net>
796
08146e5a
EB
797 Fix fflush issues.
798 * libc/stdio/fflush.c (_fflush_r): New function.
799 (fflush): Fix reentrancy and large offset behavior.
800 * libc/include/stdio.h (_fflush_r): Add prototype.
801 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
802 * libc/stdio/freopen.c (_freopen_r): Likewise.
803 * libc/stdio/fseek.c (_fseek_r): Likewise.
804 * libc/stdio/ftell.c (_ftell_r): Likewise.
805 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
806 * libc/stdio/refill.c (__srefill_r): Likewise.
807 * libc/stdio/setvbuf.c (setvbuf): Likewise.
808 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
809 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
810 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
811 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
812 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
813 32-bit version if not large file.
814 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
815 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
816
88c88881
EB
817 Documentation updates.
818 * libc/stdio/ungetc.c: Document ungetc.
819 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
820 of files with documentation.
821 * libc/stdio/Makefile.in: Regenerate.
822 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
823
c4ccbcce
JJ
8242007-07-11 Jeff Johnston <jjohnstn@redhat.com>
825
826 * libc/include/math.h: Fix so C99 functions/macros are accessible
827 when -std=c99 is used when compiling and not when using C89.
828
dec27025
CV
8292007-07-06 Corinna Vinschen <corinna@vinschen.de>
830
831 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
832 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
833 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
834 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
835 wcstoull_r.c.
836 (CHEWOUT_FILES): Add .def files accordingly.
837 * libc/stdlib/Makefile.in: Regenerate.
838 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
839 * libc/stdlib/strtoll.c: Fix portability note.
840 * libc/stdlib/strtoull.c: Ditto.
841 * libc/stdlib/wcstol.c: New file.
842 * libc/stdlib/wcstoll.c: New file.
843 * libc/stdlib/wcstoll_r.c: New file.
844 * libc/stdlib/wcstoul.c: New file.
845 * libc/stdlib/wcstoull.c: New file.
846 * libc/stdlib/wcstoull_r.c: New file.
847
0be2bc94
JJ
8482007-07-06 Jeff Johnston <jjohnstn@redhat.com>
849
850 * libc/include/sys/time.h (gettimeofday): Change to proper
851 prototype where second parameter is void *.
852 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
853 accordingly.
854 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
855 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
856 * libc/sys/rdos/gettod.c: Ditto.
857 * libc/sys/sh/syscalls.c: Ditto.
858 * libc/time/time.c (time): Change call to _gettimeofday_r
859 to pass NULL as 2nd argument.
860
ba9af2d7
JJ
8612007-07-06 Jeff Johnston <jjohnstn@redhat.com>
862
863 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
864 * libc/sys/linux/intl/l10nflist.c: Ditto.
865
a3721512
CV
8662007-07-04 Corinna Vinschen <corinna@vinschen.de>
867
868 * libc/include/wchar.h: Add prototype for wcsxfrm.
869 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
870 (CHEWOUT_FILES): Add wcsxfrm.def.
871 * libc/string/Makefile.in: Regenerate.
872 * libc/string/wcsxfrm.c: New file.
873 * libc/string/wcstrings.tex: Add wcsxfrm.
874
5d8b97a6
CV
8752007-06-28 Corinna Vinschen <corinna@vinschen.de>
876
877 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
878 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
879 stpncpy.c.
880 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
881 * libc/string/Makefile.in: Regenerate.
882 * libc/string/stpcpy.c: New file.
883 * libc/string/stpncpy.c: New file.
884 * libc/string/strings.tex: Add stpcpy and stpncpy.
885
3473e6bd
EB
8862007-06-27 Eric Blake <ebb9@byu.net>
887
888 Support __func__ in assert, as required by C99.
889 * libc/stdlib/assert.c (__assert_func): New function.
890 (__assert): Use __assert_func.
891 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
892 possible.
893
be977229
JJ
8942007-06-20 Patrick Mansfield <patmans@us.ibm.com>
895
896 * libc/machine/spu/perror.c: Pass errno as the second argument to
897 the assist call.
898
d360ef18
JJ
8992007-06-20 Patrick Mansfield <patmans@us.ibm.com>
900
901 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
902 defines; expose ftruncate, truncate and sync prototypes.
903
f75c7518
JJ
9042007-06-20 Patrick Mansfield <patmans@us.ibm.com>
905
906 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
3473e6bd 907 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
f75c7518
JJ
908 visible.
909
438b07b0
JJ
9102007-06-15 Patrick Mansfield <patmans@us.ibm.com>
911
912 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
913 from a dropped patch.
914 * libc/machine/spu/Makefile.in: Regenerate.
915
c33ff785
JJ
9162007-06-13 Patrick Mansfield <patmans@us.ibm.com>
917
918 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
3473e6bd 919 it just calls open with appropriate arguments.
c33ff785
JJ
920 * libc/machine/spu/Makefile.am: Add creat.c.
921 * libc/machine/spu/Makefile.in: Regenerate.
922
ae473bdc
JJ
9232007-06-13 Jeff Johnston <jjohnstn@redhat.com>
924
925 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
926 I accidentally dropped.
927 * libc/machine/spu/Makefile.in: Regenerated.
928
a8b08518
JJ
9292007-06-13 Patrick Mansfield <patmans@us.ibm.com>
930
931 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
932 * libc/include/sys/unistd.h: Change usleep prototype to Posix
933 form and move outside of OS flag checks.
934 * libc/machine/spu/Makefile.am: Add sleep and usleep.
935 * libc/machine/spu/Makefile.in: Regenerate.
936 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
937 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
938
f4cd2a1d
CV
9392007-06-11 Corinna Vinschen <corinna@vinschen.de>
940
941 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
942 Define confstr constants for Cygwin. Add comment.
943
32f67ec6
HPN
9442007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
945
946 * libc/sys/mmixware/access.c (access): Do not try to use a magic
947 file-handle and a direct syscall, just use _open.
948 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
949 file-handle.
950
951 * libc/sys/mmixware/_exit.c (_exit): Update comment about
952 passing on the exit value.
953
6fb37475
JJ
9542007-06-08 Jeff Johnston <jjohnstn@redhat.com>
955
956 * libc/string/strcasestr.c: New file.
957 * libc/include/string.h: Add strcasestr.
958 * libc/string/strings.tex: Add strcasestr.
959 * libc/string/Makefile.am: Ditto.
960 * libc/string/Makefile.in: Regenerated.
961
1eeaeab8
JJ
9622007-06-06 Christian Groessler <chris@groessler.org>
963
964 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
965 rnd is done after the last local variable declaration.
966
9672007-06-06 Jeff Johnston <jjohnstn@redhat.com>
968
969 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
970
a5da131d
JJ
9712007-06-05 Christian Groessler <chris@groessler.org>
972
3473e6bd 973 * libc/argz/argz_insert.c (argz_insert): Move delta variable
a874abaf 974 declaration to top of function in keeping with C89 standard.
a5da131d 975
17c61d6a
EB
9762007-06-04 Eric Blake <ebb9@byu.net>
977
978 Implement funopen, fopencookie.
979 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
980 Switch to reentrant callbacks.
981 * libc/include/stdio.h (funopen): Fix declaration.
982 (fopencookie): Declare.
983 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
984 (__sseek64, __swrite64): Fix prototypes.
985 [__SCLE]: Pull in setmode declaration.
986 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
987 reentrancy.
988 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
989 (__sseek64, __swrite64): Fix reentrancy.
990 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
991 reentrancy.
992 * libc/stdio/ftell.c (_ftell_r): Likewise.
993 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
994 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
995 * libc/stdio/freopen.c (_freopen_r): Likewise.
996 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
997 * libc/stdio/refill.c (__srefill_r): Likewise.
998 * libc/stdio/siscanf.c (eofread): Likewise.
999 * libc/stdio/sscanf.c (eofread): Likewise.
1000 * libc/stdio/vsiscanf.c (eofread1): Likewise.
1001 * libc/stdio/vsscanf.c (eofread1): Likewise.
1002 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1003 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1004 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1005 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
1006 could be fixed.
1007 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
1008 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
1009 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
1010 new files.
1011 * libc/stdio/Makefile.in: Regenerate.
1012
b2064783
EB
10132007-05-29 Eric Blake <ebb9@byu.net>
1014
1015 Avoid more compiler warnings.
1016 * libc/stdlib/btowc.c: Add missing header.
1017 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
1018 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
1019 * libc/stdlib/wctob.c: Add missing header.
1020 * libc/string/strcpy.c (strcpy): Avoid warnings.
1021 * libc/string/strrchr.c (strrchr): Likewise.
1022
76a2ee78
CV
10232007-05-29 Corinna Vinschen <corinna@vinschen.de>
1024
1025 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
1026 argument.
1027 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
1028 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
1029 on empty input strings.
1030 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
1031 looping through argz.
1032 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
1033
75acf0bb
EB
10342007-05-27 Brian Dessent <brian@dessent.net>
1035
1036 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
1037 handling %p.
1038
f5c58e9a
EB
10392007-05-25 Eric Blake <ebb9@byu.net>
1040
1041 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
1042
d9a1ecc0 10432007-05-24 Steve Ellcey <sje@cup.hp.com>
f5c58e9a 1044 Charles Wilson <libtool@cwilson.fastmail.fm>
d9a1ecc0
SE
1045
1046 * libtool.m4: removed
1047 * configure.in: invoke _LD_DECL_SED before conditionally initializing
1048 libtool. Move AC_PROG_AWK outside conditional.
1049 * libc/sys/linux/configure.in: Ditto.
1050 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1051 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1052 * libc/sys/linux/machine/i386/configure.in: Ditto.
1053
1054 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
1055 initializing libtool.
1056 * libc/configure.in: Ditto.
1057 * libc/machine/configure.in: Ditto.
1058 * libc/machine/i386/configure.in: Ditto.
1059 * libc/sys/configure.in: Ditto.
1060 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1061 * libc/sys/linux/machine/configure.in: Ditto.
1062 * libm/configure.in: Ditto.
1063 * libm/machine/configure.in: Ditto.
1064
1065 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
1066 * doc/Makefile.am: Ditto.
1067 * iconvdata/Makefile.am: Ditto.
1068 * libc/Makefile.am: Ditto.
1069 * libc/machine/Makefile.am: Ditto.
1070 * libc/machine/a29k/Makefile.am: Ditto.
1071 * libc/machine/arm/Makefile.am: Ditto.
1072 * libc/machine/bfin/Makefile.am: Ditto.
1073 * libc/machine/cris/Makefile.am: Ditto.
1074 * libc/machine/crx/Makefile.am: Ditto.
1075 * libc/machine/d10v/Makefile.am: Ditto.
1076 * libc/machine/d30v/Makefile.am: Ditto.
1077 * libc/machine/fr30/Makefile.am: Ditto.
1078 * libc/machine/frv/Makefile.am: Ditto.
1079 * libc/machine/h8300/Makefile.am: Ditto.
1080 * libc/machine/h8500/Makefile.am: Ditto.
1081 * libc/machine/hppa/Makefile.am: Ditto.
1082 * libc/machine/i386/Makefile.am: Ditto.
1083 * libc/machine/i960/Makefile.am: Ditto.
1084 * libc/machine/iq2000/Makefile.am: Ditto.
1085 * libc/machine/m32c/Makefile.am: Ditto.
1086 * libc/machine/m32r/Makefile.am: Ditto.
1087 * libc/machine/m68hc11/Makefile.am: Ditto.
1088 * libc/machine/m68k/Makefile.am: Ditto.
1089 * libc/machine/m88k/Makefile.am: Ditto.
1090 * libc/machine/mips/Makefile.am: Ditto.
1091 * libc/machine/mn10200/Makefile.am: Ditto.
1092 * libc/machine/mn10300/Makefile.am: Ditto.
1093 * libc/machine/mt/Makefile.am: Ditto.
1094 * libc/machine/necv70/Makefile.am: Ditto.
1095 * libc/machine/powerpc/Makefile.am: Ditto.
1096 * libc/machine/sh/Makefile.am: Ditto.
1097 * libc/machine/sparc/Makefile.am: Ditto.
1098 * libc/machine/spu/Makefile.am: Ditto.
1099 * libc/machine/tic4x/Makefile.am: Ditto.
1100 * libc/machine/tic80/Makefile.am: Ditto.
1101 * libc/machine/v850/Makefile.am: Ditto.
1102 * libc/machine/w65/Makefile.am: Ditto.
1103 * libc/machine/xscale/Makefile.am: Ditto.
1104 * libc/machine/xstormy16/Makefile.am: Ditto.
1105 * libc/machine/z8k/Makefile.am: Ditto.
1106 * libc/sys/Makefile.am: Ditto.
1107 * libc/sys/a29khif/Makefile.am: Ditto.
1108 * libc/sys/arc/Makefile.am: Ditto.
1109 * libc/sys/arm/Makefile.am: Ditto.
1110 * libc/sys/d10v/Makefile.am: Ditto.
1111 * libc/sys/decstation/Makefile.am: Ditto.
1112 * libc/sys/h8300hms/Makefile.am: Ditto.
1113 * libc/sys/h8500hms/Makefile.am: Ditto.
1114 * libc/sys/linux/Makefile.am: Ditto.
1115 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1116 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1117 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1118 * libc/sys/linux/machine/Makefile.am: Ditto.
1119 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1120 * libc/sys/m88kbug/Makefile.am: Ditto.
1121 * libc/sys/mmixware/Makefile.am: Ditto.
1122 * libc/sys/netware/Makefile.am: Ditto.
1123 * libc/sys/rdos/Makefile.am: Ditto.
1124 * libc/sys/rtems/Makefile.am: Ditto.
1125 * libc/sys/sh/Makefile.am: Ditto.
1126 * libc/sys/sparc64/Makefile.am: Ditto.
1127 * libc/sys/sun4/Makefile.am: Ditto.
1128 * libc/sys/sysmec/Makefile.am: Ditto.
1129 * libc/sys/sysnec810/Makefile.am: Ditto.
1130 * libc/sys/sysnecv850/Makefile.am: Ditto.
1131 * libc/sys/sysvi386/Makefile.am: Ditto.
1132 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1133 * libc/sys/tic80/Makefile.am: Ditto.
1134 * libc/sys/w65/Makefile.am: Ditto.
1135 * libc/sys/z8ksim/Makefile.am: Ditto.
1136 * libm/Makefile.am: Ditto.
1137 * libm/machine/Makefile.am: Ditto.
1138 * libm/machine/i386/Makefile.am: Ditto.
1139 * libm/machine/spu/Makefile.am: Ditto.
1140
1141 * aclocal.m4: Regenerate.
1142 * iconvdata/aclocal.m4: Regenerate.
1143 * libc/aclocal.m4: Regenerate.
1144 * libc/machine/aclocal.m4: Regenerate.
1145 * libc/machine/i386/aclocal.m4: Regenerate.
1146 * libc/sys/aclocal.m4: Regenerate.
1147 * libc/sys/linux/aclocal.m4: Regenerate.
1148 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
1149 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
1150 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
1151 * libc/sys/linux/machine/aclocal.m4: Regenerate.
1152 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
1153 * libm/aclocal.m4: Regenerate.
1154 * libm/machine/aclocal.m4: Regenerate.
1155 * libm/machine/i386/aclocal.m4: Regenerate.
1156
1157 * Makefile.in: Regenerate.
1158 * doc/Makefile.in: Regenerate.
1159 * iconvdata/Makefile.in: Regenerate.
1160 * libc/Makefile.in: Regenerate.
1161 * libc/argz/Makefile.in: Regenerate.
1162 * libc/ctype/Makefile.in: Regenerate.
1163 * libc/errno/Makefile.in: Regenerate.
1164 * libc/iconv/Makefile.in: Regenerate.
1165 * libc/iconv/ccs/Makefile.in: Regenerate.
1166 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
1167 * libc/iconv/ces/Makefile.in: Regenerate.
1168 * libc/iconv/lib/Makefile.in: Regenerate.
1169 * libc/locale/Makefile.in: Regenerate.
1170 * libc/machine/Makefile.in: Regenerate.
1171 * libc/machine/a29k/Makefile.in: Regenerate.
1172 * libc/machine/arm/Makefile.in: Regenerate.
1173 * libc/machine/bfin/Makefile.in: Regenerate.
1174 * libc/machine/cris/Makefile.in: Regenerate.
1175 * libc/machine/crx/Makefile.in: Regenerate.
1176 * libc/machine/d10v/Makefile.in: Regenerate.
1177 * libc/machine/d30v/Makefile.in: Regenerate.
1178 * libc/machine/fr30/Makefile.in: Regenerate.
1179 * libc/machine/frv/Makefile.in: Regenerate.
1180 * libc/machine/h8300/Makefile.in: Regenerate.
1181 * libc/machine/h8500/Makefile.in: Regenerate.
1182 * libc/machine/hppa/Makefile.in: Regenerate.
1183 * libc/machine/i386/Makefile.in: Regenerate.
1184 * libc/machine/i960/Makefile.in: Regenerate.
1185 * libc/machine/iq2000/Makefile.in: Regenerate.
1186 * libc/machine/m32c/Makefile.in: Regenerate.
1187 * libc/machine/m32r/Makefile.in: Regenerate.
1188 * libc/machine/m68hc11/Makefile.in: Regenerate.
1189 * libc/machine/m68k/Makefile.in: Regenerate.
1190 * libc/machine/m88k/Makefile.in: Regenerate.
1191 * libc/machine/mips/Makefile.in: Regenerate.
1192 * libc/machine/mn10200/Makefile.in: Regenerate.
1193 * libc/machine/mn10300/Makefile.in: Regenerate.
1194 * libc/machine/mt/Makefile.in: Regenerate.
1195 * libc/machine/necv70/Makefile.in: Regenerate.
1196 * libc/machine/powerpc/Makefile.in: Regenerate.
1197 * libc/machine/sh/Makefile.in: Regenerate.
1198 * libc/machine/sparc/Makefile.in: Regenerate.
1199 * libc/machine/spu/Makefile.in: Regenerate.
1200 * libc/machine/tic4x/Makefile.in: Regenerate.
1201 * libc/machine/tic80/Makefile.in: Regenerate.
1202 * libc/machine/v850/Makefile.in: Regenerate.
1203 * libc/machine/w65/Makefile.in: Regenerate.
1204 * libc/machine/xscale/Makefile.in: Regenerate.
1205 * libc/machine/xstormy16/Makefile.in: Regenerate.
1206 * libc/machine/z8k/Makefile.in: Regenerate.
1207 * libc/misc/Makefile.in: Regenerate.
1208 * libc/posix/Makefile.in: Regenerate.
1209 * libc/reent/Makefile.in: Regenerate.
1210 * libc/search/Makefile.in: Regenerate.
1211 * libc/signal/Makefile.in: Regenerate.
1212 * libc/stdio/Makefile.in: Regenerate.
1213 * libc/stdio64/Makefile.in: Regenerate.
1214 * libc/stdlib/Makefile.in: Regenerate.
1215 * libc/string/Makefile.in: Regenerate.
1216 * libc/sys/Makefile.in: Regenerate.
1217 * libc/sys/a29khif/Makefile.in: Regenerate.
1218 * libc/sys/arc/Makefile.in: Regenerate.
1219 * libc/sys/arm/Makefile.in: Regenerate.
1220 * libc/sys/d10v/Makefile.in: Regenerate.
1221 * libc/sys/decstation/Makefile.in: Regenerate.
1222 * libc/sys/h8300hms/Makefile.in: Regenerate.
1223 * libc/sys/h8500hms/Makefile.in: Regenerate.
1224 * libc/sys/linux/Makefile.in: Regenerate.
1225 * libc/sys/linux/argp/Makefile.in: Regenerate.
1226 * libc/sys/linux/cmath/Makefile.in: Regenerate.
1227 * libc/sys/linux/dl/Makefile.in: Regenerate.
1228 * libc/sys/linux/iconv/Makefile.in: Regenerate.
1229 * libc/sys/linux/intl/Makefile.in: Regenerate.
1230 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
1231 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
1232 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1233 * libc/sys/linux/machine/Makefile.in: Regenerate.
1234 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1235 * libc/sys/linux/net/Makefile.in: Regenerate.
1236 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1237 * libc/sys/m88kbug/Makefile.in: Regenerate.
1238 * libc/sys/mmixware/Makefile.in: Regenerate.
1239 * libc/sys/netware/Makefile.in: Regenerate.
1240 * libc/sys/rdos/Makefile.in: Regenerate.
1241 * libc/sys/rtems/Makefile.in: Regenerate.
1242 * libc/sys/sh/Makefile.in: Regenerate.
1243 * libc/sys/sparc64/Makefile.in: Regenerate.
1244 * libc/sys/sun4/Makefile.in: Regenerate.
1245 * libc/sys/sysmec/Makefile.in: Regenerate.
1246 * libc/sys/sysnec810/Makefile.in: Regenerate.
1247 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1248 * libc/sys/sysvi386/Makefile.in: Regenerate.
1249 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1250 * libc/sys/tic80/Makefile.in: Regenerate.
1251 * libc/sys/w65/Makefile.in: Regenerate.
1252 * libc/sys/z8ksim/Makefile.in: Regenerate.
1253 * libc/syscalls/Makefile.in: Regenerate.
1254 * libc/time/Makefile.in: Regenerate.
1255 * libc/unix/Makefile.in: Regenerate.
1256 * libm/Makefile.in: Regenerate.
1257 * libm/common/Makefile.in: Regenerate.
1258 * libm/machine/Makefile.in: Regenerate.
1259 * libm/machine/i386/Makefile.in: Regenerate.
1260 * libm/machine/spu/Makefile.in: Regenerate.
1261 * libm/math/Makefile.in: Regenerate.
1262 * libm/mathfp/Makefile.in: Regenerate.
1263
1264 * configure: Regenerate.
1265 * iconvdata/configure: Regenerate.
1266 * libc/configure: Regenerate.
1267 * libc/machine/configure: Regenerate.
1268 * libc/machine/i386/configure: Regenerate.
1269 * libc/sys/configure: Regenerate.
1270 * libc/sys/linux/configure: Regenerate.
1271 * libc/sys/linux/linuxthreads/configure: Regenerate.
1272 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1273 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1274 * libc/sys/linux/machine/configure: Regenerate.
1275 * libc/sys/linux/machine/i386/configure: Regenerate.
1276 * libm/configure: Regenerate.
1277 * libm/machine/configure: Regenerate.
1278 * libm/machine/i386/configure: Regenerate.
1279
aa5341f9
EB
12802007-05-23 Eric Blake <ebb9@byu.net>
1281
1282 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1283 sizeof(void*) is 8 but sizeof(long) is 4.
1284 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1285 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1286 to fix reentrancy and bug on encoding error in multibyte locales.
1287 Always return EOF on read error.
1288
4a9880e0
JJ
12892007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1290
1291 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1292 prototype.
1293 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1294 instead of the slot 0 value, remove any now unused variables, and
1295 for some cases, now store the result in an int vs int*.
1296 * libc/machine/spu/feof.c: Ditto.
1297 * libc/machine/spu/ferror.c: Ditto.
1298 * libc/machine/spu/fflush.c: Ditto.
1299 * libc/machine/spu/fgetc.c: Ditto.
1300 * libc/machine/spu/fgetpos.c: Ditto.
1301 * libc/machine/spu/fgets.c: Ditto.
1302 * libc/machine/spu/fileno.c: Ditto.
1303 * libc/machine/spu/fopen.c: Ditto.
1304 * libc/machine/spu/fprintf.c: Ditto.
1305 * libc/machine/spu/fputc.c: Ditto.
1306 * libc/machine/spu/fputs.c: Ditto.
1307 * libc/machine/spu/fread.c: Ditto.
1308 * libc/machine/spu/freopen.c: Ditto.
1309 * libc/machine/spu/fscanf.c: Ditto.
1310 * libc/machine/spu/fseek.c: Ditto.
1311 * libc/machine/spu/fsetpos.c: Ditto.
1312 * libc/machine/spu/ftell.c: Ditto.
1313 * libc/machine/spu/fwrite.c: Ditto.
1314 * libc/machine/spu/getc.c: Ditto.
1315 * libc/machine/spu/getchar.c: Ditto.
1316 * libc/machine/spu/gets.c: Ditto.
1317 * libc/machine/spu/printf.c: Ditto.
1318 * libc/machine/spu/putc.c: Ditto.
1319 * libc/machine/spu/putchar.c: Ditto.
1320 * libc/machine/spu/puts.c: Ditto.
1321 * libc/machine/spu/remove.c: Ditto.
1322 * libc/machine/spu/rename.c: Ditto.
1323 * libc/machine/spu/scanf.c: Ditto.
1324 * libc/machine/spu/setvbuf.c: Ditto.
1325 * libc/machine/spu/snprintf.c: Ditto.
1326 * libc/machine/spu/sprintf.c: Ditto.
1327 * libc/machine/spu/sscanf.c: Ditto.
1328 * libc/machine/spu/tmpfile.c: Ditto.
1329 * libc/machine/spu/tmpnam.c: Ditto.
1330 * libc/machine/spu/ungetc.c: Ditto.
1331 * libc/machine/spu/vfprintf.c: Ditto.
1332 * libc/machine/spu/vfscanf.c: Ditto.
1333 * libc/machine/spu/vprintf.c: Ditto.
1334 * libc/machine/spu/vscanf.c: Ditto.
1335 * libc/machine/spu/vsnprintf.c: Ditto.
1336 * libc/machine/spu/vsprintf.c: Ditto.
1337 * libc/machine/spu/vsscanf.c: Ditto.
1338
9a3ec862
EB
13392007-05-23 Eric Blake <ebb9@byu.net>
1340
1341 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
1342 Avoid warning when !FLOATING_POINT.
1343 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
1344 slightly.
1345
d48670ed
CV
13462007-05-23 Corinna Vinschen <vinschen@redhat.com>
1347
1348 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
1349 to zero.
1350 * libc/include/argz.h: Guard against multiple inclusion. Guard for
1351 use with C++.
1352
8aab2bc2
EB
13532007-05-18 Eric Blake <ebb9@byu.net>
1354
1355 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
1356 compilers.
1357 * libc/stdio/vfscanf.c: Likewise.
1358
b2250c70
JJ
13592007-05-17 Cary R. <cygcary <at> yahoo.com>
1360
1361 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
1362 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
1363 * libm/math/wf_atan2.c: Ditto.
1364
8aab2bc2 13652007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
e0500490
JJ
1366
1367 * libm/common/Makefile.am: Add support for exp10, exp10f,
1368 pow10, and pow10f functions.
1369 * libm/common/Makefile.in: Regenerated.
1370 * libm/common/s_pow10.c: New file.
1371 * libm/common/sf_pow10.c: Ditto.
1372 * libm/common/s_exp10.c: Ditto.
1373 * libm/common/sf_exp10.c: Ditto.
1374 * libc/include/math.h [!pow10]: New pow10 prototype.
1375 [!pow10f]: New pow10f prototype.
1376 [!exp10]: New exp10 prototype.
1377 [!exp10f]: New exp10f prototype.
1378
487e9075
EB
13792007-05-17 Charles Wilson <cygwin@...>
1380
1381 * stdio/tmpfile.c: Include <sys/stat.h>.
1382 * stdio64/tmpfile64.c: Ditto.
1383
f6560775
EB
13842007-05-16 Eric Blake <ebb9@byu.net>
1385
d009633d
EB
1386 Close security hole in tmpfile.
1387 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
1388 generation and opening the fd.
1389 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
1390
895d76fe
EB
1391 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
1392 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
1393 required by POSIX.
1394 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
1395 avoid clash with <math.h>.
1396
f6560775
EB
1397 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
1398 * libc/search/hash.c (__hash_open): Likewise.
1399
34507ce0
EB
14002007-05-14 Eric Blake <ebb9@byu.net>
1401
1402 Reduce stack size of *printf.
1403 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
1404 in %f. Avoid malloc when possible for %S.
1405 (BUF): Improve stack locality by using smaller size.
1406 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
1407 (exponent): Use smaller stack size.
1408
b8a37af9
EB
14092007-05-11 Eric Blake <ebb9@byu.net>
1410
0962fe91
EB
1411 Minimize printf/scanf size on platforms that don't need C99.
1412 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
1413 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
1414 * configure.in (newlib-io-c99-formats): New configure option.
1415 (_WANT_IO_C99_FORMATS): Define appropriately.
1416 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
1417 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
1418 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
1419 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
1420 Likewise.
1421 * configure: Regenerate.
1422
b8a37af9
EB
1423 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
1424 (get_arg): Support '%a' and '%A'.
1425
81274c67
EB
14262007-05-09 Eric Blake <ebb9@byu.net>
1427
1428 Allow zero size with non-null buf in *asnprintf.
1429 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
1430 user's buf.
1431 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
1432 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1433 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
1434
38ed4e51
EB
14352007-05-07 Charles Wilson <cygwin@...>
1436
1437 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
1438
b9db5292
EB
14392007-05-03 Eric Blake <ebb9@byu.net>
1440
1441 Add support for asnprintf, and improve *printf documentation.
1442 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
1443 (ELIX_2_SOURCES): ...to this.
1444 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
1445 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
1446 (CHEWOUT_FILES): Include diprintf in documentation.
1447 * libc/stdio/Makefile.in: Regenerate.
1448 * libc/stdio/diprintf.c: Improve documentation.
1449 * libc/stdio/dprintf.c: Likewise.
1450 * libc/stdio/siprintf.c: Likewise.
1451 * libc/stdio/sprintf.c: Likewise.
1452 * libc/stdio/vfprintf.c: Likewise.
1453 * libc/stdio/viprintf.c: Likewise.
1454 * libc/stdio/vsniprintf.c: Consolidate documentation.
1455 * libc/stdio/asiprintf.c: Refer to documentation.
1456 * libc/stdio/asprintf.c: Likewise.
1457 * libc/stdio/fiprintf.c: Likewise.
1458 * libc/stdio/fprintf.c: Likewise.
1459 * libc/stdio/iprintf.c: Likewise.
1460 * libc/stdio/printf.c: Likewise.
1461 * libc/stdio/sniprintf.c: Likewise.
1462 * libc/stdio/vdiprintf.c: Likewise.
1463 * libc/stdio/vdprintf.c: Likewise.
1464 * libc/stdio/vsiprintf.c: Likewise.
1465 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
1466 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
1467 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
1468 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
1469 file.
1470 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
1471 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
1472 typical case.
1473 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
1474 * libc/include/stdio.h: Add prototypes for new functions; sort
1475 existing functions.
1476
fb3937fa
KH
14772007-05-03 Kazu Hirata <kazu@codesourcery.com>
1478
1479 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1480 and memset.S.
1481 * libc/machine/m68k/Makefile.in: Regenerate.
1482 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
1483 * libc/machine/m68k/memset.S: Likewise.
1484
b4f09558
EB
14852007-05-01 Eric Blake <ebb9@byu.net>
1486
1487 * libc/stdio64/local64.h: Delete, move contents to...
1488 * libc/stdio/local.h: ...here.
1489 * libc/stdio64/fdopen64.c: Update includes.
1490 * libc/stdio64/fopen64.c: Likewise.
1491 * libc/stdio64/freopen64.c: Likewise.
1492 * libc/stdio64/fseeko64.c: Likewise.
1493 * libc/stdio64/ftello64.c: Likewise.
1494 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
1495 and stderr with 64-bit offset.
1496 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
1497 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
1498 * libc/stdio/mktemp.c (_gettemp): Likewise.
1499
2babeb3d
JJ
15002007-05-01 Cary R. <cygcary <at> yahoo.com>
1501
1502 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
1503 to treatment of NaN and +-inf arguments.
1504 * libm/math/ef_pow.c: Ditto.
1505 * libm/math/w_pow.c: Ditto.
1506 * libm/math/wf_pow.c: Ditto.
1507 * libm/math/w_acos.c: Fix domain errors to return NaN.
1508 * libm/math/w_asin.c: Ditto.
1509 * libm/math/wf_acos.c: Ditto.
1510 * libm/math/wf_asin.c: Ditto.
1511 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
1512 * libm/math/wf_log.c: Ditto.
1513 * libm/math/wf_log10.c: Ditto.
1514 * libm/math/w_log10.c: Ditto.
1515
643aff87
JJ
15162007-04-27 Jeff Johnston <jjohnstn@redhat.com>
1517
1518 * libc/machine/m68k/Makefile.am: Temporarily remove
1519 memcpy.S and memset.S until logic can be confirmed for
1520 !(__mcoldfile__) case.
1521 * libc/machine/m68k/Makefile.in: Regenerated.
1522
9e5957de
JJ
15232007-04-27 Kazu Hirata <kazu@codesourcery.com>
1524
1525 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1526 and memset.S.
1527 * libc/machine/m68k/Makefile.in: Regenerate.
1528 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
1529
976e9d28
JJ
15302007-04-26 Patrick Mansfield <patmans@us.ibm.com>
1531
1532 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
1533 overridden via machine/ieeefp.h.
1534 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
1535 macros for isnan and related macros.
1536 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
1537 overridden via machine/ieeefp.h.
1538 * libm/machine/spu/Makefile.am: Add new files.
1539 * libm/machine/spu/Makefile.in: Autogenerate with new files.
1540 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
1541 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
1542 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
1543 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
1544 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
1545 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
1546 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
1547
34450bd5
JJ
15482007-04-25 Jeff Johnston <jjohnstn@redhat.com>
1549
1550 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
1551 * libm/common/sf_fpclassify.c: ...here. New file.
1552 * libm/common/Makefile.am: Add sf_fpclassify.c.
1553 * libm/common/Makefile.in: Regenerated.
1554
42cd3e6c
JJ
15552007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1556
1557 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
1558 ppu linux values. This file is a copy of the cris/sys/errno.h plus
1559 a few changes (see spu errno.h comments).
1560
8b366086
JJ
15612007-04-25 Eric Blake <ebb9@byu.net>
1562
1563 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
1564 that promote to int.
1565
245240b5
JJ
15662007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1567
b4f09558 1568 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
245240b5
JJ
1569 we clear the proper bits in the fpscr, and don't set some random ones.
1570
68f2517f
EB
15712007-04-24 Eric Blake <ebb9@byu.net>
1572
5866c023
EB
1573 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
1574 or NaN with %05f.
1575
27e5e9ab
EB
1576 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
1577 _MB_CAPABLE.
1578
68f2517f
EB
1579 * libc/include/limits.h (NL_ARGMAX): Define a default value.
1580 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
1581 NL_ARGMAX, if present.
1582
15832007-04-23 Brian Dessent <brian@dessent.net>
1584
1585 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
1586 has been specified with types 'f', 'F', 'g', or 'G', ensure the
1587 trailing decimal is printed.
1588
714d0b7a
JJ
15892007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
1590
1591 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
1592 file. Override Autoconf-2.59's version of these macros with
1593 fixed handling of multiple adjacent whitespace in arguments.
1594 * aclocal.m4: Regenerated forcefully.
1595 * configure: Ditto.
1596 * Makefile.in: Ditto.
1597 * libc/*Makefile.in: Ditto.
1598 * libc/*aclocal.m4: Ditto.
1599 * libc/*configure: Ditto.
1600 * libm/*Makefile.in: Ditto.
1601 * libm/*aclocal.m4: Ditto.
1602 * libm/*configure: Ditto.
1603
8aebc414
JJ
16042007-04-23 Jeff Johnston <jjohnstn@redhat.com>
1605
1606 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
1607 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
1608 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
1609 * libc/sys/arc/Makefile.in: Regenerated.
1610
fb5750bf
JJ
16112007-04-17 Brian Dessent <brian@dessent.net>
1612
1613 * libc/stdio/sscanf.c: Update documentation comments.
1614 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
1615
ba3ccd63
EB
16162007-04-12 Eric Blake <ebb9@byu.net>
1617
1618 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1619 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1620 (get_arg): Handle %1$F, %1$n.
1621
503e2d1c
EB
16222007-04-10 Eric Blake <ebb9@byu.net>
1623
1624 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1625 CFLAGS=-O0.
1626
17c0c97d
EB
16272007-04-09 Eric Blake <ebb9@byu.net>
1628
1629 * libc/include/stdio.h: Add gcc format attributes to printf and
1630 scanf families.
1631
abe43f42 16322007-04-09 Joel Schopp <jschopp@austin.ibm.com>
17c0c97d 1633
abe43f42
JJ
1634 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1635 even if the passed in length n is shorter than the source string.
1636 This matches both the non-spu specific and the glibc strxfrm
1637 behaviour.
1638
0efa93c0
KH
16392007-04-04 Mark Mitchell <mark@codesourcery.com>
1640
1641 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1642 functions registering additional atexit functions.
1643
07278e6c
KH
1644 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1645 -I${newlib_dir}.
1646
748c1917 16472007-04-04 Patrick Mansfield <patmans@us.ibm.com>
17c0c97d 1648
748c1917
JJ
1649 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1650 prototype.
1651 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1652 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1653 * libc/machine/spu/fclose.c: Ditto.
1654 * libc/machine/spu/feof.c: Ditto.
1655 * libc/machine/spu/ferror.c: Ditto.
1656 * libc/machine/spu/fflush.c: Ditto.
1657 * libc/machine/spu/fgetc.c: Ditto.
1658 * libc/machine/spu/fgetpos.c: Ditto.
1659 * libc/machine/spu/fgets.c: Ditto.
1660 * libc/machine/spu/fileno.c: Ditto.
1661 * libc/machine/spu/fopen.c: Ditto.
1662 * libc/machine/spu/fprintf.c: Ditto.
1663 * libc/machine/spu/fputc.c: Ditto.
1664 * libc/machine/spu/fputs.c: Ditto.
1665 * libc/machine/spu/fread.c: Ditto.
1666 * libc/machine/spu/freopen.c: Ditto.
1667 * libc/machine/spu/fscanf.c: Ditto.
1668 * libc/machine/spu/fseek.c: Ditto.
1669 * libc/machine/spu/fsetpos.c: Ditto.
1670 * libc/machine/spu/ftell.c: Ditto.
1671 * libc/machine/spu/fwrite.c: Ditto.
1672 * libc/machine/spu/getc.c: Ditto.
1673 * libc/machine/spu/getchar.c: Ditto.
1674 * libc/machine/spu/gets.c: Ditto.
1675 * libc/machine/spu/perror.c: Ditto.
1676 * libc/machine/spu/printf.c: Ditto.
1677 * libc/machine/spu/putc.c: Ditto.
1678 * libc/machine/spu/putchar.c: Ditto.
1679 * libc/machine/spu/puts.c: Ditto.
1680 * libc/machine/spu/remove.c: Ditto.
1681 * libc/machine/spu/rename.c: Ditto.
1682 * libc/machine/spu/rewind.c: Ditto.
1683 * libc/machine/spu/scanf.c: Ditto.
1684 * libc/machine/spu/setbuf.c: Ditto.
1685 * libc/machine/spu/setvbuf.c: Ditto.
1686 * libc/machine/spu/snprintf.c: Ditto.
1687 * libc/machine/spu/sprintf.c: Ditto.
1688 * libc/machine/spu/sscanf.c: Ditto.
1689 * libc/machine/spu/tmpfile.c: Ditto.
1690 * libc/machine/spu/tmpnam.c: Ditto.
1691 * libc/machine/spu/ungetc.c: Ditto.
1692 * libc/machine/spu/vfprintf.c: Ditto.
1693 * libc/machine/spu/vfscanf.c: Ditto.
1694 * libc/machine/spu/vprintf.c: Ditto.
1695 * libc/machine/spu/vscanf.c: Ditto.
1696 * libc/machine/spu/vsnprintf.c: Ditto.
1697 * libc/machine/spu/vsprintf.c: Ditto.
1698 * libc/machine/spu/vsscanf.c: Ditto.
1699
a706aa2e
JJ
17002007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1701
1702 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1703
db7aa4b1
JJ
17042007-04-04 Eric Blake <ebb9@byu.net>
1705
1706 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1707 (asiprintf): Avoid overhead.
1708 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1709 (asprintf): Avoid overhead.
1710 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1711 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1712 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1713 (fiprintf): Avoid overhead.
1714 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1715 (fprintf): Avoid overhead.
1716 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1717 (iprintf): Avoid overhead.
1718 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1719 (printf): Avoid overhead.
1720 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1721 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1722 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1723 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1724 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1725 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1726 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1727 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1728 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1729 vdiprintf.c.
1730 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1731 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1732
2c58b5a5
DK
17332007-03-30 Dave Korn <dave.korn@artimi.com>
1734
1735 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1736 conflicting inline semantics between C99 and GNU89.
1737 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1738 compatible with -fkeep-inline-functions usage.
1739 (__sputc_r): Likewise for consistency even though disabled.
1740
519aec5d
NC
17412007-03-29 Nick Clifton <nickc@redhat.com>
1742
1743 Reflect changes made to generic vfprintf.c:
1744 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1745 and add a "struct reent *" argument.
1746 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1747 argument and call _VFPRINTF_R instead of VFPRINTF.
1748 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1749 Fix uses of __sprint() and __sbprintf.
1750
17512007-03-20 Nick Clifton <nickc@redhat.com>
1752
1753 Reflect changes made to generic vfprintf.c:
1754 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1755 and add a "struct reent *" argument.
1756 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1757 argument and call _VFPRINTF_R instead of VFPRINTF.
1758 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1759 Fix uses of __sprint() and __sbprintf.
1760
443871a6
JJ
17612007-03-16 Charles Wilson <cygwin@...>
1762
1763 * libc/argz/argz_insert.c: "before" pointer is
1764 invalid after *argz realloc. Compute offset
1765 between "before" and *argz, and use it after
1766 reallocation instead.
1767
a167bcd8
JJ
17682007-03-16 Eric Blake <ebb9@byu.net>
1769
1770 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1771 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1772
826b5591
JJ
17732007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1774
1775 * configure.in: Add new --enable-newlib-reent-small option.
1776 * configure: Regenerated.
1777 * acconfig.h: Add _WANT_REENT_SMALL.
1778 * newlib.hin: Regenerated minus PACKAGE macros to add
1779 _WANT_REENT_SMALL macro.
1780 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1781 if not already set.
1782 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1783 there is no buffer.
1784 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1785 use reentrant pointer passed in when resetting the file
1786 pointer to one of the std streams.
1787
14ba5e14
JJ
17882007-03-15 Eric Blake <ebb9@byu.net>
1789
1790 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1791 (__smakebuf): Rename...
1792 (__smakebuf_r): to this.
1793 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1794 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1795 allocation, then rename...
1796 (__smakebuf_r): ...to this and fix reentrancy.
1797 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1798 allocation, then rename...
1799 (__swsetup_r): ...to this and fix reentrancy.
1800 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1801 * libc/stdio/refill.c (__srefill_r): Likewise.
1802 * libc/stdio/fclose.c (_fclose_r): Likewise.
1803 * libc/stdio/fread.c (_fread_r): Likewise.
1804 * libc/stdio/freopen.c (_freopen_r): Likewise.
1805 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1806 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1807 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1808 failed asprintf allocation, and fix reentrancy.
1809 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1810 as required by POSIX.
1811 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1812 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1813 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1814
99304ce6
JJ
18152007-03-12 Eric Blake <ebb9@byu.net>
1816
1817 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1818 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1819 allocation to caller.
1820 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1821 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1822 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1823
d9edc05f
JJ
18242007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1825
1826 * libm/math/w_pow.c: Fix typo in documentation comment.
1827
59673dbb
JJ
18282007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1829
1830 * libc/reent/timer.c: Removed (split into two new files).
1831 * libc/reent/timesr.c: New file for _times_r.
1832 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1833 * reent/Makefile.in: Remove timer.c, add timesr.c and
1834 gettimeofdayr.c.
1835 * libc/reent/Makefile.am: Regenerate.
1836
547c5c61
JJ
18372007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1838
1839 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1840
3b7e017e
JJ
18412007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1842
1843 * libc/machine/spu/Makefile.am: Add new objects.
1844 * libc/machine/spu/Makefile.in: Regenerated.
1845 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1846 integer-only version.
1847 * libc/machine/spu/fiscanf.c: Ditto.
1848 * libc/machine/spu/iprintf.c: Ditto.
1849 * libc/machine/spu/iscanf.c: Ditto.
1850 * libc/machine/spu/siprintf.c: Ditto.
1851 * libc/machine/spu/siscanf.c: Ditto.
1852 * libc/machine/spu/sniprintf.c: Ditto.
1853 * libc/machine/spu/vfiprintf.c: Ditto.
1854 * libc/machine/spu/vfiscanf.c: Ditto.
1855 * libc/machine/spu/viprintf.c: Ditto.
1856 * libc/machine/spu/viscanf.c: Ditto.
1857 * libc/machine/spu/vsiprintf.c: Ditto.
1858 * libc/machine/spu/vsiscanf.c: Ditto.
1859 * libc/machine/spu/vsniprintf.c: Ditto.
1860 * libc/machine/spu/fprintf.c: Add support for integer-only
1861 version.
1862 * libc/machine/spu/fscanf.c: Ditto.
1863 * libc/machine/spu/printf.c: Ditto.
1864 * libc/machine/spu/scanf.c: Ditto.
1865 * libc/machine/spu/snprintf.c: Ditto.
1866 * libc/machine/spu/sprintf.c: Ditto.
1867 * libc/machine/spu/sscanf.c: Ditto.
1868 * libc/machine/spu/vfprintf.c: Ditto.
1869 * libc/machine/spu/vfscanf.c: Ditto.
1870 * libc/machine/spu/vprintf.c: Ditto.
1871 * libc/machine/spu/vscanf.c: Ditto.
1872 * libc/machine/spu/vsnprintf.c: Ditto.
1873 * libc/machine/spu/vsprintf.c: Ditto.
1874 * libc/machine/spu/vsscanf.c: Ditto.
1875
960e5d8f
JJ
18762007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1877
1878 * libc/include/stdio.h: Add declaration for vsiprintf.
1879
958e329d
JJ
18802007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1881
1882 Add a floating point environment for SPU (cell):
1883
1884 * configure.host: add libm_machine_dir=spu.
1885 * libm/machine/configure: Add spu.
1886 * libm/machine/configure.in: regenerated with spu added.
1887 * libc/machine/spu/include/fenv.h: New file.
1888 * libc/machine/spu/sys/fenv.h: Ditto.
1889 * libm/machine/spu/Makefile.am: Ditto.
1890 * libm/machine/spu/Makefile.in: Ditto.
1891 * libm/machine/spu/aclocal.m4: Ditto.
1892 * libm/machine/spu/configure: Ditto.
1893 * libm/machine/spu/configure.in: Ditto.
1894 * libm/machine/spu/fe_dfl_env.c: Ditto.
1895 * libm/machine/spu/feclearexcept.c: Ditto.
1896 * libm/machine/spu/fegetenv.c: Ditto.
1897 * libm/machine/spu/fegetexceptflag.c: Ditto.
1898 * libm/machine/spu/fegetround.c: Ditto.
1899 * libm/machine/spu/feholdexcept.c: Ditto.
1900 * libm/machine/spu/feraiseexcept.c: Ditto.
1901 * libm/machine/spu/fesetenv.c: Ditto.
1902 * libm/machine/spu/fesetexceptflag.c: Ditto.
1903 * libm/machine/spu/fesetround.c: Ditto.
1904 * libm/machine/spu/fetestexcept.c: Ditto.
1905 * libm/machine/spu/feupdateenv.c: Ditto.
1906 * libm/machine/spu/headers/feclearexcept.h: Ditto.
1907 * libm/machine/spu/headers/fefpscr.h: Ditto.
1908 * libm/machine/spu/headers/fegetenv.h: Ditto.
1909 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
1910 * libm/machine/spu/headers/fegetround.h: Ditto.
1911 * libm/machine/spu/headers/feholdexcept.h: Ditto.
1912 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
1913 * libm/machine/spu/headers/fesetenv.h: Ditto.
1914 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1915 * libm/machine/spu/headers/fesetround.h: Ditto.
1916 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1917 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1918
4f7e59f2
CV
19192007-02-14 Corinna Vinschen <corinna@vinschen.de>
1920
1921 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1922 Cygwin.
1923
d7e4c7a8
CV
19242007-02-08 Corinna Vinschen <corinna@vinschen.de>
1925
1926 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1927 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1928
0e37a2e6
CV
19292007-02-07 Corinna Vinschen <corinna@vinschen.de>
1930
1931 * libc/include/sys/features.h: Add definition of all supported
1932 _POSIX_xxx values for Cygwin.
1933 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1934 on Cygwin.
1935 (pthread_rwlockattr_t): Ditto.
1936 * libc/include/sys/unistd.h: Define all _SC_xxx values as
1937 required by SUSv3. Unify formatting.
1938
6699fabb
JJ
19392007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
1940
1941 * libc/include/sys/errno.h: Add ECANCELED.
1942
22a339e8 19432007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 1944 Kazunori Asayama <asayama@sm.sony.co.jp>
22a339e8
JJ
1945
1946 * libc/machine/spu/Makefile.am: Add objects.
1947 * libc/machine/spu/Makefile.in: Regenerated.
1948 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
1949 implementation.
1950 * libc/machine/spu/snprintf.c: Ditto.
1951 * libc/machine/spu/sprintf.c: Ditto.
1952 * libc/machine/spu/sscanf.c: Ditto.
1953 * libc/machine/spu/remove.c: Ditto.
1954 * libc/machine/spu/rename.c: Ditto.
1955 * libc/machine/spu/tmpnam.c: Ditto.
1956 * libc/machine/spu/vsnprintf.c: Add initialization routine of
1957 stdio stuffs.
1958 * libc/machine/spu/vsprintf.c: Ditto.
1959
7d592bb1 19602007-02-01 Joel Schopp <jschopp@austin.ibm.com>
ba3ccd63 1961 Kazunori Asayama <asayama@sm.sony.co.jp>
7d592bb1
JJ
1962
1963 * configure.host: Enable SPU specific stdio directory.
1964 * libc/machine/spu/Makefile.am: Add objects.
1965 * libc/machine/spu/Makefile.in: Regenerated.
1966 * libc/machine/spu/c99ppe.h: Add macros and function
1967 declarations to initialize SPU specific stdio stuffs.
1968 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
1969 specific FILE structures.
1970 * libc/machine/spu/perror.c: Add initialization routine of
1971 stdio stuffs.
1972 * libc/machine/spu/printf.c: Ditto.
1973 * libc/machine/spu/putchar.c: Ditto.
1974 * libc/machine/spu/puts.c: Ditto.
1975 * libc/machine/spu/vprintf.c: Ditto.
1976 * libc/machine/spu/clearerr.c: New file. Add a stdio function
1977 implementation.
1978 * libc/machine/spu/feof.c: Ditto.
1979 * libc/machine/spu/ferror.c: Ditto.
1980 * libc/machine/spu/fileno.c: Ditto.
1981 * libc/machine/spu/fopen.c: Ditto.
1982 * libc/machine/spu/fclose.c: Ditto.
1983 * libc/machine/spu/freopen.c: Ditto.
1984 * libc/machine/spu/fflush.c: Ditto.
1985 * libc/machine/spu/fseek.c: Ditto.
1986 * libc/machine/spu/ftell.c: Ditto.
1987 * libc/machine/spu/rewind.c: Ditto.
1988 * libc/machine/spu/fgetpos.c: Ditto.
1989 * libc/machine/spu/fsetpos.c: Ditto.
1990 * libc/machine/spu/fread.c: Ditto.
1991 * libc/machine/spu/fwrite.c: Ditto.
1992 * libc/machine/spu/getc.c: Ditto.
1993 * libc/machine/spu/getchar.c: Ditto.
1994 * libc/machine/spu/gets.c: Ditto.
1995 * libc/machine/spu/fgetc.c: Ditto.
1996 * libc/machine/spu/fgets.c: Ditto.
1997 * libc/machine/spu/ungetc.c: Ditto.
1998 * libc/machine/spu/putc.c: Ditto.
1999 * libc/machine/spu/fputc.c: Ditto.
2000 * libc/machine/spu/fputs.c: Ditto.
2001 * libc/machine/spu/vfprintf.c: Ditto.
2002 * libc/machine/spu/vfscanf.c: Ditto.
2003 * libc/machine/spu/fprintf.c: Ditto.
2004 * libc/machine/spu/fscanf.c: Ditto.
2005 * libc/machine/spu/scanf.c: Ditto.
2006 * libc/machine/spu/vscanf.c: Ditto.
2007 * libc/machine/spu/setbuf.c: Ditto.
2008 * libc/machine/spu/setvbuf.c: Ditto.
2009 * libc/machine/spu/tmpfile.c: Ditto.
2010
20112007-02-01 Jeff Johnston <jjohnstn@redhat.com>
2012
2013 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
2014 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
17c0c97d 2015 around stdio macros that manipulate fields in the normal file
7d592bb1
JJ
2016 structure.
2017 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
2018 <sys/custom_file.h> to define custom FILE structure.
2019 * libc/include/sys/custom_file.h: New default header file
2020 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
2021 * libc/machine/spu/sys/custom_file.h: New file.
2022
0733ae3b
JJ
20232007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
2024
2025 * configure.host: Define stdio directory as a variable.
2026 * libc/Makefile.am: Define stdio related names
2027 as macros.
2028 * libc/configure.in: Add detection routine of stdio directory.
2029 * libc/Makefile.in: Regenerated.
2030 * libc/configure: Ditto.
2031 * libc/argz/Makefile.in: Ditto.
2032 * libc/ctype/Makefile.in: Ditto.
2033 * libc/errno/Makefile.in: Ditto.
2034 * libc/iconv/Makefile.in: Ditto.
2035 * libc/iconv/ccs/Makefile.in: Ditto.
2036 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2037 * libc/iconv/ces/Makefile.in: Ditto.
2038 * libc/iconv/lib/Makefile.in: Ditto.
2039 * libc/locale/Makefile.in: Ditto.
2040 * libc/misc/Makefile.in: Ditto.
2041 * libc/posix/Makefile.in: Ditto.
2042 * libc/reent/Makefile.in: Ditto.
2043 * libc/search/Makefile.in: Ditto.
2044 * libc/signal/Makefile.in: Ditto.
2045 * libc/stdio/Makefile.in: Ditto.
2046 * libc/stdio64/Makefile.in: Ditto.
2047 * libc/stdlib/Makefile.in: Ditto.
2048 * libc/string/Makefile.in: Ditto.
2049 * libc/syscalls/Makefile.in: Ditto.
2050 * libc/time/Makefile.in: Ditto.
2051 * libc/unix/Makefile.in: Ditto.
2052
cb7ba0e1
BE
20532007-01-30 Ben Elliston <bje@au.ibm.com>
2054
c7cd7849
BE
2055 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
2056 fmt member.
2057 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
2058 (printf): Pass fmt to va_start to suppress a warning.
2059
cb7ba0e1
BE
2060 * libc/search/hash.c (init_hash): Make `info' parameter const.
2061
f89533c1
JJ
20622007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
2063
2064 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
2065 * libc/machine/spu/vec_literal.h: Ditto.
2066 * libc/machine/spu/strncmp.c: Ditto.
2067
94b91791
JJ
20682007-01-15 Joseph Myers <joseph@codesourcery.com>
2069 Kazu Hirata <kazu@codesourcery.com>
2070
2071 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
2072 for E500V1 and E500V2.
2073
26190be1
JJ
20742007-01-11 Jeff Johnston <jjohnstn@redhat.com>
2075
2076 * libm/configure.in: Always configure machine directory.
2077 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
2078 unconditionally.
2079 * libm/configure: Regenerated.
2080 * libm/Makefile.in: Ditto.
2081 * libm/*/Makefile.in: Ditto.
2082
8e0e8f40
JJ
20832007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
2084
2085 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
2086
9cd4a2de
JJ
20872007-01-02 Ben Elliston <bje@au.ibm.com>
2088
ba3ccd63
EB
2089 * doc/makedoc.c: Include <stdlib.h>.
2090 (malloc, realloc): Remove extern declarations.
9cd4a2de 2091
5fdec53f 20922006-12-18 Jeff Johnston <jjohnstn@redhat.com>
a4b11782 2093
ba3ccd63
EB
2094 * NEWS: Update with 1.15.0 info.
2095 * README: Ditto.
2096 * acinclude.m4: Change version number to 1.15.0.
2097 * aclocal.m4: Regenerated.
2098 * configure: Ditto.
2099 * doc/aclocal.m4: Ditto.
2100 * doc/configure: Ditto.
2101 * libc/*/aclocal.m4: Ditto.
2102 * libc/*/configure: Ditto.
2103 * libc/libc.texinfo: Ditto.
2104 * libm/*/aclocal.m4: Ditto.
2105 * libm/*/configure: Ditto.
2106 * libm/libm.texinfo: Ditto.
2107 * libc/sys/linux/shared.ld: Add VERS_1.15.
a4b11782 2108
def943c1
JJ
21092006-12-18 Kazu Hirata <kazu@codesourcery.com>
2110
2111 Merge from newlib-csl-20060320-branch:
2112 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
2113 Kazu Hirata <kazu@codesourcery.com>
2114
2115 * configure.host: Recognize fido.
2116
17c0c97d 21172006-12-18 Joel Schopp <jschopp@austin.ibm.com>
505ccc75 2118
ba3ccd63
EB
2119 * libc/machine/spu/c99ppe.h: New file
2120 * libc/machine/spu/perror.c: New file to override libc/stdio version.
2121 * libc/machine/spu/printf.c: New file
2122 * libc/machine/spu/putchar.c: New file
2123 * libc/machine/spu/puts.c: New file
2124 * libc/machine/spu/vprintf.c: New file
2125 * libc/machine/spu/vsnprintf.c: New file
2126 * libc/machine/spu/vsprintf.c: New file
2127 * libc/machine/spu/Makefile.am: Add new targets.
2128 * libc/machine/spu/Makefile.in: Regenerated.
505ccc75 2129
78b7c6f8
JJ
21302006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2131
ba3ccd63
EB
2132 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
2133 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
78b7c6f8 2134
f5222560
JJ
21352006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2136
2137 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
2138 2.6.5 version of Doug Lea's malloc which is the basis of
2139 this code.
2140
9b354d7f
JJ
21412006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
2142
2143 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
2144
4c0b8a07 21452006-12-14 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 2146 Eric Blake <ebb9@byu.net>
4c0b8a07 2147
ba3ccd63
EB
2148 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
2149 read but unused data.
2150 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
2151 even read streams may have side effects that must happen.
4c0b8a07 2152
dd52bb72
JJ
21532006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2154
ba3ccd63 2155 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
6a200958
JJ
2156 correctly.
2157
21582006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2159
ba3ccd63 2160 * libc/include/alloca.h: Add undef alloca to work with xlc.
dd52bb72 2161
4e051d91
JJ
21622006-12-12 Joel Schopp <jschopp@austin.ibm.com>
2163
ba3ccd63 2164 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
6a200958 2165 cell spu.
4e051d91 2166
489bb390
JJ
21672006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2168
2169 * libc/machine/spu/strncpy.c: Add padding.
2170
3e2d7a91
JJ
21712006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2172
17c0c97d 2173 * testsuite/newlib.string/tstring.c:
3e2d7a91 2174
0a2ef998
JJ
21752006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
2176
2177 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
2178 * libc/machine/spu/strrchr.c: Ditto.
2179
75190a8f
JJ
21802006-11-30 Lev Bishop <lev.bishop@gmail.com>
2181
2182 * libc/include/math.h: Allow C99 functions/macros to be
2183 defined for C++ even when __STRICT_ANSI__.
2184
7d794364
JJ
21852006-11-29 Jeff Johnston <jjohnstn@redhat.com>
2186
2187 * libc/stdio/makebuf.c (__smakebuf): If dealing with
2188 an asprintf-family buffer, make the default initial size 64.
2189
c4c7f139
JJ
21902006-11-29 Eric Blake <ebb9@byu.net>
2191
2192 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
2193 asprintf, as well as quadratic realloc behavior.
2194
21952006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
80c6ead2
JJ
2196
2197 * libc/machine/spu/memset.c: Fix type of explicit cast.
2198 * libc/machine/spu/strncmp.c: Add explicit cast.
2199 * libc/machine/spu/strrchr.c: Ditto.
2200 * libc/machine/spu/strspn.c: Ditto.
2201
9bc5b618
JJ
22022006-11-22 Luca Barbato <lu_zero@gentoo.org>
2203
2204 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
2205 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
2206 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
2207 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
2208 * libc/machine/spu/strncat.c: Explicit cast.
2209 * libc/machine/spu/strncmp.c: Use spu_splats.
2210 * libc/machine/spu/strncpy.c: Explicit cast.
2211 * libc/machine/spu/strrchr.c: Use spu_splats.
2212 * libc/machine/spu/strspn.c: Use spu_splats.
2213
52077eb2
JJ
22142006-11-15 Till Straumann <strauman@slac.stanford.edu>
2215
2216 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
2217
d1a2fe1a
JJ
22182006-11-14 Eric Blake <ebb9@byu.net>
2219
2220 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
2221 (chclass): ' is a flag. j, t, and z are modifiers.
2222
9842c7e4 22232006-11-08 Jie Zhang <jie.zhang@analog.com>
292f8e23
JJ
2224
2225 * configure.host: Add support for bfin.
2226 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
2227 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
2228 * libc/machine/bfin/aclocal.m4: Generate.
2229 * libc/machine/bfin/configure.in: New.
2230 * libc/machine/bfin/configure: Generate.
2231 * libc/machine/bfin/Makefile.am: New.
2232 * libc/machine/bfin/Makefile.in: Generate.
2233 * libc/machine/bfin/setjmp.S: New.
2234 * libc/machine/bfin/longjmp.S: New.
2235 * libc/machine/configure.in: Add bfin support.
2236 * libc/machine/configure: Generate.
2237
b1755fe7
CV
22382006-11-07 Corinna Vinschen <corinna@vinschen.de>
2239
2240 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2241 (_PC_FILESIZEBITS): Add definition.
2242 (_PC_2_SYMLINKS): Ditto.
2243 (_PC_SYMLINK_MAX): Ditto.
2244
d384d868
JJ
22452006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2246
2247 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2248 version optimized for the cell spu.
2249 * libc/machine/spu/memmove.c: Ditto.
2250 * libc/machine/spu/memset.c: Ditto.
2251 * libc/machine/spu/strcat.c: Ditto.
2252 * libc/machine/spu/strchr.c: Ditto.
2253 * libc/machine/spu/strcmp.c: Ditto.
2254 * libc/machine/spu/strcpy.c: Ditto.
2255 * libc/machine/spu/strcspn.c: Ditto.
2256 * libc/machine/spu/strlen.c: Ditto.
2257 * libc/machine/spu/strncat.c: Ditto.
2258 * libc/machine/spu/strncmp.c: Ditto.
2259 * libc/machine/spu/strncpy.c: Ditto.
2260 * libc/machine/spu/strpbrk.c: Ditto.
2261 * libc/machine/spu/strrchr.c: Ditto.
2262 * libc/machine/spu/strspn.c: Ditto.
2263 * libc/machine/spu/strxfrm.c: Ditto.
17c0c97d 2264 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
d384d868
JJ
2265 removing altivec style initializers.
2266 * libc/machine/spu/Makefile.am: Add new files to list so they build
2267 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2268
f29fdb2f
JJ
22692006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2270
2271 * README: Add a brief section on how to regenerate
2272 configuration files in newlib.
2273
884dc68f
JJ
22742006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2275
2276 * libc/include/math.h: (exception): Add a comment
2277 telling fixincludes that we handle C vs. C++ issue.
2278
f8fe93f9
JJ
22792006-10-11 Yang Tse <yangsita@gmail.com>
2280
6d441576
CV
2281 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2282 braced-groups.
f8fe93f9 2283
d95c5792
CV
22842006-10-11 Corinna Vinschen <corinna@vinschen.de>
2285
2286 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2287
e5e148d1
JJ
22882006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2289
2290 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2291 for clearerr, feof, or fileno.
17c0c97d
EB
2292 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2293 the dummy std stream scheme to use pointers to const external
e5e148d1
JJ
2294 fake files, one for each standard stream.
2295 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2296 argument. For _REENT_SMALL, reset the file pointer if it
2297 matches one of the fake std stream pointers.
2298 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2299 argument.
2300 * libc/stdio/fclose.c: Ditto.
2301 * libc/stdio/feof.c: Ditto.
2302 * libc/stdio/ferror.c: Ditto.
2303 * libc/stdio/fflush.c: Ditto.
2304 * libc/stdio/fgetc.c: Ditto.
2305 * libc/stdio/fgets.c: Ditto.
2306 * libc/stdio/fileno.c: Ditto.
2307 * libc/stdio/findfp.c: Ditto.
2308 * libc/stdio/fputc.c: Ditto.
2309 * libc/stdio/fputs.c: Ditto.
2310 * libc/stdio/fread.c: Ditto.
2311 * libc/stdio/freopen.c: Ditto.
2312 * libc/stdio/fseek.c: Ditto.
2313 * libc/stdio/ftell.c: Ditto.
2314 * libc/stdio/fwrite.c: Ditto.
2315 * libc/stdio/getc.c: Ditto.
2316 * libc/stdio/getdelim.c: Ditto.
2317 * libc/stdio/putc.c: Ditto.
2318 * libc/stdio/refill.c: Ditto.
2319 * libc/stdio/setvbuf.c: Ditto.
2320 * libc/stdio/ungetc.c: Ditto.
2321 * libc/stdio/vfprintf.c: Ditto.
2322 * libc/stdio/vfscanf.c: Ditto.
2323 * libc/stdio/wbuf.c: Ditto.: Ditto.
2324 * libc/stdio/wsetup.c: Ditto.
2325 * libc/stdio64/freopen64.c: Ditto.
2326 * libc/stdio64/fseeko64.c: Ditto.
2327 * libc/stdio64/ftello64.c: Ditto.
2328 * libc/machine/powerpc/vfprintf.c: Ditto.
2329 * libc/machine/powerpc/vfscanf.c: Ditto.
2330
e83c3d0a
JJ
23312006-09-22 Paul Brook <paul@codesourcery.com>
2332
2333 * libc/include/sys/reent.h: Define and use __reent_assert.
2334
23754b33
JJ
23352006-09-13 Joel Sherrill <joel@oarcorp.com>
2336
2337 * libc/include/pthread.h: Add pthread barriers,
2338 rwlocks, and spinlocks. Change const to
2339 _CONST and prefix parameter names with
2340 an underscore.
2341 * libc/include/sys/types.h: Add id and attribute
2342 types for barriers, wrlocks, and spinlocks.
2343 * libc/include/sys/features.h: Enable barriers,
2344 wrlocks, and spinlocks for RTEMS.
2345
ba1bb1b3
JJ
23462006-09-13 Patrick Mansfield <patmans@us.ibm.com>
2347
2348 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
2349 supposed to be writable.
2350 * libm/common/s_lib_ver.c: Ditto.
2351
8f9f25da
JJ
23522006-09-12 Paul Brook <paul@codesourcery.com>
2353
2354 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2355
0324070e
JJ
23562006-09-07 Masaki Muranaka <monaka@monami-software.com>
2357
8f9f25da 2358
0324070e
JJ
2359 * libc/machine/xstormy16/Makefile.am:
2360 Add $(lpfx) prefix to LIBADD objects.
2361 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
2362 * libc/machine/xstormy16/Makefile.in: Regenerated.
2363
d39002f9
JJ
23642006-09-06 Eric Blake <ebb9@byu.net>
2365
2366 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
2367 't', and 'z' modifiers.
2368
c023e783
KH
23692006-09-01 Kazu Hirata <kazu@codesourcery.com>
2370
2371 Merge from newlib-csl-20060320-branch:
2372 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
2373
2374 * configure.host: Tell it we have _rename and _system when
2375 building m68k-unknown-elf.
2376
85974265
JJ
23772006-08-29 Paul Brook <paul@codesourcery.com>
2378
2379 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2380
c1f828e5
JJ
23812006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
2382
2383 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
2384 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
2385 This is needed to build all AVR and H8300 RTEMS multilib variants.
2386
b8e05321
JJ
23872006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
2388
2389 * libc/machine/configure.in: Add configuration for SPU.
2390 * libc/machine/configure: Regenerated.
2391 * libc/machine/spu/memcpy.c: Include string.h.
2392
380d8ec4
JJ
23932006-08-22 Eric Blake <ebb9@byu.net>
2394
2395 * libc/posix/popen.c (popen): Don't close output end of pipe in
2396 child if stdout was closed on entry.
2397 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2398
a0922fcb
CF
23992006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
2400
2401 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
2402 line.
2403
84a79403
JJ
24042006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
2405
17c0c97d
EB
2406 * libc/time/gmtime.c: Correct man page; clock is not a
2407 local time and no conversion occurs.
84a79403 2408
0d8de89c
JJ
24092006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2410
ba3ccd63
EB
2411 * configure.host (newlib_cflags) [spu]: Add special compiler
2412 options to reduce size.
0d8de89c 2413
734e8414
JJ
24142006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2415
2416 * configure.host: Add spu support.
2417 * libc/include/stdint.h: Ditto.
2418 * libc/include/machine/ieeefp.h: Ditto.
2419 * libc/include/machine/setjmp.h: Ditto.
2420 * libc/include/sys/config.h: Ditto.
2421 * libc/include/sys/types.h: Ditto.
2422 * libc/machine/spu/Makefile.am: New file.
2423 * libc/machine/spu/Makefile.in: Ditto.
2424 * libc/machine/spu/aclocal.m4: Ditto.
2425 * libc/machine/spu/configure: Ditto.
2426 * libc/machine/spu/configure.in: Ditto.
2427 * libc/machine/spu/memcpy.c: Ditto.
2428 * libc/machine/spu/setjmp.S: Ditto.
2429
079b45dc
JJ
24302006-08-03 J"orn Rennecke <joern.rennecke@st.com>
2431
2432 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
2433 properly.
2434
2ebf115d
JJ
24352006-08-01 Jeff Johnston <jjohnstn@redhat.com>
2436
2437 * libc/Makefile.am: Add libc_TEXINFOS dependency on
2438 generated .texi files.
2439 * libm/Makefile.am: Add libm_TEXINFOS dependency on
2440 generated .texi files.
2441 * libc/Makefile.in: Regenerated.
2442 * libm/Makefile.in: Ditto.
2443
a1213494 24442006-08-01 Thiemo Seufer <ths@mips.com>
ba3ccd63 2445 Nigel Stephens <nigel@mips.com>
a1213494
JJ
2446
2447 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
2448 define this to force _impure_ptr to live in the .sdata section.
2449
0a85d87f
JJ
24502006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2451
2452 * acinclude.m4: Check for readelf tool.
2453 * configure.in: Use ${READELF} instead of hard-coding.
2454 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2455
17c0c97d 24562006-07-31 Jeff Johnston <jjohnstn@redhat.com>
cc023a75
JJ
2457
2458 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
2459 to avoid conflict with newer glibc's revision of mremap.
2460
17c0c97d 24612006-07-05 Jeff Johnston <jjohnstn@redhat.com>
b0b92438 2462
17c0c97d 2463 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
b0b92438
JJ
2464 floating-point format support. Also redefine
2465 dword0 and dword1 macros.
2466 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2467 to prevent setting dword1 which is an rvalue only.
2468
17c0c97d 24692006-06-22 Jeff Johnston <jjohnstn@redhat.com>
f489b594
JJ
2470
2471 * libc/stdlib/Makefile.am: Add new gdtoa routines.
2472 * libc/stdlib/Makefile.in: Regenerated.
2473 * libc/stdlib/gd_qnan.h: New file.
2474 * libc/stdlib/gdtoa-gethex.c: Ditto.
2475 * libc/stdlib/gdtoa-hexnan.c: Ditto.
2476 * libc/stdlib/gdtoa.h: Ditto.
2477 * libc/stdlib/mprec.c: Add new helper routines needed by
2478 the new gdtoa code.
2479 * libc/stdlib/mprec.h: Integrate some defines and prototypes
2480 used by gdtoa routines here.
2481 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
2482 which adds C99 support such as nan, inf, and hexadecimal input
2483 format.
2484
c8956c6f
JJ
24852006-06-15 Corinna Vinschen <corinna@vinschen.de>
2486
2487 * libc/include/stdio.h (__sgetc_r): Fix typo.
2488 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
2489 * libc/stdio/rget.c (__srbuf): Reinstantiate.
2490 * libc/stdio/wbuf.c (__swbuf): Ditto.
2491
17c0c97d 24922006-06-14 Jeff Johnston <jjohnstn@redhat.com>
4dc0c0c4
JJ
2493
2494 * libc/include/stdio.h: Add new reentrant I/O prototypes for
17c0c97d 2495 read/write functions. Change getc/putc macros to have reentrant underlying
4dc0c0c4
JJ
2496 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
2497 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
2498 new reentrant I/O functions/macros for reading/writing.
2499 * libc/stdio/fgets.c: Ditto.
2500 * libc/stdio/fputc.c: Ditto.
2501 * libc/stdio/fputs.c: Ditto.
2502 * libc/stdio/fread.c: Ditto.
2503 * libc/stdio/fseek.c: Ditto.
2504 * libc/stdio64/fseeko64.c: Ditto.
2505 * libc/stdio/fwrite.c: Ditto.
2506 * libc/stdio/getc.c: Ditto.
2507 * libc/stdio/getc_u.c: Ditto.
2508 * libc/stdio/getchar.c: Ditto.
2509 * libc/stdio/getchar_u.c: Ditto.
2510 * libc/stdio/putc.c: Ditto.
2511 * libc/stdio/putc_u.c: Ditto.
2512 * libc/stdio/putchar.c: Ditto.
2513 * libc/stdio/puts.c: Ditto.
2514 * libc/stdio/vfprintf.c: Ditto.
2515 * libc/stdio/vfscanf.c: Ditto.
2516 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
2517 Change all previous callers of __sfvwrite. Set errno to EBADF and
2518 set error flag on if attempt is made to write to file that does not
2519 allow writing.
2520 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
2521 * libc/stdio/local.h: Ditto.
2522 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
2523 Set errno to EBADF and the error flag on if attempt is made to
2524 read unreadable file. Change all previous callers of __srefill.
2525 * libc/stdio/rget.c
2526 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
2527 all previous callers of __swbuf.
2528 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
2529 huge value macros are already defined correctly for i386 by <math.h>.
2530
c4cac45f
JJ
25312006-06-13 Sandra Loosemore <sandra@codesourcery.com>
2532
2533 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
2534 Make them do something useful in the ARM_RDI_MONITOR case.
2535
b5b6cbd8
JJ
25362006-06-07 Fred Fish <fnf@specifix.com>
2537
2538 * libc/search/hash_bigkey.c (MIN,MAX): Remove
2539 defines that are already supplied by <sys/param.h>.
2540
3cc3705c
JJ
25412006-06-07 Fred Fish <fnf@specifix.com>
2542
2543 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
2544
512c2879
JJ
25452006-06-05 Shaun Jackman <sjackman@gmail.com>
2546
2547 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
2548 usleep.c.
2549 * libc/posix/Makefile.in: Regenerate.
2550 * libc/posix/sleep.c: New file.
2551 * libc/posix/usleep.c: Ditto.
2552
6ea486a6
JJ
25532006-06-05 Shaun Jackman <sjackman@gmail.com>
2554
9eedc2e6 2555 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
6ea486a6
JJ
2556 -DABORT_PROVIDED flag.
2557 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
2558 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
2559
2e7c576a
JJ
25602006-06-05 Jeff Johnston <jjohnstn@redhat.com>
2561
2562 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
2563 * Makefile.in: Regenerated.
2564 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
2565 extraneous CFLAGS reference now that CCASFLAGS are being extended
2566 properly via multilib.
2567 * libc/machine/sh/Makefile.in: Regenerated.
2568
3feae7b1
JJ
25692006-06-02 Shaun Jackman <sjackman@gmail.com>
2570
2571 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
2572 sigismember.
2573
f383bda5
JJ
25742006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2575
2576 * libc/misc/dprintf.c: Removed.
2577 * libc/misc/__dprintf.c: Renamed from dprintf.c.
2578 * libc/misc/Makefile.am: Changed appropriately for rename.
2579 * libc/misc/Makefile.in: Regenerated.
2580
8eeee74e
JJ
25812006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2582
2583 * libc/include/stdio.h: Protect dprintf prototype
2584 with #ifndef dprintf so as to not interfere with
2585 historical code defining their own dprintf macro.
2586
dc7798c6
JJ
25872006-05-18 Jeff Johnston <jjohnstn@redhat.com>
2588
2589 * libc/include/stdio.h: Add prototypes for fiscanf,
2590 iscanf, and siscanf.
2591
e1b888df
JR
25922006-05-11 J"orn Rennecke <joern.rennecke@st.com>
2593
2594 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
2595 (DEF_NEWLIB_VERSION).
2596 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
2597 * configure: Regenerate.
2598
7f32c41d
JJ
25992006-05-09 Jeff Johnston <jjohnstn@redhat.com>
2600
2601 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
2602 lib_a_SOURCES.
2603 * libc/ctype/Makefile.in: Regenerated.
2604
bac01fc8
JJ
26052006-05-09 Kazu Hirata <kazu@codesourcery.com>
2606
2607 * libc/machine/arm/Makefile.am: Fix a typo.
2608 * libc/machine/arm/Makefile.in: Regenerated.
2609
6c47d5b7
JR
26102006-05-08 J"orn Rennecke <joern.rennecke@st.com>
2611
2612 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2613 * libc/machine/sh/Makefile.in: Regenerate.
2614
7cc7e374
JR
26152006-05-03 J"orn Rennecke <joern.rennecke@st.com>
2616
2617 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2618 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2619
a8b02d46
JJ
26202006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2621
2622 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2623 .s.
2624 * libc/sys/sysnec810/Makefile.in: Regenerated.
2625 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2626 * libc/sys/sysnec810/io.S: Ditto.
2627 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2628 * libc/sys/sysnec810/io.s: Ditto.
2629
8f8f1db1
JJ
26302006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2631
2632 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2633 be specified instead of object, do so.
2634 * libc/ctype/Makefile.am: Ditto.
2635 * libc/iconv/ccs/Makefile.am: Ditto.
2636 * libc/iconv/ces/Makefile.am: Ditto.
2637 * libc/iconv/lib/Makefile.am: Ditto.
2638 * libc/locale/Makefile.am: Ditto.
2639 * libc/posix/Makefile.am: Ditto.
2640 * libc/reent/Makefile.am: Ditto.
2641 * libc/search/Makefile.am: Ditto.
2642 * libc/stdio/Makefile.am: Ditto.
2643 * libc/stdio64/Makefile.am: Ditto.
2644 * libc/stdlib/Makefile.am: Ditto.
2645 * libc/string/Makefile.am: Ditto.
2646 * libc/syscalls/Makefile.am: Ditto.
2647 * libc/unix/Makefile.am: Ditto.
2648 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2649 prefix added automatically. Any specified rules must use $(lpfx) for
2650 object file names.
2651 * libc/machine/arm/Makefile.am: Ditto.
2652 * libc/machine/cris/Makefile.am: Ditto.
2653 * libc/machine/crx/Makefile.am: Ditto.
2654 * libc/machine/d10v/Makefile.am: Ditto.
2655 * libc/machine/d30v/Makefile.am: Ditto.
2656 * libc/machine/fr30/Makefile.am: Ditto.
2657 * libc/machine/frv/Makefile.am: Ditto.
2658 * libc/machine/h8300/Makefile.am: Ditto.
2659 * libc/machine/h8500/Makefile.am: Ditto.
2660 * libc/machine/hppa/Makefile.am: Ditto.
2661 * libc/machine/i386/Makefile.am: Ditto.
2662 * libc/machine/i960/Makefile.am: Ditto.
2663 * libc/machine/iq2000/Makefile.am: Ditto.
2664 * libc/machine/m32c/Makefile.am: Ditto.
2665 * libc/machine/m32r/Makefile.am: Ditto.
2666 * libc/machine/m68hc11/Makefile.am: Ditto.
2667 * libc/machine/m68k/Makefile.am: Ditto.
2668 * libc/machine/m88k/Makefile.am: Ditto.
2669 * libc/machine/mips/Makefile.am: Ditto.
2670 * libc/machine/mn10200/Makefile.am: Ditto.
2671 * libc/machine/mn10300/Makefile.am: Ditto.
2672 * libc/machine/mt/Makefile.am: Ditto.
2673 * libc/machine/necv70/Makefile.am: Ditto.
2674 * libc/machine/powerpc/Makefile.am: Ditto.
2675 * libc/machine/sh/Makefile.am: Ditto.
2676 * libc/machine/sh/Makefile.in: Ditto.
2677 * libc/machine/sparc/Makefile.am: Ditto.
2678 * libc/machine/tic4x/Makefile.am: Ditto.
2679 * libc/machine/tic80/Makefile.am: Ditto.
2680 * libc/machine/v850/Makefile.am: Ditto.
2681 * libc/machine/w65/Makefile.am: Ditto.
2682 * libc/machine/xscale/Makefile.am: Ditto.
2683 * libc/machine/xstormy16/Makefile.am: Ditto.
2684 * libc/machine/z8k/Makefile.am: Ditto.
2685 * libc/sys/a29khif/Makefile.am: Ditto.
2686 * libc/sys/arm/Makefile.am: Ditto.
2687 * libc/sys/d10v/Makefile.am: Ditto.
2688 * libc/sys/h8300hms/Makefile.am: Ditto.
2689 * libc/sys/h8500hms/Makefile.am: Ditto.
2690 * libc/sys/linux/Makefile.am: Ditto.
2691 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2692 * libc/sys/linux/net/Makefile.am: Ditto.
2693 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2694 * libc/sys/m88kbug/Makefile.am: Ditto.
2695 * libc/sys/mmixware/Makefile.am: Ditto.
2696 * libc/sys/rdos/Makefile.am: Ditto.
2697 * libc/sys/rtems/Makefile.am: Ditto.
2698 * libc/sys/sh/Makefile.am: Ditto.
2699 * libc/sys/sun4/Makefile.am: Ditto.
2700 * libc/sys/sysmec/Makefile.am: Ditto.
2701 * libc/sys/sysnec810/Makefile.am: Ditto.
2702 * libc/sys/sysnecv850/Makefile.am: Ditto.
2703 * libc/sys/sysvi386/Makefile.am: Ditto.
2704 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2705 * libc/sys/tic80/Makefile.am: Ditto.
2706 * libc/sys/w65/Makefile.am: Ditto.
2707 * libc/sys/z8ksim/Makefile.am: Ditto.
2708 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2709 * libc/machine/necv70/setjmp.S: Ditto.
2710 * libc/machine/necv70/fastmath.s: Removed.
2711 * libc/machine/necv70/setjmp.s: Ditto.
2712 * libc/machine/w65/*.S: New files renamed from .s files.
2713 * libc/machine/w65/*.s: Renamed and removed.
2714 * libc/sys/a29khif/*.S: New files renamed from .s files.
2715 * libc/sys/a29khif/*.s: Renamed and removed.
2716 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2717 * libc/sys/sysvi386/*.s: Renamed and removed.
2718 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2719 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2720 * libc/*Makefile.in: Regenerated as appropriate.
2721
b34db572
DD
27222006-04-24 DJ Delorie <dj@redhat.com>
2723
2724 * libc/machine/sh/configure.in: Avoid link tests.
2725 * libc/machine/sh/configure: Regenerate.
2726
e163e3e1
JJ
27272006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2728
2729 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2730 (sigaddset, sigemptyset): Add return code.
2731
7ad96224
JJ
27322006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2733
ba3ccd63
EB
2734 * acinclude.m4: New _NEWLIB_VERSION.
2735 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2736 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2737 Use new form of AC_INIT_AUTOMAKE.
2738 * configure.in: AC_PREREQ(2.59).
2739 Use autoconf-2.5.x version of AC_INIT.
2740 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2741 autoconf-2.13's AC_OUTPUT.
2742 * libm/configure.in: Ditto.
2743 * libm/machine/configure.in: Ditto.
2744 * libm/machine/i386/configure.in: Ditto.
2745 * libc/configure.in: Ditto.
2746 * libc/machine/a29k/configure.in: Ditto.
2747 * libc/machine/arm/configure.in: Ditto.
2748 * libc/machine/configure.in: Ditto.
2749 * libc/machine/mn10300/configure.in: Ditto.
2750 * libc/machine/powerpc/configure.in: Ditto.
2751 * libc/machine/z8k/configure.in: Ditto.
2752 * libc/machine/h8300/configure.in: Ditto.
2753 * libc/machine/mips/configure.in: Ditto.
2754 * libc/machine/crx/configure.in: Ditto.
2755 * libc/machine/m68hc11/configure.in: Ditto.
2756 * libc/machine/h8500/configure.in: Ditto.
2757 * libc/machine/xscale/configure.in: Ditto.
2758 * libc/machine/d10v/configure.in: Ditto.
2759 * libc/machine/fr30/configure.in: Ditto.
2760 * libc/machine/sh/configure.in: Ditto.
2761 * libc/machine/tic80/configure.in: Ditto.
2762 * libc/machine/m32r/configure.in: Ditto.
2763 * libc/machine/xstormy16/configure.in: Ditto.
2764 * libc/machine/i386/configure.in: Ditto.
2765 * libc/machine/d30v/configure.in: Ditto.
2766 * libc/machine/mn10200/configure.in: Ditto.
2767 * libc/machine/frv/configure.in: Ditto.
2768 * libc/machine/mt/configure.in: Ditto.
2769 * libc/machine/i960/configure.in: Ditto.
2770 * libc/machine/v850/configure.in: Ditto.
2771 * libc/machine/necv70/configure.in: Ditto.
2772 * libc/machine/tic4x/configure.in: Ditto.
2773 * libc/machine/cris/configure.in: Ditto.
2774 * libc/machine/m68k/configure.in: Ditto.
2775 * libc/machine/m32c/configure.in: Ditto.
2776 * libc/machine/hppa/configure.in: Ditto.
2777 * libc/machine/w65/configure.in: Ditto.
2778 * libc/machine/iq2000/configure.in: Ditto.
2779 * libc/machine/sparc/configure.in: Ditto.
2780 * libc/machine/m88k/configure.in: Ditto.
2781 * libc/sys/linux/configure.in: Ditto.
2782 * libc/sys/linux/machine/configure.in: Ditto.
2783 * libc/sys/linux/machine/i386/configure.in: Ditto.
2784 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2785 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2786 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2787 * libc/sys/arm/configure.in: Ditto.
2788 * libc/sys/configure.in: Ditto.
2789 * libc/sys/decstation/configure.in: Ditto.
2790 * libc/sys/a29khif/configure.in: Ditto.
2791 * libc/sys/sysnecv850/configure.in: Ditto.
2792 * libc/sys/d10v/configure.in: Ditto.
2793 * libc/sys/netware/configure.in: Ditto.
2794 * libc/sys/mmixware/configure.in: Ditto.
2795 * libc/sys/h8500hms/configure.in: Ditto.
2796 * libc/sys/sh/configure.in: Ditto.
2797 * libc/sys/tic80/configure.in: Ditto.
2798 * libc/sys/rdos/configure.in: Ditto.
2799 * libc/sys/sysmec/configure.in: Ditto.
2800 * libc/sys/sysvi386/configure.in: Ditto.
2801 * libc/sys/h8300hms/configure.in: Ditto.
2802 * libc/sys/sparc64/configure.in: Ditto.
2803 * libc/sys/arc/configure.in: Ditto.
2804 * libc/sys/sysnec810/configure.in: Ditto.
2805 * libc/sys/m88kbug/configure.in: Ditto.
2806 * libc/sys/sysvnecv70/configure.in: Ditto.
2807 * libc/sys/z8ksim/configure.in: Ditto.
2808 * libc/sys/rtems/configure.in: Ditto.
2809 * libc/sys/w65/configure.in: Ditto.
2810 * libc/sys/sun4/configure.in: Ditto.
2811 * doc/configure.in: Ditto.
2812 * iconvdata/configure.in: Ditto.
2813 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
7ad96224 2814
34e66679
JJ
28152006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2816
2817 * acinclude.m4: Properly add square brackets for
2818 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2819 macros no longer available. Add LIB_AM_PROG_AS to
2820 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2821 macro. Substitute lpfx (library object prefix).
2822 * configure.host: Set lpfx depending on whether
2823 libtool is used or not.
2824 * configure.in: Individually specify libc and libm
2825 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2826 necessary.
2827 * Makefile.am: Use $(lpfx) to get object names for
2828 math-library functions that should also be in libc.
2829 * libc/machine/configure.in: Use case statement to determine
2830 AC_CONFIG_SUBDIRS statement.
2831 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2832 * libc/sys/linux/machine/configure.in: Ditto.
2833 * libc/sys/configure.in: Ditto.
2834 * libm/machine/configure.in: Ditto.
2835 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2836 * libm/configure.in: Add AM_CONDITIONAL statement
2837 for HAVE_LIBM_MACHINE_DIR.
2838 * libc/machine/a29k/Makefile.am: Modified to work with
2839 latest automake. Change includes setting AM_CCASFLAGS
2840 so building .S files will properly pick up flags used
2841 to build C files.
2842 * libc/machine/arm/Makefile.am: Ditto.
2843 * libc/machine/crx/Makefile.am: Ditto.
2844 * libc/machine/d10v/Makefile.am: Ditto.
2845 * libc/machine/d30v/Makefile.am: Ditto.
2846 * libc/machine/fr30/Makefile.am: Ditto.
2847 * libc/machine/frv/Makefile.am: Ditto.
2848 * libc/machine/h8300/Makefile.am: Ditto.
2849 * libc/machine/h8500/Makefile.am: Ditto.
2850 * libc/machine/hppa/Makefile.am: Ditto.
2851 * libc/machine/i386/Makefile.am: Ditto.
2852 * libc/machine/iq2000/Makefile.am: Ditto.
2853 * libc/machine/m32c/Makefile.am: Ditto.
2854 * libc/machine/m32r/Makefile.am: Ditto.
2855 * libc/machine/m68hc11/Makefile.am: Ditto.
2856 * libc/machine/m68k/Makefile.am: Ditto.
2857 * libc/machine/m88k/Makefile.am: Ditto.
2858 * libc/machine/mips/Makefile.am: Ditto.
2859 * libc/machine/mn10200/Makefile.am: Ditto.
2860 * libc/machine/mn10300/Makefile.am: Ditto.
2861 * libc/machine/mt/Makefile.am: Ditto.
2862 * libc/machine/necv70/Makefile.am: Ditto.
2863 * libc/machine/powerpc/Makefile.am: Ditto.
2864 * libc/machine/sh/Makefile.am: Ditto.
2865 * libc/machine/sparc/Makefile.am: Ditto.
2866 * libc/machine/tic4x/Makefile.am: Ditto.
2867 * libc/machine/tic80/Makefile.am: Ditto.
2868 * libc/machine/v850/Makefile.am: Ditto.
2869 * libc/machine/w65/Makefile.am: Ditto.
2870 * libc/machine/xscale/Makefile.am: Ditto.
2871 * libc/machine/xstormy16/Makefile.am: Ditto.
2872 * libc/machine/z8k/Makefile.am: Ditto.
2873 * libc/sys/a29khif/Makefile.am: Ditto.
2874 * libc/sys/arc/Makefile.am: Ditto.
2875 * libc/sys/arm/Makefile.am: Ditto.
2876 * libc/sys/d10v/Makefile.am: Ditto.
2877 * libc/sys/decstation/Makefile.am: Ditto.
2878 * libc/sys/h8300hms/Makefile.am: Ditto.
2879 * libc/sys/h8500hms/Makefile.am: Ditto.
2880 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2881 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2882 * libc/sys/m88kbug/Makefile.am: Ditto.
2883 * libc/sys/mmixware/Makefile.am: Ditto.
2884 * libc/sys/netware/Makefile.am: Ditto.
2885 * libc/sys/rdos/Makefile.am: Ditto.
2886 * libc/sys/rtems/Makefile.am: Ditto.
2887 * libc/sys/sh/Makefile.am: Ditto.
2888 * libc/sys/sparc64/Makefile.am: Ditto.
2889 * libc/sys/sysmec/Makefile.am: Ditto.
2890 * libc/sys/sysnec810/Makefile.am: Ditto.
2891 * libc/sys/sysnecv850/Makefile.am: Ditto.
2892 * libc/sys/sysvi386/Makefile.am: Ditto.
2893 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2894 * libc/sys/tic80/Makefile.am: Ditto.
2895 * libc/sys/w65/Makefile.am: Ditto.
2896 * libc/sys/z8ksim/Makefile.am: Ditto.
2897 * libm/machine/i386/Makefile.am: Ditto.
2898 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
2899 trap.S so that automake will generate a .S.o suffix rule.
2900 * libc/argz/Makefile.am: Modified to work with
2901 latest automake. Change includes adding lib_a_CFLAGS
2902 so automake doesn't complain about libtool and non-libtool
2903 libraries sharing objects.
2904 * libc/ctype/Makefile.am: Ditto.
2905 * libc/errno/Makefile.am: Ditto.
2906 * libc/iconv/ccs/Makefile.am: Ditto.
2907 * libc/iconv/ces/Makefile.am: Ditto.
2908 * libc/iconv/lib/Makefile.am: Ditto.
2909 * libc/locale/Makefile.am: Ditto.
2910 * libc/misc/Makefile.am: Ditto.
2911 * libc/posix/Makefile.am: Ditto.
2912 * libc/reent/Makefile.am: Ditto.
2913 * libc/search/Makefile.am: Ditto.
2914 * libc/signal/Makefile.am: Ditto.
2915 * libc/stdio/Makefile.am: Ditto.
2916 * libc/stdio64/Makefile.am: Ditto.
2917 * libc/stdlib/Makefile.am: Ditto.
2918 * libc/string/Makefile.am: Ditto.
2919 * libc/sys/linux/Makefile.am: Ditto.
2920 * libc/sys/linux/argp/Makefile.am: Ditto.
2921 * libc/sys/linux/cmath/Makefile.am: Ditto.
2922 * libc/sys/linux/dl/Makefile.am: Ditto.
2923 * libc/sys/linux/iconv/Makefile.am: Ditto.
2924 * libc/sys/linux/intl/Makefile.am: Ditto.
2925 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2926 * libc/sys/linux/net/Makefile.am: Ditto.
2927 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2928 * libc/syscalls/Makefile.am: Ditto.
2929 * libc/time/Makefile.am: Ditto.
2930 * libc/unix/Makefile.am: Ditto.
2931 * libm/Makefile.am: Ditto.
2932 * libm/common/Makefile.am: Ditto.
2933 * libm/math/Makefile.am: Ditto.
2934 * libm/mathfp/Makefile.am: Ditto.
2935 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2936
b577ecdf
JJ
29372006-04-07 Jeff Johnston <jjohnstn@redhat.com>
2938
2939 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
2940 anymore. Assume there is a gettimeofday syscall.
2941
ef79d97d
JJ
29422006-03-29 Shaun Jackman <sjackman@gmail.com>
2943
2944 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
2945 for the declaration of n_long.
2946
15a1b33c
JJ
29472006-03-29 Shaun Jackman <sjackman@gmail.com>
2948
2949 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
2950 struct sockaddr.
2951 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
2952 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
2953 (IFF_NOTRAILERS): New define.
2954 (struct ifreq): Add ifru_netmask.
2955 (ifr_netmask): New define.
2956
bcc4ff05
JJ
29572006-03-29 Shaun Jackman <sjackman@gmail.com>
2958
2959 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
2960 match sys/ioctl.h.
2961
8fed3e2e
JJ
29622006-03-29 Shaun Jackman <sjackman@gmail.com>
2963
17c0c97d 2964 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
8fed3e2e
JJ
2965 linux-newlib libc implementations.
2966
6507c097
JJ
29672006-03-29 Eric Blake <ebb9@byu.net>
2968
2969 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
2970 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
2971
fac690be
JJ
29722006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2973
2974 * libc/sys/linux/io.c (__mknod): Fix declaration of
2975 syscall to pass a dev_t as third argument rather than
2976 a pointer to dev_t.
2977
9e443adb
JJ
29782006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2979
2980 * libc/sys/linux/net/name6.c: Fix struct references.
2981
ce93dfe4
MM
29822006-03-22 Mark Mitchell <mark@codesourcery.com>
2983
2984 * configure.host: Allow hosts to set the default
2985 newlib_atexit_dynamic_alloc value.
2986 * configure.in: Likewise.
2987 * configure: Regenerated.
2988
3078fb4f
MM
29892006-03-20 Mark Mitchell <mark@codesourcery.com>
2990
2991 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
2992 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
17c0c97d 2993 option.
3078fb4f
MM
2994 * configure: Regenerated.
2995 * newlib.hin: Regenerated.
2996 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
2997 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2998 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
2999 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3000
9d5cff74
JJ
30012006-03-17 Jeff Johnston <jjohnstn@redhat.com>
3002
3003 * libc/sys/linux/linuxthreads/config.h: Remove definition
3004 of UINT32_C.
3005
490cfb83
JJ
30062006-03-15 Jeff Johnston <jjohnstn@redhat.com>
3007
3008 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
3009 for a string I/O file that isn't using the asprintf family.
3010
ce10f178
JJ
30112006-03-07 Eric Blake <ebb9@byu.net>
3012
3013 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
3014 filename, allow read-only or write-only FILE atop O_RDWR file
3015 descriptor.
3016 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
3017
ddf12e6b
JJ
30182006-03-07 Jeff Johnston <jjohnstn@redhat.com>
3019
3020 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
3021 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
3022
cb197581
JJ
30232006-03-02 Jeff Johnston <jjohnstn@redhat.com>
3024
3025 * libm/math/math.tex: Fix reference to sisnan.def which
3026 is now in common subdirectory.
3027 * libm/mathfp/mathfp.tex: Ditto.
3028
e48682cf
JJ
30292006-02-27 Jeff Johnston <jjohnstn@redhat.com>
3030
17c0c97d 3031 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
e48682cf
JJ
3032 s_isnand, and sf_isnanf object files.
3033 * Makefile.in: Regenerated.
3034 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
3035 conflict if <math.h> has previously been included.
3036 * libc/include/math.h
bc88ea65
JJ
3037 * libc/include/math.h: Make isnan and isinf macros to
3038 conform to C99.
3039 (__isinfd, __isinff, __isnand, __isnanf): New functions.
e48682cf
JJ
3040 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
3041 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
17c0c97d 3042 sf_isinf files which have been moved from math/mathfp directories.
e48682cf
JJ
3043 * libm/common/Makefile.in: Regenerated.
3044 * libm/common/s_isinfd.c: New file.
3045 * libm/common/s_isnand.c: Ditto.
3046 * libm/common/sf_isinff.c: Ditto.
3047 * libm/common/sf_isnanf.c: Ditto.
3048 * libm/common/s_isinf.c: Moved from libm/math directory.
3049 * libm/common/s_isnan.c: Ditto.
3050 * libm/common/sf_isinf.c: Ditto.
3051 * libm/common/sf_isnan.c: Ditto.
3052 * libm/math/Makefile.am: Remove isinf and isnan family functions
3053 which have been moved into common directory.
3054 * libm/mathfp/Makefile.am: Ditto.
3055 * libm/math/Makefile.in: Regenerated.
3056 * libm/mathfp/Makefile.in: Ditto.
3057 * libm/math/s_isinf.c: Removed.
3058 * libm/math/s_isnan.c: Ditto.
3059 * libm/math/sf_isinf.c: Ditto.
3060 * libm/math/sf_isnan.c: Ditto.
3061 * libm/mathfp/s_isinf.c: Ditto.
3062 * libm/mathfp/s_isnan.c: Ditto.
3063 * libm/mathfp/sf_isinf.c: Ditto.
3064 * libm/mathfp/sf_isnan.c: Ditto.
3065
99db626d
JJ
30662006-02-20 Jeff Johnston <jjohnstn@redhat.com>
3067
3068 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
3069 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
3070 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
3071 seek, turn off the __SNPT no-optimization flag.
3072
49103e2b
JJ
30732006-02-16 Jeff Johnston <jjohnstn@redhat.com>
3074
3075 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
3076 will be defined.
3077 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
3078 <features.h> to preset special flags.
3079
680e0f1f
CV
30802006-02-15 Corinna Vinschen <corinna@vinschen.de>
3081
3082 * libc/include/sys/time.h (struct timeval): Change member types
3083 according to SUSv3.
3084 * libc/include/sys/types.h (useconds_t): Change to unsigned
3085 according to SUSv3.
3086 (suseconds_t): Define type.
3087
d6593503
JJ
30882006-02-13 Jeff Johnston <jjohnstn@redhat.com>
3089 David Carne <davidcarne@gmail.com>
3090
3091 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
3092 instead of strlen to determine number of bytes to copy.
3093 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
3094 before looking at storage location.
3095
9bbe6d5d
JJ
30962006-02-07 Paul Brook <paul@codesourcery.com>
3097
3098 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
3099 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
3100 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
3101 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
3102 * libc/sys/arm/trap.S: Disable for Thumb-2.
3103
d968b3c8
JJ
31042006-01-31 Leif Ekblad <leif@rdos.net>
3105
3106 * configure.host: RDOS support added
3107 * libc/include/sys/config.h: Ditto.
3108 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
3109 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
3110 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
3111 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
3112 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
3113 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
3114 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
3115 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
3116 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
3117 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
3118 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
3119 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
3120 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
3121 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
3122 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
3123 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
3124 * libc/sys/rdos/write.c: Ditto.
3125
3acaaf54
JJ
31262006-01-24 Jeff Johnston <jjohnstn@redhat.com>
3127
3128 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
3129 so as not to define PACKAGE and VERSION in newlib.h.
3130 * aclocal.m4: Regenerated.
3131 * configure: Ditto.
3132 * newlib.hin: Ditto.
3133
54abc854
JJ
31342006-01-20 Jeff Johnston <jjohnstn@redhat.com>
3135
3136 * acconfig.h: New file to generate newlib.hin from.
3137 * newlib.hin: Regenerated.
3138 * stamp-h.in: Regenerated.
3139 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
3140 called automatically.
3141 * Makefile.in: Regenerated.
3142 * acinclude.m4: Add proper comment for hack in previous change.
3143 * aclocal.m4 */aclocal.m4: Regenerated.
3144 * configure */configure: Regenerated.
3145
33c9cfbd
JJ
31462006-01-11 Jeff Johnston <jjohnstn@redhat.com>
3147
3148 * acinclude.m4: Add hack to prevent INSTALL in subdirs
3149 from being set to "../".
3150 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
3151 * aclocal.m4: Regenerated.
3152 * configure: Ditto.
3153 * Makefile.in: Ditto.
3154 * doc/aclocal.m4: Ditto.
3155 * doc/configure: Ditto.
3156 * iconvdata/aclocal.m4: Ditto.
3157 * iconvdata/configure: Ditto.
3158 * libc/*/aclocal.m4: Ditto.
3159 * libc/*/configure: Ditto.
3160 * libc/libc.texinfo: Ditto.
3161 * libm/*/aclocal.m4: Ditto.
3162 * libm/*/configure: Ditto.
3163
dea958bc
JJ
31642006-01-10 Eric Blake <ebb9@byu.net>
3165
3166 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
3167 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3168
216633f7
JJ
31692006-01-10 Jeff Johnston <jjohnstn@redhat.com>
3170
3171 * libm/mathfp/s_frexp.c: Check for special values on
3172 the original input, not the manipulated output value.
3173 * libm/mathfp/sf_frexp.c: Ditto.
3174 * libm/mathfp/s_atangent.c: Don't use local value branch
3175 when checking for quadrant.
3176 * libm/mathfp/sf_atangent.c: Ditto.
3177
64ae8ab5
JJ
31782006-01-09 Jeff Johnston <jjohnstn@redhat.com>
3179
3180 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
3181 * libc/stdio64/freopen64.c: Ditto.
3182
0da7297e
JJ
31832006-01-09 Eric Blake <ebb9@byu.net>
3184
3185 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
3186 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3187
a37aaf88
JJ
31882006-01-06 Jeff Johnston <jjohnstn@redhat.com>
3189
3190 * libc/sys/linux/include/getopt.h: Add macros needed by
3191 new version of getopt.c in libc/stdlib.
3192
791c9bda
JJ
31932006-01-04 Gregory Pietsch <gpietsch@comcast.net>
3194
3195 * libc/stdlib/getopt.c: Replaced with version
3196 that adds getopt_long and getopt_long_only support.
3197 * libc/include/getopt.h: New file.
3198
0217078f
JJ
31992005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3200
3201 * NEWS: Update with 1.14.0 info.
3202 * README: Ditto.
3203 * acinclude.m4: Change version number to 1.14.0.
3204 * aclocal.m4: Regenerated.
3205 * configure: Ditto.
3206 * doc/aclocal.m4: Ditto.
3207 * doc/configure: Ditto.
3208 * libc/*/aclocal.m4: Ditto.
3209 * libc/*/configure: Ditto.
3210 * libc/libc.texinfo: Ditto.
3211 * libm/*/aclocal.m4: Ditto.
3212 * libm/*/configure: Ditto.
3213 * libm/libm.texinfo: Ditto.
3214 * libc/sys/linux/shared.ld: Add VERS_1.14.
3215
a4cd7f20
JJ
32162005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3217
3218 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
3219 take a pointer to struct stat64 rather than struct stat.
3220
843e635a
JJ
32212005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
3222
3223 * libc/include/stdint.h: Prefer long over int for int32_t.
3224 Use __have_long32 to set up int32_t.
3225 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
3226 (Sync with stdint.h).
3227
10cba930
CV
32282005-12-14 Corinna Vinschen <corinna@vinschen.de>
3229
3230 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
3231 typo in O_NDELAY comment.
3232
c8ba5c22
JJ
32332005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3234
3235 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3236 * libc/include/machine/setjmp.h (__mt__): Likewise.
3237 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3238 * libc/machine/configure.in: Ditto.
3239
74ecef0d
NS
32402005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3241
3242 * configure.host: Replace ms1 arch with mt arch.
3243 * libc/machine/mt: Renamed from ms1 dir.
3244
2a1fc53c
JJ
32452005-12-08 Shaun Jackman <sjackman@gmail.com>
3246
3247 * libc/include/sys/types.h: Remove the ifdef armour around
3248 standard POSIX types.
3249
77e70d34
JJ
32502005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3251
3252 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3253 rtems_gxx_key_delete, rtems_gxx_getspecific,
17c0c97d
EB
3254 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3255 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
77e70d34
JJ
3256 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3257
b1da33a0
CF
32582005-12-05 Christopher Faylor <cgf@timesys.com>
3259
3260 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3261 file. Declare unsetenv and _unsetenv_r when not cygwin.
3262
6b1a6ec6
JJ
32632005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3264
3265 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3266 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3267
d7d477b7
CF
32682005-11-18 Christopher Faylor <cgf@timesys.com>
3269
3270 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3271
c1534dbe
CF
32722005-11-18 Christopher Faylor <cgf@timesys.com>
3273
3274 * include/time.h: Remove more cygwin-specific stuff.
3275
d3e81bda
CF
32762005-11-18 Christopher Faylor <cgf@timesys.com>
3277
3278 * include/time.h: Move cygwin declarations to cygwin-specific header.
3279 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3280
1396951b
JJ
32812005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3282
3283 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3284 in libc/sys/linux/include.
3285 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3286 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3287 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3288 in libc/sys/linux/dl.
3289
37bd11ed
CF
32902005-11-11 Christopher Faylor <cgf@timesys.com>
3291
3292 * libc/include/sys/time.h: For cygwin, use general header rather than
3293 specific "sys/select.h".
3294
b397593c
JJ
32952005-11-08 Tom Walsh <tom@openhardware.net>
3296
3297 * libc/time/tzvars.c: New file.
3298 * libc/time/tzset_r.c: Moved globals into tzvars.c
3299 so other time functions needn't link in __tzset_r and its
3300 dependencies.
3301 * libc/time/Makefile.am: Add the new file.
3302 * libc/time/Makefile.in: Regenerated.
3303
86c6c421
CF
33042005-11-08 Christopher Faylor <cgf@timesys.com>
3305
3306 * libc/include/string.h: Add cygwin-specific function declaration.
3307
ef1206e4
CV
33082005-11-07 Corinna Vinschen <corinna@vinschen.de>
3309
3310 * libc/include/ieeefp.h: Add C++ guards.
3311
15eaca1c
JJ
33122005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3313
3314 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
3315 * libc/unix/getlogin.c: Ditto.
3316 * libc/unix/getpass.c: Ditto.
3317 * libc/unix/getut.c: Ditto.
3318 * libc/unix/ttyname.c: Ditto.
3319
d31a8623
JJ
33202005-11-03 Shaun Jackman <sjackman@gmail.com>
3321
3322 * libc/include/sys/unistd.h (readlink, symlink): Provide these
3323 prototypes by default.
3324 * libc/sys/linux/include/unistd.h (readlink): Remove this
3325 prototype.
3326 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
3327 prototypes.
3328
71ac53ee
JJ
33292005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
3330
3331 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
3332
dc1b6289
JJ
33332005-10-31 Darin Johnson <darin@usa.net>
3334
3335 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
3336 correct for constants.
3337
884c0ff0
JJ
33382005-10-28 Bob Wilson <bob.wilson@acm.org>
3339
3340 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
3341 * libc/stdio/siscanf.c: Likewise.
3342 * libc/stdio/sprintf.c: Likewise.
3343 * libc/stdio/sscanf.c: Likewise.
3344 * libc/stdio/vfprintf.c: Likewise.
3345 * libc/stdio/vfscanf.c: Likewise.
3346 * libc/stdio/viprintf.c: Likewise.
3347 * libc/stdio/viscanf.c: Likewise.
3348
a9c15f6f
JJ
33492005-10-28 Bob Wilson <bob.wilson@acm.org>
3350
3351 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
3352 example to use "_end" symbol instead of "end". Change write example
3353 to use "outbyte" instead of "writechar".
3354
a306ebc9
JJ
33552005-10-28 Bob Wilson <bob.wilson@acm.org>
3356
3357 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
3358 * libc/ctype/islower.c: Likewise.
3359 * libc/ctype/isupper.c: Likewise.
3360 * libc/ctype/iswalnum.c: Likewise.
3361 * libc/ctype/iswalpha.c: Likewise.
3362 * libc/ctype/iswblank.c: Likewise.
3363 * libc/ctype/iswcntrl.c: Likewise.
3364 * libc/ctype/iswdigit.c: Likewise.
3365 * libc/ctype/iswgraph.c: Likewise.
3366 * libc/ctype/iswlower.c: Likewise.
3367 * libc/ctype/iswprint.c: Likewise.
3368 * libc/ctype/iswpunct.c: Likewise.
3369 * libc/ctype/iswspace.c: Likewise.
3370 * libc/ctype/iswupper.c: Likewise.
3371 * libc/ctype/iswxdigit.c: Likewise.
3372 * libc/ctype/tolower.c: Likewise.
3373 * libc/ctype/toupper.c: Likewise.
3374 * libc/ctype/towctrans.c: Likewise.
3375 * libc/ctype/towlower.c: Likewise.
3376 * libc/ctype/towupper.c: Likewise.
3377 * libc/string/strcasecmp.c: Likewise.
3378 * libc/string/strcoll.c: Likewise.
3379 * libc/string/strings.tex: Likewise.
3380 * libc/string/strlwr.c: Likewise.
3381 * libc/string/strncasecmp.c: Likewise.
3382 * libc/string/strupr.c: Likewise.
3383 * libc/string/wcscoll.c: Likewise.
3384 * libc/string/wcslcat.c: Likewise.
3385 * libc/string/wcslcpy.c: Likewise.
3386 * libc/string/wcsnlen.c: Likewise.
3387 * libc/string/wcsstr.c: Likewise.
3388 * libc/string/wcstrings.tex: Likewise.
3389 * libc/string/wmemchr.c: Likewise.
3390 * libc/string/wmemcmp.c: Likewise.
3391 * libc/string/wmemcpy.c: Likewise.
3392 * libc/string/wmemmove.c: Likewise.
17c0c97d 3393 * libc/string/wmemset.c: Likewise.
a306ebc9 3394
239c2bf9
JJ
33952005-10-28 Bob Wilson <bob.wilson@acm.org>
3396
3397 * libc/misc/unctrl.c: Replace FUNCTION description.
3398 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
3399 * libc/stdio/getdelim.c: Fix spelling errors.
3400 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
3401 * libc/stdio/putw.c: Likewise.
3402 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
ba3ccd63 3403 documentation.
239c2bf9
JJ
3404 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
3405 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
3406 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
3407 * libc/stdlib/mlock.c: Likewise.
3408 * libc/stdlib/mstats.c: Likewise.
3409 * libc/time/tzlock.c: Likewise.
3410 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
3411 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
ba3ccd63 3412 and hyphenate "pseudo-random".
239c2bf9
JJ
3413 * libc/string/bcmp.c: Remove extra blank lines in documentation.
3414 * libc/string/strncat.c: Likewise.
3415 * libc/string/memchr.c: Remove extra ">" character in documentation.
3416 * libc/string/strcspn.c: Use "characters" instead of "chars".
3417 * libc/string/strpbrk.c: Likewise.
3418 * libc/string/strerror_r.c: Capitalize "GNU".
3419 * libc/string/strnlen.c: Likewise.
3420 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
ba3ccd63 3421 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
239c2bf9
JJ
3422 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
3423 * libc/string/wcschr.c: Likewise.
3424 * libc/string/wcscmp.c: Likewise.
3425 * libc/string/wcscpy.c: Likewise.
3426 * libc/string/wcscspn.c: Likewise.
3427 * libc/string/wcslen.c: Likewise.
3428 * libc/string/wcsncat.c: Likewise.
3429 * libc/string/wcsncmp.c: Likewise.
3430 * libc/string/wcsncpy.c: Likewise.
3431 * libc/string/wcsnlen.c: Likewise.
3432 * libc/string/wcspbrk.c: Likewise.
3433 * libc/string/wcsrchr.c: Likewise.
3434 * libc/string/wcsspn.c: Likewise.
3435 * libc/string/wmemchr.c: Likewise.
3436 * libc/string/wmemcmp.c: Likewise.
3437 * libc/string/wmemcpy.c: Likewise.
3438 * libc/string/wmemset.c: Likewise.
3439 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
3440 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
3441 * libc/string/wcwidth.c: Likewise.
3442 * libm/common/s_modf.c: Remove extra period from documentation.
3443 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
ba3ccd63 3444 documentation.
239c2bf9
JJ
3445 * libm/mathfp/s_isnan.c: Likewise.
3446 * libm/math/s_ldexp.c: Fix punctuation.
3447 * libm/mathfp/s_ldexp.c: Likewise.
3448 * libm/math/w_log.c: Likewise.
3449 * libm/mathfp/s_logarithm.c: Likewise.
3450 * libm/math/w_j0.c: Add spaces to FUNCTION description.
17c0c97d 3451 * libm/mathfp/w_jn.c: Likewise.
239c2bf9 3452
2556eb8d
JJ
34532005-10-26 Shaun Jackman <sjackman@gmail.com>
3454
3455 * libc/posix/scandir.c (scandir): Update the function
3456 prototype to match the header.
3457 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
3458 extraneous #endif.
3459 * libc/sys/linux/sys/lock.h: Do not include
3460 machine/weakalias.h, since it's not used by this file.
3461
c9d71a8d
JJ
34622005-10-26 Jeff Johnston <jjohnstn@redhat.com>
3463
3464 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
3465 directories can override properly.
3466
09968b6d
JJ
34672005-10-20 Jeff Johnston <jjohnstn@redhat.com>
3468
3469 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
3470 gcc is 3.3 or greater, use special gcc builtins.
3471
c70571bd
CV
34722005-10-20 Corinna Vinschen <corinna@vinschen.de>
3473
3474 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
3475
a92822b7
CV
34762005-10-18 Corinna Vinschen <corinna@vinschen.de>
3477
3478 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
3479
d2c2c132
JJ
34802005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3481
3482 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
3483 * libm/common/Makefile.am: Add s_infconst.c support.
3484 * libm/common/Makefile.in: Regenerated.
3485 * libm/common/s_infconst.c: New file with float and
3486 long double infinity support added.
3487 * libm/math/Makefile.am: Remove s_infconst.c support.
3488 * libm/math/Makefile.in: Regenerated.
3489 * libm/math/s_infconst.c: Moved to common directory.
3490 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
3491 * libm/mathfp/Makefile.in: Regenerated.
3492 * libm/mathfp/s_infconst.c: Moved to common directory.
3493
4d57c1ed
JJ
34942005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3495
3496 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
3497 dbgprintf to prevent conflict with new dprintf function.
3498
1012585f
JJ
34992005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3500
3501 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
3502 "nan" processing for systems that have long double support.
3503
e9154015
JJ
35042005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3505
3506 * libc/sys/linux/sys/types.h (int8_t): Add type.
3507
1a869698
JJ
35082005-10-14 Bob Wilson <bob.wilson@acm.org>
3509
ba3ccd63
EB
3510 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
3511 * libm/common/Makefile.in: Regenerate.
3512 * libm/common/common.tex: Delete file.
3513 * libm/math/math.tex: Include .def files from common/.
3514 * libm/mathfp/mathfp.tex: Likewise.
1a869698 3515
e0811fb3
JJ
35162005-10-14 Bob Wilson <bob.wilson@acm.org>
3517
3518 * libc/libc.texinfo (Top): Surround this node with @ifnottex
3519 instead of @ifinfo. Update menu to add Introduction and match
3520 SUBDIRS order.
ba3ccd63 3521 (Introduction): New section.
e0811fb3 3522
e63c98c6
JJ
35232005-10-14 Bob Wilson <bob.wilson@acm.org>
3524
ba3ccd63
EB
3525 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
3526 with "Red Hat newlib C Library".
3527 * libc/sys.tex (Stubs): Likewise.
3528 * libm/math/math.tex (Math): Likewise.
3529 * libm/mathfp/mathfp.tex (Math): Likewise.
e63c98c6 3530
339195bf
JJ
35312005-10-11 Shaun Jackman <sjackman@gmail.com>
3532
3533 * libc/include/stdio.h (dprintf): New declaration.
3534 (vdprintf): Ditto.
3535 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
3536 and vdprintf.c.
3537 * libc/stdio/Makefile.in: Regenerate.
3538 * libc/stdio/dprintf.c: New file.
3539 * libc/stdio/vdprintf.c: New file.
3540 * libc/stdio/stdio.tex (dprintf): New entry.
3541
da71e518
JJ
35422005-10-11 David Weatherford <weath@tensilica.com>
3543
3544 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
17c0c97d 3545 Print "inf" and "nan" in lowercase for e/f/g formats and in
da71e518
JJ
3546 uppercase for E/F/G formats.
3547
f011605a
JJ
35482005-10-07 Bob Wilson <bob.wilson@acm.org>
3549
3550 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
3551 to ENOMEM on failure.
3552
bc037f3a
JJ
35532005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3554
3555 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
3556
c7e20979
JJ
35572005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
3558
3559 * libc/include/stdint.h: Move magic to set __have_long* to the
3560 beginning. Use #if __have* instead of #if defined(__have*).
3561 Minor typo fixes.
3562
58e78add
JJ
35632005-10-04 James E Wilson <wilson@specifix.com>
3564
3565 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
3566 #error.
3567
8afb8202
JJ
35682005-10-03 Jeff Johnston <jjohnstn@redhat.com>
3569
3570 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
3571 incorporate Ralf's change below.
3572
14491fd0
JJ
35732005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
3574
17c0c97d 3575 * libc/include/stdint.h:
14491fd0
JJ
3576 Use __INTMAX_TYPE__ to derive intmax_t.
3577 Use __UINTMAX_TYPE__ to derive uintmax_t.
3578 Fix minor typo.
3579
ee694aea
JJ
35802005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
3581
17c0c97d 3582 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
ee694aea
JJ
3583 handling GCC >= 4.
3584
9f1926f2
JJ
35852005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3586
3587 * libc/sys/linux/include/stdint.h: Update to match functionality
3588 of generic newlib stdint.h.
3589
0ce4fcef
JJ
35902005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3591
3592 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
3593 and do not #undef the macro after it is used. Fix typos.
3594 Also change 64-bit constants to use the __have_long64 and
3595 __have_longlong64 flags to determine if long or long long
3596 constants should be used.
3597 * libc/include/inttypes.h: Include stddef.h to get wchar_t
3598 type defined.
3599
17060817
JJ
36002005-09-20 Shaun Jackman <sjackman@gmail.com>
3601
3602 * libc/include/stdint.h: Fix typo in names of
3603 LEAST macros.
3604
1e1d1d3d
JJ
36052005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3606
3607 * libc/sys/rtems/include/inttypes.h: Moved to...
3608 * libc/include/inttypes.h: ...here.
3609
cddfc170
JJ
36102005-09-19 Jeff Johnston <jjohnstn@redhat.com>
3611
3612 * libc/sys/rtems/include/stdint.h: Moved to...
3613 * libc/include/stdint.h: ...here.
3614
b10ab725
JJ
36152005-09-08 Jeff Johnston <jjohnstn@redhat.com>
3616
3617 * Makefile.am: Add include files under bits sub-directory.
3618 * Makefile.in: Regenerated.
3619 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3620 actual value of 1 to be compatible with newer glibc headers.
3621 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3622 glibc headers.
3623 * libc/sys/linux/sys/dirent.h: Ditto.
3624 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3625 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3626 profile_fixup routines are marked used so they won't be
3627 optimized away.
3628 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3629 to mark functions as weak.
3630 * libc/sys/linux/dl/dl-open.c: Ditto.
3631 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3632 rules about lvalues.
3633 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3634 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3635 weak_extern macro to mark functions as weak. Instead always
3636 use #pragma weak.
3637 * iconvdata/jis0208.h: Fix to work with gcc4.
3638 * libc/sys/linux/dl/dl-load.c: Ditto.
3639 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3640 * libc/sys/linux/dl/do-rel.h: Ditto.
3641 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3642 * libc/sys/linux/include/ltdl.h: Ditto.
3643 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3644 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3645 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3646 * libc/sys/linux/bits/initspin.h: New file.
3647 * libc/sys/linux/bits/libc-lock.h: Ditto.
3648 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3649 * libc/sys/linux/bits/typesizes.h: Ditto.
3650
7b786e48
JJ
36512005-09-08 Eric Blake <ebb9@byu.net>
3652
3653 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3654 before is NULL.
3655
32b09d75
JJ
36562005-09-08 Brian Dessent <brian@dessent.net>
3657
3658 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3659 mantissa.
3660 * s_lrint.c: Ditto.
3661
8f36ef2f
JJ
36622005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3663
3664 * libc/include/stdio.h: Add prototype for viprintf.
3665
cebe43dd
JJ
36662005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3667
3668 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3669 any positive power results in 0.
3670 * libm/mathfp/sf_pow.c (powf): Ditto.
3671
45c8bb8f
JJ
36722005-08-31 Paul Brook <paul@codesourcery.com>
3673
3674 * configure.host: Set have_crt0 to no for Arm targts when not
3675 providing syscalls. Set sys_dir=arm unconditionally.
3676 Default have_crt0 based on sys_dir.
3677 * configure.in: Use have_crt0.
3678 * libc/configure.in: Ditto.
3679 * libc/sys/configure.in: Ditto.
3680 * configure: Regenerate.
3681 * libc/configure: Regenerate.
3682 * libc/sys/configure: Regenerate.
3683 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3684 Only build other files when providing syscalls.
3685 * libc/sys/arm/Makefile.in: Regenerate.
3686 * libc/sys/arm/aeabi_atexit.c: New file.
3687
dbeee890
CF
36882005-08-26 Christopher Faylor <cgf@timesys.com>
3689
3690 * libc/include/string.h: Revert previous change.
3691
377d3ea0
CF
36922005-08-25 Christopher Faylor <cgf@timesys.com>
3693
3694 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3695
4797a77c
JJ
36962005-08-22 Shaun Jackman <sjackman@gmail.com>
3697
3698 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3699 define _opendir as opendir, _readdir as readdir, and
3700 _closedir as closedir so that the implementations in
3701 libc/posix will be used.
3702
2e73582e
DD
37032005-08-10 DJ Delorie <dj@redhat.com>
3704
3705 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3706
234cf97f
JJ
37072005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3708
3709 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3710 * libm/common/s_max.c: Ditto.
3711 * libm/common/sf_fmin.c: Ditto.
3712 * libm/common/s_min.c: Ditto.
3713
56448afa
JJ
37142005-08-10 DJ Delorie <dj@redhat.com>
3715
3716 * configure.host: Add m32c support.
3717 * libc/include/machine/ieeefp.h: Likewise.
3718 * libc/include/machine/setjmp.h: Likewise.
3719 * libc/include/sys/config.h: Likewise.
3720 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3721 * libc/machine/m32c/aclocal.m4: New file.
3722 * libc/machine/m32c/configure: Ditto.
3723 * libc/machine/m32c/configure.in: Ditto.
3724 * libc/machine/m32c/Makefile.am: Ditto.
3725 * libc/machine/m32c/Makefile.in: Ditto.
3726 * libc/machine/m32c/setjmp.S: Ditto.
3727
0c5c6c23
JJ
37282005-08-02 Bob Wilson <bob.wilson@acm.org>
3729
ba3ccd63
EB
3730 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3731 to the value for 2^126.
0c5c6c23 3732
12499c7a
HPN
37332005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3734
3735 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3736 used.
3737
395a327d 37382005-07-20 Bob Wilson <bob.wilson@acm.org>
ba3ccd63 3739 Darin Petkov <darin@tensilica.com>
395a327d
JJ
3740
3741 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3742
108d7dd8
JJ
37432005-07-19 Paul Brook <paul@codesourcery.com>
3744
3745 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3746
b776efc5
JJ
37472005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3748
3749 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3750 names after PASS and FAIL which do not depend on source directory
3751 name or on whether test passed or failed.
3752 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3753
88540e24
JJ
37542005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3755
3756 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3757
85d62190 37582005-07-07 Shaun Jackman <sjackman@gmail.com>
b32adfc5 3759
88540e24 3760 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
b32adfc5
JJ
3761 twice for the same directory. _closedir calls free, and freeing
3762 the same pointer twice may cause a crash.
3763
dee9edd9
AH
37642005-07-06 Aldy Hernandez <aldyh@redhat.com>
3765
ba3ccd63
EB
3766 * configure.host: Added entry for ms1*.
3767 * libc/include/machine/ieeefp.h: Handle ms1.
3768 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3769 * libc/machine/ms1/aclocal.m4: New.
3770 * libc/machine/ms1/configure: New.
3771 * libc/machine/ms1/configure.in: New.
3772 * libc/machine/ms1/Makefile.am: New.
3773 * libc/machine/ms1/Makefile.in: New.
3774 * libc/machine/ms1/setjmp.S: New.
dee9edd9 3775
cec1d3b4
JJ
37762005-07-04 Mark Mitchell <mark@codesourcery.com>
3777
3778 * Makefile.am (site.exp): Set tmpdir.
3779 * Makefile.in: Regenerated.
3780 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3781 executables in $tmpdir.
3782 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3783 libgloss version if not running in the build directory.
3784 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3785 $tmpdir.
3786 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3787 in $tmpdir.
3788
25d209f1
JJ
37892005-06-28 Dave Korn <dave.korn@artimi.com>
3790
3791 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3792 and miscalculation caused by fp representation of zero.
3793 * libm/common/sf_lrint.c (lrintf): Likewise.
3794
68cdbb18
JJ
37952005-06-16 Christopher Faylor <cgf@timesys.com>
3796
3797 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3798 determine characteristics of long double. Use a union instead.
3799 * ldtoa.c (_ldtoa_r): Ditto.
3800 (_ldcheck): Ditto.
3801 (_strtold): Ditto.
3802 (union uconv): New union.
3803
15c04fd1
JJ
38042005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3805
3806 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3807 instead of memcpy.
3808
cf55bf5e
JJ
38092005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3810
3811 * configure.host (mn10300-*): Add long long I/O support by default.
3812
b6e654c4
JJ
38132005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3814
3815 * libc/sys/linux/getpwuid.c: Removed.
3816 * libc/sys/linux/getpwnam.c: Removed.
3817 * libc/sys/linux/getpwent.c: New file containing logic
3818 from files removed above. This allows overriding of file
3819 in libc/unix.
3820 * libc/sys/linux/Makefile.am: Support changes above.
3821 * libc/sys/linux/Makefile.in: Regenerated.
3822
5456408b
JJ
38232005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3824
3825 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3826 when checking for multiple flags.
3827
1c74754f
HPN
38282005-04-18 Hans-Peter Nilsson <hp@axis.com>
3829
3830 * configure.host <cris-*-* | crisv32-*-*>: Set
ba3ccd63 3831 default_newlib_io_long_long="yes".
1c74754f 3832
6e75bff6
JJ
38332005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3834
3835 * libc/include/libgen.h: New file.
3836
38372005-04-08 Shaun Jackman <sjackman@gmail.com>
3838
3839 * libc/unix/Makefile.am: Add support for basename and dirname.
3840 * libc/unix/Makefile.in: Regenerated.
3841 * libc/unix/basename.c: New file.
3842 * libc/unix/dirname.c: New file.
3843
95c136c4
JJ
38442005-04-07 Shaun Jackman <sjackman@gmail.com>
3845
3846 * libc/sys/linux/inode.c (lchown): New function.
3847
9ae26f7e
JJ
38482005-04-07 Shaun Jackman <sjackman@gmail.com>
3849
3850 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3851 ELIX level is defined.
3852 * libc/unix/Makefile.in: Regenerated.
3853
85da7039
JJ
38542005-04-05 Dave Korn <dave.korn@artimi.com>
3855
3856 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3857 something that looks like a "NaN", put back the characters processed.
3858
fefc73a0
CV
38592005-04-01 Corinna Vinschen <corinna@vinschen.de>
3860
3861 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3862
e633fde1
CF
38632005-03-23 Christopher Faylor <cgf@timesys.com>
3864
3865 * configure.host: For cygwin, redefine CC with cygwin include directory
3866 first to mimic the behavior of the top-level configury. Move include
3867 directory out of newlib_cflags.
3868
859c94e8
JJ
38692005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3870
3871 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
17c0c97d 3872 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
859c94e8
JJ
3873 than errno.
3874
7e3fd32b
CF
38752005-03-22 Christopher Faylor <cgf@timesys.com>
3876
3877 * libc/include/machine/_types.h: Make trivial change to comment to
3878 avoid a spurious warning from gcc.
3879
d4eb8920
JJ
38802005-03-21 Nicholas Wourms <nwourms@netscape.net>
3881
3882 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
3883 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
3884 reent.h include.
3885
45030958 38862005-03-18 Hans-Peter Nilsson <hp@axis.com>
ba3ccd63 3887 Corinna Vinschen <corinna@vinschen.de>
45030958 3888
ba3ccd63
EB
3889 * libc/include/ctype.h: Remove invalid +1 offset from
3890 ctype macro references to __ctype_ptr.
3891 (_ctype_): Move declaration outside #ifndef __cplusplus.
45030958 3892
5c9b5ac7
CV
38932005-03-18 Corinna Vinschen <corinna@vinschen.de>
3894
3895 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
3896 evaluate first parameter only once.
3897 (siglongjmp): Ditto.
3898
dd801fda
JJ
38992005-03-17 Jeff Johnston <jjohnstn@redhat.com>
3900
3901 * configure.in: Add new check to see if compiler supports
3902 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
3903 * configure: Regenerated.
3904 * Makefile.in: Ditto.
3905 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
3906 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
3907 aliasing the _ctype_ array to _ctype_b.
3908 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
3909 _ctype_ as deprecated.
3910
333eabc6
HPN
39112005-03-17 Hans-Peter Nilsson <hp@axis.com>
3912
3913 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3914 -DCOMPACT_CTYPE.
3915
df5a5b35
JJ
39162005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3917
3918 * libc/sys/rtems/include/inttypes.h: New file.
3919 * libc/sys/rtems/include/stdint.h: Ditto.
3920
9d385fb0
JJ
39212005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3922
3923 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3924
2e7d9bf9
JJ
39252005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3926
3927 * libc/include/machine/_types.h: New file.
3928 * libc/include/sys/types.h: Do not check for __rtems__
3929 when including <machine/_types.h>. Remove some redundant
3930 declarations now that <machine/_types.h> is included.
3931 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3932 shared header file.
3933
92a7e06e
JJ
39342005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
3935
3936 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
3937 L qualifier for these long constants.
3938
1139537a
JJ
39392005-02-25 Eric Blake <ebb9@byu.net>
3940
3941 * libc/include/time.h (__tzrule_struct): Make offset long, since
3942 a 16-bit int overflows on a 12-hour offset.
3943 * libc/sys/linux/include/time.h: Ditto.
3944 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
3945 * libc/time/mktm_r.c: Ditto.
3946 * libc/time/gettzinfo.c: Ditto.
3947 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
3948 years. Fix '%z' to use long, not int.
3949
f4fd7b4c
JJ
39502005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3951
3952 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
3953 manipulate float values in integer form.
3954 * libm/common/sf_round.c: Ditto.
3955
f2f8a9a2
JJ
39562005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3957
3958 * libc/include/sys/types.h [__rtems__]: Include new
3959 header file machine/_types.h.
3960 * libc/include/machine/types.h: Ditto.
3961 * libc/sys/rtems/machine/_types.h: New file.
3962
39fd43d7
CV
39632005-02-23 Corinna Vinschen <corinna@vinschen.de>
3964
3965 * libc/include/time.h (_timezone): Change to long also for Cygwin.
3966 (timezone): Drop cast from definition.
3967
6b9a74f9
JJ
39682005-02-23 Jeff Johnston <jjohnstn@redhat.com>
3969
3970 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
3971 (__tzrule_type, __tzinfo_type): New types.
3972 (__gettzinfo): New function.
3973 * libc/sys/linux/include/time.h: Ditto.
3974 * libc/time/Makefile.am: Add gettzinfo.c.
3975 * libc/time/Makefile.in: Regenerated.
3976 * libc/time/local.h: Moved __tzrule_type to time.h.
3977 * libc/time/mktime.c: Call __gettzinfo to reference
3978 __tznorth, __tzyear, and __tzrule array.
3979 * libc/time/mktm_r.c: Ditto.
3980 * libc/time/strftime.c: Ditto.
3981 * libc/time/tzset_r.c: Ditto. Also remove definition
3982 of __tzrule which is now in gettzinfo.c. Change _timezone
3983 references to not cast to time_t.
3984 * libc/time/gettzinfo.c: New file.
3985
6015cf9f
CV
39862005-02-23 Corinna Vinschen <corinna@vinschen.de>
3987
3988 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
3989
5e4c05da
CV
39902005-02-22 Corinna Vinschen <corinna@vinschen.de>
3991
3992 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
3993
f1d439fc
JJ
39942005-02-16 Eric Blake <ebb9@byu.net>
3995
3996 * libc/time/time.tex: Improve the documentation.
3997 * libc/time/strftime.c: Improve the documentation.
3998 (iso_year_adjust): New helper function.
3999 (strftime): Simplify '%E' and '%O'. Change '%c' to use
4000 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
4001 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
4002 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
4003 Avoid core dumps on valid inputs (maxsize == 0, or
4004 tim_p->tm_isdst > 1).
4005
18d3a03b
CV
40062005-02-08 Corinna Vinschen <corinna@vinschen.de>
4007
4008 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
4009 members to uid_t and gid_t according to SUSv3.
4010 * libc/include/sys/time.h (utimes): Change second parameter
4011 to const according to SUSv3.
4012
1159e0fd
JJ
40132005-02-07 Antony King <antony.king@st.com>
4014
4015 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
4016 called before _flockfile to prevent lock object use before
4017 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
4018 take a struct _reent * instead of a FILE *.
4019 * libc/stdio/fclose.c (_fclose_r): Ditto.
4020 * libc/stdio/feof.c (feof): Ditto.
4021 * libc/stdio/ferror.c (ferror): Ditto.
4022 * libc/stdio/fflush.c (fflush): Ditto.
4023 * libc/stdio/fgetc.c (fgetc): Ditto.
4024 * libc/stdio/fgets.c (fgets): Ditto.
4025 * libc/stdio/fileno.c (fileno): Ditto.
4026 * libc/stdio/fputc.c (fputc): Ditto.
4027 * libc/stdio/fputs.c (fputs): Ditto.
4028 * libc/stdio/fread.c (fread): Ditto.
4029 * libc/stdio/freopen.c (_freopen_r): Ditto.
4030 * libc/stdio/fseek.c (_fseek_r): Ditto.
4031 * libc/stdio/ftell.c (_ftell_r): Ditto.
4032 * libc/stdio/fwrite.c (fwrite): Ditto.
4033 * libc/stdio/getc.c (getc): Ditto.
4034 * libc/stdio/getdelim.c (__getdelim): Ditto.
4035 * libc/stdio/putc.c (putc): Ditto.
4036 * libc/stdio/setvbuf.c (setvbuf): Ditto.
4037 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
4038 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
4039 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
4040 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
4041 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
4042 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
4043 _reent * instead of a FILE * and so replace incorrect use of
4044 _REENT with argument.
4045 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
4046 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
4047 CHECK_INIT() take a struct _reent * instead of a FILE *.
4048 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
4049 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
4050 * libc/stdio/perror.c (perror): Ditto.
4051 * libc/stdio/printf.c (printf, _printf_r): Ditto.
4052 * libc/stdio/putchar.c (putchar): Ditto.
4053 * libc/stdio/puts.c (puts): Ditto.
4054 * libc/stdio/refill.c (__srefill): Ditto.
4055 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
4056 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
4057 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
4058 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
4059 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
4060 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
4061 * libc/stdio/wbuf.c (__swbuf): Ditto.
4062 * libc/stdio/wsetup.c (__swsetup): Ditto.
4063 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
4064 * libc/stdlib/mstats.c (_mstats_r): Ditto.
4065 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
4066 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
4067 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
4068 to _flockfile and _funlockfile; rely on locking in _ftell_r.
4069 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
4070 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
4071 initialision of _data field in FILE structure.
4072 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
4073
3d915670
JJ
40742005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4075
4076 * libc/stdio/findfp.c (__sinit): Protect with new lock.
4077 (__sinit_lock): New lock.
4078 (__sinit_lock_acquire, __sinit_lock_release): New functions.
4079 * libc/stdio/local.h: Add reference to new __sinit locking
4080 functions.
4081
b59cab1e
JJ
40822005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4083
4084 * libc/include/math.h (isfinite, isnormal, isunordered): Change
4085 input variable names to avoid mixups with nesting macros.
4086
1815fdea
JJ
40872005-01-27 Hans-Peter Nilsson <hp@axis.com>
4088
4089 * configure.host: Add support for cris-*-* and crisv32-*-*.
4090 * libc/include/machine/ieeefp.h: Ditto.
4091 * libc/include/machine/setjmp.h: Ditto.
4092 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
4093 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
4094 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
4095 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
4096 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
4097 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
4098 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
4099 files.
4100
f7d4d41a
JJ
41012005-01-27 Hans-Peter Nilsson <hp@axis.com>
4102
4103 * testsuite/newlib.string/memmove1.c: New test.
4104
1319dec6
JJ
41052005-01-27 Hans-Peter Nilsson <hp@axis.com>
4106
4107 * testsuite/include/check.h: Include stdlib.h.
4108
b45e65b0
JJ
41092005-01-27 Hans-Peter Nilsson <hp@axis.com>
4110
4111 * Makefile.am (stmp-targ-include): Support include header files
4112 from machine directories.
e9743354 4113 (install-data-local): Ditto.
b45e65b0
JJ
4114 * Makefile.in: Regenerate.
4115
dbfa92dd
JJ
41162005-01-24 Jeff Johnston <jjohnstn@redhat.com>
4117
4118 * libc/include/string.h: Remove Linux-specific declaration of
4119 strsignal and add #include <sys/string.h>.
4120 * libc/include/sys/string.h: New file.
4121 * libc/include/sys/linux/sys/string.h: New file with strsignal
4122 declaration deleted above.
4123
6cb0c055
JJ
41242005-01-20 Jeff Johnston <jjohnstn@redhat.com>
4125
4126 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
4127 to POSIX standard for "C" locale. Allow %E and %O modifiers
4128 to be ignored as long as they precede valid specifiers according
4129 to POSIX.
4130
52429807
JJ
41312005-01-19 Shaun Jackman <sjackman@gmail.com>
4132
4133 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4134 environment variable is set.
4135
f693170a
JJ
41362005-01-19 Shaun Jackman <sjackman@gmail.com>
4137
ba3ccd63 4138 * tzset_r.c (_tzname): Add a comma.
f693170a 4139
464d01bf
AH
41402005-01-18 Aldy Hernandez <aldyh@redhat.com>
4141
4142 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
4143 _VFPRINTF_R.
4144
f7a74742 41452005-01-07 Paul Brook <paul@codesourcery.com>
17c0c97d 4146
f7a74742
JJ
4147 * configure.in: Add test for .init_array.
4148 * configure: Regenerate.
4149 * newlib.hin: Add HAVE_INITFINI_ARRAY.
4150 * libc/misc/Makefile.am: Add init.c
4151 * libc/misc/Makefile.in: Regenerate.
4152 * libc/misc/init.c: New file.
4153 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
4154 _init/_fini if they exist.
17c0c97d 4155
8fa6cb9a
JJ
41562005-01-06 Jeff Johnston <jjohnstn@redhat.com>
4157
4158 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
4159 * (strtof): Ditto.
4160 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
4161 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
4162 functions for use by strtod and strtof.
4163 * Makefile.in: Regenerated.
17c0c97d 4164
034a3909 41652005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4166
034a3909
JJ
4167 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
4168 bit-test in combination with NULL test.
17c0c97d 4169
9918ea2d 41702005-01-06 Hans-Peter Nilsson <hp@axis.com>
17c0c97d 4171
ba3ccd63 4172 * README: Fix typo of LGPL. Change "license" to "copyright".
17c0c97d 4173
5cc3f592
JJ
41742004-12-17 Jeff Johnston <jjohnstn@redhat.com>
4175
4176 * NEWS: Update with 1.13.0 info.
4177 * README: Ditto.
4178 * acinclude.m4: Change version number to 1.13.0.
4179 * aclocal.m4: Regenerated.
4180 * configure: Ditto.
4181 * doc/aclocal.m4: Ditto.
4182 * doc/configure: Ditto.
4183 * libc/*/aclocal.m4: Ditto.
4184 * libc/*/configure: Ditto.
4185 * libc/libc.texinfo: Ditto.
4186 * libm/*/aclocal.m4: Ditto.
4187 * libm/*/configure: Ditto.
4188 * libm/libm.texinfo: Ditto.
4189 * libc/sys/linux/shared.ld: Add VERS_1.13.
4190
d8ae996c
JJ
41912004-12-17 Christian Groessler <chris@groessler.org>
4192
4193 * libc/machine/z8k/memcmp.S: New file.
4194 * libc/machine/z8k/memcpy.S: Ditto.
4195 * libc/machine/z8k/memmove.S: Ditto.
4196 * libc/machine/z8k/memset.S: Ditto.
4197 * libc/machine/z8k/Makefile.am: Add new files.
4198 * libc/machine/z8k/Makefile.in: Regenerated.
4199 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
4200 part. Implement Z8002 stdcall version.
4201
82673116
JJ
42022004-12-13 Jeff Johnston <jjohnstn@redhat.com>
4203
4204 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
4205 a low-level read if we don't get the full amount of bytes so
4206 EOF or error flags will be set.
4207
0082d4cf
JJ
42082004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
4209
4210 * libc/time/tzset_r (_tzset_r): Properly skip over
4211 '/' when it is detected.
4212
3b54b74f
JJ
42132004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4214
4215 * libc/time/tzset_r (_tzset_r): Fix loop.
4216
4b30e154
JJ
42172004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4218
4219 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
4220 m_day.
4221 (__tzcalc_limits): Fix reference to month array to be zero-based.
4222
465eab2e
JJ
42232004-12-07 Jeff Johnston <jjohnstn@redhat.com>
4224
4225 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
4226 and usleep.
4227
a2b1a849
JJ
42282004-12-03 Jeff Johnston <jjohnstn@redhat.com>
4229
4230 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
4231 libgcc dependencies.
4232 (libm_la_LDFLAGS): Ditto.
4233 * Makefile.in: Regenerated.
4234
c80a1731
JJ
42352004-12-03 Shaun Jackman <sjackman@gmail.com>
4236
4237 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4238 our link to use readlink so as to preserve any relative link created
4239 by install-toollibLIBRARIES.
4240 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4241
70e9da42
JJ
42422004-12-02 Shaun Jackman <sjackman@gmail.com>
4243
4244 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4245 time_t before including sys/stat.h, which uses it.
4246 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4247 <linux/time.h> just prior to definition of __KERNEL__ so as to
4248 allow building on Debian Linux where otherwise, mktime would
4249 be redefined.
4250
a330d85a
JJ
42512004-11-26 Paul Brook <paul@codesourcery.com>
4252
4253 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
17c0c97d 4254
c41a1cb7
JJ
42552004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4256
4257 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
9aa189be 4258 const for value string parameter to match Single Unix and glibc.
c41a1cb7
JJ
4259 * libc/stdlib/putenv.c: Ditto.
4260 * libc/stdlib/putenv_r.c: Ditto.
4261
16ac96ee
JJ
42622004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4263
4264 * libc/stdio/Makefile.am: Fix missing vfscanf.
4265 * libc/stdio/Makefile.in: Regenerated.
17c0c97d 4266
3bf09147 42672004-11-23 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 4268
3bf09147
JJ
4269 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4270 do some reordering.
4271 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4272 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4273 family functions.
4274 * libc/stdio/Makefile.in: Regenerated.
4275 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4276 * libc/stdio/iprintf.c: Ditto.
4277 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4278 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4279 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4280 * libc/stdio/stdio.tex: Add new functions.
4281 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4282 file and add special name defines so this file can be used
4283 to build vfiscanf.o.
4284 * libc/stdio/asiprintf.c: New file.
4285 * libc/stdio/fiscanf.c: Ditto.
4286 * libc/stdio/iscanf.c: Ditto.
4287 * libc/stdio/sccl.c: Ditto.
4288 * libc/stdio/siscanf.c: Ditto.
4289 * libc/stdio/vasiprintf.c: Ditto.
4290 * libc/stdio/viprintf.c: Ditto.
4291 * libc/stdio/viscanf.c: Ditto.
4292 * libc/stdio/vsiprintf.c: Ditto.
4293 * libc/stdio/vsiscanf.c: Ditto.
4294 * libc/stdio/vsniprintf.c: Ditto.
4295
0f0fcb04 42962004-11-19 Shaun Jackman <sjackman@gmail.com>
17c0c97d 4297
ba3ccd63
EB
4298 * libc/include/stdio.h: Add sniprintf.
4299 * libc/stdio/Makefile.am: Add sniprintf.c.
4300 * libc/stdio/Makefile.in: Regenerated.
4301 * libc/stdio/sniprintf.c: New file.
4302 * libc/stdio/stdio.tex: Add sniprintf.
17c0c97d 4303
1f8f7e2d
CF
43042004-11-17 Christopher Faylor <cgf@timesys.com>
4305
4306 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4307 EOF flag if successful.
4308
b08d08c7
CF
43092004-10-28 Christopher Faylor <cgf@timesys.com>
4310
4311 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
334ba104 4312 so that all relevant definitions have been performed for use in the
b08d08c7
CF
4313 include.
4314
65b1964f
JJ
43152004-10-26 Jason Tishler <jason@tishler.net>
4316
4317 * libc/stdio/fread.c (fread): Fix return value for unbuffered
4318 fread.
4319
6382b7e3 43202004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
06b5ef6e
JJ
4321
4322 * libc/include/machine/setjmp.h: Add AVR support.
4323 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
4324
73131c2d 43252004-10-08 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 4326
ba3ccd63
EB
4327 * libc/include/sys/signal.h: If <signal.h> didn't include
4328 this header file, include <signal.h> to account for
4329 applications that take advantage that the two header
4330 files are the same in glibc.
17c0c97d 4331
1185687a
JJ
43322004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
4333
ba3ccd63
EB
4334 * configure.host: Add support for crx.
4335 * libc/include/machine/ieeefp.h: Ditto.
4336 * libc/include/machine/setjmp.h: Ditto.
4337 * libc/machine/crx/Makefile.am: New file.
4338 * libc/machine/crx/configure.in: Ditto.
4339 * libc/machine/crx/setjmp.S: Ditto.
4340 * libc/machine/crx/getenv.c: Ditto.
4341 * libc/machine/crx/aclocal.m4: Generate.
4342 * libc/machine/crx/configure: Ditto.
4343 * libc/machine/crx/Makefile.in: Ditto.
4344 * libc/machine/crx/sys/asm.h: New file.
4345 * libc/machine/crx/sys/libh.h: Ditto.
4346 * libc/machine/crx/sys/syscall.h: Ditto.
1185687a 4347
423152ed
JJ
43482004-10-05 Jeff Johnston <jjohnstn@redhat.com>
4349
4350 * Makefile.am (stmp-targ-include): Support sys header files
4351 from machine directories.
4352 * Makefile.in: Regenerated.
4353
3ea9de76
JJ
43542004-10-04 Jeff Johnston <jjohnstn@redhat.com>
4355
4356 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4357 count skipped zero characters as part of the nread count for %n.
4358 * libc/machine/powerpc/vfscanf.c: Ditto.
4359
2a6e1223
JJ
43602004-09-24 Jeff Johnston <jjohnstn@redhat.com>
4361
4362 * libc/stdio/local.h: Include <stdlib.h>.
4363
d163f2fc
CV
43642004-09-24 Corinna Vinschen <corinna@vinschen.de>
4365
4366 * libc/stdio/fread.c (fread): Include <malloc.h>.
4367
602de582
JJ
43682004-09-22 Jeff Johnston <jjohnstn@redhat.com>
4369
4370 * libc/stdio/fread.c (fread): For non-space-optimized case,
4371 add special code for unbuffered files to use user buffer and
4372 only require one low-level system read.
4373
32e73f4d
ILT
43742004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
4375
4376 * libc/machine/xscale/setjmp.S: New file, copied from
4377 libc/machine/arm/setjmp.S.
4378 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
4379 * libc/machine/xscale/Makefile.in: Regenerate.
4380
ed6859b8
JJ
43812004-09-16 Antony King <antony.king@st.com>
4382
4383 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
4384 with locking API.
17c0c97d 4385 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
ed6859b8
JJ
4386 check for__SSTR in _flags and if set, skip lock request.
4387 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4388 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
4389 not NULL.
4390 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
4391 initialisation of _file to -1 in local FILE.
4392 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
4393 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
4394 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4395 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4396 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
4397 _flags in local FILE to prevent locking.
4398 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4399
7a0f6966
JJ
44002004-09-16 Antony King <antony.king@st.com>
4401
4402 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
4403 and only walk the reentrancy parameter.
4404 (_fwalk_reent): Ditto.
4405 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
4406
c77672c0
JJ
44072004-09-16 Antony King <antony.king@st.com>
4408
4409 * libc/stdio64/freopen64.c: Remove casting of fp lock to
4410 _LOCK_RECURSIVE_T.
4411
5c44c2e5
JJ
44122004-09-16 Antony King <antony.king@st.com>
4413
4414 * libc/time/tzlock.c: Add default stubs that use generic
4415 locking code.
4416
14613e5e
JJ
44172004-09-16 Antony King <antony.king@st.com>
4418
4419 * libc/ctype/ctype.tex: Added missing documentation.
4420 * libc/stdio/stdio.tex Ditto.
4421 * libc/stdlib/stdlib.tex Ditto.
4422 * libc/string/strings.tex Ditto.
4423 * libc/time/time.tex: Ditto.
4424 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
4425
181cb051
JJ
44262004-09-15 Corinna Vinschen <vinschen@redhat.com>
4427
4428 * libc/reent/impure.c (reent_data): Define as alias to impure_data
4429 when building for Cygwin.
4430 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
4431 _global_impure_ptr.
4432
51d4a7ea
JJ
44332004-09-15 Jeff Johnston <jjohnstn@redhat.com>
4434
4435 * configure.host: Reverting 2004-09-14 change as fix has occurred on
4436 Cygwin side.
4437 * configure.in: Ditto.
4438 * libc/configure.in: Ditto.
4439 * libc/sys/configure.in: Ditto.
4440 * configure: Ditto.
4441 * libc/configure: Ditto.
4442 * libc/sys/configure: Ditto.
4443 * libc/include/sys/reent.h: Ditto.
4444 * libc/stdlib/__atexit.c: Ditto.
4445 * libc/stdlib/__call_atexit.c: Ditto.
4446 * libc/stdlib/cxa_atexit.c: Ditto.
4447 * libc/stdlib/cxa_finalize.c: Ditto.
4448 * libc/sys/cygwin/Makefile.am: Removed again.
4449 * libc/sys/cygwin/Makefile.in: Ditto.
4450 * libc/sys/cygwin/aclocal.m4: Ditto.
4451 * libc/sys/cygwin/configure: Ditto.
4452 * libc/sys/cygwin/configure.in: Ditto.
4453 * libc/sys/cygwin/dummy.c: Ditto.
4454 * libc/sys/cygwin/sys/reent.h: Ditto.
4455
98650d2f
JJ
44562004-09-14 Jeff Johnston <jjohnstn@redhat.com>
4457
4458 * configure.host: Add Cygwin sys directory.
4459 * configure.in: Do not set CRT0 for cygwin.
4460 * libc/configure.in: Ditto.
4461 * libc/sys/configure.in: Ditto.
4462 * configure: Regenerated.
4463 * libc/configure: Ditto.
4464 * libc/sys/configure: Ditto.
4465 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
4466 * libc/stdlib/__atexit.c: Keep cxa support protected by new
4467 __REENT_HAS_CXA_SUPPORT flag.
4468 * libc/stdlib/__call_atexit.c: Ditto.
4469 * libc/stdlib/cxa_atexit.c: Ditto.
4470 * libc/stdlib/cxa_finalize.c: Ditto.
4471 * libc/sys/cygwin/Makefile.am: New file.
4472 * libc/sys/cygwin/Makefile.in: Ditto.
4473 * libc/sys/cygwin/aclocal.m4: Ditto.
4474 * libc/sys/cygwin/configure: Ditto.
4475 * libc/sys/cygwin/configure.in: Ditto.
4476 * libc/sys/cygwin/dummy.c: Ditto.
4477 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
4478 version of reent.h.
4479
d4c8e53b
JJ
44802004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4481
4482 * libc/iconv/iconv.tex: Updated with new content.
4483 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
4484 instead of NLS_DEFAULT_NLSPATH.
4485 * libc/iconv/lib/iconvnls.h: Fix typo.
4486 * libc/include/sys/iconvnls.h: New file.
4487
0c8593cf
JJ
44882004-09-09 Paul Brook <paul@codesourcery.com>
4489
4490 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
4491 and _is_cxa.
4492 (struct _atexit): Add _next when _REENT_SMALL.
4493 (struct _reent): Add _atexit0 when _REENT_SMALL.
4494 (_REENT_INIT_PTR): Adjust.
4495 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
4496 __call_exit.c.
4497 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
4498 * libc/stdlib/Makefile.in: Regenerate.
4499 * libc/stdlib/__atexit.c: New file.
4500 * libc/stdlib/__call_atexit.c: New file.
4501 * libc/stdlib/atexit.h: Remove old definitions. Add new.
4502 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
4503 * libc/stdlib/cxa_atexit.c: New file.
4504 * libc/stdlib/cxa_finalize.c: New file.
4505 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
4506 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
4507 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
4508 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
4509 _on_exit_args_ptr.
4510
c6ed5a85
JJ
45112004-08-23 Jeff Johnston <jjohnstn@redhat.com>
4512
4513 * libc/include/sys/unistd.h (getpass): Change prototype to use
4514 const instead of __const.
4515
721a934c
JJ
45162004-08-16 Nathan Sidwell <nathan@codesourcery.com>
4517
4518 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
4519 #if.
4520
4e53fc28
JJ
45212004-08-12 Jeff Johnston <jjohnstn@redhat.com>
4522
4523 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
4524 on linux systems with glibc 2.3.3 installed.
4525 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
4526 profile_fixup so newlib can build on fc3 system.
17c0c97d 4527
82045f12
AO
45282004-07-30 Alexandre Oliva <aoliva@redhat.com>
4529
4530 Introduce SH2a support.
4531 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
4532 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
4533 __SH2A_SINGLE_ONLY__, too.
4534 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
4535 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4536 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
4537 2004-02-10 DJ Delorie <dj@redhat.com>
4538 * libc/sys/sh/crt0.S (start_l): Support sh2a.
4539
ad6b1d79
JJ
45402004-07-29 Jeff Johnston <jjohnstn@redhat.com>
4541
4542 * libc/time/strptime.c: Correct full-name of "March" typo.
4543
63b9dcc4
JJ
45442004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
4545
17c0c97d 4546 * configure.host (h8300*-*-*): Default long long printing support.
63b9dcc4 4547
dbfd3394
JJ
45482004-07-16 Jeff Johnston <jjohnstn@redhat.com>
4549
4550 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
4551 calls, if realloc fails, free up buffer as it is no longer
4552 used.
4553
6edb3da9
JJ
45542004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4555
4556 * libc/iconv/iconv.tex: Updated to represent recent changes.
4557 * libc/iconv/lib/iconv.c: Documentation updated.
4558
578a3560
NC
45592004-07-07 Nick Clifton <nickc@redhat.com>
4560
4561 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
4562 for xStormy16.
4563
2bc257e3
JJ
45642004-07-06 Chris Demetriou <cgd@broadcom.com>
4565
4566 * configure.host (mips*-*-elf*): Default long long printing
4567 support.
4568
75e7ffaa
JJ
45692004-07-05 Jeff Johnston <jjohnstn@redhat.com>
4570
4571 * libc/Makefile.am (libc.dvi): Add target and specify
4572 same dependencies as libc.info.
4573 * libc/Makefile.in: Regenerated.
4574 * libm/Makefile.am (libm.dvi): Add target and specify
4575 same dependencies as libm.info.
4576 * libm/Makefile.in: Regenerated.
4577
76ce12c3
JJ
45782004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4579
4580 * acinclude.m4: Move --enable-newlib-iconv option back here.
4581 * configure.in: Remove --enable-newlib-iconv option. Don't
4582 tie iconv support to --enable-newlib-mb.
4583 * aclocal.m4: Regenerated.
4584 * configure: Ditto.
4585 * doc/aclocal.m4, doc/configure: Ditto.
4586 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
4587 * libm/*/aclocal.m4: Ditto.
4588 * libm/*/configure: Ditto.
4589 * libc/*/aclocal.m4: Ditto.
4590 * libc/*/configure: Ditto.
4591
660dade3
JJ
45922004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4593
4594 * acinclude.m4: Move iconv options into configure.in.
4595 * aclocal.m4: Regenerated.
4596 * configure: Ditto.
4597 * configure.in: Add iconv options.
4598 * newlib.hin: Add new iconv encodings and remove deleted ones.
4599 * doc/aclocal.m4: Regenerated.
4600 * doc/configure: Ditto.
4601 * iconvdata/aclocal.m4: Ditto.
4602 * iconvdata/configure: Ditto.
4603 * libc/iconv: Design change. New size-optimized ccs format.
4604 * libc/iconv/AUTHORS: Removed.
4605 * libc/iconv/COPYING: Ditto.
4606 * libc/iconv/README.ORIGINAL: Ditto.
4607 * libc/iconv/README.TODO: Ditto.
4608 * libc/iconv/charset.aliases: Ditto.
4609 * libc/iconv/encoding.aliases: New file.
4610 * libc/iconv/Makefile.am: Updated.
4611 * libc/iconv/Makefile.in: Regenerated.
4612 * libc/iconv/iconv.tex: Updated.
4613 * libc/iconv/ccs/Makefile.am: Ditto.
4614 * libc/iconv/ccs/Makefile.in: Regenerated.
4615 * libc/iconv/ccs/big5.c: Updated.
4616 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4617 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4618 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4619 * libc/iconv/ccs/cp775.c: Ditto.
4620 * libc/iconv/ccs/cp850.c: Ditto.
4621 * libc/iconv/ccs/cp852.c: Ditto.
4622 * libc/iconv/ccs/cp855.c: Ditto.
4623 * libc/iconv/ccs/cp866.c: Ditto.
4624 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4625 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4626 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4627 * libc/iconv/ccs/iconv_mktbl: Ditto.
4628 * libc/iconv/ccs/jis_x0201.c: Ditto.
4629 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4630 * libc/iconv/ccs/shift_jis.c: Ditto.
4631 * libc/iconv/ccs/us_ascii.c: Ditto.
4632 * libc/iconv/ccs/ccs.h: New file.
4633 * libc/iconv/ccs/ccsbi.c: Ditto.
4634 * libc/iconv/ccs/ccsbi.h: Ditto.
4635 * libc/iconv/ccs/ccsnames.h: Ditto.
4636 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4637 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4638 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4639 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4640 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4641 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4642 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4643 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4644 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4645 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4646 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4647 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4648 * libc/iconv/ccs/koi8_ru.c: Ditto.
4649 * libc/iconv/ccs/koi8_uni.c: Ditto.
4650 * libc/iconv/ccs/mktbl.pl: Ditto.
4651 * libc/iconv/ccs/win_1250.c: Ditto.
4652 * libc/iconv/ccs/win_1251.c: Ditto.
4653 * libc/iconv/ccs/win_1252.c: Ditto.
4654 * libc/iconv/ccs/win_1253.c: Ditto.
4655 * libc/iconv/ccs/win_1254.c: Ditto.
4656 * libc/iconv/ccs/win_1255.c: Ditto.
4657 * libc/iconv/ccs/win_1256.c: Ditto.
4658 * libc/iconv/ccs/win_1257.c: Ditto.
4659 * libc/iconv/ccs/win_1258.c: Ditto.
d68d3538
JJ
4660 * libc/iconv/ccs/iso_8859_15.c: Updated.
4661 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4662 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4663 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4664 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4665 * libc/iconv/ccs/koi8_r.c: Ditto.
4666 * libc/iconv/ccs/koi8_u.c: Ditto.
4667 * libc/iconv/ccs/ksx1001.c: Ditto.
660dade3
JJ
4668 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4669 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4670 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4671 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4672 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4673 * libc/iconv/ccs/binary/Makefile.am: Updated.
4674 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4675 * libc/iconv/ccs/binary/big5.cct: Updated.
4676 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4677 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4678 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4679 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4680 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4681 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4682 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4683 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4684 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4685 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4686 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4687 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4688 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4689 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4690 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4691 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4692 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4693 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4694 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4695 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4696 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4697 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4698 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4699 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4700 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4701 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4702 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4703 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4704 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4705 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4706 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4707 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4708 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4709 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4710 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4711 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4712 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4713 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4714 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4715 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4716 * libc/iconv/ces/Makefile.am: Updated.
4717 * libc/iconv/ces/Makefile.in: Regenerated.
4718 * libc/iconv/ces/ucs-2-internal.c: Updated.
4719 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4720 * libc/iconv/ces/utf-16.c: Ditto.
4721 * libc/iconv/ces/utf-8.c: Ditto.
4722 * libc/iconv/ces/cesbi.c: New file.
4723 * libc/iconv/ces/cesbi.h: Ditto.
4724 * libc/iconv/ces/cesdeps.h: Ditto.
4725 * libc/iconv/ces/euc.c: Ditto.
4726 * libc/iconv/ces/mkdeps.pl: Ditto.
4727 * libc/iconv/ces/table-pcs.c: Ditto.
4728 * libc/iconv/ces/table.c: Ditto.
4729 * libc/iconv/ces/ucs-2.c: Ditto.
4730 * libc/iconv/ces/ucs-4.c: Ditto.
4731 * libc/iconv/ces/us-ascii.c: Ditto.
4732 * libc/iconv/ces/euc-jp.c: Removed.
4733 * libc/iconv/ces/euc-kr.c: Ditto.
4734 * libc/iconv/ces/euc-tw.c: Ditto.
4735 * libc/iconv/ces/gb2312.c: Ditto.
4736 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4737 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4738 * libc/iconv/lib/Makefile.am: Updated.
4739 * libc/iconv/lib/Makefile.in: Regenerated.
4740 * libc/iconv/lib/endian.h: Updated.
4741 * libc/iconv/lib/iconv.c: Ditto.
4742 * libc/iconv/lib/local.h: Ditto.
4743 * libc/iconv/lib/aliases.c: Removed.
4744 * libc/iconv/lib/bialiasesi.c: Ditto.
4745 * libc/iconv/lib/biccs.c: Ditto.
4746 * libc/iconv/lib/bices.c: Ditto.
4747 * libc/iconv/lib/ccs.c: Ditto.
4748 * libc/iconv/lib/ces.c: Ditto.
4749 * libc/iconv/lib/ces_euc.c: Ditto.
4750 * libc/iconv/lib/ces_iso2022.c: Ditto.
4751 * libc/iconv/lib/ces_table.c: Ditto.
4752 * libc/iconv/lib/converter.c: Ditto.
4753 * libc/iconv/lib/deps.h: Ditto.
d68d3538
JJ
4754 * libc/iconv/lib/loaddata.c: Ditto.
4755 * libc/iconv/lib/aliasesbi.c: New file.
660dade3
JJ
4756 * libc/iconv/lib/aliasesi.c: Ditto.
4757 * libc/iconv/lib/conv.h: Ditto.
4758 * libc/iconv/lib/encnames.h: Ditto.
4759 * libc/iconv/lib/encoding.deps: Ditto.
4760 * libc/iconv/lib/iconvnls.c: Ditto.
4761 * libc/iconv/lib/iconvnls.h: Ditto.
660dade3
JJ
4762 * libc/iconv/lib/nullconv.c: Ditto.
4763 * libc/iconv/lib/ucsconv.c: Ditto.
4764 * libc/iconv/lib/ucsconv.h: Ditto.
4765 * libc/include/iconv.h: Update copyright.
4766 * libc/*/aclocal.m4: Regenerated.
4767 * libc/*/configure: Ditto.
4768 * libm/*/aclocal.m4: Ditto.
4769 * libm/*/configure: Ditto.
4770
9a6831be
AO
47712004-06-22 Alexandre Oliva <aoliva@redhat.com>
4772
eb6a452a
AO
4773 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4774 instead of typedefing jmp_buf.
4775
9a6831be
AO
4776 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4777 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4778 * libc/machine/h8300/defines.h (LEN): New macro.
4779 * libc/machine/h8300/memcpy.S: Add h8sx version.
4780 * libc/machine/h8300/memset.S: Likewise.
4781 * libc/machine/h8300/strcmp.S: Likewise.
4782 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4783 * libc/machine/h8300/h8sx_strcpy.S: New file.
4784 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4785 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4786 __H8300SX__.
4787 * libc/include/machine/setjmp.h: Likewise.
4788 * libc/include/sys/config.h: Likewise.
4789 * libc/machine/h8300/defines.h: Likewise.
4790 * libc/machine/h8300/setjmp.S: Likewise.
4791 * libc/machine/h8300/strcmp.S: Likewise.
4792 * libc/sys/h8300hms/close.S: Likewise.
4793 * libc/sys/h8300hms/fstat.S: Likewise.
4794 * libc/sys/h8300hms/lseek.S: Likewise.
4795 * libc/sys/h8300hms/read.S: Likewise.
4796 * libc/sys/h8300hms/write.S: Likewise.
4797 * libc/sys/h8300hms/crt0.S: Likewise.
4798 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4799 __H8300SX__ is defined.
4800 * libc/sys/h8300hms/setarch.h: Likewise.
4801
80dba41e
JJ
48022004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4803
4804 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4805 out change which set _GLOBAL_REENT to _global_impure_ptr until
4806 we understand why Cygwin breaks because of it.
4807
be910599
JJ
48082004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4809
4810 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4811 __syscall_return macro for systems with vsyscall.
4812
d0bd3e6f
JJ
48132004-06-11 Antony King <antony.king@st.com>
4814
4815 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4816 _flock_t to be of type _LOCK_RECURSIVE_T.
4817 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4818 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4819 (_global_impure_ptr): New declaration.
4820 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4821 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4822 <sys/reent.h>.
4823 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4824 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4825 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4826 * libc/stdio/fclose.c: Remove casting of fp lock to
4827 _LOCK_RECURSIVE_T.
4828 * libc/stdio/findfp.c: Ditto.
4829 * libc/stdio/fopen.c: Ditto.
4830 * libc/stdio/freopen.c: Ditto.
4831 * libc/stdio/vfprintf.c: Ditto.
4832 * libc/stdio64/fopen64.c: Ditto.
4833 * libc/stdlib/envlock.c: Add default stubs that use generic
4834 locking code.
4835 * libc/stdlib/mlock.c: Ditto.
4836
4837 Jeff Johnston <jjohnstn@redhat.com>
4838 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4839 (_flock_t): Change to be a struct containing a single member
4840 named mutex which is of type __flock_mutex_t.
4841
db7033a9
JJ
48422004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4843
4844 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4845 from /usr/include/asm/signal.h instead of kernel sources. Also
4846 default max to 32 if not found in header file.
4847 * libc/sys/linux/Makefile.in: Regenerated.
4848 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4849 systems where __syscall_return is not defined.
4850 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4851 systems to use syscall() function instead of assembler interrupt.
4852
a170abec
JJ
48532004-06-09 Toralf Lund <toralf@procaptura.com>
4854
4855 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4856 files from libc/sys/arm to libc/machine/arm.
4857 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4858 library build support for files moved from libc/sys/arm.
4859 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4860 references to access and setjmp.
4861 * configure.host: Add checks for newlib_may_supply_syscalls to
4862 determine whether or not to use sys/arm directory and use
4863 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
17c0c97d 4864
8b57e664
JJ
48652004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4866
4867 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4868 reset digit flags appropriately after we have discovered "0x".
4869 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4870
3f611058
JJ
48712004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4872
4873 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4874 from here ...
4875 (_VFPRINTF_R): ... to here so all I/O printf routines
4876 are covered.
4877
bb42a35c
JJ
48782004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4879
4880 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4881 redefinition.
4882 * libc/search/hash.c: Ditto.
4883
227e6ef6
JJ
48842004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4885
4886 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
4887 (_WANT_IO_LONG_LONG): Ditto.
4888 (_WANT_IO_LONG_DOUBLE): Ditto.
4889 * configure.in: Add new configuration options
4890 --enable-newlib-io-long-long and --enable-newlib-io-long-double
4891 which tie to new defines in newlib.hin.
4892 * configure: Regenerated.
4893 * configure.host: Add checks for new configuration options. Also
4894 fix up check for --enable-newlib-io-pos-args so configuration
4895 option will override any default for a given platform.
4896 Remove defining compiler flags for the _WANT_IO* options.
4897 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
4898 instead of looking for old compiler flags.
4899 * libc/stdio/vfscanf.c: Ditto.
4900 * libc/stdio/vfieeefp.h: Ditto.
4901 * libc/machine/powerpc/vfprintf.c: Ditto.
4902 * libc/machine/powerpc/vfscanf.c: Ditto.
4903
9178da95
JJ
49042004-05-25 Jeff Johnston <jjohnstn@redhat.com>
4905
4906 * testsuite/include/check.h: Add include of <stdio.h>.
4907
cf3aae91
CV
49082004-05-17 Corinna Vinschen <corinna@vinschen.de>
4909
4910 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
4911
5b4c8ae2
JJ
49122004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4913
4914 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4915 of free.
4916
49172004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4918
4919 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4920 list for reentrant pointer. Call _vfiprintf_r.
4921 * libc/stdio/siprintf.c (_siprintf_r): New function.
4922 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4923 pointer argument. Change all callers. Call _VFPRINTF_R.
4924 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4925 prototypes.
4926
631fbe65
JJ
49272004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4928
4929 * libc/include/sys/param.h: Remove endian info and include
4930 <machine/endian.h> instead.
4931 * libc/include/machine/endian.h: New file.
4932 * libc/include/machine/param.h: Ditto.
4933 * libc/machine/arm/machine/endian.h: Ditto.
4934 * libc/machine/arm/machine/param.h: Ditto.
4935 * libc/sys/arm/sys/param.h: Removed.
4936 * libc/sys/sysvi386/sys/param.h: Ditto.
4937 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
4938
1af84bb7
JJ
49392004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4940
4941 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
4942 multibyte functions return failure for %C, %S, %lc, and %ls
4943 format specifiers.
4944
1c63798e
JJ
49452004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4946
4947 * testsuite/include/check.h (CHECK): Add flush of stdout.
4948
20b0251a
JJ
49492004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4950
4951 * libc/include/stdio.h (_ungetc_r): New prototype.
4952 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
4953 (__submore): Add reentrant struct pointer argument.
4954 (ungetc): Change to call _ungetc_r.
4955
6194cf4a
JJ
49562004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4957
4958 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
4959 function pointer argument.
4960 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
4961 to specify function pointer arguments.
4962 (__fwalk, __fwalk_reent): Ditto.
4963
b4ddf489
AH
49642004-04-26 Aldy Hernandez <aldyh@redhat.com>
4965
ba3ccd63
EB
4966 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
4967 CT_INT case.
b4ddf489 4968
f777e3a5
JJ
49692004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4970
4971 * configure.in: Define _MB_CAPABLE if mb supported.
4972 * configure: Regenerated.
4973 * configure.host: Remove manual setting of MB_CAPABLE compiler
4974 flag.
4975 * newlib.hin: Add _MB_CAPABLE flag.
4976 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
4977 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
4978 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
4979 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
4980 * libc/ctype/jp2uc.c: Ditto.
4981 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
4982 * libc/locale/locale.c: Ditto
4983 * libc/machine/powerpc/vfscanf.c: Ditto
4984 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
4985 * libc/stdlib/mblen.c: Ditto
4986 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
4987 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
4988 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
4989 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
4990 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
4991 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
4992 * libc/sys/linux/intl/explodename.c: Ditto
4993 * libc/sys/linux/intl/finddomain.c: Ditto
4994 * libc/sys/linux/intl/l10nflist.c: Ditto
4995 * libc/sys/linux/intl/loadmsgcat.c: Ditto
4996 * libc/sys/linux/intl/localealias.c: Ditto
4997
27c7566c
JJ
49982004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4999
5000 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
5001 (__svfscanf_r): In integer conversions, leave out leading zeroes
5002 which are not part of a base prefix.
5003 Keep track of width truncation to fit into buf, not counting left-out
5004 zeroes against width till the truncation has been compensated for.
5005 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
5006
c00f9719
JJ
50072004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5008
5009 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
5010
05b31577
JJ
50112004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5012
5013 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
5014 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
5015 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
5016 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
5017 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
5018 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
5019 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
5020 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
5021 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
5022 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
5023 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
5024 libc/stdio/getchar.c libc/stdio/getchar_u.c,
5025 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
5026 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
5027 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
5028 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
5029 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
5030 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
5031 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
5032 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
5033 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
5034 libc/stdio/siprintf.c libc/stdio/snprintf.c,
5035 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
5036 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
5037 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
5038 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
5039 libc/stdio/vprintf.c libc/stdio/vscanf.c,
5040 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
5041 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
5042 libc/stdio/wsetup.c: Perform minor formatting changes. Move
5043 copyright notices to top of file, ensure that <_ansi.h> is
5044 included, be consistent with open parentheses, use _DEFUN macro,
5045 include "local.h" where needed, and remove various compiler
5046 warnings.
5047
04e8fca1
JJ
50482004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
5049
5050 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
5051 (__svfscanf_r): In integer conversions, leave out leading zeroes
5052 which are not part of a base prefix.
5053 Keep track of width truncation to fit into buf, not counting left-out
5054 zeroes against width till the truncation has been compensated for.
5055
9090ec74
CV
50562004-04-20 Corinna Vinschen <corinna@vinschen.de>
5057
5058 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
5059
1c17deea
CV
50602004-04-20 Corinna Vinschen <corinna@vinschen.de>
5061
5062 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
5063
54c7940f
CV
50642004-04-10 Corinna Vinschen <corinna@vinschen.de>
5065
5066 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
5067 to SUSv3.
5068
47dcaf56
JJ
50692004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5070
5071 * libc/stdio/fclose.c (_fclose_r): New function.
5072 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
5073 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
5074 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
5075 * libc/include/stdio.h (_fclose_r): New prototype.
5076 * libc/stdio/fopen.c: Fix typo in comment.
5077
50782004-04-08 Jeff Johnston <jjohnstn@redhat.com>
5079
5080 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
5081 to handle _r reentrant functions.
5082
4121d8cf
JJ
50832004-04-08 Eric Christopher <echristo@redhat.com>
5084
5085 * libc/include/machine/setjmp.h: Fix endif locations.
5086
59c9f5f5
JJ
50872004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5088
5089 * libc/time/strptime.c: Add standard includes to avoid
5090 warning messages at compilation time.
5091
38f4f023
JJ
50922004-04-01 Jeff Johnston <jjohnstn@redhat.com>
5093
5094 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
5095 of file.
5096
50972004-03-30 Jeff Johnston <jjohnstn@redhat.com>
ed4c5ece
JJ
5098
5099 * libc/machine/h8300/Makefile.am: Reformat slightly.
5100 * libc/machine/h8300/Makefile.in: Regenerate.
5101
38f4f023 51022004-03-30 Thomas Pfaff <tpfaff@gmx.net>
cacc0d44
JJ
5103
5104 * libc/stdio/findfp.c (__fp_lock_all): Add call to
5105 __sfp_lock_acquire.
17c0c97d 5106 (__fp_unlock_all): Add call to __sfp_lock_release.
cacc0d44 5107
10dcf7e7
JJ
51082004-03-25 Thomas Pfaff <tpfaff@gmx.net>
5109
5110 * libc/stdio/fclose.c (fclose): Protect file pointer list when
5111 releasing a file.
5112 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
5113 fwalk.
5114 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
5115 _flockfile/_funlockfile.
5116 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
5117 to recursive.
5118 Change __lock_acquire/__lock_release calls for __sfp_lock to
5119 __sfp_lock_acquire/__sfp_lock_release throughout.
5120 (std): Make sure that file lock is only initialized once.
5121 (__sfp): Move _file initialization. Initialize file lock.
5122 (__sfp_lock_acquire): New function.
5123 (__sfp_lock_release): Ditto.
5124 (__fp_lock_all): Remove __sfp_lock_acquire call.
5125 (__fp_unlock_all): Remove __sfp_lock_release call.
5126 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
5127 Add calls to _flockfile/_funlockfile. Remove
5128 __lock_init_recursive call.
5129 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
5130 * libc/stdio/fwalk.c (__fwalk): New static function.
5131 (_fwalk): Protect file pointer list. Use __fwalk to walk through
5132 file pointers.
5133 * libc/stdio/local.h: Add defines for
5134 __sfp_lock_acquire/__sfp_lock_release when
5135 single threaded. Add function prototypes otherwise.
5136 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
5137 _flockfile/_funlockfile.
5138 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
5139 Add calls to _flockfile/_funlockfile. Remove
5140 __lock_init_recursive call.
5141 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
17c0c97d 5142 list.
10dcf7e7 5143
ec475b09
JJ
51442004-03-25 Jeff Johnston <jjohnstn@redhat.com>
5145
5146 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
5147 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
5148 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
5149 to be __LOCK_INIT_RECURSIVE.
5150
2c4ef10a
JJ
51512004-03-11 Kazu Hirata <kazu@cs.umass.edu>
5152
5153 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
5154 _exit.c with _exit.S.
5155 * libc/sys/h8300hms/Makefile.in: Regenerate.
5156 * libc/sys/h8300hms/_exit.c: Remove.
5157 * libc/sys/h8300hms/_exit.S: New.
5158
41c3da6a
JJ
51592004-03-09 Thomas Pfaff <tpfaff@gmx.net>
5160
5161 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
5162 Change __sfp_lock to static global.
5163 (__fp_lock): New static function.
5164 (__fp_unlock): Ditto.
5165 (__fp_lock_all): New function.
17c0c97d 5166 (__fp_unlock_all): Ditto.
41c3da6a 5167
0ccf5430
CF
51682004-02-10 Christopher Faylor <cgf@redhat.com>
5169
5170 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
5171 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
5172 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
5173 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
5174
3536f0fb
CF
51752004-02-09 Christopher Faylor <cgf@redhat.com>
5176
5177 * libc/include/time.h (TIMER_RELTIME): New define.
5178
6a6e493a
JJ
51792004-02-09 Jeff Johnston <jjohnstn@redhat.com>
5180
5181 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
5182 * libc/stdlib/Makefile.in: Regenerated.
5183
733309f5
CF
51842004-02-08 Christopher Faylor <cgf@redhat.com>
5185
5186 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
5187 * libc/include/sys/reent.h (__getreent): Protect against possibly being
5188 defined.
5189 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
5190
b4a84c66
JJ
51912004-02-05 Paul Brook <paul@codesourcery.com>
5192
17c0c97d 5193 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
b4a84c66
JJ
5194 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
5195
4669438f
JJ
51962004-02-02 Jeff Johnston <jjohnstn@redhat.com>
5197
5198 * NEWS: Update with 1.12.0 info.
5199 * README: Ditto.
5200 * acinclude.m4: Change version number to 1.12.0.
5201 * aclocal.m4: Regenerated.
5202 * configure: Ditto.
5203 * doc/aclocal.m4: Ditto.
5204 * doc/configure: Ditto.
5205 * libc/*/aclocal.m4: Ditto.
5206 * libc/*/configure: Ditto.
5207 * libc/libc.texinfo: Ditto.
5208 * libm/*/aclocal.m4: Ditto.
5209 * libm/*/configure: Ditto.
5210 * libm/libm.texinfo: Ditto.
5211 * libc/sys/linux/shared.ld: Add VERS_1.12.
5212
94d61fcb
JJ
52132004-02-02 Joel Sherrill <joel@oarcorp.com>
5214
5215 * configure.host: Add support for tic4x.
5216 * libc/include/machine/ieeefp.h: Ditto.
5217 * libc/include/machine/setjmp.h: Ditto.
5218 * libc/machine/tic4x/Makefile.am: New file.
5219 * libc/machine/tic4x/configure.in: Ditto.
5220 * libc/machine/tic4x/setjmp.S: Ditto.
5221 * libc/machine/tic4x/aclocal.m4: Generated.
5222 * libc/machine/tic4x/configure: Ditto.
5223 * libc/machine/tic4x/Makefile.in: Ditto.
5224
c730e0e7
JJ
52252004-01-30 Jeff Johnston <jjohnstn@redhat.com>
5226
5227 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
5228 file chain on the passed in reentrancy struct if it
5229 is _GLOBAL_REENT.
5230
2892ec68 52312004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
ba3ccd63 5232 Jeff Johnston <jjohnstn@redhat.com>
2892ec68
JJ
5233
5234 * libc/iconv/iconv.tex: Updated with more information.
5235
ff41498a 52362004-01-30 Thomas Pfaff <tpfaff@gmx.net>
ba3ccd63 5237 Jeff Johnston <jjohnstn@redhat.com>
ff41498a
JJ
5238
5239 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5240 struct for std streams and traverse the global reeentrancy
5241 struct for all other streams.
5242
d5b6c234
JJ
52432004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5244
5245 * libc/stdlib/atexit.c: Protect global atexit list with a
5246 lock when newlib is multithreaded.
5247
01e0a777
JJ
52482004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5249
5250 * configure.in: Add support to generate iconv converter flags
5251 for newlib.h
5252 * newlib.hin: Add iconv converter flags.
5253 * configure: Regenerated.
5254 * libc/Makefile.in: Ditto.
5255 * libc/configure.in: Moved iconv converter parsing logic to
5256 top level newlib configure.in.
5257 * libc/configure: Regenerated.
5258 * libc/iconv/Makefile.in: Ditto.
5259 * libc/iconv/README.TODO
5260 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5261 UCS2/UCS4/UTF8.
5262 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5263 newlib.h can be used.
5264 * libc/iconv/ces/Makefile.am: Ditto.
5265 * libc/iconv/lib/Makefile.am: Ditto.
5266 * libc/iconv/ccs/Makefile.in: Regenerated.
5267 * libc/iconv/ces/Makefile.in: Ditto.
5268 * libc/iconv/lib/Makefile.in: Ditto.
5269 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5270 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5271 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5272 defined in newlib.h.
5273 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5274 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5275 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5276 * libc/iconv/ccs/cp775.c: Ditto.
5277 * libc/iconv/ccs/cp850.c: Ditto.
5278 * libc/iconv/ccs/cp852.c: Ditto.
5279 * libc/iconv/ccs/cp855.c: Ditto.
5280 * libc/iconv/ccs/cp866.c: Ditto.
5281 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5282 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5283 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5284 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5285 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5286 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5287 * libc/iconv/ccs/jis_x0201.c: Ditto.
5288 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5289 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5290 * libc/iconv/ccs/koi8_r.c: Ditto.
5291 * libc/iconv/ccs/koi8_u.c: Ditto.
5292 * libc/iconv/ccs/ksx1001.c: Ditto.
5293 * libc/iconv/ccs/shift_jis.c: Ditto.
5294 * libc/iconv/ccs/us_ascii.c: Ditto.
5295 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5296 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5297 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5298 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5299 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5300 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5301 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5302 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5303 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5304 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5305 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5306 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5307 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5308 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5309 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5310 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5311 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5312 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5313 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5314 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5315 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5316 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5317 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5318 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
5319 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
5320 * libc/iconv/ces/euc-kr.c: Ditto.
5321 * libc/iconv/ces/euc-tw.c: Ditto.
5322 * libc/iconv/ces/gb2312.c: Ditto.
5323 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
5324 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5325 * libc/iconv/ces/ucs-2-internal.c: Ditto.
5326 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5327 * libc/iconv/ces/utf-16.c: Ditto.
5328 * libc/iconv/ces/utf-8.c: Ditto.
5329 * libc/iconv/lib/aliases.c: Ditto.
5330 * libc/iconv/lib/biccs.c: Ditto.
5331 * libc/iconv/lib/bices.c: Ditto.
5332 * libc/iconv/lib/ccs.c: Ditto.
5333 * libc/iconv/lib/ces.c: Ditto.
5334 * libc/iconv/lib/ces_euc.c: Ditto.
5335 * libc/iconv/lib/ces_iso2022.c: Ditto.
5336 * libc/iconv/lib/ces_table.c: Ditto.
5337 * libc/iconv/lib/converter.c: Ditto.
5338 * libc/iconv/lib/deps.h: Ditto.
5339 * libc/iconv/lib/endian.h: Ditto.
5340 * libc/iconv/lib/iconv.c: Ditto.
5341 * libc/iconv/lib/loaddata.c: Ditto.
5342 * libc/iconv/lib/local.h: Include newlib.h.
5343 * libc/argz/Makefile.in: Regenerated.
5344 * libc/ctype/Makefile.in: Ditto.
5345 * libc/errno/Makefile.in: Ditto.
5346 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5347 * libc/locale/Makefile.in: Ditto.
5348 * libc/misc/Makefile.in: Ditto.
5349 * libc/posix/Makefile.in: Ditto.
5350 * libc/reent/Makefile.in: Ditto.
5351 * libc/search/Makefile.in: Ditto.
5352 * libc/signal/Makefile.in: Ditto.
5353 * libc/stdio/Makefile.in: Ditto.
5354 * libc/stdio64/Makefile.in: Ditto.
5355 * libc/stdlib/Makefile.in: Ditto.
5356 * libc/string/Makefile.in: Ditto.
5357 * libc/syscalls/Makefile.in: Ditto.
5358 * libc/time/Makefile.in: Ditto.
5359 * libc/unix/Makefile.in: Ditto.
5360 * testsuite/newlib.iconv/iconv.exp: New file.
5361 * testsuite/newlib.iconv/iconvjp.c: Ditto.
5362 * testsuite/newlib.iconv/iconvnm.c: Ditto.
5363 * testsuite/newlib.iconv/iconvru.c: Ditto.
5364
786ab12c
JJ
53652004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5366
5367 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
5368 (--enable-newlib-builtin-converters): Ditto.
5369 * configure.in: Add code to set _ICONV_ENABLED flag.
5370 Set _MB_LEN_MAX to 1 if not mb enabled.
5371 * configure: Regenerated.
5372 * aclocal.m4: Ditto.
5373 * Makefile.in: Ditto.
5374 * newlib.hin: Add _ICONV_ENABLED flag.
5375 * libc/Makefile.am: Add support for iconv.
5376 * libc/configure.in: Ditto.
5377 * libc/Makefile.in: Regenerated.
5378 * libc/aclocal.m4: Ditto.
5379 * libc/configure: Ditto.
5380 * libc/libc.texinfo: Add iconv documentation.
5381 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
5382 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
5383 libc/iconv/README.TODO, libc/iconv/charset.aliases,
5384 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
5385 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
5386 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
5387 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
5388 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
5389 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
5390 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
5391 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
5392 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
5393 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
5394 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
5395 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
5396 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
5397 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
5398 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
5399 libc/iconv/ccs/binary/big5.cct,
5400 libc/iconv/ccs/binary/cns11643_plane1.cct,
5401 libc/iconv/ccs/binary/cns11643_plane14.cct,
5402 libc/iconv/ccs/binary/cns11643_plane2.cct,
5403 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
5404 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
5405 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
5406 libc/iconv/ccs/binary/iso_8859_1.cct,
5407 libc/iconv/ccs/binary/iso_8859_15.cct,
5408 libc/iconv/ccs/binary/iso_8859_2.cct,
5409 libc/iconv/ccs/binary/iso_8859_4.cct,
5410 libc/iconv/ccs/binary/iso_8859_5.cct,
5411 libc/iconv/ccs/binary/jis_x0201.cct,
5412 libc/iconv/ccs/binary/jis_x0208_1983.cct,
5413 libc/iconv/ccs/binary/jis_x0212_1990.cct,
5414 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
5415 libc/iconv/ccs/binary/ksx1001.cct,
5416 libc/iconv/ccs/binary/shift_jis.cct,
5417 libc/iconv/ccs/binary/us_ascii.cct,
5418 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
5419 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
5420 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
5421 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
5422 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
5423 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
5424 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
5425 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
5426 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
5427 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
5428 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
5429 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
5430 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
5431 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
5432 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
5433 * libc/sys/linux/include/iconv.h: Ditto.
5434 * libc/include/sys/_types.h (_iconv_t): Added.
5435 * doc/aclocal.m4: Regenerated.
5436 * doc/configure: Ditto.
5437 * doc/Makefile.in: Ditto.
5438 * iconvdata/Makefile.in: Ditto.
5439 * iconvdata/aclocal.m4: Ditto.
5440 * iconvdata/configure: Ditto.
5441 * libc/*aclocal.m4: Ditto.
5442 * libc/*Makefile.in: Ditto.
5443 * libc/*configure: Ditto.
5444 * libm/*aclocal.m4: Ditto.
5445 * libm/*Makefile.in: Ditto.
5446 * libm/*configure: Ditto.
5447
ed1a95dc
JJ
54482004-01-22 Thomas Pfaff <tpfaff@gmx.net>
5449
5450 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
17c0c97d 5451 by a lock when newlib is multithreaded.
ed1a95dc 5452
7d4be1ef
JJ
54532004-01-21 Jeff Johnston <jjohnstn@redhat.com>
5454
5455 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
5456 pointer to match C99 spec.
5457 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
5458 dst is NULL. Also fix to not alter src pointer when dst is NULL
5459 and call _mbrtowc_r instead of _mbtowc_r.
5460 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
5461 of _wctomb_r.
5462
403f752c
JJ
54632004-01-19 Thomas Pfaff <tpfaff@gmx.net>
5464
5465 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
5466 * libc/stdio/freopen.c (freopen): Ditto.
5467
85b6d63b
CF
54682004-01-16 Christopher Faylor <cgf@redhat.com>
5469
5470 * libc/stdio/vfprintf.c: Add sys/lock.h include.
5471
4af71a91
JJ
54722004-01-16 Thomas Pfaff <tpfaff@gmx.net>
5473
5474 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
5475 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
5476 Add calls to __lock_init_recursive and __lock_close_recursive
5477 instead.
5478
6a150987
JJ
54792004-01-15 Thomas Pfaff <tpfaff@gmx.net>
5480
5481 * libc/stdio/fclose.c: Include sys/lock.h.
5482 (fclose): Destroy lock when file is closed.
5483 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
5484 member.
5485 * libc/stdio/freopen.c: Include sys/lock.h.
5486 (_freopen_r): Destroy lock when file is closed.
5487 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
5488 _lock member.
5489
c9524c0c
JJ
54902004-01-08 Joel Sherrill <joel@oarcorp.com>
5491
ba3ccd63
EB
5492 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
5493 Remove warnings.
c9524c0c 5494
9f13ccb3
JJ
54952004-01-08 Joel Sherrill <joel@oarcorp.com>
5496
ba3ccd63
EB
5497 * libc/sys/rtems/sys/queue.h: New file.
5498 * libc/include/sys/signal.h: Reflect renumbering of signals to
5499 fit into 32-bit mask.
5500 * libc/include/sys/unistd.h: Add fdatasync() prototype.
5501 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
5502 required. In particular, add the reentrant variants of libc calls.
5503 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
9f13ccb3 5504
9488c414
JJ
55052004-01-06 Mark Mitchell <mark@codesourcery.com>
5506
5507 * libc/sys/arm/syscalls.c (unistd.h): Include it.
5508 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
5509 Similarly for stdout and stderr.
5510
5125f919
JJ
55112004-01-06 Jeff Johnston <jjohnstn@redhat.com>
5512
5513 * libc/libc.texinfo: Correct escape character for @ sign
5514 so file will be processed by make info. Update copyright years.
5515 * libm/libm.texinfo: Ditto.
5516
9fc92ceb
JJ
55172003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5518
5519 * libc/include/sys/stat.h: No longer include stat-dj.h.
5520 * libc/include/sys/stat-dj.h: Removed.
5521
25c7dad1
JJ
55222003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5523
5524 * libc/include/wchar.h: Include <sys/reent.h>.
5525
576593dd
CF
55262003-12-05 Christopher Faylor <cgf@redhat.com>
5527
5528 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
5529 when defining _mbrtowc.
5530 * libc/stdlib/mbsinit.c: Ditto.
5531 * libc/stdlib/mbsrtowcs.c: Ditto.
5532 * libc/stdlib/wcrtomb.c: Ditto.
5533 * libc/stdlib/wcsrtombs.c: Ditto.
5534 * libc/stdlib/wctob.c: Ditto.
5535
55362003-12-05 Christopher Faylor <cgf@redhat.com>
5537
5538 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
5539 errors when defining _mbrtowc.
5540 * libc/stdlib/mbsinit.c: Ditto.
5541 * libc/stdlib/mbsrtowcs.c: Ditto.
5542
4c889d62
CF
55432003-12-05 Christopher Faylor <cgf@redhat.com>
5544
5545 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
5546 errors when defining _mbrtowc.
5547
5d109bde
JJ
55482003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5549
5550 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
5551 of mb routines for %lc and %ls support.
5552 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
5553 %ls, and %S support. Remove CYGNUS_NEC markers and
5554 code within.
5555
3aca0888
JJ
55562003-12-04 Jeff Johnston <jjohnstn@redhat.com>
5557
5558 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
5559 _wcrtomb_r, and _wcsrtombs_r.
5560
18dcb167
CV
55612003-12-01 Corinna Vinschen <corinna@vinschen.de>
5562
5563 * libc/include/sys/fcntl.h: Don't define struct flock when on
5564 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
5565
93f8e673
CF
55662003-11-28 Christopher Faylor <cgf@redhat.com>
5567
5568 * libc/include/sys/signal.h: Use system specific signal file when
5569 building on cygwin.
5570
cc2a11e0
JJ
55712003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5572
5573 * libc/include/stdlib.h (_atoi_r): New prototype.
5574 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
5575
83bf7d2f
JJ
55762003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5577
5578 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
5579 * libc/stdlib/atol.c (_atol_r): New reentrant function.
5580 * libc/stdlib/atoll.c (_atoll_r): Ditto.
5581
5d109bde 55822003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6bbb700c
JJ
5583 Jeff Johnston <jjohnstn@redhat.com>
5584
5585 * libc/include/stdlib.h (lldiv_t): New type.
5586 (atoll, llabs, lldiv): New prototypes.
5587 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
5588 * libc/stdlib/stdlib.tex: Ditto.
5589 * libc/stdlib/Makefile.in: Regenerated.
5590 * libc/stdlib/atoll.c: New file.
5591 * libc/stdlib/llabs.c: Ditto.
5592 * libc/stdlib/lldiv.c: Ditto.
5593
0a707c79
JJ
55942003-11-26 Corinna Vinschen <corinna@vinschen.de>
5595
5596 * libc/include/fcntl.h: Declare syscalls only when building newlib.
5597 * libc/include/unistd.h: Ditto.
5598 * libc/include/stat.h: Ditto. Also declare struct stat64.
5599
5d109bde 56002003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6db165c2
JJ
5601
5602 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
5603 specifier to use ch instead of *fmt.
5604
5d109bde 56052003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
759a097e
JJ
5606
5607 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
5608 code within checks for MB_CAPABLE. For non-mb-capable platforms,
5609 use simple byte logic.
5610
4f6149d6
JJ
56112003-11-21 Jeff Johnston <jjohnstn@redhat.com>
5612
5613 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
5614 _strtold routine for processing floats and doubles since it
5615 is not as fast as _strtod_r.
5616
17c0c97d 56172003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
7343eefb 5618
17c0c97d 5619 * libc/machine/h8300/defines.h : Correct pointer register defines
7343eefb 5620 for normal mode.
17c0c97d 5621 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
7343eefb
JJ
5622 for normal mode.
5623 * libc/machine/h8300/reg_memcpy.S : Likewise.
5624 * libc/machine/h8300/reg_memset.S : Likewise.
5625 * libc/machine/h8300/strcmp.S : Likewise.
5626
64cfc6f2
JJ
56272003-11-19 Nicholas Wourms <nwourms@netscape.net>
5628
5629 * configure.host: Enable positional arguments for printf
5630 family for Cygwin.
5631 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5632 pointer reference for quad_ptr_t.
5633
e1dc8171
JJ
56342003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5635
5636 * libc/stdio/scanf.c: Don't include local.h more than once.
5637
a472290f
JJ
56382003-11-18 Corinna Vinschen <corinna@vinschen.de>
5639
5640 * libc/include/sys/fcntl.h: Declare _open64.
5641 * libc/include/sys/stat.h: Declare _fstat64.
5642 * libc/include/sys/unistd.h: Declare _lseek64.
5643
a2f1155c
CV
56442003-11-17 Corinna Vinschen <corinna@vinschen.de>
5645
5646 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5647 (setprogname): Ditto.
5648
030441fc
JJ
56492003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5650
5651 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5652 to use (Ebits + 1) which accounts for the sign-bit.
5653
fe359733
JJ
56542003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5655
17c0c97d 5656 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
fe359733
JJ
5657 x86 build.
5658 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5659 and set up default flags to pass to aclocal.
5660 * iconvdata/Makefile.in: Regenerated.
5661 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5662 and getpwuid routines.
5663 * libc/sys/linux/Makefile.in: Regenerated.
5664 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5665 applications to link with newlib's shared libc library.
5666 * libc/sys/linux/getpwnam.c: Ditto.
5667 * libc/sys/linux/getpwuid.c: Ditto.
5668 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5669 that were formerly supplied by /usr/include/linux/types.h with
5670 kernel types.
5671 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5672 test _ELIX_LEVEL macro.
5673
2985521f
JJ
56742003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5675
5676 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5677 referring to _NO_LONGLONG macro.
5678
dcad6a89
JJ
56792003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5680
5681 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5682 in LOG() macro so this will compile on gcc 3.4 and up.
5683 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5684 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5685 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5686 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5687 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5688 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5689 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5690 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5691 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5692 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5693 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5694 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5695 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5696 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5697 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5698 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5699 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5700 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5701 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5702 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5703 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5704 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5705 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5706 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5707 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5708 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5709 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5710 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5711 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5712 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5713 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5714 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5715 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5716 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5717 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5718 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5719
d2ffac09 57202003-11-05 Jeff Johnston <jjohnstn@redhat.com>
ba3ccd63 5721 Artem B. Bityuckiy <abitytsky@softminecorp.com>
d2ffac09
JJ
5722
5723 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5724 %ls, %S, %lc, and %C format specifiers.
5725 (get_arg): Ditto.
5726 * libc/stdio/sprintf.c: Add documentation regarding new
5727 format specifiers added in vfprintf.c.
5728
da2d1227
JJ
57292003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5730
5731 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5732 to make code work as specified in standard.
5733
3ef05bac
JJ
57342003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5735
5736 * configure.in: Use absolute newlib basedir when forming
5737 CC_FOR_NEWLIB include options.
5738 * configure: Regenerated.
5739
5d109bde 57402003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4340b63b
JJ
5741
5742 * libc/string/wcsnlen.c: New file.
5743 * libc/include/wchar.h: Add wcsnlen prototype.
5744 * libc/string/Makefile.am: Add wcsnlen support.
5745 * libc/string/Makefile.in: Regenerated.
5746 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5747
63a823f8
RS
57482003-10-22 Richard Sandiford <rsandifo@redhat.com>
5749
5750 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5751
76a7df52
JJ
57522003-10-20 Bob Wilson <bob.wilson@acm.org>
5753
5754 * libc/locale/locale.c: Use double quotes in code.
5755 * libc/locale/locale.tex: Likewise.
5756 * libc/libc.texinfo: Hyphenate "floating-point".
5757 * libc/machine/necv70/necv70.tex: Likewise.
5758 * libc/stdio/sprintf.c: Likewise.
5759 * libc/stdio/sscanf.c: Likewise.
5760 * libc/stdlib/atof.c: Likewise.
5761 * libc/stdlib/ldtoa.c: Fix comment typo.
5762 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5763 * libc/stdlib/ldiv.c: Likewise.
5764 * libm/common/s_expm1.c: Likewise.
5765 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5766 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5767 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5768 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5769 and "floating-point".
5770 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5771 * libm/math/e_pow.c: Fix comment typo.
5772 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5773 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5774 * libm/math/s_atan.c: Likewise.
5775 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5776 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5777 "floating-point". Use "nonzero".
5778 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5779 * libm/math/w_acos.c: Likewise.
5780 * libm/math/w_acosh.c: Likewise.
5781 * libm/math/w_asin.c: Likewise.
5782 * libm/math/w_atan2.c: Likewise.
5783 * libm/math/w_atanh.c: Likewise.
5784 * libm/math/w_cosh.c: Likewise.
5785 * libm/math/w_exp.c: Likewise.
5786 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5787 version of 2^x in the description.
5788 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5789 * libm/math/w_gamma.c: Likewise.
5790 * libm/math/w_hypot.c: Likewise.
5791 * libm/math/w_j0.c: Likewise.
5792 * libm/math/w_sinh.c: Likewise.
5793 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5794 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5795 "floating-point".
5796 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5797 * libm/mathfp/e_atanh.c: Likewise.
5798 * libm/mathfp/e_hypot.c: Likewise.
5799 * libm/mathfp/er_lgamma.c: Likewise.
5800 * libm/mathfp/s_acos.c: Likewise.
5801 * libm/mathfp/s_asine.c: Likewise.
5802 * libm/mathfp/s_asinh.c: Likewise.
5803 * libm/mathfp/s_atan.c: Likewise.
5804 * libm/mathfp/s_atan2.c: Likewise.
5805 * libm/mathfp/s_atangent.c: Likewise.
5806 * libm/mathfp/s_cosh.c: Likewise.
5807 * libm/mathfp/s_exp.c: Likewise.
5808 * libm/mathfp/s_fmod.c: Likewise.
5809 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5810 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5811 "floating-point". Use "nonzero".
5812 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5813 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5814 * libm/mathfp/s_sineh.c: Likewise.
5815 * libm/mathfp/w_jn.c: Likewise.
5816
b11926e7
JJ
58172003-10-15 Alexandre Oliva <aoliva@redhat.com>
5818
5819 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5820 lines, to enable parallel make.
5821 * Makefile.in: Rebuilt.
5822
31271d5c
CF
58232003-10-14 Christopher Faylor <cgf@redhat.com>
5824
5825 * libc/time/clock.c: Clarify documentation of return value when no
5826 measurement is available.
5827
bc707cbd
JJ
58282003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5829
5830 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5831 * libm/configure: Regenerate.
5832 * libm/Makefile.in: Ditto.
5833
f4b10605
JR
58342003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5835
5836 * libc/machine/sh/strncpy.S: New file.
5837 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5838 * libc/machine/sh/Makefile.in: Regenerate.
5839
ce044d8f
JW
58402003-09-11 James E Wilson <wilson@specifixinc.com>
5841
5842 * MAINTAINERS: Update my e-mail address.
5843
080ef411
CV
58442003-09-10 Corinna Vinschen <corinna@vinschen.de>
5845
5846 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5847
3a767b69
JJ
58482003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5849
080ef411
CV
5850 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5851 prototype.
5852 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5853 _simdldcheck(). Also add unsigned cast for index variable in
5854 for loop using sizeof operators.
5855 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5856 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5857 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5858 plus fix shift calculation for determining if there is a
5859 carry from word2.
3a767b69 5860
84154fcc
CV
58612003-09-09 Corinna Vinschen <corinna@vinschen.de>
5862
5863 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5864 setgroupent for Cygwin.
5865
f1b15058
JJ
58662003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5867
5868 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5869 is different for _REENT_SMALL than when using regular reent
5870 struct.
5871
cf88c20f 58722003-09-05 Ben Elliston <bje@wasabisystems.com>
0a8fd4dc 5873
b73263e4
BE
5874 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5875 modern versions of GCC issue a warning.
5876
0a8fd4dc
BE
5877 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5878 after continuation characters that induces a warning from modern
5879 versions of GCC.
5880
10a32423
BE
58812003-09-04 Ben Elliston <bje@wasabisystems.com>
5882
5883 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
5884 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
5885
ed027a53
JJ
58862003-09-02 Thomas Pfaff <tpfaff@gmx.net>
5887
5888 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
5889 * libc/stdlib/exit.c : Ditto.
5890 * libc/stdlib/on_exit.c: Ditto.
5891
880fa247
JJ
58922003-08-27 Corinna Vinschen <corinna@vinschen.de>
5893
5894 * libc/include/reent.h: Define stat64 as __stat64 when
5895 compiling newlib for Cygwin.
5896
54c1d7ea
JJ
58972003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5898
5899 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
5900 __stat64 when compiling newlib.
5901
0eca0750
JJ
59022003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5903
5904 * libc/include/stdio.h: Allow the io64 function prototypes for
5905 Cygwin when compiling newlib.
5906 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
5907 to expose the Cygwin struct __stat64 type.
5908 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
5909 pointer.
5910 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
5911
9d4aef19
CF
59122003-08-23 Christopher Faylor <cgf@redhat.com>
5913
5914 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5915 definition to fseeko64.
5916
9fc9e1c9
JJ
59172003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5918
5919 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5920 * libc/stdio: Globally remove/replace all references to fp->_data.
5921 Replace with _REENT or _GLOBAL_REENT where appropriate.
5922 * libc/stdio/asprintf.c: Ditto.
5923 * libc/stdio/fclose.c: Ditto.
5924 * libc/stdio/fvwrite.c: Ditto.
5925 * libc/stdio/makebuf.c: Ditto.
5926 * libc/stdio/refill.c: Ditto.
5927 * libc/stdio/local.h: Ditto.
5928 * libc/stdio/setvbuf.c: Ditto.
5929 * libc/stdio/sscanf.c: Ditto.
5930 * libc/stdio/stdio.c: Ditto.
5931 * libc/stdio/ungetc.c: Ditto.
5932 * libc/stdio/vfscanf.c: Ditto.
5933 * libc/stdio/vsscanf.c: Ditto.
5934 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
5935 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
5936 * libc/stdio/vsnprintf.c: Ditto.
5937 * libc/stdio/vsprintf.c: Ditto.
5938 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
5939 instead of _REENT to walk file list.
5940 * libc/stdio/fflush.c: Ditto.
5941 * libc/stdio/fgetpos.c: Add reentrant version and have regular
5942 version call reentrant version with _REENT argument.
5943 * libc/stdio/fsetpos.c: Ditto.
5944 * libc/stdio/fseek.c: Ditto.
5945 * libc/stdio/fseeko.c: Ditto.
5946 * libc/stdio/ftell.c: Ditto.
5947 * libc/stdio/ftello.c: Ditto.
5948 * libc/stdio/freopen.c: Ditto.
5949 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
5950 new files to chain. Also use _GLOBAL_REENT pointer for
5951 cleaning up.
5952 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
5953 * libc/stdio/siprintf.c: Ditto.
5954 * libc/stdio/iprintf.c: Ditto.
5955 * libc/stdio/fprintf.c: Ditto.
5956 * libc/stdio/printf.c: Ditto.
5957 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
5958 * libc/stdio/sprintf.c: Ditto.
5959 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
5960 * libc/stdio/rewind.c: Call _fseek_r directly.
5961 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
5962 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
5963 data pointer.
5964 (get_arg): Add extra struct _reent pointer argument.
5965 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
5966 to fp->_data.
5967 * libc/stdio64/fopen64.c: Ditto.
5968 * libc/stdio64/freopen64.c: Ditto.
5969 * libc/stdio64/fsetpos64.c: Ditto.
5970 * libc/stdio64/ftello64.c: Ditto.
5971 * libc/stdio64/local64.h: Ditto.
5972 * libc/stdio64/stdio64.c: Ditto.
5973 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
5974 _fstat64_r for the meantime.
5975
8f021114
JJ
59762003-08-19 Jeff Johnston <jjohnstn@redhat.com>
5977
5978 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
5979 overflow detection.
17c0c97d 5980
db979bb4 59812003-08-13 Aldy Hernandez <aldyh@redhat.com>
17c0c97d 5982
db979bb4
JJ
5983 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
5984 extern "C".
5985
6efbdc7d
JJ
59862003-08-13 Jeff Johnston <jjohnstn@redhat.com>
5987
5988 * libc/include/math.h: Add prototypes for __signbitf and
5989 __signbitd.
5990
e895fc20
JJ
59912003-07-31 Jeff Johnston <jjohnstn@redhat.com>
5992
5993 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
5994 correct type of conversion when dealing with EUCJP or SJIS.
5995 * libc/ctype/iswblank.c: Ditto.
5996 * libc/ctype/iswcntrl.c: Ditto.
5997 * libc/ctype/iswprint.c: Ditto.
5998 * libc/ctype/iswpunct.c: Ditto.
5999 * libc/ctype/iswspace.c: Ditto.
6000 * libc/ctype/towlower.c: Ditto.
6001 * libc/ctype/towupper.c: Ditto.
6002
0302dfe5
NC
60032003-07-31 Nick Clifton <nickc@redhat.com>
6004
6005 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
6006 before calling main, in case it saves its argument registers.
ba3ccd63
EB
6007 Remove reference to deleted v850ea port.
6008 * configure.host: Remove reference to deleted v850ea port.
6009 Do not use -mv850 when building for v850e target. This
0302dfe5
NC
6010 prevents the ctbp system register from being initialised.
6011
42de5592
JJ
60122003-07-29 Honda Hiroki <hhonda@ipflex.com>
6013
6014 * libc/stdio/vfprintf.c: Set output size to 1 when
6015 we have %f format with precision 0 and # flag not specified.
6016
e5de27b6
AO
60172003-07-29 Alexandre Oliva <aoliva@redhat.com>
6018
6019 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
6020 .am33_2.
6021
3c98a593
CF
60222003-07-25 Christopher Faylor <cgf@redhat.com>
6023
6024 * libc/stdio64/fdopen64.c: Include sys/lock.h.
6025
e222bf67
CF
60262003-07-25 Christopher Faylor <cgf@redhat.com>
6027
6028 * configure.host: Find cygwin include directory, when appropriate.
6029
03536757
CF
60302003-07-24 Christopher Faylor <cgf@redhat.com>
6031
6032 * libc/stdio64/fdopen64.c: New file.
6033 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
6034 * libc/stdio64/Makefile.in: Regenerate.
6035 * libc/include/stdio.h (fdopen64): Define.
6036 * libc/include/stdio.h (_fdopen64_r): Ditto.
6037
18072a4f
AO
60382003-07-10 Alexandre Oliva <aoliva@redhat.com>
6039
6040 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
6041 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
6042 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
6043 restore callee-saved FP registers.
6044
e0bec12f
JR
60452003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
6046
6047 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
6048 for __sh__.
6049 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
6050 truncate.c.
6051 * libc/sys/sh/Makefile.in: Regenerate.
6052 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
6053 * libc/sys/sh/ftruncate.c: New file.
6054 * libc/sys/sh/truncate.c: Likewise.
6055
03d65dd9
AO
60562003-07-09 Alexandre Oliva <aoliva@redhat.com>
6057
6058 * libc/include/math.h (nan, nanf): Update prototype to C99.
6059 * libm/common/s_nan.c (nan): Likewise.
6060 * libm/common/s_nanf.c (nanf, nan): Likewise.
6061 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
6062
74aa9d7d
JJ
60632003-07-07 Jeff Johnston <jjohnstn@redhat.com>
6064
6065 * libc/include/stdbool.h: Removed as this is defined by gcc.
6066
0a447ef3
JJ
60672003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
6068
6069 * libc/include/stdbool.h: New header file defined by C99.
6070
282eff9a
JJ
60712003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6072
6073 * libc/include/sys/types.h (int8_t): Make signed.
6074
4e989b11
JJ
60752003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6076
6077 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
6078
07b40cf8
JJ
60792003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
6080
6081 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
6082 on if we actually created the shared memory file exclusively.
6083
7daa7891
JJ
60842003-06-27 Joe Vornehm <joev@mitre.org>
6085
6086 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
6087 comparisons to account for unsigned internal value w.
6088
51fa7562
JJ
60892003-06-26 Jeff Johnston <jjohnstn@redhat.com>
6090
6091 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
6092 wrbuf for a non-creating open.
6093
b8f7ea5c
JJ
60942003-06-24 Kazu Hirata <kazu@cs.umass.edu>
6095
6096 * libc/machine/h8300/setarch.h: New.
6097 * libc/machine/h8300/memcpy.S: Use it.
6098 * libc/machine/h8300/memset.S: Likewise.
6099 * libc/machine/h8300/reg_memcpy.S: Likewise.
6100 * libc/machine/h8300/reg_memset.S: Likewise.
6101 * libc/machine/h8300/setjmp.S: Likewise.
6102 * libc/machine/h8300/strcmp.S: Likewise.
6103
6d7ea52a
RS
61042003-06-24 Richard Sandiford <rsandifo@redhat.com>
6105
6106 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
6107 to atexit().
6108
5a74f2aa
JJ
61092003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6110
6111 * configure.host (iq2000): Add tabs.
6112
8266e478
JJ
61132003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6114
6115 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
6116 to handle latest on_exit change.
6117 * libc/sys/linux/Makefile.am: Remove special compilation
6118 for malloc.c and mcheck.c.
6119 * libc/sys/linux/Makefile.in: Regenerated.
6120 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
6121 after including <features.h>.
6122 * libc/sys/linux/mcheck.c: Ditto.
6123 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
6124 for <features.h>.
6125 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
6126 add -DNOT_IN_libc to C flags.
6127 * libc/sys/linux/intl/Makefile.in: Regenerated.
6128 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
6129 * libc/sys/linux/linuxthreads/semaphore.h: Include
6130 <bits/pthreadtypes.h>.
6131 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
6132 including <features.h>.
6133 * libc/sys/linux/sys/lock.h: Ditto.
6134
0efe117b
NC
61352003-06-11 Nick Clifton <nickc@redhat.com>
6136
6137 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
6138 _on_exit_args_ptr.
6139
bfdfd7e6 61402003-06-10 Stan Cox <scox@redhat.com>
ba3ccd63 6141 Anthony Green <green@redhat.com>
17c0c97d 6142
bfdfd7e6
AG
6143 * configure.host: Add iq2000 support.
6144 * newlib/libc/include/machine/ieeefp.h: Ditto.
6145 * newlib/libc/include/machine/setjmp.h: Ditto.
6146 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
6147 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
6148 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
6149 libc/machine/iq2000/Makefile.in: New files.
6150
d9e4104b
RS
61512003-06-10 Richard Sandiford <rsandifo@redhat.com>
6152
6153 * libc/sys/h8300hms/setarch.h: New file.
6154 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
6155 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
6156 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
6157 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
6158
729d1ff9
JJ
61592003-06-06 Jeff Johnston <jjohnstn@redhat.com>
6160
ba3ccd63
EB
6161 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
6162 definition.
6163 * libc/argz/argz_add_sep.c: Ditto.
6164 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
6165 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
6166 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
6167 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
6168 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
6169 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
6170 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
6171 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
6172 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
6173 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
6174 * libc/posix/execl.c libc/posix/execle.c: Ditto.
6175 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
6176 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
6177 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
6178 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
6179 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
6180 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
6181 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
6182 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
6183 * libc/search/twalk.c libc/signal/signal.c: Ditto.
729d1ff9 6184
75d7d177 61852003-06-05 Nick Clifton <nickc@redhat.com>
17c0c97d 6186
75d7d177
NC
6187 * libc/include/sys/reent.h (struct _on_exit_args): New
6188 structure containing fields used by the on_exit() function.
ba3ccd63 6189 (struct _atexit): Include struct _on_exit_args. For
75d7d177
NC
6190 _REENT_SMALL do his via a pointer that is initialised when
6191 needed.
ba3ccd63 6192 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
75d7d177 6193 structure, if one has been allocated.
ba3ccd63 6194 * libc/stdlib/atexit.c (atexit): Update indirection to
75d7d177 6195 _fntypes field.
ba3ccd63 6196 * libc/stdlib/on_exit.c (on_exit): Indirect via the
75d7d177
NC
6197 _on_exit_args structure. For _REENT_SMALL, allocate a
6198 structure if one does not exist.
ba3ccd63 6199 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
75d7d177
NC
6200 structure.
6201
2129f283
JJ
62022003-06-04 Jeff Johnston <jjohnstn@redhat.com>
6203
6204 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
6205 * libc/sys/linux/net/Makefile.in: Regenerated.
6206
bf3bcac2
JJ
62072003-06-03 Jeff Johnston <jjohnstn@redhat.com>
6208
6209 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
6210 * libc/reent/fcntlr.c: Ditto.
6211 * libc/reent/fstat64r.c: Ditto.
6212 * libc/reent/linkr.c: Ditto.
6213 * libc/reent/lseek64r.c: Ditto.
6214 * libc/reent/lseekr.c: Ditto.
6215 * libc/reent/openr.c: Ditto.
6216 * libc/reent/readr.c: Ditto.
6217 * libc/reent/reent.c: Ditto.
6218 * libc/reent/sbrkr.c: Ditto.
6219 * libc/reent/signalr.c: Ditto.
6220 * libc/reent/signgam.c: Ditto.
6221 * libc/reent/statr.c: Ditto.
6222 * libc/reent/timer.c: Ditto.
6223 * libc/reent/unlinkr.c: Ditto.
6224 * libc/reent/writer.c: Ditto.
6225 * libc/syscalls/sysclose.c: Ditto.
6226 * libc/syscalls/sysexecve.c: Ditto.
6227 * libc/syscalls/sysfcntl.c: Ditto.
6228 * libc/syscalls/sysfork.c: Ditto.
6229 * libc/syscalls/sysfstat.c: Ditto.
6230 * libc/syscalls/sysgetpid.c: Ditto.
6231 * libc/syscalls/sysgettod.c: Ditto.
6232 * libc/syscalls/syskill.c: Ditto.
6233 * libc/syscalls/syslink.c: Ditto.
6234 * libc/syscalls/syslseek.c: Ditto.
6235 * libc/syscalls/sysopen.c: Ditto.
6236 * libc/syscalls/sysread.c: Ditto.
6237 * libc/syscalls/syssbrk.c: Ditto.
6238 * libc/syscalls/sysstat.c: Ditto.
6239 * libc/syscalls/systimes.c: Ditto.
6240 * libc/syscalls/sysunlink.c: Ditto.
6241 * libc/syscalls/syswait.c: Ditto.
6242 * libc/syscalls/syswrite.c: Ditto.
6243
702ceb23
JJ
62442003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6245
6246 * libc/time/tzset_r.c: Change local variables that are
6247 set via sscanf using the %h format specifier to be unsigned short
6248 instead of int.
6249
102861c9
JJ
62502003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6251
6252 * configure.host: Allow i[34567]86 variant.
6253 * configure.in: Likewise.
6254 * README: Likewise to the docs.
6255 * configure: Regenerated.
6256 * Makefile.in: Ditto.
6257
b359e82c
JJ
62582003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6259 Tom Fitzsimmons <fitzsim@redhat.com>
6260
6261 * configure.in: Add iconvdata support for x86 linux.
6262 * configure: Regenerated.
17c0c97d 6263 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
b359e82c
JJ
6264 library, iconv, and linuxthreads support.
6265 * libc/sys/linux/configure.in: Ditto.
6266 * libc/sys/linux/Makefile.in: Regenerated.
6267 * libc/sys/linux/configure: Ditto.
6268 * iconvdata/EUC-JP.irreversible: New file.
6269 * iconvdata/Makefile.am: Ditto.
6270 * iconvdata/Makefile.in: Ditto.
6271 * iconvdata/SJIS.irreversible: Ditto.
6272 * iconvdata/aclocal.m4: Ditto.
6273 * iconvdata/configure: Ditto.
6274 * iconvdata/configure.in: Ditto.
6275 * iconvdata/dummy.c: Ditto.
6276 * iconvdata/euc-jp.c: Ditto.
6277 * iconvdata/gconv-modules: Ditto.
6278 * iconvdata/jis0201.c: Ditto.
6279 * iconvdata/jis0201.h: Ditto.
6280 * iconvdata/jis0208.c: Ditto.
6281 * iconvdata/jis0208.h: Ditto.
6282 * iconvdata/jis0212.c: Ditto.
6283 * iconvdata/jis0212.h: Ditto.
6284 * iconvdata/sjis.c: Ditto.
6285 * libc/include/errno.h: Protect definition of error_t.
6286 * libc/sys/linux/gethostid.c: New file.
6287 * libc/sys/linux/sethostid.c: Ditto.
6288 * libc/sys/linux/dl/Makefile.am: Ditto.
6289 * libc/sys/linux/dl/Makefile.in: Ditto.
6290 * libc/sys/linux/dl/abi-tag.h: Ditto.
6291 * libc/sys/linux/dl/atomicity.h: Ditto.
6292 * libc/sys/linux/dl/dl-addr.c: Ditto.
6293 * libc/sys/linux/dl/dl-cache.c: Ditto.
6294 * libc/sys/linux/dl/dl-cache.h: Ditto.
6295 * libc/sys/linux/dl/dl-close.c: Ditto.
6296 * libc/sys/linux/dl/dl-debug.c: Ditto.
6297 * libc/sys/linux/dl/dl-deps.c: Ditto.
6298 * libc/sys/linux/dl/dl-dst.h: Ditto.
6299 * libc/sys/linux/dl/dl-error.c: Ditto.
6300 * libc/sys/linux/dl/dl-fini.c: Ditto.
6301 * libc/sys/linux/dl/dl-init.c: Ditto.
6302 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6303 * libc/sys/linux/dl/dl-libc.c: Ditto.
6304 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6305 * libc/sys/linux/dl/dl-load.c: Ditto.
6306 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6307 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6308 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6309 * libc/sys/linux/dl/dl-misc.c: Ditto.
6310 * libc/sys/linux/dl/dl-object.c: Ditto.
6311 * libc/sys/linux/dl/dl-open.c: Ditto.
6312 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6313 * libc/sys/linux/dl/dl-profile.c: Ditto.
6314 * libc/sys/linux/dl/dl-profstub.c: Ditto.
6315 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6316 * libc/sys/linux/dl/dl-runtime.c: Ditto.
6317 * libc/sys/linux/dl/dl-support.c: Ditto.
6318 * libc/sys/linux/dl/dl-sym.c: Ditto.
6319 * libc/sys/linux/dl/dl-version.c: Ditto.
6320 * libc/sys/linux/dl/dlfcn.h: Ditto.
6321 * libc/sys/linux/dl/do-lookup.h: Ditto.
6322 * libc/sys/linux/dl/do-rel.h: Ditto.
6323 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6324 * libc/sys/linux/dl/kernel-features.h: Ditto.
6325 * libc/sys/linux/dl/ldsodefs.h: Ditto.
6326 * libc/sys/linux/dl/libintl.h: Ditto.
6327 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
6328 * libc/sys/linux/dl/unsecvars.h: Ditto.
6329 * libc/sys/linux/iconv/Makefile.am: Ditto.
6330 * libc/sys/linux/iconv/Makefile.in: Ditto.
6331 * libc/sys/linux/iconv/categories.def: Ditto.
6332 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
6333 * libc/sys/linux/iconv/gconv.c: Ditto.
6334 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
6335 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
6336 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
6337 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
6338 * libc/sys/linux/iconv/gconv_close.c: Ditto.
6339 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
6340 * libc/sys/linux/iconv/gconv_db.c: Ditto.
6341 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
6342 * libc/sys/linux/iconv/gconv_int.h: Ditto.
6343 * libc/sys/linux/iconv/gconv_open.c: Ditto.
6344 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6345 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
6346 * libc/sys/linux/iconv/hash-string.h: Ditto.
6347 * libc/sys/linux/iconv/iconv.c: Ditto.
6348 * libc/sys/linux/iconv/iconv.h: Ditto.
6349 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
6350 * libc/sys/linux/iconv/iconv_close.c: Ditto.
6351 * libc/sys/linux/iconv/iconv_open.c: Ditto.
6352 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
6353 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
6354 * libc/sys/linux/iconv/loadinfo.h: Ditto.
6355 * libc/sys/linux/iconv/localeinfo.h: Ditto.
6356 * libc/sys/linux/iconv/loop.c: Ditto.
6357 * libc/sys/linux/iconv/skeleton.c: Ditto.
6358 * libc/sys/linux/iconv/strtab.c: Ditto.
6359 * libc/sys/linux/include/dl-hash.h: Ditto.
6360 * libc/sys/linux/include/dlfcn.h: Ditto.
6361 * libc/sys/linux/include/fnmatch.h: Ditto.
6362 * libc/sys/linux/include/gconv.h: Ditto.
6363 * libc/sys/linux/include/glob.h: Ditto.
6364 * libc/sys/linux/include/hesiod.h: Ditto.
6365 * libc/sys/linux/include/ifaddrs.h: Ditto.
6366 * libc/sys/linux/include/libc_private.h: Ditto.
6367 * libc/sys/linux/include/link.h: Ditto.
6368 * libc/sys/linux/include/namespace.h: Ditto.
6369 * libc/sys/linux/include/netconfig.h: Ditto.
6370 * libc/sys/linux/include/netdb.h: Ditto.
6371 * libc/sys/linux/include/nsswitch.h: Ditto.
6372 * libc/sys/linux/include/regex.h: Ditto.
6373 * libc/sys/linux/include/resolv.h: Ditto.
6374 * libc/sys/linux/include/rune.h: Ditto.
6375 * libc/sys/linux/include/runetype.h: Ditto.
6376 * libc/sys/linux/include/semaphore.h: Ditto.
6377 * libc/sys/linux/include/setlocale.h: Ditto.
6378 * libc/sys/linux/include/un-namespace.h: Ditto.
6379 * libc/sys/linux/include/wordexp.h: Ditto.
6380 * libc/sys/linux/include/arpa/ftp.h: Ditto.
6381 * libc/sys/linux/include/arpa/inet.h: Ditto.
6382 * libc/sys/linux/include/arpa/nameser.h: Ditto.
6383 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
6384 * libc/sys/linux/include/arpa/telnet.h: Ditto.
6385 * libc/sys/linux/include/arpa/tftp.h: Ditto.
6386 * libc/sys/linux/include/net/bpf.h: Ditto.
6387 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
6388 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
6389 * libc/sys/linux/include/net/bridge.h: Ditto.
6390 * libc/sys/linux/include/net/ethernet.h: Ditto.
6391 * libc/sys/linux/include/net/fddi.h: Ditto.
6392 * libc/sys/linux/include/net/if.h: Ditto.
6393 * libc/sys/linux/include/net/if_arc.h: Ditto.
6394 * libc/sys/linux/include/net/if_arp.h: Ditto.
6395 * libc/sys/linux/include/net/if_atm.h: Ditto.
6396 * libc/sys/linux/include/net/if_dl.h: Ditto.
6397 * libc/sys/linux/include/net/if_gif.h: Ditto.
6398 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
6399 * libc/sys/linux/include/net/if_llc.h: Ditto.
6400 * libc/sys/linux/include/net/if_media.h: Ditto.
6401 * libc/sys/linux/include/net/if_mib.h: Ditto.
6402 * libc/sys/linux/include/net/if_ppp.h: Ditto.
6403 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
6404 * libc/sys/linux/include/net/if_slvar.h: Ditto.
6405 * libc/sys/linux/include/net/if_sppp.h: Ditto.
6406 * libc/sys/linux/include/net/if_stf.h: Ditto.
6407 * libc/sys/linux/include/net/if_tap.h: Ditto.
6408 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
6409 * libc/sys/linux/include/net/if_tun.h: Ditto.
6410 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
6411 * libc/sys/linux/include/net/if_types.h: Ditto.
6412 * libc/sys/linux/include/net/if_var.h: Ditto.
6413 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
6414 * libc/sys/linux/include/net/intrq.h: Ditto.
6415 * libc/sys/linux/include/net/iso88025.h: Ditto.
6416 * libc/sys/linux/include/net/net_osdep.h: Ditto.
6417 * libc/sys/linux/include/net/netisr.h: Ditto.
6418 * libc/sys/linux/include/net/pfil.h: Ditto.
6419 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
6420 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
6421 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
6422 * libc/sys/linux/include/net/radix.h: Ditto.
6423 * libc/sys/linux/include/net/raw_cb.h: Ditto.
6424 * libc/sys/linux/include/net/route.h: Ditto.
6425 * libc/sys/linux/include/net/slcompress.h: Ditto.
6426 * libc/sys/linux/include/net/slip.h: Ditto.
6427 * libc/sys/linux/include/net/zlib.h: Ditto.
6428 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
6429 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
6430 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
6431 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
6432 * libc/sys/linux/include/netinet/igmp.h: Ditto.
6433 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
6434 * libc/sys/linux/include/netinet/in.h: Ditto.
6435 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
6436 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
6437 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
6438 * libc/sys/linux/include/netinet/in_var.h: Ditto.
6439 * libc/sys/linux/include/netinet/ip.h: Ditto.
6440 * libc/sys/linux/include/netinet/ip6.h: Ditto.
6441 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
6442 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
6443 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
6444 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
6445 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
6446 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
6447 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
6448 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
6449 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
6450 * libc/sys/linux/include/netinet/tcp.h: Ditto.
6451 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
6452 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
6453 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
6454 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
6455 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
6456 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
6457 * libc/sys/linux/include/netinet/udp.h: Ditto.
6458 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
6459 * libc/sys/linux/include/netinet6/ah.h: Ditto.
6460 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
6461 * libc/sys/linux/include/netinet6/esp.h: Ditto.
6462 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
6463 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
6464 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
6465 * libc/sys/linux/include/netinet6/in6.h: Ditto.
6466 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
6467 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
6468 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
6469 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
6470 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
6471 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
6472 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
6473 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
6474 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
6475 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
6476 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
6477 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
6478 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
6479 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
6480 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
6481 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
6482 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
6483 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
6484 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
6485 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
6486 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
6487 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
6488 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
6489 * libc/sys/linux/include/netns/idp.h: Ditto.
6490 * libc/sys/linux/include/netns/idp_var.h: Ditto.
6491 * libc/sys/linux/include/netns/ns.h: Ditto.
6492 * libc/sys/linux/include/netns/ns_error.h: Ditto.
6493 * libc/sys/linux/include/netns/ns_if.h: Ditto.
6494 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
6495 * libc/sys/linux/include/netns/sp.h: Ditto.
6496 * libc/sys/linux/include/netns/spidp.h: Ditto.
6497 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
6498 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
6499 * libc/sys/linux/include/netns/spp_var.h: Ditto.
6500 * libc/sys/linux/include/rpc/Makefile: Ditto.
6501 * libc/sys/linux/include/rpc/auth.h: Ditto.
6502 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
6503 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
6504 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
6505 * libc/sys/linux/include/rpc/clnt.h: Ditto.
6506 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
6507 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
6508 * libc/sys/linux/include/rpc/des.h: Ditto.
6509 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
6510 * libc/sys/linux/include/rpc/nettype.h: Ditto.
6511 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
6512 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
6513 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
6514 * libc/sys/linux/include/rpc/raw.h: Ditto.
6515 * libc/sys/linux/include/rpc/rpc.h: Ditto.
6516 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
6517 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
6518 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
6519 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
6520 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
6521 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
6522 * libc/sys/linux/include/rpc/svc.h: Ditto.
6523 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
6524 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
6525 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
6526 * libc/sys/linux/include/rpc/types.h: Ditto.
6527 * libc/sys/linux/include/rpc/xdr.h: Ditto.
6528 * libc/sys/linux/intl/Makefile.am: Ditto.
6529 * libc/sys/linux/intl/Makefile.in: Ditto.
6530 * libc/sys/linux/intl/bindtextdom.c: Ditto.
6531 * libc/sys/linux/intl/catgets.c: Ditto.
6532 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
6533 * libc/sys/linux/intl/config.h: Ditto.
6534 * libc/sys/linux/intl/dcgettext.c: Ditto.
6535 * libc/sys/linux/intl/dcigettext.c: Ditto.
6536 * libc/sys/linux/intl/dcngettext.c: Ditto.
6537 * libc/sys/linux/intl/dgettext.c: Ditto.
6538 * libc/sys/linux/intl/dngettext.c: Ditto.
6539 * libc/sys/linux/intl/explodename.c: Ditto.
6540 * libc/sys/linux/intl/finddomain.c: Ditto.
6541 * libc/sys/linux/intl/gettext.c: Ditto.
6542 * libc/sys/linux/intl/gettext.h: Ditto.
6543 * libc/sys/linux/intl/gettextP.h: Ditto.
6544 * libc/sys/linux/intl/hash-string.h: Ditto.
6545 * libc/sys/linux/intl/l10nflist.c: Ditto.
6546 * libc/sys/linux/intl/loadinfo.h: Ditto.
6547 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
6548 * libc/sys/linux/intl/locale.alias: Ditto.
6549 * libc/sys/linux/intl/localealias.c: Ditto.
6550 * libc/sys/linux/intl/ngettext.c: Ditto.
6551 * libc/sys/linux/intl/open_catalog.c: Ditto.
6552 * libc/sys/linux/intl/plural.c: Ditto.
6553 * libc/sys/linux/intl/plural.y: Ditto.
6554 * libc/sys/linux/intl/stpcpy.c: Ditto.
6555 * libc/sys/linux/intl/textdomain.c: Ditto.
6556 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
6557 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6558 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
6559 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
6560 * libc/sys/linux/linuxthreads/attr.c: Ditto.
6561 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
6562 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
6563 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
6564 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
6565 * libc/sys/linux/linuxthreads/config.h: Ditto.
6566 * libc/sys/linux/linuxthreads/configure: Ditto.
6567 * libc/sys/linux/linuxthreads/configure.in: Ditto.
6568 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
6569 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
6570 * libc/sys/linux/linuxthreads/events.c: Ditto.
6571 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
6572 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
6573 * libc/sys/linux/linuxthreads/internals.h: Ditto.
6574 * libc/sys/linux/linuxthreads/join.c: Ditto.
6575 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
6576 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
6577 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
6578 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
6579 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
6580 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
6581 * libc/sys/linux/linuxthreads/manager.c: Ditto.
6582 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
6583 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
6584 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
6585 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
6586 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
6587 * libc/sys/linux/linuxthreads/prio.c: Ditto.
6588 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
6589 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
6590 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
6591 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
6592 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
6593 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
6594 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
6595 * libc/sys/linux/linuxthreads/queue.h: Ditto.
6596 * libc/sys/linux/linuxthreads/reent.c: Ditto.
6597 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
6598 * libc/sys/linux/linuxthreads/restart.h: Ditto.
6599 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
6600 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
6601 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
6602 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
6603 * libc/sys/linux/linuxthreads/signals.c: Ditto.
6604 * libc/sys/linux/linuxthreads/specific.c: Ditto.
6605 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
6606 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
6607 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
6608 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
6609 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6610 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
6611 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6612 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6613 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6614 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6615 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6616 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6617 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6618 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6619 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6620 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6621 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6622 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6623 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6624 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6625 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6626 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6627 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6628 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6629 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6630 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6631 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6632 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6633 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6634 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6635 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6636 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6637 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6638 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6639 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6640 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6641 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6642 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6643 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6644 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6645 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6646 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6647 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6648 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6649 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6650 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6651 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6652 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6653 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6654 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6655 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6656 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6657 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6658 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6659 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6660 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6661 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6662 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6663 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6664 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6665 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6666 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6667 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6668 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6669 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6670 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6671 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6672 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6673 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6674 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6675 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6676 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6677 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6678 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6679 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6680 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6681 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6682 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6683 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6684 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6685 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6686 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6687 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6688 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6689 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6690 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6691 * libc/sys/linux/net/Makefile.am: Ditto.
6692 * libc/sys/linux/net/Makefile.in: Ditto.
6693 * libc/sys/linux/net/addr2ascii.3: Ditto.
6694 * libc/sys/linux/net/addr2ascii.c: Ditto.
6695 * libc/sys/linux/net/ascii2addr.c: Ditto.
6696 * libc/sys/linux/net/base64.c: Ditto.
6697 * libc/sys/linux/net/bindresvport.c: Ditto.
6698 * libc/sys/linux/net/byteorder.3: Ditto.
6699 * libc/sys/linux/net/ether_addr.c: Ditto.
6700 * libc/sys/linux/net/ethers.3: Ditto.
6701 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6702 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6703 * libc/sys/linux/net/gethostbydns.c: Ditto.
6704 * libc/sys/linux/net/gethostbyht.c: Ditto.
6705 * libc/sys/linux/net/gethostbyname.3: Ditto.
6706 * libc/sys/linux/net/gethostbynis.c: Ditto.
6707 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6708 * libc/sys/linux/net/getifaddrs.3: Ditto.
6709 * libc/sys/linux/net/getifaddrs.c: Ditto.
6710 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6711 * libc/sys/linux/net/getnameinfo.3: Ditto.
6712 * libc/sys/linux/net/getnameinfo.c: Ditto.
6713 * libc/sys/linux/net/getnetbydns.c: Ditto.
6714 * libc/sys/linux/net/getnetbyht.c: Ditto.
6715 * libc/sys/linux/net/getnetbynis.c: Ditto.
6716 * libc/sys/linux/net/getnetent.3: Ditto.
6717 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6718 * libc/sys/linux/net/getproto.c: Ditto.
6719 * libc/sys/linux/net/getprotoent.3: Ditto.
6720 * libc/sys/linux/net/getprotoent.c: Ditto.
6721 * libc/sys/linux/net/getprotoname.c: Ditto.
6722 * libc/sys/linux/net/getservbyname.c: Ditto.
6723 * libc/sys/linux/net/getservbyport.c: Ditto.
6724 * libc/sys/linux/net/getservent.3: Ditto.
6725 * libc/sys/linux/net/getservent.c: Ditto.
6726 * libc/sys/linux/net/herror.c: Ditto.
6727 * libc/sys/linux/net/hesiod.3: Ditto.
6728 * libc/sys/linux/net/hesiod.c: Ditto.
6729 * libc/sys/linux/net/if_indextoname.3: Ditto.
6730 * libc/sys/linux/net/ifname.c: Ditto.
6731 * libc/sys/linux/net/inet.3: Ditto.
6732 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6733 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6734 * libc/sys/linux/net/inet_addr.c: Ditto.
6735 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6736 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6737 * libc/sys/linux/net/inet_net.3: Ditto.
6738 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6739 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6740 * libc/sys/linux/net/inet_neta.c: Ditto.
6741 * libc/sys/linux/net/inet_netof.c: Ditto.
6742 * libc/sys/linux/net/inet_network.c: Ditto.
6743 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6744 * libc/sys/linux/net/inet_ntop.c: Ditto.
6745 * libc/sys/linux/net/inet_pton.c: Ditto.
6746 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6747 * libc/sys/linux/net/ip6opt.c: Ditto.
6748 * libc/sys/linux/net/iso_addr.3: Ditto.
6749 * libc/sys/linux/net/iso_addr.c: Ditto.
6750 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6751 * libc/sys/linux/net/linkaddr.3: Ditto.
6752 * libc/sys/linux/net/linkaddr.c: Ditto.
6753 * libc/sys/linux/net/map_v4v6.c: Ditto.
6754 * libc/sys/linux/net/name6.c: Ditto.
6755 * libc/sys/linux/net/namespace.h: Ditto.
6756 * libc/sys/linux/net/ns.3: Ditto.
6757 * libc/sys/linux/net/ns_addr.c: Ditto.
6758 * libc/sys/linux/net/ns_name.c: Ditto.
6759 * libc/sys/linux/net/ns_netint.c: Ditto.
6760 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6761 * libc/sys/linux/net/ns_parse.c: Ditto.
6762 * libc/sys/linux/net/ns_print.c: Ditto.
6763 * libc/sys/linux/net/ns_ttl.c: Ditto.
6764 * libc/sys/linux/net/nsap_addr.c: Ditto.
6765 * libc/sys/linux/net/nsdispatch.3: Ditto.
6766 * libc/sys/linux/net/nsdispatch.c: Ditto.
6767 * libc/sys/linux/net/nslexer.c: Ditto.
6768 * libc/sys/linux/net/nslexer.l: Ditto.
6769 * libc/sys/linux/net/nsparser.c: Ditto.
6770 * libc/sys/linux/net/nsparser.h: Ditto.
6771 * libc/sys/linux/net/nsparser.y: Ditto.
6772 * libc/sys/linux/net/rcmd.3: Ditto.
6773 * libc/sys/linux/net/rcmd.c: Ditto.
6774 * libc/sys/linux/net/rcmdsh.3: Ditto.
6775 * libc/sys/linux/net/rcmdsh.c: Ditto.
6776 * libc/sys/linux/net/recv.c: Ditto.
6777 * libc/sys/linux/net/res_comp.c: Ditto.
6778 * libc/sys/linux/net/res_config.h: Ditto.
6779 * libc/sys/linux/net/res_data.c: Ditto.
6780 * libc/sys/linux/net/res_debug.c: Ditto.
6781 * libc/sys/linux/net/res_init.c: Ditto.
6782 * libc/sys/linux/net/res_mkquery.c: Ditto.
6783 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6784 * libc/sys/linux/net/res_query.c: Ditto.
6785 * libc/sys/linux/net/res_send.c: Ditto.
6786 * libc/sys/linux/net/res_update.c: Ditto.
6787 * libc/sys/linux/net/resolver.3: Ditto.
6788 * libc/sys/linux/net/rthdr.c: Ditto.
6789 * libc/sys/linux/net/send.c: Ditto.
6790 * libc/sys/linux/net/un-namespace.h: Ditto.
6791 * libc/sys/linux/net/vars.c: Ditto.
6792 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6793 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6794 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6795 * libc/sys/linux/stdlib/cclass.h: Ditto.
6796 * libc/sys/linux/stdlib/cname.h: Ditto.
6797 * libc/sys/linux/stdlib/collate.c: Ditto.
6798 * libc/sys/linux/stdlib/collate.h: Ditto.
6799 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6800 * libc/sys/linux/stdlib/engine.c: Ditto.
6801 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6802 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6803 * libc/sys/linux/stdlib/glob.3: Ditto.
6804 * libc/sys/linux/stdlib/glob.c: Ditto.
6805 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6806 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6807 * libc/sys/linux/stdlib/regerror.c: Ditto.
6808 * libc/sys/linux/stdlib/regex.3: Ditto.
6809 * libc/sys/linux/stdlib/regex2.h: Ditto.
6810 * libc/sys/linux/stdlib/regexec.c: Ditto.
6811 * libc/sys/linux/stdlib/regfree.c: Ditto.
6812 * libc/sys/linux/stdlib/utils.h: Ditto.
6813 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6814 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6815 * libc/sys/linux/sys/dlfcn.h: Ditto.
6816 * libc/sys/linux/sys/elfclass.h: Ditto.
6817 * libc/sys/linux/sys/event.h: Ditto.
6818 * libc/sys/linux/sys/ioccom.h: Ditto.
6819 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6820 * libc/sys/linux/sys/link.h: Ditto.
6821 * libc/sys/linux/sys/lock.h: Ditto.
6822 * libc/sys/linux/sys/param.h: Ditto.
6823 * libc/sys/linux/sys/socket.h: Ditto.
6824 * libc/sys/linux/sys/sockio.h: Ditto.
6825
17c0c97d 68262003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
82095e79 6827
17c0c97d 6828 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
82095e79
JJ
6829 normal mode
6830 * newlib/libc/machine/h8300/memset.S: Likewise
6831 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6832 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6833 * newlib/lib/machine/h8300/setjmp.S: Likewise
6834 * newlib/lib/machine/h8300/strcmp.S: Likewise
6835 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6836
8a4b4764
CV
68372003-05-13 Corinna Vinschen <corinna@vinschen.de>
6838
6839 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6840 * libc/include/stdio.h: Ditto.
6841 * libc/include/sys/config.h: Ditto.
6842 * libc/stdio/mktemp.c: Ditto.
6843
837e070f
CV
68442003-05-13 Corinna Vinschen <corinna@vinschen.de>
6845
6846 * libc/locale/ldpart.c (__part_load_locale): Substitute
6847 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6848 * libc/search/hash.c (__hash_open): Ditto.
6849 (init_hash): Ditto.
6850 * libc/stdio/fseek.c (fseek): Ditto.
6851 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6852 * libc/stdio/mktemp.c (_gettemp): Ditto.
6853
b47fcdf0
CV
68542003-05-12 Corinna Vinschen <corinna@vinschen.de>
6855
6856 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6857
11e3a520
CV
68582003-05-12 Corinna Vinschen <corinna@vinschen.de>
6859
6860 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6861 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6862 if __CYGWIN_USE_BIG_TYPES__ is set.
6863 * libc/search/hash.c (__hash_open): Ditto.
6864 (init_hash): Ditto.
6865 * libc/stdio/fseek.c (fseek): Ditto.
6866 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6867 * libc/stdio/mktemp.c (_gettemp): Ditto.
6868 * libc/sys/cygwin/Makefile.am: Remove.
6869 * libc/sys/cygwin/Makefile.in: Remove.
6870 * libc/sys/cygwin/aclocal.m4: Remove.
6871 * libc/sys/cygwin/configure: Remove.
6872 * libc/sys/cygwin/configure.in: Remove.
6873 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6874 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6875 directory.
6876 * libc/sys/cygwin/sys/param.h: Ditto.
6877 * libc/sys/cygwin/sys/utime.h: Ditto.
6878 * libc/sys/cygwin/sys/utmp.h: Ditto.
6879
d1b5e65b
CV
68802003-05-11 Corinna Vinschen <corinna@vinschen.de>
6881
6882 * libc/include/sys/types.h: Don't define key_t for Cygwin.
6883
ec48a953
CF
68842003-05-10 Christopher Faylor <cgf@redhat.com>
6885
6886 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
6887 64 bit inodes.
6888
a3cc5851
CV
68892003-05-09 Corinna Vinschen <corinna@vinschen.de>
6890
6891 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
6892 Include cygwin/config.h instead.
6893
57ff95d3
JJ
68942003-04-16 Jeff Johnston <jjohnstn@redhat.com>
6895
6896 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
6897 all code with #ifdef __SPE__ test.
6898 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
6899
cfd2c7be
CF
69002003-04-15 Chris January <chris@atomice.net>
6901
6902 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
6903 Cygwin.
6904
6f48c0ae
JR
69052003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
6906
6907 * libc/machine/sh/memset.S: Avoid clobbering volatile
6908 objects following a tiny to-be-set array in the same quadword.
6909
8f8d09c0
CV
69102001-04-09 Corinna Vinschen <corinna@vinschen.de>
6911
17c0c97d 6912 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
8f8d09c0
CV
6913 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
6914 * libc/string/Makefile.in: Regenerated.
6915 * libc/string/wcswidth.c: New file.
6916 * libc/string/wcwidth.c: New file.
6917 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6918
40c3b2d0
JR
6919Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6920
6921 * libc/machine/sh/memset.S: Fix problem with alloco region
6922 exceeding destination region for length >= 88 bytes, start
6923 & 0x16 == 0, end & 0x1f == 18.
6924
8ae6a3dd
CV
69252001-04-03 Corinna Vinschen <corinna@vinschen.de>
6926
6927 * libc/string/wcscoll.c: Fix comment.
6928
d122b1cc
CV
69292001-04-02 Corinna Vinschen <corinna@vinschen.de>
6930
6931 * libc/include/wchar.h: Add definition for wcscoll.
6932 * libc/string/Makefile.am: Add wcscoll.c.
6933 * libc/string/Makefile.in: Regenerated.
6934 * libc/string/wcscoll.c: New file.
17c0c97d 6935 * libc/string/wcstrings.tex: Add wcscoll.
d122b1cc 6936
31ee99a4
CV
69372003-04-01 Corinna Vinschen <corinna@vinschen.de>
6938
6939 * libc/stdio/sscanf.c: Update flags description.
6940 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
6941 type.
6942 (__svfscanf_r): Add 'hh' and 'll' handling.
6943
d78045ee
CV
69442003-04-01 Corinna Vinschen <corinna@vinschen.de>
6945
6946 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
6947 __d_position member to _off_t.
6948
e6bdc6c5
JJ
69492003-03-20 Jeff Johnston <jjohnstn@redhat.com>
6950
6951 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
6952 count all characters used to create number against maximum width.
6953 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6954
e65d559e
JJ
69552003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6956
6957 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
6958 support.
6959 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
6960 flag to support simulator only extensions.
6961
6b3bb52b
JJ
69622003-03-17 Bob Cassels <bcassels@abinitio.com>
6963
ba3ccd63 6964 * libc/string/wcschr.c: (wcschr): Look for character first,
6b3bb52b
JJ
6965 then for end of string, so you can do wcschr(x, '\0').
6966
17c0c97d 69672003-03-10 Corinna Vinschen <corinna@vinschen.de>
2a940c1a
CV
6968
6969 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
6970 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
6971 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
6972 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
6973 * libc/stdio/fseeko.c (fseeko): Ditto.
6974 * libc/stdio/ftello.c (ftello): Ditto.
6975 * libc/stdio/stdio.c (__swrite): Ditto.
6976 (__sseek): Ditto.
6977 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
6978 * libc/stdio/fseek.c (fseek): Ditto.
6979 * libc/stdio/fsetpos.c (fsetpos): Ditto.
6980 * libc/stdio/ftell.c (ftell): Ditto.
6981 * libc/stdio/local.h: Declare __sseek using _off_t.
6982
150c2818
CV
69832003-03-09 Corinna Vinschen <corinna@vinschen.de>
6984
6985 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
6986
2c440f9c
CV
69872003-03-09 Corinna Vinschen <corinna@vinschen.de>
6988
6989 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
6990 Cygwin.
6991
f882fd15
CV
69922003-03-09 Corinna Vinschen <corinna@vinschen.de>
6993
6994 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
6995 Cygwin.
6996 * libc/include/sys/stat.h: Ditto.
6997 * libc/include/sys/unistd.h: Ditto.
6998 * libc/sys/cygwin/sys/dirent.h: Ditto.
6999
01d61543
CF
70002003-03-07 Christopher Faylor <cgf@redhat.com>
7001
7002 * libc/include/sys/unistd.h: Guard getopt.h call to force only
7003 declaration of getopt and avoid getopt_long declaration.
7004 * libc/sys/cygwin/include/unistd.h: Remove.
7005
5582abd2
CV
70062003-03-07 Corinna Vinschen <corinna@vinschen.de>
7007
7008 * configure.host: Define stdio64_dir for Cygwin.
7009 * libc/include/stdio.h: Change definition of fpos_t to fulfill
7010 Cygwin 64bit file access requirements.
7011 Drop definition of f*64() functions when compiled for Cygwin.
7012 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
7013 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
7014 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
7015
641da1eb
JJ
70162003-03-07 Jeff Johnston <jjohnstn@redhat.com>
7017
7018 * libc/include/sys/reent.h: Remove extraneous _sig_func
7019 declaration.
7020
70212003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
41a639de
JJ
7022
7023 * libc/sys/h8300hms/Makefile.am: Add support for new files.
7024 * libc/sys/h8300hms/Makefile.in: Regenerated.
7025 * libc/sys/h8300hms/close.S: New file.
7026 * libc/sys/h8300hms/fstat.S: Ditto.
7027 * libc/sys/h8300hms/lseek.S: Ditto.
7028 * libc/sys/h8300hms/open.S: Ditto.
7029 * libc/sys/h8300hms/stat.S: Ditto.
7030 * libc/sys/h8300hms/read.S: New file to replace read.c.
7031 * libc/sys/h8300hms/read.c: Removed.
7032 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
7033 _lseek, _close, _stat, _fstat.
7034 * libc/sys/h8300hms/write.S: New file to replace write.c.
7035 * libc/sys/h8300hms/write.c: Removed.
7036
bac50d6b
NC
70372003-02-20 Nick Clifton <nickc@redhat.com>
7038
7039 * Add support for Cirrus Maverick ARM co-processor:
17c0c97d 7040
bac50d6b
NC
7041 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
7042
7043 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
7044 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
7045
7046 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
7047
7048 * configure.host: set sys_dir, syscall_dir, and
7049 newlib_cflags for ep9312 host.
7050
ba3ccd63 7051 * configure.host: Restore alpha sorting of entries in case
bac50d6b
NC
7052 statements.
7053
12ee7037
JJ
70542003-02-19 Jeff Johnston <jjohnstn@redhat.com>
7055
ba3ccd63 7056 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
12ee7037 7057
1e810ba0
JJ
70582003-02-18 Christian Groessler <chris@groessler.org>
7059
7060 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
7061 support z8001 segmented mode.
7062
b1ca765e
JJ
70632003-02-18 Earnie Boyd <earnie@users.sf.net>
7064
7065 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
7066 with a NULL value.
7067
51a46b54
CF
70682003-02-10 Christopher Faylor <cgf@redhat.com>
7069
7070 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
7071 Don't define some types under cygwin.
7072
313f1349
JJ
70732003-02-07 Jeff Johnston <jjohnstn@redhat.com>
7074
17c0c97d 7075 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
313f1349
JJ
7076 option to allow disabling of syscalls being supplied in newlib.
7077 * aclocal.m4: Regenerated.
7078 * configure: Ditto.
7079 * configure.host: Add support of new configuration option and add
7080 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
7081 * doc/aclocal.m4: Regenerated.
7082 * doc/configure: Ditto.
7083 * libc/*aclocal.m4: Ditto.
7084 * libc/*configure: Ditto.
7085 * libm/*aclocal.m4: Ditto.
7086 * libm/*configure: Ditto.
7087 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
7088 is disabled.
7089 * libc/sys/arm/Makefile.in: Regenerated.
7090
5017a3da
JJ
70912003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
7092
7093 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
7094 -1 to be sure it cannot later match a valid file fd causing
7095 isatty() to return 1.
7096 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
7097 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
7098 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
7099
ad36f7d1
JJ
71002003-02-03 Jeff Johnston <jjohnstn@redhat.com>
7101
7102 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
17c0c97d
EB
7103 buffer based on the precision, after we have processed the input value
7104 in a local buffer and know its relative magnitude.
ad36f7d1 7105
a74181ee
JJ
71062003-01-31 Michael Snyder <msnyder@redhat.com>
7107
7108 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
7109 into registers r1 and r2, so that the simulator can distinguish
7110 this trap from a breakpoint trap. Copied from libgloss.
7111
b85498d4
JJ
71122003-01-31 Michael Snyder <msnyder@redhat.com>
7113
7114 * libc/sys/h8300hms/crt0.S (_start): Change local label
7115 from .loop to .Loop, so that ld and gdb will ignore it.
7116
4700b829
JJ
71172003-01-29 Jason Tishler <jason@tishler.net>
7118
7119 * libc/include/time.h: Declare nanosleep() under Cygwin.
7120
0127ae40
NC
71212003-01-24 Nick Clifton <nickc@redhat.com>
7122
7123 * Add sh2e support:
7124
7125 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
7126
7127 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
7128 * libc/machine/sh/setjmp.S: Likewise.
7129 * libc/include/machine/ieeefp.h: Likewise.
7130
8bbcd9a1
CV
71312003-01-24 Corinna Vinschen <corinna@vinschen.de>
7132
7133 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
7134 for Cygwin.
7135
b8838e6f 71362003-01-21 Anita Kulkarni <anitak@kpit.com>
17c0c97d 7137
b8838e6f
JJ
7138 * libc/time/difftime.c : Typecast the result to double.
7139
f9e41155
CF
71402003-01-20 Christopher Faylor <cgf@redhat.com>
7141
7142 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
7143
6b5a7988
NC
71442003-01-18 Nick Clifton <nickc@redhat.com>
7145
7146 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
7147 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
7148
c3e92877
JJ
71492003-01-16 Joel Sherrill <joel@OARcorp.com>
7150
ba3ccd63
EB
7151 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
7152 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
7153 constants are defined in each file in the shared versions in
7154 libc/include.
7155 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
7156 autoconf can link programs.
7157 * libc/include/machine/types.h: Explicitly specify signed on
7158 intXX_t types to ensure they are signed.
c3e92877 7159
84510217
CF
71602003-01-14 Christopher Faylor <cgf@redhat.com>
7161
7162 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
7163 extensions.
7164
b3934ab3
RS
71652003-01-08 Richard Sandiford <rsandifo@redhat.com>
7166
7167 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
7168
be9c60e5
JJ
71692003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
7170
7171 * libc/stdio/sprintf.c: fix typo
7172 * libc/stdio/vfprintf.c: fix typo
7173
d4c3a750
JJ
71742003-01-07 Jeff Johnston <jjohnstn@redhat.com>
7175
7176 * configure.host: Support long double I/O for x86-linux.
7177 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
7178 large enough to hold formatted result.
7179 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
7180
b2294aaa
JJ
71812003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7182
7183 * Makefile.am: Add vasprintf.
7184 * Makefile.in: Regenerated.
7185
ea5e5daf
JJ
71862003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7187
7188 * asprintf.c (_asprintf_r): insure both declarations
7189 are the same.
7190
5c581eca
CF
71912002-12-28 Christopher Faylor <cgf@redhat.com>
7192
7193 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
7194 than defining getopt directly.
7195
60b0838f
JJ
71962002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7197
7198 * NEWS: Update with 1.11.0 info.
7199 * README: Ditto.
7200 * acinclude.m4: Change version number to 1.11.0.
7201 * aclocal.m4: Regenerated.
7202 * configure: Ditto.
7203 * doc/aclocal.m4: Ditto.
7204 * doc/configure: Ditto.
7205 * libc/*/aclocal.m4: Ditto.
7206 * libc/*/configure: Ditto.
7207 * libc/libc.texinfo: Ditto.
7208 * libm/*/aclocal.m4: Ditto.
7209 * libm/*/configure: Ditto.
7210 * libm/libm.texinfo: Ditto.
7211 * libc/sys/linux/shared.ld: Add VERS_1.11.
7212
10501d57
JJ
72132002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7214
7215 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
7216 Solutions to Red Hat Inc.
7217 * libc/machine/i386/f_atan2f.S: Ditto.
7218 * libc/machine/i386/f_exp.c: Ditto.
7219 * libc/machine/i386/f_expf.c: Ditto.
7220 * libc/machine/i386/f_frexp.S: Ditto.
7221 * libc/machine/i386/f_frexpf.S: Ditto.
7222 * libc/machine/i386/f_ldexp.S: Ditto.
7223 * libc/machine/i386/f_ldexpf.S: Ditto.
7224 * libc/machine/i386/f_log.S: Ditto.
7225 * libc/machine/i386/f_log10.S: Ditto.
7226 * libc/machine/i386/f_log10f.S: Ditto.
7227 * libc/machine/i386/f_logf.S: Ditto.
7228 * libc/machine/i386/f_pow.c: Ditto.
7229 * libc/machine/i386/f_powf.c: Ditto.
7230 * libc/machine/i386/f_tan.S: Ditto.
7231 * libc/machine/i386/f_tanf.S: Ditto.
7232 * libc/machine/i386/memchr.S: Ditto.
7233 * libc/machine/i386/memcmp.S: Ditto.
7234 * libc/machine/i386/memcpy.S: Ditto.
7235 * libc/machine/i386/memmove.S: Ditto.
7236 * libc/machine/i386/memset.S: Ditto.
7237 * libc/machine/i386/strchr.S: Ditto.
7238 * libc/machine/i386/strlen.S: Ditto.
7239 * libm/machine/i386/f_atan2.S: Ditto.
7240 * libm/machine/i386/f_atan2f.S: Ditto.
7241 * libm/machine/i386/f_exp.c: Ditto.
7242 * libm/machine/i386/f_expf.c: Ditto.
7243 * libm/machine/i386/f_frexp.S: Ditto.
7244 * libm/machine/i386/f_frexpf.S: Ditto.
7245 * libm/machine/i386/f_ldexp.S: Ditto.
7246 * libm/machine/i386/f_ldexpf.S: Ditto.
7247 * libm/machine/i386/f_log.S: Ditto.
7248 * libm/machine/i386/f_log10.S: Ditto.
7249 * libm/machine/i386/f_log10f.S: Ditto.
7250 * libm/machine/i386/f_logf.S: Ditto.
7251 * libm/machine/i386/f_pow.c: Ditto.
7252 * libm/machine/i386/f_powf.c: Ditto.
7253 * libm/machine/i386/f_tan.S: Ditto.
7254 * libm/machine/i386/f_tanf.S: Ditto.
7255
9b3f0d16
JJ
72562002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7257
7258 * libc/stdlib/environ.c: Update license to Red Hat.
7259 * libc/machine/hppa/setjmp.S: Ditto.
7260 * libm/test/Makefile.in: Ditto.
7261
d693ad84
JJ
72622002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7263
7264 * configure.host: Remove references to go32.
7265 * libc/sys/go32/*: Removed.
7266
7da92d15
JJ
72672002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7268
7269 * libc/include/sys/config.h: Change setting of INT_MAX
7270 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7271 __H8300S__. Also consolidate flag settings for these
7272 platforms.
7273
ea01c7f5
JJ
72742002-12-10 Joel Sherrill <joel@OARcorp.com>
7275
7276 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7277 for i386-rtems targets.
7278
c049dd5a
JJ
72792002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7280
7281 * libc/include/stdlib.h (strtof): New prototype (from C99).
7282 (strtodf): Changed from prototype to macro which redefines
7283 to strtof.
7284 * libc/stdlib/atof.c: Change documentation to refer to strtof
7285 instead of strtodf.
7286 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7287 strtodf.
7288 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7289 (strtof): New function.
7290 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7291 calls strtof.
7292
46a402e0
CF
72932002-11-27 Christopher Faylor <cgf@redhat.com>
7294
7295 * libc/string/memset.c (memset): Fix comment.
7296
b3cc01b0
CF
72972002-11-26 Christopher Faylor <cgf@redhat.com>
7298
7299 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7300 function.
7301
d90f3dc1
CF
73022002-11-25 Christopher Faylor <cgf@redhat.com>
7303
7304 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7305 variable, introduced below, everywhere.
7306
f24585c6
KH
73072002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7308
7309 * libc/string/memset.c (memset): Make it safe even if
7310 sizeof (int) = 2.
7311
2955fd76
JJ
73122002-11-22 Joe Buehler <jbuehler@hekimian.com>
7313
7314 * configure.in: Change check for libc/include in ${CC} to
7315 use an intermediate value so as to work with different shells.
7316 * configure: Regenerated.
7317 * Makefile.in: Ditto.
7318
40ce7368
JJ
73192002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
7320
7321 * libc/sys/h8300hms/read.c: Add support for normal mode
7322 architecture.
7323
505746ad
JJ
73242002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
7325
7326 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
7327 code for __H8300H__ and __H8300S__. Also return 32-bit return code
7328 when -mint32 is used.
7329
28ecb2f5
NC
73302002-11-18 Nick Clifton <nickc@redhat.com>
7331
7332 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
7333
665b994e
JJ
73342002-11-14 Jeff Johnston <jjohnstn@redhat.com>
7335
ba3ccd63
EB
7336 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
7337 only issue one pass/fail message for a compile/link/execute.
7338 * testsuite/newlib.elix/elix.exp: New file.
7339 * testsuite/newlib.elix/tmmap.c: Ditto.
665b994e 7340
e91ec2e3
CF
73412002-11-06 Christopher Faylor <cgf@redhat.com>
7342
7343 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
7344 * libc/stdlib/mlock.c: Ditto.
7345 * libc/stdlib/msize.c: Ditto.
7346 * libc/stdlib/msize.c: Ditto.
7347 * libc/stdlib/mtrim.c: Ditto.
7348 * libc/stdlib/valloc.c: Ditto.
7349
944772c7
JJ
73502002-11-12 Jeff Johnston <jjohnstn@redhat.com>
7351
ba3ccd63
EB
7352 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
7353 for inf/nan, make sure that the check ignores the sign bit.
944772c7 7354
dd7ee147
JJ
73552002-11-07 Joel Sherrill <joel@OARcorp.com>
7356
ba3ccd63
EB
7357 * libc/sys/rtems/machine: New directory.
7358 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
7359 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
7360 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
7361 targets more BSD like when installed without requiring files to
7362 be overwritten at install point when RTEMS itself is installed.
7363 * Makefile.am: Pick up system dependent machine .h files such as
7364 might be found on a BSD-ish system.
7365 * Makefile.in: Regenerate.
7366 * libc/include/machine/types.h: When on an RTEMS target, define a
7367 few BSD flavor types.
dd7ee147
JJ
7368
73692002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
503430d8
CF
7370
7371 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
7372
18cd62b7
JJ
73732002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7374
ba3ccd63
EB
7375 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
7376 * libc/include/wctype.h: Ditto.
18cd62b7 7377
d2888812
JJ
73782002-11-04 Jeff Johnston <jjohnstn@redhat.com>
7379
ba3ccd63
EB
7380 * libc/include/wchar.h: Add extern "C" specifier if C++.
7381 * libc/include/wctype.h: Ditto.
d2888812 7382
978ea3cf
JJ
73832002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7384
ba3ccd63
EB
7385 * testsuite/newlib.wctype/tiswctype.c: New test case.
7386 * testsuite/newlib.wctype/twctrans.c: Ditto.
978ea3cf 7387
a42cf80a
JJ
73882002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7389
ba3ccd63
EB
7390 * libc/sys/linux/machine/i386/include/endian.h: New file.
7391 * libc/sys/linux/machine/i386/include/param.h: Ditto.
a42cf80a 7392
c9ccb1f2
JJ
73932002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7394
7395 * libm/machine/i386/aclocal.m4: Regenerated.
7396 * libm/machine/i386/configure: Ditto.
7397
94c5b430
JJ
73982002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7399
ba3ccd63
EB
7400 * testsuite/include/check.h: New header file to use with
7401 test cases.
7402 * testsuite/lib/newlib.exp: Add testsuite/include directory
7403 to list of header files to use.
7404 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
7405 * testsuite/newlib.wctype/wctype.exp: New file.
94c5b430 7406
ccdae543
RS
74072002-10-11 Graham Stott <graham.stott@btinternet.com>
7408 Richard Sandiford <rsandifo@redhat.com>
f770cf44
RS
7409
7410 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
7411 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
7412 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7413
73972116
JS
74142002-10-07 Joel Sherrill <joel@OARcorp.com>
7415
7416 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
7417 dummy programs.
7418
89e3fcba
JS
74192002-10-07 Joel Sherrill <joel@OARcorp.com>
7420
7421 * libc/include/pthread.h: Define PTHREAD_CANCELED.
7422
54ec52e4
JS
74232002-10-07 Joel Sherrill <joel@OARcorp.com>
7424
7425 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
7426 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
7427 compile with current GNU tools.
7428
d389acba
JJ
74292002-10-07 Jeff Johnston <jjohnstn@redhat.com>
7430
7431 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
7432 the build library.
7433 * configure.in: Ditto.
7434 * Makefile.in: Regenerated.
7435 * configure: Ditto.
7436 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
7437 for specifying configured libraries/directories.
7438 * libc/sys/linux/configure.in: Ditto.
7439 * libc/sys/linux/Makefile.in: Regenerated.
7440 * libc/sys/linux/configure: Ditto.
7441
af5a221f
JJ
74422002-10-03 Jeff Johnston <jjohnstn@redhat.com>
7443
7444 * libc/include/reent.h: Update documentation at start of file.
7445
59a758bd
JW
74462002-09-27 Jim Wilson <wilson@redhat.com>
7447
7448 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
7449 the ctbp register.
7450
1ed3c86d
JJ
74512002-09-27 Jeff Johnston <jjohnstn@redhat.com>
7452
7453 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
7454 Also convert to EUCJP before using arrays. For values not in
7455 the conversion arrays, return WEOF.
7456 * libc/ctype/jp2uc.h: Change from one array to a number of
7457 arrays to account for the fact that the originating table
7458 is not contiguous for the input values since some are invalid.
7459
6e1dfd2d
JJ
74602002-09-24 Jeff Johnston <jjohnstn@redhat.com>
7461
7462 * libc/time/ctime.c: Fix prototype documentation.
7463
06f1353a
CV
74642002-09-24 Corinna Vinschen <corinna@vinschen.de>
7465
7466 * libc/include/sys/errno.h: Add EOVERFLOW.
7467
1e0e64c9
JJ
74682002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7469
7470 * libc/include/wctype.h: New file.
7471
1525d127
JJ
74722002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7473
ba3ccd63
EB
7474 * libc/ctype/Makefile.am: Add new files.
7475 * libc/ctype/Makefile.in: Regenerated.
7476 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
7477 and wctrans functions to documentation index.
7478 * libc/ctype/iswalnum.c: New file.
7479 * libc/ctype/iswalpha.c: Ditto.
7480 * libc/ctype/iswblank.c: Ditto.
7481 * libc/ctype/iswcntrl.c: Ditto.
7482 * libc/ctype/iswctype.c: Ditto.
7483 * libc/ctype/iswdigit.c: Ditto.
7484 * libc/ctype/iswgraph.c: Ditto.
7485 * libc/ctype/iswlower.c: Ditto.
7486 * libc/ctype/iswprint.c: Ditto.
7487 * libc/ctype/iswpunct.c: Ditto.
7488 * libc/ctype/iswspace.c: Ditto.
7489 * libc/ctype/iswupper.c: Ditto.
7490 * libc/ctype/iswxdigit.c: Ditto.
7491 * libc/ctype/jp2uc.c: Ditto.
7492 * libc/ctype/jp2uc.h: Ditto.
7493 * libc/ctype/local.h: Ditto.
7494 * libc/ctype/towctrans.c: Ditto.
7495 * libc/ctype/towlower.c: Ditto.
7496 * libc/ctype/towupper.c: Ditto.
7497 * libc/ctype/utf8alpha.h: Ditto.
7498 * libc/ctype/utf8print.h: Ditto.
7499 * libc/ctype/utf8punct.h: Ditto.
7500 * libc/ctype/wctrans.c: Ditto.
7501 * libc/ctype/wctype.c: Ditto.
7502 * libc/locale/locale.c (__lc_ctype): New external array to
7503 replace static lc_ctype array.
7504 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
7505 rather than reentrancy structure's _current_locale field.
7506 * libc/stdlib/wctomb_r.c: Ditto.
1525d127 7507
da25e61f
JJ
75082002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7509
7510 * configure.host: Minor comment and formatting changes.
7511 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
7512 * libc/Makefile.in: Regenerated.
7513 * libc/include/sys/config.h: Minor format change.
7514
5b9ee539
JJ
75152002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7516
7517 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
7518 statement comment.
7519
50558bf3
JJ
75202002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7521
7522 * libc/posix/opendir.c (opendir): Change code to check
7523 for HAVE_FCNTL before calling fcntl.
7524 * libc/search/hash.c (hash_open): Ditto.
7525 * libc/search/hash_page.c (open_tmp): Ditto.
7526 * libc/reent/Makefile.am: Add fcntlr.c.
7527 * libc/reent/Makefile.in: Regenerated.
7528 * libc/reent/fcntlr.c: New file.
7529 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
7530 instead of _fcntl when HAVE_FCNTL flag is set.
7531 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
7532 to see if _fcntl or _fcntl_r should be called. If flag is not
7533 set, default to ENOSYS stub.
7534
9211a1ad
JJ
75352002-09-16 Jeff Johnston <jjohnstn@redhat.com>
7536
7537 * libc/include/wchar.h (mbstate_t): Change protective flag to
7538 be _MBSTATE_T.
7539 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
7540 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
7541 for Cygwin.
7542 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
7543
a8615092
JJ
75442002-09-11 Jeff Johnston <jjohnstn@redhat.com>
7545
ba3ccd63
EB
7546 * acinclude.m4 (enable-newlib-mb): Change check to
7547 default newlib_mb variable to empty string rather than "no".
7548 * configure.host: Remove hard-coding of -DMB_CAPABLE for
7549 x86-linux and Cygwin. Add code to check for newlib_mb
7550 being unset in which case set to "yes" for x86-linux and
7551 Cygwin. Change check for newlib_mb being "yes" to allow
7552 for an empty string.
7553 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
7554 * newlib.hin (_MB_LEN_MAX): New define to configure.
7555 * aclocal.m4: Regenerated.
7556 * configure: Ditto.
7557 * libc/include/limits.h: New file.
7558 * libc/sys/linux/include/limits.h: Ditto.
7559 * doc/aclocal.m4 doc/configure libc/aclocal.m4
7560 libc/configure libc/machine/aclocal.m4
7561 libc/machine/configure libc/machine/a29k/aclocal.m4
7562 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7563 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7564 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7565 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7566 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
7567 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
7568 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7569 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7570 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7571 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7572 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7573 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
7574 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
7575 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7576 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7577 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7578 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7579 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7580 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7581 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7582 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7583 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7584 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7585 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7586 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
7587 libc/machine/xscale/configure
7588 libc/machine/xstormy16/aclocal.m4
7589 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
7590 libc/machine/z8k/configure libc/sys/aclocal.m4
7591 libc/sys/configure libc/sys/a29khif/aclocal.m4
7592 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
7593 libc/sys/arc/configure libc/sys/arm/aclocal.m4
7594 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7595 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
7596 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
7597 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
7598 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
7599 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
7600 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
7601 libc/sys/idt/configure libc/sys/linux/aclocal.m4
7602 libc/sys/linux/configure
7603 libc/sys/linux/machine/aclocal.m4
7604 libc/sys/linux/machine/configure
7605 libc/sys/linux/machine/i386/aclocal.m4
7606 libc/sys/linux/machine/i386/configure
7607 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7608 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
7609 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7610 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7611 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7612 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7613 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7614 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7615 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7616 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7617 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7618 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7619 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7620 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7621 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7622 libm/aclocal.m4 libm/configure: Regenerated.
a8615092 7623
be83844e
JJ
76242002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7625
ba3ccd63
EB
7626 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7627 code that clears the .bss section.
be83844e 7628
9c64d2a7
JJ
76292002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7630
ba3ccd63
EB
7631 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7632 unsigned char internally.
7633 * libc/sys/linux/sys/_types.h: Ditto.
7634 * libc/include/sys/reent.h
7635 * libc/stdlib/mblen.c (mblen): Use function-specific state
7636 value from default reentrancy structure.
7637 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7638 _mbtowc_r is less than 0, reset state __count value and
7639 return -1.
7640 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7641 is NULL, use the function-specific pointer provided in the
7642 default reentrancy structure.
7643 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7644 If input state pointer is NULL, use function-specific area
7645 provided in reentrancy structure.
7646 * libc/stdlib/mbsrtowcs.c: Ditto.
7647 * libc/stdlib/wcrtomb.c: Ditto.
7648 * libc/stdlib/wcsrtombs.c: Ditto.
7649 * libc/stdlib/mbstowcs.c: Reformat.
7650 * libc/stdlib/wcstombs.c: Ditto.
7651 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7652 reset the state's __count value and return -1.
7653 * libc/stdlib/mbtowc.c: Ditto.
7654 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7655 If number of bytes is used up before completing a valid multibyte
7656 character, return -2 and save the state.
7657 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7658 and change some __count references to __state for clarity.
9c64d2a7 7659
218b7a56
JJ
76602002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7661
7662 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7663 is defined by <limits.h>.
7664
c210a6ea
JJ
76652002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7666
7667 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7668 defined.
7669
efa077ce
JJ
76702002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7671
ba3ccd63
EB
7672 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7673 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7674 __WCHAR_MAX__ or 0x7fffffffu.
7675 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7676 * libc/string/wcsncmp.c: Ditto.
efa077ce 7677
e4b0ebc1
JJ
76782002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7679
7680 * libc/string/wcschr.c: Add include of <stddef.h>.
7681 * libc/string/wcspbrk.c: Ditto.
7682 * libc/string/wcsrchr.c: Ditto.
7683 * libc/string/wcsstr.c: Ditto.
7684
3db40db7
JJ
76852002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7686
ba3ccd63
EB
7687 * libc/include/sys/_types.h (_flock_t): Added.
7688 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7689 (__lock_try_acquire_recursive): Ditto.
7690 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7691 _lock field.
7692 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7693 field.
7694 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7695 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7696 * libc/sys/linux/include/time.h (struct timespec): Moved from
7697 <sys/types.h> and added check for __need_timespec flag so type
7698 can be defined by itself.
7699 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7700 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7701 <time.h>.
3db40db7 7702
cd45f029
TF
77032002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7704
7705 * libc/sys/linux/argp: New directory.
7706 * libc/sys/linux/getopt.c: New file.
7707 * libc/sys/linux/getopt1.c: New file.
7708 * libc/sys/linux/getoptlong.c: Remove file.
7709 * libc/sys/linux/include/argp.h: New file.
7710 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7711 based on ELIX level.
7712 (SUBDIRS): Add argp_dir.
7713 (SUBLIBS): Add ARGP_LIB.
7714 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7715 getopt_long.$(oext).
7716 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7717
3c689185
JJ
77182002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7719
ba3ccd63
EB
7720 * libc/libc.texinfo: Add node reference to wide-character strings.
7721 * libc/string/wcstrings.tex: New file.
3c689185 7722 * libc/string/strtok_r.c: Remove outdated advertising clause.
ba3ccd63
EB
7723 * libc/string/Makefile.am (doc): Add wide-character string
7724 chapter to documentation.
7725 * libc/string/Makefile.in: Regenerated.
3c689185 7726
890e7a1d
JJ
77272002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7728
ba3ccd63
EB
7729 * libc/include/wchar.h: Define NULL. Define WEOF more general
7730 way. Declare functions in newlib manner.
7731 * libc/stdlib/Makefile.am: Delete wmem*.c
7732 * libc/stdlib/Makefile.in: Regenerated.
7733 * libc/stdlib/wmemchr.c: Delete.
7734 * libc/stdlib/wmemcmp.c: Ditto.
7735 * libc/stdlib/wmemcpy.c: Ditto.
7736 * libc/stdlib/wmemmove.c: Ditto.
7737 * libc/stdlib/wmemset.c: Ditto.
7738 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7739 * libc/string/Makefile.in: Regenerated.
7740 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7741 * libc/string/wcschr.c: Ditto.
7742 * libc/string/wcscmp.c: Ditto.
7743 * libc/string/wcscpy.c: Ditto.
7744 * libc/string/wcscspn.c: Ditto.
7745 * libc/string/wcslcat.c: Ditto.
7746 * libc/string/wcslcpy.c: Ditto.
7747 * libc/string/wcslen.c: Ditto.
7748 * libc/string/wcsncat.c: Ditto.
7749 * libc/string/wcsncmp.c: Ditto.
7750 * libc/string/wcsncpy.c: Ditto.
7751 * libc/string/wcspbrk.c: Ditto.
7752 * libc/string/wcsrchr.c: Ditto.
7753 * libc/string/wcsspn.c: Ditto.
7754 * libc/string/wcsstr.c: Ditto.
7755 * libc/string/wmemchr.c: Ditto.
7756 * libc/string/wmemcmp.c: Ditto.
7757 * libc/string/wmemcpy.c: Ditto.
7758 * libc/string/wmemmove.c: Ditto.
7759 * libc/string/wmemset.c: Ditto.
890e7a1d 7760
86620e21
JJ
77612002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7762
ba3ccd63
EB
7763 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7764 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7765 and is treated as if "C" was specified.
86620e21 7766
f3741c27
JJ
77672002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7768
ba3ccd63
EB
7769 * Makefile.am (install-data-local): Move install of build
7770 newlib.h after installing headers in libc/include so as to
7771 overwrite default newlib.h.
7772 * Makefile.in: Regenerated.
f3741c27 7773
48da61f5
JJ
77742002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7775
ba3ccd63
EB
7776 * libc/include/newlib.h: New file for tools that use newlib
7777 headers but don't build newlib first (e.g. gcc).
48da61f5 7778
d82a94ac
JJ
77792002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7780
7781 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7782 * libc/stdlib/wmemcmp.c: Ditto.
7783 * libc/stdlib/wmemcpy.c: Ditto.
7784 * libc/stdlib/wmemmove.c: Ditto.
7785 * libc/stdlib/wmemset.c: Ditto.
7786
7d08241b
JJ
77872002-08-27 Egor Duda <deo@logos-m.ru>
7788
7789 * libc/stdlib/wmemchr.c: New file.
7790 * libc/stdlib/wmemcmp.c: Ditto.
7791 * libc/stdlib/wmemcpy.c: Ditto.
7792 * libc/stdlib/wmemmove.c: Ditto.
7793 * libc/stdlib/wmemset.c: Ditto.
7794 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7795 * configure.host: Default -DMB_CAPABLE for cygwin.
7796 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7797 wmemmove() and wmemset(). Add include of <_ansi.h>.
7798 * libc/stdlib/Makefile.in: Regenerate.
7799
8da1639b
JJ
78002002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7801
ff2bf852 7802 * configure.host: Remove _ELIX_LEVEL flag setting.
8da1639b
JJ
7803 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7804 (install-data-local): Install newlib.h.
7805 * Makefile.in: Regenerated.
7806 * aclocal.m4: Ditto.
7807 * configure: Ditto.
17c0c97d 7808 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
8da1639b
JJ
7809 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7810 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7811 In AC_OUTPUT statement, unset ac_file so multilib support does
7812 not use last ac_file temporary used in newlib.h configuration.
7813 * libc/include/_ansi.h: Include <newlib.h>.
7814 * newlib.hin: New template file for newlib.h.
7815 * stamp-h.in: New file.
7816
a4421c11
JJ
78172002-08-26 Wu Yongwei <adah@netstd.com>
7818
ba3ccd63 7819 * time.h (timezonevar): Change "#if" to "#ifdef".
a4421c11 7820
90b65e2d
JJ
78212002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7822
7823 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7824 * Makefile.in: Regenerated.
7825 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7826 * aclocal.m4: Regenerated.
7827 * configure: Ditto.
7828 * configure.host: Add code to define _ELIX_LEVEL if
7829 --enable-newlib-elix-level option is used.
17c0c97d 7830 * configure.in:
90b65e2d
JJ
7831 * libc/aclocal.m4: Regenerated.
7832 * libc/configure: Ditto.
7833 * libc/argz/Makefile.am: Add EL/IX level checking.
7834 * libc/argz/Makefile.in: Regenerated.
7835 * libc/argz/dummy.c: New file.
7836 * libc/ctype/Makefile.am: Add EL/IX level checking.
7837 * libc/ctype/Makefile.in: Regenerated.
7838 * libc/locale/Makefile.am: Add EL/IX level checking.
7839 * libc/locale/Makefile.in: Regenerated.
7840 * libc/posix/Makefile.am: Add EL/IX level checking.
7841 * libc/posix/Makefile.in: Regenerated.
7842 * libc/posix/telldir.c: Add EL/IX level checking.
7843 * libc/reent/Makefile.am: Ditto.
7844 * libc/reent/fstat64r.c: Ditto.
7845 * libc/reent/lseek64r.c: Ditto.
7846 * libc/reent/open64r.c: Ditto.
7847 * libc/reent/Makefile.in: Regenerated.
7848 * libc/search/Makefile.am: Add EL/IX level checking.
7849 * libc/search/Makefile.in: Regenerated.
7850 * libc/stdio/Makefile.am: Add EL/IX level checking.
7851 * libc/stdio/Makefile.in: Regenerated.
7852 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7853 * libc/stdio64/Makefile.in: Regenerated.
7854 * libc/stdio64/dummy.c: New file.
9b487837 7855 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
90b65e2d
JJ
7856 after first include.
7857 * libc/stdio64/fopen64.c: Ditto.
7858 * libc/stdio64/freopen64.c: Ditto.
7859 * libc/stdio64/fseeko64.c: Ditto.
7860 * libc/stdio64/fsetpos64.c: Ditto.
7861 * libc/stdio64/ftello64.c: Ditto.
7862 * libc/stdio64/tmpfile64.c: Ditto.
7863 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7864 * libc/stdlib/Makefile.in: Regenerated.
7865 * libc/stdlib/mstats.c: Add EL/IX level checking.
7866 * libc/string/Makefile.am: Ditto.
7867 * libc/string/Makefile.in: Regenerated.
7868 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7869 * libc/sys/linux/Makefile.in: Regenerated.
7870 * libc/sys/linux/aclocal.m4: Ditto.
7871 * libc/sys/linux/configure: Ditto.
7872 * libc/sys/linux/aio.c: Add EL/IX level checking.
7873 * libc/sys/linux/ftok.c: Ditto.
7874 * libc/sys/linux/getdate.c: Ditto.
7875 * libc/sys/linux/ids.c: Ditto.
7876 * libc/sys/linux/inode.c: Ditto.
7877 * libc/sys/linux/io.c: Ditto.
7878 * libc/sys/linux/process.c: Ditto.
7879 * libc/sys/linux/resource.c: Ditto.
7880 * libc/sys/linux/sched.c: Ditto.
7881 * libc/sys/linux/sig.c: Ditto.
7882 * libc/sys/linux/termios.c: Ditto.
7883 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
7884 __libc___waitpid weak aliases.
7885 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
7886 that generate the code for a syscall, but do not create a
7887 weak alias.
7888 * libc/syscalls/Makefile.am: Add EL/IX level checking.
7889 * libc/syscalls/Makefile.in: Regenerated.
7890 * libc/time/tzset_r.c: Change to replace strdup with equivalent
7891 functionality.
7892 * libc/unix/Makefile.am: Add EL/IX level checking.
7893 * libc/unix/Makefile.in: Regenerated.
7894
2e2b268c
CF
78952002-08-26 Christopher Faylor <cgf@redhat.com>
7896
7897 * libc/include/malloc.h: On cygwin, define malloc _r functions as
7898 wrapper macros to standard malloc functions.
7899 * libc/include/stdlib.h: Ditto.
7900 * configure.host: Always define MALLOC_PROVIDED on cygwin.
7901
8d9112f2
TF
79022002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7903
7904 * libc/include/langinfo.h: New file.
7905 * libc/include/wchar.h: Likewise.
7906 * libc/include/sys/syslimits.h: Likewise.
7907 * libc/locale/fix_grouping.c: Likewise.
7908 * libc/locale/ldpart.c: Likewise.
7909 * libc/locale/ldpart.h: Likewise.
7910 * libc/locale/lmessages.c: Likewise.
7911 * libc/locale/lmessages.h: Likewise.
7912 * libc/locale/lmonetary.c: Likewise.
7913 * libc/locale/lmonetary.h: Likewise.
7914 * libc/locale/lnumeric.c: Likewise.
7915 * libc/locale/lnumeric.h: Likewise.
7916 * libc/locale/nl_langinfo.3: Likewise.
7917 * libc/locale/nl_langinfo.c: Likewise.
7918 * libc/locale/timelocal.c: Likewise.
7919 * libc/locale/timelocal.h: Likewise.
7920 * libc/stdlib/btowc.c: Likewise.
7921 * libc/stdlib/mbrlen.c: Likewise.
7922 * libc/stdlib/mbrtowc.c: Likewise.
7923 * libc/stdlib/mbsinit.c: Likewise.
7924 * libc/stdlib/mbsrtowcs.c: Likewise.
7925 * libc/stdlib/wcrtomb.c: Likewise.
7926 * libc/stdlib/wcsrtombs.c: Likewise.
7927 * libc/stdlib/wctob.c: Likewise.
7928 * libc/sys/linux/prof-freq.c: Likewise.
7929 * libc/sys/linux/profile.c: Likewise.
7930 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7931 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7932 * libc/include/stdlib.h: Change re-entrant functions to take
7933 mbstate_t pointers.
7934 * libc/include/sys/_types.h: Define _mbstate_t.
7935 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
7936 * libc/include/sys/errno.h (EILSEQ): New error code.
7937 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
7938 structure to use mbstate_t.
7939 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
7940 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
7941 * libc/machine/powerpc/vfscanf.c: Likewise.
7942 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
7943 * libc/stdio/vfprintf.c: Likewise.
7944 * libc/stdio/vfscanf.c: Likewise.
7945 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
7946 * libc/stdlib/mblen.c: Use mbstate_t.
7947 * libc/stdlib/mblen_r.c: Likewise.
7948 * libc/stdlib/mbstowcs.c: Likewise.
7949 * libc/stdlib/mbstowcs_r.c: Likewise.
7950 * libc/stdlib/mbtowc.c: Likewise.
7951 * libc/stdlib/mbtowc_r.c: Likewise.
7952 * libc/stdlib/wcstombs.c: Likewise.
7953 * libc/stdlib/wcstombs_r.c: Likewise.
7954 * libc/stdlib/wctomb_r.c: Likewise.
7955 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
7956 profile.c.
7957 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
7958 dl-procinfo.c.
7959 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
7960 * libc/sys/linux/sys/types.h (off_t): Define type.
7961 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
7962 to C-UTF-8.
7963 * testsuite/newlib.locale/UTF-8.exp: Likewise.
7964
fe47ea33
JJ
79652002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
7966
ba3ccd63
EB
7967 * libc/stdlib/mallocr.c: #include windows.h on Win32.
7968 (AlignPage): Continue macro on next line.
fe47ea33 7969
ada73509
JJ
79702002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7971
7972 * libc/sys/linux/include/pthread.h: New file.
7973
64b5e8f2
JJ
79742002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7975
7976 * libc/include/sys/types.h: Support __need_inttypes macro
17c0c97d 7977 that only sets the __intxx and __uintxx types.
64b5e8f2
JJ
7978 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
7979 to get mprec.h.
7980 * libc/machine/powerpc/Makefile.in: Regenerated.
7981 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
7982 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
7983 redundant fixed-point conversion prototypes.
7984 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
7985 after setting __need_inttypes.
7986
a94b60ce
CF
79872002-08-18 Christopher Faylor <cgf@redhat.com>
7988
7989 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
7990
29e17a86
JJ
79912002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7992
ba3ccd63
EB
7993 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
7994 _LONG_DOUBLE to double.
29e17a86 7995
936b520f
JJ
79962002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7997
7998 * configure.host: Add powerpc*-*-eabispe* configuration.
7999 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
8000 * libc/machine/powerpc/atosfix32.c: Ditto.
8001 * libc/machine/powerpc/atosfix64.c: Ditto.
8002 * libc/machine/powerpc/atoufix16.c: Ditto.
8003 * libc/machine/powerpc/atoufix32.c: Ditto.
8004 * libc/machine/powerpc/atoufix64.c: Ditto.
8005 * libc/machine/powerpc/fix64.h: Ditto.
8006 * libc/machine/powerpc/simdldtoa.c: Ditto.
8007 * libc/machine/powerpc/strtosfix16.c: Ditto.
8008 * libc/machine/powerpc/strtosfix32.c: Ditto.
8009 * libc/machine/powerpc/strtosfix64.c: Ditto.
8010 * libc/machine/powerpc/strtoufix16.c: Ditto.
8011 * libc/machine/powerpc/strtoufix32.c: Ditto.
8012 * libc/machine/powerpc/strtoufix64.c: Ditto.
8013 * libc/machine/powerpc/ufix64toa.c: Ditto.
8014 * libc/machine/powerpc/configure.in: Add check for
8015 powerpc*-eabispe and add fixed-point conversion functions.
8016 * libc/machine/powerpc/configure: Regenerated.
8017 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
8018 %r and %R format specifiers which handle fixed-point data.
8019 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
8020 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
8021 function prototypes.
8022
ad552766
JJ
80232002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8024
8025 * Makefile.am: Move cmath stuff into libc/sys/linux.
8026 * Makefile.in: Regenerated.
8027 * configure.host: Default -DMB_CAPABLE for x86-linux.
8028 * libc/include/reent.h: Define _sbrk to take signed int argument.
8029 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
17c0c97d
EB
8030 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
8031 make locale name checking more efficient. Also allow "C-ISO-8859-1"
ad552766
JJ
8032 locale for LC_CTYPE and LC_MESSAGES.
8033 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
8034 * libc/sys/linux/brk.c: Change sbrk prototype.
8035 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
8036 include <sys/features.h>.
8037 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
8038 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
8039 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
8040 with a few local additions.
8041 * libc/sys/linux/sys/features.h: New file.
8042 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
8043 to take signed argument.
8044 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
8045 prototypes to take signed size argument.
8046
d3bd3632
TF
80472002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8048
8049 * libc/sys/linux/cmath: New directory.
8050 * libc/sys/linux/include/cmathcalls.h: New file.
8051 * libc/sys/linux/include/complex.h: New file.
8052 * libc/sys/linux/machine/i386/huge_val.h: New file
8053 * libm/math/w_sincos.c: New file
8054 * libm/math/wf_sincos.c: New file
8055 * libm/mathfp/s_sincos.c: New file
8056 * libm/mathfp/sf_sincos.c: New file
8057 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
8058 * libc/include/math.h: Add sincos and sincosf declarations.
8059 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
8060 (SUBLIBS): Likewise.
8061 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
8062 * libm/math/Makefile.am (src): Add w_sincos.c.
8063 (fsrc): Add wf_sincos.c.
8064 * libm/mathfp/Makefile.am (src): Add s_sincos.c
8065 (fsrc): Add sf_sincos.c.
8066
b3a9676b
JJ
80672002-08-12 Jeff Johnston <jjohnstn@redhat.com>
8068
8069 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
8070 Declare as extern chars and use the address operator to
8071 properly use values set in linker script.
8072
659e7062
JJ
80732002-08-09 Jason Tishler <jason@tishler.net>
8074
8075 * libc/stdlib/mallocr.c: Include <limits.h>.
8076 (request2size): Change macro to do
8077 unsigned long comparisons and avoid signed overflow.
8078 (mALLOc): Add overflow check for the number of bytes to allocate.
8079 (rEALLOc): Ditto.
8080
037240a2
JJ
80812002-08-09 Jeff Johnston <jjohnstn@redhat.com>
8082
8083 * configure.host: Add check for --enable-newlib-io-pos-args
8084 and define WANT_IO_POS_ARGS flag if enabled. Define
8085 the flag by default for x86-linux configurations.
8086 * configure.in: Add support for --enable-newlib-io-pos-args.
8087 * libc/configure.in: Ditto.
8088 * configure: Regenerated.
8089 * libc/configure: Ditto.
8090 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
8091 vfprintf.c and vfiprintf.c.
8092 * libc/stdio/Makefile.in: Regenerated.
8093 * libc/stdio/vfprintf.c: Add positional argument support that
8094 is enabled by compiling with -DWANT_IO_POS_ARGS.
8095
172fda76
RS
80962002-08-07 Richard Sandiford <rsandifo@redhat.com>
8097
8098 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
8099 based on __mips_soft_float rather than __mips64.
8100 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
8101 of both 32-bit and 64-bit code.
8102
4866247e
CF
81032002-08-04 Christopher Faylor <cgf@redhat.com>
8104
8105 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
8106 arguments for popen to match similar functionality in fopen.
8107
b96332ce
CV
81082002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
8109
8110 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
8111
60d99bce
JJ
81122002-07-29 Jeff Johnston <jjohnstn@redhat.com>
8113
ba3ccd63
EB
8114 * libc/sys/linux/Makefile.am: Add aio64.c.
8115 * libc/sys/linux/Makefile.in: Regenerated.
8116 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
8117 * libc/sys/linux/aio64.c: New file.
60d99bce 8118
80a21be0
JJ
81192002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8120
8121 * libc/include/sys/param.h (MAX, MIN): Added macros.
8122 * libc/sys/linux/Makefile.am: Add new files.
8123 * libc/sys/linux/Makefile.in: Regenerated.
8124 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8125 * libc/sys/linux/inode.c (fchdir): Added syscall.
8126 * libc/sys/linux/ftw.c: New file.
8127 * libc/sys/linux/ftw64.c: Ditto.
8128 * libc/sys/linux/getwd.c: Ditto.
8129 * libc/sys/linux/scandir64.c: Ditto.
8130 * libc/sys/linux/strverscmp.c: Ditto.
8131 * libc/sys/linux/versionsort.c: Ditto.
8132 * libc/sys/linux/versionsort64.c: Ditto.
8133
6b6425cb
JJ
81342002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8135
8136 * libc/string/strings.tex: Fix typo for memccpy.
8137
dc8ac8e6
JJ
81382002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8139
8140 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
8141 * libc/sys/linux/sys/types.h (off64_t): Definition added.
8142
aa0ca6fd
JJ
81432002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8144
8145 * libc/sys/linux/Makefile.am: Add fclean.c.
8146 * libc/sys/linux/Makefile.in: Regenerated.
8147 * libc/sys/linux/fclean.c: New file.
8148
61921945
JJ
81492002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8150
8151 * libc/sys/linux/Makefile.am: Add confstr.c.
8152 * libc/sys/linux/Makefile.in: Regenerated.
8153 * libc/sys/linux/confstr.c: New file.
8154 * libc/sys/linux/confstr.h: Ditto.
8155 * libc/sys/linux/sys/unistd.h: Include <features.h> and
8156 <bits/environments.h>.
8157
3d966a92
JJ
81582002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8159
8160 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
8161 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
8162 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
8163 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
8164 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
8165 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
8166
53b5bff7
JJ
81672002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8168
8169 * libc/sys/linux/Makefile.am: Add new files.
8170 * libc/sys/linux/Makefile.in: Regenerated.
8171 * libc/sys/linux/fstab.c: New file.
8172 * libc/sys/linux/fstatvfs.c: Ditto.
8173 * libc/sys/linux/fstatvfs64.c: Ditto.
8174 * libc/sys/linux/internal_statvfs.c: Ditto.
8175 * libc/sys/linux/mntent.c: Ditto.
8176 * libc/sys/linux/mntent_r.c: Ditto.
8177 * libc/sys/linux/statvfs.c: Ditto.
8178 * libc/sys/linux/statvfs64.c: Ditto.
8179 * libc/sys/linux/include/paths.h: Ditto.
8180 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
8181 with double-underscore weak-aliases.
8182 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8183
9cef8ef5
JJ
81842002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8185
8186 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
8187 to use _sig_func_ptr type casted constants.
8188 (_sig_func_ptr): Typedef moved to sys/signal.h.
8189 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
8190 For __rtems, use POSIX definition, otherwise default to ANSI.
8191 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
8192
a703e0f2
JJ
81932002-07-24 Stephane Carrez <stcarrez@nerim.fr>
8194
ba3ccd63
EB
8195 * configure.host: Recognize m6811-elf and m6812-elf targets.
8196 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
8197 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
8198 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
8199 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
8200 according to __INT_MAX__.
8201 (_POINTER_INT): Define to short.
8202 * libc/machine/m68hc11/Makefile.am: New file.
8203 * libc/machine/m68hc11/Makefile.in: New file.
8204 * libc/machine/m68hc11/configure.in: New file.
8205 * libc/machine/m68hc11/configure: New file.
8206 * libc/machine/m68hc11/aclocal.m4: New file.
8207 * libc/machine/m68hc11/setjmp.S: New file.
a703e0f2 8208
d254189b
JJ
82092002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8210
8211 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
8212 prototypes.
8213 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
8214 * libc/stdlib/Makefile.in: Regenerated.
8215 * libc/stdlib/strdup.c: Removed.
8216 * libc/stdlib/strdup_r.c: Removed.
8217 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
8218 mempcpy.c, strndup.c, and strndup_r.c.
8219 * libc/string/Makefile.in: Regenerated.
8220 * libc/string/memccpy.c: New file.
8221 * libc/string/mempcpy.c: Ditto.
8222 * libc/string/strndup.c: Ditto.
8223 * libc/string/strndup_r.c: Ditto.
8224 * libc/string/strdup.c: New file moved from stdlib.
8225 * libc/string/strdup_r.c: Ditto.
8226 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
8227
bc100655
JJ
82282002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8229
ba3ccd63
EB
8230 * libc/include/stdio.h: Move fcloseall prototype within
8231 #ifndef _REENT_ONLY section.
8232 * libc/sys/linux/Makefile.am: Add new files.
8233 * libc/sys/linux/Makefile.in: Regenerated.
8234 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8235 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
bc100655 8236 * libc/sys/linux/sys/types.h: Add ino64_t type.
ba3ccd63
EB
8237 * libc/sys/linux/ctermid.c: New file.
8238 * libc/sys/linux/ttyname_r.c: Ditto.
bc100655
JJ
8239 * libc/sys/linux/readdir64.c: Ditto.
8240
f5f27f07
JJ
82412002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8242
8243 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8244 * libc/stdio/Makefile.am: Added fcloseall.c support.
8245 * libc/stdio/Makefile.in: Regenerated.
8246 * libc/stdio/fcloseall.c: New file.
8247 * libc/stdio64/Makefile.am: Remove missing .def references.
8248 * libc/stdio64/Makefile.in: Regenerated.
8249
d541ba3e
JJ
82502002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8251
8252 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8253 * libc/machine/powerpc/times.c: New file.
8254 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8255 * libc/machine/powerpc/Makefile.in: Regenerated.
8256
82572002-07-22 Aldy Hernandez <aldyh@redhat.com>
e964bca8 8258
ba3ccd63
EB
8259 * libc/machine/powerpc/time.c: New file.
8260 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8261 time.c.
e964bca8
JJ
8262 * libc/machine/powerpc/Makefile.in: Regenerated.
8263
5e7d0a55
TF
82642002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8265
8266 * libc/libc.texinfo: Change copyright notices to Red Hat from
8267 Cygnus.
8268 * libm/libm.texinfo: Likewise.
8269 * README: Change docs URL to
8270 http://sources.redhat.com/newlib/docs.html.
8271
504628e7
JJ
82722002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8273
ba3ccd63
EB
8274 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8275 * libc/sys/linux/Makefile.in: Regenerated.
8276 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8277 * libc/sys/linux/io.c: Add ftruncate syscall.
8278 * libc/sys/linux/fpathconf.c: New file.
8279 * libc/sys/linux/pathconf.c: Ditto.
504628e7 8280 * libc/sys/linux/linux_fsinfo.h: Ditto.
ba3ccd63 8281 * libc/sys/linux/sys/unistd.h: Ditto.
504628e7 8282
b155ad9f
JJ
82832002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8284
8285 * libc/stdio64/Makefile.am: Remove missing files.
8286 * libc/stdio64/Makefile.in: Regenerated.
8287
c119e0ab
JJ
82882002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8289
ba3ccd63
EB
8290 * libc/include/sys/config.h[__i386__][__linux__]: Define
8291 _LARGE64FILE_SOURCE to 1.
8292 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8293 * libc/sys/linux/Makefile.in: Regenerated.
8294 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8295 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8296 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8297 of <linux/resource.h>.
8298 * libc/sys/linux/getrlimit64.c: New file.
8299 * libc/sys/linux/setrlimit64.c: Ditto.
c119e0ab 8300
9b022d6d
TF
83012002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8302
8303 * libc/argz/argz_replace.c: Include buf_findstr.h.
8304 * libc/argz/buf_findstr.c: Likewise.
8305 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8306 value to (char *).
8307 * libc/argz/envz_get.c: Likewise.
8308 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8309 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8310 * libc/stdlib/getsubopt.3: New file.
8311 * libc/stdlib/getsubopt.c: New file.
8312 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8313 Change esp to ebp.
8314
dee51391
JJ
83152002-07-17 Jeff Johnston <jjohnstn@redhat.com>
8316
8317 * configure.host(stdio64_dir): New setting that is used to
8318 enable building of new stdio64 directory.
8319 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
8320 large files.
8321 (stmp-stdio64,stdio64.texi): New targets to optionally add in
8322 stdio64 info to info files.
8323 * libc/Makefile.in: Regenerated.
8324 * libc/configure: Ditto.
8325 * libc/configure.in: Add configuration variables that are set
8326 when stdio64 is selected as subdir in configure.host.
8327 * libc/libc.texinfo: Add optional menu item for Stdio64, based
8328 on whether STDIO64 flag is set or not.
8329 * libc/sys.tex: Add optional stdio64 syscalls based on whether
8330 STDIO64 flag is set or not.
8331 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
8332 _r sycall routines.
8333 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
8334 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
8335 (__SL64): New file flag indicating file is opened via fopen64.
8336 * libc/include/sys/_types.h(_off64_t): Added.
8337 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
8338 * libc/include/sys/reent.h(struct __sFILE64): New file structure
8339 for 64-bit offset large file support.
8340 (__FILE): New intermediate type either set to struct __sFILE64 or
8341 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
8342 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
8343 * libc/reent/Makefile.in: Regenerated.
8344 * libc/reent/fstat64r.c: New file.
8345 * libc/reent/lseek64r.c: Ditto.
8346 * libc/reent/open64r.c: Ditto.
8347 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
17c0c97d 8348 based on whether STDIO64 flag is set.
dee51391
JJ
8349 * libc/stdio/stdio.tex: Add blank line.
8350 * libc/stdio64/Makefile.am: New file.
8351 * libc/stdio64/Makefile.in: Ditto.
8352 * libc/stdio64/fgetpos64.c: Ditto.
8353 * libc/stdio64/fopen64.: Ditto.
8354 * libc/stdio64/freopen64.c: Ditto.
8355 * libc/stdio64/fseeko64.c: Ditto.
8356 * libc/stdio64/fsetpos64.c: Ditto.
8357 * libc/stdio64/ftello64.c: Ditto.
8358 * libc/stdio64/local64.h: Ditto.
8359 * libc/stdio64/stdio64.c: Ditto.
8360 * libc/stdio64/stdio64.tex: Ditto.
8361 * libc/stdio64/tmpfile64.c: Ditto.
8362 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
8363 open64.
8364
778876f6
JJ
83652002-07-16 Jeff Johnston <jjohnstn@redhat.com>
8366
ba3ccd63
EB
8367 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
8368 if LIBC_EXTRA_LIB is present.
8369 * libc/Makefile.in: Regenerated.
778876f6 8370 * libc/libc.texinfo: Add blank line.
ba3ccd63
EB
8371 * libc/argz/Makefile.am: Add doc support.
8372 * libc/search/Makefile.am: Ditto.
8373 * libc/argz/Makefile.in: Regenerated.
8374 * libc/search/Makefile.in: Ditto.
8375 * libc/misc/misc.tex: Add ffs function.
8376 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
778876f6 8377
37981145
JJ
83782002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8379
8380 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
8381 definition that was removed in error.
8382
38b5dc59
JJ
83832002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8384
8385 * libc/include/machine/ieeefp.h: Change to only define
17c0c97d 8386 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
38b5dc59
JJ
8387 __IEEE_LITTLE_ENDIAN must be defined for each platform).
8388 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
8389 remove redundant floating point definitions.
8390
8cb61a96
JJ
83912002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8392
ba3ccd63
EB
8393 * libc/sys/linux/callocr.c: Fix so code references
8394 calloc.
8cb61a96 8395
edba3282
JJ
83962002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8397
ba3ccd63
EB
8398 * libc/sys/linux/Makefile.am: Add new files.
8399 * libc/sys/linux/Makefile.in: Regenerated.
8400 * libc/sys/linux/bp-sym.h: Moved to include directory.
8401 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
8402 * libc/sys/linux/inode.c: Set _LIBC to 1.
8403 * libc/sys/linux/mq_close.c: Ditto.
8404 * libc/sys/linux/mq_getattr.c: Ditto.
8405 * libc/sys/linux/mq_open.c: Ditto.
8406 * libc/sys/linux/mq_receive.c: Ditto.
8407 * libc/sys/linux/mq_send.c: Ditto.
8408 * libc/sys/linux/mq_setattr.c: Ditto.
8409 * libc/sys/linux/mq_unlink.c: Ditto.
8410 * libc/sys/linux/calloc.c: New file.
8411 * libc/sys/linux/callocr.c: Ditto.
8412 * libc/sys/linux/cfreer.c: Ditto.
8413 * libc/sys/linux/config.h: Ditto.
8414 * libc/sys/linux/free.c: Ditto.
8415 * libc/sys/linux/freer.c: Ditto.
8416 * libc/sys/linux/msize.c: Ditto.
8417 * libc/sys/linux/msizer.c: Ditto.
8418 * libc/sys/linux/mstats.c: Ditto.
8419 * libc/sys/linux/mtrim.c: Ditto.
8420 * libc/sys/linux/mtrimr.c: Ditto.
8421 * libc/sys/linux/pvallocr.c: Ditto.
8422 * libc/sys/linux/realloc.c: Ditto.
8423 * libc/sys/linux/reallocr.c: Ditto.
8424 * libc/sys/linux/thread-m.h: Ditto.
8425 * libc/sys/linux/vallocr.c: Ditto.
8426 * libc/sys/linux/bp-checks.h: Ditto.
8427 * libc/sys/linux/libc-symbols.h: Ditto.
8428 * libc/sys/linux/libc-tsd.h: Ditto.
8429 * libc/sys/linux/libintl.h: Ditto.
8430 * libc/sys/linux/malign.c: Ditto.
8431 * libc/sys/linux/malignr.c: Ditto.
8432 * libc/sys/linux/mallinfor.c: Ditto.
8433 * libc/sys/linux/malloc.c: Ditto.
8434 * libc/sys/linux/mallocr.c: Ditto.
8435 * libc/sys/linux/malloptr.c: Ditto.
8436 * libc/sys/linux/mallstatsr.c: Ditto.
8437 * libc/sys/linux/mcheck.c: Ditto.
8438 * libc/sys/linux/mhooks.h: Ditto.
8439 * libc/sys/linux/include/bp-sym.h: Ditto.
8440 * libc/sys/linux/include/malloc.h: Ditto.
8441 * libc/sys/linux/include/mcheck.h: Ditto.
8442 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
8443 getpagesize.c.
8444 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
8445 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
8446 * libc/sys/linux/machine/i386/getpagesize.c: New file.
8447 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
8448 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8449 * libc/sys/linux/machine/i386/sysdep.h: New file.
8450 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
8451 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
8452 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
edba3282 8453
ea20b60a
JJ
84542002-07-12 Jeff Johnston <jjohnstn@redhat.com>
8455
8456 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
8457 instead of <asm/siginfo.h>.
8458 * libc/sys/linux/sys/signal.h: Change to include various linux
8459 <bits/xxx.h> header files, rather than <linux/signal.h> so as
8460 to work with multiple releases of glibc header files.
8461
2fc82912
JJ
84622002-07-11 Chris Demetriou <cgd@broadcom.com>
8463
ba3ccd63
EB
8464 * testsuite/newlib.search/hsearchtest.c: New file to test
8465 newlib/libc/search.
8466 * testsuite/newlib.search/hsearchtest.exp: Likewise.
2fc82912 8467
4a404e97 84682002-07-10 Florian Schrack <florian.schrack@freenet.de>
2a8b4ea3
JJ
8469
8470 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
8471 a terminal.
8472 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
8473
6aec558e
JJ
84742002-07-08 Jeff Johnston <jjohnstn@redhat.com>
8475
ba3ccd63 8476 * libc/include/math.h (MAXFLOAT): Added.
6aec558e 8477
e47e6f0e 8478Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
a31df303
JR
8479
8480 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
8481 Make strcmp.S unconditional.
8482 * libc/machine/sh/Makefile.in: Regenerate.
8483 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
8484 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
8485 for SHcompact.
8486
89ffbd66
JJ
84872002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8488
8489 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
8490 define before including <sys/lock.h>.
8491
ae6c4c84
JJ
84922002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8493
8494 * libc/include/utime.h: Add include of <_ansi.h>.
8495 * libc/sys/linux/Makefile.am: Add utimes.c.
8496 * libc/sys/linux/Makefile.in: Regenerated.
8497 * libc/sys/linux/inode.c(__umask): New static routine.
8498 (umask): Written to use __umask and attempt to thread lock.
8499 (getumask): New function written to use __umask and thread lock.
8500 * libc/sys/linux/utimes.c: New file.
8501 * libc/sys/linux/sys/time.h: Fix utimes prototype.
8502 * libc/sys/linux/sys/utime.h: New file.
8503
a6cac46c
TF
85042002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8505
8506 * libtool.m4: New file.
8507 * libc/sys/linux/process.c: Implement vfork in terms of fork,
8508 rather than as a syscall.
8509
30b2092f
JJ
85102002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8511
8512 * libc/include/stdio.h: Add new prototypes.
8513 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
8514 * libc/stdio/Makefile.in: Regenerated.
8515 * libc/stdio/fseek.c: Add fseeko documentation.
8516 * libc/stdio/ftell.c: Add ftello documentation.
8517 * libc/stdio/fseeko.c: New file.
8518 * libc/stdio/ftello.c: New file.
8519
7501704d
JJ
85202002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8521
ba3ccd63
EB
8522 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
8523 * libc/stdio/Makefile.in: Regenerated.
8524 * libc/stdio/asprintf.c: New file.
8525 * libc/stdio/vasprintf.c: Ditto.
8526 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
8527 the buffer for asprintf support.
8528 * libc/stdio/sprintf.c: Add asprintf documentation.
8529 * libc/stdio/vfprintf.c: Add vasprintf documentation.
8530 * libc/include/stdio.h: Add new prototypes.
7501704d 8531
66eee32b
TF
85322002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
8533
8534 * libc/search/hcreate.c: Remove advertising clause from license.
8535 * libc/search/hcreate_r.c: Likewise.
8536
cec4a9f8
JJ
85372002-07-02 Chris Demetriou <cgd@broadcom.com>
8538
ba3ccd63
EB
8539 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
8540 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
8541 Check that one of them is defined and error out if not.
cec4a9f8 8542 Add any platforms defined in <machine/ieeefp.h> that are missing.
ba3ccd63
EB
8543 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
8544 (DB_LITTLE_ENDIAN): New defines.
8545 * libc/search/hash.c: Replace all incorrect checks for
8546 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
8547 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
8548 * libc/search/hash_page.c: Likewise.
cec4a9f8 8549
2d5eb17e
TF
85502002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8551
8552 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
8553
c1a3171f
JJ
85542002-06-27 Benjamin Kosnik <bkoz@redhat.com>
8555
ba3ccd63
EB
8556 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
8557 * libc/include/time.h: Same.
8558 * libc/include/string.h: Same.
8559 * libc/include/stdlib.h: Same.
8560 * libc/include/signal.h: Same.
8561 * libc/include/setjmp.h: Same.
8562 * libc/include/math.h: Same.
8563 * libc/include/locale.h: Same.
8564 * libc/include/ctype.h: Same.
8565 * libc/include/machine/setjmp.h: Same.
8566 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
8567 (_END_STD_C): Add.
c1a3171f 8568
533b4e66
JJ
85692002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8570
ba3ccd63
EB
8571 * libc/include/sys/_types.h: Define _ssize_t as int if int is
8572 32-bits, otherwise define it as long.
8573 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
8574 and define ssize_t as _ssize_t.
8575 * libc/reent/readr.c: Change return type to _ssize_t.
8576 * libc/reent/writer.c: Ditto.
8577 * libc/sys/linux/Makefile.am: Add aio.c.
8578 * libc/sys/linux/Makefile.in: Regenerated.
8579 * libc/sys/linux/aio.c: New file.
8580 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
8581 * libm/common/fdlibm.h: Undef __P before defining it.
533b4e66 8582
c36e6dd7
TF
85832002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8584
54be629f
TF
8585 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
8586 exponent_is_even_int variable. Handle case where x is
8587 negative, and y is an odd integer.
8588 * libm/mathfp/sf_pow.c (powf): Likewise.
8589
c36e6dd7
TF
8590 * libm/mathfp/er_lgamma.c: Remove __kernel references.
8591 * libm/mathfp/erf_lgamma.c: Likewise.
8592 * libm/mathfp/s_tgamma.c: Likewise.
8593 * libm/mathfp/sf_tgamma.c: Likewise.
8594
baf051ca
JJ
85952002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8596
ba3ccd63
EB
8597 * libc/sys/linux/Makefile.am: Add new clock routines.
8598 * libc/sys/linux/Makefile.in: Regenerated.
8599 * libc/sys/linux/clock_getres.c: New file.
8600 * libc/sys/linux/clock_gettime.c: Ditto.
8601 * libc/sys/linux/clock_settime.c: Ditto.
8602 * libc/sys/linux/hp-timing.h: Ditto.
8603 * libc/sys/linux/libc-internal.h: Ditto.
8604 * libc/sys/linux/sysconf.c: Fix typo.
8605 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
8606 * libc/sys/linux/machine/hp-timing.h: New file.
8607 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
8608 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8609 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
8610 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
8611 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
8612 * libc/sys/linux/sys/linux_time.h: New file.
8613 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
8614 replace with <sys/linux_time.h>.
baf051ca 8615
0431ed4e
JR
8616Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
8617
8618 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8619
fc067ba5
JJ
86202002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8621
ba3ccd63
EB
8622 * libc/sys/linux/Makefile.am: Consolidate additional items under
8623 ADD_OBJS.
8624 * libc/sys/linux/Makefile.in: Regenerated.
fc067ba5 8625
ffddf61e
JJ
86262002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8627
ba3ccd63
EB
8628 * libc/sys/linux/sethostname.c: New file.
8629 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8630 * libc/sys/linux/Makefile.in: Regenerated.
ffddf61e 8631
d5487d3f
TF
86322002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8633
8634 * libc/search/db_local.h: New file.
8635 * libc/include/db.h: Remove.
8636 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8637 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8638 "db_local.h".
8639 * libc/search/hash_bigkey.c: Likewise.
8640 * libc/search/hash_buf.c: Likewise.
8641 * libc/search/hash_func.c: Likewise.
8642 * libc/search/hash_log2.c: Likewise.
8643 * libc/search/hash_page.c: Likewise.
8644
86452002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
e08a6118 8646
1e7ca711 8647 * libc/machine/sh/strlen.S: New file.
e08a6118
JR
8648 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8649 * libc/machine/sh/Makefile.am: Regenerate.
8650
59c6d6c4
JJ
86512002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8652
ba3ccd63
EB
8653 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8654 add gethostname alias.
59c6d6c4 8655
a70486d7
JJ
86562002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8657
8658 * libc/include/math.h: Remove <sys/types.h>.
a5dadf33 8659 (__dmath): Use __ULong instead of __uint32_t.
a70486d7 8660 * libc/include/sys/reent.h: If long or int is not 32-bits,
a5dadf33 8661 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
a70486d7
JJ
8662 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8663 * libm/common/fdlibm.h: Ditto.
8664
3118725a
TF
86652002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8666
8667 * libc/include/ndbm.h: Remove.
8668 * libc/search/ndbm.c: Remove.
8669
30a06168
TF
86702002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8671
8672 * libc/stdio/fseek.c (fseek): Fix braces.
8673
01f5155e
CV
86742002-06-21 Corinna Vinschen <corinna@vinschen.de>
8675
8676 * libc/time/strftime.c (strftime): Add %e format specifier.
8677
930bc96b
TF
86782002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8679
8680 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8681 previously defined.
8682
55105f86
JJ
86832002-06-21 Richard Earnshaw (rearnsha@arm.com)
8684
ba3ccd63
EB
8685 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8686 (BYTE_ORDER): Define as appropriate for the target.
55105f86 8687
2e78444a
JJ
86882002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8689
8690 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8691 to _ssize_t.
8692 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8693
d427d092
JJ
86942002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8695
8696 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8697 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8698 [HAVE_GETDATE](getdate_err): New error code.
8699 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8700 * libc/stdio/Makefile.in: Regenerated.
8701 * libc/stdio/getdelim.c: New file.
8702 * libc/stdio/getline.c: Ditto.
8703 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8704 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8705 * libc/sys/linux/Makefile.in: Regenerated.
8706 * libc/sys/linux/getdate.c: New file.
8707 * libc/sys/linux/getdate_err.c: Ditto.
8708 * libc/sys/linux/ntp_gettime.c: Ditto.
8709 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8710 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8711
35728d4f
JJ
87122002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8713
8714 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8715 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8716 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8717 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8718 * libc/include/sys/param.h: Remove i386 case which is handled
8719 by default case.
8720 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8721 definitions in case they are already defined.
8722 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8723 _IEEE_LITTLE_ENDIAN flags.
8724 * libc/include/sys/reent.h: Change __uint32_t references to
8725 use _ULong instead.
8726 (_REENT_GETDATE_REENT_P): New macro.
8727 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8728 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8729 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8730 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8731 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8732 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8733 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8734 definitions which are done by subsequent glibc headers.
8735 Add macro definitions to prevent subsequent header files from
8736 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8737 intptr_t to after glibc definitions of types they are based on.
8738
4a2bfab7
JJ
87392002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8740
8741 * libc/include/errno.h: Protect from multiple inclusion.
8742
f42d18ea
NC
87432002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8744
8745 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8746
a7b23a8f
TF
87472002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8748
8749 * Makefile.am (LIB_OBJECTLISTS): Add
8750 libc/search/objectlist.awk.in.
8751 * libc/Makefile.am (SUBDIRS): Add search.
8752 (SUBLIBS): Add search/libsearch.la.
8753 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8754 * libc/search: New directory.
8755 * libc/search/Makefile.am: New file.
8756 * libc/search/extern.h: New file.
8757 * libc/search/hash.c: New file.
8758 * libc/search/hash.h: New file.
8759 * libc/search/hash_bigkey.c: New file.
8760 * libc/search/hash_buf.c: New file.
8761 * libc/search/hash_func.c: New file.
8762 * libc/search/hash_log2.c: New file.
8763 * libc/search/hash_page.c: New file.
8764 * libc/search/hcreate.3: New file.
8765 * libc/search/hcreate.c: New file.
a7b23a8f
TF
8766 * libc/search/hcreate_r.c: New file.
8767 * libc/search/ndbm.c: New file.
8768 * libc/search/page.h: New file.
8769 * libc/search/tdelete.c: New file.
8770 * libc/search/tdestroy.c: New file.
8771 * libc/search/tfind.c: New file.
8772 * libc/search/tsearch.3: New file.
8773 * libc/search/tsearch.c: New file.
8774 * libc/search/twalk.c: New file.
8775 * libc/include/db.h: New file.
8776 * libc/include/ndbm.h: New file.
8777 * libc/include/search.h: New file.
8778 * libc/include/sys/queue.h: New file.
8779 * libc/include/sys/cdefs.h: New file.
8780 * libc/include/sys/param.h
8781 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8782 LITTLE_ENDIAN or BIG_ENDIAN.
8783 * libc/include/sys/errno.h (EFTYPE): New macro.
8784 * libc/search/bsearch.c: Move from libc/stdlib.
8785 * libc/search/qsort.c: Likewise.
8786 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8787 qsort.c.
8788 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8789 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8790
ef467338
JJ
87912002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8792
ba3ccd63
EB
8793 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8794 ipc routines, and ftok.
8795 * libc/sys/linux/Makefile.in: Regenerated.
8796 * libc/sys/linux/ftok.c: New file.
8797 * libc/sys/linux/ipc.c: Ditto.
8798 * libc/sys/linux/mq_close.c: Ditto.
8799 * libc/sys/linux/mq_getattr.c: Ditto.
8800 * libc/sys/linux/mq_notify.c: Ditto.
8801 * libc/sys/linux/mq_open.c: Ditto.
8802 * libc/sys/linux/mq_receive.c: Ditto.
8803 * libc/sys/linux/mq_send.c: Ditto.
8804 * libc/sys/linux/mq_setattr.c: Ditto.
8805 * libc/sys/linux/mq_unlink.c: Ditto.
8806 * libc/sys/linux/mqlocal.h: Ditto.
8807 * libc/sys/linux/include/mqueue.h: Ditto.
8808 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8809 __uid_t_defined.
ef467338 8810
7f55c08c
TF
88112002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8812
8813 * libm/common/sf_lround.c (round): Change name to: (lround).
8814 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8815 remquof.
8816
c9ca68d7
TF
88172002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8818
8819 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8820 procedure.
8821 (newlib_pass_fail): Change to compile and run only one file.
8822 * testsuite/newlib.locale/locale.exp: Use new
8823 newlib_pass_fail_all procedure.
8824 * testsuite/newlib.string/string.exp: Likewise.
8825
4ecedd09
DB
88262002-06-18 Dave Brolley <brolley@redhat.com>
8827
8828 From Catherine Moore, Michael Meissner, Richard Sandiford:
8829 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8830 (_JBTYPE): Ditto.
8831 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8832 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8833 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8834 * configure.host: Support frv-*-*.
8835 * libc/machine/frv/Makefile.am: New file.
8836 * libc/machine/frv/configure.in: New file.
8837 * libc/machine/frv/setjmp.S: New file.
8838
af1c257a
TF
88392002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8840
8841 * libc/include/ctype.h: Remove isblank macro.
8842
8843 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8844 * libc/ctype/isblank.c: New file.
8845 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8846 declaration. Add isblank macro.
8847
4e04fa90
JJ
88482002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8849
ba3ccd63
EB
8850 * testsuite/newlib.stdlib/atexit.c: New file.
8851 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8852 * testsuite/newlib.string/tstring.c: Change default start size
8853 to something more reasonable for embedded platforms.
4e04fa90 8854
b56d7e79
TF
88552002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8856
ece3c72f
TF
8857 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8858
b56d7e79
TF
8859 * libc/argz: New directory.
8860 * libc/argz/*: New files.
8861 * libc/argz/argz_add.c: New file.
8862 * libc/argz/argz_add_sep.c: New file.
8863 * libc/argz/argz_append.c: New file.
8864 * libc/argz/argz_count.c: New file.
8865 * libc/argz/argz_create.c: New file.
8866 * libc/argz/argz_create_sep.c: New file.
8867 * libc/argz/argz_delete.c: New file.
8868 * libc/argz/argz_extract.c: New file.
8869 * libc/argz/argz_insert.c: New file.
8870 * libc/argz/argz_next.c: New file.
8871 * libc/argz/argz_replace.c: New file.
8872 * libc/argz/argz_stringify.c: New file.
8873 * libc/argz/buf_findstr.c: New file.
8874 * libc/argz/envz_add.c: New file.
8875 * libc/argz/envz_entry.c: New file.
8876 * libc/argz/envz_get.c: New file.
8877 * libc/argz/envz_merge.c: New file.
8878 * libc/argz/envz_remove.c: New file.
8879 * libc/argz/envz_strip.c: New file.
8880 * libc/include/argz.h: New file.
8881 * libc/include/envz.h: New file.
8882 * Makefile.am (LIBC_OBJECTLISTS): Add
8883 libc/argz/objectlist.awk.in.
8884 * libc/Makefile.am (SUBDIRS): Add argz.
8885 (SUBLIBS): Add argz/libargz.la.
8886 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
8887 * libc/include/errno.h: Add error_t typedef.
8888
d062d3dd
JJ
88892002-06-13 Jeff Johnston <jjohnstn@redhat.com>
8890
8891 * libc/include/stdlib.h: Add _Exit prototype.
8892 * libc/stdlib/Makefile.am: Add _Exit.c support.
8893 * libc/stdlib/Makefile.in: Ditto.
8894 * libc/stdlib/_Exit.c: New file.
8895
a47e66ae
JJ
88962002-06-13 Stephen L. Moshier <steve@moshier.net>
8897
8898 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
8899 x is close to -1.0 and y is very large to use ax (absolute value)
8900 instead of x.
8901 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
8902
13f7d71f
JR
8903Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
8904
8905 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
8906 Fix clobbering bytes before destination if src and dst have same
8907 non-zero misalignment.
1f1fb421
JR
8908
8909 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8910 Fixed bug in writing end of set region.
8911
b2e8018f
CF
89122002-06-10 Christopher Faylor <cgf@redhat.com>
8913
8914 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8915 spawnve declaration.
8916
0953fe64
TF
89172002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8918
8919 * libm/common/s_fdim.c: New file.
8920 * libm/common/s_fma.c: Likewise.
8921 * libm/common/s_fmax.c: Likewise.
8922 * libm/common/s_fmin.c: Likewise.
8923 * libm/common/s_fpclassify.c: Likewise.
8924 * libm/common/s_lrint.c: Likewise.
8925 * libm/common/s_lround.c: Likewise.
8926 * libm/common/s_nearbyint.c: Likewise.
8927 * libm/common/s_remquo.c: Likewise.
8928 * libm/common/s_round.c: Likewise.
8929 * libm/common/s_scalbln.c: Likewise.
8930 * libm/common/s_signbit.c: Likewise.
8931 * libm/common/s_trunc.c: Likewise.
8932 * libm/common/sf_fdim.c: Likewise.
8933 * libm/common/sf_fma.c: Likewise.
8934 * libm/common/sf_fmax.c: Likewise.
8935 * libm/common/sf_fmin.c: Likewise.
8936 * libm/common/sf_lrint.c: Likewise.
8937 * libm/common/sf_lround.c: Likewise.
8938 * libm/common/sf_nearbyint.c: Likewise.
8939 * libm/common/sf_remquo.c: Likewise.
8940 * libm/common/sf_round.c: Likewise.
8941 * libm/common/sf_scalbln.c: Likewise.
8942 * libm/common/sf_trunc.c: Likewise.
8943 * libm/math/w_exp2.c: Likewise.
8944 * libm/math/w_tgamma.c: Likewise.
8945 * libm/math/wf_exp2.c: Likewise.
8946 * libm/math/wf_tgamma.c: Likewise.
8947 * libm/mathfp/s_exp2.c: Likewise.
8948 * libm/mathfp/s_tgamma.c: Likewise.
8949 * libm/mathfp/sf_exp2.c: Likewise.
8950 * libm/mathfp/sf_tgamma.c: Likewise.
8951 * libm/math/er_gamma.c: Fix return value.
8952 * libm/math/erf_gamma.c: Likewise.
8953 * libm/mathfp/er_gamma.c: Likewise.
8954 * libm/mathfp/erf_gamma.c: Likewise.
8955 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
8956 declarations and macros.
8957 Regenerated all Makefile.in, aclocal.m4 and configure files to
8958 use new libtool macros in top-level libtool.m4
8959
39e65e01
JJ
89602002-06-05 Jeff Johnston <jjohnstn@redhat.com>
8961
ba3ccd63
EB
8962 * libc/include/string.h[__linux__]: Add strsignal prototype.
8963 * libc/include/sys/lock.h: New file with default locking support.
8964 * libc/include/sys/reent.h: Add signal buffer support for strsignal
8965 and psignal.
8966 * libc/posix/Makefile.am: Add support for readdir_r.c.
8967 * libc/posix/Makefile.in: Regenerated.
8968 * libc/posix/closedir.c: Add locking support and hash table cleanup.
8969 * libc/posix/opendir.c: Add lock support.
8970 * libc/posix/readdir.c: Ditto.
8971 * libc/posix/rewinddir.c: Ditto.
8972 * libc/posix/scandir.c: Ditto.
8973 * libc/posix/seekdir.c: Ditto.
8974 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
8975 clean up leftover hash table entries.
8976 * libc/posix/readdir_r.c: New file.
8977 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
8978 * libc/sys/linux/Makefile.in: Regenerated.
8979 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
8980 * libc/sys/linux/sys/signal.h: Add psignal prototype.
8981 * libc/sys/linux/psignal.c: New file.
8982 * libc/sys/linux/strsignal.c: Ditto.
39e65e01 8983
cc890e89
CV
89842002-06-03 Corinna Vinschen <corinna@vinschen.de>
8985
8986 * libc/include/sys/types.h: Don't define dev_t when compiling for
8987 Cygwin.
8988
ea55e3f7
JJ
89892002-05-31 Jeff Johnston <jjohnstn@redhat.com>
8990
ba3ccd63
EB
8991 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
8992 make siglist.inc dependent on sig.c instead of signal.c.
8993 * libc/sys/linux/Makefile.in: Regenerated.
8994 * libc/sys/linux/sig.c: Rename from signal.c and change code to
8995 use NSIG instead of _NSIG.
8996 * libc/sys/linux/sigaction.c: New file.
8997 * libc/sys/linux/signal.c: Changed to be linux signal() function
8998 so as to override regular newlib default signal.c.
8999 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
9000 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9001 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
9002 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
9003 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
9004 default linux sigset_t typedef by defining it equal to __sigset_t.
9005 * libc/unix/sigset.c: Add check so code isn't compiled on systems
9006 with a sigset_t that isn't implemented with a single int.
ea55e3f7 9007
9d362914
JJ
90082002-05-30 Jeff Johnston <jjohnstn@redhat.com>
9009
ba3ccd63
EB
9010 * libc/sys/linux/Makefile.am: Add support for new files.
9011 * libc/sys/linux/Makefile.in: Regenerated.
9012 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
9013 * libc/sys/linux/signal.c: Change to use real-time syscalls for
9014 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
9015 it is in a separate file now.
9016 * libc/sys/linux/machine/i386/Makefile.am
9017 * libc/sys/linux/machine/i386/Makefile.in
9018 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
9019 * libc/sys/linux/sigaction.c: New file.
9020 * libc/sys/linux/sigqueue.c: Ditto.
9021 * libc/sys/linux/sigwait.c: Ditto.
9022 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
9023 * libc/sys/linux/kernel_sigaction.h: Ditto.
9d362914 9024
b1f07180
JJ
90252002-05-28 Jeff Johnston <jjohnstn@redhat.com>
9026
ba3ccd63
EB
9027 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
9028 tcsendbrk.c.
9029 * libc/sys/linux/Makefile.in: Regenerated.
9030 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
9031 tcgetpgrp(), and tcsetpgrp() functions.
9032 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
9033 to get __MAX_BAUD rate.
9034 * libc/sys/linux/machine/i386/include/termios.h: New file.
9035 * libc/include/machine/termios.h: Ditto.
9036 * libc/sys/linux/cfspeed.c: Ditto.
9037 * libc/sys/linux/tcsendbrk.c: Ditto.
b1f07180 9038
d29587b4
JJ
90392002-05-24 Jeff Johnston <jjohnstn@redhat.com>
9040
ba3ccd63
EB
9041 * libc/include/string.h: Add strnlen and strerror_r prototypes.
9042 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
9043 * libc/string/Makefile.in: Regenerated.
9044 * libc/string/strerror_r.c: New file.
9045 * libc/string/strnlen.c: New file.
9046 * libc/sys/linux/Makefile.am: Add rename.c.
9047 * libc/sys/linux/Makefile.in: Regenerated.
9048 * libc/sys/linux/rename.c: New file to override default rename.
d29587b4 9049
9a292385
TF
90502002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9051
9052 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
9053 * libc/sys/linux/sys/time.h: Add conversion macros.
9054 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
9055 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
9056 * libc/sys/linux/gethostname.c: New file.
9057 * libc/sys/linux/seteuid.c: New file.
9058 * libc/sys/linux/sysctl.c: New file.
17c0c97d 9059
7a364eb3
JJ
90602002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9061
ba3ccd63
EB
9062 * libc/string/Makefile.am: Add support for strsep.c.
9063 * libc/string/Makefile.in: Regenerated.
9064 * libc/string/strsep.c: New file.
9065 * libc/string/strtok.c: Change to call __strtok_r service routine.
9066 * libc/string/strtok_r.c: Add __strtok_r routine which takes
9067 additional flag parameter regarding whether to skip leading delimeters.
9068 Change strtok_r to call __strtok_r.
7a364eb3 9069
164ee5b0
JJ
90702002-05-23 Gareth Pearce <tilps@hotmail.com>
9071
ba3ccd63
EB
9072 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
9073 * libc/stdio/Makefile.in: Regenerated.
9074 * libc/stdio/setbuffer.c: New file.
9075 * libc/stdio/setlinebuf.c: New file.
164ee5b0 9076
f6b2b567
JJ
90772002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9078
ba3ccd63
EB
9079 * libc/sys/linux/Makefile.am: Add resource.c.
9080 * libc/sys/linux/Makefile.in: Regenerated.
9081 * libc/sys/linux/resource.c: New file.
9082 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
9083 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
9084 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9085 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
9086 are now found in libc/sys/linux/resource.c.
f6b2b567 9087
afe56517
JJ
90882002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9089
ba3ccd63
EB
9090 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
9091 to use void * pointers and comply with Single Unix spec.
9092 * libc/string/bcmp.c: Change to use void * instead of char *.
9093 * libc/string/bcopy.c: Ditto.
9094 * libc/string/bzero.c: Ditto.
afe56517 9095
7736feb2
JJ
90962002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9097
9098 * libc/sys/linux/shm_open.c: New file.
9099 * libc/sys/linux/shm_unlink.c: Ditto.
9100 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
9101 shm_unlink.c.
9102 * libc/sys/linux/Makefile.in: Regenerated.
9103 * libc/sys/linux/sys/types.h: Add some additional checks to see
9104 if clock_t or time_t is already defined.
9105
19f111bd
JJ
91062002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9107
ba3ccd63
EB
9108 * Makefile.am: Don't pass $toollibdir down directly in
9109 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
9110 Pass it under the name: top_toollibdir.
9111 * Makefile.in: Regenerated.
19f111bd 9112
c811b1ee
CV
91132002-05-22 Corinna Vinschen <vinschen@redhat.com>
9114
9115 * libc/include/sys/types.h: Revert previous patch.
9116
2b43ad33
CV
91172002-05-22 Corinna Vinschen <vinschen@redhat.com>
9118
9119 * libc/include/sys/types.h: Include cygwin/types.h always under
9120 Cygwin, not only if _POSIX_THREADS is defined.
9121
dd671cde
TF
91222002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
9123
9124 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
9125
5e2cbfb6
JJ
91262002-05-17 Jeff Johnston <jjohnstn@redhat.com>
9127
9128 * Makefile.am: Copy and install headers from sys/machine/include
9129 directory. Also pass $toollibdir to lower-level directories.
9130 * Makefile.in: Regenerated.
17c0c97d 9131 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
5e2cbfb6
JJ
9132 stderr to use _REENT macro instead of _impure_ptr directly.
9133 * libc/include/sys/config.h[__i386__][__linux__]: Define
9134 __DYNAMIC_REENT__.
17c0c97d 9135 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
5e2cbfb6
JJ
9136 call to __getreent() function if !__SINGLE_THREAD__ and
9137 __DYNAMIC_REENT__ is set.
9138 * libc/reent/Makefile.am: Add support for getreent.c.
9139 * libc/reent/Makefile.in: Regenerated.
9140 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
9141 * libc/sys/linux/Makefile.am: Add support for new files.
9142 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
9143 * libc/sys/linux/Makefile.in: Regenerated.
9144 * libc/sys/linux/configure: Ditto.
9145 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
9146 __close, __read, __write, __poll, __open, __lseek, __fcntl from
9147 their __libc_ counterparts.
9148 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
9149 and weak-alias to regular names.
9150 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
9151 to pread64 and __pread64.
9152 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
9153 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
9154 weak-alias to pwrite64.
9155 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
9156 __libc_sched_getscheduler, __libc_sched_get_priority_max,
9157 __libc_sched_get_priority_min, and __libc_sched_setschedule to
17c0c97d 9158 name with __ instead of __libc_.
5e2cbfb6
JJ
9159 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
9160 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
9161 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
9162 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
9163 to raise.
9164 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
9165 __libc_send to __send.
9166 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
9167 __gettimeofday.
9168 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
9169 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
9170 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
9171 type and typedef __jmp_buf to jmp_buf.
9172 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
9173 setjmp.S.
9174 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9175 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
9176 section.
9177 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
9178 prefix for function macros and then use weak_alias() to regular names.
9179 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9180 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
9181 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
9182 to be flockfile() and funlockfile() respectively.
9183 * libc/sys/linux/sys/types.h
9184 * libc/reent/getreent.c: New file.
9185 * libc/sys/linux/flockfile.c: Ditto.
9186 * libc/sys/linux/funlockfile.c: Ditto.
9187 * libc/sys/linux/getreent.c: Ditto.
9188 * libc/sys/linux/pread.c: Ditto.
9189 * libc/sys/linux/pwrite.c: Ditto.
9190 * libc/sys/linux/raise.c: Ditto.
9191 * libc/sys/linux/system.c: Ditto.
9192 * libc/sys/linux/tcdrain.c: Ditto.
9193 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
9194 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
9195 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
9196 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
9197 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
9198
7fc85bd1
TF
91992002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
9200
9201 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
9202 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
9203 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
9204 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
9205
6935231f 9206Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
9207
9208 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
9209 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
9210 exit point.
d7a2f413 9211
3a6cb01b
TF
92122002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9213
a68fa571
TF
9214 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
9215 options when testing natively on i[3456]86-*-linux.
9216
3a6cb01b
TF
9217 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
9218 only one pass or fail per test file. Trim \r's from output
9219 values received from test programs. Remove support for named
9220 tests.
9221 * testsuite/newlib.locale/UTF-8.exp: Update to support new
9222 newlib_check_output behaviour.
9223 * testsuite/newlib.locale/UTF-8.c: Likewise.
9224
dc824ef7
JJ
92252002-05-15 Jeff Johnston <jjohnstn@redhat.com>
9226
ba3ccd63
EB
9227 * libc/include/stdlib.h: Add on_exit prototype.
9228 * libc/include/sys/reent.h (struct _atexit): Add argument array
9229 and bits to track type of exit routine to support both on_exit
9230 and atexit.
9231 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
9232 by default and change the setting of the atexit structure.
9233 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9234 * libc/stdlib/on_exit.c: New file.
9235 * libc/stdlib/Makefile.am: Add support for on_exit.
9236 * libc/stdlib/Makefile.in: Regenerated.
9237 * libc/stdlib/atexit.c: Change to initialize types field.
9238 * libc/stdlib/exit.c: Change to look at types field for each
9239 exit routine and either call an atexit-style or an on_exit-style
9240 routine accordingly.
dc824ef7 9241
48d91b4a
JJ
92422002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9243
ba3ccd63
EB
9244 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9245 allow v specifier with n or L specifiers. For vector c format,
9246 move tmp declaration to the top.
48d91b4a 9247
024739eb
JJ
92482002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9249
ba3ccd63
EB
9250 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9251 the original format specifier when looping for vectors to compensate
9252 for any changes made in vector %g format processing.
9253 Also add syntax checking for various invalid scenarios
9254 involving vector format extensions.
9255 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9256 return code setting for vector formats. Also treat vector
9257 separator mismatch as a match error instead of an input error.
9258 Perform some syntax checking for vector formats.
024739eb 9259
7d2ce898
TF
92602002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9261
9262 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9263 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9264 * libc/string/strlcat.c: New file.
9265 * libc/string/strlcpy.c: New file.
9266
809b6ce7
JJ
92672002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9268
9269 * libc/string/strchr.c: Fix comment typo.
9270
76490806
TF
92712002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9272
0c048a9a
TF
9273 * acinclude.m4: Add support for --enable-newlib-multithread.
9274 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9275 --enable-newlib-multithread=no.
9276
76490806
TF
9277 * libc/stdio/getc_u.c: New file.
9278 * libc/stdio/getchar_u.c: New file.
9279 * libc/stdio/putc_u.c: New file.
9280 * libc/stdio/putchar_u.c: New file.
9281 * libc/include/stdio.h: Add declarations for getc_unlocked,
9282 getchar_unlocked, putc_unlocked and putchar_unlocked.
9283 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9284 (CHEWOUT_FILES): Add new files' .def's.
9285 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9286
96bff22c
JR
9287Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9288
9289 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9290 Also handle as single quad word when destination ends at last
9291 byte of first quad word. Fix byte selection in single quad code.
9292
e71372fa
TF
92932002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9294
9295 * libc/include/sys/stdio.h: New file.
9296 * libc/sys/linux/sys/stdio.h: New file.
9297 * libc/include/stdio.h: Add declarations for flockfile,
9298 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9299 * libc/stdio/clearerr.c: Add file locking.
9300 * libc/stdio/fclose.c: Likewise.
9301 * libc/stdio/feof.c: Likewise.
9302 * libc/stdio/ferror.c: Likewise.
9303 * libc/stdio/fflush.c: Likewise.
9304 * libc/stdio/fgetc.c: Likewise.
9305 * libc/stdio/fgetpos.c: Likewise.
9306 * libc/stdio/fgets.c: Likewise.
9307 * libc/stdio/fileno.c: Likewise.
9308 * libc/stdio/fputc.c: Likewise.
9309 * libc/stdio/fputs.c: Likewise.
9310 * libc/stdio/fread.c: Likewise.
9311 * libc/stdio/freopen.c: Likewise.
9312 * libc/stdio/fseek.c: Likewise.
9313 * libc/stdio/ftell.c: Likewise.
9314 * libc/stdio/fwrite.c: Likewise.
9315 * libc/stdio/getc.c: Likewise.
9316 * libc/stdio/putc.c: Likewise.
9317 * libc/stdio/setvbuf.c: Likewise.
9318 * libc/stdio/ungetc.c: Likewise.
9319 * libc/stdio/vfprintf.c: Likewise.
9320
a03790e4
JJ
93212002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9322
60b2107c
TF
9323 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
9324 support for 'p' format. Fix code to print bytes for vector
9325 integer formats that do not specify 'h' or 'l'.
9326 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
9327 for 'p' specifier. Fix code to scan 16 bytes for vector integer
9328 formats that do not specify 'h' or 'l'.
9329
9330 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
9331
9c7d6a9d
TF
93322002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
9333
9334 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
9335 (_sbrk): Add cast of return value.
9336
c33c3635
JJ
93372002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9338
9339 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
9340 (_REENT_L64A_BUF): New macro for accessing area.
9341 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
9342 * libc/stdlib/Makefile.in: Regenerated.
9343 * libc/stdlib/a64l.c: New file.
9344 * libc/stdlib/l64a.c: New file.
9345
f78e59a8
JJ
93462002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9347
ba3ccd63
EB
9348 * libc/unix/pread.c: Fix typo for _pread_r.
9349 * libc/unix/pwrite.c: Fix type for _pwrite_r.
9350 * libc/sys/linux/pread64.c: Fix typo for read syscall.
9351 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
f78e59a8 9352
4b3f6588
CF
93532002-05-03 Christopher Faylor <cgf@redhat.com>
9354
9355 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
9356
e911832c
TF
93572002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9358
9359 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
9360
0d0fdc8d
CF
93612002-05-01 Christopher Faylor <cgf@redhat.com>
9362
9363 * utmp.h: Define more UNIX constants.
9364
1e997c56
TF
93652002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9366
0717f01c
TF
9367 * Makefile.am: Add support for checking multilibs.
9368
09841445
TF
9369 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
9370 (SUBDEFS): Add LIBC_EXTRA_DEF.
9371 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
9372 (LIBC_EXTRA_DEF): Likewise.
9373 (extra_dir): Likewise.
9374 * libc/machine/xscale/machine: New directory.
9375 * libc/machine/xscale/machine/profile.h: New file.
9376
1e997c56
TF
9377 * Makefile.am (site.exp): Remove newlib_cflags. Add
9378 multibuildtop.
9379 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
9380 * testsuite/lib/flags.exp: New file.
9381 * testsuite/lib/newlib.exp: Load flags.exp.
9382 (newlib_target_compile): Remove libgloss directory references.
9383 (newlib_init): Remove newlib_cflags references.
9384
4cf4f010
TF
93852002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9386
f6bdb6f9
TF
9387 * testsuite/lib/newlib.exp (newlib_target_compile): Change
9388 method of finding libgloss_target_dir.
9389
4cf4f010
TF
9390 * Makefile.am (site.exp): Change host_alias, host_triplet,
9391 target_alias, target_triplet to refer to gcc's host and target
9392 variables (newlib's build and host variables).
9393 * testsuite/lib/newlib.exp (newlib_init): Change build
9394 references to host references, host references to target
9395 references to reflect Makefile.am changes.
9396 (newlib_target_compile): Likewise.
9397 (newlib_finish): Likewise.
9398
83096ae8
JJ
93992002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9400
9401 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
9402
822afa53
JL
94032002-04-29 Jonathan Larmour <jlarmour@redhat.com>
9404
9405 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
9406 (_system): New function. Ditto.
9407 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
9408 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
9409 targets.
9410
29798f0d
JJ
94112002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9412
ba3ccd63
EB
9413 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
9414 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
9415 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
9416 * libc/sys/linux/Makefile.in: Regenerated.
9417 * libc/unix/Makefile.in: Ditto.
9418 * libc/sys/linux/pread64.c: New file.
9419 * libc/sys/linux/pwrite64.c: Ditto.
9420 * libc/unix/pread.c: Ditto.
9421 * libc/unix/pwrite.c: Ditto.
29798f0d 9422
557856bd
JJ
94232002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9424
9425 * libc/sys/linux/Makefile.am: Add io64.c.
9426 * libc/sys/linux/Makefile.in: Regenerated.
9427 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
17c0c97d 9428 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
557856bd
JJ
9429 * libc/sys/linux/io64.c: New file.
9430
7b2b12d5
JJ
94312002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9432
9433 * configure.in (CC_FOR_NEWLIB): New variable that
9434 bases on $(CC) and adds targ-include and libc/include as
9435 -isystem directives if they are not already part of $(CC).
9436 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
9437 $(CC_FOR_NEWLIB).
9438 * configure: Regenerated.
9439 * Makefile.in: Ditto.
9440
c62adacc
JJ
94412002-04-25 Jeff Johnston <jjohnstn@redhat.com>
9442
9443 * libc/sys/linux/Makefile.am: Add support for sched.c.
9444 * libc/sys/linux/Makefile.in: Regenerated.
9445 * libc/sys/linux/sched.c: New file.
9446 * libc/sys/linux/sys/types.h: Add struct timespec.
9447
217ad4a0
TF
94482002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9449
9450 * configure.in (CC_FOR_BUILD): Set to gcc whether
9451 cross-compiling or not.
9452 (CC): Add -isystem's for targ-include and libc/include when they
9453 do not already appear in CC.
9454
eaa75b70
TF
94552002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9456
9457 * Makefile.am (check-DEJAGNU): New target.
9458 (site.exp): Likewise.
9459 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
9460 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
9461 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
9462 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
9463 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
9464 * testsuite: New directory.
9465 * testsuite/config: Likewise.
9466 * testsuite/lib: Likewise.
9467 * testsuite/newlib.locale: Likewise.
9468 * testsuite/newlib.string: Likewise.
9469 * testsuite/config/default.exp: New file.
9470 * testsuite/lib/checkoutput.exp: New file.
9471 * testsuite/lib/newlib.exp: New file.
9472 * testsuite/lib/passfail.exp: New file.
9473 * testsuite/newlib.locale/UTF-8.c: New file.
9474 * testsuite/newlib.locale/UTF-8.exp: New file.
9475 * testsuite/newlib.locale/locale.exp: New file.
9476 * testsuite/newlib.string/string.exp: New file.
9477 * testsuite/newlib.string/tstring.c: New file.
9478
b9f9f699
JJ
94792002-04-23 Jeff Johnston <jjohnstn@redhat.com>
9480
ba3ccd63
EB
9481 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
9482 * libc/sys/linux/Makefile.am: Add support for mmap.c.
9483 * libc/sys/linux/Makefile.in: Regenerated.
9484 * libc/sys/linux/mmap.c: New file.
9485 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
9486 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
b9f9f699 9487
7394edbb
TF
94882002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9489
9490 * acinclude.m4 (newlib_cflags): Remove include directories that
9491 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
9492
b9f9f699 94932002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
9494
9495 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
9496 * libc/machine/xscale/memcmp.c: Ditto.
9497 * libc/machine/xscale/memcpy.c: Ditto.
9498 * libc/machine/xscale/memmove.c: Ditto.
9499 * libc/machine/xscale/memset.c: Ditto.
9500 * libc/machine/xscale/strchr.c: Ditto.
9501 * libc/machine/xscale/strcmp.c: Ditto.
9502 * libc/machine/xscale/strcpy.c: Ditto.
9503 * libc/machine/xscale/strlen.c: Ditto.
9504
2dd4c4dc
JJ
95052002-04-19 Alexandre Oliva <aoliva@redhat.com>
9506
ba3ccd63
EB
9507 * libc/include/sys/config.h: Remove include of <limits.h>.
9508 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
9509 define INT_MAX and LONG_MAX. Use them in tests.
2dd4c4dc 9510
0d844014
JJ
95112002-04-19 Jeff Johnston <jjohnstn@redhat.com>
9512
9513 * configure.host: Add support for powerpc-eabialtivec*.
9514 * libc/include/malloc.h: Add include of <machine/malloc.h>.
9515 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
9516 * libc/include/machine/malloc.h: New file.
9517 * libc/include/machine/stdlib.h: Ditto.
9518 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
9519 * libc/machine/powerpc/Makefile.am: Add conditional objects and
9520 sources based on configuration.
9521 * libc/machine/powerpc/Makefile.in: Regenerated.
9522 * libc/machine/powerpc/configure: Ditto.
9523 * libc/machine/powerpc/configure.in: Add check for
9524 powerpc-eabialtivec* in which case add in additional source files.
9525 * libc/machine/powerpc/setjmp.S: Add altivec support.
9526 * libc/machine/powerpc/vec_calloc.c: New file.
9527 * libc/machine/powerpc/vec_free.c: Ditto.
9528 * libc/machine/powerpc/vec_malloc.c: Ditto.
9529 * libc/machine/powerpc/vec_mallocr.c: Ditto.
9530 * libc/machine/powerpc/vec_realloc.c: Ditto.
9531 * libc/machine/powerpc/machine/malloc.h: Ditto.
9532 * libc/machine/powerpc/machine/stdlib.h: Ditto.
9533 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
9534 with added altivec format specifiers.
9535 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
9536 added altivec format specifiers.
9537
d413aadc
JS
95382002-04-19 Joel Sherrill <joel@OARcorp.com>
9539
9540 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
9541 while autoconf is trying to link main(){}.
9542
27193895
JJ
95432002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9544
ba3ccd63
EB
9545 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
9546 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
27193895 9547
10d00216
JJ
95482002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9549
6b0f808e
JJ
9550 * libc/time/time.tex: Add tzset info.
9551
95522002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9553
9554 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9555 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9556 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9557 (tzname): Defined for all platforms.
9558 (daylight, timezone): Defined only for CYGWIN.
9559 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9560 environment set up.
9561 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9562 environment variable is set.
9563 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9564 tzset_r.c.
9565 * libc/time/Makefile.in: Regenerated.
9566 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9567 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9568 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9569 * libc/time/local.h: New local header file.
9570 * libc/time/mktime.c (mktime): Add timezone support.
9571 * libc/time/mktm_r.c: New file which is the common engine
9572 for gmtime_r and lcltime_r. This code has timezone support.
9573 * libc/time/strftime.c (strftime): Add %Z timezone support.
9574 * libc/time/tzlock.c: New file containing timezone lock stubs.
9575 * libc/time/tzset.c: New file containing tzset() routine.
9576 * libc/time/tzset_r.c: New file containing _tzset_r and
9577 internal routine for calculating timezone changes for specified year.
9578
95792002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9580
9581 * configure.in (CRT0_DIR): Set to libc/.
9582 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9583 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9584 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9585 $(CRT1_DIR)/$(CRT1).
9586 * libc/machine/xstormy16/Makefile.in: Regenerated.
9587 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9588 * libc/machine/xstormy16/configure: Regenerated.
9589
95902002-04-13 Alexandre Oliva <aoliva@redhat.com>
9591
9592 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9593 fails, don't bail out, and try to correct next time.
9594
9595 * libc/include/sys/config.h: Include limits.h.
9596
95972002-04-12 Eric Norum <eric.norum@usask.com>
9598
9599 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9600 routine to allow autoconf to determine that building executables
9601 for rtems works.
9602 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9603 (rtems_gxx_mutex_once): Ditto.
9604
96052002-04-09 Tom Rix <trix@redhat.com>
9606
9607 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9608
96092002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9610
ba3ccd63
EB
9611 * libc/include/time.h: Fix strptime declaration.
9612 * libc/time/Makefile.am: Add strptime.c.
6b0f808e 9613 * libc/time/Makefile.in: Regenerated.
ba3ccd63 9614 * libc/time/strptime.c: New file.
6b0f808e
JJ
9615
96162002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9617
9618 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9619 siglongjmp prototype, and sigsetjmp macro definition.
9620 * libc/sys/linux/siglongjmp.c: New file.
9621 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9622 * libc/sys/linux/Makefile.in: Regenerated.
9623
96242002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9625
9626 * Makefile.am: Add support for installing crt1.o if one exists.
9627 * configure.host: Specify crt1.o for linux.
9628 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9629 * Makefile.in: Regenerated.
9630 * configure: Ditto.
9631 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9632 Added for non-Cygwin, non-RTEMS configurations.
9633 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9634 * libc/sys/linux/Makefile.in: Regenerated.
9635 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9636 by gcc. This fixes problem with reconfiguring linux newlib build.
9637 * libc/sys/linux/sysconf.c: New file.
9638
96392002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9640
9641 * configure.host: Add support for machine subdirectory of
9642 sys subdirectory.
9643 * configure.in: Add check for sys machine subdirectory.
9644 * Makefile.am: Ditto.
9645 * configure: Regenerated.
9646 * Makefile.in: Ditto.
9647 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9648 * libc/sys/linux/sys/syscall.h: Ditto.
9649 * libc/sys/linux/sleep.c: New file.
9650 * libc/sys/linux/socket.c: Ditto.
9651 * libc/sys/linux/sockops.h: Ditto.
9652 * libc/sys/linux/stack.c: Ditto.
9653 * libc/sys/linux/usleep.c: Ditto.
9654 * libc/sys/linux/machine/Makefile.am: Ditto.
9655 * libc/sys/linux/machine/Makefile.in: Ditto.
9656 * libc/sys/linux/machine/aclocal.m4: Ditto.
9657 * libc/sys/linux/machine/configure: Ditto.
9658 * libc/sys/linux/machine/configure.in: Ditto.
9659 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9660 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9661 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9662 * libc/sys/linux/machine/i386/configure: Ditto.
9663 * libc/sys/linux/machine/i386/configure.in: Ditto.
9664 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9665 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9666 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9667 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9668 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9669 * libc/sys/linux/sys/select.h: Ditto.
9670 * libc/sys/linux/configure.in: Add support for machine directory.
9671 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9672 * libc/sys/linux/Makefile.in: Regenerated.
9673 * libc/sys/linux/configure: Ditto.
9674 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9675 * libc/sys/linux/inode.c: Ditto.
9676 * libc/sys/linux/linux.c: Ditto.
9677 * libc/sys/linux/process.c: Ditto.
9678 * libc/sys/linux/systat.c: Ditto.
9679 * libc/sys/linux/time.c: Ditto.
9680 * libc/sys/linux/wait.c: Ditto.
9681 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9682 * libc/sys/linux/io.c: Change header plus add readv/writev.
9683 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9684 use __sigsuspend syscall.
9685 * libc/sys/linux/select.c: Change header plus change select to
9686 use _newselect syscall.
9687 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9688 used by glibc header files.
9689 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9690 types.
9691
96922002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9693
9694 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9695 initializing a struct _reent that has been dynamically allocated.
9696 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9697 _REENT_SMALL and does nothing otherwise.
9698 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9699 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9700 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9701 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9702 [_REENT_SMALL](struct _misc_reent): New structure containing
9703 miscellaneous reentrant areas needed by newlib.
9704 [_REENT_SMALL](struct _reent): Add _misc pointer.
9705 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9706 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9707 and _REENT_STRTOK_LAST macros.
9708 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9709 and _REENT_MBLEN_STATE macros.
9710 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9711 and _REENT_MBTOWC_STATE macros.
9712 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9713 and _REENT_WCTOMB_STATE macros.
9714
97152002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9716
9717 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9718
9719Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9720
9721 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9722
9723Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9724
9725 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9726 Store high part of leading bytes too.
9727
97282002-03-22 Richard Sandiford <rsandifo@redhat.com>
9729
9730 * libm/math/ef_hypot.c: Increase scale factor to 68.
9731
97322002-03-13 Alexandre Oliva <aoliva@redhat.com>
9733
9734 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9735 error.
9736
97372002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9738
ba3ccd63
EB
9739 * libc/sys/go32/access.c: Change license to relaxed license
9740 used in identical file throughout newlib/libgloss.
6b0f808e
JJ
9741
97422002-03-12 Richard Earnshaw <rearnsha@arm.com>
9743
9744 * libc/sys/arm/access.c: New file.
9745 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9746 * libc/sys/arm/Makefile.in: Regenerate.
9747 * libc/sys/arm/syscalls.c (_stat): New function.
9748
97492002-03-11 Michael Meissner <meissner@redhat.com>
9750
9751 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9752 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9753 * libc/machine/mips/Makefile.in: Regenerate.
9754 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9755 * libc/machine/mips/memset.c: Dito.
9756 * libc/machine/mips/strcmp.c: Dito.
9757 * libc/machine/mips/strlen.c: Dito.
9758 * libc/machine/mips/strncmp.c: Dito.
9759
97602002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9761
9762 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9763 object so it works for shared library or statici library.
97642002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9765
10d00216
JJ
9766 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9767 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9768 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9769 (tzname): Defined for all platforms.
9770 (daylight, timezone): Defined only for CYGWIN.
9771 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9772 environment set up.
9773 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9774 environment variable is set.
9775 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9776 tzset_r.c.
9777 * libc/time/Makefile.in: Regenerated.
9778 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9779 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9780 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9781 * libc/time/local.h: New local header file.
9782 * libc/time/mktime.c (mktime): Add timezone support.
9783 * libc/time/mktm_r.c: New file which is the common engine
9784 for gmtime_r and lcltime_r. This code has timezone support.
9785 * libc/time/strftime.c (strftime): Add %Z timezone support.
9786 * libc/time/tzlock.c: New file containing timezone lock stubs.
9787 * libc/time/tzset.c: New file containing tzset() routine.
9788 * libc/time/tzset_r.c: New file containing _tzset_r and
9789 internal routine for calculating timezone changes for specified year.
9790
5f1c13c6
TF
97912002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9792
9793 * configure.in (CRT0_DIR): Set to libc/.
9794 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9795 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9796 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9797 $(CRT1_DIR)/$(CRT1).
9798 * libc/machine/xstormy16/Makefile.in: Regenerated.
9799 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9800 * libc/machine/xstormy16/configure: Regenerated.
9801
0cc261b1
AO
98022002-04-13 Alexandre Oliva <aoliva@redhat.com>
9803
2f3009bd
AO
9804 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9805 fails, don't bail out, and try to correct next time.
9806
0cc261b1
AO
9807 * libc/include/sys/config.h: Include limits.h.
9808
26116455
JJ
98092002-04-12 Eric Norum <eric.norum@usask.com>
9810
9811 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9812 routine to allow autoconf to determine that building executables
9813 for rtems works.
9814 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9815 (rtems_gxx_mutex_once): Ditto.
9816
4608280d
TR
98172002-04-09 Tom Rix <trix@redhat.com>
9818
9819 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9820
dea7e25c
JJ
98212002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9822
ba3ccd63
EB
9823 * libc/include/time.h: Fix strptime declaration.
9824 * libc/time/Makefile.am: Add strptime.c.
dea7e25c 9825 * libc/time/Makefile.in: Regenerated.
ba3ccd63 9826 * libc/time/strptime.c: New file.
dea7e25c 9827
c5ef1e95
JJ
98282002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9829
9830 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9831 siglongjmp prototype, and sigsetjmp macro definition.
9832 * libc/sys/linux/siglongjmp.c: New file.
9833 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9834 * libc/sys/linux/Makefile.in: Regenerated.
9835
6e6cd5bd
JJ
98362002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9837
9838 * Makefile.am: Add support for installing crt1.o if one exists.
9839 * configure.host: Specify crt1.o for linux.
9840 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9841 * Makefile.in: Regenerated.
9842 * configure: Ditto.
9843 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9844 Added for non-Cygwin, non-RTEMS configurations.
9845 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9846 * libc/sys/linux/Makefile.in: Regenerated.
9847 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9848 by gcc. This fixes problem with reconfiguring linux newlib build.
9849 * libc/sys/linux/sysconf.c: New file.
9850
fa4a16a1
JJ
98512002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9852
9853 * configure.host: Add support for machine subdirectory of
9854 sys subdirectory.
9855 * configure.in: Add check for sys machine subdirectory.
9856 * Makefile.am: Ditto.
9857 * configure: Regenerated.
9858 * Makefile.in: Ditto.
9859 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9860 * libc/sys/linux/sys/syscall.h: Ditto.
9861 * libc/sys/linux/sleep.c: New file.
9862 * libc/sys/linux/socket.c: Ditto.
9863 * libc/sys/linux/sockops.h: Ditto.
9864 * libc/sys/linux/stack.c: Ditto.
9865 * libc/sys/linux/usleep.c: Ditto.
9866 * libc/sys/linux/machine/Makefile.am: Ditto.
9867 * libc/sys/linux/machine/Makefile.in: Ditto.
9868 * libc/sys/linux/machine/aclocal.m4: Ditto.
9869 * libc/sys/linux/machine/configure: Ditto.
9870 * libc/sys/linux/machine/configure.in: Ditto.
9871 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9872 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9873 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9874 * libc/sys/linux/machine/i386/configure: Ditto.
9875 * libc/sys/linux/machine/i386/configure.in: Ditto.
9876 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9877 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9878 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9879 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9880 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9881 * libc/sys/linux/sys/select.h: Ditto.
9882 * libc/sys/linux/configure.in: Add support for machine directory.
9883 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9884 * libc/sys/linux/Makefile.in: Regenerated.
9885 * libc/sys/linux/configure: Ditto.
9886 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9887 * libc/sys/linux/inode.c: Ditto.
9888 * libc/sys/linux/linux.c: Ditto.
9889 * libc/sys/linux/process.c: Ditto.
9890 * libc/sys/linux/systat.c: Ditto.
9891 * libc/sys/linux/time.c: Ditto.
9892 * libc/sys/linux/wait.c: Ditto.
9893 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9894 * libc/sys/linux/io.c: Change header plus add readv/writev.
9895 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9896 use __sigsuspend syscall.
9897 * libc/sys/linux/select.c: Change header plus change select to
9898 use _newselect syscall.
9899 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9900 used by glibc header files.
9901 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9902 types.
9903
d4dca0e4
JJ
99042002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9905
9906 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9907 initializing a struct _reent that has been dynamically allocated.
9908 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9909 _REENT_SMALL and does nothing otherwise.
9910 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9911 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9912 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9913 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9914 [_REENT_SMALL](struct _misc_reent): New structure containing
9915 miscellaneous reentrant areas needed by newlib.
9916 [_REENT_SMALL](struct _reent): Add _misc pointer.
9917 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9918 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9919 and _REENT_STRTOK_LAST macros.
9920 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9921 and _REENT_MBLEN_STATE macros.
9922 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9923 and _REENT_MBTOWC_STATE macros.
9924 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9925 and _REENT_WCTOMB_STATE macros.
9926
54a7c6d2
JJ
99272002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9928
9929 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9930
c82479b1
CF
9931Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9932
9933 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9934
43ecf6e8
JR
9935Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9936
9937 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9938 Store high part of leading bytes too.
9939
a485d93f
RS
99402002-03-22 Richard Sandiford <rsandifo@redhat.com>
9941
9942 * libm/math/ef_hypot.c: Increase scale factor to 68.
9943
62a963ee
AO
99442002-03-13 Alexandre Oliva <aoliva@redhat.com>
9945
9946 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9947 error.
9948
c53d8453
JJ
99492002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9950
ba3ccd63
EB
9951 * libc/sys/go32/access.c: Change license to relaxed license
9952 used in identical file throughout newlib/libgloss.
c53d8453 9953
d2a246ad
JJ
99542002-03-12 Richard Earnshaw <rearnsha@arm.com>
9955
9956 * libc/sys/arm/access.c: New file.
9957 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9958 * libc/sys/arm/Makefile.in: Regenerate.
9959 * libc/sys/arm/syscalls.c (_stat): New function.
9960
eabb48d5
MM
99612002-03-11 Michael Meissner <meissner@redhat.com>
9962
9963 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9964 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9965 * libc/machine/mips/Makefile.in: Regenerate.
9966 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9967 * libc/machine/mips/memset.c: Dito.
9968 * libc/machine/mips/strcmp.c: Dito.
9969 * libc/machine/mips/strlen.c: Dito.
9970 * libc/machine/mips/strncmp.c: Dito.
9971
2a606041
JJ
99722002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9973
eabb48d5
MM
9974 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9975 object so it works for shared library or statici library.
9976 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 9977
55f26f11
JR
9978Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
9979
96bff22c
JR
9980 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
9981 Add memcpy.S, memset.S and strcpy.S.
9982 * libc/machine/sh/Makefile.in: Regenerate.
9983 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 9984 (SHHI, SHLO): Define.
96bff22c
JR
9985 * libc/machine/sh/memset.S: Add code for SH5.
9986 * libc/machine/sh/memset.S: Likewise.
9987 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 9988
afecf2fa
JJ
99892002-02-27 Jeff Johnston <jjohnstn@redhat.com>
9990
9991 * configure.host: Add check for --disable-newlib-io-float
9992 configuration option and add -DNO_FLOATING_POINT to newlib cflags
9993 if appropriate.
9994 * acinclude.m4: Added --disable-newlib-io-float option.
9995 * aclocal.m4: Regenerated.
9996 * configure: Ditto.
9997 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
17c0c97d 9998 * libc/*/aclocal.m4 libc/*/configure
afecf2fa
JJ
9999 * libm/*/aclocal.m4 libm/*/configure: Ditto.
10000 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
10001 if NO_FLOATING_POINT flag is not defined.
10002
c1010a63
JJ
100032002-02-25 Jeff Johnston <jjohnstn@redhat.com>
10004
10005 * libc/include/sys/config.h: Add __extension__ in front of
10006 long long references.
10007
630c657e
CV
100082002-02-23 Corinna Vinschen <corinna@vinschen.de>
10009
10010 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
10011 (_stat): Ditto.
10012
59ee2e20
CV
100132002-02-23 Corinna Vinschen <corinna@vinschen.de>
10014
10015 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
10016 of off_t.
10017
2dd68dc2
NC
100182002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
10019
10020 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
10021 clobbered registers.
10022
55500bf1
TF
100232002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10024
10025 * configure.host (newlib_cflags): When host is in m68* add
10026 -DCOMPACT_CTYPE.
10027
ba0173f0
JJ
100282002-02-15 Jeff Johnston <jjohnstn@redhat.com>
10029
ba3ccd63
EB
10030 * libc/include/sys/config.h: Add definitions for
10031 __int16_t, __uint16_t, __int64_t, and __uint64_t.
ba0173f0 10032
7b61d0c5
JJ
100332002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
10034
ba3ccd63
EB
10035 * libc/sys/mmixware/link.c: New.
10036 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
10037 volatile.
10038 * libc/sys/mmixware/times.c (_times): Renamed from times.
10039 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
10040 properly by reading previous contents, not through BinaryReadWrite.
10041 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
10042 * libc/sys/mmixware/Makefile.in: Regenerate.
7b61d0c5 10043
a505db65
CV
100442002-02-10 Corinna Vinschen <corinna@vinschen.de>
10045
10046 * libc/include/grp.h: Don't declare group functions when compiling
10047 Cygwin.
10048
f3b39c45
CV
100492002-02-09 Corinna Vinschen <corinna@vinschen.de>
10050
10051 * libc/include/grp.h: Include Cygwin specific header.
10052 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
10053 when compiling for Cygwin.
10054 * libc/include/sys/types.h: Don't define off_t, uid_t
10055 and gid_t when compiling for Cygwin.
10056
82b3ac56
MG
100572002-02-08 matthew green <mrg@redhat.com>
10058
10059 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
10060 _REENT_EMERGENCY_SIZE, not sizeof(char *).
10061
9f25eed9
AO
100622002-02-08 Alexandre Oliva <aoliva@redhat.com>
10063
10064 Contribute sh64-elf.
10065 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10066 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
10067 support in printf.
10068 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
10069 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
10070 any labels.
10071 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
10072 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
10073 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
10074 * libc/machine/sh/configure.in: Rework conditionals.
10075 * libc/machine/sh/Makefile.am: Likewise.
10076 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
10077 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
10078 * configure.host: Match `sh*'.
10079 * libc/include/machine/setjmp.h: Define for SH5.
10080 * libc/machine/sh/configure.in: Detect SH5.
10081 * libc/machine/sh/configure: Rebuilt.
10082 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
10083 * libc/machine/sh/Makefile.in: Rebuilt.
10084 * libc/machine/sh/asm.h: Adjust for SH5.
10085 * libc/machine/sh/setjmp.S: Implement in SHmedia.
10086 * libc/sys/sh/crt0.S: Likewise.
10087 * libc/sys/sh/trap.S: Likewise.
10088
a2a405ae
JJ
100892002-02-07 Jeff Johnston <jjohnstn@redhat.com>
10090
10091 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
10092 (mach_add_obj): Conditionally set to setjmp.o or nothing.
10093 (LIB_SOURCES): Remove $(mach_add_src).
10094 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
10095 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
10096 * libc/machine/i386/Makefile.in: Regenerate.
10097
27478365
JJ
100982002-02-05 Manik Raina <manik@cisco.com>
10099
994fa212 10100 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
10101 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
10102 s, p, k, and outstr.
10103 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
10104
815a37f7
JJ
101052002-02-04 Jeff Johnston <jjohnstn@redhat.com>
10106
10107 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
10108 _REENT_CHECK_EMERGENCY macro.
10109
a4139c12
MG
101102002-02-03 matthew green <mrg@redhat.com>
10111
10112 * libc/reent/signgam.c (__signgam): Fix error in previous.
10113
8195aff7
MG
101142002-02-02 matthew green <mrg@redhat.com>
10115
10116 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
10117
10118 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
10119 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
10120 * libc/include/sys/reent.h (struct _reent): Completely new version
10121 for _REENT_SMALL.
10122 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
10123 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
10124 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
10125 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
10126 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
10127 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
10128 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
10129 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
10130 (_REENT_EMERGENCY): Likewise.
10131
10132 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
10133 the start of the real __sFILE, used for stdin, stdout and stderr until
10134 they are setup properly.
10135 (struct __sFILE): Move location of _data in _REENT_SMALL case.
10136 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
10137 allocated stdin, stdout and stderr.
10138 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
10139 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
10140 * libc/stdio/perror.c (_perror_r): Likewise.
10141 * libc/stdio/printf.c (printf, _printf_r): Likewise.
10142 * libc/stdio/putchar.c (_putchar_r): Likewise.
10143 * libc/stdio/puts.c (_puts_r): Likewise.
10144 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
10145 * libc/stdio/vprintf.c (vprintf): Likewise.
10146 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
10147
10148 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
10149
10150 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
10151 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
10152 for _REENT_SMALL.
10153 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
10154 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
10155
10156 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
10157 _REENT_SMALL.
10158 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
10159 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
10160 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
10161 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
10162 * libc/stdlib/rand48.c (__dorand48): Likewise.
10163 * libc/stdlib/seed48.c (_seed48_r): Likewise.
10164 * libc/stdlib/srand48.c (_srand48_r): Likewise.
10165 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
10166 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
10167 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
10168 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
10169 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
10170 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
10171 * libc/stdlib/rand.c (rand): Likewise.
10172
10173 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
10174 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
10175
10176 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
10177 _REENT_MP_FREELIST() and _REENT_MP_P5S.
10178 * libc/include/sys/reent.h (struct _mprec): New structure.
10179
10180 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
10181 _unused_strtok_last.
10182 * libc/string/strtok.c (strtok): Use a local static variable.
10183
10184 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
10185 (_REENT_EMERGENCY_SIZE): Likewise.
10186 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
10187 _REENT_ASCTIME_BUF().
10188 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
10189 _REENT_TM().
10190
10191 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
10192 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
10193 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
10194 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
10195 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
10196 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
10197
9c2e7642
GK
101982002-02-01 Geoffrey Keating <geoffk@redhat.com>
10199
10200 * configure.host (xstormy16): Don't use the generic malloc.
10201 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
10202 * libc/machine/xstormy16/Makefile.in: Regenerate.
10203 * libc/machine/xstormy16/mallocr.c: New file.
10204 * libc/machine/xstormy16/tiny-malloc.c: New file.
10205
4bb6112f
TF
102062002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10207
10208 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
10209 when _CYGWIN_TYPES_H is not defined.
10210
8d345552
TF
102112002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10212
10213 * libc/include/sys/signal.h: Revert 2002-01-23 change.
10214
bcc49082
TF
102152002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
10216
10217 * libc/include/sys/signal.h: Remove pthread_kill declaration
10218 when __CYGWIN__ is defined.
10219
13baedeb
CF
102202002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10221
10222 * libc/include/time.h: Add prototype for strptime for Cygwin.
10223
b2db0ebc
NC
102242002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
10225
ebf139fb
NC
10226 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
10227 dst was not word aligned.
10228
b2db0ebc
NC
10229 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
10230 if too much memory is requested.
10231
798c015d
JJ
102322002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10233
10234 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10235 reads blanks from the input file to break if EOF reached
10236 rather than end processing.
10237
46ad2ef4
JJ
102382002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10239
10240 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10241
86b06396
JJ
102422002-01-07 Alan Matsuoka <alanm@redhat.com>
10243
ba3ccd63
EB
10244 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10245 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10246 libc/include/sys/config.h: Ditto.
86b06396 10247
423d5064
CV
102482001-12-28 Corinna Vinschen <corinna@vinschen.de>
10249
10250 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10251
f6eff1c0
GK
102522001-12-22 Geoffrey Keating <geoffk@redhat.com>
10253 Catherine Moore <clm@redhat.com>
10254 Richard Henderson <rth@redhat.com>
10255 Corinna Vinschen <vinschen@redhat.com>
10256
10257 * configure.host: Add support for xstormy16.
10258 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10259 * libc/include/machine/setjmp.h: Add support for xstormy16.
10260 * libc/include/sys/config.h: Add support for xstormy16.
10261 * libc/machine/xstormy16/Makefile.am: New file.
10262 * libc/machine/xstormy16/Makefile.in: New file.
10263 * libc/machine/xstormy16/aclocal.m4: New file.
10264 * libc/machine/xstormy16/configure: New file.
10265 * libc/machine/xstormy16/configure.in: New file.
10266 * libc/machine/xstormy16/setjmp.S: New file.
10267
1f93c55f
TF
102682001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10269
10270 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10271 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10272
13b918be
CV
102732001-12-19 Corinna Vinschen <corinna@vinschen.de>
10274
10275 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10276 * libm/machine/Makefile.in: Regenerated through automake.
10277
08e857b4
TF
102782001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10279
10280 * Makefile.am (DOCDIR): Force to empty string when doc
10281 directory is not present.
10282
60565ed6
TF
102832001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10284
10285 * libc/machine/i386/f_*: Move to libm/machine/i386.
10286
102872001-12-18 Joel Sherrill <joel@OARcorp.com>
10288
10289 * libm/machine/Makefile.am: Add dummy doc stub so
10290 "make info" works.
10291
102922001-12-17 Joel Sherrill <joel@OARcorp.com>
10293
10294 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10295
fc504135
TF
102962001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10297
10298 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10299 $(COMPILE) rather than $(CC).
10300 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10301 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10302 $(LIB_COMPILE) change.
10303 (vfiprintf.$(oext)): Likewise.
10304
efeae9a3
CV
103052001-12-17 Corinna Vinschen <vinschen@redhat.de>
10306
10307 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10308 conditionalized including of getopt stuff.
10309
cdf7120d
TF
103102001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10311
10312 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10313 compile line.
f85be99c 10314 (vfiprintf.$(oext)): Likewise.
cdf7120d 10315
2e1a7175
TF
103162001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10317
10318 * Makefile.shared: New file.
10319 * libc/sys/linux/shared.ld: New file.
10320 * libm/machine/*: New files.
10321 * libm/machine/i386/*: New files.
10322 * Makefile.am: Add libtool support. Change math and mathfp
10323 references to variables.
10324 * configure.host: Add variables for libtool support. Add
10325 libm_machine_dir variable.
10326 * configure.in: Add objectlist variables, for libtool
10327 support. Add CC_FOR_BUILD tests.
10328 * libc/Makefile.am: Add libtool support. Change crt0.o
10329 reference to be a variable reference.
10330 * libc/configure.in: Add libtool support. Change sublib
10331 names to be lib${subdir}.la when using libtool.
10332 * libc/ctype/Makefile.am: Add libtool support.
10333 * libc/errno/Makefile.am: Likewise.
10334 * libc/locale/Makefile.am: Likewise.
10335 * libc/machine/Makefile.am: Likewise.
10336 * libc/machine/configure.in: Likewise.
10337 * libc/machine/i386/Makefile.am: Likewise.
10338 * libc/machine/i386/configure.in: Likewise.
10339 * libc/misc/Makefile.am: Likewise.
10340 * libc/posix/Makefile.am: Likewise.
10341 * libc/reent/Makefile.am: Likewise.
10342 * libc/signal/Makefile.am: Likewise.
10343 * libc/stdio/Makefile.am: Likewise.
10344 * libc/stdlib/Makefile.am: Likewise.
10345 * libc/string/Makefile.am: Likewise.
10346 * libc/sys/Makefile.am: Likewise.
10347 * libc/sys/configure.in: Likewise.
10348 * libc/sys/linux/Makefile.am: Add libtool support. Change
10349 awk reference to a variable reference. Change signal.h
10350 reference to a variable reference.
10351 * libc/sys/linux/configure.in: Add libtool support.
10352 * libc/syscalls/Makefile.am: Likewise.
10353 * libc/time/Makefile.am: Likewise.
10354 * libc/unix/Makefile.am: Likewise.
10355 * libm/Makefile.am: Add libtool support. Change math and
10356 mathfp references to variables.
10357 * libm/configure.in: Add libtool support. Add
10358 LIBM_MACHINE_LIB variable.
10359 * libm/common/Makefile.am: Add libtool support.
10360 * libm/math/Makefile.am: Likewise.
10361 * libm/mathfp/Makefile.am: Likewise.
10362 Regenerate all Makefile.in, aclocal.m4, and configure.
10363
b92591a1
JJ
103642001-12-13 Anita Kulkarni <anitak@kpit.com>
10365
ba3ccd63 10366 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
b92591a1 10367
355b664e
CF
103682001-12-06 John Peacock <jpeacock@rowman.com>
10369
10370 * libc/include/sys/unistd.h: Correct ualarm declaration.
10371
e9853806
NC
103722001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
10373
10374 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
10375 vector before calling the initialisation functions.
10376
a8e091b0
CF
103772001-11-29 Christopher Faylor <cgf@redhat.com>
10378
10379 * libc/include/dirent.h: Protect against multiple inclusion.
10380
ab634123
CF
103812001-11-27 Christopher Faylor <cgf@redhat.com>
10382
10383 * libc/include/sys/types.h: Define useconds_t.
10384 * libc/include/sys/ulimit.h: Declare ualarm.
10385
d37e401e
CF
103862001-11-21 Christopher Faylor <cgf@redhat.com>
10387
10388 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
10389
8ac90051
HPN
103902001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
10391
10392 * libc/sys/mmixware/*: Tweak license header in all source files.
10393
d7ca37e4
CV
103942001-11-12 Corinna Vinschen <vinschen@redhat.com>
10395
10396 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
10397 to here. Rearrange for general inclusion by stdlib.h.
10398 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
10399 isn't defined.
10400 * libc/sys/linux/include/alloca.h: Move to libc/include.
10401
28f8744e
AG
104022001-11-12 Anthony Green <green@redhat.com>
10403
10404 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
10405
4cede8c4
HPN
104062001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
10407
10408 * libc/sys/mmixware/*: Correct spacing in all source files.
10409 * libc/sys/mmixware/syscall.h: Move misplaced file...
10410 * libc/sys/mmixware/sys/syscall.h: ...here.
10411
8be9b48b
JJ
104122001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
10413
ba3ccd63
EB
10414 * libc/include/machine/ieeefp.h: Add support for mmix target.
10415 * libc/include/machine/setjmp.h: Ditto.
10416 * configure.host: Ditto.
10417 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
10418 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
10419 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
10420 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
10421 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
10422 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
10423 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
10424 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
10425 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
10426 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
10427 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
10428 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
10429 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
10430 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
10431 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
10432 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
10433 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
10434 libc/sys/mmixware/aclocal.m4: Generate.
8be9b48b 10435
c7dd4f95
CV
104362001-11-05 Corinna Vinschen <corinna@vinschen.de>
10437
10438 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
10439 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
10440 when __CYGWIN__ is defined.
10441 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
10442 logwtmp().
10443
a6a6f9fe
JJ
104442001-11-01 Arati Dikey <aratidikey@hotmail.com>
10445
10446 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
10447 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
10448 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
10449 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
10450
d0504c35
JJ
104512001-10-24 Christopher Faylor <cgf@redhat.com>
10452
10453 * libc/stdio/fseek.c: Reset pointer to buffer base
10454 when forced to seek outside of current buffer contents.
10455 This prevents the code from erroneously thinking there is
10456 anything in the current buffer.
10457
0280c8c0
GK
104582001-10-22 Geoffrey Keating <geoffk@redhat.com>
10459
10460 * libc/include/math.h: The C++ standard adds the single-precision
10461 versions of the elementary functions.
10462
333d6098
CF
104632001-10-22 Christopher Faylor <cgf@redhat.com>
10464
10465 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
10466 throughout.
10467 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
10468 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
10469 * system.c (_system_r): Ditto.
10470
c7118319
CV
104712001-10-17 Corinna Vinschen <corinna@vinschen.de>
10472
10473 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 10474 __CYGWIN__ or __rtems__ is defined.
c7118319 10475
5665b0e1
JJ
104762001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
10477
ba3ccd63
EB
10478 * libc/include/stdlib.h: add declarations for
10479 _strtoull_r, _strtoll_r, strtoull, and strtoll.
10480 * libc/stdio/local.h: remove declarations of
10481 __strtoull_r and __strtoll_r.
10482 * libc/stdio/vfscanf.c(__svfscanf_r): call
10483 _strtoull_r instead of __strtoull_r. Ditto
10484 _strtoll_r vs. __strtoll_r.
10485 * libc/stdlib/Makefile.am: add new files to
10486 .c list and .def list
10487 * libc/stdlib/Makefile.in: regenerate
10488 * libc/stdlib/strtoll_r.c: rename __strtoll_r
10489 as _strtoll_r
10490 * libc/stdlib/strtoull_r.c: rename __strtoull_r
10491 as _strtoull_r
10492 * libc/stdlib/strtoull.c: new file
10493 * libc/stdlib/strtoll.c: new file
5665b0e1 10494
d2d5eb41
CF
10495Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
10496
10497 * libc/include/process.h: Add getpid() declaration.
10498
448e3c14
NC
104992001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10500
10501 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
10502 for new style arm/elf ctor/dtor handling.
10503 Minor formatting tidy up.
10504
7a2afbbb
JJ
105052001-09-13 Jeff Johnston <jjohnstn@redhat.com>
10506
10507 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
10508 and strtoull_r.c.
10509 * libc/stdlib/Makefile.in: Regenerated.
10510 * libc/stdlib/strtoll_r.c: New file.
10511 * libc/stdlib/strtoull_r.c: New file.
10512 * libc/stdio/local.h: Add prototypes for long long string
10513 conversion routines.
10514 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
10515 tied to %L integer conversion specifier.
10516
6342caa4
JJ
10517Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
10518
ba3ccd63
EB
10519 * strftime.c (strftime): Fix "%W" implementation to properly handle
10520 Mondays too.
6342caa4 10521
b2d319cb
JJ
105222001-09-07 Jeff Law <law@redhat.com>
10523
ba3ccd63
EB
10524 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
10525 __fini with "mov.l" instead of "mov.w".
b2d319cb 10526
233823ba
CV
105272001-09-05 Corinna Vinschen <corinna@vinschen.de>
10528
10529 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
10530 and getopt.h.
10531
63c17b54
JJ
105322001-09-04 Jason Merrill <jason_merrill@redhat.com>
10533
10534 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
10535
a3e67ddf
CV
105362001-09-03 Corinna Vinschen <corinna@vinschen.de>
10537
10538 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
10539 field.
10540 (__DIRENT_VERSION): New define.
10541
6d47f33a
CV
105422001-09-03 Corinna Vinschen <corinna@vinschen.de>
10543
10544 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
10545 Shrink __d_reserved accordingly to keep structure size.
10546 (dirfd): Declare external.
6d47f33a 10547
348c5e06
JJ
105482001-08-29 Joel Sherrill <joel@OARcorp.com>
10549
10550 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
10551
105522001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10553
10554 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
10555 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
10556 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
10557 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
10558 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
10559 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
10560 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
10561 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
10562 Add conditional compilation to avoid HW FPU instructions
10563 when compiled for soft-float.
10564
f29865c5
JJ
105652001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10566
10567 * Makefile.am: Add check for ln failing when creating libg.a
10568 so that cp gets used as a backup.
10569 * Makefile.in: Regenerated.
10570
9e2a4ef8
JJ
105712001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10572
10573 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
10574 No longer include time.h. Add struct __tm to use for
10575 _localtime_buf in the reentrant structure. Add a
10576 _NULL definition to use in initializing the reentrant struct.
10577 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
10578 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
10579 <sys/_types.h>.
10580 * libc/include/sys/unistd.h: Include <sys/_types.h>.
10581 * libc/time/lcltime.c (localtime): Cast the reentrant struct
10582 _localtime_buf to be struct tm *.
10583
1ae900d6
JR
10584Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
10585
10586 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
10587 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
10588 __ctors_end.
10589 * libc/sys/h8300hms/syscalls.c: Include errno.h.
10590 (_unlink): New stub function.
10591
8e26d5b5
CF
10592Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
10593
10594 * libc/include/sys/errno.h: Add a cautionary comment.
10595
e8267664
JJ
105962001-08-21 Jeff Johnston <jjohnstn@redhat.com>
10597
10598 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
10599 for SIZE_SZ so that alignment ends up a minimum of 8.
10600
4acf3edf
CF
10601Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
10602
10603 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
10604 arguments.
10605
10606 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
10607 Cygwin.
10608
52c80be8
JJ
106092001-08-13 Jeff Johnston <jjohnstn@redhat.com>
10610
10611 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
10612 macro constants for mallopt options.
10613 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
10614
a7061f7f
JJ
106152001-08-02 Jeff Johnston <jjohnstn@redhat.com>
10616
10617 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
10618 otherwise default.
10619
0b4bfdd5
AH
106202001-07-12 Aldy Hernandez <aldyh@redhat.com>
10621
ba3ccd63 10622 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
0b4bfdd5 10623
2b6b730c
NC
106242001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10625
10626 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10627 Define for little endian ARMs.
10628
10629 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10630 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10631
25842b68
JJ
106322001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10633
ba3ccd63 10634 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
25842b68 10635
371b76ef
JJ
106362001-06-11 Egor Duda <deo@logos-m.ru>
10637
ba3ccd63
EB
10638 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10639 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10640 initialized memory region. Platform can define COMPACT_CTYPE
10641 to avoid allocation of the additional 128 bytes of data.
10642 Add pointer to _ctype_ array. Always initialize all _ctype_
10643 array elements.
371b76ef 10644
43b44bc5
JL
106452001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10646
10647 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10648 NULL pointer.
10649
188bc140
NC
106502001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10651
10652 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10653
2ce88418
NC
106542001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10655
10656 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10657 matching, non-word alignment, and the length is <= 4 but more than
10658 enough to move them over a word boundary.
10659 Add comments explaining what each instruction does.
10660
ca60ed47
CF
10661Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10662
10663 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 10664 * libc/include/sys/unistd.h: Ditto.
ca60ed47 10665
8b3bcfba
JJ
106662001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10667
ba3ccd63 10668 * libc/string/strrchr.c: Use strchr for the speed improvements.
8b3bcfba 10669
b09e3cf8
JJ
106702001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10671
10672 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10673 real file systems, let __smakebuf() determine if line buffering
10674 should be used for stdout.
10675
0ca66974
JJ
106762001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10677
10678 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10679
7cb7017a
JJ
106802001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10681
10682 * libc/include/stdlib.h: Add prototype for _strtod_r.
10683
a874cd21
JJ
106842001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10685
ba3ccd63
EB
10686 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10687 * libc/stdio/vprintf.c (_vprintf_r): new function
10688 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10689 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10690 _DEFUN, and call _vfprintf_r, not vfprintf.
10691 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10692 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10693 _DEFUN, and call _vfprintf_r, not vfprintf.
a874cd21 10694
cb4cc283 106952001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
17c0c97d 10696
cb4cc283
CF
10697 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10698 Cygwin X_OK definitions in sys/file.h.
10699
8c9df1d5
CF
10700Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10701
10702 * libc/include/sys/time.h: Define timercmp and other macros for
10703 __CYGWIN__, too.
10704
3ac6f3a7 107052001-04-20 Jeff Johnston <jjohnstn@redhat.com>
17c0c97d 10706
3ac6f3a7
JJ
10707 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10708 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10709 --enable-malloc-debugging selected.
10710 * aclocal.m4 configure: Regenerated.
10711 libm/aclocal.m4 libm/configure: Ditto.
10712 * libc/aclocal.m4 libc/configure: Ditto.
10713 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10714 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10715 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10716 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10717 * doc/aclocal.m4 doc/configure: Ditto.
10718
52cb9e69
JJ
107192001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10720
10721 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10722 into one list.
10723 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10724 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10725 function prototypes.
10726 (_fscanf_r, _sscanf_r): Ditto.
10727 * libc/include/stdlib.h: Added _strtod_r prototype.
10728 * libc/stdio/Makefile.am: Add new v*scanf functions.
10729 * libc/stdio/Makefile.in: Regenerate.
10730 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10731 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10732 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10733 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10734 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10735 (_sscanf_r): New routine.
10736 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10737 with __svfscanf_r prototype.
10738 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10739 routines.
10740 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10741 structure as argument as calls reentrant versions of helper functions
10742 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10743 to _strtol_r and _strtod_r respectively.
10744 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10745 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10746 _REENT argument.
10747 * libc/stdio/vscanf.c: New file.
10748 * libc/stdio/vsscanf.c: Ditto.
10749
ee9f39fb
JJ
107502001-04-19 Robert Collins <rbtcollins@hotmail.com>
10751
10752 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10753 Define daylight to _daylight if it is not defined
17c0c97d 10754 Prepare a variable export of timezone based on timezonevariable.
ee9f39fb
JJ
10755 (Cannot be used with the timezone() function.)
10756
273861e3
JJ
107572001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10758
ba3ccd63
EB
10759 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10760 Correct the numerical values.
273861e3 10761
a25b8414
CF
107622001-04-13 Robert Collins <rbtcollins@hotmail.com>
10763
10764 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10765
b8a8c59d
CV
10766Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10767
10768 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10769 on case insensitve file systems.
10770
74f8cc63
CF
107712001-04-12 Robert Collins <rbtcollins@hotmail.com>
10772
10773 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10774 pthread support.
10775 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10776 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10777 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10778
16740220
RS
107792001-04-04 Richard Sandiford <rsandifo@redhat.com>
10780
10781 * libc/include/machine/ieeefp.h: Comment about new configuration
10782 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10783 * libm/common/fdlib.h: Define new macros for testing floats.
10784 * libm/common/sf_*: Use them.
10785 * libm/math/ef_*: Likewise.
10786 * libm/math/sf_*: Likewise.
10787
0694d8d3
JJ
107882001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10789
10790 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10791 prolog to by-pass possible assembler error.
10792
4833b38c
JJ
107932001-03-21 Egor Duda <deo@logos-m.ru>
10794
ba3ccd63
EB
10795 Allow building internal stubs for non-reentrant syscalls
10796 if target provides its own malloc
10797 * libc/reent/reent.c (errno): Move definition here.
10798 * libc/reent/sbrkr.c: From here.
4833b38c 10799
d17d6d42
CF
108002001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10801
10802 * libc/include/sys/types.h (BSD int typedefs): Guard with
10803 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10804 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10805 _SYS_TYPES_FD_SET.
10806 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10807 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10808
c7ee75cd
CV
10809Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10810
10811 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10812 _PC_POSIX_SECURITY constants for Cygwin.
10813
63dc5d80
CV
10814Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10815
10816 * libc/sys/cygwin/crt0.c: Add copyright hint.
10817 * libc/sys/cygwin/sys/dirent.h: Ditto.
10818 * libc/sys/cygwin/sys/param.h: Ditto.
10819 * libc/sys/cygwin/sys/utime.h: Ditto.
10820 * libc/sys/cygwin/sys/utmp.h: Ditto.
10821
6f637037
AO
108222001-03-13 Alexandre Oliva <aoliva@redhat.com>
10823
10824 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10825 equivalent to LONGINT.
10826
e69b6f73
JJ
108272001-03-08 Richard Sandiford <rsandifo@redhat.com>
10828
ba3ccd63
EB
10829 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10830 jmpbuf on MIPS64 targets.
10831 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
e69b6f73 10832
6198dece
CF
10833Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10834
17c0c97d 10835 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
ba3ccd63 10836 declarations.
6198dece 10837
cfc05d96
JJ
10838Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10839
ba3ccd63
EB
10840 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10841 For RTEMS, define to be ssize_t. Default to int if not defined.
10842 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10843 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10844 * libc/stdio/local.h (__sread, __swrite): Likewise.
10845 * libc/include/sys/reent.h (_read, _write): Likewise.
10846 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10847 * libc/syscalls/sysread.c (read): Likewise.
10848 * libc/syscalls/syswrite.c (write): Likewise.
cfc05d96 10849
6249353a
JJ
108502001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10851
ba3ccd63 10852 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
6249353a 10853
658b5db9
CF
10854Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10855
10856 * libc/include/sys/stat.h: Use special defines for executable stat bits
10857 when compiling for Cygwin.
10858 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10859 for Cygwin.
10860
19ca46d5
JJ
108612001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10862
10863 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10864 of strtok_r is always defined.
10865
b73ed85e
JJ
108662001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10867
10868 * libc/include/machine/ansi.h: New dummy header file.
10869
ee37ede1
JJ
108702001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10871
10872 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10873 changed the copyright information to allow free modification of the
10874 file with no reference to "copying.dj".
10875 * libc/include/sys/stat-dj.h: Ditto.
10876 * libc/machine/i386/setjmp.S: Ditto.
10877 * libc/sys/h8300hms/sys/file.h: Ditto.
10878 * libc/sys/sysmec/access.c: Ditto.
10879 * libc/sys/sysnecv850/access.c: Ditto.
10880 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10881 * libc/stdlib/getenv_r.c: Ditto.
10882 * libc/stdlib/putenv_r.c: Ditto.
10883 * libc/stdlib/setenv_r.c: Ditto.
10884 * libc/stdlib/getenv.c: Removed DJ reference since any possible
10885 modifications will now be in the _r version of this file.
10886 * libc/stdlib/putenv.c: Ditto.
10887 * libc/stdlib/setenv.c: Ditto.
10888 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
10889 valid. Added a reference to DJ's web page that contains his address.
10890 * libc/sys/go32/*.s: Removed references to DJ's old address.
10891 * libc/sys/go32/*.c: Ditto.
10892 * libc/sys/go32/*.h: Ditto.
10893 * libc/sys/go32/*.S: Ditto.
10894 * libc/sys/go32/sys/*.h: Ditto.
10895
3a8fc0e4
JJ
108962001-02-21 Jeff Johnston <jjohnstn@redhat.com>
10897
10898 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
10899 HAVE_FCNTL flag check.
10900 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
10901 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
10902
b24ee749
CF
10903Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
10904
10905 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
10906
ab4745dc
JJ
109072001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10908
ba3ccd63
EB
10909 * libc/include/stdlib.h: Add declarations of rand48 functions and
10910 their reentrant versions.
10911 * libc/include/sys/reent.h: Move macros from rand48.h. Add
10912 struct _rand48 for shared parameters of rand48 functions.
10913 (struct _reent): Add a variable _r48 of struct _rand48.
10914 (_REENT_INIT): Add _r48 initialization.
10915 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10916 (CHEWOUT_FILES): Add rand48.def.
10917 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10918 * libc/stdlib/Makefile.in: Regenerated.
10919 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10920 NetBSD C library.
10921 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10922 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10923 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10924 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10925 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10926 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10927 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10928 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10929 * libc/stdlib/rand48.c (__dorand48): Ditto.
10930 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10931 parameters into macros referring them in the reentrant structure.
ab4745dc 10932
a34c461f
JJ
109332001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10934
10935 * libc/include/sys/stat.h: Add mknod for Cygwin now that
10936 Cygwin definition has correct prototype.
10937
34f31ff2
JJ
109382001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10939
10940 * libc/include/sys/stat.h: Must revert change for mknod
10941 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
10942 prototype.
10943
5336d6de
JJ
109442001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10945
10946 * libc/include/stdio.h: Revert putw prototype.
10947
8915d10a
JJ
109482001-02-08 Edward M. Lee <tailbert@yahoo.com>
10949
ba3ccd63
EB
10950 * libc/include/grp.h: add prototype for initgroups.
10951 * libc/include/stdio.h: fix prototype for putw.
10952 * libc/include/sys/signal.h: add prototype for killpg.
10953 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
10954 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
8915d10a
JJ
10955 vhangup and remove duplicate sysconf prototype.
10956
93ac4487
JJ
109572001-02-07 Jeff Johnston <jjohnstn@redhat.com>
10958
10959 * libc/sys/rtems/sys/types.h: Removed.
10960
31f5feea
JJ
109612001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
10962
ba3ccd63 10963 * libc/include/locale.h: add LC_MESSAGES definition
31f5feea 10964
b5139f59
AO
109652001-02-01 Alexandre Oliva <aoliva@redhat.com>
10966
10967 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
10968 SYS_get_argN):
10969 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
10970 __setup_argv_and_call_main): New.
10971
e29d8355
JJ
109722001-01-31 Jeff Johnston <jjohnstn@redhat.com>
10973
10974 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
10975 if defined.
10976 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
10977 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
10978 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
10979 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
10980
82ea92f3
CF
10981Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
10982
10983 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
10984 compiling under Cygwin.
10985
3aaa66f8
JJ
109862001-01-29 Jeff Johnston <jjohnstn@redhat.com>
10987
10988 * libc/include/math.h (signgam): Change to errno-like solution
10989 using a function to return the address of the real signgam.
10990 * libc/reent/signgam.c: New file containing __signgam().
10991 * libc/reent/Makefile.am: Added signgam.c to list of files.
10992 * libc/reent/Makefile.in: Regenerated.
10993
610b895a
AO
109942001-01-25 Alexandre Oliva <aoliva@redhat.com>
10995
b0913397
AO
10996 * libc/sys/sh/syscalls.c (_times): New.
10997
610b895a
AO
10998 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
10999 * libc/sys/sh/syscalls.c (_gettimeofday): New.
11000
3643210e
JJ
110012001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11002
11003 * libc/include/math.h (signgam): Regress previous fix as
11004 it does not handle programs with extern int signgam in them.
11005
841081c9
JJ
110062001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11007
11008 * libc/include/math.h (signgam): Changed to a macro refering to
11009 its location in the reentrant structure.
11010
e9cd87b8
JJ
110112001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11012
11013 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
11014 that suppressed . for %.0f, 0.1. Check now looks if there
11015 are padding zeroes (expt) in addition to any digits (ndig) to
11016 print.
11017
a302b48c
JJ
110182001-01-18 Jeff Johnston <jjohnstn@redhat.com>
11019
11020 * libc/sys/arc/Makefile.am: New file.
11021 * libc/sys/arc/Makefile.in: Ditto.
11022 * libc/sys/arc/aclocal.m4: Ditto.
11023 * libc/sys/arc/configure: Ditto.
11024 * libc/sys/arc/configure.in: Ditto.
11025 * libc/sys/arc/crt0.S: Ditto.
11026 * libc/sys/arc/isatty.c: Ditto.
11027 * libc/sys/arc/mem-layout.c: Ditto.
11028 * libc/sys/arc/sbrk.c: Ditto.
11029 * libc/sys/arc/syscalls.c: Ditto.
11030 * libc/sys/arc/sys/syscall.h: Ditto.
11031
d0319c3b
CF
11032Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
11033
11034 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
11035
e45ab890
CF
11036Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
11037
11038 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
11039
1376245a
DD
11040Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
11041
11042 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
11043
92b57543
NC
110442001-01-09 Nick Clifton <nickc@redhat.com>
11045
11046 * configure.host (v859): Remove unsupported compiler options.
11047
7d6d33d4
JJ
11048Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
11049
11050 * src/newlib/configure.host (*-*-rtems*): add printf long long
11051 support for RTEMS.
11052
602f8b5a 110532000-12-19 Graham Stott <grahams@redhat.com>
6286746a 11054
ba3ccd63 11055 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
6286746a 11056
9c2b8183
JJ
11057Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11058
11059 * configure.host: Turn on long double I/O for Cygwin.
11060
804368d3
JJ
11061Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11062
11063 * MAINTAINERS: Removed Ranjith.
11064 * NEWS: Updated for 1.9.0.
11065 * README: Updated.
11066 * acinclude.m4: Updated to release 1.9.0.
11067 * aclocal.m4 configure
11068 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11069 libc/machine/aclocal.m4 libc/machine/configure
11070 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
11071 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
11072 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
11073 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
11074 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
11075 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
11076 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
11077 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
11078 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
11079 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
11080 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
11081 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
11082 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
11083 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
11084 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
11085 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
11086 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
11087 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
11088 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
11089 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
11090 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11091 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11092 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11093 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
11094 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11095 libc/sys/aclocal.m4 libc/sys/configure
11096 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11097 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11098 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11099 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11100 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11101 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11102 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11103 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11104 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
11105 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11106 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11107 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11108 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11109 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11110 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11111 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11112 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11113 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11114 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11115 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11116 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11117 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11118 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11119 libm/aclocal.m4 libm/configure: Regenerated.
11120
0985d43f
CV
11121Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11122
11123 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
11124 when __CYGWIN__ is defined.
11125
b6182a09
JJ
111262000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11127
11128 * libc/stdlib/ldtoa.c (_ldcheck): New routine
11129 that categorizes a long double as NaN, Infinity, or other.
17c0c97d
EB
11130 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
11131 isinfl and isnanl static routines which were i386-specific. Changed
b6182a09
JJ
11132 calls to the two removed routines to a single _ldcheck call.
11133 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
11134
adbbb034
JJ
111352000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11136
11137 * Makefile.am: Fixed install-data-local target to use
11138 $(mkinstalldirs) for the installed header files to ensure
11139 the directories exist before copying.
11140 * Makefile.in: Regenerated.
11141
cbd19336
JJ
111422000-12-12 Jeff Johnston <jjohnstn@redhat.com>
11143
11144 * libc/include/sys/unistd.h: Restored Cygwin _SC
11145 constants and moved new constants appropriately
11146 so Cygwin will build.
11147
8fb37963
JJ
111482000-12-11 Joel Sherrill <joel@OARcorp.com>
11149
ba3ccd63
EB
11150 * Merge RTEMS specific .h files into main libc/include.
11151 * libc/sys/rtems/include/signal.h: Removed.
11152 * libc/sys/rtems/include/time.h: Removed.
11153 * libc/sys/rtems/sys/features.h: Removed.
11154 * libc/sys/rtems/sys/sched.h: Removed.
11155 * libc/sys/rtems/sys/siginfo.h: Removed.
11156 * libc/sys/rtems/sys/signal.h: Removed.
11157 * libc/sys/rtems/sys/time.h: Removed.
11158 * libc/sys/rtems/sys/times.h: Removed.
8fb37963
JJ
11159 definitions for time_t and clock_t since these are
11160 no longer in time.h.
ba3ccd63
EB
11161 * libc/include/pthread.h: New file.
11162 * libc/include/sys/sched.h: New file.
11163 * libc/include/sys/features.h: New file.
11164 * libc/include/time.h: Removed duplicate definition of clock_t
11165 and time_t, get them from <sys/types.h> instead. Add prototypes
11166 for POSIX clock and timer functionality.
8fb37963 11167 * libc/sys/linux/sys/types.h: Changed to include
ba3ccd63
EB
11168 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
11169 * libc/include/sys/signal.h: Add more complete set of POSIX
11170 signal functionality including real-time and threaded signals.
11171 * libc/include/sys/types.h: Add clock_t, time_t, struct
17c0c97d 11172 timespec, and struct itimerspec. Centralizing these makes
8fb37963 11173 things cleaner. RTEMS uses 64-bit dev_t.
ba3ccd63
EB
11174 Added numerous primitive definitions
11175 for pthreads including macros, pthread_attr_t,
17c0c97d 11176 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8fb37963 11177 pthread_once_t, and pthread_t.
ba3ccd63
EB
11178 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
11179 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
11180 Feature flags removed and moved to new file <sys/features.h>.
11181 Full set of POSIX sysconf() constants
8fb37963 11182
2efbc2a7
JJ
111832000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
11184
11185 * configure.host: Added x86 linux target.
11186 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
11187 definitions provided if not already defined.
11188 * libc/sys/linux/crt0.c: New file.
11189 * libc/sys/linux/Makefile.am: Ditto.
11190 * libc/sys/linux/Makefile.in: Ditto.
11191 * libc/sys/linux/aclocal.m4: Ditto.
11192 * libc/sys/linux/brk.c: Ditto.
11193 * libc/sys/linux/configure: Ditto.
11194 * libc/sys/linux/configure.in: Ditto.
11195 * libc/sys/linux/getoptlong.c: Ditto.
11196 * libc/sys/linux/ids.c: Ditto.
11197 * libc/sys/linux/inode.c: Ditto.
11198 * libc/sys/linux/io.c: Ditto.
11199 * libc/sys/linux/linux.c: Ditto.
11200 * libc/sys/linux/process.c: Ditto.
11201 * libc/sys/linux/realpath.c: Ditto.
11202 * libc/sys/linux/select.c: Ditto.
11203 * libc/sys/linux/signal.c: Ditto.
11204 * libc/sys/linux/systat.c: Ditto.
11205 * libc/sys/linux/termios.c: Ditto.
11206 * libc/sys/linux/time.c: Ditto.
11207 * libc/sys/linux/wait.c: Ditto.
11208 * libc/sys/linux/include/alloca.h: Ditto.
11209 * libc/sys/linux/include/getopt.h: Ditto.
11210 * libc/sys/linux/include/stdint.h: Ditto.
11211 * libc/sys/linux/include/unistd.h: Ditto.
11212 * libc/sys/linux/sys/cdefs.h: Ditto.
11213 * libc/sys/linux/sys/dirent.h: Ditto.
11214 * libc/sys/linux/sys/errno.h: Ditto.
11215 * libc/sys/linux/sys/fcntl.h: Ditto.
11216 * libc/sys/linux/sys/file.h: Ditto.
11217 * libc/sys/linux/sys/ioctl.h: Ditto.
11218 * libc/sys/linux/sys/resource.h: Ditto.
11219 * libc/sys/linux/sys/signal.h: Ditto.
11220 * libc/sys/linux/sys/stat.h: Ditto.
11221 * libc/sys/linux/sys/syscall.h: Ditto.
11222 * libc/sys/linux/sys/termios.h: Ditto.
11223 * libc/sys/linux/sys/time.h: Ditto.
11224 * libc/sys/linux/sys/types.h: Ditto.
11225 * libc/sys/linux/sys/utmp.h: Ditto.
11226 * libc/sys/linux/sys/utsname.h: Ditto.
11227 * libc/sys/linux/sys/wait.h: Ditto.
11228
a08c98bb
JJ
112292000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11230
ba3ccd63
EB
11231 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
11232 can be a relative path to $(top_srcdir)/install.sh so ensure the
11233 autoconf detected settings are properly passed recursively.
11234 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11235 properly to subdirectories.
a08c98bb
JJ
11236 * Makefile.in: Regenerated.
11237
b294082c
JJ
112382000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11239
ba3ccd63
EB
11240 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11241 a floating point register unless really printing a floating
11242 point number.
b294082c 11243
2005ab6b
JJ
112442000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11245
11246 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11247 Also removed \r's.
11248 (asctoeg): Replaced alloca call with stack array and malloc
11249 when storage exceeds reasonable limit.
11250 (e53toe): Fixed einfin calls missing ldp parameter.
11251 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11252
9f6e8f1b
JJ
112532000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11254
2005ab6b 11255
9f6e8f1b
JJ
11256 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11257
6bdac416
JJ
112582000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11259
11260 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11261 * libc/stdlib/Makefile.in: Regenerated.
11262 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11263 * libc/stdio/vfieeefp.h: Added long double bit structures.
11264 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11265 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11266 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11267 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11268 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11269 _strtold routines used for conversions between character
11270 and long double.
11271
ec270d31
CV
11272Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11273
11274 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11275
db2d9549
JJ
112762000-12-04 Joel Sherrill <joel@OARcorp.com>
11277
ba3ccd63 11278 * libc/include/machine/time.h: RTEMS systems can configure clock
db2d9549
JJ
11279 tick rate so use sysconf() to ask.
11280
6ba54a15
JJ
112812000-12-04 Joel Sherrill <joel@OARcorp.com>
11282
ba3ccd63 11283 * libc/include/sys/times.h: Add reference to POSIX standard.
6ba54a15 11284
8677b819
JJ
112852000-12-04 Joel Sherrill <joel@OARcorp.com>
11286
ba3ccd63
EB
11287 * libc/include/sys/time.h: Added BSD timer manipulation macros
11288 used by RTEMS code.
8677b819 11289
1b61a706
JJ
112902000-12-04 Joel Sherrill <joel@OARcorp.com>
11291
ba3ccd63
EB
11292 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11293 referenced by code generated by gcc 2.8.1.
11294 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
1b61a706
JJ
11295 satisfy gcc.
11296
f5e7c124
JJ
112972000-12-04 Joel Sherrill <joel@OARcorp.com>
11298
ba3ccd63 11299 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
f5e7c124 11300
768abc9c
JJ
113012000-12-04 Joel Sherrill <joel@OARcorp.com>
11302
ba3ccd63 11303 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
768abc9c 11304
9e5dd5ea
JJ
113052000-12-04 Joel Sherrill <joel@OARcorp.com>
11306
ba3ccd63 11307 * configure.host (or16, or32): New entries for OpenCores
9e5dd5ea 11308 OpenRisc CPUs.
ba3ccd63 11309 (*-*-rtems*): Add -DNO_EXEC.
9e5dd5ea 11310
768abc9c 113112000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f 11312
ba3ccd63
EB
11313 * libc/include/sys/errno.h: Added comments on many error numbers.
11314 * libc/string/strerror.c: Added some more strings.
7713fb6f 11315
b273323f
JJ
113162000-11-30 Jeff Johnston <jjohnstn@redhat.com>
11317
11318 * libc/sys/sh/syscalls.c (_link): New stub.
11319
0ffc3b94
NC
113202000-11-29 Nick Clifton <nickc@redhat.com>
11321
11322 * configure.host: Add xscale target.
11323 * libc/machine/xscale: New directory.
11324 * libc/machine/xscale/Makefile.am: New file.
11325 * libc/machine/xscale/Makefile.in: New file.
11326 * libc/machine/xscale/aclocal.m4: New file.
11327 * libc/machine/xscale/configure: New file.
11328 * libc/machine/xscale/configure.in: New file.
11329 * libc/machine/xscale/memchr.S: New file.
11330 * libc/machine/xscale/memcmp.S: New file.
11331 * libc/machine/xscale/memcpy.S: New file.
11332 * libc/machine/xscale/memmove.S: New file.
11333 * libc/machine/xscale/memset.S: New file.
11334 * libc/machine/xscale/strchr.S: New file.
11335 * libc/machine/xscale/strcmp.S: New file.
11336 * libc/machine/xscale/strcpy.S: New file.
11337 * libc/machine/xscale/strlen.S: New file.
11338
cbbf0f96
CV
11339Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11340
11341 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
11342 avoid compiler warnings.
11343
73dea790
MM
113442000-11-22 Michael Meissner <meissner@redhat.com>
11345
11346 * libc/posix/execl.c (execl): Don't reference environ directly,
11347 reference it only via a static pointer to avoid problems with some
11348 shared library systems and with different uses of small data where
11349 the user specifies his own version of environ.
11350 * libc/posix/execv.c (execv): Ditto.
11351 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
11352 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
11353 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
11354
11355 * libc/stdlib/getenv.c (environ): Delete unused reference to
11356 environ.
11357
11358 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
11359 colorization.
11360 * libc/stdlib/system.c: Ditto.
11361
08eac2ae
CF
11362Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
11363
11364 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
11365 including windows headers.
11366
5478bf37
JJ
113672000-11-20 Jeff Johnston <jjohnstn@redhat.com>
11368
11369 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
11370 * libc/include/dirent.h: Added definition of MAXNAMLEN if
11371 not defined by sys/dirent.h.
11372 * libc/posix/execvp.c: Added include of dirent.h to get
11373 MAXNAMLEN value which used to be in unistd.h.
11374
3a760728
CV
11375Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11376
11377 * libc/include/sys/types.h: Change type of i to `size_t' in
11378 FD_ZERO macro to avoid compiler warnings.
11379
86fff69f
CF
11380Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
11381
11382 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
11383 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
11384
ba9e88d2
CV
11385Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11386
11387 * libc/include/sys/unistd.h: Add defines for sysconf values
11388 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
11389 _SC_AVPHYS_PAGES.
11390
a8018ef3
CF
11391Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
11392
11393 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
11394 declarations for __CYGWIN__.
11395
b944c6f6
GK
113962000-09-19 Geoffrey Keating <geoffk@cygnus.com>
11397
11398 * libc/signal/signal.c (__sigtramp_r): ISO C requires
11399 case labels to be integral constant expressions, so
11400 use an if/else tree instead.
11401 (_raise_r): Likewise.
11402
7f18fcb4
JJ
114032000-09-13 Jeff Johnston <jjohnstn@redhat.com>
11404
11405 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
11406 clipping patch from e-mail reader.
11407
242361df
JJ
114082000-09-13 Will Cohen <wcohen@redhat.com>
11409
11410 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
11411 Added return value 0.
11412 (_longjmp): Allow longjmp to return value of second argument
11413 passed to it.
11414
8a8c59b9
JJ
114152000-09-06 Jeff Johnston <jjohnstn@redhat.com>
11416
ba3ccd63
EB
11417 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
11418 inline code to prevent having to include another header file.
8a8c59b9 11419
a385ae75
CF
11420Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
11421
11422 * Makefile.am: Fix space vs. tab problem in install-data-local.
11423 * Makefile.in: Regenerate.
11424
11425Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
11426
11427 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
11428 (_EXPARM): New macro for defining a function parameter.
11429 * libc/include/stdlib.h: Use _EXPARM.
11430 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
11431
a36cd013
JJ
114322000-09-05 Manfred Hollstein <manfredh@redhat.com>
11433
ba3ccd63
EB
11434 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
11435 required, as documented in the gnu coding standards.
11436 * Makefile.in: Regenerate.
a36cd013 11437
f825dfda
JJ
114382000-09-05 Jeff Johnston <jjohnstn@redhat.com>
11439
11440 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
11441 make O_NDELAY and O_NONBLOCK have the same value.
11442
4ba9aab7
JJ
114432000-08-30 Kazu Hirata <kazu@hxi.com>
11444
ba3ccd63 11445 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
4ba9aab7 11446
db7acc38
JJ
114472000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
11448
ba3ccd63
EB
11449 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
11450 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
11451 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
11452 everywhere else.
db7acc38 11453
44e36af4
GK
114542000-08-30 Geoffrey Keating <geoffk@cygnus.com>
11455
11456 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
11457 * libc/include/string.h: Don't include <sys/types.h>,
11458 as it causes really bad namespace pollution. Don't declare
11459 swab(), it is properly declared in unistd.h.
11460
00a2f168
JJ
114612000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
11462
ba3ccd63
EB
11463 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
11464 (broken) support for non-existent /etc/passwd field "comment".
00a2f168 11465
6beeb240
JJ
114662000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11467
ba3ccd63
EB
11468 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
11469 only if _DIRENT_HAVE_D_NAMLEN is defined.
11470 (alphasort): aligned prototype with
11471 libc/sys/cygwin/sys/dirent.h and simplified function body.
11472 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
11473 long telldir (DIR *) as mentioned in annex B of POSIX.1
6beeb240 11474
ef44da42
JJ
114752000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11476
ba3ccd63
EB
11477 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
11478 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
11479 Added __CLI and __STI macros (controlled via
11480 _I386MACH_ALLOW_HW_INTERRUPTS macro).
11481 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
11482 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
11483 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
11484 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
11485 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
11486 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
11487 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
11488 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
11489 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
11490 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
11491 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
11492 for all global entry points.
11493 * libc/machine/i386/setjmp.S: removed code replicated in
11494 libc/machine/i386/i386mach.h and included i386mach.h instead;
11495 Use __CLI and __STI instead of cli and sti.
ef44da42 11496
14d3488d
DD
114972000-08-25 DJ Delorie <dj@redhat.com>
11498
11499 * libc/include/sys/unistd.h (environ): this one isn't from the
11500 DLL, no __IMPORT
11501
c9ca4412
CF
11502Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
11503
11504 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
11505 environ when compiling under cygwin since it is already declared in
11506 unistd.h.
11507
2d5862de
JJ
115082000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11509
11510 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
11511 like x << y-z to the equivalent x << (y-z).
11512 (d2b): changed if statements with assignment to perform the
11513 assignment prior to the if check.
11514 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
11515 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
11516 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
11517 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
11518 precedence.
11519 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
17c0c97d 11520 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2d5862de
JJ
11521 execve.c).
11522 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
11523 precedence.
11524 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
11525 clarify && and || precendence (and to remove pascalism).
11526 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
11527 * libm/math/s_infconst.c: added another pair of braces to all
11528 initializers for __infinity (need three: for __infinity[1] array,
11529 for union __dmath, and for i[2]).
11530
0888fedd
JJ
115312000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11532
199359f0
JJ
11533 * libc/stdlib/abort.c: changed description: uses "raise" instead of
11534 "getpid" and "kill"; added: uses "write" and "_exit".
11535 Also included unistd.h for "_exit" prototype.
11536 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
11537 reent.h for "_fork_r" and "_wait_r" prototypes.
17c0c97d 11538 (do_system): changed extern char *environ[] to POSIX-friendly
199359f0
JJ
11539 extern char **environ.
11540 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
11541 prototypes.
11542 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
11543 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
11544 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
11545 * libc/reent/openr.c: included fcntl.h for "open" prototype.
11546 * libc/reent/signalr.c: included signal.h for "kill" prototype,
11547 unistd.h for "getpid" prototype.
11548 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
11549 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
11550 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
11551 prototype. Also included stdlib.h for "abort", string.h for
11552 "strdup" and "strncmp" prototypes.
11553 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
11554 "strncpy", unistd.h for "read" and "close" prototypes.
11555 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
11556 "strcat" prototypes.
11557
115582000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
11559
0888fedd
JJ
11560 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
11561 used later (ifdef __SCLE)
11562 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
11563 used later (ifdef MB_CAPABLE)
11564 * libc/string/memset.c (memset): removed unused variables "count"
11565 and "unaligned_addr"
11566 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
11567 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
11568 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
11569 and "gid"
11570
a334e5ef
JJ
115712000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11572
ba3ccd63
EB
11573 * libc/stdlib/envlock.c: changed documented "__env_lock" and
11574 "__env_unlock" prototype from "void *" or "char *" to
11575 "struct _reent *" to match real function. Also added include
a334e5ef 11576 of envlock.h.
ba3ccd63
EB
11577 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
11578 "__malloc_unlock" prototype from "void *" or "char *" to
11579 "struct _reent *" to match real function.
11580 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
11581 prototypes (for getenv_r.c and setenv_r.c).
a334e5ef 11582
644b7f26
DD
115832000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
11584
11585 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
11586 and prototype in cygwin's utmp.h
11587
5bacbf10
JJ
115882000-08-16 Eric Fifer <efifer@sanwaint.com>
11589
ba3ccd63 11590 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
5bacbf10 11591
38a6bf98
NC
115922000-08-09 Nick Clifton <nickc@cygnus.com>
11593
11594 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
11595 epilogue and to allow the functions to be used in a Thumb based
11596 toolchain.
11597
befe0fb3
JJ
115982000-08-08 Jeff Johnston <jjohnstn@redhat.com>
11599
11600 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
11601 so size of 0 results in nothing being written to string.
11602 Also fixed code so that when size is non-zero, there is only
11603 a maximum of size - 1 characters written to the array and
11604 a nul terminator is appended at the end.
11605 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
11606
749d9bcd
DD
116072000-08-01 DJ Delorie <dj@redhat.com>
11608
11609 * libc/include/sys/config.h: define __IMPORT appropriately
11610 * libc/include/ctype.h (_ctype_): use __IMPORT
11611 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
11612 * libc/include/math.h (__mb_cur_max): ditto
11613 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
11614 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
11615 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
11616 * libc/include/unistd.h (environ): ditto
11617
7c110b17
MM
116182000-07-28 Michael Meissner <meissner@redhat.com>
11619
11620 * libc/include/math.h (__infinity): Declare as an array without
11621 bounds to get around small data support. Rewrite Cygwin support
11622 to be more general.
11623 * libm/math/s_infconst.c (__infinity): Ditto.
11624 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11625
bf7be721
CF
11626Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11627
11628 * libc/include/math.h: Use appropriate dll import linkage for
11629 __infinity under Cygwin.
11630
91a8d90b
DD
116312000-07-13 DJ Delorie <dj@cygnus.com>
11632
11633 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11634
ba2048d3
JJ
11635Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11636
11637 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11638 to argument list for AngelSWI_Reason_GetCmdLine.
11639
4634da64
JJ
11640Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11641
11642 * configure.host: Add support for AVR target.
11643 * libc/include/machine/ieeefp.h: Likewise.
11644 * libc/include/sys/config.h: Likewise.
11645
b19f72a2
RK
11646Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11647
11648 * README: Newlib 1.8.2 must be built in a separate directory
11649 than the sources.
11650
a704d94a
JJ
11651Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11652
ba3ccd63
EB
11653 * libc/include/sys/reent.h (_rand_next): Added __extension__
11654 qualifier as long long type is not strict ANSI.
11655 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11656 to long long constant.
a704d94a 11657
b585720b
CV
11658Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11659
ba3ccd63
EB
11660 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11661 `setegid' provided by Cygwin.
b585720b 11662
01c327ba
CV
11663Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11664
ba3ccd63
EB
11665 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11666 account for Cygwin.
01c327ba 11667
46a43a99
JJ
11668Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11669
ba3ccd63
EB
11670 * libc/include/sys/reent.h (_rand_next): Changed to
11671 unsigned long long and moved to end of _reent struct in _new union.
11672 (_REENT_INIT): Changed to move _rand_next initialization.
11673 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11674 linear congruential algorithm that is used by DJGPP.
46a43a99 11675
a68078cb
RK
11676Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11677
11678 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11679 * libc/include/sys/config.h: Define __RAND_MAX.
11680
518882f3
JJ
11681Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11682
ba3ccd63
EB
11683 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11684 standard.
518882f3 11685
d51d968a
CF
11686Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11687
11688 * libc/include/string.h: Work around problem with strsignal and gdb.
11689
d2dd5765
CF
11690Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11691
11692 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11693 * libc/include/malloc.h: Ditto.
11694 * libc/include/process.h: Ditto.
11695 * libc/include/stdio.h: Ditto.
11696 * libc/include/stdlib.h: Ditto.
11697 * libc/include/time.h: Ditto.
11698 * libc/include/machine/setjmp.h: Ditto.
11699 * libc/include/sys/errno.h: Ditto.
11700 * libc/include/sys/signal.h: Ditto.
11701 * libc/include/sys/stat.h: Ditto.
11702 * libc/include/sys/time.h: Ditto.
11703 * libc/include/sys/unistd.h: Ditto.
11704 * libc/include/string.h: Ditto. strsignal should return a const char *.
11705
88870218
JJ
117062000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11707
11708 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11709 * libm/common/s_log1p.c (log1p): Likewise.
11710 * libm/common/s_scalbn.c (scalbn): Likewise.
11711 * libm/math/e_log.c: Likewise.
11712 * libm/math/e_asin.c: Likewise.
11713 * libm/math/ef_asin.c: Likewise.
11714 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11715 * libm/math/e_j1.c (pone, qone): Likewise.
11716 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11717 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11718 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11719 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11720 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11721 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11722
c4e1aa01
DD
117232000-05-19 DJ Delorie <dj@cygnus.com>
11724
11725 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11726 (__sread): always read in binary mode
11727 (__swrite): always write in binary mode
11728 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11729 compatibility issues with different dll versions
11730 * libc/stdio/fopen.c: use __stextmode
11731 * libc/stdio/fdopen.c: ditto
11732 * libc/stdio/freopen.c: ditto
11733 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11734 * libc/stdio/local.h: declare __stextmode
17c0c97d 11735
f4393261
DD
117362000-05-18 DJ Delorie <dj@cygnus.com>
11737
11738 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
17c0c97d 11739
2b533fac
JJ
11740Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11741
11742 * libc/include/ctype.h: Changed tolower and toupper macros
11743 to use __extension__ to prevent pedantic warnings.
11744
75362a76
RK
11745Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11746
11747 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11748 structures.
11749
ec463fc7
JW
11750Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11751
11752 * libc/include/machine/ieeefp.h: Add ia64 support.
11753 * configure.host: Likewise.
11754
f35ceefa
JJ
11755Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11756
ba3ccd63
EB
11757 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11758 month is now padded with space, not zero. This now conforms to
f35ceefa
JJ
11759 ANSI standard.
11760
b96fca8c
CV
11761Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11762
ba3ccd63
EB
11763 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11764 host or network path") used by cygwin. Add some comments.
b96fca8c 11765
49d64538
JJ
11766Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11767
11768 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11769 endings" for Cygwin.
11770 (__sgetc): convert line endings if needed
11771 (__sputc): ditto
11772 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11773 * libc/stdio/fopen.c (_fopen_r): ditto
11774 * libc/stdio/freopen.c (freopen): ditto
11775 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11776 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11777
91fb1e7f
AO
11778Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11779
11780 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11781 post-increment when it is worth it, spacewise.
11782
c87be3e4
JJ
11783Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11784
11785 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11786 * libc/stdio/findfp.c (std): Added declaration of flags and file.
17c0c97d 11787 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
c87be3e4
JJ
11788 return type.
11789 * libc/stdio/putchar.c (putchar): Added return statement.
11790 * libc/stdio/refill.c (lflush): Added correct parentheses.
11791 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
17c0c97d 11792 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
c87be3e4
JJ
11793 prints long value to use l qualifier.
11794 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11795 messages and initialized local values: ilim, ilim1, and spec_case.
11796 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11797 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11798 * libc/stdlib/mprec.c: Ditto.
11799 * libc/stdlib/setenv_r.c: Ditto.
11800 * libc/stdlib/strtod.c: Ditto.
11801 * libc/stdlib/strtol.c: Ditto.
11802 * libc/stdlib/strtoul.c: Ditto.
11803 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11804 * libm/common/sf_log1p.c: Ditto.
11805 * libm/common/sf_scalbn.c: Ditto.
11806 * libm/math/ef_log.c: Ditto.
11807
11f5b065
CV
11808Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11809
ba3ccd63
EB
11810 * libc/posix/execvp.c (execvp): Check path for
11811 trailing slash.
11f5b065 11812
796e3b20
CV
11813Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11814
ba3ccd63
EB
11815 * libc/include/sys/unistd.h: Add prototypes for
11816 fchmod, fchown, lchown.
796e3b20 11817
b489803a
JJ
11818Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11819
11820 * acinclude.m4: Changed release to 1.8.2.
11821 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11822 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11823 libc/machine/configure libc/machine/a29k/aclocal.m4
11824 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11825 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11826 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11827 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11828 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11829 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11830 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11831 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11832 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11833 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11834 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11835 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11836 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11837 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11838 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11839 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11840 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11841 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11842 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11843 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11844 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11845 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11846 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11847 libc/machine/z8k/configure libc/sys/aclocal.m4
11848 libc/sys/aclocal.m4 libc/sys/configure
11849 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11850 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11851 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11852 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11853 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11854 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11855 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11856 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11857 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11858 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11859 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11860 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11861 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11862 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11863 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11864 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11865 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11866 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11867 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11868 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11869 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11870 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11871 libm/aclocal.m4 libm/configure: Regenerated.
11872
79908d67
NC
118732000-03-24 Nick Clifton <nickc@cygnus.com>
11874
11875 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11876 (do_AngelSWI): Add "cc" to list o registers clobbered.
11877
7684ddaf
FN
11878Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11879
11880 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
17c0c97d 11881 information to be clobbered by an Angel C library support syscall.
7684ddaf 11882
b8ec20c8
JJ
11883Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11884
11885 * libc/stdlib/envlock.c: Fixed comment typo.
11886
fae4c299
JJ
11887Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11888
11889 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
11890 code to update nread as each character is processed instead
11891 of using buffer contents which throw away leading zeroes.
11892
dc98804b
RK
11893Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
11894
ba3ccd63 11895 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
dc98804b 11896
5ed2f523
JJ
11897Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
11898
11899 * libc/include/string.h: Include <sys/types.h>.
11900
1cf0ee34
AO
11901Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11902
11903 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
11904 with XSH5, not SVID.
11905
e9c94978
JJ
11906Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11907
ba3ccd63 11908 * libc/include/string.h: Changed last argument back to ssize_t
17c0c97d 11909 to make it compatible with XPG4 definition which is
e9c94978
JJ
11910 defined in <unistd.h>. There is a conflict in the SVID 3
11911 and XPG4 definitions and newlib will settle with XPG4.
ba3ccd63 11912 * libc/string/swab.c: Ditto.
e9c94978 11913
3072163c
JJ
11914Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11915
ba3ccd63
EB
11916 * libc/include/string.h: Changed last argument to size_t.
11917 * libc/string/swab.c: Changed last argument to size_t.
3072163c 11918
f205ea7a
AO
11919Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11920
11921 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11922 (CHEWOUT_FILES): Added unlinkr.def.
11923 * libc/reent/Makefile.in: Rebuilt.
11924 * libc/sys.tex: Include unlinkr.def.
11925 * libc/reent/linkr.c (_unlink_r): Moved to...
11926 * libc/reent/unlinkr.c: ... new file.
11927
85dd2e5b
AO
11928Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11929
11930 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11931 (CHEWOUT_FILES): Added swab.def.
11932 * libc/string/Makefile.in: Rebuilt.
11933 * libc/string/string.tex: Include swab.def.
11934 * libc/include/string.h (swab): Declare.
11935 * libc/string/swab.c: New file.
11936
c5053058
AO
11937Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11938
11939 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
11940 (CHEWOUT_FILES): Added getw.def and putw.def.
11941 * libc/stdio/Makefile.in: Rebuilt.
11942 * libc/stdio/stdio.tex: Include getw.def and putw.def.
11943 * libc/stdio/getw.c: New file.
11944 * libc/stdio/putw.c: New file.
11945
dbaf37cf
JJ
11946Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11947
11948 * libc/stdio/flags.c (__sflags): Added check that mode[1]
11949 is non-null before looking at mode[2].
11950
bc019ef2
RK
11951Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11952
11953 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
11954 * libm/mathfp/sf_atan.c: Ditto.
11955
11956Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
11957
11958 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
11959
cd641b2d
RK
11960Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11961
11962 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
11963 _DOUBLE_IS_32BITS.
11964
b0ba0ac2
JJ
11965Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11966
11967 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
11968 call prior to calling _VFPRINTF_R so reentrant data area is set.
11969 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
11970
8a0efa53
CF
11971Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11972
11973 * libc/stdio/vfscanf.c (limits.h): #include.
11974 (MAX_LONG_LEN): #define.
11975 (__svfscanf): Handle floating point numbers with arbitrary amounts
11976 of leading zeroes.
11977
119782000-02-15 Nick Clifton <nickc@cygnus.com>
11979
11980 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
11981 zero. Set the blocksize to 1024/
11982
11983Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11984
11985 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
11986 with line buffering.
11987
11988Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11989
17c0c97d 11990 * acinclude.m4: Changed include directory for winsup headers.
8a0efa53
CF
11991 * aclocal.m4 configure libc/aclocal.m4
11992 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
11993 libc/locale/Makefile.in libc/machine/aclocal.m4
11994 libc/machine/configure libc/machine/a29k/aclocal.m4
11995 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11996 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11997 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11998 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11999 libc/machine/fr30/configure
12000 libc/machine/h8300/aclocal.m4
12001 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12002 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12003 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12004 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12005 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12006 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12007 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12008 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12009 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12010 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12011 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12012 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
17c0c97d 12013 libc/machine/powerpc/configure
8a0efa53
CF
12014 libc/machine/sh/aclocal.m4
12015 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12016 libc/machine/sparc/configure
12017 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12018 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12019 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12020 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12021 libc/misc/Makefile.in libc/posix/Makefile.in
17c0c97d 12022 libc/reent/Makefile.in
8a0efa53
CF
12023 libc/signal/Makefile.in
12024 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
12025 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12026 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
12027 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
12028 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
12029 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12030 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12031 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12032 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12033 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12034 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12035 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12036 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12037 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
12038 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
12039 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
12040 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
12041 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
12042 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
12043 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
12044 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
12045 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
12046 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
12047 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
12048 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
12049 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
12050 libm/configure: Regenerated.
12051
12052Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
12053
12054 * libc/stdlib/putenv_r.c (_putenv_r): New file.
12055 * libc/stdlib/strdup_r.c (_strdup_r): New file.
12056 * libc/include/string.h: Added _strdup_r.
17c0c97d 12057 * libc/stdlib/putenv.c: Added call to reentrant version.
8a0efa53
CF
12058 * libc/stdlib/strdup.c: Ditto.
12059 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
12060 * libc/include/stdlib.h: Ditto.
17c0c97d 12061 * libc/stdlib/Makefile.in: Regenerated.
8a0efa53
CF
12062 * libc/string/Makefile.in: Regenerated.
12063 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
12064 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
12065 management calls to reentrant versions.
12066 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
12067 * libc/stdlib/wctomb.c: Ditto.
12068 * libc/stdlib/mblen.c: Ditto.
12069 * libc/stdlib/mbstowcs.c: Ditto.
17c0c97d 12070 * libc/stdlib/mbtowc.c: Ditto.
8a0efa53
CF
12071 * libc/stdlib/getenv.c: Ditto.
12072 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
12073 and _strdup_r.
12074
12075Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
12076
12077 patch from Corinna Vinschen <corinna@vinschen.de>
12078 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
12079
bc019ef2 12080Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
12081
12082 * libm/mathfp/s_atangent.c: Fix exponent calculation.
12083 * libm/mathfp/s_ldexp.c: Ditto.
12084 * libm/mathfp/sf_atangent.c: Ditto.
12085 * libm/mathfp/sf_ldexp.c: Ditto.
12086
12087Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12088
12089 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
12090 * libc/include/locale.h: define NULL to be 0.
12091
12092Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
12093
12094 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
12095 function.
12096
12097Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
12098
12099 * libc/machine/mn10300/setjmp.S: Handle am33.
12100
121011999-11-26 Nick Clifton <nickc@cygnus.com>
12102
12103 * libc/sys/arm/syscalls.c: Add function prototypes.
12104 (stack_ptr): Move declaration before function definitions.
12105
12106Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12107
12108 * NEWS: Updated version information.
12109 * README: Ditto.
12110
12111Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
12112
12113 * libc/machine/i386/strchr.S: Fixed alignment test.
12114
12115Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
12116
12117 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
12118
12119Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
12120
12121 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
17c0c97d 12122 ensuring that there is space between the two.
8a0efa53
CF
12123
12124Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
12125
12126 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
12127 only.
12128
121291999-10-08 Vadim Egorov <egorovv@1c.ru>
12130
12131 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
12132 section
12133
12134Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12135
12136 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
12137 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
12138
12139Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
12140 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
12141 per POSIX 1003.1b.
12142 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
12143 per POSIX 1003.1b.
12144
121451999-09-13 DJ Delorie <dj@cygnus.com>
12146
12147 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
12148 also.
12149
12150Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12151
12152 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
12153 also note BUFSIZ as its size.
12154
12155Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
12156
12157 * configure.host: Corrected feature defines for RTEMS.
12158 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
12159 * libc/include/sys/stat.h: mkfifo() should take const path arg.
12160 * libc/include/sys/unistd.h: pathconf() should take const path arg.
12161 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
12162 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
12163 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
12164 _PC_PRIO_IO, and _PC_SYNC_IO.
12165 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
12166 * libc/machine/m68k/Makefile.in: Regenerated.
12167 * libc/machine/m68k/strcpy.c: New file.
12168 * libc/machine/m68k/strlen.c: New file.
12169 * libc/stdio/tmpnam.c: Always make the returned name usable.
12170 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
12171 * libc/sys/rtems/sys/dirent.h: New file.
12172 * libc/sys/rtems/sys/types.h: Added dev_t.
12173
12174Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
12175
12176 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
12177
12178Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
12179
12180 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
12181 my patch.
12182
12183Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
12184
12185 patch from Jeff Johnston <jjohnstn@cygnus.com>
12186 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
12187 buffer is not in a useful state.
12188
121891999-09-01 Nick Clifton <nickc@cygnus.com>
12190
12191 * libc/sys/arm/syscalls.c (_link): Add stub.
12192
12193Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12194
12195 * ftell.c (ftell): Use actual position within buffer for text mode.
12196 * findfp.c (std): Initialize ptr->_bf._size.
12197
12198Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
12199
12200 * libc/include/sys/unistd.h: Add nice() declaration.
12201
122021999-08-09 Nick Clifton <nickc@cygnus.com>
12203
12204 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
12205 declare as a thumb function so that the disassembler will see the
12206 mode change.
12207
12208Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12209
12210 * libc/reent/reent.tex: Updated list of reentrant functions.
12211
122121999-07-09 Michael Meissner <meissner@cygnus.com>
12213
12214 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
17c0c97d 12215
8a0efa53
CF
12216Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
12217
12218 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
12219 separate file.
12220 * libc/stdio/snprintf.c: New file.
12221 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
12222 separate file.
12223 * libc/stdio/vsnprintf.c: New file.
12224 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
12225 * libc/stdio/Makefile.in: Regenerated.
12226
12227Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
12228
12229 Patch submitted by Egor Duda <deo@logos-m.ru>:
12230 * libc/include/stdio.h: Add declarations for *nprintf.
12231 * libc/stdio/sprintf.c (snprintf): New function.
12232 (_snprintf_r): New function.
12233 * libc/stdio/vsprintf.c (vsnprintf): New function.
12234 (_vnsprintf_r): New function.
12235
12236Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12237
12238 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12239 * libm/Makefile.am (stmp-targetdep): Ditto.
12240 * libc/Makefile.in: Regenerated.
12241 * libm/Makefile.in: Ditto.
12242
12243Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12244
12245 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12246 * libm/Makefile.am (stmp-targetdep): Ditto.
12247 * libc/Makefile.in: Regenerated.
12248 * libm/Makefile.in: Ditto.
12249
12250Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12251
12252 * Makefile.am: Removed dependencies on all-recursive and added "."
12253 to the SUBDIRS list to prevent infinite recursion from occurring.
12254 Also removed any references to EXTRA_DATA.
12255 * libc/Makefile.am: Ditto.
12256 * libc/machine/Makefile.am: Ditto.
12257 * libc/machine/i386/Makefile.am: Ditto.
12258 * libm/Makefile.am: Ditto.
12259 * libc/sys/Makefile.am: Ditto.
12260 * Makefile.in: Regenerated.
12261 * aclocal.m4: Ditto.
12262 * configure: Ditto.
12263 * doc/Makefile.in: Ditto.
12264 * doc/aclocal.m4: Ditto.
12265 * doc/configure: Ditto.
12266 * libc/Makefile.in: Ditto.
12267 * libc/aclocal.m4: Ditto.
12268 * libc/configure: Ditto.
12269 * libc/machine/Makefile.in: Ditto.
12270 * libc/machine/aclocal.m4: Ditto.
12271 * libc/machine/configure: Ditto.
12272 * libc/machine/mn10300/Makefile.in: Ditto.
12273 * libc/machine/mn10300/aclocal.m4: Ditto.
12274 * libc/machine/mn10300/configure: Ditto.
12275 * libc/sys/Makefile.in: Ditto.
12276 * libc/sys/aclocal.m4: Ditto.
12277 * libc/sys/configure: Ditto.
12278 * libm/Makefile.in: Ditto.
12279 * libm/aclocal.m4: Ditto.
12280 * libm/configure: Ditto.
12281
12282Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12283
12284 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12285
12286Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12287
12288 * libc/include/stdlib.h: Add reentrant routines.
12289 * libc/stdlib/Makefile.am: Add reentrant routines.
12290 * libc/stdlib/Makefile.in: Ditto.
12291 * libc/stdlib/envlock.c: New file.
12292 * libc/stdlib/envlock.h: New file.
12293 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12294 * libc/stdlib/getenv_r.c: New file.
12295 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12296 * libc/stdlib/mblen_r.c: New file.
12297 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12298 * libc/stdlib/setenv_r.c: New file.
12299 * libc/stdlib/stdlib.tex: Add reentrant routines.
12300
12301Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12302
12303 * libc/include/sys/types.h: Define __MS_types__ whenever
12304 cygwin or win32.
12305
12306Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12307
12308 * libc/include/machine/ieeefp.h: Always default to little
12309 endian if Windows, regardless of architecture.
12310 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12311 regardless of architecture.
12312
12313Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12314
12315 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
12316 _WIN32 isn't defined.
12317
12318Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
12319
12320 * libm/common/s_rint.c (rint): Add volatile qualifier for
12321 intermediate value w.
12322 * libm/common/sf_rint.c (rintf): Ditto.
12323
12324Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12325
12326 * libc/sys/arm/syscalls.c (remap_handle): Added check to
12327 ensure that std streams are initialized before being referenced.
12328
123291999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
12330
12331 * README: Update reference to newlib@cygnus.com new
12332 newlib@sourceware.cygnus.com address.
12333
12334Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
12335
12336 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
12337 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
12338 defined, even if _WIN32 isn't defined.
12339
12340Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
12341
12342 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
12343
12344Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12345
12346 * libc/include/sys/reent.h: Change Long and ULong to __Long and
12347 __ULong.
12348 * libc/stdlib/dtoa.c: Ditto.
12349 * libc/stdlib/mprec.c: Ditto.
12350 * libc/stdlib/mprec.h: Ditto.
12351 * libc/stdlib/strtod.c: Ditto.
12352
123531999-04-21 Nick Clifton <nickc@cygnus.com>
12354
12355 * configure.host (mcore): Remove mcore machine directory.
12356
123571999-04-18 Nick Clifton <nickc@cygnus.com>
12358
12359 * libc/include/machine/ieeefp.h: Add support for mcore target.
12360 * libc/include/machine/setjmp.h: Add support for mcore target.
12361 * configure.host: Add support for mcore target.
12362
123631999-04-13 Mark Salter <msalter@cygnus.com>
12364
12365 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
12366 * libc/sys/arm/syscalls.c: Added isatty.
12367
12368Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12369
12370 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
12371 insert zeroes after significant digits.
12372
12373Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 12374
8a0efa53
CF
12375 * libc/stdio/vfprintf.c (cvt): Changed floating point
12376 cvt routine to use union used by dtoa to properly determine
12377 if the sign bit is on or not.
12378 * libc/stdio/vfieeefp.h: New file
17c0c97d 12379
8a0efa53
CF
12380Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12381
12382 * aclocal.m4: Regenerated.
12383 * configure: Regenerated.
12384
12385Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12386
12387 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
12388 f_tanf reference.
12389 * libc/machine/i386/Makefile.in: Regenerated.
12390
12391Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
12392
12393 * acinclude.m4: Changed to work with new automake.
12394 * configure: Regenerated.
12395 * libc/machine/i386/aclocal.m4: Regenerated.
12396 * libc/machine/i386/configure: Regenerated.
12397
12398Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
12399
12400 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
12401 for telldir() and seekdir(). Rename unused structure element
12402 for use with these two routines.
12403
12404Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
12405
12406 * libc/time/mktime.c (validate_structure): Multiple fixes to
12407 code to handle cases where input fields are outside valid ranges.
12408 * libc/stdlib/div.c (div): Modified invalid rounding check.
12409 * libc/stdlib/ldiv.c (ldiv): Ditto.
12410
12411Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
12412
12413 * libc/machine/i386/memcpy.S: Performance rewrite.
12414 * libc/machine/i386/memmove.S: Ditto.
12415 * libc/machine/i386/i386mach.h: Added more register definitions.
12416 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
12417 option used.
12418 * libc/include/machine/fastmath.h: Add definitions for x86
12419 fast-math routines.
12420
12421Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12422
12423 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
12424
12425Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
12426
12427 Adjust newlib headers for new Cygwin Win32 API header files:
12428 * libc/include/sys/time.h: Check _WINSOCK_H rather than
12429 _GNU_H_WINDOWS32_SOCKETS.
12430 * libc/include/sys/types.h: Ditto.
12431
12432Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12433
12434 *include/sys/reent.h: Add checks for size of Bigint element Long.
12435 *libc/dtoa.c: Change routines to use generic Long type.
12436 *libc/mprec.c: Change routines to use generic Long type.
12437 *libc/mprec.h: Change routines to use generic Long type.
12438
12439Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
12440
12441 * libc/Makefile.am: Add .def files.
12442 * libc/Makefile.in: Regenerate.
12443 * libc/e_acosh.c: Documentation update.
12444 * libc/e_atanh.c: Documentation update.
12445 * libc/e_hypot.c: Documentation update.
12446 * libc/e_remainder.c: Documentation update.
12447 * libc/er_lgamma.c: Documentation update.
12448 * libc/mathfp.tex: Documentation update.
12449 * libc/s_acos.c: Documentation update.
12450 * libc/s_atan.c: Documentation update.
12451 * libc/s_atan2.c: Documentation update.
12452 * libc/s_cosh.c: Documentation update.
12453 * libc/s_fmod.c: Documentation update.
12454 * libc/s_isnan.c: Documentation update.
12455 * libc/s_log10.c: Documentation update.
12456 * libc/s_pow.c: Documentation update.
12457 * libc/w_jn.c: Documentation update.
12458
12459Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
12460
12461 * aclocal.m4: Regenerate.
12462 * configure: Regenerate.
12463
12464Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
12465
ba3ccd63
EB
12466 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
12467 to return 1 if user specified return code is 0.
12468 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
8a0efa53
CF
12469
12470Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
12471
12472 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
12473 to save the return address. Fixed longjmp to return to the original
12474 calling address of setjmp and to return the user specified return code
12475 rather than default to 1.
12476 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
12477
12478Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
12479
12480 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
12481
124821999-02-10 Nick Clifton <nickc@cygnus.com>
12483
12484 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
12485 volatile so that its assignments will not be discarded.
12486
12487Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
12488
12489 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
12490 be __STRICT_ANSI__ which is generated by compiler.
12491 * libc/include/ctype.h: Ditto.
12492 * libc/include/math.h: Ditto.
12493 * libc/include/stdio.h: Ditto.
12494 * libc/include/stdlib.h: Ditto.
12495 * libc/include/string.h: Ditto.
12496 * libc/include/sys/signal.h: Ditto.
12497
124981999-02-08 Nick Clifton <nickc@cygnus.com>
12499
12500 * configure.host: Add support for StrongARM target.
12501
12502Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
12503
12504 * libc/string/strncpy.c (strncpy): Removed redundant code
12505 that was copying bytes if data unaligned.
12506
125071999-02-02 Brendan Kehoe <brendan@cygnus.com>
12508
12509 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
12510 mbstowcs.def, and wcstombs.def.
12511
12512Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
12513
12514 * libc/include/sys/errno.h: Add Cygwin errno.
12515 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
12516 is specified.
12517
125181999-01-29 Nick Clifton <nickc@cygnus.com>
12519
12520 * libc/sys/arm/syscalls.c: Move C library functions into seperate
12521 file.
17c0c97d 12522
8a0efa53
CF
12523 * libc/sys/arm/libcfunc.c: New file containing C library functions
12524 from syscalls.c
12525
12526 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
12527 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
12528
12529
125301999-01-27 Michael Meissner <meissner@cygnus.com>
12531
12532 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
12533 type, and cut size in half so that the jmp_buf array is guaranteed
12534 to be aligned on a 64-bit boundary.
12535
12536Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
12537
12538 * libc/string/strings.tex: Added information about
12539 strcasecmp and strncasecmp.
12540 * libc/stdlib/stdlib.tex: Added missing information
12541 about mblen, mbstowcs, and wcstombs.
12542 * libc/string/strchr.c: Changed how mask is built to use
12543 shift operators so register will be used instead of storage.
12544
125451999-01-22 DJ Delorie <dj@cygnus.com>
12546
12547 * libc/include/stdlib.h: don't use dllimport if we're building
12548 newlib, since it's inside cygwin.dll
12549
12550Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
12551
12552 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
12553 _ctype_ under cygwin.
12554
12555Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
12556
12557 * include/stdlib.h: Fix typo from previous checkin.
12558
12559Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
12560
12561 * include/ctype.h: Use __declspec(dllimport) method for exporting
12562 variable from cygwin DLL.
12563 * include/time.h: Ditto.
12564 * sys/errno.h: Ditto.
12565 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
12566 * libc/locale/locale.c: Use __declspec(dllexport) method for
12567 exporting variable from cygwin DLL.
12568
12569Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
12570
12571 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
12572 access of bogus pointer will result in SIGSEGV.
12573
125741999-01-07 Nick Clifton <nickc@cygnus.com>
12575
12576 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
12577 of an underscore prefix to function names.
12578
12579Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
12580
12581 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
12582 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
12583
125841998-12-31 Michael Meissner <meissner@cygnus.com>
12585
12586 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
12587 to `%' if not already defined.
12588
125891998-12-30 Michael Meissner <meissner@cygnus.com>
12590
12591 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
12592 arguments const char *, not char *.
12593 * libc/include/stdio.h (_tempnam_r): Ditto.
12594
12595 * libc/include/sys/reent.h (struct _reent): The _sig_func type
12596 points to a function taking an integer, not void.
12597
12598Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
12599
12600 * configure.host: Add a define for Cygwin builds.
12601 * libc/include/ctype.h: Don't use dll imported variables in newlib.
12602
12603Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
12604
12605 * libc/include/ctype.h: Define _ctype_ as dll imported variable
12606 for use with Cygwin.
12607 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
12608 dll imported variables for use with Cygwin.
12609 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
12610 as a dll imported variable for Cygwin.
12611
12612Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
12613
12614 * libc/include/sys/unistd.h: Add proto for getpass.
12615
12616Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
12617
12618 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12619 alphasort.
12620
12621Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12622
12623 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12624 not posix_path_list_p.
12625
126261998-12-15 Nick Clifton <nickc@cygnus.com>
12627
12628 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12629 a signed int.
12630
126311998-12-13 Nick Clifton <nickc@cygnus.com>
12632
12633 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12634
126351998-12-12 Nick Clifton <nickc@cygnus.com>
12636
12637 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12638 <msalter@cygnus.com>
12639 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12640 * libc/machine/fr30/Makefile.in: Regenerated.
12641
126421998-12-11 Nick Clifton <nickc@cygnus.com>
12643
12644 * configure.host: Remove use of libc/sys for FR30 port.
12645 * libc/sys/fr30: Remove directory (replaced by libgloss).
12646
126471998-12-10 Ken Raeburn <raeburn@cygnus.com>
12648
12649 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12650 * libc/string/strncat.c (ALIGNED): Ditto.
12651
12652Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12653
12654 * libc/include/sys/time.h: include sys/types.h
12655
12656Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12657
12658 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12659 comparison found when checking word at a time.
12660
126611998-12-04 Nick Clifton <nickc@cygnus.com>
12662
12663 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12664
126651998-12-03 Nick Clifton <nickc@cygnus.com>
12666
12667 * libc/sys/fr30/syscalls.c (_times): New function stub.
12668
12669Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12670
12671 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12672 with mach_add_setjmp flag which indicates if setjmp should
12673 be added to the machine directory objects.
12674 * acinclude.m4: Removed reference to mach_add_objs.
12675 * aclocal.m4: Regenerated.
12676 * Makefile.in: Regenerated.
12677 * configure: Regenerated.
12678 * libc/aclocal.m4: Regenerated.
12679 * libc/Makefile.in: Regenerated.
12680 * libc/configure: Regenerated.
12681 * libc/machine/aclocal.m4: Regenerated.
12682 * libc/machine/Makefile.in: Regenerated.
12683 * libc/machine/configure: Regenerated.
12684 * libc/machine/i386/aclocal.m4: Regenerated.
12685 * libc/machine/i386/Makefile.am: Altered to selectively add
12686 setjmp.S to the src files list.
12687 * libc/machine/i386/Makefile.in: Regenerated.
12688 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12689 * libc/machine/i386/configure: Regenerated.
12690
126911998-12-02 Nick Clifton <nickc@cygnus.com>
12692
12693 * libc/sys/fr30/crt0.s (_start): Fix function names.
12694
12695 * libc/machine/fr30: New directory
12696 * libc/machine/fr30/Makefile.am: New file.
12697 * libc/machine/fr30/Makefile.in: New generated file.
12698 * libc/machine/fr30/configure.in: New file.
12699 * libc/machine/fr30/configure: New generated file.
12700 * libc/machine/fr30/aclocal.m4: New generated file.
12701 * libc/sys/fr30/Makefile.am: New file.
12702 * libc/sys/fr30/Makefile.in: New generated file.
12703 * libc/sys/fr30/configure.in: New file.
12704 * libc/sys/fr30/configure: New generated file.
12705 * libc/sys/fr30/syscalls.c: New file.
12706
12707Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12708
12709 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12710
127111998-12-01 Ken Raeburn <raeburn@cygnus.com>
12712
12713 * libc/time/strftime.c (strftime): Also handle %y for years before
12714 1900.
12715
12716Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12717
12718 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12719 UNIX convention. Perform tolower on characters before comparing
12720 them rather than use toupper.
12721 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12722
12723Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
17c0c97d 12724
8a0efa53
CF
12725 * configure.host: Added using i386 machine directory
12726 for all x86 cross-compiler and configuring
12727 which added object files to use via new "mach_add_objs" variable.
12728 * configure: Regenerated.
12729 * libc/configure: Regenerated.
12730 * libc/Makefile.in: Regenerated.
12731 * libc/aclocal.m4: Regenerated.
12732 * libc/ctype/Makefile.in: Regenerated.
12733 * libc/errno/Makefile.in: Regenerated.
12734 * libc/locale/Makefile.in: Regenerated.
12735 * libc/machine/Makefile.in: Regenerated.
12736 * libc/machine/aclocal.m4: Regenerated.
12737 * libc/machine/configure: Regenerated.
12738 * libc/posix/Makefile.in: Regenerated.
12739 * libc/reent/Makefile.in: Regenerated.
12740 * libc/signal/Makefile.in: Regenerated.
12741 * libc/stdio/Makefile.in: Regenerated.
12742 * libc/stdlib/Makefile.in: Regenerated.
12743 * libc/string/Makefile.in: Regenerated.
12744 * libc/string/memmove.c: Optimized code to use memcpy
12745 logic when performing a non-destructive copy.
12746 * libc/string/strncmp.c: Altered code to allow building
12747 optimized for size or speed.
12748 * libc/syscalls/Makefile.in: Regenerated.
12749 * libc/time/Makefile.in: Regenerated.
12750 * libc/unix/Makefile.in: Regenerated.
12751 * libc/machine/i386/Makefile.am: Added new files and reference
12752 to "mach_add_objs" to indicate optional object files.
12753 * libc/machine/i386/Makefile.in: Regenerated.
12754 * libc/machine/i386/aclocal.m4: Regenerated.
12755 * libc/machine/i386/configure: Regenerated.
12756 * libc/machine/i386/memchr.S: New file that implements
12757 function in Intel assembler.
12758 * libc/machine/i386/memcmp.S: ditto.
12759 * libc/machine/i386/memcpy.S: ditto.
12760 * libc/machine/i386/memmove.S: ditto.
12761 * libc/machine/i386/memset.S: ditto.
12762 * libc/machine/i386/strchr.S: ditto.
12763 * libc/machine/i386/strlen.S: ditto.
12764 * libc/machine/i386/f_atan2.S: New file that implements
12765 fast version of math function to be used by compiler when
12766 --ffast_math compile option is used.
12767 * libc/machine/i386/f_atan2f.S: ditto.
12768 * libc/machine/i386/f_exp.c: ditto.
12769 * libc/machine/i386/f_expf.c: ditto.
12770 * libc/machine/i386/f_frexp.S: ditto.
12771 * libc/machine/i386/f_frexpf.S: ditto.
12772 * libc/machine/i386/f_ldexp.S: ditto.
12773 * libc/machine/i386/f_ldexpf.S: ditto.
12774 * libc/machine/i386/f_log.S: ditto.
12775 * libc/machine/i386/f_logf.S: ditto.
12776 * libc/machine/i386/f_log10.S: ditto.
12777 * libc/machine/i386/f_log10f.S: ditto.
12778 * libc/machine/i386/f_math.h: New file.
12779 * libc/machine/i386/f_pow.c: ditto.
12780 * libc/machine/i386/f_powf.S: ditto.
12781 * libc/machine/i386/f_tan.S: ditto.
12782 * libc/machine/i386/f_tan.S: ditto.
12783 * libc/machine/i386/i386mach.h: New file.
12784
12785Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12786
12787 patch from Mumit Khan <khan@xraylith.wisc.edu>
12788 * libc/include/stdio.h (tempnam): Add prototype.
12789 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12790 (tempnam): Adhere to prototype.
12791
12792Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12793
12794 * Makefile.am: Add default for AR_FLAGS.
12795 * Makefile.in: Regenerate.
12796
12797Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12798
12799 * libc/include/time.h: move __cplusplus wrapper after includes
12800 * libc/include/sys/time.h: ditto. If Cygwin, include
12801 sys/select.h.
12802 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12803
128041998-11-23 Ken Raeburn <raeburn@cygnus.com>
12805
12806 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12807
12808Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12809
12810 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12811 abnormnal end-of-crt0 marker.
12812
12813Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12814
12815 * libc/sys/fr30/crt0.s: New file/directory.
12816 * libc/include/machine/setjmp.h: Add FR30 target.
12817 * libc/include/machine/ieeefp.h: Add FR30 target.
12818 * configure.host: Add FR30 target.
12819
12820Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12821
ba3ccd63
EB
12822 * libm/math: Files that are duplicated in common directory removed.
12823 * libm/math/fdlibm.h: Removed.
12824 * libm/math/s_cbrt.c: Removed.
12825 * libm/math/s_copysign.c: Removed.
12826 * libm/math/s_expm1.c: Removed.
12827 * libm/math/s_finite.c: Removed.
12828 * libm/math/s_ilogb.c: Removed.
12829 * libm/math/s_infinity.c: Removed.
12830 * libm/math/s_lib_ver.c: Removed.
12831 * libm/math/s_log1p.c: Removed.
12832 * libm/math/s_logb.c: Removed.
12833 * libm/math/s_matherr.c: Removed.
12834 * libm/math/s_modf.c: Removed.
12835 * libm/math/s_nan.c: Removed.
12836 * libm/math/s_nextafter.c: Removed.
12837 * libm/math/s_rint.c: Removed.
12838 * libm/math/s_scalbn.c: Removed.
12839 * libm/math/sf_cbrt.c: Removed.
12840 * libm/math/sf_copysign.c: Removed.
12841 * libm/math/sf_expm1.c: Removed.
12842 * libm/math/sf_finite.c: Removed.
12843 * libm/math/sf_ilogb.c: Removed.
12844 * libm/math/sf_infinity.c: Removed.
12845 * libm/math/sf_log1p.c: Removed.
12846 * libm/math/sf_logb.c: Removed.
12847 * libm/math/sf_modf.c: Removed.
12848 * libm/math/sf_nan.c: Removed.
12849 * libm/math/sf_nextafter.c: Removed.
12850 * libm/math/sf_rint.c: Removed.
12851 * libm/math/sf_scalbn.c: Removed.
12852 * libm/math/Makefile.am: Removed references to deleted files (above).
12853 * libm/math/Makefile.in: Regenerated.
12854 * libm/Makefile.am: Added common directory to math.
12855 * libm/Makefile.in: Regenerated.
8a0efa53
CF
12856
12857Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12858
ba3ccd63
EB
12859 * libm/mathfp: Add non-ANSI functions.
12860 * libm/mathfp/e_acosh.c acosh(): New file.
12861 * libm/mathfp/e_atanh.c atanh(): New file.
12862 * libm/mathfp/e_hypot.c hypot(): New file.
12863 * libm/mathfp/e_j0.c j0(): New file.
12864 * libm/mathfp/e_j1.c j1(): New file.
12865 * libm/mathfp/e_remainder.c remainder(): New file.
12866 * libm/mathfp/e_scalb.c scalb(): New file.
12867 * libm/mathfp/ef_acosh.c acoshf(): New file.
12868 * libm/mathfp/ef_atanh.c atanhf(): New file.
12869 * libm/mathfp/ef_hypot.c hypotf(): New file.
12870 * libm/mathfp/ef_j0.c j0f(): New file.
12871 * libm/mathfp/ef_j1.c j1f(): New file.
12872 * libm/mathfp/ef_remainder.c remainderf(): New file.
12873 * libm/mathfp/ef_scalb.c scalbf(): New file.
12874 * libm/mathfp/er_gamma.c gamma_r: New file.
12875 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12876 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12877 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12878 * libm/mathfp/w_cabs.c cabs(): New file.
12879 * libm/mathfp/w_drem.c drem(): New file.
12880 * libm/mathfp/w_jn.c jn(): New file.
12881 * libm/mathfp/wf_cabs.c cabsf(): New file.
12882 * libm/mathfp/wf_drem.c dremf(): New file.
12883 * libm/mathfp/wf_jn.c jnf(): New file.
8a0efa53
CF
12884
12885Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
12886
12887 * libc/sys/cygwin32: remove directory and contents
12888 * libc/sys/cygwin: and add back, losing the "32".
12889 * configure.host: check for cygwin* instead of cygwin32.
12890 * acinclude.m4: ditto.
12891 * aclocal.m4: regenerate with aclocal
12892 * configure: regenerate with autoconf
12893
12894Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
12895
12896 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
12897 for length
12898
12899Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12900
12901 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
12902 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
12903 to make rand/srand, strtok, asctime, localtime, w_gamma,
12904 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
12905 time.h to bring in struct tm definition.
12906 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
12907 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
12908 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
12909 instead of static variable.
12910 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
12911 struct reent instead of static variable.
12912 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
12913 struct reent instead of static variable.
12914 * libm/math/Makefile.am: Removed s_signgam.o.
12915 * libm/math/Makefile.in: Regenerated.
12916 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12917 struct reent instead of global variable 'signgam'.
12918 * libm/math/w_lgamma.c (lgamma): Likewise.
12919 * libm/math/wf_gamma.c (gammaf): Likewise.
12920 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12921 * libm/math/s_signgam.c: Removed.
12922 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12923 to be const.
12924 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12925 to be const.
12926 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12927 libc/include/reent.h.
12928 * libc/reent/Makefile.in: Regenerated.
12929 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12930 to be const.
12931 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12932 'JIS_action_table' to be const.
12933 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12934
12935Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
12936
12937 * acinclude.m4: $with_target_subdir should default to '.'
12938 or confusion results when configuring in same directory as sources.
12939 * Regenerate all aclocal.m4 and configure files.
12940
12941Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
12942
12943 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
12944 can be set by defining MALLOC_ALIGNMENT=16. Also added support
12945 for platforms where sizeof(size_t) < sizeof(long) via
12946 SIZE_T_SMALLER_THAN_LONG macro.
17c0c97d 12947
8a0efa53
CF
12948Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
12949
12950 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
12951 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
12952 which sets _CLOCKS_PER_SEC_ for selected machines.
12953 * libc/include/machine/time.h: New file.
12954
12955Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12956
12957 * libc/syscalls/sysexecve.c: New file.
12958 * libc/syscalls/sysgettod.c: New file.
12959 * libc/syscalls/systimes.c: New file.
12960 * libc/syscalls/Makefile.am: Added new objects.
12961 * libc/syscalls/Makefile.in: Regenerated.
12962 * libc/include/_syslist.h (_execve): Moved define in file.
12963 * libc/include/reent.h: Added _execve_r declaration.
12964 * libc/Makefile.in: Regenerated.
12965 * libc/ctype/Makefile.in: Regenerated.
12966 * libc/errno/Makefile.in: Regenerated.
12967 * libc/locale/Makefile.in: Regenerated.
12968 * libc/machine/Makefile.in: Regenerated.
12969 * libc/misc/Makefile.in: Regenerated.
12970 * libc/posix/Makefile.in: Regenerated.
12971 * libc/reent/Makefile.in: Regenerated.
12972 * libc/reent/execr.c (_execve_r): Added _execve_r function.
12973 * libc/signal/Makefile.in: Regenerated.
12974 * libc/stdio/Makefile.in: Regenerated.
12975 * libc/time/Makefile.in: Regenerated.
12976 * libc/unix/Makefile.in: Regenerated.
12977 * libm/mathfp/Makefile.in: Regenerated.
12978
12979Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12980
12981 * libc/string/Makefile.in: Regenerated.
12982 * libc/string/memchr.c (memchr): Moved code to reduce object size.
12983 * libc/string/memcpy.c (memcpy): Ditto.
12984 * libc/string/memcmp.c (memcmp): Ditto.
12985 * libc/string/memset.c (memset): Ditto.
12986 * libc/string/strchr.c (strchr): Ditto.
12987 * libc/string/strcmp.c (strcmp): Ditto.
12988 * libc/string/strcpy.c (strcpy): Ditto.
12989 * libc/string/strlen.c (strlen): Ditto.
12990
12991Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12992
12993 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
12994 to generate aclocal.m4.
12995 * libm/Makefile.in: Regenerated.
12996 * libm/aclocal.m4: Regenerated.
12997 * libm/configure: Regenerated.
12998 * libm/math/Makefile.in: Regenerated.
12999 * libm/mathfp/Makefile.in: Regenerated.
13000
130011998-09-25 Mark Salter <msalter@cygnus.com>
13002
13003 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
13004 by adding leading and trailing underscores to symbol names.
13005
13006Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
13007
13008 * Makefile.in: Add default for AR_FLAGS.
13009
13010Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
13011
13012 patch from ian@airs.com (Ian Taylor):
13013 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
13014 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
13015 is needed for detecting the build machine. Required for
13016 cygwin native builds.
13017
13018 * Regenerate all aclocal.m4 and configure files.
13019
13020Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
13021
13022 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
13023 used to start with LC.
13024
13025Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13026
13027 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
13028 (longjmp): Likewise.
13029
13030Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13031
13032 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
13033 the test for small number of bytes.
13034
13035Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13036
13037 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
13038 math library that uses floating point algorithms instead of the old
13039 libm.
13040 * Makefile.in: Regenerate with automake version 1.3b.
13041 * configure: Rebuild.
13042 * libm/Makefile.in: Regenerate with automake version 1.3b.
13043 * libm/aclocal.m4: Regenerate.
13044 * libm/configure: Rebuild.
13045 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
13046 * libm/acinclude.m4: Define macros for configure.in.
13047 * libm/config.h.in: Generate.
13048 * libm/mathfp/Makefile.am: New file.
13049 * libm/mathfp/Makefile.in: Generate.
13050 * libm/mathfp/s_acos.c (acos): New file.
13051 * libm/mathfp/s_asin.c (asin): New file.
13052 * libm/mathfp/s_asine.c (asine): New file.
13053 * libm/mathfp/s_atan.c (atan): New file.
13054 * libm/mathfp/s_atan2.c (atan2): New file.
13055 * libm/mathfp/s_atangent.c (atangent): New file.
13056 * libm/mathfp/s_ceil.c (ceil): New file.
13057 * libm/mathfp/s_copysign.c (copysign): New file.
13058 * libm/mathfp/s_cos.c (cos): New file.
13059 * libm/mathfp/s_cosh.c (cosh): New file.
13060 * libm/mathfp/s_exp.c (exp): New file.
13061 * libm/mathfp/s_fabs.c (fabs): New file.
13062 * libm/mathfp/s_finite.c (finite): New file.
13063 * libm/mathfp/s_floor.c (floor): New file.
13064 * libm/mathfp/s_fmod.c (fmod): New file.
13065 * libm/mathfp/s_frexp.c (frexp): New file.
13066 * libm/mathfp/s_infconst.c: New file.
13067 * libm/mathfp/s_isinf (isinf).c: New file.
13068 * libm/mathfp/s_isnan.c (isnan): New file.
13069 * libm/mathfp/s_ispos.c (ispos): New file.
13070 * libm/mathfp/s_ldexp.c (ldexp): New file.
13071 * libm/mathfp/s_log.c (log): New file.
13072 * libm/mathfp/s_log10.c (log10): New file.
13073 * libm/mathfp/s_logarithm.c (logarithm): New file.
13074 * libm/mathfp/s_mathcnst.c: New file.
13075 * libm/mathfp/s_modf (modf).c: New file.
13076 * libm/mathfp/s_numtest.c (numtest): New file.
13077 * libm/mathfp/s_pow.c (pow): New file.
13078 * libm/mathfp/s_scalbn.c (scalbn): New file.
13079 * libm/mathfp/s_sin (sin).c: New file.
13080 * libm/mathfp/s_sine.c (sine): New file.
13081 * libm/mathfp/s_sineh.c (sineh): New file.
13082 * libm/mathfp/s_sinf.c (sinf): New file.
13083 * libm/mathfp/s_sinh.c (sinh): New file.
13084 * libm/mathfp/s_sqrt.c (sqrt): New file.
13085 * libm/mathfp/s_tan.c (tan): New file.
13086 * libm/mathfp/s_tanh.c (tanh): New file.
13087 * libm/mathfp/sf_acos.c (acosf): New file.
13088 * libm/mathfp/sf_asin.c (asinf): New file.
13089 * libm/mathfp/sf_asine.c (asinef): New file.
13090 * libm/mathfp/sf_atan.c (atanf): New file.
13091 * libm/mathfp/sf_atan2.c (atan2f): New file.
13092 * libm/mathfp/sf_atangent.c (atangent): New file.
13093 * libm/mathfp/sf_ceil.c (ceilf): New file.
13094 * libm/mathfp/sf_copysign.c (copysignf): New file.
13095 * libm/mathfp/sf_cos.c (cosf): New file.
13096 * libm/mathfp/sf_cosh.c (coshf): New file.
13097 * libm/mathfp/sf_exp.c (expf): New file.
13098 * libm/mathfp/sf_fabs.c (fabsf): New file.
13099 * libm/mathfp/sf_finite.c (finitef): New file.
13100 * libm/mathfp/sf_floor.c (floorf): New file.
13101 * libm/mathfp/sf_fmod.c (fmodf): New file.
13102 * libm/mathfp/sf_frexp.c (frexpf): New file.
13103 * libm/mathfp/sf_isinf.c (isinff): New file.
13104 * libm/mathfp/sf_isnan.c (isnanf): New file.
13105 * libm/mathfp/sf_ispos.c (isposf): New file.
13106 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
13107 * libm/mathfp/sf_log.c (logf): New file.
13108 * libm/mathfp/sf_log10.c (log10f): New file.
13109 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
13110 * libm/mathfp/sf_modf.c (modff): New file.
13111 * libm/mathfp/sf_numtest.c (numtestf): New file.
13112 * libm/mathfp/sf_pow.c (powf): New file.
13113 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
13114 * libm/mathfp/sf_sin.c (sinf): New file.
13115 * libm/mathfp/sf_sine.c (sinef): New file.
13116 * libm/mathfp/sf_sineh.c (sinehf): New file.
13117 * libm/mathfp/sf_sinh.c (sinhf): New file.
13118 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
13119 * libm/mathfp/sf_tan.c (tanf): New file.
13120 * libm/mathfp/sf_tanh.c (tanhf): New file.
13121 * libm/mathfp/zmath.h: New file.
13122
13123Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13124
13125 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
13126 exit if it has been overwritten by pre-fetching in delay slot.
13127
131281998-09-01 Michael Meissner <meissner@cygnus.com>
13129
13130 * Makefile.am (tooldir): Add in host_alias, so that multilib
13131 libraries are installed in the directory the compiler looks in.
13132 * Makefile.in: Regenerate.
13133
13134 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
13135
13136Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
13137
13138 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
13139 ahead of test for number of bytes being moved.
13140
13141Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
13142
13143 * libc/include/sys/unistd.h: Nothing special needed for
13144 _exit under cygwin.
13145
13146Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
13147
13148 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
17c0c97d 13149 conform to user label naming conventions.
8a0efa53
CF
13150
13151Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
13152
13153 * libc/sys/cygwin32/sys/utime.h: variable names in
13154 protos should start with two leading underscores
13155 * libc/include/string.h: ditto
13156 * libc/include/sys/signal.h: ditto
13157 * libc/include/sys/stat.h: ditto
13158 * libc/include/sys/time.h: ditto
13159 * libc/include/sys/unistd.h: ditto
13160 * libc/include/ctype.h: ditto
13161 * libc/include/stdlib.h: ditto
13162 * libc/include/sys/reent.h: struct _atexit function ptr takes a
13163 void, same with _sig_func.
13164
13165Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
13166
13167 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
13168 for MB_CAPABLE to reduce code size when newlib is not configured
13169 with --enable-newlib-mb.
13170 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
17c0c97d 13171 mbtowc_r.o to minimize size.
8a0efa53 13172 * libc/stdlib/Makefile.in: Rebuild.
17c0c97d 13173
8a0efa53
CF
13174Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
13175
13176 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
13177 to -DREENT.
13178 * libc/sys/sparc64/Makefile.in: Rebuild.
17c0c97d 13179
8a0efa53
CF
13180Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
13181
13182 * Makefile.am (MAKEOVERRIDES): Define.
13183 * Makefile.in: Rebuild.
13184
13185Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
13186
13187 * libc/sys/sparc64/sys/stat.h (stat): Add const.
13188
13189Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
13190
13191 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
13192 newlib_cflags when looking for targ-include.
13193 * */aclocal.m4, */configure: Rebuild.
13194
13195Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
13196
ba3ccd63
EB
13197 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
13198 to "_end".
8a0efa53
CF
13199
13200Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
13201
13202 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
13203 on SPARCs with little-endian data.
13204 * libc/include/machine/ieeefp.h: Ditto.
13205
13206Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
13207
13208 * acinclude.m4: Handle a relative srcdir correctly when setting
13209 newlib_cflags.
13210 * */aclocal.m4, */configure: Rebuild.
13211
13212Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
13213
13214 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
17c0c97d
EB
13215 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
13216 * libm/math/wrf_gamma.c (gammaf_r): ditto
13217 * libm/math/wr_lgamma.c (lgamma_r): ditto
13218 * libm/math/wr_gamma.c (gamma_r): ditto
13219 * libm/math/wf_sqrt.c (sqrtf): ditto
13220 * libm/math/wf_sinh.c (sinhf): ditto
13221 * libm/math/wf_scalb.c (scalbf): ditto
13222 * libm/math/wf_remainder.c (remainderf): ditto
13223 * libm/math/wf_pow.c (powf): ditto
13224 * libm/math/wf_log10.c (log10f): ditto
13225 * libm/math/wf_log.c (logf): ditto
13226 * libm/math/wf_lgamma.c (lgammaf): ditto
13227 * libm/math/wf_jn.c (jnf, ynf): ditto
13228 * libm/math/wf_j1.c (j1f, y1f): ditto
13229 * libm/math/wf_j0.c (j0f, y0f): ditto
13230 * libm/math/wf_hypot.c (hypotf): ditto
13231 * libm/math/wf_gamma.c (gammaf): ditto
13232 * libm/math/wf_fmod.c (fmodf): ditto
13233 * libm/math/wf_exp.c (expf): ditto
13234 * libm/math/wf_cosh.c (coshf): ditto
13235 * libm/math/wf_atanh.c (atanhf): ditto
13236 * libm/math/wf_atan2f.c (atan2f): ditto
13237 * libm/math/wf_asin.c (asinf): ditto
13238 * libm/math/wf_acosh.c (acoshf): ditto
13239 * libm/math/wf_acos.c (acosf): ditto
13240 * libm/math/w_sqrt.c (sqrt): ditto
13241 * libm/math/w_sinh.c (sinh): ditto
13242 * libm/math/w_scalb.c (scalb): ditto
13243 * libm/math/w_remainder.c (remainder): ditto
13244 * libm/math/w_pow.c (pow): ditto
13245 * libm/math/w_log10.c (log10): ditto
13246 * libm/math/w_log.c (log): ditto
13247 * libm/math/w_lgamma.c (lgamma): ditto
13248 * libm/math/w_jn.c (jn, yn): ditto
13249 * libm/math/w_j1.c (j1, y1): ditto
13250 * libm/math/w_j0.c (j0, y0): ditto
13251 * libm/math/w_hypot.c (hypot): ditto
13252 * libm/math/w_gamma.c (gamma): ditto
13253 * libm/math/w_fmod.c (fmod): ditto
13254 * libm/math/w_exp.c (exp): ditto
13255 * libm/math/w_cosh.c (cosh): ditto
13256 * libm/math/w_atanh.c (atanh): ditto
13257 * libm/math/w_atan2f.c (atan2): ditto
13258 * libm/math/w_asin.c (asin): ditto
13259 * libm/math/w_acosh.c (acosh): ditto
13260 * libm/math/w_acos.c (acos): ditto
8a0efa53
CF
13261
13262Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13263
13264 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13265 (fsrc): Add wf_cabs.c and wf_drem.c.
13266 * libm/math/Makefile.in: Rebuild.
13267
13268 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13269 unused directory variables. Remove duplicate CFLAGS.
13270 * Makefile.in: Rebuild.
13271
13272 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13273 with $(CC_FOR_BUILD).
13274 (makedoc.o): Likewise.
13275 * doc/Makefile.in: Rebuild.
13276
13277 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13278 force a definition of COMPILE.
13279 (libfoo_a_SOURCES): Define.
13280 * libc/sys/cygwin32/Makefile.in: Rebuild.
13281 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13282 force a definition of COMPILE.
13283 (libfoo_a_SOURCES): Define.
13284 * libc/sys/tic80/Makefile.in: Rebuild.
13285
13286Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13287
13288 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13289 flag.
13290
13291Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13292
13293 * Build using autoconf and automake. Added many Makefile.am and
13294 configure.in files, plus generated files. Old configure.in files
13295 and all old Makefile.in files completely replaced. Removed
13296 host/any. Added acinclude.m4 and configure.host.
13297
13298Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13299
13300 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13301 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13302
13303Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13304
13305 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13306 * libc/machine/sh/Makefile.in: Add rules for new files.
13307
13308Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13309
13310 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13311 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13312 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13313
13314Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
13315
13316 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
13317 code is ignored.
13318
13319Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
13320
13321 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
13322 internal static buffer when s is NULL, as prescribed by ANSI.
13323
133241998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
13325
13326 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
13327 removed.
13328 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
13329 libc/stdlib will be used for h8300hms.
17c0c97d 13330
8a0efa53
CF
13331Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13332
13333 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
13334 version that can be built either for speed or size.
13335 * libc/machine/mn10300/memset.S (_memset): ditto
13336 * libc/machine/mn10300/memchr.S (_memchr): ditto
13337 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
13338 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
13339 * libc/machine/mn10300/strchr.S (_strchr): ditto
13340 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
13341 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
13342 * libc/machine/mn10300/Makefile.in: Added entries for
17c0c97d 13343 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
8a0efa53
CF
13344 strcmp.o, strcpy.o, and strlen.o.
13345
13346Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
13347
13348 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
13349 been replaced with libgloss/mn10200.
13350
13351Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
13352
13353 * libc/string/strchr.c (strchr): Make s a constant pointer to
13354 avoid warning.
13355
13356Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
13357
13358 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
13359 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
13360 board SWIs instead of Demon board SWIs).
13361
13362Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
13363
13364 * libc/string/strncat.c (strncat): Make -Os act the same as
13365 PREFER_SIZE_OVER_SPEED being defined.
13366
13367Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
13368
13369 * libc/string/memchr.c (memchr): Make -Os act the same as
13370 PREFER_SIZE_OVER_SPEED being defined.
13371 * libc/string/memcmp.c (memcmp): Ditto.
13372 * libc/string/memcpy.c (memcpy): Ditto.
13373 * libc/string/memset.c (memset): Ditto.
13374 * libc/string/strcat.c (strcat): Ditto.
13375 * libc/string/strchr.c (strchr): Ditto.
13376 * libc/string/strcmp.c (strcmp): Ditto.
13377 * libc/string/strcpy.c (strcpy): Ditto.
13378 * libc/string/strlen.c (strlen): Ditto.
13379 * libc/string/strncat.c (strncat): Ditto.
13380 * libc/string/strncmp.c (strncmp): Ditto.
13381 * libc/string/strncpy.c (strncpy): Ditto.
13382
13383Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
13384
13385 * libc/include/sys/itimer.h: remove
13386 * libc/include/sys/time.h: itimer stuff should be here
13387
13388Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
13389
13390 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
13391 bit instead of comparing to 0 so -0.0 can be printed correctly.
13392
13393Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13394
13395 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
13396
13397Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
13398
13399 * libc/include/sys/unistd.h: fix sync() proto
13400 * libc/include/sys/fcntl.h: remove _close which is already
13401 defined in unistd.h.
13402 * libc/include/sys/time.h: add getitimer proto
13403
13404Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
13405
13406 * libc/string/strchr.c: convert arg to unsigned char
13407 * libc/include/stdlib.h: add protos for random, srandom
13408 * libc/include/sys/stat.h: add lstat proto
13409 * libc/include/sys/time.h: add setitimer proto
13410 * libc/include/sys/unistd.h: add readlink, symlink protos
13411 * libc/include/process.h: instead of including windows.h and using
13412 HANDLEs in sexec protos, just use void *s. Need to include
13413 sys/types.h.
13414
13415Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
13416
13417 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
13418
13419Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
13420
13421 * libc/include/process.h: add secure exec protos
13422
13423Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
13424
13425 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
13426 which are accessed as both doubles and integers.
13427 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
13428 * libc/stdlib/strtod.c (_strtod_r): Likewise.
13429 * libc/stdlib/mprec.h: Add "union double_union" and change
13430 word0/word1 macros to use it.
13431
13432Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
13433
13434 * libc/include/sys/signal.h: add __cplusplus wrapper
13435
13436Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
13437
13438 * libc/include/sys/utime.h: new generic file that gets replaced by
13439 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
13440 function.
13441 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
13442 * libc/include/time.h: remove duplicate utime proto
13443 * libc/include/utime.h: add comment
13444
13445Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
13446
13447 * libc/include/sys/time.h: Add missing include to
13448 allow use of _EXFUN. Remove times function that is
13449 already defined in times.h.
13450
13451Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
13452
13453 * libc/include/time.h: Fix typo in tzset.
13454
13455Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
13456
13457 * libc/include/sys/time.h: add missing Cygwin32 function protos
13458 * libc/include/sys/unistd.h: ditto
13459 * libc/include/time.h: ditto
13460
13461Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
13462
13463 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
13464 FIXME.
13465 * libc/include/sys/types.h: add a new __MS_types__ section
13466 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
13467 __BIT_TYPES_DEFINED__.
13468
13469Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
13470
13471 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
13472 since it overrides the one in libc/include/sys. Also, start
13473 including types.h.
13474
13475Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
13476
13477 * libm/math/Makefile.in: add s_signgam.o to obj list
13478
13479Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
13480
13481 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
13482
13483Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
13484
13485 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
13486 so don't use defines.
13487
13488Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
13489
13490 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
13491
13492Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
13493
13494 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
17c0c97d 13495 _current_locale as default locale.
8a0efa53
CF
13496
13497Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
13498
13499 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
17c0c97d 13500 insufficient space in a chunk.
8a0efa53
CF
13501
13502Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
13503
13504 * configure.in (links): Added check for --enable-newlib-mb configure
13505 option which defines the MB_CAPABLE macro.
13506 * libc/locale/locale.c (_setlocale_r): Added support for setting
13507 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
13508 defined.
13509 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
13510 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
13511 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
13512 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
13513 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
17c0c97d 13514 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
8a0efa53
CF
13515 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
13516 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
13517 * libc/stdlib/Makefile.in: Added new multibyte
13518 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
13519 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
13520 _mbstowcs_r(), and _wcstombs_r().
13521 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
13522 for JIS, SJIS, and EUC-JP characters.
13523 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
17c0c97d 13524 MB_CAPABLE defined.
8a0efa53
CF
13525 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
13526 MB_CAPABLE defined.
13527 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
13528 MB_CAPABLE defined.
13529 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
13530 if MB_CAPABLE defined.
13531 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
13532 if MB_CAPABLE defined.
13533 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
13534 to the format string processing when MB_CAPABLE.
13535 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
13536 call _mbtowc_r().
13537
13538Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
13539
13540 The following modifications are courtesy of Anthony Thompson,
13541 athompson@cambridge.arm.com:
13542 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
13543 boith RDI and RDP monitors.
13544 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
13545 RDI and RDP monitors.
13546
13547Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
13548
13549 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
13550 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
13551 (_swiopen): Fixed open flags to treat write with append as just append.
13552 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
13553 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
13554
13555Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13556
13557 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
13558 When needing to transfer an initial 2-byte-word, store as
13559 two single bytes.
13560
13561Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13562
13563 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
13564 __SH3E__ .
13565 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
13566 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
13567
13568Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
13569
13570 * configure.in (target_cflags): If --enable-target-optspace, use
13571 -Os to compile newlib rather than -O2. Default to using -Os for
13572 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
13573 used.
13574
13575Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
13576
ba3ccd63
EB
13577 * libc/include/machine/setjmp.h: change sigsetjmp and
13578 siglongjmp definitions to use an array instead of a struct
13579 for __CYGWIN32__
8a0efa53
CF
13580
13581Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
13582
13583 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
13584
13585Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
13586
13587 * libc/string/strxfrm.c: fix to get correct return value
13588
13589Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
13590
13591 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
13592 builds. Make mode change labels global so that they will be seen
13593 by the debugger.
13594
13595Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
13596
13597 * configure.in (links): Do not use ARM debiugging protocols for PE
13598 builds.
13599
13600 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
17c0c97d 13601 message.
8a0efa53
CF
13602
13603Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13604
13605 * libc/stdio/findfp.c (__sinit): Made stdout default to
13606 line buffered mode as defined by ANSI.
13607
13608Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
13609
13610 * libc/include/sys/itimer.h: New file.
13611
13612 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
13613
13614Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13615
13616 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
13617 failure.
13618
13619Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13620
13621 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13622 insns.
13623
13624Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13625
13626 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13627
13628Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13629
13630 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13631 support.
13632
13633 * libc/include/machine/setjmp.h: Add D30V support.
13634
13635 * configure.in (d30v-*): Add d30v machine directory.
13636
13637Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13638
13639 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13640 been replaced with libgloss/mn10300.
13641
13642Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13643
13644 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13645 it is no longer needed.
13646
13647Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13648
ba3ccd63 13649 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
8a0efa53
CF
13650
13651Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13652
13653 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
ba3ccd63 13654 the file when O_APPEND is set, wherever the EOF happens to be at
17c0c97d 13655 that time.
8a0efa53
CF
13656
13657Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
17c0c97d 13658
8a0efa53
CF
13659 patch from cgf@bbc.com (Christopher Faylor):
13660 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13661 convention of closing fp prior to attempting to open the file
13662 argument. This allows correct operation when reopening
13663 stdin/stdout/stderr. Replaces last freopen.c patch.
13664
13665Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13666
ba3ccd63
EB
13667 patch from cgf@bbc.com (Christopher Faylor):
13668 * libc/stdio/freopen.c: freopen was not preserving the fd
13669 of the stream being operated on. This confuses programs that
13670 expect that the handles for stdout and stderr will be 1 and 2.
8a0efa53
CF
13671
13672Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13673
13674 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13675
13676Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13677
13678 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13679
13680Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13681
13682 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13683 altered to not use a branch. Also added hint that last
13684 bclr in longjmp will likely result in branch.
17c0c97d 13685
8a0efa53
CF
13686
13687Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13688
ba3ccd63 13689 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
8a0efa53
CF
13690
13691Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13692
13693 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13694 v850 builds.
13695
17c0c97d 13696 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
8a0efa53
CF
13697
13698Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13699
13700 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13701 that loads FR14 to specify offset of 8 rather than 4
13702 so it loads from offset 96 (where setjmp stored it).
13703
13704Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13705
13706 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13707 latest version supplied by customer.
13708 * libc/machine/sh/memset.S (_memset): Ditto.
13709
13710Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13711
13712 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
17c0c97d 13713 PR14730).
8a0efa53
CF
13714
13715Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13716
ba3ccd63 13717 * libc/include/string.h: remove redefinition of ffs
8a0efa53
CF
13718
13719Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13720
ba3ccd63 13721 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
8a0efa53
CF
13722 defined
13723
13724Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13725
13726 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
17c0c97d
EB
13727 TI Libraries to link to libc.a
13728
8a0efa53
CF
13729Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13730
13731 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13732 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13733 * libc/include/sys/wait.h (_wait): Ditto.
13734 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13735 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13736
13737Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13738
13739 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13740 minded stabs so function name shows up when running the simulator
13741 with -t.
13742 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13743
13744Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13745
17c0c97d 13746 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
8a0efa53
CF
13747 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13748 Use R5 where we used to use R3.
17c0c97d 13749
8a0efa53
CF
13750Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13751
13752 * libc/stdlib/getopt.c (getopt): replaced __progname
13753 with nargv[0] to improve portability to imbedded systems.
13754
13755Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13756
13757 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13758 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13759 stdout file.
13760
13761Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13762
13763 * libc/stdio/tmpnam.c (worker): Generate a different file name
13764 each time.
13765
13766 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13767 fails, try an execlp for sh.
13768
13769 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13770 option for the winsup include directory.
13771
13772Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13773
13774 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13775 debugging interface from Tony.Thompson@arm.com.
17c0c97d 13776
8a0efa53
CF
13777 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13778 * libc/sys/arm/swi.h: ditto.
13779
13780Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13781
13782 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13783 DIR struct used for readdir hashes.
13784
13785Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13786
13787 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13788
13789Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13790
13791 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13792 integer targets.
13793
13794Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13795
13796 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13797 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13798 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13799 (__malloc_copy): Declare.
13800
13801Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13802
13803 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13804 <sys/config.h>.
13805 (POINTER_UINT): Define.
13806 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13807 (MALLOC_ALIGNMENT): Don't define if already defined.
13808 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13809 long.
13810
13811Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13812
13813 * libc/string/memset.c (memset): Fiddle with code so that the long
13814 value being stored is not a stack value. Unroll storing longs 4
13815 times.
13816
13817Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13818
13819 * Reduce code size for libm modules.
13820 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13821 and simply move code into sqrt.
13822 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13823 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13824 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13825 * libm/math/wr_gamma.c (gamma_r): Likewise.
13826 * libm/math/wf_sinh.c (sinfh): Likewise.
13827 * libm/math/w_sinh.c (sinh): Likewise.
13828 * libm/math/wf_scalb.c (scalbf): Likewise.
13829 * libm/math/w_scalb.c (scalb): Likewise.
13830 * libm/math/wf_remainder.c (remainderf): Likewise.
13831 * libm/math/w_remainder.c (remainder): Likewise.
13832 * libm/math/wf_pow.c (powf): Likewise.
13833 * libm/math/w_pow.c (pow): Likewise.
13834 * libm/math/wf_log10.c (log10f): Likewise.
13835 * libm/math/w_log10.c (log10): Likewise.
13836 * libm/math/wf_log.c (logf): Likewise.
13837 * libm/math/w_log.c (log): Likewise.
13838 * libm/math/w_lgamma.c (lgamma): Likewise.
13839 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13840 * libm/math/wf_jn.c (jnf): Likewise.
13841 * libm/math/w_jn.c (jn): Likewise.
13842 * libm/math/wf_j1.c (j1f): Likewise.
13843 * libm/math/w_j1.c (j1): Likewise.
13844 * libm/math/wf_j0.c (j0f): Likewise.
13845 * libm/math/w_j0.c (j0): Likewise.
13846 * libm/math/wf_hypot.c (hypotf): Likewise.
13847 * libm/math/w_hypot.c (hypot): Likewise.
13848 * libm/math/wf_gamma.c (gammaf): Likewise.
13849 * libm/math/w_gamma.c (gamma): Likewise.
13850 * libm/math/wf_fmod.c (fmodf): Likewise.
13851 * libm/math/w_fmod.c (fmod): Likewise.
13852 * libm/math/wf_exp.c (expf): Likewise.
13853 * libm/math/w_exp.c (exp): Likewise.
13854 * libm/math/wf_cosh.c (coshf): Likewise.
13855 * libm/math/w_cosh.c (cosh): Likewise.
13856 * libm/math/wf_atanh.c (atanhf): Likewise.
13857 * libm/math/w_atanh.c (atanh): Likewise.
13858 * libm/math/wf_atan2.c (atan2f): Likewise.
13859 * libm/math/w_atan2.c (atan2): Likewise.
13860 * libm/math/wf_asin.c (asinf): Likewise.
13861 * libm/math/w_asin.c (asin): Likewise.
13862 * libm/math/wf_acosh.c (acoshf): Likewise.
13863 * libm/math/w_acosh.c (acosh): Likewise.
13864 * libm/math/wf_acos.c (asocf): Likewise.
13865 * libm/math/w_acos.c (acos): Likewise.
13866 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13867 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13868 for embedded systems.
13869
13870Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13871
13872 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13873 Lea in case of a foreign sbrk.
13874
13875Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13876
13877 Incorporate Doug Lea's malloc:
13878 * libc/stdlib/mallocr.c: Completely replaced.
13879 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13880 (realloc): Remove.
13881 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
13882 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
13883 mallopt.
13884 (mallinfo, malloc_stats, mallopt): New functions.
13885 (_mstats_r): Just call _malloc_stats_r.
13886 * libc/stdlib/malign.c: New file.
13887 * libc/stdlib/mlock.c: New file.
13888 * libc/stdlib/msize.c: New file.
13889 * libc/stdlib/mtrim.c: New file.
13890 * libc/stdlib/realloc.c: New file.
13891 * libc/stdlib/valloc.c: New file.
13892 * libc/stdlib/malloc.h: Remove.
13893 * libc/stdlib/callocr.c: Remove.
13894 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
13895 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
13896 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
13897 reallocr.o, valloc.o, vallocr.o.
13898 (CHEWOUT_FILES): Add mlock.def, mstats.def.
13899 (MALLOC_CFLAGS): New variable.
13900 (mallocr.o): New target, build from mallocr.c.
13901 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
13902 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
13903 (msizer.o, malloptr.o): Likewise.
13904 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
13905 (valloc.o): New target.
13906 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
13907 * libc/include/malloc.h: Declare struct mallinfo, and new
13908 routines.
13909 * libc/include/stdlib.h (cfree): Correct declaration.
13910
13911Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
13912
13913 * libc/include/machine/setjmp.h: Add support for Thumb target.
13914
13915 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13916
13917 * configure.in (links): Add support for Thumb target.
13918
13919Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13920
13921 * libc/sys/arm/setjmp.S: Updated with version from branch.
13922
13923Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13924
13925 * libc/include/stdio.h: add POSIX-required define L_ctermid
13926 for ctermid
13927
13928Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13929
13930 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13931 addition to MISSING_SYSCALL_NAMES.
13932
13933Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13934
13935 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
13936
13937Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
13938
ba3ccd63
EB
13939 * libc/include/string.h: change strsignal proto to return
13940 a char *. This eliminates compile problems in gdb resulting
13941 from gdb's definition of strsignal in defs.h.
8a0efa53
CF
13942
13943Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
13944
ba3ccd63
EB
13945 * libc/sys/cygwin32/sys/utime.h: new (moved here from
13946 winsup/include) so as not to conflict with the one in
13947 libc/include.
8a0efa53
CF
13948 * libc/include/string.h: add protos for strsignal, strtosigno
13949
13950Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
13951
13952 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
13953
13954 * configure.in (d30v-*-*): Add configuration.
13955
13956Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
13957
13958 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
13959 to select which kind of debug monitor is in use for an ARM target.
13960
13961 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
13962 Angel and Demon debug monitors. Part of this code was supplied by
13963 Tony Thompson at ARM: athompso@arm.com.
13964
13965Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
13966
13967 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
13968 semantics when the count is greater than the length of the second
13969 source string.
13970
13971Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
13972
13973 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
13974 * libc/include/sys/unistd.h: add protos for usleep, truncate,
13975 truncate and ftruncate take off_t, not size_t
13976
13977Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
13978
13979 * libc/string/strcat.c (strcat): Add missing comment end.
13980 * libc/string/strncat.c (strncat): Likewise.
13981
13982Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
13983
13984 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
17c0c97d
EB
13985 targets.
13986 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
8a0efa53 13987 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
17c0c97d 13988 defined.
8a0efa53
CF
13989 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13990 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13991 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13992
13993Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
13994
13995 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
13996 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
13997
13998Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
13999
14000 * libc/machine/i386/setjmp.S: New file.
14001 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
14002 (OFILES): Add setjmp.o.
14003 (setjmp.o): Add rule for.
14004 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
14005
14006Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
14007 Jeffrey A Law (law@cygnus.com)
14008
14009 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
14010 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14011 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14012 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14013
14014Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
14015
14016 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
17c0c97d 14017 rules.
8a0efa53
CF
14018
14019 * libc/include/sys/config.h: Use __v850 to select v850
17c0c97d 14020 endianness.
8a0efa53
CF
14021
14022 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
14023 buffer size.
14024
14025 * libc/include/machine/ieeefp.h: Use __v850 to select v850
17c0c97d 14026 endianness.
8a0efa53
CF
14027
14028Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
14029
14030 * libc/stdlib/setenv.c: change unsetenv definition to match
14031 style of setenv (with _DEFUN). The string should be a const.
14032 * libc/include/stdlib.h: unsetenv proto should return void.
14033
14034Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
14035
14036 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
14037
14038Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
14039
14040 * libc/stdio/glue.h: remove.
14041 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
14042 * libc/stdio/Makefile.in: remove glue.h dependencies
14043
14044Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
14045
14046 * libc/sys/sysnecv850/crt0.S: Created V850e version.
17c0c97d 14047
8a0efa53
CF
14048Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
14049
14050 * configure.in (target_cpu): Add `arc'.
14051
14052Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
14053
17c0c97d 14054 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
8a0efa53
CF
14055 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
14056 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
14057 * newlib/libc/reent/reent.c: Add _wrapup_reent.
14058 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
14059
14060Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
14061
14062 * libc/machine/mips/setjmp.S: Handle mips16 builds.
14063
14064Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
14065
14066 * libc/include/stdio.h (siprintf): Declare.
14067
14068Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
14069
14070 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
14071 TARGET_CFLAGS and NEWLIB_FLAGS.
14072
14073Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14074
14075 * configure.in (links): Add support for v850ea target.
14076
14077Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14078
14079 * configure.in (links): Add support for v850e target.
14080
14081Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
14082
14083 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
14084
14085Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
14086
14087 * configure.in (arc-*-*): Add support for.
14088 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
14089
14090Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14091
14092 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
14093
14094Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
14095
14096 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
14097 comparison which accesses invalid memory when the key is
14098 larger than the last member of the array.
14099 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
14100 for CYGWIN32
14101 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
14102
14103Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
14104
14105 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
14106 not _STRICT_ANSI.
14107
14108Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
14109
14110 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
14111 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
14112
14113Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
14114
14115 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
14116 to load/store memory.
14117
14118Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
14119
14120 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
14121 underscores if _WIN32.
14122
14123Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
14124
14125 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
14126 support ifdef _USE_WRITE missed in last change.
14127 From Anders Blomdell <anders.blomdell@control.lth.se>.
14128
14129Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
14130
14131 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
14132 (_tmpnam_r, _tempnam_r): Update.
14133
14134Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
14135
14136 * libc/machine/sparc/setjmp.S: New file.
14137 * libc/machine/sparc/Makefile.in: Add setjmp.
14138 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
14139
14140Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
14141
14142 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
14143
14144Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
14145
14146 From Joel Sherrill <joel@oarcorp.com>.
14147 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
14148
14149 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
14150 * configure.in: Recognize *-*-rtems*.
14151 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
14152 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
14153 time.h,times.h,types.h}: New files.
14154 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
14155
14156Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
14157
14158 patch from sos@prospect.com.ru (Sergey Okhapkin):
ba3ccd63
EB
14159 * include/sys/wait.h: correct operator precidence bug
14160 in WIFSIGNALED
8a0efa53
CF
14161
14162Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
14163
14164 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
14165 with newlib's unsetenv function
14166 * libc/sys/cygwin32/sys: new directory for includes
14167 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
14168 here from winsup/include/sys
14169
14170Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
14171
14172 * libc/include/sys/unistd.h: _exit should only be
14173 labelled noreturn when not __CYGWIN32__
14174 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
14175 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
14176 increment NSIG
14177
14178Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
14179
14180 * libc/include/sys/time.h: Only define timeval and timezone if
14181 _GNU_H_WINDOWS32_SOCKETS is not defined.
14182 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
14183
14184Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
14185
14186 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
14187 * libc/machine/mn10300/setjmp.S: Likewise.
14188
14189 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
14190 the mn10300 (more relaxing opportunities).
14191
14192Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
14193
14194 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
14195 Build libraries with -mstrict-align.
14196
14197Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
14198
14199 * libc/string/strlwr.c: New file.
14200 * libc/string/strupr.c: New file.
14201 * libc/include/string.h: Declare strlwr and strupr.
14202 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
14203 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
14204 (strlwr.o, strupr.o): New targets.
14205 * libc/string/strings.tex: Include strlwr and strupr docs.
14206
14207 * libc/include/sys/types.h: Don't define u_char, et. al., if
14208 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
14209 et. al. Make FD_SETSIZE default 64 rather than 60. Define
14210 _types_fd_set rather than fd_set, and define fd_set as a macro.
14211
14212 * libc/include/malloc.h: New file.
14213
14214 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
14215 strnicmp if they are not already defined.
14216
14217 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
14218 _timezone, _daylight, and _tzname.
14219
14220Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
14221
14222 * configure.in: Sort all configuration tables.
14223
14224 From Joel Sherrill <joel@oarcorp.com>
14225 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
14226
14227Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
14228
14229 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
14230 use int when declaring kill.
14231
14232 * libc/include/sys/timeb.h: New file.
14233
14234Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14235
14236 * libc/include/sys/time.h: add itimer support for Cygwin32
14237
14238Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14239
14240 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14241 out a message that abort was called to stderr.
14242
14243Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14244
14245 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14246 so that libio doesn't freak.
14247
14248 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14249 int.
14250
14251 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14252 memory sizes, not int.
14253
14254Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14255
14256 * libm/math/ef_hypot.c: Use long constants where
17c0c97d 14257 appropriate.
8a0efa53
CF
14258 * libm/math/ef_sqrt.c: Ditto.
14259
14260 * libc/sys/sysmec/times.c(_times): Change to times.
14261
14262 * libc/sys/sysmec/read.c(_read): The third argument is
14263 size_t.
14264 * libc/sys/sysmec/write.c (_write): Ditto.
14265
14266 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14267 (_lseek): It's off_t for the second argument.
14268
14269Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14270
14271 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14272 as well as machine/ieeefp.h.
14273
14274Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14275
14276 * libc/include/sys/signal.h: add signal protos for winsup
14277 functions (when __CYGWIN32__), include types.h
14278 * libc/include/sys/types.h: Change __go32_types__ internal
14279 define to __MS_types__ since it's used for more than just
14280 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14281 defined.
14282 * libc/include/sys/unistd.h: add ftruncate proto for
14283 winsup functions (when __CYGWIN32__)
14284
14285Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14286
14287 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14288
14289Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14290
14291 * libc/include/machine/setjmp.h: Add tic80 support.
14292 * libc/machine/tic80/setjmp.S: Likewise.
14293
14294Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14295
ba3ccd63
EB
14296 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14297 link programs from libraries only (such as in the X11
14298 distribution)
8a0efa53
CF
14299
14300Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14301
14302 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14303 supplied elsewhere in newlib.
14304
14305Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14306
14307 * Makefile.in (INSTALL): Change install.sh to install-sh.
14308
14309Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14310
14311 * README: update WWW address for on-line documentation.
14312
14313Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14314
14315 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
14316 increment NSIG
14317
14318Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
14319
14320 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
14321 mn10300.
14322 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
14323
14324Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
14325
14326 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
14327 * libc/sys/d10v/syscalls.c: Likewise.
14328 * libc/sys/h8300hms/sbrk.c: Likewise.
14329 * libc/sys/h8500hms/syscalls.c: Likewise.
14330 * libc/sys/m88kbug/syscalls.c: Likewise.
14331 * libc/sys/sh/syscalls.c: Likewise.
14332 * libc/sys/sysmec/sbrk.c: Likewise.
14333 * libc/sys/sysnecv850/sbrk.c: Likewise.
14334 * libc/sys/w65/syscalls.c: Likewise.
14335 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
14336
14337Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
14338
14339 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
14340 emulated syscall instead of "trap".
14341
14342Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
14343
14344 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
14345 not trap 0.
14346
14347Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
14348
14349 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
14350
14351Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
14352
14353 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
14354 not "sh".
14355 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
14356 not "d10v".
14357 * libc/sys/tic80/crt0.c: New file for TIc80.
14358 * libc/sys/tic80/Makefile.in: New file for TIc80.
14359 * libc/machine/tic80/Makefile.in: New file for TIc80.
14360
14361Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
14362
14363 * libc/machine/sh/memcpy.S: New file.
14364 * libc/machine/sh/memset.S: New file.
14365 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
14366
14367Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
14368
14369 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
14370 for TIc80.
14371
14372Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
14373
14374 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
14375 the mn10200.
14376
14377Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
14378
14379 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
14380 (patch from andrew@pogo.WV.TEK.COM).
14381
14382Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
14383
14384 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
14385 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
14386
14387Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
14388
14389 * configure.in: Add cases for "tic80" to set machine_dir,
14390 sys_dir, and syscall_dir.
14391
14392Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
14393
14394 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
14395
14396Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
14397
14398 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
14399
14400Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
14401
14402 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
14403 Use proper constant prefix.
14404
14405Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
14406
14407 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
14408 that loses on the mn10200 where ints and pointers are different
14409 sizes.
14410
14411Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
14412
14413 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
14414 target as signal is provided in winsup.
14415
14416Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
14417
14418 * libc/include/sys/process.h: Corrected const definitions
14419 in spawn functions. Added cwait.
14420
14421Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
14422
14423 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
14424 doubles.
14425 * libc/include/sys/config.h: Similarly.
14426
14427Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14428
14429 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
14430 target_cflags.
14431 (i[3456]86-*-sco*): Ditto.
14432
14433 * libc/signal/Makefile.in (OFILES): Add signal.o.
14434 (CFILES): Add signal.c.
14435
14436 * libc/signal/raise.c (_raise_r): Only compile code if
14437 SIGNAL_PROVIDED is defined.
14438
14439 * libc/signal/signal.c: Redo whole file so that it works with
14440 current newlib. Use _kill_r if no signal handler provided.
14441
14442 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
14443 signal stubs.
14444 * libc/sys/sysvnecv70/Makefile.in: Ditto.
14445 * libc/sys/sysnecv850/Makefile.in: Ditto.
14446
14447 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
14448 * libc/sys/sysmec/{raise,signal}.c: Ditto.
14449 * libc/sys/sysvnecv70/signal.s: Ditto.
14450 * libc/sys/sysnecv850/raise.c: Ditto.
14451
14452 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
14453 simulator and debugger can tell the difference between a signal
14454 being raised and an exit system call.
14455
14456 * NEWS: Document software signals being provided.
14457
14458Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14459
14460 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
14461 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
14462 include/sys/config.h.
14463 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
14464 Change from 'inpure_data'.
14465 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
14466 &impure_data, not &inpure_data.
14467
14468 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
14469 and and System V ABI, define so that _impure_ptr lives in the
14470 .sdata section.
14471
14472Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14473
14474 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
14475 nothing if not defined.
14476 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
14477 its attributes.
14478
17c0c97d 14479 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
8a0efa53
CF
14480
14481Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
14482
14483 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
14484 * libc/sys/sysmec/trap.s: Handle mn10200 too.
14485 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
14486
14487Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
14488
14489 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
14490
14491Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
14492
ba3ccd63 14493 * libc/include/sys/errno.h: Added net errno's.
8a0efa53
CF
14494
14495Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14496
14497 * libc/misc/ffs.c: New file to support ffs function for GCC test
14498 gcc.c-torture/execute/960909-1.c.
14499
14500 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
14501
14502Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
14503
14504 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
14505 * libc/sys/sysmec/trap.S: Likewise.
14506
14507Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
14508
14509 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
14510 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
14511
14512Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
14513
14514 * libc/sys/sysmec/signal.c: Dummy file.
14515 * libc/sys/sysmec/Makefile.in: Build it.
14516
14517Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
14518
14519 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
14520 mips16.
14521
14522Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
14523
14524 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
14525 c-startup and simulator traps.
14526
14527
14528 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
14529 * libc/sys/sysmec/trap0.S: Likewise.
14530
14531Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14532
14533 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
14534 round to double word alignment.
14535 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
14536 byte alignment.
14537
14538 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
14539
14540 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
14541 out of memory.
14542
14543Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
14544
14545 * configure.in: Handle mn10200 and mn10300.
14546 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
14547 * libc/include/sys/config.h: Likewise.
14548 * libc/sys/sysmec: New directory for mec stuff.
14549 * libc/machine/mn10300: New directory for mn10300 stuff.
14550 * libc/machine/mn10200: Similarly for mn10200 stuff.
14551
14552Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
14553
14554 * libc/sys/arm/crt0.S: Use .text, not .section .text.
14555 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
14556
14557 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
14558 (nlink_t): Change type from unsigned int to unsigned short.
14559 (mode_t): Ensure size is 32 bits even if int is 16.
14560 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
14561 (st_spare[123]): Change type from int to long.
14562
14563Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14564
14565 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
14566 byte boundary.
14567
14568 * configure.in (d10v*): Define SMALL_MEMORY.
14569
14570Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14571
14572 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
14573 -mrelocatable-lib and -mno-eabi flags.
14574
14575Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
14576
14577 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
14578 Fix handling of mis-aligned source operand when both the
14579 destination & length are properly aligned.
17c0c97d 14580
8a0efa53
CF
14581Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
14582
14583 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
14584 times.o, time.o and gettime.o
14585 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
14586 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
14587 SYS_gettimeofday.
14588
14589Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
14590
14591 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
14592 * libc/sys/sysnecv850/access.c: New file.
14593
14594Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
14595
14596 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
14597
14598 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
14599 long.
14600
14601Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
14602
14603 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
14604
14605Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
14606
14607 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
14608 * libc/include/sys/config.h: Add m32r support.
14609
14610Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
14611
14612 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
14613 here.
14614
14615Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
14616
14617 * libc/include/machine/setjmp.h: Add D10v support.
14618
14619Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14620
14621 * configure.in: Configure the "libc/syscalls" directory for
14622 the v850.
14623
14624 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14625 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14626 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14627 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14628 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14629
14630Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14631
14632 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14633 stack for args for main and other routines. Zero out args for
14634 main.
14635
14636 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14637 correctly.
14638
14639Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14640
14641 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14642 function.
14643
14644 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14645
14646 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14647 real system calls now.
14648
14649 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14650 before casting them to int.
14651 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14652
14653 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14654 aligning pointer.
14655 * libc/string/memset.c (memset): Ditto.
17c0c97d 14656
8a0efa53
CF
14657 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14658 first convert ints to _POINTER_INT to eliminate GCC warning.
14659
14660 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14661 processing %p.
14662
14663 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14664 from 65000 if ints are only 16 bits.
14665
14666 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14667 from 50000 if ints are only 16 bits.
14668
14669 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14670 int type that is the same size as a pointer.
14671
14672 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14673 processing %p.
14674 (get_number): Explicitly cast number to long before shifting by 16
14675 or 24, in case ints are short.
14676
14677 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14678
14679Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14680
14681 * libc/string.h: Added ffs, removed swab.
14682 * libc/sys/errno.h: Added EOPNOTSUPP.
14683 * libc/sys/unistd.h: Added swab.
14684
14685Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14686
14687 * libc/include/sys/stat.h: Added fchmod.
14688 * libc/include/sys/unistd.h: Added fsync.
14689
14690Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14691
14692 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14693 and ECONNRESET (104) for cygwin32.
14694
14695Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14696
ba3ccd63
EB
14697 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14698 do the static destructors.
17c0c97d 14699
8a0efa53
CF
14700Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14701
14702 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14703
14704Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14705
14706 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14707 * configure.in: Recognize m32r-*-*.
14708
14709Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14710
14711 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
17c0c97d
EB
14712 __rt_stkovf_split_small): Added default software stack overflow
14713 handlers, which just call SWI_Exit.
8a0efa53 14714 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
17c0c97d 14715 limit initialisation.
8a0efa53
CF
14716
14717Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14718
14719 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14720
14721Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14722
14723 * libc/include/sys/types.h: Added ssize_t definition.
17c0c97d 14724
8a0efa53
CF
14725Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14726
14727 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14728 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14729
14730 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14731 branch around a single ldi instruction.
14732
14733 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14734 Call exit, instead of just issuing a stop instruction.
14735
14736Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14737
14738 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14739
14740Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14741
14742 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14743 longs, and then cast them to __uint32_t.
14744
14745 * libc/include/sys/config.h: Protect against multiple inclusions.
14746
14747Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14748
14749 * configure.in (d10v*): Set syscall_dir.
14750
14751Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14752
14753 * libc/sys/d10v/crt0.S: Set stack pointer.
14754
14755Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14756
14757 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14758 in assembly for efficiency. Change calling convention to allow
14759 long ints to be returned.
14760
14761Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14762
14763 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14764
14765Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14766
14767 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14768 Handle empty entries in $PATH.
14769
14770Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14771
14772 * libc/machine/d10v/setjmp.S: Make it really work.
14773
14774Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14775
14776 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14777 the .stack section.
14778
14779Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14780
14781 * sys/sysnecv850/sys/file.h: Remove.
14782 * sys/sysnecv850/sys/syscall.h: New file.
14783 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14784 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14785 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14786 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14787 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14788 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14789 * sys/sysnec850/trap.S: New file.
14790 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14791 syscalls.
14792 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14793 * sys/sysnec850/sbrk.c: New version.
14794
14795Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14796
14797 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14798 as long as r6 is less than r7.
14799
14800Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14801
14802 * Makefile.in (mostlyclean): Separate from clean target. Don't
14803 remove *.a or targ-include.
14804 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14805
14806Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14807
14808 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14809 d10v.
14810 (__SMALL_BITFIELDS): Ditto.
14811
14812 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14813
14814Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14815
14816 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14817 prefix.
14818
14819 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14820 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14821 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14822 * libc/sys/sysnecv850/write.c (write): Likewise.
14823
14824 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14825 .bss.
14826
14827Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14828
14829 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14830 appropriately for D10V, depending on -mint16/-mint32.
14831
14832Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14833
14834 * configure.in: Add cases for D10V.
14835
14836Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14837
14838 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14839
14840Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14841
14842 * libc/include/machine/ieeefp.h: Fix typo.
14843
14844Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14845
14846 * libc/sys/d10v: New directory for D10V stuff.
14847 * libc/include/machine/ieeefp.h: Add D10V defines.
14848
14849Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14850
14851 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14852 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14853 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14854 * libc/string/strerror.c (strerror): Add them.
14855
14856Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14857
14858 * libc/sys/sysnecv850: New directory for v850 stuff.
14859
14860 * libc/machine/v850: New directory for v850 stuff.
14861 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14862
14863 * configure.in: Add support for the v850.
14864
14865 * libc/include/machine/ieeefp.h: Add v850 defines.
14866 * libc/include/machine/setjmp.h: Likewise.
14867 * libc/include/sys/config.h: Add v850 defines.
14868
14869Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14870
14871 * libc/include/machine/ieeefp.h
14872 * libc/include/machine/setjmp.h
14873 * libc/include/sys/fcntl.h
14874 * libc/include/sys/signal.h
14875 * libc/include/sys/types.h
14876 * libc/stdlib/system.c:
14877 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14878 API availability, __CYGWIN32__ for cygwin32 environment specific).
14879
14880Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14881
ba3ccd63
EB
14882 * libc/include/stdlib.h: add multibyte character functions. Add
14883 __eprintf for assert.
8a0efa53
CF
14884
14885Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14886
14887 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
14888 arithmetic or __alignof__ to properly get the alignment, instead
14889 of hardwiring it to 4.
14890
14891Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
14892
14893 * libc/stdio/fseek.c: add fflush call to adjust seek offset
14894 on append stream (fix from NetBSD sources), adjust curoff offset
14895 for ungetc's benefit.
14896 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
14897 * libc/stdio/rewind.c: replace code with up to date NetBSD
14898 code to undo hacks made to work around above problem of not
14899 having fflush call mentioned above
14900
14901Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14902
14903 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
17c0c97d
EB
14904 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
14905 Partially revert last changes. The thread specific errno is set
14906 iff if the underlying syscall fails and the global errno is not
14907 zero.
8a0efa53
CF
14908
14909Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14910
14911 * libc/reent/filer.c: Removed files, all functions have split out
17c0c97d
EB
14912 into their own files.
14913 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
8a0efa53
CF
14914 New files containing functions formally in filer.c
14915 * libc/reent/Makefile.in: Updated for above change.
14916
14917 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
17c0c97d
EB
14918 syscall fails, not if errno is changed.
14919 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
8a0efa53
CF
14920 _write_r): Likewise.
14921 * libc/reent/fstatr.c (_fstat_r): Likewise.
14922 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14923 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14924 * libc/reent/signalr.c (_kill_r): Likewise.
14925 * libc/reent/statr.c (_stat_r): Likewise.
14926 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14927
14928 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
17c0c97d 14929 signalr.c, statr.c, timer.c} (errno): declare extern rather
8a0efa53
CF
14930 than as a common.
14931
14932 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
17c0c97d
EB
14933 instead of calling vfprintf so that i*printf will not require
14934 floating point support code.
14935
8a0efa53
CF
14936Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
14937
14938 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
14939 path delimiter.
14940 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
14941 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
14942
14943Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
14944
14945 * libc/include/signal.h: _sig_func_ptr function takes an int
14946 * libc/include/sys/signal.h: sa_handler function takes an int
14947
14948Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
14949
14950 * libc/include/machine/ieeefp.h: Simplify H8/S support.
14951 * libc/include/sys/config.h: Add missing H8/S conditional.
14952
14953Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
14954
14955 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
14956
14957Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
14958
14959 * libc/include/machine/setjmp.h: Handle H8/S.
14960 * libc/include/machine/ieeefp.h: Likewise.
14961 * libc/include/sys/config.h: Likewise.
14962 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
14963 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
14964 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
14965 * libc/sys/h8300hms/crt0.S: Likewise.
14966
14967Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
14968
ba3ccd63 14969 * Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 14970 (oldincludedir, docdir): Removed.
ba3ccd63 14971 * doc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 14972 (oldincludedir, docdir): Removed.
ba3ccd63 14973 * libc/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53 14974 (oldincludedir, docdir): Removed.
ba3ccd63 14975 * libm/Makefile.in (datadir): Set to $(prefix)/share.
8a0efa53
CF
14976 (oldincludedir, docdir): Removed.
14977
14978Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
14979
14980 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
14981 _reent struct.
14982
14983Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
14984
14985 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
14986 fetch current path rules with sysconf and handler posix/win32
14987 appropriately.
14988
14989 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
14990
14991 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
14992 (WAIT_CHILD): Always define.
14993
14994Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
14995
14996 * libc/stdlib/eprintf.c: New file.
14997 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
14998 (eprintf.o): New target.
14999
15000Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
15001
15002 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
15003 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
15004
15005Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
15006
15007 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
15008 NT in PowerPC endianess cases.
15009
15010Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15011
15012 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
15013
15014Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15015
15016 * libc/string/strtok.c: Fix doc typo.
15017
15018Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15019
15020 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
17c0c97d 15021 _next, _scanpoint, _signgam fields.
8a0efa53
CF
15022
15023 * libc/include/stdlib.h (rand_r): Added new declaration.
15024 (_rand_r, _srand_r): Removed declarations.
15025 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
17c0c97d 15026 have been made obsolete by rand_r.
8a0efa53 15027 * libc/stdlib/rand_r.c: New file, rand_r function as specified
17c0c97d
EB
15028 by POSIX.1c.
15029
8a0efa53 15030 * libc/string/strtok.c: Update documentation to describe
17c0c97d 15031 strtok_r().
8a0efa53
CF
15032
15033Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
15034
15035 * libc/include/sys/stat.h (stat structure): Use the expanded stat
15036 structure on Solaris, and PowerPC systems even though __svr4__ is
15037 defined.
15038
15039Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
15040
15041 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
15042
15043Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
15044
15045 * host/any: Use ../.. rather than .. to get to the main build
17c0c97d
EB
15046 directory. This matches the current layout of the build
15047 directory.
8a0efa53
CF
15048
15049Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
15050
15051 * libc/machine/h8300/__main.S: Delete. No longer needed.
15052 * libc/machine/h8300/Makefile.in: Corresponding changes.
15053 * libc/sys/h8300hms/crt1.c: New file.
15054 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
15055 * libc/sys/h8300hms/crt0.s: Call __main.
15056
15057 * libc/sys/h8300hms/crt0.S: Use temporary label names
15058 for branch targets.
15059
15060Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
15061
15062 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
15063
15064Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15065
15066 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
15067 .sdata on the PowerPC so that we can link newlib with code
15068 compiled with -msdata.
15069
15070Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
15071
15072 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
15073
15074Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
15075
15076 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
15077 exception handler to __cygwin_exception_handler.
15078
15079Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
15080
15081 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
15082
15083Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
15084
15085 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
15086 SunOS VPATH.
15087 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
15088 wcstombs.o): Likewise.
15089
15090Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
15091
15092 * libc/stdlib/environ.c (initial_env): New static local.
15093 (environ): Point to `initial_env'.
15094
15095 * libc/include/machine/setjmp.h: Clean up.
15096 (__H8300H__,__PPC__): Define _JBTYPE.
15097 (__arm__): Provide entry for.
15098 (sigjmp_buf): Delete.
15099 (jmp_buf): Use _JBTYPE if defined, otherwise int.
15100
15101Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
15102
15103 * libc/machine/h8300/strcmp.S: Sign extend the result to
15104 32bits so we don't lose with -mint32.
15105
15106Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
15107
15108 * libc/sys/go32/sys/errno.h: New file.
15109 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
15110 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
15111 errno's address (make compatible with rest of newlib).
15112 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
15113 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
15114
15115Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
15116
15117 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
15118 * libc/machine/sparc/Makefile.in: Build them.
15119 * libc/machine/sparc/machine/sparclet.h: New file.
15120
15121Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15122
15123 * libc/machine/sh/asm.h: New file.
15124 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
17c0c97d 15125 support for SH3e's FP registers. Use asm.h.
8a0efa53
CF
15126
15127Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
15128
15129 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
15130 as first argument. Call _dtoa_r and pass the reent structure
15131 instead of calling __dtoa.
15132
15133Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
15134
15135 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
15136 the h8300, h8500, and others. Add comments for some rather
15137 dubious code.
15138
15139Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
15140
15141 * Makefile.in (check): Check that testsuite exists before cd.
15142
15143Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15144
15145 * libc/include/string.h (strsep): Correct prototype.
15146
15147Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
15148
15149 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
15150 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
15151 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
15152
15153Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
15154
15155 * libc/posix/{creat.c,isatty.c}: New files.
15156 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
15157
15158 * libc/sys/sparc64/crt0.S (environ): Delete.
15159 (.LHaveBias): Renamed from HaveBias.
15160
15161Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
15162
15163 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
15164 (_morecore_r): Delete SBRK_IS_ALLOC support.
15165
15166Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15167
15168 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
15169 module rather than touch, so we don't get warning messages when
15170 all of the libraries are combined into libc.a.
15171
15172Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
15173
15174 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
15175 crt0.s replaced by version in libgloss.
15176
15177Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15178
15179 * libc/reent/Makefile.in (OFILES): Add impure.o.
15180 * libc/reent/impure.o: New file, define initial reentrancy struct.
15181 * libc/reent/reent.c: Remove above definition.
15182
15183 * libm/math/sf_asinh.c: Fix typo.
15184
15185 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
17c0c97d
EB
15186 srf_ldexp.o.
15187
8a0efa53
CF
15188 * libm/libm.texinfo: Change documentation to reflect changes
15189 in reentrancy model.
15190 * libm/math/w_gamma.c: Likewise.
15191
15192Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
15193
15194 * configure.in (*-*-cygwin32): New.
15195 (*-*-win32): Deleted.
15196 * libc/sys/win32 renamed libc/sys/cygwin32.
15197
15198Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15199
15200 * libc/include/sys/file.h: New include file.
15201
15202Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
15203
15204 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
15205
15206Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
15207
15208 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
15209
15210Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15211
15212 * doc/makedoc.c (realloc): Declare at file scope.
15213 (catchar): Not here.
15214
15215Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
15216
15217 * Makefile.in (VERSION): Update to 1.7.0.
15218 * {libc,libm}/Makefile.in (VERSION): Likewise.
15219 * configure.in: Minor clean up of multilib stuff.
15220
15221 From David Johnson <davidj@ICSI.Berkeley.EDU>
15222 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
15223
15224 * libc/stdlib/environ.c: New file.
15225 * libc/stdlib/Makefile.in (OFILES): Build it.
15226 * libc/sys/h8500hms/crt0.c (environ): Deleted.
15227 * libc/sys/m88kbug/crt0.c (environ): Deleted.
15228 * libc/sys/z8ksim/crt0.c (environ): Deleted.
15229 * libc/sys/netware/environ.c: Deleted.
15230
15231Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15232
15233 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15234
15235Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15236
15237 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15238 declaration out to external scope and declare it PTR, not char *.
15239
15240Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15241
15242 * libc/include/sys/unistd.h (getpagesize): New declaration.
15243 (_SC_PAGESIZE): New definition.
15244 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15245 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15246
15247Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15248
15249 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
17c0c97d 15250 addressing. System call returns size, not (last address + 1).
8a0efa53
CF
15251
15252Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15253
15254 * libm/math/*.c: Removed _foo_r() reentrancy API.
15255 * libc/include/math.h: Removed _foo_r prototypes and macros.
15256
17c0c97d 15257 * libm/math/*.c: On systems with IEEE single precision "doubles"
8a0efa53 15258 move foo() -> foof() wrapper code from the files that implement
17c0c97d 15259 the standard IEEE double precision functions to the files that
8a0efa53
CF
15260 implement IEEE single precision functions. (ie. On those systems
15261 sin is moved from s_sin.c to sf_sin.c). There should eventually
15262 be use of a C extension (like gcc's alias attribute) so that the
15263 wrappers are not needed at all.
15264
15265 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
17c0c97d 15266 strict NEC V810 compiler.
8a0efa53 15267 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
17c0c97d 15268 for same reason.
8a0efa53
CF
15269
15270Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15271
15272 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
17c0c97d 15273 from NetBSD C library.
8a0efa53
CF
15274 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15275
17c0c97d 15276 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
8a0efa53
CF
15277 and adapted from implementation I wrote for NetBSD C library.
15278 The difference is __assert doesn't take a format argument,
15279 so that there won't be multiple copies of the same string
15280 constant in the executable if assertions are enabled in
17c0c97d 15281 more than one source module.
8a0efa53
CF
15282 * libc/include/assert.h (assert): Changed to call __assert.
15283
15284Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15285
15286 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15287 word1 on systems with 32 bit doubles.
15288 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15289 so that we can do arithmetic on them.
15290 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
17c0c97d
EB
15291 compilers.
15292
8a0efa53
CF
15293Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15294
15295 * libc/sys/arm/crt0.S: Zero bss.
15296
15297Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15298
15299 * libc/include/unctrl.h: New file.
15300 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15301 * configure.in (subdirs): Add libc/misc.
15302 * libc/Makefile.in (SUBDIRS): Add misc.
15303 (SUBLIBS): Add misc/lib.a.
15304
15305 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15306
15307Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15308
15309 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15310 (_vfprintf_r): Call CHECK_INIT.
15311
15312Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15313
15314 * Makefile.in (MULTITOP): Delete.
15315 (MULTISRCTOP, MULTIBUILDTOP): Add.
15316 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
15317 instead of cfg-ml-pos.in.
15318
15319Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15320
15321 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
15322 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
17c0c97d 15323 presence.
8a0efa53
CF
15324
15325Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15326
15327 * libc/string/strtok.c: Include string.h to pick up strtok_r
15328 prototype.
15329
15330Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15331
15332 * libc/string/strtok.c: include <_ansi.h>.
15333 * libc/time/asctime_r.c: `reresult' -> `result'.
15334
15335Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15336
15337 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
15338 in #ifndef _REENT_ONLY ... #endif conditional.
15339
15340 * libc/include/string.h (_strtok_r): Remove declaration.
15341 * libc/include/time.h (_asctime_r): Remove declaration.
15342 * libc/string/strtok.c (_strtok_r): Removed.
15343 * libc/time/asctime.c (_asctime_r): Removed.
15344
15345 * libc/string/Makefile.in (OFILES): Add new object.
15346 * libc/string/strtok_r.c: New file. strtok_r function as
17c0c97d 15347 specified by POSIX.1c, adapted from strtok implementation
8a0efa53 15348 from NetBSD C library.
17c0c97d 15349 * libc/string/strtok.c (strtok): Reimplemented in terms of
8a0efa53
CF
15350 strtok_r.
15351
15352 * libc/time/Makefile.in (OFILES): Add new objects.
15353 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
15354 New files, reentrant time functions specified by POSIX.1c.
15355 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
17c0c97d 15356 reentrant time functions re-written in terms of reentrant
8a0efa53
CF
15357 functions.
15358 * libc/time/lcltime.c: Renamed from localtime.c
15359
15360 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
15361 gmtime_r, and localtime_r.
15362
15363Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
15364
15365 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
15366 * libc/include/sys/unistd.h (getlogin): Revert change of
15367 Oct 19.
15368 * libc/include/sys/signal.h (sigprocmask): Change prototype
15369 so it compiles with c++.
15370
15371Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
15372
15373 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
15374 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
15375 to give some room in case we need to align the jmp_buf.
17c0c97d 15376
8a0efa53
CF
15377 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
15378 the new ppc-asm.h include file the compiler provides to specify
15379 function prologue/epilogue. Eliminate saves of the xer and ctr
15380 registers, which are volatile. Before starting to save registers,
15381 align to 8 byte boundary.
15382
15383Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15384
15385 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
17c0c97d 15386 referenced by standard libraries.
8a0efa53
CF
15387
15388Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
17c0c97d 15389
8a0efa53
CF
15390 * libc/unix/Makefile.in, libc/string/Makefile.in,
15391 libc/stdio/Makefile.in, libc/reent/Makefile.in,
15392 libc/posix/Makefile.in:
15393 Remove tabs from otherwise empty line. Confuses some
15394 older non-GNU versions of "make".
15395
15396Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
15397
15398 * libc/sys/unistd.h (getlogin): Returns const char *.
15399
15400Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
15401
15402 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
15403 * libc/include/errno.h: Moved into and include...
15404 * libc/include/sys/errno.h: New file.
15405 * libc/include/sys/wait.h: New file.
15406 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
15407 * libc/sys/win32/*: Moved out.
15408 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
15409 * configure.in (i[345]86-*-win32): HAVE_RENAME
15410
15411Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
15412
15413 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
15414 avoid macro expansion for these two names.
15415
15416Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
15417
15418 * libc/machine/h8500/psi.S: r6 renamed to fp.
15419
15420Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15421
15422 * configure.in (powerpc*): No longer need to define
15423 NO_LONGLONG_POINTERS to supress warnings.
15424
15425Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15426
15427 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
15428 through PTR instead of directly.
15429
15430 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
15431 non-standard constructor support.
15432
15433Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15434
15435 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
17c0c97d
EB
15436 address of the Bigint instead of the address of its _x field,
15437 as the size the result buffer was calculated accordingly.
8a0efa53
CF
15438 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
15439
15440 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
17c0c97d 15441 from NetBSD C library. No longer special cases division by
8a0efa53
CF
15442 zero (which needs to be done by the application anyway), but
15443 it doesn't need to call abs() (or labs()) four times either.
17c0c97d
EB
15444
15445 * libc/stdlib/qsort.c: Replaced with implementation from
8a0efa53
CF
15446 NetBSD C library.
15447
15448Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15449
15450 * libc/stdio/vfprintf.c: Replaced with implementation from
ba3ccd63 15451 NetBSD C library (which is derived from the 4.4BSD C library).
8a0efa53
CF
15452 * libc/stdio/cvt.c: Removed.
15453 * libc/stdio/Makefile: Updated.
17c0c97d 15454
8a0efa53
CF
15455Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
15456
15457 * libc/sys/win32/syscalls.c (rename): New.
15458 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
15459
15460Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15461
15462 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
15463 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
15464
15465 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
15466 (setjmp.o): Delete rule to build setjmp.o.
15467 * libc/sys/sh/setjmp.S: Delete file.
15468
15469Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15470
15471 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
15472 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
15473 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
17c0c97d 15474 pow5mult and s2b to identifiers with leading underscores.
8a0efa53
CF
15475 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
15476 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
15477
15478Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
15479
15480 * libc/sys/posix/popen.c (sys/types.h): Include.
15481
15482Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
15483
15484 * libc/sys/win32/syscalls.h (fhandler): New struct.
15485 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
15486 (__fhandler_normal): Declare.
15487 (hinfo): New member op_handlers.
15488 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
15489 (__write): Likewise.
15490 (_read, _write, _open, _close, _lseek): Validate fd here.
15491 Move file type specific stuff to foo_normal.
15492 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
15493 New functions.
15494 (__lookup_fhandler): New function.
15495 (__lookup_fhandler_hook, __fhandler_normal): New variables.
15496
15497 From anders.blomdell@control.lth.se (Anders Blomdell)
15498 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
15499 Don't touch standard handles.
15500 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
15501 (_execve): Only create __FD_TABLE__ if necessary.
15502 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
15503
15504Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
15505
15506 * libc/sys/win32/sys/termios.h (FLUSHO): New.
15507 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
15508 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
15509 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
15510 without a handler is received.
15511 * libc/sys/win32/Makefile.in: Remove --nodelete.
15512 * libc/sys/win32/resouce.c (gettimeofday): New.
15513 * libc/sys/win32/syscalls.c (path_to_real_path): New.
15514 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
15515
15516Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
15517
15518 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
15519 Don't append "/*" to search pattern if trailing '/' already there,
15520 append "*".
15521 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
15522 like /'s, convert them to \'s. Handle //<drive>/ path names.
15523 Add space for quoted \'s in arg string. Print translated prog name
15524 and original prog name.
15525 (_execve): Handle parent doing exec a teensy bit better.
15526 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
15527 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
15528 path needs conversion, handle both cases. Delete `const' from result.
15529 (hash_path_name): New function.
15530 (_open): Call it.
15531 (_stat): Likewise. Fill in more fields for directories.
15532 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
15533 (wait_for_any): Fix trace message.
15534 (waitpid): Explicitly test for intpid == 0.
15535
15536 From anders.blomdell@control.lth.se (Anders Blomdell)
15537 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
15538 so `next' is valid.
15539
15540Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
15541
15542 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
15543 complicated.
15544
15545Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15546
ba3ccd63
EB
15547 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
15548 at all, not just == 1.
15549 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
8a0efa53
CF
15550
15551Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15552
ba3ccd63
EB
15553 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
15554 * libc/sys/win32/include/wintypes.h: include <winnt.h>
15555 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
15556 file.
8a0efa53
CF
15557
15558Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15559
15560 * libc/sys/syscalls.c (getcwd): Fix off by one error.
15561
15562 * libc/sys/signal.c (sleep): Fill it in.
15563 * libc/sys/termios.c (tcflush): Use PurgeComm
15564 (tcsetattr): Set some more of the bits.
15565 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
15566
15567Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
15568
15569 * libc/sys/arm/crt0.S (fp): Initialize to 0.
15570 Conditionally include .idata$3 stuff ifdef __pe__.
15571
15572Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15573
15574 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
15575 * libc/sys/win32/pipe.c (pipe): Ditto.
15576 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
15577 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
15578 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
15579 (tcgetattr): Contents are new.
15580 * libc/sys/win32/include/winkernel.h (DCB): New.
15581 (GetCommState, SetCommState): New.
15582
15583Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
15584
15585 * libc/sys/arm/crt0.S (_start): Define.
15586
15587Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
15588
15589 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
15590 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
15591
15592 * libc/sys/win32/sysconf.c: New
15593 * libc/sys/win32/sys/winadvapi.h: New
15594 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
15595 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
15596 * libc/sys/win32/pipe.c (pipe): Ditto.
15597 * libc/sys/win32/signal.c (_raise): New.
15598 (_kill): Moved from spawn.c
15599 * libc/sys/win32/spawn.c (kill): Moved to signal.c
15600 * libc/sys/win32/syscalls.c (__read): Use new fields.
15601 (_open): Ditto.
15602 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
15603 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
15604 * libc/include/sys/unistd.h (rmdir): Takes const path.
15605 * libc/include/sys/stat.h (mkdir): Takes const path.
15606 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
15607
15608Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
15609
15610 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
15611
15612 Add support for specifying paths as //<drive>/foo/bar.
15613 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
15614 (__path_to_real_path): Declare.
15615 (PATH_TO_REAL_PATH): New macro.
15616 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
15617 (__path_needs_conversion_p, __path_to_real_path): New functions.
15618 (_open): Fix test for error return from CreateFileA.
15619 Handle new path syntax.
15620 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15621 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15622
15623Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15624
15625 * libc/sys/win32/include/*.h: Reorganized
15626 * libc/sys/win32/include/WINREADME: New.
15627 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15628 * libc/sys/win32/*.c: Fix for new include scheme.
15629 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15630 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15631 * libc/sys/win32/passwd.c (*): Fix.
15632 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15633 (_stat): Get directory owner and permissions right.
15634 * libc/sys/win32/syscalls.h (uinfo): New.
15635 * libc/sys/win32/version.def: Remove leading underscores.
15636
15637Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15638
15639 * libc/sys/win32/key.c: include "include/wincon.h".
15640
15641Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15642
15643 * libc/sys/win32/{key, stubs}.c: New.
15644 * libc/sys/win32/Makefile: Adjust to cope.
15645 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15646 (environ_init): Change env names to upper case.
15647 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15648 * libc/sys/win32/passwd.c (*): Fill in the functions.
15649 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15650 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15651 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15652 (_open): Initialze hmap->execable_p too.
15653 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15654 (_fstat): Fill in permissions.
15655 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15656
15657Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15658
15659 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15660 if defined.
15661 (cfg-ml-pos.in invocation): Likewise.
15662
15663Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15664
15665 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15666 s_isnan.o and sf_isnan.o.
15667
15668Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15669
15670 * All Makefile.in files: added maintainer-clean target as a
15671 synonym for realclean.
15672
15673Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15674
15675 * libc/include/machine/setjmp.h: Add hppa support.
15676 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15677 support.
15678 * libc/machine/hppa/Makefile.in: Related changes.
15679
15680Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15681
15682 * configure.in (machine_dir): Don't set for v810-*-*.
15683
15684Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15685
15686 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15687 conventions correctly.
15688
15689Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15690
15691 * libc/stdio/puts.c: Update documentation of return value to match
15692 ANSI standard.
15693
15694Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15695
15696 Fix file descriptor inheritance.
15697 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15698 (NOT_OPEN_FD): Fix.
15699 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15700 close-on-exec flag not set. Initialize child's entire fd table.
15701 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15702 CHILD_P.
15703 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15704 if CHILD_P. Initialize entire hmap entry.
15705 (dup): Only create new handle as inheritable if CHILD_P.
15706 (dup2): Likewise. Properly initialize hmap entry.
15707
15708 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15709 _spawn.
15710 (_exit): Use CHILD_P.
15711 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15712 (_stat): Likewise.
15713
15714Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15715
15716 * libc/sys/win32/crt0.c (passover): fix up the state table.
15717 * libc/posix/popen.c: Added.
15718 * libc/posix/Makefile.in: compile popen.c.
17c0c97d 15719
8a0efa53
CF
15720Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15721
15722 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15723 h8/500 define _DOUBLE_IS_32BITS.
15724
15725Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15726
15727 Get vfork/exec/spawn/cwait/wait working again.
15728 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15729 (procinfo): New member vfork_level.
15730 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15731 (vfork_init_first): Use GetCurrentProcessId to get pid.
15732 Initialize vfork_level.
15733 (vfork_init): Delete __PID__.
15734 (environ_init): New function. Undo patch of Aug 19, Posix says
15735 environment variables are case sensitive.
15736 (mainCRTStartup): Call it.
15737 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15738 (my_longjump: Make static.
15739 (_spawn): New argument `h'. Delete setting of __PID__.
15740 Delete local `idx'. Look for chars that need quotes, rather than
15741 ones that don't. Set handle of created process in `h'.
15742 Result is process id if created task.
15743 (allocate_spawn_entry): New function.
15744 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15745 (_execve): Set __FD_TABLE__ before spawning child.
15746 Scan our fd table when passing fds, not our parent's.
15747 Store handle and pid in procinfo entry.
15748 (vfork0): Ensure strace message always printed.
15749 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15750 (vfork): Don't clobber result of vfork0.
15751 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15752 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15753
15754 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15755 and `exit_code'.
15756 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15757 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
17c0c97d 15758 adding vfork level to pseudo-pid.
8a0efa53
CF
15759 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15760 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15761 (_exit): If child, set exit code.
15762 (__vfork_record_death): Only close process handle if valid.
15763 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15764 didn't exec.
15765 (wait_for_any): Likewise. Start scan after root entry.
15766
15767Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15768
15769 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15770 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15771 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15772 of actual file length.
15773
15774 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15775 * libc/include/paths.h: _PATH_BSHELL added.
15776 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15777 and STDERR_FILENO.
15778
15779Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15780
15781 * libc/include/ar.h: Added.
15782 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15783 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15784 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15785 on filename.
15786 (_fstat): use .namehash for inode number of the fd.
15787
15788Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15789
15790 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15791 Change hinfo to __this_procinfo.
15792 * libc/sys/win32/crt0.c: Remove procinfo_list.
15793
15794Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15795
15796 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15797 win32 environment.
15798
15799Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15800
15801 * libc/sys/win32/include/grp.h: Removed.
15802 * libc/sys/include/grp.h: Added.
15803 * libc/sys/win32/grp.c: Include <grp.h>.
15804
15805Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15806
15807 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15808 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15809 Defined for all but strict ANSI.
15810 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15811 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15812 * libc/signal/signal.c (_signal_r): Changed from using
17c0c97d 15813 _MAX_SIGNALS to NSIG.
8a0efa53
CF
15814 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15815 __hmap): Deleted.
15816 (__strace, __vfork_next_pid): New.
15817 (__exe_suffix): Default to 1.
15818 (passover, table): Understand quoted arguments.
15819 (vfork_init_first): New.
15820 (vfork_init): Initialize new process structure.
15821 (mainCRTStartup): Pass environ to main.
15822 * exceptions.c (__sig_mask): New
15823 (ehandler3): Ignore signals in mask.
15824 (really_exit): Remove CHILD_P test.
15825 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15826 * resource.c (getrusage): Ditto.
15827 * signal.c (sigprocmask): New.
15828 * spawn.c (*): Rewritten.
15829 * syscalls.c (*): Use new process and file structure.
15830 (find_unused_handle): New.
15831 * syscalls.h (MAX_HANDLES): Deleted.
15832 (hinfo): Removed child_created_p.
15833 (MAX_CHILDREN): Deleted.
15834 (vfork_jmp_info, procinfo): New.
15835 * wait.c (*): Mostly new.
15836 * sys/strace.h (_STRACE_PARANOID): New.
15837 * sys/param.h: New file.
15838
15839Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15840
ba3ccd63
EB
15841 * libc/include/sys/stat.h: add S_BLKSIZE.
15842 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15843 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15844 types under win32.
15845 (mode_t): add a #else to avoid multiple definitons.
8a0efa53 15846
ba3ccd63
EB
15847 * libc/sys/win32/Makefile.in: add grp.c.
15848 * libc/sys/win32/grp.c: include grp.h correctly.
15849 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15850 of the st structure with real information.
15851 * libc/sys/win32 (dirent): d_ino is of type ino_t.
8a0efa53
CF
15852
15853Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15854
15855 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15856 and (maybe) sparc64.
15857 (nlink_t): Provide typedef.
15858
15859Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15860
15861 * libc/sys/win32/grp.c: New file.
15862 * libc/sys/win32/include/grp.h: New file.
15863
15864Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15865
15866 * libc/include/machine/ieeefp.h: Added whitespace to make this
15867 file easier to maintain.
15868 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15869 depending on the value of __LITTLE_ENDIAN__.
15870 On the sh3e, define _DOUBLE_IS_32BITS.
17c0c97d 15871
8a0efa53
CF
15872Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15873
15874 * libc/sys/vr4300/syscalls.c: Added missing support
17c0c97d 15875 routines. _raise() and getpid().
8a0efa53
CF
15876
15877Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15878
15879 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15880
15881Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
15882
15883 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
ba3ccd63 15884 and VR4300 processor.
8a0efa53
CF
15885 * libc/sys/vr4300: Add directory.
15886 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
17c0c97d 15887 monitor run-time support.
8a0efa53
CF
15888
15889Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15890
15891 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
15892 * libc/stdlib/stdlib.tex: Don't include atol.def.
15893
15894Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15895
15896 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
15897
15898Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
15899
15900 * libc/ctype/Makefile.in: Fill in _to* dependencies.
15901
15902Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
15903
15904 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
15905 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
15906 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
15907 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
15908 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
15909
15910Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15911
15912 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
15913
15914Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15915
15916 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15917 * libc/stdlib/atoff.c: New file.
15918 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15919 * libc/stdlib/atoi.c (atol): Removed.
15920 * libc/stdlib/atol.c: Removed duplicate documentation.
15921
15922 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15923 #ifndef _STRICT_ANSI conditional.
15924 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15925 * libc/ctype/_tolower.c: New file.
15926 * libc/ctype/_toupper.c: New file.
15927 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15928 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15929 * libc/ctype/toascii.c (_toascii): Removed.
15930
15931Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15932
15933 * libc/sys/sparc64/sys/types.h: Deleted.
15934
15935Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15936
15937 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
15938 and recognize Windows_95 systems.
15939
15940Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15941
15942 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
15943 and passed fds should be opened in text mode.
15944
15945Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15946
15947 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
15948 in __hmap, set to binary mode by default.
15949
15950Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15951
15952 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
15953 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
15954 vector 34.
15955
15956Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
15957
15958 * Makefile.in (install): Install all libraries found in the
15959 top level. If there's a sys/<type>/include directory,
15960 install those headers into include.
15961
15962 * libc/sys/win32/kernel.def351: Delete
15963 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
15964 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
15965 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
15966 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
15967 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
15968 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
15969 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
15970 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
15971
15972 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
15973 * libc/sys/win32/crt0.c: Force all env names to upper case.
15974 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
15975 * libc/sys/win32/*.c: Headers have moved.
15976 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
15977 __vfork_child_idx is now __vfork_child_ptr.
15978
15979 * posix/execvp (execvp): Don't crash if no PATH envname.
15980
15981Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15982
15983 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
15984 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
15985 through the _freelist instead of through the _reclaim list.
15986 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
15987 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
15988 sources.
15989
15990Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15991
15992 * libc/machine/h8500/setjmp.S: New file.
15993 * libc/include/machine/setjmp.h: Updated for H8/500.
15994
15995Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
15996
15997 * libc/sys/win32/syscalls.c (_open): More stracing.
15998 (_stat): Open the file in O_BINARY.
15999
16000Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16001
16002 * libc/machine/h8300/setjmp.S: New file.
16003 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
16004
16005Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
16006
16007 * libc/sys/win32/crt0.c (__exe_suffix): New global.
16008 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
16009 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
16010 __exe_suffix. Free fd_tab after setting env variable.
16011 (spawnv,_execve): Update.
16012 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
16013 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
16014 (__small_vfprintf): New function.
16015 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
16016 * libc/sys/win32/wait.c (cwait): Validate argument.
16017
16018 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
16019 (process_deletion_queue): Likewise.
16020
16021 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
16022
16023Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
16024
16025 * libc/sys/win32: Copyrights and gratuitous indenting.
16026
16027Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
16028
16029 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
16030 (process_deletion_queue): Likewise.
16031 (__close_all_files): New function.
16032 (_close): Only queue file deletion if really a file.
16033 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
16034 _P_APPEND_EXE.
16035 (_exit): Call __close_all_files.
16036
16037 * libc/stdlib/system.c: #include <errno.h>.
16038 (_system_r): Fix results in -DNO_EXEC case.
16039
16040 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
16041 Reorganize structure.
16042 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
16043 if argument is valid. Save directory name in DIR. malloc space
16044 for dirent struct separately.
16045 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
16046
16047 * libc/include/errno.h (ENAMETOOLONG): Define.
16048 * libc/string/strerror.c (strerror): Reword ENFILE.
16049 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
16050
16051Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
16052
16053 * libc/sys/win32/crt0.c (__progname): New global.
16054 (mainCRTStartup): Support strace=bitmask,filename.
16055 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
16056 * libc/sys/win32/syscalls.c (_write): Print parent trace message
16057 if error.
16058 (getcwd): Handle len too small. Convert '\\' to '/'.
16059 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
16060 Add prototypes for open, creat, fcntl.
16061 (O_APPEND): Change value to conform to Microsoft's value.
16062 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
16063
16064 * libc/stdlib/getopt.c: New file.
16065 * libc/stdlib/Makefile.in: Build it.
16066
16067Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
16068
16069 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
16070 Fix scanning of $PATH.
16071 * libc/posix/exec*.c: Call _execve, not execve.
16072 * libc/posix/execve.c: New file.
16073 * libc/posix/Makefile.in (OFILES): Add execve.o.
16074
16075 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
16076 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
16077 (_STRACE): If level==0, always print. Handle new bit mask scheme.
16078 * libc/sys/win32/crt0.c: Update _STRACE calls.
16079 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
16080
16081 * libc/sys/win32/smallprint.c (rn): Fix digit list.
16082
16083 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
16084 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
16085 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
16086 Print __seterrno trace message first.
16087 (_execve): Renamed from execve.
16088 (vfork): Update __strace usage.
16089 (__vfork_child_pid): Deleted.
16090 (__vfork_children, __vfork_child_idx): New globals.
16091 (_spawnvp): New function.
16092 (spawnvp, spawnv, _execve): Call _spawnvp.
16093 (init_child): Record child in __vfork_children.
16094 (__vfork_get_entry, __vfork_record_death): New functions.
16095 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
16096 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
16097 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
16098 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
16099 (children): New typedef.
16100 (__vfork_children,__vfork_child_idx): Declare.
16101 (__vfork_get_entry,__vfork_record_death): Declare.
16102 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
16103 (waitpid): Handle pid == -1.
16104 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
16105 * configure.in (i386-win32): Add -DNO_FORK.
16106 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
16107 * libc/reent/execr.c (_fork_r): Likewise.
16108 * libc/stdlib/system.c (do_system): New function.
16109 If WIN32, try to get shell path from $SH_PATH, use vfork.
16110 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
16111 otherwise return 0.
16112
16113Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
16114
16115 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
16116 * libc/sys/win32/fcntl.h: Don't include self.
16117 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
16118 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
16119 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
16120 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
16121 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
16122 Correct prototypes.
16123 * libc/sys/win32/strace.c: New file.
16124 * libc/sys/win32/smallprint.c: New file.
16125 * libc/sys/win32/crt0.c (func): Delete.
16126 (mainCRTStartup): Fix alloca usage. Set handles explictly.
16127 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
16128 * libc/sys/win32/exceptions.c: Lint.
16129 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
16130 Clean up handle usage.
16131 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
16132 (open.c): Default file type is text.
16133 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
17c0c97d 16134 * libc/sys/win32/advapi32.def: New
8a0efa53
CF
16135
16136Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
16137
16138 * configure.in (posix_dir, libc_posix_lib): New variables.
16139 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
16140 (i[345]86-*-win32): Define posix_dir.
16141 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
16142 (if unix_dir): Fix typo.
16143 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
16144 scandir,seekdir,telldir}: New files.
16145 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
16146 from libc/unix.
16147 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
16148 (SUBDIRS): Add posix.
16149 (SUBLIBS): Add $(LIBC_POSIX_LIB).
16150
16151 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
16152 (NSIG): Increase to 21.
16153 * libc/include/sys/unistd.h (pid_t): Move from here,
16154 * libc/include/sys/types.h (pid_t): to here.
16155
16156 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
16157 (__ptrace): Delete.
16158 (hinfo): New members close_exec_p, child_created_p.
16159 (struct exception_list): Define.
16160 (__hmap): Redefine as pointer to table.
16161 (__parent_hmap, __child_hmap): New globals.
16162 (__set_errno, __really_exit): Declare.
16163 (__vfork_child_pid): Declare.
16164 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
16165 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
16166 (__parent_hmap, __child_hmap): New globals.
16167 (__hmap): Redefine as pointer to active map.
16168 (__get_console): New function.
16169 (mainCRTStartup): Change leading '=' in environ vars to '!'.
16170 (env __FD_TABLE__): Watch for this and initialize our fd/handle
16171 mapping table from it if defined.
16172 (argv, envp): Dump if __strace >= 4.
16173 (main): Call here.
16174 * libc/sys/win32/exceptions.c (myp): Redefine.
16175 (__syscalls_b): Delete.
16176 (__stack_trace): New function.
16177 (ehandler3): Update to use _STRACE. Print stack trace.
16178 Call __really_exit instead of exit.
16179 (init_exceptions): Delete args argc,argv. New arg mine.
16180 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
16181 FindFirstFileA, FindNextFileA, GetComputerNameA,
16182 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
16183 * libc/sys/win32/signal.c (signal): Validate arg.
16184 (alarm, sleep): Define as stubs for now.
16185 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
16186 (__syscalls_b, errno): Delete.
16187 (__vfork_child_pid, __vfork_jmp_buf): New globals.
16188 (__seterrno): Handle more errors.
16189 (__sys_printf): Renamed from _ptrace.
16190 (__really_exit): New function.
16191 (queue_file_deletion, process_deletion_queue): New functions.
16192 (__resume_parent): New function.
16193 (_unlink): Handle trying to delete open file.
16194 (__totime_t): Renamed from totime_t.
16195 (setsid, __read, __write): New functions.
16196 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
16197 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
16198 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
16199 * libc/sys/win32/console.c: Update to new definition of __hmap.
16200 * libc/sys/win32/Makefile.in: Build new files.
16201 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
16202 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
16203 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
16204 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
16205
16206Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
16207
16208 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
16209
16210Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16211
16212 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
16213 have been made to the master dtoa.c sources (from netlib.att.com)
16214 since they were integrated into newlib in early 1992. Fixes
16215 problems with storage leaks and handling of numbers with very
16216 negative exponents.
17c0c97d 16217
8a0efa53
CF
16218Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16219
16220 * Makefile.in (all): set rootpre and srcrootpre before calling
16221 sub-makes.
16222
16223Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
16224
16225 * libc/sys/win32/crt0.c: Change __hmap usage.
16226 * libc/sys/win32/exceptions.c: Use _ptrace call.
16227 * libc/sys/win32/syscalls.c: Use _ptrace call.
16228 (read, write): Cope with DOS style CRLF when in TEXT mode.
16229 * libc/sys/win32/syscalls.h: Declare hinfo struct.
16230 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
16231 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
16232 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16233 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16234
16235Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16236
16237 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16238
16239 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16240 wrappers for hypot() and remainder() for BSD libm compatibility.
16241 These are public domain implementations written by me for the
16242 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16243 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16244 (fobj): Added wf_cabs.o and wf_drem.o.
16245
16246Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16247
16248 * libc/sys/h8500hms/misc.c: New file.
16249 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16250
16251Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16252
16253 * libc/time/localtime.c (localtime): Fix problem with leap year
16254 handling. Stole algorithm from Arthur David Olson's tz code.
17c0c97d 16255
8a0efa53
CF
16256Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16257
16258 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16259
16260 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16261 (_exit): Use argument.
16262
16263Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16264
16265 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16266
16267Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16268
16269 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16270
16271Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16272
16273 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16274 target_cflags.
16275
16276Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16277
16278 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16279 ptrace with case insensitivity
16280 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
17c0c97d 16281 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
8a0efa53
CF
16282 New files.
16283
16284Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16285
16286 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16287 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16288 (all, install, *clean): Use new multilib support.
16289 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16290
16291Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16292
16293 * libc/include/sys/signal.h (__WIN32__): New.
16294
16295 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16296
16297 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16298 (ulp, b2d): Handle 32 bit doubles.
16299 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16300 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16301
16302Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16303
16304 from medp@primag.co.uk:
16305 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16306 dynamically allocated buffers.
16307
16308Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16309
16310 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16311 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16312
16313Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16314
16315 * configure.in (powerpc): Fix previous fix.
16316
16317Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16318
16319 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
16320 directories for this target.
16321
16322Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16323
16324 * configure.in (hppa): Add machine_dir definition.
16325 * libc/machine/hppa: New directory with PA specific implementations
16326 of the basic memory/string functions.
16327
16328Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16329
16330 * configure.in: Update current PowerPC multilib directories.
16331 Split big and little endian configurations.
16332
16333Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
16334
16335 * configure.in: Add --enable-single-float option to configure to
16336 control use of MIPS single-float directories. Default to yes.
16337
16338 * Makefile.in (all): Don't recurse into multilib directory if it
16339 does not exist.
16340
16341Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16342
16343 * libc/sys/sh/syscalls.c: Fix typo.
16344
16345Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
16346
16347 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
16348 Pass down DLLTOOL.
16349 * libc/include/process.h: Define WAIT_CHILD.
16350 * libc/include/types.h: Get sizes right for win32.
16351 * configure.in (i386-*-pe): Becomes i386-win32.
16352 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16353 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
16354 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
16355 is defined.
16356
16357Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
16358
16359 * configure.in (i[345]86-*-pe): New target (NT).
16360 * host/any: DLLTOOL new.
16361 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16362 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
16363 WIN32 (just enough to cross host the comp-tools).
16364
16365Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
16366
16367 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
16368 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
16369
16370Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
16371
16372 * libc/include/machine/ieeefp.h (arm): Change to always be
16373 __IEEE_BIG_ENDIAN (even on little endian ARM's).
16374
16375Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
16376
16377 * libc/sys/crt0.S: Initialze sp, and call exit after main.
16378 * libc/sys/syscalls.c (abort): New.
16379 * configure.in (arm): Define ABORT_PROVIDED.
16380
16381Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16382
16383 * configure.in (powerpc): Define multidirs.
16384
16385Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
16386
16387 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
16388
16389Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
16390
16391 * configure.in (sparclite): Delete target_cflags. Define multidirs.
16392
16393Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
16394
16395 * configure.in, libc/include/machine/ieeefp.h: Modified
16396 for arm:
16397 libc/machine/arm/*, libc/sys/arm/*: New
16398
16399Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16400
16401 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
16402 __powerpc__ when determining endianness.
16403
16404Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16405
16406 * configure.in (m68*): Add multidir for the m68332.
16407
16408 * host/any (CC): Fix typo in last change.
16409
16410Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
16411
16412 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
16413 when determining endianness.
16414 * libc/include/machine/ieeefp.h: Ditto.
16415 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
16416 operands.
16417
16418Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
16419
16420 * libc/include/errno.h (ENOTEMPTY): Define.
16421
16422Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16423
16424 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
16425 target_cflags.
16426
16427 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
16428 and umultiply.o.
16429
16430 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
16431 instead of only when open succeeds. ANSI requires that multiple
16432 calls to tmpnam() result in different files.
16433
16434 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
16435 objects pulled in from /lib/libc.a that must be renamed before
16436 being pulled into newlib. /lib/libc.a's div.o conflicted with
16437 newlib's file with the same name.
16438
16439 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
16440
16441 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
16442 the build tree will only be used if the executables are present
16443 (instead of just the Makefiles).
16444
16445 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
16446 wcstombs): Define.
16447 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
16448 versions of these functions that I orignally wrote for the
16449 NetBSD C library.
16450 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
16451 versions I wrote for NetBSD.
16452
16453Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
16454
16455 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
16456 * libc/sys/sparclite/crt0.s: ditto.
16457
16458Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
16459
16460 * configure.in: Add soft-float for proelf.
16461
16462Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
16463
16464 * libc/stdlib/mprec.h (Bcopy): Copy the right number
16465 of bytes.
16466
16467Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
16468
16469 * Makefile.in (all): Depend on `force'.
16470 * configure.in (syscall_dir): Renamed from fake_sys_dir.
16471 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
16472 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
16473 * libc/Makefile.in: Likewise.
16474 * libc/include/reent.h: Update syscall references.
16475 (_fcntl_r): Add prototype.
16476 * libc/syscalls/*.c #include <reent.h>.
16477 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
16478
16479Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
16480
16481 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
16482 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
16483 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
16484 (time.h, sys/types.h): Always include (even if MSDOS).
16485 (stat): Fix prototype.
16486
16487Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
16488
16489 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
16490
16491Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16492
16493 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
16494
16495Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
16496
16497 * libc/include/regdef.h: New file.
16498 * libc/machine/mips/machine/regdef.h: New file.
16499
16500Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
16501
16502 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
16503
16504Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
16505
16506 * libc/sys/sh/crt0.S: Pass main's return to exit.
16507 * libc/sys/sh/trap.S: Put errno in the right place.
16508
16509Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16510
16511 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
16512 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
16513 * libm/math/ef_rem_pio2.c: Likewise.
16514 * libm/math/e_log10.c: Remove unused static one.
16515 * libm/math/ef_log10.c: Likewise.
16516 * libm/math/s_frexp.c: Likewise.
16517 * libm/math/sf_frexp.c: Likewise.
16518
16519Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
16520
16521 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
16522 longjmp.S: Upgraded.
16523 * libc/sys/go32/sys/setjmp.h: Upgraded.
16524 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
16525
16526Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16527
16528 * configure.in: Add many entries to multidirs for mips targets.
16529
16530Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16531
16532 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
16533 5.2 which fixes bug where jn(-1,x) is three times larger than
16534 the actual answer.
16535 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
16536
16537Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
16538
16539 * libc/sys/w65/sys/syscalls.h: New file
16540 * libc/include/machine/ieeefp.h: W65 support.
16541 * libc/include/sys/config.h: Ditto.
16542 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
16543 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
16544 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
16545
16546Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16547
16548 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
16549
16550Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
16551
16552 * Makefile.in, configure.in: Remove any references to the old
16553 "stub" dir.
16554
16555Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16556
16557 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
16558 uses ... in prototype.
16559
16560
16561Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
16562
16563 * libc/sys/a29khif/sys/libconfig.h: Remove.
16564 * libc/sys/go32/sys/libconfig.h: Remove.
16565 * libc/sys/sun4/sys/libconfig.h: Remove.
16566 * libc/sys/sysvi386/sys/libconfig.h: Remove.
16567 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
16568 * libc/sys/sparc64/sys/libconfig.h: Remove.
16569
16570 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
16571 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
16572 * libc/include/math.h: Change all uses of _FLOAT_RET and
16573 _FLOAT_ARG to float.
16574 * libm/test/math.c: Likewise.
16575 * testsuite/libm.sac/math.c: Likewise.
16576 * testsuite/libm.sac/working/math.c: Likewise.
16577
16578Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16579
16580 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
16581 gcc calls gas with endian option.
16582 * configure.in (sh): Build little endian version too.
16583
16584Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16585
16586 * configure.in: Configure big and little endian versions for MIPS
16587 targets.
16588
16589Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
16590
16591 * libc/include/limits.h: Deleted.
16592 * libc/include/machine/limits.h: Deleted.
16593
16594Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
16595
16596 * ChangeLog: Remove stub directory. This has all been rewritten
16597 and moved to devo/libgloss.
16598
16599Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16600
16601 * Makefile.in (dvi): Add to info target, use $@ in sub make.
16602 (docs): Merge into info target.
16603 * libm/Makefile.in (dvi): Add $(srcdir).
16604 * libm/math/Makefile.in (chobjs): Remove underscores from file
16605 names. Texinfo doesn't like them.
16606 (wacos.def, ...): Add explicit targets for all .def files.
16607 * libm/math/math.tex: Remove underscores from @include file names.
16608 * doc/Makefile.in (dvi): Add dummy target.
16609 * testsuite/Makefile.in (dvi): Add dummy target.
16610
16611Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
16612
16613 * Makefile.in (VERSION): Define. For net newlib releases.
16614
16615Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
16616
16617 * README: New file.
16618
16619Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16620
16621 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16622
16623Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16624
16625 * libc/stdlib/setenv.c (_findenv): Declare.
16626
16627 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16628 fcntl to not use _EXFUN, and change string parameters to open and
16629 creat to be ``const char *''.
16630 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16631 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16632 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16633 (open) Make _FILE const.
16634 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16635 (_creat): Make PATH const.
16636 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16637 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16638 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16639 * libc/sys/sh/syscalls.c (_open): Likewise.
16640 * stub/shared/glue.c (open): Make BUF const.
16641 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16642
16643Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16644
16645 * libc/include/errno.h: Add ENMFILE
16646 * libc/include/sys/config.h: Support Z8000.
16647 * libc/include/sys/signal.h: New signals for go32.
16648 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16649 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16650 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16651 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16652 size is variable, depending upon CHUNK_POWER.
16653 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16654
16655Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16656
16657 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16658
16659Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16660
16661 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16662
16663Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16664
16665 * configure.in: Change i[34]86 to i[345]86.
16666
16667 * libc/include/math.h: Don't define HUGE_VAL if it is already
16668 defined.
16669
16670Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16671
16672 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16673 * testsuite/libm.sac/test_gammaf.c: Likewise.
16674 * testsuite/libm.sac/test_sin.c: Likewise.
16675 * testsuite/libm.sac/test_tanh.c: Likewise.
16676
16677Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16678
16679 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16680 already set. Define typedefs __int32_t and __uint32_t.
16681 * libc/include/math.h: Include <machine/ieeefp.h>.
16682 (union __dmath): Use __uint32_t.
16683 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16684 instead of int and unsigned int.
16685
16686Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16687
16688 Replace the math library with the SunPRO fdlibm package.
16689 * libm/math: Completely changed all files.
16690 * libm/ieeefp: Remove contents and directory.
16691 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16692 (SUBDIRS): Just set to math/lib.a.
16693 * libm/libm.texinfo: Updated for new library.
16694 * libc/include/math.h: Extensive changes for new math library.
16695 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16696 from _FLOAT_ARG to float.
16697 (maxpowtwo, maxpowtwof): Don't declare.
16698 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16699 (libm_fp_lib): Removed.
16700 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16701 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16702 argument to ${RUNTEST}.
16703 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16704 (.c.o): New rule.
16705 (RUNTESTFLAGS): Set CC and CFLAGS.
16706 (TESTS): Remove test_log2 and test_log2f.
16707 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16708 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16709 _FLOAT_ARG, for single precision argument type.
16710 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16711 expected failure. Close the input pipe.
16712 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16713 Correct misspelling of inaccurate.
16714 (test_mok): Use ``inaccurate'', not ``wrong''.
16715 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16716 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16717 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16718 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16719 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16720 test_yn.c): Correct many result values. Many are still wrong.
16721
16722 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16723 just copy the string.
16724 (_gcvt): Always return the buffer.
16725
16726Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16727
16728 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16729
16730Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16731
16732 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16733 structure.
16734 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16735 (_reclaim_reent): declare new entry point.
16736 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16737 functions.
16738
16739 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16740 ever allocated, so that we can later reclaim them all.
16741 (pow5mult): make reentrant.
16742
16743 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16744 so that when given NULL as a buffer, return a pointer to static
16745 space in the rent structure. This is not documented behaviour;
16746 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16747 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16748 therefore become reentrant).
17c0c97d 16749
8a0efa53
CF
16750 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16751
16752Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16753
16754 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16755
16756Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16757
16758 * Makefile.in: Make link to libg.a after libc.a; this is needed
16759 for the testsuites to build executables when everything comes
16760 from the tree.
16761
16762Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16763
16764 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16765 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16766
16767Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16768
16769 * libc/include/stdio.h: Use __VALIST, not va_list.
16770
16771Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16772
16773 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16774 testsuite/libm.sac/execute.exp:
16775 Replace error proc calls with perror calls.
16776
16777Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16778
16779 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16780 * libc/include/time.h: #define NULL as 0L.
16781
16782Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16783
16784 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16785 care of it.
16786
16787Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16788
16789 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16790 not __unix__.
16791
16792Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16793
16794 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16795 (z8k-*-*): Use syscalls fake sys dir.
16796 * libc/sys/z8k/glue.c: Rename syscalls.
16797 * libc/sys/go32/Makefile.in: Use new routines.
16798 * libc/machine/Makefile.in: Fix typo in ln stuff.
16799
16800Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16801
16802 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16803 * libc/Makefile.in (crt0.o): Likewise.
16804 * libc/machine/Makefile.in (lib.a): Likewise.
16805 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16806
16807 All Makefile.in files: Added mostlyclean, realclean and distclean
16808 targets.
16809
16810 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16811 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16812 the top level Makefile.
16813
16814Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16815
16816 * libc/sys/sparc64/sys/stat.h: New file.
16817 * libc/sys/sparc64/sys/time.h: New file.
16818 * libc/sys/sparc64/sys/types.h: New file.
16819
16820Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16821
16822 * stub/ex93x/crt0.s (start): Add code to clear bss.
16823
16824Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16825
16826 * libc/include/sys/types.h (time_t): Properly protect inside
16827 #ifndef __time_t_defined.
16828
16829 * libc/stdio/fileno.c: New file.
16830 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16831 (fileno.o): Add dependency.
16832 * libc/include/stdio.h (__sgetc): Rename never to _never.
16833 (fileno macro): Disable, needs to do CHECK_INIT first.
16834
16835Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16836
16837 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
ba3ccd63 16838 goal.
8a0efa53
CF
16839
16840 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16841 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16842 runtest.
16843 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16844 runtest.
16845
16846Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16847
16848 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16849 of the various constants.
16850
16851Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16852
16853 * libc/include/math.h: #ifndef __math_68881 around things which
16854 conflict with the (gcc-provided) inline functions in
16855 gcc/ginclude/math-68881.h.
16856
16857Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16858
16859 * libc/include/_syslist.h (_gettimeofday): Define.
16860 (_times): Ditto.
16861 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16862 (struct tms, timeval, timezone): Declare.
16863 (_gettimeofday_r, _times_r): Declare.
16864 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16865 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16866 (time_t): Add multiple definition protection, __time_t_defined.
16867 * libc/include/sys/time.h: Don't #include <time.h>.
16868 Always define struct timezone (remove #ifndef _TIME_H_).
16869 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16870 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16871 * libc/reent/Makefile.in (OFILES): Add timer.o.
16872 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16873 * libc/reent/timer.c: New file.
16874 * libc/time/clock.c: #include <reent.h>.
16875 (clock): Call _times_r instead of times.
16876 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16877 HAVE_GET_TIME_OF_DAY.
16878 Add comment regarding supporting OS routine(s) required (for docs).
16879 #include <reent.h>.
16880 (time): Call _gettimeofday_r instead of gettimeofday.
16881 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
16882 * libc/time/ctime.c: Ditto.
16883 * libc/time/strftime.c: Ditto.
16884 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
16885 (TEMPLATE_SFILES_R): Define here. Also define times.
16886 Add times_r.o/times.S dependence.
16887 (time2.c, junk.c): Deleted.
16888 * libc/sys/sparc64/time2.c: Deleted.
16889 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
16890
16891 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
16892 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
16893 * libc/sys/sparc64/junk.c: Deleted.
16894
16895Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
16896
16897 * libc/sys/sparc64/Makefile.in: Add times syscall.
16898 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
16899 be used with and without it. Add comment clarifying Medium/Anywhere
16900 model requirements.
16901 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
16902 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
16903 even if obsolete.
16904
16905Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
16906
16907 * configure.in (target_cflags): Move init.
16908 (sparc64-*-*): Define HAVE_BLKSIZE.
16909
16910Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
16911
16912 * libc/include/sys/_types.h: New file.
16913 * libc/include/reent.h: #include it.
16914 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16915 MISSING_SYSCALL_NAMES.
16916 Sort syscalls.
16917 * libc/include/_syslist.h: Remove _raise.
16918 * libc/reent/signalr.c: New file.
16919 * libc/reent/Makefile.in: Compile it.
16920 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16921 Add doc for raise and _raise_r.
16922 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16923 (raise): Call _raise_r.
16924 (_raise_r): Call _getpid_r and _kill_r.
16925 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16926 (abort): Loop forever calling raise and _exit.
16927
16928Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16929
16930 * configure.in: Remove extraneous echo.
16931
16932Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16933
16934 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
16935 collision with unistd.h, and fix for svr4.
16936
16937Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
16938
16939 * libc/stdio/local.h (_llicvt): Declare.
16940 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
16941 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
16942 (_llicvt): Define.
16943 (_sicvt): Fix function header (`value' is short).
16944 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
16945 Add printing of long long's support.
16946 Add printing of 8 byte pointer support.
16947
16948Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
16949
16950 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
17c0c97d 16951 stat, chmod): New hooks.
8a0efa53
CF
16952 (sbrk): Abort if stack and heap collide.
16953 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
16954 shortcut when given small args.
16955 * libc/machine/sh/setjmp.s: Rewritten.
16956 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
16957 of cmp/str instruction.
16958
16959Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16960
16961 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
16962 and machine_dir powerpc.
16963 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
16964 Add cases for __powerpc__.
16965 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
16966 New files.
16967
16968 * libc/include/stdio.h (_iprintf_r): Declare correctly.
16969
16970Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
16971
16972 * libc/stdlib/callocr.c: New file with _calloc_r in it.
16973 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
16974
16975Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
16976
16977 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
16978 (print_e): More comments to describe args, etc.
16979 "type" arg may now be 'g' or 'G' for %g/G format --> remove
16980 trailing blanks.
16981 (_gcvt): Remove locals decpt, sign, end, p, done.
16982 More comments for print_e invocation.
16983 Pass "type" to print_e as is (g/G).
16984
16985Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
16986
16987 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
17c0c97d 16988 stock m68000.
8a0efa53
CF
16989
16990Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
16991
16992 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
16993 works with any sized pointer, including ones bigger than ints and
16994 longs.
16995
16996Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
16997
16998 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
16999
17000Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17001
17002 * libc/include/stdlib.h (_calloc_r): Add prototype.
17003 * libc/machine/h8500/negsi2.c: New file.
17004 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
17005 large unsigned numbers.
17006 * libc/machine/h8500/cmpsi.c: Add cmppsi.
17007 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
17008 works when sizeof(size_t) != sizeof(char *).
17009 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
17010 get play area
17011 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
17012
17013Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
17014
17015 * libc/include/assert.h (assert): Handle -traditional.
17016
17017Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
17018
17019 * Makefile.in: added ; after every "fi" and "done" that wasn't at
17020 the end of a line (ie. anything before a backslash continuation)
17021 so that bash handles them.
17022
17023Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17024
17025 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
ba3ccd63 17026 stat to lstat
8a0efa53
CF
17027
17028Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
17029
17030 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
17031 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
17032 libc/machine/sh/udivsi3.s: Use new calling convention.
17033
17034Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
17035
17036 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
17037 chmod, access, chdir, chown by making _path const. Also fix _amode
17038 param of access.
17039
17040Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
17041
17042 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
17043 _khif_tmpnam, because it doesn't comply with ANSI but may be
17044 useful anyway. Real tmpnam was already in libc/stdio, and was
17c0c97d 17045 colliding with this one (pr 2176.)
8a0efa53
CF
17046 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
17047 the wrong idea anyhow.
17048
17049Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
17050
17051 * configure.in: Remove h8300h, we have multilib now.
17052
17053Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
17054
17055 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
17056 functions, to get preference over the ones in libiberty (since we
17057 provide correct declarations in <string.h>.
17058 * libc/string/Makefile.in: add support for strncasecmp,
17059 strcasecmp.
17060
17061Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
17062
17063 * Change netware config not to look for cpu explicitly.
17064
17065Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
17066
17067 * libc/sys/sparc64/{creat.c,junk.c}: New files.
17068 * libc/sys/sparc64/Makefile.in: Add dependencies.
17069
17070Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
17071
17072 * configure.in: Clean up v9 a bit, new "os" aoutv8.
17073
17074Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
17075
17076 * libc/include/sys/reent.h: make structure smaller by allocating
17077 some stuff when needed.
17078 * libc/signal/signal.c: allocate as needed
17079 * libc/stdio/findfp.c,stdio/local.h: ditto
17080 * libc/stdlib/mprec.c: ditto
17081
17082 * libc/time/localtime.c: don't return a dangling stack ptr.
17083
17084Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
17085
17086 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
17087
17088Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17089
17090 * libc/include/stdio.h (__sputc): comment out static inline which
17091 confuses coff toolchains.
17092
17093Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
17094
17095 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
17096 _write.s, getpid.c, kill.c, read.s}:
17097 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
17098 through the syscalls directory.
17099
17100Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
17101
17102 * configure.in: fixed double quote gotcha.
17103
17104Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
17105
17106 * stub/ex931: stub library for sparclite board.
17107 * stub/idp: Renamed from mc68ec. Added contructor table
17108 stuff to linker script.
17109 * stub/mvme135: Renamed from m68kmvme. Added contructor table
17110 stuff to linker script.
17111
17112Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17113
17114 * configure.in: Configure testsuites only if they exist.
17115
17116Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17117
17118 * configure.in: Don't set machine_dir for i386 until there is
17119 something in libc/machine/i386 to compile. For i[34]86-*-netware*
17120 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
17121 CLOCK_PROVIDED and MALLOC_PROVIDED.
17122
17123 * libc/sys/netware: New directory. Contains simplistic and
17124 probably incorrect stubs for NetWare. Should be enough to load
17125 the library.
17126 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
17127 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
17128 stub files.
17129
17130 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
17131 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
17132 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
17133 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
17134
17135Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
17136
17137 * testsuite/Makefile.in: add "docs" dummy target for consistency
17138 with rest of newlib; turn "info" and "install-info" into dummy
17139 targets, since they wouldn't have worked. (Depended on
17140 nonexistent "doc" subdir.)
17141
17142Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17143
17144 * configure.in: handle mips* instead of mips
17145
17146Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
17147
17148 * libc/include/sys/dirent.h: New file. If it is not overridden by
17149 a version of libc/sys/*/sys/dirent.h, it includes the next
17150 <dirent.h> file in case there is one lurking somewhere.
17151
17152Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17153
17154 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
17155 compliance, namely: Accept a minus sign. Consider a single 0 with
17156 a radix of 0 as being a conversion. Determine overflow correctly.
17157 If an overflow occurs, set *ptr to the end of the number, not the
17158 middle.
17159 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
17160
17161Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
17162
17163 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
17164
17165Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
17166
17167 * Makefile.in (INSTALL): Use $srcrootpre.
17168 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
17169 can't handle it.
17170 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
17171 it.
17172 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
17173 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
17174 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
17175 * libm/math/Makefile.in (matherr.o): Ditto.
17176
17177Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17178
17179 * configure.in: Build multidirs for z8k.
17180 * libc/include/stdlib.h (_strtoul_r): add prototype.
17181 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
17182 * libc/include/machine/setjmp.h: Add for z8k.
17183 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
17184 * libc/sys/z8ksim/glue.c: tidy up.
17185
17186Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
17187
17188 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
17189 New files. Requires execve system call.
17190 * libc/unix/Makefile.in: Use them.
17191 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
17192 Deleted, moved to libc/unix.
17193 * libc/sys/sparc64/Makefile.in: Remove them.
17194
17195Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
17196
17197 * libc/sys/sparc64/{template.S template_r.S}: New files.
17198 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
17199 from templates.
17200 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
17201 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
17202 umask.S unlink.S wait4.S write.S}: Removed, now built from
17203 templates.
17204
17205Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
17206
17207 * libc/time/time.c: #include <_ansi.h>.
17208
17209Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
17210
17211 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
17212
17213Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17214
17215 * configure.in: match m8* rather than m88k so that m88110 is
17216 recognized as well.
17217
17218Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
17219
17220 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
17221 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
17222 misc.c: New file.
17223
17224 * configure.in: Add multilib support to h8300.
17225
17226Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
17227
17228 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
17229 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
17230 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
17231
17232Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17233
17234 * configure.in: Corrected multidirs for sparc target.
17235
17236Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17237
17238 Support for building newlib multiple times with different
17239 compilation flags.
17240 * configure.in: Only configure doc at top level. Set multidirs
17241 when appropriate for target, unless not at top level. If
17242 multidirs is set, independently configure each subdirectory.
17243 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17244 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17245 automagically set by configure.in.
17246 (all): If MULTIDIRS is set, build multiple copies of libraries.
17247 (install): If MULTIDIRS is set, install multiple copies of
17248 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17249 MULTISUBDIR is set, don't bother to install header files.
17250 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17251 ${srcrootpre}.
17252 * stub/configure.in: Set MULTISUBDIR appropriately.
17253 * stub/Makefile.in (install): Install in
17254 $(tooldir)/lib/$(MULTISUBDIR).
17255 * All Makefile.in files: Define SRCTOP as well as TOP.
17256
17257Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17258
17259 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17260 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17261
17262Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17263
17264 * libc/sys/h8300hms/exit.c (_exit): New function.
17265
17266Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17267
17268 * configure.in: recognize m88110.
17269
17270Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17271
17272 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17273 prototype main and call with args.
17274
17275Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17276
17277 First real try at system traps for m88k-bug.
17278 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17279 to real trap calls.
17280 * libc/sys/m88kbug/sys/systraps.h: new file.
17281
17282Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17283
17284 Patches to fix info building when target does not use sys
17285 directory.
17286 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17287 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17288 libc/sys.tex.
17289 * libc/sys/Makefile.in (doc): do nothing.
17290
17291Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17292
17293 * libc/Makefile.in (CRT0): new macro.
17294 (all): depend on $(CRT0) rather than crt0.o.
17295
17296 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17297 do not default crt0, instead, set crt0 and crt0_dir based on
17298 sys_dir and stub_dir.
17299
17300 * Makefile.in (CRT0_DIR): new macro.
17301 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17302 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17303 $(CRT0).
17304 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17305
17306Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17307
17c0c97d
EB
17308 * testsuite/lib/libm.exp:
17309 added code to support compiling and linking of tests for
17310 libm.sac (paranoia to be added next) and processing the
8a0efa53
CF
17311 pass or failure of the tests.
17312
17313 * testsuite/config/unix-libm.exp:
17314 platform specific proc's for dealing with compiler, linker
17315 and the way we execute and process the test results.
17316
17317 * testsuite/libm.sac/execute.exp:
17c0c97d 17318 generic framework for the sac tests. the config and lib
8a0efa53
CF
17319 expect code for specific platforms tie it all together.
17320
17321 * testsuite/libm.sac/test_is.c:
17322 changed the output of the test to be consistant with the
17323 other tests. parsing of pass nad fail messages is now fixed.
17324
17325Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
17326
17327 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
17328 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
17329 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
17330 #ifdef __cplusplus, surround by extern ""C { ... }.
17331 * libc/include/assert.h: Do *not* protect assert.h against
17332 multiple inclusion! Also, #undef it before #define, to allow
17333 redefinition.
17334 * libc/include/stdio.h (getlogin, cuserid): Removed. These
17335 should be only in unistd.h.
17336
17337 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
17338 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
17339 ... }.
17340
17341Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
17342
17343 * libc/machine/sparc/Makefile.in: Must create a library, even
17344 if empty.
17345
17346Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17347
17348 * configure.in: set machine_dir for m88k. edit crt0 definition
17349 into makefiles.
17350
17351 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
17352
17353 * libc/Makefile.in (all): also build crt0.o.
17354
17355 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
17356 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
17357 to remove CRT0.
17358
17359 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
17360 (all): reworked to build in place.
17361 (clean): remove lib.a
17362 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
17363
17364 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
17365 (_start): key off edata rather than _start_bss.
17366
17367Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
17368
17369 * libc/include/sys/unistd.h, libc/include/reent.h,
17370 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
17371
17372Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17373
17374 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
17375
17376 * Makefile.in (libc.a): break into two rules, one for libc.a and
17377 one for libc/libc.a. Force subdirs current before rebuilding
17378 library.
17379 (libm.a): break into two rules, one for libm.a and one for
17380 libm/libm.a. Force subdirs current before rebuilding library.
17381
17382 * libc/Makefile.in (SUBLIBS): fix typo.
17383
17384 * libc/sys/Makefile.in (all): force descent into subdirs, then
17385 rebuild library iff out of of date.
17386
17387Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17388
17389 Rework so that library is built and then finished rather than
17390 being built on each invocation of make.
17391
17392 * host/any (machine_dir, sys_dir, signal_dir): these are not
17393 shared and have been moved to their associated Makefile.in's.
17394 (AR_FLAGS): switch to qc which is faster.
17395 * configure.in: no longer assign machine_dir for m88k. set
17396 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
17397 stub_dir set, then add to configdirs. add comment about silly
17398 configuration.
17399 (configdirs): drop stub. It will be added only
17400 when needed.
17401 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
17402 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
17403 stub_lib, crt0): new variables for tailoring lower level
17404 makefiles. Assign accordingly and edit into makefiles.
17405 * libm/Makefile.in: updated copyright.
17406 (TARGETLIB): removed.
17407 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
17408 (SUBDIRS): removed TARGETDEP_DIRS.
17409 (LIBM_FP_LIB, SUBLIBS): new macros.
17410 (all): reworked.
17411 (force): new target to force rebuilds.
17412 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17413 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
17414 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
17415 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
17416 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
17417 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
17418 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
17419 stub/m68kmvme/Makefile.in: updated copyright.
17420 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
17421 (all): reworked. made this the default rule.
17422 (clean): also remove lib.a.
17423 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17424 * stub/Makefile.in: updated copyright.
17425 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
17426 (stub_lib): new macro.
17427 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
17428 RANLIB.
17429 (all): reworked.
17430 (clean, install): assume stub_dir exists.
17431 (Makefile): depend on configure.in. call $(SHELL) rather than
17432 sh. drop redundant ./
17433 * stub/configure.in (stublib): new macro, assign it, edit it into
17434 makefiles.
17435 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
17436 updated copyright.
17437 (all): reworked.
17438 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17439 * libc/Makefile.in (TARGETCRT0): removed.
17440 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
17441 TARGETCRT0.
17442 (SUBDIRS): drop TARGETDEP_DIRS.
17443 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
17444 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
17445 (force): new target to force rebuilds.
17446 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
17447 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
17448 removed.
17449 (clean): assume sys_dir always exists.
17450 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
17451 drop redundant ./
17452 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
17453 libc/locale/Makefile.in, libc/machine/Makefile.in,
17454 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
17455 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
17456 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
17457 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
17458 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
17459 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
17460 libc/signal/Makefile.in, libc/stdio/Makefile.in,
17461 libc/stdlib/Makefile.in, libc/string/Makefile.in,
17462 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
17463 libc/time/Makefile.in, libc/unix/Makefile.in,
17464 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
17465 (TARGETLIB): removed.
17466 (all): reworked.
17467 (clean): also remove lib.a.
17468 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17469 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
17470 new macros.
17471 (SUBDIRS): moved to follow frag inclusion, change stub to
17472 stub_dir.
17473 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
17474 are now set in the libc Makefile.
17475 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
17476 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
17477 TARGETCRT0.
17478 (force): new target to force rebuilds.
17479 * stub/configure.in: determine and set stub_lib for for Makefile.
17480
17481Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
17482
17483 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
17484 crt0.s renamed to crt0.S.
17485 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
17486
17487 * libc/machine/h8300/Makefile.in: Make `all' the default target.
17488 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
17489 h8300h.
17490 * libc/machine/h8300/defines.h: Add macros to handle pointers for
17491 h8300 (16 bits) and h8300h (32 bits).
17492 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
17493 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
17494
17495Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
17496
17497 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
17498 implementation of setjmp and longjmp for the m88k.
17499 * libc/include/machine/setjmp.h: Added __m88000__ case.
17500
17501Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
17502
17503 * configure.in: Recognize h8300h as variant of h8300.
17504
17505Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17506
17507 * libc/include/sys/unistd.h (read, write): get prototypes right.
17508 (sbrk): New prototype.
17509 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
17510 * libc/stdio/local.h: Include unistd.h.
17511 * libc/machine/h8300/syscalls.c: Names have changed.
17512
17513Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
17514
17515 * configure.in: add sys_dir assignment for m88k-bug.
17516
17517Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
17518
17519 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
17520 a.out or elf.
17521 * libc/sys/sparc64: all *.S files: Use new macros.
17522 * libc/sys/sparc64/isatty.c: New file.
17523 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
17524 functions beyond what newlib provides.
17525
17526Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
17527
17528 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
17529 svr4.
17530
17531Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
17532
17533 * libc/include/machine/ieeefp.h: Add support for h8/300h.
17534
17535Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
17536
17537 * configure.in: add m88k.
17538 * libc/include/machine/ieeefp.h: add case for m88k. Also add
17539 sanity check so no one else need ever chase what I did to find
17540 this.
17541
17542 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
17543
17544Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
17545
17546 * doc/makedoc.c: Include <ctype.h>.
17547
17548Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
17549
17550 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17551 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17552 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17553
17554 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
17555
17556Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
17557
17558 * libc/include/errno.h (ENOSYS): Added.
17559
17560 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
17561
17562Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17563
17564 * libc/stdio/fflush.c (fflush): Check for reent struct
17565 initialization.
17566 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
17567
17568Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
17569
17570 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
17571 out of dtoa.c so it doesn't pollute the namespace.
17572 * libc/include/_syslist.h: new file -- mappings from _function to
17573 function, for systems where we can't win (by default, all of them,
17574 until we start updating system calls.)
17575 * libc/syscalls: new directory -- stubs for exporting _function
17576 names as unmodified function names.
17577 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
17578 _syslist.h on all platforms by default, but put hooks in for
17579 fake_sys_dir so we can include it when we've renamed the system
17580 calls.
17581 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
17582 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
17583 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
17584 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
17585 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
17586 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
17587 non ANSI functions to call _function.
17588
17589Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
17590
17591 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
17592 when base 16 is specified. Don't accept non-digits if radix > 10.
17593
17594Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
17595
17596 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
17597
17598Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17599
17600 * libc/include/sys/stat.h: Surround text after #endif with
17601 comments.
17602
17603Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
17604
17605 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
17606 _malloc_r, _realloc_r, and free_r call the corresponding
17607 non-reentrant functions.
17608
17609 * libm/math/modf.c (modf): We now take the address of ipart, so
17610 don't make it a register variable.
17611
17612Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
17613
17614 * libm/math/*: Rename all xxx_r fns to _xxx_r.
17615
17616Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
17617
17618 * libc/libc.texinfo and embedded docn throughout: formatting
17619 improvements, minor rephrasing for clarity, and improved
17620 reentrancy docn.
17621
17622Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17623
17624 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17625
17626 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17627 where sizeof(int) != sizeof(long).
17628
17629Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17630
17631 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17632 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17633 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17634 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17635 libm/math/matherr.c: changes for better docn formatting (info).
17636
17637 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17638 libc/reent/reent.tex, libc/signal/signal.tex,
17639 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17640 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17641 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17642 makeinfo node defaulting to get better Info file node structure.
17643 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17644 Also include a few formerly missing sections (subroutines).
17645
17646 * doc/doc.str: delete fossil expansion for "func"
17647
17648 * default.menu, no-signal.menu: delete.
17649
17650 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17c0c97d 17651 method used to adjust doc for missing "signals" chapter when
8a0efa53
CF
17652 signal_dir is empty.
17653
17654Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17655
17656 * configure.in: added testsuite/libm.sac
17657
17658Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17659
17660 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17661 code model).
17662
17663Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17664
17665 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17666 MAKEOVERRIDES to be empty.
17667
17668Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17669
17670 * configure.in: Don't build mips-*-* with -msoft-float, since that
17671 makes it incompatible with hard floating point.
17672
17673Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17674
17675 * Makefile.in: added recursive 'make check'
17676
17677Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17678
17679 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17680 * ./testsuite/Makefile.in: created
17681 * ./testsuite/libm.paranoia: paranoia tests added
17682
17683Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17684
17685 * configure.in: For mips-*-* set machine_dir to mips.
17686
17687 * libc/machine/mips: New directory.
17688 * libc/machine/mips/Makefile.in: New file.
17689 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17690 setjmp and longjmp.
17691 * libc/include/machine/setjmp.h: Added __mips__ case.
17692
17693 * libc/machine/lmips: Removed unused and useless directory.
17694
17695Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17696
17697 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17698
17699Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17700
17701 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17702 start up).
17703
17704Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17705
17706 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17707 SETJMP_H.
17708
17709Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17710
17711 * libm/test/convert.c: structure member errno -> errno_val.
17712 Must include <errno.h> to use errno, it's a macro now.
17713 * libm/test/math.c: Ditto.
17714 * libm/test/math2.c: Include errno.h.
17715 * libm/test/string.c: Ditto.
17716 * libm/test/test.h: structure member errno -> errno_val.
17717 Remove extern int errno decl.
17718
17719Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17720
17721 * libc/stdio/Makefile.in: Added dependencies on local header
17722 files.
17723 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17724 files.
17725
17726Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17727
17728 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17729
17730Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17731
17732 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17733 Initialize _data.
17734
17735 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17736 * libc/stdio/local.h: Add prototype for _licvt.
17737
17738 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17739 instead of malloc,reealloc.
17740
17741 * libc/stdlib/local.h: New file.
17742 * libc/stdlib/efgcvt.c: #include local.h.
17743 (gcvt): Fix call to _gcvt.
17744 * libc/stdlib/ecvtbuf.c: #include local.h.
17745
17746 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17747 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17748 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17749
17750 * libc/stdlib/atexit.c: moved global data to struct _reent.
17751 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17752
17753 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17754
17755Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17756
17757 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17758 here from ../reent.h.
17759
17760Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17761
17762 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17763 should be provided in both libc.a and libm.a.
17764 (libc.a): Depend on targ-include and libm.a. Copy
17765 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17766 (libm.a): Depend on targ-include.
17767 * configure.in (subdirs): Removed libc/math.
17768
17769Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17770
17771 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17772
17773Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17774
17775 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17776 sys/reent.h instead of reent.h.
17777 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17c0c97d 17778 headers moved to sys/reent.h.
8a0efa53
CF
17779 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17780 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17781 __need__MAX_SIGNALS defined.
17782 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17783 std{in,out,err} refer to new _std{in,out,err} members.
17784
17785Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17786
17787 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17788 case.
17789
17790Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17791
17792 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17793 rather than whatever macro seterrno() has.
17794
17795Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17796
17797 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17798 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17799
17800 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17801 __STDC__.
17802
17803 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17804 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17805 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17806
17807 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17808 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17809
17810 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17811 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17812 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17813 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17814 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17815 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17816 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17817 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17818 for ANSI. structure members given leading "_" for ANSI. Use
17819 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17820
17821 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17822 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17823 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17824 reent_struct renamed to struct _reent for ANSI.
17825 Structure members given leading "_" for ANSI.
17826 _CONST --> const in prototypes.
17827 Use _HAVE_STDC instead of __STDC__.
17828
17829 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17830 _xxx_r.
17831 struct reent_struct renamed to struct _reent for ANSI.
17832 Structure members given leading "_" for ANSI.
17833
17834 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17835 _xxx_r.
17836 struct reent_struct renamed to struct _reent for ANSI.
17837
17838 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17839 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17840 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17841 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17842 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17843
17844 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17845 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17846 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17847 #ifndef _STRICT_ANSI non-ANSI routines.
17848 Reentrant routines renamed from _r_xxx to _xxx_r.
17849 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17850 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17851 Clean up namespace (structure members have leading "_").
17852 struct reent_struct renamed to struct _reent for ANSI compliance.
17853 _CONST --> const in function prototypes.
17854
17855 * libc/include/string.h: Add NULL and size_t.
17856
17857 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17858 unlink, wait, wait4. Reentrant syscall routines close, fork,
17859 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17860 write.
17861 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17862 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17863 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17864 write.S}: Define reentrant versions.
17865 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17866 reentrant syscalls.
17867
17868 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17869
17870 * libc/include/stdlib.h (RAND_MAX): Fix value.
17871
17872Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17873
17874 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17875 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17876 VPATH support targets after all: target.
17877
17878 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17879 exceptionHandler, which is what mvme135-stub.c expects.
17880
17881Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
17882
17883 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
17884
17885 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
17886 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
17887 compliant).
17888
17889Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
17890
17891 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
17892 first.
17893 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
17894 _r_write): Ditto.
17895 libc/reent/fstatr.c (_r_fstat): Ditto.
17896 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
17897 libc/reent/sbrkr.c (_r_sbrk): Ditto.
17898 libc/reent/statr.c (_r_stat): Ditto.
17899
17900 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
17901 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
17902 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
17903 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
17904 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
17905 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
17906 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
17907 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
17908 (__swrite): Ditto for _r_lseek, _r_write.
17909 (__sseek): Ditto for _r_lseek.
17910 (__close): Ditto for _r_close.
17911 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
17912
17913 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
17914 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17915
17916 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17917 to make reent_struct the first argument (and thus consistent with
17918 the rest of newlib).
17919
17920 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17921 reference to __STDC__.
17922
17923Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17924
17925 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
ba3ccd63 17926 global __cleanup.
8a0efa53
CF
17927
17928Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17929
17930 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17931 first.
17932 libc/stdio/fclose.c (fclose): Ditto.
17933
17934Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
17935
17936 * Run through indent and rename reentrant routines for ANSI.
17937 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
17938 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
17939 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
17940 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
17941 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
17942 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
17943 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
17944 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
17945 vsprintf.c wbuf.c wsetup.c local.h}
17946
17947 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
17948
17949 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
17950 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
17951 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
17952 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
17953 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
17954 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
17955
17956 * Run through indent.
17957 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
17958 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
17959 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
17960 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
17961 strxfrm.c}
17962
17963 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
17964 localtime.c mktime.c strftime.c time.c}:
17965 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
17966
17967 * Reformatting + renaming (for ANSI, GNU style, consistency).
17968 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
17969 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
17970 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
17971
17972Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
17973
17974 * libc/include/stdio.h (stdin_r): Fix.
17975
17976Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
17977
17978 * Makefile.in: Unexport some variables to keep GNU make from
17979 putting them in the environment and using up needed ARG_MAX space
17980 (a hack is used to let this work with older makes as well).
17981
17982Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
17983
17984 * Makefile.in: Use $(MAKE) rather than make.
17985 (MAKEOVERRIDES): Define to be empty.
17986 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17987 (libc.a, libm.a): Depend on targ-include.
17988 * host/any (LD): Don't define.
17c0c97d 17989 (INCLUDES): Use targ-include.
8a0efa53
CF
17990 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
17991 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17992 * libc/Makefile.in: Use $(MAKE) rather than make.
17993 (MAKEOVERRIDES): Define to be empty.
17994 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17995 (all): Rewrote to be slightly smaller.
17996 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
17997 Define to be empty.
17998 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17999 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
18000
18001Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
18002
18003 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
18004 with errno/errno.c.
18005
18006Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
18007
18008 * Changes for reentrancy.
18009 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
18010 Use ptr->_errno, not errno.
18011 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
18012 libc/stdio/remove.c (remove_r): New function.
18013 libc/stdio/rename.c (rename_r): New function.
18014 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18015 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
18016 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
18017 reentrant versions of system calls.
18018 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
18019 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
18020 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
18021 libc/stdio/findfp.c: Include <string.h>.
18022 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
18023 "local.h".
18024 libc/stdio/wbuf.c: Include "fvwrite.h"
18025
18026 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
18027 <string.h>.
18028 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
18029 (NULL): Don't define if already defined.
18030 libc/stdlib/system.c: Call reentrant versions of system calls.
18031 (system_r): New function.
18032
18033 * Changes for reentrancy.
18034 libc/include/_ansi.h (_PARAMS): New macro.
18035 libc/include/errno.h: Define errno as a macro that calls __errno.
18036 (__errno_r): New macro for reentrant code.
18037 libc/include/math.h: Include reent.h. Declare many reentrant
18038 functions.
18039 (signgam): Now a macro, not a variable.
18040 (struct exception): Added err field.
18041 libc/include/reent.h: Don't declare __sglue. Added function
18042 declarations.
18043 (struct reent_struct): Moved errno to beginning. Added _signgam.
18044 libc/include/stdio.h, libc/include/stdlib.h: Added function
18045 declarations.
18046
18047 * More reentrancy hacking.
18048 libc/errno/errno.c (__errno): New function.
18049 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
18050 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
18051 files.
17c0c97d 18052
8a0efa53
CF
18053 * Added many new reentrant functions to libm/math/*.
18054 libm/math/error.c (__matherror): Added reent_struct pointer
18055 argument. Changed all callers.
18056 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
18057 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
18058 libm/math/tan.h: Removed obsolete unused header files.
18059
18060 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
18061
18062 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
18063
18064Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18065
18066 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
18067 delay slots.
18068
18069Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18070
ba3ccd63 18071 * libc/libc.texinfo: comment out reentrancy chapter (duh)
8a0efa53
CF
18072
18073Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18074
ba3ccd63 18075 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18076 newlib/libc/libc.texinfo)
18077 * libc/stdio/tmpnam.c: fixed doc typo
18078 * libc/stdlib/rand.c: fixed doc typo
18079
18080Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18081
ba3ccd63 18082 * libc/reent/reent.tex: New file. (text from
8a0efa53
CF
18083 newlib/libc/libc.texinfo)
18084
18085Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18086
18087 support for reentrancy
18088 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
18089 new files
18090 * libc/errno/errno.c, libc/include/ieeefp.h,
18091 libc/include/locale.h, libc/include/reent.h,
18092 libc/include/signal.h, libc/include/stdio.h,
18093 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
18094 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
18095 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
18096 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
18097 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18098 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
18099 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
18100 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
18101 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
18102 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
18103 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
18104 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
18105 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
18106 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
18107 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
18108 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
18109 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
18110 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
18111 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
18112 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
18113 libc/time/strftime.c: modify to provide reentracy.
18114
18115 new routines:
18116 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
18117 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
18118 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
18119 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
18120 mstats_r, realloc_r, localeconv_r, setlocale_r
18121
18122Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
18123
18124 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
18125 libc/include/sys/config.h, libc/include/sys/signal.h,
18126 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
18127 provided macros (such as m68000), use the ansi version
18128 (__m68000__) so that the library can be used with code compiled
18129 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
18130 and sparc.
18131
18132Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
18133
18134 * configure.in (sparc*): Don't set -fsoft-float for sparc
18135 configurations. Do set -fsoft-float for sparclite configurations.
18136
18137Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
18138
18139 * default.menu, no-signal.menu: alternate forms of libc main menu
ba3ccd63 18140 (in newlib rather than newlib/libc due to configuration restrictions)
8a0efa53
CF
18141
18142 * configure.in: select one of the two menus above, link to
18143 libc.menu
18144
ba3ccd63 18145 * libc/libc.texinfo: include menu from separate file
8a0efa53
CF
18146
18147Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
18148
18149 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
18150 (info): Split long shell command in half.
17c0c97d
EB
18151 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
18152 sub-makes, just CHEW and TARGETDOC.
8a0efa53
CF
18153 (targetdep.tex): Removed now special handling of sys and machine
18154 subdirectories, made obsolete some time ago.
18155 * libc/machine/Makefile.in (doc): Don't pass everything to
18156 sub-make, just CHEW and TARGETDOC.
18157 (Makefile): New target.
18158 * libc/sys/Makefile.in (Makefile): New target.
18159
18160Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
18161
18162 * Makefile.in (here and most subdirectories): Only pass down CHEW
18163 and TARGETDOC when making info, not for other targets.
18164
18165 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
18166 $(AR_FLAGS) rather than $(ARUPDATE).
18167
18168Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
18169
18170 * Try to reduce command line length:
18171 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
18172 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
18173 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
18174 (info): Pass CHEW to other subdirs.
18175
18176Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
18177
18178 * configure.in: add signal_dir, like unix_dir, but by default it
18179 is set to "signal" so that a29khif can turn it off (since a29khif
18180 has raise() as part of machine-specific signal.s.)
18181
18182Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18183
18184 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
18185 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
18186 correctly.
18187 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
18188 libc/stdio/vfprintf: type lint.
18189 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
18190 initialzation code.
18191 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
18192
18193Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
18194
18195 * stub/mvme135/mvme135-asm.S: new file.
18196 stub/mvme135mvme135-stub.c: moved all assembler routines into
18197 mvme135-asm.S.
18198 stub/mvme135/Makefile.in: build mvme135-stub.o.
18199
18200Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
18201
18202 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
18203 sub-Makefiles instead, to try to avoid line length limitations.
18204
18205Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
18206
18207 * libc/include/unistd.h (read, write): Use void* instead of
18208 char*.
18209
18210Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
18211
18212 * stub/go32/resetpc: sample script to send a reset packet to the
18213 stub
18214
18215 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
18216 DOS environment, which compiles with Turbo C.
18217
18218 * stub/go32/DSER32.LNK: new file, linker commands for serial
ba3ccd63 18219 remote stub.
8a0efa53
CF
18220
18221 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
18222 start up message to identify version; call set_debug_traps.
18223
18224 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
18225 keyboard interaction); call handle_exception() in go_til_stop,
18226 rather than return, so that the remote stub gets control.
18227
18228 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
18229 rename, rather than mv), set flags that work with current Turbo C,
18230 including using the /3 flag; also, add commands to build dser32.
18231
18232 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18233 default Turbo C installation (\tc rather than \usr)
18234
18235 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
ba3ccd63 18236 "&..."
8a0efa53
CF
18237
18238Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18239
18240 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18241
18242Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18243
18244 * libc/stdio/cvt.c (licvt): new function to convert ints when
18245 sizeof(int) != sizeof(long).
18246
18247 * libc/include/stdio.h: added prototype for iprintf.
18248 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18249
18250Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18251
18252 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18253 __REGISTER_PREFIX__.
18254
18255Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18256
18257 * libc/sys/m68kbare: moved into stub directory.
18258
18259Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18260
18261 * configure.in, Makefile.in: created new directory stub, to hold
18262 sample code for specific targets.
18263
18264Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18265
18266 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18267 in the unified libc/include/sys/fcntl.h.
18268
18269Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18270
18271 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18272 printed .01, not 0.01.
18273
18274Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18275
18276 * configure.in: compile with -m68000 for m68* targets.
18277
18278Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18279
18280 * libm/math/remainder.c (remainder): document the svr4 and sunos
18281 references used to construct the function.
18282
18283Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18284
18285 * libm/math/remainder.c (rint, remainder): fix old typos.
18286 * libm/math/Makefile.in: actually build remainder.c (functions
18287 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18288 page.)
18289
18290Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18291
18292 * libc/string/bcopy.c: BSD version works on overlapping strings,
18293 so ours should too.
18294
18295 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18296 ("SHELL").
18297
18298Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18299
18300 * Makefile.in (docs): new target.
18301
18302Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18303
18304 * libc/include/sys/times.h: define clock_t as required by POSIX.
18305 libc/include/time.h: protect clock_t from multiple definitions.
18306
18307Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18308
18309 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18310 does not need more than the original three iterations to get
18311 within 1 ulp. (Paranoia tests for rounding to better than that,
18312 but further iterations *don't* help, only more subtle changes
18313 can.)
18314
18315Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
18316
18317 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
18318 were doing nothing useful.
18319
18320Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
18321
18322 * configure.in: define MALLOC_PROVIDED for vxworks targets;
18323 removed sys_dir settings of vxworks68 and vxworks960.
18324 host/any: don't pass -nostdinc to gcc, since newlib no longer
18325 provides all required header files.
18326
18327 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
18328 is not defined; this provides a hook for VxWorks.
18329
18330Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18331
18332 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
18333 buffer if buf is NULL, don't do it here -- it is already being
18334 done by makebuf elsewhere in stdio.
18335
18336Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
18337
18338 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
18339 that C programs can call functions without using initial
18340 underscores.
18341
18342Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
18343
18344 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
18345
18346Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
18347
18348 * configure.in: set TARGET_CFLAGS for certain CPU types to
18349 -msoft-float.
18350
18351Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18352
18353 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
18354
18355Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
18356
18357 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
18358 m68k*-unknown-coff.
18359
18360Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
18361
18362 * libc/include/stdio.h: define __need___va_list before including
18363 <stdarg.h>, to avoid defining va_arg, et. al.
18364
18365Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
18366
18367 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
18368 (don't cd to the user's home directory).
18369
18370 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
18371 In general this is the wrong thing to do, but I can't get around
18372 GNU make's insistence on passing command line arguments any other
18373 way.
18374
18375Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
18376
18377 * configure.in: always configure the libc/sys directory, since it
18378 now provides a required documentation file.
18379
18380 * Makefile.in: replaced all instances of $(MAKE) with make. In
18381 general this is the wrong thing to do, but I can't get around GNU
18382 make's insistence on passing command line arguments any other way.
18383
18384Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
18385
18386 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
18387 terminated.
18388
18389 * libc/stdio/local.h: include <stdarg.h> to define va_list.
18390 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
18391
18392 * libc/include/float.h, libc/include/stdarg.h,
18393 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
18394 versions instead.
18395 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
18396 <stdarg.h>, not from <machine/types.h>. Protect definition of
18397 NULL.
18398 libc/include/time.h: get size_t from stddef.h. Protect definition
18399 of NULL.
18400 libc/include/machine/limits.h: override gcc <limits.h> by defining
18401 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
18402 get correct INT_MIN and LONG_LONG values.
18403 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
18404 size_t or va_list at all; they're now gotten from stddef.h
18405 instead.
18406 libc/include/machine/varargs.h: removed; use gcc version instead.
18407 libc/include/sys/types.h: explicitly include <machine/types.h>.
18408
18409 * libm/math/sqrt.h: using the fp-bit routines appears to require
18410 more iterations.
18411
18412 * Makefile.in, host/any: let system include files override machine
18413 include files.
18414
18415Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18416
18417 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
18418 override _*_T_ definitions defaulted here.
18419
18420Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
18421
18422 * Makefile.in (install): install the include files in
18423 $(tooldir)/include, not $(exec_prefix)/include.
18424
18425Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
18426
18427 * Makefile.in (install): fixed typo, and changed install to not
18428 force rebuild of libc.a and libm.a.
18429
18430Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
18431
18432 * libc/sys/a29khif/*: Changed all .include's to include
18433 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
18434 that they will be installed for the user.
18435
18436 * Makefile.in (all): create targ-include, a directory holding the
18437 machine and system specific header files during the build.
18438 (install): fixed installation of machine and system specific
18439 header files.
18440
18441 * Makefile.in: fixed comment.
18442 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
18443 we can pass $(INCLUDES) to it.
18444
18445Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
18446
18447 * libc/include/sys/param.h: new generic file, which may be
18448 overridden for specific systems.
18449
18450 * libc/include/sys/signal.h: define all ANSI signal names, and
18451 NSIG (which is not ANSI) for a29k.
18452
18453Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
18454
18455 * Makefile.in: don't pass down arguments the lower level makes
18456 will not need.
18457 * libc/Makefile.in: recurse directly, rather than using subdir_do,
18458 in hopes of avoiding argument length limits.
18459 * libm/Makefile.in: recurse directly, rather using subdir_do, in
18460 hopes of avoiding argument length limits.
18461
18462Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
18463
18464 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
18465 mode_t is defined.
18466
18467Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
18468
18469 * Fixed make info and make install-info for newlib, changing most
18470 Makefile.in and several *.tex files. Moved doc directory from
18471 libc to top level.
18472
18473 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
18474 Should be rewritten.
18475
18476 * libc/string/strings.tex: renamed node index to node index
18477 function, so that it does not conflict with the top level index
18478 node.
18479
18480 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
18481
18482Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
18483
18484 * Overhauled general configuration for newlib. Eliminated all
18485 target dependent Makefile fragments. Create libraries in newlib
18486 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
18487 than CROSS_CC, et. al. Broke make docs; will fix later.
18488
18489 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
18490 Should be rewritten.
18491
18492Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
18493
18494 * libc/configure.in: cleaned up somewhat; switch on ${target}
18495 rather than ${target_alias}.
17c0c97d 18496 * libm/configure.in: cleaned up somewhat; switch on ${target}
8a0efa53
CF
18497 rather than ${target_alias}.
18498
18499 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
18500 * libc/include/ctype.h: marked _ctype_ as _CONST.
18501
18502 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
18503 _CONST.
18504
18505 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
18506 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
18507 libc/stdio/gets.c (gets): removed non-ANSI warning message.
18508 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
18509
18510 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
18511 bigtens, tinytens): marked arrays _CONST.
18512 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
18513 rather than a static variable.
18514
18515 * libc/time/asctime.c (asctime), libc/time/localtime.c
18516 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
18517 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
18518 mname_len, mname): Marked static arrays _CONST.
18519
18520 * libm/math/gamma.h: made local variables non-static.
18521
18522 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
18523 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
18524 _CONST.
18525
18526 * libm/math/constants.c: removed file, because the constants it
18527 defined were never referenced.
18528 libm/math/Makefile.in: removed references to constants.c.
18529 libm/math/mathimpl.h: removed declarations of constants.
18530
18531Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
18532
18533 * libc/include/machine/varargs.h: only call __builtin_saveregs if
18534 it is sensibly defined in libgcc2. Checks preprocessor defines,
18535 which is not a good solution.
18536
18537 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
18538
18539 * libm/frexp.c: handle denormalized numbers as arguments.
18540
18541 * libm/math/Makefile.in: added some dependencies for .c files
18542 which include local .h files.
18543
18544Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
18545
18546 * libc/configure.in: set target_alias for OSE*. Replace
18547 target_makefile_frag if it is blank.
18548
18549 * libc/Makefile.in: make sure everything is passed to subsidiary
18550 makes; create all directories when installing.
18551
18552 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
18553 CROSS_ARUPDATE instead of AR.
18554
18555 * libm/configure.in: set target_alias for OSE*. Replace
18556 target_makefile_frag if it is blank.
18557
18558 * libm/Makefile.in: make sure everything is passed to subsidiary
18559 makes; create all directories when installing.
18560
18561Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
18562
ba3ccd63 18563 * add following change from libc copy.
8a0efa53
CF
18564
18565Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18566
18567 * libc/libc.texinfo: make copyright disclaimers appear on back of
18568 title page; make format of same slightly less ugly; avoid using
18569 underbars in section headings (avoids nasty texinfo bug in table
18570 of contents).
18571
18572 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
18573 comments only) avoid using underbars in section headings
18574
18575 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18576 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
18577 changes in comments only): shorten headings ieeefp/infinity.c,
18578 ieeefp/isnan.c: (doc, comments only) more informative headings
18579
18580 * libc/math/bessel.c: (doc, comments only) shorten heading
18581
18582 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
18583 (doc, comments only) shorten headings
18584
18585 * libc/time/localtime.c (doc, comments only): shorten headings
18586
18587 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18588 isnan
18589 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
18590 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
18591 headings
18592 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
18593 only) more informative headings
18594 * libm/math/bessel.c: (doc, comments only) shorten heading
18595
18596Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18597
18598 * .../Makefile.in: use CROSS_ARUPDATE consistently.
18599 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
18600 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
18601 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
18602 defined, the one from the .mt file will be correct.
18603 * libc/include/machine, libc/include/sys: created, and populated
18604 with common files from machine/*/machine. ifdefs were used for
18605 most, typically by handling exceptions first and then filling in
18606 defaults. Files with D.J. Delorie copyright #included rather than
18607 copied. Most files in include/sys really were the same in the
18608 original.
18609 * libc/include/...: cleaned up use of _EXFUN.
18610 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
18611 it with double quotes, not angles.
18612
18613Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
18614
18615 * libc/Makefile.in: always create installation directories.
18616
18617Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18618
18619 * libc/configure.in: handle host properly (using canonical
18620 triples), better error message for the case of target not found
18621
18622Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18623
18624 * libc/Makefile.in (insincdir): Ensure this directory exists
18625 before attempting installation.
18626
18627Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18628
18629 * libc/stdlib/assert.c: now calls abort like it should
18630 * libc/sys/a29khif: many many patches for 29khif work
18631 * libc/machine/i386: gnulib2 expanded there.
18632
18633Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18634
ba3ccd63 18635 Added accurate fp conversion routines to stdlib, moved dcvt from
8a0efa53
CF
18636 stdio to stdlib and called it ecvtbuf:
18637 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18638 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18639 routines
18640 * libc/libc.texinfo: Modifed to include the copyright info from
18641 the mprec files
18642 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18643 * libc/test/ : many vector which tested for the implementation
18644 defined returns of strange conversion requests have been updated
18645 to relflect the new implementation
18646
18647Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18648
18649 * libc/libc.texinfo: new chapter on variable arg lists
18650 (stdarg.h/varargs.h)
18651 * libc/libc.texinfo: new title
18652 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18653 (doc only) shorter headings for better formatting.
18654
18655Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18656
18657 * libc/libc.texinfo: three more info menu entries
18658 * libc/locale/locale.tex: new chapter
18659 * libc/locale/locale.c: new doc for setlocale, localeconv
18660 * libc/locale/Makefile.in: use new locale doc
18661 * libc/signal/signal.tex: new chapter
18662 * libc/signal/raise.c, libc/signal/signal.c: new doc
18663 * libc/signal/Makefile.in: use new doc
18664 * libc/time/time.tex: new chapter
18665 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18666 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18667 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18668 * libc/time/Makefile.in: use new doc
18669
18670Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18671
18672 * libm/math/log1p.c: split to use the new function way of float
18673 function definition. math/log1p.h deleted
18674 * libm/math/scalb.c: obsolete and deleted
18675 * libm/math/scalbn.c: created from part log1p.c
18676 * libm/math/Makefile.in: know about log1p and scalbn
18677
18678Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18679
18680 * libc/ctype/isupper.c: revise doc;
18681 libc/ctype/ctype.tex: use doc from isupper.c
18682
18683 * libc/string/bzero.c: new doc
18684
18685Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18686
18687 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18688 new doc
18689 * libc/stdlib/Makefile.in: extract new doc
18690 * libc/stdlib/stdlib.tex: use new doc
18691
18692 * libc/string/strerror.c: expanded doc.
18693
18694 * libc/stdio/Makefile.in: extract doc from more files
18695 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18696 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18697 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18698 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18699 libc/stdio/vsprintf.c: new doc
18700 * libc/stdio/stdio.tex: use new doc
18701
18702Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18703
18704 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18705 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18706 finitef functions.
18707 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18708 time ago.
18709
18710 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18711 * libc/stdio/setbuf.c: added ansi style definition.
18712 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18713 buffer if none provided.
18714 * libc/stdio/tmpfile.c: lint
18715 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18716 rather than using static, also make sure file isn't already
18717 present. Uses P_tmpdir. (tempnam): rewritten to use new
18718 subroutine, and uses P_tmpdir.
18719 * libc/stdio/siprintf.c: created
18720
18721Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18722
18723 Release 1.03 for NEC, major mods. Main differences from release
18724 1.02::
18725
18726 More tests in test/:
18727 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18728 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18729 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18730 get/set mask, get/set sticky and get/set roundtoi. Tests
18731 that setting the bits changes the way arithmetic is done.
18732 * string.c: added test to make sure memcmp does it with unsigned
18733 chars.
18734 * test.c: cleaned up and removed lint.
18735 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18736 dvec.c: tests for string to value conversions, sprintf, scanf,
18737 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18738 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18739 rounding in sprintf too.
18740 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18741 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18742 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18743 and function form.
18744 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18745 powf
18746
18747 In the library:
18748 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18749 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18750 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18751 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18752 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18753 than sprintf.
17c0c97d 18754 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
8a0efa53
CF
18755 * Method of producting float versions of double functions has
18756 changed, functions will be modified gradually. So far:
18757 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18758 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18759 altered
18760 * libc/string/memcmp.c: now uses unsigned chars
18761 * libc/string/bcmp.c, libc/string/strcpy.c,
18762 libc/stsring/strxfrm.c: fixed doc
18763 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18764\f
18765Local Variables:
18766version-control: never
18767End:
This page took 2.213338 seconds and 5 git commands to generate.