]> sourceware.org Git - newlib-cygwin.git/blob - newlib/ChangeLog
2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
[newlib-cygwin.git] / newlib / ChangeLog
1 2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
2
3 * libc/machine/spu/strlen.c: Remove the len variable and unneeded
4 calculation of its value.
5
6 2008-01-25 Hans-Peter Nilsson <hp@bitrange.com>
7
8 * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
9 Make ISO C.
10
11 2008-01-21 DJ Delorie <dj@redhat.com>
12
13 * libc/sys/sh/syscalls.c (_isatty): New.
14
15 2008-01-21 Neal H. Walfield <neal@gnu.org>
16
17 * Makefile.am (crt1.o): Use correct source.
18 * Makefile.in: Regenerated.
19
20 2008-01-15 Eric Blake <ebb9@byu.net>
21
22 * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
23 * libc/string/Makefile: Regenerate.
24
25 2008-01-15 Corinna Vinschen <corinna@vinschen.de>
26
27 * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
28 pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
29 (sigsetjmp): Use __SIGMASK_FUNC.
30 (siglongjmp): Ditto.
31 (_setjmp): Define as macro.
32 (_longjmp): Ditto.
33
34 2008-01-11 Eric Blake <ebb9@byu.net>
35
36 Make strstr and strcasestr O(n), not O(n^2); add memmem.
37 * libc/string/str-two-way.h: New file.
38 * libc/string/memmem.c (memmem): New file.
39 * libc/include/string.h (memmem): Declare for all platforms.
40 * libc/string/strstr.c (strstr): Provide O(n) implementation when
41 not optimizing for space.
42 * libc/string/strcasestr.c (strcasestr): Likewise.
43 * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
44 (ELIX_2_SOURCES): ...this.
45 (ELIX_4_SOURCES): New category, for memmem.
46 (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
47 (CHEWOUT_FILES): Build documentation for memmem.
48 * libc/string/strings.tex: Include new docs.
49
50 2008-01-08 Jeff Johnston <jjohnstn@redhat.com>
51
52 * libc/machine/m68k/memcpy.S: Remove % from register references
53 as this is already handled by m68kasm.h.
54 * libc/machine/m68k/memset.S: Ditto.
55
56 2008-01-07 Jeff Johnston <jjohnstn@redhat.com>
57
58 * libc/machine/m68k/m68kasm.h: New file.
59 * libc/machine/m68k/setjmp.S: Remove common definitions and
60 place in m68kasm.h. Include "m68kasm.h".
61 * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
62 SYM() macro when referencing function name.
63 * libc/machine/m68k/memset.S: Ditto.
64
65 2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
66
67 Make isatty syscall handling consistent with other newlib syscalls.
68
69 * libc/include/_syslist.h: Add _isatty.
70 * libc/include/reent.h: Add _isatty_r.
71 * libc/include/sys/unistd.h: Add _isatty.
72 * libc/posix/Makefile.am: Add new _isatty.c file.
73 * libc/posix/Makefile.in: Regenerated.
74 * libc/posix/_isatty.c: New file.
75 * libc/posix/isatty.c: Changed to call _isatty().
76 * libc/reent/Makefile.am: Add new isattyr.c file.
77 * libc/reent/Makefile.in: Regenerated.
78 * libc/reent/isattyr.c: New file.
79 * libc/stdio/freopen.c: Changed to call _isatty_r().
80 * libc/stdio/makebuf.c: Ditto.
81 * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
82 * libc/sys/arc/isatty.c: Ditto.
83 * libc/sys/arm/syscalls.c: Ditto.
84 * libc/sys/d10v/syscalls.c: Ditto.
85 * libc/sys/h8300hms/syscalls.c: Ditto.
86 * libc/sys/h8500hms/syscalls.c: Ditto.
87 * libc/sys/linux/Makefile.am: Add new isatty.c file.
88 * libc/sys/linux/Makefile.in: Regenerated.
89 * libc/sys/linux/isatty.c: New file.
90 * libc/syscalls/Makefile.am: Add new sysisatty.c file.
91 * libc/syscalls/Makefile.in: Regenerated.
92 * libc/syscalls/sysisatty.c: New file.
93
94 2008-01-02 Jeff Johnston <jjohnstn@redhat.com>
95
96 * libc/syscalls/sysclose.c: Always call reentrant version of the
97 underlying syscall since one is guaranteed to exist in libc/reent.
98 * libc/syscalls/sysexecve.c: Ditto.
99 * libc/syscalls/sysfcntl.c: Ditto.
100 * libc/syscalls/sysfork.c: Ditto.
101 * libc/syscalls/sysfstat.c: Ditto.
102 * libc/syscalls/sysgetpid.c: Ditto.
103 * libc/syscalls/sysgettod.c: Ditto.
104 * libc/syscalls/syskill.c: Ditto.
105 * libc/syscalls/syslink.c: Ditto.
106 * libc/syscalls/syslseek.c: Ditto.
107 * libc/syscalls/sysopen.c: Ditto.
108 * libc/syscalls/sysread.c: Ditto.
109 * libc/syscalls/syssbrk.c: Ditto.
110 * libc/syscalls/sysstat.c: Ditto.
111 * libc/syscalls/systimes.c: Ditto.
112 * libc/syscalls/sysunlink.c: Ditto.
113 * libc/syscalls/syswait.c: Ditto.
114 * libc/syscalls/syswrite.c: Ditto.
115
116 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
117
118 * NEWS: Update with 1.16.0 info.
119 * README: Ditto.
120 * acinclude.m4: Change version number to 1.16.0.
121 * aclocal.m4: Regenerated.
122 * configure: Ditto.
123 * doc/aclocal.m4: Ditto.
124 * doc/configure: Ditto.
125 * libc/*/aclocal.m4: Ditto.
126 * libc/*/configure: Ditto.
127 * libc/libc.texinfo: Ditto.
128 * libm/*/aclocal.m4: Ditto.
129 * libm/*/configure: Ditto.
130 * libm/libm.texinfo: Ditto.
131 * libc/sys/linux/shared.ld: Add VERS_1.16.
132
133 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
134
135 * libc/string/strcasestr.c: Remove id macro.
136 * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
137 field reference to be __sched_priority.
138 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
139 * libc/sys/linux/linuxthreads/manager.c: Ditto.
140 * libc/sys/linux/stdlib/collate.c: Remove id macro.
141 * libc/sys/linux/stdlib/collcmp.c: Ditto.
142 * libc/sys/linux/stdlib/engine.c: Ditto.
143 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
144 * libc/sys/linux/stdlib/glob.c: Ditto.
145 * libc/sys/linux/stdlib/reallocf.c: Ditto.
146 * libc/sys/linux/stdlib/regcomp.c: Ditto.
147 * libc/sys/linux/stdlib/regerror.c: Ditto.
148 * libc/sys/linux/stdlib/regexec.c: Ditto.
149 * libc/sys/linux/stdlib/regfree.c: Ditto.
150 * libc/sys/linux/sys/cdefs.h: Replace with latest version.
151 * libc/sys/linux/include/argp.h: Ditto.
152 * libc/sys/linux/sys/libc-lock.h: New file.
153 * libc/sys/linux/sys/stdint.h: Ditto.
154 * libc/sys/linux/include/sched.h: New file.
155
156 2007-12-19 Dave Korn <dave.korn@artimi.com>
157 Jeff Johnston <jjohnstn@redhhat.com>
158
159 * libc/include/_ansi.h: Add _LONG_LONG definition.
160 * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
161 prototypes.
162 * libc/machine/i386/machine/fastmath.h: Add support for new i386
163 fast math versions of rint, lrint, and llrint family functions.
164 * libm/machine/i386/Makefile.am: Add new files.
165 * libm/machine/i386/Makefile.in: Regenerated.
166 * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
167 libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
168 libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
169 libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
170 libm/machine/i386/f_rintl.c: New files with fast math implementations.
171
172 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
173
174 * libc/include/sys/features.h: Add checks for C90 compilers using
175 -ansi.
176
177 2007-12-19 Corinna Vinschen <corinna@vinschen.de>
178
179 * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
180 * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
181 wcpncpy.c.
182 (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
183 * libc/string/Makefile.in: Regenerate.
184 * libc/string/wcpcpy.c: New file.
185 * libc/string/wcpncpy.c: New file.
186 * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
187
188 2007-12-19 Corinna Vinschen <corinna@vinschen.de>
189
190 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
191 _wcsrtombs_r.
192
193 2007-11-19 Nick Clifton <nickc@redhat.com>
194
195 * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
196 * libc/machine/mn10300/Makefile.in: Regenerate.
197 * libc/machine/mn10300/memchar.S: Remove redundant labels. Add
198 .debug_frame section.
199 * libc/machine/mn10300/memcmp.S: Likewise.
200 * libc/machine/mn10300/memcpy.S: Likewise.
201 * libc/machine/mn10300/memset.S: Likewise.
202 * libc/machine/mn10300/strchr.S: Likewise.
203 * libc/machine/mn10300/strcmp.S: Likewise.
204 * libc/machine/mn10300/strcpy.S: Likewise.
205 * libc/machine/mn10300/strlen.S: Likewise.
206
207 2007-11-15 Jeff Johnston <jjohnstn@redhat.com>
208
209 * libc/include/sys/_default_fcntl.h: New header file that
210 is the default version of sys/fcntl.h.
211 * libc/include/sys/fcntl.h: Changed to simply include
212 sys/_default_fcntl.h.
213 * libc/sys/arm/sys/fcntl.h: New file that includes
214 sys/_default_fcntl.h and defines O_BINARY.
215
216 2007-11-08 Corinna Vinschen <corinna@vinschen.de>
217
218 * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
219
220 2007-11-07 Dave Brolley <brolley@redhat.com>
221
222 * libc/machine/configure: Regenerated to pick up mep-elf changes.
223
224 * Contribute mep-elf from Red Hat
225 2006-10-27 DJ Delorie <dj@redhat.com>
226
227 * libc/include/machine/setjmp.h: Add MeP support.
228
229 2003-04-17 DJ Delorie <dj@redhat.com>
230
231 * configure.host (mep-*-*): Support "long long" type.
232
233 2001-06-06 DJ Delorie <dj@redhat.com>
234
235 * libc/include/machine/ieeefp.h (mep): Support little endian too.
236
237 2001-05-14 DJ Delorie <dj@redhat.com>
238
239 * configure.host: Add mep's machine_dir.
240 * libc/include/setjmp.h: Add mep support.
241 * libc/machine/mep: New.
242 * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
243
244 2001-05-04 DJ Delorie <dj@redhat.com>
245
246 * configure.host: Add mep.
247 * libc/include/machine/ieeefp.h: Ditto.
248
249 2007-10-31 DJ Delorie <dj@redhat.com>
250
251 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
252 signal table, just use a default, in case initialization cause
253 recursion.
254
255 2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
256
257 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
258 size if output buffer is NULL.
259
260 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
261
262 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
263 fix when handling negative input values. Make function
264 consistent with math directory and glibc version such that
265 inf and nan values return inf and nan respectively with no
266 errno setting.
267 * libm/mathfp/sf_logarithm.c: Ditto.
268 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
269 * libm/math/wf_log.c: Ditto.
270 * libm/math/w_log10.c: Ditto.
271 * libm/math/wf_log10.c: Ditto.
272
273 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
274
275 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
276 return -inf.
277 * libm/mathfp/sf_logarithm.c: Ditto.
278
279 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
280
281 * libc/machine/i386/machine/fastmath.h: New file.
282
283 2007-10-13 Eric Blake <ebb9@byu.net>
284
285 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
286 Correctly nest else within conditionals.
287 Reported by Artur Lipowski.
288
289 2007-10-09 Nick Clifton <nickc@redhat.com>
290
291 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
292 the STT_COMMON type.
293
294 2007-10-09 Ben Elliston <bje@au.ibm.com>
295
296 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
297 before simdmath.h to get a definition for `vector'.
298 * libm/machine/spu/headers/asind2.h: Likewise.
299
300 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
301
302 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
303 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
304 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
305 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
306 * libm/machine/spu/headers/acos.h: Add domain check.
307 * libm/machine/spu/headers/acosf.h: Ditto.
308 * libm/machine/spu/headers/acosh.h: Ditto.
309 * libm/machine/spu/headers/acoshf.h: Ditto.
310 * libm/machine/spu/headers/asin.h: Ditto.
311 * libm/machine/spu/headers/asinf.h: Ditto.
312 * libm/machine/spu/headers/atanh.h: Ditto.
313 * libm/machine/spu/headers/atanhf.h: Ditto.
314 * libm/machine/spu/headers/fmod.h: Ditto.
315 * libm/machine/spu/headers/fmodf.h: Ditto.
316 * libm/machine/spu/headers/log.h: Ditto.
317 * libm/machine/spu/headers/log10.h: Ditto.
318 * libm/machine/spu/headers/log1p.h: Ditto.
319 * libm/machine/spu/headers/log1pf.h: Ditto.
320 * libm/machine/spu/headers/log2.h: Ditto.
321 * libm/machine/spu/headers/log2f.h: Ditto.
322 * libm/machine/spu/headers/sqrt.h: Ditto.
323 * libm/machine/spu/headers/sqrtf.h: Ditto.
324 * libm/machine/spu/headers/tgamma.h: Ditto.
325 * libm/machine/spu/headers/tgammaf.h: Ditto.
326
327 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
328
329 * libm/machine/spu/Makefile.am: Add new C files.
330 * libm/machine/spu/Makefile.in: Regenerate.
331 * libm/machine/spu/headers/acos.h: New file.
332 * libm/machine/spu/headers/acosd2.h: Ditto.
333 * libm/machine/spu/headers/acosf.h: Ditto.
334 * libm/machine/spu/headers/acosf4.h: Ditto.
335 * libm/machine/spu/headers/acosh.h: Ditto.
336 * libm/machine/spu/headers/acoshd2.h: Ditto.
337 * libm/machine/spu/headers/acoshf.h: Ditto.
338 * libm/machine/spu/headers/acoshf4.h: Ditto.
339 * libm/machine/spu/headers/asin.h: Ditto.
340 * libm/machine/spu/headers/asind2.h: Ditto.
341 * libm/machine/spu/headers/asinf.h: Ditto.
342 * libm/machine/spu/headers/asinf4.h: Ditto.
343 * libm/machine/spu/headers/asinh.h: Ditto.
344 * libm/machine/spu/headers/asinhd2.h: Ditto.
345 * libm/machine/spu/headers/asinhf.h: Ditto.
346 * libm/machine/spu/headers/asinhf4.h: Ditto.
347 * libm/machine/spu/headers/atan.h: Ditto.
348 * libm/machine/spu/headers/atan2.h: Ditto.
349 * libm/machine/spu/headers/atan2d2.h: Ditto.
350 * libm/machine/spu/headers/atan2f.h: Ditto.
351 * libm/machine/spu/headers/atan2f4.h: Ditto.
352 * libm/machine/spu/headers/atand2.h: Ditto.
353 * libm/machine/spu/headers/atanf4.h: Ditto.
354 * libm/machine/spu/headers/atanh.h: Ditto.
355 * libm/machine/spu/headers/atanhd2.h: Ditto.
356 * libm/machine/spu/headers/atanhf.h: Ditto.
357 * libm/machine/spu/headers/atanhf4.h: Ditto.
358 * libm/machine/spu/headers/cos.h: Ditto.
359 * libm/machine/spu/headers/cos_sin.h: Ditto.
360 * libm/machine/spu/headers/cosd2.h: Ditto.
361 * libm/machine/spu/headers/cosf.h: Ditto.
362 * libm/machine/spu/headers/cosf4.h: Ditto.
363 * libm/machine/spu/headers/cosh.h: Ditto.
364 * libm/machine/spu/headers/coshd2.h: Ditto.
365 * libm/machine/spu/headers/coshf.h: Ditto.
366 * libm/machine/spu/headers/coshf4.h: Ditto.
367 * libm/machine/spu/headers/divd2.h: Ditto.
368 * libm/machine/spu/headers/divf4.h: Ditto.
369 * libm/machine/spu/headers/erf.h: Ditto.
370 * libm/machine/spu/headers/erf_utils.h: Ditto.
371 * libm/machine/spu/headers/erfc.h: Ditto.
372 * libm/machine/spu/headers/erfcd2.h: Ditto.
373 * libm/machine/spu/headers/erfcf.h: Ditto.
374 * libm/machine/spu/headers/erfcf4.h: Ditto.
375 * libm/machine/spu/headers/erfd2.h: Ditto.
376 * libm/machine/spu/headers/erff.h: Ditto.
377 * libm/machine/spu/headers/erff4.h: Ditto.
378 * libm/machine/spu/headers/exp.h: Ditto.
379 * libm/machine/spu/headers/exp2.h: Ditto.
380 * libm/machine/spu/headers/exp2d2.h: Ditto.
381 * libm/machine/spu/headers/exp2f4.h: Ditto.
382 * libm/machine/spu/headers/expd2.h: Ditto.
383 * libm/machine/spu/headers/expf4.h: Ditto.
384 * libm/machine/spu/headers/expm1.h: Ditto.
385 * libm/machine/spu/headers/expm1d2.h: Ditto.
386 * libm/machine/spu/headers/expm1f.h: Ditto.
387 * libm/machine/spu/headers/expm1f4.h: Ditto.
388 * libm/machine/spu/headers/floord2.h: Ditto.
389 * libm/machine/spu/headers/floorf4.h: Ditto.
390 * libm/machine/spu/headers/hypot.h: Ditto.
391 * libm/machine/spu/headers/hypotd2.h: Ditto.
392 * libm/machine/spu/headers/hypotf.h: Ditto.
393 * libm/machine/spu/headers/hypotf4.h: Ditto.
394 * libm/machine/spu/headers/isnan.h: Ditto.
395 * libm/machine/spu/headers/isnand2.h: Ditto.
396 * libm/machine/spu/headers/isnanf.h: Ditto.
397 * libm/machine/spu/headers/isnanf4.h: Ditto.
398 * libm/machine/spu/headers/ldexpd2.h: Ditto.
399 * libm/machine/spu/headers/ldexpf4.h: Ditto.
400 * libm/machine/spu/headers/lgamma.h: Ditto.
401 * libm/machine/spu/headers/lgammad2.h: Ditto.
402 * libm/machine/spu/headers/lgammaf.h: Ditto.
403 * libm/machine/spu/headers/lgammaf4.h: Ditto.
404 * libm/machine/spu/headers/log.h: Ditto.
405 * libm/machine/spu/headers/log10.h: Ditto.
406 * libm/machine/spu/headers/log10d2.h: Ditto.
407 * libm/machine/spu/headers/log1p.h: Ditto.
408 * libm/machine/spu/headers/log1pd2.h: Ditto.
409 * libm/machine/spu/headers/log1pf.h: Ditto.
410 * libm/machine/spu/headers/log1pf4.h: Ditto.
411 * libm/machine/spu/headers/log2.h: Ditto.
412 * libm/machine/spu/headers/log2d2.h: Ditto.
413 * libm/machine/spu/headers/log2f4.h: Ditto.
414 * libm/machine/spu/headers/logbf.h: Ditto.
415 * libm/machine/spu/headers/logbf4.h: Ditto.
416 * libm/machine/spu/headers/logd2.h: Ditto.
417 * libm/machine/spu/headers/logf4.h: Ditto.
418 * libm/machine/spu/headers/nearbyintf.h: Ditto.
419 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
420 * libm/machine/spu/headers/nextafter.h: Ditto.
421 * libm/machine/spu/headers/nextafterd2.h: Ditto.
422 * libm/machine/spu/headers/nextafterf.h: Ditto.
423 * libm/machine/spu/headers/nextafterf4.h: Ditto.
424 * libm/machine/spu/headers/pow.h: Ditto.
425 * libm/machine/spu/headers/powd2.h: Ditto.
426 * libm/machine/spu/headers/powf.h: Ditto.
427 * libm/machine/spu/headers/powf4.h: Ditto.
428 * libm/machine/spu/headers/recipd2.h: Ditto.
429 * libm/machine/spu/headers/recipf4.h: Ditto.
430 * libm/machine/spu/headers/rintf.h: Ditto.
431 * libm/machine/spu/headers/rintf4.h: Ditto.
432 * libm/machine/spu/headers/scalbnf4.h: Ditto.
433 * libm/machine/spu/headers/signbit.h: Ditto.
434 * libm/machine/spu/headers/signbitd2.h: Ditto.
435 * libm/machine/spu/headers/simdmath.h: Ditto.
436 * libm/machine/spu/headers/sin.h: Ditto.
437 * libm/machine/spu/headers/sincos.h: Ditto.
438 * libm/machine/spu/headers/sincosd2.h: Ditto.
439 * libm/machine/spu/headers/sincosf.h: Ditto.
440 * libm/machine/spu/headers/sincosf4.h: Ditto.
441 * libm/machine/spu/headers/sind2.h: Ditto.
442 * libm/machine/spu/headers/sinf.h: Ditto.
443 * libm/machine/spu/headers/sinf4.h: Ditto.
444 * libm/machine/spu/headers/sinh.h: Ditto.
445 * libm/machine/spu/headers/sinhd2.h: Ditto.
446 * libm/machine/spu/headers/sinhf.h: Ditto.
447 * libm/machine/spu/headers/sinhf4.h: Ditto.
448 * libm/machine/spu/headers/sqrtd2.h: Ditto.
449 * libm/machine/spu/headers/sqrtf.h: Ditto.
450 * libm/machine/spu/headers/sqrtf4.h: Ditto.
451 * libm/machine/spu/headers/tan.h: Ditto.
452 * libm/machine/spu/headers/tand2.h: Ditto.
453 * libm/machine/spu/headers/tanf.h: Ditto.
454 * libm/machine/spu/headers/tanf4.h: Ditto.
455 * libm/machine/spu/headers/tanh.h: Ditto.
456 * libm/machine/spu/headers/tanhd2.h: Ditto.
457 * libm/machine/spu/headers/tanhf.h: Ditto.
458 * libm/machine/spu/headers/tanhf4.h: Ditto.
459 * libm/machine/spu/headers/tgamma.h: Ditto.
460 * libm/machine/spu/headers/tgammad2.h: Ditto.
461 * libm/machine/spu/headers/tgammaf.h: Ditto.
462 * libm/machine/spu/headers/tgammaf4.h: Ditto.
463 * libm/machine/spu/headers/truncd2.h: Ditto.
464 * libm/machine/spu/headers/truncf4.h: Ditto.
465 * libm/machine/spu/log2.c: Ditto.
466 * libm/machine/spu/s_asinh.c: Ditto.
467 * libm/machine/spu/s_atan.c: Ditto.
468 * libm/machine/spu/s_cos.c: Ditto.
469 * libm/machine/spu/s_erf.c: Ditto.
470 * libm/machine/spu/s_expm1.c: Ditto.
471 * libm/machine/spu/s_isnan.c: Ditto.
472 * libm/machine/spu/s_log1p.c: Ditto.
473 * libm/machine/spu/s_nextafter.c: Ditto.
474 * libm/machine/spu/s_sin.c: Ditto.
475 * libm/machine/spu/s_tan.c: Ditto.
476 * libm/machine/spu/s_tanh.c: Ditto.
477 * libm/machine/spu/sf_asinh.c: Ditto.
478 * libm/machine/spu/sf_cos.c: Ditto.
479 * libm/machine/spu/sf_erf.c: Ditto.
480 * libm/machine/spu/sf_expm1.c: Ditto.
481 * libm/machine/spu/sf_log1p.c: Ditto.
482 * libm/machine/spu/sf_logb.c: Ditto.
483 * libm/machine/spu/sf_nearbyint.c: Ditto.
484 * libm/machine/spu/sf_nextafter.c: Ditto.
485 * libm/machine/spu/sf_rint.c: Ditto.
486 * libm/machine/spu/sf_sin.c: Ditto.
487 * libm/machine/spu/sf_tan.c: Ditto.
488 * libm/machine/spu/sf_tanh.c: Ditto.
489 * libm/machine/spu/w_acos.c: Ditto.
490 * libm/machine/spu/w_acosh.c: Ditto.
491 * libm/machine/spu/w_asin.c: Ditto.
492 * libm/machine/spu/w_atan2.c: Ditto.
493 * libm/machine/spu/w_atanh.c: Ditto.
494 * libm/machine/spu/w_cosh.c: Ditto.
495 * libm/machine/spu/w_exp.c: Ditto.
496 * libm/machine/spu/w_exp2.c: Ditto.
497 * libm/machine/spu/w_hypot.c: Ditto.
498 * libm/machine/spu/w_lgamma.c: Ditto.
499 * libm/machine/spu/w_log.c: Ditto.
500 * libm/machine/spu/w_log10.c: Ditto.
501 * libm/machine/spu/w_pow.c: Ditto.
502 * libm/machine/spu/w_sincos.c: Ditto.
503 * libm/machine/spu/w_sinh.c: Ditto.
504 * libm/machine/spu/w_tgamma.c: Ditto.
505 * libm/machine/spu/wf_acos.c: Ditto.
506 * libm/machine/spu/wf_acosh.c: Ditto.
507 * libm/machine/spu/wf_asin.c: Ditto.
508 * libm/machine/spu/wf_atan2.c: Ditto.
509 * libm/machine/spu/wf_atanh.c: Ditto.
510 * libm/machine/spu/wf_cosh.c: Ditto.
511 * libm/machine/spu/wf_hypot.c: Ditto.
512 * libm/machine/spu/wf_lgamma.c: Ditto.
513 * libm/machine/spu/wf_pow.c: Ditto.
514 * libm/machine/spu/wf_sincos.c: Ditto.
515 * libm/machine/spu/wf_sinh.c: Ditto.
516 * libm/machine/spu/wf_sqrt.c: Ditto.
517 * libm/machine/spu/wf_tgamma.c: Ditto.
518
519 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
520
521 * configure.host: Define _POSIX_MODE to match the existing vector
522 math code, as we don't support the matherr callout.
523 * libm/machine/spu/Makefile.am: New file.
524 * libm/machine/spu/Makefile.in: Auto-generated.
525 * libm/machine/spu/headers/atanf.h: New file.
526 * libm/machine/spu/headers/cbrt.h: Ditto.
527 * libm/machine/spu/headers/cbrtf.h: Ditto.
528 * libm/machine/spu/headers/ceil.h: Ditto.
529 * libm/machine/spu/headers/ceilf.h: Ditto.
530 * libm/machine/spu/headers/copysign.h: Ditto.
531 * libm/machine/spu/headers/copysignf.h: Ditto.
532 * libm/machine/spu/headers/exp2f.h: Ditto.
533 * libm/machine/spu/headers/expf.h: Ditto.
534 * libm/machine/spu/headers/fabs.h: Ditto.
535 * libm/machine/spu/headers/fabsf.h: Ditto.
536 * libm/machine/spu/headers/fdim.h: Ditto.
537 * libm/machine/spu/headers/fdimf.h: Ditto.
538 * libm/machine/spu/headers/floor.h: Ditto.
539 * libm/machine/spu/headers/floorf.h: Ditto.
540 * libm/machine/spu/headers/fma.h: Ditto.
541 * libm/machine/spu/headers/fmaf.h: Ditto.
542 * libm/machine/spu/headers/fmax.h: Ditto.
543 * libm/machine/spu/headers/fmaxf.h: Ditto.
544 * libm/machine/spu/headers/fmin.h: Ditto.
545 * libm/machine/spu/headers/fminf.h: Ditto.
546 * libm/machine/spu/headers/fmod.h: Ditto.
547 * libm/machine/spu/headers/fmodf.h: Ditto.
548 * libm/machine/spu/headers/frexp.h: Ditto.
549 * libm/machine/spu/headers/frexpf.h: Ditto.
550 * libm/machine/spu/headers/ilogb.h: Ditto.
551 * libm/machine/spu/headers/ilogbf.h: Ditto.
552 * libm/machine/spu/headers/ldexp.h: Ditto.
553 * libm/machine/spu/headers/ldexpf.h: Ditto.
554 * libm/machine/spu/headers/llrint.h: Ditto.
555 * libm/machine/spu/headers/llrintf.h: Ditto.
556 * libm/machine/spu/headers/llround.h: Ditto.
557 * libm/machine/spu/headers/llroundf.h: Ditto.
558 * libm/machine/spu/headers/log10f.h: Ditto.
559 * libm/machine/spu/headers/log2f.h: Ditto.
560 * libm/machine/spu/headers/logf.h: Ditto.
561 * libm/machine/spu/headers/lrint.h: Ditto.
562 * libm/machine/spu/headers/lrintf.h: Ditto.
563 * libm/machine/spu/headers/lround.h: Ditto.
564 * libm/machine/spu/headers/lroundf.h: Ditto.
565 * libm/machine/spu/headers/nearbyint.h: Ditto.
566 * libm/machine/spu/headers/remainder.h: Ditto.
567 * libm/machine/spu/headers/remainderf.h: Ditto.
568 * libm/machine/spu/headers/remquo.h: Ditto.
569 * libm/machine/spu/headers/remquof.h: Ditto.
570 * libm/machine/spu/headers/rint.h: Ditto.
571 * libm/machine/spu/headers/round.h: Ditto.
572 * libm/machine/spu/headers/roundf.h: Ditto.
573 * libm/machine/spu/headers/scalbn.h: Ditto.
574 * libm/machine/spu/headers/scalbnf.h: Ditto.
575 * libm/machine/spu/headers/sqrt.h: Ditto.
576 * libm/machine/spu/headers/trunc.h: Ditto.
577 * libm/machine/spu/headers/truncf.h: Ditto.
578 * libm/machine/spu/headers/vec_literal.h: Ditto.
579 * libm/machine/spu/llrint.c: Ditto.
580 * libm/machine/spu/llrintf.c: Ditto.
581 * libm/machine/spu/llround.c: Ditto.
582 * libm/machine/spu/llroundf.c: Ditto.
583 * libm/machine/spu/log2f.c: Ditto.
584 * libm/machine/spu/s_cbrt.c: Ditto.
585 * libm/machine/spu/s_ceil.c: Ditto.
586 * libm/machine/spu/s_copysign.c: Ditto.
587 * libm/machine/spu/s_fabs.c: Ditto.
588 * libm/machine/spu/s_fdim.c: Ditto.
589 * libm/machine/spu/s_floor.c: Ditto.
590 * libm/machine/spu/s_fma.c: Ditto.
591 * libm/machine/spu/s_fmax.c: Ditto.
592 * libm/machine/spu/s_fmin.c: Ditto.
593 * libm/machine/spu/s_frexp.c: Ditto.
594 * libm/machine/spu/s_ilogb.c: Ditto.
595 * libm/machine/spu/s_ldexp.c: Ditto.
596 * libm/machine/spu/s_lrint.c: Ditto.
597 * libm/machine/spu/s_lround.c: Ditto.
598 * libm/machine/spu/s_nearbyint.c: Ditto.
599 * libm/machine/spu/s_remquo.c: Ditto.
600 * libm/machine/spu/s_rint.c: Ditto.
601 * libm/machine/spu/s_round.c: Ditto.
602 * libm/machine/spu/s_scalbn.c: Ditto.
603 * libm/machine/spu/s_trunc.c: Ditto.
604 * libm/machine/spu/sf_atan.c: Ditto.
605 * libm/machine/spu/sf_cbrt.c: Ditto.
606 * libm/machine/spu/sf_ceil.c: Ditto.
607 * libm/machine/spu/sf_copysign.c: Ditto.
608 * libm/machine/spu/sf_fabs.c: Ditto.
609 * libm/machine/spu/sf_fdim.c: Ditto.
610 * libm/machine/spu/sf_floor.c: Ditto.
611 * libm/machine/spu/sf_fma.c: Ditto.
612 * libm/machine/spu/sf_fmax.c: Ditto.
613 * libm/machine/spu/sf_fmin.c: Ditto.
614 * libm/machine/spu/sf_frexp.c: Ditto.
615 * libm/machine/spu/sf_ilogb.c: Ditto.
616 * libm/machine/spu/sf_ldexp.c: Ditto.
617 * libm/machine/spu/sf_lrint.c: Ditto.
618 * libm/machine/spu/sf_lround.c: Ditto.
619 * libm/machine/spu/sf_remquo.c: Ditto.
620 * libm/machine/spu/sf_round.c: Ditto.
621 * libm/machine/spu/sf_scalbn.c: Ditto.
622 * libm/machine/spu/sf_trunc.c: Ditto.
623 * libm/machine/spu/w_fmod.c: Ditto.
624 * libm/machine/spu/w_remainder.c: Ditto.
625 * libm/machine/spu/w_sqrt.c: Ditto.
626 * libm/machine/spu/wf_exp.c: Ditto.
627 * libm/machine/spu/wf_exp2.c: Ditto.
628 * libm/machine/spu/wf_fmod.c: Ditto.
629 * libm/machine/spu/wf_log.c: Ditto.
630 * libm/machine/spu/wf_log10.c: Ditto.
631 * libm/machine/spu/wf_remainder.c: Ditto.
632
633 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
634
635 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
636
637 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
638
639 * libc/include/sched.h: New file, just include sys/sched.h.
640 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
641 prototype.
642 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
643 struct utimbuf definition.
644
645 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
646
647 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
648 specific struct and typedef.
649
650 2007-09-18 Patrick Mansfield <patmans@us.ibm.com>
651
652 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
653 typedef dev_t, gid_t, and uid_t.
654 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
655 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
656 Change to lower case for all __foo_t_defined names.
657 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
658 __uid_t, and __gid_t making them all four bytes. Change to lower case
659 for all __foo_t_defined names.
660
661 2007-09-18 Jeff Johnston <jjohnstn@redhat.com>
662
663 * libc/reent/renamer.c: New file.
664 * libc/reent/Makefile.am: Add new file.
665 * libc/reent/Makefile.in: Regenerated.
666 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
667 and add check for rename syscall.
668
669 2007-09-17 Eric Blake <ebb9@byu.net>
670
671 Obey POSIX on printf("%.s", (char*)NULL).
672 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
673 for %s on NULL. Skip NULL check when optimizing for size.
674
675 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
676
677 * libc/include/sys/_types.h: Protect all types with flag
678 checks to allow definition in machine/_types.h.
679
680 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
681
682 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
683 definitions in light of the previous change.
684
685 2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
686
687 * libc/include/machine/_default_types.h: New file, contains what
688 was previously in libc/include/machine/_types.h.
689 * libc/include/machine/_types.h: Now only includes
690 machine/_default_types.h.
691 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
692 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
693 with conditional declarations.
694 * libc/machine/spu/machine/_types.h: New file, add SPU specific
695 typedefs for _fpos_t and _fpos64_t.
696
697 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
698
699 * libc/include/math.h (_M_LOG2E): Replace with..
700 (_M_LOG2_E): New macro.
701 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
702
703 2007-09-06 Brian Dessent <brian@dessent.net>
704
705 * libc/reent/getreent.c: Allow for case where __getreent is
706 defined as a macro.
707
708 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
709
710 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
711 (log2): Use _M_LOG2E instead of M_LOG2E.
712 (log2f): Ditto.
713 (M_LOG2E): Define to be _M_LOG2E.
714
715 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
716
717 * libm/math/wf_tgamma.c: Add missing include.
718
719 2007-08-31 Antony King <antony.king@st.com>
720
721 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
722 bits and redefine associated dword0 macro (rvalue issue).
723 * libc/stdio/vfieeefp.h: Ditto.
724 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
725 to prevent setting dword1 which is an rvalue only.
726
727 2007-08-28 Hans Kester <hans.kester@ellips.nl>
728
729 * configure.host: Added support for x86_64.
730 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
731 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
732 * libc/machine/x86_64/aclocal.m4: Generated.
733 * libc/machine/x86_64/configure.in: New.
734 * libc/machine/x86_64/configure: Generated.
735 * libc/machine/x86_64/Makefile.am: New.
736 * libc/machine/x86_64/Makefile.in: Generated.
737 * libc/machine/x86_64/setjmp.S: New.
738 * libc/machine/x86_64/memcpy.S: New.
739 * libc/machine/x86_64/memset.S: New.
740 * libc/machine/configure.in: Added support for x86_64.
741 * libc/machine/configure: Regenerated.
742
743 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
744
745 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
746 to int before comparing it to a signed int value.
747
748 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
749
750 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
751 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
752 Define.
753
754 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
755
756 Reduce the memory consumption of variable argument functions
757 for SPU (cell):
758 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
759 to assembler sources.
760 * libc/machine/spu/Makefile.in: Regenerated.
761 * libc/machine/spu/stdio.c: Add __check_init function wrapping
762 CHECK_INIT macro to use from assembler routines.
763 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
764 * libc/machine/spu/fiprintf.S: New file.
765 * libc/machine/spu/fiscanf.S: Ditto.
766 * libc/machine/spu/fprintf.S: Ditto.
767 * libc/machine/spu/fscanf.S: Ditto.
768 * libc/machine/spu/iprintf.S: Ditto.
769 * libc/machine/spu/iscanf.S: Ditto.
770 * libc/machine/spu/printf.S: Ditto.
771 * libc/machine/spu/scanf.S: Ditto.
772 * libc/machine/spu/siprintf.S: Ditto.
773 * libc/machine/spu/siscanf.S: Ditto.
774 * libc/machine/spu/sniprintf.S: Ditto.
775 * libc/machine/spu/snprintf.S: Ditto.
776 * libc/machine/spu/sprintf.S: Ditto.
777 * libc/machine/spu/sscanf.S: Ditto.
778 * libc/machine/spu/stack_reg_va.S: Ditto.
779 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
780 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
781 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
782 * libc/machine/spu/fiscanf.c: Ditto.
783 * libc/machine/spu/fprintf.c: Ditto.
784 * libc/machine/spu/fscanf.c: Ditto.
785 * libc/machine/spu/iprintf.c: Ditto.
786 * libc/machine/spu/iscanf.c: Ditto.
787 * libc/machine/spu/printf.c: Ditto.
788 * libc/machine/spu/scanf.c: Ditto.
789 * libc/machine/spu/siprintf.c: Ditto.
790 * libc/machine/spu/siscanf.c: Ditto.
791 * libc/machine/spu/sniprintf.c: Ditto.
792 * libc/machine/spu/snprintf.c: Ditto.
793 * libc/machine/spu/sprintf.c: Ditto.
794 * libc/machine/spu/sscanf.c: Ditto.
795
796 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
797
798 * libc/include/tar.h: New.
799
800 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
801
802 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
803 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
804 * libc/sys/linux/intl/Makefile.in: Regenerated.
805 * libc/sys/linux/intl/stpcpy.c: Renamed to...
806 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
807
808 2007-08-02 Eric Blake <ebb9@byu.net>
809
810 Implement fmemopen and open_memstream.
811 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
812 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
813 New file.
814 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
815 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
816 functions together.
817 (fmemopen, open_memstream): Declare new functions.
818 * libc/stdio/stdio.tex: Document them.
819 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
820 fmemopen and open_memstream.
821 * libc/stdio/Makefile.in: Regenerate.
822
823 2007-07-31 Eric Blake <ebb9@byu.net>
824
825 More POSIX stream corner cases.
826 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
827 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
828 requested.
829 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
830
831 2007-07-18 Eric Blake <ebb9@byu.net>
832
833 Fix 'make info'.
834 * libc/stdio/stdio.tex: Add missing include.
835 * libc/stdio/vfprintf.c: Use expected node name.
836 * libc/stdio/vfscanf.c: Likewise.
837 * libc/stdio/sscanf.c: Likewise.
838 * libc/stdio/sprintf.c: Likewise.
839 * libc/stdio/siscanf.c: Likewise.
840 * libc/stdio/siprintf.c: Likewise.
841 * libc/stdio/fopencookie.c: Quote raw {}.
842 Reported by DJ Delorie.
843
844 2007-07-13 Eric Blake <ebb9@byu.net>
845
846 Fix fflush issues.
847 * libc/stdio/fflush.c (_fflush_r): New function.
848 (fflush): Fix reentrancy and large offset behavior.
849 * libc/include/stdio.h (_fflush_r): Add prototype.
850 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
851 * libc/stdio/freopen.c (_freopen_r): Likewise.
852 * libc/stdio/fseek.c (_fseek_r): Likewise.
853 * libc/stdio/ftell.c (_ftell_r): Likewise.
854 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
855 * libc/stdio/refill.c (__srefill_r): Likewise.
856 * libc/stdio/setvbuf.c (setvbuf): Likewise.
857 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
858 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
859 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
860 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
861 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
862 32-bit version if not large file.
863 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
864 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
865
866 Documentation updates.
867 * libc/stdio/ungetc.c: Document ungetc.
868 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
869 of files with documentation.
870 * libc/stdio/Makefile.in: Regenerate.
871 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
872
873 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
874
875 * libc/include/math.h: Fix so C99 functions/macros are accessible
876 when -std=c99 is used when compiling and not when using C89.
877
878 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
879
880 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
881 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
882 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
883 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
884 wcstoull_r.c.
885 (CHEWOUT_FILES): Add .def files accordingly.
886 * libc/stdlib/Makefile.in: Regenerate.
887 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
888 * libc/stdlib/strtoll.c: Fix portability note.
889 * libc/stdlib/strtoull.c: Ditto.
890 * libc/stdlib/wcstol.c: New file.
891 * libc/stdlib/wcstoll.c: New file.
892 * libc/stdlib/wcstoll_r.c: New file.
893 * libc/stdlib/wcstoul.c: New file.
894 * libc/stdlib/wcstoull.c: New file.
895 * libc/stdlib/wcstoull_r.c: New file.
896
897 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
898
899 * libc/include/sys/time.h (gettimeofday): Change to proper
900 prototype where second parameter is void *.
901 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
902 accordingly.
903 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
904 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
905 * libc/sys/rdos/gettod.c: Ditto.
906 * libc/sys/sh/syscalls.c: Ditto.
907 * libc/time/time.c (time): Change call to _gettimeofday_r
908 to pass NULL as 2nd argument.
909
910 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
911
912 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
913 * libc/sys/linux/intl/l10nflist.c: Ditto.
914
915 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
916
917 * libc/include/wchar.h: Add prototype for wcsxfrm.
918 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
919 (CHEWOUT_FILES): Add wcsxfrm.def.
920 * libc/string/Makefile.in: Regenerate.
921 * libc/string/wcsxfrm.c: New file.
922 * libc/string/wcstrings.tex: Add wcsxfrm.
923
924 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
925
926 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
927 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
928 stpncpy.c.
929 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
930 * libc/string/Makefile.in: Regenerate.
931 * libc/string/stpcpy.c: New file.
932 * libc/string/stpncpy.c: New file.
933 * libc/string/strings.tex: Add stpcpy and stpncpy.
934
935 2007-06-27 Eric Blake <ebb9@byu.net>
936
937 Support __func__ in assert, as required by C99.
938 * libc/stdlib/assert.c (__assert_func): New function.
939 (__assert): Use __assert_func.
940 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
941 possible.
942
943 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
944
945 * libc/machine/spu/perror.c: Pass errno as the second argument to
946 the assist call.
947
948 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
949
950 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
951 defines; expose ftruncate, truncate and sync prototypes.
952
953 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
954
955 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
956 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
957 visible.
958
959 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
960
961 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
962 from a dropped patch.
963 * libc/machine/spu/Makefile.in: Regenerate.
964
965 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
966
967 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
968 it just calls open with appropriate arguments.
969 * libc/machine/spu/Makefile.am: Add creat.c.
970 * libc/machine/spu/Makefile.in: Regenerate.
971
972 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
973
974 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
975 I accidentally dropped.
976 * libc/machine/spu/Makefile.in: Regenerated.
977
978 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
979
980 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
981 * libc/include/sys/unistd.h: Change usleep prototype to Posix
982 form and move outside of OS flag checks.
983 * libc/machine/spu/Makefile.am: Add sleep and usleep.
984 * libc/machine/spu/Makefile.in: Regenerate.
985 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
986 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
987
988 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
989
990 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
991 Define confstr constants for Cygwin. Add comment.
992
993 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
994
995 * libc/sys/mmixware/access.c (access): Do not try to use a magic
996 file-handle and a direct syscall, just use _open.
997 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
998 file-handle.
999
1000 * libc/sys/mmixware/_exit.c (_exit): Update comment about
1001 passing on the exit value.
1002
1003 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
1004
1005 * libc/string/strcasestr.c: New file.
1006 * libc/include/string.h: Add strcasestr.
1007 * libc/string/strings.tex: Add strcasestr.
1008 * libc/string/Makefile.am: Ditto.
1009 * libc/string/Makefile.in: Regenerated.
1010
1011 2007-06-06 Christian Groessler <chris@groessler.org>
1012
1013 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
1014 rnd is done after the last local variable declaration.
1015
1016 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
1017
1018 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
1019
1020 2007-06-05 Christian Groessler <chris@groessler.org>
1021
1022 * libc/argz/argz_insert.c (argz_insert): Move delta variable
1023 declaration to top of function in keeping with C89 standard.
1024
1025 2007-06-04 Eric Blake <ebb9@byu.net>
1026
1027 Implement funopen, fopencookie.
1028 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
1029 Switch to reentrant callbacks.
1030 * libc/include/stdio.h (funopen): Fix declaration.
1031 (fopencookie): Declare.
1032 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
1033 (__sseek64, __swrite64): Fix prototypes.
1034 [__SCLE]: Pull in setmode declaration.
1035 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
1036 reentrancy.
1037 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
1038 (__sseek64, __swrite64): Fix reentrancy.
1039 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
1040 reentrancy.
1041 * libc/stdio/ftell.c (_ftell_r): Likewise.
1042 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
1043 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
1044 * libc/stdio/freopen.c (_freopen_r): Likewise.
1045 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
1046 * libc/stdio/refill.c (__srefill_r): Likewise.
1047 * libc/stdio/siscanf.c (eofread): Likewise.
1048 * libc/stdio/sscanf.c (eofread): Likewise.
1049 * libc/stdio/vsiscanf.c (eofread1): Likewise.
1050 * libc/stdio/vsscanf.c (eofread1): Likewise.
1051 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1052 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1053 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1054 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
1055 could be fixed.
1056 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
1057 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
1058 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
1059 new files.
1060 * libc/stdio/Makefile.in: Regenerate.
1061
1062 2007-05-29 Eric Blake <ebb9@byu.net>
1063
1064 Avoid more compiler warnings.
1065 * libc/stdlib/btowc.c: Add missing header.
1066 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
1067 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
1068 * libc/stdlib/wctob.c: Add missing header.
1069 * libc/string/strcpy.c (strcpy): Avoid warnings.
1070 * libc/string/strrchr.c (strrchr): Likewise.
1071
1072 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
1073
1074 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
1075 argument.
1076 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
1077 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
1078 on empty input strings.
1079 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
1080 looping through argz.
1081 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
1082
1083 2007-05-27 Brian Dessent <brian@dessent.net>
1084
1085 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
1086 handling %p.
1087
1088 2007-05-25 Eric Blake <ebb9@byu.net>
1089
1090 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
1091
1092 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1093 Charles Wilson <libtool@cwilson.fastmail.fm>
1094
1095 * libtool.m4: removed
1096 * configure.in: invoke _LD_DECL_SED before conditionally initializing
1097 libtool. Move AC_PROG_AWK outside conditional.
1098 * libc/sys/linux/configure.in: Ditto.
1099 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1100 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1101 * libc/sys/linux/machine/i386/configure.in: Ditto.
1102
1103 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
1104 initializing libtool.
1105 * libc/configure.in: Ditto.
1106 * libc/machine/configure.in: Ditto.
1107 * libc/machine/i386/configure.in: Ditto.
1108 * libc/sys/configure.in: Ditto.
1109 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1110 * libc/sys/linux/machine/configure.in: Ditto.
1111 * libm/configure.in: Ditto.
1112 * libm/machine/configure.in: Ditto.
1113
1114 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
1115 * doc/Makefile.am: Ditto.
1116 * iconvdata/Makefile.am: Ditto.
1117 * libc/Makefile.am: Ditto.
1118 * libc/machine/Makefile.am: Ditto.
1119 * libc/machine/a29k/Makefile.am: Ditto.
1120 * libc/machine/arm/Makefile.am: Ditto.
1121 * libc/machine/bfin/Makefile.am: Ditto.
1122 * libc/machine/cris/Makefile.am: Ditto.
1123 * libc/machine/crx/Makefile.am: Ditto.
1124 * libc/machine/d10v/Makefile.am: Ditto.
1125 * libc/machine/d30v/Makefile.am: Ditto.
1126 * libc/machine/fr30/Makefile.am: Ditto.
1127 * libc/machine/frv/Makefile.am: Ditto.
1128 * libc/machine/h8300/Makefile.am: Ditto.
1129 * libc/machine/h8500/Makefile.am: Ditto.
1130 * libc/machine/hppa/Makefile.am: Ditto.
1131 * libc/machine/i386/Makefile.am: Ditto.
1132 * libc/machine/i960/Makefile.am: Ditto.
1133 * libc/machine/iq2000/Makefile.am: Ditto.
1134 * libc/machine/m32c/Makefile.am: Ditto.
1135 * libc/machine/m32r/Makefile.am: Ditto.
1136 * libc/machine/m68hc11/Makefile.am: Ditto.
1137 * libc/machine/m68k/Makefile.am: Ditto.
1138 * libc/machine/m88k/Makefile.am: Ditto.
1139 * libc/machine/mips/Makefile.am: Ditto.
1140 * libc/machine/mn10200/Makefile.am: Ditto.
1141 * libc/machine/mn10300/Makefile.am: Ditto.
1142 * libc/machine/mt/Makefile.am: Ditto.
1143 * libc/machine/necv70/Makefile.am: Ditto.
1144 * libc/machine/powerpc/Makefile.am: Ditto.
1145 * libc/machine/sh/Makefile.am: Ditto.
1146 * libc/machine/sparc/Makefile.am: Ditto.
1147 * libc/machine/spu/Makefile.am: Ditto.
1148 * libc/machine/tic4x/Makefile.am: Ditto.
1149 * libc/machine/tic80/Makefile.am: Ditto.
1150 * libc/machine/v850/Makefile.am: Ditto.
1151 * libc/machine/w65/Makefile.am: Ditto.
1152 * libc/machine/xscale/Makefile.am: Ditto.
1153 * libc/machine/xstormy16/Makefile.am: Ditto.
1154 * libc/machine/z8k/Makefile.am: Ditto.
1155 * libc/sys/Makefile.am: Ditto.
1156 * libc/sys/a29khif/Makefile.am: Ditto.
1157 * libc/sys/arc/Makefile.am: Ditto.
1158 * libc/sys/arm/Makefile.am: Ditto.
1159 * libc/sys/d10v/Makefile.am: Ditto.
1160 * libc/sys/decstation/Makefile.am: Ditto.
1161 * libc/sys/h8300hms/Makefile.am: Ditto.
1162 * libc/sys/h8500hms/Makefile.am: Ditto.
1163 * libc/sys/linux/Makefile.am: Ditto.
1164 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1165 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1166 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1167 * libc/sys/linux/machine/Makefile.am: Ditto.
1168 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1169 * libc/sys/m88kbug/Makefile.am: Ditto.
1170 * libc/sys/mmixware/Makefile.am: Ditto.
1171 * libc/sys/netware/Makefile.am: Ditto.
1172 * libc/sys/rdos/Makefile.am: Ditto.
1173 * libc/sys/rtems/Makefile.am: Ditto.
1174 * libc/sys/sh/Makefile.am: Ditto.
1175 * libc/sys/sparc64/Makefile.am: Ditto.
1176 * libc/sys/sun4/Makefile.am: Ditto.
1177 * libc/sys/sysmec/Makefile.am: Ditto.
1178 * libc/sys/sysnec810/Makefile.am: Ditto.
1179 * libc/sys/sysnecv850/Makefile.am: Ditto.
1180 * libc/sys/sysvi386/Makefile.am: Ditto.
1181 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1182 * libc/sys/tic80/Makefile.am: Ditto.
1183 * libc/sys/w65/Makefile.am: Ditto.
1184 * libc/sys/z8ksim/Makefile.am: Ditto.
1185 * libm/Makefile.am: Ditto.
1186 * libm/machine/Makefile.am: Ditto.
1187 * libm/machine/i386/Makefile.am: Ditto.
1188 * libm/machine/spu/Makefile.am: Ditto.
1189
1190 * aclocal.m4: Regenerate.
1191 * iconvdata/aclocal.m4: Regenerate.
1192 * libc/aclocal.m4: Regenerate.
1193 * libc/machine/aclocal.m4: Regenerate.
1194 * libc/machine/i386/aclocal.m4: Regenerate.
1195 * libc/sys/aclocal.m4: Regenerate.
1196 * libc/sys/linux/aclocal.m4: Regenerate.
1197 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
1198 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
1199 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
1200 * libc/sys/linux/machine/aclocal.m4: Regenerate.
1201 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
1202 * libm/aclocal.m4: Regenerate.
1203 * libm/machine/aclocal.m4: Regenerate.
1204 * libm/machine/i386/aclocal.m4: Regenerate.
1205
1206 * Makefile.in: Regenerate.
1207 * doc/Makefile.in: Regenerate.
1208 * iconvdata/Makefile.in: Regenerate.
1209 * libc/Makefile.in: Regenerate.
1210 * libc/argz/Makefile.in: Regenerate.
1211 * libc/ctype/Makefile.in: Regenerate.
1212 * libc/errno/Makefile.in: Regenerate.
1213 * libc/iconv/Makefile.in: Regenerate.
1214 * libc/iconv/ccs/Makefile.in: Regenerate.
1215 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
1216 * libc/iconv/ces/Makefile.in: Regenerate.
1217 * libc/iconv/lib/Makefile.in: Regenerate.
1218 * libc/locale/Makefile.in: Regenerate.
1219 * libc/machine/Makefile.in: Regenerate.
1220 * libc/machine/a29k/Makefile.in: Regenerate.
1221 * libc/machine/arm/Makefile.in: Regenerate.
1222 * libc/machine/bfin/Makefile.in: Regenerate.
1223 * libc/machine/cris/Makefile.in: Regenerate.
1224 * libc/machine/crx/Makefile.in: Regenerate.
1225 * libc/machine/d10v/Makefile.in: Regenerate.
1226 * libc/machine/d30v/Makefile.in: Regenerate.
1227 * libc/machine/fr30/Makefile.in: Regenerate.
1228 * libc/machine/frv/Makefile.in: Regenerate.
1229 * libc/machine/h8300/Makefile.in: Regenerate.
1230 * libc/machine/h8500/Makefile.in: Regenerate.
1231 * libc/machine/hppa/Makefile.in: Regenerate.
1232 * libc/machine/i386/Makefile.in: Regenerate.
1233 * libc/machine/i960/Makefile.in: Regenerate.
1234 * libc/machine/iq2000/Makefile.in: Regenerate.
1235 * libc/machine/m32c/Makefile.in: Regenerate.
1236 * libc/machine/m32r/Makefile.in: Regenerate.
1237 * libc/machine/m68hc11/Makefile.in: Regenerate.
1238 * libc/machine/m68k/Makefile.in: Regenerate.
1239 * libc/machine/m88k/Makefile.in: Regenerate.
1240 * libc/machine/mips/Makefile.in: Regenerate.
1241 * libc/machine/mn10200/Makefile.in: Regenerate.
1242 * libc/machine/mn10300/Makefile.in: Regenerate.
1243 * libc/machine/mt/Makefile.in: Regenerate.
1244 * libc/machine/necv70/Makefile.in: Regenerate.
1245 * libc/machine/powerpc/Makefile.in: Regenerate.
1246 * libc/machine/sh/Makefile.in: Regenerate.
1247 * libc/machine/sparc/Makefile.in: Regenerate.
1248 * libc/machine/spu/Makefile.in: Regenerate.
1249 * libc/machine/tic4x/Makefile.in: Regenerate.
1250 * libc/machine/tic80/Makefile.in: Regenerate.
1251 * libc/machine/v850/Makefile.in: Regenerate.
1252 * libc/machine/w65/Makefile.in: Regenerate.
1253 * libc/machine/xscale/Makefile.in: Regenerate.
1254 * libc/machine/xstormy16/Makefile.in: Regenerate.
1255 * libc/machine/z8k/Makefile.in: Regenerate.
1256 * libc/misc/Makefile.in: Regenerate.
1257 * libc/posix/Makefile.in: Regenerate.
1258 * libc/reent/Makefile.in: Regenerate.
1259 * libc/search/Makefile.in: Regenerate.
1260 * libc/signal/Makefile.in: Regenerate.
1261 * libc/stdio/Makefile.in: Regenerate.
1262 * libc/stdio64/Makefile.in: Regenerate.
1263 * libc/stdlib/Makefile.in: Regenerate.
1264 * libc/string/Makefile.in: Regenerate.
1265 * libc/sys/Makefile.in: Regenerate.
1266 * libc/sys/a29khif/Makefile.in: Regenerate.
1267 * libc/sys/arc/Makefile.in: Regenerate.
1268 * libc/sys/arm/Makefile.in: Regenerate.
1269 * libc/sys/d10v/Makefile.in: Regenerate.
1270 * libc/sys/decstation/Makefile.in: Regenerate.
1271 * libc/sys/h8300hms/Makefile.in: Regenerate.
1272 * libc/sys/h8500hms/Makefile.in: Regenerate.
1273 * libc/sys/linux/Makefile.in: Regenerate.
1274 * libc/sys/linux/argp/Makefile.in: Regenerate.
1275 * libc/sys/linux/cmath/Makefile.in: Regenerate.
1276 * libc/sys/linux/dl/Makefile.in: Regenerate.
1277 * libc/sys/linux/iconv/Makefile.in: Regenerate.
1278 * libc/sys/linux/intl/Makefile.in: Regenerate.
1279 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
1280 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
1281 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1282 * libc/sys/linux/machine/Makefile.in: Regenerate.
1283 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1284 * libc/sys/linux/net/Makefile.in: Regenerate.
1285 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1286 * libc/sys/m88kbug/Makefile.in: Regenerate.
1287 * libc/sys/mmixware/Makefile.in: Regenerate.
1288 * libc/sys/netware/Makefile.in: Regenerate.
1289 * libc/sys/rdos/Makefile.in: Regenerate.
1290 * libc/sys/rtems/Makefile.in: Regenerate.
1291 * libc/sys/sh/Makefile.in: Regenerate.
1292 * libc/sys/sparc64/Makefile.in: Regenerate.
1293 * libc/sys/sun4/Makefile.in: Regenerate.
1294 * libc/sys/sysmec/Makefile.in: Regenerate.
1295 * libc/sys/sysnec810/Makefile.in: Regenerate.
1296 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1297 * libc/sys/sysvi386/Makefile.in: Regenerate.
1298 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1299 * libc/sys/tic80/Makefile.in: Regenerate.
1300 * libc/sys/w65/Makefile.in: Regenerate.
1301 * libc/sys/z8ksim/Makefile.in: Regenerate.
1302 * libc/syscalls/Makefile.in: Regenerate.
1303 * libc/time/Makefile.in: Regenerate.
1304 * libc/unix/Makefile.in: Regenerate.
1305 * libm/Makefile.in: Regenerate.
1306 * libm/common/Makefile.in: Regenerate.
1307 * libm/machine/Makefile.in: Regenerate.
1308 * libm/machine/i386/Makefile.in: Regenerate.
1309 * libm/machine/spu/Makefile.in: Regenerate.
1310 * libm/math/Makefile.in: Regenerate.
1311 * libm/mathfp/Makefile.in: Regenerate.
1312
1313 * configure: Regenerate.
1314 * iconvdata/configure: Regenerate.
1315 * libc/configure: Regenerate.
1316 * libc/machine/configure: Regenerate.
1317 * libc/machine/i386/configure: Regenerate.
1318 * libc/sys/configure: Regenerate.
1319 * libc/sys/linux/configure: Regenerate.
1320 * libc/sys/linux/linuxthreads/configure: Regenerate.
1321 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1322 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1323 * libc/sys/linux/machine/configure: Regenerate.
1324 * libc/sys/linux/machine/i386/configure: Regenerate.
1325 * libm/configure: Regenerate.
1326 * libm/machine/configure: Regenerate.
1327 * libm/machine/i386/configure: Regenerate.
1328
1329 2007-05-23 Eric Blake <ebb9@byu.net>
1330
1331 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1332 sizeof(void*) is 8 but sizeof(long) is 4.
1333 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1334 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1335 to fix reentrancy and bug on encoding error in multibyte locales.
1336 Always return EOF on read error.
1337
1338 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1339
1340 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1341 prototype.
1342 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1343 instead of the slot 0 value, remove any now unused variables, and
1344 for some cases, now store the result in an int vs int*.
1345 * libc/machine/spu/feof.c: Ditto.
1346 * libc/machine/spu/ferror.c: Ditto.
1347 * libc/machine/spu/fflush.c: Ditto.
1348 * libc/machine/spu/fgetc.c: Ditto.
1349 * libc/machine/spu/fgetpos.c: Ditto.
1350 * libc/machine/spu/fgets.c: Ditto.
1351 * libc/machine/spu/fileno.c: Ditto.
1352 * libc/machine/spu/fopen.c: Ditto.
1353 * libc/machine/spu/fprintf.c: Ditto.
1354 * libc/machine/spu/fputc.c: Ditto.
1355 * libc/machine/spu/fputs.c: Ditto.
1356 * libc/machine/spu/fread.c: Ditto.
1357 * libc/machine/spu/freopen.c: Ditto.
1358 * libc/machine/spu/fscanf.c: Ditto.
1359 * libc/machine/spu/fseek.c: Ditto.
1360 * libc/machine/spu/fsetpos.c: Ditto.
1361 * libc/machine/spu/ftell.c: Ditto.
1362 * libc/machine/spu/fwrite.c: Ditto.
1363 * libc/machine/spu/getc.c: Ditto.
1364 * libc/machine/spu/getchar.c: Ditto.
1365 * libc/machine/spu/gets.c: Ditto.
1366 * libc/machine/spu/printf.c: Ditto.
1367 * libc/machine/spu/putc.c: Ditto.
1368 * libc/machine/spu/putchar.c: Ditto.
1369 * libc/machine/spu/puts.c: Ditto.
1370 * libc/machine/spu/remove.c: Ditto.
1371 * libc/machine/spu/rename.c: Ditto.
1372 * libc/machine/spu/scanf.c: Ditto.
1373 * libc/machine/spu/setvbuf.c: Ditto.
1374 * libc/machine/spu/snprintf.c: Ditto.
1375 * libc/machine/spu/sprintf.c: Ditto.
1376 * libc/machine/spu/sscanf.c: Ditto.
1377 * libc/machine/spu/tmpfile.c: Ditto.
1378 * libc/machine/spu/tmpnam.c: Ditto.
1379 * libc/machine/spu/ungetc.c: Ditto.
1380 * libc/machine/spu/vfprintf.c: Ditto.
1381 * libc/machine/spu/vfscanf.c: Ditto.
1382 * libc/machine/spu/vprintf.c: Ditto.
1383 * libc/machine/spu/vscanf.c: Ditto.
1384 * libc/machine/spu/vsnprintf.c: Ditto.
1385 * libc/machine/spu/vsprintf.c: Ditto.
1386 * libc/machine/spu/vsscanf.c: Ditto.
1387
1388 2007-05-23 Eric Blake <ebb9@byu.net>
1389
1390 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
1391 Avoid warning when !FLOATING_POINT.
1392 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
1393 slightly.
1394
1395 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
1396
1397 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
1398 to zero.
1399 * libc/include/argz.h: Guard against multiple inclusion. Guard for
1400 use with C++.
1401
1402 2007-05-18 Eric Blake <ebb9@byu.net>
1403
1404 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
1405 compilers.
1406 * libc/stdio/vfscanf.c: Likewise.
1407
1408 2007-05-17 Cary R. <cygcary <at> yahoo.com>
1409
1410 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
1411 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
1412 * libm/math/wf_atan2.c: Ditto.
1413
1414 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
1415
1416 * libm/common/Makefile.am: Add support for exp10, exp10f,
1417 pow10, and pow10f functions.
1418 * libm/common/Makefile.in: Regenerated.
1419 * libm/common/s_pow10.c: New file.
1420 * libm/common/sf_pow10.c: Ditto.
1421 * libm/common/s_exp10.c: Ditto.
1422 * libm/common/sf_exp10.c: Ditto.
1423 * libc/include/math.h [!pow10]: New pow10 prototype.
1424 [!pow10f]: New pow10f prototype.
1425 [!exp10]: New exp10 prototype.
1426 [!exp10f]: New exp10f prototype.
1427
1428 2007-05-17 Charles Wilson <cygwin@...>
1429
1430 * stdio/tmpfile.c: Include <sys/stat.h>.
1431 * stdio64/tmpfile64.c: Ditto.
1432
1433 2007-05-16 Eric Blake <ebb9@byu.net>
1434
1435 Close security hole in tmpfile.
1436 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
1437 generation and opening the fd.
1438 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
1439
1440 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
1441 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
1442 required by POSIX.
1443 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
1444 avoid clash with <math.h>.
1445
1446 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
1447 * libc/search/hash.c (__hash_open): Likewise.
1448
1449 2007-05-14 Eric Blake <ebb9@byu.net>
1450
1451 Reduce stack size of *printf.
1452 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
1453 in %f. Avoid malloc when possible for %S.
1454 (BUF): Improve stack locality by using smaller size.
1455 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
1456 (exponent): Use smaller stack size.
1457
1458 2007-05-11 Eric Blake <ebb9@byu.net>
1459
1460 Minimize printf/scanf size on platforms that don't need C99.
1461 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
1462 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
1463 * configure.in (newlib-io-c99-formats): New configure option.
1464 (_WANT_IO_C99_FORMATS): Define appropriately.
1465 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
1466 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
1467 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
1468 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
1469 Likewise.
1470 * configure: Regenerate.
1471
1472 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
1473 (get_arg): Support '%a' and '%A'.
1474
1475 2007-05-09 Eric Blake <ebb9@byu.net>
1476
1477 Allow zero size with non-null buf in *asnprintf.
1478 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
1479 user's buf.
1480 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
1481 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1482 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
1483
1484 2007-05-07 Charles Wilson <cygwin@...>
1485
1486 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
1487
1488 2007-05-03 Eric Blake <ebb9@byu.net>
1489
1490 Add support for asnprintf, and improve *printf documentation.
1491 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
1492 (ELIX_2_SOURCES): ...to this.
1493 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
1494 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
1495 (CHEWOUT_FILES): Include diprintf in documentation.
1496 * libc/stdio/Makefile.in: Regenerate.
1497 * libc/stdio/diprintf.c: Improve documentation.
1498 * libc/stdio/dprintf.c: Likewise.
1499 * libc/stdio/siprintf.c: Likewise.
1500 * libc/stdio/sprintf.c: Likewise.
1501 * libc/stdio/vfprintf.c: Likewise.
1502 * libc/stdio/viprintf.c: Likewise.
1503 * libc/stdio/vsniprintf.c: Consolidate documentation.
1504 * libc/stdio/asiprintf.c: Refer to documentation.
1505 * libc/stdio/asprintf.c: Likewise.
1506 * libc/stdio/fiprintf.c: Likewise.
1507 * libc/stdio/fprintf.c: Likewise.
1508 * libc/stdio/iprintf.c: Likewise.
1509 * libc/stdio/printf.c: Likewise.
1510 * libc/stdio/sniprintf.c: Likewise.
1511 * libc/stdio/vdiprintf.c: Likewise.
1512 * libc/stdio/vdprintf.c: Likewise.
1513 * libc/stdio/vsiprintf.c: Likewise.
1514 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
1515 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
1516 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
1517 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
1518 file.
1519 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
1520 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
1521 typical case.
1522 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
1523 * libc/include/stdio.h: Add prototypes for new functions; sort
1524 existing functions.
1525
1526 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
1527
1528 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1529 and memset.S.
1530 * libc/machine/m68k/Makefile.in: Regenerate.
1531 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
1532 * libc/machine/m68k/memset.S: Likewise.
1533
1534 2007-05-01 Eric Blake <ebb9@byu.net>
1535
1536 * libc/stdio64/local64.h: Delete, move contents to...
1537 * libc/stdio/local.h: ...here.
1538 * libc/stdio64/fdopen64.c: Update includes.
1539 * libc/stdio64/fopen64.c: Likewise.
1540 * libc/stdio64/freopen64.c: Likewise.
1541 * libc/stdio64/fseeko64.c: Likewise.
1542 * libc/stdio64/ftello64.c: Likewise.
1543 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
1544 and stderr with 64-bit offset.
1545 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
1546 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
1547 * libc/stdio/mktemp.c (_gettemp): Likewise.
1548
1549 2007-05-01 Cary R. <cygcary <at> yahoo.com>
1550
1551 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
1552 to treatment of NaN and +-inf arguments.
1553 * libm/math/ef_pow.c: Ditto.
1554 * libm/math/w_pow.c: Ditto.
1555 * libm/math/wf_pow.c: Ditto.
1556 * libm/math/w_acos.c: Fix domain errors to return NaN.
1557 * libm/math/w_asin.c: Ditto.
1558 * libm/math/wf_acos.c: Ditto.
1559 * libm/math/wf_asin.c: Ditto.
1560 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
1561 * libm/math/wf_log.c: Ditto.
1562 * libm/math/wf_log10.c: Ditto.
1563 * libm/math/w_log10.c: Ditto.
1564
1565 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
1566
1567 * libc/machine/m68k/Makefile.am: Temporarily remove
1568 memcpy.S and memset.S until logic can be confirmed for
1569 !(__mcoldfile__) case.
1570 * libc/machine/m68k/Makefile.in: Regenerated.
1571
1572 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
1573
1574 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1575 and memset.S.
1576 * libc/machine/m68k/Makefile.in: Regenerate.
1577 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
1578
1579 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
1580
1581 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
1582 overridden via machine/ieeefp.h.
1583 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
1584 macros for isnan and related macros.
1585 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
1586 overridden via machine/ieeefp.h.
1587 * libm/machine/spu/Makefile.am: Add new files.
1588 * libm/machine/spu/Makefile.in: Autogenerate with new files.
1589 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
1590 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
1591 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
1592 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
1593 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
1594 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
1595 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
1596
1597 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
1598
1599 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
1600 * libm/common/sf_fpclassify.c: ...here. New file.
1601 * libm/common/Makefile.am: Add sf_fpclassify.c.
1602 * libm/common/Makefile.in: Regenerated.
1603
1604 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1605
1606 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
1607 ppu linux values. This file is a copy of the cris/sys/errno.h plus
1608 a few changes (see spu errno.h comments).
1609
1610 2007-04-25 Eric Blake <ebb9@byu.net>
1611
1612 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
1613 that promote to int.
1614
1615 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1616
1617 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
1618 we clear the proper bits in the fpscr, and don't set some random ones.
1619
1620 2007-04-24 Eric Blake <ebb9@byu.net>
1621
1622 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
1623 or NaN with %05f.
1624
1625 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
1626 _MB_CAPABLE.
1627
1628 * libc/include/limits.h (NL_ARGMAX): Define a default value.
1629 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
1630 NL_ARGMAX, if present.
1631
1632 2007-04-23 Brian Dessent <brian@dessent.net>
1633
1634 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
1635 has been specified with types 'f', 'F', 'g', or 'G', ensure the
1636 trailing decimal is printed.
1637
1638 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
1639
1640 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
1641 file. Override Autoconf-2.59's version of these macros with
1642 fixed handling of multiple adjacent whitespace in arguments.
1643 * aclocal.m4: Regenerated forcefully.
1644 * configure: Ditto.
1645 * Makefile.in: Ditto.
1646 * libc/*Makefile.in: Ditto.
1647 * libc/*aclocal.m4: Ditto.
1648 * libc/*configure: Ditto.
1649 * libm/*Makefile.in: Ditto.
1650 * libm/*aclocal.m4: Ditto.
1651 * libm/*configure: Ditto.
1652
1653 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
1654
1655 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
1656 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
1657 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
1658 * libc/sys/arc/Makefile.in: Regenerated.
1659
1660 2007-04-17 Brian Dessent <brian@dessent.net>
1661
1662 * libc/stdio/sscanf.c: Update documentation comments.
1663 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
1664
1665 2007-04-12 Eric Blake <ebb9@byu.net>
1666
1667 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1668 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1669 (get_arg): Handle %1$F, %1$n.
1670
1671 2007-04-10 Eric Blake <ebb9@byu.net>
1672
1673 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1674 CFLAGS=-O0.
1675
1676 2007-04-09 Eric Blake <ebb9@byu.net>
1677
1678 * libc/include/stdio.h: Add gcc format attributes to printf and
1679 scanf families.
1680
1681 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
1682
1683 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1684 even if the passed in length n is shorter than the source string.
1685 This matches both the non-spu specific and the glibc strxfrm
1686 behaviour.
1687
1688 2007-04-04 Mark Mitchell <mark@codesourcery.com>
1689
1690 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1691 functions registering additional atexit functions.
1692
1693 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1694 -I${newlib_dir}.
1695
1696 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
1697
1698 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1699 prototype.
1700 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1701 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1702 * libc/machine/spu/fclose.c: Ditto.
1703 * libc/machine/spu/feof.c: Ditto.
1704 * libc/machine/spu/ferror.c: Ditto.
1705 * libc/machine/spu/fflush.c: Ditto.
1706 * libc/machine/spu/fgetc.c: Ditto.
1707 * libc/machine/spu/fgetpos.c: Ditto.
1708 * libc/machine/spu/fgets.c: Ditto.
1709 * libc/machine/spu/fileno.c: Ditto.
1710 * libc/machine/spu/fopen.c: Ditto.
1711 * libc/machine/spu/fprintf.c: Ditto.
1712 * libc/machine/spu/fputc.c: Ditto.
1713 * libc/machine/spu/fputs.c: Ditto.
1714 * libc/machine/spu/fread.c: Ditto.
1715 * libc/machine/spu/freopen.c: Ditto.
1716 * libc/machine/spu/fscanf.c: Ditto.
1717 * libc/machine/spu/fseek.c: Ditto.
1718 * libc/machine/spu/fsetpos.c: Ditto.
1719 * libc/machine/spu/ftell.c: Ditto.
1720 * libc/machine/spu/fwrite.c: Ditto.
1721 * libc/machine/spu/getc.c: Ditto.
1722 * libc/machine/spu/getchar.c: Ditto.
1723 * libc/machine/spu/gets.c: Ditto.
1724 * libc/machine/spu/perror.c: Ditto.
1725 * libc/machine/spu/printf.c: Ditto.
1726 * libc/machine/spu/putc.c: Ditto.
1727 * libc/machine/spu/putchar.c: Ditto.
1728 * libc/machine/spu/puts.c: Ditto.
1729 * libc/machine/spu/remove.c: Ditto.
1730 * libc/machine/spu/rename.c: Ditto.
1731 * libc/machine/spu/rewind.c: Ditto.
1732 * libc/machine/spu/scanf.c: Ditto.
1733 * libc/machine/spu/setbuf.c: Ditto.
1734 * libc/machine/spu/setvbuf.c: Ditto.
1735 * libc/machine/spu/snprintf.c: Ditto.
1736 * libc/machine/spu/sprintf.c: Ditto.
1737 * libc/machine/spu/sscanf.c: Ditto.
1738 * libc/machine/spu/tmpfile.c: Ditto.
1739 * libc/machine/spu/tmpnam.c: Ditto.
1740 * libc/machine/spu/ungetc.c: Ditto.
1741 * libc/machine/spu/vfprintf.c: Ditto.
1742 * libc/machine/spu/vfscanf.c: Ditto.
1743 * libc/machine/spu/vprintf.c: Ditto.
1744 * libc/machine/spu/vscanf.c: Ditto.
1745 * libc/machine/spu/vsnprintf.c: Ditto.
1746 * libc/machine/spu/vsprintf.c: Ditto.
1747 * libc/machine/spu/vsscanf.c: Ditto.
1748
1749 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1750
1751 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1752
1753 2007-04-04 Eric Blake <ebb9@byu.net>
1754
1755 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1756 (asiprintf): Avoid overhead.
1757 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1758 (asprintf): Avoid overhead.
1759 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1760 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1761 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1762 (fiprintf): Avoid overhead.
1763 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1764 (fprintf): Avoid overhead.
1765 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1766 (iprintf): Avoid overhead.
1767 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1768 (printf): Avoid overhead.
1769 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1770 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1771 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1772 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1773 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1774 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1775 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1776 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1777 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1778 vdiprintf.c.
1779 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1780 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1781
1782 2007-03-30 Dave Korn <dave.korn@artimi.com>
1783
1784 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1785 conflicting inline semantics between C99 and GNU89.
1786 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1787 compatible with -fkeep-inline-functions usage.
1788 (__sputc_r): Likewise for consistency even though disabled.
1789
1790 2007-03-29 Nick Clifton <nickc@redhat.com>
1791
1792 Reflect changes made to generic vfprintf.c:
1793 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1794 and add a "struct reent *" argument.
1795 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1796 argument and call _VFPRINTF_R instead of VFPRINTF.
1797 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1798 Fix uses of __sprint() and __sbprintf.
1799
1800 2007-03-20 Nick Clifton <nickc@redhat.com>
1801
1802 Reflect changes made to generic vfprintf.c:
1803 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1804 and add a "struct reent *" argument.
1805 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1806 argument and call _VFPRINTF_R instead of VFPRINTF.
1807 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1808 Fix uses of __sprint() and __sbprintf.
1809
1810 2007-03-16 Charles Wilson <cygwin@...>
1811
1812 * libc/argz/argz_insert.c: "before" pointer is
1813 invalid after *argz realloc. Compute offset
1814 between "before" and *argz, and use it after
1815 reallocation instead.
1816
1817 2007-03-16 Eric Blake <ebb9@byu.net>
1818
1819 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1820 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1821
1822 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1823
1824 * configure.in: Add new --enable-newlib-reent-small option.
1825 * configure: Regenerated.
1826 * acconfig.h: Add _WANT_REENT_SMALL.
1827 * newlib.hin: Regenerated minus PACKAGE macros to add
1828 _WANT_REENT_SMALL macro.
1829 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1830 if not already set.
1831 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1832 there is no buffer.
1833 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1834 use reentrant pointer passed in when resetting the file
1835 pointer to one of the std streams.
1836
1837 2007-03-15 Eric Blake <ebb9@byu.net>
1838
1839 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1840 (__smakebuf): Rename...
1841 (__smakebuf_r): to this.
1842 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1843 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1844 allocation, then rename...
1845 (__smakebuf_r): ...to this and fix reentrancy.
1846 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1847 allocation, then rename...
1848 (__swsetup_r): ...to this and fix reentrancy.
1849 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1850 * libc/stdio/refill.c (__srefill_r): Likewise.
1851 * libc/stdio/fclose.c (_fclose_r): Likewise.
1852 * libc/stdio/fread.c (_fread_r): Likewise.
1853 * libc/stdio/freopen.c (_freopen_r): Likewise.
1854 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1855 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1856 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1857 failed asprintf allocation, and fix reentrancy.
1858 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1859 as required by POSIX.
1860 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1861 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1862 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1863
1864 2007-03-12 Eric Blake <ebb9@byu.net>
1865
1866 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1867 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1868 allocation to caller.
1869 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1870 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1871 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1872
1873 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1874
1875 * libm/math/w_pow.c: Fix typo in documentation comment.
1876
1877 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1878
1879 * libc/reent/timer.c: Removed (split into two new files).
1880 * libc/reent/timesr.c: New file for _times_r.
1881 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1882 * reent/Makefile.in: Remove timer.c, add timesr.c and
1883 gettimeofdayr.c.
1884 * libc/reent/Makefile.am: Regenerate.
1885
1886 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1887
1888 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1889
1890 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1891
1892 * libc/machine/spu/Makefile.am: Add new objects.
1893 * libc/machine/spu/Makefile.in: Regenerated.
1894 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1895 integer-only version.
1896 * libc/machine/spu/fiscanf.c: Ditto.
1897 * libc/machine/spu/iprintf.c: Ditto.
1898 * libc/machine/spu/iscanf.c: Ditto.
1899 * libc/machine/spu/siprintf.c: Ditto.
1900 * libc/machine/spu/siscanf.c: Ditto.
1901 * libc/machine/spu/sniprintf.c: Ditto.
1902 * libc/machine/spu/vfiprintf.c: Ditto.
1903 * libc/machine/spu/vfiscanf.c: Ditto.
1904 * libc/machine/spu/viprintf.c: Ditto.
1905 * libc/machine/spu/viscanf.c: Ditto.
1906 * libc/machine/spu/vsiprintf.c: Ditto.
1907 * libc/machine/spu/vsiscanf.c: Ditto.
1908 * libc/machine/spu/vsniprintf.c: Ditto.
1909 * libc/machine/spu/fprintf.c: Add support for integer-only
1910 version.
1911 * libc/machine/spu/fscanf.c: Ditto.
1912 * libc/machine/spu/printf.c: Ditto.
1913 * libc/machine/spu/scanf.c: Ditto.
1914 * libc/machine/spu/snprintf.c: Ditto.
1915 * libc/machine/spu/sprintf.c: Ditto.
1916 * libc/machine/spu/sscanf.c: Ditto.
1917 * libc/machine/spu/vfprintf.c: Ditto.
1918 * libc/machine/spu/vfscanf.c: Ditto.
1919 * libc/machine/spu/vprintf.c: Ditto.
1920 * libc/machine/spu/vscanf.c: Ditto.
1921 * libc/machine/spu/vsnprintf.c: Ditto.
1922 * libc/machine/spu/vsprintf.c: Ditto.
1923 * libc/machine/spu/vsscanf.c: Ditto.
1924
1925 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1926
1927 * libc/include/stdio.h: Add declaration for vsiprintf.
1928
1929 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1930
1931 Add a floating point environment for SPU (cell):
1932
1933 * configure.host: add libm_machine_dir=spu.
1934 * libm/machine/configure: Add spu.
1935 * libm/machine/configure.in: regenerated with spu added.
1936 * libc/machine/spu/include/fenv.h: New file.
1937 * libc/machine/spu/sys/fenv.h: Ditto.
1938 * libm/machine/spu/Makefile.am: Ditto.
1939 * libm/machine/spu/Makefile.in: Ditto.
1940 * libm/machine/spu/aclocal.m4: Ditto.
1941 * libm/machine/spu/configure: Ditto.
1942 * libm/machine/spu/configure.in: Ditto.
1943 * libm/machine/spu/fe_dfl_env.c: Ditto.
1944 * libm/machine/spu/feclearexcept.c: Ditto.
1945 * libm/machine/spu/fegetenv.c: Ditto.
1946 * libm/machine/spu/fegetexceptflag.c: Ditto.
1947 * libm/machine/spu/fegetround.c: Ditto.
1948 * libm/machine/spu/feholdexcept.c: Ditto.
1949 * libm/machine/spu/feraiseexcept.c: Ditto.
1950 * libm/machine/spu/fesetenv.c: Ditto.
1951 * libm/machine/spu/fesetexceptflag.c: Ditto.
1952 * libm/machine/spu/fesetround.c: Ditto.
1953 * libm/machine/spu/fetestexcept.c: Ditto.
1954 * libm/machine/spu/feupdateenv.c: Ditto.
1955 * libm/machine/spu/headers/feclearexcept.h: Ditto.
1956 * libm/machine/spu/headers/fefpscr.h: Ditto.
1957 * libm/machine/spu/headers/fegetenv.h: Ditto.
1958 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
1959 * libm/machine/spu/headers/fegetround.h: Ditto.
1960 * libm/machine/spu/headers/feholdexcept.h: Ditto.
1961 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
1962 * libm/machine/spu/headers/fesetenv.h: Ditto.
1963 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1964 * libm/machine/spu/headers/fesetround.h: Ditto.
1965 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1966 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1967
1968 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
1969
1970 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1971 Cygwin.
1972
1973 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
1974
1975 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1976 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1977
1978 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
1979
1980 * libc/include/sys/features.h: Add definition of all supported
1981 _POSIX_xxx values for Cygwin.
1982 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1983 on Cygwin.
1984 (pthread_rwlockattr_t): Ditto.
1985 * libc/include/sys/unistd.h: Define all _SC_xxx values as
1986 required by SUSv3. Unify formatting.
1987
1988 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
1989
1990 * libc/include/sys/errno.h: Add ECANCELED.
1991
1992 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1993 Kazunori Asayama <asayama@sm.sony.co.jp>
1994
1995 * libc/machine/spu/Makefile.am: Add objects.
1996 * libc/machine/spu/Makefile.in: Regenerated.
1997 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
1998 implementation.
1999 * libc/machine/spu/snprintf.c: Ditto.
2000 * libc/machine/spu/sprintf.c: Ditto.
2001 * libc/machine/spu/sscanf.c: Ditto.
2002 * libc/machine/spu/remove.c: Ditto.
2003 * libc/machine/spu/rename.c: Ditto.
2004 * libc/machine/spu/tmpnam.c: Ditto.
2005 * libc/machine/spu/vsnprintf.c: Add initialization routine of
2006 stdio stuffs.
2007 * libc/machine/spu/vsprintf.c: Ditto.
2008
2009 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
2010 Kazunori Asayama <asayama@sm.sony.co.jp>
2011
2012 * configure.host: Enable SPU specific stdio directory.
2013 * libc/machine/spu/Makefile.am: Add objects.
2014 * libc/machine/spu/Makefile.in: Regenerated.
2015 * libc/machine/spu/c99ppe.h: Add macros and function
2016 declarations to initialize SPU specific stdio stuffs.
2017 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
2018 specific FILE structures.
2019 * libc/machine/spu/perror.c: Add initialization routine of
2020 stdio stuffs.
2021 * libc/machine/spu/printf.c: Ditto.
2022 * libc/machine/spu/putchar.c: Ditto.
2023 * libc/machine/spu/puts.c: Ditto.
2024 * libc/machine/spu/vprintf.c: Ditto.
2025 * libc/machine/spu/clearerr.c: New file. Add a stdio function
2026 implementation.
2027 * libc/machine/spu/feof.c: Ditto.
2028 * libc/machine/spu/ferror.c: Ditto.
2029 * libc/machine/spu/fileno.c: Ditto.
2030 * libc/machine/spu/fopen.c: Ditto.
2031 * libc/machine/spu/fclose.c: Ditto.
2032 * libc/machine/spu/freopen.c: Ditto.
2033 * libc/machine/spu/fflush.c: Ditto.
2034 * libc/machine/spu/fseek.c: Ditto.
2035 * libc/machine/spu/ftell.c: Ditto.
2036 * libc/machine/spu/rewind.c: Ditto.
2037 * libc/machine/spu/fgetpos.c: Ditto.
2038 * libc/machine/spu/fsetpos.c: Ditto.
2039 * libc/machine/spu/fread.c: Ditto.
2040 * libc/machine/spu/fwrite.c: Ditto.
2041 * libc/machine/spu/getc.c: Ditto.
2042 * libc/machine/spu/getchar.c: Ditto.
2043 * libc/machine/spu/gets.c: Ditto.
2044 * libc/machine/spu/fgetc.c: Ditto.
2045 * libc/machine/spu/fgets.c: Ditto.
2046 * libc/machine/spu/ungetc.c: Ditto.
2047 * libc/machine/spu/putc.c: Ditto.
2048 * libc/machine/spu/fputc.c: Ditto.
2049 * libc/machine/spu/fputs.c: Ditto.
2050 * libc/machine/spu/vfprintf.c: Ditto.
2051 * libc/machine/spu/vfscanf.c: Ditto.
2052 * libc/machine/spu/fprintf.c: Ditto.
2053 * libc/machine/spu/fscanf.c: Ditto.
2054 * libc/machine/spu/scanf.c: Ditto.
2055 * libc/machine/spu/vscanf.c: Ditto.
2056 * libc/machine/spu/setbuf.c: Ditto.
2057 * libc/machine/spu/setvbuf.c: Ditto.
2058 * libc/machine/spu/tmpfile.c: Ditto.
2059
2060 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
2061
2062 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
2063 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
2064 around stdio macros that manipulate fields in the normal file
2065 structure.
2066 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
2067 <sys/custom_file.h> to define custom FILE structure.
2068 * libc/include/sys/custom_file.h: New default header file
2069 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
2070 * libc/machine/spu/sys/custom_file.h: New file.
2071
2072 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
2073
2074 * configure.host: Define stdio directory as a variable.
2075 * libc/Makefile.am: Define stdio related names
2076 as macros.
2077 * libc/configure.in: Add detection routine of stdio directory.
2078 * libc/Makefile.in: Regenerated.
2079 * libc/configure: Ditto.
2080 * libc/argz/Makefile.in: Ditto.
2081 * libc/ctype/Makefile.in: Ditto.
2082 * libc/errno/Makefile.in: Ditto.
2083 * libc/iconv/Makefile.in: Ditto.
2084 * libc/iconv/ccs/Makefile.in: Ditto.
2085 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2086 * libc/iconv/ces/Makefile.in: Ditto.
2087 * libc/iconv/lib/Makefile.in: Ditto.
2088 * libc/locale/Makefile.in: Ditto.
2089 * libc/misc/Makefile.in: Ditto.
2090 * libc/posix/Makefile.in: Ditto.
2091 * libc/reent/Makefile.in: Ditto.
2092 * libc/search/Makefile.in: Ditto.
2093 * libc/signal/Makefile.in: Ditto.
2094 * libc/stdio/Makefile.in: Ditto.
2095 * libc/stdio64/Makefile.in: Ditto.
2096 * libc/stdlib/Makefile.in: Ditto.
2097 * libc/string/Makefile.in: Ditto.
2098 * libc/syscalls/Makefile.in: Ditto.
2099 * libc/time/Makefile.in: Ditto.
2100 * libc/unix/Makefile.in: Ditto.
2101
2102 2007-01-30 Ben Elliston <bje@au.ibm.com>
2103
2104 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
2105 fmt member.
2106 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
2107 (printf): Pass fmt to va_start to suppress a warning.
2108
2109 * libc/search/hash.c (init_hash): Make `info' parameter const.
2110
2111 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
2112
2113 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
2114 * libc/machine/spu/vec_literal.h: Ditto.
2115 * libc/machine/spu/strncmp.c: Ditto.
2116
2117 2007-01-15 Joseph Myers <joseph@codesourcery.com>
2118 Kazu Hirata <kazu@codesourcery.com>
2119
2120 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
2121 for E500V1 and E500V2.
2122
2123 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
2124
2125 * libm/configure.in: Always configure machine directory.
2126 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
2127 unconditionally.
2128 * libm/configure: Regenerated.
2129 * libm/Makefile.in: Ditto.
2130 * libm/*/Makefile.in: Ditto.
2131
2132 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
2133
2134 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
2135
2136 2007-01-02 Ben Elliston <bje@au.ibm.com>
2137
2138 * doc/makedoc.c: Include <stdlib.h>.
2139 (malloc, realloc): Remove extern declarations.
2140
2141 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2142
2143 * NEWS: Update with 1.15.0 info.
2144 * README: Ditto.
2145 * acinclude.m4: Change version number to 1.15.0.
2146 * aclocal.m4: Regenerated.
2147 * configure: Ditto.
2148 * doc/aclocal.m4: Ditto.
2149 * doc/configure: Ditto.
2150 * libc/*/aclocal.m4: Ditto.
2151 * libc/*/configure: Ditto.
2152 * libc/libc.texinfo: Ditto.
2153 * libm/*/aclocal.m4: Ditto.
2154 * libm/*/configure: Ditto.
2155 * libm/libm.texinfo: Ditto.
2156 * libc/sys/linux/shared.ld: Add VERS_1.15.
2157
2158 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
2159
2160 Merge from newlib-csl-20060320-branch:
2161 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
2162 Kazu Hirata <kazu@codesourcery.com>
2163
2164 * configure.host: Recognize fido.
2165
2166 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
2167
2168 * libc/machine/spu/c99ppe.h: New file
2169 * libc/machine/spu/perror.c: New file to override libc/stdio version.
2170 * libc/machine/spu/printf.c: New file
2171 * libc/machine/spu/putchar.c: New file
2172 * libc/machine/spu/puts.c: New file
2173 * libc/machine/spu/vprintf.c: New file
2174 * libc/machine/spu/vsnprintf.c: New file
2175 * libc/machine/spu/vsprintf.c: New file
2176 * libc/machine/spu/Makefile.am: Add new targets.
2177 * libc/machine/spu/Makefile.in: Regenerated.
2178
2179 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2180
2181 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
2182 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
2183
2184 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2185
2186 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
2187 2.6.5 version of Doug Lea's malloc which is the basis of
2188 this code.
2189
2190 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
2191
2192 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
2193
2194 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
2195 Eric Blake <ebb9@byu.net>
2196
2197 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
2198 read but unused data.
2199 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
2200 even read streams may have side effects that must happen.
2201
2202 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2203
2204 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
2205 correctly.
2206
2207 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2208
2209 * libc/include/alloca.h: Add undef alloca to work with xlc.
2210
2211 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
2212
2213 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
2214 cell spu.
2215
2216 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2217
2218 * libc/machine/spu/strncpy.c: Add padding.
2219
2220 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2221
2222 * testsuite/newlib.string/tstring.c:
2223
2224 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
2225
2226 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
2227 * libc/machine/spu/strrchr.c: Ditto.
2228
2229 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
2230
2231 * libc/include/math.h: Allow C99 functions/macros to be
2232 defined for C++ even when __STRICT_ANSI__.
2233
2234 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
2235
2236 * libc/stdio/makebuf.c (__smakebuf): If dealing with
2237 an asprintf-family buffer, make the default initial size 64.
2238
2239 2006-11-29 Eric Blake <ebb9@byu.net>
2240
2241 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
2242 asprintf, as well as quadratic realloc behavior.
2243
2244 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
2245
2246 * libc/machine/spu/memset.c: Fix type of explicit cast.
2247 * libc/machine/spu/strncmp.c: Add explicit cast.
2248 * libc/machine/spu/strrchr.c: Ditto.
2249 * libc/machine/spu/strspn.c: Ditto.
2250
2251 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
2252
2253 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
2254 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
2255 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
2256 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
2257 * libc/machine/spu/strncat.c: Explicit cast.
2258 * libc/machine/spu/strncmp.c: Use spu_splats.
2259 * libc/machine/spu/strncpy.c: Explicit cast.
2260 * libc/machine/spu/strrchr.c: Use spu_splats.
2261 * libc/machine/spu/strspn.c: Use spu_splats.
2262
2263 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
2264
2265 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
2266
2267 2006-11-14 Eric Blake <ebb9@byu.net>
2268
2269 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
2270 (chclass): ' is a flag. j, t, and z are modifiers.
2271
2272 2006-11-08 Jie Zhang <jie.zhang@analog.com>
2273
2274 * configure.host: Add support for bfin.
2275 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
2276 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
2277 * libc/machine/bfin/aclocal.m4: Generate.
2278 * libc/machine/bfin/configure.in: New.
2279 * libc/machine/bfin/configure: Generate.
2280 * libc/machine/bfin/Makefile.am: New.
2281 * libc/machine/bfin/Makefile.in: Generate.
2282 * libc/machine/bfin/setjmp.S: New.
2283 * libc/machine/bfin/longjmp.S: New.
2284 * libc/machine/configure.in: Add bfin support.
2285 * libc/machine/configure: Generate.
2286
2287 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
2288
2289 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2290 (_PC_FILESIZEBITS): Add definition.
2291 (_PC_2_SYMLINKS): Ditto.
2292 (_PC_SYMLINK_MAX): Ditto.
2293
2294 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2295
2296 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2297 version optimized for the cell spu.
2298 * libc/machine/spu/memmove.c: Ditto.
2299 * libc/machine/spu/memset.c: Ditto.
2300 * libc/machine/spu/strcat.c: Ditto.
2301 * libc/machine/spu/strchr.c: Ditto.
2302 * libc/machine/spu/strcmp.c: Ditto.
2303 * libc/machine/spu/strcpy.c: Ditto.
2304 * libc/machine/spu/strcspn.c: Ditto.
2305 * libc/machine/spu/strlen.c: Ditto.
2306 * libc/machine/spu/strncat.c: Ditto.
2307 * libc/machine/spu/strncmp.c: Ditto.
2308 * libc/machine/spu/strncpy.c: Ditto.
2309 * libc/machine/spu/strpbrk.c: Ditto.
2310 * libc/machine/spu/strrchr.c: Ditto.
2311 * libc/machine/spu/strspn.c: Ditto.
2312 * libc/machine/spu/strxfrm.c: Ditto.
2313 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
2314 removing altivec style initializers.
2315 * libc/machine/spu/Makefile.am: Add new files to list so they build
2316 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2317
2318 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2319
2320 * README: Add a brief section on how to regenerate
2321 configuration files in newlib.
2322
2323 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2324
2325 * libc/include/math.h: (exception): Add a comment
2326 telling fixincludes that we handle C vs. C++ issue.
2327
2328 2006-10-11 Yang Tse <yangsita@gmail.com>
2329
2330 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2331 braced-groups.
2332
2333 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
2334
2335 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2336
2337 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2338
2339 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2340 for clearerr, feof, or fileno.
2341 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2342 the dummy std stream scheme to use pointers to const external
2343 fake files, one for each standard stream.
2344 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2345 argument. For _REENT_SMALL, reset the file pointer if it
2346 matches one of the fake std stream pointers.
2347 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2348 argument.
2349 * libc/stdio/fclose.c: Ditto.
2350 * libc/stdio/feof.c: Ditto.
2351 * libc/stdio/ferror.c: Ditto.
2352 * libc/stdio/fflush.c: Ditto.
2353 * libc/stdio/fgetc.c: Ditto.
2354 * libc/stdio/fgets.c: Ditto.
2355 * libc/stdio/fileno.c: Ditto.
2356 * libc/stdio/findfp.c: Ditto.
2357 * libc/stdio/fputc.c: Ditto.
2358 * libc/stdio/fputs.c: Ditto.
2359 * libc/stdio/fread.c: Ditto.
2360 * libc/stdio/freopen.c: Ditto.
2361 * libc/stdio/fseek.c: Ditto.
2362 * libc/stdio/ftell.c: Ditto.
2363 * libc/stdio/fwrite.c: Ditto.
2364 * libc/stdio/getc.c: Ditto.
2365 * libc/stdio/getdelim.c: Ditto.
2366 * libc/stdio/putc.c: Ditto.
2367 * libc/stdio/refill.c: Ditto.
2368 * libc/stdio/setvbuf.c: Ditto.
2369 * libc/stdio/ungetc.c: Ditto.
2370 * libc/stdio/vfprintf.c: Ditto.
2371 * libc/stdio/vfscanf.c: Ditto.
2372 * libc/stdio/wbuf.c: Ditto.: Ditto.
2373 * libc/stdio/wsetup.c: Ditto.
2374 * libc/stdio64/freopen64.c: Ditto.
2375 * libc/stdio64/fseeko64.c: Ditto.
2376 * libc/stdio64/ftello64.c: Ditto.
2377 * libc/machine/powerpc/vfprintf.c: Ditto.
2378 * libc/machine/powerpc/vfscanf.c: Ditto.
2379
2380 2006-09-22 Paul Brook <paul@codesourcery.com>
2381
2382 * libc/include/sys/reent.h: Define and use __reent_assert.
2383
2384 2006-09-13 Joel Sherrill <joel@oarcorp.com>
2385
2386 * libc/include/pthread.h: Add pthread barriers,
2387 rwlocks, and spinlocks. Change const to
2388 _CONST and prefix parameter names with
2389 an underscore.
2390 * libc/include/sys/types.h: Add id and attribute
2391 types for barriers, wrlocks, and spinlocks.
2392 * libc/include/sys/features.h: Enable barriers,
2393 wrlocks, and spinlocks for RTEMS.
2394
2395 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
2396
2397 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
2398 supposed to be writable.
2399 * libm/common/s_lib_ver.c: Ditto.
2400
2401 2006-09-12 Paul Brook <paul@codesourcery.com>
2402
2403 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2404
2405 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
2406
2407
2408 * libc/machine/xstormy16/Makefile.am:
2409 Add $(lpfx) prefix to LIBADD objects.
2410 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
2411 * libc/machine/xstormy16/Makefile.in: Regenerated.
2412
2413 2006-09-06 Eric Blake <ebb9@byu.net>
2414
2415 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
2416 't', and 'z' modifiers.
2417
2418 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
2419
2420 Merge from newlib-csl-20060320-branch:
2421 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
2422
2423 * configure.host: Tell it we have _rename and _system when
2424 building m68k-unknown-elf.
2425
2426 2006-08-29 Paul Brook <paul@codesourcery.com>
2427
2428 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2429
2430 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
2431
2432 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
2433 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
2434 This is needed to build all AVR and H8300 RTEMS multilib variants.
2435
2436 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
2437
2438 * libc/machine/configure.in: Add configuration for SPU.
2439 * libc/machine/configure: Regenerated.
2440 * libc/machine/spu/memcpy.c: Include string.h.
2441
2442 2006-08-22 Eric Blake <ebb9@byu.net>
2443
2444 * libc/posix/popen.c (popen): Don't close output end of pipe in
2445 child if stdout was closed on entry.
2446 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2447
2448 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
2449
2450 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
2451 line.
2452
2453 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
2454
2455 * libc/time/gmtime.c: Correct man page; clock is not a
2456 local time and no conversion occurs.
2457
2458 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2459
2460 * configure.host (newlib_cflags) [spu]: Add special compiler
2461 options to reduce size.
2462
2463 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2464
2465 * configure.host: Add spu support.
2466 * libc/include/stdint.h: Ditto.
2467 * libc/include/machine/ieeefp.h: Ditto.
2468 * libc/include/machine/setjmp.h: Ditto.
2469 * libc/include/sys/config.h: Ditto.
2470 * libc/include/sys/types.h: Ditto.
2471 * libc/machine/spu/Makefile.am: New file.
2472 * libc/machine/spu/Makefile.in: Ditto.
2473 * libc/machine/spu/aclocal.m4: Ditto.
2474 * libc/machine/spu/configure: Ditto.
2475 * libc/machine/spu/configure.in: Ditto.
2476 * libc/machine/spu/memcpy.c: Ditto.
2477 * libc/machine/spu/setjmp.S: Ditto.
2478
2479 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
2480
2481 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
2482 properly.
2483
2484 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
2485
2486 * libc/Makefile.am: Add libc_TEXINFOS dependency on
2487 generated .texi files.
2488 * libm/Makefile.am: Add libm_TEXINFOS dependency on
2489 generated .texi files.
2490 * libc/Makefile.in: Regenerated.
2491 * libm/Makefile.in: Ditto.
2492
2493 2006-08-01 Thiemo Seufer <ths@mips.com>
2494 Nigel Stephens <nigel@mips.com>
2495
2496 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
2497 define this to force _impure_ptr to live in the .sdata section.
2498
2499 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2500
2501 * acinclude.m4: Check for readelf tool.
2502 * configure.in: Use ${READELF} instead of hard-coding.
2503 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2504
2505 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2506
2507 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
2508 to avoid conflict with newer glibc's revision of mremap.
2509
2510 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
2511
2512 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
2513 floating-point format support. Also redefine
2514 dword0 and dword1 macros.
2515 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2516 to prevent setting dword1 which is an rvalue only.
2517
2518 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
2519
2520 * libc/stdlib/Makefile.am: Add new gdtoa routines.
2521 * libc/stdlib/Makefile.in: Regenerated.
2522 * libc/stdlib/gd_qnan.h: New file.
2523 * libc/stdlib/gdtoa-gethex.c: Ditto.
2524 * libc/stdlib/gdtoa-hexnan.c: Ditto.
2525 * libc/stdlib/gdtoa.h: Ditto.
2526 * libc/stdlib/mprec.c: Add new helper routines needed by
2527 the new gdtoa code.
2528 * libc/stdlib/mprec.h: Integrate some defines and prototypes
2529 used by gdtoa routines here.
2530 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
2531 which adds C99 support such as nan, inf, and hexadecimal input
2532 format.
2533
2534 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
2535
2536 * libc/include/stdio.h (__sgetc_r): Fix typo.
2537 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
2538 * libc/stdio/rget.c (__srbuf): Reinstantiate.
2539 * libc/stdio/wbuf.c (__swbuf): Ditto.
2540
2541 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
2542
2543 * libc/include/stdio.h: Add new reentrant I/O prototypes for
2544 read/write functions. Change getc/putc macros to have reentrant underlying
2545 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
2546 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
2547 new reentrant I/O functions/macros for reading/writing.
2548 * libc/stdio/fgets.c: Ditto.
2549 * libc/stdio/fputc.c: Ditto.
2550 * libc/stdio/fputs.c: Ditto.
2551 * libc/stdio/fread.c: Ditto.
2552 * libc/stdio/fseek.c: Ditto.
2553 * libc/stdio64/fseeko64.c: Ditto.
2554 * libc/stdio/fwrite.c: Ditto.
2555 * libc/stdio/getc.c: Ditto.
2556 * libc/stdio/getc_u.c: Ditto.
2557 * libc/stdio/getchar.c: Ditto.
2558 * libc/stdio/getchar_u.c: Ditto.
2559 * libc/stdio/putc.c: Ditto.
2560 * libc/stdio/putc_u.c: Ditto.
2561 * libc/stdio/putchar.c: Ditto.
2562 * libc/stdio/puts.c: Ditto.
2563 * libc/stdio/vfprintf.c: Ditto.
2564 * libc/stdio/vfscanf.c: Ditto.
2565 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
2566 Change all previous callers of __sfvwrite. Set errno to EBADF and
2567 set error flag on if attempt is made to write to file that does not
2568 allow writing.
2569 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
2570 * libc/stdio/local.h: Ditto.
2571 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
2572 Set errno to EBADF and the error flag on if attempt is made to
2573 read unreadable file. Change all previous callers of __srefill.
2574 * libc/stdio/rget.c
2575 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
2576 all previous callers of __swbuf.
2577 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
2578 huge value macros are already defined correctly for i386 by <math.h>.
2579
2580 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
2581
2582 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
2583 Make them do something useful in the ARM_RDI_MONITOR case.
2584
2585 2006-06-07 Fred Fish <fnf@specifix.com>
2586
2587 * libc/search/hash_bigkey.c (MIN,MAX): Remove
2588 defines that are already supplied by <sys/param.h>.
2589
2590 2006-06-07 Fred Fish <fnf@specifix.com>
2591
2592 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
2593
2594 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2595
2596 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
2597 usleep.c.
2598 * libc/posix/Makefile.in: Regenerate.
2599 * libc/posix/sleep.c: New file.
2600 * libc/posix/usleep.c: Ditto.
2601
2602 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2603
2604 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
2605 -DABORT_PROVIDED flag.
2606 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
2607 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
2608
2609 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
2610
2611 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
2612 * Makefile.in: Regenerated.
2613 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
2614 extraneous CFLAGS reference now that CCASFLAGS are being extended
2615 properly via multilib.
2616 * libc/machine/sh/Makefile.in: Regenerated.
2617
2618 2006-06-02 Shaun Jackman <sjackman@gmail.com>
2619
2620 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
2621 sigismember.
2622
2623 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2624
2625 * libc/misc/dprintf.c: Removed.
2626 * libc/misc/__dprintf.c: Renamed from dprintf.c.
2627 * libc/misc/Makefile.am: Changed appropriately for rename.
2628 * libc/misc/Makefile.in: Regenerated.
2629
2630 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2631
2632 * libc/include/stdio.h: Protect dprintf prototype
2633 with #ifndef dprintf so as to not interfere with
2634 historical code defining their own dprintf macro.
2635
2636 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
2637
2638 * libc/include/stdio.h: Add prototypes for fiscanf,
2639 iscanf, and siscanf.
2640
2641 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
2642
2643 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
2644 (DEF_NEWLIB_VERSION).
2645 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
2646 * configure: Regenerate.
2647
2648 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
2649
2650 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
2651 lib_a_SOURCES.
2652 * libc/ctype/Makefile.in: Regenerated.
2653
2654 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
2655
2656 * libc/machine/arm/Makefile.am: Fix a typo.
2657 * libc/machine/arm/Makefile.in: Regenerated.
2658
2659 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
2660
2661 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2662 * libc/machine/sh/Makefile.in: Regenerate.
2663
2664 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
2665
2666 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2667 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2668
2669 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2670
2671 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2672 .s.
2673 * libc/sys/sysnec810/Makefile.in: Regenerated.
2674 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2675 * libc/sys/sysnec810/io.S: Ditto.
2676 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2677 * libc/sys/sysnec810/io.s: Ditto.
2678
2679 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2680
2681 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2682 be specified instead of object, do so.
2683 * libc/ctype/Makefile.am: Ditto.
2684 * libc/iconv/ccs/Makefile.am: Ditto.
2685 * libc/iconv/ces/Makefile.am: Ditto.
2686 * libc/iconv/lib/Makefile.am: Ditto.
2687 * libc/locale/Makefile.am: Ditto.
2688 * libc/posix/Makefile.am: Ditto.
2689 * libc/reent/Makefile.am: Ditto.
2690 * libc/search/Makefile.am: Ditto.
2691 * libc/stdio/Makefile.am: Ditto.
2692 * libc/stdio64/Makefile.am: Ditto.
2693 * libc/stdlib/Makefile.am: Ditto.
2694 * libc/string/Makefile.am: Ditto.
2695 * libc/syscalls/Makefile.am: Ditto.
2696 * libc/unix/Makefile.am: Ditto.
2697 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2698 prefix added automatically. Any specified rules must use $(lpfx) for
2699 object file names.
2700 * libc/machine/arm/Makefile.am: Ditto.
2701 * libc/machine/cris/Makefile.am: Ditto.
2702 * libc/machine/crx/Makefile.am: Ditto.
2703 * libc/machine/d10v/Makefile.am: Ditto.
2704 * libc/machine/d30v/Makefile.am: Ditto.
2705 * libc/machine/fr30/Makefile.am: Ditto.
2706 * libc/machine/frv/Makefile.am: Ditto.
2707 * libc/machine/h8300/Makefile.am: Ditto.
2708 * libc/machine/h8500/Makefile.am: Ditto.
2709 * libc/machine/hppa/Makefile.am: Ditto.
2710 * libc/machine/i386/Makefile.am: Ditto.
2711 * libc/machine/i960/Makefile.am: Ditto.
2712 * libc/machine/iq2000/Makefile.am: Ditto.
2713 * libc/machine/m32c/Makefile.am: Ditto.
2714 * libc/machine/m32r/Makefile.am: Ditto.
2715 * libc/machine/m68hc11/Makefile.am: Ditto.
2716 * libc/machine/m68k/Makefile.am: Ditto.
2717 * libc/machine/m88k/Makefile.am: Ditto.
2718 * libc/machine/mips/Makefile.am: Ditto.
2719 * libc/machine/mn10200/Makefile.am: Ditto.
2720 * libc/machine/mn10300/Makefile.am: Ditto.
2721 * libc/machine/mt/Makefile.am: Ditto.
2722 * libc/machine/necv70/Makefile.am: Ditto.
2723 * libc/machine/powerpc/Makefile.am: Ditto.
2724 * libc/machine/sh/Makefile.am: Ditto.
2725 * libc/machine/sh/Makefile.in: Ditto.
2726 * libc/machine/sparc/Makefile.am: Ditto.
2727 * libc/machine/tic4x/Makefile.am: Ditto.
2728 * libc/machine/tic80/Makefile.am: Ditto.
2729 * libc/machine/v850/Makefile.am: Ditto.
2730 * libc/machine/w65/Makefile.am: Ditto.
2731 * libc/machine/xscale/Makefile.am: Ditto.
2732 * libc/machine/xstormy16/Makefile.am: Ditto.
2733 * libc/machine/z8k/Makefile.am: Ditto.
2734 * libc/sys/a29khif/Makefile.am: Ditto.
2735 * libc/sys/arm/Makefile.am: Ditto.
2736 * libc/sys/d10v/Makefile.am: Ditto.
2737 * libc/sys/h8300hms/Makefile.am: Ditto.
2738 * libc/sys/h8500hms/Makefile.am: Ditto.
2739 * libc/sys/linux/Makefile.am: Ditto.
2740 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2741 * libc/sys/linux/net/Makefile.am: Ditto.
2742 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2743 * libc/sys/m88kbug/Makefile.am: Ditto.
2744 * libc/sys/mmixware/Makefile.am: Ditto.
2745 * libc/sys/rdos/Makefile.am: Ditto.
2746 * libc/sys/rtems/Makefile.am: Ditto.
2747 * libc/sys/sh/Makefile.am: Ditto.
2748 * libc/sys/sun4/Makefile.am: Ditto.
2749 * libc/sys/sysmec/Makefile.am: Ditto.
2750 * libc/sys/sysnec810/Makefile.am: Ditto.
2751 * libc/sys/sysnecv850/Makefile.am: Ditto.
2752 * libc/sys/sysvi386/Makefile.am: Ditto.
2753 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2754 * libc/sys/tic80/Makefile.am: Ditto.
2755 * libc/sys/w65/Makefile.am: Ditto.
2756 * libc/sys/z8ksim/Makefile.am: Ditto.
2757 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2758 * libc/machine/necv70/setjmp.S: Ditto.
2759 * libc/machine/necv70/fastmath.s: Removed.
2760 * libc/machine/necv70/setjmp.s: Ditto.
2761 * libc/machine/w65/*.S: New files renamed from .s files.
2762 * libc/machine/w65/*.s: Renamed and removed.
2763 * libc/sys/a29khif/*.S: New files renamed from .s files.
2764 * libc/sys/a29khif/*.s: Renamed and removed.
2765 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2766 * libc/sys/sysvi386/*.s: Renamed and removed.
2767 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2768 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2769 * libc/*Makefile.in: Regenerated as appropriate.
2770
2771 2006-04-24 DJ Delorie <dj@redhat.com>
2772
2773 * libc/machine/sh/configure.in: Avoid link tests.
2774 * libc/machine/sh/configure: Regenerate.
2775
2776 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2777
2778 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2779 (sigaddset, sigemptyset): Add return code.
2780
2781 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2782
2783 * acinclude.m4: New _NEWLIB_VERSION.
2784 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2785 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2786 Use new form of AC_INIT_AUTOMAKE.
2787 * configure.in: AC_PREREQ(2.59).
2788 Use autoconf-2.5.x version of AC_INIT.
2789 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2790 autoconf-2.13's AC_OUTPUT.
2791 * libm/configure.in: Ditto.
2792 * libm/machine/configure.in: Ditto.
2793 * libm/machine/i386/configure.in: Ditto.
2794 * libc/configure.in: Ditto.
2795 * libc/machine/a29k/configure.in: Ditto.
2796 * libc/machine/arm/configure.in: Ditto.
2797 * libc/machine/configure.in: Ditto.
2798 * libc/machine/mn10300/configure.in: Ditto.
2799 * libc/machine/powerpc/configure.in: Ditto.
2800 * libc/machine/z8k/configure.in: Ditto.
2801 * libc/machine/h8300/configure.in: Ditto.
2802 * libc/machine/mips/configure.in: Ditto.
2803 * libc/machine/crx/configure.in: Ditto.
2804 * libc/machine/m68hc11/configure.in: Ditto.
2805 * libc/machine/h8500/configure.in: Ditto.
2806 * libc/machine/xscale/configure.in: Ditto.
2807 * libc/machine/d10v/configure.in: Ditto.
2808 * libc/machine/fr30/configure.in: Ditto.
2809 * libc/machine/sh/configure.in: Ditto.
2810 * libc/machine/tic80/configure.in: Ditto.
2811 * libc/machine/m32r/configure.in: Ditto.
2812 * libc/machine/xstormy16/configure.in: Ditto.
2813 * libc/machine/i386/configure.in: Ditto.
2814 * libc/machine/d30v/configure.in: Ditto.
2815 * libc/machine/mn10200/configure.in: Ditto.
2816 * libc/machine/frv/configure.in: Ditto.
2817 * libc/machine/mt/configure.in: Ditto.
2818 * libc/machine/i960/configure.in: Ditto.
2819 * libc/machine/v850/configure.in: Ditto.
2820 * libc/machine/necv70/configure.in: Ditto.
2821 * libc/machine/tic4x/configure.in: Ditto.
2822 * libc/machine/cris/configure.in: Ditto.
2823 * libc/machine/m68k/configure.in: Ditto.
2824 * libc/machine/m32c/configure.in: Ditto.
2825 * libc/machine/hppa/configure.in: Ditto.
2826 * libc/machine/w65/configure.in: Ditto.
2827 * libc/machine/iq2000/configure.in: Ditto.
2828 * libc/machine/sparc/configure.in: Ditto.
2829 * libc/machine/m88k/configure.in: Ditto.
2830 * libc/sys/linux/configure.in: Ditto.
2831 * libc/sys/linux/machine/configure.in: Ditto.
2832 * libc/sys/linux/machine/i386/configure.in: Ditto.
2833 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2834 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2835 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2836 * libc/sys/arm/configure.in: Ditto.
2837 * libc/sys/configure.in: Ditto.
2838 * libc/sys/decstation/configure.in: Ditto.
2839 * libc/sys/a29khif/configure.in: Ditto.
2840 * libc/sys/sysnecv850/configure.in: Ditto.
2841 * libc/sys/d10v/configure.in: Ditto.
2842 * libc/sys/netware/configure.in: Ditto.
2843 * libc/sys/mmixware/configure.in: Ditto.
2844 * libc/sys/h8500hms/configure.in: Ditto.
2845 * libc/sys/sh/configure.in: Ditto.
2846 * libc/sys/tic80/configure.in: Ditto.
2847 * libc/sys/rdos/configure.in: Ditto.
2848 * libc/sys/sysmec/configure.in: Ditto.
2849 * libc/sys/sysvi386/configure.in: Ditto.
2850 * libc/sys/h8300hms/configure.in: Ditto.
2851 * libc/sys/sparc64/configure.in: Ditto.
2852 * libc/sys/arc/configure.in: Ditto.
2853 * libc/sys/sysnec810/configure.in: Ditto.
2854 * libc/sys/m88kbug/configure.in: Ditto.
2855 * libc/sys/sysvnecv70/configure.in: Ditto.
2856 * libc/sys/z8ksim/configure.in: Ditto.
2857 * libc/sys/rtems/configure.in: Ditto.
2858 * libc/sys/w65/configure.in: Ditto.
2859 * libc/sys/sun4/configure.in: Ditto.
2860 * doc/configure.in: Ditto.
2861 * iconvdata/configure.in: Ditto.
2862 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2863
2864 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2865
2866 * acinclude.m4: Properly add square brackets for
2867 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2868 macros no longer available. Add LIB_AM_PROG_AS to
2869 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2870 macro. Substitute lpfx (library object prefix).
2871 * configure.host: Set lpfx depending on whether
2872 libtool is used or not.
2873 * configure.in: Individually specify libc and libm
2874 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2875 necessary.
2876 * Makefile.am: Use $(lpfx) to get object names for
2877 math-library functions that should also be in libc.
2878 * libc/machine/configure.in: Use case statement to determine
2879 AC_CONFIG_SUBDIRS statement.
2880 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2881 * libc/sys/linux/machine/configure.in: Ditto.
2882 * libc/sys/configure.in: Ditto.
2883 * libm/machine/configure.in: Ditto.
2884 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2885 * libm/configure.in: Add AM_CONDITIONAL statement
2886 for HAVE_LIBM_MACHINE_DIR.
2887 * libc/machine/a29k/Makefile.am: Modified to work with
2888 latest automake. Change includes setting AM_CCASFLAGS
2889 so building .S files will properly pick up flags used
2890 to build C files.
2891 * libc/machine/arm/Makefile.am: Ditto.
2892 * libc/machine/crx/Makefile.am: Ditto.
2893 * libc/machine/d10v/Makefile.am: Ditto.
2894 * libc/machine/d30v/Makefile.am: Ditto.
2895 * libc/machine/fr30/Makefile.am: Ditto.
2896 * libc/machine/frv/Makefile.am: Ditto.
2897 * libc/machine/h8300/Makefile.am: Ditto.
2898 * libc/machine/h8500/Makefile.am: Ditto.
2899 * libc/machine/hppa/Makefile.am: Ditto.
2900 * libc/machine/i386/Makefile.am: Ditto.
2901 * libc/machine/iq2000/Makefile.am: Ditto.
2902 * libc/machine/m32c/Makefile.am: Ditto.
2903 * libc/machine/m32r/Makefile.am: Ditto.
2904 * libc/machine/m68hc11/Makefile.am: Ditto.
2905 * libc/machine/m68k/Makefile.am: Ditto.
2906 * libc/machine/m88k/Makefile.am: Ditto.
2907 * libc/machine/mips/Makefile.am: Ditto.
2908 * libc/machine/mn10200/Makefile.am: Ditto.
2909 * libc/machine/mn10300/Makefile.am: Ditto.
2910 * libc/machine/mt/Makefile.am: Ditto.
2911 * libc/machine/necv70/Makefile.am: Ditto.
2912 * libc/machine/powerpc/Makefile.am: Ditto.
2913 * libc/machine/sh/Makefile.am: Ditto.
2914 * libc/machine/sparc/Makefile.am: Ditto.
2915 * libc/machine/tic4x/Makefile.am: Ditto.
2916 * libc/machine/tic80/Makefile.am: Ditto.
2917 * libc/machine/v850/Makefile.am: Ditto.
2918 * libc/machine/w65/Makefile.am: Ditto.
2919 * libc/machine/xscale/Makefile.am: Ditto.
2920 * libc/machine/xstormy16/Makefile.am: Ditto.
2921 * libc/machine/z8k/Makefile.am: Ditto.
2922 * libc/sys/a29khif/Makefile.am: Ditto.
2923 * libc/sys/arc/Makefile.am: Ditto.
2924 * libc/sys/arm/Makefile.am: Ditto.
2925 * libc/sys/d10v/Makefile.am: Ditto.
2926 * libc/sys/decstation/Makefile.am: Ditto.
2927 * libc/sys/h8300hms/Makefile.am: Ditto.
2928 * libc/sys/h8500hms/Makefile.am: Ditto.
2929 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2930 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2931 * libc/sys/m88kbug/Makefile.am: Ditto.
2932 * libc/sys/mmixware/Makefile.am: Ditto.
2933 * libc/sys/netware/Makefile.am: Ditto.
2934 * libc/sys/rdos/Makefile.am: Ditto.
2935 * libc/sys/rtems/Makefile.am: Ditto.
2936 * libc/sys/sh/Makefile.am: Ditto.
2937 * libc/sys/sparc64/Makefile.am: Ditto.
2938 * libc/sys/sysmec/Makefile.am: Ditto.
2939 * libc/sys/sysnec810/Makefile.am: Ditto.
2940 * libc/sys/sysnecv850/Makefile.am: Ditto.
2941 * libc/sys/sysvi386/Makefile.am: Ditto.
2942 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2943 * libc/sys/tic80/Makefile.am: Ditto.
2944 * libc/sys/w65/Makefile.am: Ditto.
2945 * libc/sys/z8ksim/Makefile.am: Ditto.
2946 * libm/machine/i386/Makefile.am: Ditto.
2947 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
2948 trap.S so that automake will generate a .S.o suffix rule.
2949 * libc/argz/Makefile.am: Modified to work with
2950 latest automake. Change includes adding lib_a_CFLAGS
2951 so automake doesn't complain about libtool and non-libtool
2952 libraries sharing objects.
2953 * libc/ctype/Makefile.am: Ditto.
2954 * libc/errno/Makefile.am: Ditto.
2955 * libc/iconv/ccs/Makefile.am: Ditto.
2956 * libc/iconv/ces/Makefile.am: Ditto.
2957 * libc/iconv/lib/Makefile.am: Ditto.
2958 * libc/locale/Makefile.am: Ditto.
2959 * libc/misc/Makefile.am: Ditto.
2960 * libc/posix/Makefile.am: Ditto.
2961 * libc/reent/Makefile.am: Ditto.
2962 * libc/search/Makefile.am: Ditto.
2963 * libc/signal/Makefile.am: Ditto.
2964 * libc/stdio/Makefile.am: Ditto.
2965 * libc/stdio64/Makefile.am: Ditto.
2966 * libc/stdlib/Makefile.am: Ditto.
2967 * libc/string/Makefile.am: Ditto.
2968 * libc/sys/linux/Makefile.am: Ditto.
2969 * libc/sys/linux/argp/Makefile.am: Ditto.
2970 * libc/sys/linux/cmath/Makefile.am: Ditto.
2971 * libc/sys/linux/dl/Makefile.am: Ditto.
2972 * libc/sys/linux/iconv/Makefile.am: Ditto.
2973 * libc/sys/linux/intl/Makefile.am: Ditto.
2974 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2975 * libc/sys/linux/net/Makefile.am: Ditto.
2976 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2977 * libc/syscalls/Makefile.am: Ditto.
2978 * libc/time/Makefile.am: Ditto.
2979 * libc/unix/Makefile.am: Ditto.
2980 * libm/Makefile.am: Ditto.
2981 * libm/common/Makefile.am: Ditto.
2982 * libm/math/Makefile.am: Ditto.
2983 * libm/mathfp/Makefile.am: Ditto.
2984 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2985
2986 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
2987
2988 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
2989 anymore. Assume there is a gettimeofday syscall.
2990
2991 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2992
2993 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
2994 for the declaration of n_long.
2995
2996 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2997
2998 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
2999 struct sockaddr.
3000 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
3001 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
3002 (IFF_NOTRAILERS): New define.
3003 (struct ifreq): Add ifru_netmask.
3004 (ifr_netmask): New define.
3005
3006 2006-03-29 Shaun Jackman <sjackman@gmail.com>
3007
3008 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
3009 match sys/ioctl.h.
3010
3011 2006-03-29 Shaun Jackman <sjackman@gmail.com>
3012
3013 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
3014 linux-newlib libc implementations.
3015
3016 2006-03-29 Eric Blake <ebb9@byu.net>
3017
3018 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
3019 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
3020
3021 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3022
3023 * libc/sys/linux/io.c (__mknod): Fix declaration of
3024 syscall to pass a dev_t as third argument rather than
3025 a pointer to dev_t.
3026
3027 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3028
3029 * libc/sys/linux/net/name6.c: Fix struct references.
3030
3031 2006-03-22 Mark Mitchell <mark@codesourcery.com>
3032
3033 * configure.host: Allow hosts to set the default
3034 newlib_atexit_dynamic_alloc value.
3035 * configure.in: Likewise.
3036 * configure: Regenerated.
3037
3038 2006-03-20 Mark Mitchell <mark@codesourcery.com>
3039
3040 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
3041 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
3042 option.
3043 * configure: Regenerated.
3044 * newlib.hin: Regenerated.
3045 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
3046 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3047 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
3048 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3049
3050 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
3051
3052 * libc/sys/linux/linuxthreads/config.h: Remove definition
3053 of UINT32_C.
3054
3055 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
3056
3057 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
3058 for a string I/O file that isn't using the asprintf family.
3059
3060 2006-03-07 Eric Blake <ebb9@byu.net>
3061
3062 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
3063 filename, allow read-only or write-only FILE atop O_RDWR file
3064 descriptor.
3065 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
3066
3067 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
3068
3069 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
3070 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
3071
3072 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
3073
3074 * libm/math/math.tex: Fix reference to sisnan.def which
3075 is now in common subdirectory.
3076 * libm/mathfp/mathfp.tex: Ditto.
3077
3078 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
3079
3080 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
3081 s_isnand, and sf_isnanf object files.
3082 * Makefile.in: Regenerated.
3083 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
3084 conflict if <math.h> has previously been included.
3085 * libc/include/math.h
3086 * libc/include/math.h: Make isnan and isinf macros to
3087 conform to C99.
3088 (__isinfd, __isinff, __isnand, __isnanf): New functions.
3089 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
3090 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
3091 sf_isinf files which have been moved from math/mathfp directories.
3092 * libm/common/Makefile.in: Regenerated.
3093 * libm/common/s_isinfd.c: New file.
3094 * libm/common/s_isnand.c: Ditto.
3095 * libm/common/sf_isinff.c: Ditto.
3096 * libm/common/sf_isnanf.c: Ditto.
3097 * libm/common/s_isinf.c: Moved from libm/math directory.
3098 * libm/common/s_isnan.c: Ditto.
3099 * libm/common/sf_isinf.c: Ditto.
3100 * libm/common/sf_isnan.c: Ditto.
3101 * libm/math/Makefile.am: Remove isinf and isnan family functions
3102 which have been moved into common directory.
3103 * libm/mathfp/Makefile.am: Ditto.
3104 * libm/math/Makefile.in: Regenerated.
3105 * libm/mathfp/Makefile.in: Ditto.
3106 * libm/math/s_isinf.c: Removed.
3107 * libm/math/s_isnan.c: Ditto.
3108 * libm/math/sf_isinf.c: Ditto.
3109 * libm/math/sf_isnan.c: Ditto.
3110 * libm/mathfp/s_isinf.c: Ditto.
3111 * libm/mathfp/s_isnan.c: Ditto.
3112 * libm/mathfp/sf_isinf.c: Ditto.
3113 * libm/mathfp/sf_isnan.c: Ditto.
3114
3115 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
3116
3117 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
3118 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
3119 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
3120 seek, turn off the __SNPT no-optimization flag.
3121
3122 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
3123
3124 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
3125 will be defined.
3126 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
3127 <features.h> to preset special flags.
3128
3129 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
3130
3131 * libc/include/sys/time.h (struct timeval): Change member types
3132 according to SUSv3.
3133 * libc/include/sys/types.h (useconds_t): Change to unsigned
3134 according to SUSv3.
3135 (suseconds_t): Define type.
3136
3137 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
3138 David Carne <davidcarne@gmail.com>
3139
3140 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
3141 instead of strlen to determine number of bytes to copy.
3142 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
3143 before looking at storage location.
3144
3145 2006-02-07 Paul Brook <paul@codesourcery.com>
3146
3147 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
3148 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
3149 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
3150 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
3151 * libc/sys/arm/trap.S: Disable for Thumb-2.
3152
3153 2006-01-31 Leif Ekblad <leif@rdos.net>
3154
3155 * configure.host: RDOS support added
3156 * libc/include/sys/config.h: Ditto.
3157 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
3158 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
3159 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
3160 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
3161 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
3162 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
3163 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
3164 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
3165 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
3166 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
3167 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
3168 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
3169 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
3170 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
3171 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
3172 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
3173 * libc/sys/rdos/write.c: Ditto.
3174
3175 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
3176
3177 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
3178 so as not to define PACKAGE and VERSION in newlib.h.
3179 * aclocal.m4: Regenerated.
3180 * configure: Ditto.
3181 * newlib.hin: Ditto.
3182
3183 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
3184
3185 * acconfig.h: New file to generate newlib.hin from.
3186 * newlib.hin: Regenerated.
3187 * stamp-h.in: Regenerated.
3188 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
3189 called automatically.
3190 * Makefile.in: Regenerated.
3191 * acinclude.m4: Add proper comment for hack in previous change.
3192 * aclocal.m4 */aclocal.m4: Regenerated.
3193 * configure */configure: Regenerated.
3194
3195 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
3196
3197 * acinclude.m4: Add hack to prevent INSTALL in subdirs
3198 from being set to "../".
3199 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
3200 * aclocal.m4: Regenerated.
3201 * configure: Ditto.
3202 * Makefile.in: Ditto.
3203 * doc/aclocal.m4: Ditto.
3204 * doc/configure: Ditto.
3205 * iconvdata/aclocal.m4: Ditto.
3206 * iconvdata/configure: Ditto.
3207 * libc/*/aclocal.m4: Ditto.
3208 * libc/*/configure: Ditto.
3209 * libc/libc.texinfo: Ditto.
3210 * libm/*/aclocal.m4: Ditto.
3211 * libm/*/configure: Ditto.
3212
3213 2006-01-10 Eric Blake <ebb9@byu.net>
3214
3215 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
3216 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3217
3218 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
3219
3220 * libm/mathfp/s_frexp.c: Check for special values on
3221 the original input, not the manipulated output value.
3222 * libm/mathfp/sf_frexp.c: Ditto.
3223 * libm/mathfp/s_atangent.c: Don't use local value branch
3224 when checking for quadrant.
3225 * libm/mathfp/sf_atangent.c: Ditto.
3226
3227 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
3228
3229 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
3230 * libc/stdio64/freopen64.c: Ditto.
3231
3232 2006-01-09 Eric Blake <ebb9@byu.net>
3233
3234 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
3235 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3236
3237 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
3238
3239 * libc/sys/linux/include/getopt.h: Add macros needed by
3240 new version of getopt.c in libc/stdlib.
3241
3242 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
3243
3244 * libc/stdlib/getopt.c: Replaced with version
3245 that adds getopt_long and getopt_long_only support.
3246 * libc/include/getopt.h: New file.
3247
3248 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3249
3250 * NEWS: Update with 1.14.0 info.
3251 * README: Ditto.
3252 * acinclude.m4: Change version number to 1.14.0.
3253 * aclocal.m4: Regenerated.
3254 * configure: Ditto.
3255 * doc/aclocal.m4: Ditto.
3256 * doc/configure: Ditto.
3257 * libc/*/aclocal.m4: Ditto.
3258 * libc/*/configure: Ditto.
3259 * libc/libc.texinfo: Ditto.
3260 * libm/*/aclocal.m4: Ditto.
3261 * libm/*/configure: Ditto.
3262 * libm/libm.texinfo: Ditto.
3263 * libc/sys/linux/shared.ld: Add VERS_1.14.
3264
3265 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3266
3267 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
3268 take a pointer to struct stat64 rather than struct stat.
3269
3270 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
3271
3272 * libc/include/stdint.h: Prefer long over int for int32_t.
3273 Use __have_long32 to set up int32_t.
3274 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
3275 (Sync with stdint.h).
3276
3277 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
3278
3279 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
3280 typo in O_NDELAY comment.
3281
3282 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3283
3284 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3285 * libc/include/machine/setjmp.h (__mt__): Likewise.
3286 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3287 * libc/machine/configure.in: Ditto.
3288
3289 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3290
3291 * configure.host: Replace ms1 arch with mt arch.
3292 * libc/machine/mt: Renamed from ms1 dir.
3293
3294 2005-12-08 Shaun Jackman <sjackman@gmail.com>
3295
3296 * libc/include/sys/types.h: Remove the ifdef armour around
3297 standard POSIX types.
3298
3299 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3300
3301 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3302 rtems_gxx_key_delete, rtems_gxx_getspecific,
3303 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3304 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
3305 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3306
3307 2005-12-05 Christopher Faylor <cgf@timesys.com>
3308
3309 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3310 file. Declare unsetenv and _unsetenv_r when not cygwin.
3311
3312 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3313
3314 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3315 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3316
3317 2005-11-18 Christopher Faylor <cgf@timesys.com>
3318
3319 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3320
3321 2005-11-18 Christopher Faylor <cgf@timesys.com>
3322
3323 * include/time.h: Remove more cygwin-specific stuff.
3324
3325 2005-11-18 Christopher Faylor <cgf@timesys.com>
3326
3327 * include/time.h: Move cygwin declarations to cygwin-specific header.
3328 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3329
3330 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3331
3332 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3333 in libc/sys/linux/include.
3334 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3335 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3336 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3337 in libc/sys/linux/dl.
3338
3339 2005-11-11 Christopher Faylor <cgf@timesys.com>
3340
3341 * libc/include/sys/time.h: For cygwin, use general header rather than
3342 specific "sys/select.h".
3343
3344 2005-11-08 Tom Walsh <tom@openhardware.net>
3345
3346 * libc/time/tzvars.c: New file.
3347 * libc/time/tzset_r.c: Moved globals into tzvars.c
3348 so other time functions needn't link in __tzset_r and its
3349 dependencies.
3350 * libc/time/Makefile.am: Add the new file.
3351 * libc/time/Makefile.in: Regenerated.
3352
3353 2005-11-08 Christopher Faylor <cgf@timesys.com>
3354
3355 * libc/include/string.h: Add cygwin-specific function declaration.
3356
3357 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
3358
3359 * libc/include/ieeefp.h: Add C++ guards.
3360
3361 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3362
3363 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
3364 * libc/unix/getlogin.c: Ditto.
3365 * libc/unix/getpass.c: Ditto.
3366 * libc/unix/getut.c: Ditto.
3367 * libc/unix/ttyname.c: Ditto.
3368
3369 2005-11-03 Shaun Jackman <sjackman@gmail.com>
3370
3371 * libc/include/sys/unistd.h (readlink, symlink): Provide these
3372 prototypes by default.
3373 * libc/sys/linux/include/unistd.h (readlink): Remove this
3374 prototype.
3375 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
3376 prototypes.
3377
3378 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
3379
3380 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
3381
3382 2005-10-31 Darin Johnson <darin@usa.net>
3383
3384 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
3385 correct for constants.
3386
3387 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3388
3389 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
3390 * libc/stdio/siscanf.c: Likewise.
3391 * libc/stdio/sprintf.c: Likewise.
3392 * libc/stdio/sscanf.c: Likewise.
3393 * libc/stdio/vfprintf.c: Likewise.
3394 * libc/stdio/vfscanf.c: Likewise.
3395 * libc/stdio/viprintf.c: Likewise.
3396 * libc/stdio/viscanf.c: Likewise.
3397
3398 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3399
3400 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
3401 example to use "_end" symbol instead of "end". Change write example
3402 to use "outbyte" instead of "writechar".
3403
3404 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3405
3406 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
3407 * libc/ctype/islower.c: Likewise.
3408 * libc/ctype/isupper.c: Likewise.
3409 * libc/ctype/iswalnum.c: Likewise.
3410 * libc/ctype/iswalpha.c: Likewise.
3411 * libc/ctype/iswblank.c: Likewise.
3412 * libc/ctype/iswcntrl.c: Likewise.
3413 * libc/ctype/iswdigit.c: Likewise.
3414 * libc/ctype/iswgraph.c: Likewise.
3415 * libc/ctype/iswlower.c: Likewise.
3416 * libc/ctype/iswprint.c: Likewise.
3417 * libc/ctype/iswpunct.c: Likewise.
3418 * libc/ctype/iswspace.c: Likewise.
3419 * libc/ctype/iswupper.c: Likewise.
3420 * libc/ctype/iswxdigit.c: Likewise.
3421 * libc/ctype/tolower.c: Likewise.
3422 * libc/ctype/toupper.c: Likewise.
3423 * libc/ctype/towctrans.c: Likewise.
3424 * libc/ctype/towlower.c: Likewise.
3425 * libc/ctype/towupper.c: Likewise.
3426 * libc/string/strcasecmp.c: Likewise.
3427 * libc/string/strcoll.c: Likewise.
3428 * libc/string/strings.tex: Likewise.
3429 * libc/string/strlwr.c: Likewise.
3430 * libc/string/strncasecmp.c: Likewise.
3431 * libc/string/strupr.c: Likewise.
3432 * libc/string/wcscoll.c: Likewise.
3433 * libc/string/wcslcat.c: Likewise.
3434 * libc/string/wcslcpy.c: Likewise.
3435 * libc/string/wcsnlen.c: Likewise.
3436 * libc/string/wcsstr.c: Likewise.
3437 * libc/string/wcstrings.tex: Likewise.
3438 * libc/string/wmemchr.c: Likewise.
3439 * libc/string/wmemcmp.c: Likewise.
3440 * libc/string/wmemcpy.c: Likewise.
3441 * libc/string/wmemmove.c: Likewise.
3442 * libc/string/wmemset.c: Likewise.
3443
3444 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3445
3446 * libc/misc/unctrl.c: Replace FUNCTION description.
3447 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
3448 * libc/stdio/getdelim.c: Fix spelling errors.
3449 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
3450 * libc/stdio/putw.c: Likewise.
3451 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
3452 documentation.
3453 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
3454 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
3455 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
3456 * libc/stdlib/mlock.c: Likewise.
3457 * libc/stdlib/mstats.c: Likewise.
3458 * libc/time/tzlock.c: Likewise.
3459 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
3460 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
3461 and hyphenate "pseudo-random".
3462 * libc/string/bcmp.c: Remove extra blank lines in documentation.
3463 * libc/string/strncat.c: Likewise.
3464 * libc/string/memchr.c: Remove extra ">" character in documentation.
3465 * libc/string/strcspn.c: Use "characters" instead of "chars".
3466 * libc/string/strpbrk.c: Likewise.
3467 * libc/string/strerror_r.c: Capitalize "GNU".
3468 * libc/string/strnlen.c: Likewise.
3469 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
3470 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
3471 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
3472 * libc/string/wcschr.c: Likewise.
3473 * libc/string/wcscmp.c: Likewise.
3474 * libc/string/wcscpy.c: Likewise.
3475 * libc/string/wcscspn.c: Likewise.
3476 * libc/string/wcslen.c: Likewise.
3477 * libc/string/wcsncat.c: Likewise.
3478 * libc/string/wcsncmp.c: Likewise.
3479 * libc/string/wcsncpy.c: Likewise.
3480 * libc/string/wcsnlen.c: Likewise.
3481 * libc/string/wcspbrk.c: Likewise.
3482 * libc/string/wcsrchr.c: Likewise.
3483 * libc/string/wcsspn.c: Likewise.
3484 * libc/string/wmemchr.c: Likewise.
3485 * libc/string/wmemcmp.c: Likewise.
3486 * libc/string/wmemcpy.c: Likewise.
3487 * libc/string/wmemset.c: Likewise.
3488 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
3489 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
3490 * libc/string/wcwidth.c: Likewise.
3491 * libm/common/s_modf.c: Remove extra period from documentation.
3492 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
3493 documentation.
3494 * libm/mathfp/s_isnan.c: Likewise.
3495 * libm/math/s_ldexp.c: Fix punctuation.
3496 * libm/mathfp/s_ldexp.c: Likewise.
3497 * libm/math/w_log.c: Likewise.
3498 * libm/mathfp/s_logarithm.c: Likewise.
3499 * libm/math/w_j0.c: Add spaces to FUNCTION description.
3500 * libm/mathfp/w_jn.c: Likewise.
3501
3502 2005-10-26 Shaun Jackman <sjackman@gmail.com>
3503
3504 * libc/posix/scandir.c (scandir): Update the function
3505 prototype to match the header.
3506 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
3507 extraneous #endif.
3508 * libc/sys/linux/sys/lock.h: Do not include
3509 machine/weakalias.h, since it's not used by this file.
3510
3511 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
3512
3513 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
3514 directories can override properly.
3515
3516 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
3517
3518 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
3519 gcc is 3.3 or greater, use special gcc builtins.
3520
3521 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
3522
3523 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
3524
3525 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
3526
3527 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
3528
3529 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3530
3531 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
3532 * libm/common/Makefile.am: Add s_infconst.c support.
3533 * libm/common/Makefile.in: Regenerated.
3534 * libm/common/s_infconst.c: New file with float and
3535 long double infinity support added.
3536 * libm/math/Makefile.am: Remove s_infconst.c support.
3537 * libm/math/Makefile.in: Regenerated.
3538 * libm/math/s_infconst.c: Moved to common directory.
3539 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
3540 * libm/mathfp/Makefile.in: Regenerated.
3541 * libm/mathfp/s_infconst.c: Moved to common directory.
3542
3543 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3544
3545 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
3546 dbgprintf to prevent conflict with new dprintf function.
3547
3548 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3549
3550 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
3551 "nan" processing for systems that have long double support.
3552
3553 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3554
3555 * libc/sys/linux/sys/types.h (int8_t): Add type.
3556
3557 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3558
3559 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
3560 * libm/common/Makefile.in: Regenerate.
3561 * libm/common/common.tex: Delete file.
3562 * libm/math/math.tex: Include .def files from common/.
3563 * libm/mathfp/mathfp.tex: Likewise.
3564
3565 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3566
3567 * libc/libc.texinfo (Top): Surround this node with @ifnottex
3568 instead of @ifinfo. Update menu to add Introduction and match
3569 SUBDIRS order.
3570 (Introduction): New section.
3571
3572 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3573
3574 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
3575 with "Red Hat newlib C Library".
3576 * libc/sys.tex (Stubs): Likewise.
3577 * libm/math/math.tex (Math): Likewise.
3578 * libm/mathfp/mathfp.tex (Math): Likewise.
3579
3580 2005-10-11 Shaun Jackman <sjackman@gmail.com>
3581
3582 * libc/include/stdio.h (dprintf): New declaration.
3583 (vdprintf): Ditto.
3584 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
3585 and vdprintf.c.
3586 * libc/stdio/Makefile.in: Regenerate.
3587 * libc/stdio/dprintf.c: New file.
3588 * libc/stdio/vdprintf.c: New file.
3589 * libc/stdio/stdio.tex (dprintf): New entry.
3590
3591 2005-10-11 David Weatherford <weath@tensilica.com>
3592
3593 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
3594 Print "inf" and "nan" in lowercase for e/f/g formats and in
3595 uppercase for E/F/G formats.
3596
3597 2005-10-07 Bob Wilson <bob.wilson@acm.org>
3598
3599 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
3600 to ENOMEM on failure.
3601
3602 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3603
3604 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
3605
3606 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
3607
3608 * libc/include/stdint.h: Move magic to set __have_long* to the
3609 beginning. Use #if __have* instead of #if defined(__have*).
3610 Minor typo fixes.
3611
3612 2005-10-04 James E Wilson <wilson@specifix.com>
3613
3614 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
3615 #error.
3616
3617 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
3618
3619 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
3620 incorporate Ralf's change below.
3621
3622 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
3623
3624 * libc/include/stdint.h:
3625 Use __INTMAX_TYPE__ to derive intmax_t.
3626 Use __UINTMAX_TYPE__ to derive uintmax_t.
3627 Fix minor typo.
3628
3629 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
3630
3631 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
3632 handling GCC >= 4.
3633
3634 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3635
3636 * libc/sys/linux/include/stdint.h: Update to match functionality
3637 of generic newlib stdint.h.
3638
3639 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3640
3641 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
3642 and do not #undef the macro after it is used. Fix typos.
3643 Also change 64-bit constants to use the __have_long64 and
3644 __have_longlong64 flags to determine if long or long long
3645 constants should be used.
3646 * libc/include/inttypes.h: Include stddef.h to get wchar_t
3647 type defined.
3648
3649 2005-09-20 Shaun Jackman <sjackman@gmail.com>
3650
3651 * libc/include/stdint.h: Fix typo in names of
3652 LEAST macros.
3653
3654 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3655
3656 * libc/sys/rtems/include/inttypes.h: Moved to...
3657 * libc/include/inttypes.h: ...here.
3658
3659 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
3660
3661 * libc/sys/rtems/include/stdint.h: Moved to...
3662 * libc/include/stdint.h: ...here.
3663
3664 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
3665
3666 * Makefile.am: Add include files under bits sub-directory.
3667 * Makefile.in: Regenerated.
3668 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3669 actual value of 1 to be compatible with newer glibc headers.
3670 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3671 glibc headers.
3672 * libc/sys/linux/sys/dirent.h: Ditto.
3673 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3674 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3675 profile_fixup routines are marked used so they won't be
3676 optimized away.
3677 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3678 to mark functions as weak.
3679 * libc/sys/linux/dl/dl-open.c: Ditto.
3680 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3681 rules about lvalues.
3682 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3683 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3684 weak_extern macro to mark functions as weak. Instead always
3685 use #pragma weak.
3686 * iconvdata/jis0208.h: Fix to work with gcc4.
3687 * libc/sys/linux/dl/dl-load.c: Ditto.
3688 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3689 * libc/sys/linux/dl/do-rel.h: Ditto.
3690 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3691 * libc/sys/linux/include/ltdl.h: Ditto.
3692 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3693 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3694 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3695 * libc/sys/linux/bits/initspin.h: New file.
3696 * libc/sys/linux/bits/libc-lock.h: Ditto.
3697 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3698 * libc/sys/linux/bits/typesizes.h: Ditto.
3699
3700 2005-09-08 Eric Blake <ebb9@byu.net>
3701
3702 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3703 before is NULL.
3704
3705 2005-09-08 Brian Dessent <brian@dessent.net>
3706
3707 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3708 mantissa.
3709 * s_lrint.c: Ditto.
3710
3711 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3712
3713 * libc/include/stdio.h: Add prototype for viprintf.
3714
3715 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3716
3717 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3718 any positive power results in 0.
3719 * libm/mathfp/sf_pow.c (powf): Ditto.
3720
3721 2005-08-31 Paul Brook <paul@codesourcery.com>
3722
3723 * configure.host: Set have_crt0 to no for Arm targts when not
3724 providing syscalls. Set sys_dir=arm unconditionally.
3725 Default have_crt0 based on sys_dir.
3726 * configure.in: Use have_crt0.
3727 * libc/configure.in: Ditto.
3728 * libc/sys/configure.in: Ditto.
3729 * configure: Regenerate.
3730 * libc/configure: Regenerate.
3731 * libc/sys/configure: Regenerate.
3732 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3733 Only build other files when providing syscalls.
3734 * libc/sys/arm/Makefile.in: Regenerate.
3735 * libc/sys/arm/aeabi_atexit.c: New file.
3736
3737 2005-08-26 Christopher Faylor <cgf@timesys.com>
3738
3739 * libc/include/string.h: Revert previous change.
3740
3741 2005-08-25 Christopher Faylor <cgf@timesys.com>
3742
3743 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3744
3745 2005-08-22 Shaun Jackman <sjackman@gmail.com>
3746
3747 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3748 define _opendir as opendir, _readdir as readdir, and
3749 _closedir as closedir so that the implementations in
3750 libc/posix will be used.
3751
3752 2005-08-10 DJ Delorie <dj@redhat.com>
3753
3754 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3755
3756 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3757
3758 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3759 * libm/common/s_max.c: Ditto.
3760 * libm/common/sf_fmin.c: Ditto.
3761 * libm/common/s_min.c: Ditto.
3762
3763 2005-08-10 DJ Delorie <dj@redhat.com>
3764
3765 * configure.host: Add m32c support.
3766 * libc/include/machine/ieeefp.h: Likewise.
3767 * libc/include/machine/setjmp.h: Likewise.
3768 * libc/include/sys/config.h: Likewise.
3769 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3770 * libc/machine/m32c/aclocal.m4: New file.
3771 * libc/machine/m32c/configure: Ditto.
3772 * libc/machine/m32c/configure.in: Ditto.
3773 * libc/machine/m32c/Makefile.am: Ditto.
3774 * libc/machine/m32c/Makefile.in: Ditto.
3775 * libc/machine/m32c/setjmp.S: Ditto.
3776
3777 2005-08-02 Bob Wilson <bob.wilson@acm.org>
3778
3779 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3780 to the value for 2^126.
3781
3782 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3783
3784 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3785 used.
3786
3787 2005-07-20 Bob Wilson <bob.wilson@acm.org>
3788 Darin Petkov <darin@tensilica.com>
3789
3790 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3791
3792 2005-07-19 Paul Brook <paul@codesourcery.com>
3793
3794 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3795
3796 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3797
3798 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3799 names after PASS and FAIL which do not depend on source directory
3800 name or on whether test passed or failed.
3801 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3802
3803 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3804
3805 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3806
3807 2005-07-07 Shaun Jackman <sjackman@gmail.com>
3808
3809 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
3810 twice for the same directory. _closedir calls free, and freeing
3811 the same pointer twice may cause a crash.
3812
3813 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
3814
3815 * configure.host: Added entry for ms1*.
3816 * libc/include/machine/ieeefp.h: Handle ms1.
3817 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3818 * libc/machine/ms1/aclocal.m4: New.
3819 * libc/machine/ms1/configure: New.
3820 * libc/machine/ms1/configure.in: New.
3821 * libc/machine/ms1/Makefile.am: New.
3822 * libc/machine/ms1/Makefile.in: New.
3823 * libc/machine/ms1/setjmp.S: New.
3824
3825 2005-07-04 Mark Mitchell <mark@codesourcery.com>
3826
3827 * Makefile.am (site.exp): Set tmpdir.
3828 * Makefile.in: Regenerated.
3829 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3830 executables in $tmpdir.
3831 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3832 libgloss version if not running in the build directory.
3833 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3834 $tmpdir.
3835 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3836 in $tmpdir.
3837
3838 2005-06-28 Dave Korn <dave.korn@artimi.com>
3839
3840 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3841 and miscalculation caused by fp representation of zero.
3842 * libm/common/sf_lrint.c (lrintf): Likewise.
3843
3844 2005-06-16 Christopher Faylor <cgf@timesys.com>
3845
3846 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3847 determine characteristics of long double. Use a union instead.
3848 * ldtoa.c (_ldtoa_r): Ditto.
3849 (_ldcheck): Ditto.
3850 (_strtold): Ditto.
3851 (union uconv): New union.
3852
3853 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3854
3855 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3856 instead of memcpy.
3857
3858 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3859
3860 * configure.host (mn10300-*): Add long long I/O support by default.
3861
3862 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3863
3864 * libc/sys/linux/getpwuid.c: Removed.
3865 * libc/sys/linux/getpwnam.c: Removed.
3866 * libc/sys/linux/getpwent.c: New file containing logic
3867 from files removed above. This allows overriding of file
3868 in libc/unix.
3869 * libc/sys/linux/Makefile.am: Support changes above.
3870 * libc/sys/linux/Makefile.in: Regenerated.
3871
3872 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3873
3874 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3875 when checking for multiple flags.
3876
3877 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
3878
3879 * configure.host <cris-*-* | crisv32-*-*>: Set
3880 default_newlib_io_long_long="yes".
3881
3882 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3883
3884 * libc/include/libgen.h: New file.
3885
3886 2005-04-08 Shaun Jackman <sjackman@gmail.com>
3887
3888 * libc/unix/Makefile.am: Add support for basename and dirname.
3889 * libc/unix/Makefile.in: Regenerated.
3890 * libc/unix/basename.c: New file.
3891 * libc/unix/dirname.c: New file.
3892
3893 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3894
3895 * libc/sys/linux/inode.c (lchown): New function.
3896
3897 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3898
3899 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3900 ELIX level is defined.
3901 * libc/unix/Makefile.in: Regenerated.
3902
3903 2005-04-05 Dave Korn <dave.korn@artimi.com>
3904
3905 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3906 something that looks like a "NaN", put back the characters processed.
3907
3908 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
3909
3910 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3911
3912 2005-03-23 Christopher Faylor <cgf@timesys.com>
3913
3914 * configure.host: For cygwin, redefine CC with cygwin include directory
3915 first to mimic the behavior of the top-level configury. Move include
3916 directory out of newlib_cflags.
3917
3918 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3919
3920 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
3921 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
3922 than errno.
3923
3924 2005-03-22 Christopher Faylor <cgf@timesys.com>
3925
3926 * libc/include/machine/_types.h: Make trivial change to comment to
3927 avoid a spurious warning from gcc.
3928
3929 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
3930
3931 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
3932 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
3933 reent.h include.
3934
3935 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
3936 Corinna Vinschen <corinna@vinschen.de>
3937
3938 * libc/include/ctype.h: Remove invalid +1 offset from
3939 ctype macro references to __ctype_ptr.
3940 (_ctype_): Move declaration outside #ifndef __cplusplus.
3941
3942 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
3943
3944 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
3945 evaluate first parameter only once.
3946 (siglongjmp): Ditto.
3947
3948 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
3949
3950 * configure.in: Add new check to see if compiler supports
3951 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
3952 * configure: Regenerated.
3953 * Makefile.in: Ditto.
3954 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
3955 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
3956 aliasing the _ctype_ array to _ctype_b.
3957 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
3958 _ctype_ as deprecated.
3959
3960 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
3961
3962 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3963 -DCOMPACT_CTYPE.
3964
3965 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3966
3967 * libc/sys/rtems/include/inttypes.h: New file.
3968 * libc/sys/rtems/include/stdint.h: Ditto.
3969
3970 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3971
3972 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3973
3974 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3975
3976 * libc/include/machine/_types.h: New file.
3977 * libc/include/sys/types.h: Do not check for __rtems__
3978 when including <machine/_types.h>. Remove some redundant
3979 declarations now that <machine/_types.h> is included.
3980 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3981 shared header file.
3982
3983 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
3984
3985 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
3986 L qualifier for these long constants.
3987
3988 2005-02-25 Eric Blake <ebb9@byu.net>
3989
3990 * libc/include/time.h (__tzrule_struct): Make offset long, since
3991 a 16-bit int overflows on a 12-hour offset.
3992 * libc/sys/linux/include/time.h: Ditto.
3993 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
3994 * libc/time/mktm_r.c: Ditto.
3995 * libc/time/gettzinfo.c: Ditto.
3996 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
3997 years. Fix '%z' to use long, not int.
3998
3999 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4000
4001 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
4002 manipulate float values in integer form.
4003 * libm/common/sf_round.c: Ditto.
4004
4005 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4006
4007 * libc/include/sys/types.h [__rtems__]: Include new
4008 header file machine/_types.h.
4009 * libc/include/machine/types.h: Ditto.
4010 * libc/sys/rtems/machine/_types.h: New file.
4011
4012 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
4013
4014 * libc/include/time.h (_timezone): Change to long also for Cygwin.
4015 (timezone): Drop cast from definition.
4016
4017 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
4018
4019 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
4020 (__tzrule_type, __tzinfo_type): New types.
4021 (__gettzinfo): New function.
4022 * libc/sys/linux/include/time.h: Ditto.
4023 * libc/time/Makefile.am: Add gettzinfo.c.
4024 * libc/time/Makefile.in: Regenerated.
4025 * libc/time/local.h: Moved __tzrule_type to time.h.
4026 * libc/time/mktime.c: Call __gettzinfo to reference
4027 __tznorth, __tzyear, and __tzrule array.
4028 * libc/time/mktm_r.c: Ditto.
4029 * libc/time/strftime.c: Ditto.
4030 * libc/time/tzset_r.c: Ditto. Also remove definition
4031 of __tzrule which is now in gettzinfo.c. Change _timezone
4032 references to not cast to time_t.
4033 * libc/time/gettzinfo.c: New file.
4034
4035 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
4036
4037 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
4038
4039 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
4040
4041 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
4042
4043 2005-02-16 Eric Blake <ebb9@byu.net>
4044
4045 * libc/time/time.tex: Improve the documentation.
4046 * libc/time/strftime.c: Improve the documentation.
4047 (iso_year_adjust): New helper function.
4048 (strftime): Simplify '%E' and '%O'. Change '%c' to use
4049 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
4050 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
4051 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
4052 Avoid core dumps on valid inputs (maxsize == 0, or
4053 tim_p->tm_isdst > 1).
4054
4055 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
4056
4057 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
4058 members to uid_t and gid_t according to SUSv3.
4059 * libc/include/sys/time.h (utimes): Change second parameter
4060 to const according to SUSv3.
4061
4062 2005-02-07 Antony King <antony.king@st.com>
4063
4064 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
4065 called before _flockfile to prevent lock object use before
4066 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
4067 take a struct _reent * instead of a FILE *.
4068 * libc/stdio/fclose.c (_fclose_r): Ditto.
4069 * libc/stdio/feof.c (feof): Ditto.
4070 * libc/stdio/ferror.c (ferror): Ditto.
4071 * libc/stdio/fflush.c (fflush): Ditto.
4072 * libc/stdio/fgetc.c (fgetc): Ditto.
4073 * libc/stdio/fgets.c (fgets): Ditto.
4074 * libc/stdio/fileno.c (fileno): Ditto.
4075 * libc/stdio/fputc.c (fputc): Ditto.
4076 * libc/stdio/fputs.c (fputs): Ditto.
4077 * libc/stdio/fread.c (fread): Ditto.
4078 * libc/stdio/freopen.c (_freopen_r): Ditto.
4079 * libc/stdio/fseek.c (_fseek_r): Ditto.
4080 * libc/stdio/ftell.c (_ftell_r): Ditto.
4081 * libc/stdio/fwrite.c (fwrite): Ditto.
4082 * libc/stdio/getc.c (getc): Ditto.
4083 * libc/stdio/getdelim.c (__getdelim): Ditto.
4084 * libc/stdio/putc.c (putc): Ditto.
4085 * libc/stdio/setvbuf.c (setvbuf): Ditto.
4086 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
4087 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
4088 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
4089 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
4090 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
4091 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
4092 _reent * instead of a FILE * and so replace incorrect use of
4093 _REENT with argument.
4094 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
4095 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
4096 CHECK_INIT() take a struct _reent * instead of a FILE *.
4097 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
4098 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
4099 * libc/stdio/perror.c (perror): Ditto.
4100 * libc/stdio/printf.c (printf, _printf_r): Ditto.
4101 * libc/stdio/putchar.c (putchar): Ditto.
4102 * libc/stdio/puts.c (puts): Ditto.
4103 * libc/stdio/refill.c (__srefill): Ditto.
4104 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
4105 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
4106 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
4107 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
4108 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
4109 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
4110 * libc/stdio/wbuf.c (__swbuf): Ditto.
4111 * libc/stdio/wsetup.c (__swsetup): Ditto.
4112 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
4113 * libc/stdlib/mstats.c (_mstats_r): Ditto.
4114 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
4115 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
4116 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
4117 to _flockfile and _funlockfile; rely on locking in _ftell_r.
4118 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
4119 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
4120 initialision of _data field in FILE structure.
4121 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
4122
4123 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4124
4125 * libc/stdio/findfp.c (__sinit): Protect with new lock.
4126 (__sinit_lock): New lock.
4127 (__sinit_lock_acquire, __sinit_lock_release): New functions.
4128 * libc/stdio/local.h: Add reference to new __sinit locking
4129 functions.
4130
4131 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4132
4133 * libc/include/math.h (isfinite, isnormal, isunordered): Change
4134 input variable names to avoid mixups with nesting macros.
4135
4136 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
4137
4138 * configure.host: Add support for cris-*-* and crisv32-*-*.
4139 * libc/include/machine/ieeefp.h: Ditto.
4140 * libc/include/machine/setjmp.h: Ditto.
4141 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
4142 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
4143 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
4144 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
4145 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
4146 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
4147 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
4148 files.
4149
4150 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
4151
4152 * testsuite/newlib.string/memmove1.c: New test.
4153
4154 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
4155
4156 * testsuite/include/check.h: Include stdlib.h.
4157
4158 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
4159
4160 * Makefile.am (stmp-targ-include): Support include header files
4161 from machine directories.
4162 (install-data-local): Ditto.
4163 * Makefile.in: Regenerate.
4164
4165 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
4166
4167 * libc/include/string.h: Remove Linux-specific declaration of
4168 strsignal and add #include <sys/string.h>.
4169 * libc/include/sys/string.h: New file.
4170 * libc/include/sys/linux/sys/string.h: New file with strsignal
4171 declaration deleted above.
4172
4173 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
4174
4175 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
4176 to POSIX standard for "C" locale. Allow %E and %O modifiers
4177 to be ignored as long as they precede valid specifiers according
4178 to POSIX.
4179
4180 2005-01-19 Shaun Jackman <sjackman@gmail.com>
4181
4182 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4183 environment variable is set.
4184
4185 2005-01-19 Shaun Jackman <sjackman@gmail.com>
4186
4187 * tzset_r.c (_tzname): Add a comma.
4188
4189 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
4190
4191 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
4192 _VFPRINTF_R.
4193
4194 2005-01-07 Paul Brook <paul@codesourcery.com>
4195
4196 * configure.in: Add test for .init_array.
4197 * configure: Regenerate.
4198 * newlib.hin: Add HAVE_INITFINI_ARRAY.
4199 * libc/misc/Makefile.am: Add init.c
4200 * libc/misc/Makefile.in: Regenerate.
4201 * libc/misc/init.c: New file.
4202 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
4203 _init/_fini if they exist.
4204
4205 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
4206
4207 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
4208 * (strtof): Ditto.
4209 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
4210 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
4211 functions for use by strtod and strtof.
4212 * Makefile.in: Regenerated.
4213
4214 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
4215
4216 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
4217 bit-test in combination with NULL test.
4218
4219 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
4220
4221 * README: Fix typo of LGPL. Change "license" to "copyright".
4222
4223 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
4224
4225 * NEWS: Update with 1.13.0 info.
4226 * README: Ditto.
4227 * acinclude.m4: Change version number to 1.13.0.
4228 * aclocal.m4: Regenerated.
4229 * configure: Ditto.
4230 * doc/aclocal.m4: Ditto.
4231 * doc/configure: Ditto.
4232 * libc/*/aclocal.m4: Ditto.
4233 * libc/*/configure: Ditto.
4234 * libc/libc.texinfo: Ditto.
4235 * libm/*/aclocal.m4: Ditto.
4236 * libm/*/configure: Ditto.
4237 * libm/libm.texinfo: Ditto.
4238 * libc/sys/linux/shared.ld: Add VERS_1.13.
4239
4240 2004-12-17 Christian Groessler <chris@groessler.org>
4241
4242 * libc/machine/z8k/memcmp.S: New file.
4243 * libc/machine/z8k/memcpy.S: Ditto.
4244 * libc/machine/z8k/memmove.S: Ditto.
4245 * libc/machine/z8k/memset.S: Ditto.
4246 * libc/machine/z8k/Makefile.am: Add new files.
4247 * libc/machine/z8k/Makefile.in: Regenerated.
4248 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
4249 part. Implement Z8002 stdcall version.
4250
4251 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
4252
4253 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
4254 a low-level read if we don't get the full amount of bytes so
4255 EOF or error flags will be set.
4256
4257 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
4258
4259 * libc/time/tzset_r (_tzset_r): Properly skip over
4260 '/' when it is detected.
4261
4262 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4263
4264 * libc/time/tzset_r (_tzset_r): Fix loop.
4265
4266 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4267
4268 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
4269 m_day.
4270 (__tzcalc_limits): Fix reference to month array to be zero-based.
4271
4272 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
4273
4274 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
4275 and usleep.
4276
4277 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
4278
4279 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
4280 libgcc dependencies.
4281 (libm_la_LDFLAGS): Ditto.
4282 * Makefile.in: Regenerated.
4283
4284 2004-12-03 Shaun Jackman <sjackman@gmail.com>
4285
4286 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4287 our link to use readlink so as to preserve any relative link created
4288 by install-toollibLIBRARIES.
4289 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4290
4291 2004-12-02 Shaun Jackman <sjackman@gmail.com>
4292
4293 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4294 time_t before including sys/stat.h, which uses it.
4295 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4296 <linux/time.h> just prior to definition of __KERNEL__ so as to
4297 allow building on Debian Linux where otherwise, mktime would
4298 be redefined.
4299
4300 2004-11-26 Paul Brook <paul@codesourcery.com>
4301
4302 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
4303
4304 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4305
4306 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
4307 const for value string parameter to match Single Unix and glibc.
4308 * libc/stdlib/putenv.c: Ditto.
4309 * libc/stdlib/putenv_r.c: Ditto.
4310
4311 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4312
4313 * libc/stdio/Makefile.am: Fix missing vfscanf.
4314 * libc/stdio/Makefile.in: Regenerated.
4315
4316 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
4317
4318 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4319 do some reordering.
4320 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4321 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4322 family functions.
4323 * libc/stdio/Makefile.in: Regenerated.
4324 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4325 * libc/stdio/iprintf.c: Ditto.
4326 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4327 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4328 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4329 * libc/stdio/stdio.tex: Add new functions.
4330 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4331 file and add special name defines so this file can be used
4332 to build vfiscanf.o.
4333 * libc/stdio/asiprintf.c: New file.
4334 * libc/stdio/fiscanf.c: Ditto.
4335 * libc/stdio/iscanf.c: Ditto.
4336 * libc/stdio/sccl.c: Ditto.
4337 * libc/stdio/siscanf.c: Ditto.
4338 * libc/stdio/vasiprintf.c: Ditto.
4339 * libc/stdio/viprintf.c: Ditto.
4340 * libc/stdio/viscanf.c: Ditto.
4341 * libc/stdio/vsiprintf.c: Ditto.
4342 * libc/stdio/vsiscanf.c: Ditto.
4343 * libc/stdio/vsniprintf.c: Ditto.
4344
4345 2004-11-19 Shaun Jackman <sjackman@gmail.com>
4346
4347 * libc/include/stdio.h: Add sniprintf.
4348 * libc/stdio/Makefile.am: Add sniprintf.c.
4349 * libc/stdio/Makefile.in: Regenerated.
4350 * libc/stdio/sniprintf.c: New file.
4351 * libc/stdio/stdio.tex: Add sniprintf.
4352
4353 2004-11-17 Christopher Faylor <cgf@timesys.com>
4354
4355 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4356 EOF flag if successful.
4357
4358 2004-10-28 Christopher Faylor <cgf@timesys.com>
4359
4360 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
4361 so that all relevant definitions have been performed for use in the
4362 include.
4363
4364 2004-10-26 Jason Tishler <jason@tishler.net>
4365
4366 * libc/stdio/fread.c (fread): Fix return value for unbuffered
4367 fread.
4368
4369 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4370
4371 * libc/include/machine/setjmp.h: Add AVR support.
4372 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
4373
4374 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
4375
4376 * libc/include/sys/signal.h: If <signal.h> didn't include
4377 this header file, include <signal.h> to account for
4378 applications that take advantage that the two header
4379 files are the same in glibc.
4380
4381 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
4382
4383 * configure.host: Add support for crx.
4384 * libc/include/machine/ieeefp.h: Ditto.
4385 * libc/include/machine/setjmp.h: Ditto.
4386 * libc/machine/crx/Makefile.am: New file.
4387 * libc/machine/crx/configure.in: Ditto.
4388 * libc/machine/crx/setjmp.S: Ditto.
4389 * libc/machine/crx/getenv.c: Ditto.
4390 * libc/machine/crx/aclocal.m4: Generate.
4391 * libc/machine/crx/configure: Ditto.
4392 * libc/machine/crx/Makefile.in: Ditto.
4393 * libc/machine/crx/sys/asm.h: New file.
4394 * libc/machine/crx/sys/libh.h: Ditto.
4395 * libc/machine/crx/sys/syscall.h: Ditto.
4396
4397 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
4398
4399 * Makefile.am (stmp-targ-include): Support sys header files
4400 from machine directories.
4401 * Makefile.in: Regenerated.
4402
4403 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
4404
4405 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4406 count skipped zero characters as part of the nread count for %n.
4407 * libc/machine/powerpc/vfscanf.c: Ditto.
4408
4409 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
4410
4411 * libc/stdio/local.h: Include <stdlib.h>.
4412
4413 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
4414
4415 * libc/stdio/fread.c (fread): Include <malloc.h>.
4416
4417 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
4418
4419 * libc/stdio/fread.c (fread): For non-space-optimized case,
4420 add special code for unbuffered files to use user buffer and
4421 only require one low-level system read.
4422
4423 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
4424
4425 * libc/machine/xscale/setjmp.S: New file, copied from
4426 libc/machine/arm/setjmp.S.
4427 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
4428 * libc/machine/xscale/Makefile.in: Regenerate.
4429
4430 2004-09-16 Antony King <antony.king@st.com>
4431
4432 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
4433 with locking API.
4434 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
4435 check for__SSTR in _flags and if set, skip lock request.
4436 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4437 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
4438 not NULL.
4439 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
4440 initialisation of _file to -1 in local FILE.
4441 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
4442 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
4443 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4444 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4445 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
4446 _flags in local FILE to prevent locking.
4447 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4448
4449 2004-09-16 Antony King <antony.king@st.com>
4450
4451 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
4452 and only walk the reentrancy parameter.
4453 (_fwalk_reent): Ditto.
4454 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
4455
4456 2004-09-16 Antony King <antony.king@st.com>
4457
4458 * libc/stdio64/freopen64.c: Remove casting of fp lock to
4459 _LOCK_RECURSIVE_T.
4460
4461 2004-09-16 Antony King <antony.king@st.com>
4462
4463 * libc/time/tzlock.c: Add default stubs that use generic
4464 locking code.
4465
4466 2004-09-16 Antony King <antony.king@st.com>
4467
4468 * libc/ctype/ctype.tex: Added missing documentation.
4469 * libc/stdio/stdio.tex Ditto.
4470 * libc/stdlib/stdlib.tex Ditto.
4471 * libc/string/strings.tex Ditto.
4472 * libc/time/time.tex: Ditto.
4473 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
4474
4475 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
4476
4477 * libc/reent/impure.c (reent_data): Define as alias to impure_data
4478 when building for Cygwin.
4479 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
4480 _global_impure_ptr.
4481
4482 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
4483
4484 * configure.host: Reverting 2004-09-14 change as fix has occurred on
4485 Cygwin side.
4486 * configure.in: Ditto.
4487 * libc/configure.in: Ditto.
4488 * libc/sys/configure.in: Ditto.
4489 * configure: Ditto.
4490 * libc/configure: Ditto.
4491 * libc/sys/configure: Ditto.
4492 * libc/include/sys/reent.h: Ditto.
4493 * libc/stdlib/__atexit.c: Ditto.
4494 * libc/stdlib/__call_atexit.c: Ditto.
4495 * libc/stdlib/cxa_atexit.c: Ditto.
4496 * libc/stdlib/cxa_finalize.c: Ditto.
4497 * libc/sys/cygwin/Makefile.am: Removed again.
4498 * libc/sys/cygwin/Makefile.in: Ditto.
4499 * libc/sys/cygwin/aclocal.m4: Ditto.
4500 * libc/sys/cygwin/configure: Ditto.
4501 * libc/sys/cygwin/configure.in: Ditto.
4502 * libc/sys/cygwin/dummy.c: Ditto.
4503 * libc/sys/cygwin/sys/reent.h: Ditto.
4504
4505 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
4506
4507 * configure.host: Add Cygwin sys directory.
4508 * configure.in: Do not set CRT0 for cygwin.
4509 * libc/configure.in: Ditto.
4510 * libc/sys/configure.in: Ditto.
4511 * configure: Regenerated.
4512 * libc/configure: Ditto.
4513 * libc/sys/configure: Ditto.
4514 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
4515 * libc/stdlib/__atexit.c: Keep cxa support protected by new
4516 __REENT_HAS_CXA_SUPPORT flag.
4517 * libc/stdlib/__call_atexit.c: Ditto.
4518 * libc/stdlib/cxa_atexit.c: Ditto.
4519 * libc/stdlib/cxa_finalize.c: Ditto.
4520 * libc/sys/cygwin/Makefile.am: New file.
4521 * libc/sys/cygwin/Makefile.in: Ditto.
4522 * libc/sys/cygwin/aclocal.m4: Ditto.
4523 * libc/sys/cygwin/configure: Ditto.
4524 * libc/sys/cygwin/configure.in: Ditto.
4525 * libc/sys/cygwin/dummy.c: Ditto.
4526 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
4527 version of reent.h.
4528
4529 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4530
4531 * libc/iconv/iconv.tex: Updated with new content.
4532 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
4533 instead of NLS_DEFAULT_NLSPATH.
4534 * libc/iconv/lib/iconvnls.h: Fix typo.
4535 * libc/include/sys/iconvnls.h: New file.
4536
4537 2004-09-09 Paul Brook <paul@codesourcery.com>
4538
4539 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
4540 and _is_cxa.
4541 (struct _atexit): Add _next when _REENT_SMALL.
4542 (struct _reent): Add _atexit0 when _REENT_SMALL.
4543 (_REENT_INIT_PTR): Adjust.
4544 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
4545 __call_exit.c.
4546 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
4547 * libc/stdlib/Makefile.in: Regenerate.
4548 * libc/stdlib/__atexit.c: New file.
4549 * libc/stdlib/__call_atexit.c: New file.
4550 * libc/stdlib/atexit.h: Remove old definitions. Add new.
4551 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
4552 * libc/stdlib/cxa_atexit.c: New file.
4553 * libc/stdlib/cxa_finalize.c: New file.
4554 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
4555 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
4556 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
4557 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
4558 _on_exit_args_ptr.
4559
4560 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
4561
4562 * libc/include/sys/unistd.h (getpass): Change prototype to use
4563 const instead of __const.
4564
4565 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
4566
4567 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
4568 #if.
4569
4570 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
4571
4572 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
4573 on linux systems with glibc 2.3.3 installed.
4574 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
4575 profile_fixup so newlib can build on fc3 system.
4576
4577 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
4578
4579 Introduce SH2a support.
4580 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
4581 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
4582 __SH2A_SINGLE_ONLY__, too.
4583 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
4584 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4585 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
4586 2004-02-10 DJ Delorie <dj@redhat.com>
4587 * libc/sys/sh/crt0.S (start_l): Support sh2a.
4588
4589 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
4590
4591 * libc/time/strptime.c: Correct full-name of "March" typo.
4592
4593 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
4594
4595 * configure.host (h8300*-*-*): Default long long printing support.
4596
4597 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
4598
4599 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
4600 calls, if realloc fails, free up buffer as it is no longer
4601 used.
4602
4603 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4604
4605 * libc/iconv/iconv.tex: Updated to represent recent changes.
4606 * libc/iconv/lib/iconv.c: Documentation updated.
4607
4608 2004-07-07 Nick Clifton <nickc@redhat.com>
4609
4610 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
4611 for xStormy16.
4612
4613 2004-07-06 Chris Demetriou <cgd@broadcom.com>
4614
4615 * configure.host (mips*-*-elf*): Default long long printing
4616 support.
4617
4618 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
4619
4620 * libc/Makefile.am (libc.dvi): Add target and specify
4621 same dependencies as libc.info.
4622 * libc/Makefile.in: Regenerated.
4623 * libm/Makefile.am (libm.dvi): Add target and specify
4624 same dependencies as libm.info.
4625 * libm/Makefile.in: Regenerated.
4626
4627 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4628
4629 * acinclude.m4: Move --enable-newlib-iconv option back here.
4630 * configure.in: Remove --enable-newlib-iconv option. Don't
4631 tie iconv support to --enable-newlib-mb.
4632 * aclocal.m4: Regenerated.
4633 * configure: Ditto.
4634 * doc/aclocal.m4, doc/configure: Ditto.
4635 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
4636 * libm/*/aclocal.m4: Ditto.
4637 * libm/*/configure: Ditto.
4638 * libc/*/aclocal.m4: Ditto.
4639 * libc/*/configure: Ditto.
4640
4641 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4642
4643 * acinclude.m4: Move iconv options into configure.in.
4644 * aclocal.m4: Regenerated.
4645 * configure: Ditto.
4646 * configure.in: Add iconv options.
4647 * newlib.hin: Add new iconv encodings and remove deleted ones.
4648 * doc/aclocal.m4: Regenerated.
4649 * doc/configure: Ditto.
4650 * iconvdata/aclocal.m4: Ditto.
4651 * iconvdata/configure: Ditto.
4652 * libc/iconv: Design change. New size-optimized ccs format.
4653 * libc/iconv/AUTHORS: Removed.
4654 * libc/iconv/COPYING: Ditto.
4655 * libc/iconv/README.ORIGINAL: Ditto.
4656 * libc/iconv/README.TODO: Ditto.
4657 * libc/iconv/charset.aliases: Ditto.
4658 * libc/iconv/encoding.aliases: New file.
4659 * libc/iconv/Makefile.am: Updated.
4660 * libc/iconv/Makefile.in: Regenerated.
4661 * libc/iconv/iconv.tex: Updated.
4662 * libc/iconv/ccs/Makefile.am: Ditto.
4663 * libc/iconv/ccs/Makefile.in: Regenerated.
4664 * libc/iconv/ccs/big5.c: Updated.
4665 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4666 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4667 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4668 * libc/iconv/ccs/cp775.c: Ditto.
4669 * libc/iconv/ccs/cp850.c: Ditto.
4670 * libc/iconv/ccs/cp852.c: Ditto.
4671 * libc/iconv/ccs/cp855.c: Ditto.
4672 * libc/iconv/ccs/cp866.c: Ditto.
4673 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4674 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4675 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4676 * libc/iconv/ccs/iconv_mktbl: Ditto.
4677 * libc/iconv/ccs/jis_x0201.c: Ditto.
4678 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4679 * libc/iconv/ccs/shift_jis.c: Ditto.
4680 * libc/iconv/ccs/us_ascii.c: Ditto.
4681 * libc/iconv/ccs/ccs.h: New file.
4682 * libc/iconv/ccs/ccsbi.c: Ditto.
4683 * libc/iconv/ccs/ccsbi.h: Ditto.
4684 * libc/iconv/ccs/ccsnames.h: Ditto.
4685 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4686 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4687 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4688 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4689 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4690 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4691 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4692 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4693 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4694 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4695 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4696 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4697 * libc/iconv/ccs/koi8_ru.c: Ditto.
4698 * libc/iconv/ccs/koi8_uni.c: Ditto.
4699 * libc/iconv/ccs/mktbl.pl: Ditto.
4700 * libc/iconv/ccs/win_1250.c: Ditto.
4701 * libc/iconv/ccs/win_1251.c: Ditto.
4702 * libc/iconv/ccs/win_1252.c: Ditto.
4703 * libc/iconv/ccs/win_1253.c: Ditto.
4704 * libc/iconv/ccs/win_1254.c: Ditto.
4705 * libc/iconv/ccs/win_1255.c: Ditto.
4706 * libc/iconv/ccs/win_1256.c: Ditto.
4707 * libc/iconv/ccs/win_1257.c: Ditto.
4708 * libc/iconv/ccs/win_1258.c: Ditto.
4709 * libc/iconv/ccs/iso_8859_15.c: Updated.
4710 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4711 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4712 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4713 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4714 * libc/iconv/ccs/koi8_r.c: Ditto.
4715 * libc/iconv/ccs/koi8_u.c: Ditto.
4716 * libc/iconv/ccs/ksx1001.c: Ditto.
4717 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4718 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4719 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4720 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4721 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4722 * libc/iconv/ccs/binary/Makefile.am: Updated.
4723 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4724 * libc/iconv/ccs/binary/big5.cct: Updated.
4725 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4726 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4727 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4728 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4729 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4730 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4731 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4732 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4733 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4734 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4735 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4736 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4737 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4738 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4739 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4740 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4741 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4742 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4743 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4744 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4745 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4746 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4747 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4748 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4749 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4750 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4751 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4752 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4753 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4754 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4755 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4756 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4757 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4758 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4759 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4760 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4761 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4762 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4763 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4764 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4765 * libc/iconv/ces/Makefile.am: Updated.
4766 * libc/iconv/ces/Makefile.in: Regenerated.
4767 * libc/iconv/ces/ucs-2-internal.c: Updated.
4768 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4769 * libc/iconv/ces/utf-16.c: Ditto.
4770 * libc/iconv/ces/utf-8.c: Ditto.
4771 * libc/iconv/ces/cesbi.c: New file.
4772 * libc/iconv/ces/cesbi.h: Ditto.
4773 * libc/iconv/ces/cesdeps.h: Ditto.
4774 * libc/iconv/ces/euc.c: Ditto.
4775 * libc/iconv/ces/mkdeps.pl: Ditto.
4776 * libc/iconv/ces/table-pcs.c: Ditto.
4777 * libc/iconv/ces/table.c: Ditto.
4778 * libc/iconv/ces/ucs-2.c: Ditto.
4779 * libc/iconv/ces/ucs-4.c: Ditto.
4780 * libc/iconv/ces/us-ascii.c: Ditto.
4781 * libc/iconv/ces/euc-jp.c: Removed.
4782 * libc/iconv/ces/euc-kr.c: Ditto.
4783 * libc/iconv/ces/euc-tw.c: Ditto.
4784 * libc/iconv/ces/gb2312.c: Ditto.
4785 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4786 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4787 * libc/iconv/lib/Makefile.am: Updated.
4788 * libc/iconv/lib/Makefile.in: Regenerated.
4789 * libc/iconv/lib/endian.h: Updated.
4790 * libc/iconv/lib/iconv.c: Ditto.
4791 * libc/iconv/lib/local.h: Ditto.
4792 * libc/iconv/lib/aliases.c: Removed.
4793 * libc/iconv/lib/bialiasesi.c: Ditto.
4794 * libc/iconv/lib/biccs.c: Ditto.
4795 * libc/iconv/lib/bices.c: Ditto.
4796 * libc/iconv/lib/ccs.c: Ditto.
4797 * libc/iconv/lib/ces.c: Ditto.
4798 * libc/iconv/lib/ces_euc.c: Ditto.
4799 * libc/iconv/lib/ces_iso2022.c: Ditto.
4800 * libc/iconv/lib/ces_table.c: Ditto.
4801 * libc/iconv/lib/converter.c: Ditto.
4802 * libc/iconv/lib/deps.h: Ditto.
4803 * libc/iconv/lib/loaddata.c: Ditto.
4804 * libc/iconv/lib/aliasesbi.c: New file.
4805 * libc/iconv/lib/aliasesi.c: Ditto.
4806 * libc/iconv/lib/conv.h: Ditto.
4807 * libc/iconv/lib/encnames.h: Ditto.
4808 * libc/iconv/lib/encoding.deps: Ditto.
4809 * libc/iconv/lib/iconvnls.c: Ditto.
4810 * libc/iconv/lib/iconvnls.h: Ditto.
4811 * libc/iconv/lib/nullconv.c: Ditto.
4812 * libc/iconv/lib/ucsconv.c: Ditto.
4813 * libc/iconv/lib/ucsconv.h: Ditto.
4814 * libc/include/iconv.h: Update copyright.
4815 * libc/*/aclocal.m4: Regenerated.
4816 * libc/*/configure: Ditto.
4817 * libm/*/aclocal.m4: Ditto.
4818 * libm/*/configure: Ditto.
4819
4820 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
4821
4822 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4823 instead of typedefing jmp_buf.
4824
4825 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4826 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4827 * libc/machine/h8300/defines.h (LEN): New macro.
4828 * libc/machine/h8300/memcpy.S: Add h8sx version.
4829 * libc/machine/h8300/memset.S: Likewise.
4830 * libc/machine/h8300/strcmp.S: Likewise.
4831 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4832 * libc/machine/h8300/h8sx_strcpy.S: New file.
4833 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4834 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4835 __H8300SX__.
4836 * libc/include/machine/setjmp.h: Likewise.
4837 * libc/include/sys/config.h: Likewise.
4838 * libc/machine/h8300/defines.h: Likewise.
4839 * libc/machine/h8300/setjmp.S: Likewise.
4840 * libc/machine/h8300/strcmp.S: Likewise.
4841 * libc/sys/h8300hms/close.S: Likewise.
4842 * libc/sys/h8300hms/fstat.S: Likewise.
4843 * libc/sys/h8300hms/lseek.S: Likewise.
4844 * libc/sys/h8300hms/read.S: Likewise.
4845 * libc/sys/h8300hms/write.S: Likewise.
4846 * libc/sys/h8300hms/crt0.S: Likewise.
4847 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4848 __H8300SX__ is defined.
4849 * libc/sys/h8300hms/setarch.h: Likewise.
4850
4851 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4852
4853 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4854 out change which set _GLOBAL_REENT to _global_impure_ptr until
4855 we understand why Cygwin breaks because of it.
4856
4857 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4858
4859 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4860 __syscall_return macro for systems with vsyscall.
4861
4862 2004-06-11 Antony King <antony.king@st.com>
4863
4864 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4865 _flock_t to be of type _LOCK_RECURSIVE_T.
4866 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4867 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4868 (_global_impure_ptr): New declaration.
4869 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4870 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4871 <sys/reent.h>.
4872 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4873 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4874 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4875 * libc/stdio/fclose.c: Remove casting of fp lock to
4876 _LOCK_RECURSIVE_T.
4877 * libc/stdio/findfp.c: Ditto.
4878 * libc/stdio/fopen.c: Ditto.
4879 * libc/stdio/freopen.c: Ditto.
4880 * libc/stdio/vfprintf.c: Ditto.
4881 * libc/stdio64/fopen64.c: Ditto.
4882 * libc/stdlib/envlock.c: Add default stubs that use generic
4883 locking code.
4884 * libc/stdlib/mlock.c: Ditto.
4885
4886 Jeff Johnston <jjohnstn@redhat.com>
4887 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4888 (_flock_t): Change to be a struct containing a single member
4889 named mutex which is of type __flock_mutex_t.
4890
4891 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4892
4893 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4894 from /usr/include/asm/signal.h instead of kernel sources. Also
4895 default max to 32 if not found in header file.
4896 * libc/sys/linux/Makefile.in: Regenerated.
4897 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4898 systems where __syscall_return is not defined.
4899 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4900 systems to use syscall() function instead of assembler interrupt.
4901
4902 2004-06-09 Toralf Lund <toralf@procaptura.com>
4903
4904 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4905 files from libc/sys/arm to libc/machine/arm.
4906 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4907 library build support for files moved from libc/sys/arm.
4908 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4909 references to access and setjmp.
4910 * configure.host: Add checks for newlib_may_supply_syscalls to
4911 determine whether or not to use sys/arm directory and use
4912 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
4913
4914 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4915
4916 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4917 reset digit flags appropriately after we have discovered "0x".
4918 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4919
4920 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4921
4922 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4923 from here ...
4924 (_VFPRINTF_R): ... to here so all I/O printf routines
4925 are covered.
4926
4927 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4928
4929 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4930 redefinition.
4931 * libc/search/hash.c: Ditto.
4932
4933 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4934
4935 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
4936 (_WANT_IO_LONG_LONG): Ditto.
4937 (_WANT_IO_LONG_DOUBLE): Ditto.
4938 * configure.in: Add new configuration options
4939 --enable-newlib-io-long-long and --enable-newlib-io-long-double
4940 which tie to new defines in newlib.hin.
4941 * configure: Regenerated.
4942 * configure.host: Add checks for new configuration options. Also
4943 fix up check for --enable-newlib-io-pos-args so configuration
4944 option will override any default for a given platform.
4945 Remove defining compiler flags for the _WANT_IO* options.
4946 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
4947 instead of looking for old compiler flags.
4948 * libc/stdio/vfscanf.c: Ditto.
4949 * libc/stdio/vfieeefp.h: Ditto.
4950 * libc/machine/powerpc/vfprintf.c: Ditto.
4951 * libc/machine/powerpc/vfscanf.c: Ditto.
4952
4953 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
4954
4955 * testsuite/include/check.h: Add include of <stdio.h>.
4956
4957 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
4958
4959 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
4960
4961 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4962
4963 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4964 of free.
4965
4966 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4967
4968 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4969 list for reentrant pointer. Call _vfiprintf_r.
4970 * libc/stdio/siprintf.c (_siprintf_r): New function.
4971 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4972 pointer argument. Change all callers. Call _VFPRINTF_R.
4973 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4974 prototypes.
4975
4976 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4977
4978 * libc/include/sys/param.h: Remove endian info and include
4979 <machine/endian.h> instead.
4980 * libc/include/machine/endian.h: New file.
4981 * libc/include/machine/param.h: Ditto.
4982 * libc/machine/arm/machine/endian.h: Ditto.
4983 * libc/machine/arm/machine/param.h: Ditto.
4984 * libc/sys/arm/sys/param.h: Removed.
4985 * libc/sys/sysvi386/sys/param.h: Ditto.
4986 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
4987
4988 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4989
4990 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
4991 multibyte functions return failure for %C, %S, %lc, and %ls
4992 format specifiers.
4993
4994 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4995
4996 * testsuite/include/check.h (CHECK): Add flush of stdout.
4997
4998 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4999
5000 * libc/include/stdio.h (_ungetc_r): New prototype.
5001 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
5002 (__submore): Add reentrant struct pointer argument.
5003 (ungetc): Change to call _ungetc_r.
5004
5005 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5006
5007 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
5008 function pointer argument.
5009 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
5010 to specify function pointer arguments.
5011 (__fwalk, __fwalk_reent): Ditto.
5012
5013 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
5014
5015 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
5016 CT_INT case.
5017
5018 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5019
5020 * configure.in: Define _MB_CAPABLE if mb supported.
5021 * configure: Regenerated.
5022 * configure.host: Remove manual setting of MB_CAPABLE compiler
5023 flag.
5024 * newlib.hin: Add _MB_CAPABLE flag.
5025 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
5026 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
5027 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
5028 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
5029 * libc/ctype/jp2uc.c: Ditto.
5030 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
5031 * libc/locale/locale.c: Ditto
5032 * libc/machine/powerpc/vfscanf.c: Ditto
5033 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
5034 * libc/stdlib/mblen.c: Ditto
5035 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
5036 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
5037 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
5038 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
5039 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
5040 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
5041 * libc/sys/linux/intl/explodename.c: Ditto
5042 * libc/sys/linux/intl/finddomain.c: Ditto
5043 * libc/sys/linux/intl/l10nflist.c: Ditto
5044 * libc/sys/linux/intl/loadmsgcat.c: Ditto
5045 * libc/sys/linux/intl/localealias.c: Ditto
5046
5047 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5048
5049 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
5050 (__svfscanf_r): In integer conversions, leave out leading zeroes
5051 which are not part of a base prefix.
5052 Keep track of width truncation to fit into buf, not counting left-out
5053 zeroes against width till the truncation has been compensated for.
5054 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
5055
5056 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5057
5058 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
5059
5060 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5061
5062 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
5063 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
5064 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
5065 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
5066 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
5067 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
5068 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
5069 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
5070 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
5071 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
5072 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
5073 libc/stdio/getchar.c libc/stdio/getchar_u.c,
5074 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
5075 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
5076 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
5077 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
5078 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
5079 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
5080 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
5081 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
5082 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
5083 libc/stdio/siprintf.c libc/stdio/snprintf.c,
5084 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
5085 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
5086 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
5087 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
5088 libc/stdio/vprintf.c libc/stdio/vscanf.c,
5089 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
5090 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
5091 libc/stdio/wsetup.c: Perform minor formatting changes. Move
5092 copyright notices to top of file, ensure that <_ansi.h> is
5093 included, be consistent with open parentheses, use _DEFUN macro,
5094 include "local.h" where needed, and remove various compiler
5095 warnings.
5096
5097 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
5098
5099 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
5100 (__svfscanf_r): In integer conversions, leave out leading zeroes
5101 which are not part of a base prefix.
5102 Keep track of width truncation to fit into buf, not counting left-out
5103 zeroes against width till the truncation has been compensated for.
5104
5105 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
5106
5107 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
5108
5109 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
5110
5111 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
5112
5113 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
5114
5115 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
5116 to SUSv3.
5117
5118 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5119
5120 * libc/stdio/fclose.c (_fclose_r): New function.
5121 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
5122 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
5123 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
5124 * libc/include/stdio.h (_fclose_r): New prototype.
5125 * libc/stdio/fopen.c: Fix typo in comment.
5126
5127 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
5128
5129 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
5130 to handle _r reentrant functions.
5131
5132 2004-04-08 Eric Christopher <echristo@redhat.com>
5133
5134 * libc/include/machine/setjmp.h: Fix endif locations.
5135
5136 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5137
5138 * libc/time/strptime.c: Add standard includes to avoid
5139 warning messages at compilation time.
5140
5141 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
5142
5143 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
5144 of file.
5145
5146 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
5147
5148 * libc/machine/h8300/Makefile.am: Reformat slightly.
5149 * libc/machine/h8300/Makefile.in: Regenerate.
5150
5151 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
5152
5153 * libc/stdio/findfp.c (__fp_lock_all): Add call to
5154 __sfp_lock_acquire.
5155 (__fp_unlock_all): Add call to __sfp_lock_release.
5156
5157 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
5158
5159 * libc/stdio/fclose.c (fclose): Protect file pointer list when
5160 releasing a file.
5161 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
5162 fwalk.
5163 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
5164 _flockfile/_funlockfile.
5165 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
5166 to recursive.
5167 Change __lock_acquire/__lock_release calls for __sfp_lock to
5168 __sfp_lock_acquire/__sfp_lock_release throughout.
5169 (std): Make sure that file lock is only initialized once.
5170 (__sfp): Move _file initialization. Initialize file lock.
5171 (__sfp_lock_acquire): New function.
5172 (__sfp_lock_release): Ditto.
5173 (__fp_lock_all): Remove __sfp_lock_acquire call.
5174 (__fp_unlock_all): Remove __sfp_lock_release call.
5175 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
5176 Add calls to _flockfile/_funlockfile. Remove
5177 __lock_init_recursive call.
5178 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
5179 * libc/stdio/fwalk.c (__fwalk): New static function.
5180 (_fwalk): Protect file pointer list. Use __fwalk to walk through
5181 file pointers.
5182 * libc/stdio/local.h: Add defines for
5183 __sfp_lock_acquire/__sfp_lock_release when
5184 single threaded. Add function prototypes otherwise.
5185 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
5186 _flockfile/_funlockfile.
5187 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
5188 Add calls to _flockfile/_funlockfile. Remove
5189 __lock_init_recursive call.
5190 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
5191 list.
5192
5193 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
5194
5195 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
5196 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
5197 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
5198 to be __LOCK_INIT_RECURSIVE.
5199
5200 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
5201
5202 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
5203 _exit.c with _exit.S.
5204 * libc/sys/h8300hms/Makefile.in: Regenerate.
5205 * libc/sys/h8300hms/_exit.c: Remove.
5206 * libc/sys/h8300hms/_exit.S: New.
5207
5208 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
5209
5210 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
5211 Change __sfp_lock to static global.
5212 (__fp_lock): New static function.
5213 (__fp_unlock): Ditto.
5214 (__fp_lock_all): New function.
5215 (__fp_unlock_all): Ditto.
5216
5217 2004-02-10 Christopher Faylor <cgf@redhat.com>
5218
5219 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
5220 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
5221 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
5222 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
5223
5224 2004-02-09 Christopher Faylor <cgf@redhat.com>
5225
5226 * libc/include/time.h (TIMER_RELTIME): New define.
5227
5228 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
5229
5230 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
5231 * libc/stdlib/Makefile.in: Regenerated.
5232
5233 2004-02-08 Christopher Faylor <cgf@redhat.com>
5234
5235 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
5236 * libc/include/sys/reent.h (__getreent): Protect against possibly being
5237 defined.
5238 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
5239
5240 2004-02-05 Paul Brook <paul@codesourcery.com>
5241
5242 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
5243 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
5244
5245 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
5246
5247 * NEWS: Update with 1.12.0 info.
5248 * README: Ditto.
5249 * acinclude.m4: Change version number to 1.12.0.
5250 * aclocal.m4: Regenerated.
5251 * configure: Ditto.
5252 * doc/aclocal.m4: Ditto.
5253 * doc/configure: Ditto.
5254 * libc/*/aclocal.m4: Ditto.
5255 * libc/*/configure: Ditto.
5256 * libc/libc.texinfo: Ditto.
5257 * libm/*/aclocal.m4: Ditto.
5258 * libm/*/configure: Ditto.
5259 * libm/libm.texinfo: Ditto.
5260 * libc/sys/linux/shared.ld: Add VERS_1.12.
5261
5262 2004-02-02 Joel Sherrill <joel@oarcorp.com>
5263
5264 * configure.host: Add support for tic4x.
5265 * libc/include/machine/ieeefp.h: Ditto.
5266 * libc/include/machine/setjmp.h: Ditto.
5267 * libc/machine/tic4x/Makefile.am: New file.
5268 * libc/machine/tic4x/configure.in: Ditto.
5269 * libc/machine/tic4x/setjmp.S: Ditto.
5270 * libc/machine/tic4x/aclocal.m4: Generated.
5271 * libc/machine/tic4x/configure: Ditto.
5272 * libc/machine/tic4x/Makefile.in: Ditto.
5273
5274 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
5275
5276 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
5277 file chain on the passed in reentrancy struct if it
5278 is _GLOBAL_REENT.
5279
5280 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5281 Jeff Johnston <jjohnstn@redhat.com>
5282
5283 * libc/iconv/iconv.tex: Updated with more information.
5284
5285 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
5286 Jeff Johnston <jjohnstn@redhat.com>
5287
5288 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5289 struct for std streams and traverse the global reeentrancy
5290 struct for all other streams.
5291
5292 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5293
5294 * libc/stdlib/atexit.c: Protect global atexit list with a
5295 lock when newlib is multithreaded.
5296
5297 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5298
5299 * configure.in: Add support to generate iconv converter flags
5300 for newlib.h
5301 * newlib.hin: Add iconv converter flags.
5302 * configure: Regenerated.
5303 * libc/Makefile.in: Ditto.
5304 * libc/configure.in: Moved iconv converter parsing logic to
5305 top level newlib configure.in.
5306 * libc/configure: Regenerated.
5307 * libc/iconv/Makefile.in: Ditto.
5308 * libc/iconv/README.TODO
5309 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5310 UCS2/UCS4/UTF8.
5311 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5312 newlib.h can be used.
5313 * libc/iconv/ces/Makefile.am: Ditto.
5314 * libc/iconv/lib/Makefile.am: Ditto.
5315 * libc/iconv/ccs/Makefile.in: Regenerated.
5316 * libc/iconv/ces/Makefile.in: Ditto.
5317 * libc/iconv/lib/Makefile.in: Ditto.
5318 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5319 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5320 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5321 defined in newlib.h.
5322 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5323 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5324 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5325 * libc/iconv/ccs/cp775.c: Ditto.
5326 * libc/iconv/ccs/cp850.c: Ditto.
5327 * libc/iconv/ccs/cp852.c: Ditto.
5328 * libc/iconv/ccs/cp855.c: Ditto.
5329 * libc/iconv/ccs/cp866.c: Ditto.
5330 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5331 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5332 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5333 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5334 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5335 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5336 * libc/iconv/ccs/jis_x0201.c: Ditto.
5337 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5338 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5339 * libc/iconv/ccs/koi8_r.c: Ditto.
5340 * libc/iconv/ccs/koi8_u.c: Ditto.
5341 * libc/iconv/ccs/ksx1001.c: Ditto.
5342 * libc/iconv/ccs/shift_jis.c: Ditto.
5343 * libc/iconv/ccs/us_ascii.c: Ditto.
5344 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5345 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5346 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5347 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5348 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5349 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5350 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5351 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5352 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5353 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5354 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5355 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5356 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5357 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5358 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5359 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5360 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5361 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5362 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5363 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5364 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5365 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5366 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5367 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
5368 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
5369 * libc/iconv/ces/euc-kr.c: Ditto.
5370 * libc/iconv/ces/euc-tw.c: Ditto.
5371 * libc/iconv/ces/gb2312.c: Ditto.
5372 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
5373 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5374 * libc/iconv/ces/ucs-2-internal.c: Ditto.
5375 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5376 * libc/iconv/ces/utf-16.c: Ditto.
5377 * libc/iconv/ces/utf-8.c: Ditto.
5378 * libc/iconv/lib/aliases.c: Ditto.
5379 * libc/iconv/lib/biccs.c: Ditto.
5380 * libc/iconv/lib/bices.c: Ditto.
5381 * libc/iconv/lib/ccs.c: Ditto.
5382 * libc/iconv/lib/ces.c: Ditto.
5383 * libc/iconv/lib/ces_euc.c: Ditto.
5384 * libc/iconv/lib/ces_iso2022.c: Ditto.
5385 * libc/iconv/lib/ces_table.c: Ditto.
5386 * libc/iconv/lib/converter.c: Ditto.
5387 * libc/iconv/lib/deps.h: Ditto.
5388 * libc/iconv/lib/endian.h: Ditto.
5389 * libc/iconv/lib/iconv.c: Ditto.
5390 * libc/iconv/lib/loaddata.c: Ditto.
5391 * libc/iconv/lib/local.h: Include newlib.h.
5392 * libc/argz/Makefile.in: Regenerated.
5393 * libc/ctype/Makefile.in: Ditto.
5394 * libc/errno/Makefile.in: Ditto.
5395 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5396 * libc/locale/Makefile.in: Ditto.
5397 * libc/misc/Makefile.in: Ditto.
5398 * libc/posix/Makefile.in: Ditto.
5399 * libc/reent/Makefile.in: Ditto.
5400 * libc/search/Makefile.in: Ditto.
5401 * libc/signal/Makefile.in: Ditto.
5402 * libc/stdio/Makefile.in: Ditto.
5403 * libc/stdio64/Makefile.in: Ditto.
5404 * libc/stdlib/Makefile.in: Ditto.
5405 * libc/string/Makefile.in: Ditto.
5406 * libc/syscalls/Makefile.in: Ditto.
5407 * libc/time/Makefile.in: Ditto.
5408 * libc/unix/Makefile.in: Ditto.
5409 * testsuite/newlib.iconv/iconv.exp: New file.
5410 * testsuite/newlib.iconv/iconvjp.c: Ditto.
5411 * testsuite/newlib.iconv/iconvnm.c: Ditto.
5412 * testsuite/newlib.iconv/iconvru.c: Ditto.
5413
5414 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5415
5416 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
5417 (--enable-newlib-builtin-converters): Ditto.
5418 * configure.in: Add code to set _ICONV_ENABLED flag.
5419 Set _MB_LEN_MAX to 1 if not mb enabled.
5420 * configure: Regenerated.
5421 * aclocal.m4: Ditto.
5422 * Makefile.in: Ditto.
5423 * newlib.hin: Add _ICONV_ENABLED flag.
5424 * libc/Makefile.am: Add support for iconv.
5425 * libc/configure.in: Ditto.
5426 * libc/Makefile.in: Regenerated.
5427 * libc/aclocal.m4: Ditto.
5428 * libc/configure: Ditto.
5429 * libc/libc.texinfo: Add iconv documentation.
5430 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
5431 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
5432 libc/iconv/README.TODO, libc/iconv/charset.aliases,
5433 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
5434 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
5435 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
5436 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
5437 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
5438 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
5439 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
5440 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
5441 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
5442 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
5443 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
5444 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
5445 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
5446 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
5447 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
5448 libc/iconv/ccs/binary/big5.cct,
5449 libc/iconv/ccs/binary/cns11643_plane1.cct,
5450 libc/iconv/ccs/binary/cns11643_plane14.cct,
5451 libc/iconv/ccs/binary/cns11643_plane2.cct,
5452 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
5453 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
5454 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
5455 libc/iconv/ccs/binary/iso_8859_1.cct,
5456 libc/iconv/ccs/binary/iso_8859_15.cct,
5457 libc/iconv/ccs/binary/iso_8859_2.cct,
5458 libc/iconv/ccs/binary/iso_8859_4.cct,
5459 libc/iconv/ccs/binary/iso_8859_5.cct,
5460 libc/iconv/ccs/binary/jis_x0201.cct,
5461 libc/iconv/ccs/binary/jis_x0208_1983.cct,
5462 libc/iconv/ccs/binary/jis_x0212_1990.cct,
5463 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
5464 libc/iconv/ccs/binary/ksx1001.cct,
5465 libc/iconv/ccs/binary/shift_jis.cct,
5466 libc/iconv/ccs/binary/us_ascii.cct,
5467 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
5468 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
5469 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
5470 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
5471 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
5472 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
5473 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
5474 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
5475 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
5476 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
5477 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
5478 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
5479 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
5480 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
5481 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
5482 * libc/sys/linux/include/iconv.h: Ditto.
5483 * libc/include/sys/_types.h (_iconv_t): Added.
5484 * doc/aclocal.m4: Regenerated.
5485 * doc/configure: Ditto.
5486 * doc/Makefile.in: Ditto.
5487 * iconvdata/Makefile.in: Ditto.
5488 * iconvdata/aclocal.m4: Ditto.
5489 * iconvdata/configure: Ditto.
5490 * libc/*aclocal.m4: Ditto.
5491 * libc/*Makefile.in: Ditto.
5492 * libc/*configure: Ditto.
5493 * libm/*aclocal.m4: Ditto.
5494 * libm/*Makefile.in: Ditto.
5495 * libm/*configure: Ditto.
5496
5497 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
5498
5499 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
5500 by a lock when newlib is multithreaded.
5501
5502 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
5503
5504 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
5505 pointer to match C99 spec.
5506 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
5507 dst is NULL. Also fix to not alter src pointer when dst is NULL
5508 and call _mbrtowc_r instead of _mbtowc_r.
5509 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
5510 of _wctomb_r.
5511
5512 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
5513
5514 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
5515 * libc/stdio/freopen.c (freopen): Ditto.
5516
5517 2004-01-16 Christopher Faylor <cgf@redhat.com>
5518
5519 * libc/stdio/vfprintf.c: Add sys/lock.h include.
5520
5521 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
5522
5523 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
5524 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
5525 Add calls to __lock_init_recursive and __lock_close_recursive
5526 instead.
5527
5528 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
5529
5530 * libc/stdio/fclose.c: Include sys/lock.h.
5531 (fclose): Destroy lock when file is closed.
5532 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
5533 member.
5534 * libc/stdio/freopen.c: Include sys/lock.h.
5535 (_freopen_r): Destroy lock when file is closed.
5536 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
5537 _lock member.
5538
5539 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5540
5541 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
5542 Remove warnings.
5543
5544 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5545
5546 * libc/sys/rtems/sys/queue.h: New file.
5547 * libc/include/sys/signal.h: Reflect renumbering of signals to
5548 fit into 32-bit mask.
5549 * libc/include/sys/unistd.h: Add fdatasync() prototype.
5550 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
5551 required. In particular, add the reentrant variants of libc calls.
5552 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
5553
5554 2004-01-06 Mark Mitchell <mark@codesourcery.com>
5555
5556 * libc/sys/arm/syscalls.c (unistd.h): Include it.
5557 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
5558 Similarly for stdout and stderr.
5559
5560 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
5561
5562 * libc/libc.texinfo: Correct escape character for @ sign
5563 so file will be processed by make info. Update copyright years.
5564 * libm/libm.texinfo: Ditto.
5565
5566 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5567
5568 * libc/include/sys/stat.h: No longer include stat-dj.h.
5569 * libc/include/sys/stat-dj.h: Removed.
5570
5571 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5572
5573 * libc/include/wchar.h: Include <sys/reent.h>.
5574
5575 2003-12-05 Christopher Faylor <cgf@redhat.com>
5576
5577 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
5578 when defining _mbrtowc.
5579 * libc/stdlib/mbsinit.c: Ditto.
5580 * libc/stdlib/mbsrtowcs.c: Ditto.
5581 * libc/stdlib/wcrtomb.c: Ditto.
5582 * libc/stdlib/wcsrtombs.c: Ditto.
5583 * libc/stdlib/wctob.c: Ditto.
5584
5585 2003-12-05 Christopher Faylor <cgf@redhat.com>
5586
5587 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
5588 errors when defining _mbrtowc.
5589 * libc/stdlib/mbsinit.c: Ditto.
5590 * libc/stdlib/mbsrtowcs.c: Ditto.
5591
5592 2003-12-05 Christopher Faylor <cgf@redhat.com>
5593
5594 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
5595 errors when defining _mbrtowc.
5596
5597 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5598
5599 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
5600 of mb routines for %lc and %ls support.
5601 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
5602 %ls, and %S support. Remove CYGNUS_NEC markers and
5603 code within.
5604
5605 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
5606
5607 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
5608 _wcrtomb_r, and _wcsrtombs_r.
5609
5610 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
5611
5612 * libc/include/sys/fcntl.h: Don't define struct flock when on
5613 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
5614
5615 2003-11-28 Christopher Faylor <cgf@redhat.com>
5616
5617 * libc/include/sys/signal.h: Use system specific signal file when
5618 building on cygwin.
5619
5620 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5621
5622 * libc/include/stdlib.h (_atoi_r): New prototype.
5623 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
5624
5625 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5626
5627 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
5628 * libc/stdlib/atol.c (_atol_r): New reentrant function.
5629 * libc/stdlib/atoll.c (_atoll_r): Ditto.
5630
5631 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5632 Jeff Johnston <jjohnstn@redhat.com>
5633
5634 * libc/include/stdlib.h (lldiv_t): New type.
5635 (atoll, llabs, lldiv): New prototypes.
5636 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
5637 * libc/stdlib/stdlib.tex: Ditto.
5638 * libc/stdlib/Makefile.in: Regenerated.
5639 * libc/stdlib/atoll.c: New file.
5640 * libc/stdlib/llabs.c: Ditto.
5641 * libc/stdlib/lldiv.c: Ditto.
5642
5643 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
5644
5645 * libc/include/fcntl.h: Declare syscalls only when building newlib.
5646 * libc/include/unistd.h: Ditto.
5647 * libc/include/stat.h: Ditto. Also declare struct stat64.
5648
5649 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5650
5651 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
5652 specifier to use ch instead of *fmt.
5653
5654 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5655
5656 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
5657 code within checks for MB_CAPABLE. For non-mb-capable platforms,
5658 use simple byte logic.
5659
5660 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
5661
5662 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
5663 _strtold routine for processing floats and doubles since it
5664 is not as fast as _strtod_r.
5665
5666 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
5667
5668 * libc/machine/h8300/defines.h : Correct pointer register defines
5669 for normal mode.
5670 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
5671 for normal mode.
5672 * libc/machine/h8300/reg_memcpy.S : Likewise.
5673 * libc/machine/h8300/reg_memset.S : Likewise.
5674 * libc/machine/h8300/strcmp.S : Likewise.
5675
5676 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
5677
5678 * configure.host: Enable positional arguments for printf
5679 family for Cygwin.
5680 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5681 pointer reference for quad_ptr_t.
5682
5683 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5684
5685 * libc/stdio/scanf.c: Don't include local.h more than once.
5686
5687 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
5688
5689 * libc/include/sys/fcntl.h: Declare _open64.
5690 * libc/include/sys/stat.h: Declare _fstat64.
5691 * libc/include/sys/unistd.h: Declare _lseek64.
5692
5693 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
5694
5695 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5696 (setprogname): Ditto.
5697
5698 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5699
5700 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5701 to use (Ebits + 1) which accounts for the sign-bit.
5702
5703 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5704
5705 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
5706 x86 build.
5707 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5708 and set up default flags to pass to aclocal.
5709 * iconvdata/Makefile.in: Regenerated.
5710 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5711 and getpwuid routines.
5712 * libc/sys/linux/Makefile.in: Regenerated.
5713 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5714 applications to link with newlib's shared libc library.
5715 * libc/sys/linux/getpwnam.c: Ditto.
5716 * libc/sys/linux/getpwuid.c: Ditto.
5717 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5718 that were formerly supplied by /usr/include/linux/types.h with
5719 kernel types.
5720 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5721 test _ELIX_LEVEL macro.
5722
5723 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5724
5725 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5726 referring to _NO_LONGLONG macro.
5727
5728 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5729
5730 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5731 in LOG() macro so this will compile on gcc 3.4 and up.
5732 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5733 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5734 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5735 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5736 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5737 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5738 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5739 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5740 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5741 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5742 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5743 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5744 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5745 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5746 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5747 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5748 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5749 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5750 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5751 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5752 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5753 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5754 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5755 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5756 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5757 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5758 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5759 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5760 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5761 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5762 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5763 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5764 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5765 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5766 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5767 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5768
5769 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5770 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5771
5772 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5773 %ls, %S, %lc, and %C format specifiers.
5774 (get_arg): Ditto.
5775 * libc/stdio/sprintf.c: Add documentation regarding new
5776 format specifiers added in vfprintf.c.
5777
5778 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5779
5780 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5781 to make code work as specified in standard.
5782
5783 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5784
5785 * configure.in: Use absolute newlib basedir when forming
5786 CC_FOR_NEWLIB include options.
5787 * configure: Regenerated.
5788
5789 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5790
5791 * libc/string/wcsnlen.c: New file.
5792 * libc/include/wchar.h: Add wcsnlen prototype.
5793 * libc/string/Makefile.am: Add wcsnlen support.
5794 * libc/string/Makefile.in: Regenerated.
5795 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5796
5797 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
5798
5799 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5800
5801 2003-10-20 Bob Wilson <bob.wilson@acm.org>
5802
5803 * libc/locale/locale.c: Use double quotes in code.
5804 * libc/locale/locale.tex: Likewise.
5805 * libc/libc.texinfo: Hyphenate "floating-point".
5806 * libc/machine/necv70/necv70.tex: Likewise.
5807 * libc/stdio/sprintf.c: Likewise.
5808 * libc/stdio/sscanf.c: Likewise.
5809 * libc/stdlib/atof.c: Likewise.
5810 * libc/stdlib/ldtoa.c: Fix comment typo.
5811 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5812 * libc/stdlib/ldiv.c: Likewise.
5813 * libm/common/s_expm1.c: Likewise.
5814 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5815 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5816 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5817 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5818 and "floating-point".
5819 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5820 * libm/math/e_pow.c: Fix comment typo.
5821 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5822 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5823 * libm/math/s_atan.c: Likewise.
5824 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5825 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5826 "floating-point". Use "nonzero".
5827 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5828 * libm/math/w_acos.c: Likewise.
5829 * libm/math/w_acosh.c: Likewise.
5830 * libm/math/w_asin.c: Likewise.
5831 * libm/math/w_atan2.c: Likewise.
5832 * libm/math/w_atanh.c: Likewise.
5833 * libm/math/w_cosh.c: Likewise.
5834 * libm/math/w_exp.c: Likewise.
5835 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5836 version of 2^x in the description.
5837 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5838 * libm/math/w_gamma.c: Likewise.
5839 * libm/math/w_hypot.c: Likewise.
5840 * libm/math/w_j0.c: Likewise.
5841 * libm/math/w_sinh.c: Likewise.
5842 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5843 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5844 "floating-point".
5845 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5846 * libm/mathfp/e_atanh.c: Likewise.
5847 * libm/mathfp/e_hypot.c: Likewise.
5848 * libm/mathfp/er_lgamma.c: Likewise.
5849 * libm/mathfp/s_acos.c: Likewise.
5850 * libm/mathfp/s_asine.c: Likewise.
5851 * libm/mathfp/s_asinh.c: Likewise.
5852 * libm/mathfp/s_atan.c: Likewise.
5853 * libm/mathfp/s_atan2.c: Likewise.
5854 * libm/mathfp/s_atangent.c: Likewise.
5855 * libm/mathfp/s_cosh.c: Likewise.
5856 * libm/mathfp/s_exp.c: Likewise.
5857 * libm/mathfp/s_fmod.c: Likewise.
5858 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5859 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5860 "floating-point". Use "nonzero".
5861 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5862 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5863 * libm/mathfp/s_sineh.c: Likewise.
5864 * libm/mathfp/w_jn.c: Likewise.
5865
5866 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
5867
5868 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5869 lines, to enable parallel make.
5870 * Makefile.in: Rebuilt.
5871
5872 2003-10-14 Christopher Faylor <cgf@redhat.com>
5873
5874 * libc/time/clock.c: Clarify documentation of return value when no
5875 measurement is available.
5876
5877 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5878
5879 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5880 * libm/configure: Regenerate.
5881 * libm/Makefile.in: Ditto.
5882
5883 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5884
5885 * libc/machine/sh/strncpy.S: New file.
5886 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5887 * libc/machine/sh/Makefile.in: Regenerate.
5888
5889 2003-09-11 James E Wilson <wilson@specifixinc.com>
5890
5891 * MAINTAINERS: Update my e-mail address.
5892
5893 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
5894
5895 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5896
5897 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5898
5899 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5900 prototype.
5901 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5902 _simdldcheck(). Also add unsigned cast for index variable in
5903 for loop using sizeof operators.
5904 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5905 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5906 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5907 plus fix shift calculation for determining if there is a
5908 carry from word2.
5909
5910 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
5911
5912 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5913 setgroupent for Cygwin.
5914
5915 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5916
5917 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5918 is different for _REENT_SMALL than when using regular reent
5919 struct.
5920
5921 2003-09-05 Ben Elliston <bje@wasabisystems.com>
5922
5923 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5924 modern versions of GCC issue a warning.
5925
5926 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5927 after continuation characters that induces a warning from modern
5928 versions of GCC.
5929
5930 2003-09-04 Ben Elliston <bje@wasabisystems.com>
5931
5932 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
5933 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
5934
5935 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
5936
5937 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
5938 * libc/stdlib/exit.c : Ditto.
5939 * libc/stdlib/on_exit.c: Ditto.
5940
5941 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
5942
5943 * libc/include/reent.h: Define stat64 as __stat64 when
5944 compiling newlib for Cygwin.
5945
5946 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5947
5948 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
5949 __stat64 when compiling newlib.
5950
5951 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5952
5953 * libc/include/stdio.h: Allow the io64 function prototypes for
5954 Cygwin when compiling newlib.
5955 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
5956 to expose the Cygwin struct __stat64 type.
5957 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
5958 pointer.
5959 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
5960
5961 2003-08-23 Christopher Faylor <cgf@redhat.com>
5962
5963 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5964 definition to fseeko64.
5965
5966 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5967
5968 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5969 * libc/stdio: Globally remove/replace all references to fp->_data.
5970 Replace with _REENT or _GLOBAL_REENT where appropriate.
5971 * libc/stdio/asprintf.c: Ditto.
5972 * libc/stdio/fclose.c: Ditto.
5973 * libc/stdio/fvwrite.c: Ditto.
5974 * libc/stdio/makebuf.c: Ditto.
5975 * libc/stdio/refill.c: Ditto.
5976 * libc/stdio/local.h: Ditto.
5977 * libc/stdio/setvbuf.c: Ditto.
5978 * libc/stdio/sscanf.c: Ditto.
5979 * libc/stdio/stdio.c: Ditto.
5980 * libc/stdio/ungetc.c: Ditto.
5981 * libc/stdio/vfscanf.c: Ditto.
5982 * libc/stdio/vsscanf.c: Ditto.
5983 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
5984 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
5985 * libc/stdio/vsnprintf.c: Ditto.
5986 * libc/stdio/vsprintf.c: Ditto.
5987 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
5988 instead of _REENT to walk file list.
5989 * libc/stdio/fflush.c: Ditto.
5990 * libc/stdio/fgetpos.c: Add reentrant version and have regular
5991 version call reentrant version with _REENT argument.
5992 * libc/stdio/fsetpos.c: Ditto.
5993 * libc/stdio/fseek.c: Ditto.
5994 * libc/stdio/fseeko.c: Ditto.
5995 * libc/stdio/ftell.c: Ditto.
5996 * libc/stdio/ftello.c: Ditto.
5997 * libc/stdio/freopen.c: Ditto.
5998 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
5999 new files to chain. Also use _GLOBAL_REENT pointer for
6000 cleaning up.
6001 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
6002 * libc/stdio/siprintf.c: Ditto.
6003 * libc/stdio/iprintf.c: Ditto.
6004 * libc/stdio/fprintf.c: Ditto.
6005 * libc/stdio/printf.c: Ditto.
6006 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
6007 * libc/stdio/sprintf.c: Ditto.
6008 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
6009 * libc/stdio/rewind.c: Call _fseek_r directly.
6010 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
6011 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
6012 data pointer.
6013 (get_arg): Add extra struct _reent pointer argument.
6014 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
6015 to fp->_data.
6016 * libc/stdio64/fopen64.c: Ditto.
6017 * libc/stdio64/freopen64.c: Ditto.
6018 * libc/stdio64/fsetpos64.c: Ditto.
6019 * libc/stdio64/ftello64.c: Ditto.
6020 * libc/stdio64/local64.h: Ditto.
6021 * libc/stdio64/stdio64.c: Ditto.
6022 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
6023 _fstat64_r for the meantime.
6024
6025 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
6026
6027 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
6028 overflow detection.
6029
6030 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
6031
6032 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
6033 extern "C".
6034
6035 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
6036
6037 * libc/include/math.h: Add prototypes for __signbitf and
6038 __signbitd.
6039
6040 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
6041
6042 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
6043 correct type of conversion when dealing with EUCJP or SJIS.
6044 * libc/ctype/iswblank.c: Ditto.
6045 * libc/ctype/iswcntrl.c: Ditto.
6046 * libc/ctype/iswprint.c: Ditto.
6047 * libc/ctype/iswpunct.c: Ditto.
6048 * libc/ctype/iswspace.c: Ditto.
6049 * libc/ctype/towlower.c: Ditto.
6050 * libc/ctype/towupper.c: Ditto.
6051
6052 2003-07-31 Nick Clifton <nickc@redhat.com>
6053
6054 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
6055 before calling main, in case it saves its argument registers.
6056 Remove reference to deleted v850ea port.
6057 * configure.host: Remove reference to deleted v850ea port.
6058 Do not use -mv850 when building for v850e target. This
6059 prevents the ctbp system register from being initialised.
6060
6061 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
6062
6063 * libc/stdio/vfprintf.c: Set output size to 1 when
6064 we have %f format with precision 0 and # flag not specified.
6065
6066 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
6067
6068 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
6069 .am33_2.
6070
6071 2003-07-25 Christopher Faylor <cgf@redhat.com>
6072
6073 * libc/stdio64/fdopen64.c: Include sys/lock.h.
6074
6075 2003-07-25 Christopher Faylor <cgf@redhat.com>
6076
6077 * configure.host: Find cygwin include directory, when appropriate.
6078
6079 2003-07-24 Christopher Faylor <cgf@redhat.com>
6080
6081 * libc/stdio64/fdopen64.c: New file.
6082 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
6083 * libc/stdio64/Makefile.in: Regenerate.
6084 * libc/include/stdio.h (fdopen64): Define.
6085 * libc/include/stdio.h (_fdopen64_r): Ditto.
6086
6087 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
6088
6089 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
6090 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
6091 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
6092 restore callee-saved FP registers.
6093
6094 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
6095
6096 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
6097 for __sh__.
6098 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
6099 truncate.c.
6100 * libc/sys/sh/Makefile.in: Regenerate.
6101 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
6102 * libc/sys/sh/ftruncate.c: New file.
6103 * libc/sys/sh/truncate.c: Likewise.
6104
6105 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
6106
6107 * libc/include/math.h (nan, nanf): Update prototype to C99.
6108 * libm/common/s_nan.c (nan): Likewise.
6109 * libm/common/s_nanf.c (nanf, nan): Likewise.
6110 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
6111
6112 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
6113
6114 * libc/include/stdbool.h: Removed as this is defined by gcc.
6115
6116 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
6117
6118 * libc/include/stdbool.h: New header file defined by C99.
6119
6120 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6121
6122 * libc/include/sys/types.h (int8_t): Make signed.
6123
6124 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6125
6126 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
6127
6128 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
6129
6130 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
6131 on if we actually created the shared memory file exclusively.
6132
6133 2003-06-27 Joe Vornehm <joev@mitre.org>
6134
6135 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
6136 comparisons to account for unsigned internal value w.
6137
6138 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
6139
6140 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
6141 wrbuf for a non-creating open.
6142
6143 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
6144
6145 * libc/machine/h8300/setarch.h: New.
6146 * libc/machine/h8300/memcpy.S: Use it.
6147 * libc/machine/h8300/memset.S: Likewise.
6148 * libc/machine/h8300/reg_memcpy.S: Likewise.
6149 * libc/machine/h8300/reg_memset.S: Likewise.
6150 * libc/machine/h8300/setjmp.S: Likewise.
6151 * libc/machine/h8300/strcmp.S: Likewise.
6152
6153 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
6154
6155 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
6156 to atexit().
6157
6158 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6159
6160 * configure.host (iq2000): Add tabs.
6161
6162 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6163
6164 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
6165 to handle latest on_exit change.
6166 * libc/sys/linux/Makefile.am: Remove special compilation
6167 for malloc.c and mcheck.c.
6168 * libc/sys/linux/Makefile.in: Regenerated.
6169 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
6170 after including <features.h>.
6171 * libc/sys/linux/mcheck.c: Ditto.
6172 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
6173 for <features.h>.
6174 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
6175 add -DNOT_IN_libc to C flags.
6176 * libc/sys/linux/intl/Makefile.in: Regenerated.
6177 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
6178 * libc/sys/linux/linuxthreads/semaphore.h: Include
6179 <bits/pthreadtypes.h>.
6180 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
6181 including <features.h>.
6182 * libc/sys/linux/sys/lock.h: Ditto.
6183
6184 2003-06-11 Nick Clifton <nickc@redhat.com>
6185
6186 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
6187 _on_exit_args_ptr.
6188
6189 2003-06-10 Stan Cox <scox@redhat.com>
6190 Anthony Green <green@redhat.com>
6191
6192 * configure.host: Add iq2000 support.
6193 * newlib/libc/include/machine/ieeefp.h: Ditto.
6194 * newlib/libc/include/machine/setjmp.h: Ditto.
6195 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
6196 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
6197 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
6198 libc/machine/iq2000/Makefile.in: New files.
6199
6200 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
6201
6202 * libc/sys/h8300hms/setarch.h: New file.
6203 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
6204 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
6205 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
6206 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
6207
6208 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
6209
6210 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
6211 definition.
6212 * libc/argz/argz_add_sep.c: Ditto.
6213 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
6214 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
6215 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
6216 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
6217 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
6218 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
6219 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
6220 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
6221 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
6222 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
6223 * libc/posix/execl.c libc/posix/execle.c: Ditto.
6224 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
6225 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
6226 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
6227 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
6228 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
6229 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
6230 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
6231 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
6232 * libc/search/twalk.c libc/signal/signal.c: Ditto.
6233
6234 2003-06-05 Nick Clifton <nickc@redhat.com>
6235
6236 * libc/include/sys/reent.h (struct _on_exit_args): New
6237 structure containing fields used by the on_exit() function.
6238 (struct _atexit): Include struct _on_exit_args. For
6239 _REENT_SMALL do his via a pointer that is initialised when
6240 needed.
6241 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
6242 structure, if one has been allocated.
6243 * libc/stdlib/atexit.c (atexit): Update indirection to
6244 _fntypes field.
6245 * libc/stdlib/on_exit.c (on_exit): Indirect via the
6246 _on_exit_args structure. For _REENT_SMALL, allocate a
6247 structure if one does not exist.
6248 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
6249 structure.
6250
6251 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
6252
6253 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
6254 * libc/sys/linux/net/Makefile.in: Regenerated.
6255
6256 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
6257
6258 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
6259 * libc/reent/fcntlr.c: Ditto.
6260 * libc/reent/fstat64r.c: Ditto.
6261 * libc/reent/linkr.c: Ditto.
6262 * libc/reent/lseek64r.c: Ditto.
6263 * libc/reent/lseekr.c: Ditto.
6264 * libc/reent/openr.c: Ditto.
6265 * libc/reent/readr.c: Ditto.
6266 * libc/reent/reent.c: Ditto.
6267 * libc/reent/sbrkr.c: Ditto.
6268 * libc/reent/signalr.c: Ditto.
6269 * libc/reent/signgam.c: Ditto.
6270 * libc/reent/statr.c: Ditto.
6271 * libc/reent/timer.c: Ditto.
6272 * libc/reent/unlinkr.c: Ditto.
6273 * libc/reent/writer.c: Ditto.
6274 * libc/syscalls/sysclose.c: Ditto.
6275 * libc/syscalls/sysexecve.c: Ditto.
6276 * libc/syscalls/sysfcntl.c: Ditto.
6277 * libc/syscalls/sysfork.c: Ditto.
6278 * libc/syscalls/sysfstat.c: Ditto.
6279 * libc/syscalls/sysgetpid.c: Ditto.
6280 * libc/syscalls/sysgettod.c: Ditto.
6281 * libc/syscalls/syskill.c: Ditto.
6282 * libc/syscalls/syslink.c: Ditto.
6283 * libc/syscalls/syslseek.c: Ditto.
6284 * libc/syscalls/sysopen.c: Ditto.
6285 * libc/syscalls/sysread.c: Ditto.
6286 * libc/syscalls/syssbrk.c: Ditto.
6287 * libc/syscalls/sysstat.c: Ditto.
6288 * libc/syscalls/systimes.c: Ditto.
6289 * libc/syscalls/sysunlink.c: Ditto.
6290 * libc/syscalls/syswait.c: Ditto.
6291 * libc/syscalls/syswrite.c: Ditto.
6292
6293 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6294
6295 * libc/time/tzset_r.c: Change local variables that are
6296 set via sscanf using the %h format specifier to be unsigned short
6297 instead of int.
6298
6299 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6300
6301 * configure.host: Allow i[34567]86 variant.
6302 * configure.in: Likewise.
6303 * README: Likewise to the docs.
6304 * configure: Regenerated.
6305 * Makefile.in: Ditto.
6306
6307 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6308 Tom Fitzsimmons <fitzsim@redhat.com>
6309
6310 * configure.in: Add iconvdata support for x86 linux.
6311 * configure: Regenerated.
6312 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
6313 library, iconv, and linuxthreads support.
6314 * libc/sys/linux/configure.in: Ditto.
6315 * libc/sys/linux/Makefile.in: Regenerated.
6316 * libc/sys/linux/configure: Ditto.
6317 * iconvdata/EUC-JP.irreversible: New file.
6318 * iconvdata/Makefile.am: Ditto.
6319 * iconvdata/Makefile.in: Ditto.
6320 * iconvdata/SJIS.irreversible: Ditto.
6321 * iconvdata/aclocal.m4: Ditto.
6322 * iconvdata/configure: Ditto.
6323 * iconvdata/configure.in: Ditto.
6324 * iconvdata/dummy.c: Ditto.
6325 * iconvdata/euc-jp.c: Ditto.
6326 * iconvdata/gconv-modules: Ditto.
6327 * iconvdata/jis0201.c: Ditto.
6328 * iconvdata/jis0201.h: Ditto.
6329 * iconvdata/jis0208.c: Ditto.
6330 * iconvdata/jis0208.h: Ditto.
6331 * iconvdata/jis0212.c: Ditto.
6332 * iconvdata/jis0212.h: Ditto.
6333 * iconvdata/sjis.c: Ditto.
6334 * libc/include/errno.h: Protect definition of error_t.
6335 * libc/sys/linux/gethostid.c: New file.
6336 * libc/sys/linux/sethostid.c: Ditto.
6337 * libc/sys/linux/dl/Makefile.am: Ditto.
6338 * libc/sys/linux/dl/Makefile.in: Ditto.
6339 * libc/sys/linux/dl/abi-tag.h: Ditto.
6340 * libc/sys/linux/dl/atomicity.h: Ditto.
6341 * libc/sys/linux/dl/dl-addr.c: Ditto.
6342 * libc/sys/linux/dl/dl-cache.c: Ditto.
6343 * libc/sys/linux/dl/dl-cache.h: Ditto.
6344 * libc/sys/linux/dl/dl-close.c: Ditto.
6345 * libc/sys/linux/dl/dl-debug.c: Ditto.
6346 * libc/sys/linux/dl/dl-deps.c: Ditto.
6347 * libc/sys/linux/dl/dl-dst.h: Ditto.
6348 * libc/sys/linux/dl/dl-error.c: Ditto.
6349 * libc/sys/linux/dl/dl-fini.c: Ditto.
6350 * libc/sys/linux/dl/dl-init.c: Ditto.
6351 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6352 * libc/sys/linux/dl/dl-libc.c: Ditto.
6353 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6354 * libc/sys/linux/dl/dl-load.c: Ditto.
6355 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6356 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6357 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6358 * libc/sys/linux/dl/dl-misc.c: Ditto.
6359 * libc/sys/linux/dl/dl-object.c: Ditto.
6360 * libc/sys/linux/dl/dl-open.c: Ditto.
6361 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6362 * libc/sys/linux/dl/dl-profile.c: Ditto.
6363 * libc/sys/linux/dl/dl-profstub.c: Ditto.
6364 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6365 * libc/sys/linux/dl/dl-runtime.c: Ditto.
6366 * libc/sys/linux/dl/dl-support.c: Ditto.
6367 * libc/sys/linux/dl/dl-sym.c: Ditto.
6368 * libc/sys/linux/dl/dl-version.c: Ditto.
6369 * libc/sys/linux/dl/dlfcn.h: Ditto.
6370 * libc/sys/linux/dl/do-lookup.h: Ditto.
6371 * libc/sys/linux/dl/do-rel.h: Ditto.
6372 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6373 * libc/sys/linux/dl/kernel-features.h: Ditto.
6374 * libc/sys/linux/dl/ldsodefs.h: Ditto.
6375 * libc/sys/linux/dl/libintl.h: Ditto.
6376 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
6377 * libc/sys/linux/dl/unsecvars.h: Ditto.
6378 * libc/sys/linux/iconv/Makefile.am: Ditto.
6379 * libc/sys/linux/iconv/Makefile.in: Ditto.
6380 * libc/sys/linux/iconv/categories.def: Ditto.
6381 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
6382 * libc/sys/linux/iconv/gconv.c: Ditto.
6383 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
6384 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
6385 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
6386 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
6387 * libc/sys/linux/iconv/gconv_close.c: Ditto.
6388 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
6389 * libc/sys/linux/iconv/gconv_db.c: Ditto.
6390 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
6391 * libc/sys/linux/iconv/gconv_int.h: Ditto.
6392 * libc/sys/linux/iconv/gconv_open.c: Ditto.
6393 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6394 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
6395 * libc/sys/linux/iconv/hash-string.h: Ditto.
6396 * libc/sys/linux/iconv/iconv.c: Ditto.
6397 * libc/sys/linux/iconv/iconv.h: Ditto.
6398 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
6399 * libc/sys/linux/iconv/iconv_close.c: Ditto.
6400 * libc/sys/linux/iconv/iconv_open.c: Ditto.
6401 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
6402 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
6403 * libc/sys/linux/iconv/loadinfo.h: Ditto.
6404 * libc/sys/linux/iconv/localeinfo.h: Ditto.
6405 * libc/sys/linux/iconv/loop.c: Ditto.
6406 * libc/sys/linux/iconv/skeleton.c: Ditto.
6407 * libc/sys/linux/iconv/strtab.c: Ditto.
6408 * libc/sys/linux/include/dl-hash.h: Ditto.
6409 * libc/sys/linux/include/dlfcn.h: Ditto.
6410 * libc/sys/linux/include/fnmatch.h: Ditto.
6411 * libc/sys/linux/include/gconv.h: Ditto.
6412 * libc/sys/linux/include/glob.h: Ditto.
6413 * libc/sys/linux/include/hesiod.h: Ditto.
6414 * libc/sys/linux/include/ifaddrs.h: Ditto.
6415 * libc/sys/linux/include/libc_private.h: Ditto.
6416 * libc/sys/linux/include/link.h: Ditto.
6417 * libc/sys/linux/include/namespace.h: Ditto.
6418 * libc/sys/linux/include/netconfig.h: Ditto.
6419 * libc/sys/linux/include/netdb.h: Ditto.
6420 * libc/sys/linux/include/nsswitch.h: Ditto.
6421 * libc/sys/linux/include/regex.h: Ditto.
6422 * libc/sys/linux/include/resolv.h: Ditto.
6423 * libc/sys/linux/include/rune.h: Ditto.
6424 * libc/sys/linux/include/runetype.h: Ditto.
6425 * libc/sys/linux/include/semaphore.h: Ditto.
6426 * libc/sys/linux/include/setlocale.h: Ditto.
6427 * libc/sys/linux/include/un-namespace.h: Ditto.
6428 * libc/sys/linux/include/wordexp.h: Ditto.
6429 * libc/sys/linux/include/arpa/ftp.h: Ditto.
6430 * libc/sys/linux/include/arpa/inet.h: Ditto.
6431 * libc/sys/linux/include/arpa/nameser.h: Ditto.
6432 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
6433 * libc/sys/linux/include/arpa/telnet.h: Ditto.
6434 * libc/sys/linux/include/arpa/tftp.h: Ditto.
6435 * libc/sys/linux/include/net/bpf.h: Ditto.
6436 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
6437 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
6438 * libc/sys/linux/include/net/bridge.h: Ditto.
6439 * libc/sys/linux/include/net/ethernet.h: Ditto.
6440 * libc/sys/linux/include/net/fddi.h: Ditto.
6441 * libc/sys/linux/include/net/if.h: Ditto.
6442 * libc/sys/linux/include/net/if_arc.h: Ditto.
6443 * libc/sys/linux/include/net/if_arp.h: Ditto.
6444 * libc/sys/linux/include/net/if_atm.h: Ditto.
6445 * libc/sys/linux/include/net/if_dl.h: Ditto.
6446 * libc/sys/linux/include/net/if_gif.h: Ditto.
6447 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
6448 * libc/sys/linux/include/net/if_llc.h: Ditto.
6449 * libc/sys/linux/include/net/if_media.h: Ditto.
6450 * libc/sys/linux/include/net/if_mib.h: Ditto.
6451 * libc/sys/linux/include/net/if_ppp.h: Ditto.
6452 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
6453 * libc/sys/linux/include/net/if_slvar.h: Ditto.
6454 * libc/sys/linux/include/net/if_sppp.h: Ditto.
6455 * libc/sys/linux/include/net/if_stf.h: Ditto.
6456 * libc/sys/linux/include/net/if_tap.h: Ditto.
6457 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
6458 * libc/sys/linux/include/net/if_tun.h: Ditto.
6459 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
6460 * libc/sys/linux/include/net/if_types.h: Ditto.
6461 * libc/sys/linux/include/net/if_var.h: Ditto.
6462 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
6463 * libc/sys/linux/include/net/intrq.h: Ditto.
6464 * libc/sys/linux/include/net/iso88025.h: Ditto.
6465 * libc/sys/linux/include/net/net_osdep.h: Ditto.
6466 * libc/sys/linux/include/net/netisr.h: Ditto.
6467 * libc/sys/linux/include/net/pfil.h: Ditto.
6468 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
6469 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
6470 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
6471 * libc/sys/linux/include/net/radix.h: Ditto.
6472 * libc/sys/linux/include/net/raw_cb.h: Ditto.
6473 * libc/sys/linux/include/net/route.h: Ditto.
6474 * libc/sys/linux/include/net/slcompress.h: Ditto.
6475 * libc/sys/linux/include/net/slip.h: Ditto.
6476 * libc/sys/linux/include/net/zlib.h: Ditto.
6477 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
6478 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
6479 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
6480 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
6481 * libc/sys/linux/include/netinet/igmp.h: Ditto.
6482 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
6483 * libc/sys/linux/include/netinet/in.h: Ditto.
6484 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
6485 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
6486 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
6487 * libc/sys/linux/include/netinet/in_var.h: Ditto.
6488 * libc/sys/linux/include/netinet/ip.h: Ditto.
6489 * libc/sys/linux/include/netinet/ip6.h: Ditto.
6490 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
6491 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
6492 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
6493 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
6494 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
6495 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
6496 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
6497 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
6498 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
6499 * libc/sys/linux/include/netinet/tcp.h: Ditto.
6500 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
6501 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
6502 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
6503 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
6504 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
6505 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
6506 * libc/sys/linux/include/netinet/udp.h: Ditto.
6507 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
6508 * libc/sys/linux/include/netinet6/ah.h: Ditto.
6509 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
6510 * libc/sys/linux/include/netinet6/esp.h: Ditto.
6511 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
6512 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
6513 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
6514 * libc/sys/linux/include/netinet6/in6.h: Ditto.
6515 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
6516 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
6517 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
6518 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
6519 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
6520 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
6521 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
6522 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
6523 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
6524 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
6525 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
6526 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
6527 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
6528 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
6529 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
6530 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
6531 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
6532 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
6533 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
6534 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
6535 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
6536 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
6537 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
6538 * libc/sys/linux/include/netns/idp.h: Ditto.
6539 * libc/sys/linux/include/netns/idp_var.h: Ditto.
6540 * libc/sys/linux/include/netns/ns.h: Ditto.
6541 * libc/sys/linux/include/netns/ns_error.h: Ditto.
6542 * libc/sys/linux/include/netns/ns_if.h: Ditto.
6543 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
6544 * libc/sys/linux/include/netns/sp.h: Ditto.
6545 * libc/sys/linux/include/netns/spidp.h: Ditto.
6546 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
6547 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
6548 * libc/sys/linux/include/netns/spp_var.h: Ditto.
6549 * libc/sys/linux/include/rpc/Makefile: Ditto.
6550 * libc/sys/linux/include/rpc/auth.h: Ditto.
6551 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
6552 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
6553 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
6554 * libc/sys/linux/include/rpc/clnt.h: Ditto.
6555 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
6556 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
6557 * libc/sys/linux/include/rpc/des.h: Ditto.
6558 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
6559 * libc/sys/linux/include/rpc/nettype.h: Ditto.
6560 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
6561 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
6562 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
6563 * libc/sys/linux/include/rpc/raw.h: Ditto.
6564 * libc/sys/linux/include/rpc/rpc.h: Ditto.
6565 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
6566 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
6567 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
6568 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
6569 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
6570 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
6571 * libc/sys/linux/include/rpc/svc.h: Ditto.
6572 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
6573 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
6574 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
6575 * libc/sys/linux/include/rpc/types.h: Ditto.
6576 * libc/sys/linux/include/rpc/xdr.h: Ditto.
6577 * libc/sys/linux/intl/Makefile.am: Ditto.
6578 * libc/sys/linux/intl/Makefile.in: Ditto.
6579 * libc/sys/linux/intl/bindtextdom.c: Ditto.
6580 * libc/sys/linux/intl/catgets.c: Ditto.
6581 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
6582 * libc/sys/linux/intl/config.h: Ditto.
6583 * libc/sys/linux/intl/dcgettext.c: Ditto.
6584 * libc/sys/linux/intl/dcigettext.c: Ditto.
6585 * libc/sys/linux/intl/dcngettext.c: Ditto.
6586 * libc/sys/linux/intl/dgettext.c: Ditto.
6587 * libc/sys/linux/intl/dngettext.c: Ditto.
6588 * libc/sys/linux/intl/explodename.c: Ditto.
6589 * libc/sys/linux/intl/finddomain.c: Ditto.
6590 * libc/sys/linux/intl/gettext.c: Ditto.
6591 * libc/sys/linux/intl/gettext.h: Ditto.
6592 * libc/sys/linux/intl/gettextP.h: Ditto.
6593 * libc/sys/linux/intl/hash-string.h: Ditto.
6594 * libc/sys/linux/intl/l10nflist.c: Ditto.
6595 * libc/sys/linux/intl/loadinfo.h: Ditto.
6596 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
6597 * libc/sys/linux/intl/locale.alias: Ditto.
6598 * libc/sys/linux/intl/localealias.c: Ditto.
6599 * libc/sys/linux/intl/ngettext.c: Ditto.
6600 * libc/sys/linux/intl/open_catalog.c: Ditto.
6601 * libc/sys/linux/intl/plural.c: Ditto.
6602 * libc/sys/linux/intl/plural.y: Ditto.
6603 * libc/sys/linux/intl/stpcpy.c: Ditto.
6604 * libc/sys/linux/intl/textdomain.c: Ditto.
6605 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
6606 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6607 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
6608 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
6609 * libc/sys/linux/linuxthreads/attr.c: Ditto.
6610 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
6611 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
6612 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
6613 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
6614 * libc/sys/linux/linuxthreads/config.h: Ditto.
6615 * libc/sys/linux/linuxthreads/configure: Ditto.
6616 * libc/sys/linux/linuxthreads/configure.in: Ditto.
6617 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
6618 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
6619 * libc/sys/linux/linuxthreads/events.c: Ditto.
6620 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
6621 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
6622 * libc/sys/linux/linuxthreads/internals.h: Ditto.
6623 * libc/sys/linux/linuxthreads/join.c: Ditto.
6624 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
6625 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
6626 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
6627 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
6628 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
6629 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
6630 * libc/sys/linux/linuxthreads/manager.c: Ditto.
6631 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
6632 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
6633 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
6634 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
6635 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
6636 * libc/sys/linux/linuxthreads/prio.c: Ditto.
6637 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
6638 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
6639 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
6640 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
6641 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
6642 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
6643 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
6644 * libc/sys/linux/linuxthreads/queue.h: Ditto.
6645 * libc/sys/linux/linuxthreads/reent.c: Ditto.
6646 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
6647 * libc/sys/linux/linuxthreads/restart.h: Ditto.
6648 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
6649 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
6650 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
6651 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
6652 * libc/sys/linux/linuxthreads/signals.c: Ditto.
6653 * libc/sys/linux/linuxthreads/specific.c: Ditto.
6654 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
6655 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
6656 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
6657 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
6658 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6659 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
6660 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6661 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6662 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6663 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6664 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6665 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6666 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6667 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6668 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6669 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6670 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6671 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6672 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6673 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6674 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6675 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6676 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6677 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6678 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6679 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6680 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6681 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6682 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6683 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6684 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6685 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6686 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6687 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6688 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6689 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6690 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6691 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6692 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6693 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6694 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6695 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6696 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6697 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6698 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6699 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6700 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6701 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6702 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6703 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6704 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6705 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6706 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6707 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6708 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6709 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6710 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6711 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6712 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6713 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6714 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6715 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6716 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6717 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6718 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6719 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6720 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6721 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6722 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6723 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6724 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6725 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6726 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6727 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6728 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6729 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6730 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6731 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6732 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6733 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6734 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6735 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6736 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6737 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6738 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6739 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6740 * libc/sys/linux/net/Makefile.am: Ditto.
6741 * libc/sys/linux/net/Makefile.in: Ditto.
6742 * libc/sys/linux/net/addr2ascii.3: Ditto.
6743 * libc/sys/linux/net/addr2ascii.c: Ditto.
6744 * libc/sys/linux/net/ascii2addr.c: Ditto.
6745 * libc/sys/linux/net/base64.c: Ditto.
6746 * libc/sys/linux/net/bindresvport.c: Ditto.
6747 * libc/sys/linux/net/byteorder.3: Ditto.
6748 * libc/sys/linux/net/ether_addr.c: Ditto.
6749 * libc/sys/linux/net/ethers.3: Ditto.
6750 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6751 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6752 * libc/sys/linux/net/gethostbydns.c: Ditto.
6753 * libc/sys/linux/net/gethostbyht.c: Ditto.
6754 * libc/sys/linux/net/gethostbyname.3: Ditto.
6755 * libc/sys/linux/net/gethostbynis.c: Ditto.
6756 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6757 * libc/sys/linux/net/getifaddrs.3: Ditto.
6758 * libc/sys/linux/net/getifaddrs.c: Ditto.
6759 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6760 * libc/sys/linux/net/getnameinfo.3: Ditto.
6761 * libc/sys/linux/net/getnameinfo.c: Ditto.
6762 * libc/sys/linux/net/getnetbydns.c: Ditto.
6763 * libc/sys/linux/net/getnetbyht.c: Ditto.
6764 * libc/sys/linux/net/getnetbynis.c: Ditto.
6765 * libc/sys/linux/net/getnetent.3: Ditto.
6766 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6767 * libc/sys/linux/net/getproto.c: Ditto.
6768 * libc/sys/linux/net/getprotoent.3: Ditto.
6769 * libc/sys/linux/net/getprotoent.c: Ditto.
6770 * libc/sys/linux/net/getprotoname.c: Ditto.
6771 * libc/sys/linux/net/getservbyname.c: Ditto.
6772 * libc/sys/linux/net/getservbyport.c: Ditto.
6773 * libc/sys/linux/net/getservent.3: Ditto.
6774 * libc/sys/linux/net/getservent.c: Ditto.
6775 * libc/sys/linux/net/herror.c: Ditto.
6776 * libc/sys/linux/net/hesiod.3: Ditto.
6777 * libc/sys/linux/net/hesiod.c: Ditto.
6778 * libc/sys/linux/net/if_indextoname.3: Ditto.
6779 * libc/sys/linux/net/ifname.c: Ditto.
6780 * libc/sys/linux/net/inet.3: Ditto.
6781 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6782 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6783 * libc/sys/linux/net/inet_addr.c: Ditto.
6784 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6785 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6786 * libc/sys/linux/net/inet_net.3: Ditto.
6787 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6788 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6789 * libc/sys/linux/net/inet_neta.c: Ditto.
6790 * libc/sys/linux/net/inet_netof.c: Ditto.
6791 * libc/sys/linux/net/inet_network.c: Ditto.
6792 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6793 * libc/sys/linux/net/inet_ntop.c: Ditto.
6794 * libc/sys/linux/net/inet_pton.c: Ditto.
6795 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6796 * libc/sys/linux/net/ip6opt.c: Ditto.
6797 * libc/sys/linux/net/iso_addr.3: Ditto.
6798 * libc/sys/linux/net/iso_addr.c: Ditto.
6799 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6800 * libc/sys/linux/net/linkaddr.3: Ditto.
6801 * libc/sys/linux/net/linkaddr.c: Ditto.
6802 * libc/sys/linux/net/map_v4v6.c: Ditto.
6803 * libc/sys/linux/net/name6.c: Ditto.
6804 * libc/sys/linux/net/namespace.h: Ditto.
6805 * libc/sys/linux/net/ns.3: Ditto.
6806 * libc/sys/linux/net/ns_addr.c: Ditto.
6807 * libc/sys/linux/net/ns_name.c: Ditto.
6808 * libc/sys/linux/net/ns_netint.c: Ditto.
6809 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6810 * libc/sys/linux/net/ns_parse.c: Ditto.
6811 * libc/sys/linux/net/ns_print.c: Ditto.
6812 * libc/sys/linux/net/ns_ttl.c: Ditto.
6813 * libc/sys/linux/net/nsap_addr.c: Ditto.
6814 * libc/sys/linux/net/nsdispatch.3: Ditto.
6815 * libc/sys/linux/net/nsdispatch.c: Ditto.
6816 * libc/sys/linux/net/nslexer.c: Ditto.
6817 * libc/sys/linux/net/nslexer.l: Ditto.
6818 * libc/sys/linux/net/nsparser.c: Ditto.
6819 * libc/sys/linux/net/nsparser.h: Ditto.
6820 * libc/sys/linux/net/nsparser.y: Ditto.
6821 * libc/sys/linux/net/rcmd.3: Ditto.
6822 * libc/sys/linux/net/rcmd.c: Ditto.
6823 * libc/sys/linux/net/rcmdsh.3: Ditto.
6824 * libc/sys/linux/net/rcmdsh.c: Ditto.
6825 * libc/sys/linux/net/recv.c: Ditto.
6826 * libc/sys/linux/net/res_comp.c: Ditto.
6827 * libc/sys/linux/net/res_config.h: Ditto.
6828 * libc/sys/linux/net/res_data.c: Ditto.
6829 * libc/sys/linux/net/res_debug.c: Ditto.
6830 * libc/sys/linux/net/res_init.c: Ditto.
6831 * libc/sys/linux/net/res_mkquery.c: Ditto.
6832 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6833 * libc/sys/linux/net/res_query.c: Ditto.
6834 * libc/sys/linux/net/res_send.c: Ditto.
6835 * libc/sys/linux/net/res_update.c: Ditto.
6836 * libc/sys/linux/net/resolver.3: Ditto.
6837 * libc/sys/linux/net/rthdr.c: Ditto.
6838 * libc/sys/linux/net/send.c: Ditto.
6839 * libc/sys/linux/net/un-namespace.h: Ditto.
6840 * libc/sys/linux/net/vars.c: Ditto.
6841 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6842 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6843 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6844 * libc/sys/linux/stdlib/cclass.h: Ditto.
6845 * libc/sys/linux/stdlib/cname.h: Ditto.
6846 * libc/sys/linux/stdlib/collate.c: Ditto.
6847 * libc/sys/linux/stdlib/collate.h: Ditto.
6848 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6849 * libc/sys/linux/stdlib/engine.c: Ditto.
6850 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6851 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6852 * libc/sys/linux/stdlib/glob.3: Ditto.
6853 * libc/sys/linux/stdlib/glob.c: Ditto.
6854 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6855 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6856 * libc/sys/linux/stdlib/regerror.c: Ditto.
6857 * libc/sys/linux/stdlib/regex.3: Ditto.
6858 * libc/sys/linux/stdlib/regex2.h: Ditto.
6859 * libc/sys/linux/stdlib/regexec.c: Ditto.
6860 * libc/sys/linux/stdlib/regfree.c: Ditto.
6861 * libc/sys/linux/stdlib/utils.h: Ditto.
6862 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6863 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6864 * libc/sys/linux/sys/dlfcn.h: Ditto.
6865 * libc/sys/linux/sys/elfclass.h: Ditto.
6866 * libc/sys/linux/sys/event.h: Ditto.
6867 * libc/sys/linux/sys/ioccom.h: Ditto.
6868 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6869 * libc/sys/linux/sys/link.h: Ditto.
6870 * libc/sys/linux/sys/lock.h: Ditto.
6871 * libc/sys/linux/sys/param.h: Ditto.
6872 * libc/sys/linux/sys/socket.h: Ditto.
6873 * libc/sys/linux/sys/sockio.h: Ditto.
6874
6875 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
6876
6877 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
6878 normal mode
6879 * newlib/libc/machine/h8300/memset.S: Likewise
6880 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6881 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6882 * newlib/lib/machine/h8300/setjmp.S: Likewise
6883 * newlib/lib/machine/h8300/strcmp.S: Likewise
6884 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6885
6886 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6887
6888 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6889 * libc/include/stdio.h: Ditto.
6890 * libc/include/sys/config.h: Ditto.
6891 * libc/stdio/mktemp.c: Ditto.
6892
6893 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6894
6895 * libc/locale/ldpart.c (__part_load_locale): Substitute
6896 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6897 * libc/search/hash.c (__hash_open): Ditto.
6898 (init_hash): Ditto.
6899 * libc/stdio/fseek.c (fseek): Ditto.
6900 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6901 * libc/stdio/mktemp.c (_gettemp): Ditto.
6902
6903 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6904
6905 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6906
6907 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6908
6909 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6910 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6911 if __CYGWIN_USE_BIG_TYPES__ is set.
6912 * libc/search/hash.c (__hash_open): Ditto.
6913 (init_hash): Ditto.
6914 * libc/stdio/fseek.c (fseek): Ditto.
6915 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6916 * libc/stdio/mktemp.c (_gettemp): Ditto.
6917 * libc/sys/cygwin/Makefile.am: Remove.
6918 * libc/sys/cygwin/Makefile.in: Remove.
6919 * libc/sys/cygwin/aclocal.m4: Remove.
6920 * libc/sys/cygwin/configure: Remove.
6921 * libc/sys/cygwin/configure.in: Remove.
6922 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6923 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6924 directory.
6925 * libc/sys/cygwin/sys/param.h: Ditto.
6926 * libc/sys/cygwin/sys/utime.h: Ditto.
6927 * libc/sys/cygwin/sys/utmp.h: Ditto.
6928
6929 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
6930
6931 * libc/include/sys/types.h: Don't define key_t for Cygwin.
6932
6933 2003-05-10 Christopher Faylor <cgf@redhat.com>
6934
6935 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
6936 64 bit inodes.
6937
6938 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
6939
6940 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
6941 Include cygwin/config.h instead.
6942
6943 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
6944
6945 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
6946 all code with #ifdef __SPE__ test.
6947 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
6948
6949 2003-04-15 Chris January <chris@atomice.net>
6950
6951 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
6952 Cygwin.
6953
6954 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
6955
6956 * libc/machine/sh/memset.S: Avoid clobbering volatile
6957 objects following a tiny to-be-set array in the same quadword.
6958
6959 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
6960
6961 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
6962 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
6963 * libc/string/Makefile.in: Regenerated.
6964 * libc/string/wcswidth.c: New file.
6965 * libc/string/wcwidth.c: New file.
6966 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6967
6968 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6969
6970 * libc/machine/sh/memset.S: Fix problem with alloco region
6971 exceeding destination region for length >= 88 bytes, start
6972 & 0x16 == 0, end & 0x1f == 18.
6973
6974 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
6975
6976 * libc/string/wcscoll.c: Fix comment.
6977
6978 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
6979
6980 * libc/include/wchar.h: Add definition for wcscoll.
6981 * libc/string/Makefile.am: Add wcscoll.c.
6982 * libc/string/Makefile.in: Regenerated.
6983 * libc/string/wcscoll.c: New file.
6984 * libc/string/wcstrings.tex: Add wcscoll.
6985
6986 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6987
6988 * libc/stdio/sscanf.c: Update flags description.
6989 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
6990 type.
6991 (__svfscanf_r): Add 'hh' and 'll' handling.
6992
6993 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6994
6995 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
6996 __d_position member to _off_t.
6997
6998 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
6999
7000 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
7001 count all characters used to create number against maximum width.
7002 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
7003
7004 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
7005
7006 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
7007 support.
7008 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
7009 flag to support simulator only extensions.
7010
7011 2003-03-17 Bob Cassels <bcassels@abinitio.com>
7012
7013 * libc/string/wcschr.c: (wcschr): Look for character first,
7014 then for end of string, so you can do wcschr(x, '\0').
7015
7016 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
7017
7018 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
7019 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
7020 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
7021 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
7022 * libc/stdio/fseeko.c (fseeko): Ditto.
7023 * libc/stdio/ftello.c (ftello): Ditto.
7024 * libc/stdio/stdio.c (__swrite): Ditto.
7025 (__sseek): Ditto.
7026 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
7027 * libc/stdio/fseek.c (fseek): Ditto.
7028 * libc/stdio/fsetpos.c (fsetpos): Ditto.
7029 * libc/stdio/ftell.c (ftell): Ditto.
7030 * libc/stdio/local.h: Declare __sseek using _off_t.
7031
7032 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
7033
7034 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
7035
7036 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
7037
7038 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
7039 Cygwin.
7040
7041 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
7042
7043 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
7044 Cygwin.
7045 * libc/include/sys/stat.h: Ditto.
7046 * libc/include/sys/unistd.h: Ditto.
7047 * libc/sys/cygwin/sys/dirent.h: Ditto.
7048
7049 2003-03-07 Christopher Faylor <cgf@redhat.com>
7050
7051 * libc/include/sys/unistd.h: Guard getopt.h call to force only
7052 declaration of getopt and avoid getopt_long declaration.
7053 * libc/sys/cygwin/include/unistd.h: Remove.
7054
7055 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
7056
7057 * configure.host: Define stdio64_dir for Cygwin.
7058 * libc/include/stdio.h: Change definition of fpos_t to fulfill
7059 Cygwin 64bit file access requirements.
7060 Drop definition of f*64() functions when compiled for Cygwin.
7061 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
7062 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
7063 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
7064
7065 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
7066
7067 * libc/include/sys/reent.h: Remove extraneous _sig_func
7068 declaration.
7069
7070 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
7071
7072 * libc/sys/h8300hms/Makefile.am: Add support for new files.
7073 * libc/sys/h8300hms/Makefile.in: Regenerated.
7074 * libc/sys/h8300hms/close.S: New file.
7075 * libc/sys/h8300hms/fstat.S: Ditto.
7076 * libc/sys/h8300hms/lseek.S: Ditto.
7077 * libc/sys/h8300hms/open.S: Ditto.
7078 * libc/sys/h8300hms/stat.S: Ditto.
7079 * libc/sys/h8300hms/read.S: New file to replace read.c.
7080 * libc/sys/h8300hms/read.c: Removed.
7081 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
7082 _lseek, _close, _stat, _fstat.
7083 * libc/sys/h8300hms/write.S: New file to replace write.c.
7084 * libc/sys/h8300hms/write.c: Removed.
7085
7086 2003-02-20 Nick Clifton <nickc@redhat.com>
7087
7088 * Add support for Cirrus Maverick ARM co-processor:
7089
7090 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
7091
7092 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
7093 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
7094
7095 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
7096
7097 * configure.host: set sys_dir, syscall_dir, and
7098 newlib_cflags for ep9312 host.
7099
7100 * configure.host: Restore alpha sorting of entries in case
7101 statements.
7102
7103 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
7104
7105 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
7106
7107 2003-02-18 Christian Groessler <chris@groessler.org>
7108
7109 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
7110 support z8001 segmented mode.
7111
7112 2003-02-18 Earnie Boyd <earnie@users.sf.net>
7113
7114 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
7115 with a NULL value.
7116
7117 2003-02-10 Christopher Faylor <cgf@redhat.com>
7118
7119 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
7120 Don't define some types under cygwin.
7121
7122 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
7123
7124 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
7125 option to allow disabling of syscalls being supplied in newlib.
7126 * aclocal.m4: Regenerated.
7127 * configure: Ditto.
7128 * configure.host: Add support of new configuration option and add
7129 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
7130 * doc/aclocal.m4: Regenerated.
7131 * doc/configure: Ditto.
7132 * libc/*aclocal.m4: Ditto.
7133 * libc/*configure: Ditto.
7134 * libm/*aclocal.m4: Ditto.
7135 * libm/*configure: Ditto.
7136 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
7137 is disabled.
7138 * libc/sys/arm/Makefile.in: Regenerated.
7139
7140 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
7141
7142 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
7143 -1 to be sure it cannot later match a valid file fd causing
7144 isatty() to return 1.
7145 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
7146 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
7147 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
7148
7149 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
7150
7151 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
7152 buffer based on the precision, after we have processed the input value
7153 in a local buffer and know its relative magnitude.
7154
7155 2003-01-31 Michael Snyder <msnyder@redhat.com>
7156
7157 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
7158 into registers r1 and r2, so that the simulator can distinguish
7159 this trap from a breakpoint trap. Copied from libgloss.
7160
7161 2003-01-31 Michael Snyder <msnyder@redhat.com>
7162
7163 * libc/sys/h8300hms/crt0.S (_start): Change local label
7164 from .loop to .Loop, so that ld and gdb will ignore it.
7165
7166 2003-01-29 Jason Tishler <jason@tishler.net>
7167
7168 * libc/include/time.h: Declare nanosleep() under Cygwin.
7169
7170 2003-01-24 Nick Clifton <nickc@redhat.com>
7171
7172 * Add sh2e support:
7173
7174 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
7175
7176 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
7177 * libc/machine/sh/setjmp.S: Likewise.
7178 * libc/include/machine/ieeefp.h: Likewise.
7179
7180 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
7181
7182 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
7183 for Cygwin.
7184
7185 2003-01-21 Anita Kulkarni <anitak@kpit.com>
7186
7187 * libc/time/difftime.c : Typecast the result to double.
7188
7189 2003-01-20 Christopher Faylor <cgf@redhat.com>
7190
7191 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
7192
7193 2003-01-18 Nick Clifton <nickc@redhat.com>
7194
7195 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
7196 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
7197
7198 2003-01-16 Joel Sherrill <joel@OARcorp.com>
7199
7200 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
7201 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
7202 constants are defined in each file in the shared versions in
7203 libc/include.
7204 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
7205 autoconf can link programs.
7206 * libc/include/machine/types.h: Explicitly specify signed on
7207 intXX_t types to ensure they are signed.
7208
7209 2003-01-14 Christopher Faylor <cgf@redhat.com>
7210
7211 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
7212 extensions.
7213
7214 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
7215
7216 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
7217
7218 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
7219
7220 * libc/stdio/sprintf.c: fix typo
7221 * libc/stdio/vfprintf.c: fix typo
7222
7223 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
7224
7225 * configure.host: Support long double I/O for x86-linux.
7226 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
7227 large enough to hold formatted result.
7228 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
7229
7230 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7231
7232 * Makefile.am: Add vasprintf.
7233 * Makefile.in: Regenerated.
7234
7235 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7236
7237 * asprintf.c (_asprintf_r): insure both declarations
7238 are the same.
7239
7240 2002-12-28 Christopher Faylor <cgf@redhat.com>
7241
7242 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
7243 than defining getopt directly.
7244
7245 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7246
7247 * NEWS: Update with 1.11.0 info.
7248 * README: Ditto.
7249 * acinclude.m4: Change version number to 1.11.0.
7250 * aclocal.m4: Regenerated.
7251 * configure: Ditto.
7252 * doc/aclocal.m4: Ditto.
7253 * doc/configure: Ditto.
7254 * libc/*/aclocal.m4: Ditto.
7255 * libc/*/configure: Ditto.
7256 * libc/libc.texinfo: Ditto.
7257 * libm/*/aclocal.m4: Ditto.
7258 * libm/*/configure: Ditto.
7259 * libm/libm.texinfo: Ditto.
7260 * libc/sys/linux/shared.ld: Add VERS_1.11.
7261
7262 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7263
7264 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
7265 Solutions to Red Hat Inc.
7266 * libc/machine/i386/f_atan2f.S: Ditto.
7267 * libc/machine/i386/f_exp.c: Ditto.
7268 * libc/machine/i386/f_expf.c: Ditto.
7269 * libc/machine/i386/f_frexp.S: Ditto.
7270 * libc/machine/i386/f_frexpf.S: Ditto.
7271 * libc/machine/i386/f_ldexp.S: Ditto.
7272 * libc/machine/i386/f_ldexpf.S: Ditto.
7273 * libc/machine/i386/f_log.S: Ditto.
7274 * libc/machine/i386/f_log10.S: Ditto.
7275 * libc/machine/i386/f_log10f.S: Ditto.
7276 * libc/machine/i386/f_logf.S: Ditto.
7277 * libc/machine/i386/f_pow.c: Ditto.
7278 * libc/machine/i386/f_powf.c: Ditto.
7279 * libc/machine/i386/f_tan.S: Ditto.
7280 * libc/machine/i386/f_tanf.S: Ditto.
7281 * libc/machine/i386/memchr.S: Ditto.
7282 * libc/machine/i386/memcmp.S: Ditto.
7283 * libc/machine/i386/memcpy.S: Ditto.
7284 * libc/machine/i386/memmove.S: Ditto.
7285 * libc/machine/i386/memset.S: Ditto.
7286 * libc/machine/i386/strchr.S: Ditto.
7287 * libc/machine/i386/strlen.S: Ditto.
7288 * libm/machine/i386/f_atan2.S: Ditto.
7289 * libm/machine/i386/f_atan2f.S: Ditto.
7290 * libm/machine/i386/f_exp.c: Ditto.
7291 * libm/machine/i386/f_expf.c: Ditto.
7292 * libm/machine/i386/f_frexp.S: Ditto.
7293 * libm/machine/i386/f_frexpf.S: Ditto.
7294 * libm/machine/i386/f_ldexp.S: Ditto.
7295 * libm/machine/i386/f_ldexpf.S: Ditto.
7296 * libm/machine/i386/f_log.S: Ditto.
7297 * libm/machine/i386/f_log10.S: Ditto.
7298 * libm/machine/i386/f_log10f.S: Ditto.
7299 * libm/machine/i386/f_logf.S: Ditto.
7300 * libm/machine/i386/f_pow.c: Ditto.
7301 * libm/machine/i386/f_powf.c: Ditto.
7302 * libm/machine/i386/f_tan.S: Ditto.
7303 * libm/machine/i386/f_tanf.S: Ditto.
7304
7305 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7306
7307 * libc/stdlib/environ.c: Update license to Red Hat.
7308 * libc/machine/hppa/setjmp.S: Ditto.
7309 * libm/test/Makefile.in: Ditto.
7310
7311 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7312
7313 * configure.host: Remove references to go32.
7314 * libc/sys/go32/*: Removed.
7315
7316 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7317
7318 * libc/include/sys/config.h: Change setting of INT_MAX
7319 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7320 __H8300S__. Also consolidate flag settings for these
7321 platforms.
7322
7323 2002-12-10 Joel Sherrill <joel@OARcorp.com>
7324
7325 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7326 for i386-rtems targets.
7327
7328 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7329
7330 * libc/include/stdlib.h (strtof): New prototype (from C99).
7331 (strtodf): Changed from prototype to macro which redefines
7332 to strtof.
7333 * libc/stdlib/atof.c: Change documentation to refer to strtof
7334 instead of strtodf.
7335 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7336 strtodf.
7337 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7338 (strtof): New function.
7339 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7340 calls strtof.
7341
7342 2002-11-27 Christopher Faylor <cgf@redhat.com>
7343
7344 * libc/string/memset.c (memset): Fix comment.
7345
7346 2002-11-26 Christopher Faylor <cgf@redhat.com>
7347
7348 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7349 function.
7350
7351 2002-11-25 Christopher Faylor <cgf@redhat.com>
7352
7353 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7354 variable, introduced below, everywhere.
7355
7356 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7357
7358 * libc/string/memset.c (memset): Make it safe even if
7359 sizeof (int) = 2.
7360
7361 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
7362
7363 * configure.in: Change check for libc/include in ${CC} to
7364 use an intermediate value so as to work with different shells.
7365 * configure: Regenerated.
7366 * Makefile.in: Ditto.
7367
7368 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
7369
7370 * libc/sys/h8300hms/read.c: Add support for normal mode
7371 architecture.
7372
7373 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
7374
7375 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
7376 code for __H8300H__ and __H8300S__. Also return 32-bit return code
7377 when -mint32 is used.
7378
7379 2002-11-18 Nick Clifton <nickc@redhat.com>
7380
7381 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
7382
7383 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
7384
7385 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
7386 only issue one pass/fail message for a compile/link/execute.
7387 * testsuite/newlib.elix/elix.exp: New file.
7388 * testsuite/newlib.elix/tmmap.c: Ditto.
7389
7390 2002-11-06 Christopher Faylor <cgf@redhat.com>
7391
7392 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
7393 * libc/stdlib/mlock.c: Ditto.
7394 * libc/stdlib/msize.c: Ditto.
7395 * libc/stdlib/msize.c: Ditto.
7396 * libc/stdlib/mtrim.c: Ditto.
7397 * libc/stdlib/valloc.c: Ditto.
7398
7399 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
7400
7401 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
7402 for inf/nan, make sure that the check ignores the sign bit.
7403
7404 2002-11-07 Joel Sherrill <joel@OARcorp.com>
7405
7406 * libc/sys/rtems/machine: New directory.
7407 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
7408 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
7409 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
7410 targets more BSD like when installed without requiring files to
7411 be overwritten at install point when RTEMS itself is installed.
7412 * Makefile.am: Pick up system dependent machine .h files such as
7413 might be found on a BSD-ish system.
7414 * Makefile.in: Regenerate.
7415 * libc/include/machine/types.h: When on an RTEMS target, define a
7416 few BSD flavor types.
7417
7418 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
7419
7420 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
7421
7422 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7423
7424 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
7425 * libc/include/wctype.h: Ditto.
7426
7427 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
7428
7429 * libc/include/wchar.h: Add extern "C" specifier if C++.
7430 * libc/include/wctype.h: Ditto.
7431
7432 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7433
7434 * testsuite/newlib.wctype/tiswctype.c: New test case.
7435 * testsuite/newlib.wctype/twctrans.c: Ditto.
7436
7437 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7438
7439 * libc/sys/linux/machine/i386/include/endian.h: New file.
7440 * libc/sys/linux/machine/i386/include/param.h: Ditto.
7441
7442 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7443
7444 * libm/machine/i386/aclocal.m4: Regenerated.
7445 * libm/machine/i386/configure: Ditto.
7446
7447 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7448
7449 * testsuite/include/check.h: New header file to use with
7450 test cases.
7451 * testsuite/lib/newlib.exp: Add testsuite/include directory
7452 to list of header files to use.
7453 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
7454 * testsuite/newlib.wctype/wctype.exp: New file.
7455
7456 2002-10-11 Graham Stott <graham.stott@btinternet.com>
7457 Richard Sandiford <rsandifo@redhat.com>
7458
7459 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
7460 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
7461 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7462
7463 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7464
7465 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
7466 dummy programs.
7467
7468 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7469
7470 * libc/include/pthread.h: Define PTHREAD_CANCELED.
7471
7472 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7473
7474 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
7475 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
7476 compile with current GNU tools.
7477
7478 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
7479
7480 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
7481 the build library.
7482 * configure.in: Ditto.
7483 * Makefile.in: Regenerated.
7484 * configure: Ditto.
7485 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
7486 for specifying configured libraries/directories.
7487 * libc/sys/linux/configure.in: Ditto.
7488 * libc/sys/linux/Makefile.in: Regenerated.
7489 * libc/sys/linux/configure: Ditto.
7490
7491 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
7492
7493 * libc/include/reent.h: Update documentation at start of file.
7494
7495 2002-09-27 Jim Wilson <wilson@redhat.com>
7496
7497 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
7498 the ctbp register.
7499
7500 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
7501
7502 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
7503 Also convert to EUCJP before using arrays. For values not in
7504 the conversion arrays, return WEOF.
7505 * libc/ctype/jp2uc.h: Change from one array to a number of
7506 arrays to account for the fact that the originating table
7507 is not contiguous for the input values since some are invalid.
7508
7509 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
7510
7511 * libc/time/ctime.c: Fix prototype documentation.
7512
7513 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
7514
7515 * libc/include/sys/errno.h: Add EOVERFLOW.
7516
7517 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7518
7519 * libc/include/wctype.h: New file.
7520
7521 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7522
7523 * libc/ctype/Makefile.am: Add new files.
7524 * libc/ctype/Makefile.in: Regenerated.
7525 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
7526 and wctrans functions to documentation index.
7527 * libc/ctype/iswalnum.c: New file.
7528 * libc/ctype/iswalpha.c: Ditto.
7529 * libc/ctype/iswblank.c: Ditto.
7530 * libc/ctype/iswcntrl.c: Ditto.
7531 * libc/ctype/iswctype.c: Ditto.
7532 * libc/ctype/iswdigit.c: Ditto.
7533 * libc/ctype/iswgraph.c: Ditto.
7534 * libc/ctype/iswlower.c: Ditto.
7535 * libc/ctype/iswprint.c: Ditto.
7536 * libc/ctype/iswpunct.c: Ditto.
7537 * libc/ctype/iswspace.c: Ditto.
7538 * libc/ctype/iswupper.c: Ditto.
7539 * libc/ctype/iswxdigit.c: Ditto.
7540 * libc/ctype/jp2uc.c: Ditto.
7541 * libc/ctype/jp2uc.h: Ditto.
7542 * libc/ctype/local.h: Ditto.
7543 * libc/ctype/towctrans.c: Ditto.
7544 * libc/ctype/towlower.c: Ditto.
7545 * libc/ctype/towupper.c: Ditto.
7546 * libc/ctype/utf8alpha.h: Ditto.
7547 * libc/ctype/utf8print.h: Ditto.
7548 * libc/ctype/utf8punct.h: Ditto.
7549 * libc/ctype/wctrans.c: Ditto.
7550 * libc/ctype/wctype.c: Ditto.
7551 * libc/locale/locale.c (__lc_ctype): New external array to
7552 replace static lc_ctype array.
7553 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
7554 rather than reentrancy structure's _current_locale field.
7555 * libc/stdlib/wctomb_r.c: Ditto.
7556
7557 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7558
7559 * configure.host: Minor comment and formatting changes.
7560 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
7561 * libc/Makefile.in: Regenerated.
7562 * libc/include/sys/config.h: Minor format change.
7563
7564 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7565
7566 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
7567 statement comment.
7568
7569 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7570
7571 * libc/posix/opendir.c (opendir): Change code to check
7572 for HAVE_FCNTL before calling fcntl.
7573 * libc/search/hash.c (hash_open): Ditto.
7574 * libc/search/hash_page.c (open_tmp): Ditto.
7575 * libc/reent/Makefile.am: Add fcntlr.c.
7576 * libc/reent/Makefile.in: Regenerated.
7577 * libc/reent/fcntlr.c: New file.
7578 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
7579 instead of _fcntl when HAVE_FCNTL flag is set.
7580 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
7581 to see if _fcntl or _fcntl_r should be called. If flag is not
7582 set, default to ENOSYS stub.
7583
7584 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
7585
7586 * libc/include/wchar.h (mbstate_t): Change protective flag to
7587 be _MBSTATE_T.
7588 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
7589 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
7590 for Cygwin.
7591 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
7592
7593 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
7594
7595 * acinclude.m4 (enable-newlib-mb): Change check to
7596 default newlib_mb variable to empty string rather than "no".
7597 * configure.host: Remove hard-coding of -DMB_CAPABLE for
7598 x86-linux and Cygwin. Add code to check for newlib_mb
7599 being unset in which case set to "yes" for x86-linux and
7600 Cygwin. Change check for newlib_mb being "yes" to allow
7601 for an empty string.
7602 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
7603 * newlib.hin (_MB_LEN_MAX): New define to configure.
7604 * aclocal.m4: Regenerated.
7605 * configure: Ditto.
7606 * libc/include/limits.h: New file.
7607 * libc/sys/linux/include/limits.h: Ditto.
7608 * doc/aclocal.m4 doc/configure libc/aclocal.m4
7609 libc/configure libc/machine/aclocal.m4
7610 libc/machine/configure libc/machine/a29k/aclocal.m4
7611 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7612 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7613 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7614 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7615 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
7616 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
7617 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7618 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7619 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7620 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7621 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7622 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
7623 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
7624 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7625 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7626 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7627 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7628 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7629 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7630 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7631 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7632 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7633 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7634 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7635 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
7636 libc/machine/xscale/configure
7637 libc/machine/xstormy16/aclocal.m4
7638 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
7639 libc/machine/z8k/configure libc/sys/aclocal.m4
7640 libc/sys/configure libc/sys/a29khif/aclocal.m4
7641 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
7642 libc/sys/arc/configure libc/sys/arm/aclocal.m4
7643 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7644 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
7645 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
7646 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
7647 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
7648 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
7649 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
7650 libc/sys/idt/configure libc/sys/linux/aclocal.m4
7651 libc/sys/linux/configure
7652 libc/sys/linux/machine/aclocal.m4
7653 libc/sys/linux/machine/configure
7654 libc/sys/linux/machine/i386/aclocal.m4
7655 libc/sys/linux/machine/i386/configure
7656 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7657 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
7658 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7659 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7660 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7661 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7662 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7663 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7664 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7665 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7666 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7667 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7668 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7669 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7670 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7671 libm/aclocal.m4 libm/configure: Regenerated.
7672
7673 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7674
7675 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7676 code that clears the .bss section.
7677
7678 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7679
7680 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7681 unsigned char internally.
7682 * libc/sys/linux/sys/_types.h: Ditto.
7683 * libc/include/sys/reent.h
7684 * libc/stdlib/mblen.c (mblen): Use function-specific state
7685 value from default reentrancy structure.
7686 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7687 _mbtowc_r is less than 0, reset state __count value and
7688 return -1.
7689 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7690 is NULL, use the function-specific pointer provided in the
7691 default reentrancy structure.
7692 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7693 If input state pointer is NULL, use function-specific area
7694 provided in reentrancy structure.
7695 * libc/stdlib/mbsrtowcs.c: Ditto.
7696 * libc/stdlib/wcrtomb.c: Ditto.
7697 * libc/stdlib/wcsrtombs.c: Ditto.
7698 * libc/stdlib/mbstowcs.c: Reformat.
7699 * libc/stdlib/wcstombs.c: Ditto.
7700 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7701 reset the state's __count value and return -1.
7702 * libc/stdlib/mbtowc.c: Ditto.
7703 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7704 If number of bytes is used up before completing a valid multibyte
7705 character, return -2 and save the state.
7706 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7707 and change some __count references to __state for clarity.
7708
7709 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7710
7711 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7712 is defined by <limits.h>.
7713
7714 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7715
7716 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7717 defined.
7718
7719 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7720
7721 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7722 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7723 __WCHAR_MAX__ or 0x7fffffffu.
7724 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7725 * libc/string/wcsncmp.c: Ditto.
7726
7727 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7728
7729 * libc/string/wcschr.c: Add include of <stddef.h>.
7730 * libc/string/wcspbrk.c: Ditto.
7731 * libc/string/wcsrchr.c: Ditto.
7732 * libc/string/wcsstr.c: Ditto.
7733
7734 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7735
7736 * libc/include/sys/_types.h (_flock_t): Added.
7737 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7738 (__lock_try_acquire_recursive): Ditto.
7739 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7740 _lock field.
7741 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7742 field.
7743 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7744 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7745 * libc/sys/linux/include/time.h (struct timespec): Moved from
7746 <sys/types.h> and added check for __need_timespec flag so type
7747 can be defined by itself.
7748 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7749 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7750 <time.h>.
7751
7752 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7753
7754 * libc/sys/linux/argp: New directory.
7755 * libc/sys/linux/getopt.c: New file.
7756 * libc/sys/linux/getopt1.c: New file.
7757 * libc/sys/linux/getoptlong.c: Remove file.
7758 * libc/sys/linux/include/argp.h: New file.
7759 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7760 based on ELIX level.
7761 (SUBDIRS): Add argp_dir.
7762 (SUBLIBS): Add ARGP_LIB.
7763 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7764 getopt_long.$(oext).
7765 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7766
7767 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7768
7769 * libc/libc.texinfo: Add node reference to wide-character strings.
7770 * libc/string/wcstrings.tex: New file.
7771 * libc/string/strtok_r.c: Remove outdated advertising clause.
7772 * libc/string/Makefile.am (doc): Add wide-character string
7773 chapter to documentation.
7774 * libc/string/Makefile.in: Regenerated.
7775
7776 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7777
7778 * libc/include/wchar.h: Define NULL. Define WEOF more general
7779 way. Declare functions in newlib manner.
7780 * libc/stdlib/Makefile.am: Delete wmem*.c
7781 * libc/stdlib/Makefile.in: Regenerated.
7782 * libc/stdlib/wmemchr.c: Delete.
7783 * libc/stdlib/wmemcmp.c: Ditto.
7784 * libc/stdlib/wmemcpy.c: Ditto.
7785 * libc/stdlib/wmemmove.c: Ditto.
7786 * libc/stdlib/wmemset.c: Ditto.
7787 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7788 * libc/string/Makefile.in: Regenerated.
7789 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7790 * libc/string/wcschr.c: Ditto.
7791 * libc/string/wcscmp.c: Ditto.
7792 * libc/string/wcscpy.c: Ditto.
7793 * libc/string/wcscspn.c: Ditto.
7794 * libc/string/wcslcat.c: Ditto.
7795 * libc/string/wcslcpy.c: Ditto.
7796 * libc/string/wcslen.c: Ditto.
7797 * libc/string/wcsncat.c: Ditto.
7798 * libc/string/wcsncmp.c: Ditto.
7799 * libc/string/wcsncpy.c: Ditto.
7800 * libc/string/wcspbrk.c: Ditto.
7801 * libc/string/wcsrchr.c: Ditto.
7802 * libc/string/wcsspn.c: Ditto.
7803 * libc/string/wcsstr.c: Ditto.
7804 * libc/string/wmemchr.c: Ditto.
7805 * libc/string/wmemcmp.c: Ditto.
7806 * libc/string/wmemcpy.c: Ditto.
7807 * libc/string/wmemmove.c: Ditto.
7808 * libc/string/wmemset.c: Ditto.
7809
7810 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7811
7812 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7813 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7814 and is treated as if "C" was specified.
7815
7816 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7817
7818 * Makefile.am (install-data-local): Move install of build
7819 newlib.h after installing headers in libc/include so as to
7820 overwrite default newlib.h.
7821 * Makefile.in: Regenerated.
7822
7823 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7824
7825 * libc/include/newlib.h: New file for tools that use newlib
7826 headers but don't build newlib first (e.g. gcc).
7827
7828 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7829
7830 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7831 * libc/stdlib/wmemcmp.c: Ditto.
7832 * libc/stdlib/wmemcpy.c: Ditto.
7833 * libc/stdlib/wmemmove.c: Ditto.
7834 * libc/stdlib/wmemset.c: Ditto.
7835
7836 2002-08-27 Egor Duda <deo@logos-m.ru>
7837
7838 * libc/stdlib/wmemchr.c: New file.
7839 * libc/stdlib/wmemcmp.c: Ditto.
7840 * libc/stdlib/wmemcpy.c: Ditto.
7841 * libc/stdlib/wmemmove.c: Ditto.
7842 * libc/stdlib/wmemset.c: Ditto.
7843 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7844 * configure.host: Default -DMB_CAPABLE for cygwin.
7845 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7846 wmemmove() and wmemset(). Add include of <_ansi.h>.
7847 * libc/stdlib/Makefile.in: Regenerate.
7848
7849 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7850
7851 * configure.host: Remove _ELIX_LEVEL flag setting.
7852 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7853 (install-data-local): Install newlib.h.
7854 * Makefile.in: Regenerated.
7855 * aclocal.m4: Ditto.
7856 * configure: Ditto.
7857 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
7858 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7859 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7860 In AC_OUTPUT statement, unset ac_file so multilib support does
7861 not use last ac_file temporary used in newlib.h configuration.
7862 * libc/include/_ansi.h: Include <newlib.h>.
7863 * newlib.hin: New template file for newlib.h.
7864 * stamp-h.in: New file.
7865
7866 2002-08-26 Wu Yongwei <adah@netstd.com>
7867
7868 * time.h (timezonevar): Change "#if" to "#ifdef".
7869
7870 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7871
7872 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7873 * Makefile.in: Regenerated.
7874 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7875 * aclocal.m4: Regenerated.
7876 * configure: Ditto.
7877 * configure.host: Add code to define _ELIX_LEVEL if
7878 --enable-newlib-elix-level option is used.
7879 * configure.in:
7880 * libc/aclocal.m4: Regenerated.
7881 * libc/configure: Ditto.
7882 * libc/argz/Makefile.am: Add EL/IX level checking.
7883 * libc/argz/Makefile.in: Regenerated.
7884 * libc/argz/dummy.c: New file.
7885 * libc/ctype/Makefile.am: Add EL/IX level checking.
7886 * libc/ctype/Makefile.in: Regenerated.
7887 * libc/locale/Makefile.am: Add EL/IX level checking.
7888 * libc/locale/Makefile.in: Regenerated.
7889 * libc/posix/Makefile.am: Add EL/IX level checking.
7890 * libc/posix/Makefile.in: Regenerated.
7891 * libc/posix/telldir.c: Add EL/IX level checking.
7892 * libc/reent/Makefile.am: Ditto.
7893 * libc/reent/fstat64r.c: Ditto.
7894 * libc/reent/lseek64r.c: Ditto.
7895 * libc/reent/open64r.c: Ditto.
7896 * libc/reent/Makefile.in: Regenerated.
7897 * libc/search/Makefile.am: Add EL/IX level checking.
7898 * libc/search/Makefile.in: Regenerated.
7899 * libc/stdio/Makefile.am: Add EL/IX level checking.
7900 * libc/stdio/Makefile.in: Regenerated.
7901 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7902 * libc/stdio64/Makefile.in: Regenerated.
7903 * libc/stdio64/dummy.c: New file.
7904 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
7905 after first include.
7906 * libc/stdio64/fopen64.c: Ditto.
7907 * libc/stdio64/freopen64.c: Ditto.
7908 * libc/stdio64/fseeko64.c: Ditto.
7909 * libc/stdio64/fsetpos64.c: Ditto.
7910 * libc/stdio64/ftello64.c: Ditto.
7911 * libc/stdio64/tmpfile64.c: Ditto.
7912 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7913 * libc/stdlib/Makefile.in: Regenerated.
7914 * libc/stdlib/mstats.c: Add EL/IX level checking.
7915 * libc/string/Makefile.am: Ditto.
7916 * libc/string/Makefile.in: Regenerated.
7917 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7918 * libc/sys/linux/Makefile.in: Regenerated.
7919 * libc/sys/linux/aclocal.m4: Ditto.
7920 * libc/sys/linux/configure: Ditto.
7921 * libc/sys/linux/aio.c: Add EL/IX level checking.
7922 * libc/sys/linux/ftok.c: Ditto.
7923 * libc/sys/linux/getdate.c: Ditto.
7924 * libc/sys/linux/ids.c: Ditto.
7925 * libc/sys/linux/inode.c: Ditto.
7926 * libc/sys/linux/io.c: Ditto.
7927 * libc/sys/linux/process.c: Ditto.
7928 * libc/sys/linux/resource.c: Ditto.
7929 * libc/sys/linux/sched.c: Ditto.
7930 * libc/sys/linux/sig.c: Ditto.
7931 * libc/sys/linux/termios.c: Ditto.
7932 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
7933 __libc___waitpid weak aliases.
7934 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
7935 that generate the code for a syscall, but do not create a
7936 weak alias.
7937 * libc/syscalls/Makefile.am: Add EL/IX level checking.
7938 * libc/syscalls/Makefile.in: Regenerated.
7939 * libc/time/tzset_r.c: Change to replace strdup with equivalent
7940 functionality.
7941 * libc/unix/Makefile.am: Add EL/IX level checking.
7942 * libc/unix/Makefile.in: Regenerated.
7943
7944 2002-08-26 Christopher Faylor <cgf@redhat.com>
7945
7946 * libc/include/malloc.h: On cygwin, define malloc _r functions as
7947 wrapper macros to standard malloc functions.
7948 * libc/include/stdlib.h: Ditto.
7949 * configure.host: Always define MALLOC_PROVIDED on cygwin.
7950
7951 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7952
7953 * libc/include/langinfo.h: New file.
7954 * libc/include/wchar.h: Likewise.
7955 * libc/include/sys/syslimits.h: Likewise.
7956 * libc/locale/fix_grouping.c: Likewise.
7957 * libc/locale/ldpart.c: Likewise.
7958 * libc/locale/ldpart.h: Likewise.
7959 * libc/locale/lmessages.c: Likewise.
7960 * libc/locale/lmessages.h: Likewise.
7961 * libc/locale/lmonetary.c: Likewise.
7962 * libc/locale/lmonetary.h: Likewise.
7963 * libc/locale/lnumeric.c: Likewise.
7964 * libc/locale/lnumeric.h: Likewise.
7965 * libc/locale/nl_langinfo.3: Likewise.
7966 * libc/locale/nl_langinfo.c: Likewise.
7967 * libc/locale/timelocal.c: Likewise.
7968 * libc/locale/timelocal.h: Likewise.
7969 * libc/stdlib/btowc.c: Likewise.
7970 * libc/stdlib/mbrlen.c: Likewise.
7971 * libc/stdlib/mbrtowc.c: Likewise.
7972 * libc/stdlib/mbsinit.c: Likewise.
7973 * libc/stdlib/mbsrtowcs.c: Likewise.
7974 * libc/stdlib/wcrtomb.c: Likewise.
7975 * libc/stdlib/wcsrtombs.c: Likewise.
7976 * libc/stdlib/wctob.c: Likewise.
7977 * libc/sys/linux/prof-freq.c: Likewise.
7978 * libc/sys/linux/profile.c: Likewise.
7979 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7980 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7981 * libc/include/stdlib.h: Change re-entrant functions to take
7982 mbstate_t pointers.
7983 * libc/include/sys/_types.h: Define _mbstate_t.
7984 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
7985 * libc/include/sys/errno.h (EILSEQ): New error code.
7986 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
7987 structure to use mbstate_t.
7988 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
7989 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
7990 * libc/machine/powerpc/vfscanf.c: Likewise.
7991 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
7992 * libc/stdio/vfprintf.c: Likewise.
7993 * libc/stdio/vfscanf.c: Likewise.
7994 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
7995 * libc/stdlib/mblen.c: Use mbstate_t.
7996 * libc/stdlib/mblen_r.c: Likewise.
7997 * libc/stdlib/mbstowcs.c: Likewise.
7998 * libc/stdlib/mbstowcs_r.c: Likewise.
7999 * libc/stdlib/mbtowc.c: Likewise.
8000 * libc/stdlib/mbtowc_r.c: Likewise.
8001 * libc/stdlib/wcstombs.c: Likewise.
8002 * libc/stdlib/wcstombs_r.c: Likewise.
8003 * libc/stdlib/wctomb_r.c: Likewise.
8004 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
8005 profile.c.
8006 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
8007 dl-procinfo.c.
8008 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
8009 * libc/sys/linux/sys/types.h (off_t): Define type.
8010 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
8011 to C-UTF-8.
8012 * testsuite/newlib.locale/UTF-8.exp: Likewise.
8013
8014 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
8015
8016 * libc/stdlib/mallocr.c: #include windows.h on Win32.
8017 (AlignPage): Continue macro on next line.
8018
8019 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8020
8021 * libc/sys/linux/include/pthread.h: New file.
8022
8023 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8024
8025 * libc/include/sys/types.h: Support __need_inttypes macro
8026 that only sets the __intxx and __uintxx types.
8027 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
8028 to get mprec.h.
8029 * libc/machine/powerpc/Makefile.in: Regenerated.
8030 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
8031 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
8032 redundant fixed-point conversion prototypes.
8033 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
8034 after setting __need_inttypes.
8035
8036 2002-08-18 Christopher Faylor <cgf@redhat.com>
8037
8038 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
8039
8040 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8041
8042 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
8043 _LONG_DOUBLE to double.
8044
8045 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8046
8047 * configure.host: Add powerpc*-*-eabispe* configuration.
8048 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
8049 * libc/machine/powerpc/atosfix32.c: Ditto.
8050 * libc/machine/powerpc/atosfix64.c: Ditto.
8051 * libc/machine/powerpc/atoufix16.c: Ditto.
8052 * libc/machine/powerpc/atoufix32.c: Ditto.
8053 * libc/machine/powerpc/atoufix64.c: Ditto.
8054 * libc/machine/powerpc/fix64.h: Ditto.
8055 * libc/machine/powerpc/simdldtoa.c: Ditto.
8056 * libc/machine/powerpc/strtosfix16.c: Ditto.
8057 * libc/machine/powerpc/strtosfix32.c: Ditto.
8058 * libc/machine/powerpc/strtosfix64.c: Ditto.
8059 * libc/machine/powerpc/strtoufix16.c: Ditto.
8060 * libc/machine/powerpc/strtoufix32.c: Ditto.
8061 * libc/machine/powerpc/strtoufix64.c: Ditto.
8062 * libc/machine/powerpc/ufix64toa.c: Ditto.
8063 * libc/machine/powerpc/configure.in: Add check for
8064 powerpc*-eabispe and add fixed-point conversion functions.
8065 * libc/machine/powerpc/configure: Regenerated.
8066 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
8067 %r and %R format specifiers which handle fixed-point data.
8068 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
8069 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
8070 function prototypes.
8071
8072 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8073
8074 * Makefile.am: Move cmath stuff into libc/sys/linux.
8075 * Makefile.in: Regenerated.
8076 * configure.host: Default -DMB_CAPABLE for x86-linux.
8077 * libc/include/reent.h: Define _sbrk to take signed int argument.
8078 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
8079 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
8080 make locale name checking more efficient. Also allow "C-ISO-8859-1"
8081 locale for LC_CTYPE and LC_MESSAGES.
8082 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
8083 * libc/sys/linux/brk.c: Change sbrk prototype.
8084 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
8085 include <sys/features.h>.
8086 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
8087 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
8088 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
8089 with a few local additions.
8090 * libc/sys/linux/sys/features.h: New file.
8091 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
8092 to take signed argument.
8093 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
8094 prototypes to take signed size argument.
8095
8096 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8097
8098 * libc/sys/linux/cmath: New directory.
8099 * libc/sys/linux/include/cmathcalls.h: New file.
8100 * libc/sys/linux/include/complex.h: New file.
8101 * libc/sys/linux/machine/i386/huge_val.h: New file
8102 * libm/math/w_sincos.c: New file
8103 * libm/math/wf_sincos.c: New file
8104 * libm/mathfp/s_sincos.c: New file
8105 * libm/mathfp/sf_sincos.c: New file
8106 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
8107 * libc/include/math.h: Add sincos and sincosf declarations.
8108 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
8109 (SUBLIBS): Likewise.
8110 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
8111 * libm/math/Makefile.am (src): Add w_sincos.c.
8112 (fsrc): Add wf_sincos.c.
8113 * libm/mathfp/Makefile.am (src): Add s_sincos.c
8114 (fsrc): Add sf_sincos.c.
8115
8116 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
8117
8118 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
8119 Declare as extern chars and use the address operator to
8120 properly use values set in linker script.
8121
8122 2002-08-09 Jason Tishler <jason@tishler.net>
8123
8124 * libc/stdlib/mallocr.c: Include <limits.h>.
8125 (request2size): Change macro to do
8126 unsigned long comparisons and avoid signed overflow.
8127 (mALLOc): Add overflow check for the number of bytes to allocate.
8128 (rEALLOc): Ditto.
8129
8130 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
8131
8132 * configure.host: Add check for --enable-newlib-io-pos-args
8133 and define WANT_IO_POS_ARGS flag if enabled. Define
8134 the flag by default for x86-linux configurations.
8135 * configure.in: Add support for --enable-newlib-io-pos-args.
8136 * libc/configure.in: Ditto.
8137 * configure: Regenerated.
8138 * libc/configure: Ditto.
8139 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
8140 vfprintf.c and vfiprintf.c.
8141 * libc/stdio/Makefile.in: Regenerated.
8142 * libc/stdio/vfprintf.c: Add positional argument support that
8143 is enabled by compiling with -DWANT_IO_POS_ARGS.
8144
8145 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
8146
8147 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
8148 based on __mips_soft_float rather than __mips64.
8149 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
8150 of both 32-bit and 64-bit code.
8151
8152 2002-08-04 Christopher Faylor <cgf@redhat.com>
8153
8154 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
8155 arguments for popen to match similar functionality in fopen.
8156
8157 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
8158
8159 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
8160
8161 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
8162
8163 * libc/sys/linux/Makefile.am: Add aio64.c.
8164 * libc/sys/linux/Makefile.in: Regenerated.
8165 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
8166 * libc/sys/linux/aio64.c: New file.
8167
8168 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8169
8170 * libc/include/sys/param.h (MAX, MIN): Added macros.
8171 * libc/sys/linux/Makefile.am: Add new files.
8172 * libc/sys/linux/Makefile.in: Regenerated.
8173 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8174 * libc/sys/linux/inode.c (fchdir): Added syscall.
8175 * libc/sys/linux/ftw.c: New file.
8176 * libc/sys/linux/ftw64.c: Ditto.
8177 * libc/sys/linux/getwd.c: Ditto.
8178 * libc/sys/linux/scandir64.c: Ditto.
8179 * libc/sys/linux/strverscmp.c: Ditto.
8180 * libc/sys/linux/versionsort.c: Ditto.
8181 * libc/sys/linux/versionsort64.c: Ditto.
8182
8183 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8184
8185 * libc/string/strings.tex: Fix typo for memccpy.
8186
8187 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8188
8189 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
8190 * libc/sys/linux/sys/types.h (off64_t): Definition added.
8191
8192 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8193
8194 * libc/sys/linux/Makefile.am: Add fclean.c.
8195 * libc/sys/linux/Makefile.in: Regenerated.
8196 * libc/sys/linux/fclean.c: New file.
8197
8198 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8199
8200 * libc/sys/linux/Makefile.am: Add confstr.c.
8201 * libc/sys/linux/Makefile.in: Regenerated.
8202 * libc/sys/linux/confstr.c: New file.
8203 * libc/sys/linux/confstr.h: Ditto.
8204 * libc/sys/linux/sys/unistd.h: Include <features.h> and
8205 <bits/environments.h>.
8206
8207 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8208
8209 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
8210 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
8211 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
8212 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
8213 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
8214 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
8215
8216 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8217
8218 * libc/sys/linux/Makefile.am: Add new files.
8219 * libc/sys/linux/Makefile.in: Regenerated.
8220 * libc/sys/linux/fstab.c: New file.
8221 * libc/sys/linux/fstatvfs.c: Ditto.
8222 * libc/sys/linux/fstatvfs64.c: Ditto.
8223 * libc/sys/linux/internal_statvfs.c: Ditto.
8224 * libc/sys/linux/mntent.c: Ditto.
8225 * libc/sys/linux/mntent_r.c: Ditto.
8226 * libc/sys/linux/statvfs.c: Ditto.
8227 * libc/sys/linux/statvfs64.c: Ditto.
8228 * libc/sys/linux/include/paths.h: Ditto.
8229 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
8230 with double-underscore weak-aliases.
8231 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8232
8233 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8234
8235 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
8236 to use _sig_func_ptr type casted constants.
8237 (_sig_func_ptr): Typedef moved to sys/signal.h.
8238 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
8239 For __rtems, use POSIX definition, otherwise default to ANSI.
8240 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
8241
8242 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
8243
8244 * configure.host: Recognize m6811-elf and m6812-elf targets.
8245 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
8246 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
8247 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
8248 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
8249 according to __INT_MAX__.
8250 (_POINTER_INT): Define to short.
8251 * libc/machine/m68hc11/Makefile.am: New file.
8252 * libc/machine/m68hc11/Makefile.in: New file.
8253 * libc/machine/m68hc11/configure.in: New file.
8254 * libc/machine/m68hc11/configure: New file.
8255 * libc/machine/m68hc11/aclocal.m4: New file.
8256 * libc/machine/m68hc11/setjmp.S: New file.
8257
8258 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8259
8260 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
8261 prototypes.
8262 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
8263 * libc/stdlib/Makefile.in: Regenerated.
8264 * libc/stdlib/strdup.c: Removed.
8265 * libc/stdlib/strdup_r.c: Removed.
8266 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
8267 mempcpy.c, strndup.c, and strndup_r.c.
8268 * libc/string/Makefile.in: Regenerated.
8269 * libc/string/memccpy.c: New file.
8270 * libc/string/mempcpy.c: Ditto.
8271 * libc/string/strndup.c: Ditto.
8272 * libc/string/strndup_r.c: Ditto.
8273 * libc/string/strdup.c: New file moved from stdlib.
8274 * libc/string/strdup_r.c: Ditto.
8275 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
8276
8277 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8278
8279 * libc/include/stdio.h: Move fcloseall prototype within
8280 #ifndef _REENT_ONLY section.
8281 * libc/sys/linux/Makefile.am: Add new files.
8282 * libc/sys/linux/Makefile.in: Regenerated.
8283 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8284 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
8285 * libc/sys/linux/sys/types.h: Add ino64_t type.
8286 * libc/sys/linux/ctermid.c: New file.
8287 * libc/sys/linux/ttyname_r.c: Ditto.
8288 * libc/sys/linux/readdir64.c: Ditto.
8289
8290 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8291
8292 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8293 * libc/stdio/Makefile.am: Added fcloseall.c support.
8294 * libc/stdio/Makefile.in: Regenerated.
8295 * libc/stdio/fcloseall.c: New file.
8296 * libc/stdio64/Makefile.am: Remove missing .def references.
8297 * libc/stdio64/Makefile.in: Regenerated.
8298
8299 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8300
8301 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8302 * libc/machine/powerpc/times.c: New file.
8303 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8304 * libc/machine/powerpc/Makefile.in: Regenerated.
8305
8306 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
8307
8308 * libc/machine/powerpc/time.c: New file.
8309 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8310 time.c.
8311 * libc/machine/powerpc/Makefile.in: Regenerated.
8312
8313 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8314
8315 * libc/libc.texinfo: Change copyright notices to Red Hat from
8316 Cygnus.
8317 * libm/libm.texinfo: Likewise.
8318 * README: Change docs URL to
8319 http://sources.redhat.com/newlib/docs.html.
8320
8321 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8322
8323 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8324 * libc/sys/linux/Makefile.in: Regenerated.
8325 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8326 * libc/sys/linux/io.c: Add ftruncate syscall.
8327 * libc/sys/linux/fpathconf.c: New file.
8328 * libc/sys/linux/pathconf.c: Ditto.
8329 * libc/sys/linux/linux_fsinfo.h: Ditto.
8330 * libc/sys/linux/sys/unistd.h: Ditto.
8331
8332 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8333
8334 * libc/stdio64/Makefile.am: Remove missing files.
8335 * libc/stdio64/Makefile.in: Regenerated.
8336
8337 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8338
8339 * libc/include/sys/config.h[__i386__][__linux__]: Define
8340 _LARGE64FILE_SOURCE to 1.
8341 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8342 * libc/sys/linux/Makefile.in: Regenerated.
8343 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8344 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8345 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8346 of <linux/resource.h>.
8347 * libc/sys/linux/getrlimit64.c: New file.
8348 * libc/sys/linux/setrlimit64.c: Ditto.
8349
8350 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8351
8352 * libc/argz/argz_replace.c: Include buf_findstr.h.
8353 * libc/argz/buf_findstr.c: Likewise.
8354 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8355 value to (char *).
8356 * libc/argz/envz_get.c: Likewise.
8357 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8358 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8359 * libc/stdlib/getsubopt.3: New file.
8360 * libc/stdlib/getsubopt.c: New file.
8361 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8362 Change esp to ebp.
8363
8364 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
8365
8366 * configure.host(stdio64_dir): New setting that is used to
8367 enable building of new stdio64 directory.
8368 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
8369 large files.
8370 (stmp-stdio64,stdio64.texi): New targets to optionally add in
8371 stdio64 info to info files.
8372 * libc/Makefile.in: Regenerated.
8373 * libc/configure: Ditto.
8374 * libc/configure.in: Add configuration variables that are set
8375 when stdio64 is selected as subdir in configure.host.
8376 * libc/libc.texinfo: Add optional menu item for Stdio64, based
8377 on whether STDIO64 flag is set or not.
8378 * libc/sys.tex: Add optional stdio64 syscalls based on whether
8379 STDIO64 flag is set or not.
8380 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
8381 _r sycall routines.
8382 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
8383 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
8384 (__SL64): New file flag indicating file is opened via fopen64.
8385 * libc/include/sys/_types.h(_off64_t): Added.
8386 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
8387 * libc/include/sys/reent.h(struct __sFILE64): New file structure
8388 for 64-bit offset large file support.
8389 (__FILE): New intermediate type either set to struct __sFILE64 or
8390 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
8391 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
8392 * libc/reent/Makefile.in: Regenerated.
8393 * libc/reent/fstat64r.c: New file.
8394 * libc/reent/lseek64r.c: Ditto.
8395 * libc/reent/open64r.c: Ditto.
8396 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
8397 based on whether STDIO64 flag is set.
8398 * libc/stdio/stdio.tex: Add blank line.
8399 * libc/stdio64/Makefile.am: New file.
8400 * libc/stdio64/Makefile.in: Ditto.
8401 * libc/stdio64/fgetpos64.c: Ditto.
8402 * libc/stdio64/fopen64.: Ditto.
8403 * libc/stdio64/freopen64.c: Ditto.
8404 * libc/stdio64/fseeko64.c: Ditto.
8405 * libc/stdio64/fsetpos64.c: Ditto.
8406 * libc/stdio64/ftello64.c: Ditto.
8407 * libc/stdio64/local64.h: Ditto.
8408 * libc/stdio64/stdio64.c: Ditto.
8409 * libc/stdio64/stdio64.tex: Ditto.
8410 * libc/stdio64/tmpfile64.c: Ditto.
8411 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
8412 open64.
8413
8414 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
8415
8416 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
8417 if LIBC_EXTRA_LIB is present.
8418 * libc/Makefile.in: Regenerated.
8419 * libc/libc.texinfo: Add blank line.
8420 * libc/argz/Makefile.am: Add doc support.
8421 * libc/search/Makefile.am: Ditto.
8422 * libc/argz/Makefile.in: Regenerated.
8423 * libc/search/Makefile.in: Ditto.
8424 * libc/misc/misc.tex: Add ffs function.
8425 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
8426
8427 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8428
8429 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
8430 definition that was removed in error.
8431
8432 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8433
8434 * libc/include/machine/ieeefp.h: Change to only define
8435 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
8436 __IEEE_LITTLE_ENDIAN must be defined for each platform).
8437 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
8438 remove redundant floating point definitions.
8439
8440 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8441
8442 * libc/sys/linux/callocr.c: Fix so code references
8443 calloc.
8444
8445 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8446
8447 * libc/sys/linux/Makefile.am: Add new files.
8448 * libc/sys/linux/Makefile.in: Regenerated.
8449 * libc/sys/linux/bp-sym.h: Moved to include directory.
8450 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
8451 * libc/sys/linux/inode.c: Set _LIBC to 1.
8452 * libc/sys/linux/mq_close.c: Ditto.
8453 * libc/sys/linux/mq_getattr.c: Ditto.
8454 * libc/sys/linux/mq_open.c: Ditto.
8455 * libc/sys/linux/mq_receive.c: Ditto.
8456 * libc/sys/linux/mq_send.c: Ditto.
8457 * libc/sys/linux/mq_setattr.c: Ditto.
8458 * libc/sys/linux/mq_unlink.c: Ditto.
8459 * libc/sys/linux/calloc.c: New file.
8460 * libc/sys/linux/callocr.c: Ditto.
8461 * libc/sys/linux/cfreer.c: Ditto.
8462 * libc/sys/linux/config.h: Ditto.
8463 * libc/sys/linux/free.c: Ditto.
8464 * libc/sys/linux/freer.c: Ditto.
8465 * libc/sys/linux/msize.c: Ditto.
8466 * libc/sys/linux/msizer.c: Ditto.
8467 * libc/sys/linux/mstats.c: Ditto.
8468 * libc/sys/linux/mtrim.c: Ditto.
8469 * libc/sys/linux/mtrimr.c: Ditto.
8470 * libc/sys/linux/pvallocr.c: Ditto.
8471 * libc/sys/linux/realloc.c: Ditto.
8472 * libc/sys/linux/reallocr.c: Ditto.
8473 * libc/sys/linux/thread-m.h: Ditto.
8474 * libc/sys/linux/vallocr.c: Ditto.
8475 * libc/sys/linux/bp-checks.h: Ditto.
8476 * libc/sys/linux/libc-symbols.h: Ditto.
8477 * libc/sys/linux/libc-tsd.h: Ditto.
8478 * libc/sys/linux/libintl.h: Ditto.
8479 * libc/sys/linux/malign.c: Ditto.
8480 * libc/sys/linux/malignr.c: Ditto.
8481 * libc/sys/linux/mallinfor.c: Ditto.
8482 * libc/sys/linux/malloc.c: Ditto.
8483 * libc/sys/linux/mallocr.c: Ditto.
8484 * libc/sys/linux/malloptr.c: Ditto.
8485 * libc/sys/linux/mallstatsr.c: Ditto.
8486 * libc/sys/linux/mcheck.c: Ditto.
8487 * libc/sys/linux/mhooks.h: Ditto.
8488 * libc/sys/linux/include/bp-sym.h: Ditto.
8489 * libc/sys/linux/include/malloc.h: Ditto.
8490 * libc/sys/linux/include/mcheck.h: Ditto.
8491 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
8492 getpagesize.c.
8493 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
8494 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
8495 * libc/sys/linux/machine/i386/getpagesize.c: New file.
8496 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
8497 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8498 * libc/sys/linux/machine/i386/sysdep.h: New file.
8499 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
8500 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
8501 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
8502
8503 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
8504
8505 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
8506 instead of <asm/siginfo.h>.
8507 * libc/sys/linux/sys/signal.h: Change to include various linux
8508 <bits/xxx.h> header files, rather than <linux/signal.h> so as
8509 to work with multiple releases of glibc header files.
8510
8511 2002-07-11 Chris Demetriou <cgd@broadcom.com>
8512
8513 * testsuite/newlib.search/hsearchtest.c: New file to test
8514 newlib/libc/search.
8515 * testsuite/newlib.search/hsearchtest.exp: Likewise.
8516
8517 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
8518
8519 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
8520 a terminal.
8521 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
8522
8523 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
8524
8525 * libc/include/math.h (MAXFLOAT): Added.
8526
8527 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
8528
8529 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
8530 Make strcmp.S unconditional.
8531 * libc/machine/sh/Makefile.in: Regenerate.
8532 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
8533 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
8534 for SHcompact.
8535
8536 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8537
8538 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
8539 define before including <sys/lock.h>.
8540
8541 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8542
8543 * libc/include/utime.h: Add include of <_ansi.h>.
8544 * libc/sys/linux/Makefile.am: Add utimes.c.
8545 * libc/sys/linux/Makefile.in: Regenerated.
8546 * libc/sys/linux/inode.c(__umask): New static routine.
8547 (umask): Written to use __umask and attempt to thread lock.
8548 (getumask): New function written to use __umask and thread lock.
8549 * libc/sys/linux/utimes.c: New file.
8550 * libc/sys/linux/sys/time.h: Fix utimes prototype.
8551 * libc/sys/linux/sys/utime.h: New file.
8552
8553 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8554
8555 * libtool.m4: New file.
8556 * libc/sys/linux/process.c: Implement vfork in terms of fork,
8557 rather than as a syscall.
8558
8559 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8560
8561 * libc/include/stdio.h: Add new prototypes.
8562 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
8563 * libc/stdio/Makefile.in: Regenerated.
8564 * libc/stdio/fseek.c: Add fseeko documentation.
8565 * libc/stdio/ftell.c: Add ftello documentation.
8566 * libc/stdio/fseeko.c: New file.
8567 * libc/stdio/ftello.c: New file.
8568
8569 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8570
8571 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
8572 * libc/stdio/Makefile.in: Regenerated.
8573 * libc/stdio/asprintf.c: New file.
8574 * libc/stdio/vasprintf.c: Ditto.
8575 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
8576 the buffer for asprintf support.
8577 * libc/stdio/sprintf.c: Add asprintf documentation.
8578 * libc/stdio/vfprintf.c: Add vasprintf documentation.
8579 * libc/include/stdio.h: Add new prototypes.
8580
8581 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
8582
8583 * libc/search/hcreate.c: Remove advertising clause from license.
8584 * libc/search/hcreate_r.c: Likewise.
8585
8586 2002-07-02 Chris Demetriou <cgd@broadcom.com>
8587
8588 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
8589 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
8590 Check that one of them is defined and error out if not.
8591 Add any platforms defined in <machine/ieeefp.h> that are missing.
8592 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
8593 (DB_LITTLE_ENDIAN): New defines.
8594 * libc/search/hash.c: Replace all incorrect checks for
8595 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
8596 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
8597 * libc/search/hash_page.c: Likewise.
8598
8599 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8600
8601 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
8602
8603 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
8604
8605 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
8606 * libc/include/time.h: Same.
8607 * libc/include/string.h: Same.
8608 * libc/include/stdlib.h: Same.
8609 * libc/include/signal.h: Same.
8610 * libc/include/setjmp.h: Same.
8611 * libc/include/math.h: Same.
8612 * libc/include/locale.h: Same.
8613 * libc/include/ctype.h: Same.
8614 * libc/include/machine/setjmp.h: Same.
8615 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
8616 (_END_STD_C): Add.
8617
8618 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8619
8620 * libc/include/sys/_types.h: Define _ssize_t as int if int is
8621 32-bits, otherwise define it as long.
8622 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
8623 and define ssize_t as _ssize_t.
8624 * libc/reent/readr.c: Change return type to _ssize_t.
8625 * libc/reent/writer.c: Ditto.
8626 * libc/sys/linux/Makefile.am: Add aio.c.
8627 * libc/sys/linux/Makefile.in: Regenerated.
8628 * libc/sys/linux/aio.c: New file.
8629 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
8630 * libm/common/fdlibm.h: Undef __P before defining it.
8631
8632 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8633
8634 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
8635 exponent_is_even_int variable. Handle case where x is
8636 negative, and y is an odd integer.
8637 * libm/mathfp/sf_pow.c (powf): Likewise.
8638
8639 * libm/mathfp/er_lgamma.c: Remove __kernel references.
8640 * libm/mathfp/erf_lgamma.c: Likewise.
8641 * libm/mathfp/s_tgamma.c: Likewise.
8642 * libm/mathfp/sf_tgamma.c: Likewise.
8643
8644 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8645
8646 * libc/sys/linux/Makefile.am: Add new clock routines.
8647 * libc/sys/linux/Makefile.in: Regenerated.
8648 * libc/sys/linux/clock_getres.c: New file.
8649 * libc/sys/linux/clock_gettime.c: Ditto.
8650 * libc/sys/linux/clock_settime.c: Ditto.
8651 * libc/sys/linux/hp-timing.h: Ditto.
8652 * libc/sys/linux/libc-internal.h: Ditto.
8653 * libc/sys/linux/sysconf.c: Fix typo.
8654 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
8655 * libc/sys/linux/machine/hp-timing.h: New file.
8656 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
8657 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8658 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
8659 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
8660 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
8661 * libc/sys/linux/sys/linux_time.h: New file.
8662 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
8663 replace with <sys/linux_time.h>.
8664
8665 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
8666
8667 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8668
8669 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8670
8671 * libc/sys/linux/Makefile.am: Consolidate additional items under
8672 ADD_OBJS.
8673 * libc/sys/linux/Makefile.in: Regenerated.
8674
8675 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8676
8677 * libc/sys/linux/sethostname.c: New file.
8678 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8679 * libc/sys/linux/Makefile.in: Regenerated.
8680
8681 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8682
8683 * libc/search/db_local.h: New file.
8684 * libc/include/db.h: Remove.
8685 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8686 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8687 "db_local.h".
8688 * libc/search/hash_bigkey.c: Likewise.
8689 * libc/search/hash_buf.c: Likewise.
8690 * libc/search/hash_func.c: Likewise.
8691 * libc/search/hash_log2.c: Likewise.
8692 * libc/search/hash_page.c: Likewise.
8693
8694 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
8695
8696 * libc/machine/sh/strlen.S: New file.
8697 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8698 * libc/machine/sh/Makefile.am: Regenerate.
8699
8700 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8701
8702 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8703 add gethostname alias.
8704
8705 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8706
8707 * libc/include/math.h: Remove <sys/types.h>.
8708 (__dmath): Use __ULong instead of __uint32_t.
8709 * libc/include/sys/reent.h: If long or int is not 32-bits,
8710 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
8711 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8712 * libm/common/fdlibm.h: Ditto.
8713
8714 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8715
8716 * libc/include/ndbm.h: Remove.
8717 * libc/search/ndbm.c: Remove.
8718
8719 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8720
8721 * libc/stdio/fseek.c (fseek): Fix braces.
8722
8723 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
8724
8725 * libc/time/strftime.c (strftime): Add %e format specifier.
8726
8727 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8728
8729 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8730 previously defined.
8731
8732 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
8733
8734 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8735 (BYTE_ORDER): Define as appropriate for the target.
8736
8737 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8738
8739 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8740 to _ssize_t.
8741 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8742
8743 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8744
8745 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8746 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8747 [HAVE_GETDATE](getdate_err): New error code.
8748 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8749 * libc/stdio/Makefile.in: Regenerated.
8750 * libc/stdio/getdelim.c: New file.
8751 * libc/stdio/getline.c: Ditto.
8752 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8753 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8754 * libc/sys/linux/Makefile.in: Regenerated.
8755 * libc/sys/linux/getdate.c: New file.
8756 * libc/sys/linux/getdate_err.c: Ditto.
8757 * libc/sys/linux/ntp_gettime.c: Ditto.
8758 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8759 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8760
8761 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8762
8763 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8764 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8765 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8766 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8767 * libc/include/sys/param.h: Remove i386 case which is handled
8768 by default case.
8769 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8770 definitions in case they are already defined.
8771 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8772 _IEEE_LITTLE_ENDIAN flags.
8773 * libc/include/sys/reent.h: Change __uint32_t references to
8774 use _ULong instead.
8775 (_REENT_GETDATE_REENT_P): New macro.
8776 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8777 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8778 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8779 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8780 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8781 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8782 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8783 definitions which are done by subsequent glibc headers.
8784 Add macro definitions to prevent subsequent header files from
8785 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8786 intptr_t to after glibc definitions of types they are based on.
8787
8788 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8789
8790 * libc/include/errno.h: Protect from multiple inclusion.
8791
8792 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8793
8794 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8795
8796 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8797
8798 * Makefile.am (LIB_OBJECTLISTS): Add
8799 libc/search/objectlist.awk.in.
8800 * libc/Makefile.am (SUBDIRS): Add search.
8801 (SUBLIBS): Add search/libsearch.la.
8802 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8803 * libc/search: New directory.
8804 * libc/search/Makefile.am: New file.
8805 * libc/search/extern.h: New file.
8806 * libc/search/hash.c: New file.
8807 * libc/search/hash.h: New file.
8808 * libc/search/hash_bigkey.c: New file.
8809 * libc/search/hash_buf.c: New file.
8810 * libc/search/hash_func.c: New file.
8811 * libc/search/hash_log2.c: New file.
8812 * libc/search/hash_page.c: New file.
8813 * libc/search/hcreate.3: New file.
8814 * libc/search/hcreate.c: New file.
8815 * libc/search/hcreate_r.c: New file.
8816 * libc/search/ndbm.c: New file.
8817 * libc/search/page.h: New file.
8818 * libc/search/tdelete.c: New file.
8819 * libc/search/tdestroy.c: New file.
8820 * libc/search/tfind.c: New file.
8821 * libc/search/tsearch.3: New file.
8822 * libc/search/tsearch.c: New file.
8823 * libc/search/twalk.c: New file.
8824 * libc/include/db.h: New file.
8825 * libc/include/ndbm.h: New file.
8826 * libc/include/search.h: New file.
8827 * libc/include/sys/queue.h: New file.
8828 * libc/include/sys/cdefs.h: New file.
8829 * libc/include/sys/param.h
8830 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8831 LITTLE_ENDIAN or BIG_ENDIAN.
8832 * libc/include/sys/errno.h (EFTYPE): New macro.
8833 * libc/search/bsearch.c: Move from libc/stdlib.
8834 * libc/search/qsort.c: Likewise.
8835 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8836 qsort.c.
8837 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8838 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8839
8840 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8841
8842 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8843 ipc routines, and ftok.
8844 * libc/sys/linux/Makefile.in: Regenerated.
8845 * libc/sys/linux/ftok.c: New file.
8846 * libc/sys/linux/ipc.c: Ditto.
8847 * libc/sys/linux/mq_close.c: Ditto.
8848 * libc/sys/linux/mq_getattr.c: Ditto.
8849 * libc/sys/linux/mq_notify.c: Ditto.
8850 * libc/sys/linux/mq_open.c: Ditto.
8851 * libc/sys/linux/mq_receive.c: Ditto.
8852 * libc/sys/linux/mq_send.c: Ditto.
8853 * libc/sys/linux/mq_setattr.c: Ditto.
8854 * libc/sys/linux/mq_unlink.c: Ditto.
8855 * libc/sys/linux/mqlocal.h: Ditto.
8856 * libc/sys/linux/include/mqueue.h: Ditto.
8857 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8858 __uid_t_defined.
8859
8860 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8861
8862 * libm/common/sf_lround.c (round): Change name to: (lround).
8863 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8864 remquof.
8865
8866 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8867
8868 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8869 procedure.
8870 (newlib_pass_fail): Change to compile and run only one file.
8871 * testsuite/newlib.locale/locale.exp: Use new
8872 newlib_pass_fail_all procedure.
8873 * testsuite/newlib.string/string.exp: Likewise.
8874
8875 2002-06-18 Dave Brolley <brolley@redhat.com>
8876
8877 From Catherine Moore, Michael Meissner, Richard Sandiford:
8878 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8879 (_JBTYPE): Ditto.
8880 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8881 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8882 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8883 * configure.host: Support frv-*-*.
8884 * libc/machine/frv/Makefile.am: New file.
8885 * libc/machine/frv/configure.in: New file.
8886 * libc/machine/frv/setjmp.S: New file.
8887
8888 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8889
8890 * libc/include/ctype.h: Remove isblank macro.
8891
8892 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8893 * libc/ctype/isblank.c: New file.
8894 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8895 declaration. Add isblank macro.
8896
8897 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8898
8899 * testsuite/newlib.stdlib/atexit.c: New file.
8900 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8901 * testsuite/newlib.string/tstring.c: Change default start size
8902 to something more reasonable for embedded platforms.
8903
8904 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8905
8906 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8907
8908 * libc/argz: New directory.
8909 * libc/argz/*: New files.
8910 * libc/argz/argz_add.c: New file.
8911 * libc/argz/argz_add_sep.c: New file.
8912 * libc/argz/argz_append.c: New file.
8913 * libc/argz/argz_count.c: New file.
8914 * libc/argz/argz_create.c: New file.
8915 * libc/argz/argz_create_sep.c: New file.
8916 * libc/argz/argz_delete.c: New file.
8917 * libc/argz/argz_extract.c: New file.
8918 * libc/argz/argz_insert.c: New file.
8919 * libc/argz/argz_next.c: New file.
8920 * libc/argz/argz_replace.c: New file.
8921 * libc/argz/argz_stringify.c: New file.
8922 * libc/argz/buf_findstr.c: New file.
8923 * libc/argz/envz_add.c: New file.
8924 * libc/argz/envz_entry.c: New file.
8925 * libc/argz/envz_get.c: New file.
8926 * libc/argz/envz_merge.c: New file.
8927 * libc/argz/envz_remove.c: New file.
8928 * libc/argz/envz_strip.c: New file.
8929 * libc/include/argz.h: New file.
8930 * libc/include/envz.h: New file.
8931 * Makefile.am (LIBC_OBJECTLISTS): Add
8932 libc/argz/objectlist.awk.in.
8933 * libc/Makefile.am (SUBDIRS): Add argz.
8934 (SUBLIBS): Add argz/libargz.la.
8935 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
8936 * libc/include/errno.h: Add error_t typedef.
8937
8938 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
8939
8940 * libc/include/stdlib.h: Add _Exit prototype.
8941 * libc/stdlib/Makefile.am: Add _Exit.c support.
8942 * libc/stdlib/Makefile.in: Ditto.
8943 * libc/stdlib/_Exit.c: New file.
8944
8945 2002-06-13 Stephen L. Moshier <steve@moshier.net>
8946
8947 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
8948 x is close to -1.0 and y is very large to use ax (absolute value)
8949 instead of x.
8950 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
8951
8952 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
8953
8954 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
8955 Fix clobbering bytes before destination if src and dst have same
8956 non-zero misalignment.
8957
8958 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8959 Fixed bug in writing end of set region.
8960
8961 2002-06-10 Christopher Faylor <cgf@redhat.com>
8962
8963 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8964 spawnve declaration.
8965
8966 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8967
8968 * libm/common/s_fdim.c: New file.
8969 * libm/common/s_fma.c: Likewise.
8970 * libm/common/s_fmax.c: Likewise.
8971 * libm/common/s_fmin.c: Likewise.
8972 * libm/common/s_fpclassify.c: Likewise.
8973 * libm/common/s_lrint.c: Likewise.
8974 * libm/common/s_lround.c: Likewise.
8975 * libm/common/s_nearbyint.c: Likewise.
8976 * libm/common/s_remquo.c: Likewise.
8977 * libm/common/s_round.c: Likewise.
8978 * libm/common/s_scalbln.c: Likewise.
8979 * libm/common/s_signbit.c: Likewise.
8980 * libm/common/s_trunc.c: Likewise.
8981 * libm/common/sf_fdim.c: Likewise.
8982 * libm/common/sf_fma.c: Likewise.
8983 * libm/common/sf_fmax.c: Likewise.
8984 * libm/common/sf_fmin.c: Likewise.
8985 * libm/common/sf_lrint.c: Likewise.
8986 * libm/common/sf_lround.c: Likewise.
8987 * libm/common/sf_nearbyint.c: Likewise.
8988 * libm/common/sf_remquo.c: Likewise.
8989 * libm/common/sf_round.c: Likewise.
8990 * libm/common/sf_scalbln.c: Likewise.
8991 * libm/common/sf_trunc.c: Likewise.
8992 * libm/math/w_exp2.c: Likewise.
8993 * libm/math/w_tgamma.c: Likewise.
8994 * libm/math/wf_exp2.c: Likewise.
8995 * libm/math/wf_tgamma.c: Likewise.
8996 * libm/mathfp/s_exp2.c: Likewise.
8997 * libm/mathfp/s_tgamma.c: Likewise.
8998 * libm/mathfp/sf_exp2.c: Likewise.
8999 * libm/mathfp/sf_tgamma.c: Likewise.
9000 * libm/math/er_gamma.c: Fix return value.
9001 * libm/math/erf_gamma.c: Likewise.
9002 * libm/mathfp/er_gamma.c: Likewise.
9003 * libm/mathfp/erf_gamma.c: Likewise.
9004 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
9005 declarations and macros.
9006 Regenerated all Makefile.in, aclocal.m4 and configure files to
9007 use new libtool macros in top-level libtool.m4
9008
9009 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
9010
9011 * libc/include/string.h[__linux__]: Add strsignal prototype.
9012 * libc/include/sys/lock.h: New file with default locking support.
9013 * libc/include/sys/reent.h: Add signal buffer support for strsignal
9014 and psignal.
9015 * libc/posix/Makefile.am: Add support for readdir_r.c.
9016 * libc/posix/Makefile.in: Regenerated.
9017 * libc/posix/closedir.c: Add locking support and hash table cleanup.
9018 * libc/posix/opendir.c: Add lock support.
9019 * libc/posix/readdir.c: Ditto.
9020 * libc/posix/rewinddir.c: Ditto.
9021 * libc/posix/scandir.c: Ditto.
9022 * libc/posix/seekdir.c: Ditto.
9023 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
9024 clean up leftover hash table entries.
9025 * libc/posix/readdir_r.c: New file.
9026 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
9027 * libc/sys/linux/Makefile.in: Regenerated.
9028 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
9029 * libc/sys/linux/sys/signal.h: Add psignal prototype.
9030 * libc/sys/linux/psignal.c: New file.
9031 * libc/sys/linux/strsignal.c: Ditto.
9032
9033 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
9034
9035 * libc/include/sys/types.h: Don't define dev_t when compiling for
9036 Cygwin.
9037
9038 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
9039
9040 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
9041 make siglist.inc dependent on sig.c instead of signal.c.
9042 * libc/sys/linux/Makefile.in: Regenerated.
9043 * libc/sys/linux/sig.c: Rename from signal.c and change code to
9044 use NSIG instead of _NSIG.
9045 * libc/sys/linux/sigaction.c: New file.
9046 * libc/sys/linux/signal.c: Changed to be linux signal() function
9047 so as to override regular newlib default signal.c.
9048 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
9049 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9050 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
9051 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
9052 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
9053 default linux sigset_t typedef by defining it equal to __sigset_t.
9054 * libc/unix/sigset.c: Add check so code isn't compiled on systems
9055 with a sigset_t that isn't implemented with a single int.
9056
9057 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
9058
9059 * libc/sys/linux/Makefile.am: Add support for new files.
9060 * libc/sys/linux/Makefile.in: Regenerated.
9061 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
9062 * libc/sys/linux/signal.c: Change to use real-time syscalls for
9063 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
9064 it is in a separate file now.
9065 * libc/sys/linux/machine/i386/Makefile.am
9066 * libc/sys/linux/machine/i386/Makefile.in
9067 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
9068 * libc/sys/linux/sigaction.c: New file.
9069 * libc/sys/linux/sigqueue.c: Ditto.
9070 * libc/sys/linux/sigwait.c: Ditto.
9071 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
9072 * libc/sys/linux/kernel_sigaction.h: Ditto.
9073
9074 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
9075
9076 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
9077 tcsendbrk.c.
9078 * libc/sys/linux/Makefile.in: Regenerated.
9079 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
9080 tcgetpgrp(), and tcsetpgrp() functions.
9081 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
9082 to get __MAX_BAUD rate.
9083 * libc/sys/linux/machine/i386/include/termios.h: New file.
9084 * libc/include/machine/termios.h: Ditto.
9085 * libc/sys/linux/cfspeed.c: Ditto.
9086 * libc/sys/linux/tcsendbrk.c: Ditto.
9087
9088 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
9089
9090 * libc/include/string.h: Add strnlen and strerror_r prototypes.
9091 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
9092 * libc/string/Makefile.in: Regenerated.
9093 * libc/string/strerror_r.c: New file.
9094 * libc/string/strnlen.c: New file.
9095 * libc/sys/linux/Makefile.am: Add rename.c.
9096 * libc/sys/linux/Makefile.in: Regenerated.
9097 * libc/sys/linux/rename.c: New file to override default rename.
9098
9099 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9100
9101 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
9102 * libc/sys/linux/sys/time.h: Add conversion macros.
9103 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
9104 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
9105 * libc/sys/linux/gethostname.c: New file.
9106 * libc/sys/linux/seteuid.c: New file.
9107 * libc/sys/linux/sysctl.c: New file.
9108
9109 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9110
9111 * libc/string/Makefile.am: Add support for strsep.c.
9112 * libc/string/Makefile.in: Regenerated.
9113 * libc/string/strsep.c: New file.
9114 * libc/string/strtok.c: Change to call __strtok_r service routine.
9115 * libc/string/strtok_r.c: Add __strtok_r routine which takes
9116 additional flag parameter regarding whether to skip leading delimeters.
9117 Change strtok_r to call __strtok_r.
9118
9119 2002-05-23 Gareth Pearce <tilps@hotmail.com>
9120
9121 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
9122 * libc/stdio/Makefile.in: Regenerated.
9123 * libc/stdio/setbuffer.c: New file.
9124 * libc/stdio/setlinebuf.c: New file.
9125
9126 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9127
9128 * libc/sys/linux/Makefile.am: Add resource.c.
9129 * libc/sys/linux/Makefile.in: Regenerated.
9130 * libc/sys/linux/resource.c: New file.
9131 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
9132 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
9133 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9134 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
9135 are now found in libc/sys/linux/resource.c.
9136
9137 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9138
9139 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
9140 to use void * pointers and comply with Single Unix spec.
9141 * libc/string/bcmp.c: Change to use void * instead of char *.
9142 * libc/string/bcopy.c: Ditto.
9143 * libc/string/bzero.c: Ditto.
9144
9145 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9146
9147 * libc/sys/linux/shm_open.c: New file.
9148 * libc/sys/linux/shm_unlink.c: Ditto.
9149 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
9150 shm_unlink.c.
9151 * libc/sys/linux/Makefile.in: Regenerated.
9152 * libc/sys/linux/sys/types.h: Add some additional checks to see
9153 if clock_t or time_t is already defined.
9154
9155 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9156
9157 * Makefile.am: Don't pass $toollibdir down directly in
9158 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
9159 Pass it under the name: top_toollibdir.
9160 * Makefile.in: Regenerated.
9161
9162 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
9163
9164 * libc/include/sys/types.h: Revert previous patch.
9165
9166 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
9167
9168 * libc/include/sys/types.h: Include cygwin/types.h always under
9169 Cygwin, not only if _POSIX_THREADS is defined.
9170
9171 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
9172
9173 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
9174
9175 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
9176
9177 * Makefile.am: Copy and install headers from sys/machine/include
9178 directory. Also pass $toollibdir to lower-level directories.
9179 * Makefile.in: Regenerated.
9180 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
9181 stderr to use _REENT macro instead of _impure_ptr directly.
9182 * libc/include/sys/config.h[__i386__][__linux__]: Define
9183 __DYNAMIC_REENT__.
9184 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
9185 call to __getreent() function if !__SINGLE_THREAD__ and
9186 __DYNAMIC_REENT__ is set.
9187 * libc/reent/Makefile.am: Add support for getreent.c.
9188 * libc/reent/Makefile.in: Regenerated.
9189 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
9190 * libc/sys/linux/Makefile.am: Add support for new files.
9191 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
9192 * libc/sys/linux/Makefile.in: Regenerated.
9193 * libc/sys/linux/configure: Ditto.
9194 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
9195 __close, __read, __write, __poll, __open, __lseek, __fcntl from
9196 their __libc_ counterparts.
9197 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
9198 and weak-alias to regular names.
9199 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
9200 to pread64 and __pread64.
9201 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
9202 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
9203 weak-alias to pwrite64.
9204 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
9205 __libc_sched_getscheduler, __libc_sched_get_priority_max,
9206 __libc_sched_get_priority_min, and __libc_sched_setschedule to
9207 name with __ instead of __libc_.
9208 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
9209 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
9210 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
9211 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
9212 to raise.
9213 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
9214 __libc_send to __send.
9215 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
9216 __gettimeofday.
9217 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
9218 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
9219 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
9220 type and typedef __jmp_buf to jmp_buf.
9221 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
9222 setjmp.S.
9223 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9224 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
9225 section.
9226 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
9227 prefix for function macros and then use weak_alias() to regular names.
9228 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9229 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
9230 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
9231 to be flockfile() and funlockfile() respectively.
9232 * libc/sys/linux/sys/types.h
9233 * libc/reent/getreent.c: New file.
9234 * libc/sys/linux/flockfile.c: Ditto.
9235 * libc/sys/linux/funlockfile.c: Ditto.
9236 * libc/sys/linux/getreent.c: Ditto.
9237 * libc/sys/linux/pread.c: Ditto.
9238 * libc/sys/linux/pwrite.c: Ditto.
9239 * libc/sys/linux/raise.c: Ditto.
9240 * libc/sys/linux/system.c: Ditto.
9241 * libc/sys/linux/tcdrain.c: Ditto.
9242 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
9243 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
9244 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
9245 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
9246 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
9247
9248 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
9249
9250 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
9251 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
9252 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
9253 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
9254
9255 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
9256
9257 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
9258 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
9259 exit point.
9260
9261 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9262
9263 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
9264 options when testing natively on i[3456]86-*-linux.
9265
9266 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
9267 only one pass or fail per test file. Trim \r's from output
9268 values received from test programs. Remove support for named
9269 tests.
9270 * testsuite/newlib.locale/UTF-8.exp: Update to support new
9271 newlib_check_output behaviour.
9272 * testsuite/newlib.locale/UTF-8.c: Likewise.
9273
9274 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
9275
9276 * libc/include/stdlib.h: Add on_exit prototype.
9277 * libc/include/sys/reent.h (struct _atexit): Add argument array
9278 and bits to track type of exit routine to support both on_exit
9279 and atexit.
9280 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
9281 by default and change the setting of the atexit structure.
9282 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9283 * libc/stdlib/on_exit.c: New file.
9284 * libc/stdlib/Makefile.am: Add support for on_exit.
9285 * libc/stdlib/Makefile.in: Regenerated.
9286 * libc/stdlib/atexit.c: Change to initialize types field.
9287 * libc/stdlib/exit.c: Change to look at types field for each
9288 exit routine and either call an atexit-style or an on_exit-style
9289 routine accordingly.
9290
9291 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9292
9293 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9294 allow v specifier with n or L specifiers. For vector c format,
9295 move tmp declaration to the top.
9296
9297 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9298
9299 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9300 the original format specifier when looping for vectors to compensate
9301 for any changes made in vector %g format processing.
9302 Also add syntax checking for various invalid scenarios
9303 involving vector format extensions.
9304 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9305 return code setting for vector formats. Also treat vector
9306 separator mismatch as a match error instead of an input error.
9307 Perform some syntax checking for vector formats.
9308
9309 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9310
9311 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9312 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9313 * libc/string/strlcat.c: New file.
9314 * libc/string/strlcpy.c: New file.
9315
9316 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9317
9318 * libc/string/strchr.c: Fix comment typo.
9319
9320 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9321
9322 * acinclude.m4: Add support for --enable-newlib-multithread.
9323 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9324 --enable-newlib-multithread=no.
9325
9326 * libc/stdio/getc_u.c: New file.
9327 * libc/stdio/getchar_u.c: New file.
9328 * libc/stdio/putc_u.c: New file.
9329 * libc/stdio/putchar_u.c: New file.
9330 * libc/include/stdio.h: Add declarations for getc_unlocked,
9331 getchar_unlocked, putc_unlocked and putchar_unlocked.
9332 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9333 (CHEWOUT_FILES): Add new files' .def's.
9334 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9335
9336 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9337
9338 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9339 Also handle as single quad word when destination ends at last
9340 byte of first quad word. Fix byte selection in single quad code.
9341
9342 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9343
9344 * libc/include/sys/stdio.h: New file.
9345 * libc/sys/linux/sys/stdio.h: New file.
9346 * libc/include/stdio.h: Add declarations for flockfile,
9347 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9348 * libc/stdio/clearerr.c: Add file locking.
9349 * libc/stdio/fclose.c: Likewise.
9350 * libc/stdio/feof.c: Likewise.
9351 * libc/stdio/ferror.c: Likewise.
9352 * libc/stdio/fflush.c: Likewise.
9353 * libc/stdio/fgetc.c: Likewise.
9354 * libc/stdio/fgetpos.c: Likewise.
9355 * libc/stdio/fgets.c: Likewise.
9356 * libc/stdio/fileno.c: Likewise.
9357 * libc/stdio/fputc.c: Likewise.
9358 * libc/stdio/fputs.c: Likewise.
9359 * libc/stdio/fread.c: Likewise.
9360 * libc/stdio/freopen.c: Likewise.
9361 * libc/stdio/fseek.c: Likewise.
9362 * libc/stdio/ftell.c: Likewise.
9363 * libc/stdio/fwrite.c: Likewise.
9364 * libc/stdio/getc.c: Likewise.
9365 * libc/stdio/putc.c: Likewise.
9366 * libc/stdio/setvbuf.c: Likewise.
9367 * libc/stdio/ungetc.c: Likewise.
9368 * libc/stdio/vfprintf.c: Likewise.
9369
9370 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9371
9372 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
9373 support for 'p' format. Fix code to print bytes for vector
9374 integer formats that do not specify 'h' or 'l'.
9375 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
9376 for 'p' specifier. Fix code to scan 16 bytes for vector integer
9377 formats that do not specify 'h' or 'l'.
9378
9379 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
9380
9381 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
9382
9383 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
9384 (_sbrk): Add cast of return value.
9385
9386 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9387
9388 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
9389 (_REENT_L64A_BUF): New macro for accessing area.
9390 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
9391 * libc/stdlib/Makefile.in: Regenerated.
9392 * libc/stdlib/a64l.c: New file.
9393 * libc/stdlib/l64a.c: New file.
9394
9395 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9396
9397 * libc/unix/pread.c: Fix typo for _pread_r.
9398 * libc/unix/pwrite.c: Fix type for _pwrite_r.
9399 * libc/sys/linux/pread64.c: Fix typo for read syscall.
9400 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
9401
9402 2002-05-03 Christopher Faylor <cgf@redhat.com>
9403
9404 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
9405
9406 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9407
9408 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
9409
9410 2002-05-01 Christopher Faylor <cgf@redhat.com>
9411
9412 * utmp.h: Define more UNIX constants.
9413
9414 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9415
9416 * Makefile.am: Add support for checking multilibs.
9417
9418 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
9419 (SUBDEFS): Add LIBC_EXTRA_DEF.
9420 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
9421 (LIBC_EXTRA_DEF): Likewise.
9422 (extra_dir): Likewise.
9423 * libc/machine/xscale/machine: New directory.
9424 * libc/machine/xscale/machine/profile.h: New file.
9425
9426 * Makefile.am (site.exp): Remove newlib_cflags. Add
9427 multibuildtop.
9428 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
9429 * testsuite/lib/flags.exp: New file.
9430 * testsuite/lib/newlib.exp: Load flags.exp.
9431 (newlib_target_compile): Remove libgloss directory references.
9432 (newlib_init): Remove newlib_cflags references.
9433
9434 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9435
9436 * testsuite/lib/newlib.exp (newlib_target_compile): Change
9437 method of finding libgloss_target_dir.
9438
9439 * Makefile.am (site.exp): Change host_alias, host_triplet,
9440 target_alias, target_triplet to refer to gcc's host and target
9441 variables (newlib's build and host variables).
9442 * testsuite/lib/newlib.exp (newlib_init): Change build
9443 references to host references, host references to target
9444 references to reflect Makefile.am changes.
9445 (newlib_target_compile): Likewise.
9446 (newlib_finish): Likewise.
9447
9448 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9449
9450 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
9451
9452 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
9453
9454 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
9455 (_system): New function. Ditto.
9456 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
9457 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
9458 targets.
9459
9460 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9461
9462 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
9463 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
9464 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
9465 * libc/sys/linux/Makefile.in: Regenerated.
9466 * libc/unix/Makefile.in: Ditto.
9467 * libc/sys/linux/pread64.c: New file.
9468 * libc/sys/linux/pwrite64.c: Ditto.
9469 * libc/unix/pread.c: Ditto.
9470 * libc/unix/pwrite.c: Ditto.
9471
9472 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9473
9474 * libc/sys/linux/Makefile.am: Add io64.c.
9475 * libc/sys/linux/Makefile.in: Regenerated.
9476 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
9477 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
9478 * libc/sys/linux/io64.c: New file.
9479
9480 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9481
9482 * configure.in (CC_FOR_NEWLIB): New variable that
9483 bases on $(CC) and adds targ-include and libc/include as
9484 -isystem directives if they are not already part of $(CC).
9485 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
9486 $(CC_FOR_NEWLIB).
9487 * configure: Regenerated.
9488 * Makefile.in: Ditto.
9489
9490 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
9491
9492 * libc/sys/linux/Makefile.am: Add support for sched.c.
9493 * libc/sys/linux/Makefile.in: Regenerated.
9494 * libc/sys/linux/sched.c: New file.
9495 * libc/sys/linux/sys/types.h: Add struct timespec.
9496
9497 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9498
9499 * configure.in (CC_FOR_BUILD): Set to gcc whether
9500 cross-compiling or not.
9501 (CC): Add -isystem's for targ-include and libc/include when they
9502 do not already appear in CC.
9503
9504 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9505
9506 * Makefile.am (check-DEJAGNU): New target.
9507 (site.exp): Likewise.
9508 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
9509 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
9510 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
9511 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
9512 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
9513 * testsuite: New directory.
9514 * testsuite/config: Likewise.
9515 * testsuite/lib: Likewise.
9516 * testsuite/newlib.locale: Likewise.
9517 * testsuite/newlib.string: Likewise.
9518 * testsuite/config/default.exp: New file.
9519 * testsuite/lib/checkoutput.exp: New file.
9520 * testsuite/lib/newlib.exp: New file.
9521 * testsuite/lib/passfail.exp: New file.
9522 * testsuite/newlib.locale/UTF-8.c: New file.
9523 * testsuite/newlib.locale/UTF-8.exp: New file.
9524 * testsuite/newlib.locale/locale.exp: New file.
9525 * testsuite/newlib.string/string.exp: New file.
9526 * testsuite/newlib.string/tstring.c: New file.
9527
9528 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
9529
9530 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
9531 * libc/sys/linux/Makefile.am: Add support for mmap.c.
9532 * libc/sys/linux/Makefile.in: Regenerated.
9533 * libc/sys/linux/mmap.c: New file.
9534 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
9535 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
9536
9537 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9538
9539 * acinclude.m4 (newlib_cflags): Remove include directories that
9540 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
9541
9542 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
9543
9544 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
9545 * libc/machine/xscale/memcmp.c: Ditto.
9546 * libc/machine/xscale/memcpy.c: Ditto.
9547 * libc/machine/xscale/memmove.c: Ditto.
9548 * libc/machine/xscale/memset.c: Ditto.
9549 * libc/machine/xscale/strchr.c: Ditto.
9550 * libc/machine/xscale/strcmp.c: Ditto.
9551 * libc/machine/xscale/strcpy.c: Ditto.
9552 * libc/machine/xscale/strlen.c: Ditto.
9553
9554 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
9555
9556 * libc/include/sys/config.h: Remove include of <limits.h>.
9557 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
9558 define INT_MAX and LONG_MAX. Use them in tests.
9559
9560 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
9561
9562 * configure.host: Add support for powerpc-eabialtivec*.
9563 * libc/include/malloc.h: Add include of <machine/malloc.h>.
9564 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
9565 * libc/include/machine/malloc.h: New file.
9566 * libc/include/machine/stdlib.h: Ditto.
9567 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
9568 * libc/machine/powerpc/Makefile.am: Add conditional objects and
9569 sources based on configuration.
9570 * libc/machine/powerpc/Makefile.in: Regenerated.
9571 * libc/machine/powerpc/configure: Ditto.
9572 * libc/machine/powerpc/configure.in: Add check for
9573 powerpc-eabialtivec* in which case add in additional source files.
9574 * libc/machine/powerpc/setjmp.S: Add altivec support.
9575 * libc/machine/powerpc/vec_calloc.c: New file.
9576 * libc/machine/powerpc/vec_free.c: Ditto.
9577 * libc/machine/powerpc/vec_malloc.c: Ditto.
9578 * libc/machine/powerpc/vec_mallocr.c: Ditto.
9579 * libc/machine/powerpc/vec_realloc.c: Ditto.
9580 * libc/machine/powerpc/machine/malloc.h: Ditto.
9581 * libc/machine/powerpc/machine/stdlib.h: Ditto.
9582 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
9583 with added altivec format specifiers.
9584 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
9585 added altivec format specifiers.
9586
9587 2002-04-19 Joel Sherrill <joel@OARcorp.com>
9588
9589 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
9590 while autoconf is trying to link main(){}.
9591
9592 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9593
9594 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
9595 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
9596
9597 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9598
9599 * libc/time/time.tex: Add tzset info.
9600
9601 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9602
9603 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9604 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9605 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9606 (tzname): Defined for all platforms.
9607 (daylight, timezone): Defined only for CYGWIN.
9608 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9609 environment set up.
9610 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9611 environment variable is set.
9612 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9613 tzset_r.c.
9614 * libc/time/Makefile.in: Regenerated.
9615 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9616 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9617 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9618 * libc/time/local.h: New local header file.
9619 * libc/time/mktime.c (mktime): Add timezone support.
9620 * libc/time/mktm_r.c: New file which is the common engine
9621 for gmtime_r and lcltime_r. This code has timezone support.
9622 * libc/time/strftime.c (strftime): Add %Z timezone support.
9623 * libc/time/tzlock.c: New file containing timezone lock stubs.
9624 * libc/time/tzset.c: New file containing tzset() routine.
9625 * libc/time/tzset_r.c: New file containing _tzset_r and
9626 internal routine for calculating timezone changes for specified year.
9627
9628 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9629
9630 * configure.in (CRT0_DIR): Set to libc/.
9631 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9632 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9633 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9634 $(CRT1_DIR)/$(CRT1).
9635 * libc/machine/xstormy16/Makefile.in: Regenerated.
9636 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9637 * libc/machine/xstormy16/configure: Regenerated.
9638
9639 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9640
9641 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9642 fails, don't bail out, and try to correct next time.
9643
9644 * libc/include/sys/config.h: Include limits.h.
9645
9646 2002-04-12 Eric Norum <eric.norum@usask.com>
9647
9648 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9649 routine to allow autoconf to determine that building executables
9650 for rtems works.
9651 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9652 (rtems_gxx_mutex_once): Ditto.
9653
9654 2002-04-09 Tom Rix <trix@redhat.com>
9655
9656 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9657
9658 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9659
9660 * libc/include/time.h: Fix strptime declaration.
9661 * libc/time/Makefile.am: Add strptime.c.
9662 * libc/time/Makefile.in: Regenerated.
9663 * libc/time/strptime.c: New file.
9664
9665 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9666
9667 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9668 siglongjmp prototype, and sigsetjmp macro definition.
9669 * libc/sys/linux/siglongjmp.c: New file.
9670 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9671 * libc/sys/linux/Makefile.in: Regenerated.
9672
9673 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9674
9675 * Makefile.am: Add support for installing crt1.o if one exists.
9676 * configure.host: Specify crt1.o for linux.
9677 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9678 * Makefile.in: Regenerated.
9679 * configure: Ditto.
9680 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9681 Added for non-Cygwin, non-RTEMS configurations.
9682 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9683 * libc/sys/linux/Makefile.in: Regenerated.
9684 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9685 by gcc. This fixes problem with reconfiguring linux newlib build.
9686 * libc/sys/linux/sysconf.c: New file.
9687
9688 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9689
9690 * configure.host: Add support for machine subdirectory of
9691 sys subdirectory.
9692 * configure.in: Add check for sys machine subdirectory.
9693 * Makefile.am: Ditto.
9694 * configure: Regenerated.
9695 * Makefile.in: Ditto.
9696 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9697 * libc/sys/linux/sys/syscall.h: Ditto.
9698 * libc/sys/linux/sleep.c: New file.
9699 * libc/sys/linux/socket.c: Ditto.
9700 * libc/sys/linux/sockops.h: Ditto.
9701 * libc/sys/linux/stack.c: Ditto.
9702 * libc/sys/linux/usleep.c: Ditto.
9703 * libc/sys/linux/machine/Makefile.am: Ditto.
9704 * libc/sys/linux/machine/Makefile.in: Ditto.
9705 * libc/sys/linux/machine/aclocal.m4: Ditto.
9706 * libc/sys/linux/machine/configure: Ditto.
9707 * libc/sys/linux/machine/configure.in: Ditto.
9708 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9709 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9710 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9711 * libc/sys/linux/machine/i386/configure: Ditto.
9712 * libc/sys/linux/machine/i386/configure.in: Ditto.
9713 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9714 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9715 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9716 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9717 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9718 * libc/sys/linux/sys/select.h: Ditto.
9719 * libc/sys/linux/configure.in: Add support for machine directory.
9720 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9721 * libc/sys/linux/Makefile.in: Regenerated.
9722 * libc/sys/linux/configure: Ditto.
9723 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9724 * libc/sys/linux/inode.c: Ditto.
9725 * libc/sys/linux/linux.c: Ditto.
9726 * libc/sys/linux/process.c: Ditto.
9727 * libc/sys/linux/systat.c: Ditto.
9728 * libc/sys/linux/time.c: Ditto.
9729 * libc/sys/linux/wait.c: Ditto.
9730 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9731 * libc/sys/linux/io.c: Change header plus add readv/writev.
9732 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9733 use __sigsuspend syscall.
9734 * libc/sys/linux/select.c: Change header plus change select to
9735 use _newselect syscall.
9736 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9737 used by glibc header files.
9738 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9739 types.
9740
9741 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9742
9743 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9744 initializing a struct _reent that has been dynamically allocated.
9745 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9746 _REENT_SMALL and does nothing otherwise.
9747 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9748 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9749 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9750 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9751 [_REENT_SMALL](struct _misc_reent): New structure containing
9752 miscellaneous reentrant areas needed by newlib.
9753 [_REENT_SMALL](struct _reent): Add _misc pointer.
9754 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9755 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9756 and _REENT_STRTOK_LAST macros.
9757 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9758 and _REENT_MBLEN_STATE macros.
9759 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9760 and _REENT_MBTOWC_STATE macros.
9761 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9762 and _REENT_WCTOMB_STATE macros.
9763
9764 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9765
9766 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9767
9768 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9769
9770 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9771
9772 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9773
9774 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9775 Store high part of leading bytes too.
9776
9777 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9778
9779 * libm/math/ef_hypot.c: Increase scale factor to 68.
9780
9781 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9782
9783 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9784 error.
9785
9786 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9787
9788 * libc/sys/go32/access.c: Change license to relaxed license
9789 used in identical file throughout newlib/libgloss.
9790
9791 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9792
9793 * libc/sys/arm/access.c: New file.
9794 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9795 * libc/sys/arm/Makefile.in: Regenerate.
9796 * libc/sys/arm/syscalls.c (_stat): New function.
9797
9798 2002-03-11 Michael Meissner <meissner@redhat.com>
9799
9800 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9801 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9802 * libc/machine/mips/Makefile.in: Regenerate.
9803 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9804 * libc/machine/mips/memset.c: Dito.
9805 * libc/machine/mips/strcmp.c: Dito.
9806 * libc/machine/mips/strlen.c: Dito.
9807 * libc/machine/mips/strncmp.c: Dito.
9808
9809 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9810
9811 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9812 object so it works for shared library or statici library.
9813 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9814
9815 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9816 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9817 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9818 (tzname): Defined for all platforms.
9819 (daylight, timezone): Defined only for CYGWIN.
9820 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9821 environment set up.
9822 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9823 environment variable is set.
9824 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9825 tzset_r.c.
9826 * libc/time/Makefile.in: Regenerated.
9827 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9828 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9829 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9830 * libc/time/local.h: New local header file.
9831 * libc/time/mktime.c (mktime): Add timezone support.
9832 * libc/time/mktm_r.c: New file which is the common engine
9833 for gmtime_r and lcltime_r. This code has timezone support.
9834 * libc/time/strftime.c (strftime): Add %Z timezone support.
9835 * libc/time/tzlock.c: New file containing timezone lock stubs.
9836 * libc/time/tzset.c: New file containing tzset() routine.
9837 * libc/time/tzset_r.c: New file containing _tzset_r and
9838 internal routine for calculating timezone changes for specified year.
9839
9840 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9841
9842 * configure.in (CRT0_DIR): Set to libc/.
9843 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9844 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9845 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9846 $(CRT1_DIR)/$(CRT1).
9847 * libc/machine/xstormy16/Makefile.in: Regenerated.
9848 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9849 * libc/machine/xstormy16/configure: Regenerated.
9850
9851 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9852
9853 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9854 fails, don't bail out, and try to correct next time.
9855
9856 * libc/include/sys/config.h: Include limits.h.
9857
9858 2002-04-12 Eric Norum <eric.norum@usask.com>
9859
9860 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9861 routine to allow autoconf to determine that building executables
9862 for rtems works.
9863 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9864 (rtems_gxx_mutex_once): Ditto.
9865
9866 2002-04-09 Tom Rix <trix@redhat.com>
9867
9868 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9869
9870 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9871
9872 * libc/include/time.h: Fix strptime declaration.
9873 * libc/time/Makefile.am: Add strptime.c.
9874 * libc/time/Makefile.in: Regenerated.
9875 * libc/time/strptime.c: New file.
9876
9877 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9878
9879 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9880 siglongjmp prototype, and sigsetjmp macro definition.
9881 * libc/sys/linux/siglongjmp.c: New file.
9882 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9883 * libc/sys/linux/Makefile.in: Regenerated.
9884
9885 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9886
9887 * Makefile.am: Add support for installing crt1.o if one exists.
9888 * configure.host: Specify crt1.o for linux.
9889 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9890 * Makefile.in: Regenerated.
9891 * configure: Ditto.
9892 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9893 Added for non-Cygwin, non-RTEMS configurations.
9894 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9895 * libc/sys/linux/Makefile.in: Regenerated.
9896 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9897 by gcc. This fixes problem with reconfiguring linux newlib build.
9898 * libc/sys/linux/sysconf.c: New file.
9899
9900 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9901
9902 * configure.host: Add support for machine subdirectory of
9903 sys subdirectory.
9904 * configure.in: Add check for sys machine subdirectory.
9905 * Makefile.am: Ditto.
9906 * configure: Regenerated.
9907 * Makefile.in: Ditto.
9908 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9909 * libc/sys/linux/sys/syscall.h: Ditto.
9910 * libc/sys/linux/sleep.c: New file.
9911 * libc/sys/linux/socket.c: Ditto.
9912 * libc/sys/linux/sockops.h: Ditto.
9913 * libc/sys/linux/stack.c: Ditto.
9914 * libc/sys/linux/usleep.c: Ditto.
9915 * libc/sys/linux/machine/Makefile.am: Ditto.
9916 * libc/sys/linux/machine/Makefile.in: Ditto.
9917 * libc/sys/linux/machine/aclocal.m4: Ditto.
9918 * libc/sys/linux/machine/configure: Ditto.
9919 * libc/sys/linux/machine/configure.in: Ditto.
9920 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9921 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9922 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9923 * libc/sys/linux/machine/i386/configure: Ditto.
9924 * libc/sys/linux/machine/i386/configure.in: Ditto.
9925 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9926 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9927 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9928 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9929 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9930 * libc/sys/linux/sys/select.h: Ditto.
9931 * libc/sys/linux/configure.in: Add support for machine directory.
9932 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9933 * libc/sys/linux/Makefile.in: Regenerated.
9934 * libc/sys/linux/configure: Ditto.
9935 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9936 * libc/sys/linux/inode.c: Ditto.
9937 * libc/sys/linux/linux.c: Ditto.
9938 * libc/sys/linux/process.c: Ditto.
9939 * libc/sys/linux/systat.c: Ditto.
9940 * libc/sys/linux/time.c: Ditto.
9941 * libc/sys/linux/wait.c: Ditto.
9942 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9943 * libc/sys/linux/io.c: Change header plus add readv/writev.
9944 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9945 use __sigsuspend syscall.
9946 * libc/sys/linux/select.c: Change header plus change select to
9947 use _newselect syscall.
9948 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9949 used by glibc header files.
9950 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9951 types.
9952
9953 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9954
9955 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9956 initializing a struct _reent that has been dynamically allocated.
9957 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9958 _REENT_SMALL and does nothing otherwise.
9959 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9960 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9961 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9962 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9963 [_REENT_SMALL](struct _misc_reent): New structure containing
9964 miscellaneous reentrant areas needed by newlib.
9965 [_REENT_SMALL](struct _reent): Add _misc pointer.
9966 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9967 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9968 and _REENT_STRTOK_LAST macros.
9969 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9970 and _REENT_MBLEN_STATE macros.
9971 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9972 and _REENT_MBTOWC_STATE macros.
9973 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9974 and _REENT_WCTOMB_STATE macros.
9975
9976 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9977
9978 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9979
9980 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9981
9982 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9983
9984 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9985
9986 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9987 Store high part of leading bytes too.
9988
9989 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9990
9991 * libm/math/ef_hypot.c: Increase scale factor to 68.
9992
9993 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9994
9995 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9996 error.
9997
9998 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9999
10000 * libc/sys/go32/access.c: Change license to relaxed license
10001 used in identical file throughout newlib/libgloss.
10002
10003 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
10004
10005 * libc/sys/arm/access.c: New file.
10006 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
10007 * libc/sys/arm/Makefile.in: Regenerate.
10008 * libc/sys/arm/syscalls.c (_stat): New function.
10009
10010 2002-03-11 Michael Meissner <meissner@redhat.com>
10011
10012 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
10013 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
10014 * libc/machine/mips/Makefile.in: Regenerate.
10015 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
10016 * libc/machine/mips/memset.c: Dito.
10017 * libc/machine/mips/strcmp.c: Dito.
10018 * libc/machine/mips/strlen.c: Dito.
10019 * libc/machine/mips/strncmp.c: Dito.
10020
10021 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
10022
10023 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
10024 object so it works for shared library or statici library.
10025 * libc/machine/i386/Makefile.in: Regenerated.
10026
10027 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
10028
10029 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
10030 Add memcpy.S, memset.S and strcpy.S.
10031 * libc/machine/sh/Makefile.in: Regenerate.
10032 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
10033 (SHHI, SHLO): Define.
10034 * libc/machine/sh/memset.S: Add code for SH5.
10035 * libc/machine/sh/memset.S: Likewise.
10036 * libc/machine/sh/strcpy.S: Likewise.
10037
10038 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
10039
10040 * configure.host: Add check for --disable-newlib-io-float
10041 configuration option and add -DNO_FLOATING_POINT to newlib cflags
10042 if appropriate.
10043 * acinclude.m4: Added --disable-newlib-io-float option.
10044 * aclocal.m4: Regenerated.
10045 * configure: Ditto.
10046 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10047 * libc/*/aclocal.m4 libc/*/configure
10048 * libm/*/aclocal.m4 libm/*/configure: Ditto.
10049 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
10050 if NO_FLOATING_POINT flag is not defined.
10051
10052 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
10053
10054 * libc/include/sys/config.h: Add __extension__ in front of
10055 long long references.
10056
10057 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
10058
10059 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
10060 (_stat): Ditto.
10061
10062 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
10063
10064 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
10065 of off_t.
10066
10067 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
10068
10069 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
10070 clobbered registers.
10071
10072 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10073
10074 * configure.host (newlib_cflags): When host is in m68* add
10075 -DCOMPACT_CTYPE.
10076
10077 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
10078
10079 * libc/include/sys/config.h: Add definitions for
10080 __int16_t, __uint16_t, __int64_t, and __uint64_t.
10081
10082 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
10083
10084 * libc/sys/mmixware/link.c: New.
10085 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
10086 volatile.
10087 * libc/sys/mmixware/times.c (_times): Renamed from times.
10088 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
10089 properly by reading previous contents, not through BinaryReadWrite.
10090 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
10091 * libc/sys/mmixware/Makefile.in: Regenerate.
10092
10093 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
10094
10095 * libc/include/grp.h: Don't declare group functions when compiling
10096 Cygwin.
10097
10098 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
10099
10100 * libc/include/grp.h: Include Cygwin specific header.
10101 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
10102 when compiling for Cygwin.
10103 * libc/include/sys/types.h: Don't define off_t, uid_t
10104 and gid_t when compiling for Cygwin.
10105
10106 2002-02-08 matthew green <mrg@redhat.com>
10107
10108 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
10109 _REENT_EMERGENCY_SIZE, not sizeof(char *).
10110
10111 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
10112
10113 Contribute sh64-elf.
10114 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10115 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
10116 support in printf.
10117 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
10118 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
10119 any labels.
10120 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
10121 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
10122 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
10123 * libc/machine/sh/configure.in: Rework conditionals.
10124 * libc/machine/sh/Makefile.am: Likewise.
10125 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
10126 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
10127 * configure.host: Match `sh*'.
10128 * libc/include/machine/setjmp.h: Define for SH5.
10129 * libc/machine/sh/configure.in: Detect SH5.
10130 * libc/machine/sh/configure: Rebuilt.
10131 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
10132 * libc/machine/sh/Makefile.in: Rebuilt.
10133 * libc/machine/sh/asm.h: Adjust for SH5.
10134 * libc/machine/sh/setjmp.S: Implement in SHmedia.
10135 * libc/sys/sh/crt0.S: Likewise.
10136 * libc/sys/sh/trap.S: Likewise.
10137
10138 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
10139
10140 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
10141 (mach_add_obj): Conditionally set to setjmp.o or nothing.
10142 (LIB_SOURCES): Remove $(mach_add_src).
10143 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
10144 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
10145 * libc/machine/i386/Makefile.in: Regenerate.
10146
10147 2002-02-05 Manik Raina <manik@cisco.com>
10148
10149 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
10150 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
10151 s, p, k, and outstr.
10152 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
10153
10154 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
10155
10156 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
10157 _REENT_CHECK_EMERGENCY macro.
10158
10159 2002-02-03 matthew green <mrg@redhat.com>
10160
10161 * libc/reent/signgam.c (__signgam): Fix error in previous.
10162
10163 2002-02-02 matthew green <mrg@redhat.com>
10164
10165 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
10166
10167 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
10168 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
10169 * libc/include/sys/reent.h (struct _reent): Completely new version
10170 for _REENT_SMALL.
10171 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
10172 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
10173 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
10174 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
10175 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
10176 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
10177 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
10178 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
10179 (_REENT_EMERGENCY): Likewise.
10180
10181 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
10182 the start of the real __sFILE, used for stdin, stdout and stderr until
10183 they are setup properly.
10184 (struct __sFILE): Move location of _data in _REENT_SMALL case.
10185 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
10186 allocated stdin, stdout and stderr.
10187 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
10188 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
10189 * libc/stdio/perror.c (_perror_r): Likewise.
10190 * libc/stdio/printf.c (printf, _printf_r): Likewise.
10191 * libc/stdio/putchar.c (_putchar_r): Likewise.
10192 * libc/stdio/puts.c (_puts_r): Likewise.
10193 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
10194 * libc/stdio/vprintf.c (vprintf): Likewise.
10195 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
10196
10197 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
10198
10199 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
10200 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
10201 for _REENT_SMALL.
10202 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
10203 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
10204
10205 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
10206 _REENT_SMALL.
10207 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
10208 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
10209 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
10210 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
10211 * libc/stdlib/rand48.c (__dorand48): Likewise.
10212 * libc/stdlib/seed48.c (_seed48_r): Likewise.
10213 * libc/stdlib/srand48.c (_srand48_r): Likewise.
10214 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
10215 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
10216 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
10217 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
10218 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
10219 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
10220 * libc/stdlib/rand.c (rand): Likewise.
10221
10222 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
10223 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
10224
10225 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
10226 _REENT_MP_FREELIST() and _REENT_MP_P5S.
10227 * libc/include/sys/reent.h (struct _mprec): New structure.
10228
10229 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
10230 _unused_strtok_last.
10231 * libc/string/strtok.c (strtok): Use a local static variable.
10232
10233 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
10234 (_REENT_EMERGENCY_SIZE): Likewise.
10235 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
10236 _REENT_ASCTIME_BUF().
10237 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
10238 _REENT_TM().
10239
10240 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
10241 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
10242 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
10243 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
10244 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
10245 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
10246
10247 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
10248
10249 * configure.host (xstormy16): Don't use the generic malloc.
10250 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
10251 * libc/machine/xstormy16/Makefile.in: Regenerate.
10252 * libc/machine/xstormy16/mallocr.c: New file.
10253 * libc/machine/xstormy16/tiny-malloc.c: New file.
10254
10255 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10256
10257 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
10258 when _CYGWIN_TYPES_H is not defined.
10259
10260 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10261
10262 * libc/include/sys/signal.h: Revert 2002-01-23 change.
10263
10264 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
10265
10266 * libc/include/sys/signal.h: Remove pthread_kill declaration
10267 when __CYGWIN__ is defined.
10268
10269 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10270
10271 * libc/include/time.h: Add prototype for strptime for Cygwin.
10272
10273 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
10274
10275 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
10276 dst was not word aligned.
10277
10278 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
10279 if too much memory is requested.
10280
10281 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10282
10283 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10284 reads blanks from the input file to break if EOF reached
10285 rather than end processing.
10286
10287 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10288
10289 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10290
10291 2002-01-07 Alan Matsuoka <alanm@redhat.com>
10292
10293 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10294 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10295 libc/include/sys/config.h: Ditto.
10296
10297 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
10298
10299 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10300
10301 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
10302 Catherine Moore <clm@redhat.com>
10303 Richard Henderson <rth@redhat.com>
10304 Corinna Vinschen <vinschen@redhat.com>
10305
10306 * configure.host: Add support for xstormy16.
10307 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10308 * libc/include/machine/setjmp.h: Add support for xstormy16.
10309 * libc/include/sys/config.h: Add support for xstormy16.
10310 * libc/machine/xstormy16/Makefile.am: New file.
10311 * libc/machine/xstormy16/Makefile.in: New file.
10312 * libc/machine/xstormy16/aclocal.m4: New file.
10313 * libc/machine/xstormy16/configure: New file.
10314 * libc/machine/xstormy16/configure.in: New file.
10315 * libc/machine/xstormy16/setjmp.S: New file.
10316
10317 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10318
10319 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10320 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10321
10322 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
10323
10324 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10325 * libm/machine/Makefile.in: Regenerated through automake.
10326
10327 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10328
10329 * Makefile.am (DOCDIR): Force to empty string when doc
10330 directory is not present.
10331
10332 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10333
10334 * libc/machine/i386/f_*: Move to libm/machine/i386.
10335
10336 2001-12-18 Joel Sherrill <joel@OARcorp.com>
10337
10338 * libm/machine/Makefile.am: Add dummy doc stub so
10339 "make info" works.
10340
10341 2001-12-17 Joel Sherrill <joel@OARcorp.com>
10342
10343 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10344
10345 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10346
10347 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10348 $(COMPILE) rather than $(CC).
10349 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10350 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10351 $(LIB_COMPILE) change.
10352 (vfiprintf.$(oext)): Likewise.
10353
10354 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
10355
10356 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10357 conditionalized including of getopt stuff.
10358
10359 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10360
10361 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10362 compile line.
10363 (vfiprintf.$(oext)): Likewise.
10364
10365 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10366
10367 * Makefile.shared: New file.
10368 * libc/sys/linux/shared.ld: New file.
10369 * libm/machine/*: New files.
10370 * libm/machine/i386/*: New files.
10371 * Makefile.am: Add libtool support. Change math and mathfp
10372 references to variables.
10373 * configure.host: Add variables for libtool support. Add
10374 libm_machine_dir variable.
10375 * configure.in: Add objectlist variables, for libtool
10376 support. Add CC_FOR_BUILD tests.
10377 * libc/Makefile.am: Add libtool support. Change crt0.o
10378 reference to be a variable reference.
10379 * libc/configure.in: Add libtool support. Change sublib
10380 names to be lib${subdir}.la when using libtool.
10381 * libc/ctype/Makefile.am: Add libtool support.
10382 * libc/errno/Makefile.am: Likewise.
10383 * libc/locale/Makefile.am: Likewise.
10384 * libc/machine/Makefile.am: Likewise.
10385 * libc/machine/configure.in: Likewise.
10386 * libc/machine/i386/Makefile.am: Likewise.
10387 * libc/machine/i386/configure.in: Likewise.
10388 * libc/misc/Makefile.am: Likewise.
10389 * libc/posix/Makefile.am: Likewise.
10390 * libc/reent/Makefile.am: Likewise.
10391 * libc/signal/Makefile.am: Likewise.
10392 * libc/stdio/Makefile.am: Likewise.
10393 * libc/stdlib/Makefile.am: Likewise.
10394 * libc/string/Makefile.am: Likewise.
10395 * libc/sys/Makefile.am: Likewise.
10396 * libc/sys/configure.in: Likewise.
10397 * libc/sys/linux/Makefile.am: Add libtool support. Change
10398 awk reference to a variable reference. Change signal.h
10399 reference to a variable reference.
10400 * libc/sys/linux/configure.in: Add libtool support.
10401 * libc/syscalls/Makefile.am: Likewise.
10402 * libc/time/Makefile.am: Likewise.
10403 * libc/unix/Makefile.am: Likewise.
10404 * libm/Makefile.am: Add libtool support. Change math and
10405 mathfp references to variables.
10406 * libm/configure.in: Add libtool support. Add
10407 LIBM_MACHINE_LIB variable.
10408 * libm/common/Makefile.am: Add libtool support.
10409 * libm/math/Makefile.am: Likewise.
10410 * libm/mathfp/Makefile.am: Likewise.
10411 Regenerate all Makefile.in, aclocal.m4, and configure.
10412
10413 2001-12-13 Anita Kulkarni <anitak@kpit.com>
10414
10415 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
10416
10417 2001-12-06 John Peacock <jpeacock@rowman.com>
10418
10419 * libc/include/sys/unistd.h: Correct ualarm declaration.
10420
10421 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
10422
10423 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
10424 vector before calling the initialisation functions.
10425
10426 2001-11-29 Christopher Faylor <cgf@redhat.com>
10427
10428 * libc/include/dirent.h: Protect against multiple inclusion.
10429
10430 2001-11-27 Christopher Faylor <cgf@redhat.com>
10431
10432 * libc/include/sys/types.h: Define useconds_t.
10433 * libc/include/sys/ulimit.h: Declare ualarm.
10434
10435 2001-11-21 Christopher Faylor <cgf@redhat.com>
10436
10437 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
10438
10439 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
10440
10441 * libc/sys/mmixware/*: Tweak license header in all source files.
10442
10443 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
10444
10445 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
10446 to here. Rearrange for general inclusion by stdlib.h.
10447 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
10448 isn't defined.
10449 * libc/sys/linux/include/alloca.h: Move to libc/include.
10450
10451 2001-11-12 Anthony Green <green@redhat.com>
10452
10453 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
10454
10455 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
10456
10457 * libc/sys/mmixware/*: Correct spacing in all source files.
10458 * libc/sys/mmixware/syscall.h: Move misplaced file...
10459 * libc/sys/mmixware/sys/syscall.h: ...here.
10460
10461 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
10462
10463 * libc/include/machine/ieeefp.h: Add support for mmix target.
10464 * libc/include/machine/setjmp.h: Ditto.
10465 * configure.host: Ditto.
10466 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
10467 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
10468 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
10469 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
10470 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
10471 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
10472 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
10473 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
10474 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
10475 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
10476 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
10477 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
10478 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
10479 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
10480 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
10481 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
10482 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
10483 libc/sys/mmixware/aclocal.m4: Generate.
10484
10485 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
10486
10487 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
10488 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
10489 when __CYGWIN__ is defined.
10490 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
10491 logwtmp().
10492
10493 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
10494
10495 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
10496 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
10497 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
10498 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
10499
10500 2001-10-24 Christopher Faylor <cgf@redhat.com>
10501
10502 * libc/stdio/fseek.c: Reset pointer to buffer base
10503 when forced to seek outside of current buffer contents.
10504 This prevents the code from erroneously thinking there is
10505 anything in the current buffer.
10506
10507 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
10508
10509 * libc/include/math.h: The C++ standard adds the single-precision
10510 versions of the elementary functions.
10511
10512 2001-10-22 Christopher Faylor <cgf@redhat.com>
10513
10514 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
10515 throughout.
10516 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
10517 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
10518 * system.c (_system_r): Ditto.
10519
10520 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
10521
10522 * libc/include/sys/unistd.h: Add prototype for fchdir() when
10523 __CYGWIN__ or __rtems__ is defined.
10524
10525 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
10526
10527 * libc/include/stdlib.h: add declarations for
10528 _strtoull_r, _strtoll_r, strtoull, and strtoll.
10529 * libc/stdio/local.h: remove declarations of
10530 __strtoull_r and __strtoll_r.
10531 * libc/stdio/vfscanf.c(__svfscanf_r): call
10532 _strtoull_r instead of __strtoull_r. Ditto
10533 _strtoll_r vs. __strtoll_r.
10534 * libc/stdlib/Makefile.am: add new files to
10535 .c list and .def list
10536 * libc/stdlib/Makefile.in: regenerate
10537 * libc/stdlib/strtoll_r.c: rename __strtoll_r
10538 as _strtoll_r
10539 * libc/stdlib/strtoull_r.c: rename __strtoull_r
10540 as _strtoull_r
10541 * libc/stdlib/strtoull.c: new file
10542 * libc/stdlib/strtoll.c: new file
10543
10544 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
10545
10546 * libc/include/process.h: Add getpid() declaration.
10547
10548 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10549
10550 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
10551 for new style arm/elf ctor/dtor handling.
10552 Minor formatting tidy up.
10553
10554 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
10555
10556 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
10557 and strtoull_r.c.
10558 * libc/stdlib/Makefile.in: Regenerated.
10559 * libc/stdlib/strtoll_r.c: New file.
10560 * libc/stdlib/strtoull_r.c: New file.
10561 * libc/stdio/local.h: Add prototypes for long long string
10562 conversion routines.
10563 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
10564 tied to %L integer conversion specifier.
10565
10566 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
10567
10568 * strftime.c (strftime): Fix "%W" implementation to properly handle
10569 Mondays too.
10570
10571 2001-09-07 Jeff Law <law@redhat.com>
10572
10573 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
10574 __fini with "mov.l" instead of "mov.w".
10575
10576 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
10577
10578 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
10579 and getopt.h.
10580
10581 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
10582
10583 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
10584
10585 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10586
10587 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
10588 field.
10589 (__DIRENT_VERSION): New define.
10590
10591 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10592
10593 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
10594 Shrink __d_reserved accordingly to keep structure size.
10595 (dirfd): Declare external.
10596
10597 2001-08-29 Joel Sherrill <joel@OARcorp.com>
10598
10599 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
10600
10601 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10602
10603 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
10604 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
10605 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
10606 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
10607 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
10608 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
10609 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
10610 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
10611 Add conditional compilation to avoid HW FPU instructions
10612 when compiled for soft-float.
10613
10614 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10615
10616 * Makefile.am: Add check for ln failing when creating libg.a
10617 so that cp gets used as a backup.
10618 * Makefile.in: Regenerated.
10619
10620 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10621
10622 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
10623 No longer include time.h. Add struct __tm to use for
10624 _localtime_buf in the reentrant structure. Add a
10625 _NULL definition to use in initializing the reentrant struct.
10626 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
10627 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
10628 <sys/_types.h>.
10629 * libc/include/sys/unistd.h: Include <sys/_types.h>.
10630 * libc/time/lcltime.c (localtime): Cast the reentrant struct
10631 _localtime_buf to be struct tm *.
10632
10633 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
10634
10635 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
10636 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
10637 __ctors_end.
10638 * libc/sys/h8300hms/syscalls.c: Include errno.h.
10639 (_unlink): New stub function.
10640
10641 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
10642
10643 * libc/include/sys/errno.h: Add a cautionary comment.
10644
10645 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
10646
10647 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
10648 for SIZE_SZ so that alignment ends up a minimum of 8.
10649
10650 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
10651
10652 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
10653 arguments.
10654
10655 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
10656 Cygwin.
10657
10658 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
10659
10660 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
10661 macro constants for mallopt options.
10662 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
10663
10664 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
10665
10666 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
10667 otherwise default.
10668
10669 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
10670
10671 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
10672
10673 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10674
10675 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10676 Define for little endian ARMs.
10677
10678 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10679 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10680
10681 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10682
10683 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
10684
10685 2001-06-11 Egor Duda <deo@logos-m.ru>
10686
10687 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10688 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10689 initialized memory region. Platform can define COMPACT_CTYPE
10690 to avoid allocation of the additional 128 bytes of data.
10691 Add pointer to _ctype_ array. Always initialize all _ctype_
10692 array elements.
10693
10694 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10695
10696 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10697 NULL pointer.
10698
10699 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10700
10701 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10702
10703 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10704
10705 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10706 matching, non-word alignment, and the length is <= 4 but more than
10707 enough to move them over a word boundary.
10708 Add comments explaining what each instruction does.
10709
10710 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10711
10712 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
10713 * libc/include/sys/unistd.h: Ditto.
10714
10715 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10716
10717 * libc/string/strrchr.c: Use strchr for the speed improvements.
10718
10719 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10720
10721 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10722 real file systems, let __smakebuf() determine if line buffering
10723 should be used for stdout.
10724
10725 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10726
10727 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10728
10729 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10730
10731 * libc/include/stdlib.h: Add prototype for _strtod_r.
10732
10733 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10734
10735 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10736 * libc/stdio/vprintf.c (_vprintf_r): new function
10737 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10738 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10739 _DEFUN, and call _vfprintf_r, not vfprintf.
10740 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10741 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10742 _DEFUN, and call _vfprintf_r, not vfprintf.
10743
10744 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
10745
10746 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10747 Cygwin X_OK definitions in sys/file.h.
10748
10749 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10750
10751 * libc/include/sys/time.h: Define timercmp and other macros for
10752 __CYGWIN__, too.
10753
10754 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10755
10756 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10757 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10758 --enable-malloc-debugging selected.
10759 * aclocal.m4 configure: Regenerated.
10760 libm/aclocal.m4 libm/configure: Ditto.
10761 * libc/aclocal.m4 libc/configure: Ditto.
10762 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10763 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10764 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10765 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10766 * doc/aclocal.m4 doc/configure: Ditto.
10767
10768 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10769
10770 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10771 into one list.
10772 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10773 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10774 function prototypes.
10775 (_fscanf_r, _sscanf_r): Ditto.
10776 * libc/include/stdlib.h: Added _strtod_r prototype.
10777 * libc/stdio/Makefile.am: Add new v*scanf functions.
10778 * libc/stdio/Makefile.in: Regenerate.
10779 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10780 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10781 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10782 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10783 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10784 (_sscanf_r): New routine.
10785 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10786 with __svfscanf_r prototype.
10787 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10788 routines.
10789 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10790 structure as argument as calls reentrant versions of helper functions
10791 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10792 to _strtol_r and _strtod_r respectively.
10793 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10794 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10795 _REENT argument.
10796 * libc/stdio/vscanf.c: New file.
10797 * libc/stdio/vsscanf.c: Ditto.
10798
10799 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
10800
10801 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10802 Define daylight to _daylight if it is not defined
10803 Prepare a variable export of timezone based on timezonevariable.
10804 (Cannot be used with the timezone() function.)
10805
10806 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10807
10808 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10809 Correct the numerical values.
10810
10811 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
10812
10813 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10814
10815 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10816
10817 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10818 on case insensitve file systems.
10819
10820 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
10821
10822 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10823 pthread support.
10824 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10825 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10826 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10827
10828 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
10829
10830 * libc/include/machine/ieeefp.h: Comment about new configuration
10831 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10832 * libm/common/fdlib.h: Define new macros for testing floats.
10833 * libm/common/sf_*: Use them.
10834 * libm/math/ef_*: Likewise.
10835 * libm/math/sf_*: Likewise.
10836
10837 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10838
10839 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10840 prolog to by-pass possible assembler error.
10841
10842 2001-03-21 Egor Duda <deo@logos-m.ru>
10843
10844 Allow building internal stubs for non-reentrant syscalls
10845 if target provides its own malloc
10846 * libc/reent/reent.c (errno): Move definition here.
10847 * libc/reent/sbrkr.c: From here.
10848
10849 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10850
10851 * libc/include/sys/types.h (BSD int typedefs): Guard with
10852 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10853 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10854 _SYS_TYPES_FD_SET.
10855 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10856 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10857
10858 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10859
10860 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10861 _PC_POSIX_SECURITY constants for Cygwin.
10862
10863 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10864
10865 * libc/sys/cygwin/crt0.c: Add copyright hint.
10866 * libc/sys/cygwin/sys/dirent.h: Ditto.
10867 * libc/sys/cygwin/sys/param.h: Ditto.
10868 * libc/sys/cygwin/sys/utime.h: Ditto.
10869 * libc/sys/cygwin/sys/utmp.h: Ditto.
10870
10871 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10872
10873 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10874 equivalent to LONGINT.
10875
10876 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
10877
10878 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10879 jmpbuf on MIPS64 targets.
10880 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
10881
10882 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10883
10884 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
10885 declarations.
10886
10887 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10888
10889 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10890 For RTEMS, define to be ssize_t. Default to int if not defined.
10891 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10892 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10893 * libc/stdio/local.h (__sread, __swrite): Likewise.
10894 * libc/include/sys/reent.h (_read, _write): Likewise.
10895 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10896 * libc/syscalls/sysread.c (read): Likewise.
10897 * libc/syscalls/syswrite.c (write): Likewise.
10898
10899 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10900
10901 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
10902
10903 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10904
10905 * libc/include/sys/stat.h: Use special defines for executable stat bits
10906 when compiling for Cygwin.
10907 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10908 for Cygwin.
10909
10910 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10911
10912 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10913 of strtok_r is always defined.
10914
10915 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10916
10917 * libc/include/machine/ansi.h: New dummy header file.
10918
10919 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10920
10921 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10922 changed the copyright information to allow free modification of the
10923 file with no reference to "copying.dj".
10924 * libc/include/sys/stat-dj.h: Ditto.
10925 * libc/machine/i386/setjmp.S: Ditto.
10926 * libc/sys/h8300hms/sys/file.h: Ditto.
10927 * libc/sys/sysmec/access.c: Ditto.
10928 * libc/sys/sysnecv850/access.c: Ditto.
10929 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10930 * libc/stdlib/getenv_r.c: Ditto.
10931 * libc/stdlib/putenv_r.c: Ditto.
10932 * libc/stdlib/setenv_r.c: Ditto.
10933 * libc/stdlib/getenv.c: Removed DJ reference since any possible
10934 modifications will now be in the _r version of this file.
10935 * libc/stdlib/putenv.c: Ditto.
10936 * libc/stdlib/setenv.c: Ditto.
10937 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
10938 valid. Added a reference to DJ's web page that contains his address.
10939 * libc/sys/go32/*.s: Removed references to DJ's old address.
10940 * libc/sys/go32/*.c: Ditto.
10941 * libc/sys/go32/*.h: Ditto.
10942 * libc/sys/go32/*.S: Ditto.
10943 * libc/sys/go32/sys/*.h: Ditto.
10944
10945 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
10946
10947 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
10948 HAVE_FCNTL flag check.
10949 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
10950 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
10951
10952 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
10953
10954 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
10955
10956 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10957
10958 * libc/include/stdlib.h: Add declarations of rand48 functions and
10959 their reentrant versions.
10960 * libc/include/sys/reent.h: Move macros from rand48.h. Add
10961 struct _rand48 for shared parameters of rand48 functions.
10962 (struct _reent): Add a variable _r48 of struct _rand48.
10963 (_REENT_INIT): Add _r48 initialization.
10964 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10965 (CHEWOUT_FILES): Add rand48.def.
10966 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10967 * libc/stdlib/Makefile.in: Regenerated.
10968 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10969 NetBSD C library.
10970 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10971 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10972 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10973 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10974 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10975 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10976 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10977 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10978 * libc/stdlib/rand48.c (__dorand48): Ditto.
10979 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10980 parameters into macros referring them in the reentrant structure.
10981
10982 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10983
10984 * libc/include/sys/stat.h: Add mknod for Cygwin now that
10985 Cygwin definition has correct prototype.
10986
10987 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10988
10989 * libc/include/sys/stat.h: Must revert change for mknod
10990 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
10991 prototype.
10992
10993 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10994
10995 * libc/include/stdio.h: Revert putw prototype.
10996
10997 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
10998
10999 * libc/include/grp.h: add prototype for initgroups.
11000 * libc/include/stdio.h: fix prototype for putw.
11001 * libc/include/sys/signal.h: add prototype for killpg.
11002 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
11003 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
11004 vhangup and remove duplicate sysconf prototype.
11005
11006 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
11007
11008 * libc/sys/rtems/sys/types.h: Removed.
11009
11010 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
11011
11012 * libc/include/locale.h: add LC_MESSAGES definition
11013
11014 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
11015
11016 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
11017 SYS_get_argN):
11018 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
11019 __setup_argv_and_call_main): New.
11020
11021 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
11022
11023 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
11024 if defined.
11025 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
11026 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
11027 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
11028 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
11029
11030 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
11031
11032 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
11033 compiling under Cygwin.
11034
11035 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
11036
11037 * libc/include/math.h (signgam): Change to errno-like solution
11038 using a function to return the address of the real signgam.
11039 * libc/reent/signgam.c: New file containing __signgam().
11040 * libc/reent/Makefile.am: Added signgam.c to list of files.
11041 * libc/reent/Makefile.in: Regenerated.
11042
11043 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
11044
11045 * libc/sys/sh/syscalls.c (_times): New.
11046
11047 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
11048 * libc/sys/sh/syscalls.c (_gettimeofday): New.
11049
11050 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11051
11052 * libc/include/math.h (signgam): Regress previous fix as
11053 it does not handle programs with extern int signgam in them.
11054
11055 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11056
11057 * libc/include/math.h (signgam): Changed to a macro refering to
11058 its location in the reentrant structure.
11059
11060 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11061
11062 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
11063 that suppressed . for %.0f, 0.1. Check now looks if there
11064 are padding zeroes (expt) in addition to any digits (ndig) to
11065 print.
11066
11067 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
11068
11069 * libc/sys/arc/Makefile.am: New file.
11070 * libc/sys/arc/Makefile.in: Ditto.
11071 * libc/sys/arc/aclocal.m4: Ditto.
11072 * libc/sys/arc/configure: Ditto.
11073 * libc/sys/arc/configure.in: Ditto.
11074 * libc/sys/arc/crt0.S: Ditto.
11075 * libc/sys/arc/isatty.c: Ditto.
11076 * libc/sys/arc/mem-layout.c: Ditto.
11077 * libc/sys/arc/sbrk.c: Ditto.
11078 * libc/sys/arc/syscalls.c: Ditto.
11079 * libc/sys/arc/sys/syscall.h: Ditto.
11080
11081 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
11082
11083 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
11084
11085 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
11086
11087 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
11088
11089 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
11090
11091 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
11092
11093 2001-01-09 Nick Clifton <nickc@redhat.com>
11094
11095 * configure.host (v859): Remove unsupported compiler options.
11096
11097 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
11098
11099 * src/newlib/configure.host (*-*-rtems*): add printf long long
11100 support for RTEMS.
11101
11102 2000-12-19 Graham Stott <grahams@redhat.com>
11103
11104 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
11105
11106 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11107
11108 * configure.host: Turn on long double I/O for Cygwin.
11109
11110 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11111
11112 * MAINTAINERS: Removed Ranjith.
11113 * NEWS: Updated for 1.9.0.
11114 * README: Updated.
11115 * acinclude.m4: Updated to release 1.9.0.
11116 * aclocal.m4 configure
11117 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11118 libc/machine/aclocal.m4 libc/machine/configure
11119 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
11120 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
11121 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
11122 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
11123 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
11124 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
11125 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
11126 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
11127 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
11128 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
11129 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
11130 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
11131 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
11132 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
11133 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
11134 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
11135 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
11136 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
11137 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
11138 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
11139 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11140 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11141 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11142 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
11143 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11144 libc/sys/aclocal.m4 libc/sys/configure
11145 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11146 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11147 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11148 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11149 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11150 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11151 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11152 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11153 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
11154 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11155 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11156 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11157 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11158 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11159 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11160 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11161 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11162 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11163 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11164 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11165 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11166 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11167 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11168 libm/aclocal.m4 libm/configure: Regenerated.
11169
11170 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11171
11172 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
11173 when __CYGWIN__ is defined.
11174
11175 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11176
11177 * libc/stdlib/ldtoa.c (_ldcheck): New routine
11178 that categorizes a long double as NaN, Infinity, or other.
11179 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
11180 isinfl and isnanl static routines which were i386-specific. Changed
11181 calls to the two removed routines to a single _ldcheck call.
11182 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
11183
11184 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11185
11186 * Makefile.am: Fixed install-data-local target to use
11187 $(mkinstalldirs) for the installed header files to ensure
11188 the directories exist before copying.
11189 * Makefile.in: Regenerated.
11190
11191 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
11192
11193 * libc/include/sys/unistd.h: Restored Cygwin _SC
11194 constants and moved new constants appropriately
11195 so Cygwin will build.
11196
11197 2000-12-11 Joel Sherrill <joel@OARcorp.com>
11198
11199 * Merge RTEMS specific .h files into main libc/include.
11200 * libc/sys/rtems/include/signal.h: Removed.
11201 * libc/sys/rtems/include/time.h: Removed.
11202 * libc/sys/rtems/sys/features.h: Removed.
11203 * libc/sys/rtems/sys/sched.h: Removed.
11204 * libc/sys/rtems/sys/siginfo.h: Removed.
11205 * libc/sys/rtems/sys/signal.h: Removed.
11206 * libc/sys/rtems/sys/time.h: Removed.
11207 * libc/sys/rtems/sys/times.h: Removed.
11208 definitions for time_t and clock_t since these are
11209 no longer in time.h.
11210 * libc/include/pthread.h: New file.
11211 * libc/include/sys/sched.h: New file.
11212 * libc/include/sys/features.h: New file.
11213 * libc/include/time.h: Removed duplicate definition of clock_t
11214 and time_t, get them from <sys/types.h> instead. Add prototypes
11215 for POSIX clock and timer functionality.
11216 * libc/sys/linux/sys/types.h: Changed to include
11217 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
11218 * libc/include/sys/signal.h: Add more complete set of POSIX
11219 signal functionality including real-time and threaded signals.
11220 * libc/include/sys/types.h: Add clock_t, time_t, struct
11221 timespec, and struct itimerspec. Centralizing these makes
11222 things cleaner. RTEMS uses 64-bit dev_t.
11223 Added numerous primitive definitions
11224 for pthreads including macros, pthread_attr_t,
11225 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
11226 pthread_once_t, and pthread_t.
11227 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
11228 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
11229 Feature flags removed and moved to new file <sys/features.h>.
11230 Full set of POSIX sysconf() constants
11231
11232 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
11233
11234 * configure.host: Added x86 linux target.
11235 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
11236 definitions provided if not already defined.
11237 * libc/sys/linux/crt0.c: New file.
11238 * libc/sys/linux/Makefile.am: Ditto.
11239 * libc/sys/linux/Makefile.in: Ditto.
11240 * libc/sys/linux/aclocal.m4: Ditto.
11241 * libc/sys/linux/brk.c: Ditto.
11242 * libc/sys/linux/configure: Ditto.
11243 * libc/sys/linux/configure.in: Ditto.
11244 * libc/sys/linux/getoptlong.c: Ditto.
11245 * libc/sys/linux/ids.c: Ditto.
11246 * libc/sys/linux/inode.c: Ditto.
11247 * libc/sys/linux/io.c: Ditto.
11248 * libc/sys/linux/linux.c: Ditto.
11249 * libc/sys/linux/process.c: Ditto.
11250 * libc/sys/linux/realpath.c: Ditto.
11251 * libc/sys/linux/select.c: Ditto.
11252 * libc/sys/linux/signal.c: Ditto.
11253 * libc/sys/linux/systat.c: Ditto.
11254 * libc/sys/linux/termios.c: Ditto.
11255 * libc/sys/linux/time.c: Ditto.
11256 * libc/sys/linux/wait.c: Ditto.
11257 * libc/sys/linux/include/alloca.h: Ditto.
11258 * libc/sys/linux/include/getopt.h: Ditto.
11259 * libc/sys/linux/include/stdint.h: Ditto.
11260 * libc/sys/linux/include/unistd.h: Ditto.
11261 * libc/sys/linux/sys/cdefs.h: Ditto.
11262 * libc/sys/linux/sys/dirent.h: Ditto.
11263 * libc/sys/linux/sys/errno.h: Ditto.
11264 * libc/sys/linux/sys/fcntl.h: Ditto.
11265 * libc/sys/linux/sys/file.h: Ditto.
11266 * libc/sys/linux/sys/ioctl.h: Ditto.
11267 * libc/sys/linux/sys/resource.h: Ditto.
11268 * libc/sys/linux/sys/signal.h: Ditto.
11269 * libc/sys/linux/sys/stat.h: Ditto.
11270 * libc/sys/linux/sys/syscall.h: Ditto.
11271 * libc/sys/linux/sys/termios.h: Ditto.
11272 * libc/sys/linux/sys/time.h: Ditto.
11273 * libc/sys/linux/sys/types.h: Ditto.
11274 * libc/sys/linux/sys/utmp.h: Ditto.
11275 * libc/sys/linux/sys/utsname.h: Ditto.
11276 * libc/sys/linux/sys/wait.h: Ditto.
11277
11278 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11279
11280 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
11281 can be a relative path to $(top_srcdir)/install.sh so ensure the
11282 autoconf detected settings are properly passed recursively.
11283 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11284 properly to subdirectories.
11285 * Makefile.in: Regenerated.
11286
11287 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11288
11289 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11290 a floating point register unless really printing a floating
11291 point number.
11292
11293 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11294
11295 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11296 Also removed \r's.
11297 (asctoeg): Replaced alloca call with stack array and malloc
11298 when storage exceeds reasonable limit.
11299 (e53toe): Fixed einfin calls missing ldp parameter.
11300 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11301
11302 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11303
11304
11305 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11306
11307 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11308
11309 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11310 * libc/stdlib/Makefile.in: Regenerated.
11311 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11312 * libc/stdio/vfieeefp.h: Added long double bit structures.
11313 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11314 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11315 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11316 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11317 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11318 _strtold routines used for conversions between character
11319 and long double.
11320
11321 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11322
11323 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11324
11325 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11326
11327 * libc/include/machine/time.h: RTEMS systems can configure clock
11328 tick rate so use sysconf() to ask.
11329
11330 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11331
11332 * libc/include/sys/times.h: Add reference to POSIX standard.
11333
11334 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11335
11336 * libc/include/sys/time.h: Added BSD timer manipulation macros
11337 used by RTEMS code.
11338
11339 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11340
11341 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11342 referenced by code generated by gcc 2.8.1.
11343 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
11344 satisfy gcc.
11345
11346 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11347
11348 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
11349
11350 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11351
11352 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
11353
11354 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11355
11356 * configure.host (or16, or32): New entries for OpenCores
11357 OpenRisc CPUs.
11358 (*-*-rtems*): Add -DNO_EXEC.
11359
11360 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
11361
11362 * libc/include/sys/errno.h: Added comments on many error numbers.
11363 * libc/string/strerror.c: Added some more strings.
11364
11365 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
11366
11367 * libc/sys/sh/syscalls.c (_link): New stub.
11368
11369 2000-11-29 Nick Clifton <nickc@redhat.com>
11370
11371 * configure.host: Add xscale target.
11372 * libc/machine/xscale: New directory.
11373 * libc/machine/xscale/Makefile.am: New file.
11374 * libc/machine/xscale/Makefile.in: New file.
11375 * libc/machine/xscale/aclocal.m4: New file.
11376 * libc/machine/xscale/configure: New file.
11377 * libc/machine/xscale/configure.in: New file.
11378 * libc/machine/xscale/memchr.S: New file.
11379 * libc/machine/xscale/memcmp.S: New file.
11380 * libc/machine/xscale/memcpy.S: New file.
11381 * libc/machine/xscale/memmove.S: New file.
11382 * libc/machine/xscale/memset.S: New file.
11383 * libc/machine/xscale/strchr.S: New file.
11384 * libc/machine/xscale/strcmp.S: New file.
11385 * libc/machine/xscale/strcpy.S: New file.
11386 * libc/machine/xscale/strlen.S: New file.
11387
11388 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11389
11390 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
11391 avoid compiler warnings.
11392
11393 2000-11-22 Michael Meissner <meissner@redhat.com>
11394
11395 * libc/posix/execl.c (execl): Don't reference environ directly,
11396 reference it only via a static pointer to avoid problems with some
11397 shared library systems and with different uses of small data where
11398 the user specifies his own version of environ.
11399 * libc/posix/execv.c (execv): Ditto.
11400 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
11401 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
11402 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
11403
11404 * libc/stdlib/getenv.c (environ): Delete unused reference to
11405 environ.
11406
11407 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
11408 colorization.
11409 * libc/stdlib/system.c: Ditto.
11410
11411 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
11412
11413 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
11414 including windows headers.
11415
11416 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
11417
11418 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
11419 * libc/include/dirent.h: Added definition of MAXNAMLEN if
11420 not defined by sys/dirent.h.
11421 * libc/posix/execvp.c: Added include of dirent.h to get
11422 MAXNAMLEN value which used to be in unistd.h.
11423
11424 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11425
11426 * libc/include/sys/types.h: Change type of i to `size_t' in
11427 FD_ZERO macro to avoid compiler warnings.
11428
11429 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
11430
11431 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
11432 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
11433
11434 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11435
11436 * libc/include/sys/unistd.h: Add defines for sysconf values
11437 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
11438 _SC_AVPHYS_PAGES.
11439
11440 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
11441
11442 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
11443 declarations for __CYGWIN__.
11444
11445 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
11446
11447 * libc/signal/signal.c (__sigtramp_r): ISO C requires
11448 case labels to be integral constant expressions, so
11449 use an if/else tree instead.
11450 (_raise_r): Likewise.
11451
11452 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
11453
11454 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
11455 clipping patch from e-mail reader.
11456
11457 2000-09-13 Will Cohen <wcohen@redhat.com>
11458
11459 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
11460 Added return value 0.
11461 (_longjmp): Allow longjmp to return value of second argument
11462 passed to it.
11463
11464 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
11465
11466 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
11467 inline code to prevent having to include another header file.
11468
11469 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
11470
11471 * Makefile.am: Fix space vs. tab problem in install-data-local.
11472 * Makefile.in: Regenerate.
11473
11474 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
11475
11476 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
11477 (_EXPARM): New macro for defining a function parameter.
11478 * libc/include/stdlib.h: Use _EXPARM.
11479 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
11480
11481 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
11482
11483 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
11484 required, as documented in the gnu coding standards.
11485 * Makefile.in: Regenerate.
11486
11487 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
11488
11489 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
11490 make O_NDELAY and O_NONBLOCK have the same value.
11491
11492 2000-08-30 Kazu Hirata <kazu@hxi.com>
11493
11494 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
11495
11496 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
11497
11498 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
11499 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
11500 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
11501 everywhere else.
11502
11503 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
11504
11505 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
11506 * libc/include/string.h: Don't include <sys/types.h>,
11507 as it causes really bad namespace pollution. Don't declare
11508 swab(), it is properly declared in unistd.h.
11509
11510 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
11511
11512 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
11513 (broken) support for non-existent /etc/passwd field "comment".
11514
11515 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11516
11517 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
11518 only if _DIRENT_HAVE_D_NAMLEN is defined.
11519 (alphasort): aligned prototype with
11520 libc/sys/cygwin/sys/dirent.h and simplified function body.
11521 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
11522 long telldir (DIR *) as mentioned in annex B of POSIX.1
11523
11524 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11525
11526 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
11527 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
11528 Added __CLI and __STI macros (controlled via
11529 _I386MACH_ALLOW_HW_INTERRUPTS macro).
11530 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
11531 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
11532 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
11533 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
11534 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
11535 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
11536 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
11537 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
11538 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
11539 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
11540 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
11541 for all global entry points.
11542 * libc/machine/i386/setjmp.S: removed code replicated in
11543 libc/machine/i386/i386mach.h and included i386mach.h instead;
11544 Use __CLI and __STI instead of cli and sti.
11545
11546 2000-08-25 DJ Delorie <dj@redhat.com>
11547
11548 * libc/include/sys/unistd.h (environ): this one isn't from the
11549 DLL, no __IMPORT
11550
11551 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
11552
11553 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
11554 environ when compiling under cygwin since it is already declared in
11555 unistd.h.
11556
11557 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11558
11559 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
11560 like x << y-z to the equivalent x << (y-z).
11561 (d2b): changed if statements with assignment to perform the
11562 assignment prior to the if check.
11563 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
11564 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
11565 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
11566 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
11567 precedence.
11568 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
11569 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
11570 execve.c).
11571 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
11572 precedence.
11573 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
11574 clarify && and || precendence (and to remove pascalism).
11575 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
11576 * libm/math/s_infconst.c: added another pair of braces to all
11577 initializers for __infinity (need three: for __infinity[1] array,
11578 for union __dmath, and for i[2]).
11579
11580 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11581
11582 * libc/stdlib/abort.c: changed description: uses "raise" instead of
11583 "getpid" and "kill"; added: uses "write" and "_exit".
11584 Also included unistd.h for "_exit" prototype.
11585 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
11586 reent.h for "_fork_r" and "_wait_r" prototypes.
11587 (do_system): changed extern char *environ[] to POSIX-friendly
11588 extern char **environ.
11589 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
11590 prototypes.
11591 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
11592 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
11593 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
11594 * libc/reent/openr.c: included fcntl.h for "open" prototype.
11595 * libc/reent/signalr.c: included signal.h for "kill" prototype,
11596 unistd.h for "getpid" prototype.
11597 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
11598 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
11599 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
11600 prototype. Also included stdlib.h for "abort", string.h for
11601 "strdup" and "strncmp" prototypes.
11602 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
11603 "strncpy", unistd.h for "read" and "close" prototypes.
11604 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
11605 "strcat" prototypes.
11606
11607 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
11608
11609 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
11610 used later (ifdef __SCLE)
11611 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
11612 used later (ifdef MB_CAPABLE)
11613 * libc/string/memset.c (memset): removed unused variables "count"
11614 and "unaligned_addr"
11615 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
11616 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
11617 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
11618 and "gid"
11619
11620 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11621
11622 * libc/stdlib/envlock.c: changed documented "__env_lock" and
11623 "__env_unlock" prototype from "void *" or "char *" to
11624 "struct _reent *" to match real function. Also added include
11625 of envlock.h.
11626 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
11627 "__malloc_unlock" prototype from "void *" or "char *" to
11628 "struct _reent *" to match real function.
11629 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
11630 prototypes (for getenv_r.c and setenv_r.c).
11631
11632 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
11633
11634 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
11635 and prototype in cygwin's utmp.h
11636
11637 2000-08-16 Eric Fifer <efifer@sanwaint.com>
11638
11639 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
11640
11641 2000-08-09 Nick Clifton <nickc@cygnus.com>
11642
11643 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
11644 epilogue and to allow the functions to be used in a Thumb based
11645 toolchain.
11646
11647 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
11648
11649 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
11650 so size of 0 results in nothing being written to string.
11651 Also fixed code so that when size is non-zero, there is only
11652 a maximum of size - 1 characters written to the array and
11653 a nul terminator is appended at the end.
11654 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
11655
11656 2000-08-01 DJ Delorie <dj@redhat.com>
11657
11658 * libc/include/sys/config.h: define __IMPORT appropriately
11659 * libc/include/ctype.h (_ctype_): use __IMPORT
11660 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
11661 * libc/include/math.h (__mb_cur_max): ditto
11662 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
11663 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
11664 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
11665 * libc/include/unistd.h (environ): ditto
11666
11667 2000-07-28 Michael Meissner <meissner@redhat.com>
11668
11669 * libc/include/math.h (__infinity): Declare as an array without
11670 bounds to get around small data support. Rewrite Cygwin support
11671 to be more general.
11672 * libm/math/s_infconst.c (__infinity): Ditto.
11673 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11674
11675 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11676
11677 * libc/include/math.h: Use appropriate dll import linkage for
11678 __infinity under Cygwin.
11679
11680 2000-07-13 DJ Delorie <dj@cygnus.com>
11681
11682 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11683
11684 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11685
11686 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11687 to argument list for AngelSWI_Reason_GetCmdLine.
11688
11689 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11690
11691 * configure.host: Add support for AVR target.
11692 * libc/include/machine/ieeefp.h: Likewise.
11693 * libc/include/sys/config.h: Likewise.
11694
11695 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11696
11697 * README: Newlib 1.8.2 must be built in a separate directory
11698 than the sources.
11699
11700 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11701
11702 * libc/include/sys/reent.h (_rand_next): Added __extension__
11703 qualifier as long long type is not strict ANSI.
11704 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11705 to long long constant.
11706
11707 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11708
11709 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11710 `setegid' provided by Cygwin.
11711
11712 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11713
11714 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11715 account for Cygwin.
11716
11717 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11718
11719 * libc/include/sys/reent.h (_rand_next): Changed to
11720 unsigned long long and moved to end of _reent struct in _new union.
11721 (_REENT_INIT): Changed to move _rand_next initialization.
11722 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11723 linear congruential algorithm that is used by DJGPP.
11724
11725 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11726
11727 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11728 * libc/include/sys/config.h: Define __RAND_MAX.
11729
11730 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11731
11732 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11733 standard.
11734
11735 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11736
11737 * libc/include/string.h: Work around problem with strsignal and gdb.
11738
11739 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11740
11741 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11742 * libc/include/malloc.h: Ditto.
11743 * libc/include/process.h: Ditto.
11744 * libc/include/stdio.h: Ditto.
11745 * libc/include/stdlib.h: Ditto.
11746 * libc/include/time.h: Ditto.
11747 * libc/include/machine/setjmp.h: Ditto.
11748 * libc/include/sys/errno.h: Ditto.
11749 * libc/include/sys/signal.h: Ditto.
11750 * libc/include/sys/stat.h: Ditto.
11751 * libc/include/sys/time.h: Ditto.
11752 * libc/include/sys/unistd.h: Ditto.
11753 * libc/include/string.h: Ditto. strsignal should return a const char *.
11754
11755 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11756
11757 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11758 * libm/common/s_log1p.c (log1p): Likewise.
11759 * libm/common/s_scalbn.c (scalbn): Likewise.
11760 * libm/math/e_log.c: Likewise.
11761 * libm/math/e_asin.c: Likewise.
11762 * libm/math/ef_asin.c: Likewise.
11763 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11764 * libm/math/e_j1.c (pone, qone): Likewise.
11765 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11766 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11767 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11768 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11769 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11770 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11771
11772 2000-05-19 DJ Delorie <dj@cygnus.com>
11773
11774 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11775 (__sread): always read in binary mode
11776 (__swrite): always write in binary mode
11777 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11778 compatibility issues with different dll versions
11779 * libc/stdio/fopen.c: use __stextmode
11780 * libc/stdio/fdopen.c: ditto
11781 * libc/stdio/freopen.c: ditto
11782 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11783 * libc/stdio/local.h: declare __stextmode
11784
11785 2000-05-18 DJ Delorie <dj@cygnus.com>
11786
11787 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
11788
11789 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11790
11791 * libc/include/ctype.h: Changed tolower and toupper macros
11792 to use __extension__ to prevent pedantic warnings.
11793
11794 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11795
11796 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11797 structures.
11798
11799 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11800
11801 * libc/include/machine/ieeefp.h: Add ia64 support.
11802 * configure.host: Likewise.
11803
11804 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11805
11806 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11807 month is now padded with space, not zero. This now conforms to
11808 ANSI standard.
11809
11810 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11811
11812 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11813 host or network path") used by cygwin. Add some comments.
11814
11815 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11816
11817 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11818 endings" for Cygwin.
11819 (__sgetc): convert line endings if needed
11820 (__sputc): ditto
11821 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11822 * libc/stdio/fopen.c (_fopen_r): ditto
11823 * libc/stdio/freopen.c (freopen): ditto
11824 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11825 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11826
11827 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11828
11829 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11830 post-increment when it is worth it, spacewise.
11831
11832 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11833
11834 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11835 * libc/stdio/findfp.c (std): Added declaration of flags and file.
11836 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
11837 return type.
11838 * libc/stdio/putchar.c (putchar): Added return statement.
11839 * libc/stdio/refill.c (lflush): Added correct parentheses.
11840 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
11841 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
11842 prints long value to use l qualifier.
11843 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11844 messages and initialized local values: ilim, ilim1, and spec_case.
11845 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11846 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11847 * libc/stdlib/mprec.c: Ditto.
11848 * libc/stdlib/setenv_r.c: Ditto.
11849 * libc/stdlib/strtod.c: Ditto.
11850 * libc/stdlib/strtol.c: Ditto.
11851 * libc/stdlib/strtoul.c: Ditto.
11852 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11853 * libm/common/sf_log1p.c: Ditto.
11854 * libm/common/sf_scalbn.c: Ditto.
11855 * libm/math/ef_log.c: Ditto.
11856
11857 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11858
11859 * libc/posix/execvp.c (execvp): Check path for
11860 trailing slash.
11861
11862 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11863
11864 * libc/include/sys/unistd.h: Add prototypes for
11865 fchmod, fchown, lchown.
11866
11867 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11868
11869 * acinclude.m4: Changed release to 1.8.2.
11870 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11871 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11872 libc/machine/configure libc/machine/a29k/aclocal.m4
11873 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11874 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11875 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11876 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11877 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11878 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11879 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11880 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11881 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11882 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11883 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11884 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11885 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11886 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11887 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11888 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11889 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11890 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11891 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11892 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11893 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11894 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11895 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11896 libc/machine/z8k/configure libc/sys/aclocal.m4
11897 libc/sys/aclocal.m4 libc/sys/configure
11898 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11899 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11900 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11901 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11902 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11903 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11904 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11905 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11906 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11907 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11908 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11909 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11910 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11911 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11912 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11913 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11914 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11915 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11916 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11917 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11918 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11919 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11920 libm/aclocal.m4 libm/configure: Regenerated.
11921
11922 2000-03-24 Nick Clifton <nickc@cygnus.com>
11923
11924 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11925 (do_AngelSWI): Add "cc" to list o registers clobbered.
11926
11927 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11928
11929 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
11930 information to be clobbered by an Angel C library support syscall.
11931
11932 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11933
11934 * libc/stdlib/envlock.c: Fixed comment typo.
11935
11936 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11937
11938 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
11939 code to update nread as each character is processed instead
11940 of using buffer contents which throw away leading zeroes.
11941
11942 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
11943
11944 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
11945
11946 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
11947
11948 * libc/include/string.h: Include <sys/types.h>.
11949
11950 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11951
11952 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
11953 with XSH5, not SVID.
11954
11955 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11956
11957 * libc/include/string.h: Changed last argument back to ssize_t
11958 to make it compatible with XPG4 definition which is
11959 defined in <unistd.h>. There is a conflict in the SVID 3
11960 and XPG4 definitions and newlib will settle with XPG4.
11961 * libc/string/swab.c: Ditto.
11962
11963 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11964
11965 * libc/include/string.h: Changed last argument to size_t.
11966 * libc/string/swab.c: Changed last argument to size_t.
11967
11968 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11969
11970 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11971 (CHEWOUT_FILES): Added unlinkr.def.
11972 * libc/reent/Makefile.in: Rebuilt.
11973 * libc/sys.tex: Include unlinkr.def.
11974 * libc/reent/linkr.c (_unlink_r): Moved to...
11975 * libc/reent/unlinkr.c: ... new file.
11976
11977 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11978
11979 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11980 (CHEWOUT_FILES): Added swab.def.
11981 * libc/string/Makefile.in: Rebuilt.
11982 * libc/string/string.tex: Include swab.def.
11983 * libc/include/string.h (swab): Declare.
11984 * libc/string/swab.c: New file.
11985
11986 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11987
11988 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
11989 (CHEWOUT_FILES): Added getw.def and putw.def.
11990 * libc/stdio/Makefile.in: Rebuilt.
11991 * libc/stdio/stdio.tex: Include getw.def and putw.def.
11992 * libc/stdio/getw.c: New file.
11993 * libc/stdio/putw.c: New file.
11994
11995 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11996
11997 * libc/stdio/flags.c (__sflags): Added check that mode[1]
11998 is non-null before looking at mode[2].
11999
12000 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12001
12002 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
12003 * libm/mathfp/sf_atan.c: Ditto.
12004
12005 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
12006
12007 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
12008
12009 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12010
12011 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
12012 _DOUBLE_IS_32BITS.
12013
12014 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12015
12016 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
12017 call prior to calling _VFPRINTF_R so reentrant data area is set.
12018 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
12019
12020 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12021
12022 * libc/stdio/vfscanf.c (limits.h): #include.
12023 (MAX_LONG_LEN): #define.
12024 (__svfscanf): Handle floating point numbers with arbitrary amounts
12025 of leading zeroes.
12026
12027 2000-02-15 Nick Clifton <nickc@cygnus.com>
12028
12029 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
12030 zero. Set the blocksize to 1024/
12031
12032 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12033
12034 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
12035 with line buffering.
12036
12037 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12038
12039 * acinclude.m4: Changed include directory for winsup headers.
12040 * aclocal.m4 configure libc/aclocal.m4
12041 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
12042 libc/locale/Makefile.in libc/machine/aclocal.m4
12043 libc/machine/configure libc/machine/a29k/aclocal.m4
12044 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
12045 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
12046 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
12047 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
12048 libc/machine/fr30/configure
12049 libc/machine/h8300/aclocal.m4
12050 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12051 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12052 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12053 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12054 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12055 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12056 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12057 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12058 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12059 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12060 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12061 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
12062 libc/machine/powerpc/configure
12063 libc/machine/sh/aclocal.m4
12064 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12065 libc/machine/sparc/configure
12066 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12067 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12068 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12069 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12070 libc/misc/Makefile.in libc/posix/Makefile.in
12071 libc/reent/Makefile.in
12072 libc/signal/Makefile.in
12073 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
12074 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12075 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
12076 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
12077 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
12078 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12079 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12080 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12081 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12082 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12083 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12084 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12085 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12086 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
12087 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
12088 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
12089 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
12090 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
12091 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
12092 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
12093 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
12094 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
12095 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
12096 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
12097 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
12098 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
12099 libm/configure: Regenerated.
12100
12101 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
12102
12103 * libc/stdlib/putenv_r.c (_putenv_r): New file.
12104 * libc/stdlib/strdup_r.c (_strdup_r): New file.
12105 * libc/include/string.h: Added _strdup_r.
12106 * libc/stdlib/putenv.c: Added call to reentrant version.
12107 * libc/stdlib/strdup.c: Ditto.
12108 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
12109 * libc/include/stdlib.h: Ditto.
12110 * libc/stdlib/Makefile.in: Regenerated.
12111 * libc/string/Makefile.in: Regenerated.
12112 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
12113 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
12114 management calls to reentrant versions.
12115 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
12116 * libc/stdlib/wctomb.c: Ditto.
12117 * libc/stdlib/mblen.c: Ditto.
12118 * libc/stdlib/mbstowcs.c: Ditto.
12119 * libc/stdlib/mbtowc.c: Ditto.
12120 * libc/stdlib/getenv.c: Ditto.
12121 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
12122 and _strdup_r.
12123
12124 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
12125
12126 patch from Corinna Vinschen <corinna@vinschen.de>
12127 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
12128
12129 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
12130
12131 * libm/mathfp/s_atangent.c: Fix exponent calculation.
12132 * libm/mathfp/s_ldexp.c: Ditto.
12133 * libm/mathfp/sf_atangent.c: Ditto.
12134 * libm/mathfp/sf_ldexp.c: Ditto.
12135
12136 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12137
12138 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
12139 * libc/include/locale.h: define NULL to be 0.
12140
12141 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
12142
12143 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
12144 function.
12145
12146 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
12147
12148 * libc/machine/mn10300/setjmp.S: Handle am33.
12149
12150 1999-11-26 Nick Clifton <nickc@cygnus.com>
12151
12152 * libc/sys/arm/syscalls.c: Add function prototypes.
12153 (stack_ptr): Move declaration before function definitions.
12154
12155 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12156
12157 * NEWS: Updated version information.
12158 * README: Ditto.
12159
12160 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
12161
12162 * libc/machine/i386/strchr.S: Fixed alignment test.
12163
12164 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
12165
12166 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
12167
12168 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
12169
12170 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
12171 ensuring that there is space between the two.
12172
12173 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
12174
12175 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
12176 only.
12177
12178 1999-10-08 Vadim Egorov <egorovv@1c.ru>
12179
12180 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
12181 section
12182
12183 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12184
12185 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
12186 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
12187
12188 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
12189 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
12190 per POSIX 1003.1b.
12191 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
12192 per POSIX 1003.1b.
12193
12194 1999-09-13 DJ Delorie <dj@cygnus.com>
12195
12196 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
12197 also.
12198
12199 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12200
12201 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
12202 also note BUFSIZ as its size.
12203
12204 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
12205
12206 * configure.host: Corrected feature defines for RTEMS.
12207 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
12208 * libc/include/sys/stat.h: mkfifo() should take const path arg.
12209 * libc/include/sys/unistd.h: pathconf() should take const path arg.
12210 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
12211 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
12212 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
12213 _PC_PRIO_IO, and _PC_SYNC_IO.
12214 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
12215 * libc/machine/m68k/Makefile.in: Regenerated.
12216 * libc/machine/m68k/strcpy.c: New file.
12217 * libc/machine/m68k/strlen.c: New file.
12218 * libc/stdio/tmpnam.c: Always make the returned name usable.
12219 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
12220 * libc/sys/rtems/sys/dirent.h: New file.
12221 * libc/sys/rtems/sys/types.h: Added dev_t.
12222
12223 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
12224
12225 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
12226
12227 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
12228
12229 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
12230 my patch.
12231
12232 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
12233
12234 patch from Jeff Johnston <jjohnstn@cygnus.com>
12235 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
12236 buffer is not in a useful state.
12237
12238 1999-09-01 Nick Clifton <nickc@cygnus.com>
12239
12240 * libc/sys/arm/syscalls.c (_link): Add stub.
12241
12242 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12243
12244 * ftell.c (ftell): Use actual position within buffer for text mode.
12245 * findfp.c (std): Initialize ptr->_bf._size.
12246
12247 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
12248
12249 * libc/include/sys/unistd.h: Add nice() declaration.
12250
12251 1999-08-09 Nick Clifton <nickc@cygnus.com>
12252
12253 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
12254 declare as a thumb function so that the disassembler will see the
12255 mode change.
12256
12257 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12258
12259 * libc/reent/reent.tex: Updated list of reentrant functions.
12260
12261 1999-07-09 Michael Meissner <meissner@cygnus.com>
12262
12263 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
12264
12265 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
12266
12267 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
12268 separate file.
12269 * libc/stdio/snprintf.c: New file.
12270 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
12271 separate file.
12272 * libc/stdio/vsnprintf.c: New file.
12273 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
12274 * libc/stdio/Makefile.in: Regenerated.
12275
12276 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
12277
12278 Patch submitted by Egor Duda <deo@logos-m.ru>:
12279 * libc/include/stdio.h: Add declarations for *nprintf.
12280 * libc/stdio/sprintf.c (snprintf): New function.
12281 (_snprintf_r): New function.
12282 * libc/stdio/vsprintf.c (vsnprintf): New function.
12283 (_vnsprintf_r): New function.
12284
12285 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12286
12287 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12288 * libm/Makefile.am (stmp-targetdep): Ditto.
12289 * libc/Makefile.in: Regenerated.
12290 * libm/Makefile.in: Ditto.
12291
12292 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12293
12294 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12295 * libm/Makefile.am (stmp-targetdep): Ditto.
12296 * libc/Makefile.in: Regenerated.
12297 * libm/Makefile.in: Ditto.
12298
12299 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12300
12301 * Makefile.am: Removed dependencies on all-recursive and added "."
12302 to the SUBDIRS list to prevent infinite recursion from occurring.
12303 Also removed any references to EXTRA_DATA.
12304 * libc/Makefile.am: Ditto.
12305 * libc/machine/Makefile.am: Ditto.
12306 * libc/machine/i386/Makefile.am: Ditto.
12307 * libm/Makefile.am: Ditto.
12308 * libc/sys/Makefile.am: Ditto.
12309 * Makefile.in: Regenerated.
12310 * aclocal.m4: Ditto.
12311 * configure: Ditto.
12312 * doc/Makefile.in: Ditto.
12313 * doc/aclocal.m4: Ditto.
12314 * doc/configure: Ditto.
12315 * libc/Makefile.in: Ditto.
12316 * libc/aclocal.m4: Ditto.
12317 * libc/configure: Ditto.
12318 * libc/machine/Makefile.in: Ditto.
12319 * libc/machine/aclocal.m4: Ditto.
12320 * libc/machine/configure: Ditto.
12321 * libc/machine/mn10300/Makefile.in: Ditto.
12322 * libc/machine/mn10300/aclocal.m4: Ditto.
12323 * libc/machine/mn10300/configure: Ditto.
12324 * libc/sys/Makefile.in: Ditto.
12325 * libc/sys/aclocal.m4: Ditto.
12326 * libc/sys/configure: Ditto.
12327 * libm/Makefile.in: Ditto.
12328 * libm/aclocal.m4: Ditto.
12329 * libm/configure: Ditto.
12330
12331 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12332
12333 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12334
12335 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12336
12337 * libc/include/stdlib.h: Add reentrant routines.
12338 * libc/stdlib/Makefile.am: Add reentrant routines.
12339 * libc/stdlib/Makefile.in: Ditto.
12340 * libc/stdlib/envlock.c: New file.
12341 * libc/stdlib/envlock.h: New file.
12342 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12343 * libc/stdlib/getenv_r.c: New file.
12344 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12345 * libc/stdlib/mblen_r.c: New file.
12346 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12347 * libc/stdlib/setenv_r.c: New file.
12348 * libc/stdlib/stdlib.tex: Add reentrant routines.
12349
12350 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12351
12352 * libc/include/sys/types.h: Define __MS_types__ whenever
12353 cygwin or win32.
12354
12355 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12356
12357 * libc/include/machine/ieeefp.h: Always default to little
12358 endian if Windows, regardless of architecture.
12359 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12360 regardless of architecture.
12361
12362 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12363
12364 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
12365 _WIN32 isn't defined.
12366
12367 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
12368
12369 * libm/common/s_rint.c (rint): Add volatile qualifier for
12370 intermediate value w.
12371 * libm/common/sf_rint.c (rintf): Ditto.
12372
12373 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12374
12375 * libc/sys/arm/syscalls.c (remap_handle): Added check to
12376 ensure that std streams are initialized before being referenced.
12377
12378 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
12379
12380 * README: Update reference to newlib@cygnus.com new
12381 newlib@sourceware.cygnus.com address.
12382
12383 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
12384
12385 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
12386 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
12387 defined, even if _WIN32 isn't defined.
12388
12389 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
12390
12391 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
12392
12393 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12394
12395 * libc/include/sys/reent.h: Change Long and ULong to __Long and
12396 __ULong.
12397 * libc/stdlib/dtoa.c: Ditto.
12398 * libc/stdlib/mprec.c: Ditto.
12399 * libc/stdlib/mprec.h: Ditto.
12400 * libc/stdlib/strtod.c: Ditto.
12401
12402 1999-04-21 Nick Clifton <nickc@cygnus.com>
12403
12404 * configure.host (mcore): Remove mcore machine directory.
12405
12406 1999-04-18 Nick Clifton <nickc@cygnus.com>
12407
12408 * libc/include/machine/ieeefp.h: Add support for mcore target.
12409 * libc/include/machine/setjmp.h: Add support for mcore target.
12410 * configure.host: Add support for mcore target.
12411
12412 1999-04-13 Mark Salter <msalter@cygnus.com>
12413
12414 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
12415 * libc/sys/arm/syscalls.c: Added isatty.
12416
12417 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12418
12419 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
12420 insert zeroes after significant digits.
12421
12422 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12423
12424 * libc/stdio/vfprintf.c (cvt): Changed floating point
12425 cvt routine to use union used by dtoa to properly determine
12426 if the sign bit is on or not.
12427 * libc/stdio/vfieeefp.h: New file
12428
12429 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12430
12431 * aclocal.m4: Regenerated.
12432 * configure: Regenerated.
12433
12434 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12435
12436 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
12437 f_tanf reference.
12438 * libc/machine/i386/Makefile.in: Regenerated.
12439
12440 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
12441
12442 * acinclude.m4: Changed to work with new automake.
12443 * configure: Regenerated.
12444 * libc/machine/i386/aclocal.m4: Regenerated.
12445 * libc/machine/i386/configure: Regenerated.
12446
12447 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
12448
12449 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
12450 for telldir() and seekdir(). Rename unused structure element
12451 for use with these two routines.
12452
12453 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
12454
12455 * libc/time/mktime.c (validate_structure): Multiple fixes to
12456 code to handle cases where input fields are outside valid ranges.
12457 * libc/stdlib/div.c (div): Modified invalid rounding check.
12458 * libc/stdlib/ldiv.c (ldiv): Ditto.
12459
12460 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
12461
12462 * libc/machine/i386/memcpy.S: Performance rewrite.
12463 * libc/machine/i386/memmove.S: Ditto.
12464 * libc/machine/i386/i386mach.h: Added more register definitions.
12465 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
12466 option used.
12467 * libc/include/machine/fastmath.h: Add definitions for x86
12468 fast-math routines.
12469
12470 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12471
12472 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
12473
12474 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
12475
12476 Adjust newlib headers for new Cygwin Win32 API header files:
12477 * libc/include/sys/time.h: Check _WINSOCK_H rather than
12478 _GNU_H_WINDOWS32_SOCKETS.
12479 * libc/include/sys/types.h: Ditto.
12480
12481 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12482
12483 *include/sys/reent.h: Add checks for size of Bigint element Long.
12484 *libc/dtoa.c: Change routines to use generic Long type.
12485 *libc/mprec.c: Change routines to use generic Long type.
12486 *libc/mprec.h: Change routines to use generic Long type.
12487
12488 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
12489
12490 * libc/Makefile.am: Add .def files.
12491 * libc/Makefile.in: Regenerate.
12492 * libc/e_acosh.c: Documentation update.
12493 * libc/e_atanh.c: Documentation update.
12494 * libc/e_hypot.c: Documentation update.
12495 * libc/e_remainder.c: Documentation update.
12496 * libc/er_lgamma.c: Documentation update.
12497 * libc/mathfp.tex: Documentation update.
12498 * libc/s_acos.c: Documentation update.
12499 * libc/s_atan.c: Documentation update.
12500 * libc/s_atan2.c: Documentation update.
12501 * libc/s_cosh.c: Documentation update.
12502 * libc/s_fmod.c: Documentation update.
12503 * libc/s_isnan.c: Documentation update.
12504 * libc/s_log10.c: Documentation update.
12505 * libc/s_pow.c: Documentation update.
12506 * libc/w_jn.c: Documentation update.
12507
12508 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
12509
12510 * aclocal.m4: Regenerate.
12511 * configure: Regenerate.
12512
12513 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
12514
12515 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
12516 to return 1 if user specified return code is 0.
12517 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
12518
12519 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
12520
12521 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
12522 to save the return address. Fixed longjmp to return to the original
12523 calling address of setjmp and to return the user specified return code
12524 rather than default to 1.
12525 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
12526
12527 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
12528
12529 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
12530
12531 1999-02-10 Nick Clifton <nickc@cygnus.com>
12532
12533 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
12534 volatile so that its assignments will not be discarded.
12535
12536 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
12537
12538 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
12539 be __STRICT_ANSI__ which is generated by compiler.
12540 * libc/include/ctype.h: Ditto.
12541 * libc/include/math.h: Ditto.
12542 * libc/include/stdio.h: Ditto.
12543 * libc/include/stdlib.h: Ditto.
12544 * libc/include/string.h: Ditto.
12545 * libc/include/sys/signal.h: Ditto.
12546
12547 1999-02-08 Nick Clifton <nickc@cygnus.com>
12548
12549 * configure.host: Add support for StrongARM target.
12550
12551 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
12552
12553 * libc/string/strncpy.c (strncpy): Removed redundant code
12554 that was copying bytes if data unaligned.
12555
12556 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
12557
12558 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
12559 mbstowcs.def, and wcstombs.def.
12560
12561 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
12562
12563 * libc/include/sys/errno.h: Add Cygwin errno.
12564 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
12565 is specified.
12566
12567 1999-01-29 Nick Clifton <nickc@cygnus.com>
12568
12569 * libc/sys/arm/syscalls.c: Move C library functions into seperate
12570 file.
12571
12572 * libc/sys/arm/libcfunc.c: New file containing C library functions
12573 from syscalls.c
12574
12575 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
12576 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
12577
12578
12579 1999-01-27 Michael Meissner <meissner@cygnus.com>
12580
12581 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
12582 type, and cut size in half so that the jmp_buf array is guaranteed
12583 to be aligned on a 64-bit boundary.
12584
12585 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
12586
12587 * libc/string/strings.tex: Added information about
12588 strcasecmp and strncasecmp.
12589 * libc/stdlib/stdlib.tex: Added missing information
12590 about mblen, mbstowcs, and wcstombs.
12591 * libc/string/strchr.c: Changed how mask is built to use
12592 shift operators so register will be used instead of storage.
12593
12594 1999-01-22 DJ Delorie <dj@cygnus.com>
12595
12596 * libc/include/stdlib.h: don't use dllimport if we're building
12597 newlib, since it's inside cygwin.dll
12598
12599 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
12600
12601 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
12602 _ctype_ under cygwin.
12603
12604 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
12605
12606 * include/stdlib.h: Fix typo from previous checkin.
12607
12608 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
12609
12610 * include/ctype.h: Use __declspec(dllimport) method for exporting
12611 variable from cygwin DLL.
12612 * include/time.h: Ditto.
12613 * sys/errno.h: Ditto.
12614 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
12615 * libc/locale/locale.c: Use __declspec(dllexport) method for
12616 exporting variable from cygwin DLL.
12617
12618 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
12619
12620 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
12621 access of bogus pointer will result in SIGSEGV.
12622
12623 1999-01-07 Nick Clifton <nickc@cygnus.com>
12624
12625 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
12626 of an underscore prefix to function names.
12627
12628 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
12629
12630 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
12631 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
12632
12633 1998-12-31 Michael Meissner <meissner@cygnus.com>
12634
12635 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
12636 to `%' if not already defined.
12637
12638 1998-12-30 Michael Meissner <meissner@cygnus.com>
12639
12640 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
12641 arguments const char *, not char *.
12642 * libc/include/stdio.h (_tempnam_r): Ditto.
12643
12644 * libc/include/sys/reent.h (struct _reent): The _sig_func type
12645 points to a function taking an integer, not void.
12646
12647 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
12648
12649 * configure.host: Add a define for Cygwin builds.
12650 * libc/include/ctype.h: Don't use dll imported variables in newlib.
12651
12652 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
12653
12654 * libc/include/ctype.h: Define _ctype_ as dll imported variable
12655 for use with Cygwin.
12656 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
12657 dll imported variables for use with Cygwin.
12658 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
12659 as a dll imported variable for Cygwin.
12660
12661 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
12662
12663 * libc/include/sys/unistd.h: Add proto for getpass.
12664
12665 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
12666
12667 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12668 alphasort.
12669
12670 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12671
12672 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12673 not posix_path_list_p.
12674
12675 1998-12-15 Nick Clifton <nickc@cygnus.com>
12676
12677 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12678 a signed int.
12679
12680 1998-12-13 Nick Clifton <nickc@cygnus.com>
12681
12682 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12683
12684 1998-12-12 Nick Clifton <nickc@cygnus.com>
12685
12686 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12687 <msalter@cygnus.com>
12688 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12689 * libc/machine/fr30/Makefile.in: Regenerated.
12690
12691 1998-12-11 Nick Clifton <nickc@cygnus.com>
12692
12693 * configure.host: Remove use of libc/sys for FR30 port.
12694 * libc/sys/fr30: Remove directory (replaced by libgloss).
12695
12696 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
12697
12698 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12699 * libc/string/strncat.c (ALIGNED): Ditto.
12700
12701 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12702
12703 * libc/include/sys/time.h: include sys/types.h
12704
12705 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12706
12707 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12708 comparison found when checking word at a time.
12709
12710 1998-12-04 Nick Clifton <nickc@cygnus.com>
12711
12712 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12713
12714 1998-12-03 Nick Clifton <nickc@cygnus.com>
12715
12716 * libc/sys/fr30/syscalls.c (_times): New function stub.
12717
12718 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12719
12720 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12721 with mach_add_setjmp flag which indicates if setjmp should
12722 be added to the machine directory objects.
12723 * acinclude.m4: Removed reference to mach_add_objs.
12724 * aclocal.m4: Regenerated.
12725 * Makefile.in: Regenerated.
12726 * configure: Regenerated.
12727 * libc/aclocal.m4: Regenerated.
12728 * libc/Makefile.in: Regenerated.
12729 * libc/configure: Regenerated.
12730 * libc/machine/aclocal.m4: Regenerated.
12731 * libc/machine/Makefile.in: Regenerated.
12732 * libc/machine/configure: Regenerated.
12733 * libc/machine/i386/aclocal.m4: Regenerated.
12734 * libc/machine/i386/Makefile.am: Altered to selectively add
12735 setjmp.S to the src files list.
12736 * libc/machine/i386/Makefile.in: Regenerated.
12737 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12738 * libc/machine/i386/configure: Regenerated.
12739
12740 1998-12-02 Nick Clifton <nickc@cygnus.com>
12741
12742 * libc/sys/fr30/crt0.s (_start): Fix function names.
12743
12744 * libc/machine/fr30: New directory
12745 * libc/machine/fr30/Makefile.am: New file.
12746 * libc/machine/fr30/Makefile.in: New generated file.
12747 * libc/machine/fr30/configure.in: New file.
12748 * libc/machine/fr30/configure: New generated file.
12749 * libc/machine/fr30/aclocal.m4: New generated file.
12750 * libc/sys/fr30/Makefile.am: New file.
12751 * libc/sys/fr30/Makefile.in: New generated file.
12752 * libc/sys/fr30/configure.in: New file.
12753 * libc/sys/fr30/configure: New generated file.
12754 * libc/sys/fr30/syscalls.c: New file.
12755
12756 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12757
12758 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12759
12760 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
12761
12762 * libc/time/strftime.c (strftime): Also handle %y for years before
12763 1900.
12764
12765 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12766
12767 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12768 UNIX convention. Perform tolower on characters before comparing
12769 them rather than use toupper.
12770 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12771
12772 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12773
12774 * configure.host: Added using i386 machine directory
12775 for all x86 cross-compiler and configuring
12776 which added object files to use via new "mach_add_objs" variable.
12777 * configure: Regenerated.
12778 * libc/configure: Regenerated.
12779 * libc/Makefile.in: Regenerated.
12780 * libc/aclocal.m4: Regenerated.
12781 * libc/ctype/Makefile.in: Regenerated.
12782 * libc/errno/Makefile.in: Regenerated.
12783 * libc/locale/Makefile.in: Regenerated.
12784 * libc/machine/Makefile.in: Regenerated.
12785 * libc/machine/aclocal.m4: Regenerated.
12786 * libc/machine/configure: Regenerated.
12787 * libc/posix/Makefile.in: Regenerated.
12788 * libc/reent/Makefile.in: Regenerated.
12789 * libc/signal/Makefile.in: Regenerated.
12790 * libc/stdio/Makefile.in: Regenerated.
12791 * libc/stdlib/Makefile.in: Regenerated.
12792 * libc/string/Makefile.in: Regenerated.
12793 * libc/string/memmove.c: Optimized code to use memcpy
12794 logic when performing a non-destructive copy.
12795 * libc/string/strncmp.c: Altered code to allow building
12796 optimized for size or speed.
12797 * libc/syscalls/Makefile.in: Regenerated.
12798 * libc/time/Makefile.in: Regenerated.
12799 * libc/unix/Makefile.in: Regenerated.
12800 * libc/machine/i386/Makefile.am: Added new files and reference
12801 to "mach_add_objs" to indicate optional object files.
12802 * libc/machine/i386/Makefile.in: Regenerated.
12803 * libc/machine/i386/aclocal.m4: Regenerated.
12804 * libc/machine/i386/configure: Regenerated.
12805 * libc/machine/i386/memchr.S: New file that implements
12806 function in Intel assembler.
12807 * libc/machine/i386/memcmp.S: ditto.
12808 * libc/machine/i386/memcpy.S: ditto.
12809 * libc/machine/i386/memmove.S: ditto.
12810 * libc/machine/i386/memset.S: ditto.
12811 * libc/machine/i386/strchr.S: ditto.
12812 * libc/machine/i386/strlen.S: ditto.
12813 * libc/machine/i386/f_atan2.S: New file that implements
12814 fast version of math function to be used by compiler when
12815 --ffast_math compile option is used.
12816 * libc/machine/i386/f_atan2f.S: ditto.
12817 * libc/machine/i386/f_exp.c: ditto.
12818 * libc/machine/i386/f_expf.c: ditto.
12819 * libc/machine/i386/f_frexp.S: ditto.
12820 * libc/machine/i386/f_frexpf.S: ditto.
12821 * libc/machine/i386/f_ldexp.S: ditto.
12822 * libc/machine/i386/f_ldexpf.S: ditto.
12823 * libc/machine/i386/f_log.S: ditto.
12824 * libc/machine/i386/f_logf.S: ditto.
12825 * libc/machine/i386/f_log10.S: ditto.
12826 * libc/machine/i386/f_log10f.S: ditto.
12827 * libc/machine/i386/f_math.h: New file.
12828 * libc/machine/i386/f_pow.c: ditto.
12829 * libc/machine/i386/f_powf.S: ditto.
12830 * libc/machine/i386/f_tan.S: ditto.
12831 * libc/machine/i386/f_tan.S: ditto.
12832 * libc/machine/i386/i386mach.h: New file.
12833
12834 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12835
12836 patch from Mumit Khan <khan@xraylith.wisc.edu>
12837 * libc/include/stdio.h (tempnam): Add prototype.
12838 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12839 (tempnam): Adhere to prototype.
12840
12841 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12842
12843 * Makefile.am: Add default for AR_FLAGS.
12844 * Makefile.in: Regenerate.
12845
12846 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12847
12848 * libc/include/time.h: move __cplusplus wrapper after includes
12849 * libc/include/sys/time.h: ditto. If Cygwin, include
12850 sys/select.h.
12851 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12852
12853 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
12854
12855 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12856
12857 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12858
12859 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12860 abnormnal end-of-crt0 marker.
12861
12862 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12863
12864 * libc/sys/fr30/crt0.s: New file/directory.
12865 * libc/include/machine/setjmp.h: Add FR30 target.
12866 * libc/include/machine/ieeefp.h: Add FR30 target.
12867 * configure.host: Add FR30 target.
12868
12869 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12870
12871 * libm/math: Files that are duplicated in common directory removed.
12872 * libm/math/fdlibm.h: Removed.
12873 * libm/math/s_cbrt.c: Removed.
12874 * libm/math/s_copysign.c: Removed.
12875 * libm/math/s_expm1.c: Removed.
12876 * libm/math/s_finite.c: Removed.
12877 * libm/math/s_ilogb.c: Removed.
12878 * libm/math/s_infinity.c: Removed.
12879 * libm/math/s_lib_ver.c: Removed.
12880 * libm/math/s_log1p.c: Removed.
12881 * libm/math/s_logb.c: Removed.
12882 * libm/math/s_matherr.c: Removed.
12883 * libm/math/s_modf.c: Removed.
12884 * libm/math/s_nan.c: Removed.
12885 * libm/math/s_nextafter.c: Removed.
12886 * libm/math/s_rint.c: Removed.
12887 * libm/math/s_scalbn.c: Removed.
12888 * libm/math/sf_cbrt.c: Removed.
12889 * libm/math/sf_copysign.c: Removed.
12890 * libm/math/sf_expm1.c: Removed.
12891 * libm/math/sf_finite.c: Removed.
12892 * libm/math/sf_ilogb.c: Removed.
12893 * libm/math/sf_infinity.c: Removed.
12894 * libm/math/sf_log1p.c: Removed.
12895 * libm/math/sf_logb.c: Removed.
12896 * libm/math/sf_modf.c: Removed.
12897 * libm/math/sf_nan.c: Removed.
12898 * libm/math/sf_nextafter.c: Removed.
12899 * libm/math/sf_rint.c: Removed.
12900 * libm/math/sf_scalbn.c: Removed.
12901 * libm/math/Makefile.am: Removed references to deleted files (above).
12902 * libm/math/Makefile.in: Regenerated.
12903 * libm/Makefile.am: Added common directory to math.
12904 * libm/Makefile.in: Regenerated.
12905
12906 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12907
12908 * libm/mathfp: Add non-ANSI functions.
12909 * libm/mathfp/e_acosh.c acosh(): New file.
12910 * libm/mathfp/e_atanh.c atanh(): New file.
12911 * libm/mathfp/e_hypot.c hypot(): New file.
12912 * libm/mathfp/e_j0.c j0(): New file.
12913 * libm/mathfp/e_j1.c j1(): New file.
12914 * libm/mathfp/e_remainder.c remainder(): New file.
12915 * libm/mathfp/e_scalb.c scalb(): New file.
12916 * libm/mathfp/ef_acosh.c acoshf(): New file.
12917 * libm/mathfp/ef_atanh.c atanhf(): New file.
12918 * libm/mathfp/ef_hypot.c hypotf(): New file.
12919 * libm/mathfp/ef_j0.c j0f(): New file.
12920 * libm/mathfp/ef_j1.c j1f(): New file.
12921 * libm/mathfp/ef_remainder.c remainderf(): New file.
12922 * libm/mathfp/ef_scalb.c scalbf(): New file.
12923 * libm/mathfp/er_gamma.c gamma_r: New file.
12924 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12925 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12926 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12927 * libm/mathfp/w_cabs.c cabs(): New file.
12928 * libm/mathfp/w_drem.c drem(): New file.
12929 * libm/mathfp/w_jn.c jn(): New file.
12930 * libm/mathfp/wf_cabs.c cabsf(): New file.
12931 * libm/mathfp/wf_drem.c dremf(): New file.
12932 * libm/mathfp/wf_jn.c jnf(): New file.
12933
12934 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
12935
12936 * libc/sys/cygwin32: remove directory and contents
12937 * libc/sys/cygwin: and add back, losing the "32".
12938 * configure.host: check for cygwin* instead of cygwin32.
12939 * acinclude.m4: ditto.
12940 * aclocal.m4: regenerate with aclocal
12941 * configure: regenerate with autoconf
12942
12943 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
12944
12945 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
12946 for length
12947
12948 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12949
12950 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
12951 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
12952 to make rand/srand, strtok, asctime, localtime, w_gamma,
12953 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
12954 time.h to bring in struct tm definition.
12955 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
12956 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
12957 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
12958 instead of static variable.
12959 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
12960 struct reent instead of static variable.
12961 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
12962 struct reent instead of static variable.
12963 * libm/math/Makefile.am: Removed s_signgam.o.
12964 * libm/math/Makefile.in: Regenerated.
12965 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12966 struct reent instead of global variable 'signgam'.
12967 * libm/math/w_lgamma.c (lgamma): Likewise.
12968 * libm/math/wf_gamma.c (gammaf): Likewise.
12969 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12970 * libm/math/s_signgam.c: Removed.
12971 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12972 to be const.
12973 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12974 to be const.
12975 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12976 libc/include/reent.h.
12977 * libc/reent/Makefile.in: Regenerated.
12978 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12979 to be const.
12980 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12981 'JIS_action_table' to be const.
12982 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12983
12984 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
12985
12986 * acinclude.m4: $with_target_subdir should default to '.'
12987 or confusion results when configuring in same directory as sources.
12988 * Regenerate all aclocal.m4 and configure files.
12989
12990 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
12991
12992 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
12993 can be set by defining MALLOC_ALIGNMENT=16. Also added support
12994 for platforms where sizeof(size_t) < sizeof(long) via
12995 SIZE_T_SMALLER_THAN_LONG macro.
12996
12997 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
12998
12999 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
13000 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
13001 which sets _CLOCKS_PER_SEC_ for selected machines.
13002 * libc/include/machine/time.h: New file.
13003
13004 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13005
13006 * libc/syscalls/sysexecve.c: New file.
13007 * libc/syscalls/sysgettod.c: New file.
13008 * libc/syscalls/systimes.c: New file.
13009 * libc/syscalls/Makefile.am: Added new objects.
13010 * libc/syscalls/Makefile.in: Regenerated.
13011 * libc/include/_syslist.h (_execve): Moved define in file.
13012 * libc/include/reent.h: Added _execve_r declaration.
13013 * libc/Makefile.in: Regenerated.
13014 * libc/ctype/Makefile.in: Regenerated.
13015 * libc/errno/Makefile.in: Regenerated.
13016 * libc/locale/Makefile.in: Regenerated.
13017 * libc/machine/Makefile.in: Regenerated.
13018 * libc/misc/Makefile.in: Regenerated.
13019 * libc/posix/Makefile.in: Regenerated.
13020 * libc/reent/Makefile.in: Regenerated.
13021 * libc/reent/execr.c (_execve_r): Added _execve_r function.
13022 * libc/signal/Makefile.in: Regenerated.
13023 * libc/stdio/Makefile.in: Regenerated.
13024 * libc/time/Makefile.in: Regenerated.
13025 * libc/unix/Makefile.in: Regenerated.
13026 * libm/mathfp/Makefile.in: Regenerated.
13027
13028 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13029
13030 * libc/string/Makefile.in: Regenerated.
13031 * libc/string/memchr.c (memchr): Moved code to reduce object size.
13032 * libc/string/memcpy.c (memcpy): Ditto.
13033 * libc/string/memcmp.c (memcmp): Ditto.
13034 * libc/string/memset.c (memset): Ditto.
13035 * libc/string/strchr.c (strchr): Ditto.
13036 * libc/string/strcmp.c (strcmp): Ditto.
13037 * libc/string/strcpy.c (strcpy): Ditto.
13038 * libc/string/strlen.c (strlen): Ditto.
13039
13040 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13041
13042 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
13043 to generate aclocal.m4.
13044 * libm/Makefile.in: Regenerated.
13045 * libm/aclocal.m4: Regenerated.
13046 * libm/configure: Regenerated.
13047 * libm/math/Makefile.in: Regenerated.
13048 * libm/mathfp/Makefile.in: Regenerated.
13049
13050 1998-09-25 Mark Salter <msalter@cygnus.com>
13051
13052 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
13053 by adding leading and trailing underscores to symbol names.
13054
13055 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
13056
13057 * Makefile.in: Add default for AR_FLAGS.
13058
13059 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
13060
13061 patch from ian@airs.com (Ian Taylor):
13062 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
13063 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
13064 is needed for detecting the build machine. Required for
13065 cygwin native builds.
13066
13067 * Regenerate all aclocal.m4 and configure files.
13068
13069 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
13070
13071 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
13072 used to start with LC.
13073
13074 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13075
13076 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
13077 (longjmp): Likewise.
13078
13079 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13080
13081 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
13082 the test for small number of bytes.
13083
13084 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13085
13086 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
13087 math library that uses floating point algorithms instead of the old
13088 libm.
13089 * Makefile.in: Regenerate with automake version 1.3b.
13090 * configure: Rebuild.
13091 * libm/Makefile.in: Regenerate with automake version 1.3b.
13092 * libm/aclocal.m4: Regenerate.
13093 * libm/configure: Rebuild.
13094 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
13095 * libm/acinclude.m4: Define macros for configure.in.
13096 * libm/config.h.in: Generate.
13097 * libm/mathfp/Makefile.am: New file.
13098 * libm/mathfp/Makefile.in: Generate.
13099 * libm/mathfp/s_acos.c (acos): New file.
13100 * libm/mathfp/s_asin.c (asin): New file.
13101 * libm/mathfp/s_asine.c (asine): New file.
13102 * libm/mathfp/s_atan.c (atan): New file.
13103 * libm/mathfp/s_atan2.c (atan2): New file.
13104 * libm/mathfp/s_atangent.c (atangent): New file.
13105 * libm/mathfp/s_ceil.c (ceil): New file.
13106 * libm/mathfp/s_copysign.c (copysign): New file.
13107 * libm/mathfp/s_cos.c (cos): New file.
13108 * libm/mathfp/s_cosh.c (cosh): New file.
13109 * libm/mathfp/s_exp.c (exp): New file.
13110 * libm/mathfp/s_fabs.c (fabs): New file.
13111 * libm/mathfp/s_finite.c (finite): New file.
13112 * libm/mathfp/s_floor.c (floor): New file.
13113 * libm/mathfp/s_fmod.c (fmod): New file.
13114 * libm/mathfp/s_frexp.c (frexp): New file.
13115 * libm/mathfp/s_infconst.c: New file.
13116 * libm/mathfp/s_isinf (isinf).c: New file.
13117 * libm/mathfp/s_isnan.c (isnan): New file.
13118 * libm/mathfp/s_ispos.c (ispos): New file.
13119 * libm/mathfp/s_ldexp.c (ldexp): New file.
13120 * libm/mathfp/s_log.c (log): New file.
13121 * libm/mathfp/s_log10.c (log10): New file.
13122 * libm/mathfp/s_logarithm.c (logarithm): New file.
13123 * libm/mathfp/s_mathcnst.c: New file.
13124 * libm/mathfp/s_modf (modf).c: New file.
13125 * libm/mathfp/s_numtest.c (numtest): New file.
13126 * libm/mathfp/s_pow.c (pow): New file.
13127 * libm/mathfp/s_scalbn.c (scalbn): New file.
13128 * libm/mathfp/s_sin (sin).c: New file.
13129 * libm/mathfp/s_sine.c (sine): New file.
13130 * libm/mathfp/s_sineh.c (sineh): New file.
13131 * libm/mathfp/s_sinf.c (sinf): New file.
13132 * libm/mathfp/s_sinh.c (sinh): New file.
13133 * libm/mathfp/s_sqrt.c (sqrt): New file.
13134 * libm/mathfp/s_tan.c (tan): New file.
13135 * libm/mathfp/s_tanh.c (tanh): New file.
13136 * libm/mathfp/sf_acos.c (acosf): New file.
13137 * libm/mathfp/sf_asin.c (asinf): New file.
13138 * libm/mathfp/sf_asine.c (asinef): New file.
13139 * libm/mathfp/sf_atan.c (atanf): New file.
13140 * libm/mathfp/sf_atan2.c (atan2f): New file.
13141 * libm/mathfp/sf_atangent.c (atangent): New file.
13142 * libm/mathfp/sf_ceil.c (ceilf): New file.
13143 * libm/mathfp/sf_copysign.c (copysignf): New file.
13144 * libm/mathfp/sf_cos.c (cosf): New file.
13145 * libm/mathfp/sf_cosh.c (coshf): New file.
13146 * libm/mathfp/sf_exp.c (expf): New file.
13147 * libm/mathfp/sf_fabs.c (fabsf): New file.
13148 * libm/mathfp/sf_finite.c (finitef): New file.
13149 * libm/mathfp/sf_floor.c (floorf): New file.
13150 * libm/mathfp/sf_fmod.c (fmodf): New file.
13151 * libm/mathfp/sf_frexp.c (frexpf): New file.
13152 * libm/mathfp/sf_isinf.c (isinff): New file.
13153 * libm/mathfp/sf_isnan.c (isnanf): New file.
13154 * libm/mathfp/sf_ispos.c (isposf): New file.
13155 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
13156 * libm/mathfp/sf_log.c (logf): New file.
13157 * libm/mathfp/sf_log10.c (log10f): New file.
13158 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
13159 * libm/mathfp/sf_modf.c (modff): New file.
13160 * libm/mathfp/sf_numtest.c (numtestf): New file.
13161 * libm/mathfp/sf_pow.c (powf): New file.
13162 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
13163 * libm/mathfp/sf_sin.c (sinf): New file.
13164 * libm/mathfp/sf_sine.c (sinef): New file.
13165 * libm/mathfp/sf_sineh.c (sinehf): New file.
13166 * libm/mathfp/sf_sinh.c (sinhf): New file.
13167 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
13168 * libm/mathfp/sf_tan.c (tanf): New file.
13169 * libm/mathfp/sf_tanh.c (tanhf): New file.
13170 * libm/mathfp/zmath.h: New file.
13171
13172 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13173
13174 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
13175 exit if it has been overwritten by pre-fetching in delay slot.
13176
13177 1998-09-01 Michael Meissner <meissner@cygnus.com>
13178
13179 * Makefile.am (tooldir): Add in host_alias, so that multilib
13180 libraries are installed in the directory the compiler looks in.
13181 * Makefile.in: Regenerate.
13182
13183 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
13184
13185 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
13186
13187 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
13188 ahead of test for number of bytes being moved.
13189
13190 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
13191
13192 * libc/include/sys/unistd.h: Nothing special needed for
13193 _exit under cygwin.
13194
13195 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
13196
13197 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
13198 conform to user label naming conventions.
13199
13200 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
13201
13202 * libc/sys/cygwin32/sys/utime.h: variable names in
13203 protos should start with two leading underscores
13204 * libc/include/string.h: ditto
13205 * libc/include/sys/signal.h: ditto
13206 * libc/include/sys/stat.h: ditto
13207 * libc/include/sys/time.h: ditto
13208 * libc/include/sys/unistd.h: ditto
13209 * libc/include/ctype.h: ditto
13210 * libc/include/stdlib.h: ditto
13211 * libc/include/sys/reent.h: struct _atexit function ptr takes a
13212 void, same with _sig_func.
13213
13214 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
13215
13216 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
13217 for MB_CAPABLE to reduce code size when newlib is not configured
13218 with --enable-newlib-mb.
13219 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
13220 mbtowc_r.o to minimize size.
13221 * libc/stdlib/Makefile.in: Rebuild.
13222
13223 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
13224
13225 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
13226 to -DREENT.
13227 * libc/sys/sparc64/Makefile.in: Rebuild.
13228
13229 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
13230
13231 * Makefile.am (MAKEOVERRIDES): Define.
13232 * Makefile.in: Rebuild.
13233
13234 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
13235
13236 * libc/sys/sparc64/sys/stat.h (stat): Add const.
13237
13238 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
13239
13240 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
13241 newlib_cflags when looking for targ-include.
13242 * */aclocal.m4, */configure: Rebuild.
13243
13244 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
13245
13246 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
13247 to "_end".
13248
13249 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
13250
13251 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
13252 on SPARCs with little-endian data.
13253 * libc/include/machine/ieeefp.h: Ditto.
13254
13255 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
13256
13257 * acinclude.m4: Handle a relative srcdir correctly when setting
13258 newlib_cflags.
13259 * */aclocal.m4, */configure: Rebuild.
13260
13261 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
13262
13263 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
13264 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
13265 * libm/math/wrf_gamma.c (gammaf_r): ditto
13266 * libm/math/wr_lgamma.c (lgamma_r): ditto
13267 * libm/math/wr_gamma.c (gamma_r): ditto
13268 * libm/math/wf_sqrt.c (sqrtf): ditto
13269 * libm/math/wf_sinh.c (sinhf): ditto
13270 * libm/math/wf_scalb.c (scalbf): ditto
13271 * libm/math/wf_remainder.c (remainderf): ditto
13272 * libm/math/wf_pow.c (powf): ditto
13273 * libm/math/wf_log10.c (log10f): ditto
13274 * libm/math/wf_log.c (logf): ditto
13275 * libm/math/wf_lgamma.c (lgammaf): ditto
13276 * libm/math/wf_jn.c (jnf, ynf): ditto
13277 * libm/math/wf_j1.c (j1f, y1f): ditto
13278 * libm/math/wf_j0.c (j0f, y0f): ditto
13279 * libm/math/wf_hypot.c (hypotf): ditto
13280 * libm/math/wf_gamma.c (gammaf): ditto
13281 * libm/math/wf_fmod.c (fmodf): ditto
13282 * libm/math/wf_exp.c (expf): ditto
13283 * libm/math/wf_cosh.c (coshf): ditto
13284 * libm/math/wf_atanh.c (atanhf): ditto
13285 * libm/math/wf_atan2f.c (atan2f): ditto
13286 * libm/math/wf_asin.c (asinf): ditto
13287 * libm/math/wf_acosh.c (acoshf): ditto
13288 * libm/math/wf_acos.c (acosf): ditto
13289 * libm/math/w_sqrt.c (sqrt): ditto
13290 * libm/math/w_sinh.c (sinh): ditto
13291 * libm/math/w_scalb.c (scalb): ditto
13292 * libm/math/w_remainder.c (remainder): ditto
13293 * libm/math/w_pow.c (pow): ditto
13294 * libm/math/w_log10.c (log10): ditto
13295 * libm/math/w_log.c (log): ditto
13296 * libm/math/w_lgamma.c (lgamma): ditto
13297 * libm/math/w_jn.c (jn, yn): ditto
13298 * libm/math/w_j1.c (j1, y1): ditto
13299 * libm/math/w_j0.c (j0, y0): ditto
13300 * libm/math/w_hypot.c (hypot): ditto
13301 * libm/math/w_gamma.c (gamma): ditto
13302 * libm/math/w_fmod.c (fmod): ditto
13303 * libm/math/w_exp.c (exp): ditto
13304 * libm/math/w_cosh.c (cosh): ditto
13305 * libm/math/w_atanh.c (atanh): ditto
13306 * libm/math/w_atan2f.c (atan2): ditto
13307 * libm/math/w_asin.c (asin): ditto
13308 * libm/math/w_acosh.c (acosh): ditto
13309 * libm/math/w_acos.c (acos): ditto
13310
13311 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13312
13313 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13314 (fsrc): Add wf_cabs.c and wf_drem.c.
13315 * libm/math/Makefile.in: Rebuild.
13316
13317 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13318 unused directory variables. Remove duplicate CFLAGS.
13319 * Makefile.in: Rebuild.
13320
13321 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13322 with $(CC_FOR_BUILD).
13323 (makedoc.o): Likewise.
13324 * doc/Makefile.in: Rebuild.
13325
13326 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13327 force a definition of COMPILE.
13328 (libfoo_a_SOURCES): Define.
13329 * libc/sys/cygwin32/Makefile.in: Rebuild.
13330 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13331 force a definition of COMPILE.
13332 (libfoo_a_SOURCES): Define.
13333 * libc/sys/tic80/Makefile.in: Rebuild.
13334
13335 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13336
13337 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13338 flag.
13339
13340 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13341
13342 * Build using autoconf and automake. Added many Makefile.am and
13343 configure.in files, plus generated files. Old configure.in files
13344 and all old Makefile.in files completely replaced. Removed
13345 host/any. Added acinclude.m4 and configure.host.
13346
13347 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13348
13349 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13350 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13351
13352 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13353
13354 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13355 * libc/machine/sh/Makefile.in: Add rules for new files.
13356
13357 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13358
13359 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13360 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13361 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13362
13363 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
13364
13365 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
13366 code is ignored.
13367
13368 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
13369
13370 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
13371 internal static buffer when s is NULL, as prescribed by ANSI.
13372
13373 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
13374
13375 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
13376 removed.
13377 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
13378 libc/stdlib will be used for h8300hms.
13379
13380 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13381
13382 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
13383 version that can be built either for speed or size.
13384 * libc/machine/mn10300/memset.S (_memset): ditto
13385 * libc/machine/mn10300/memchr.S (_memchr): ditto
13386 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
13387 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
13388 * libc/machine/mn10300/strchr.S (_strchr): ditto
13389 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
13390 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
13391 * libc/machine/mn10300/Makefile.in: Added entries for
13392 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
13393 strcmp.o, strcpy.o, and strlen.o.
13394
13395 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
13396
13397 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
13398 been replaced with libgloss/mn10200.
13399
13400 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
13401
13402 * libc/string/strchr.c (strchr): Make s a constant pointer to
13403 avoid warning.
13404
13405 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
13406
13407 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
13408 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
13409 board SWIs instead of Demon board SWIs).
13410
13411 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
13412
13413 * libc/string/strncat.c (strncat): Make -Os act the same as
13414 PREFER_SIZE_OVER_SPEED being defined.
13415
13416 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
13417
13418 * libc/string/memchr.c (memchr): Make -Os act the same as
13419 PREFER_SIZE_OVER_SPEED being defined.
13420 * libc/string/memcmp.c (memcmp): Ditto.
13421 * libc/string/memcpy.c (memcpy): Ditto.
13422 * libc/string/memset.c (memset): Ditto.
13423 * libc/string/strcat.c (strcat): Ditto.
13424 * libc/string/strchr.c (strchr): Ditto.
13425 * libc/string/strcmp.c (strcmp): Ditto.
13426 * libc/string/strcpy.c (strcpy): Ditto.
13427 * libc/string/strlen.c (strlen): Ditto.
13428 * libc/string/strncat.c (strncat): Ditto.
13429 * libc/string/strncmp.c (strncmp): Ditto.
13430 * libc/string/strncpy.c (strncpy): Ditto.
13431
13432 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
13433
13434 * libc/include/sys/itimer.h: remove
13435 * libc/include/sys/time.h: itimer stuff should be here
13436
13437 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
13438
13439 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
13440 bit instead of comparing to 0 so -0.0 can be printed correctly.
13441
13442 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13443
13444 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
13445
13446 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
13447
13448 * libc/include/sys/unistd.h: fix sync() proto
13449 * libc/include/sys/fcntl.h: remove _close which is already
13450 defined in unistd.h.
13451 * libc/include/sys/time.h: add getitimer proto
13452
13453 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
13454
13455 * libc/string/strchr.c: convert arg to unsigned char
13456 * libc/include/stdlib.h: add protos for random, srandom
13457 * libc/include/sys/stat.h: add lstat proto
13458 * libc/include/sys/time.h: add setitimer proto
13459 * libc/include/sys/unistd.h: add readlink, symlink protos
13460 * libc/include/process.h: instead of including windows.h and using
13461 HANDLEs in sexec protos, just use void *s. Need to include
13462 sys/types.h.
13463
13464 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
13465
13466 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
13467
13468 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
13469
13470 * libc/include/process.h: add secure exec protos
13471
13472 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
13473
13474 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
13475 which are accessed as both doubles and integers.
13476 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
13477 * libc/stdlib/strtod.c (_strtod_r): Likewise.
13478 * libc/stdlib/mprec.h: Add "union double_union" and change
13479 word0/word1 macros to use it.
13480
13481 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
13482
13483 * libc/include/sys/signal.h: add __cplusplus wrapper
13484
13485 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
13486
13487 * libc/include/sys/utime.h: new generic file that gets replaced by
13488 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
13489 function.
13490 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
13491 * libc/include/time.h: remove duplicate utime proto
13492 * libc/include/utime.h: add comment
13493
13494 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
13495
13496 * libc/include/sys/time.h: Add missing include to
13497 allow use of _EXFUN. Remove times function that is
13498 already defined in times.h.
13499
13500 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
13501
13502 * libc/include/time.h: Fix typo in tzset.
13503
13504 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
13505
13506 * libc/include/sys/time.h: add missing Cygwin32 function protos
13507 * libc/include/sys/unistd.h: ditto
13508 * libc/include/time.h: ditto
13509
13510 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
13511
13512 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
13513 FIXME.
13514 * libc/include/sys/types.h: add a new __MS_types__ section
13515 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
13516 __BIT_TYPES_DEFINED__.
13517
13518 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
13519
13520 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
13521 since it overrides the one in libc/include/sys. Also, start
13522 including types.h.
13523
13524 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
13525
13526 * libm/math/Makefile.in: add s_signgam.o to obj list
13527
13528 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
13529
13530 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
13531
13532 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
13533
13534 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
13535 so don't use defines.
13536
13537 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
13538
13539 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
13540
13541 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
13542
13543 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
13544 _current_locale as default locale.
13545
13546 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
13547
13548 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
13549 insufficient space in a chunk.
13550
13551 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
13552
13553 * configure.in (links): Added check for --enable-newlib-mb configure
13554 option which defines the MB_CAPABLE macro.
13555 * libc/locale/locale.c (_setlocale_r): Added support for setting
13556 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
13557 defined.
13558 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
13559 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
13560 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
13561 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
13562 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
13563 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
13564 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
13565 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
13566 * libc/stdlib/Makefile.in: Added new multibyte
13567 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
13568 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
13569 _mbstowcs_r(), and _wcstombs_r().
13570 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
13571 for JIS, SJIS, and EUC-JP characters.
13572 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
13573 MB_CAPABLE defined.
13574 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
13575 MB_CAPABLE defined.
13576 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
13577 MB_CAPABLE defined.
13578 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
13579 if MB_CAPABLE defined.
13580 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
13581 if MB_CAPABLE defined.
13582 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
13583 to the format string processing when MB_CAPABLE.
13584 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
13585 call _mbtowc_r().
13586
13587 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
13588
13589 The following modifications are courtesy of Anthony Thompson,
13590 athompson@cambridge.arm.com:
13591 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
13592 boith RDI and RDP monitors.
13593 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
13594 RDI and RDP monitors.
13595
13596 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
13597
13598 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
13599 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
13600 (_swiopen): Fixed open flags to treat write with append as just append.
13601 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
13602 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
13603
13604 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13605
13606 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
13607 When needing to transfer an initial 2-byte-word, store as
13608 two single bytes.
13609
13610 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13611
13612 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
13613 __SH3E__ .
13614 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
13615 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
13616
13617 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
13618
13619 * configure.in (target_cflags): If --enable-target-optspace, use
13620 -Os to compile newlib rather than -O2. Default to using -Os for
13621 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
13622 used.
13623
13624 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
13625
13626 * libc/include/machine/setjmp.h: change sigsetjmp and
13627 siglongjmp definitions to use an array instead of a struct
13628 for __CYGWIN32__
13629
13630 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
13631
13632 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
13633
13634 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
13635
13636 * libc/string/strxfrm.c: fix to get correct return value
13637
13638 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
13639
13640 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
13641 builds. Make mode change labels global so that they will be seen
13642 by the debugger.
13643
13644 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
13645
13646 * configure.in (links): Do not use ARM debiugging protocols for PE
13647 builds.
13648
13649 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
13650 message.
13651
13652 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13653
13654 * libc/stdio/findfp.c (__sinit): Made stdout default to
13655 line buffered mode as defined by ANSI.
13656
13657 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
13658
13659 * libc/include/sys/itimer.h: New file.
13660
13661 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
13662
13663 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13664
13665 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
13666 failure.
13667
13668 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13669
13670 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13671 insns.
13672
13673 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13674
13675 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13676
13677 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13678
13679 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13680 support.
13681
13682 * libc/include/machine/setjmp.h: Add D30V support.
13683
13684 * configure.in (d30v-*): Add d30v machine directory.
13685
13686 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13687
13688 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13689 been replaced with libgloss/mn10300.
13690
13691 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13692
13693 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13694 it is no longer needed.
13695
13696 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13697
13698 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
13699
13700 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13701
13702 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
13703 the file when O_APPEND is set, wherever the EOF happens to be at
13704 that time.
13705
13706 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
13707
13708 patch from cgf@bbc.com (Christopher Faylor):
13709 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13710 convention of closing fp prior to attempting to open the file
13711 argument. This allows correct operation when reopening
13712 stdin/stdout/stderr. Replaces last freopen.c patch.
13713
13714 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13715
13716 patch from cgf@bbc.com (Christopher Faylor):
13717 * libc/stdio/freopen.c: freopen was not preserving the fd
13718 of the stream being operated on. This confuses programs that
13719 expect that the handles for stdout and stderr will be 1 and 2.
13720
13721 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13722
13723 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13724
13725 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13726
13727 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13728
13729 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13730
13731 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13732 altered to not use a branch. Also added hint that last
13733 bclr in longjmp will likely result in branch.
13734
13735
13736 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13737
13738 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
13739
13740 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13741
13742 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13743 v850 builds.
13744
13745 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
13746
13747 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13748
13749 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13750 that loads FR14 to specify offset of 8 rather than 4
13751 so it loads from offset 96 (where setjmp stored it).
13752
13753 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13754
13755 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13756 latest version supplied by customer.
13757 * libc/machine/sh/memset.S (_memset): Ditto.
13758
13759 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13760
13761 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
13762 PR14730).
13763
13764 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13765
13766 * libc/include/string.h: remove redefinition of ffs
13767
13768 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13769
13770 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
13771 defined
13772
13773 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13774
13775 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
13776 TI Libraries to link to libc.a
13777
13778 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13779
13780 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13781 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13782 * libc/include/sys/wait.h (_wait): Ditto.
13783 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13784 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13785
13786 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13787
13788 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13789 minded stabs so function name shows up when running the simulator
13790 with -t.
13791 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13792
13793 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13794
13795 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
13796 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13797 Use R5 where we used to use R3.
13798
13799 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13800
13801 * libc/stdlib/getopt.c (getopt): replaced __progname
13802 with nargv[0] to improve portability to imbedded systems.
13803
13804 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13805
13806 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13807 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13808 stdout file.
13809
13810 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13811
13812 * libc/stdio/tmpnam.c (worker): Generate a different file name
13813 each time.
13814
13815 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13816 fails, try an execlp for sh.
13817
13818 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13819 option for the winsup include directory.
13820
13821 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13822
13823 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13824 debugging interface from Tony.Thompson@arm.com.
13825
13826 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13827 * libc/sys/arm/swi.h: ditto.
13828
13829 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13830
13831 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13832 DIR struct used for readdir hashes.
13833
13834 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13835
13836 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13837
13838 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13839
13840 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13841 integer targets.
13842
13843 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13844
13845 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13846 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13847 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13848 (__malloc_copy): Declare.
13849
13850 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13851
13852 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13853 <sys/config.h>.
13854 (POINTER_UINT): Define.
13855 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13856 (MALLOC_ALIGNMENT): Don't define if already defined.
13857 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13858 long.
13859
13860 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13861
13862 * libc/string/memset.c (memset): Fiddle with code so that the long
13863 value being stored is not a stack value. Unroll storing longs 4
13864 times.
13865
13866 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13867
13868 * Reduce code size for libm modules.
13869 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13870 and simply move code into sqrt.
13871 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13872 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13873 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13874 * libm/math/wr_gamma.c (gamma_r): Likewise.
13875 * libm/math/wf_sinh.c (sinfh): Likewise.
13876 * libm/math/w_sinh.c (sinh): Likewise.
13877 * libm/math/wf_scalb.c (scalbf): Likewise.
13878 * libm/math/w_scalb.c (scalb): Likewise.
13879 * libm/math/wf_remainder.c (remainderf): Likewise.
13880 * libm/math/w_remainder.c (remainder): Likewise.
13881 * libm/math/wf_pow.c (powf): Likewise.
13882 * libm/math/w_pow.c (pow): Likewise.
13883 * libm/math/wf_log10.c (log10f): Likewise.
13884 * libm/math/w_log10.c (log10): Likewise.
13885 * libm/math/wf_log.c (logf): Likewise.
13886 * libm/math/w_log.c (log): Likewise.
13887 * libm/math/w_lgamma.c (lgamma): Likewise.
13888 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13889 * libm/math/wf_jn.c (jnf): Likewise.
13890 * libm/math/w_jn.c (jn): Likewise.
13891 * libm/math/wf_j1.c (j1f): Likewise.
13892 * libm/math/w_j1.c (j1): Likewise.
13893 * libm/math/wf_j0.c (j0f): Likewise.
13894 * libm/math/w_j0.c (j0): Likewise.
13895 * libm/math/wf_hypot.c (hypotf): Likewise.
13896 * libm/math/w_hypot.c (hypot): Likewise.
13897 * libm/math/wf_gamma.c (gammaf): Likewise.
13898 * libm/math/w_gamma.c (gamma): Likewise.
13899 * libm/math/wf_fmod.c (fmodf): Likewise.
13900 * libm/math/w_fmod.c (fmod): Likewise.
13901 * libm/math/wf_exp.c (expf): Likewise.
13902 * libm/math/w_exp.c (exp): Likewise.
13903 * libm/math/wf_cosh.c (coshf): Likewise.
13904 * libm/math/w_cosh.c (cosh): Likewise.
13905 * libm/math/wf_atanh.c (atanhf): Likewise.
13906 * libm/math/w_atanh.c (atanh): Likewise.
13907 * libm/math/wf_atan2.c (atan2f): Likewise.
13908 * libm/math/w_atan2.c (atan2): Likewise.
13909 * libm/math/wf_asin.c (asinf): Likewise.
13910 * libm/math/w_asin.c (asin): Likewise.
13911 * libm/math/wf_acosh.c (acoshf): Likewise.
13912 * libm/math/w_acosh.c (acosh): Likewise.
13913 * libm/math/wf_acos.c (asocf): Likewise.
13914 * libm/math/w_acos.c (acos): Likewise.
13915 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13916 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13917 for embedded systems.
13918
13919 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13920
13921 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13922 Lea in case of a foreign sbrk.
13923
13924 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13925
13926 Incorporate Doug Lea's malloc:
13927 * libc/stdlib/mallocr.c: Completely replaced.
13928 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13929 (realloc): Remove.
13930 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
13931 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
13932 mallopt.
13933 (mallinfo, malloc_stats, mallopt): New functions.
13934 (_mstats_r): Just call _malloc_stats_r.
13935 * libc/stdlib/malign.c: New file.
13936 * libc/stdlib/mlock.c: New file.
13937 * libc/stdlib/msize.c: New file.
13938 * libc/stdlib/mtrim.c: New file.
13939 * libc/stdlib/realloc.c: New file.
13940 * libc/stdlib/valloc.c: New file.
13941 * libc/stdlib/malloc.h: Remove.
13942 * libc/stdlib/callocr.c: Remove.
13943 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
13944 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
13945 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
13946 reallocr.o, valloc.o, vallocr.o.
13947 (CHEWOUT_FILES): Add mlock.def, mstats.def.
13948 (MALLOC_CFLAGS): New variable.
13949 (mallocr.o): New target, build from mallocr.c.
13950 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
13951 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
13952 (msizer.o, malloptr.o): Likewise.
13953 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
13954 (valloc.o): New target.
13955 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
13956 * libc/include/malloc.h: Declare struct mallinfo, and new
13957 routines.
13958 * libc/include/stdlib.h (cfree): Correct declaration.
13959
13960 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
13961
13962 * libc/include/machine/setjmp.h: Add support for Thumb target.
13963
13964 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13965
13966 * configure.in (links): Add support for Thumb target.
13967
13968 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13969
13970 * libc/sys/arm/setjmp.S: Updated with version from branch.
13971
13972 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13973
13974 * libc/include/stdio.h: add POSIX-required define L_ctermid
13975 for ctermid
13976
13977 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13978
13979 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13980 addition to MISSING_SYSCALL_NAMES.
13981
13982 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13983
13984 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
13985
13986 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
13987
13988 * libc/include/string.h: change strsignal proto to return
13989 a char *. This eliminates compile problems in gdb resulting
13990 from gdb's definition of strsignal in defs.h.
13991
13992 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
13993
13994 * libc/sys/cygwin32/sys/utime.h: new (moved here from
13995 winsup/include) so as not to conflict with the one in
13996 libc/include.
13997 * libc/include/string.h: add protos for strsignal, strtosigno
13998
13999 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
14000
14001 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
14002
14003 * configure.in (d30v-*-*): Add configuration.
14004
14005 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
14006
14007 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
14008 to select which kind of debug monitor is in use for an ARM target.
14009
14010 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
14011 Angel and Demon debug monitors. Part of this code was supplied by
14012 Tony Thompson at ARM: athompso@arm.com.
14013
14014 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
14015
14016 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
14017 semantics when the count is greater than the length of the second
14018 source string.
14019
14020 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
14021
14022 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
14023 * libc/include/sys/unistd.h: add protos for usleep, truncate,
14024 truncate and ftruncate take off_t, not size_t
14025
14026 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
14027
14028 * libc/string/strcat.c (strcat): Add missing comment end.
14029 * libc/string/strncat.c (strncat): Likewise.
14030
14031 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
14032
14033 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
14034 targets.
14035 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
14036 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
14037 defined.
14038 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14039 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14040 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14041
14042 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
14043
14044 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
14045 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
14046
14047 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
14048
14049 * libc/machine/i386/setjmp.S: New file.
14050 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
14051 (OFILES): Add setjmp.o.
14052 (setjmp.o): Add rule for.
14053 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
14054
14055 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
14056 Jeffrey A Law (law@cygnus.com)
14057
14058 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
14059 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14060 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14061 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14062
14063 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
14064
14065 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
14066 rules.
14067
14068 * libc/include/sys/config.h: Use __v850 to select v850
14069 endianness.
14070
14071 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
14072 buffer size.
14073
14074 * libc/include/machine/ieeefp.h: Use __v850 to select v850
14075 endianness.
14076
14077 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
14078
14079 * libc/stdlib/setenv.c: change unsetenv definition to match
14080 style of setenv (with _DEFUN). The string should be a const.
14081 * libc/include/stdlib.h: unsetenv proto should return void.
14082
14083 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
14084
14085 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
14086
14087 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
14088
14089 * libc/stdio/glue.h: remove.
14090 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
14091 * libc/stdio/Makefile.in: remove glue.h dependencies
14092
14093 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
14094
14095 * libc/sys/sysnecv850/crt0.S: Created V850e version.
14096
14097 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
14098
14099 * configure.in (target_cpu): Add `arc'.
14100
14101 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
14102
14103 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
14104 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
14105 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
14106 * newlib/libc/reent/reent.c: Add _wrapup_reent.
14107 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
14108
14109 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
14110
14111 * libc/machine/mips/setjmp.S: Handle mips16 builds.
14112
14113 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
14114
14115 * libc/include/stdio.h (siprintf): Declare.
14116
14117 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
14118
14119 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
14120 TARGET_CFLAGS and NEWLIB_FLAGS.
14121
14122 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14123
14124 * configure.in (links): Add support for v850ea target.
14125
14126 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14127
14128 * configure.in (links): Add support for v850e target.
14129
14130 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
14131
14132 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
14133
14134 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
14135
14136 * configure.in (arc-*-*): Add support for.
14137 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
14138
14139 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14140
14141 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
14142
14143 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
14144
14145 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
14146 comparison which accesses invalid memory when the key is
14147 larger than the last member of the array.
14148 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
14149 for CYGWIN32
14150 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
14151
14152 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
14153
14154 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
14155 not _STRICT_ANSI.
14156
14157 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
14158
14159 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
14160 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
14161
14162 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
14163
14164 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
14165 to load/store memory.
14166
14167 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
14168
14169 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
14170 underscores if _WIN32.
14171
14172 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
14173
14174 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
14175 support ifdef _USE_WRITE missed in last change.
14176 From Anders Blomdell <anders.blomdell@control.lth.se>.
14177
14178 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
14179
14180 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
14181 (_tmpnam_r, _tempnam_r): Update.
14182
14183 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
14184
14185 * libc/machine/sparc/setjmp.S: New file.
14186 * libc/machine/sparc/Makefile.in: Add setjmp.
14187 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
14188
14189 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
14190
14191 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
14192
14193 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
14194
14195 From Joel Sherrill <joel@oarcorp.com>.
14196 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
14197
14198 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
14199 * configure.in: Recognize *-*-rtems*.
14200 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
14201 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
14202 time.h,times.h,types.h}: New files.
14203 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
14204
14205 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
14206
14207 patch from sos@prospect.com.ru (Sergey Okhapkin):
14208 * include/sys/wait.h: correct operator precidence bug
14209 in WIFSIGNALED
14210
14211 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
14212
14213 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
14214 with newlib's unsetenv function
14215 * libc/sys/cygwin32/sys: new directory for includes
14216 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
14217 here from winsup/include/sys
14218
14219 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
14220
14221 * libc/include/sys/unistd.h: _exit should only be
14222 labelled noreturn when not __CYGWIN32__
14223 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
14224 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
14225 increment NSIG
14226
14227 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
14228
14229 * libc/include/sys/time.h: Only define timeval and timezone if
14230 _GNU_H_WINDOWS32_SOCKETS is not defined.
14231 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
14232
14233 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
14234
14235 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
14236 * libc/machine/mn10300/setjmp.S: Likewise.
14237
14238 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
14239 the mn10300 (more relaxing opportunities).
14240
14241 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
14242
14243 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
14244 Build libraries with -mstrict-align.
14245
14246 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
14247
14248 * libc/string/strlwr.c: New file.
14249 * libc/string/strupr.c: New file.
14250 * libc/include/string.h: Declare strlwr and strupr.
14251 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
14252 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
14253 (strlwr.o, strupr.o): New targets.
14254 * libc/string/strings.tex: Include strlwr and strupr docs.
14255
14256 * libc/include/sys/types.h: Don't define u_char, et. al., if
14257 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
14258 et. al. Make FD_SETSIZE default 64 rather than 60. Define
14259 _types_fd_set rather than fd_set, and define fd_set as a macro.
14260
14261 * libc/include/malloc.h: New file.
14262
14263 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
14264 strnicmp if they are not already defined.
14265
14266 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
14267 _timezone, _daylight, and _tzname.
14268
14269 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
14270
14271 * configure.in: Sort all configuration tables.
14272
14273 From Joel Sherrill <joel@oarcorp.com>
14274 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
14275
14276 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
14277
14278 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
14279 use int when declaring kill.
14280
14281 * libc/include/sys/timeb.h: New file.
14282
14283 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14284
14285 * libc/include/sys/time.h: add itimer support for Cygwin32
14286
14287 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14288
14289 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14290 out a message that abort was called to stderr.
14291
14292 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14293
14294 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14295 so that libio doesn't freak.
14296
14297 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14298 int.
14299
14300 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14301 memory sizes, not int.
14302
14303 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14304
14305 * libm/math/ef_hypot.c: Use long constants where
14306 appropriate.
14307 * libm/math/ef_sqrt.c: Ditto.
14308
14309 * libc/sys/sysmec/times.c(_times): Change to times.
14310
14311 * libc/sys/sysmec/read.c(_read): The third argument is
14312 size_t.
14313 * libc/sys/sysmec/write.c (_write): Ditto.
14314
14315 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14316 (_lseek): It's off_t for the second argument.
14317
14318 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14319
14320 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14321 as well as machine/ieeefp.h.
14322
14323 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14324
14325 * libc/include/sys/signal.h: add signal protos for winsup
14326 functions (when __CYGWIN32__), include types.h
14327 * libc/include/sys/types.h: Change __go32_types__ internal
14328 define to __MS_types__ since it's used for more than just
14329 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14330 defined.
14331 * libc/include/sys/unistd.h: add ftruncate proto for
14332 winsup functions (when __CYGWIN32__)
14333
14334 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14335
14336 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14337
14338 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14339
14340 * libc/include/machine/setjmp.h: Add tic80 support.
14341 * libc/machine/tic80/setjmp.S: Likewise.
14342
14343 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14344
14345 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14346 link programs from libraries only (such as in the X11
14347 distribution)
14348
14349 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14350
14351 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14352 supplied elsewhere in newlib.
14353
14354 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14355
14356 * Makefile.in (INSTALL): Change install.sh to install-sh.
14357
14358 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14359
14360 * README: update WWW address for on-line documentation.
14361
14362 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14363
14364 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
14365 increment NSIG
14366
14367 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
14368
14369 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
14370 mn10300.
14371 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
14372
14373 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
14374
14375 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
14376 * libc/sys/d10v/syscalls.c: Likewise.
14377 * libc/sys/h8300hms/sbrk.c: Likewise.
14378 * libc/sys/h8500hms/syscalls.c: Likewise.
14379 * libc/sys/m88kbug/syscalls.c: Likewise.
14380 * libc/sys/sh/syscalls.c: Likewise.
14381 * libc/sys/sysmec/sbrk.c: Likewise.
14382 * libc/sys/sysnecv850/sbrk.c: Likewise.
14383 * libc/sys/w65/syscalls.c: Likewise.
14384 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
14385
14386 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
14387
14388 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
14389 emulated syscall instead of "trap".
14390
14391 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
14392
14393 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
14394 not trap 0.
14395
14396 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
14397
14398 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
14399
14400 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
14401
14402 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
14403 not "sh".
14404 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
14405 not "d10v".
14406 * libc/sys/tic80/crt0.c: New file for TIc80.
14407 * libc/sys/tic80/Makefile.in: New file for TIc80.
14408 * libc/machine/tic80/Makefile.in: New file for TIc80.
14409
14410 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
14411
14412 * libc/machine/sh/memcpy.S: New file.
14413 * libc/machine/sh/memset.S: New file.
14414 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
14415
14416 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
14417
14418 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
14419 for TIc80.
14420
14421 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
14422
14423 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
14424 the mn10200.
14425
14426 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
14427
14428 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
14429 (patch from andrew@pogo.WV.TEK.COM).
14430
14431 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
14432
14433 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
14434 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
14435
14436 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
14437
14438 * configure.in: Add cases for "tic80" to set machine_dir,
14439 sys_dir, and syscall_dir.
14440
14441 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
14442
14443 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
14444
14445 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
14446
14447 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
14448
14449 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
14450
14451 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
14452 Use proper constant prefix.
14453
14454 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
14455
14456 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
14457 that loses on the mn10200 where ints and pointers are different
14458 sizes.
14459
14460 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
14461
14462 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
14463 target as signal is provided in winsup.
14464
14465 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
14466
14467 * libc/include/sys/process.h: Corrected const definitions
14468 in spawn functions. Added cwait.
14469
14470 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
14471
14472 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
14473 doubles.
14474 * libc/include/sys/config.h: Similarly.
14475
14476 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14477
14478 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
14479 target_cflags.
14480 (i[3456]86-*-sco*): Ditto.
14481
14482 * libc/signal/Makefile.in (OFILES): Add signal.o.
14483 (CFILES): Add signal.c.
14484
14485 * libc/signal/raise.c (_raise_r): Only compile code if
14486 SIGNAL_PROVIDED is defined.
14487
14488 * libc/signal/signal.c: Redo whole file so that it works with
14489 current newlib. Use _kill_r if no signal handler provided.
14490
14491 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
14492 signal stubs.
14493 * libc/sys/sysvnecv70/Makefile.in: Ditto.
14494 * libc/sys/sysnecv850/Makefile.in: Ditto.
14495
14496 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
14497 * libc/sys/sysmec/{raise,signal}.c: Ditto.
14498 * libc/sys/sysvnecv70/signal.s: Ditto.
14499 * libc/sys/sysnecv850/raise.c: Ditto.
14500
14501 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
14502 simulator and debugger can tell the difference between a signal
14503 being raised and an exit system call.
14504
14505 * NEWS: Document software signals being provided.
14506
14507 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14508
14509 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
14510 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
14511 include/sys/config.h.
14512 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
14513 Change from 'inpure_data'.
14514 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
14515 &impure_data, not &inpure_data.
14516
14517 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
14518 and and System V ABI, define so that _impure_ptr lives in the
14519 .sdata section.
14520
14521 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14522
14523 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
14524 nothing if not defined.
14525 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
14526 its attributes.
14527
14528 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
14529
14530 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
14531
14532 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
14533 * libc/sys/sysmec/trap.s: Handle mn10200 too.
14534 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
14535
14536 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
14537
14538 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
14539
14540 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
14541
14542 * libc/include/sys/errno.h: Added net errno's.
14543
14544 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14545
14546 * libc/misc/ffs.c: New file to support ffs function for GCC test
14547 gcc.c-torture/execute/960909-1.c.
14548
14549 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
14550
14551 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
14552
14553 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
14554 * libc/sys/sysmec/trap.S: Likewise.
14555
14556 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
14557
14558 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
14559 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
14560
14561 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
14562
14563 * libc/sys/sysmec/signal.c: Dummy file.
14564 * libc/sys/sysmec/Makefile.in: Build it.
14565
14566 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
14567
14568 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
14569 mips16.
14570
14571 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
14572
14573 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
14574 c-startup and simulator traps.
14575
14576
14577 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
14578 * libc/sys/sysmec/trap0.S: Likewise.
14579
14580 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14581
14582 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
14583 round to double word alignment.
14584 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
14585 byte alignment.
14586
14587 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
14588
14589 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
14590 out of memory.
14591
14592 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
14593
14594 * configure.in: Handle mn10200 and mn10300.
14595 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
14596 * libc/include/sys/config.h: Likewise.
14597 * libc/sys/sysmec: New directory for mec stuff.
14598 * libc/machine/mn10300: New directory for mn10300 stuff.
14599 * libc/machine/mn10200: Similarly for mn10200 stuff.
14600
14601 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
14602
14603 * libc/sys/arm/crt0.S: Use .text, not .section .text.
14604 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
14605
14606 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
14607 (nlink_t): Change type from unsigned int to unsigned short.
14608 (mode_t): Ensure size is 32 bits even if int is 16.
14609 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
14610 (st_spare[123]): Change type from int to long.
14611
14612 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14613
14614 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
14615 byte boundary.
14616
14617 * configure.in (d10v*): Define SMALL_MEMORY.
14618
14619 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14620
14621 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
14622 -mrelocatable-lib and -mno-eabi flags.
14623
14624 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
14625
14626 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
14627 Fix handling of mis-aligned source operand when both the
14628 destination & length are properly aligned.
14629
14630 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
14631
14632 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
14633 times.o, time.o and gettime.o
14634 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
14635 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
14636 SYS_gettimeofday.
14637
14638 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
14639
14640 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
14641 * libc/sys/sysnecv850/access.c: New file.
14642
14643 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
14644
14645 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
14646
14647 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
14648 long.
14649
14650 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
14651
14652 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
14653
14654 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
14655
14656 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
14657 * libc/include/sys/config.h: Add m32r support.
14658
14659 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
14660
14661 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
14662 here.
14663
14664 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
14665
14666 * libc/include/machine/setjmp.h: Add D10v support.
14667
14668 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14669
14670 * configure.in: Configure the "libc/syscalls" directory for
14671 the v850.
14672
14673 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14674 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14675 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14676 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14677 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14678
14679 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14680
14681 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14682 stack for args for main and other routines. Zero out args for
14683 main.
14684
14685 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14686 correctly.
14687
14688 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14689
14690 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14691 function.
14692
14693 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14694
14695 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14696 real system calls now.
14697
14698 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14699 before casting them to int.
14700 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14701
14702 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14703 aligning pointer.
14704 * libc/string/memset.c (memset): Ditto.
14705
14706 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14707 first convert ints to _POINTER_INT to eliminate GCC warning.
14708
14709 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14710 processing %p.
14711
14712 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14713 from 65000 if ints are only 16 bits.
14714
14715 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14716 from 50000 if ints are only 16 bits.
14717
14718 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14719 int type that is the same size as a pointer.
14720
14721 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14722 processing %p.
14723 (get_number): Explicitly cast number to long before shifting by 16
14724 or 24, in case ints are short.
14725
14726 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14727
14728 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14729
14730 * libc/string.h: Added ffs, removed swab.
14731 * libc/sys/errno.h: Added EOPNOTSUPP.
14732 * libc/sys/unistd.h: Added swab.
14733
14734 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14735
14736 * libc/include/sys/stat.h: Added fchmod.
14737 * libc/include/sys/unistd.h: Added fsync.
14738
14739 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14740
14741 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14742 and ECONNRESET (104) for cygwin32.
14743
14744 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14745
14746 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14747 do the static destructors.
14748
14749 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14750
14751 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14752
14753 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14754
14755 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14756 * configure.in: Recognize m32r-*-*.
14757
14758 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14759
14760 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
14761 __rt_stkovf_split_small): Added default software stack overflow
14762 handlers, which just call SWI_Exit.
14763 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
14764 limit initialisation.
14765
14766 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14767
14768 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14769
14770 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14771
14772 * libc/include/sys/types.h: Added ssize_t definition.
14773
14774 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14775
14776 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14777 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14778
14779 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14780 branch around a single ldi instruction.
14781
14782 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14783 Call exit, instead of just issuing a stop instruction.
14784
14785 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14786
14787 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14788
14789 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14790
14791 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14792 longs, and then cast them to __uint32_t.
14793
14794 * libc/include/sys/config.h: Protect against multiple inclusions.
14795
14796 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14797
14798 * configure.in (d10v*): Set syscall_dir.
14799
14800 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14801
14802 * libc/sys/d10v/crt0.S: Set stack pointer.
14803
14804 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14805
14806 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14807 in assembly for efficiency. Change calling convention to allow
14808 long ints to be returned.
14809
14810 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14811
14812 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14813
14814 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14815
14816 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14817 Handle empty entries in $PATH.
14818
14819 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14820
14821 * libc/machine/d10v/setjmp.S: Make it really work.
14822
14823 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14824
14825 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14826 the .stack section.
14827
14828 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14829
14830 * sys/sysnecv850/sys/file.h: Remove.
14831 * sys/sysnecv850/sys/syscall.h: New file.
14832 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14833 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14834 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14835 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14836 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14837 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14838 * sys/sysnec850/trap.S: New file.
14839 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14840 syscalls.
14841 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14842 * sys/sysnec850/sbrk.c: New version.
14843
14844 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14845
14846 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14847 as long as r6 is less than r7.
14848
14849 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14850
14851 * Makefile.in (mostlyclean): Separate from clean target. Don't
14852 remove *.a or targ-include.
14853 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14854
14855 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14856
14857 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14858 d10v.
14859 (__SMALL_BITFIELDS): Ditto.
14860
14861 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14862
14863 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14864
14865 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14866 prefix.
14867
14868 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14869 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14870 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14871 * libc/sys/sysnecv850/write.c (write): Likewise.
14872
14873 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14874 .bss.
14875
14876 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14877
14878 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14879 appropriately for D10V, depending on -mint16/-mint32.
14880
14881 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14882
14883 * configure.in: Add cases for D10V.
14884
14885 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14886
14887 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14888
14889 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14890
14891 * libc/include/machine/ieeefp.h: Fix typo.
14892
14893 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14894
14895 * libc/sys/d10v: New directory for D10V stuff.
14896 * libc/include/machine/ieeefp.h: Add D10V defines.
14897
14898 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14899
14900 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14901 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14902 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14903 * libc/string/strerror.c (strerror): Add them.
14904
14905 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14906
14907 * libc/sys/sysnecv850: New directory for v850 stuff.
14908
14909 * libc/machine/v850: New directory for v850 stuff.
14910 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14911
14912 * configure.in: Add support for the v850.
14913
14914 * libc/include/machine/ieeefp.h: Add v850 defines.
14915 * libc/include/machine/setjmp.h: Likewise.
14916 * libc/include/sys/config.h: Add v850 defines.
14917
14918 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14919
14920 * libc/include/machine/ieeefp.h
14921 * libc/include/machine/setjmp.h
14922 * libc/include/sys/fcntl.h
14923 * libc/include/sys/signal.h
14924 * libc/include/sys/types.h
14925 * libc/stdlib/system.c:
14926 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14927 API availability, __CYGWIN32__ for cygwin32 environment specific).
14928
14929 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14930
14931 * libc/include/stdlib.h: add multibyte character functions. Add
14932 __eprintf for assert.
14933
14934 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14935
14936 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
14937 arithmetic or __alignof__ to properly get the alignment, instead
14938 of hardwiring it to 4.
14939
14940 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
14941
14942 * libc/stdio/fseek.c: add fflush call to adjust seek offset
14943 on append stream (fix from NetBSD sources), adjust curoff offset
14944 for ungetc's benefit.
14945 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
14946 * libc/stdio/rewind.c: replace code with up to date NetBSD
14947 code to undo hacks made to work around above problem of not
14948 having fflush call mentioned above
14949
14950 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14951
14952 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
14953 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
14954 Partially revert last changes. The thread specific errno is set
14955 iff if the underlying syscall fails and the global errno is not
14956 zero.
14957
14958 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14959
14960 * libc/reent/filer.c: Removed files, all functions have split out
14961 into their own files.
14962 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
14963 New files containing functions formally in filer.c
14964 * libc/reent/Makefile.in: Updated for above change.
14965
14966 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
14967 syscall fails, not if errno is changed.
14968 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
14969 _write_r): Likewise.
14970 * libc/reent/fstatr.c (_fstat_r): Likewise.
14971 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14972 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14973 * libc/reent/signalr.c (_kill_r): Likewise.
14974 * libc/reent/statr.c (_stat_r): Likewise.
14975 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14976
14977 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
14978 signalr.c, statr.c, timer.c} (errno): declare extern rather
14979 than as a common.
14980
14981 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
14982 instead of calling vfprintf so that i*printf will not require
14983 floating point support code.
14984
14985 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
14986
14987 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
14988 path delimiter.
14989 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
14990 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
14991
14992 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
14993
14994 * libc/include/signal.h: _sig_func_ptr function takes an int
14995 * libc/include/sys/signal.h: sa_handler function takes an int
14996
14997 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
14998
14999 * libc/include/machine/ieeefp.h: Simplify H8/S support.
15000 * libc/include/sys/config.h: Add missing H8/S conditional.
15001
15002 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
15003
15004 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
15005
15006 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
15007
15008 * libc/include/machine/setjmp.h: Handle H8/S.
15009 * libc/include/machine/ieeefp.h: Likewise.
15010 * libc/include/sys/config.h: Likewise.
15011 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
15012 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
15013 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
15014 * libc/sys/h8300hms/crt0.S: Likewise.
15015
15016 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
15017
15018 * Makefile.in (datadir): Set to $(prefix)/share.
15019 (oldincludedir, docdir): Removed.
15020 * doc/Makefile.in (datadir): Set to $(prefix)/share.
15021 (oldincludedir, docdir): Removed.
15022 * libc/Makefile.in (datadir): Set to $(prefix)/share.
15023 (oldincludedir, docdir): Removed.
15024 * libm/Makefile.in (datadir): Set to $(prefix)/share.
15025 (oldincludedir, docdir): Removed.
15026
15027 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
15028
15029 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
15030 _reent struct.
15031
15032 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
15033
15034 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
15035 fetch current path rules with sysconf and handler posix/win32
15036 appropriately.
15037
15038 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
15039
15040 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
15041 (WAIT_CHILD): Always define.
15042
15043 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
15044
15045 * libc/stdlib/eprintf.c: New file.
15046 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
15047 (eprintf.o): New target.
15048
15049 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
15050
15051 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
15052 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
15053
15054 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
15055
15056 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
15057 NT in PowerPC endianess cases.
15058
15059 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15060
15061 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
15062
15063 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15064
15065 * libc/string/strtok.c: Fix doc typo.
15066
15067 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15068
15069 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
15070 _next, _scanpoint, _signgam fields.
15071
15072 * libc/include/stdlib.h (rand_r): Added new declaration.
15073 (_rand_r, _srand_r): Removed declarations.
15074 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
15075 have been made obsolete by rand_r.
15076 * libc/stdlib/rand_r.c: New file, rand_r function as specified
15077 by POSIX.1c.
15078
15079 * libc/string/strtok.c: Update documentation to describe
15080 strtok_r().
15081
15082 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
15083
15084 * libc/include/sys/stat.h (stat structure): Use the expanded stat
15085 structure on Solaris, and PowerPC systems even though __svr4__ is
15086 defined.
15087
15088 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
15089
15090 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
15091
15092 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
15093
15094 * host/any: Use ../.. rather than .. to get to the main build
15095 directory. This matches the current layout of the build
15096 directory.
15097
15098 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
15099
15100 * libc/machine/h8300/__main.S: Delete. No longer needed.
15101 * libc/machine/h8300/Makefile.in: Corresponding changes.
15102 * libc/sys/h8300hms/crt1.c: New file.
15103 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
15104 * libc/sys/h8300hms/crt0.s: Call __main.
15105
15106 * libc/sys/h8300hms/crt0.S: Use temporary label names
15107 for branch targets.
15108
15109 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
15110
15111 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
15112
15113 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15114
15115 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
15116 .sdata on the PowerPC so that we can link newlib with code
15117 compiled with -msdata.
15118
15119 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
15120
15121 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
15122
15123 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
15124
15125 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
15126 exception handler to __cygwin_exception_handler.
15127
15128 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
15129
15130 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
15131
15132 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
15133
15134 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
15135 SunOS VPATH.
15136 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
15137 wcstombs.o): Likewise.
15138
15139 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
15140
15141 * libc/stdlib/environ.c (initial_env): New static local.
15142 (environ): Point to `initial_env'.
15143
15144 * libc/include/machine/setjmp.h: Clean up.
15145 (__H8300H__,__PPC__): Define _JBTYPE.
15146 (__arm__): Provide entry for.
15147 (sigjmp_buf): Delete.
15148 (jmp_buf): Use _JBTYPE if defined, otherwise int.
15149
15150 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
15151
15152 * libc/machine/h8300/strcmp.S: Sign extend the result to
15153 32bits so we don't lose with -mint32.
15154
15155 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
15156
15157 * libc/sys/go32/sys/errno.h: New file.
15158 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
15159 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
15160 errno's address (make compatible with rest of newlib).
15161 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
15162 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
15163
15164 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
15165
15166 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
15167 * libc/machine/sparc/Makefile.in: Build them.
15168 * libc/machine/sparc/machine/sparclet.h: New file.
15169
15170 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15171
15172 * libc/machine/sh/asm.h: New file.
15173 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
15174 support for SH3e's FP registers. Use asm.h.
15175
15176 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
15177
15178 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
15179 as first argument. Call _dtoa_r and pass the reent structure
15180 instead of calling __dtoa.
15181
15182 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
15183
15184 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
15185 the h8300, h8500, and others. Add comments for some rather
15186 dubious code.
15187
15188 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
15189
15190 * Makefile.in (check): Check that testsuite exists before cd.
15191
15192 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15193
15194 * libc/include/string.h (strsep): Correct prototype.
15195
15196 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
15197
15198 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
15199 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
15200 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
15201
15202 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
15203
15204 * libc/posix/{creat.c,isatty.c}: New files.
15205 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
15206
15207 * libc/sys/sparc64/crt0.S (environ): Delete.
15208 (.LHaveBias): Renamed from HaveBias.
15209
15210 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
15211
15212 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
15213 (_morecore_r): Delete SBRK_IS_ALLOC support.
15214
15215 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15216
15217 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
15218 module rather than touch, so we don't get warning messages when
15219 all of the libraries are combined into libc.a.
15220
15221 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
15222
15223 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
15224 crt0.s replaced by version in libgloss.
15225
15226 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15227
15228 * libc/reent/Makefile.in (OFILES): Add impure.o.
15229 * libc/reent/impure.o: New file, define initial reentrancy struct.
15230 * libc/reent/reent.c: Remove above definition.
15231
15232 * libm/math/sf_asinh.c: Fix typo.
15233
15234 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
15235 srf_ldexp.o.
15236
15237 * libm/libm.texinfo: Change documentation to reflect changes
15238 in reentrancy model.
15239 * libm/math/w_gamma.c: Likewise.
15240
15241 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
15242
15243 * configure.in (*-*-cygwin32): New.
15244 (*-*-win32): Deleted.
15245 * libc/sys/win32 renamed libc/sys/cygwin32.
15246
15247 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15248
15249 * libc/include/sys/file.h: New include file.
15250
15251 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
15252
15253 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
15254
15255 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
15256
15257 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
15258
15259 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15260
15261 * doc/makedoc.c (realloc): Declare at file scope.
15262 (catchar): Not here.
15263
15264 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
15265
15266 * Makefile.in (VERSION): Update to 1.7.0.
15267 * {libc,libm}/Makefile.in (VERSION): Likewise.
15268 * configure.in: Minor clean up of multilib stuff.
15269
15270 From David Johnson <davidj@ICSI.Berkeley.EDU>
15271 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
15272
15273 * libc/stdlib/environ.c: New file.
15274 * libc/stdlib/Makefile.in (OFILES): Build it.
15275 * libc/sys/h8500hms/crt0.c (environ): Deleted.
15276 * libc/sys/m88kbug/crt0.c (environ): Deleted.
15277 * libc/sys/z8ksim/crt0.c (environ): Deleted.
15278 * libc/sys/netware/environ.c: Deleted.
15279
15280 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15281
15282 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15283
15284 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15285
15286 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15287 declaration out to external scope and declare it PTR, not char *.
15288
15289 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15290
15291 * libc/include/sys/unistd.h (getpagesize): New declaration.
15292 (_SC_PAGESIZE): New definition.
15293 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15294 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15295
15296 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15297
15298 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
15299 addressing. System call returns size, not (last address + 1).
15300
15301 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15302
15303 * libm/math/*.c: Removed _foo_r() reentrancy API.
15304 * libc/include/math.h: Removed _foo_r prototypes and macros.
15305
15306 * libm/math/*.c: On systems with IEEE single precision "doubles"
15307 move foo() -> foof() wrapper code from the files that implement
15308 the standard IEEE double precision functions to the files that
15309 implement IEEE single precision functions. (ie. On those systems
15310 sin is moved from s_sin.c to sf_sin.c). There should eventually
15311 be use of a C extension (like gcc's alias attribute) so that the
15312 wrappers are not needed at all.
15313
15314 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
15315 strict NEC V810 compiler.
15316 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
15317 for same reason.
15318
15319 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15320
15321 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
15322 from NetBSD C library.
15323 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15324
15325 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
15326 and adapted from implementation I wrote for NetBSD C library.
15327 The difference is __assert doesn't take a format argument,
15328 so that there won't be multiple copies of the same string
15329 constant in the executable if assertions are enabled in
15330 more than one source module.
15331 * libc/include/assert.h (assert): Changed to call __assert.
15332
15333 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15334
15335 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15336 word1 on systems with 32 bit doubles.
15337 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15338 so that we can do arithmetic on them.
15339 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
15340 compilers.
15341
15342 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15343
15344 * libc/sys/arm/crt0.S: Zero bss.
15345
15346 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15347
15348 * libc/include/unctrl.h: New file.
15349 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15350 * configure.in (subdirs): Add libc/misc.
15351 * libc/Makefile.in (SUBDIRS): Add misc.
15352 (SUBLIBS): Add misc/lib.a.
15353
15354 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15355
15356 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15357
15358 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15359 (_vfprintf_r): Call CHECK_INIT.
15360
15361 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15362
15363 * Makefile.in (MULTITOP): Delete.
15364 (MULTISRCTOP, MULTIBUILDTOP): Add.
15365 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
15366 instead of cfg-ml-pos.in.
15367
15368 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15369
15370 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
15371 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
15372 presence.
15373
15374 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15375
15376 * libc/string/strtok.c: Include string.h to pick up strtok_r
15377 prototype.
15378
15379 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15380
15381 * libc/string/strtok.c: include <_ansi.h>.
15382 * libc/time/asctime_r.c: `reresult' -> `result'.
15383
15384 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15385
15386 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
15387 in #ifndef _REENT_ONLY ... #endif conditional.
15388
15389 * libc/include/string.h (_strtok_r): Remove declaration.
15390 * libc/include/time.h (_asctime_r): Remove declaration.
15391 * libc/string/strtok.c (_strtok_r): Removed.
15392 * libc/time/asctime.c (_asctime_r): Removed.
15393
15394 * libc/string/Makefile.in (OFILES): Add new object.
15395 * libc/string/strtok_r.c: New file. strtok_r function as
15396 specified by POSIX.1c, adapted from strtok implementation
15397 from NetBSD C library.
15398 * libc/string/strtok.c (strtok): Reimplemented in terms of
15399 strtok_r.
15400
15401 * libc/time/Makefile.in (OFILES): Add new objects.
15402 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
15403 New files, reentrant time functions specified by POSIX.1c.
15404 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
15405 reentrant time functions re-written in terms of reentrant
15406 functions.
15407 * libc/time/lcltime.c: Renamed from localtime.c
15408
15409 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
15410 gmtime_r, and localtime_r.
15411
15412 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
15413
15414 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
15415 * libc/include/sys/unistd.h (getlogin): Revert change of
15416 Oct 19.
15417 * libc/include/sys/signal.h (sigprocmask): Change prototype
15418 so it compiles with c++.
15419
15420 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
15421
15422 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
15423 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
15424 to give some room in case we need to align the jmp_buf.
15425
15426 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
15427 the new ppc-asm.h include file the compiler provides to specify
15428 function prologue/epilogue. Eliminate saves of the xer and ctr
15429 registers, which are volatile. Before starting to save registers,
15430 align to 8 byte boundary.
15431
15432 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15433
15434 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
15435 referenced by standard libraries.
15436
15437 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
15438
15439 * libc/unix/Makefile.in, libc/string/Makefile.in,
15440 libc/stdio/Makefile.in, libc/reent/Makefile.in,
15441 libc/posix/Makefile.in:
15442 Remove tabs from otherwise empty line. Confuses some
15443 older non-GNU versions of "make".
15444
15445 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
15446
15447 * libc/sys/unistd.h (getlogin): Returns const char *.
15448
15449 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
15450
15451 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
15452 * libc/include/errno.h: Moved into and include...
15453 * libc/include/sys/errno.h: New file.
15454 * libc/include/sys/wait.h: New file.
15455 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
15456 * libc/sys/win32/*: Moved out.
15457 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
15458 * configure.in (i[345]86-*-win32): HAVE_RENAME
15459
15460 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
15461
15462 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
15463 avoid macro expansion for these two names.
15464
15465 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
15466
15467 * libc/machine/h8500/psi.S: r6 renamed to fp.
15468
15469 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15470
15471 * configure.in (powerpc*): No longer need to define
15472 NO_LONGLONG_POINTERS to supress warnings.
15473
15474 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15475
15476 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
15477 through PTR instead of directly.
15478
15479 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
15480 non-standard constructor support.
15481
15482 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15483
15484 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
15485 address of the Bigint instead of the address of its _x field,
15486 as the size the result buffer was calculated accordingly.
15487 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
15488
15489 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
15490 from NetBSD C library. No longer special cases division by
15491 zero (which needs to be done by the application anyway), but
15492 it doesn't need to call abs() (or labs()) four times either.
15493
15494 * libc/stdlib/qsort.c: Replaced with implementation from
15495 NetBSD C library.
15496
15497 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15498
15499 * libc/stdio/vfprintf.c: Replaced with implementation from
15500 NetBSD C library (which is derived from the 4.4BSD C library).
15501 * libc/stdio/cvt.c: Removed.
15502 * libc/stdio/Makefile: Updated.
15503
15504 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
15505
15506 * libc/sys/win32/syscalls.c (rename): New.
15507 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
15508
15509 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15510
15511 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
15512 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
15513
15514 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
15515 (setjmp.o): Delete rule to build setjmp.o.
15516 * libc/sys/sh/setjmp.S: Delete file.
15517
15518 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15519
15520 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
15521 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
15522 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
15523 pow5mult and s2b to identifiers with leading underscores.
15524 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
15525 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
15526
15527 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
15528
15529 * libc/sys/posix/popen.c (sys/types.h): Include.
15530
15531 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
15532
15533 * libc/sys/win32/syscalls.h (fhandler): New struct.
15534 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
15535 (__fhandler_normal): Declare.
15536 (hinfo): New member op_handlers.
15537 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
15538 (__write): Likewise.
15539 (_read, _write, _open, _close, _lseek): Validate fd here.
15540 Move file type specific stuff to foo_normal.
15541 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
15542 New functions.
15543 (__lookup_fhandler): New function.
15544 (__lookup_fhandler_hook, __fhandler_normal): New variables.
15545
15546 From anders.blomdell@control.lth.se (Anders Blomdell)
15547 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
15548 Don't touch standard handles.
15549 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
15550 (_execve): Only create __FD_TABLE__ if necessary.
15551 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
15552
15553 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
15554
15555 * libc/sys/win32/sys/termios.h (FLUSHO): New.
15556 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
15557 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
15558 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
15559 without a handler is received.
15560 * libc/sys/win32/Makefile.in: Remove --nodelete.
15561 * libc/sys/win32/resouce.c (gettimeofday): New.
15562 * libc/sys/win32/syscalls.c (path_to_real_path): New.
15563 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
15564
15565 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
15566
15567 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
15568 Don't append "/*" to search pattern if trailing '/' already there,
15569 append "*".
15570 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
15571 like /'s, convert them to \'s. Handle //<drive>/ path names.
15572 Add space for quoted \'s in arg string. Print translated prog name
15573 and original prog name.
15574 (_execve): Handle parent doing exec a teensy bit better.
15575 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
15576 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
15577 path needs conversion, handle both cases. Delete `const' from result.
15578 (hash_path_name): New function.
15579 (_open): Call it.
15580 (_stat): Likewise. Fill in more fields for directories.
15581 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
15582 (wait_for_any): Fix trace message.
15583 (waitpid): Explicitly test for intpid == 0.
15584
15585 From anders.blomdell@control.lth.se (Anders Blomdell)
15586 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
15587 so `next' is valid.
15588
15589 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
15590
15591 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
15592 complicated.
15593
15594 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15595
15596 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
15597 at all, not just == 1.
15598 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
15599
15600 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15601
15602 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
15603 * libc/sys/win32/include/wintypes.h: include <winnt.h>
15604 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
15605 file.
15606
15607 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15608
15609 * libc/sys/syscalls.c (getcwd): Fix off by one error.
15610
15611 * libc/sys/signal.c (sleep): Fill it in.
15612 * libc/sys/termios.c (tcflush): Use PurgeComm
15613 (tcsetattr): Set some more of the bits.
15614 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
15615
15616 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
15617
15618 * libc/sys/arm/crt0.S (fp): Initialize to 0.
15619 Conditionally include .idata$3 stuff ifdef __pe__.
15620
15621 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15622
15623 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
15624 * libc/sys/win32/pipe.c (pipe): Ditto.
15625 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
15626 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
15627 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
15628 (tcgetattr): Contents are new.
15629 * libc/sys/win32/include/winkernel.h (DCB): New.
15630 (GetCommState, SetCommState): New.
15631
15632 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
15633
15634 * libc/sys/arm/crt0.S (_start): Define.
15635
15636 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
15637
15638 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
15639 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
15640
15641 * libc/sys/win32/sysconf.c: New
15642 * libc/sys/win32/sys/winadvapi.h: New
15643 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
15644 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
15645 * libc/sys/win32/pipe.c (pipe): Ditto.
15646 * libc/sys/win32/signal.c (_raise): New.
15647 (_kill): Moved from spawn.c
15648 * libc/sys/win32/spawn.c (kill): Moved to signal.c
15649 * libc/sys/win32/syscalls.c (__read): Use new fields.
15650 (_open): Ditto.
15651 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
15652 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
15653 * libc/include/sys/unistd.h (rmdir): Takes const path.
15654 * libc/include/sys/stat.h (mkdir): Takes const path.
15655 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
15656
15657 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
15658
15659 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
15660
15661 Add support for specifying paths as //<drive>/foo/bar.
15662 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
15663 (__path_to_real_path): Declare.
15664 (PATH_TO_REAL_PATH): New macro.
15665 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
15666 (__path_needs_conversion_p, __path_to_real_path): New functions.
15667 (_open): Fix test for error return from CreateFileA.
15668 Handle new path syntax.
15669 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15670 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15671
15672 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15673
15674 * libc/sys/win32/include/*.h: Reorganized
15675 * libc/sys/win32/include/WINREADME: New.
15676 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15677 * libc/sys/win32/*.c: Fix for new include scheme.
15678 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15679 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15680 * libc/sys/win32/passwd.c (*): Fix.
15681 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15682 (_stat): Get directory owner and permissions right.
15683 * libc/sys/win32/syscalls.h (uinfo): New.
15684 * libc/sys/win32/version.def: Remove leading underscores.
15685
15686 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15687
15688 * libc/sys/win32/key.c: include "include/wincon.h".
15689
15690 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15691
15692 * libc/sys/win32/{key, stubs}.c: New.
15693 * libc/sys/win32/Makefile: Adjust to cope.
15694 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15695 (environ_init): Change env names to upper case.
15696 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15697 * libc/sys/win32/passwd.c (*): Fill in the functions.
15698 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15699 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15700 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15701 (_open): Initialze hmap->execable_p too.
15702 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15703 (_fstat): Fill in permissions.
15704 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15705
15706 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15707
15708 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15709 if defined.
15710 (cfg-ml-pos.in invocation): Likewise.
15711
15712 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15713
15714 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15715 s_isnan.o and sf_isnan.o.
15716
15717 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15718
15719 * All Makefile.in files: added maintainer-clean target as a
15720 synonym for realclean.
15721
15722 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15723
15724 * libc/include/machine/setjmp.h: Add hppa support.
15725 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15726 support.
15727 * libc/machine/hppa/Makefile.in: Related changes.
15728
15729 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15730
15731 * configure.in (machine_dir): Don't set for v810-*-*.
15732
15733 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15734
15735 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15736 conventions correctly.
15737
15738 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15739
15740 * libc/stdio/puts.c: Update documentation of return value to match
15741 ANSI standard.
15742
15743 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15744
15745 Fix file descriptor inheritance.
15746 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15747 (NOT_OPEN_FD): Fix.
15748 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15749 close-on-exec flag not set. Initialize child's entire fd table.
15750 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15751 CHILD_P.
15752 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15753 if CHILD_P. Initialize entire hmap entry.
15754 (dup): Only create new handle as inheritable if CHILD_P.
15755 (dup2): Likewise. Properly initialize hmap entry.
15756
15757 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15758 _spawn.
15759 (_exit): Use CHILD_P.
15760 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15761 (_stat): Likewise.
15762
15763 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15764
15765 * libc/sys/win32/crt0.c (passover): fix up the state table.
15766 * libc/posix/popen.c: Added.
15767 * libc/posix/Makefile.in: compile popen.c.
15768
15769 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15770
15771 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15772 h8/500 define _DOUBLE_IS_32BITS.
15773
15774 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15775
15776 Get vfork/exec/spawn/cwait/wait working again.
15777 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15778 (procinfo): New member vfork_level.
15779 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15780 (vfork_init_first): Use GetCurrentProcessId to get pid.
15781 Initialize vfork_level.
15782 (vfork_init): Delete __PID__.
15783 (environ_init): New function. Undo patch of Aug 19, Posix says
15784 environment variables are case sensitive.
15785 (mainCRTStartup): Call it.
15786 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15787 (my_longjump: Make static.
15788 (_spawn): New argument `h'. Delete setting of __PID__.
15789 Delete local `idx'. Look for chars that need quotes, rather than
15790 ones that don't. Set handle of created process in `h'.
15791 Result is process id if created task.
15792 (allocate_spawn_entry): New function.
15793 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15794 (_execve): Set __FD_TABLE__ before spawning child.
15795 Scan our fd table when passing fds, not our parent's.
15796 Store handle and pid in procinfo entry.
15797 (vfork0): Ensure strace message always printed.
15798 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15799 (vfork): Don't clobber result of vfork0.
15800 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15801 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15802
15803 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15804 and `exit_code'.
15805 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15806 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
15807 adding vfork level to pseudo-pid.
15808 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15809 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15810 (_exit): If child, set exit code.
15811 (__vfork_record_death): Only close process handle if valid.
15812 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15813 didn't exec.
15814 (wait_for_any): Likewise. Start scan after root entry.
15815
15816 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15817
15818 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15819 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15820 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15821 of actual file length.
15822
15823 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15824 * libc/include/paths.h: _PATH_BSHELL added.
15825 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15826 and STDERR_FILENO.
15827
15828 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15829
15830 * libc/include/ar.h: Added.
15831 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15832 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15833 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15834 on filename.
15835 (_fstat): use .namehash for inode number of the fd.
15836
15837 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15838
15839 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15840 Change hinfo to __this_procinfo.
15841 * libc/sys/win32/crt0.c: Remove procinfo_list.
15842
15843 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15844
15845 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15846 win32 environment.
15847
15848 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15849
15850 * libc/sys/win32/include/grp.h: Removed.
15851 * libc/sys/include/grp.h: Added.
15852 * libc/sys/win32/grp.c: Include <grp.h>.
15853
15854 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15855
15856 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15857 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15858 Defined for all but strict ANSI.
15859 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15860 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15861 * libc/signal/signal.c (_signal_r): Changed from using
15862 _MAX_SIGNALS to NSIG.
15863 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15864 __hmap): Deleted.
15865 (__strace, __vfork_next_pid): New.
15866 (__exe_suffix): Default to 1.
15867 (passover, table): Understand quoted arguments.
15868 (vfork_init_first): New.
15869 (vfork_init): Initialize new process structure.
15870 (mainCRTStartup): Pass environ to main.
15871 * exceptions.c (__sig_mask): New
15872 (ehandler3): Ignore signals in mask.
15873 (really_exit): Remove CHILD_P test.
15874 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15875 * resource.c (getrusage): Ditto.
15876 * signal.c (sigprocmask): New.
15877 * spawn.c (*): Rewritten.
15878 * syscalls.c (*): Use new process and file structure.
15879 (find_unused_handle): New.
15880 * syscalls.h (MAX_HANDLES): Deleted.
15881 (hinfo): Removed child_created_p.
15882 (MAX_CHILDREN): Deleted.
15883 (vfork_jmp_info, procinfo): New.
15884 * wait.c (*): Mostly new.
15885 * sys/strace.h (_STRACE_PARANOID): New.
15886 * sys/param.h: New file.
15887
15888 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15889
15890 * libc/include/sys/stat.h: add S_BLKSIZE.
15891 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15892 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15893 types under win32.
15894 (mode_t): add a #else to avoid multiple definitons.
15895
15896 * libc/sys/win32/Makefile.in: add grp.c.
15897 * libc/sys/win32/grp.c: include grp.h correctly.
15898 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15899 of the st structure with real information.
15900 * libc/sys/win32 (dirent): d_ino is of type ino_t.
15901
15902 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15903
15904 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15905 and (maybe) sparc64.
15906 (nlink_t): Provide typedef.
15907
15908 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15909
15910 * libc/sys/win32/grp.c: New file.
15911 * libc/sys/win32/include/grp.h: New file.
15912
15913 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15914
15915 * libc/include/machine/ieeefp.h: Added whitespace to make this
15916 file easier to maintain.
15917 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15918 depending on the value of __LITTLE_ENDIAN__.
15919 On the sh3e, define _DOUBLE_IS_32BITS.
15920
15921 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15922
15923 * libc/sys/vr4300/syscalls.c: Added missing support
15924 routines. _raise() and getpid().
15925
15926 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15927
15928 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15929
15930 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
15931
15932 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
15933 and VR4300 processor.
15934 * libc/sys/vr4300: Add directory.
15935 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
15936 monitor run-time support.
15937
15938 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15939
15940 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
15941 * libc/stdlib/stdlib.tex: Don't include atol.def.
15942
15943 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15944
15945 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
15946
15947 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
15948
15949 * libc/ctype/Makefile.in: Fill in _to* dependencies.
15950
15951 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
15952
15953 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
15954 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
15955 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
15956 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
15957 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
15958
15959 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15960
15961 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
15962
15963 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15964
15965 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15966 * libc/stdlib/atoff.c: New file.
15967 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15968 * libc/stdlib/atoi.c (atol): Removed.
15969 * libc/stdlib/atol.c: Removed duplicate documentation.
15970
15971 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15972 #ifndef _STRICT_ANSI conditional.
15973 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15974 * libc/ctype/_tolower.c: New file.
15975 * libc/ctype/_toupper.c: New file.
15976 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15977 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15978 * libc/ctype/toascii.c (_toascii): Removed.
15979
15980 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15981
15982 * libc/sys/sparc64/sys/types.h: Deleted.
15983
15984 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15985
15986 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
15987 and recognize Windows_95 systems.
15988
15989 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15990
15991 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
15992 and passed fds should be opened in text mode.
15993
15994 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15995
15996 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
15997 in __hmap, set to binary mode by default.
15998
15999 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16000
16001 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
16002 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
16003 vector 34.
16004
16005 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
16006
16007 * Makefile.in (install): Install all libraries found in the
16008 top level. If there's a sys/<type>/include directory,
16009 install those headers into include.
16010
16011 * libc/sys/win32/kernel.def351: Delete
16012 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
16013 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
16014 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
16015 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
16016 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
16017 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
16018 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
16019 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
16020
16021 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
16022 * libc/sys/win32/crt0.c: Force all env names to upper case.
16023 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
16024 * libc/sys/win32/*.c: Headers have moved.
16025 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
16026 __vfork_child_idx is now __vfork_child_ptr.
16027
16028 * posix/execvp (execvp): Don't crash if no PATH envname.
16029
16030 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16031
16032 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
16033 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
16034 through the _freelist instead of through the _reclaim list.
16035 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
16036 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
16037 sources.
16038
16039 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16040
16041 * libc/machine/h8500/setjmp.S: New file.
16042 * libc/include/machine/setjmp.h: Updated for H8/500.
16043
16044 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
16045
16046 * libc/sys/win32/syscalls.c (_open): More stracing.
16047 (_stat): Open the file in O_BINARY.
16048
16049 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16050
16051 * libc/machine/h8300/setjmp.S: New file.
16052 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
16053
16054 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
16055
16056 * libc/sys/win32/crt0.c (__exe_suffix): New global.
16057 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
16058 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
16059 __exe_suffix. Free fd_tab after setting env variable.
16060 (spawnv,_execve): Update.
16061 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
16062 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
16063 (__small_vfprintf): New function.
16064 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
16065 * libc/sys/win32/wait.c (cwait): Validate argument.
16066
16067 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
16068 (process_deletion_queue): Likewise.
16069
16070 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
16071
16072 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
16073
16074 * libc/sys/win32: Copyrights and gratuitous indenting.
16075
16076 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
16077
16078 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
16079 (process_deletion_queue): Likewise.
16080 (__close_all_files): New function.
16081 (_close): Only queue file deletion if really a file.
16082 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
16083 _P_APPEND_EXE.
16084 (_exit): Call __close_all_files.
16085
16086 * libc/stdlib/system.c: #include <errno.h>.
16087 (_system_r): Fix results in -DNO_EXEC case.
16088
16089 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
16090 Reorganize structure.
16091 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
16092 if argument is valid. Save directory name in DIR. malloc space
16093 for dirent struct separately.
16094 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
16095
16096 * libc/include/errno.h (ENAMETOOLONG): Define.
16097 * libc/string/strerror.c (strerror): Reword ENFILE.
16098 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
16099
16100 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
16101
16102 * libc/sys/win32/crt0.c (__progname): New global.
16103 (mainCRTStartup): Support strace=bitmask,filename.
16104 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
16105 * libc/sys/win32/syscalls.c (_write): Print parent trace message
16106 if error.
16107 (getcwd): Handle len too small. Convert '\\' to '/'.
16108 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
16109 Add prototypes for open, creat, fcntl.
16110 (O_APPEND): Change value to conform to Microsoft's value.
16111 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
16112
16113 * libc/stdlib/getopt.c: New file.
16114 * libc/stdlib/Makefile.in: Build it.
16115
16116 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
16117
16118 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
16119 Fix scanning of $PATH.
16120 * libc/posix/exec*.c: Call _execve, not execve.
16121 * libc/posix/execve.c: New file.
16122 * libc/posix/Makefile.in (OFILES): Add execve.o.
16123
16124 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
16125 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
16126 (_STRACE): If level==0, always print. Handle new bit mask scheme.
16127 * libc/sys/win32/crt0.c: Update _STRACE calls.
16128 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
16129
16130 * libc/sys/win32/smallprint.c (rn): Fix digit list.
16131
16132 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
16133 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
16134 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
16135 Print __seterrno trace message first.
16136 (_execve): Renamed from execve.
16137 (vfork): Update __strace usage.
16138 (__vfork_child_pid): Deleted.
16139 (__vfork_children, __vfork_child_idx): New globals.
16140 (_spawnvp): New function.
16141 (spawnvp, spawnv, _execve): Call _spawnvp.
16142 (init_child): Record child in __vfork_children.
16143 (__vfork_get_entry, __vfork_record_death): New functions.
16144 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
16145 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
16146 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
16147 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
16148 (children): New typedef.
16149 (__vfork_children,__vfork_child_idx): Declare.
16150 (__vfork_get_entry,__vfork_record_death): Declare.
16151 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
16152 (waitpid): Handle pid == -1.
16153 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
16154 * configure.in (i386-win32): Add -DNO_FORK.
16155 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
16156 * libc/reent/execr.c (_fork_r): Likewise.
16157 * libc/stdlib/system.c (do_system): New function.
16158 If WIN32, try to get shell path from $SH_PATH, use vfork.
16159 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
16160 otherwise return 0.
16161
16162 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
16163
16164 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
16165 * libc/sys/win32/fcntl.h: Don't include self.
16166 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
16167 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
16168 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
16169 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
16170 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
16171 Correct prototypes.
16172 * libc/sys/win32/strace.c: New file.
16173 * libc/sys/win32/smallprint.c: New file.
16174 * libc/sys/win32/crt0.c (func): Delete.
16175 (mainCRTStartup): Fix alloca usage. Set handles explictly.
16176 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
16177 * libc/sys/win32/exceptions.c: Lint.
16178 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
16179 Clean up handle usage.
16180 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
16181 (open.c): Default file type is text.
16182 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
16183 * libc/sys/win32/advapi32.def: New
16184
16185 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
16186
16187 * configure.in (posix_dir, libc_posix_lib): New variables.
16188 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
16189 (i[345]86-*-win32): Define posix_dir.
16190 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
16191 (if unix_dir): Fix typo.
16192 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
16193 scandir,seekdir,telldir}: New files.
16194 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
16195 from libc/unix.
16196 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
16197 (SUBDIRS): Add posix.
16198 (SUBLIBS): Add $(LIBC_POSIX_LIB).
16199
16200 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
16201 (NSIG): Increase to 21.
16202 * libc/include/sys/unistd.h (pid_t): Move from here,
16203 * libc/include/sys/types.h (pid_t): to here.
16204
16205 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
16206 (__ptrace): Delete.
16207 (hinfo): New members close_exec_p, child_created_p.
16208 (struct exception_list): Define.
16209 (__hmap): Redefine as pointer to table.
16210 (__parent_hmap, __child_hmap): New globals.
16211 (__set_errno, __really_exit): Declare.
16212 (__vfork_child_pid): Declare.
16213 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
16214 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
16215 (__parent_hmap, __child_hmap): New globals.
16216 (__hmap): Redefine as pointer to active map.
16217 (__get_console): New function.
16218 (mainCRTStartup): Change leading '=' in environ vars to '!'.
16219 (env __FD_TABLE__): Watch for this and initialize our fd/handle
16220 mapping table from it if defined.
16221 (argv, envp): Dump if __strace >= 4.
16222 (main): Call here.
16223 * libc/sys/win32/exceptions.c (myp): Redefine.
16224 (__syscalls_b): Delete.
16225 (__stack_trace): New function.
16226 (ehandler3): Update to use _STRACE. Print stack trace.
16227 Call __really_exit instead of exit.
16228 (init_exceptions): Delete args argc,argv. New arg mine.
16229 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
16230 FindFirstFileA, FindNextFileA, GetComputerNameA,
16231 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
16232 * libc/sys/win32/signal.c (signal): Validate arg.
16233 (alarm, sleep): Define as stubs for now.
16234 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
16235 (__syscalls_b, errno): Delete.
16236 (__vfork_child_pid, __vfork_jmp_buf): New globals.
16237 (__seterrno): Handle more errors.
16238 (__sys_printf): Renamed from _ptrace.
16239 (__really_exit): New function.
16240 (queue_file_deletion, process_deletion_queue): New functions.
16241 (__resume_parent): New function.
16242 (_unlink): Handle trying to delete open file.
16243 (__totime_t): Renamed from totime_t.
16244 (setsid, __read, __write): New functions.
16245 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
16246 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
16247 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
16248 * libc/sys/win32/console.c: Update to new definition of __hmap.
16249 * libc/sys/win32/Makefile.in: Build new files.
16250 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
16251 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
16252 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
16253 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
16254
16255 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
16256
16257 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
16258
16259 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16260
16261 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
16262 have been made to the master dtoa.c sources (from netlib.att.com)
16263 since they were integrated into newlib in early 1992. Fixes
16264 problems with storage leaks and handling of numbers with very
16265 negative exponents.
16266
16267 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16268
16269 * Makefile.in (all): set rootpre and srcrootpre before calling
16270 sub-makes.
16271
16272 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
16273
16274 * libc/sys/win32/crt0.c: Change __hmap usage.
16275 * libc/sys/win32/exceptions.c: Use _ptrace call.
16276 * libc/sys/win32/syscalls.c: Use _ptrace call.
16277 (read, write): Cope with DOS style CRLF when in TEXT mode.
16278 * libc/sys/win32/syscalls.h: Declare hinfo struct.
16279 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
16280 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
16281 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16282 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16283
16284 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16285
16286 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16287
16288 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16289 wrappers for hypot() and remainder() for BSD libm compatibility.
16290 These are public domain implementations written by me for the
16291 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16292 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16293 (fobj): Added wf_cabs.o and wf_drem.o.
16294
16295 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16296
16297 * libc/sys/h8500hms/misc.c: New file.
16298 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16299
16300 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16301
16302 * libc/time/localtime.c (localtime): Fix problem with leap year
16303 handling. Stole algorithm from Arthur David Olson's tz code.
16304
16305 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16306
16307 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16308
16309 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16310 (_exit): Use argument.
16311
16312 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16313
16314 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16315
16316 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16317
16318 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16319
16320 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16321
16322 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16323 target_cflags.
16324
16325 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16326
16327 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16328 ptrace with case insensitivity
16329 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
16330 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
16331 New files.
16332
16333 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16334
16335 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16336 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16337 (all, install, *clean): Use new multilib support.
16338 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16339
16340 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16341
16342 * libc/include/sys/signal.h (__WIN32__): New.
16343
16344 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16345
16346 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16347 (ulp, b2d): Handle 32 bit doubles.
16348 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16349 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16350
16351 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16352
16353 from medp@primag.co.uk:
16354 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16355 dynamically allocated buffers.
16356
16357 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16358
16359 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16360 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16361
16362 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16363
16364 * configure.in (powerpc): Fix previous fix.
16365
16366 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16367
16368 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
16369 directories for this target.
16370
16371 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16372
16373 * configure.in (hppa): Add machine_dir definition.
16374 * libc/machine/hppa: New directory with PA specific implementations
16375 of the basic memory/string functions.
16376
16377 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16378
16379 * configure.in: Update current PowerPC multilib directories.
16380 Split big and little endian configurations.
16381
16382 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
16383
16384 * configure.in: Add --enable-single-float option to configure to
16385 control use of MIPS single-float directories. Default to yes.
16386
16387 * Makefile.in (all): Don't recurse into multilib directory if it
16388 does not exist.
16389
16390 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16391
16392 * libc/sys/sh/syscalls.c: Fix typo.
16393
16394 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
16395
16396 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
16397 Pass down DLLTOOL.
16398 * libc/include/process.h: Define WAIT_CHILD.
16399 * libc/include/types.h: Get sizes right for win32.
16400 * configure.in (i386-*-pe): Becomes i386-win32.
16401 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16402 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
16403 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
16404 is defined.
16405
16406 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
16407
16408 * configure.in (i[345]86-*-pe): New target (NT).
16409 * host/any: DLLTOOL new.
16410 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16411 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
16412 WIN32 (just enough to cross host the comp-tools).
16413
16414 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
16415
16416 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
16417 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
16418
16419 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
16420
16421 * libc/include/machine/ieeefp.h (arm): Change to always be
16422 __IEEE_BIG_ENDIAN (even on little endian ARM's).
16423
16424 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
16425
16426 * libc/sys/crt0.S: Initialze sp, and call exit after main.
16427 * libc/sys/syscalls.c (abort): New.
16428 * configure.in (arm): Define ABORT_PROVIDED.
16429
16430 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16431
16432 * configure.in (powerpc): Define multidirs.
16433
16434 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
16435
16436 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
16437
16438 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
16439
16440 * configure.in (sparclite): Delete target_cflags. Define multidirs.
16441
16442 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
16443
16444 * configure.in, libc/include/machine/ieeefp.h: Modified
16445 for arm:
16446 libc/machine/arm/*, libc/sys/arm/*: New
16447
16448 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16449
16450 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
16451 __powerpc__ when determining endianness.
16452
16453 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16454
16455 * configure.in (m68*): Add multidir for the m68332.
16456
16457 * host/any (CC): Fix typo in last change.
16458
16459 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
16460
16461 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
16462 when determining endianness.
16463 * libc/include/machine/ieeefp.h: Ditto.
16464 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
16465 operands.
16466
16467 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
16468
16469 * libc/include/errno.h (ENOTEMPTY): Define.
16470
16471 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16472
16473 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
16474 target_cflags.
16475
16476 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
16477 and umultiply.o.
16478
16479 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
16480 instead of only when open succeeds. ANSI requires that multiple
16481 calls to tmpnam() result in different files.
16482
16483 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
16484 objects pulled in from /lib/libc.a that must be renamed before
16485 being pulled into newlib. /lib/libc.a's div.o conflicted with
16486 newlib's file with the same name.
16487
16488 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
16489
16490 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
16491 the build tree will only be used if the executables are present
16492 (instead of just the Makefiles).
16493
16494 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
16495 wcstombs): Define.
16496 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
16497 versions of these functions that I orignally wrote for the
16498 NetBSD C library.
16499 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
16500 versions I wrote for NetBSD.
16501
16502 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
16503
16504 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
16505 * libc/sys/sparclite/crt0.s: ditto.
16506
16507 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
16508
16509 * configure.in: Add soft-float for proelf.
16510
16511 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
16512
16513 * libc/stdlib/mprec.h (Bcopy): Copy the right number
16514 of bytes.
16515
16516 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
16517
16518 * Makefile.in (all): Depend on `force'.
16519 * configure.in (syscall_dir): Renamed from fake_sys_dir.
16520 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
16521 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
16522 * libc/Makefile.in: Likewise.
16523 * libc/include/reent.h: Update syscall references.
16524 (_fcntl_r): Add prototype.
16525 * libc/syscalls/*.c #include <reent.h>.
16526 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
16527
16528 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
16529
16530 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
16531 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
16532 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
16533 (time.h, sys/types.h): Always include (even if MSDOS).
16534 (stat): Fix prototype.
16535
16536 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
16537
16538 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
16539
16540 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16541
16542 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
16543
16544 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
16545
16546 * libc/include/regdef.h: New file.
16547 * libc/machine/mips/machine/regdef.h: New file.
16548
16549 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
16550
16551 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
16552
16553 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
16554
16555 * libc/sys/sh/crt0.S: Pass main's return to exit.
16556 * libc/sys/sh/trap.S: Put errno in the right place.
16557
16558 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16559
16560 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
16561 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
16562 * libm/math/ef_rem_pio2.c: Likewise.
16563 * libm/math/e_log10.c: Remove unused static one.
16564 * libm/math/ef_log10.c: Likewise.
16565 * libm/math/s_frexp.c: Likewise.
16566 * libm/math/sf_frexp.c: Likewise.
16567
16568 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
16569
16570 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
16571 longjmp.S: Upgraded.
16572 * libc/sys/go32/sys/setjmp.h: Upgraded.
16573 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
16574
16575 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16576
16577 * configure.in: Add many entries to multidirs for mips targets.
16578
16579 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16580
16581 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
16582 5.2 which fixes bug where jn(-1,x) is three times larger than
16583 the actual answer.
16584 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
16585
16586 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
16587
16588 * libc/sys/w65/sys/syscalls.h: New file
16589 * libc/include/machine/ieeefp.h: W65 support.
16590 * libc/include/sys/config.h: Ditto.
16591 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
16592 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
16593 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
16594
16595 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16596
16597 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
16598
16599 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
16600
16601 * Makefile.in, configure.in: Remove any references to the old
16602 "stub" dir.
16603
16604 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16605
16606 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
16607 uses ... in prototype.
16608
16609
16610 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
16611
16612 * libc/sys/a29khif/sys/libconfig.h: Remove.
16613 * libc/sys/go32/sys/libconfig.h: Remove.
16614 * libc/sys/sun4/sys/libconfig.h: Remove.
16615 * libc/sys/sysvi386/sys/libconfig.h: Remove.
16616 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
16617 * libc/sys/sparc64/sys/libconfig.h: Remove.
16618
16619 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
16620 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
16621 * libc/include/math.h: Change all uses of _FLOAT_RET and
16622 _FLOAT_ARG to float.
16623 * libm/test/math.c: Likewise.
16624 * testsuite/libm.sac/math.c: Likewise.
16625 * testsuite/libm.sac/working/math.c: Likewise.
16626
16627 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16628
16629 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
16630 gcc calls gas with endian option.
16631 * configure.in (sh): Build little endian version too.
16632
16633 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16634
16635 * configure.in: Configure big and little endian versions for MIPS
16636 targets.
16637
16638 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
16639
16640 * libc/include/limits.h: Deleted.
16641 * libc/include/machine/limits.h: Deleted.
16642
16643 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
16644
16645 * ChangeLog: Remove stub directory. This has all been rewritten
16646 and moved to devo/libgloss.
16647
16648 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16649
16650 * Makefile.in (dvi): Add to info target, use $@ in sub make.
16651 (docs): Merge into info target.
16652 * libm/Makefile.in (dvi): Add $(srcdir).
16653 * libm/math/Makefile.in (chobjs): Remove underscores from file
16654 names. Texinfo doesn't like them.
16655 (wacos.def, ...): Add explicit targets for all .def files.
16656 * libm/math/math.tex: Remove underscores from @include file names.
16657 * doc/Makefile.in (dvi): Add dummy target.
16658 * testsuite/Makefile.in (dvi): Add dummy target.
16659
16660 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
16661
16662 * Makefile.in (VERSION): Define. For net newlib releases.
16663
16664 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
16665
16666 * README: New file.
16667
16668 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16669
16670 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16671
16672 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16673
16674 * libc/stdlib/setenv.c (_findenv): Declare.
16675
16676 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16677 fcntl to not use _EXFUN, and change string parameters to open and
16678 creat to be ``const char *''.
16679 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16680 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16681 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16682 (open) Make _FILE const.
16683 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16684 (_creat): Make PATH const.
16685 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16686 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16687 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16688 * libc/sys/sh/syscalls.c (_open): Likewise.
16689 * stub/shared/glue.c (open): Make BUF const.
16690 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16691
16692 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16693
16694 * libc/include/errno.h: Add ENMFILE
16695 * libc/include/sys/config.h: Support Z8000.
16696 * libc/include/sys/signal.h: New signals for go32.
16697 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16698 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16699 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16700 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16701 size is variable, depending upon CHUNK_POWER.
16702 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16703
16704 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16705
16706 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16707
16708 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16709
16710 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16711
16712 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16713
16714 * configure.in: Change i[34]86 to i[345]86.
16715
16716 * libc/include/math.h: Don't define HUGE_VAL if it is already
16717 defined.
16718
16719 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16720
16721 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16722 * testsuite/libm.sac/test_gammaf.c: Likewise.
16723 * testsuite/libm.sac/test_sin.c: Likewise.
16724 * testsuite/libm.sac/test_tanh.c: Likewise.
16725
16726 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16727
16728 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16729 already set. Define typedefs __int32_t and __uint32_t.
16730 * libc/include/math.h: Include <machine/ieeefp.h>.
16731 (union __dmath): Use __uint32_t.
16732 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16733 instead of int and unsigned int.
16734
16735 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16736
16737 Replace the math library with the SunPRO fdlibm package.
16738 * libm/math: Completely changed all files.
16739 * libm/ieeefp: Remove contents and directory.
16740 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16741 (SUBDIRS): Just set to math/lib.a.
16742 * libm/libm.texinfo: Updated for new library.
16743 * libc/include/math.h: Extensive changes for new math library.
16744 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16745 from _FLOAT_ARG to float.
16746 (maxpowtwo, maxpowtwof): Don't declare.
16747 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16748 (libm_fp_lib): Removed.
16749 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16750 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16751 argument to ${RUNTEST}.
16752 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16753 (.c.o): New rule.
16754 (RUNTESTFLAGS): Set CC and CFLAGS.
16755 (TESTS): Remove test_log2 and test_log2f.
16756 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16757 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16758 _FLOAT_ARG, for single precision argument type.
16759 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16760 expected failure. Close the input pipe.
16761 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16762 Correct misspelling of inaccurate.
16763 (test_mok): Use ``inaccurate'', not ``wrong''.
16764 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16765 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16766 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16767 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16768 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16769 test_yn.c): Correct many result values. Many are still wrong.
16770
16771 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16772 just copy the string.
16773 (_gcvt): Always return the buffer.
16774
16775 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16776
16777 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16778
16779 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16780
16781 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16782 structure.
16783 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16784 (_reclaim_reent): declare new entry point.
16785 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16786 functions.
16787
16788 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16789 ever allocated, so that we can later reclaim them all.
16790 (pow5mult): make reentrant.
16791
16792 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16793 so that when given NULL as a buffer, return a pointer to static
16794 space in the rent structure. This is not documented behaviour;
16795 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16796 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16797 therefore become reentrant).
16798
16799 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16800
16801 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16802
16803 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16804
16805 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16806
16807 * Makefile.in: Make link to libg.a after libc.a; this is needed
16808 for the testsuites to build executables when everything comes
16809 from the tree.
16810
16811 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16812
16813 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16814 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16815
16816 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16817
16818 * libc/include/stdio.h: Use __VALIST, not va_list.
16819
16820 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16821
16822 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16823 testsuite/libm.sac/execute.exp:
16824 Replace error proc calls with perror calls.
16825
16826 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16827
16828 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16829 * libc/include/time.h: #define NULL as 0L.
16830
16831 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16832
16833 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16834 care of it.
16835
16836 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16837
16838 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16839 not __unix__.
16840
16841 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16842
16843 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16844 (z8k-*-*): Use syscalls fake sys dir.
16845 * libc/sys/z8k/glue.c: Rename syscalls.
16846 * libc/sys/go32/Makefile.in: Use new routines.
16847 * libc/machine/Makefile.in: Fix typo in ln stuff.
16848
16849 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16850
16851 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16852 * libc/Makefile.in (crt0.o): Likewise.
16853 * libc/machine/Makefile.in (lib.a): Likewise.
16854 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16855
16856 All Makefile.in files: Added mostlyclean, realclean and distclean
16857 targets.
16858
16859 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16860 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16861 the top level Makefile.
16862
16863 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16864
16865 * libc/sys/sparc64/sys/stat.h: New file.
16866 * libc/sys/sparc64/sys/time.h: New file.
16867 * libc/sys/sparc64/sys/types.h: New file.
16868
16869 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16870
16871 * stub/ex93x/crt0.s (start): Add code to clear bss.
16872
16873 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16874
16875 * libc/include/sys/types.h (time_t): Properly protect inside
16876 #ifndef __time_t_defined.
16877
16878 * libc/stdio/fileno.c: New file.
16879 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16880 (fileno.o): Add dependency.
16881 * libc/include/stdio.h (__sgetc): Rename never to _never.
16882 (fileno macro): Disable, needs to do CHECK_INIT first.
16883
16884 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16885
16886 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
16887 goal.
16888
16889 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16890 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16891 runtest.
16892 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16893 runtest.
16894
16895 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16896
16897 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16898 of the various constants.
16899
16900 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16901
16902 * libc/include/math.h: #ifndef __math_68881 around things which
16903 conflict with the (gcc-provided) inline functions in
16904 gcc/ginclude/math-68881.h.
16905
16906 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16907
16908 * libc/include/_syslist.h (_gettimeofday): Define.
16909 (_times): Ditto.
16910 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16911 (struct tms, timeval, timezone): Declare.
16912 (_gettimeofday_r, _times_r): Declare.
16913 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16914 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16915 (time_t): Add multiple definition protection, __time_t_defined.
16916 * libc/include/sys/time.h: Don't #include <time.h>.
16917 Always define struct timezone (remove #ifndef _TIME_H_).
16918 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16919 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16920 * libc/reent/Makefile.in (OFILES): Add timer.o.
16921 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16922 * libc/reent/timer.c: New file.
16923 * libc/time/clock.c: #include <reent.h>.
16924 (clock): Call _times_r instead of times.
16925 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16926 HAVE_GET_TIME_OF_DAY.
16927 Add comment regarding supporting OS routine(s) required (for docs).
16928 #include <reent.h>.
16929 (time): Call _gettimeofday_r instead of gettimeofday.
16930 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
16931 * libc/time/ctime.c: Ditto.
16932 * libc/time/strftime.c: Ditto.
16933 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
16934 (TEMPLATE_SFILES_R): Define here. Also define times.
16935 Add times_r.o/times.S dependence.
16936 (time2.c, junk.c): Deleted.
16937 * libc/sys/sparc64/time2.c: Deleted.
16938 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
16939
16940 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
16941 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
16942 * libc/sys/sparc64/junk.c: Deleted.
16943
16944 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
16945
16946 * libc/sys/sparc64/Makefile.in: Add times syscall.
16947 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
16948 be used with and without it. Add comment clarifying Medium/Anywhere
16949 model requirements.
16950 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
16951 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
16952 even if obsolete.
16953
16954 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
16955
16956 * configure.in (target_cflags): Move init.
16957 (sparc64-*-*): Define HAVE_BLKSIZE.
16958
16959 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
16960
16961 * libc/include/sys/_types.h: New file.
16962 * libc/include/reent.h: #include it.
16963 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16964 MISSING_SYSCALL_NAMES.
16965 Sort syscalls.
16966 * libc/include/_syslist.h: Remove _raise.
16967 * libc/reent/signalr.c: New file.
16968 * libc/reent/Makefile.in: Compile it.
16969 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16970 Add doc for raise and _raise_r.
16971 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16972 (raise): Call _raise_r.
16973 (_raise_r): Call _getpid_r and _kill_r.
16974 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16975 (abort): Loop forever calling raise and _exit.
16976
16977 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16978
16979 * configure.in: Remove extraneous echo.
16980
16981 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16982
16983 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
16984 collision with unistd.h, and fix for svr4.
16985
16986 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
16987
16988 * libc/stdio/local.h (_llicvt): Declare.
16989 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
16990 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
16991 (_llicvt): Define.
16992 (_sicvt): Fix function header (`value' is short).
16993 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
16994 Add printing of long long's support.
16995 Add printing of 8 byte pointer support.
16996
16997 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
16998
16999 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
17000 stat, chmod): New hooks.
17001 (sbrk): Abort if stack and heap collide.
17002 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
17003 shortcut when given small args.
17004 * libc/machine/sh/setjmp.s: Rewritten.
17005 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
17006 of cmp/str instruction.
17007
17008 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17009
17010 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
17011 and machine_dir powerpc.
17012 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
17013 Add cases for __powerpc__.
17014 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
17015 New files.
17016
17017 * libc/include/stdio.h (_iprintf_r): Declare correctly.
17018
17019 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
17020
17021 * libc/stdlib/callocr.c: New file with _calloc_r in it.
17022 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
17023
17024 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
17025
17026 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
17027 (print_e): More comments to describe args, etc.
17028 "type" arg may now be 'g' or 'G' for %g/G format --> remove
17029 trailing blanks.
17030 (_gcvt): Remove locals decpt, sign, end, p, done.
17031 More comments for print_e invocation.
17032 Pass "type" to print_e as is (g/G).
17033
17034 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
17035
17036 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
17037 stock m68000.
17038
17039 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
17040
17041 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
17042 works with any sized pointer, including ones bigger than ints and
17043 longs.
17044
17045 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
17046
17047 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
17048
17049 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17050
17051 * libc/include/stdlib.h (_calloc_r): Add prototype.
17052 * libc/machine/h8500/negsi2.c: New file.
17053 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
17054 large unsigned numbers.
17055 * libc/machine/h8500/cmpsi.c: Add cmppsi.
17056 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
17057 works when sizeof(size_t) != sizeof(char *).
17058 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
17059 get play area
17060 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
17061
17062 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
17063
17064 * libc/include/assert.h (assert): Handle -traditional.
17065
17066 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
17067
17068 * Makefile.in: added ; after every "fi" and "done" that wasn't at
17069 the end of a line (ie. anything before a backslash continuation)
17070 so that bash handles them.
17071
17072 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17073
17074 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
17075 stat to lstat
17076
17077 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
17078
17079 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
17080 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
17081 libc/machine/sh/udivsi3.s: Use new calling convention.
17082
17083 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
17084
17085 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
17086 chmod, access, chdir, chown by making _path const. Also fix _amode
17087 param of access.
17088
17089 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
17090
17091 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
17092 _khif_tmpnam, because it doesn't comply with ANSI but may be
17093 useful anyway. Real tmpnam was already in libc/stdio, and was
17094 colliding with this one (pr 2176.)
17095 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
17096 the wrong idea anyhow.
17097
17098 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
17099
17100 * configure.in: Remove h8300h, we have multilib now.
17101
17102 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
17103
17104 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
17105 functions, to get preference over the ones in libiberty (since we
17106 provide correct declarations in <string.h>.
17107 * libc/string/Makefile.in: add support for strncasecmp,
17108 strcasecmp.
17109
17110 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
17111
17112 * Change netware config not to look for cpu explicitly.
17113
17114 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
17115
17116 * libc/sys/sparc64/{creat.c,junk.c}: New files.
17117 * libc/sys/sparc64/Makefile.in: Add dependencies.
17118
17119 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
17120
17121 * configure.in: Clean up v9 a bit, new "os" aoutv8.
17122
17123 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
17124
17125 * libc/include/sys/reent.h: make structure smaller by allocating
17126 some stuff when needed.
17127 * libc/signal/signal.c: allocate as needed
17128 * libc/stdio/findfp.c,stdio/local.h: ditto
17129 * libc/stdlib/mprec.c: ditto
17130
17131 * libc/time/localtime.c: don't return a dangling stack ptr.
17132
17133 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
17134
17135 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
17136
17137 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17138
17139 * libc/include/stdio.h (__sputc): comment out static inline which
17140 confuses coff toolchains.
17141
17142 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
17143
17144 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
17145 _write.s, getpid.c, kill.c, read.s}:
17146 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
17147 through the syscalls directory.
17148
17149 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
17150
17151 * configure.in: fixed double quote gotcha.
17152
17153 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
17154
17155 * stub/ex931: stub library for sparclite board.
17156 * stub/idp: Renamed from mc68ec. Added contructor table
17157 stuff to linker script.
17158 * stub/mvme135: Renamed from m68kmvme. Added contructor table
17159 stuff to linker script.
17160
17161 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17162
17163 * configure.in: Configure testsuites only if they exist.
17164
17165 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17166
17167 * configure.in: Don't set machine_dir for i386 until there is
17168 something in libc/machine/i386 to compile. For i[34]86-*-netware*
17169 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
17170 CLOCK_PROVIDED and MALLOC_PROVIDED.
17171
17172 * libc/sys/netware: New directory. Contains simplistic and
17173 probably incorrect stubs for NetWare. Should be enough to load
17174 the library.
17175 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
17176 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
17177 stub files.
17178
17179 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
17180 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
17181 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
17182 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
17183
17184 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
17185
17186 * testsuite/Makefile.in: add "docs" dummy target for consistency
17187 with rest of newlib; turn "info" and "install-info" into dummy
17188 targets, since they wouldn't have worked. (Depended on
17189 nonexistent "doc" subdir.)
17190
17191 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17192
17193 * configure.in: handle mips* instead of mips
17194
17195 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
17196
17197 * libc/include/sys/dirent.h: New file. If it is not overridden by
17198 a version of libc/sys/*/sys/dirent.h, it includes the next
17199 <dirent.h> file in case there is one lurking somewhere.
17200
17201 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17202
17203 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
17204 compliance, namely: Accept a minus sign. Consider a single 0 with
17205 a radix of 0 as being a conversion. Determine overflow correctly.
17206 If an overflow occurs, set *ptr to the end of the number, not the
17207 middle.
17208 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
17209
17210 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
17211
17212 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
17213
17214 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
17215
17216 * Makefile.in (INSTALL): Use $srcrootpre.
17217 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
17218 can't handle it.
17219 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
17220 it.
17221 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
17222 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
17223 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
17224 * libm/math/Makefile.in (matherr.o): Ditto.
17225
17226 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17227
17228 * configure.in: Build multidirs for z8k.
17229 * libc/include/stdlib.h (_strtoul_r): add prototype.
17230 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
17231 * libc/include/machine/setjmp.h: Add for z8k.
17232 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
17233 * libc/sys/z8ksim/glue.c: tidy up.
17234
17235 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
17236
17237 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
17238 New files. Requires execve system call.
17239 * libc/unix/Makefile.in: Use them.
17240 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
17241 Deleted, moved to libc/unix.
17242 * libc/sys/sparc64/Makefile.in: Remove them.
17243
17244 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
17245
17246 * libc/sys/sparc64/{template.S template_r.S}: New files.
17247 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
17248 from templates.
17249 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
17250 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
17251 umask.S unlink.S wait4.S write.S}: Removed, now built from
17252 templates.
17253
17254 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
17255
17256 * libc/time/time.c: #include <_ansi.h>.
17257
17258 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
17259
17260 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
17261
17262 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17263
17264 * configure.in: match m8* rather than m88k so that m88110 is
17265 recognized as well.
17266
17267 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
17268
17269 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
17270 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
17271 misc.c: New file.
17272
17273 * configure.in: Add multilib support to h8300.
17274
17275 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
17276
17277 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
17278 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
17279 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
17280
17281 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17282
17283 * configure.in: Corrected multidirs for sparc target.
17284
17285 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17286
17287 Support for building newlib multiple times with different
17288 compilation flags.
17289 * configure.in: Only configure doc at top level. Set multidirs
17290 when appropriate for target, unless not at top level. If
17291 multidirs is set, independently configure each subdirectory.
17292 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17293 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17294 automagically set by configure.in.
17295 (all): If MULTIDIRS is set, build multiple copies of libraries.
17296 (install): If MULTIDIRS is set, install multiple copies of
17297 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17298 MULTISUBDIR is set, don't bother to install header files.
17299 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17300 ${srcrootpre}.
17301 * stub/configure.in: Set MULTISUBDIR appropriately.
17302 * stub/Makefile.in (install): Install in
17303 $(tooldir)/lib/$(MULTISUBDIR).
17304 * All Makefile.in files: Define SRCTOP as well as TOP.
17305
17306 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17307
17308 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17309 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17310
17311 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17312
17313 * libc/sys/h8300hms/exit.c (_exit): New function.
17314
17315 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17316
17317 * configure.in: recognize m88110.
17318
17319 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17320
17321 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17322 prototype main and call with args.
17323
17324 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17325
17326 First real try at system traps for m88k-bug.
17327 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17328 to real trap calls.
17329 * libc/sys/m88kbug/sys/systraps.h: new file.
17330
17331 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17332
17333 Patches to fix info building when target does not use sys
17334 directory.
17335 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17336 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17337 libc/sys.tex.
17338 * libc/sys/Makefile.in (doc): do nothing.
17339
17340 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17341
17342 * libc/Makefile.in (CRT0): new macro.
17343 (all): depend on $(CRT0) rather than crt0.o.
17344
17345 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17346 do not default crt0, instead, set crt0 and crt0_dir based on
17347 sys_dir and stub_dir.
17348
17349 * Makefile.in (CRT0_DIR): new macro.
17350 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17351 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17352 $(CRT0).
17353 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17354
17355 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17356
17357 * testsuite/lib/libm.exp:
17358 added code to support compiling and linking of tests for
17359 libm.sac (paranoia to be added next) and processing the
17360 pass or failure of the tests.
17361
17362 * testsuite/config/unix-libm.exp:
17363 platform specific proc's for dealing with compiler, linker
17364 and the way we execute and process the test results.
17365
17366 * testsuite/libm.sac/execute.exp:
17367 generic framework for the sac tests. the config and lib
17368 expect code for specific platforms tie it all together.
17369
17370 * testsuite/libm.sac/test_is.c:
17371 changed the output of the test to be consistant with the
17372 other tests. parsing of pass nad fail messages is now fixed.
17373
17374 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
17375
17376 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
17377 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
17378 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
17379 #ifdef __cplusplus, surround by extern ""C { ... }.
17380 * libc/include/assert.h: Do *not* protect assert.h against
17381 multiple inclusion! Also, #undef it before #define, to allow
17382 redefinition.
17383 * libc/include/stdio.h (getlogin, cuserid): Removed. These
17384 should be only in unistd.h.
17385
17386 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
17387 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
17388 ... }.
17389
17390 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
17391
17392 * libc/machine/sparc/Makefile.in: Must create a library, even
17393 if empty.
17394
17395 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17396
17397 * configure.in: set machine_dir for m88k. edit crt0 definition
17398 into makefiles.
17399
17400 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
17401
17402 * libc/Makefile.in (all): also build crt0.o.
17403
17404 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
17405 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
17406 to remove CRT0.
17407
17408 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
17409 (all): reworked to build in place.
17410 (clean): remove lib.a
17411 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
17412
17413 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
17414 (_start): key off edata rather than _start_bss.
17415
17416 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
17417
17418 * libc/include/sys/unistd.h, libc/include/reent.h,
17419 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
17420
17421 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17422
17423 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
17424
17425 * Makefile.in (libc.a): break into two rules, one for libc.a and
17426 one for libc/libc.a. Force subdirs current before rebuilding
17427 library.
17428 (libm.a): break into two rules, one for libm.a and one for
17429 libm/libm.a. Force subdirs current before rebuilding library.
17430
17431 * libc/Makefile.in (SUBLIBS): fix typo.
17432
17433 * libc/sys/Makefile.in (all): force descent into subdirs, then
17434 rebuild library iff out of of date.
17435
17436 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17437
17438 Rework so that library is built and then finished rather than
17439 being built on each invocation of make.
17440
17441 * host/any (machine_dir, sys_dir, signal_dir): these are not
17442 shared and have been moved to their associated Makefile.in's.
17443 (AR_FLAGS): switch to qc which is faster.
17444 * configure.in: no longer assign machine_dir for m88k. set
17445 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
17446 stub_dir set, then add to configdirs. add comment about silly
17447 configuration.
17448 (configdirs): drop stub. It will be added only
17449 when needed.
17450 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
17451 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
17452 stub_lib, crt0): new variables for tailoring lower level
17453 makefiles. Assign accordingly and edit into makefiles.
17454 * libm/Makefile.in: updated copyright.
17455 (TARGETLIB): removed.
17456 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
17457 (SUBDIRS): removed TARGETDEP_DIRS.
17458 (LIBM_FP_LIB, SUBLIBS): new macros.
17459 (all): reworked.
17460 (force): new target to force rebuilds.
17461 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17462 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
17463 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
17464 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
17465 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
17466 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
17467 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
17468 stub/m68kmvme/Makefile.in: updated copyright.
17469 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
17470 (all): reworked. made this the default rule.
17471 (clean): also remove lib.a.
17472 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17473 * stub/Makefile.in: updated copyright.
17474 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
17475 (stub_lib): new macro.
17476 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
17477 RANLIB.
17478 (all): reworked.
17479 (clean, install): assume stub_dir exists.
17480 (Makefile): depend on configure.in. call $(SHELL) rather than
17481 sh. drop redundant ./
17482 * stub/configure.in (stublib): new macro, assign it, edit it into
17483 makefiles.
17484 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
17485 updated copyright.
17486 (all): reworked.
17487 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17488 * libc/Makefile.in (TARGETCRT0): removed.
17489 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
17490 TARGETCRT0.
17491 (SUBDIRS): drop TARGETDEP_DIRS.
17492 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
17493 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
17494 (force): new target to force rebuilds.
17495 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
17496 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
17497 removed.
17498 (clean): assume sys_dir always exists.
17499 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
17500 drop redundant ./
17501 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
17502 libc/locale/Makefile.in, libc/machine/Makefile.in,
17503 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
17504 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
17505 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
17506 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
17507 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
17508 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
17509 libc/signal/Makefile.in, libc/stdio/Makefile.in,
17510 libc/stdlib/Makefile.in, libc/string/Makefile.in,
17511 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
17512 libc/time/Makefile.in, libc/unix/Makefile.in,
17513 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
17514 (TARGETLIB): removed.
17515 (all): reworked.
17516 (clean): also remove lib.a.
17517 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17518 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
17519 new macros.
17520 (SUBDIRS): moved to follow frag inclusion, change stub to
17521 stub_dir.
17522 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
17523 are now set in the libc Makefile.
17524 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
17525 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
17526 TARGETCRT0.
17527 (force): new target to force rebuilds.
17528 * stub/configure.in: determine and set stub_lib for for Makefile.
17529
17530 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
17531
17532 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
17533 crt0.s renamed to crt0.S.
17534 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
17535
17536 * libc/machine/h8300/Makefile.in: Make `all' the default target.
17537 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
17538 h8300h.
17539 * libc/machine/h8300/defines.h: Add macros to handle pointers for
17540 h8300 (16 bits) and h8300h (32 bits).
17541 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
17542 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
17543
17544 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
17545
17546 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
17547 implementation of setjmp and longjmp for the m88k.
17548 * libc/include/machine/setjmp.h: Added __m88000__ case.
17549
17550 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
17551
17552 * configure.in: Recognize h8300h as variant of h8300.
17553
17554 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17555
17556 * libc/include/sys/unistd.h (read, write): get prototypes right.
17557 (sbrk): New prototype.
17558 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
17559 * libc/stdio/local.h: Include unistd.h.
17560 * libc/machine/h8300/syscalls.c: Names have changed.
17561
17562 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
17563
17564 * configure.in: add sys_dir assignment for m88k-bug.
17565
17566 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
17567
17568 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
17569 a.out or elf.
17570 * libc/sys/sparc64: all *.S files: Use new macros.
17571 * libc/sys/sparc64/isatty.c: New file.
17572 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
17573 functions beyond what newlib provides.
17574
17575 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
17576
17577 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
17578 svr4.
17579
17580 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
17581
17582 * libc/include/machine/ieeefp.h: Add support for h8/300h.
17583
17584 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
17585
17586 * configure.in: add m88k.
17587 * libc/include/machine/ieeefp.h: add case for m88k. Also add
17588 sanity check so no one else need ever chase what I did to find
17589 this.
17590
17591 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
17592
17593 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
17594
17595 * doc/makedoc.c: Include <ctype.h>.
17596
17597 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
17598
17599 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17600 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17601 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17602
17603 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
17604
17605 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
17606
17607 * libc/include/errno.h (ENOSYS): Added.
17608
17609 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
17610
17611 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17612
17613 * libc/stdio/fflush.c (fflush): Check for reent struct
17614 initialization.
17615 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
17616
17617 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
17618
17619 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
17620 out of dtoa.c so it doesn't pollute the namespace.
17621 * libc/include/_syslist.h: new file -- mappings from _function to
17622 function, for systems where we can't win (by default, all of them,
17623 until we start updating system calls.)
17624 * libc/syscalls: new directory -- stubs for exporting _function
17625 names as unmodified function names.
17626 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
17627 _syslist.h on all platforms by default, but put hooks in for
17628 fake_sys_dir so we can include it when we've renamed the system
17629 calls.
17630 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
17631 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
17632 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
17633 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
17634 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
17635 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
17636 non ANSI functions to call _function.
17637
17638 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
17639
17640 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
17641 when base 16 is specified. Don't accept non-digits if radix > 10.
17642
17643 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
17644
17645 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
17646
17647 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17648
17649 * libc/include/sys/stat.h: Surround text after #endif with
17650 comments.
17651
17652 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
17653
17654 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
17655 _malloc_r, _realloc_r, and free_r call the corresponding
17656 non-reentrant functions.
17657
17658 * libm/math/modf.c (modf): We now take the address of ipart, so
17659 don't make it a register variable.
17660
17661 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
17662
17663 * libm/math/*: Rename all xxx_r fns to _xxx_r.
17664
17665 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
17666
17667 * libc/libc.texinfo and embedded docn throughout: formatting
17668 improvements, minor rephrasing for clarity, and improved
17669 reentrancy docn.
17670
17671 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17672
17673 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17674
17675 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17676 where sizeof(int) != sizeof(long).
17677
17678 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17679
17680 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17681 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17682 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17683 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17684 libm/math/matherr.c: changes for better docn formatting (info).
17685
17686 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17687 libc/reent/reent.tex, libc/signal/signal.tex,
17688 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17689 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17690 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17691 makeinfo node defaulting to get better Info file node structure.
17692 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17693 Also include a few formerly missing sections (subroutines).
17694
17695 * doc/doc.str: delete fossil expansion for "func"
17696
17697 * default.menu, no-signal.menu: delete.
17698
17699 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17700 method used to adjust doc for missing "signals" chapter when
17701 signal_dir is empty.
17702
17703 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17704
17705 * configure.in: added testsuite/libm.sac
17706
17707 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17708
17709 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17710 code model).
17711
17712 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17713
17714 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17715 MAKEOVERRIDES to be empty.
17716
17717 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17718
17719 * configure.in: Don't build mips-*-* with -msoft-float, since that
17720 makes it incompatible with hard floating point.
17721
17722 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17723
17724 * Makefile.in: added recursive 'make check'
17725
17726 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17727
17728 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17729 * ./testsuite/Makefile.in: created
17730 * ./testsuite/libm.paranoia: paranoia tests added
17731
17732 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17733
17734 * configure.in: For mips-*-* set machine_dir to mips.
17735
17736 * libc/machine/mips: New directory.
17737 * libc/machine/mips/Makefile.in: New file.
17738 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17739 setjmp and longjmp.
17740 * libc/include/machine/setjmp.h: Added __mips__ case.
17741
17742 * libc/machine/lmips: Removed unused and useless directory.
17743
17744 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17745
17746 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17747
17748 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17749
17750 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17751 start up).
17752
17753 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17754
17755 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17756 SETJMP_H.
17757
17758 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17759
17760 * libm/test/convert.c: structure member errno -> errno_val.
17761 Must include <errno.h> to use errno, it's a macro now.
17762 * libm/test/math.c: Ditto.
17763 * libm/test/math2.c: Include errno.h.
17764 * libm/test/string.c: Ditto.
17765 * libm/test/test.h: structure member errno -> errno_val.
17766 Remove extern int errno decl.
17767
17768 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17769
17770 * libc/stdio/Makefile.in: Added dependencies on local header
17771 files.
17772 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17773 files.
17774
17775 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17776
17777 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17778
17779 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17780
17781 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17782 Initialize _data.
17783
17784 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17785 * libc/stdio/local.h: Add prototype for _licvt.
17786
17787 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17788 instead of malloc,reealloc.
17789
17790 * libc/stdlib/local.h: New file.
17791 * libc/stdlib/efgcvt.c: #include local.h.
17792 (gcvt): Fix call to _gcvt.
17793 * libc/stdlib/ecvtbuf.c: #include local.h.
17794
17795 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17796 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17797 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17798
17799 * libc/stdlib/atexit.c: moved global data to struct _reent.
17800 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17801
17802 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17803
17804 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17805
17806 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17807 here from ../reent.h.
17808
17809 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17810
17811 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17812 should be provided in both libc.a and libm.a.
17813 (libc.a): Depend on targ-include and libm.a. Copy
17814 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17815 (libm.a): Depend on targ-include.
17816 * configure.in (subdirs): Removed libc/math.
17817
17818 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17819
17820 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17821
17822 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17823
17824 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17825 sys/reent.h instead of reent.h.
17826 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17827 headers moved to sys/reent.h.
17828 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17829 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17830 __need__MAX_SIGNALS defined.
17831 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17832 std{in,out,err} refer to new _std{in,out,err} members.
17833
17834 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17835
17836 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17837 case.
17838
17839 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17840
17841 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17842 rather than whatever macro seterrno() has.
17843
17844 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17845
17846 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17847 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17848
17849 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17850 __STDC__.
17851
17852 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17853 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17854 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17855
17856 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17857 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17858
17859 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17860 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17861 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17862 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17863 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17864 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17865 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17866 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17867 for ANSI. structure members given leading "_" for ANSI. Use
17868 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17869
17870 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17871 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17872 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17873 reent_struct renamed to struct _reent for ANSI.
17874 Structure members given leading "_" for ANSI.
17875 _CONST --> const in prototypes.
17876 Use _HAVE_STDC instead of __STDC__.
17877
17878 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17879 _xxx_r.
17880 struct reent_struct renamed to struct _reent for ANSI.
17881 Structure members given leading "_" for ANSI.
17882
17883 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17884 _xxx_r.
17885 struct reent_struct renamed to struct _reent for ANSI.
17886
17887 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17888 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17889 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17890 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17891 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17892
17893 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17894 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17895 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17896 #ifndef _STRICT_ANSI non-ANSI routines.
17897 Reentrant routines renamed from _r_xxx to _xxx_r.
17898 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17899 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17900 Clean up namespace (structure members have leading "_").
17901 struct reent_struct renamed to struct _reent for ANSI compliance.
17902 _CONST --> const in function prototypes.
17903
17904 * libc/include/string.h: Add NULL and size_t.
17905
17906 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17907 unlink, wait, wait4. Reentrant syscall routines close, fork,
17908 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17909 write.
17910 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17911 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17912 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17913 write.S}: Define reentrant versions.
17914 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17915 reentrant syscalls.
17916
17917 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17918
17919 * libc/include/stdlib.h (RAND_MAX): Fix value.
17920
17921 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17922
17923 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17924 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17925 VPATH support targets after all: target.
17926
17927 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17928 exceptionHandler, which is what mvme135-stub.c expects.
17929
17930 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
17931
17932 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
17933
17934 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
17935 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
17936 compliant).
17937
17938 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
17939
17940 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
17941 first.
17942 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
17943 _r_write): Ditto.
17944 libc/reent/fstatr.c (_r_fstat): Ditto.
17945 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
17946 libc/reent/sbrkr.c (_r_sbrk): Ditto.
17947 libc/reent/statr.c (_r_stat): Ditto.
17948
17949 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
17950 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
17951 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
17952 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
17953 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
17954 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
17955 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
17956 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
17957 (__swrite): Ditto for _r_lseek, _r_write.
17958 (__sseek): Ditto for _r_lseek.
17959 (__close): Ditto for _r_close.
17960 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
17961
17962 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
17963 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17964
17965 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17966 to make reent_struct the first argument (and thus consistent with
17967 the rest of newlib).
17968
17969 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17970 reference to __STDC__.
17971
17972 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17973
17974 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
17975 global __cleanup.
17976
17977 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17978
17979 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17980 first.
17981 libc/stdio/fclose.c (fclose): Ditto.
17982
17983 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
17984
17985 * Run through indent and rename reentrant routines for ANSI.
17986 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
17987 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
17988 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
17989 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
17990 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
17991 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
17992 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
17993 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
17994 vsprintf.c wbuf.c wsetup.c local.h}
17995
17996 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
17997
17998 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
17999 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
18000 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
18001 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
18002 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
18003 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
18004
18005 * Run through indent.
18006 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
18007 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
18008 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
18009 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
18010 strxfrm.c}
18011
18012 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
18013 localtime.c mktime.c strftime.c time.c}:
18014 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
18015
18016 * Reformatting + renaming (for ANSI, GNU style, consistency).
18017 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
18018 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
18019 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
18020
18021 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
18022
18023 * libc/include/stdio.h (stdin_r): Fix.
18024
18025 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
18026
18027 * Makefile.in: Unexport some variables to keep GNU make from
18028 putting them in the environment and using up needed ARG_MAX space
18029 (a hack is used to let this work with older makes as well).
18030
18031 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
18032
18033 * Makefile.in: Use $(MAKE) rather than make.
18034 (MAKEOVERRIDES): Define to be empty.
18035 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18036 (libc.a, libm.a): Depend on targ-include.
18037 * host/any (LD): Don't define.
18038 (INCLUDES): Use targ-include.
18039 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
18040 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18041 * libc/Makefile.in: Use $(MAKE) rather than make.
18042 (MAKEOVERRIDES): Define to be empty.
18043 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18044 (all): Rewrote to be slightly smaller.
18045 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
18046 Define to be empty.
18047 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18048 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
18049
18050 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
18051
18052 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
18053 with errno/errno.c.
18054
18055 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
18056
18057 * Changes for reentrancy.
18058 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
18059 Use ptr->_errno, not errno.
18060 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
18061 libc/stdio/remove.c (remove_r): New function.
18062 libc/stdio/rename.c (rename_r): New function.
18063 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18064 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
18065 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
18066 reentrant versions of system calls.
18067 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
18068 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
18069 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
18070 libc/stdio/findfp.c: Include <string.h>.
18071 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
18072 "local.h".
18073 libc/stdio/wbuf.c: Include "fvwrite.h"
18074
18075 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
18076 <string.h>.
18077 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
18078 (NULL): Don't define if already defined.
18079 libc/stdlib/system.c: Call reentrant versions of system calls.
18080 (system_r): New function.
18081
18082 * Changes for reentrancy.
18083 libc/include/_ansi.h (_PARAMS): New macro.
18084 libc/include/errno.h: Define errno as a macro that calls __errno.
18085 (__errno_r): New macro for reentrant code.
18086 libc/include/math.h: Include reent.h. Declare many reentrant
18087 functions.
18088 (signgam): Now a macro, not a variable.
18089 (struct exception): Added err field.
18090 libc/include/reent.h: Don't declare __sglue. Added function
18091 declarations.
18092 (struct reent_struct): Moved errno to beginning. Added _signgam.
18093 libc/include/stdio.h, libc/include/stdlib.h: Added function
18094 declarations.
18095
18096 * More reentrancy hacking.
18097 libc/errno/errno.c (__errno): New function.
18098 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
18099 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
18100 files.
18101
18102 * Added many new reentrant functions to libm/math/*.
18103 libm/math/error.c (__matherror): Added reent_struct pointer
18104 argument. Changed all callers.
18105 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
18106 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
18107 libm/math/tan.h: Removed obsolete unused header files.
18108
18109 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
18110
18111 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
18112
18113 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18114
18115 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
18116 delay slots.
18117
18118 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18119
18120 * libc/libc.texinfo: comment out reentrancy chapter (duh)
18121
18122 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18123
18124 * libc/reent/reent.tex: New file. (text from
18125 newlib/libc/libc.texinfo)
18126 * libc/stdio/tmpnam.c: fixed doc typo
18127 * libc/stdlib/rand.c: fixed doc typo
18128
18129 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18130
18131 * libc/reent/reent.tex: New file. (text from
18132 newlib/libc/libc.texinfo)
18133
18134 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18135
18136 support for reentrancy
18137 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
18138 new files
18139 * libc/errno/errno.c, libc/include/ieeefp.h,
18140 libc/include/locale.h, libc/include/reent.h,
18141 libc/include/signal.h, libc/include/stdio.h,
18142 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
18143 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
18144 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
18145 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
18146 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18147 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
18148 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
18149 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
18150 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
18151 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
18152 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
18153 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
18154 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
18155 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
18156 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
18157 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
18158 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
18159 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
18160 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
18161 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
18162 libc/time/strftime.c: modify to provide reentracy.
18163
18164 new routines:
18165 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
18166 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
18167 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
18168 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
18169 mstats_r, realloc_r, localeconv_r, setlocale_r
18170
18171 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
18172
18173 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
18174 libc/include/sys/config.h, libc/include/sys/signal.h,
18175 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
18176 provided macros (such as m68000), use the ansi version
18177 (__m68000__) so that the library can be used with code compiled
18178 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
18179 and sparc.
18180
18181 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
18182
18183 * configure.in (sparc*): Don't set -fsoft-float for sparc
18184 configurations. Do set -fsoft-float for sparclite configurations.
18185
18186 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
18187
18188 * default.menu, no-signal.menu: alternate forms of libc main menu
18189 (in newlib rather than newlib/libc due to configuration restrictions)
18190
18191 * configure.in: select one of the two menus above, link to
18192 libc.menu
18193
18194 * libc/libc.texinfo: include menu from separate file
18195
18196 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
18197
18198 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
18199 (info): Split long shell command in half.
18200 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
18201 sub-makes, just CHEW and TARGETDOC.
18202 (targetdep.tex): Removed now special handling of sys and machine
18203 subdirectories, made obsolete some time ago.
18204 * libc/machine/Makefile.in (doc): Don't pass everything to
18205 sub-make, just CHEW and TARGETDOC.
18206 (Makefile): New target.
18207 * libc/sys/Makefile.in (Makefile): New target.
18208
18209 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
18210
18211 * Makefile.in (here and most subdirectories): Only pass down CHEW
18212 and TARGETDOC when making info, not for other targets.
18213
18214 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
18215 $(AR_FLAGS) rather than $(ARUPDATE).
18216
18217 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
18218
18219 * Try to reduce command line length:
18220 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
18221 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
18222 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
18223 (info): Pass CHEW to other subdirs.
18224
18225 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
18226
18227 * configure.in: add signal_dir, like unix_dir, but by default it
18228 is set to "signal" so that a29khif can turn it off (since a29khif
18229 has raise() as part of machine-specific signal.s.)
18230
18231 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18232
18233 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
18234 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
18235 correctly.
18236 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
18237 libc/stdio/vfprintf: type lint.
18238 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
18239 initialzation code.
18240 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
18241
18242 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
18243
18244 * stub/mvme135/mvme135-asm.S: new file.
18245 stub/mvme135mvme135-stub.c: moved all assembler routines into
18246 mvme135-asm.S.
18247 stub/mvme135/Makefile.in: build mvme135-stub.o.
18248
18249 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
18250
18251 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
18252 sub-Makefiles instead, to try to avoid line length limitations.
18253
18254 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
18255
18256 * libc/include/unistd.h (read, write): Use void* instead of
18257 char*.
18258
18259 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
18260
18261 * stub/go32/resetpc: sample script to send a reset packet to the
18262 stub
18263
18264 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
18265 DOS environment, which compiles with Turbo C.
18266
18267 * stub/go32/DSER32.LNK: new file, linker commands for serial
18268 remote stub.
18269
18270 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
18271 start up message to identify version; call set_debug_traps.
18272
18273 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
18274 keyboard interaction); call handle_exception() in go_til_stop,
18275 rather than return, so that the remote stub gets control.
18276
18277 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
18278 rename, rather than mv), set flags that work with current Turbo C,
18279 including using the /3 flag; also, add commands to build dser32.
18280
18281 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18282 default Turbo C installation (\tc rather than \usr)
18283
18284 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
18285 "&..."
18286
18287 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18288
18289 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18290
18291 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18292
18293 * libc/stdio/cvt.c (licvt): new function to convert ints when
18294 sizeof(int) != sizeof(long).
18295
18296 * libc/include/stdio.h: added prototype for iprintf.
18297 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18298
18299 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18300
18301 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18302 __REGISTER_PREFIX__.
18303
18304 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18305
18306 * libc/sys/m68kbare: moved into stub directory.
18307
18308 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18309
18310 * configure.in, Makefile.in: created new directory stub, to hold
18311 sample code for specific targets.
18312
18313 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18314
18315 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18316 in the unified libc/include/sys/fcntl.h.
18317
18318 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18319
18320 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18321 printed .01, not 0.01.
18322
18323 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18324
18325 * configure.in: compile with -m68000 for m68* targets.
18326
18327 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18328
18329 * libm/math/remainder.c (remainder): document the svr4 and sunos
18330 references used to construct the function.
18331
18332 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18333
18334 * libm/math/remainder.c (rint, remainder): fix old typos.
18335 * libm/math/Makefile.in: actually build remainder.c (functions
18336 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18337 page.)
18338
18339 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18340
18341 * libc/string/bcopy.c: BSD version works on overlapping strings,
18342 so ours should too.
18343
18344 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18345 ("SHELL").
18346
18347 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18348
18349 * Makefile.in (docs): new target.
18350
18351 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18352
18353 * libc/include/sys/times.h: define clock_t as required by POSIX.
18354 libc/include/time.h: protect clock_t from multiple definitions.
18355
18356 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18357
18358 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18359 does not need more than the original three iterations to get
18360 within 1 ulp. (Paranoia tests for rounding to better than that,
18361 but further iterations *don't* help, only more subtle changes
18362 can.)
18363
18364 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
18365
18366 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
18367 were doing nothing useful.
18368
18369 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
18370
18371 * configure.in: define MALLOC_PROVIDED for vxworks targets;
18372 removed sys_dir settings of vxworks68 and vxworks960.
18373 host/any: don't pass -nostdinc to gcc, since newlib no longer
18374 provides all required header files.
18375
18376 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
18377 is not defined; this provides a hook for VxWorks.
18378
18379 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18380
18381 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
18382 buffer if buf is NULL, don't do it here -- it is already being
18383 done by makebuf elsewhere in stdio.
18384
18385 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
18386
18387 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
18388 that C programs can call functions without using initial
18389 underscores.
18390
18391 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
18392
18393 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
18394
18395 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
18396
18397 * configure.in: set TARGET_CFLAGS for certain CPU types to
18398 -msoft-float.
18399
18400 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18401
18402 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
18403
18404 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
18405
18406 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
18407 m68k*-unknown-coff.
18408
18409 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
18410
18411 * libc/include/stdio.h: define __need___va_list before including
18412 <stdarg.h>, to avoid defining va_arg, et. al.
18413
18414 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
18415
18416 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
18417 (don't cd to the user's home directory).
18418
18419 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
18420 In general this is the wrong thing to do, but I can't get around
18421 GNU make's insistence on passing command line arguments any other
18422 way.
18423
18424 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
18425
18426 * configure.in: always configure the libc/sys directory, since it
18427 now provides a required documentation file.
18428
18429 * Makefile.in: replaced all instances of $(MAKE) with make. In
18430 general this is the wrong thing to do, but I can't get around GNU
18431 make's insistence on passing command line arguments any other way.
18432
18433 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
18434
18435 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
18436 terminated.
18437
18438 * libc/stdio/local.h: include <stdarg.h> to define va_list.
18439 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
18440
18441 * libc/include/float.h, libc/include/stdarg.h,
18442 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
18443 versions instead.
18444 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
18445 <stdarg.h>, not from <machine/types.h>. Protect definition of
18446 NULL.
18447 libc/include/time.h: get size_t from stddef.h. Protect definition
18448 of NULL.
18449 libc/include/machine/limits.h: override gcc <limits.h> by defining
18450 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
18451 get correct INT_MIN and LONG_LONG values.
18452 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
18453 size_t or va_list at all; they're now gotten from stddef.h
18454 instead.
18455 libc/include/machine/varargs.h: removed; use gcc version instead.
18456 libc/include/sys/types.h: explicitly include <machine/types.h>.
18457
18458 * libm/math/sqrt.h: using the fp-bit routines appears to require
18459 more iterations.
18460
18461 * Makefile.in, host/any: let system include files override machine
18462 include files.
18463
18464 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18465
18466 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
18467 override _*_T_ definitions defaulted here.
18468
18469 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
18470
18471 * Makefile.in (install): install the include files in
18472 $(tooldir)/include, not $(exec_prefix)/include.
18473
18474 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
18475
18476 * Makefile.in (install): fixed typo, and changed install to not
18477 force rebuild of libc.a and libm.a.
18478
18479 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
18480
18481 * libc/sys/a29khif/*: Changed all .include's to include
18482 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
18483 that they will be installed for the user.
18484
18485 * Makefile.in (all): create targ-include, a directory holding the
18486 machine and system specific header files during the build.
18487 (install): fixed installation of machine and system specific
18488 header files.
18489
18490 * Makefile.in: fixed comment.
18491 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
18492 we can pass $(INCLUDES) to it.
18493
18494 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
18495
18496 * libc/include/sys/param.h: new generic file, which may be
18497 overridden for specific systems.
18498
18499 * libc/include/sys/signal.h: define all ANSI signal names, and
18500 NSIG (which is not ANSI) for a29k.
18501
18502 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
18503
18504 * Makefile.in: don't pass down arguments the lower level makes
18505 will not need.
18506 * libc/Makefile.in: recurse directly, rather than using subdir_do,
18507 in hopes of avoiding argument length limits.
18508 * libm/Makefile.in: recurse directly, rather using subdir_do, in
18509 hopes of avoiding argument length limits.
18510
18511 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
18512
18513 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
18514 mode_t is defined.
18515
18516 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
18517
18518 * Fixed make info and make install-info for newlib, changing most
18519 Makefile.in and several *.tex files. Moved doc directory from
18520 libc to top level.
18521
18522 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
18523 Should be rewritten.
18524
18525 * libc/string/strings.tex: renamed node index to node index
18526 function, so that it does not conflict with the top level index
18527 node.
18528
18529 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
18530
18531 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
18532
18533 * Overhauled general configuration for newlib. Eliminated all
18534 target dependent Makefile fragments. Create libraries in newlib
18535 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
18536 than CROSS_CC, et. al. Broke make docs; will fix later.
18537
18538 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
18539 Should be rewritten.
18540
18541 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
18542
18543 * libc/configure.in: cleaned up somewhat; switch on ${target}
18544 rather than ${target_alias}.
18545 * libm/configure.in: cleaned up somewhat; switch on ${target}
18546 rather than ${target_alias}.
18547
18548 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
18549 * libc/include/ctype.h: marked _ctype_ as _CONST.
18550
18551 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
18552 _CONST.
18553
18554 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
18555 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
18556 libc/stdio/gets.c (gets): removed non-ANSI warning message.
18557 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
18558
18559 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
18560 bigtens, tinytens): marked arrays _CONST.
18561 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
18562 rather than a static variable.
18563
18564 * libc/time/asctime.c (asctime), libc/time/localtime.c
18565 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
18566 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
18567 mname_len, mname): Marked static arrays _CONST.
18568
18569 * libm/math/gamma.h: made local variables non-static.
18570
18571 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
18572 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
18573 _CONST.
18574
18575 * libm/math/constants.c: removed file, because the constants it
18576 defined were never referenced.
18577 libm/math/Makefile.in: removed references to constants.c.
18578 libm/math/mathimpl.h: removed declarations of constants.
18579
18580 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
18581
18582 * libc/include/machine/varargs.h: only call __builtin_saveregs if
18583 it is sensibly defined in libgcc2. Checks preprocessor defines,
18584 which is not a good solution.
18585
18586 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
18587
18588 * libm/frexp.c: handle denormalized numbers as arguments.
18589
18590 * libm/math/Makefile.in: added some dependencies for .c files
18591 which include local .h files.
18592
18593 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
18594
18595 * libc/configure.in: set target_alias for OSE*. Replace
18596 target_makefile_frag if it is blank.
18597
18598 * libc/Makefile.in: make sure everything is passed to subsidiary
18599 makes; create all directories when installing.
18600
18601 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
18602 CROSS_ARUPDATE instead of AR.
18603
18604 * libm/configure.in: set target_alias for OSE*. Replace
18605 target_makefile_frag if it is blank.
18606
18607 * libm/Makefile.in: make sure everything is passed to subsidiary
18608 makes; create all directories when installing.
18609
18610 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
18611
18612 * add following change from libc copy.
18613
18614 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18615
18616 * libc/libc.texinfo: make copyright disclaimers appear on back of
18617 title page; make format of same slightly less ugly; avoid using
18618 underbars in section headings (avoids nasty texinfo bug in table
18619 of contents).
18620
18621 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
18622 comments only) avoid using underbars in section headings
18623
18624 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18625 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
18626 changes in comments only): shorten headings ieeefp/infinity.c,
18627 ieeefp/isnan.c: (doc, comments only) more informative headings
18628
18629 * libc/math/bessel.c: (doc, comments only) shorten heading
18630
18631 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
18632 (doc, comments only) shorten headings
18633
18634 * libc/time/localtime.c (doc, comments only): shorten headings
18635
18636 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18637 isnan
18638 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
18639 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
18640 headings
18641 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
18642 only) more informative headings
18643 * libm/math/bessel.c: (doc, comments only) shorten heading
18644
18645 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18646
18647 * .../Makefile.in: use CROSS_ARUPDATE consistently.
18648 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
18649 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
18650 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
18651 defined, the one from the .mt file will be correct.
18652 * libc/include/machine, libc/include/sys: created, and populated
18653 with common files from machine/*/machine. ifdefs were used for
18654 most, typically by handling exceptions first and then filling in
18655 defaults. Files with D.J. Delorie copyright #included rather than
18656 copied. Most files in include/sys really were the same in the
18657 original.
18658 * libc/include/...: cleaned up use of _EXFUN.
18659 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
18660 it with double quotes, not angles.
18661
18662 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
18663
18664 * libc/Makefile.in: always create installation directories.
18665
18666 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18667
18668 * libc/configure.in: handle host properly (using canonical
18669 triples), better error message for the case of target not found
18670
18671 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18672
18673 * libc/Makefile.in (insincdir): Ensure this directory exists
18674 before attempting installation.
18675
18676 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18677
18678 * libc/stdlib/assert.c: now calls abort like it should
18679 * libc/sys/a29khif: many many patches for 29khif work
18680 * libc/machine/i386: gnulib2 expanded there.
18681
18682 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18683
18684 Added accurate fp conversion routines to stdlib, moved dcvt from
18685 stdio to stdlib and called it ecvtbuf:
18686 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18687 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18688 routines
18689 * libc/libc.texinfo: Modifed to include the copyright info from
18690 the mprec files
18691 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18692 * libc/test/ : many vector which tested for the implementation
18693 defined returns of strange conversion requests have been updated
18694 to relflect the new implementation
18695
18696 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18697
18698 * libc/libc.texinfo: new chapter on variable arg lists
18699 (stdarg.h/varargs.h)
18700 * libc/libc.texinfo: new title
18701 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18702 (doc only) shorter headings for better formatting.
18703
18704 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18705
18706 * libc/libc.texinfo: three more info menu entries
18707 * libc/locale/locale.tex: new chapter
18708 * libc/locale/locale.c: new doc for setlocale, localeconv
18709 * libc/locale/Makefile.in: use new locale doc
18710 * libc/signal/signal.tex: new chapter
18711 * libc/signal/raise.c, libc/signal/signal.c: new doc
18712 * libc/signal/Makefile.in: use new doc
18713 * libc/time/time.tex: new chapter
18714 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18715 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18716 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18717 * libc/time/Makefile.in: use new doc
18718
18719 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18720
18721 * libm/math/log1p.c: split to use the new function way of float
18722 function definition. math/log1p.h deleted
18723 * libm/math/scalb.c: obsolete and deleted
18724 * libm/math/scalbn.c: created from part log1p.c
18725 * libm/math/Makefile.in: know about log1p and scalbn
18726
18727 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18728
18729 * libc/ctype/isupper.c: revise doc;
18730 libc/ctype/ctype.tex: use doc from isupper.c
18731
18732 * libc/string/bzero.c: new doc
18733
18734 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18735
18736 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18737 new doc
18738 * libc/stdlib/Makefile.in: extract new doc
18739 * libc/stdlib/stdlib.tex: use new doc
18740
18741 * libc/string/strerror.c: expanded doc.
18742
18743 * libc/stdio/Makefile.in: extract doc from more files
18744 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18745 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18746 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18747 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18748 libc/stdio/vsprintf.c: new doc
18749 * libc/stdio/stdio.tex: use new doc
18750
18751 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18752
18753 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18754 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18755 finitef functions.
18756 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18757 time ago.
18758
18759 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18760 * libc/stdio/setbuf.c: added ansi style definition.
18761 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18762 buffer if none provided.
18763 * libc/stdio/tmpfile.c: lint
18764 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18765 rather than using static, also make sure file isn't already
18766 present. Uses P_tmpdir. (tempnam): rewritten to use new
18767 subroutine, and uses P_tmpdir.
18768 * libc/stdio/siprintf.c: created
18769
18770 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18771
18772 Release 1.03 for NEC, major mods. Main differences from release
18773 1.02::
18774
18775 More tests in test/:
18776 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18777 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18778 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18779 get/set mask, get/set sticky and get/set roundtoi. Tests
18780 that setting the bits changes the way arithmetic is done.
18781 * string.c: added test to make sure memcmp does it with unsigned
18782 chars.
18783 * test.c: cleaned up and removed lint.
18784 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18785 dvec.c: tests for string to value conversions, sprintf, scanf,
18786 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18787 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18788 rounding in sprintf too.
18789 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18790 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18791 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18792 and function form.
18793 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18794 powf
18795
18796 In the library:
18797 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18798 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18799 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18800 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18801 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18802 than sprintf.
18803 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
18804 * Method of producting float versions of double functions has
18805 changed, functions will be modified gradually. So far:
18806 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18807 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18808 altered
18809 * libc/string/memcmp.c: now uses unsigned chars
18810 * libc/string/bcmp.c, libc/string/strcpy.c,
18811 libc/stsring/strxfrm.c: fixed doc
18812 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18813 \f
18814 Local Variables:
18815 version-control: never
18816 End:
This page took 0.818184 seconds and 6 git commands to generate.