]> sourceware.org Git - newlib-cygwin.git/blob - newlib/ChangeLog
Obey POSIX on printf("%.s", (char*)NULL).
[newlib-cygwin.git] / newlib / ChangeLog
1 2007-09-17 Eric Blake <ebb9@byu.net>
2
3 Obey POSIX on printf("%.s", (char*)NULL).
4 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
5 for %s on NULL. Skip NULL check when optimizing for size.
6
7 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
8
9 * libc/include/sys/_types.h: Protect all types with flag
10 checks to allow definition in machine/_types.h.
11
12 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
13
14 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
15 definitions in light of the previous change.
16
17 2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
18
19 * libc/include/machine/_default_types.h: New file, contains what
20 was previously in libc/include/machine/_types.h.
21 * libc/include/machine/_types.h: Now only includes
22 machine/_default_types.h.
23 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
24 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
25 with conditional declarations.
26 * libc/machine/spu/machine/_types.h: New file, add SPU specific
27 typedefs for _fpos_t and _fpos64_t.
28
29 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
30
31 * libc/include/math.h (_M_LOG2E): Replace with..
32 (_M_LOG2_E): New macro.
33 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
34
35 2007-09-06 Brian Dessent <brian@dessent.net>
36
37 * libc/reent/getreent.c: Allow for case where __getreent is
38 defined as a macro.
39
40 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
41
42 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
43 (log2): Use _M_LOG2E instead of M_LOG2E.
44 (log2f): Ditto.
45 (M_LOG2E): Define to be _M_LOG2E.
46
47 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
48
49 * libm/math/wf_tgamma.c: Add missing include.
50
51 2007-08-31 Antony King <antony.king@st.com>
52
53 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
54 bits and redefine associated dword0 macro (rvalue issue).
55 * libc/stdio/vfieeefp.h: Ditto.
56 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
57 to prevent setting dword1 which is an rvalue only.
58
59 2007-08-28 Hans Kester <hans.kester@ellips.nl>
60
61 * configure.host: Added support for x86_64.
62 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
63 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
64 * libc/machine/x86_64/aclocal.m4: Generated.
65 * libc/machine/x86_64/configure.in: New.
66 * libc/machine/x86_64/configure: Generated.
67 * libc/machine/x86_64/Makefile.am: New.
68 * libc/machine/x86_64/Makefile.in: Generated.
69 * libc/machine/x86_64/setjmp.S: New.
70 * libc/machine/x86_64/memcpy.S: New.
71 * libc/machine/x86_64/memset.S: New.
72 * libc/machine/configure.in: Added support for x86_64.
73 * libc/machine/configure: Regenerated.
74
75 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
76
77 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
78 to int before comparing it to a signed int value.
79
80 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
81
82 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
83 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
84 Define.
85
86 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
87
88 Reduce the memory consumption of variable argument functions
89 for SPU (cell):
90 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
91 to assembler sources.
92 * libc/machine/spu/Makefile.in: Regenerated.
93 * libc/machine/spu/stdio.c: Add __check_init function wrapping
94 CHECK_INIT macro to use from assembler routines.
95 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
96 * libc/machine/spu/fiprintf.S: New file.
97 * libc/machine/spu/fiscanf.S: Ditto.
98 * libc/machine/spu/fprintf.S: Ditto.
99 * libc/machine/spu/fscanf.S: Ditto.
100 * libc/machine/spu/iprintf.S: Ditto.
101 * libc/machine/spu/iscanf.S: Ditto.
102 * libc/machine/spu/printf.S: Ditto.
103 * libc/machine/spu/scanf.S: Ditto.
104 * libc/machine/spu/siprintf.S: Ditto.
105 * libc/machine/spu/siscanf.S: Ditto.
106 * libc/machine/spu/sniprintf.S: Ditto.
107 * libc/machine/spu/snprintf.S: Ditto.
108 * libc/machine/spu/sprintf.S: Ditto.
109 * libc/machine/spu/sscanf.S: Ditto.
110 * libc/machine/spu/stack_reg_va.S: Ditto.
111 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
112 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
113 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
114 * libc/machine/spu/fiscanf.c: Ditto.
115 * libc/machine/spu/fprintf.c: Ditto.
116 * libc/machine/spu/fscanf.c: Ditto.
117 * libc/machine/spu/iprintf.c: Ditto.
118 * libc/machine/spu/iscanf.c: Ditto.
119 * libc/machine/spu/printf.c: Ditto.
120 * libc/machine/spu/scanf.c: Ditto.
121 * libc/machine/spu/siprintf.c: Ditto.
122 * libc/machine/spu/siscanf.c: Ditto.
123 * libc/machine/spu/sniprintf.c: Ditto.
124 * libc/machine/spu/snprintf.c: Ditto.
125 * libc/machine/spu/sprintf.c: Ditto.
126 * libc/machine/spu/sscanf.c: Ditto.
127
128 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
129
130 * libc/include/tar.h: New.
131
132 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
133
134 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
135 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
136 * libc/sys/linux/intl/Makefile.in: Regenerated.
137 * libc/sys/linux/intl/stpcpy.c: Renamed to...
138 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
139
140 2007-08-02 Eric Blake <ebb9@byu.net>
141
142 Implement fmemopen and open_memstream.
143 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
144 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
145 New file.
146 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
147 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
148 functions together.
149 (fmemopen, open_memstream): Declare new functions.
150 * libc/stdio/stdio.tex: Document them.
151 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
152 fmemopen and open_memstream.
153 * libc/stdio/Makefile.in: Regenerate.
154
155 2007-07-31 Eric Blake <ebb9@byu.net>
156
157 More POSIX stream corner cases.
158 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
159 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
160 requested.
161 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
162
163 2007-07-18 Eric Blake <ebb9@byu.net>
164
165 Fix 'make info'.
166 * libc/stdio/stdio.tex: Add missing include.
167 * libc/stdio/vfprintf.c: Use expected node name.
168 * libc/stdio/vfscanf.c: Likewise.
169 * libc/stdio/sscanf.c: Likewise.
170 * libc/stdio/sprintf.c: Likewise.
171 * libc/stdio/siscanf.c: Likewise.
172 * libc/stdio/siprintf.c: Likewise.
173 * libc/stdio/fopencookie.c: Quote raw {}.
174 Reported by DJ Delorie.
175
176 2007-07-13 Eric Blake <ebb9@byu.net>
177
178 Fix fflush issues.
179 * libc/stdio/fflush.c (_fflush_r): New function.
180 (fflush): Fix reentrancy and large offset behavior.
181 * libc/include/stdio.h (_fflush_r): Add prototype.
182 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
183 * libc/stdio/freopen.c (_freopen_r): Likewise.
184 * libc/stdio/fseek.c (_fseek_r): Likewise.
185 * libc/stdio/ftell.c (_ftell_r): Likewise.
186 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
187 * libc/stdio/refill.c (__srefill_r): Likewise.
188 * libc/stdio/setvbuf.c (setvbuf): Likewise.
189 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
190 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
191 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
192 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
193 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
194 32-bit version if not large file.
195 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
196 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
197
198 Documentation updates.
199 * libc/stdio/ungetc.c: Document ungetc.
200 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
201 of files with documentation.
202 * libc/stdio/Makefile.in: Regenerate.
203 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
204
205 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
206
207 * libc/include/math.h: Fix so C99 functions/macros are accessible
208 when -std=c99 is used when compiling and not when using C89.
209
210 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
211
212 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
213 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
214 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
215 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
216 wcstoull_r.c.
217 (CHEWOUT_FILES): Add .def files accordingly.
218 * libc/stdlib/Makefile.in: Regenerate.
219 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
220 * libc/stdlib/strtoll.c: Fix portability note.
221 * libc/stdlib/strtoull.c: Ditto.
222 * libc/stdlib/wcstol.c: New file.
223 * libc/stdlib/wcstoll.c: New file.
224 * libc/stdlib/wcstoll_r.c: New file.
225 * libc/stdlib/wcstoul.c: New file.
226 * libc/stdlib/wcstoull.c: New file.
227 * libc/stdlib/wcstoull_r.c: New file.
228
229 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
230
231 * libc/include/sys/time.h (gettimeofday): Change to proper
232 prototype where second parameter is void *.
233 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
234 accordingly.
235 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
236 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
237 * libc/sys/rdos/gettod.c: Ditto.
238 * libc/sys/sh/syscalls.c: Ditto.
239 * libc/time/time.c (time): Change call to _gettimeofday_r
240 to pass NULL as 2nd argument.
241
242 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
243
244 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
245 * libc/sys/linux/intl/l10nflist.c: Ditto.
246
247 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
248
249 * libc/include/wchar.h: Add prototype for wcsxfrm.
250 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
251 (CHEWOUT_FILES): Add wcsxfrm.def.
252 * libc/string/Makefile.in: Regenerate.
253 * libc/string/wcsxfrm.c: New file.
254 * libc/string/wcstrings.tex: Add wcsxfrm.
255
256 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
257
258 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
259 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
260 stpncpy.c.
261 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
262 * libc/string/Makefile.in: Regenerate.
263 * libc/string/stpcpy.c: New file.
264 * libc/string/stpncpy.c: New file.
265 * libc/string/strings.tex: Add stpcpy and stpncpy.
266
267 2007-06-27 Eric Blake <ebb9@byu.net>
268
269 Support __func__ in assert, as required by C99.
270 * libc/stdlib/assert.c (__assert_func): New function.
271 (__assert): Use __assert_func.
272 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
273 possible.
274
275 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
276
277 * libc/machine/spu/perror.c: Pass errno as the second argument to
278 the assist call.
279
280 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
281
282 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
283 defines; expose ftruncate, truncate and sync prototypes.
284
285 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
286
287 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
288 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
289 visible.
290
291 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
292
293 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
294 from a dropped patch.
295 * libc/machine/spu/Makefile.in: Regenerate.
296
297 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
298
299 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
300 it just calls open with appropriate arguments.
301 * libc/machine/spu/Makefile.am: Add creat.c.
302 * libc/machine/spu/Makefile.in: Regenerate.
303
304 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
305
306 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
307 I accidentally dropped.
308 * libc/machine/spu/Makefile.in: Regenerated.
309
310 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
311
312 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
313 * libc/include/sys/unistd.h: Change usleep prototype to Posix
314 form and move outside of OS flag checks.
315 * libc/machine/spu/Makefile.am: Add sleep and usleep.
316 * libc/machine/spu/Makefile.in: Regenerate.
317 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
318 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
319
320 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
321
322 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
323 Define confstr constants for Cygwin. Add comment.
324
325 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
326
327 * libc/sys/mmixware/access.c (access): Do not try to use a magic
328 file-handle and a direct syscall, just use _open.
329 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
330 file-handle.
331
332 * libc/sys/mmixware/_exit.c (_exit): Update comment about
333 passing on the exit value.
334
335 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
336
337 * libc/string/strcasestr.c: New file.
338 * libc/include/string.h: Add strcasestr.
339 * libc/string/strings.tex: Add strcasestr.
340 * libc/string/Makefile.am: Ditto.
341 * libc/string/Makefile.in: Regenerated.
342
343 2007-06-06 Christian Groessler <chris@groessler.org>
344
345 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
346 rnd is done after the last local variable declaration.
347
348 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
349
350 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
351
352 2007-06-05 Christian Groessler <chris@groessler.org>
353
354 * libc/argz/argz_insert.c (argz_insert): Move delta variable
355 declaration to top of function in keeping with C89 standard.
356
357 2007-06-04 Eric Blake <ebb9@byu.net>
358
359 Implement funopen, fopencookie.
360 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
361 Switch to reentrant callbacks.
362 * libc/include/stdio.h (funopen): Fix declaration.
363 (fopencookie): Declare.
364 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
365 (__sseek64, __swrite64): Fix prototypes.
366 [__SCLE]: Pull in setmode declaration.
367 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
368 reentrancy.
369 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
370 (__sseek64, __swrite64): Fix reentrancy.
371 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
372 reentrancy.
373 * libc/stdio/ftell.c (_ftell_r): Likewise.
374 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
375 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
376 * libc/stdio/freopen.c (_freopen_r): Likewise.
377 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
378 * libc/stdio/refill.c (__srefill_r): Likewise.
379 * libc/stdio/siscanf.c (eofread): Likewise.
380 * libc/stdio/sscanf.c (eofread): Likewise.
381 * libc/stdio/vsiscanf.c (eofread1): Likewise.
382 * libc/stdio/vsscanf.c (eofread1): Likewise.
383 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
384 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
385 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
386 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
387 could be fixed.
388 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
389 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
390 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
391 new files.
392 * libc/stdio/Makefile.in: Regenerate.
393
394 2007-05-29 Eric Blake <ebb9@byu.net>
395
396 Avoid more compiler warnings.
397 * libc/stdlib/btowc.c: Add missing header.
398 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
399 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
400 * libc/stdlib/wctob.c: Add missing header.
401 * libc/string/strcpy.c (strcpy): Avoid warnings.
402 * libc/string/strrchr.c (strrchr): Likewise.
403
404 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
405
406 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
407 argument.
408 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
409 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
410 on empty input strings.
411 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
412 looping through argz.
413 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
414
415 2007-05-27 Brian Dessent <brian@dessent.net>
416
417 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
418 handling %p.
419
420 2007-05-25 Eric Blake <ebb9@byu.net>
421
422 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
423
424 2007-05-24 Steve Ellcey <sje@cup.hp.com>
425 Charles Wilson <libtool@cwilson.fastmail.fm>
426
427 * libtool.m4: removed
428 * configure.in: invoke _LD_DECL_SED before conditionally initializing
429 libtool. Move AC_PROG_AWK outside conditional.
430 * libc/sys/linux/configure.in: Ditto.
431 * libc/sys/linux/linuxthreads/configure.in: Ditto.
432 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
433 * libc/sys/linux/machine/i386/configure.in: Ditto.
434
435 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
436 initializing libtool.
437 * libc/configure.in: Ditto.
438 * libc/machine/configure.in: Ditto.
439 * libc/machine/i386/configure.in: Ditto.
440 * libc/sys/configure.in: Ditto.
441 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
442 * libc/sys/linux/machine/configure.in: Ditto.
443 * libm/configure.in: Ditto.
444 * libm/machine/configure.in: Ditto.
445
446 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
447 * doc/Makefile.am: Ditto.
448 * iconvdata/Makefile.am: Ditto.
449 * libc/Makefile.am: Ditto.
450 * libc/machine/Makefile.am: Ditto.
451 * libc/machine/a29k/Makefile.am: Ditto.
452 * libc/machine/arm/Makefile.am: Ditto.
453 * libc/machine/bfin/Makefile.am: Ditto.
454 * libc/machine/cris/Makefile.am: Ditto.
455 * libc/machine/crx/Makefile.am: Ditto.
456 * libc/machine/d10v/Makefile.am: Ditto.
457 * libc/machine/d30v/Makefile.am: Ditto.
458 * libc/machine/fr30/Makefile.am: Ditto.
459 * libc/machine/frv/Makefile.am: Ditto.
460 * libc/machine/h8300/Makefile.am: Ditto.
461 * libc/machine/h8500/Makefile.am: Ditto.
462 * libc/machine/hppa/Makefile.am: Ditto.
463 * libc/machine/i386/Makefile.am: Ditto.
464 * libc/machine/i960/Makefile.am: Ditto.
465 * libc/machine/iq2000/Makefile.am: Ditto.
466 * libc/machine/m32c/Makefile.am: Ditto.
467 * libc/machine/m32r/Makefile.am: Ditto.
468 * libc/machine/m68hc11/Makefile.am: Ditto.
469 * libc/machine/m68k/Makefile.am: Ditto.
470 * libc/machine/m88k/Makefile.am: Ditto.
471 * libc/machine/mips/Makefile.am: Ditto.
472 * libc/machine/mn10200/Makefile.am: Ditto.
473 * libc/machine/mn10300/Makefile.am: Ditto.
474 * libc/machine/mt/Makefile.am: Ditto.
475 * libc/machine/necv70/Makefile.am: Ditto.
476 * libc/machine/powerpc/Makefile.am: Ditto.
477 * libc/machine/sh/Makefile.am: Ditto.
478 * libc/machine/sparc/Makefile.am: Ditto.
479 * libc/machine/spu/Makefile.am: Ditto.
480 * libc/machine/tic4x/Makefile.am: Ditto.
481 * libc/machine/tic80/Makefile.am: Ditto.
482 * libc/machine/v850/Makefile.am: Ditto.
483 * libc/machine/w65/Makefile.am: Ditto.
484 * libc/machine/xscale/Makefile.am: Ditto.
485 * libc/machine/xstormy16/Makefile.am: Ditto.
486 * libc/machine/z8k/Makefile.am: Ditto.
487 * libc/sys/Makefile.am: Ditto.
488 * libc/sys/a29khif/Makefile.am: Ditto.
489 * libc/sys/arc/Makefile.am: Ditto.
490 * libc/sys/arm/Makefile.am: Ditto.
491 * libc/sys/d10v/Makefile.am: Ditto.
492 * libc/sys/decstation/Makefile.am: Ditto.
493 * libc/sys/h8300hms/Makefile.am: Ditto.
494 * libc/sys/h8500hms/Makefile.am: Ditto.
495 * libc/sys/linux/Makefile.am: Ditto.
496 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
497 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
498 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
499 * libc/sys/linux/machine/Makefile.am: Ditto.
500 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
501 * libc/sys/m88kbug/Makefile.am: Ditto.
502 * libc/sys/mmixware/Makefile.am: Ditto.
503 * libc/sys/netware/Makefile.am: Ditto.
504 * libc/sys/rdos/Makefile.am: Ditto.
505 * libc/sys/rtems/Makefile.am: Ditto.
506 * libc/sys/sh/Makefile.am: Ditto.
507 * libc/sys/sparc64/Makefile.am: Ditto.
508 * libc/sys/sun4/Makefile.am: Ditto.
509 * libc/sys/sysmec/Makefile.am: Ditto.
510 * libc/sys/sysnec810/Makefile.am: Ditto.
511 * libc/sys/sysnecv850/Makefile.am: Ditto.
512 * libc/sys/sysvi386/Makefile.am: Ditto.
513 * libc/sys/sysvnecv70/Makefile.am: Ditto.
514 * libc/sys/tic80/Makefile.am: Ditto.
515 * libc/sys/w65/Makefile.am: Ditto.
516 * libc/sys/z8ksim/Makefile.am: Ditto.
517 * libm/Makefile.am: Ditto.
518 * libm/machine/Makefile.am: Ditto.
519 * libm/machine/i386/Makefile.am: Ditto.
520 * libm/machine/spu/Makefile.am: Ditto.
521
522 * aclocal.m4: Regenerate.
523 * iconvdata/aclocal.m4: Regenerate.
524 * libc/aclocal.m4: Regenerate.
525 * libc/machine/aclocal.m4: Regenerate.
526 * libc/machine/i386/aclocal.m4: Regenerate.
527 * libc/sys/aclocal.m4: Regenerate.
528 * libc/sys/linux/aclocal.m4: Regenerate.
529 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
530 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
531 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
532 * libc/sys/linux/machine/aclocal.m4: Regenerate.
533 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
534 * libm/aclocal.m4: Regenerate.
535 * libm/machine/aclocal.m4: Regenerate.
536 * libm/machine/i386/aclocal.m4: Regenerate.
537
538 * Makefile.in: Regenerate.
539 * doc/Makefile.in: Regenerate.
540 * iconvdata/Makefile.in: Regenerate.
541 * libc/Makefile.in: Regenerate.
542 * libc/argz/Makefile.in: Regenerate.
543 * libc/ctype/Makefile.in: Regenerate.
544 * libc/errno/Makefile.in: Regenerate.
545 * libc/iconv/Makefile.in: Regenerate.
546 * libc/iconv/ccs/Makefile.in: Regenerate.
547 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
548 * libc/iconv/ces/Makefile.in: Regenerate.
549 * libc/iconv/lib/Makefile.in: Regenerate.
550 * libc/locale/Makefile.in: Regenerate.
551 * libc/machine/Makefile.in: Regenerate.
552 * libc/machine/a29k/Makefile.in: Regenerate.
553 * libc/machine/arm/Makefile.in: Regenerate.
554 * libc/machine/bfin/Makefile.in: Regenerate.
555 * libc/machine/cris/Makefile.in: Regenerate.
556 * libc/machine/crx/Makefile.in: Regenerate.
557 * libc/machine/d10v/Makefile.in: Regenerate.
558 * libc/machine/d30v/Makefile.in: Regenerate.
559 * libc/machine/fr30/Makefile.in: Regenerate.
560 * libc/machine/frv/Makefile.in: Regenerate.
561 * libc/machine/h8300/Makefile.in: Regenerate.
562 * libc/machine/h8500/Makefile.in: Regenerate.
563 * libc/machine/hppa/Makefile.in: Regenerate.
564 * libc/machine/i386/Makefile.in: Regenerate.
565 * libc/machine/i960/Makefile.in: Regenerate.
566 * libc/machine/iq2000/Makefile.in: Regenerate.
567 * libc/machine/m32c/Makefile.in: Regenerate.
568 * libc/machine/m32r/Makefile.in: Regenerate.
569 * libc/machine/m68hc11/Makefile.in: Regenerate.
570 * libc/machine/m68k/Makefile.in: Regenerate.
571 * libc/machine/m88k/Makefile.in: Regenerate.
572 * libc/machine/mips/Makefile.in: Regenerate.
573 * libc/machine/mn10200/Makefile.in: Regenerate.
574 * libc/machine/mn10300/Makefile.in: Regenerate.
575 * libc/machine/mt/Makefile.in: Regenerate.
576 * libc/machine/necv70/Makefile.in: Regenerate.
577 * libc/machine/powerpc/Makefile.in: Regenerate.
578 * libc/machine/sh/Makefile.in: Regenerate.
579 * libc/machine/sparc/Makefile.in: Regenerate.
580 * libc/machine/spu/Makefile.in: Regenerate.
581 * libc/machine/tic4x/Makefile.in: Regenerate.
582 * libc/machine/tic80/Makefile.in: Regenerate.
583 * libc/machine/v850/Makefile.in: Regenerate.
584 * libc/machine/w65/Makefile.in: Regenerate.
585 * libc/machine/xscale/Makefile.in: Regenerate.
586 * libc/machine/xstormy16/Makefile.in: Regenerate.
587 * libc/machine/z8k/Makefile.in: Regenerate.
588 * libc/misc/Makefile.in: Regenerate.
589 * libc/posix/Makefile.in: Regenerate.
590 * libc/reent/Makefile.in: Regenerate.
591 * libc/search/Makefile.in: Regenerate.
592 * libc/signal/Makefile.in: Regenerate.
593 * libc/stdio/Makefile.in: Regenerate.
594 * libc/stdio64/Makefile.in: Regenerate.
595 * libc/stdlib/Makefile.in: Regenerate.
596 * libc/string/Makefile.in: Regenerate.
597 * libc/sys/Makefile.in: Regenerate.
598 * libc/sys/a29khif/Makefile.in: Regenerate.
599 * libc/sys/arc/Makefile.in: Regenerate.
600 * libc/sys/arm/Makefile.in: Regenerate.
601 * libc/sys/d10v/Makefile.in: Regenerate.
602 * libc/sys/decstation/Makefile.in: Regenerate.
603 * libc/sys/h8300hms/Makefile.in: Regenerate.
604 * libc/sys/h8500hms/Makefile.in: Regenerate.
605 * libc/sys/linux/Makefile.in: Regenerate.
606 * libc/sys/linux/argp/Makefile.in: Regenerate.
607 * libc/sys/linux/cmath/Makefile.in: Regenerate.
608 * libc/sys/linux/dl/Makefile.in: Regenerate.
609 * libc/sys/linux/iconv/Makefile.in: Regenerate.
610 * libc/sys/linux/intl/Makefile.in: Regenerate.
611 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
612 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
613 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
614 * libc/sys/linux/machine/Makefile.in: Regenerate.
615 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
616 * libc/sys/linux/net/Makefile.in: Regenerate.
617 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
618 * libc/sys/m88kbug/Makefile.in: Regenerate.
619 * libc/sys/mmixware/Makefile.in: Regenerate.
620 * libc/sys/netware/Makefile.in: Regenerate.
621 * libc/sys/rdos/Makefile.in: Regenerate.
622 * libc/sys/rtems/Makefile.in: Regenerate.
623 * libc/sys/sh/Makefile.in: Regenerate.
624 * libc/sys/sparc64/Makefile.in: Regenerate.
625 * libc/sys/sun4/Makefile.in: Regenerate.
626 * libc/sys/sysmec/Makefile.in: Regenerate.
627 * libc/sys/sysnec810/Makefile.in: Regenerate.
628 * libc/sys/sysnecv850/Makefile.in: Regenerate.
629 * libc/sys/sysvi386/Makefile.in: Regenerate.
630 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
631 * libc/sys/tic80/Makefile.in: Regenerate.
632 * libc/sys/w65/Makefile.in: Regenerate.
633 * libc/sys/z8ksim/Makefile.in: Regenerate.
634 * libc/syscalls/Makefile.in: Regenerate.
635 * libc/time/Makefile.in: Regenerate.
636 * libc/unix/Makefile.in: Regenerate.
637 * libm/Makefile.in: Regenerate.
638 * libm/common/Makefile.in: Regenerate.
639 * libm/machine/Makefile.in: Regenerate.
640 * libm/machine/i386/Makefile.in: Regenerate.
641 * libm/machine/spu/Makefile.in: Regenerate.
642 * libm/math/Makefile.in: Regenerate.
643 * libm/mathfp/Makefile.in: Regenerate.
644
645 * configure: Regenerate.
646 * iconvdata/configure: Regenerate.
647 * libc/configure: Regenerate.
648 * libc/machine/configure: Regenerate.
649 * libc/machine/i386/configure: Regenerate.
650 * libc/sys/configure: Regenerate.
651 * libc/sys/linux/configure: Regenerate.
652 * libc/sys/linux/linuxthreads/configure: Regenerate.
653 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
654 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
655 * libc/sys/linux/machine/configure: Regenerate.
656 * libc/sys/linux/machine/i386/configure: Regenerate.
657 * libm/configure: Regenerate.
658 * libm/machine/configure: Regenerate.
659 * libm/machine/i386/configure: Regenerate.
660
661 2007-05-23 Eric Blake <ebb9@byu.net>
662
663 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
664 sizeof(void*) is 8 but sizeof(long) is 4.
665 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
666 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
667 to fix reentrancy and bug on encoding error in multibyte locales.
668 Always return EOF on read error.
669
670 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
671
672 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
673 prototype.
674 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
675 instead of the slot 0 value, remove any now unused variables, and
676 for some cases, now store the result in an int vs int*.
677 * libc/machine/spu/feof.c: Ditto.
678 * libc/machine/spu/ferror.c: Ditto.
679 * libc/machine/spu/fflush.c: Ditto.
680 * libc/machine/spu/fgetc.c: Ditto.
681 * libc/machine/spu/fgetpos.c: Ditto.
682 * libc/machine/spu/fgets.c: Ditto.
683 * libc/machine/spu/fileno.c: Ditto.
684 * libc/machine/spu/fopen.c: Ditto.
685 * libc/machine/spu/fprintf.c: Ditto.
686 * libc/machine/spu/fputc.c: Ditto.
687 * libc/machine/spu/fputs.c: Ditto.
688 * libc/machine/spu/fread.c: Ditto.
689 * libc/machine/spu/freopen.c: Ditto.
690 * libc/machine/spu/fscanf.c: Ditto.
691 * libc/machine/spu/fseek.c: Ditto.
692 * libc/machine/spu/fsetpos.c: Ditto.
693 * libc/machine/spu/ftell.c: Ditto.
694 * libc/machine/spu/fwrite.c: Ditto.
695 * libc/machine/spu/getc.c: Ditto.
696 * libc/machine/spu/getchar.c: Ditto.
697 * libc/machine/spu/gets.c: Ditto.
698 * libc/machine/spu/printf.c: Ditto.
699 * libc/machine/spu/putc.c: Ditto.
700 * libc/machine/spu/putchar.c: Ditto.
701 * libc/machine/spu/puts.c: Ditto.
702 * libc/machine/spu/remove.c: Ditto.
703 * libc/machine/spu/rename.c: Ditto.
704 * libc/machine/spu/scanf.c: Ditto.
705 * libc/machine/spu/setvbuf.c: Ditto.
706 * libc/machine/spu/snprintf.c: Ditto.
707 * libc/machine/spu/sprintf.c: Ditto.
708 * libc/machine/spu/sscanf.c: Ditto.
709 * libc/machine/spu/tmpfile.c: Ditto.
710 * libc/machine/spu/tmpnam.c: Ditto.
711 * libc/machine/spu/ungetc.c: Ditto.
712 * libc/machine/spu/vfprintf.c: Ditto.
713 * libc/machine/spu/vfscanf.c: Ditto.
714 * libc/machine/spu/vprintf.c: Ditto.
715 * libc/machine/spu/vscanf.c: Ditto.
716 * libc/machine/spu/vsnprintf.c: Ditto.
717 * libc/machine/spu/vsprintf.c: Ditto.
718 * libc/machine/spu/vsscanf.c: Ditto.
719
720 2007-05-23 Eric Blake <ebb9@byu.net>
721
722 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
723 Avoid warning when !FLOATING_POINT.
724 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
725 slightly.
726
727 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
728
729 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
730 to zero.
731 * libc/include/argz.h: Guard against multiple inclusion. Guard for
732 use with C++.
733
734 2007-05-18 Eric Blake <ebb9@byu.net>
735
736 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
737 compilers.
738 * libc/stdio/vfscanf.c: Likewise.
739
740 2007-05-17 Cary R. <cygcary <at> yahoo.com>
741
742 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
743 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
744 * libm/math/wf_atan2.c: Ditto.
745
746 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
747
748 * libm/common/Makefile.am: Add support for exp10, exp10f,
749 pow10, and pow10f functions.
750 * libm/common/Makefile.in: Regenerated.
751 * libm/common/s_pow10.c: New file.
752 * libm/common/sf_pow10.c: Ditto.
753 * libm/common/s_exp10.c: Ditto.
754 * libm/common/sf_exp10.c: Ditto.
755 * libc/include/math.h [!pow10]: New pow10 prototype.
756 [!pow10f]: New pow10f prototype.
757 [!exp10]: New exp10 prototype.
758 [!exp10f]: New exp10f prototype.
759
760 2007-05-17 Charles Wilson <cygwin@...>
761
762 * stdio/tmpfile.c: Include <sys/stat.h>.
763 * stdio64/tmpfile64.c: Ditto.
764
765 2007-05-16 Eric Blake <ebb9@byu.net>
766
767 Close security hole in tmpfile.
768 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
769 generation and opening the fd.
770 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
771
772 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
773 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
774 required by POSIX.
775 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
776 avoid clash with <math.h>.
777
778 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
779 * libc/search/hash.c (__hash_open): Likewise.
780
781 2007-05-14 Eric Blake <ebb9@byu.net>
782
783 Reduce stack size of *printf.
784 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
785 in %f. Avoid malloc when possible for %S.
786 (BUF): Improve stack locality by using smaller size.
787 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
788 (exponent): Use smaller stack size.
789
790 2007-05-11 Eric Blake <ebb9@byu.net>
791
792 Minimize printf/scanf size on platforms that don't need C99.
793 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
794 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
795 * configure.in (newlib-io-c99-formats): New configure option.
796 (_WANT_IO_C99_FORMATS): Define appropriately.
797 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
798 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
799 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
800 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
801 Likewise.
802 * configure: Regenerate.
803
804 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
805 (get_arg): Support '%a' and '%A'.
806
807 2007-05-09 Eric Blake <ebb9@byu.net>
808
809 Allow zero size with non-null buf in *asnprintf.
810 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
811 user's buf.
812 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
813 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
814 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
815
816 2007-05-07 Charles Wilson <cygwin@...>
817
818 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
819
820 2007-05-03 Eric Blake <ebb9@byu.net>
821
822 Add support for asnprintf, and improve *printf documentation.
823 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
824 (ELIX_2_SOURCES): ...to this.
825 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
826 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
827 (CHEWOUT_FILES): Include diprintf in documentation.
828 * libc/stdio/Makefile.in: Regenerate.
829 * libc/stdio/diprintf.c: Improve documentation.
830 * libc/stdio/dprintf.c: Likewise.
831 * libc/stdio/siprintf.c: Likewise.
832 * libc/stdio/sprintf.c: Likewise.
833 * libc/stdio/vfprintf.c: Likewise.
834 * libc/stdio/viprintf.c: Likewise.
835 * libc/stdio/vsniprintf.c: Consolidate documentation.
836 * libc/stdio/asiprintf.c: Refer to documentation.
837 * libc/stdio/asprintf.c: Likewise.
838 * libc/stdio/fiprintf.c: Likewise.
839 * libc/stdio/fprintf.c: Likewise.
840 * libc/stdio/iprintf.c: Likewise.
841 * libc/stdio/printf.c: Likewise.
842 * libc/stdio/sniprintf.c: Likewise.
843 * libc/stdio/vdiprintf.c: Likewise.
844 * libc/stdio/vdprintf.c: Likewise.
845 * libc/stdio/vsiprintf.c: Likewise.
846 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
847 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
848 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
849 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
850 file.
851 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
852 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
853 typical case.
854 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
855 * libc/include/stdio.h: Add prototypes for new functions; sort
856 existing functions.
857
858 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
859
860 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
861 and memset.S.
862 * libc/machine/m68k/Makefile.in: Regenerate.
863 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
864 * libc/machine/m68k/memset.S: Likewise.
865
866 2007-05-01 Eric Blake <ebb9@byu.net>
867
868 * libc/stdio64/local64.h: Delete, move contents to...
869 * libc/stdio/local.h: ...here.
870 * libc/stdio64/fdopen64.c: Update includes.
871 * libc/stdio64/fopen64.c: Likewise.
872 * libc/stdio64/freopen64.c: Likewise.
873 * libc/stdio64/fseeko64.c: Likewise.
874 * libc/stdio64/ftello64.c: Likewise.
875 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
876 and stderr with 64-bit offset.
877 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
878 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
879 * libc/stdio/mktemp.c (_gettemp): Likewise.
880
881 2007-05-01 Cary R. <cygcary <at> yahoo.com>
882
883 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
884 to treatment of NaN and +-inf arguments.
885 * libm/math/ef_pow.c: Ditto.
886 * libm/math/w_pow.c: Ditto.
887 * libm/math/wf_pow.c: Ditto.
888 * libm/math/w_acos.c: Fix domain errors to return NaN.
889 * libm/math/w_asin.c: Ditto.
890 * libm/math/wf_acos.c: Ditto.
891 * libm/math/wf_asin.c: Ditto.
892 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
893 * libm/math/wf_log.c: Ditto.
894 * libm/math/wf_log10.c: Ditto.
895 * libm/math/w_log10.c: Ditto.
896
897 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
898
899 * libc/machine/m68k/Makefile.am: Temporarily remove
900 memcpy.S and memset.S until logic can be confirmed for
901 !(__mcoldfile__) case.
902 * libc/machine/m68k/Makefile.in: Regenerated.
903
904 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
905
906 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
907 and memset.S.
908 * libc/machine/m68k/Makefile.in: Regenerate.
909 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
910
911 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
912
913 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
914 overridden via machine/ieeefp.h.
915 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
916 macros for isnan and related macros.
917 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
918 overridden via machine/ieeefp.h.
919 * libm/machine/spu/Makefile.am: Add new files.
920 * libm/machine/spu/Makefile.in: Autogenerate with new files.
921 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
922 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
923 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
924 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
925 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
926 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
927 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
928
929 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
930
931 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
932 * libm/common/sf_fpclassify.c: ...here. New file.
933 * libm/common/Makefile.am: Add sf_fpclassify.c.
934 * libm/common/Makefile.in: Regenerated.
935
936 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
937
938 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
939 ppu linux values. This file is a copy of the cris/sys/errno.h plus
940 a few changes (see spu errno.h comments).
941
942 2007-04-25 Eric Blake <ebb9@byu.net>
943
944 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
945 that promote to int.
946
947 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
948
949 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
950 we clear the proper bits in the fpscr, and don't set some random ones.
951
952 2007-04-24 Eric Blake <ebb9@byu.net>
953
954 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
955 or NaN with %05f.
956
957 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
958 _MB_CAPABLE.
959
960 * libc/include/limits.h (NL_ARGMAX): Define a default value.
961 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
962 NL_ARGMAX, if present.
963
964 2007-04-23 Brian Dessent <brian@dessent.net>
965
966 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
967 has been specified with types 'f', 'F', 'g', or 'G', ensure the
968 trailing decimal is printed.
969
970 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
971
972 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
973 file. Override Autoconf-2.59's version of these macros with
974 fixed handling of multiple adjacent whitespace in arguments.
975 * aclocal.m4: Regenerated forcefully.
976 * configure: Ditto.
977 * Makefile.in: Ditto.
978 * libc/*Makefile.in: Ditto.
979 * libc/*aclocal.m4: Ditto.
980 * libc/*configure: Ditto.
981 * libm/*Makefile.in: Ditto.
982 * libm/*aclocal.m4: Ditto.
983 * libm/*configure: Ditto.
984
985 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
986
987 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
988 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
989 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
990 * libc/sys/arc/Makefile.in: Regenerated.
991
992 2007-04-17 Brian Dessent <brian@dessent.net>
993
994 * libc/stdio/sscanf.c: Update documentation comments.
995 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
996
997 2007-04-12 Eric Blake <ebb9@byu.net>
998
999 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1000 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1001 (get_arg): Handle %1$F, %1$n.
1002
1003 2007-04-10 Eric Blake <ebb9@byu.net>
1004
1005 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1006 CFLAGS=-O0.
1007
1008 2007-04-09 Eric Blake <ebb9@byu.net>
1009
1010 * libc/include/stdio.h: Add gcc format attributes to printf and
1011 scanf families.
1012
1013 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
1014
1015 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1016 even if the passed in length n is shorter than the source string.
1017 This matches both the non-spu specific and the glibc strxfrm
1018 behaviour.
1019
1020 2007-04-04 Mark Mitchell <mark@codesourcery.com>
1021
1022 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1023 functions registering additional atexit functions.
1024
1025 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1026 -I${newlib_dir}.
1027
1028 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
1029
1030 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1031 prototype.
1032 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1033 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1034 * libc/machine/spu/fclose.c: Ditto.
1035 * libc/machine/spu/feof.c: Ditto.
1036 * libc/machine/spu/ferror.c: Ditto.
1037 * libc/machine/spu/fflush.c: Ditto.
1038 * libc/machine/spu/fgetc.c: Ditto.
1039 * libc/machine/spu/fgetpos.c: Ditto.
1040 * libc/machine/spu/fgets.c: Ditto.
1041 * libc/machine/spu/fileno.c: Ditto.
1042 * libc/machine/spu/fopen.c: Ditto.
1043 * libc/machine/spu/fprintf.c: Ditto.
1044 * libc/machine/spu/fputc.c: Ditto.
1045 * libc/machine/spu/fputs.c: Ditto.
1046 * libc/machine/spu/fread.c: Ditto.
1047 * libc/machine/spu/freopen.c: Ditto.
1048 * libc/machine/spu/fscanf.c: Ditto.
1049 * libc/machine/spu/fseek.c: Ditto.
1050 * libc/machine/spu/fsetpos.c: Ditto.
1051 * libc/machine/spu/ftell.c: Ditto.
1052 * libc/machine/spu/fwrite.c: Ditto.
1053 * libc/machine/spu/getc.c: Ditto.
1054 * libc/machine/spu/getchar.c: Ditto.
1055 * libc/machine/spu/gets.c: Ditto.
1056 * libc/machine/spu/perror.c: Ditto.
1057 * libc/machine/spu/printf.c: Ditto.
1058 * libc/machine/spu/putc.c: Ditto.
1059 * libc/machine/spu/putchar.c: Ditto.
1060 * libc/machine/spu/puts.c: Ditto.
1061 * libc/machine/spu/remove.c: Ditto.
1062 * libc/machine/spu/rename.c: Ditto.
1063 * libc/machine/spu/rewind.c: Ditto.
1064 * libc/machine/spu/scanf.c: Ditto.
1065 * libc/machine/spu/setbuf.c: Ditto.
1066 * libc/machine/spu/setvbuf.c: Ditto.
1067 * libc/machine/spu/snprintf.c: Ditto.
1068 * libc/machine/spu/sprintf.c: Ditto.
1069 * libc/machine/spu/sscanf.c: Ditto.
1070 * libc/machine/spu/tmpfile.c: Ditto.
1071 * libc/machine/spu/tmpnam.c: Ditto.
1072 * libc/machine/spu/ungetc.c: Ditto.
1073 * libc/machine/spu/vfprintf.c: Ditto.
1074 * libc/machine/spu/vfscanf.c: Ditto.
1075 * libc/machine/spu/vprintf.c: Ditto.
1076 * libc/machine/spu/vscanf.c: Ditto.
1077 * libc/machine/spu/vsnprintf.c: Ditto.
1078 * libc/machine/spu/vsprintf.c: Ditto.
1079 * libc/machine/spu/vsscanf.c: Ditto.
1080
1081 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1082
1083 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1084
1085 2007-04-04 Eric Blake <ebb9@byu.net>
1086
1087 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1088 (asiprintf): Avoid overhead.
1089 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1090 (asprintf): Avoid overhead.
1091 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1092 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1093 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1094 (fiprintf): Avoid overhead.
1095 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1096 (fprintf): Avoid overhead.
1097 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1098 (iprintf): Avoid overhead.
1099 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1100 (printf): Avoid overhead.
1101 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1102 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1103 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1104 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1105 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1106 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1107 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1108 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1109 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1110 vdiprintf.c.
1111 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1112 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1113
1114 2007-03-30 Dave Korn <dave.korn@artimi.com>
1115
1116 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1117 conflicting inline semantics between C99 and GNU89.
1118 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1119 compatible with -fkeep-inline-functions usage.
1120 (__sputc_r): Likewise for consistency even though disabled.
1121
1122 2007-03-29 Nick Clifton <nickc@redhat.com>
1123
1124 Reflect changes made to generic vfprintf.c:
1125 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1126 and add a "struct reent *" argument.
1127 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1128 argument and call _VFPRINTF_R instead of VFPRINTF.
1129 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1130 Fix uses of __sprint() and __sbprintf.
1131
1132 2007-03-20 Nick Clifton <nickc@redhat.com>
1133
1134 Reflect changes made to generic vfprintf.c:
1135 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1136 and add a "struct reent *" argument.
1137 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1138 argument and call _VFPRINTF_R instead of VFPRINTF.
1139 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1140 Fix uses of __sprint() and __sbprintf.
1141
1142 2007-03-16 Charles Wilson <cygwin@...>
1143
1144 * libc/argz/argz_insert.c: "before" pointer is
1145 invalid after *argz realloc. Compute offset
1146 between "before" and *argz, and use it after
1147 reallocation instead.
1148
1149 2007-03-16 Eric Blake <ebb9@byu.net>
1150
1151 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1152 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1153
1154 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1155
1156 * configure.in: Add new --enable-newlib-reent-small option.
1157 * configure: Regenerated.
1158 * acconfig.h: Add _WANT_REENT_SMALL.
1159 * newlib.hin: Regenerated minus PACKAGE macros to add
1160 _WANT_REENT_SMALL macro.
1161 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1162 if not already set.
1163 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1164 there is no buffer.
1165 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1166 use reentrant pointer passed in when resetting the file
1167 pointer to one of the std streams.
1168
1169 2007-03-15 Eric Blake <ebb9@byu.net>
1170
1171 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1172 (__smakebuf): Rename...
1173 (__smakebuf_r): to this.
1174 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1175 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1176 allocation, then rename...
1177 (__smakebuf_r): ...to this and fix reentrancy.
1178 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1179 allocation, then rename...
1180 (__swsetup_r): ...to this and fix reentrancy.
1181 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1182 * libc/stdio/refill.c (__srefill_r): Likewise.
1183 * libc/stdio/fclose.c (_fclose_r): Likewise.
1184 * libc/stdio/fread.c (_fread_r): Likewise.
1185 * libc/stdio/freopen.c (_freopen_r): Likewise.
1186 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1187 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1188 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1189 failed asprintf allocation, and fix reentrancy.
1190 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1191 as required by POSIX.
1192 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1193 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1194 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1195
1196 2007-03-12 Eric Blake <ebb9@byu.net>
1197
1198 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1199 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1200 allocation to caller.
1201 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1202 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1203 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1204
1205 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1206
1207 * libm/math/w_pow.c: Fix typo in documentation comment.
1208
1209 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1210
1211 * libc/reent/timer.c: Removed (split into two new files).
1212 * libc/reent/timesr.c: New file for _times_r.
1213 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1214 * reent/Makefile.in: Remove timer.c, add timesr.c and
1215 gettimeofdayr.c.
1216 * libc/reent/Makefile.am: Regenerate.
1217
1218 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1219
1220 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1221
1222 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1223
1224 * libc/machine/spu/Makefile.am: Add new objects.
1225 * libc/machine/spu/Makefile.in: Regenerated.
1226 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1227 integer-only version.
1228 * libc/machine/spu/fiscanf.c: Ditto.
1229 * libc/machine/spu/iprintf.c: Ditto.
1230 * libc/machine/spu/iscanf.c: Ditto.
1231 * libc/machine/spu/siprintf.c: Ditto.
1232 * libc/machine/spu/siscanf.c: Ditto.
1233 * libc/machine/spu/sniprintf.c: Ditto.
1234 * libc/machine/spu/vfiprintf.c: Ditto.
1235 * libc/machine/spu/vfiscanf.c: Ditto.
1236 * libc/machine/spu/viprintf.c: Ditto.
1237 * libc/machine/spu/viscanf.c: Ditto.
1238 * libc/machine/spu/vsiprintf.c: Ditto.
1239 * libc/machine/spu/vsiscanf.c: Ditto.
1240 * libc/machine/spu/vsniprintf.c: Ditto.
1241 * libc/machine/spu/fprintf.c: Add support for integer-only
1242 version.
1243 * libc/machine/spu/fscanf.c: Ditto.
1244 * libc/machine/spu/printf.c: Ditto.
1245 * libc/machine/spu/scanf.c: Ditto.
1246 * libc/machine/spu/snprintf.c: Ditto.
1247 * libc/machine/spu/sprintf.c: Ditto.
1248 * libc/machine/spu/sscanf.c: Ditto.
1249 * libc/machine/spu/vfprintf.c: Ditto.
1250 * libc/machine/spu/vfscanf.c: Ditto.
1251 * libc/machine/spu/vprintf.c: Ditto.
1252 * libc/machine/spu/vscanf.c: Ditto.
1253 * libc/machine/spu/vsnprintf.c: Ditto.
1254 * libc/machine/spu/vsprintf.c: Ditto.
1255 * libc/machine/spu/vsscanf.c: Ditto.
1256
1257 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1258
1259 * libc/include/stdio.h: Add declaration for vsiprintf.
1260
1261 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1262
1263 Add a floating point environment for SPU (cell):
1264
1265 * configure.host: add libm_machine_dir=spu.
1266 * libm/machine/configure: Add spu.
1267 * libm/machine/configure.in: regenerated with spu added.
1268 * libc/machine/spu/include/fenv.h: New file.
1269 * libc/machine/spu/sys/fenv.h: Ditto.
1270 * libm/machine/spu/Makefile.am: Ditto.
1271 * libm/machine/spu/Makefile.in: Ditto.
1272 * libm/machine/spu/aclocal.m4: Ditto.
1273 * libm/machine/spu/configure: Ditto.
1274 * libm/machine/spu/configure.in: Ditto.
1275 * libm/machine/spu/fe_dfl_env.c: Ditto.
1276 * libm/machine/spu/feclearexcept.c: Ditto.
1277 * libm/machine/spu/fegetenv.c: Ditto.
1278 * libm/machine/spu/fegetexceptflag.c: Ditto.
1279 * libm/machine/spu/fegetround.c: Ditto.
1280 * libm/machine/spu/feholdexcept.c: Ditto.
1281 * libm/machine/spu/feraiseexcept.c: Ditto.
1282 * libm/machine/spu/fesetenv.c: Ditto.
1283 * libm/machine/spu/fesetexceptflag.c: Ditto.
1284 * libm/machine/spu/fesetround.c: Ditto.
1285 * libm/machine/spu/fetestexcept.c: Ditto.
1286 * libm/machine/spu/feupdateenv.c: Ditto.
1287 * libm/machine/spu/headers/feclearexcept.h: Ditto.
1288 * libm/machine/spu/headers/fefpscr.h: Ditto.
1289 * libm/machine/spu/headers/fegetenv.h: Ditto.
1290 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
1291 * libm/machine/spu/headers/fegetround.h: Ditto.
1292 * libm/machine/spu/headers/feholdexcept.h: Ditto.
1293 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
1294 * libm/machine/spu/headers/fesetenv.h: Ditto.
1295 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1296 * libm/machine/spu/headers/fesetround.h: Ditto.
1297 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1298 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1299
1300 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
1301
1302 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1303 Cygwin.
1304
1305 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
1306
1307 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1308 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1309
1310 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
1311
1312 * libc/include/sys/features.h: Add definition of all supported
1313 _POSIX_xxx values for Cygwin.
1314 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1315 on Cygwin.
1316 (pthread_rwlockattr_t): Ditto.
1317 * libc/include/sys/unistd.h: Define all _SC_xxx values as
1318 required by SUSv3. Unify formatting.
1319
1320 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
1321
1322 * libc/include/sys/errno.h: Add ECANCELED.
1323
1324 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1325 Kazunori Asayama <asayama@sm.sony.co.jp>
1326
1327 * libc/machine/spu/Makefile.am: Add objects.
1328 * libc/machine/spu/Makefile.in: Regenerated.
1329 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
1330 implementation.
1331 * libc/machine/spu/snprintf.c: Ditto.
1332 * libc/machine/spu/sprintf.c: Ditto.
1333 * libc/machine/spu/sscanf.c: Ditto.
1334 * libc/machine/spu/remove.c: Ditto.
1335 * libc/machine/spu/rename.c: Ditto.
1336 * libc/machine/spu/tmpnam.c: Ditto.
1337 * libc/machine/spu/vsnprintf.c: Add initialization routine of
1338 stdio stuffs.
1339 * libc/machine/spu/vsprintf.c: Ditto.
1340
1341 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1342 Kazunori Asayama <asayama@sm.sony.co.jp>
1343
1344 * configure.host: Enable SPU specific stdio directory.
1345 * libc/machine/spu/Makefile.am: Add objects.
1346 * libc/machine/spu/Makefile.in: Regenerated.
1347 * libc/machine/spu/c99ppe.h: Add macros and function
1348 declarations to initialize SPU specific stdio stuffs.
1349 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
1350 specific FILE structures.
1351 * libc/machine/spu/perror.c: Add initialization routine of
1352 stdio stuffs.
1353 * libc/machine/spu/printf.c: Ditto.
1354 * libc/machine/spu/putchar.c: Ditto.
1355 * libc/machine/spu/puts.c: Ditto.
1356 * libc/machine/spu/vprintf.c: Ditto.
1357 * libc/machine/spu/clearerr.c: New file. Add a stdio function
1358 implementation.
1359 * libc/machine/spu/feof.c: Ditto.
1360 * libc/machine/spu/ferror.c: Ditto.
1361 * libc/machine/spu/fileno.c: Ditto.
1362 * libc/machine/spu/fopen.c: Ditto.
1363 * libc/machine/spu/fclose.c: Ditto.
1364 * libc/machine/spu/freopen.c: Ditto.
1365 * libc/machine/spu/fflush.c: Ditto.
1366 * libc/machine/spu/fseek.c: Ditto.
1367 * libc/machine/spu/ftell.c: Ditto.
1368 * libc/machine/spu/rewind.c: Ditto.
1369 * libc/machine/spu/fgetpos.c: Ditto.
1370 * libc/machine/spu/fsetpos.c: Ditto.
1371 * libc/machine/spu/fread.c: Ditto.
1372 * libc/machine/spu/fwrite.c: Ditto.
1373 * libc/machine/spu/getc.c: Ditto.
1374 * libc/machine/spu/getchar.c: Ditto.
1375 * libc/machine/spu/gets.c: Ditto.
1376 * libc/machine/spu/fgetc.c: Ditto.
1377 * libc/machine/spu/fgets.c: Ditto.
1378 * libc/machine/spu/ungetc.c: Ditto.
1379 * libc/machine/spu/putc.c: Ditto.
1380 * libc/machine/spu/fputc.c: Ditto.
1381 * libc/machine/spu/fputs.c: Ditto.
1382 * libc/machine/spu/vfprintf.c: Ditto.
1383 * libc/machine/spu/vfscanf.c: Ditto.
1384 * libc/machine/spu/fprintf.c: Ditto.
1385 * libc/machine/spu/fscanf.c: Ditto.
1386 * libc/machine/spu/scanf.c: Ditto.
1387 * libc/machine/spu/vscanf.c: Ditto.
1388 * libc/machine/spu/setbuf.c: Ditto.
1389 * libc/machine/spu/setvbuf.c: Ditto.
1390 * libc/machine/spu/tmpfile.c: Ditto.
1391
1392 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
1393
1394 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
1395 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
1396 around stdio macros that manipulate fields in the normal file
1397 structure.
1398 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
1399 <sys/custom_file.h> to define custom FILE structure.
1400 * libc/include/sys/custom_file.h: New default header file
1401 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
1402 * libc/machine/spu/sys/custom_file.h: New file.
1403
1404 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
1405
1406 * configure.host: Define stdio directory as a variable.
1407 * libc/Makefile.am: Define stdio related names
1408 as macros.
1409 * libc/configure.in: Add detection routine of stdio directory.
1410 * libc/Makefile.in: Regenerated.
1411 * libc/configure: Ditto.
1412 * libc/argz/Makefile.in: Ditto.
1413 * libc/ctype/Makefile.in: Ditto.
1414 * libc/errno/Makefile.in: Ditto.
1415 * libc/iconv/Makefile.in: Ditto.
1416 * libc/iconv/ccs/Makefile.in: Ditto.
1417 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1418 * libc/iconv/ces/Makefile.in: Ditto.
1419 * libc/iconv/lib/Makefile.in: Ditto.
1420 * libc/locale/Makefile.in: Ditto.
1421 * libc/misc/Makefile.in: Ditto.
1422 * libc/posix/Makefile.in: Ditto.
1423 * libc/reent/Makefile.in: Ditto.
1424 * libc/search/Makefile.in: Ditto.
1425 * libc/signal/Makefile.in: Ditto.
1426 * libc/stdio/Makefile.in: Ditto.
1427 * libc/stdio64/Makefile.in: Ditto.
1428 * libc/stdlib/Makefile.in: Ditto.
1429 * libc/string/Makefile.in: Ditto.
1430 * libc/syscalls/Makefile.in: Ditto.
1431 * libc/time/Makefile.in: Ditto.
1432 * libc/unix/Makefile.in: Ditto.
1433
1434 2007-01-30 Ben Elliston <bje@au.ibm.com>
1435
1436 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
1437 fmt member.
1438 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
1439 (printf): Pass fmt to va_start to suppress a warning.
1440
1441 * libc/search/hash.c (init_hash): Make `info' parameter const.
1442
1443 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
1444
1445 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
1446 * libc/machine/spu/vec_literal.h: Ditto.
1447 * libc/machine/spu/strncmp.c: Ditto.
1448
1449 2007-01-15 Joseph Myers <joseph@codesourcery.com>
1450 Kazu Hirata <kazu@codesourcery.com>
1451
1452 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
1453 for E500V1 and E500V2.
1454
1455 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
1456
1457 * libm/configure.in: Always configure machine directory.
1458 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
1459 unconditionally.
1460 * libm/configure: Regenerated.
1461 * libm/Makefile.in: Ditto.
1462 * libm/*/Makefile.in: Ditto.
1463
1464 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
1465
1466 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
1467
1468 2007-01-02 Ben Elliston <bje@au.ibm.com>
1469
1470 * doc/makedoc.c: Include <stdlib.h>.
1471 (malloc, realloc): Remove extern declarations.
1472
1473 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1474
1475 * NEWS: Update with 1.15.0 info.
1476 * README: Ditto.
1477 * acinclude.m4: Change version number to 1.15.0.
1478 * aclocal.m4: Regenerated.
1479 * configure: Ditto.
1480 * doc/aclocal.m4: Ditto.
1481 * doc/configure: Ditto.
1482 * libc/*/aclocal.m4: Ditto.
1483 * libc/*/configure: Ditto.
1484 * libc/libc.texinfo: Ditto.
1485 * libm/*/aclocal.m4: Ditto.
1486 * libm/*/configure: Ditto.
1487 * libm/libm.texinfo: Ditto.
1488 * libc/sys/linux/shared.ld: Add VERS_1.15.
1489
1490 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
1491
1492 Merge from newlib-csl-20060320-branch:
1493 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
1494 Kazu Hirata <kazu@codesourcery.com>
1495
1496 * configure.host: Recognize fido.
1497
1498 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
1499
1500 * libc/machine/spu/c99ppe.h: New file
1501 * libc/machine/spu/perror.c: New file to override libc/stdio version.
1502 * libc/machine/spu/printf.c: New file
1503 * libc/machine/spu/putchar.c: New file
1504 * libc/machine/spu/puts.c: New file
1505 * libc/machine/spu/vprintf.c: New file
1506 * libc/machine/spu/vsnprintf.c: New file
1507 * libc/machine/spu/vsprintf.c: New file
1508 * libc/machine/spu/Makefile.am: Add new targets.
1509 * libc/machine/spu/Makefile.in: Regenerated.
1510
1511 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1512
1513 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
1514 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
1515
1516 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1517
1518 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
1519 2.6.5 version of Doug Lea's malloc which is the basis of
1520 this code.
1521
1522 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
1523
1524 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
1525
1526 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
1527 Eric Blake <ebb9@byu.net>
1528
1529 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
1530 read but unused data.
1531 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
1532 even read streams may have side effects that must happen.
1533
1534 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1535
1536 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
1537 correctly.
1538
1539 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1540
1541 * libc/include/alloca.h: Add undef alloca to work with xlc.
1542
1543 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
1544
1545 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
1546 cell spu.
1547
1548 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1549
1550 * libc/machine/spu/strncpy.c: Add padding.
1551
1552 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1553
1554 * testsuite/newlib.string/tstring.c:
1555
1556 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
1557
1558 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
1559 * libc/machine/spu/strrchr.c: Ditto.
1560
1561 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
1562
1563 * libc/include/math.h: Allow C99 functions/macros to be
1564 defined for C++ even when __STRICT_ANSI__.
1565
1566 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
1567
1568 * libc/stdio/makebuf.c (__smakebuf): If dealing with
1569 an asprintf-family buffer, make the default initial size 64.
1570
1571 2006-11-29 Eric Blake <ebb9@byu.net>
1572
1573 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
1574 asprintf, as well as quadratic realloc behavior.
1575
1576 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
1577
1578 * libc/machine/spu/memset.c: Fix type of explicit cast.
1579 * libc/machine/spu/strncmp.c: Add explicit cast.
1580 * libc/machine/spu/strrchr.c: Ditto.
1581 * libc/machine/spu/strspn.c: Ditto.
1582
1583 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
1584
1585 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
1586 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
1587 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
1588 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
1589 * libc/machine/spu/strncat.c: Explicit cast.
1590 * libc/machine/spu/strncmp.c: Use spu_splats.
1591 * libc/machine/spu/strncpy.c: Explicit cast.
1592 * libc/machine/spu/strrchr.c: Use spu_splats.
1593 * libc/machine/spu/strspn.c: Use spu_splats.
1594
1595 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
1596
1597 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
1598
1599 2006-11-14 Eric Blake <ebb9@byu.net>
1600
1601 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
1602 (chclass): ' is a flag. j, t, and z are modifiers.
1603
1604 2006-11-08 Jie Zhang <jie.zhang@analog.com>
1605
1606 * configure.host: Add support for bfin.
1607 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
1608 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
1609 * libc/machine/bfin/aclocal.m4: Generate.
1610 * libc/machine/bfin/configure.in: New.
1611 * libc/machine/bfin/configure: Generate.
1612 * libc/machine/bfin/Makefile.am: New.
1613 * libc/machine/bfin/Makefile.in: Generate.
1614 * libc/machine/bfin/setjmp.S: New.
1615 * libc/machine/bfin/longjmp.S: New.
1616 * libc/machine/configure.in: Add bfin support.
1617 * libc/machine/configure: Generate.
1618
1619 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
1620
1621 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
1622 (_PC_FILESIZEBITS): Add definition.
1623 (_PC_2_SYMLINKS): Ditto.
1624 (_PC_SYMLINK_MAX): Ditto.
1625
1626 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
1627
1628 * libc/machine/spu/memcpy.c: Override generic function with vectorized
1629 version optimized for the cell spu.
1630 * libc/machine/spu/memmove.c: Ditto.
1631 * libc/machine/spu/memset.c: Ditto.
1632 * libc/machine/spu/strcat.c: Ditto.
1633 * libc/machine/spu/strchr.c: Ditto.
1634 * libc/machine/spu/strcmp.c: Ditto.
1635 * libc/machine/spu/strcpy.c: Ditto.
1636 * libc/machine/spu/strcspn.c: Ditto.
1637 * libc/machine/spu/strlen.c: Ditto.
1638 * libc/machine/spu/strncat.c: Ditto.
1639 * libc/machine/spu/strncmp.c: Ditto.
1640 * libc/machine/spu/strncpy.c: Ditto.
1641 * libc/machine/spu/strpbrk.c: Ditto.
1642 * libc/machine/spu/strrchr.c: Ditto.
1643 * libc/machine/spu/strspn.c: Ditto.
1644 * libc/machine/spu/strxfrm.c: Ditto.
1645 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
1646 removing altivec style initializers.
1647 * libc/machine/spu/Makefile.am: Add new files to list so they build
1648 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
1649
1650 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
1651
1652 * README: Add a brief section on how to regenerate
1653 configuration files in newlib.
1654
1655 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
1656
1657 * libc/include/math.h: (exception): Add a comment
1658 telling fixincludes that we handle C vs. C++ issue.
1659
1660 2006-10-11 Yang Tse <yangsita@gmail.com>
1661
1662 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
1663 braced-groups.
1664
1665 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
1666
1667 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
1668
1669 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
1670
1671 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
1672 for clearerr, feof, or fileno.
1673 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
1674 the dummy std stream scheme to use pointers to const external
1675 fake files, one for each standard stream.
1676 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
1677 argument. For _REENT_SMALL, reset the file pointer if it
1678 matches one of the fake std stream pointers.
1679 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
1680 argument.
1681 * libc/stdio/fclose.c: Ditto.
1682 * libc/stdio/feof.c: Ditto.
1683 * libc/stdio/ferror.c: Ditto.
1684 * libc/stdio/fflush.c: Ditto.
1685 * libc/stdio/fgetc.c: Ditto.
1686 * libc/stdio/fgets.c: Ditto.
1687 * libc/stdio/fileno.c: Ditto.
1688 * libc/stdio/findfp.c: Ditto.
1689 * libc/stdio/fputc.c: Ditto.
1690 * libc/stdio/fputs.c: Ditto.
1691 * libc/stdio/fread.c: Ditto.
1692 * libc/stdio/freopen.c: Ditto.
1693 * libc/stdio/fseek.c: Ditto.
1694 * libc/stdio/ftell.c: Ditto.
1695 * libc/stdio/fwrite.c: Ditto.
1696 * libc/stdio/getc.c: Ditto.
1697 * libc/stdio/getdelim.c: Ditto.
1698 * libc/stdio/putc.c: Ditto.
1699 * libc/stdio/refill.c: Ditto.
1700 * libc/stdio/setvbuf.c: Ditto.
1701 * libc/stdio/ungetc.c: Ditto.
1702 * libc/stdio/vfprintf.c: Ditto.
1703 * libc/stdio/vfscanf.c: Ditto.
1704 * libc/stdio/wbuf.c: Ditto.: Ditto.
1705 * libc/stdio/wsetup.c: Ditto.
1706 * libc/stdio64/freopen64.c: Ditto.
1707 * libc/stdio64/fseeko64.c: Ditto.
1708 * libc/stdio64/ftello64.c: Ditto.
1709 * libc/machine/powerpc/vfprintf.c: Ditto.
1710 * libc/machine/powerpc/vfscanf.c: Ditto.
1711
1712 2006-09-22 Paul Brook <paul@codesourcery.com>
1713
1714 * libc/include/sys/reent.h: Define and use __reent_assert.
1715
1716 2006-09-13 Joel Sherrill <joel@oarcorp.com>
1717
1718 * libc/include/pthread.h: Add pthread barriers,
1719 rwlocks, and spinlocks. Change const to
1720 _CONST and prefix parameter names with
1721 an underscore.
1722 * libc/include/sys/types.h: Add id and attribute
1723 types for barriers, wrlocks, and spinlocks.
1724 * libc/include/sys/features.h: Enable barriers,
1725 wrlocks, and spinlocks for RTEMS.
1726
1727 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
1728
1729 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
1730 supposed to be writable.
1731 * libm/common/s_lib_ver.c: Ditto.
1732
1733 2006-09-12 Paul Brook <paul@codesourcery.com>
1734
1735 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
1736
1737 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
1738
1739
1740 * libc/machine/xstormy16/Makefile.am:
1741 Add $(lpfx) prefix to LIBADD objects.
1742 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
1743 * libc/machine/xstormy16/Makefile.in: Regenerated.
1744
1745 2006-09-06 Eric Blake <ebb9@byu.net>
1746
1747 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
1748 't', and 'z' modifiers.
1749
1750 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
1751
1752 Merge from newlib-csl-20060320-branch:
1753 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
1754
1755 * configure.host: Tell it we have _rename and _system when
1756 building m68k-unknown-elf.
1757
1758 2006-08-29 Paul Brook <paul@codesourcery.com>
1759
1760 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
1761
1762 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
1763
1764 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
1765 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
1766 This is needed to build all AVR and H8300 RTEMS multilib variants.
1767
1768 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
1769
1770 * libc/machine/configure.in: Add configuration for SPU.
1771 * libc/machine/configure: Regenerated.
1772 * libc/machine/spu/memcpy.c: Include string.h.
1773
1774 2006-08-22 Eric Blake <ebb9@byu.net>
1775
1776 * libc/posix/popen.c (popen): Don't close output end of pipe in
1777 child if stdout was closed on entry.
1778 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
1779
1780 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
1781
1782 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
1783 line.
1784
1785 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
1786
1787 * libc/time/gmtime.c: Correct man page; clock is not a
1788 local time and no conversion occurs.
1789
1790 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1791
1792 * configure.host (newlib_cflags) [spu]: Add special compiler
1793 options to reduce size.
1794
1795 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1796
1797 * configure.host: Add spu support.
1798 * libc/include/stdint.h: Ditto.
1799 * libc/include/machine/ieeefp.h: Ditto.
1800 * libc/include/machine/setjmp.h: Ditto.
1801 * libc/include/sys/config.h: Ditto.
1802 * libc/include/sys/types.h: Ditto.
1803 * libc/machine/spu/Makefile.am: New file.
1804 * libc/machine/spu/Makefile.in: Ditto.
1805 * libc/machine/spu/aclocal.m4: Ditto.
1806 * libc/machine/spu/configure: Ditto.
1807 * libc/machine/spu/configure.in: Ditto.
1808 * libc/machine/spu/memcpy.c: Ditto.
1809 * libc/machine/spu/setjmp.S: Ditto.
1810
1811 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
1812
1813 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
1814 properly.
1815
1816 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
1817
1818 * libc/Makefile.am: Add libc_TEXINFOS dependency on
1819 generated .texi files.
1820 * libm/Makefile.am: Add libm_TEXINFOS dependency on
1821 generated .texi files.
1822 * libc/Makefile.in: Regenerated.
1823 * libm/Makefile.in: Ditto.
1824
1825 2006-08-01 Thiemo Seufer <ths@mips.com>
1826 Nigel Stephens <nigel@mips.com>
1827
1828 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
1829 define this to force _impure_ptr to live in the .sdata section.
1830
1831 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1832
1833 * acinclude.m4: Check for readelf tool.
1834 * configure.in: Use ${READELF} instead of hard-coding.
1835 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1836
1837 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1838
1839 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
1840 to avoid conflict with newer glibc's revision of mremap.
1841
1842 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
1843
1844 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
1845 floating-point format support. Also redefine
1846 dword0 and dword1 macros.
1847 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
1848 to prevent setting dword1 which is an rvalue only.
1849
1850 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
1851
1852 * libc/stdlib/Makefile.am: Add new gdtoa routines.
1853 * libc/stdlib/Makefile.in: Regenerated.
1854 * libc/stdlib/gd_qnan.h: New file.
1855 * libc/stdlib/gdtoa-gethex.c: Ditto.
1856 * libc/stdlib/gdtoa-hexnan.c: Ditto.
1857 * libc/stdlib/gdtoa.h: Ditto.
1858 * libc/stdlib/mprec.c: Add new helper routines needed by
1859 the new gdtoa code.
1860 * libc/stdlib/mprec.h: Integrate some defines and prototypes
1861 used by gdtoa routines here.
1862 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
1863 which adds C99 support such as nan, inf, and hexadecimal input
1864 format.
1865
1866 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
1867
1868 * libc/include/stdio.h (__sgetc_r): Fix typo.
1869 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
1870 * libc/stdio/rget.c (__srbuf): Reinstantiate.
1871 * libc/stdio/wbuf.c (__swbuf): Ditto.
1872
1873 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
1874
1875 * libc/include/stdio.h: Add new reentrant I/O prototypes for
1876 read/write functions. Change getc/putc macros to have reentrant underlying
1877 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
1878 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
1879 new reentrant I/O functions/macros for reading/writing.
1880 * libc/stdio/fgets.c: Ditto.
1881 * libc/stdio/fputc.c: Ditto.
1882 * libc/stdio/fputs.c: Ditto.
1883 * libc/stdio/fread.c: Ditto.
1884 * libc/stdio/fseek.c: Ditto.
1885 * libc/stdio64/fseeko64.c: Ditto.
1886 * libc/stdio/fwrite.c: Ditto.
1887 * libc/stdio/getc.c: Ditto.
1888 * libc/stdio/getc_u.c: Ditto.
1889 * libc/stdio/getchar.c: Ditto.
1890 * libc/stdio/getchar_u.c: Ditto.
1891 * libc/stdio/putc.c: Ditto.
1892 * libc/stdio/putc_u.c: Ditto.
1893 * libc/stdio/putchar.c: Ditto.
1894 * libc/stdio/puts.c: Ditto.
1895 * libc/stdio/vfprintf.c: Ditto.
1896 * libc/stdio/vfscanf.c: Ditto.
1897 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
1898 Change all previous callers of __sfvwrite. Set errno to EBADF and
1899 set error flag on if attempt is made to write to file that does not
1900 allow writing.
1901 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
1902 * libc/stdio/local.h: Ditto.
1903 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
1904 Set errno to EBADF and the error flag on if attempt is made to
1905 read unreadable file. Change all previous callers of __srefill.
1906 * libc/stdio/rget.c
1907 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
1908 all previous callers of __swbuf.
1909 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
1910 huge value macros are already defined correctly for i386 by <math.h>.
1911
1912 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
1913
1914 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
1915 Make them do something useful in the ARM_RDI_MONITOR case.
1916
1917 2006-06-07 Fred Fish <fnf@specifix.com>
1918
1919 * libc/search/hash_bigkey.c (MIN,MAX): Remove
1920 defines that are already supplied by <sys/param.h>.
1921
1922 2006-06-07 Fred Fish <fnf@specifix.com>
1923
1924 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
1925
1926 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1927
1928 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
1929 usleep.c.
1930 * libc/posix/Makefile.in: Regenerate.
1931 * libc/posix/sleep.c: New file.
1932 * libc/posix/usleep.c: Ditto.
1933
1934 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1935
1936 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
1937 -DABORT_PROVIDED flag.
1938 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
1939 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
1940
1941 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
1942
1943 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
1944 * Makefile.in: Regenerated.
1945 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
1946 extraneous CFLAGS reference now that CCASFLAGS are being extended
1947 properly via multilib.
1948 * libc/machine/sh/Makefile.in: Regenerated.
1949
1950 2006-06-02 Shaun Jackman <sjackman@gmail.com>
1951
1952 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
1953 sigismember.
1954
1955 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1956
1957 * libc/misc/dprintf.c: Removed.
1958 * libc/misc/__dprintf.c: Renamed from dprintf.c.
1959 * libc/misc/Makefile.am: Changed appropriately for rename.
1960 * libc/misc/Makefile.in: Regenerated.
1961
1962 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1963
1964 * libc/include/stdio.h: Protect dprintf prototype
1965 with #ifndef dprintf so as to not interfere with
1966 historical code defining their own dprintf macro.
1967
1968 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
1969
1970 * libc/include/stdio.h: Add prototypes for fiscanf,
1971 iscanf, and siscanf.
1972
1973 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
1974
1975 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
1976 (DEF_NEWLIB_VERSION).
1977 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
1978 * configure: Regenerate.
1979
1980 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
1981
1982 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
1983 lib_a_SOURCES.
1984 * libc/ctype/Makefile.in: Regenerated.
1985
1986 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
1987
1988 * libc/machine/arm/Makefile.am: Fix a typo.
1989 * libc/machine/arm/Makefile.in: Regenerated.
1990
1991 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
1992
1993 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1994 * libc/machine/sh/Makefile.in: Regenerate.
1995
1996 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
1997
1998 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1999 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2000
2001 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2002
2003 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2004 .s.
2005 * libc/sys/sysnec810/Makefile.in: Regenerated.
2006 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2007 * libc/sys/sysnec810/io.S: Ditto.
2008 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2009 * libc/sys/sysnec810/io.s: Ditto.
2010
2011 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2012
2013 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2014 be specified instead of object, do so.
2015 * libc/ctype/Makefile.am: Ditto.
2016 * libc/iconv/ccs/Makefile.am: Ditto.
2017 * libc/iconv/ces/Makefile.am: Ditto.
2018 * libc/iconv/lib/Makefile.am: Ditto.
2019 * libc/locale/Makefile.am: Ditto.
2020 * libc/posix/Makefile.am: Ditto.
2021 * libc/reent/Makefile.am: Ditto.
2022 * libc/search/Makefile.am: Ditto.
2023 * libc/stdio/Makefile.am: Ditto.
2024 * libc/stdio64/Makefile.am: Ditto.
2025 * libc/stdlib/Makefile.am: Ditto.
2026 * libc/string/Makefile.am: Ditto.
2027 * libc/syscalls/Makefile.am: Ditto.
2028 * libc/unix/Makefile.am: Ditto.
2029 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2030 prefix added automatically. Any specified rules must use $(lpfx) for
2031 object file names.
2032 * libc/machine/arm/Makefile.am: Ditto.
2033 * libc/machine/cris/Makefile.am: Ditto.
2034 * libc/machine/crx/Makefile.am: Ditto.
2035 * libc/machine/d10v/Makefile.am: Ditto.
2036 * libc/machine/d30v/Makefile.am: Ditto.
2037 * libc/machine/fr30/Makefile.am: Ditto.
2038 * libc/machine/frv/Makefile.am: Ditto.
2039 * libc/machine/h8300/Makefile.am: Ditto.
2040 * libc/machine/h8500/Makefile.am: Ditto.
2041 * libc/machine/hppa/Makefile.am: Ditto.
2042 * libc/machine/i386/Makefile.am: Ditto.
2043 * libc/machine/i960/Makefile.am: Ditto.
2044 * libc/machine/iq2000/Makefile.am: Ditto.
2045 * libc/machine/m32c/Makefile.am: Ditto.
2046 * libc/machine/m32r/Makefile.am: Ditto.
2047 * libc/machine/m68hc11/Makefile.am: Ditto.
2048 * libc/machine/m68k/Makefile.am: Ditto.
2049 * libc/machine/m88k/Makefile.am: Ditto.
2050 * libc/machine/mips/Makefile.am: Ditto.
2051 * libc/machine/mn10200/Makefile.am: Ditto.
2052 * libc/machine/mn10300/Makefile.am: Ditto.
2053 * libc/machine/mt/Makefile.am: Ditto.
2054 * libc/machine/necv70/Makefile.am: Ditto.
2055 * libc/machine/powerpc/Makefile.am: Ditto.
2056 * libc/machine/sh/Makefile.am: Ditto.
2057 * libc/machine/sh/Makefile.in: Ditto.
2058 * libc/machine/sparc/Makefile.am: Ditto.
2059 * libc/machine/tic4x/Makefile.am: Ditto.
2060 * libc/machine/tic80/Makefile.am: Ditto.
2061 * libc/machine/v850/Makefile.am: Ditto.
2062 * libc/machine/w65/Makefile.am: Ditto.
2063 * libc/machine/xscale/Makefile.am: Ditto.
2064 * libc/machine/xstormy16/Makefile.am: Ditto.
2065 * libc/machine/z8k/Makefile.am: Ditto.
2066 * libc/sys/a29khif/Makefile.am: Ditto.
2067 * libc/sys/arm/Makefile.am: Ditto.
2068 * libc/sys/d10v/Makefile.am: Ditto.
2069 * libc/sys/h8300hms/Makefile.am: Ditto.
2070 * libc/sys/h8500hms/Makefile.am: Ditto.
2071 * libc/sys/linux/Makefile.am: Ditto.
2072 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2073 * libc/sys/linux/net/Makefile.am: Ditto.
2074 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2075 * libc/sys/m88kbug/Makefile.am: Ditto.
2076 * libc/sys/mmixware/Makefile.am: Ditto.
2077 * libc/sys/rdos/Makefile.am: Ditto.
2078 * libc/sys/rtems/Makefile.am: Ditto.
2079 * libc/sys/sh/Makefile.am: Ditto.
2080 * libc/sys/sun4/Makefile.am: Ditto.
2081 * libc/sys/sysmec/Makefile.am: Ditto.
2082 * libc/sys/sysnec810/Makefile.am: Ditto.
2083 * libc/sys/sysnecv850/Makefile.am: Ditto.
2084 * libc/sys/sysvi386/Makefile.am: Ditto.
2085 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2086 * libc/sys/tic80/Makefile.am: Ditto.
2087 * libc/sys/w65/Makefile.am: Ditto.
2088 * libc/sys/z8ksim/Makefile.am: Ditto.
2089 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2090 * libc/machine/necv70/setjmp.S: Ditto.
2091 * libc/machine/necv70/fastmath.s: Removed.
2092 * libc/machine/necv70/setjmp.s: Ditto.
2093 * libc/machine/w65/*.S: New files renamed from .s files.
2094 * libc/machine/w65/*.s: Renamed and removed.
2095 * libc/sys/a29khif/*.S: New files renamed from .s files.
2096 * libc/sys/a29khif/*.s: Renamed and removed.
2097 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2098 * libc/sys/sysvi386/*.s: Renamed and removed.
2099 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2100 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2101 * libc/*Makefile.in: Regenerated as appropriate.
2102
2103 2006-04-24 DJ Delorie <dj@redhat.com>
2104
2105 * libc/machine/sh/configure.in: Avoid link tests.
2106 * libc/machine/sh/configure: Regenerate.
2107
2108 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2109
2110 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2111 (sigaddset, sigemptyset): Add return code.
2112
2113 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2114
2115 * acinclude.m4: New _NEWLIB_VERSION.
2116 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2117 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2118 Use new form of AC_INIT_AUTOMAKE.
2119 * configure.in: AC_PREREQ(2.59).
2120 Use autoconf-2.5.x version of AC_INIT.
2121 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2122 autoconf-2.13's AC_OUTPUT.
2123 * libm/configure.in: Ditto.
2124 * libm/machine/configure.in: Ditto.
2125 * libm/machine/i386/configure.in: Ditto.
2126 * libc/configure.in: Ditto.
2127 * libc/machine/a29k/configure.in: Ditto.
2128 * libc/machine/arm/configure.in: Ditto.
2129 * libc/machine/configure.in: Ditto.
2130 * libc/machine/mn10300/configure.in: Ditto.
2131 * libc/machine/powerpc/configure.in: Ditto.
2132 * libc/machine/z8k/configure.in: Ditto.
2133 * libc/machine/h8300/configure.in: Ditto.
2134 * libc/machine/mips/configure.in: Ditto.
2135 * libc/machine/crx/configure.in: Ditto.
2136 * libc/machine/m68hc11/configure.in: Ditto.
2137 * libc/machine/h8500/configure.in: Ditto.
2138 * libc/machine/xscale/configure.in: Ditto.
2139 * libc/machine/d10v/configure.in: Ditto.
2140 * libc/machine/fr30/configure.in: Ditto.
2141 * libc/machine/sh/configure.in: Ditto.
2142 * libc/machine/tic80/configure.in: Ditto.
2143 * libc/machine/m32r/configure.in: Ditto.
2144 * libc/machine/xstormy16/configure.in: Ditto.
2145 * libc/machine/i386/configure.in: Ditto.
2146 * libc/machine/d30v/configure.in: Ditto.
2147 * libc/machine/mn10200/configure.in: Ditto.
2148 * libc/machine/frv/configure.in: Ditto.
2149 * libc/machine/mt/configure.in: Ditto.
2150 * libc/machine/i960/configure.in: Ditto.
2151 * libc/machine/v850/configure.in: Ditto.
2152 * libc/machine/necv70/configure.in: Ditto.
2153 * libc/machine/tic4x/configure.in: Ditto.
2154 * libc/machine/cris/configure.in: Ditto.
2155 * libc/machine/m68k/configure.in: Ditto.
2156 * libc/machine/m32c/configure.in: Ditto.
2157 * libc/machine/hppa/configure.in: Ditto.
2158 * libc/machine/w65/configure.in: Ditto.
2159 * libc/machine/iq2000/configure.in: Ditto.
2160 * libc/machine/sparc/configure.in: Ditto.
2161 * libc/machine/m88k/configure.in: Ditto.
2162 * libc/sys/linux/configure.in: Ditto.
2163 * libc/sys/linux/machine/configure.in: Ditto.
2164 * libc/sys/linux/machine/i386/configure.in: Ditto.
2165 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2166 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2167 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2168 * libc/sys/arm/configure.in: Ditto.
2169 * libc/sys/configure.in: Ditto.
2170 * libc/sys/decstation/configure.in: Ditto.
2171 * libc/sys/a29khif/configure.in: Ditto.
2172 * libc/sys/sysnecv850/configure.in: Ditto.
2173 * libc/sys/d10v/configure.in: Ditto.
2174 * libc/sys/netware/configure.in: Ditto.
2175 * libc/sys/mmixware/configure.in: Ditto.
2176 * libc/sys/h8500hms/configure.in: Ditto.
2177 * libc/sys/sh/configure.in: Ditto.
2178 * libc/sys/tic80/configure.in: Ditto.
2179 * libc/sys/rdos/configure.in: Ditto.
2180 * libc/sys/sysmec/configure.in: Ditto.
2181 * libc/sys/sysvi386/configure.in: Ditto.
2182 * libc/sys/h8300hms/configure.in: Ditto.
2183 * libc/sys/sparc64/configure.in: Ditto.
2184 * libc/sys/arc/configure.in: Ditto.
2185 * libc/sys/sysnec810/configure.in: Ditto.
2186 * libc/sys/m88kbug/configure.in: Ditto.
2187 * libc/sys/sysvnecv70/configure.in: Ditto.
2188 * libc/sys/z8ksim/configure.in: Ditto.
2189 * libc/sys/rtems/configure.in: Ditto.
2190 * libc/sys/w65/configure.in: Ditto.
2191 * libc/sys/sun4/configure.in: Ditto.
2192 * doc/configure.in: Ditto.
2193 * iconvdata/configure.in: Ditto.
2194 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2195
2196 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2197
2198 * acinclude.m4: Properly add square brackets for
2199 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2200 macros no longer available. Add LIB_AM_PROG_AS to
2201 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2202 macro. Substitute lpfx (library object prefix).
2203 * configure.host: Set lpfx depending on whether
2204 libtool is used or not.
2205 * configure.in: Individually specify libc and libm
2206 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2207 necessary.
2208 * Makefile.am: Use $(lpfx) to get object names for
2209 math-library functions that should also be in libc.
2210 * libc/machine/configure.in: Use case statement to determine
2211 AC_CONFIG_SUBDIRS statement.
2212 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2213 * libc/sys/linux/machine/configure.in: Ditto.
2214 * libc/sys/configure.in: Ditto.
2215 * libm/machine/configure.in: Ditto.
2216 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2217 * libm/configure.in: Add AM_CONDITIONAL statement
2218 for HAVE_LIBM_MACHINE_DIR.
2219 * libc/machine/a29k/Makefile.am: Modified to work with
2220 latest automake. Change includes setting AM_CCASFLAGS
2221 so building .S files will properly pick up flags used
2222 to build C files.
2223 * libc/machine/arm/Makefile.am: Ditto.
2224 * libc/machine/crx/Makefile.am: Ditto.
2225 * libc/machine/d10v/Makefile.am: Ditto.
2226 * libc/machine/d30v/Makefile.am: Ditto.
2227 * libc/machine/fr30/Makefile.am: Ditto.
2228 * libc/machine/frv/Makefile.am: Ditto.
2229 * libc/machine/h8300/Makefile.am: Ditto.
2230 * libc/machine/h8500/Makefile.am: Ditto.
2231 * libc/machine/hppa/Makefile.am: Ditto.
2232 * libc/machine/i386/Makefile.am: Ditto.
2233 * libc/machine/iq2000/Makefile.am: Ditto.
2234 * libc/machine/m32c/Makefile.am: Ditto.
2235 * libc/machine/m32r/Makefile.am: Ditto.
2236 * libc/machine/m68hc11/Makefile.am: Ditto.
2237 * libc/machine/m68k/Makefile.am: Ditto.
2238 * libc/machine/m88k/Makefile.am: Ditto.
2239 * libc/machine/mips/Makefile.am: Ditto.
2240 * libc/machine/mn10200/Makefile.am: Ditto.
2241 * libc/machine/mn10300/Makefile.am: Ditto.
2242 * libc/machine/mt/Makefile.am: Ditto.
2243 * libc/machine/necv70/Makefile.am: Ditto.
2244 * libc/machine/powerpc/Makefile.am: Ditto.
2245 * libc/machine/sh/Makefile.am: Ditto.
2246 * libc/machine/sparc/Makefile.am: Ditto.
2247 * libc/machine/tic4x/Makefile.am: Ditto.
2248 * libc/machine/tic80/Makefile.am: Ditto.
2249 * libc/machine/v850/Makefile.am: Ditto.
2250 * libc/machine/w65/Makefile.am: Ditto.
2251 * libc/machine/xscale/Makefile.am: Ditto.
2252 * libc/machine/xstormy16/Makefile.am: Ditto.
2253 * libc/machine/z8k/Makefile.am: Ditto.
2254 * libc/sys/a29khif/Makefile.am: Ditto.
2255 * libc/sys/arc/Makefile.am: Ditto.
2256 * libc/sys/arm/Makefile.am: Ditto.
2257 * libc/sys/d10v/Makefile.am: Ditto.
2258 * libc/sys/decstation/Makefile.am: Ditto.
2259 * libc/sys/h8300hms/Makefile.am: Ditto.
2260 * libc/sys/h8500hms/Makefile.am: Ditto.
2261 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2262 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2263 * libc/sys/m88kbug/Makefile.am: Ditto.
2264 * libc/sys/mmixware/Makefile.am: Ditto.
2265 * libc/sys/netware/Makefile.am: Ditto.
2266 * libc/sys/rdos/Makefile.am: Ditto.
2267 * libc/sys/rtems/Makefile.am: Ditto.
2268 * libc/sys/sh/Makefile.am: Ditto.
2269 * libc/sys/sparc64/Makefile.am: Ditto.
2270 * libc/sys/sysmec/Makefile.am: Ditto.
2271 * libc/sys/sysnec810/Makefile.am: Ditto.
2272 * libc/sys/sysnecv850/Makefile.am: Ditto.
2273 * libc/sys/sysvi386/Makefile.am: Ditto.
2274 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2275 * libc/sys/tic80/Makefile.am: Ditto.
2276 * libc/sys/w65/Makefile.am: Ditto.
2277 * libc/sys/z8ksim/Makefile.am: Ditto.
2278 * libm/machine/i386/Makefile.am: Ditto.
2279 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
2280 trap.S so that automake will generate a .S.o suffix rule.
2281 * libc/argz/Makefile.am: Modified to work with
2282 latest automake. Change includes adding lib_a_CFLAGS
2283 so automake doesn't complain about libtool and non-libtool
2284 libraries sharing objects.
2285 * libc/ctype/Makefile.am: Ditto.
2286 * libc/errno/Makefile.am: Ditto.
2287 * libc/iconv/ccs/Makefile.am: Ditto.
2288 * libc/iconv/ces/Makefile.am: Ditto.
2289 * libc/iconv/lib/Makefile.am: Ditto.
2290 * libc/locale/Makefile.am: Ditto.
2291 * libc/misc/Makefile.am: Ditto.
2292 * libc/posix/Makefile.am: Ditto.
2293 * libc/reent/Makefile.am: Ditto.
2294 * libc/search/Makefile.am: Ditto.
2295 * libc/signal/Makefile.am: Ditto.
2296 * libc/stdio/Makefile.am: Ditto.
2297 * libc/stdio64/Makefile.am: Ditto.
2298 * libc/stdlib/Makefile.am: Ditto.
2299 * libc/string/Makefile.am: Ditto.
2300 * libc/sys/linux/Makefile.am: Ditto.
2301 * libc/sys/linux/argp/Makefile.am: Ditto.
2302 * libc/sys/linux/cmath/Makefile.am: Ditto.
2303 * libc/sys/linux/dl/Makefile.am: Ditto.
2304 * libc/sys/linux/iconv/Makefile.am: Ditto.
2305 * libc/sys/linux/intl/Makefile.am: Ditto.
2306 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2307 * libc/sys/linux/net/Makefile.am: Ditto.
2308 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2309 * libc/syscalls/Makefile.am: Ditto.
2310 * libc/time/Makefile.am: Ditto.
2311 * libc/unix/Makefile.am: Ditto.
2312 * libm/Makefile.am: Ditto.
2313 * libm/common/Makefile.am: Ditto.
2314 * libm/math/Makefile.am: Ditto.
2315 * libm/mathfp/Makefile.am: Ditto.
2316 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2317
2318 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
2319
2320 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
2321 anymore. Assume there is a gettimeofday syscall.
2322
2323 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2324
2325 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
2326 for the declaration of n_long.
2327
2328 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2329
2330 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
2331 struct sockaddr.
2332 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
2333 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
2334 (IFF_NOTRAILERS): New define.
2335 (struct ifreq): Add ifru_netmask.
2336 (ifr_netmask): New define.
2337
2338 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2339
2340 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
2341 match sys/ioctl.h.
2342
2343 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2344
2345 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
2346 linux-newlib libc implementations.
2347
2348 2006-03-29 Eric Blake <ebb9@byu.net>
2349
2350 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
2351 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
2352
2353 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2354
2355 * libc/sys/linux/io.c (__mknod): Fix declaration of
2356 syscall to pass a dev_t as third argument rather than
2357 a pointer to dev_t.
2358
2359 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2360
2361 * libc/sys/linux/net/name6.c: Fix struct references.
2362
2363 2006-03-22 Mark Mitchell <mark@codesourcery.com>
2364
2365 * configure.host: Allow hosts to set the default
2366 newlib_atexit_dynamic_alloc value.
2367 * configure.in: Likewise.
2368 * configure: Regenerated.
2369
2370 2006-03-20 Mark Mitchell <mark@codesourcery.com>
2371
2372 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
2373 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
2374 option.
2375 * configure: Regenerated.
2376 * newlib.hin: Regenerated.
2377 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
2378 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2379 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
2380 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2381
2382 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
2383
2384 * libc/sys/linux/linuxthreads/config.h: Remove definition
2385 of UINT32_C.
2386
2387 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
2388
2389 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
2390 for a string I/O file that isn't using the asprintf family.
2391
2392 2006-03-07 Eric Blake <ebb9@byu.net>
2393
2394 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
2395 filename, allow read-only or write-only FILE atop O_RDWR file
2396 descriptor.
2397 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
2398
2399 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
2400
2401 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
2402 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
2403
2404 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
2405
2406 * libm/math/math.tex: Fix reference to sisnan.def which
2407 is now in common subdirectory.
2408 * libm/mathfp/mathfp.tex: Ditto.
2409
2410 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
2411
2412 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
2413 s_isnand, and sf_isnanf object files.
2414 * Makefile.in: Regenerated.
2415 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
2416 conflict if <math.h> has previously been included.
2417 * libc/include/math.h
2418 * libc/include/math.h: Make isnan and isinf macros to
2419 conform to C99.
2420 (__isinfd, __isinff, __isnand, __isnanf): New functions.
2421 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
2422 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
2423 sf_isinf files which have been moved from math/mathfp directories.
2424 * libm/common/Makefile.in: Regenerated.
2425 * libm/common/s_isinfd.c: New file.
2426 * libm/common/s_isnand.c: Ditto.
2427 * libm/common/sf_isinff.c: Ditto.
2428 * libm/common/sf_isnanf.c: Ditto.
2429 * libm/common/s_isinf.c: Moved from libm/math directory.
2430 * libm/common/s_isnan.c: Ditto.
2431 * libm/common/sf_isinf.c: Ditto.
2432 * libm/common/sf_isnan.c: Ditto.
2433 * libm/math/Makefile.am: Remove isinf and isnan family functions
2434 which have been moved into common directory.
2435 * libm/mathfp/Makefile.am: Ditto.
2436 * libm/math/Makefile.in: Regenerated.
2437 * libm/mathfp/Makefile.in: Ditto.
2438 * libm/math/s_isinf.c: Removed.
2439 * libm/math/s_isnan.c: Ditto.
2440 * libm/math/sf_isinf.c: Ditto.
2441 * libm/math/sf_isnan.c: Ditto.
2442 * libm/mathfp/s_isinf.c: Ditto.
2443 * libm/mathfp/s_isnan.c: Ditto.
2444 * libm/mathfp/sf_isinf.c: Ditto.
2445 * libm/mathfp/sf_isnan.c: Ditto.
2446
2447 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
2448
2449 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
2450 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
2451 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
2452 seek, turn off the __SNPT no-optimization flag.
2453
2454 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
2455
2456 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
2457 will be defined.
2458 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
2459 <features.h> to preset special flags.
2460
2461 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
2462
2463 * libc/include/sys/time.h (struct timeval): Change member types
2464 according to SUSv3.
2465 * libc/include/sys/types.h (useconds_t): Change to unsigned
2466 according to SUSv3.
2467 (suseconds_t): Define type.
2468
2469 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
2470 David Carne <davidcarne@gmail.com>
2471
2472 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
2473 instead of strlen to determine number of bytes to copy.
2474 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
2475 before looking at storage location.
2476
2477 2006-02-07 Paul Brook <paul@codesourcery.com>
2478
2479 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
2480 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
2481 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
2482 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
2483 * libc/sys/arm/trap.S: Disable for Thumb-2.
2484
2485 2006-01-31 Leif Ekblad <leif@rdos.net>
2486
2487 * configure.host: RDOS support added
2488 * libc/include/sys/config.h: Ditto.
2489 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
2490 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
2491 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
2492 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
2493 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
2494 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
2495 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
2496 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
2497 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
2498 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
2499 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
2500 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
2501 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
2502 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
2503 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
2504 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
2505 * libc/sys/rdos/write.c: Ditto.
2506
2507 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
2508
2509 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
2510 so as not to define PACKAGE and VERSION in newlib.h.
2511 * aclocal.m4: Regenerated.
2512 * configure: Ditto.
2513 * newlib.hin: Ditto.
2514
2515 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
2516
2517 * acconfig.h: New file to generate newlib.hin from.
2518 * newlib.hin: Regenerated.
2519 * stamp-h.in: Regenerated.
2520 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
2521 called automatically.
2522 * Makefile.in: Regenerated.
2523 * acinclude.m4: Add proper comment for hack in previous change.
2524 * aclocal.m4 */aclocal.m4: Regenerated.
2525 * configure */configure: Regenerated.
2526
2527 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
2528
2529 * acinclude.m4: Add hack to prevent INSTALL in subdirs
2530 from being set to "../".
2531 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
2532 * aclocal.m4: Regenerated.
2533 * configure: Ditto.
2534 * Makefile.in: Ditto.
2535 * doc/aclocal.m4: Ditto.
2536 * doc/configure: Ditto.
2537 * iconvdata/aclocal.m4: Ditto.
2538 * iconvdata/configure: Ditto.
2539 * libc/*/aclocal.m4: Ditto.
2540 * libc/*/configure: Ditto.
2541 * libc/libc.texinfo: Ditto.
2542 * libm/*/aclocal.m4: Ditto.
2543 * libm/*/configure: Ditto.
2544
2545 2006-01-10 Eric Blake <ebb9@byu.net>
2546
2547 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
2548 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2549
2550 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
2551
2552 * libm/mathfp/s_frexp.c: Check for special values on
2553 the original input, not the manipulated output value.
2554 * libm/mathfp/sf_frexp.c: Ditto.
2555 * libm/mathfp/s_atangent.c: Don't use local value branch
2556 when checking for quadrant.
2557 * libm/mathfp/sf_atangent.c: Ditto.
2558
2559 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
2560
2561 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
2562 * libc/stdio64/freopen64.c: Ditto.
2563
2564 2006-01-09 Eric Blake <ebb9@byu.net>
2565
2566 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
2567 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2568
2569 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
2570
2571 * libc/sys/linux/include/getopt.h: Add macros needed by
2572 new version of getopt.c in libc/stdlib.
2573
2574 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
2575
2576 * libc/stdlib/getopt.c: Replaced with version
2577 that adds getopt_long and getopt_long_only support.
2578 * libc/include/getopt.h: New file.
2579
2580 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2581
2582 * NEWS: Update with 1.14.0 info.
2583 * README: Ditto.
2584 * acinclude.m4: Change version number to 1.14.0.
2585 * aclocal.m4: Regenerated.
2586 * configure: Ditto.
2587 * doc/aclocal.m4: Ditto.
2588 * doc/configure: Ditto.
2589 * libc/*/aclocal.m4: Ditto.
2590 * libc/*/configure: Ditto.
2591 * libc/libc.texinfo: Ditto.
2592 * libm/*/aclocal.m4: Ditto.
2593 * libm/*/configure: Ditto.
2594 * libm/libm.texinfo: Ditto.
2595 * libc/sys/linux/shared.ld: Add VERS_1.14.
2596
2597 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2598
2599 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
2600 take a pointer to struct stat64 rather than struct stat.
2601
2602 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
2603
2604 * libc/include/stdint.h: Prefer long over int for int32_t.
2605 Use __have_long32 to set up int32_t.
2606 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
2607 (Sync with stdint.h).
2608
2609 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
2610
2611 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
2612 typo in O_NDELAY comment.
2613
2614 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
2615
2616 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
2617 * libc/include/machine/setjmp.h (__mt__): Likewise.
2618 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
2619 * libc/machine/configure.in: Ditto.
2620
2621 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
2622
2623 * configure.host: Replace ms1 arch with mt arch.
2624 * libc/machine/mt: Renamed from ms1 dir.
2625
2626 2005-12-08 Shaun Jackman <sjackman@gmail.com>
2627
2628 * libc/include/sys/types.h: Remove the ifdef armour around
2629 standard POSIX types.
2630
2631 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2632
2633 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
2634 rtems_gxx_key_delete, rtems_gxx_getspecific,
2635 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
2636 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
2637 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
2638
2639 2005-12-05 Christopher Faylor <cgf@timesys.com>
2640
2641 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
2642 file. Declare unsetenv and _unsetenv_r when not cygwin.
2643
2644 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
2645
2646 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
2647 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
2648
2649 2005-11-18 Christopher Faylor <cgf@timesys.com>
2650
2651 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
2652
2653 2005-11-18 Christopher Faylor <cgf@timesys.com>
2654
2655 * include/time.h: Remove more cygwin-specific stuff.
2656
2657 2005-11-18 Christopher Faylor <cgf@timesys.com>
2658
2659 * include/time.h: Move cygwin declarations to cygwin-specific header.
2660 * include/sys/time.h: Rename cygwin include to "sys_time.h".
2661
2662 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
2663
2664 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
2665 in libc/sys/linux/include.
2666 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
2667 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
2668 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
2669 in libc/sys/linux/dl.
2670
2671 2005-11-11 Christopher Faylor <cgf@timesys.com>
2672
2673 * libc/include/sys/time.h: For cygwin, use general header rather than
2674 specific "sys/select.h".
2675
2676 2005-11-08 Tom Walsh <tom@openhardware.net>
2677
2678 * libc/time/tzvars.c: New file.
2679 * libc/time/tzset_r.c: Moved globals into tzvars.c
2680 so other time functions needn't link in __tzset_r and its
2681 dependencies.
2682 * libc/time/Makefile.am: Add the new file.
2683 * libc/time/Makefile.in: Regenerated.
2684
2685 2005-11-08 Christopher Faylor <cgf@timesys.com>
2686
2687 * libc/include/string.h: Add cygwin-specific function declaration.
2688
2689 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
2690
2691 * libc/include/ieeefp.h: Add C++ guards.
2692
2693 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
2694
2695 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
2696 * libc/unix/getlogin.c: Ditto.
2697 * libc/unix/getpass.c: Ditto.
2698 * libc/unix/getut.c: Ditto.
2699 * libc/unix/ttyname.c: Ditto.
2700
2701 2005-11-03 Shaun Jackman <sjackman@gmail.com>
2702
2703 * libc/include/sys/unistd.h (readlink, symlink): Provide these
2704 prototypes by default.
2705 * libc/sys/linux/include/unistd.h (readlink): Remove this
2706 prototype.
2707 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
2708 prototypes.
2709
2710 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
2711
2712 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
2713
2714 2005-10-31 Darin Johnson <darin@usa.net>
2715
2716 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
2717 correct for constants.
2718
2719 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2720
2721 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
2722 * libc/stdio/siscanf.c: Likewise.
2723 * libc/stdio/sprintf.c: Likewise.
2724 * libc/stdio/sscanf.c: Likewise.
2725 * libc/stdio/vfprintf.c: Likewise.
2726 * libc/stdio/vfscanf.c: Likewise.
2727 * libc/stdio/viprintf.c: Likewise.
2728 * libc/stdio/viscanf.c: Likewise.
2729
2730 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2731
2732 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
2733 example to use "_end" symbol instead of "end". Change write example
2734 to use "outbyte" instead of "writechar".
2735
2736 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2737
2738 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
2739 * libc/ctype/islower.c: Likewise.
2740 * libc/ctype/isupper.c: Likewise.
2741 * libc/ctype/iswalnum.c: Likewise.
2742 * libc/ctype/iswalpha.c: Likewise.
2743 * libc/ctype/iswblank.c: Likewise.
2744 * libc/ctype/iswcntrl.c: Likewise.
2745 * libc/ctype/iswdigit.c: Likewise.
2746 * libc/ctype/iswgraph.c: Likewise.
2747 * libc/ctype/iswlower.c: Likewise.
2748 * libc/ctype/iswprint.c: Likewise.
2749 * libc/ctype/iswpunct.c: Likewise.
2750 * libc/ctype/iswspace.c: Likewise.
2751 * libc/ctype/iswupper.c: Likewise.
2752 * libc/ctype/iswxdigit.c: Likewise.
2753 * libc/ctype/tolower.c: Likewise.
2754 * libc/ctype/toupper.c: Likewise.
2755 * libc/ctype/towctrans.c: Likewise.
2756 * libc/ctype/towlower.c: Likewise.
2757 * libc/ctype/towupper.c: Likewise.
2758 * libc/string/strcasecmp.c: Likewise.
2759 * libc/string/strcoll.c: Likewise.
2760 * libc/string/strings.tex: Likewise.
2761 * libc/string/strlwr.c: Likewise.
2762 * libc/string/strncasecmp.c: Likewise.
2763 * libc/string/strupr.c: Likewise.
2764 * libc/string/wcscoll.c: Likewise.
2765 * libc/string/wcslcat.c: Likewise.
2766 * libc/string/wcslcpy.c: Likewise.
2767 * libc/string/wcsnlen.c: Likewise.
2768 * libc/string/wcsstr.c: Likewise.
2769 * libc/string/wcstrings.tex: Likewise.
2770 * libc/string/wmemchr.c: Likewise.
2771 * libc/string/wmemcmp.c: Likewise.
2772 * libc/string/wmemcpy.c: Likewise.
2773 * libc/string/wmemmove.c: Likewise.
2774 * libc/string/wmemset.c: Likewise.
2775
2776 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2777
2778 * libc/misc/unctrl.c: Replace FUNCTION description.
2779 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
2780 * libc/stdio/getdelim.c: Fix spelling errors.
2781 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
2782 * libc/stdio/putw.c: Likewise.
2783 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
2784 documentation.
2785 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
2786 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
2787 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
2788 * libc/stdlib/mlock.c: Likewise.
2789 * libc/stdlib/mstats.c: Likewise.
2790 * libc/time/tzlock.c: Likewise.
2791 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
2792 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
2793 and hyphenate "pseudo-random".
2794 * libc/string/bcmp.c: Remove extra blank lines in documentation.
2795 * libc/string/strncat.c: Likewise.
2796 * libc/string/memchr.c: Remove extra ">" character in documentation.
2797 * libc/string/strcspn.c: Use "characters" instead of "chars".
2798 * libc/string/strpbrk.c: Likewise.
2799 * libc/string/strerror_r.c: Capitalize "GNU".
2800 * libc/string/strnlen.c: Likewise.
2801 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
2802 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
2803 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
2804 * libc/string/wcschr.c: Likewise.
2805 * libc/string/wcscmp.c: Likewise.
2806 * libc/string/wcscpy.c: Likewise.
2807 * libc/string/wcscspn.c: Likewise.
2808 * libc/string/wcslen.c: Likewise.
2809 * libc/string/wcsncat.c: Likewise.
2810 * libc/string/wcsncmp.c: Likewise.
2811 * libc/string/wcsncpy.c: Likewise.
2812 * libc/string/wcsnlen.c: Likewise.
2813 * libc/string/wcspbrk.c: Likewise.
2814 * libc/string/wcsrchr.c: Likewise.
2815 * libc/string/wcsspn.c: Likewise.
2816 * libc/string/wmemchr.c: Likewise.
2817 * libc/string/wmemcmp.c: Likewise.
2818 * libc/string/wmemcpy.c: Likewise.
2819 * libc/string/wmemset.c: Likewise.
2820 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
2821 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
2822 * libc/string/wcwidth.c: Likewise.
2823 * libm/common/s_modf.c: Remove extra period from documentation.
2824 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
2825 documentation.
2826 * libm/mathfp/s_isnan.c: Likewise.
2827 * libm/math/s_ldexp.c: Fix punctuation.
2828 * libm/mathfp/s_ldexp.c: Likewise.
2829 * libm/math/w_log.c: Likewise.
2830 * libm/mathfp/s_logarithm.c: Likewise.
2831 * libm/math/w_j0.c: Add spaces to FUNCTION description.
2832 * libm/mathfp/w_jn.c: Likewise.
2833
2834 2005-10-26 Shaun Jackman <sjackman@gmail.com>
2835
2836 * libc/posix/scandir.c (scandir): Update the function
2837 prototype to match the header.
2838 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
2839 extraneous #endif.
2840 * libc/sys/linux/sys/lock.h: Do not include
2841 machine/weakalias.h, since it's not used by this file.
2842
2843 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
2844
2845 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
2846 directories can override properly.
2847
2848 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
2849
2850 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
2851 gcc is 3.3 or greater, use special gcc builtins.
2852
2853 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
2854
2855 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
2856
2857 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
2858
2859 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
2860
2861 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2862
2863 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
2864 * libm/common/Makefile.am: Add s_infconst.c support.
2865 * libm/common/Makefile.in: Regenerated.
2866 * libm/common/s_infconst.c: New file with float and
2867 long double infinity support added.
2868 * libm/math/Makefile.am: Remove s_infconst.c support.
2869 * libm/math/Makefile.in: Regenerated.
2870 * libm/math/s_infconst.c: Moved to common directory.
2871 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
2872 * libm/mathfp/Makefile.in: Regenerated.
2873 * libm/mathfp/s_infconst.c: Moved to common directory.
2874
2875 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2876
2877 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
2878 dbgprintf to prevent conflict with new dprintf function.
2879
2880 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2881
2882 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
2883 "nan" processing for systems that have long double support.
2884
2885 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2886
2887 * libc/sys/linux/sys/types.h (int8_t): Add type.
2888
2889 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2890
2891 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
2892 * libm/common/Makefile.in: Regenerate.
2893 * libm/common/common.tex: Delete file.
2894 * libm/math/math.tex: Include .def files from common/.
2895 * libm/mathfp/mathfp.tex: Likewise.
2896
2897 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2898
2899 * libc/libc.texinfo (Top): Surround this node with @ifnottex
2900 instead of @ifinfo. Update menu to add Introduction and match
2901 SUBDIRS order.
2902 (Introduction): New section.
2903
2904 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2905
2906 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
2907 with "Red Hat newlib C Library".
2908 * libc/sys.tex (Stubs): Likewise.
2909 * libm/math/math.tex (Math): Likewise.
2910 * libm/mathfp/mathfp.tex (Math): Likewise.
2911
2912 2005-10-11 Shaun Jackman <sjackman@gmail.com>
2913
2914 * libc/include/stdio.h (dprintf): New declaration.
2915 (vdprintf): Ditto.
2916 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
2917 and vdprintf.c.
2918 * libc/stdio/Makefile.in: Regenerate.
2919 * libc/stdio/dprintf.c: New file.
2920 * libc/stdio/vdprintf.c: New file.
2921 * libc/stdio/stdio.tex (dprintf): New entry.
2922
2923 2005-10-11 David Weatherford <weath@tensilica.com>
2924
2925 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
2926 Print "inf" and "nan" in lowercase for e/f/g formats and in
2927 uppercase for E/F/G formats.
2928
2929 2005-10-07 Bob Wilson <bob.wilson@acm.org>
2930
2931 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
2932 to ENOMEM on failure.
2933
2934 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2935
2936 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
2937
2938 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
2939
2940 * libc/include/stdint.h: Move magic to set __have_long* to the
2941 beginning. Use #if __have* instead of #if defined(__have*).
2942 Minor typo fixes.
2943
2944 2005-10-04 James E Wilson <wilson@specifix.com>
2945
2946 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
2947 #error.
2948
2949 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
2950
2951 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
2952 incorporate Ralf's change below.
2953
2954 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
2955
2956 * libc/include/stdint.h:
2957 Use __INTMAX_TYPE__ to derive intmax_t.
2958 Use __UINTMAX_TYPE__ to derive uintmax_t.
2959 Fix minor typo.
2960
2961 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
2962
2963 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
2964 handling GCC >= 4.
2965
2966 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2967
2968 * libc/sys/linux/include/stdint.h: Update to match functionality
2969 of generic newlib stdint.h.
2970
2971 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2972
2973 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
2974 and do not #undef the macro after it is used. Fix typos.
2975 Also change 64-bit constants to use the __have_long64 and
2976 __have_longlong64 flags to determine if long or long long
2977 constants should be used.
2978 * libc/include/inttypes.h: Include stddef.h to get wchar_t
2979 type defined.
2980
2981 2005-09-20 Shaun Jackman <sjackman@gmail.com>
2982
2983 * libc/include/stdint.h: Fix typo in names of
2984 LEAST macros.
2985
2986 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2987
2988 * libc/sys/rtems/include/inttypes.h: Moved to...
2989 * libc/include/inttypes.h: ...here.
2990
2991 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
2992
2993 * libc/sys/rtems/include/stdint.h: Moved to...
2994 * libc/include/stdint.h: ...here.
2995
2996 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
2997
2998 * Makefile.am: Add include files under bits sub-directory.
2999 * Makefile.in: Regenerated.
3000 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3001 actual value of 1 to be compatible with newer glibc headers.
3002 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3003 glibc headers.
3004 * libc/sys/linux/sys/dirent.h: Ditto.
3005 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3006 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3007 profile_fixup routines are marked used so they won't be
3008 optimized away.
3009 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3010 to mark functions as weak.
3011 * libc/sys/linux/dl/dl-open.c: Ditto.
3012 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3013 rules about lvalues.
3014 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3015 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3016 weak_extern macro to mark functions as weak. Instead always
3017 use #pragma weak.
3018 * iconvdata/jis0208.h: Fix to work with gcc4.
3019 * libc/sys/linux/dl/dl-load.c: Ditto.
3020 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3021 * libc/sys/linux/dl/do-rel.h: Ditto.
3022 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3023 * libc/sys/linux/include/ltdl.h: Ditto.
3024 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3025 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3026 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3027 * libc/sys/linux/bits/initspin.h: New file.
3028 * libc/sys/linux/bits/libc-lock.h: Ditto.
3029 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3030 * libc/sys/linux/bits/typesizes.h: Ditto.
3031
3032 2005-09-08 Eric Blake <ebb9@byu.net>
3033
3034 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3035 before is NULL.
3036
3037 2005-09-08 Brian Dessent <brian@dessent.net>
3038
3039 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3040 mantissa.
3041 * s_lrint.c: Ditto.
3042
3043 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3044
3045 * libc/include/stdio.h: Add prototype for viprintf.
3046
3047 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3048
3049 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3050 any positive power results in 0.
3051 * libm/mathfp/sf_pow.c (powf): Ditto.
3052
3053 2005-08-31 Paul Brook <paul@codesourcery.com>
3054
3055 * configure.host: Set have_crt0 to no for Arm targts when not
3056 providing syscalls. Set sys_dir=arm unconditionally.
3057 Default have_crt0 based on sys_dir.
3058 * configure.in: Use have_crt0.
3059 * libc/configure.in: Ditto.
3060 * libc/sys/configure.in: Ditto.
3061 * configure: Regenerate.
3062 * libc/configure: Regenerate.
3063 * libc/sys/configure: Regenerate.
3064 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3065 Only build other files when providing syscalls.
3066 * libc/sys/arm/Makefile.in: Regenerate.
3067 * libc/sys/arm/aeabi_atexit.c: New file.
3068
3069 2005-08-26 Christopher Faylor <cgf@timesys.com>
3070
3071 * libc/include/string.h: Revert previous change.
3072
3073 2005-08-25 Christopher Faylor <cgf@timesys.com>
3074
3075 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3076
3077 2005-08-22 Shaun Jackman <sjackman@gmail.com>
3078
3079 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3080 define _opendir as opendir, _readdir as readdir, and
3081 _closedir as closedir so that the implementations in
3082 libc/posix will be used.
3083
3084 2005-08-10 DJ Delorie <dj@redhat.com>
3085
3086 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3087
3088 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3089
3090 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3091 * libm/common/s_max.c: Ditto.
3092 * libm/common/sf_fmin.c: Ditto.
3093 * libm/common/s_min.c: Ditto.
3094
3095 2005-08-10 DJ Delorie <dj@redhat.com>
3096
3097 * configure.host: Add m32c support.
3098 * libc/include/machine/ieeefp.h: Likewise.
3099 * libc/include/machine/setjmp.h: Likewise.
3100 * libc/include/sys/config.h: Likewise.
3101 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3102 * libc/machine/m32c/aclocal.m4: New file.
3103 * libc/machine/m32c/configure: Ditto.
3104 * libc/machine/m32c/configure.in: Ditto.
3105 * libc/machine/m32c/Makefile.am: Ditto.
3106 * libc/machine/m32c/Makefile.in: Ditto.
3107 * libc/machine/m32c/setjmp.S: Ditto.
3108
3109 2005-08-02 Bob Wilson <bob.wilson@acm.org>
3110
3111 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3112 to the value for 2^126.
3113
3114 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3115
3116 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3117 used.
3118
3119 2005-07-20 Bob Wilson <bob.wilson@acm.org>
3120 Darin Petkov <darin@tensilica.com>
3121
3122 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3123
3124 2005-07-19 Paul Brook <paul@codesourcery.com>
3125
3126 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3127
3128 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3129
3130 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3131 names after PASS and FAIL which do not depend on source directory
3132 name or on whether test passed or failed.
3133 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3134
3135 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3136
3137 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3138
3139 2005-07-07 Shaun Jackman <sjackman@gmail.com>
3140
3141 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
3142 twice for the same directory. _closedir calls free, and freeing
3143 the same pointer twice may cause a crash.
3144
3145 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
3146
3147 * configure.host: Added entry for ms1*.
3148 * libc/include/machine/ieeefp.h: Handle ms1.
3149 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3150 * libc/machine/ms1/aclocal.m4: New.
3151 * libc/machine/ms1/configure: New.
3152 * libc/machine/ms1/configure.in: New.
3153 * libc/machine/ms1/Makefile.am: New.
3154 * libc/machine/ms1/Makefile.in: New.
3155 * libc/machine/ms1/setjmp.S: New.
3156
3157 2005-07-04 Mark Mitchell <mark@codesourcery.com>
3158
3159 * Makefile.am (site.exp): Set tmpdir.
3160 * Makefile.in: Regenerated.
3161 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3162 executables in $tmpdir.
3163 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3164 libgloss version if not running in the build directory.
3165 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3166 $tmpdir.
3167 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3168 in $tmpdir.
3169
3170 2005-06-28 Dave Korn <dave.korn@artimi.com>
3171
3172 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3173 and miscalculation caused by fp representation of zero.
3174 * libm/common/sf_lrint.c (lrintf): Likewise.
3175
3176 2005-06-16 Christopher Faylor <cgf@timesys.com>
3177
3178 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3179 determine characteristics of long double. Use a union instead.
3180 * ldtoa.c (_ldtoa_r): Ditto.
3181 (_ldcheck): Ditto.
3182 (_strtold): Ditto.
3183 (union uconv): New union.
3184
3185 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3186
3187 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3188 instead of memcpy.
3189
3190 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3191
3192 * configure.host (mn10300-*): Add long long I/O support by default.
3193
3194 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3195
3196 * libc/sys/linux/getpwuid.c: Removed.
3197 * libc/sys/linux/getpwnam.c: Removed.
3198 * libc/sys/linux/getpwent.c: New file containing logic
3199 from files removed above. This allows overriding of file
3200 in libc/unix.
3201 * libc/sys/linux/Makefile.am: Support changes above.
3202 * libc/sys/linux/Makefile.in: Regenerated.
3203
3204 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3205
3206 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3207 when checking for multiple flags.
3208
3209 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
3210
3211 * configure.host <cris-*-* | crisv32-*-*>: Set
3212 default_newlib_io_long_long="yes".
3213
3214 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3215
3216 * libc/include/libgen.h: New file.
3217
3218 2005-04-08 Shaun Jackman <sjackman@gmail.com>
3219
3220 * libc/unix/Makefile.am: Add support for basename and dirname.
3221 * libc/unix/Makefile.in: Regenerated.
3222 * libc/unix/basename.c: New file.
3223 * libc/unix/dirname.c: New file.
3224
3225 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3226
3227 * libc/sys/linux/inode.c (lchown): New function.
3228
3229 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3230
3231 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3232 ELIX level is defined.
3233 * libc/unix/Makefile.in: Regenerated.
3234
3235 2005-04-05 Dave Korn <dave.korn@artimi.com>
3236
3237 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3238 something that looks like a "NaN", put back the characters processed.
3239
3240 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
3241
3242 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3243
3244 2005-03-23 Christopher Faylor <cgf@timesys.com>
3245
3246 * configure.host: For cygwin, redefine CC with cygwin include directory
3247 first to mimic the behavior of the top-level configury. Move include
3248 directory out of newlib_cflags.
3249
3250 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3251
3252 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
3253 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
3254 than errno.
3255
3256 2005-03-22 Christopher Faylor <cgf@timesys.com>
3257
3258 * libc/include/machine/_types.h: Make trivial change to comment to
3259 avoid a spurious warning from gcc.
3260
3261 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
3262
3263 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
3264 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
3265 reent.h include.
3266
3267 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
3268 Corinna Vinschen <corinna@vinschen.de>
3269
3270 * libc/include/ctype.h: Remove invalid +1 offset from
3271 ctype macro references to __ctype_ptr.
3272 (_ctype_): Move declaration outside #ifndef __cplusplus.
3273
3274 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
3275
3276 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
3277 evaluate first parameter only once.
3278 (siglongjmp): Ditto.
3279
3280 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
3281
3282 * configure.in: Add new check to see if compiler supports
3283 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
3284 * configure: Regenerated.
3285 * Makefile.in: Ditto.
3286 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
3287 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
3288 aliasing the _ctype_ array to _ctype_b.
3289 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
3290 _ctype_ as deprecated.
3291
3292 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
3293
3294 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3295 -DCOMPACT_CTYPE.
3296
3297 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3298
3299 * libc/sys/rtems/include/inttypes.h: New file.
3300 * libc/sys/rtems/include/stdint.h: Ditto.
3301
3302 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3303
3304 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3305
3306 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3307
3308 * libc/include/machine/_types.h: New file.
3309 * libc/include/sys/types.h: Do not check for __rtems__
3310 when including <machine/_types.h>. Remove some redundant
3311 declarations now that <machine/_types.h> is included.
3312 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3313 shared header file.
3314
3315 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
3316
3317 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
3318 L qualifier for these long constants.
3319
3320 2005-02-25 Eric Blake <ebb9@byu.net>
3321
3322 * libc/include/time.h (__tzrule_struct): Make offset long, since
3323 a 16-bit int overflows on a 12-hour offset.
3324 * libc/sys/linux/include/time.h: Ditto.
3325 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
3326 * libc/time/mktm_r.c: Ditto.
3327 * libc/time/gettzinfo.c: Ditto.
3328 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
3329 years. Fix '%z' to use long, not int.
3330
3331 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3332
3333 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
3334 manipulate float values in integer form.
3335 * libm/common/sf_round.c: Ditto.
3336
3337 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3338
3339 * libc/include/sys/types.h [__rtems__]: Include new
3340 header file machine/_types.h.
3341 * libc/include/machine/types.h: Ditto.
3342 * libc/sys/rtems/machine/_types.h: New file.
3343
3344 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3345
3346 * libc/include/time.h (_timezone): Change to long also for Cygwin.
3347 (timezone): Drop cast from definition.
3348
3349 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
3350
3351 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
3352 (__tzrule_type, __tzinfo_type): New types.
3353 (__gettzinfo): New function.
3354 * libc/sys/linux/include/time.h: Ditto.
3355 * libc/time/Makefile.am: Add gettzinfo.c.
3356 * libc/time/Makefile.in: Regenerated.
3357 * libc/time/local.h: Moved __tzrule_type to time.h.
3358 * libc/time/mktime.c: Call __gettzinfo to reference
3359 __tznorth, __tzyear, and __tzrule array.
3360 * libc/time/mktm_r.c: Ditto.
3361 * libc/time/strftime.c: Ditto.
3362 * libc/time/tzset_r.c: Ditto. Also remove definition
3363 of __tzrule which is now in gettzinfo.c. Change _timezone
3364 references to not cast to time_t.
3365 * libc/time/gettzinfo.c: New file.
3366
3367 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3368
3369 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
3370
3371 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
3372
3373 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
3374
3375 2005-02-16 Eric Blake <ebb9@byu.net>
3376
3377 * libc/time/time.tex: Improve the documentation.
3378 * libc/time/strftime.c: Improve the documentation.
3379 (iso_year_adjust): New helper function.
3380 (strftime): Simplify '%E' and '%O'. Change '%c' to use
3381 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
3382 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
3383 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
3384 Avoid core dumps on valid inputs (maxsize == 0, or
3385 tim_p->tm_isdst > 1).
3386
3387 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
3388
3389 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
3390 members to uid_t and gid_t according to SUSv3.
3391 * libc/include/sys/time.h (utimes): Change second parameter
3392 to const according to SUSv3.
3393
3394 2005-02-07 Antony King <antony.king@st.com>
3395
3396 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
3397 called before _flockfile to prevent lock object use before
3398 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
3399 take a struct _reent * instead of a FILE *.
3400 * libc/stdio/fclose.c (_fclose_r): Ditto.
3401 * libc/stdio/feof.c (feof): Ditto.
3402 * libc/stdio/ferror.c (ferror): Ditto.
3403 * libc/stdio/fflush.c (fflush): Ditto.
3404 * libc/stdio/fgetc.c (fgetc): Ditto.
3405 * libc/stdio/fgets.c (fgets): Ditto.
3406 * libc/stdio/fileno.c (fileno): Ditto.
3407 * libc/stdio/fputc.c (fputc): Ditto.
3408 * libc/stdio/fputs.c (fputs): Ditto.
3409 * libc/stdio/fread.c (fread): Ditto.
3410 * libc/stdio/freopen.c (_freopen_r): Ditto.
3411 * libc/stdio/fseek.c (_fseek_r): Ditto.
3412 * libc/stdio/ftell.c (_ftell_r): Ditto.
3413 * libc/stdio/fwrite.c (fwrite): Ditto.
3414 * libc/stdio/getc.c (getc): Ditto.
3415 * libc/stdio/getdelim.c (__getdelim): Ditto.
3416 * libc/stdio/putc.c (putc): Ditto.
3417 * libc/stdio/setvbuf.c (setvbuf): Ditto.
3418 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
3419 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3420 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3421 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
3422 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
3423 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
3424 _reent * instead of a FILE * and so replace incorrect use of
3425 _REENT with argument.
3426 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
3427 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
3428 CHECK_INIT() take a struct _reent * instead of a FILE *.
3429 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
3430 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
3431 * libc/stdio/perror.c (perror): Ditto.
3432 * libc/stdio/printf.c (printf, _printf_r): Ditto.
3433 * libc/stdio/putchar.c (putchar): Ditto.
3434 * libc/stdio/puts.c (puts): Ditto.
3435 * libc/stdio/refill.c (__srefill): Ditto.
3436 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
3437 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
3438 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
3439 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
3440 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
3441 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
3442 * libc/stdio/wbuf.c (__swbuf): Ditto.
3443 * libc/stdio/wsetup.c (__swsetup): Ditto.
3444 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
3445 * libc/stdlib/mstats.c (_mstats_r): Ditto.
3446 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
3447 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
3448 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
3449 to _flockfile and _funlockfile; rely on locking in _ftell_r.
3450 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
3451 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
3452 initialision of _data field in FILE structure.
3453 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
3454
3455 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3456
3457 * libc/stdio/findfp.c (__sinit): Protect with new lock.
3458 (__sinit_lock): New lock.
3459 (__sinit_lock_acquire, __sinit_lock_release): New functions.
3460 * libc/stdio/local.h: Add reference to new __sinit locking
3461 functions.
3462
3463 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3464
3465 * libc/include/math.h (isfinite, isnormal, isunordered): Change
3466 input variable names to avoid mixups with nesting macros.
3467
3468 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3469
3470 * configure.host: Add support for cris-*-* and crisv32-*-*.
3471 * libc/include/machine/ieeefp.h: Ditto.
3472 * libc/include/machine/setjmp.h: Ditto.
3473 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
3474 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
3475 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
3476 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
3477 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
3478 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
3479 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
3480 files.
3481
3482 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3483
3484 * testsuite/newlib.string/memmove1.c: New test.
3485
3486 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3487
3488 * testsuite/include/check.h: Include stdlib.h.
3489
3490 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3491
3492 * Makefile.am (stmp-targ-include): Support include header files
3493 from machine directories.
3494 (install-data-local): Ditto.
3495 * Makefile.in: Regenerate.
3496
3497 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
3498
3499 * libc/include/string.h: Remove Linux-specific declaration of
3500 strsignal and add #include <sys/string.h>.
3501 * libc/include/sys/string.h: New file.
3502 * libc/include/sys/linux/sys/string.h: New file with strsignal
3503 declaration deleted above.
3504
3505 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
3506
3507 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
3508 to POSIX standard for "C" locale. Allow %E and %O modifiers
3509 to be ignored as long as they precede valid specifiers according
3510 to POSIX.
3511
3512 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3513
3514 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3515 environment variable is set.
3516
3517 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3518
3519 * tzset_r.c (_tzname): Add a comma.
3520
3521 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
3522
3523 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
3524 _VFPRINTF_R.
3525
3526 2005-01-07 Paul Brook <paul@codesourcery.com>
3527
3528 * configure.in: Add test for .init_array.
3529 * configure: Regenerate.
3530 * newlib.hin: Add HAVE_INITFINI_ARRAY.
3531 * libc/misc/Makefile.am: Add init.c
3532 * libc/misc/Makefile.in: Regenerate.
3533 * libc/misc/init.c: New file.
3534 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
3535 _init/_fini if they exist.
3536
3537 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
3538
3539 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
3540 * (strtof): Ditto.
3541 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
3542 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
3543 functions for use by strtod and strtof.
3544 * Makefile.in: Regenerated.
3545
3546 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3547
3548 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
3549 bit-test in combination with NULL test.
3550
3551 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3552
3553 * README: Fix typo of LGPL. Change "license" to "copyright".
3554
3555 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
3556
3557 * NEWS: Update with 1.13.0 info.
3558 * README: Ditto.
3559 * acinclude.m4: Change version number to 1.13.0.
3560 * aclocal.m4: Regenerated.
3561 * configure: Ditto.
3562 * doc/aclocal.m4: Ditto.
3563 * doc/configure: Ditto.
3564 * libc/*/aclocal.m4: Ditto.
3565 * libc/*/configure: Ditto.
3566 * libc/libc.texinfo: Ditto.
3567 * libm/*/aclocal.m4: Ditto.
3568 * libm/*/configure: Ditto.
3569 * libm/libm.texinfo: Ditto.
3570 * libc/sys/linux/shared.ld: Add VERS_1.13.
3571
3572 2004-12-17 Christian Groessler <chris@groessler.org>
3573
3574 * libc/machine/z8k/memcmp.S: New file.
3575 * libc/machine/z8k/memcpy.S: Ditto.
3576 * libc/machine/z8k/memmove.S: Ditto.
3577 * libc/machine/z8k/memset.S: Ditto.
3578 * libc/machine/z8k/Makefile.am: Add new files.
3579 * libc/machine/z8k/Makefile.in: Regenerated.
3580 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
3581 part. Implement Z8002 stdcall version.
3582
3583 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
3584
3585 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
3586 a low-level read if we don't get the full amount of bytes so
3587 EOF or error flags will be set.
3588
3589 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
3590
3591 * libc/time/tzset_r (_tzset_r): Properly skip over
3592 '/' when it is detected.
3593
3594 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3595
3596 * libc/time/tzset_r (_tzset_r): Fix loop.
3597
3598 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3599
3600 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
3601 m_day.
3602 (__tzcalc_limits): Fix reference to month array to be zero-based.
3603
3604 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
3605
3606 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
3607 and usleep.
3608
3609 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
3610
3611 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
3612 libgcc dependencies.
3613 (libm_la_LDFLAGS): Ditto.
3614 * Makefile.in: Regenerated.
3615
3616 2004-12-03 Shaun Jackman <sjackman@gmail.com>
3617
3618 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
3619 our link to use readlink so as to preserve any relative link created
3620 by install-toollibLIBRARIES.
3621 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
3622
3623 2004-12-02 Shaun Jackman <sjackman@gmail.com>
3624
3625 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
3626 time_t before including sys/stat.h, which uses it.
3627 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
3628 <linux/time.h> just prior to definition of __KERNEL__ so as to
3629 allow building on Debian Linux where otherwise, mktime would
3630 be redefined.
3631
3632 2004-11-26 Paul Brook <paul@codesourcery.com>
3633
3634 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
3635
3636 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3637
3638 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
3639 const for value string parameter to match Single Unix and glibc.
3640 * libc/stdlib/putenv.c: Ditto.
3641 * libc/stdlib/putenv_r.c: Ditto.
3642
3643 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3644
3645 * libc/stdio/Makefile.am: Fix missing vfscanf.
3646 * libc/stdio/Makefile.in: Regenerated.
3647
3648 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
3649
3650 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
3651 do some reordering.
3652 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
3653 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
3654 family functions.
3655 * libc/stdio/Makefile.in: Regenerated.
3656 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
3657 * libc/stdio/iprintf.c: Ditto.
3658 * libc/stdio/local.h (__svfiscanf_r): New prototype.
3659 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
3660 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
3661 * libc/stdio/stdio.tex: Add new functions.
3662 * libc/stdio/vfscanf.c: Split out __sccl function to separate
3663 file and add special name defines so this file can be used
3664 to build vfiscanf.o.
3665 * libc/stdio/asiprintf.c: New file.
3666 * libc/stdio/fiscanf.c: Ditto.
3667 * libc/stdio/iscanf.c: Ditto.
3668 * libc/stdio/sccl.c: Ditto.
3669 * libc/stdio/siscanf.c: Ditto.
3670 * libc/stdio/vasiprintf.c: Ditto.
3671 * libc/stdio/viprintf.c: Ditto.
3672 * libc/stdio/viscanf.c: Ditto.
3673 * libc/stdio/vsiprintf.c: Ditto.
3674 * libc/stdio/vsiscanf.c: Ditto.
3675 * libc/stdio/vsniprintf.c: Ditto.
3676
3677 2004-11-19 Shaun Jackman <sjackman@gmail.com>
3678
3679 * libc/include/stdio.h: Add sniprintf.
3680 * libc/stdio/Makefile.am: Add sniprintf.c.
3681 * libc/stdio/Makefile.in: Regenerated.
3682 * libc/stdio/sniprintf.c: New file.
3683 * libc/stdio/stdio.tex: Add sniprintf.
3684
3685 2004-11-17 Christopher Faylor <cgf@timesys.com>
3686
3687 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
3688 EOF flag if successful.
3689
3690 2004-10-28 Christopher Faylor <cgf@timesys.com>
3691
3692 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
3693 so that all relevant definitions have been performed for use in the
3694 include.
3695
3696 2004-10-26 Jason Tishler <jason@tishler.net>
3697
3698 * libc/stdio/fread.c (fread): Fix return value for unbuffered
3699 fread.
3700
3701 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3702
3703 * libc/include/machine/setjmp.h: Add AVR support.
3704 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
3705
3706 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
3707
3708 * libc/include/sys/signal.h: If <signal.h> didn't include
3709 this header file, include <signal.h> to account for
3710 applications that take advantage that the two header
3711 files are the same in glibc.
3712
3713 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
3714
3715 * configure.host: Add support for crx.
3716 * libc/include/machine/ieeefp.h: Ditto.
3717 * libc/include/machine/setjmp.h: Ditto.
3718 * libc/machine/crx/Makefile.am: New file.
3719 * libc/machine/crx/configure.in: Ditto.
3720 * libc/machine/crx/setjmp.S: Ditto.
3721 * libc/machine/crx/getenv.c: Ditto.
3722 * libc/machine/crx/aclocal.m4: Generate.
3723 * libc/machine/crx/configure: Ditto.
3724 * libc/machine/crx/Makefile.in: Ditto.
3725 * libc/machine/crx/sys/asm.h: New file.
3726 * libc/machine/crx/sys/libh.h: Ditto.
3727 * libc/machine/crx/sys/syscall.h: Ditto.
3728
3729 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
3730
3731 * Makefile.am (stmp-targ-include): Support sys header files
3732 from machine directories.
3733 * Makefile.in: Regenerated.
3734
3735 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
3736
3737 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
3738 count skipped zero characters as part of the nread count for %n.
3739 * libc/machine/powerpc/vfscanf.c: Ditto.
3740
3741 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
3742
3743 * libc/stdio/local.h: Include <stdlib.h>.
3744
3745 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
3746
3747 * libc/stdio/fread.c (fread): Include <malloc.h>.
3748
3749 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
3750
3751 * libc/stdio/fread.c (fread): For non-space-optimized case,
3752 add special code for unbuffered files to use user buffer and
3753 only require one low-level system read.
3754
3755 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
3756
3757 * libc/machine/xscale/setjmp.S: New file, copied from
3758 libc/machine/arm/setjmp.S.
3759 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
3760 * libc/machine/xscale/Makefile.in: Regenerate.
3761
3762 2004-09-16 Antony King <antony.king@st.com>
3763
3764 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
3765 with locking API.
3766 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
3767 check for__SSTR in _flags and if set, skip lock request.
3768 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3769 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
3770 not NULL.
3771 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
3772 initialisation of _file to -1 in local FILE.
3773 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
3774 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
3775 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3776 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3777 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
3778 _flags in local FILE to prevent locking.
3779 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3780
3781 2004-09-16 Antony King <antony.king@st.com>
3782
3783 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
3784 and only walk the reentrancy parameter.
3785 (_fwalk_reent): Ditto.
3786 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
3787
3788 2004-09-16 Antony King <antony.king@st.com>
3789
3790 * libc/stdio64/freopen64.c: Remove casting of fp lock to
3791 _LOCK_RECURSIVE_T.
3792
3793 2004-09-16 Antony King <antony.king@st.com>
3794
3795 * libc/time/tzlock.c: Add default stubs that use generic
3796 locking code.
3797
3798 2004-09-16 Antony King <antony.king@st.com>
3799
3800 * libc/ctype/ctype.tex: Added missing documentation.
3801 * libc/stdio/stdio.tex Ditto.
3802 * libc/stdlib/stdlib.tex Ditto.
3803 * libc/string/strings.tex Ditto.
3804 * libc/time/time.tex: Ditto.
3805 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
3806
3807 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
3808
3809 * libc/reent/impure.c (reent_data): Define as alias to impure_data
3810 when building for Cygwin.
3811 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
3812 _global_impure_ptr.
3813
3814 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
3815
3816 * configure.host: Reverting 2004-09-14 change as fix has occurred on
3817 Cygwin side.
3818 * configure.in: Ditto.
3819 * libc/configure.in: Ditto.
3820 * libc/sys/configure.in: Ditto.
3821 * configure: Ditto.
3822 * libc/configure: Ditto.
3823 * libc/sys/configure: Ditto.
3824 * libc/include/sys/reent.h: Ditto.
3825 * libc/stdlib/__atexit.c: Ditto.
3826 * libc/stdlib/__call_atexit.c: Ditto.
3827 * libc/stdlib/cxa_atexit.c: Ditto.
3828 * libc/stdlib/cxa_finalize.c: Ditto.
3829 * libc/sys/cygwin/Makefile.am: Removed again.
3830 * libc/sys/cygwin/Makefile.in: Ditto.
3831 * libc/sys/cygwin/aclocal.m4: Ditto.
3832 * libc/sys/cygwin/configure: Ditto.
3833 * libc/sys/cygwin/configure.in: Ditto.
3834 * libc/sys/cygwin/dummy.c: Ditto.
3835 * libc/sys/cygwin/sys/reent.h: Ditto.
3836
3837 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
3838
3839 * configure.host: Add Cygwin sys directory.
3840 * configure.in: Do not set CRT0 for cygwin.
3841 * libc/configure.in: Ditto.
3842 * libc/sys/configure.in: Ditto.
3843 * configure: Regenerated.
3844 * libc/configure: Ditto.
3845 * libc/sys/configure: Ditto.
3846 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
3847 * libc/stdlib/__atexit.c: Keep cxa support protected by new
3848 __REENT_HAS_CXA_SUPPORT flag.
3849 * libc/stdlib/__call_atexit.c: Ditto.
3850 * libc/stdlib/cxa_atexit.c: Ditto.
3851 * libc/stdlib/cxa_finalize.c: Ditto.
3852 * libc/sys/cygwin/Makefile.am: New file.
3853 * libc/sys/cygwin/Makefile.in: Ditto.
3854 * libc/sys/cygwin/aclocal.m4: Ditto.
3855 * libc/sys/cygwin/configure: Ditto.
3856 * libc/sys/cygwin/configure.in: Ditto.
3857 * libc/sys/cygwin/dummy.c: Ditto.
3858 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
3859 version of reent.h.
3860
3861 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3862
3863 * libc/iconv/iconv.tex: Updated with new content.
3864 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
3865 instead of NLS_DEFAULT_NLSPATH.
3866 * libc/iconv/lib/iconvnls.h: Fix typo.
3867 * libc/include/sys/iconvnls.h: New file.
3868
3869 2004-09-09 Paul Brook <paul@codesourcery.com>
3870
3871 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
3872 and _is_cxa.
3873 (struct _atexit): Add _next when _REENT_SMALL.
3874 (struct _reent): Add _atexit0 when _REENT_SMALL.
3875 (_REENT_INIT_PTR): Adjust.
3876 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
3877 __call_exit.c.
3878 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
3879 * libc/stdlib/Makefile.in: Regenerate.
3880 * libc/stdlib/__atexit.c: New file.
3881 * libc/stdlib/__call_atexit.c: New file.
3882 * libc/stdlib/atexit.h: Remove old definitions. Add new.
3883 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
3884 * libc/stdlib/cxa_atexit.c: New file.
3885 * libc/stdlib/cxa_finalize.c: New file.
3886 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
3887 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
3888 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
3889 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
3890 _on_exit_args_ptr.
3891
3892 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
3893
3894 * libc/include/sys/unistd.h (getpass): Change prototype to use
3895 const instead of __const.
3896
3897 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
3898
3899 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
3900 #if.
3901
3902 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
3903
3904 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
3905 on linux systems with glibc 2.3.3 installed.
3906 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
3907 profile_fixup so newlib can build on fc3 system.
3908
3909 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
3910
3911 Introduce SH2a support.
3912 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
3913 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
3914 __SH2A_SINGLE_ONLY__, too.
3915 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
3916 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
3917 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
3918 2004-02-10 DJ Delorie <dj@redhat.com>
3919 * libc/sys/sh/crt0.S (start_l): Support sh2a.
3920
3921 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
3922
3923 * libc/time/strptime.c: Correct full-name of "March" typo.
3924
3925 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
3926
3927 * configure.host (h8300*-*-*): Default long long printing support.
3928
3929 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
3930
3931 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
3932 calls, if realloc fails, free up buffer as it is no longer
3933 used.
3934
3935 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3936
3937 * libc/iconv/iconv.tex: Updated to represent recent changes.
3938 * libc/iconv/lib/iconv.c: Documentation updated.
3939
3940 2004-07-07 Nick Clifton <nickc@redhat.com>
3941
3942 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
3943 for xStormy16.
3944
3945 2004-07-06 Chris Demetriou <cgd@broadcom.com>
3946
3947 * configure.host (mips*-*-elf*): Default long long printing
3948 support.
3949
3950 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
3951
3952 * libc/Makefile.am (libc.dvi): Add target and specify
3953 same dependencies as libc.info.
3954 * libc/Makefile.in: Regenerated.
3955 * libm/Makefile.am (libm.dvi): Add target and specify
3956 same dependencies as libm.info.
3957 * libm/Makefile.in: Regenerated.
3958
3959 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3960
3961 * acinclude.m4: Move --enable-newlib-iconv option back here.
3962 * configure.in: Remove --enable-newlib-iconv option. Don't
3963 tie iconv support to --enable-newlib-mb.
3964 * aclocal.m4: Regenerated.
3965 * configure: Ditto.
3966 * doc/aclocal.m4, doc/configure: Ditto.
3967 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
3968 * libm/*/aclocal.m4: Ditto.
3969 * libm/*/configure: Ditto.
3970 * libc/*/aclocal.m4: Ditto.
3971 * libc/*/configure: Ditto.
3972
3973 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3974
3975 * acinclude.m4: Move iconv options into configure.in.
3976 * aclocal.m4: Regenerated.
3977 * configure: Ditto.
3978 * configure.in: Add iconv options.
3979 * newlib.hin: Add new iconv encodings and remove deleted ones.
3980 * doc/aclocal.m4: Regenerated.
3981 * doc/configure: Ditto.
3982 * iconvdata/aclocal.m4: Ditto.
3983 * iconvdata/configure: Ditto.
3984 * libc/iconv: Design change. New size-optimized ccs format.
3985 * libc/iconv/AUTHORS: Removed.
3986 * libc/iconv/COPYING: Ditto.
3987 * libc/iconv/README.ORIGINAL: Ditto.
3988 * libc/iconv/README.TODO: Ditto.
3989 * libc/iconv/charset.aliases: Ditto.
3990 * libc/iconv/encoding.aliases: New file.
3991 * libc/iconv/Makefile.am: Updated.
3992 * libc/iconv/Makefile.in: Regenerated.
3993 * libc/iconv/iconv.tex: Updated.
3994 * libc/iconv/ccs/Makefile.am: Ditto.
3995 * libc/iconv/ccs/Makefile.in: Regenerated.
3996 * libc/iconv/ccs/big5.c: Updated.
3997 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
3998 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
3999 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4000 * libc/iconv/ccs/cp775.c: Ditto.
4001 * libc/iconv/ccs/cp850.c: Ditto.
4002 * libc/iconv/ccs/cp852.c: Ditto.
4003 * libc/iconv/ccs/cp855.c: Ditto.
4004 * libc/iconv/ccs/cp866.c: Ditto.
4005 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4006 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4007 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4008 * libc/iconv/ccs/iconv_mktbl: Ditto.
4009 * libc/iconv/ccs/jis_x0201.c: Ditto.
4010 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4011 * libc/iconv/ccs/shift_jis.c: Ditto.
4012 * libc/iconv/ccs/us_ascii.c: Ditto.
4013 * libc/iconv/ccs/ccs.h: New file.
4014 * libc/iconv/ccs/ccsbi.c: Ditto.
4015 * libc/iconv/ccs/ccsbi.h: Ditto.
4016 * libc/iconv/ccs/ccsnames.h: Ditto.
4017 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4018 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4019 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4020 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4021 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4022 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4023 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4024 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4025 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4026 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4027 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4028 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4029 * libc/iconv/ccs/koi8_ru.c: Ditto.
4030 * libc/iconv/ccs/koi8_uni.c: Ditto.
4031 * libc/iconv/ccs/mktbl.pl: Ditto.
4032 * libc/iconv/ccs/win_1250.c: Ditto.
4033 * libc/iconv/ccs/win_1251.c: Ditto.
4034 * libc/iconv/ccs/win_1252.c: Ditto.
4035 * libc/iconv/ccs/win_1253.c: Ditto.
4036 * libc/iconv/ccs/win_1254.c: Ditto.
4037 * libc/iconv/ccs/win_1255.c: Ditto.
4038 * libc/iconv/ccs/win_1256.c: Ditto.
4039 * libc/iconv/ccs/win_1257.c: Ditto.
4040 * libc/iconv/ccs/win_1258.c: Ditto.
4041 * libc/iconv/ccs/iso_8859_15.c: Updated.
4042 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4043 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4044 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4045 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4046 * libc/iconv/ccs/koi8_r.c: Ditto.
4047 * libc/iconv/ccs/koi8_u.c: Ditto.
4048 * libc/iconv/ccs/ksx1001.c: Ditto.
4049 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4050 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4051 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4052 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4053 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4054 * libc/iconv/ccs/binary/Makefile.am: Updated.
4055 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4056 * libc/iconv/ccs/binary/big5.cct: Updated.
4057 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4058 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4059 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4060 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4061 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4062 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4063 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4064 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4065 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4066 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4067 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4068 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4069 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4070 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4071 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4072 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4073 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4074 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4075 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4076 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4077 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4078 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4079 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4080 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4081 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4082 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4083 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4084 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4085 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4086 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4087 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4088 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4089 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4090 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4091 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4092 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4093 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4094 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4095 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4096 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4097 * libc/iconv/ces/Makefile.am: Updated.
4098 * libc/iconv/ces/Makefile.in: Regenerated.
4099 * libc/iconv/ces/ucs-2-internal.c: Updated.
4100 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4101 * libc/iconv/ces/utf-16.c: Ditto.
4102 * libc/iconv/ces/utf-8.c: Ditto.
4103 * libc/iconv/ces/cesbi.c: New file.
4104 * libc/iconv/ces/cesbi.h: Ditto.
4105 * libc/iconv/ces/cesdeps.h: Ditto.
4106 * libc/iconv/ces/euc.c: Ditto.
4107 * libc/iconv/ces/mkdeps.pl: Ditto.
4108 * libc/iconv/ces/table-pcs.c: Ditto.
4109 * libc/iconv/ces/table.c: Ditto.
4110 * libc/iconv/ces/ucs-2.c: Ditto.
4111 * libc/iconv/ces/ucs-4.c: Ditto.
4112 * libc/iconv/ces/us-ascii.c: Ditto.
4113 * libc/iconv/ces/euc-jp.c: Removed.
4114 * libc/iconv/ces/euc-kr.c: Ditto.
4115 * libc/iconv/ces/euc-tw.c: Ditto.
4116 * libc/iconv/ces/gb2312.c: Ditto.
4117 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4118 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4119 * libc/iconv/lib/Makefile.am: Updated.
4120 * libc/iconv/lib/Makefile.in: Regenerated.
4121 * libc/iconv/lib/endian.h: Updated.
4122 * libc/iconv/lib/iconv.c: Ditto.
4123 * libc/iconv/lib/local.h: Ditto.
4124 * libc/iconv/lib/aliases.c: Removed.
4125 * libc/iconv/lib/bialiasesi.c: Ditto.
4126 * libc/iconv/lib/biccs.c: Ditto.
4127 * libc/iconv/lib/bices.c: Ditto.
4128 * libc/iconv/lib/ccs.c: Ditto.
4129 * libc/iconv/lib/ces.c: Ditto.
4130 * libc/iconv/lib/ces_euc.c: Ditto.
4131 * libc/iconv/lib/ces_iso2022.c: Ditto.
4132 * libc/iconv/lib/ces_table.c: Ditto.
4133 * libc/iconv/lib/converter.c: Ditto.
4134 * libc/iconv/lib/deps.h: Ditto.
4135 * libc/iconv/lib/loaddata.c: Ditto.
4136 * libc/iconv/lib/aliasesbi.c: New file.
4137 * libc/iconv/lib/aliasesi.c: Ditto.
4138 * libc/iconv/lib/conv.h: Ditto.
4139 * libc/iconv/lib/encnames.h: Ditto.
4140 * libc/iconv/lib/encoding.deps: Ditto.
4141 * libc/iconv/lib/iconvnls.c: Ditto.
4142 * libc/iconv/lib/iconvnls.h: Ditto.
4143 * libc/iconv/lib/nullconv.c: Ditto.
4144 * libc/iconv/lib/ucsconv.c: Ditto.
4145 * libc/iconv/lib/ucsconv.h: Ditto.
4146 * libc/include/iconv.h: Update copyright.
4147 * libc/*/aclocal.m4: Regenerated.
4148 * libc/*/configure: Ditto.
4149 * libm/*/aclocal.m4: Ditto.
4150 * libm/*/configure: Ditto.
4151
4152 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
4153
4154 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4155 instead of typedefing jmp_buf.
4156
4157 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4158 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4159 * libc/machine/h8300/defines.h (LEN): New macro.
4160 * libc/machine/h8300/memcpy.S: Add h8sx version.
4161 * libc/machine/h8300/memset.S: Likewise.
4162 * libc/machine/h8300/strcmp.S: Likewise.
4163 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4164 * libc/machine/h8300/h8sx_strcpy.S: New file.
4165 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4166 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4167 __H8300SX__.
4168 * libc/include/machine/setjmp.h: Likewise.
4169 * libc/include/sys/config.h: Likewise.
4170 * libc/machine/h8300/defines.h: Likewise.
4171 * libc/machine/h8300/setjmp.S: Likewise.
4172 * libc/machine/h8300/strcmp.S: Likewise.
4173 * libc/sys/h8300hms/close.S: Likewise.
4174 * libc/sys/h8300hms/fstat.S: Likewise.
4175 * libc/sys/h8300hms/lseek.S: Likewise.
4176 * libc/sys/h8300hms/read.S: Likewise.
4177 * libc/sys/h8300hms/write.S: Likewise.
4178 * libc/sys/h8300hms/crt0.S: Likewise.
4179 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4180 __H8300SX__ is defined.
4181 * libc/sys/h8300hms/setarch.h: Likewise.
4182
4183 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4184
4185 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4186 out change which set _GLOBAL_REENT to _global_impure_ptr until
4187 we understand why Cygwin breaks because of it.
4188
4189 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4190
4191 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4192 __syscall_return macro for systems with vsyscall.
4193
4194 2004-06-11 Antony King <antony.king@st.com>
4195
4196 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4197 _flock_t to be of type _LOCK_RECURSIVE_T.
4198 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4199 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4200 (_global_impure_ptr): New declaration.
4201 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4202 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4203 <sys/reent.h>.
4204 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4205 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4206 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4207 * libc/stdio/fclose.c: Remove casting of fp lock to
4208 _LOCK_RECURSIVE_T.
4209 * libc/stdio/findfp.c: Ditto.
4210 * libc/stdio/fopen.c: Ditto.
4211 * libc/stdio/freopen.c: Ditto.
4212 * libc/stdio/vfprintf.c: Ditto.
4213 * libc/stdio64/fopen64.c: Ditto.
4214 * libc/stdlib/envlock.c: Add default stubs that use generic
4215 locking code.
4216 * libc/stdlib/mlock.c: Ditto.
4217
4218 Jeff Johnston <jjohnstn@redhat.com>
4219 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4220 (_flock_t): Change to be a struct containing a single member
4221 named mutex which is of type __flock_mutex_t.
4222
4223 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4224
4225 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4226 from /usr/include/asm/signal.h instead of kernel sources. Also
4227 default max to 32 if not found in header file.
4228 * libc/sys/linux/Makefile.in: Regenerated.
4229 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4230 systems where __syscall_return is not defined.
4231 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4232 systems to use syscall() function instead of assembler interrupt.
4233
4234 2004-06-09 Toralf Lund <toralf@procaptura.com>
4235
4236 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4237 files from libc/sys/arm to libc/machine/arm.
4238 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4239 library build support for files moved from libc/sys/arm.
4240 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4241 references to access and setjmp.
4242 * configure.host: Add checks for newlib_may_supply_syscalls to
4243 determine whether or not to use sys/arm directory and use
4244 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
4245
4246 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4247
4248 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4249 reset digit flags appropriately after we have discovered "0x".
4250 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4251
4252 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4253
4254 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4255 from here ...
4256 (_VFPRINTF_R): ... to here so all I/O printf routines
4257 are covered.
4258
4259 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4260
4261 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4262 redefinition.
4263 * libc/search/hash.c: Ditto.
4264
4265 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4266
4267 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
4268 (_WANT_IO_LONG_LONG): Ditto.
4269 (_WANT_IO_LONG_DOUBLE): Ditto.
4270 * configure.in: Add new configuration options
4271 --enable-newlib-io-long-long and --enable-newlib-io-long-double
4272 which tie to new defines in newlib.hin.
4273 * configure: Regenerated.
4274 * configure.host: Add checks for new configuration options. Also
4275 fix up check for --enable-newlib-io-pos-args so configuration
4276 option will override any default for a given platform.
4277 Remove defining compiler flags for the _WANT_IO* options.
4278 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
4279 instead of looking for old compiler flags.
4280 * libc/stdio/vfscanf.c: Ditto.
4281 * libc/stdio/vfieeefp.h: Ditto.
4282 * libc/machine/powerpc/vfprintf.c: Ditto.
4283 * libc/machine/powerpc/vfscanf.c: Ditto.
4284
4285 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
4286
4287 * testsuite/include/check.h: Add include of <stdio.h>.
4288
4289 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
4290
4291 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
4292
4293 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4294
4295 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4296 of free.
4297
4298 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4299
4300 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4301 list for reentrant pointer. Call _vfiprintf_r.
4302 * libc/stdio/siprintf.c (_siprintf_r): New function.
4303 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4304 pointer argument. Change all callers. Call _VFPRINTF_R.
4305 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4306 prototypes.
4307
4308 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4309
4310 * libc/include/sys/param.h: Remove endian info and include
4311 <machine/endian.h> instead.
4312 * libc/include/machine/endian.h: New file.
4313 * libc/include/machine/param.h: Ditto.
4314 * libc/machine/arm/machine/endian.h: Ditto.
4315 * libc/machine/arm/machine/param.h: Ditto.
4316 * libc/sys/arm/sys/param.h: Removed.
4317 * libc/sys/sysvi386/sys/param.h: Ditto.
4318 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
4319
4320 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4321
4322 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
4323 multibyte functions return failure for %C, %S, %lc, and %ls
4324 format specifiers.
4325
4326 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4327
4328 * testsuite/include/check.h (CHECK): Add flush of stdout.
4329
4330 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4331
4332 * libc/include/stdio.h (_ungetc_r): New prototype.
4333 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
4334 (__submore): Add reentrant struct pointer argument.
4335 (ungetc): Change to call _ungetc_r.
4336
4337 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4338
4339 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
4340 function pointer argument.
4341 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
4342 to specify function pointer arguments.
4343 (__fwalk, __fwalk_reent): Ditto.
4344
4345 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
4346
4347 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
4348 CT_INT case.
4349
4350 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4351
4352 * configure.in: Define _MB_CAPABLE if mb supported.
4353 * configure: Regenerated.
4354 * configure.host: Remove manual setting of MB_CAPABLE compiler
4355 flag.
4356 * newlib.hin: Add _MB_CAPABLE flag.
4357 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
4358 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
4359 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
4360 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
4361 * libc/ctype/jp2uc.c: Ditto.
4362 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
4363 * libc/locale/locale.c: Ditto
4364 * libc/machine/powerpc/vfscanf.c: Ditto
4365 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
4366 * libc/stdlib/mblen.c: Ditto
4367 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
4368 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
4369 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
4370 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
4371 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
4372 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
4373 * libc/sys/linux/intl/explodename.c: Ditto
4374 * libc/sys/linux/intl/finddomain.c: Ditto
4375 * libc/sys/linux/intl/l10nflist.c: Ditto
4376 * libc/sys/linux/intl/loadmsgcat.c: Ditto
4377 * libc/sys/linux/intl/localealias.c: Ditto
4378
4379 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4380
4381 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
4382 (__svfscanf_r): In integer conversions, leave out leading zeroes
4383 which are not part of a base prefix.
4384 Keep track of width truncation to fit into buf, not counting left-out
4385 zeroes against width till the truncation has been compensated for.
4386 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
4387
4388 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4389
4390 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
4391
4392 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4393
4394 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
4395 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
4396 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
4397 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
4398 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
4399 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
4400 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
4401 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
4402 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
4403 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
4404 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
4405 libc/stdio/getchar.c libc/stdio/getchar_u.c,
4406 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
4407 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
4408 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
4409 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
4410 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
4411 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
4412 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
4413 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
4414 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
4415 libc/stdio/siprintf.c libc/stdio/snprintf.c,
4416 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
4417 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
4418 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
4419 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
4420 libc/stdio/vprintf.c libc/stdio/vscanf.c,
4421 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
4422 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
4423 libc/stdio/wsetup.c: Perform minor formatting changes. Move
4424 copyright notices to top of file, ensure that <_ansi.h> is
4425 included, be consistent with open parentheses, use _DEFUN macro,
4426 include "local.h" where needed, and remove various compiler
4427 warnings.
4428
4429 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
4430
4431 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
4432 (__svfscanf_r): In integer conversions, leave out leading zeroes
4433 which are not part of a base prefix.
4434 Keep track of width truncation to fit into buf, not counting left-out
4435 zeroes against width till the truncation has been compensated for.
4436
4437 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4438
4439 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
4440
4441 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4442
4443 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
4444
4445 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
4446
4447 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
4448 to SUSv3.
4449
4450 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4451
4452 * libc/stdio/fclose.c (_fclose_r): New function.
4453 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
4454 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
4455 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
4456 * libc/include/stdio.h (_fclose_r): New prototype.
4457 * libc/stdio/fopen.c: Fix typo in comment.
4458
4459 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
4460
4461 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
4462 to handle _r reentrant functions.
4463
4464 2004-04-08 Eric Christopher <echristo@redhat.com>
4465
4466 * libc/include/machine/setjmp.h: Fix endif locations.
4467
4468 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4469
4470 * libc/time/strptime.c: Add standard includes to avoid
4471 warning messages at compilation time.
4472
4473 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
4474
4475 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
4476 of file.
4477
4478 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
4479
4480 * libc/machine/h8300/Makefile.am: Reformat slightly.
4481 * libc/machine/h8300/Makefile.in: Regenerate.
4482
4483 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
4484
4485 * libc/stdio/findfp.c (__fp_lock_all): Add call to
4486 __sfp_lock_acquire.
4487 (__fp_unlock_all): Add call to __sfp_lock_release.
4488
4489 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
4490
4491 * libc/stdio/fclose.c (fclose): Protect file pointer list when
4492 releasing a file.
4493 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
4494 fwalk.
4495 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
4496 _flockfile/_funlockfile.
4497 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
4498 to recursive.
4499 Change __lock_acquire/__lock_release calls for __sfp_lock to
4500 __sfp_lock_acquire/__sfp_lock_release throughout.
4501 (std): Make sure that file lock is only initialized once.
4502 (__sfp): Move _file initialization. Initialize file lock.
4503 (__sfp_lock_acquire): New function.
4504 (__sfp_lock_release): Ditto.
4505 (__fp_lock_all): Remove __sfp_lock_acquire call.
4506 (__fp_unlock_all): Remove __sfp_lock_release call.
4507 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
4508 Add calls to _flockfile/_funlockfile. Remove
4509 __lock_init_recursive call.
4510 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
4511 * libc/stdio/fwalk.c (__fwalk): New static function.
4512 (_fwalk): Protect file pointer list. Use __fwalk to walk through
4513 file pointers.
4514 * libc/stdio/local.h: Add defines for
4515 __sfp_lock_acquire/__sfp_lock_release when
4516 single threaded. Add function prototypes otherwise.
4517 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
4518 _flockfile/_funlockfile.
4519 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
4520 Add calls to _flockfile/_funlockfile. Remove
4521 __lock_init_recursive call.
4522 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
4523 list.
4524
4525 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
4526
4527 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
4528 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
4529 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
4530 to be __LOCK_INIT_RECURSIVE.
4531
4532 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
4533
4534 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
4535 _exit.c with _exit.S.
4536 * libc/sys/h8300hms/Makefile.in: Regenerate.
4537 * libc/sys/h8300hms/_exit.c: Remove.
4538 * libc/sys/h8300hms/_exit.S: New.
4539
4540 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
4541
4542 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
4543 Change __sfp_lock to static global.
4544 (__fp_lock): New static function.
4545 (__fp_unlock): Ditto.
4546 (__fp_lock_all): New function.
4547 (__fp_unlock_all): Ditto.
4548
4549 2004-02-10 Christopher Faylor <cgf@redhat.com>
4550
4551 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
4552 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
4553 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
4554 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
4555
4556 2004-02-09 Christopher Faylor <cgf@redhat.com>
4557
4558 * libc/include/time.h (TIMER_RELTIME): New define.
4559
4560 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
4561
4562 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
4563 * libc/stdlib/Makefile.in: Regenerated.
4564
4565 2004-02-08 Christopher Faylor <cgf@redhat.com>
4566
4567 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
4568 * libc/include/sys/reent.h (__getreent): Protect against possibly being
4569 defined.
4570 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
4571
4572 2004-02-05 Paul Brook <paul@codesourcery.com>
4573
4574 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
4575 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
4576
4577 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4578
4579 * NEWS: Update with 1.12.0 info.
4580 * README: Ditto.
4581 * acinclude.m4: Change version number to 1.12.0.
4582 * aclocal.m4: Regenerated.
4583 * configure: Ditto.
4584 * doc/aclocal.m4: Ditto.
4585 * doc/configure: Ditto.
4586 * libc/*/aclocal.m4: Ditto.
4587 * libc/*/configure: Ditto.
4588 * libc/libc.texinfo: Ditto.
4589 * libm/*/aclocal.m4: Ditto.
4590 * libm/*/configure: Ditto.
4591 * libm/libm.texinfo: Ditto.
4592 * libc/sys/linux/shared.ld: Add VERS_1.12.
4593
4594 2004-02-02 Joel Sherrill <joel@oarcorp.com>
4595
4596 * configure.host: Add support for tic4x.
4597 * libc/include/machine/ieeefp.h: Ditto.
4598 * libc/include/machine/setjmp.h: Ditto.
4599 * libc/machine/tic4x/Makefile.am: New file.
4600 * libc/machine/tic4x/configure.in: Ditto.
4601 * libc/machine/tic4x/setjmp.S: Ditto.
4602 * libc/machine/tic4x/aclocal.m4: Generated.
4603 * libc/machine/tic4x/configure: Ditto.
4604 * libc/machine/tic4x/Makefile.in: Ditto.
4605
4606 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
4607
4608 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
4609 file chain on the passed in reentrancy struct if it
4610 is _GLOBAL_REENT.
4611
4612 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4613 Jeff Johnston <jjohnstn@redhat.com>
4614
4615 * libc/iconv/iconv.tex: Updated with more information.
4616
4617 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
4618 Jeff Johnston <jjohnstn@redhat.com>
4619
4620 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
4621 struct for std streams and traverse the global reeentrancy
4622 struct for all other streams.
4623
4624 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
4625
4626 * libc/stdlib/atexit.c: Protect global atexit list with a
4627 lock when newlib is multithreaded.
4628
4629 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4630
4631 * configure.in: Add support to generate iconv converter flags
4632 for newlib.h
4633 * newlib.hin: Add iconv converter flags.
4634 * configure: Regenerated.
4635 * libc/Makefile.in: Ditto.
4636 * libc/configure.in: Moved iconv converter parsing logic to
4637 top level newlib configure.in.
4638 * libc/configure: Regenerated.
4639 * libc/iconv/Makefile.in: Ditto.
4640 * libc/iconv/README.TODO
4641 * libc/iconv/charset.aliases: Remove wrong BE aliases for
4642 UCS2/UCS4/UTF8.
4643 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
4644 newlib.h can be used.
4645 * libc/iconv/ces/Makefile.am: Ditto.
4646 * libc/iconv/lib/Makefile.am: Ditto.
4647 * libc/iconv/ccs/Makefile.in: Regenerated.
4648 * libc/iconv/ces/Makefile.in: Ditto.
4649 * libc/iconv/lib/Makefile.in: Ditto.
4650 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
4651 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
4652 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
4653 defined in newlib.h.
4654 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4655 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4656 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4657 * libc/iconv/ccs/cp775.c: Ditto.
4658 * libc/iconv/ccs/cp850.c: Ditto.
4659 * libc/iconv/ccs/cp852.c: Ditto.
4660 * libc/iconv/ccs/cp855.c: Ditto.
4661 * libc/iconv/ccs/cp866.c: Ditto.
4662 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4663 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4664 * libc/iconv/ccs/iso_8859_15.c: Ditto.
4665 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4666 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4667 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4668 * libc/iconv/ccs/jis_x0201.c: Ditto.
4669 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4670 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4671 * libc/iconv/ccs/koi8_r.c: Ditto.
4672 * libc/iconv/ccs/koi8_u.c: Ditto.
4673 * libc/iconv/ccs/ksx1001.c: Ditto.
4674 * libc/iconv/ccs/shift_jis.c: Ditto.
4675 * libc/iconv/ccs/us_ascii.c: Ditto.
4676 * libc/iconv/ccs/binary/big5.cct: Newly generated.
4677 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4678 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4679 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4680 * libc/iconv/ccs/binary/cp775.cct: Ditto.
4681 * libc/iconv/ccs/binary/cp850.cct: Ditto.
4682 * libc/iconv/ccs/binary/cp852.cct: Ditto.
4683 * libc/iconv/ccs/binary/cp855.cct: Ditto.
4684 * libc/iconv/ccs/binary/cp866.cct: Ditto.
4685 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
4686 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4687 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4688 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4689 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4690 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4691 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4692 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4693 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4694 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4695 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4696 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4697 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4698 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4699 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
4700 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
4701 * libc/iconv/ces/euc-kr.c: Ditto.
4702 * libc/iconv/ces/euc-tw.c: Ditto.
4703 * libc/iconv/ces/gb2312.c: Ditto.
4704 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
4705 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4706 * libc/iconv/ces/ucs-2-internal.c: Ditto.
4707 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4708 * libc/iconv/ces/utf-16.c: Ditto.
4709 * libc/iconv/ces/utf-8.c: Ditto.
4710 * libc/iconv/lib/aliases.c: Ditto.
4711 * libc/iconv/lib/biccs.c: Ditto.
4712 * libc/iconv/lib/bices.c: Ditto.
4713 * libc/iconv/lib/ccs.c: Ditto.
4714 * libc/iconv/lib/ces.c: Ditto.
4715 * libc/iconv/lib/ces_euc.c: Ditto.
4716 * libc/iconv/lib/ces_iso2022.c: Ditto.
4717 * libc/iconv/lib/ces_table.c: Ditto.
4718 * libc/iconv/lib/converter.c: Ditto.
4719 * libc/iconv/lib/deps.h: Ditto.
4720 * libc/iconv/lib/endian.h: Ditto.
4721 * libc/iconv/lib/iconv.c: Ditto.
4722 * libc/iconv/lib/loaddata.c: Ditto.
4723 * libc/iconv/lib/local.h: Include newlib.h.
4724 * libc/argz/Makefile.in: Regenerated.
4725 * libc/ctype/Makefile.in: Ditto.
4726 * libc/errno/Makefile.in: Ditto.
4727 * libc/iconv/ccs/binary/Makefile.in: Ditto.
4728 * libc/locale/Makefile.in: Ditto.
4729 * libc/misc/Makefile.in: Ditto.
4730 * libc/posix/Makefile.in: Ditto.
4731 * libc/reent/Makefile.in: Ditto.
4732 * libc/search/Makefile.in: Ditto.
4733 * libc/signal/Makefile.in: Ditto.
4734 * libc/stdio/Makefile.in: Ditto.
4735 * libc/stdio64/Makefile.in: Ditto.
4736 * libc/stdlib/Makefile.in: Ditto.
4737 * libc/string/Makefile.in: Ditto.
4738 * libc/syscalls/Makefile.in: Ditto.
4739 * libc/time/Makefile.in: Ditto.
4740 * libc/unix/Makefile.in: Ditto.
4741 * testsuite/newlib.iconv/iconv.exp: New file.
4742 * testsuite/newlib.iconv/iconvjp.c: Ditto.
4743 * testsuite/newlib.iconv/iconvnm.c: Ditto.
4744 * testsuite/newlib.iconv/iconvru.c: Ditto.
4745
4746 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4747
4748 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
4749 (--enable-newlib-builtin-converters): Ditto.
4750 * configure.in: Add code to set _ICONV_ENABLED flag.
4751 Set _MB_LEN_MAX to 1 if not mb enabled.
4752 * configure: Regenerated.
4753 * aclocal.m4: Ditto.
4754 * Makefile.in: Ditto.
4755 * newlib.hin: Add _ICONV_ENABLED flag.
4756 * libc/Makefile.am: Add support for iconv.
4757 * libc/configure.in: Ditto.
4758 * libc/Makefile.in: Regenerated.
4759 * libc/aclocal.m4: Ditto.
4760 * libc/configure: Ditto.
4761 * libc/libc.texinfo: Add iconv documentation.
4762 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
4763 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
4764 libc/iconv/README.TODO, libc/iconv/charset.aliases,
4765 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
4766 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
4767 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
4768 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
4769 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
4770 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
4771 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
4772 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
4773 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
4774 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
4775 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
4776 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
4777 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
4778 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
4779 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
4780 libc/iconv/ccs/binary/big5.cct,
4781 libc/iconv/ccs/binary/cns11643_plane1.cct,
4782 libc/iconv/ccs/binary/cns11643_plane14.cct,
4783 libc/iconv/ccs/binary/cns11643_plane2.cct,
4784 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
4785 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
4786 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
4787 libc/iconv/ccs/binary/iso_8859_1.cct,
4788 libc/iconv/ccs/binary/iso_8859_15.cct,
4789 libc/iconv/ccs/binary/iso_8859_2.cct,
4790 libc/iconv/ccs/binary/iso_8859_4.cct,
4791 libc/iconv/ccs/binary/iso_8859_5.cct,
4792 libc/iconv/ccs/binary/jis_x0201.cct,
4793 libc/iconv/ccs/binary/jis_x0208_1983.cct,
4794 libc/iconv/ccs/binary/jis_x0212_1990.cct,
4795 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
4796 libc/iconv/ccs/binary/ksx1001.cct,
4797 libc/iconv/ccs/binary/shift_jis.cct,
4798 libc/iconv/ccs/binary/us_ascii.cct,
4799 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
4800 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
4801 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
4802 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
4803 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
4804 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
4805 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
4806 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
4807 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
4808 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
4809 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
4810 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
4811 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
4812 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
4813 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
4814 * libc/sys/linux/include/iconv.h: Ditto.
4815 * libc/include/sys/_types.h (_iconv_t): Added.
4816 * doc/aclocal.m4: Regenerated.
4817 * doc/configure: Ditto.
4818 * doc/Makefile.in: Ditto.
4819 * iconvdata/Makefile.in: Ditto.
4820 * iconvdata/aclocal.m4: Ditto.
4821 * iconvdata/configure: Ditto.
4822 * libc/*aclocal.m4: Ditto.
4823 * libc/*Makefile.in: Ditto.
4824 * libc/*configure: Ditto.
4825 * libm/*aclocal.m4: Ditto.
4826 * libm/*Makefile.in: Ditto.
4827 * libm/*configure: Ditto.
4828
4829 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
4830
4831 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
4832 by a lock when newlib is multithreaded.
4833
4834 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
4835
4836 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
4837 pointer to match C99 spec.
4838 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
4839 dst is NULL. Also fix to not alter src pointer when dst is NULL
4840 and call _mbrtowc_r instead of _mbtowc_r.
4841 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
4842 of _wctomb_r.
4843
4844 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
4845
4846 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
4847 * libc/stdio/freopen.c (freopen): Ditto.
4848
4849 2004-01-16 Christopher Faylor <cgf@redhat.com>
4850
4851 * libc/stdio/vfprintf.c: Add sys/lock.h include.
4852
4853 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
4854
4855 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
4856 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
4857 Add calls to __lock_init_recursive and __lock_close_recursive
4858 instead.
4859
4860 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
4861
4862 * libc/stdio/fclose.c: Include sys/lock.h.
4863 (fclose): Destroy lock when file is closed.
4864 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
4865 member.
4866 * libc/stdio/freopen.c: Include sys/lock.h.
4867 (_freopen_r): Destroy lock when file is closed.
4868 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
4869 _lock member.
4870
4871 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4872
4873 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
4874 Remove warnings.
4875
4876 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4877
4878 * libc/sys/rtems/sys/queue.h: New file.
4879 * libc/include/sys/signal.h: Reflect renumbering of signals to
4880 fit into 32-bit mask.
4881 * libc/include/sys/unistd.h: Add fdatasync() prototype.
4882 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
4883 required. In particular, add the reentrant variants of libc calls.
4884 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
4885
4886 2004-01-06 Mark Mitchell <mark@codesourcery.com>
4887
4888 * libc/sys/arm/syscalls.c (unistd.h): Include it.
4889 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
4890 Similarly for stdout and stderr.
4891
4892 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
4893
4894 * libc/libc.texinfo: Correct escape character for @ sign
4895 so file will be processed by make info. Update copyright years.
4896 * libm/libm.texinfo: Ditto.
4897
4898 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4899
4900 * libc/include/sys/stat.h: No longer include stat-dj.h.
4901 * libc/include/sys/stat-dj.h: Removed.
4902
4903 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4904
4905 * libc/include/wchar.h: Include <sys/reent.h>.
4906
4907 2003-12-05 Christopher Faylor <cgf@redhat.com>
4908
4909 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
4910 when defining _mbrtowc.
4911 * libc/stdlib/mbsinit.c: Ditto.
4912 * libc/stdlib/mbsrtowcs.c: Ditto.
4913 * libc/stdlib/wcrtomb.c: Ditto.
4914 * libc/stdlib/wcsrtombs.c: Ditto.
4915 * libc/stdlib/wctob.c: Ditto.
4916
4917 2003-12-05 Christopher Faylor <cgf@redhat.com>
4918
4919 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
4920 errors when defining _mbrtowc.
4921 * libc/stdlib/mbsinit.c: Ditto.
4922 * libc/stdlib/mbsrtowcs.c: Ditto.
4923
4924 2003-12-05 Christopher Faylor <cgf@redhat.com>
4925
4926 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
4927 errors when defining _mbrtowc.
4928
4929 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4930
4931 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
4932 of mb routines for %lc and %ls support.
4933 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
4934 %ls, and %S support. Remove CYGNUS_NEC markers and
4935 code within.
4936
4937 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
4938
4939 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
4940 _wcrtomb_r, and _wcsrtombs_r.
4941
4942 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
4943
4944 * libc/include/sys/fcntl.h: Don't define struct flock when on
4945 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
4946
4947 2003-11-28 Christopher Faylor <cgf@redhat.com>
4948
4949 * libc/include/sys/signal.h: Use system specific signal file when
4950 building on cygwin.
4951
4952 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4953
4954 * libc/include/stdlib.h (_atoi_r): New prototype.
4955 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
4956
4957 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4958
4959 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
4960 * libc/stdlib/atol.c (_atol_r): New reentrant function.
4961 * libc/stdlib/atoll.c (_atoll_r): Ditto.
4962
4963 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4964 Jeff Johnston <jjohnstn@redhat.com>
4965
4966 * libc/include/stdlib.h (lldiv_t): New type.
4967 (atoll, llabs, lldiv): New prototypes.
4968 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
4969 * libc/stdlib/stdlib.tex: Ditto.
4970 * libc/stdlib/Makefile.in: Regenerated.
4971 * libc/stdlib/atoll.c: New file.
4972 * libc/stdlib/llabs.c: Ditto.
4973 * libc/stdlib/lldiv.c: Ditto.
4974
4975 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
4976
4977 * libc/include/fcntl.h: Declare syscalls only when building newlib.
4978 * libc/include/unistd.h: Ditto.
4979 * libc/include/stat.h: Ditto. Also declare struct stat64.
4980
4981 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4982
4983 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
4984 specifier to use ch instead of *fmt.
4985
4986 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4987
4988 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
4989 code within checks for MB_CAPABLE. For non-mb-capable platforms,
4990 use simple byte logic.
4991
4992 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
4993
4994 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
4995 _strtold routine for processing floats and doubles since it
4996 is not as fast as _strtod_r.
4997
4998 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4999
5000 * libc/machine/h8300/defines.h : Correct pointer register defines
5001 for normal mode.
5002 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
5003 for normal mode.
5004 * libc/machine/h8300/reg_memcpy.S : Likewise.
5005 * libc/machine/h8300/reg_memset.S : Likewise.
5006 * libc/machine/h8300/strcmp.S : Likewise.
5007
5008 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
5009
5010 * configure.host: Enable positional arguments for printf
5011 family for Cygwin.
5012 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5013 pointer reference for quad_ptr_t.
5014
5015 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5016
5017 * libc/stdio/scanf.c: Don't include local.h more than once.
5018
5019 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
5020
5021 * libc/include/sys/fcntl.h: Declare _open64.
5022 * libc/include/sys/stat.h: Declare _fstat64.
5023 * libc/include/sys/unistd.h: Declare _lseek64.
5024
5025 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
5026
5027 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5028 (setprogname): Ditto.
5029
5030 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5031
5032 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5033 to use (Ebits + 1) which accounts for the sign-bit.
5034
5035 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5036
5037 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
5038 x86 build.
5039 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5040 and set up default flags to pass to aclocal.
5041 * iconvdata/Makefile.in: Regenerated.
5042 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5043 and getpwuid routines.
5044 * libc/sys/linux/Makefile.in: Regenerated.
5045 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5046 applications to link with newlib's shared libc library.
5047 * libc/sys/linux/getpwnam.c: Ditto.
5048 * libc/sys/linux/getpwuid.c: Ditto.
5049 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5050 that were formerly supplied by /usr/include/linux/types.h with
5051 kernel types.
5052 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5053 test _ELIX_LEVEL macro.
5054
5055 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5056
5057 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5058 referring to _NO_LONGLONG macro.
5059
5060 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5061
5062 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5063 in LOG() macro so this will compile on gcc 3.4 and up.
5064 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5065 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5066 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5067 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5068 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5069 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5070 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5071 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5072 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5073 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5074 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5075 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5076 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5077 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5078 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5079 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5080 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5081 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5082 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5083 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5084 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5085 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5086 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5087 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5088 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5089 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5090 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5091 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5092 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5093 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5094 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5095 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5096 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5097 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5098 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5099 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5100
5101 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5102 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5103
5104 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5105 %ls, %S, %lc, and %C format specifiers.
5106 (get_arg): Ditto.
5107 * libc/stdio/sprintf.c: Add documentation regarding new
5108 format specifiers added in vfprintf.c.
5109
5110 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5111
5112 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5113 to make code work as specified in standard.
5114
5115 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5116
5117 * configure.in: Use absolute newlib basedir when forming
5118 CC_FOR_NEWLIB include options.
5119 * configure: Regenerated.
5120
5121 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5122
5123 * libc/string/wcsnlen.c: New file.
5124 * libc/include/wchar.h: Add wcsnlen prototype.
5125 * libc/string/Makefile.am: Add wcsnlen support.
5126 * libc/string/Makefile.in: Regenerated.
5127 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5128
5129 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
5130
5131 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5132
5133 2003-10-20 Bob Wilson <bob.wilson@acm.org>
5134
5135 * libc/locale/locale.c: Use double quotes in code.
5136 * libc/locale/locale.tex: Likewise.
5137 * libc/libc.texinfo: Hyphenate "floating-point".
5138 * libc/machine/necv70/necv70.tex: Likewise.
5139 * libc/stdio/sprintf.c: Likewise.
5140 * libc/stdio/sscanf.c: Likewise.
5141 * libc/stdlib/atof.c: Likewise.
5142 * libc/stdlib/ldtoa.c: Fix comment typo.
5143 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5144 * libc/stdlib/ldiv.c: Likewise.
5145 * libm/common/s_expm1.c: Likewise.
5146 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5147 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5148 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5149 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5150 and "floating-point".
5151 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5152 * libm/math/e_pow.c: Fix comment typo.
5153 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5154 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5155 * libm/math/s_atan.c: Likewise.
5156 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5157 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5158 "floating-point". Use "nonzero".
5159 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5160 * libm/math/w_acos.c: Likewise.
5161 * libm/math/w_acosh.c: Likewise.
5162 * libm/math/w_asin.c: Likewise.
5163 * libm/math/w_atan2.c: Likewise.
5164 * libm/math/w_atanh.c: Likewise.
5165 * libm/math/w_cosh.c: Likewise.
5166 * libm/math/w_exp.c: Likewise.
5167 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5168 version of 2^x in the description.
5169 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5170 * libm/math/w_gamma.c: Likewise.
5171 * libm/math/w_hypot.c: Likewise.
5172 * libm/math/w_j0.c: Likewise.
5173 * libm/math/w_sinh.c: Likewise.
5174 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5175 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5176 "floating-point".
5177 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5178 * libm/mathfp/e_atanh.c: Likewise.
5179 * libm/mathfp/e_hypot.c: Likewise.
5180 * libm/mathfp/er_lgamma.c: Likewise.
5181 * libm/mathfp/s_acos.c: Likewise.
5182 * libm/mathfp/s_asine.c: Likewise.
5183 * libm/mathfp/s_asinh.c: Likewise.
5184 * libm/mathfp/s_atan.c: Likewise.
5185 * libm/mathfp/s_atan2.c: Likewise.
5186 * libm/mathfp/s_atangent.c: Likewise.
5187 * libm/mathfp/s_cosh.c: Likewise.
5188 * libm/mathfp/s_exp.c: Likewise.
5189 * libm/mathfp/s_fmod.c: Likewise.
5190 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5191 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5192 "floating-point". Use "nonzero".
5193 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5194 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5195 * libm/mathfp/s_sineh.c: Likewise.
5196 * libm/mathfp/w_jn.c: Likewise.
5197
5198 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
5199
5200 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5201 lines, to enable parallel make.
5202 * Makefile.in: Rebuilt.
5203
5204 2003-10-14 Christopher Faylor <cgf@redhat.com>
5205
5206 * libc/time/clock.c: Clarify documentation of return value when no
5207 measurement is available.
5208
5209 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5210
5211 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5212 * libm/configure: Regenerate.
5213 * libm/Makefile.in: Ditto.
5214
5215 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5216
5217 * libc/machine/sh/strncpy.S: New file.
5218 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5219 * libc/machine/sh/Makefile.in: Regenerate.
5220
5221 2003-09-11 James E Wilson <wilson@specifixinc.com>
5222
5223 * MAINTAINERS: Update my e-mail address.
5224
5225 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
5226
5227 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5228
5229 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5230
5231 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5232 prototype.
5233 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5234 _simdldcheck(). Also add unsigned cast for index variable in
5235 for loop using sizeof operators.
5236 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5237 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5238 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5239 plus fix shift calculation for determining if there is a
5240 carry from word2.
5241
5242 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
5243
5244 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5245 setgroupent for Cygwin.
5246
5247 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5248
5249 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5250 is different for _REENT_SMALL than when using regular reent
5251 struct.
5252
5253 2003-09-05 Ben Elliston <bje@wasabisystems.com>
5254
5255 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5256 modern versions of GCC issue a warning.
5257
5258 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5259 after continuation characters that induces a warning from modern
5260 versions of GCC.
5261
5262 2003-09-04 Ben Elliston <bje@wasabisystems.com>
5263
5264 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
5265 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
5266
5267 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
5268
5269 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
5270 * libc/stdlib/exit.c : Ditto.
5271 * libc/stdlib/on_exit.c: Ditto.
5272
5273 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
5274
5275 * libc/include/reent.h: Define stat64 as __stat64 when
5276 compiling newlib for Cygwin.
5277
5278 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5279
5280 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
5281 __stat64 when compiling newlib.
5282
5283 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5284
5285 * libc/include/stdio.h: Allow the io64 function prototypes for
5286 Cygwin when compiling newlib.
5287 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
5288 to expose the Cygwin struct __stat64 type.
5289 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
5290 pointer.
5291 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
5292
5293 2003-08-23 Christopher Faylor <cgf@redhat.com>
5294
5295 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5296 definition to fseeko64.
5297
5298 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5299
5300 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5301 * libc/stdio: Globally remove/replace all references to fp->_data.
5302 Replace with _REENT or _GLOBAL_REENT where appropriate.
5303 * libc/stdio/asprintf.c: Ditto.
5304 * libc/stdio/fclose.c: Ditto.
5305 * libc/stdio/fvwrite.c: Ditto.
5306 * libc/stdio/makebuf.c: Ditto.
5307 * libc/stdio/refill.c: Ditto.
5308 * libc/stdio/local.h: Ditto.
5309 * libc/stdio/setvbuf.c: Ditto.
5310 * libc/stdio/sscanf.c: Ditto.
5311 * libc/stdio/stdio.c: Ditto.
5312 * libc/stdio/ungetc.c: Ditto.
5313 * libc/stdio/vfscanf.c: Ditto.
5314 * libc/stdio/vsscanf.c: Ditto.
5315 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
5316 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
5317 * libc/stdio/vsnprintf.c: Ditto.
5318 * libc/stdio/vsprintf.c: Ditto.
5319 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
5320 instead of _REENT to walk file list.
5321 * libc/stdio/fflush.c: Ditto.
5322 * libc/stdio/fgetpos.c: Add reentrant version and have regular
5323 version call reentrant version with _REENT argument.
5324 * libc/stdio/fsetpos.c: Ditto.
5325 * libc/stdio/fseek.c: Ditto.
5326 * libc/stdio/fseeko.c: Ditto.
5327 * libc/stdio/ftell.c: Ditto.
5328 * libc/stdio/ftello.c: Ditto.
5329 * libc/stdio/freopen.c: Ditto.
5330 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
5331 new files to chain. Also use _GLOBAL_REENT pointer for
5332 cleaning up.
5333 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
5334 * libc/stdio/siprintf.c: Ditto.
5335 * libc/stdio/iprintf.c: Ditto.
5336 * libc/stdio/fprintf.c: Ditto.
5337 * libc/stdio/printf.c: Ditto.
5338 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
5339 * libc/stdio/sprintf.c: Ditto.
5340 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
5341 * libc/stdio/rewind.c: Call _fseek_r directly.
5342 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
5343 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
5344 data pointer.
5345 (get_arg): Add extra struct _reent pointer argument.
5346 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
5347 to fp->_data.
5348 * libc/stdio64/fopen64.c: Ditto.
5349 * libc/stdio64/freopen64.c: Ditto.
5350 * libc/stdio64/fsetpos64.c: Ditto.
5351 * libc/stdio64/ftello64.c: Ditto.
5352 * libc/stdio64/local64.h: Ditto.
5353 * libc/stdio64/stdio64.c: Ditto.
5354 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
5355 _fstat64_r for the meantime.
5356
5357 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
5358
5359 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
5360 overflow detection.
5361
5362 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
5363
5364 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
5365 extern "C".
5366
5367 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
5368
5369 * libc/include/math.h: Add prototypes for __signbitf and
5370 __signbitd.
5371
5372 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
5373
5374 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
5375 correct type of conversion when dealing with EUCJP or SJIS.
5376 * libc/ctype/iswblank.c: Ditto.
5377 * libc/ctype/iswcntrl.c: Ditto.
5378 * libc/ctype/iswprint.c: Ditto.
5379 * libc/ctype/iswpunct.c: Ditto.
5380 * libc/ctype/iswspace.c: Ditto.
5381 * libc/ctype/towlower.c: Ditto.
5382 * libc/ctype/towupper.c: Ditto.
5383
5384 2003-07-31 Nick Clifton <nickc@redhat.com>
5385
5386 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
5387 before calling main, in case it saves its argument registers.
5388 Remove reference to deleted v850ea port.
5389 * configure.host: Remove reference to deleted v850ea port.
5390 Do not use -mv850 when building for v850e target. This
5391 prevents the ctbp system register from being initialised.
5392
5393 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
5394
5395 * libc/stdio/vfprintf.c: Set output size to 1 when
5396 we have %f format with precision 0 and # flag not specified.
5397
5398 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
5399
5400 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
5401 .am33_2.
5402
5403 2003-07-25 Christopher Faylor <cgf@redhat.com>
5404
5405 * libc/stdio64/fdopen64.c: Include sys/lock.h.
5406
5407 2003-07-25 Christopher Faylor <cgf@redhat.com>
5408
5409 * configure.host: Find cygwin include directory, when appropriate.
5410
5411 2003-07-24 Christopher Faylor <cgf@redhat.com>
5412
5413 * libc/stdio64/fdopen64.c: New file.
5414 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
5415 * libc/stdio64/Makefile.in: Regenerate.
5416 * libc/include/stdio.h (fdopen64): Define.
5417 * libc/include/stdio.h (_fdopen64_r): Ditto.
5418
5419 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
5420
5421 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
5422 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
5423 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
5424 restore callee-saved FP registers.
5425
5426 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
5427
5428 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
5429 for __sh__.
5430 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
5431 truncate.c.
5432 * libc/sys/sh/Makefile.in: Regenerate.
5433 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
5434 * libc/sys/sh/ftruncate.c: New file.
5435 * libc/sys/sh/truncate.c: Likewise.
5436
5437 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
5438
5439 * libc/include/math.h (nan, nanf): Update prototype to C99.
5440 * libm/common/s_nan.c (nan): Likewise.
5441 * libm/common/s_nanf.c (nanf, nan): Likewise.
5442 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
5443
5444 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
5445
5446 * libc/include/stdbool.h: Removed as this is defined by gcc.
5447
5448 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
5449
5450 * libc/include/stdbool.h: New header file defined by C99.
5451
5452 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5453
5454 * libc/include/sys/types.h (int8_t): Make signed.
5455
5456 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5457
5458 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
5459
5460 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
5461
5462 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
5463 on if we actually created the shared memory file exclusively.
5464
5465 2003-06-27 Joe Vornehm <joev@mitre.org>
5466
5467 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
5468 comparisons to account for unsigned internal value w.
5469
5470 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
5471
5472 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
5473 wrbuf for a non-creating open.
5474
5475 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
5476
5477 * libc/machine/h8300/setarch.h: New.
5478 * libc/machine/h8300/memcpy.S: Use it.
5479 * libc/machine/h8300/memset.S: Likewise.
5480 * libc/machine/h8300/reg_memcpy.S: Likewise.
5481 * libc/machine/h8300/reg_memset.S: Likewise.
5482 * libc/machine/h8300/setjmp.S: Likewise.
5483 * libc/machine/h8300/strcmp.S: Likewise.
5484
5485 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
5486
5487 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
5488 to atexit().
5489
5490 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5491
5492 * configure.host (iq2000): Add tabs.
5493
5494 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5495
5496 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
5497 to handle latest on_exit change.
5498 * libc/sys/linux/Makefile.am: Remove special compilation
5499 for malloc.c and mcheck.c.
5500 * libc/sys/linux/Makefile.in: Regenerated.
5501 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
5502 after including <features.h>.
5503 * libc/sys/linux/mcheck.c: Ditto.
5504 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
5505 for <features.h>.
5506 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
5507 add -DNOT_IN_libc to C flags.
5508 * libc/sys/linux/intl/Makefile.in: Regenerated.
5509 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
5510 * libc/sys/linux/linuxthreads/semaphore.h: Include
5511 <bits/pthreadtypes.h>.
5512 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
5513 including <features.h>.
5514 * libc/sys/linux/sys/lock.h: Ditto.
5515
5516 2003-06-11 Nick Clifton <nickc@redhat.com>
5517
5518 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
5519 _on_exit_args_ptr.
5520
5521 2003-06-10 Stan Cox <scox@redhat.com>
5522 Anthony Green <green@redhat.com>
5523
5524 * configure.host: Add iq2000 support.
5525 * newlib/libc/include/machine/ieeefp.h: Ditto.
5526 * newlib/libc/include/machine/setjmp.h: Ditto.
5527 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
5528 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
5529 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
5530 libc/machine/iq2000/Makefile.in: New files.
5531
5532 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
5533
5534 * libc/sys/h8300hms/setarch.h: New file.
5535 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
5536 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
5537 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
5538 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
5539
5540 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
5541
5542 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
5543 definition.
5544 * libc/argz/argz_add_sep.c: Ditto.
5545 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
5546 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
5547 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
5548 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
5549 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
5550 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
5551 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
5552 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
5553 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
5554 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
5555 * libc/posix/execl.c libc/posix/execle.c: Ditto.
5556 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
5557 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
5558 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
5559 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
5560 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
5561 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
5562 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
5563 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
5564 * libc/search/twalk.c libc/signal/signal.c: Ditto.
5565
5566 2003-06-05 Nick Clifton <nickc@redhat.com>
5567
5568 * libc/include/sys/reent.h (struct _on_exit_args): New
5569 structure containing fields used by the on_exit() function.
5570 (struct _atexit): Include struct _on_exit_args. For
5571 _REENT_SMALL do his via a pointer that is initialised when
5572 needed.
5573 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
5574 structure, if one has been allocated.
5575 * libc/stdlib/atexit.c (atexit): Update indirection to
5576 _fntypes field.
5577 * libc/stdlib/on_exit.c (on_exit): Indirect via the
5578 _on_exit_args structure. For _REENT_SMALL, allocate a
5579 structure if one does not exist.
5580 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
5581 structure.
5582
5583 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
5584
5585 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
5586 * libc/sys/linux/net/Makefile.in: Regenerated.
5587
5588 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
5589
5590 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
5591 * libc/reent/fcntlr.c: Ditto.
5592 * libc/reent/fstat64r.c: Ditto.
5593 * libc/reent/linkr.c: Ditto.
5594 * libc/reent/lseek64r.c: Ditto.
5595 * libc/reent/lseekr.c: Ditto.
5596 * libc/reent/openr.c: Ditto.
5597 * libc/reent/readr.c: Ditto.
5598 * libc/reent/reent.c: Ditto.
5599 * libc/reent/sbrkr.c: Ditto.
5600 * libc/reent/signalr.c: Ditto.
5601 * libc/reent/signgam.c: Ditto.
5602 * libc/reent/statr.c: Ditto.
5603 * libc/reent/timer.c: Ditto.
5604 * libc/reent/unlinkr.c: Ditto.
5605 * libc/reent/writer.c: Ditto.
5606 * libc/syscalls/sysclose.c: Ditto.
5607 * libc/syscalls/sysexecve.c: Ditto.
5608 * libc/syscalls/sysfcntl.c: Ditto.
5609 * libc/syscalls/sysfork.c: Ditto.
5610 * libc/syscalls/sysfstat.c: Ditto.
5611 * libc/syscalls/sysgetpid.c: Ditto.
5612 * libc/syscalls/sysgettod.c: Ditto.
5613 * libc/syscalls/syskill.c: Ditto.
5614 * libc/syscalls/syslink.c: Ditto.
5615 * libc/syscalls/syslseek.c: Ditto.
5616 * libc/syscalls/sysopen.c: Ditto.
5617 * libc/syscalls/sysread.c: Ditto.
5618 * libc/syscalls/syssbrk.c: Ditto.
5619 * libc/syscalls/sysstat.c: Ditto.
5620 * libc/syscalls/systimes.c: Ditto.
5621 * libc/syscalls/sysunlink.c: Ditto.
5622 * libc/syscalls/syswait.c: Ditto.
5623 * libc/syscalls/syswrite.c: Ditto.
5624
5625 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
5626
5627 * libc/time/tzset_r.c: Change local variables that are
5628 set via sscanf using the %h format specifier to be unsigned short
5629 instead of int.
5630
5631 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
5632
5633 * configure.host: Allow i[34567]86 variant.
5634 * configure.in: Likewise.
5635 * README: Likewise to the docs.
5636 * configure: Regenerated.
5637 * Makefile.in: Ditto.
5638
5639 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
5640 Tom Fitzsimmons <fitzsim@redhat.com>
5641
5642 * configure.in: Add iconvdata support for x86 linux.
5643 * configure: Regenerated.
5644 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
5645 library, iconv, and linuxthreads support.
5646 * libc/sys/linux/configure.in: Ditto.
5647 * libc/sys/linux/Makefile.in: Regenerated.
5648 * libc/sys/linux/configure: Ditto.
5649 * iconvdata/EUC-JP.irreversible: New file.
5650 * iconvdata/Makefile.am: Ditto.
5651 * iconvdata/Makefile.in: Ditto.
5652 * iconvdata/SJIS.irreversible: Ditto.
5653 * iconvdata/aclocal.m4: Ditto.
5654 * iconvdata/configure: Ditto.
5655 * iconvdata/configure.in: Ditto.
5656 * iconvdata/dummy.c: Ditto.
5657 * iconvdata/euc-jp.c: Ditto.
5658 * iconvdata/gconv-modules: Ditto.
5659 * iconvdata/jis0201.c: Ditto.
5660 * iconvdata/jis0201.h: Ditto.
5661 * iconvdata/jis0208.c: Ditto.
5662 * iconvdata/jis0208.h: Ditto.
5663 * iconvdata/jis0212.c: Ditto.
5664 * iconvdata/jis0212.h: Ditto.
5665 * iconvdata/sjis.c: Ditto.
5666 * libc/include/errno.h: Protect definition of error_t.
5667 * libc/sys/linux/gethostid.c: New file.
5668 * libc/sys/linux/sethostid.c: Ditto.
5669 * libc/sys/linux/dl/Makefile.am: Ditto.
5670 * libc/sys/linux/dl/Makefile.in: Ditto.
5671 * libc/sys/linux/dl/abi-tag.h: Ditto.
5672 * libc/sys/linux/dl/atomicity.h: Ditto.
5673 * libc/sys/linux/dl/dl-addr.c: Ditto.
5674 * libc/sys/linux/dl/dl-cache.c: Ditto.
5675 * libc/sys/linux/dl/dl-cache.h: Ditto.
5676 * libc/sys/linux/dl/dl-close.c: Ditto.
5677 * libc/sys/linux/dl/dl-debug.c: Ditto.
5678 * libc/sys/linux/dl/dl-deps.c: Ditto.
5679 * libc/sys/linux/dl/dl-dst.h: Ditto.
5680 * libc/sys/linux/dl/dl-error.c: Ditto.
5681 * libc/sys/linux/dl/dl-fini.c: Ditto.
5682 * libc/sys/linux/dl/dl-init.c: Ditto.
5683 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
5684 * libc/sys/linux/dl/dl-libc.c: Ditto.
5685 * libc/sys/linux/dl/dl-librecon.h: Ditto.
5686 * libc/sys/linux/dl/dl-load.c: Ditto.
5687 * libc/sys/linux/dl/dl-lookup.c: Ditto.
5688 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
5689 * libc/sys/linux/dl/dl-minimal.c: Ditto.
5690 * libc/sys/linux/dl/dl-misc.c: Ditto.
5691 * libc/sys/linux/dl/dl-object.c: Ditto.
5692 * libc/sys/linux/dl/dl-open.c: Ditto.
5693 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
5694 * libc/sys/linux/dl/dl-profile.c: Ditto.
5695 * libc/sys/linux/dl/dl-profstub.c: Ditto.
5696 * libc/sys/linux/dl/dl-reloc.c: Ditto.
5697 * libc/sys/linux/dl/dl-runtime.c: Ditto.
5698 * libc/sys/linux/dl/dl-support.c: Ditto.
5699 * libc/sys/linux/dl/dl-sym.c: Ditto.
5700 * libc/sys/linux/dl/dl-version.c: Ditto.
5701 * libc/sys/linux/dl/dlfcn.h: Ditto.
5702 * libc/sys/linux/dl/do-lookup.h: Ditto.
5703 * libc/sys/linux/dl/do-rel.h: Ditto.
5704 * libc/sys/linux/dl/dynamic-link.h: Ditto.
5705 * libc/sys/linux/dl/kernel-features.h: Ditto.
5706 * libc/sys/linux/dl/ldsodefs.h: Ditto.
5707 * libc/sys/linux/dl/libintl.h: Ditto.
5708 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
5709 * libc/sys/linux/dl/unsecvars.h: Ditto.
5710 * libc/sys/linux/iconv/Makefile.am: Ditto.
5711 * libc/sys/linux/iconv/Makefile.in: Ditto.
5712 * libc/sys/linux/iconv/categories.def: Ditto.
5713 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
5714 * libc/sys/linux/iconv/gconv.c: Ditto.
5715 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
5716 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
5717 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
5718 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
5719 * libc/sys/linux/iconv/gconv_close.c: Ditto.
5720 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
5721 * libc/sys/linux/iconv/gconv_db.c: Ditto.
5722 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
5723 * libc/sys/linux/iconv/gconv_int.h: Ditto.
5724 * libc/sys/linux/iconv/gconv_open.c: Ditto.
5725 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
5726 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
5727 * libc/sys/linux/iconv/hash-string.h: Ditto.
5728 * libc/sys/linux/iconv/iconv.c: Ditto.
5729 * libc/sys/linux/iconv/iconv.h: Ditto.
5730 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
5731 * libc/sys/linux/iconv/iconv_close.c: Ditto.
5732 * libc/sys/linux/iconv/iconv_open.c: Ditto.
5733 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
5734 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
5735 * libc/sys/linux/iconv/loadinfo.h: Ditto.
5736 * libc/sys/linux/iconv/localeinfo.h: Ditto.
5737 * libc/sys/linux/iconv/loop.c: Ditto.
5738 * libc/sys/linux/iconv/skeleton.c: Ditto.
5739 * libc/sys/linux/iconv/strtab.c: Ditto.
5740 * libc/sys/linux/include/dl-hash.h: Ditto.
5741 * libc/sys/linux/include/dlfcn.h: Ditto.
5742 * libc/sys/linux/include/fnmatch.h: Ditto.
5743 * libc/sys/linux/include/gconv.h: Ditto.
5744 * libc/sys/linux/include/glob.h: Ditto.
5745 * libc/sys/linux/include/hesiod.h: Ditto.
5746 * libc/sys/linux/include/ifaddrs.h: Ditto.
5747 * libc/sys/linux/include/libc_private.h: Ditto.
5748 * libc/sys/linux/include/link.h: Ditto.
5749 * libc/sys/linux/include/namespace.h: Ditto.
5750 * libc/sys/linux/include/netconfig.h: Ditto.
5751 * libc/sys/linux/include/netdb.h: Ditto.
5752 * libc/sys/linux/include/nsswitch.h: Ditto.
5753 * libc/sys/linux/include/regex.h: Ditto.
5754 * libc/sys/linux/include/resolv.h: Ditto.
5755 * libc/sys/linux/include/rune.h: Ditto.
5756 * libc/sys/linux/include/runetype.h: Ditto.
5757 * libc/sys/linux/include/semaphore.h: Ditto.
5758 * libc/sys/linux/include/setlocale.h: Ditto.
5759 * libc/sys/linux/include/un-namespace.h: Ditto.
5760 * libc/sys/linux/include/wordexp.h: Ditto.
5761 * libc/sys/linux/include/arpa/ftp.h: Ditto.
5762 * libc/sys/linux/include/arpa/inet.h: Ditto.
5763 * libc/sys/linux/include/arpa/nameser.h: Ditto.
5764 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
5765 * libc/sys/linux/include/arpa/telnet.h: Ditto.
5766 * libc/sys/linux/include/arpa/tftp.h: Ditto.
5767 * libc/sys/linux/include/net/bpf.h: Ditto.
5768 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
5769 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
5770 * libc/sys/linux/include/net/bridge.h: Ditto.
5771 * libc/sys/linux/include/net/ethernet.h: Ditto.
5772 * libc/sys/linux/include/net/fddi.h: Ditto.
5773 * libc/sys/linux/include/net/if.h: Ditto.
5774 * libc/sys/linux/include/net/if_arc.h: Ditto.
5775 * libc/sys/linux/include/net/if_arp.h: Ditto.
5776 * libc/sys/linux/include/net/if_atm.h: Ditto.
5777 * libc/sys/linux/include/net/if_dl.h: Ditto.
5778 * libc/sys/linux/include/net/if_gif.h: Ditto.
5779 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
5780 * libc/sys/linux/include/net/if_llc.h: Ditto.
5781 * libc/sys/linux/include/net/if_media.h: Ditto.
5782 * libc/sys/linux/include/net/if_mib.h: Ditto.
5783 * libc/sys/linux/include/net/if_ppp.h: Ditto.
5784 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
5785 * libc/sys/linux/include/net/if_slvar.h: Ditto.
5786 * libc/sys/linux/include/net/if_sppp.h: Ditto.
5787 * libc/sys/linux/include/net/if_stf.h: Ditto.
5788 * libc/sys/linux/include/net/if_tap.h: Ditto.
5789 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
5790 * libc/sys/linux/include/net/if_tun.h: Ditto.
5791 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
5792 * libc/sys/linux/include/net/if_types.h: Ditto.
5793 * libc/sys/linux/include/net/if_var.h: Ditto.
5794 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
5795 * libc/sys/linux/include/net/intrq.h: Ditto.
5796 * libc/sys/linux/include/net/iso88025.h: Ditto.
5797 * libc/sys/linux/include/net/net_osdep.h: Ditto.
5798 * libc/sys/linux/include/net/netisr.h: Ditto.
5799 * libc/sys/linux/include/net/pfil.h: Ditto.
5800 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
5801 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
5802 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
5803 * libc/sys/linux/include/net/radix.h: Ditto.
5804 * libc/sys/linux/include/net/raw_cb.h: Ditto.
5805 * libc/sys/linux/include/net/route.h: Ditto.
5806 * libc/sys/linux/include/net/slcompress.h: Ditto.
5807 * libc/sys/linux/include/net/slip.h: Ditto.
5808 * libc/sys/linux/include/net/zlib.h: Ditto.
5809 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
5810 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
5811 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
5812 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
5813 * libc/sys/linux/include/netinet/igmp.h: Ditto.
5814 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
5815 * libc/sys/linux/include/netinet/in.h: Ditto.
5816 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
5817 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
5818 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
5819 * libc/sys/linux/include/netinet/in_var.h: Ditto.
5820 * libc/sys/linux/include/netinet/ip.h: Ditto.
5821 * libc/sys/linux/include/netinet/ip6.h: Ditto.
5822 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
5823 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
5824 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
5825 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
5826 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
5827 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
5828 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
5829 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
5830 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
5831 * libc/sys/linux/include/netinet/tcp.h: Ditto.
5832 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
5833 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
5834 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
5835 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
5836 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
5837 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
5838 * libc/sys/linux/include/netinet/udp.h: Ditto.
5839 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
5840 * libc/sys/linux/include/netinet6/ah.h: Ditto.
5841 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
5842 * libc/sys/linux/include/netinet6/esp.h: Ditto.
5843 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
5844 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
5845 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
5846 * libc/sys/linux/include/netinet6/in6.h: Ditto.
5847 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
5848 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
5849 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
5850 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
5851 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
5852 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
5853 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
5854 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
5855 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
5856 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
5857 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
5858 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
5859 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
5860 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
5861 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
5862 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
5863 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
5864 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
5865 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
5866 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
5867 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
5868 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
5869 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
5870 * libc/sys/linux/include/netns/idp.h: Ditto.
5871 * libc/sys/linux/include/netns/idp_var.h: Ditto.
5872 * libc/sys/linux/include/netns/ns.h: Ditto.
5873 * libc/sys/linux/include/netns/ns_error.h: Ditto.
5874 * libc/sys/linux/include/netns/ns_if.h: Ditto.
5875 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
5876 * libc/sys/linux/include/netns/sp.h: Ditto.
5877 * libc/sys/linux/include/netns/spidp.h: Ditto.
5878 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
5879 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
5880 * libc/sys/linux/include/netns/spp_var.h: Ditto.
5881 * libc/sys/linux/include/rpc/Makefile: Ditto.
5882 * libc/sys/linux/include/rpc/auth.h: Ditto.
5883 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
5884 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
5885 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
5886 * libc/sys/linux/include/rpc/clnt.h: Ditto.
5887 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
5888 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
5889 * libc/sys/linux/include/rpc/des.h: Ditto.
5890 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
5891 * libc/sys/linux/include/rpc/nettype.h: Ditto.
5892 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
5893 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
5894 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
5895 * libc/sys/linux/include/rpc/raw.h: Ditto.
5896 * libc/sys/linux/include/rpc/rpc.h: Ditto.
5897 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
5898 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
5899 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
5900 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
5901 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
5902 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
5903 * libc/sys/linux/include/rpc/svc.h: Ditto.
5904 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
5905 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
5906 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
5907 * libc/sys/linux/include/rpc/types.h: Ditto.
5908 * libc/sys/linux/include/rpc/xdr.h: Ditto.
5909 * libc/sys/linux/intl/Makefile.am: Ditto.
5910 * libc/sys/linux/intl/Makefile.in: Ditto.
5911 * libc/sys/linux/intl/bindtextdom.c: Ditto.
5912 * libc/sys/linux/intl/catgets.c: Ditto.
5913 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
5914 * libc/sys/linux/intl/config.h: Ditto.
5915 * libc/sys/linux/intl/dcgettext.c: Ditto.
5916 * libc/sys/linux/intl/dcigettext.c: Ditto.
5917 * libc/sys/linux/intl/dcngettext.c: Ditto.
5918 * libc/sys/linux/intl/dgettext.c: Ditto.
5919 * libc/sys/linux/intl/dngettext.c: Ditto.
5920 * libc/sys/linux/intl/explodename.c: Ditto.
5921 * libc/sys/linux/intl/finddomain.c: Ditto.
5922 * libc/sys/linux/intl/gettext.c: Ditto.
5923 * libc/sys/linux/intl/gettext.h: Ditto.
5924 * libc/sys/linux/intl/gettextP.h: Ditto.
5925 * libc/sys/linux/intl/hash-string.h: Ditto.
5926 * libc/sys/linux/intl/l10nflist.c: Ditto.
5927 * libc/sys/linux/intl/loadinfo.h: Ditto.
5928 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
5929 * libc/sys/linux/intl/locale.alias: Ditto.
5930 * libc/sys/linux/intl/localealias.c: Ditto.
5931 * libc/sys/linux/intl/ngettext.c: Ditto.
5932 * libc/sys/linux/intl/open_catalog.c: Ditto.
5933 * libc/sys/linux/intl/plural.c: Ditto.
5934 * libc/sys/linux/intl/plural.y: Ditto.
5935 * libc/sys/linux/intl/stpcpy.c: Ditto.
5936 * libc/sys/linux/intl/textdomain.c: Ditto.
5937 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
5938 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
5939 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
5940 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
5941 * libc/sys/linux/linuxthreads/attr.c: Ditto.
5942 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
5943 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
5944 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
5945 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
5946 * libc/sys/linux/linuxthreads/config.h: Ditto.
5947 * libc/sys/linux/linuxthreads/configure: Ditto.
5948 * libc/sys/linux/linuxthreads/configure.in: Ditto.
5949 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
5950 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
5951 * libc/sys/linux/linuxthreads/events.c: Ditto.
5952 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
5953 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
5954 * libc/sys/linux/linuxthreads/internals.h: Ditto.
5955 * libc/sys/linux/linuxthreads/join.c: Ditto.
5956 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
5957 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
5958 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
5959 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
5960 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
5961 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
5962 * libc/sys/linux/linuxthreads/manager.c: Ditto.
5963 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
5964 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
5965 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
5966 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
5967 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
5968 * libc/sys/linux/linuxthreads/prio.c: Ditto.
5969 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
5970 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
5971 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
5972 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
5973 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
5974 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
5975 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
5976 * libc/sys/linux/linuxthreads/queue.h: Ditto.
5977 * libc/sys/linux/linuxthreads/reent.c: Ditto.
5978 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
5979 * libc/sys/linux/linuxthreads/restart.h: Ditto.
5980 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
5981 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
5982 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
5983 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
5984 * libc/sys/linux/linuxthreads/signals.c: Ditto.
5985 * libc/sys/linux/linuxthreads/specific.c: Ditto.
5986 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
5987 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
5988 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
5989 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
5990 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5991 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
5992 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5993 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5994 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5995 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5996 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5997 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5998 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5999 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6000 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6001 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6002 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6003 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6004 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6005 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6006 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6007 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6008 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6009 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6010 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6011 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6012 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6013 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6014 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6015 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6016 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6017 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6018 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6019 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6020 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6021 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6022 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6023 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6024 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6025 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6026 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6027 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6028 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6029 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6030 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6031 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6032 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6033 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6034 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6035 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6036 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6037 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6038 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6039 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6040 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6041 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6042 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6043 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6044 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6045 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6046 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6047 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6048 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6049 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6050 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6051 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6052 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6053 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6054 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6055 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6056 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6057 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6058 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6059 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6060 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6061 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6062 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6063 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6064 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6065 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6066 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6067 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6068 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6069 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6070 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6071 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6072 * libc/sys/linux/net/Makefile.am: Ditto.
6073 * libc/sys/linux/net/Makefile.in: Ditto.
6074 * libc/sys/linux/net/addr2ascii.3: Ditto.
6075 * libc/sys/linux/net/addr2ascii.c: Ditto.
6076 * libc/sys/linux/net/ascii2addr.c: Ditto.
6077 * libc/sys/linux/net/base64.c: Ditto.
6078 * libc/sys/linux/net/bindresvport.c: Ditto.
6079 * libc/sys/linux/net/byteorder.3: Ditto.
6080 * libc/sys/linux/net/ether_addr.c: Ditto.
6081 * libc/sys/linux/net/ethers.3: Ditto.
6082 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6083 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6084 * libc/sys/linux/net/gethostbydns.c: Ditto.
6085 * libc/sys/linux/net/gethostbyht.c: Ditto.
6086 * libc/sys/linux/net/gethostbyname.3: Ditto.
6087 * libc/sys/linux/net/gethostbynis.c: Ditto.
6088 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6089 * libc/sys/linux/net/getifaddrs.3: Ditto.
6090 * libc/sys/linux/net/getifaddrs.c: Ditto.
6091 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6092 * libc/sys/linux/net/getnameinfo.3: Ditto.
6093 * libc/sys/linux/net/getnameinfo.c: Ditto.
6094 * libc/sys/linux/net/getnetbydns.c: Ditto.
6095 * libc/sys/linux/net/getnetbyht.c: Ditto.
6096 * libc/sys/linux/net/getnetbynis.c: Ditto.
6097 * libc/sys/linux/net/getnetent.3: Ditto.
6098 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6099 * libc/sys/linux/net/getproto.c: Ditto.
6100 * libc/sys/linux/net/getprotoent.3: Ditto.
6101 * libc/sys/linux/net/getprotoent.c: Ditto.
6102 * libc/sys/linux/net/getprotoname.c: Ditto.
6103 * libc/sys/linux/net/getservbyname.c: Ditto.
6104 * libc/sys/linux/net/getservbyport.c: Ditto.
6105 * libc/sys/linux/net/getservent.3: Ditto.
6106 * libc/sys/linux/net/getservent.c: Ditto.
6107 * libc/sys/linux/net/herror.c: Ditto.
6108 * libc/sys/linux/net/hesiod.3: Ditto.
6109 * libc/sys/linux/net/hesiod.c: Ditto.
6110 * libc/sys/linux/net/if_indextoname.3: Ditto.
6111 * libc/sys/linux/net/ifname.c: Ditto.
6112 * libc/sys/linux/net/inet.3: Ditto.
6113 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6114 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6115 * libc/sys/linux/net/inet_addr.c: Ditto.
6116 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6117 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6118 * libc/sys/linux/net/inet_net.3: Ditto.
6119 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6120 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6121 * libc/sys/linux/net/inet_neta.c: Ditto.
6122 * libc/sys/linux/net/inet_netof.c: Ditto.
6123 * libc/sys/linux/net/inet_network.c: Ditto.
6124 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6125 * libc/sys/linux/net/inet_ntop.c: Ditto.
6126 * libc/sys/linux/net/inet_pton.c: Ditto.
6127 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6128 * libc/sys/linux/net/ip6opt.c: Ditto.
6129 * libc/sys/linux/net/iso_addr.3: Ditto.
6130 * libc/sys/linux/net/iso_addr.c: Ditto.
6131 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6132 * libc/sys/linux/net/linkaddr.3: Ditto.
6133 * libc/sys/linux/net/linkaddr.c: Ditto.
6134 * libc/sys/linux/net/map_v4v6.c: Ditto.
6135 * libc/sys/linux/net/name6.c: Ditto.
6136 * libc/sys/linux/net/namespace.h: Ditto.
6137 * libc/sys/linux/net/ns.3: Ditto.
6138 * libc/sys/linux/net/ns_addr.c: Ditto.
6139 * libc/sys/linux/net/ns_name.c: Ditto.
6140 * libc/sys/linux/net/ns_netint.c: Ditto.
6141 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6142 * libc/sys/linux/net/ns_parse.c: Ditto.
6143 * libc/sys/linux/net/ns_print.c: Ditto.
6144 * libc/sys/linux/net/ns_ttl.c: Ditto.
6145 * libc/sys/linux/net/nsap_addr.c: Ditto.
6146 * libc/sys/linux/net/nsdispatch.3: Ditto.
6147 * libc/sys/linux/net/nsdispatch.c: Ditto.
6148 * libc/sys/linux/net/nslexer.c: Ditto.
6149 * libc/sys/linux/net/nslexer.l: Ditto.
6150 * libc/sys/linux/net/nsparser.c: Ditto.
6151 * libc/sys/linux/net/nsparser.h: Ditto.
6152 * libc/sys/linux/net/nsparser.y: Ditto.
6153 * libc/sys/linux/net/rcmd.3: Ditto.
6154 * libc/sys/linux/net/rcmd.c: Ditto.
6155 * libc/sys/linux/net/rcmdsh.3: Ditto.
6156 * libc/sys/linux/net/rcmdsh.c: Ditto.
6157 * libc/sys/linux/net/recv.c: Ditto.
6158 * libc/sys/linux/net/res_comp.c: Ditto.
6159 * libc/sys/linux/net/res_config.h: Ditto.
6160 * libc/sys/linux/net/res_data.c: Ditto.
6161 * libc/sys/linux/net/res_debug.c: Ditto.
6162 * libc/sys/linux/net/res_init.c: Ditto.
6163 * libc/sys/linux/net/res_mkquery.c: Ditto.
6164 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6165 * libc/sys/linux/net/res_query.c: Ditto.
6166 * libc/sys/linux/net/res_send.c: Ditto.
6167 * libc/sys/linux/net/res_update.c: Ditto.
6168 * libc/sys/linux/net/resolver.3: Ditto.
6169 * libc/sys/linux/net/rthdr.c: Ditto.
6170 * libc/sys/linux/net/send.c: Ditto.
6171 * libc/sys/linux/net/un-namespace.h: Ditto.
6172 * libc/sys/linux/net/vars.c: Ditto.
6173 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6174 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6175 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6176 * libc/sys/linux/stdlib/cclass.h: Ditto.
6177 * libc/sys/linux/stdlib/cname.h: Ditto.
6178 * libc/sys/linux/stdlib/collate.c: Ditto.
6179 * libc/sys/linux/stdlib/collate.h: Ditto.
6180 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6181 * libc/sys/linux/stdlib/engine.c: Ditto.
6182 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6183 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6184 * libc/sys/linux/stdlib/glob.3: Ditto.
6185 * libc/sys/linux/stdlib/glob.c: Ditto.
6186 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6187 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6188 * libc/sys/linux/stdlib/regerror.c: Ditto.
6189 * libc/sys/linux/stdlib/regex.3: Ditto.
6190 * libc/sys/linux/stdlib/regex2.h: Ditto.
6191 * libc/sys/linux/stdlib/regexec.c: Ditto.
6192 * libc/sys/linux/stdlib/regfree.c: Ditto.
6193 * libc/sys/linux/stdlib/utils.h: Ditto.
6194 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6195 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6196 * libc/sys/linux/sys/dlfcn.h: Ditto.
6197 * libc/sys/linux/sys/elfclass.h: Ditto.
6198 * libc/sys/linux/sys/event.h: Ditto.
6199 * libc/sys/linux/sys/ioccom.h: Ditto.
6200 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6201 * libc/sys/linux/sys/link.h: Ditto.
6202 * libc/sys/linux/sys/lock.h: Ditto.
6203 * libc/sys/linux/sys/param.h: Ditto.
6204 * libc/sys/linux/sys/socket.h: Ditto.
6205 * libc/sys/linux/sys/sockio.h: Ditto.
6206
6207 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
6208
6209 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
6210 normal mode
6211 * newlib/libc/machine/h8300/memset.S: Likewise
6212 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6213 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6214 * newlib/lib/machine/h8300/setjmp.S: Likewise
6215 * newlib/lib/machine/h8300/strcmp.S: Likewise
6216 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6217
6218 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6219
6220 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6221 * libc/include/stdio.h: Ditto.
6222 * libc/include/sys/config.h: Ditto.
6223 * libc/stdio/mktemp.c: Ditto.
6224
6225 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6226
6227 * libc/locale/ldpart.c (__part_load_locale): Substitute
6228 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6229 * libc/search/hash.c (__hash_open): Ditto.
6230 (init_hash): Ditto.
6231 * libc/stdio/fseek.c (fseek): Ditto.
6232 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6233 * libc/stdio/mktemp.c (_gettemp): Ditto.
6234
6235 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6236
6237 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6238
6239 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6240
6241 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6242 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6243 if __CYGWIN_USE_BIG_TYPES__ is set.
6244 * libc/search/hash.c (__hash_open): Ditto.
6245 (init_hash): Ditto.
6246 * libc/stdio/fseek.c (fseek): Ditto.
6247 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6248 * libc/stdio/mktemp.c (_gettemp): Ditto.
6249 * libc/sys/cygwin/Makefile.am: Remove.
6250 * libc/sys/cygwin/Makefile.in: Remove.
6251 * libc/sys/cygwin/aclocal.m4: Remove.
6252 * libc/sys/cygwin/configure: Remove.
6253 * libc/sys/cygwin/configure.in: Remove.
6254 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6255 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6256 directory.
6257 * libc/sys/cygwin/sys/param.h: Ditto.
6258 * libc/sys/cygwin/sys/utime.h: Ditto.
6259 * libc/sys/cygwin/sys/utmp.h: Ditto.
6260
6261 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
6262
6263 * libc/include/sys/types.h: Don't define key_t for Cygwin.
6264
6265 2003-05-10 Christopher Faylor <cgf@redhat.com>
6266
6267 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
6268 64 bit inodes.
6269
6270 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
6271
6272 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
6273 Include cygwin/config.h instead.
6274
6275 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
6276
6277 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
6278 all code with #ifdef __SPE__ test.
6279 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
6280
6281 2003-04-15 Chris January <chris@atomice.net>
6282
6283 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
6284 Cygwin.
6285
6286 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
6287
6288 * libc/machine/sh/memset.S: Avoid clobbering volatile
6289 objects following a tiny to-be-set array in the same quadword.
6290
6291 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
6292
6293 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
6294 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
6295 * libc/string/Makefile.in: Regenerated.
6296 * libc/string/wcswidth.c: New file.
6297 * libc/string/wcwidth.c: New file.
6298 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6299
6300 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6301
6302 * libc/machine/sh/memset.S: Fix problem with alloco region
6303 exceeding destination region for length >= 88 bytes, start
6304 & 0x16 == 0, end & 0x1f == 18.
6305
6306 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
6307
6308 * libc/string/wcscoll.c: Fix comment.
6309
6310 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
6311
6312 * libc/include/wchar.h: Add definition for wcscoll.
6313 * libc/string/Makefile.am: Add wcscoll.c.
6314 * libc/string/Makefile.in: Regenerated.
6315 * libc/string/wcscoll.c: New file.
6316 * libc/string/wcstrings.tex: Add wcscoll.
6317
6318 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6319
6320 * libc/stdio/sscanf.c: Update flags description.
6321 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
6322 type.
6323 (__svfscanf_r): Add 'hh' and 'll' handling.
6324
6325 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6326
6327 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
6328 __d_position member to _off_t.
6329
6330 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
6331
6332 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
6333 count all characters used to create number against maximum width.
6334 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6335
6336 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6337
6338 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
6339 support.
6340 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
6341 flag to support simulator only extensions.
6342
6343 2003-03-17 Bob Cassels <bcassels@abinitio.com>
6344
6345 * libc/string/wcschr.c: (wcschr): Look for character first,
6346 then for end of string, so you can do wcschr(x, '\0').
6347
6348 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
6349
6350 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
6351 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
6352 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
6353 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
6354 * libc/stdio/fseeko.c (fseeko): Ditto.
6355 * libc/stdio/ftello.c (ftello): Ditto.
6356 * libc/stdio/stdio.c (__swrite): Ditto.
6357 (__sseek): Ditto.
6358 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
6359 * libc/stdio/fseek.c (fseek): Ditto.
6360 * libc/stdio/fsetpos.c (fsetpos): Ditto.
6361 * libc/stdio/ftell.c (ftell): Ditto.
6362 * libc/stdio/local.h: Declare __sseek using _off_t.
6363
6364 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6365
6366 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
6367
6368 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6369
6370 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
6371 Cygwin.
6372
6373 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6374
6375 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
6376 Cygwin.
6377 * libc/include/sys/stat.h: Ditto.
6378 * libc/include/sys/unistd.h: Ditto.
6379 * libc/sys/cygwin/sys/dirent.h: Ditto.
6380
6381 2003-03-07 Christopher Faylor <cgf@redhat.com>
6382
6383 * libc/include/sys/unistd.h: Guard getopt.h call to force only
6384 declaration of getopt and avoid getopt_long declaration.
6385 * libc/sys/cygwin/include/unistd.h: Remove.
6386
6387 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
6388
6389 * configure.host: Define stdio64_dir for Cygwin.
6390 * libc/include/stdio.h: Change definition of fpos_t to fulfill
6391 Cygwin 64bit file access requirements.
6392 Drop definition of f*64() functions when compiled for Cygwin.
6393 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
6394 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
6395 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
6396
6397 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
6398
6399 * libc/include/sys/reent.h: Remove extraneous _sig_func
6400 declaration.
6401
6402 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6403
6404 * libc/sys/h8300hms/Makefile.am: Add support for new files.
6405 * libc/sys/h8300hms/Makefile.in: Regenerated.
6406 * libc/sys/h8300hms/close.S: New file.
6407 * libc/sys/h8300hms/fstat.S: Ditto.
6408 * libc/sys/h8300hms/lseek.S: Ditto.
6409 * libc/sys/h8300hms/open.S: Ditto.
6410 * libc/sys/h8300hms/stat.S: Ditto.
6411 * libc/sys/h8300hms/read.S: New file to replace read.c.
6412 * libc/sys/h8300hms/read.c: Removed.
6413 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
6414 _lseek, _close, _stat, _fstat.
6415 * libc/sys/h8300hms/write.S: New file to replace write.c.
6416 * libc/sys/h8300hms/write.c: Removed.
6417
6418 2003-02-20 Nick Clifton <nickc@redhat.com>
6419
6420 * Add support for Cirrus Maverick ARM co-processor:
6421
6422 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
6423
6424 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
6425 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
6426
6427 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
6428
6429 * configure.host: set sys_dir, syscall_dir, and
6430 newlib_cflags for ep9312 host.
6431
6432 * configure.host: Restore alpha sorting of entries in case
6433 statements.
6434
6435 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
6436
6437 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
6438
6439 2003-02-18 Christian Groessler <chris@groessler.org>
6440
6441 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
6442 support z8001 segmented mode.
6443
6444 2003-02-18 Earnie Boyd <earnie@users.sf.net>
6445
6446 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
6447 with a NULL value.
6448
6449 2003-02-10 Christopher Faylor <cgf@redhat.com>
6450
6451 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
6452 Don't define some types under cygwin.
6453
6454 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
6455
6456 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
6457 option to allow disabling of syscalls being supplied in newlib.
6458 * aclocal.m4: Regenerated.
6459 * configure: Ditto.
6460 * configure.host: Add support of new configuration option and add
6461 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
6462 * doc/aclocal.m4: Regenerated.
6463 * doc/configure: Ditto.
6464 * libc/*aclocal.m4: Ditto.
6465 * libc/*configure: Ditto.
6466 * libm/*aclocal.m4: Ditto.
6467 * libm/*configure: Ditto.
6468 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
6469 is disabled.
6470 * libc/sys/arm/Makefile.in: Regenerated.
6471
6472 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
6473
6474 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
6475 -1 to be sure it cannot later match a valid file fd causing
6476 isatty() to return 1.
6477 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
6478 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
6479 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
6480
6481 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
6482
6483 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
6484 buffer based on the precision, after we have processed the input value
6485 in a local buffer and know its relative magnitude.
6486
6487 2003-01-31 Michael Snyder <msnyder@redhat.com>
6488
6489 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
6490 into registers r1 and r2, so that the simulator can distinguish
6491 this trap from a breakpoint trap. Copied from libgloss.
6492
6493 2003-01-31 Michael Snyder <msnyder@redhat.com>
6494
6495 * libc/sys/h8300hms/crt0.S (_start): Change local label
6496 from .loop to .Loop, so that ld and gdb will ignore it.
6497
6498 2003-01-29 Jason Tishler <jason@tishler.net>
6499
6500 * libc/include/time.h: Declare nanosleep() under Cygwin.
6501
6502 2003-01-24 Nick Clifton <nickc@redhat.com>
6503
6504 * Add sh2e support:
6505
6506 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
6507
6508 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
6509 * libc/machine/sh/setjmp.S: Likewise.
6510 * libc/include/machine/ieeefp.h: Likewise.
6511
6512 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
6513
6514 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
6515 for Cygwin.
6516
6517 2003-01-21 Anita Kulkarni <anitak@kpit.com>
6518
6519 * libc/time/difftime.c : Typecast the result to double.
6520
6521 2003-01-20 Christopher Faylor <cgf@redhat.com>
6522
6523 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
6524
6525 2003-01-18 Nick Clifton <nickc@redhat.com>
6526
6527 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
6528 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
6529
6530 2003-01-16 Joel Sherrill <joel@OARcorp.com>
6531
6532 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
6533 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
6534 constants are defined in each file in the shared versions in
6535 libc/include.
6536 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
6537 autoconf can link programs.
6538 * libc/include/machine/types.h: Explicitly specify signed on
6539 intXX_t types to ensure they are signed.
6540
6541 2003-01-14 Christopher Faylor <cgf@redhat.com>
6542
6543 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
6544 extensions.
6545
6546 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
6547
6548 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
6549
6550 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
6551
6552 * libc/stdio/sprintf.c: fix typo
6553 * libc/stdio/vfprintf.c: fix typo
6554
6555 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
6556
6557 * configure.host: Support long double I/O for x86-linux.
6558 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
6559 large enough to hold formatted result.
6560 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
6561
6562 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6563
6564 * Makefile.am: Add vasprintf.
6565 * Makefile.in: Regenerated.
6566
6567 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6568
6569 * asprintf.c (_asprintf_r): insure both declarations
6570 are the same.
6571
6572 2002-12-28 Christopher Faylor <cgf@redhat.com>
6573
6574 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
6575 than defining getopt directly.
6576
6577 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6578
6579 * NEWS: Update with 1.11.0 info.
6580 * README: Ditto.
6581 * acinclude.m4: Change version number to 1.11.0.
6582 * aclocal.m4: Regenerated.
6583 * configure: Ditto.
6584 * doc/aclocal.m4: Ditto.
6585 * doc/configure: Ditto.
6586 * libc/*/aclocal.m4: Ditto.
6587 * libc/*/configure: Ditto.
6588 * libc/libc.texinfo: Ditto.
6589 * libm/*/aclocal.m4: Ditto.
6590 * libm/*/configure: Ditto.
6591 * libm/libm.texinfo: Ditto.
6592 * libc/sys/linux/shared.ld: Add VERS_1.11.
6593
6594 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6595
6596 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
6597 Solutions to Red Hat Inc.
6598 * libc/machine/i386/f_atan2f.S: Ditto.
6599 * libc/machine/i386/f_exp.c: Ditto.
6600 * libc/machine/i386/f_expf.c: Ditto.
6601 * libc/machine/i386/f_frexp.S: Ditto.
6602 * libc/machine/i386/f_frexpf.S: Ditto.
6603 * libc/machine/i386/f_ldexp.S: Ditto.
6604 * libc/machine/i386/f_ldexpf.S: Ditto.
6605 * libc/machine/i386/f_log.S: Ditto.
6606 * libc/machine/i386/f_log10.S: Ditto.
6607 * libc/machine/i386/f_log10f.S: Ditto.
6608 * libc/machine/i386/f_logf.S: Ditto.
6609 * libc/machine/i386/f_pow.c: Ditto.
6610 * libc/machine/i386/f_powf.c: Ditto.
6611 * libc/machine/i386/f_tan.S: Ditto.
6612 * libc/machine/i386/f_tanf.S: Ditto.
6613 * libc/machine/i386/memchr.S: Ditto.
6614 * libc/machine/i386/memcmp.S: Ditto.
6615 * libc/machine/i386/memcpy.S: Ditto.
6616 * libc/machine/i386/memmove.S: Ditto.
6617 * libc/machine/i386/memset.S: Ditto.
6618 * libc/machine/i386/strchr.S: Ditto.
6619 * libc/machine/i386/strlen.S: Ditto.
6620 * libm/machine/i386/f_atan2.S: Ditto.
6621 * libm/machine/i386/f_atan2f.S: Ditto.
6622 * libm/machine/i386/f_exp.c: Ditto.
6623 * libm/machine/i386/f_expf.c: Ditto.
6624 * libm/machine/i386/f_frexp.S: Ditto.
6625 * libm/machine/i386/f_frexpf.S: Ditto.
6626 * libm/machine/i386/f_ldexp.S: Ditto.
6627 * libm/machine/i386/f_ldexpf.S: Ditto.
6628 * libm/machine/i386/f_log.S: Ditto.
6629 * libm/machine/i386/f_log10.S: Ditto.
6630 * libm/machine/i386/f_log10f.S: Ditto.
6631 * libm/machine/i386/f_logf.S: Ditto.
6632 * libm/machine/i386/f_pow.c: Ditto.
6633 * libm/machine/i386/f_powf.c: Ditto.
6634 * libm/machine/i386/f_tan.S: Ditto.
6635 * libm/machine/i386/f_tanf.S: Ditto.
6636
6637 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6638
6639 * libc/stdlib/environ.c: Update license to Red Hat.
6640 * libc/machine/hppa/setjmp.S: Ditto.
6641 * libm/test/Makefile.in: Ditto.
6642
6643 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
6644
6645 * configure.host: Remove references to go32.
6646 * libc/sys/go32/*: Removed.
6647
6648 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
6649
6650 * libc/include/sys/config.h: Change setting of INT_MAX
6651 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
6652 __H8300S__. Also consolidate flag settings for these
6653 platforms.
6654
6655 2002-12-10 Joel Sherrill <joel@OARcorp.com>
6656
6657 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
6658 for i386-rtems targets.
6659
6660 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
6661
6662 * libc/include/stdlib.h (strtof): New prototype (from C99).
6663 (strtodf): Changed from prototype to macro which redefines
6664 to strtof.
6665 * libc/stdlib/atof.c: Change documentation to refer to strtof
6666 instead of strtodf.
6667 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
6668 strtodf.
6669 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
6670 (strtof): New function.
6671 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
6672 calls strtof.
6673
6674 2002-11-27 Christopher Faylor <cgf@redhat.com>
6675
6676 * libc/string/memset.c (memset): Fix comment.
6677
6678 2002-11-26 Christopher Faylor <cgf@redhat.com>
6679
6680 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
6681 function.
6682
6683 2002-11-25 Christopher Faylor <cgf@redhat.com>
6684
6685 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
6686 variable, introduced below, everywhere.
6687
6688 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
6689
6690 * libc/string/memset.c (memset): Make it safe even if
6691 sizeof (int) = 2.
6692
6693 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
6694
6695 * configure.in: Change check for libc/include in ${CC} to
6696 use an intermediate value so as to work with different shells.
6697 * configure: Regenerated.
6698 * Makefile.in: Ditto.
6699
6700 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
6701
6702 * libc/sys/h8300hms/read.c: Add support for normal mode
6703 architecture.
6704
6705 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
6706
6707 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
6708 code for __H8300H__ and __H8300S__. Also return 32-bit return code
6709 when -mint32 is used.
6710
6711 2002-11-18 Nick Clifton <nickc@redhat.com>
6712
6713 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
6714
6715 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
6716
6717 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
6718 only issue one pass/fail message for a compile/link/execute.
6719 * testsuite/newlib.elix/elix.exp: New file.
6720 * testsuite/newlib.elix/tmmap.c: Ditto.
6721
6722 2002-11-06 Christopher Faylor <cgf@redhat.com>
6723
6724 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
6725 * libc/stdlib/mlock.c: Ditto.
6726 * libc/stdlib/msize.c: Ditto.
6727 * libc/stdlib/msize.c: Ditto.
6728 * libc/stdlib/mtrim.c: Ditto.
6729 * libc/stdlib/valloc.c: Ditto.
6730
6731 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
6732
6733 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
6734 for inf/nan, make sure that the check ignores the sign bit.
6735
6736 2002-11-07 Joel Sherrill <joel@OARcorp.com>
6737
6738 * libc/sys/rtems/machine: New directory.
6739 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
6740 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
6741 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
6742 targets more BSD like when installed without requiring files to
6743 be overwritten at install point when RTEMS itself is installed.
6744 * Makefile.am: Pick up system dependent machine .h files such as
6745 might be found on a BSD-ish system.
6746 * Makefile.in: Regenerate.
6747 * libc/include/machine/types.h: When on an RTEMS target, define a
6748 few BSD flavor types.
6749
6750 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
6751
6752 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
6753
6754 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6755
6756 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
6757 * libc/include/wctype.h: Ditto.
6758
6759 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
6760
6761 * libc/include/wchar.h: Add extern "C" specifier if C++.
6762 * libc/include/wctype.h: Ditto.
6763
6764 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6765
6766 * testsuite/newlib.wctype/tiswctype.c: New test case.
6767 * testsuite/newlib.wctype/twctrans.c: Ditto.
6768
6769 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6770
6771 * libc/sys/linux/machine/i386/include/endian.h: New file.
6772 * libc/sys/linux/machine/i386/include/param.h: Ditto.
6773
6774 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6775
6776 * libm/machine/i386/aclocal.m4: Regenerated.
6777 * libm/machine/i386/configure: Ditto.
6778
6779 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6780
6781 * testsuite/include/check.h: New header file to use with
6782 test cases.
6783 * testsuite/lib/newlib.exp: Add testsuite/include directory
6784 to list of header files to use.
6785 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
6786 * testsuite/newlib.wctype/wctype.exp: New file.
6787
6788 2002-10-11 Graham Stott <graham.stott@btinternet.com>
6789 Richard Sandiford <rsandifo@redhat.com>
6790
6791 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
6792 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
6793 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
6794
6795 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6796
6797 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
6798 dummy programs.
6799
6800 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6801
6802 * libc/include/pthread.h: Define PTHREAD_CANCELED.
6803
6804 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6805
6806 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
6807 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
6808 compile with current GNU tools.
6809
6810 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
6811
6812 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
6813 the build library.
6814 * configure.in: Ditto.
6815 * Makefile.in: Regenerated.
6816 * configure: Ditto.
6817 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
6818 for specifying configured libraries/directories.
6819 * libc/sys/linux/configure.in: Ditto.
6820 * libc/sys/linux/Makefile.in: Regenerated.
6821 * libc/sys/linux/configure: Ditto.
6822
6823 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
6824
6825 * libc/include/reent.h: Update documentation at start of file.
6826
6827 2002-09-27 Jim Wilson <wilson@redhat.com>
6828
6829 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
6830 the ctbp register.
6831
6832 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
6833
6834 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
6835 Also convert to EUCJP before using arrays. For values not in
6836 the conversion arrays, return WEOF.
6837 * libc/ctype/jp2uc.h: Change from one array to a number of
6838 arrays to account for the fact that the originating table
6839 is not contiguous for the input values since some are invalid.
6840
6841 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
6842
6843 * libc/time/ctime.c: Fix prototype documentation.
6844
6845 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
6846
6847 * libc/include/sys/errno.h: Add EOVERFLOW.
6848
6849 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6850
6851 * libc/include/wctype.h: New file.
6852
6853 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6854
6855 * libc/ctype/Makefile.am: Add new files.
6856 * libc/ctype/Makefile.in: Regenerated.
6857 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
6858 and wctrans functions to documentation index.
6859 * libc/ctype/iswalnum.c: New file.
6860 * libc/ctype/iswalpha.c: Ditto.
6861 * libc/ctype/iswblank.c: Ditto.
6862 * libc/ctype/iswcntrl.c: Ditto.
6863 * libc/ctype/iswctype.c: Ditto.
6864 * libc/ctype/iswdigit.c: Ditto.
6865 * libc/ctype/iswgraph.c: Ditto.
6866 * libc/ctype/iswlower.c: Ditto.
6867 * libc/ctype/iswprint.c: Ditto.
6868 * libc/ctype/iswpunct.c: Ditto.
6869 * libc/ctype/iswspace.c: Ditto.
6870 * libc/ctype/iswupper.c: Ditto.
6871 * libc/ctype/iswxdigit.c: Ditto.
6872 * libc/ctype/jp2uc.c: Ditto.
6873 * libc/ctype/jp2uc.h: Ditto.
6874 * libc/ctype/local.h: Ditto.
6875 * libc/ctype/towctrans.c: Ditto.
6876 * libc/ctype/towlower.c: Ditto.
6877 * libc/ctype/towupper.c: Ditto.
6878 * libc/ctype/utf8alpha.h: Ditto.
6879 * libc/ctype/utf8print.h: Ditto.
6880 * libc/ctype/utf8punct.h: Ditto.
6881 * libc/ctype/wctrans.c: Ditto.
6882 * libc/ctype/wctype.c: Ditto.
6883 * libc/locale/locale.c (__lc_ctype): New external array to
6884 replace static lc_ctype array.
6885 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
6886 rather than reentrancy structure's _current_locale field.
6887 * libc/stdlib/wctomb_r.c: Ditto.
6888
6889 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6890
6891 * configure.host: Minor comment and formatting changes.
6892 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
6893 * libc/Makefile.in: Regenerated.
6894 * libc/include/sys/config.h: Minor format change.
6895
6896 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6897
6898 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
6899 statement comment.
6900
6901 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6902
6903 * libc/posix/opendir.c (opendir): Change code to check
6904 for HAVE_FCNTL before calling fcntl.
6905 * libc/search/hash.c (hash_open): Ditto.
6906 * libc/search/hash_page.c (open_tmp): Ditto.
6907 * libc/reent/Makefile.am: Add fcntlr.c.
6908 * libc/reent/Makefile.in: Regenerated.
6909 * libc/reent/fcntlr.c: New file.
6910 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
6911 instead of _fcntl when HAVE_FCNTL flag is set.
6912 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
6913 to see if _fcntl or _fcntl_r should be called. If flag is not
6914 set, default to ENOSYS stub.
6915
6916 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
6917
6918 * libc/include/wchar.h (mbstate_t): Change protective flag to
6919 be _MBSTATE_T.
6920 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
6921 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
6922 for Cygwin.
6923 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
6924
6925 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
6926
6927 * acinclude.m4 (enable-newlib-mb): Change check to
6928 default newlib_mb variable to empty string rather than "no".
6929 * configure.host: Remove hard-coding of -DMB_CAPABLE for
6930 x86-linux and Cygwin. Add code to check for newlib_mb
6931 being unset in which case set to "yes" for x86-linux and
6932 Cygwin. Change check for newlib_mb being "yes" to allow
6933 for an empty string.
6934 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
6935 * newlib.hin (_MB_LEN_MAX): New define to configure.
6936 * aclocal.m4: Regenerated.
6937 * configure: Ditto.
6938 * libc/include/limits.h: New file.
6939 * libc/sys/linux/include/limits.h: Ditto.
6940 * doc/aclocal.m4 doc/configure libc/aclocal.m4
6941 libc/configure libc/machine/aclocal.m4
6942 libc/machine/configure libc/machine/a29k/aclocal.m4
6943 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6944 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6945 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6946 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6947 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
6948 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
6949 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6950 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6951 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6952 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6953 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6954 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
6955 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
6956 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6957 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6958 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6959 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6960 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6961 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6962 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
6963 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6964 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
6965 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
6966 libc/machine/v850/configure libc/machine/w65/aclocal.m4
6967 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
6968 libc/machine/xscale/configure
6969 libc/machine/xstormy16/aclocal.m4
6970 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
6971 libc/machine/z8k/configure libc/sys/aclocal.m4
6972 libc/sys/configure libc/sys/a29khif/aclocal.m4
6973 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
6974 libc/sys/arc/configure libc/sys/arm/aclocal.m4
6975 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
6976 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
6977 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
6978 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
6979 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
6980 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
6981 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
6982 libc/sys/idt/configure libc/sys/linux/aclocal.m4
6983 libc/sys/linux/configure
6984 libc/sys/linux/machine/aclocal.m4
6985 libc/sys/linux/machine/configure
6986 libc/sys/linux/machine/i386/aclocal.m4
6987 libc/sys/linux/machine/i386/configure
6988 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6989 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
6990 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6991 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6992 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6993 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6994 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6995 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6996 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6997 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6998 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6999 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7000 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7001 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7002 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7003 libm/aclocal.m4 libm/configure: Regenerated.
7004
7005 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7006
7007 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7008 code that clears the .bss section.
7009
7010 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7011
7012 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7013 unsigned char internally.
7014 * libc/sys/linux/sys/_types.h: Ditto.
7015 * libc/include/sys/reent.h
7016 * libc/stdlib/mblen.c (mblen): Use function-specific state
7017 value from default reentrancy structure.
7018 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7019 _mbtowc_r is less than 0, reset state __count value and
7020 return -1.
7021 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7022 is NULL, use the function-specific pointer provided in the
7023 default reentrancy structure.
7024 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7025 If input state pointer is NULL, use function-specific area
7026 provided in reentrancy structure.
7027 * libc/stdlib/mbsrtowcs.c: Ditto.
7028 * libc/stdlib/wcrtomb.c: Ditto.
7029 * libc/stdlib/wcsrtombs.c: Ditto.
7030 * libc/stdlib/mbstowcs.c: Reformat.
7031 * libc/stdlib/wcstombs.c: Ditto.
7032 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7033 reset the state's __count value and return -1.
7034 * libc/stdlib/mbtowc.c: Ditto.
7035 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7036 If number of bytes is used up before completing a valid multibyte
7037 character, return -2 and save the state.
7038 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7039 and change some __count references to __state for clarity.
7040
7041 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7042
7043 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7044 is defined by <limits.h>.
7045
7046 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7047
7048 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7049 defined.
7050
7051 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7052
7053 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7054 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7055 __WCHAR_MAX__ or 0x7fffffffu.
7056 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7057 * libc/string/wcsncmp.c: Ditto.
7058
7059 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7060
7061 * libc/string/wcschr.c: Add include of <stddef.h>.
7062 * libc/string/wcspbrk.c: Ditto.
7063 * libc/string/wcsrchr.c: Ditto.
7064 * libc/string/wcsstr.c: Ditto.
7065
7066 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7067
7068 * libc/include/sys/_types.h (_flock_t): Added.
7069 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7070 (__lock_try_acquire_recursive): Ditto.
7071 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7072 _lock field.
7073 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7074 field.
7075 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7076 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7077 * libc/sys/linux/include/time.h (struct timespec): Moved from
7078 <sys/types.h> and added check for __need_timespec flag so type
7079 can be defined by itself.
7080 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7081 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7082 <time.h>.
7083
7084 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7085
7086 * libc/sys/linux/argp: New directory.
7087 * libc/sys/linux/getopt.c: New file.
7088 * libc/sys/linux/getopt1.c: New file.
7089 * libc/sys/linux/getoptlong.c: Remove file.
7090 * libc/sys/linux/include/argp.h: New file.
7091 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7092 based on ELIX level.
7093 (SUBDIRS): Add argp_dir.
7094 (SUBLIBS): Add ARGP_LIB.
7095 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7096 getopt_long.$(oext).
7097 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7098
7099 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7100
7101 * libc/libc.texinfo: Add node reference to wide-character strings.
7102 * libc/string/wcstrings.tex: New file.
7103 * libc/string/strtok_r.c: Remove outdated advertising clause.
7104 * libc/string/Makefile.am (doc): Add wide-character string
7105 chapter to documentation.
7106 * libc/string/Makefile.in: Regenerated.
7107
7108 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7109
7110 * libc/include/wchar.h: Define NULL. Define WEOF more general
7111 way. Declare functions in newlib manner.
7112 * libc/stdlib/Makefile.am: Delete wmem*.c
7113 * libc/stdlib/Makefile.in: Regenerated.
7114 * libc/stdlib/wmemchr.c: Delete.
7115 * libc/stdlib/wmemcmp.c: Ditto.
7116 * libc/stdlib/wmemcpy.c: Ditto.
7117 * libc/stdlib/wmemmove.c: Ditto.
7118 * libc/stdlib/wmemset.c: Ditto.
7119 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7120 * libc/string/Makefile.in: Regenerated.
7121 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7122 * libc/string/wcschr.c: Ditto.
7123 * libc/string/wcscmp.c: Ditto.
7124 * libc/string/wcscpy.c: Ditto.
7125 * libc/string/wcscspn.c: Ditto.
7126 * libc/string/wcslcat.c: Ditto.
7127 * libc/string/wcslcpy.c: Ditto.
7128 * libc/string/wcslen.c: Ditto.
7129 * libc/string/wcsncat.c: Ditto.
7130 * libc/string/wcsncmp.c: Ditto.
7131 * libc/string/wcsncpy.c: Ditto.
7132 * libc/string/wcspbrk.c: Ditto.
7133 * libc/string/wcsrchr.c: Ditto.
7134 * libc/string/wcsspn.c: Ditto.
7135 * libc/string/wcsstr.c: Ditto.
7136 * libc/string/wmemchr.c: Ditto.
7137 * libc/string/wmemcmp.c: Ditto.
7138 * libc/string/wmemcpy.c: Ditto.
7139 * libc/string/wmemmove.c: Ditto.
7140 * libc/string/wmemset.c: Ditto.
7141
7142 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7143
7144 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7145 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7146 and is treated as if "C" was specified.
7147
7148 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7149
7150 * Makefile.am (install-data-local): Move install of build
7151 newlib.h after installing headers in libc/include so as to
7152 overwrite default newlib.h.
7153 * Makefile.in: Regenerated.
7154
7155 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7156
7157 * libc/include/newlib.h: New file for tools that use newlib
7158 headers but don't build newlib first (e.g. gcc).
7159
7160 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7161
7162 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7163 * libc/stdlib/wmemcmp.c: Ditto.
7164 * libc/stdlib/wmemcpy.c: Ditto.
7165 * libc/stdlib/wmemmove.c: Ditto.
7166 * libc/stdlib/wmemset.c: Ditto.
7167
7168 2002-08-27 Egor Duda <deo@logos-m.ru>
7169
7170 * libc/stdlib/wmemchr.c: New file.
7171 * libc/stdlib/wmemcmp.c: Ditto.
7172 * libc/stdlib/wmemcpy.c: Ditto.
7173 * libc/stdlib/wmemmove.c: Ditto.
7174 * libc/stdlib/wmemset.c: Ditto.
7175 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7176 * configure.host: Default -DMB_CAPABLE for cygwin.
7177 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7178 wmemmove() and wmemset(). Add include of <_ansi.h>.
7179 * libc/stdlib/Makefile.in: Regenerate.
7180
7181 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7182
7183 * configure.host: Remove _ELIX_LEVEL flag setting.
7184 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7185 (install-data-local): Install newlib.h.
7186 * Makefile.in: Regenerated.
7187 * aclocal.m4: Ditto.
7188 * configure: Ditto.
7189 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
7190 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7191 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7192 In AC_OUTPUT statement, unset ac_file so multilib support does
7193 not use last ac_file temporary used in newlib.h configuration.
7194 * libc/include/_ansi.h: Include <newlib.h>.
7195 * newlib.hin: New template file for newlib.h.
7196 * stamp-h.in: New file.
7197
7198 2002-08-26 Wu Yongwei <adah@netstd.com>
7199
7200 * time.h (timezonevar): Change "#if" to "#ifdef".
7201
7202 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7203
7204 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7205 * Makefile.in: Regenerated.
7206 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7207 * aclocal.m4: Regenerated.
7208 * configure: Ditto.
7209 * configure.host: Add code to define _ELIX_LEVEL if
7210 --enable-newlib-elix-level option is used.
7211 * configure.in:
7212 * libc/aclocal.m4: Regenerated.
7213 * libc/configure: Ditto.
7214 * libc/argz/Makefile.am: Add EL/IX level checking.
7215 * libc/argz/Makefile.in: Regenerated.
7216 * libc/argz/dummy.c: New file.
7217 * libc/ctype/Makefile.am: Add EL/IX level checking.
7218 * libc/ctype/Makefile.in: Regenerated.
7219 * libc/locale/Makefile.am: Add EL/IX level checking.
7220 * libc/locale/Makefile.in: Regenerated.
7221 * libc/posix/Makefile.am: Add EL/IX level checking.
7222 * libc/posix/Makefile.in: Regenerated.
7223 * libc/posix/telldir.c: Add EL/IX level checking.
7224 * libc/reent/Makefile.am: Ditto.
7225 * libc/reent/fstat64r.c: Ditto.
7226 * libc/reent/lseek64r.c: Ditto.
7227 * libc/reent/open64r.c: Ditto.
7228 * libc/reent/Makefile.in: Regenerated.
7229 * libc/search/Makefile.am: Add EL/IX level checking.
7230 * libc/search/Makefile.in: Regenerated.
7231 * libc/stdio/Makefile.am: Add EL/IX level checking.
7232 * libc/stdio/Makefile.in: Regenerated.
7233 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7234 * libc/stdio64/Makefile.in: Regenerated.
7235 * libc/stdio64/dummy.c: New file.
7236 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
7237 after first include.
7238 * libc/stdio64/fopen64.c: Ditto.
7239 * libc/stdio64/freopen64.c: Ditto.
7240 * libc/stdio64/fseeko64.c: Ditto.
7241 * libc/stdio64/fsetpos64.c: Ditto.
7242 * libc/stdio64/ftello64.c: Ditto.
7243 * libc/stdio64/tmpfile64.c: Ditto.
7244 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7245 * libc/stdlib/Makefile.in: Regenerated.
7246 * libc/stdlib/mstats.c: Add EL/IX level checking.
7247 * libc/string/Makefile.am: Ditto.
7248 * libc/string/Makefile.in: Regenerated.
7249 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7250 * libc/sys/linux/Makefile.in: Regenerated.
7251 * libc/sys/linux/aclocal.m4: Ditto.
7252 * libc/sys/linux/configure: Ditto.
7253 * libc/sys/linux/aio.c: Add EL/IX level checking.
7254 * libc/sys/linux/ftok.c: Ditto.
7255 * libc/sys/linux/getdate.c: Ditto.
7256 * libc/sys/linux/ids.c: Ditto.
7257 * libc/sys/linux/inode.c: Ditto.
7258 * libc/sys/linux/io.c: Ditto.
7259 * libc/sys/linux/process.c: Ditto.
7260 * libc/sys/linux/resource.c: Ditto.
7261 * libc/sys/linux/sched.c: Ditto.
7262 * libc/sys/linux/sig.c: Ditto.
7263 * libc/sys/linux/termios.c: Ditto.
7264 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
7265 __libc___waitpid weak aliases.
7266 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
7267 that generate the code for a syscall, but do not create a
7268 weak alias.
7269 * libc/syscalls/Makefile.am: Add EL/IX level checking.
7270 * libc/syscalls/Makefile.in: Regenerated.
7271 * libc/time/tzset_r.c: Change to replace strdup with equivalent
7272 functionality.
7273 * libc/unix/Makefile.am: Add EL/IX level checking.
7274 * libc/unix/Makefile.in: Regenerated.
7275
7276 2002-08-26 Christopher Faylor <cgf@redhat.com>
7277
7278 * libc/include/malloc.h: On cygwin, define malloc _r functions as
7279 wrapper macros to standard malloc functions.
7280 * libc/include/stdlib.h: Ditto.
7281 * configure.host: Always define MALLOC_PROVIDED on cygwin.
7282
7283 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7284
7285 * libc/include/langinfo.h: New file.
7286 * libc/include/wchar.h: Likewise.
7287 * libc/include/sys/syslimits.h: Likewise.
7288 * libc/locale/fix_grouping.c: Likewise.
7289 * libc/locale/ldpart.c: Likewise.
7290 * libc/locale/ldpart.h: Likewise.
7291 * libc/locale/lmessages.c: Likewise.
7292 * libc/locale/lmessages.h: Likewise.
7293 * libc/locale/lmonetary.c: Likewise.
7294 * libc/locale/lmonetary.h: Likewise.
7295 * libc/locale/lnumeric.c: Likewise.
7296 * libc/locale/lnumeric.h: Likewise.
7297 * libc/locale/nl_langinfo.3: Likewise.
7298 * libc/locale/nl_langinfo.c: Likewise.
7299 * libc/locale/timelocal.c: Likewise.
7300 * libc/locale/timelocal.h: Likewise.
7301 * libc/stdlib/btowc.c: Likewise.
7302 * libc/stdlib/mbrlen.c: Likewise.
7303 * libc/stdlib/mbrtowc.c: Likewise.
7304 * libc/stdlib/mbsinit.c: Likewise.
7305 * libc/stdlib/mbsrtowcs.c: Likewise.
7306 * libc/stdlib/wcrtomb.c: Likewise.
7307 * libc/stdlib/wcsrtombs.c: Likewise.
7308 * libc/stdlib/wctob.c: Likewise.
7309 * libc/sys/linux/prof-freq.c: Likewise.
7310 * libc/sys/linux/profile.c: Likewise.
7311 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7312 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7313 * libc/include/stdlib.h: Change re-entrant functions to take
7314 mbstate_t pointers.
7315 * libc/include/sys/_types.h: Define _mbstate_t.
7316 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
7317 * libc/include/sys/errno.h (EILSEQ): New error code.
7318 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
7319 structure to use mbstate_t.
7320 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
7321 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
7322 * libc/machine/powerpc/vfscanf.c: Likewise.
7323 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
7324 * libc/stdio/vfprintf.c: Likewise.
7325 * libc/stdio/vfscanf.c: Likewise.
7326 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
7327 * libc/stdlib/mblen.c: Use mbstate_t.
7328 * libc/stdlib/mblen_r.c: Likewise.
7329 * libc/stdlib/mbstowcs.c: Likewise.
7330 * libc/stdlib/mbstowcs_r.c: Likewise.
7331 * libc/stdlib/mbtowc.c: Likewise.
7332 * libc/stdlib/mbtowc_r.c: Likewise.
7333 * libc/stdlib/wcstombs.c: Likewise.
7334 * libc/stdlib/wcstombs_r.c: Likewise.
7335 * libc/stdlib/wctomb_r.c: Likewise.
7336 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
7337 profile.c.
7338 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
7339 dl-procinfo.c.
7340 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
7341 * libc/sys/linux/sys/types.h (off_t): Define type.
7342 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
7343 to C-UTF-8.
7344 * testsuite/newlib.locale/UTF-8.exp: Likewise.
7345
7346 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
7347
7348 * libc/stdlib/mallocr.c: #include windows.h on Win32.
7349 (AlignPage): Continue macro on next line.
7350
7351 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7352
7353 * libc/sys/linux/include/pthread.h: New file.
7354
7355 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7356
7357 * libc/include/sys/types.h: Support __need_inttypes macro
7358 that only sets the __intxx and __uintxx types.
7359 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
7360 to get mprec.h.
7361 * libc/machine/powerpc/Makefile.in: Regenerated.
7362 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
7363 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
7364 redundant fixed-point conversion prototypes.
7365 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
7366 after setting __need_inttypes.
7367
7368 2002-08-18 Christopher Faylor <cgf@redhat.com>
7369
7370 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
7371
7372 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7373
7374 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
7375 _LONG_DOUBLE to double.
7376
7377 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7378
7379 * configure.host: Add powerpc*-*-eabispe* configuration.
7380 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
7381 * libc/machine/powerpc/atosfix32.c: Ditto.
7382 * libc/machine/powerpc/atosfix64.c: Ditto.
7383 * libc/machine/powerpc/atoufix16.c: Ditto.
7384 * libc/machine/powerpc/atoufix32.c: Ditto.
7385 * libc/machine/powerpc/atoufix64.c: Ditto.
7386 * libc/machine/powerpc/fix64.h: Ditto.
7387 * libc/machine/powerpc/simdldtoa.c: Ditto.
7388 * libc/machine/powerpc/strtosfix16.c: Ditto.
7389 * libc/machine/powerpc/strtosfix32.c: Ditto.
7390 * libc/machine/powerpc/strtosfix64.c: Ditto.
7391 * libc/machine/powerpc/strtoufix16.c: Ditto.
7392 * libc/machine/powerpc/strtoufix32.c: Ditto.
7393 * libc/machine/powerpc/strtoufix64.c: Ditto.
7394 * libc/machine/powerpc/ufix64toa.c: Ditto.
7395 * libc/machine/powerpc/configure.in: Add check for
7396 powerpc*-eabispe and add fixed-point conversion functions.
7397 * libc/machine/powerpc/configure: Regenerated.
7398 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
7399 %r and %R format specifiers which handle fixed-point data.
7400 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
7401 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
7402 function prototypes.
7403
7404 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7405
7406 * Makefile.am: Move cmath stuff into libc/sys/linux.
7407 * Makefile.in: Regenerated.
7408 * configure.host: Default -DMB_CAPABLE for x86-linux.
7409 * libc/include/reent.h: Define _sbrk to take signed int argument.
7410 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
7411 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
7412 make locale name checking more efficient. Also allow "C-ISO-8859-1"
7413 locale for LC_CTYPE and LC_MESSAGES.
7414 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
7415 * libc/sys/linux/brk.c: Change sbrk prototype.
7416 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
7417 include <sys/features.h>.
7418 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
7419 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
7420 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
7421 with a few local additions.
7422 * libc/sys/linux/sys/features.h: New file.
7423 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
7424 to take signed argument.
7425 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
7426 prototypes to take signed size argument.
7427
7428 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
7429
7430 * libc/sys/linux/cmath: New directory.
7431 * libc/sys/linux/include/cmathcalls.h: New file.
7432 * libc/sys/linux/include/complex.h: New file.
7433 * libc/sys/linux/machine/i386/huge_val.h: New file
7434 * libm/math/w_sincos.c: New file
7435 * libm/math/wf_sincos.c: New file
7436 * libm/mathfp/s_sincos.c: New file
7437 * libm/mathfp/sf_sincos.c: New file
7438 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
7439 * libc/include/math.h: Add sincos and sincosf declarations.
7440 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
7441 (SUBLIBS): Likewise.
7442 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
7443 * libm/math/Makefile.am (src): Add w_sincos.c.
7444 (fsrc): Add wf_sincos.c.
7445 * libm/mathfp/Makefile.am (src): Add s_sincos.c
7446 (fsrc): Add sf_sincos.c.
7447
7448 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
7449
7450 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
7451 Declare as extern chars and use the address operator to
7452 properly use values set in linker script.
7453
7454 2002-08-09 Jason Tishler <jason@tishler.net>
7455
7456 * libc/stdlib/mallocr.c: Include <limits.h>.
7457 (request2size): Change macro to do
7458 unsigned long comparisons and avoid signed overflow.
7459 (mALLOc): Add overflow check for the number of bytes to allocate.
7460 (rEALLOc): Ditto.
7461
7462 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
7463
7464 * configure.host: Add check for --enable-newlib-io-pos-args
7465 and define WANT_IO_POS_ARGS flag if enabled. Define
7466 the flag by default for x86-linux configurations.
7467 * configure.in: Add support for --enable-newlib-io-pos-args.
7468 * libc/configure.in: Ditto.
7469 * configure: Regenerated.
7470 * libc/configure: Ditto.
7471 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
7472 vfprintf.c and vfiprintf.c.
7473 * libc/stdio/Makefile.in: Regenerated.
7474 * libc/stdio/vfprintf.c: Add positional argument support that
7475 is enabled by compiling with -DWANT_IO_POS_ARGS.
7476
7477 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
7478
7479 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
7480 based on __mips_soft_float rather than __mips64.
7481 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
7482 of both 32-bit and 64-bit code.
7483
7484 2002-08-04 Christopher Faylor <cgf@redhat.com>
7485
7486 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
7487 arguments for popen to match similar functionality in fopen.
7488
7489 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
7490
7491 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
7492
7493 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
7494
7495 * libc/sys/linux/Makefile.am: Add aio64.c.
7496 * libc/sys/linux/Makefile.in: Regenerated.
7497 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
7498 * libc/sys/linux/aio64.c: New file.
7499
7500 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7501
7502 * libc/include/sys/param.h (MAX, MIN): Added macros.
7503 * libc/sys/linux/Makefile.am: Add new files.
7504 * libc/sys/linux/Makefile.in: Regenerated.
7505 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7506 * libc/sys/linux/inode.c (fchdir): Added syscall.
7507 * libc/sys/linux/ftw.c: New file.
7508 * libc/sys/linux/ftw64.c: Ditto.
7509 * libc/sys/linux/getwd.c: Ditto.
7510 * libc/sys/linux/scandir64.c: Ditto.
7511 * libc/sys/linux/strverscmp.c: Ditto.
7512 * libc/sys/linux/versionsort.c: Ditto.
7513 * libc/sys/linux/versionsort64.c: Ditto.
7514
7515 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7516
7517 * libc/string/strings.tex: Fix typo for memccpy.
7518
7519 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7520
7521 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
7522 * libc/sys/linux/sys/types.h (off64_t): Definition added.
7523
7524 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7525
7526 * libc/sys/linux/Makefile.am: Add fclean.c.
7527 * libc/sys/linux/Makefile.in: Regenerated.
7528 * libc/sys/linux/fclean.c: New file.
7529
7530 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7531
7532 * libc/sys/linux/Makefile.am: Add confstr.c.
7533 * libc/sys/linux/Makefile.in: Regenerated.
7534 * libc/sys/linux/confstr.c: New file.
7535 * libc/sys/linux/confstr.h: Ditto.
7536 * libc/sys/linux/sys/unistd.h: Include <features.h> and
7537 <bits/environments.h>.
7538
7539 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7540
7541 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
7542 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
7543 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
7544 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
7545 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
7546 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
7547
7548 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7549
7550 * libc/sys/linux/Makefile.am: Add new files.
7551 * libc/sys/linux/Makefile.in: Regenerated.
7552 * libc/sys/linux/fstab.c: New file.
7553 * libc/sys/linux/fstatvfs.c: Ditto.
7554 * libc/sys/linux/fstatvfs64.c: Ditto.
7555 * libc/sys/linux/internal_statvfs.c: Ditto.
7556 * libc/sys/linux/mntent.c: Ditto.
7557 * libc/sys/linux/mntent_r.c: Ditto.
7558 * libc/sys/linux/statvfs.c: Ditto.
7559 * libc/sys/linux/statvfs64.c: Ditto.
7560 * libc/sys/linux/include/paths.h: Ditto.
7561 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
7562 with double-underscore weak-aliases.
7563 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7564
7565 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7566
7567 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
7568 to use _sig_func_ptr type casted constants.
7569 (_sig_func_ptr): Typedef moved to sys/signal.h.
7570 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
7571 For __rtems, use POSIX definition, otherwise default to ANSI.
7572 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
7573
7574 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
7575
7576 * configure.host: Recognize m6811-elf and m6812-elf targets.
7577 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
7578 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
7579 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
7580 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
7581 according to __INT_MAX__.
7582 (_POINTER_INT): Define to short.
7583 * libc/machine/m68hc11/Makefile.am: New file.
7584 * libc/machine/m68hc11/Makefile.in: New file.
7585 * libc/machine/m68hc11/configure.in: New file.
7586 * libc/machine/m68hc11/configure: New file.
7587 * libc/machine/m68hc11/aclocal.m4: New file.
7588 * libc/machine/m68hc11/setjmp.S: New file.
7589
7590 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7591
7592 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
7593 prototypes.
7594 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
7595 * libc/stdlib/Makefile.in: Regenerated.
7596 * libc/stdlib/strdup.c: Removed.
7597 * libc/stdlib/strdup_r.c: Removed.
7598 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
7599 mempcpy.c, strndup.c, and strndup_r.c.
7600 * libc/string/Makefile.in: Regenerated.
7601 * libc/string/memccpy.c: New file.
7602 * libc/string/mempcpy.c: Ditto.
7603 * libc/string/strndup.c: Ditto.
7604 * libc/string/strndup_r.c: Ditto.
7605 * libc/string/strdup.c: New file moved from stdlib.
7606 * libc/string/strdup_r.c: Ditto.
7607 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
7608
7609 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7610
7611 * libc/include/stdio.h: Move fcloseall prototype within
7612 #ifndef _REENT_ONLY section.
7613 * libc/sys/linux/Makefile.am: Add new files.
7614 * libc/sys/linux/Makefile.in: Regenerated.
7615 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
7616 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
7617 * libc/sys/linux/sys/types.h: Add ino64_t type.
7618 * libc/sys/linux/ctermid.c: New file.
7619 * libc/sys/linux/ttyname_r.c: Ditto.
7620 * libc/sys/linux/readdir64.c: Ditto.
7621
7622 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7623
7624 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
7625 * libc/stdio/Makefile.am: Added fcloseall.c support.
7626 * libc/stdio/Makefile.in: Regenerated.
7627 * libc/stdio/fcloseall.c: New file.
7628 * libc/stdio64/Makefile.am: Remove missing .def references.
7629 * libc/stdio64/Makefile.in: Regenerated.
7630
7631 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7632
7633 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
7634 * libc/machine/powerpc/times.c: New file.
7635 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
7636 * libc/machine/powerpc/Makefile.in: Regenerated.
7637
7638 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
7639
7640 * libc/machine/powerpc/time.c: New file.
7641 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
7642 time.c.
7643 * libc/machine/powerpc/Makefile.in: Regenerated.
7644
7645 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7646
7647 * libc/libc.texinfo: Change copyright notices to Red Hat from
7648 Cygnus.
7649 * libm/libm.texinfo: Likewise.
7650 * README: Change docs URL to
7651 http://sources.redhat.com/newlib/docs.html.
7652
7653 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7654
7655 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
7656 * libc/sys/linux/Makefile.in: Regenerated.
7657 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
7658 * libc/sys/linux/io.c: Add ftruncate syscall.
7659 * libc/sys/linux/fpathconf.c: New file.
7660 * libc/sys/linux/pathconf.c: Ditto.
7661 * libc/sys/linux/linux_fsinfo.h: Ditto.
7662 * libc/sys/linux/sys/unistd.h: Ditto.
7663
7664 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7665
7666 * libc/stdio64/Makefile.am: Remove missing files.
7667 * libc/stdio64/Makefile.in: Regenerated.
7668
7669 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7670
7671 * libc/include/sys/config.h[__i386__][__linux__]: Define
7672 _LARGE64FILE_SOURCE to 1.
7673 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
7674 * libc/sys/linux/Makefile.in: Regenerated.
7675 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
7676 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
7677 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
7678 of <linux/resource.h>.
7679 * libc/sys/linux/getrlimit64.c: New file.
7680 * libc/sys/linux/setrlimit64.c: Ditto.
7681
7682 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7683
7684 * libc/argz/argz_replace.c: Include buf_findstr.h.
7685 * libc/argz/buf_findstr.c: Likewise.
7686 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
7687 value to (char *).
7688 * libc/argz/envz_get.c: Likewise.
7689 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
7690 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
7691 * libc/stdlib/getsubopt.3: New file.
7692 * libc/stdlib/getsubopt.c: New file.
7693 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
7694 Change esp to ebp.
7695
7696 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
7697
7698 * configure.host(stdio64_dir): New setting that is used to
7699 enable building of new stdio64 directory.
7700 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
7701 large files.
7702 (stmp-stdio64,stdio64.texi): New targets to optionally add in
7703 stdio64 info to info files.
7704 * libc/Makefile.in: Regenerated.
7705 * libc/configure: Ditto.
7706 * libc/configure.in: Add configuration variables that are set
7707 when stdio64 is selected as subdir in configure.host.
7708 * libc/libc.texinfo: Add optional menu item for Stdio64, based
7709 on whether STDIO64 flag is set or not.
7710 * libc/sys.tex: Add optional stdio64 syscalls based on whether
7711 STDIO64 flag is set or not.
7712 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
7713 _r sycall routines.
7714 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
7715 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
7716 (__SL64): New file flag indicating file is opened via fopen64.
7717 * libc/include/sys/_types.h(_off64_t): Added.
7718 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
7719 * libc/include/sys/reent.h(struct __sFILE64): New file structure
7720 for 64-bit offset large file support.
7721 (__FILE): New intermediate type either set to struct __sFILE64 or
7722 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
7723 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
7724 * libc/reent/Makefile.in: Regenerated.
7725 * libc/reent/fstat64r.c: New file.
7726 * libc/reent/lseek64r.c: Ditto.
7727 * libc/reent/open64r.c: Ditto.
7728 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
7729 based on whether STDIO64 flag is set.
7730 * libc/stdio/stdio.tex: Add blank line.
7731 * libc/stdio64/Makefile.am: New file.
7732 * libc/stdio64/Makefile.in: Ditto.
7733 * libc/stdio64/fgetpos64.c: Ditto.
7734 * libc/stdio64/fopen64.: Ditto.
7735 * libc/stdio64/freopen64.c: Ditto.
7736 * libc/stdio64/fseeko64.c: Ditto.
7737 * libc/stdio64/fsetpos64.c: Ditto.
7738 * libc/stdio64/ftello64.c: Ditto.
7739 * libc/stdio64/local64.h: Ditto.
7740 * libc/stdio64/stdio64.c: Ditto.
7741 * libc/stdio64/stdio64.tex: Ditto.
7742 * libc/stdio64/tmpfile64.c: Ditto.
7743 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
7744 open64.
7745
7746 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
7747
7748 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
7749 if LIBC_EXTRA_LIB is present.
7750 * libc/Makefile.in: Regenerated.
7751 * libc/libc.texinfo: Add blank line.
7752 * libc/argz/Makefile.am: Add doc support.
7753 * libc/search/Makefile.am: Ditto.
7754 * libc/argz/Makefile.in: Regenerated.
7755 * libc/search/Makefile.in: Ditto.
7756 * libc/misc/misc.tex: Add ffs function.
7757 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
7758
7759 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7760
7761 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
7762 definition that was removed in error.
7763
7764 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7765
7766 * libc/include/machine/ieeefp.h: Change to only define
7767 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
7768 __IEEE_LITTLE_ENDIAN must be defined for each platform).
7769 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
7770 remove redundant floating point definitions.
7771
7772 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7773
7774 * libc/sys/linux/callocr.c: Fix so code references
7775 calloc.
7776
7777 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7778
7779 * libc/sys/linux/Makefile.am: Add new files.
7780 * libc/sys/linux/Makefile.in: Regenerated.
7781 * libc/sys/linux/bp-sym.h: Moved to include directory.
7782 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
7783 * libc/sys/linux/inode.c: Set _LIBC to 1.
7784 * libc/sys/linux/mq_close.c: Ditto.
7785 * libc/sys/linux/mq_getattr.c: Ditto.
7786 * libc/sys/linux/mq_open.c: Ditto.
7787 * libc/sys/linux/mq_receive.c: Ditto.
7788 * libc/sys/linux/mq_send.c: Ditto.
7789 * libc/sys/linux/mq_setattr.c: Ditto.
7790 * libc/sys/linux/mq_unlink.c: Ditto.
7791 * libc/sys/linux/calloc.c: New file.
7792 * libc/sys/linux/callocr.c: Ditto.
7793 * libc/sys/linux/cfreer.c: Ditto.
7794 * libc/sys/linux/config.h: Ditto.
7795 * libc/sys/linux/free.c: Ditto.
7796 * libc/sys/linux/freer.c: Ditto.
7797 * libc/sys/linux/msize.c: Ditto.
7798 * libc/sys/linux/msizer.c: Ditto.
7799 * libc/sys/linux/mstats.c: Ditto.
7800 * libc/sys/linux/mtrim.c: Ditto.
7801 * libc/sys/linux/mtrimr.c: Ditto.
7802 * libc/sys/linux/pvallocr.c: Ditto.
7803 * libc/sys/linux/realloc.c: Ditto.
7804 * libc/sys/linux/reallocr.c: Ditto.
7805 * libc/sys/linux/thread-m.h: Ditto.
7806 * libc/sys/linux/vallocr.c: Ditto.
7807 * libc/sys/linux/bp-checks.h: Ditto.
7808 * libc/sys/linux/libc-symbols.h: Ditto.
7809 * libc/sys/linux/libc-tsd.h: Ditto.
7810 * libc/sys/linux/libintl.h: Ditto.
7811 * libc/sys/linux/malign.c: Ditto.
7812 * libc/sys/linux/malignr.c: Ditto.
7813 * libc/sys/linux/mallinfor.c: Ditto.
7814 * libc/sys/linux/malloc.c: Ditto.
7815 * libc/sys/linux/mallocr.c: Ditto.
7816 * libc/sys/linux/malloptr.c: Ditto.
7817 * libc/sys/linux/mallstatsr.c: Ditto.
7818 * libc/sys/linux/mcheck.c: Ditto.
7819 * libc/sys/linux/mhooks.h: Ditto.
7820 * libc/sys/linux/include/bp-sym.h: Ditto.
7821 * libc/sys/linux/include/malloc.h: Ditto.
7822 * libc/sys/linux/include/mcheck.h: Ditto.
7823 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
7824 getpagesize.c.
7825 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
7826 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
7827 * libc/sys/linux/machine/i386/getpagesize.c: New file.
7828 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
7829 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7830 * libc/sys/linux/machine/i386/sysdep.h: New file.
7831 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
7832 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
7833 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
7834
7835 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
7836
7837 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
7838 instead of <asm/siginfo.h>.
7839 * libc/sys/linux/sys/signal.h: Change to include various linux
7840 <bits/xxx.h> header files, rather than <linux/signal.h> so as
7841 to work with multiple releases of glibc header files.
7842
7843 2002-07-11 Chris Demetriou <cgd@broadcom.com>
7844
7845 * testsuite/newlib.search/hsearchtest.c: New file to test
7846 newlib/libc/search.
7847 * testsuite/newlib.search/hsearchtest.exp: Likewise.
7848
7849 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
7850
7851 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
7852 a terminal.
7853 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
7854
7855 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
7856
7857 * libc/include/math.h (MAXFLOAT): Added.
7858
7859 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
7860
7861 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
7862 Make strcmp.S unconditional.
7863 * libc/machine/sh/Makefile.in: Regenerate.
7864 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
7865 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
7866 for SHcompact.
7867
7868 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7869
7870 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
7871 define before including <sys/lock.h>.
7872
7873 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7874
7875 * libc/include/utime.h: Add include of <_ansi.h>.
7876 * libc/sys/linux/Makefile.am: Add utimes.c.
7877 * libc/sys/linux/Makefile.in: Regenerated.
7878 * libc/sys/linux/inode.c(__umask): New static routine.
7879 (umask): Written to use __umask and attempt to thread lock.
7880 (getumask): New function written to use __umask and thread lock.
7881 * libc/sys/linux/utimes.c: New file.
7882 * libc/sys/linux/sys/time.h: Fix utimes prototype.
7883 * libc/sys/linux/sys/utime.h: New file.
7884
7885 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7886
7887 * libtool.m4: New file.
7888 * libc/sys/linux/process.c: Implement vfork in terms of fork,
7889 rather than as a syscall.
7890
7891 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7892
7893 * libc/include/stdio.h: Add new prototypes.
7894 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
7895 * libc/stdio/Makefile.in: Regenerated.
7896 * libc/stdio/fseek.c: Add fseeko documentation.
7897 * libc/stdio/ftell.c: Add ftello documentation.
7898 * libc/stdio/fseeko.c: New file.
7899 * libc/stdio/ftello.c: New file.
7900
7901 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7902
7903 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
7904 * libc/stdio/Makefile.in: Regenerated.
7905 * libc/stdio/asprintf.c: New file.
7906 * libc/stdio/vasprintf.c: Ditto.
7907 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
7908 the buffer for asprintf support.
7909 * libc/stdio/sprintf.c: Add asprintf documentation.
7910 * libc/stdio/vfprintf.c: Add vasprintf documentation.
7911 * libc/include/stdio.h: Add new prototypes.
7912
7913 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
7914
7915 * libc/search/hcreate.c: Remove advertising clause from license.
7916 * libc/search/hcreate_r.c: Likewise.
7917
7918 2002-07-02 Chris Demetriou <cgd@broadcom.com>
7919
7920 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
7921 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
7922 Check that one of them is defined and error out if not.
7923 Add any platforms defined in <machine/ieeefp.h> that are missing.
7924 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
7925 (DB_LITTLE_ENDIAN): New defines.
7926 * libc/search/hash.c: Replace all incorrect checks for
7927 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
7928 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
7929 * libc/search/hash_page.c: Likewise.
7930
7931 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7932
7933 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
7934
7935 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
7936
7937 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
7938 * libc/include/time.h: Same.
7939 * libc/include/string.h: Same.
7940 * libc/include/stdlib.h: Same.
7941 * libc/include/signal.h: Same.
7942 * libc/include/setjmp.h: Same.
7943 * libc/include/math.h: Same.
7944 * libc/include/locale.h: Same.
7945 * libc/include/ctype.h: Same.
7946 * libc/include/machine/setjmp.h: Same.
7947 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
7948 (_END_STD_C): Add.
7949
7950 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7951
7952 * libc/include/sys/_types.h: Define _ssize_t as int if int is
7953 32-bits, otherwise define it as long.
7954 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
7955 and define ssize_t as _ssize_t.
7956 * libc/reent/readr.c: Change return type to _ssize_t.
7957 * libc/reent/writer.c: Ditto.
7958 * libc/sys/linux/Makefile.am: Add aio.c.
7959 * libc/sys/linux/Makefile.in: Regenerated.
7960 * libc/sys/linux/aio.c: New file.
7961 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
7962 * libm/common/fdlibm.h: Undef __P before defining it.
7963
7964 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
7965
7966 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
7967 exponent_is_even_int variable. Handle case where x is
7968 negative, and y is an odd integer.
7969 * libm/mathfp/sf_pow.c (powf): Likewise.
7970
7971 * libm/mathfp/er_lgamma.c: Remove __kernel references.
7972 * libm/mathfp/erf_lgamma.c: Likewise.
7973 * libm/mathfp/s_tgamma.c: Likewise.
7974 * libm/mathfp/sf_tgamma.c: Likewise.
7975
7976 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7977
7978 * libc/sys/linux/Makefile.am: Add new clock routines.
7979 * libc/sys/linux/Makefile.in: Regenerated.
7980 * libc/sys/linux/clock_getres.c: New file.
7981 * libc/sys/linux/clock_gettime.c: Ditto.
7982 * libc/sys/linux/clock_settime.c: Ditto.
7983 * libc/sys/linux/hp-timing.h: Ditto.
7984 * libc/sys/linux/libc-internal.h: Ditto.
7985 * libc/sys/linux/sysconf.c: Fix typo.
7986 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
7987 * libc/sys/linux/machine/hp-timing.h: New file.
7988 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
7989 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7990 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
7991 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
7992 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
7993 * libc/sys/linux/sys/linux_time.h: New file.
7994 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
7995 replace with <sys/linux_time.h>.
7996
7997 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
7998
7999 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8000
8001 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8002
8003 * libc/sys/linux/Makefile.am: Consolidate additional items under
8004 ADD_OBJS.
8005 * libc/sys/linux/Makefile.in: Regenerated.
8006
8007 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8008
8009 * libc/sys/linux/sethostname.c: New file.
8010 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8011 * libc/sys/linux/Makefile.in: Regenerated.
8012
8013 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8014
8015 * libc/search/db_local.h: New file.
8016 * libc/include/db.h: Remove.
8017 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8018 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8019 "db_local.h".
8020 * libc/search/hash_bigkey.c: Likewise.
8021 * libc/search/hash_buf.c: Likewise.
8022 * libc/search/hash_func.c: Likewise.
8023 * libc/search/hash_log2.c: Likewise.
8024 * libc/search/hash_page.c: Likewise.
8025
8026 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
8027
8028 * libc/machine/sh/strlen.S: New file.
8029 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8030 * libc/machine/sh/Makefile.am: Regenerate.
8031
8032 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8033
8034 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8035 add gethostname alias.
8036
8037 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8038
8039 * libc/include/math.h: Remove <sys/types.h>.
8040 (__dmath): Use __ULong instead of __uint32_t.
8041 * libc/include/sys/reent.h: If long or int is not 32-bits,
8042 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
8043 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8044 * libm/common/fdlibm.h: Ditto.
8045
8046 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8047
8048 * libc/include/ndbm.h: Remove.
8049 * libc/search/ndbm.c: Remove.
8050
8051 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8052
8053 * libc/stdio/fseek.c (fseek): Fix braces.
8054
8055 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
8056
8057 * libc/time/strftime.c (strftime): Add %e format specifier.
8058
8059 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8060
8061 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8062 previously defined.
8063
8064 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
8065
8066 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8067 (BYTE_ORDER): Define as appropriate for the target.
8068
8069 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8070
8071 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8072 to _ssize_t.
8073 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8074
8075 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8076
8077 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8078 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8079 [HAVE_GETDATE](getdate_err): New error code.
8080 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8081 * libc/stdio/Makefile.in: Regenerated.
8082 * libc/stdio/getdelim.c: New file.
8083 * libc/stdio/getline.c: Ditto.
8084 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8085 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8086 * libc/sys/linux/Makefile.in: Regenerated.
8087 * libc/sys/linux/getdate.c: New file.
8088 * libc/sys/linux/getdate_err.c: Ditto.
8089 * libc/sys/linux/ntp_gettime.c: Ditto.
8090 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8091 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8092
8093 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8094
8095 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8096 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8097 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8098 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8099 * libc/include/sys/param.h: Remove i386 case which is handled
8100 by default case.
8101 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8102 definitions in case they are already defined.
8103 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8104 _IEEE_LITTLE_ENDIAN flags.
8105 * libc/include/sys/reent.h: Change __uint32_t references to
8106 use _ULong instead.
8107 (_REENT_GETDATE_REENT_P): New macro.
8108 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8109 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8110 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8111 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8112 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8113 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8114 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8115 definitions which are done by subsequent glibc headers.
8116 Add macro definitions to prevent subsequent header files from
8117 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8118 intptr_t to after glibc definitions of types they are based on.
8119
8120 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8121
8122 * libc/include/errno.h: Protect from multiple inclusion.
8123
8124 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8125
8126 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8127
8128 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8129
8130 * Makefile.am (LIB_OBJECTLISTS): Add
8131 libc/search/objectlist.awk.in.
8132 * libc/Makefile.am (SUBDIRS): Add search.
8133 (SUBLIBS): Add search/libsearch.la.
8134 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8135 * libc/search: New directory.
8136 * libc/search/Makefile.am: New file.
8137 * libc/search/extern.h: New file.
8138 * libc/search/hash.c: New file.
8139 * libc/search/hash.h: New file.
8140 * libc/search/hash_bigkey.c: New file.
8141 * libc/search/hash_buf.c: New file.
8142 * libc/search/hash_func.c: New file.
8143 * libc/search/hash_log2.c: New file.
8144 * libc/search/hash_page.c: New file.
8145 * libc/search/hcreate.3: New file.
8146 * libc/search/hcreate.c: New file.
8147 * libc/search/hcreate_r.c: New file.
8148 * libc/search/ndbm.c: New file.
8149 * libc/search/page.h: New file.
8150 * libc/search/tdelete.c: New file.
8151 * libc/search/tdestroy.c: New file.
8152 * libc/search/tfind.c: New file.
8153 * libc/search/tsearch.3: New file.
8154 * libc/search/tsearch.c: New file.
8155 * libc/search/twalk.c: New file.
8156 * libc/include/db.h: New file.
8157 * libc/include/ndbm.h: New file.
8158 * libc/include/search.h: New file.
8159 * libc/include/sys/queue.h: New file.
8160 * libc/include/sys/cdefs.h: New file.
8161 * libc/include/sys/param.h
8162 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8163 LITTLE_ENDIAN or BIG_ENDIAN.
8164 * libc/include/sys/errno.h (EFTYPE): New macro.
8165 * libc/search/bsearch.c: Move from libc/stdlib.
8166 * libc/search/qsort.c: Likewise.
8167 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8168 qsort.c.
8169 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8170 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8171
8172 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8173
8174 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8175 ipc routines, and ftok.
8176 * libc/sys/linux/Makefile.in: Regenerated.
8177 * libc/sys/linux/ftok.c: New file.
8178 * libc/sys/linux/ipc.c: Ditto.
8179 * libc/sys/linux/mq_close.c: Ditto.
8180 * libc/sys/linux/mq_getattr.c: Ditto.
8181 * libc/sys/linux/mq_notify.c: Ditto.
8182 * libc/sys/linux/mq_open.c: Ditto.
8183 * libc/sys/linux/mq_receive.c: Ditto.
8184 * libc/sys/linux/mq_send.c: Ditto.
8185 * libc/sys/linux/mq_setattr.c: Ditto.
8186 * libc/sys/linux/mq_unlink.c: Ditto.
8187 * libc/sys/linux/mqlocal.h: Ditto.
8188 * libc/sys/linux/include/mqueue.h: Ditto.
8189 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8190 __uid_t_defined.
8191
8192 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8193
8194 * libm/common/sf_lround.c (round): Change name to: (lround).
8195 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8196 remquof.
8197
8198 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8199
8200 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8201 procedure.
8202 (newlib_pass_fail): Change to compile and run only one file.
8203 * testsuite/newlib.locale/locale.exp: Use new
8204 newlib_pass_fail_all procedure.
8205 * testsuite/newlib.string/string.exp: Likewise.
8206
8207 2002-06-18 Dave Brolley <brolley@redhat.com>
8208
8209 From Catherine Moore, Michael Meissner, Richard Sandiford:
8210 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8211 (_JBTYPE): Ditto.
8212 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8213 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8214 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8215 * configure.host: Support frv-*-*.
8216 * libc/machine/frv/Makefile.am: New file.
8217 * libc/machine/frv/configure.in: New file.
8218 * libc/machine/frv/setjmp.S: New file.
8219
8220 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8221
8222 * libc/include/ctype.h: Remove isblank macro.
8223
8224 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8225 * libc/ctype/isblank.c: New file.
8226 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8227 declaration. Add isblank macro.
8228
8229 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8230
8231 * testsuite/newlib.stdlib/atexit.c: New file.
8232 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8233 * testsuite/newlib.string/tstring.c: Change default start size
8234 to something more reasonable for embedded platforms.
8235
8236 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8237
8238 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8239
8240 * libc/argz: New directory.
8241 * libc/argz/*: New files.
8242 * libc/argz/argz_add.c: New file.
8243 * libc/argz/argz_add_sep.c: New file.
8244 * libc/argz/argz_append.c: New file.
8245 * libc/argz/argz_count.c: New file.
8246 * libc/argz/argz_create.c: New file.
8247 * libc/argz/argz_create_sep.c: New file.
8248 * libc/argz/argz_delete.c: New file.
8249 * libc/argz/argz_extract.c: New file.
8250 * libc/argz/argz_insert.c: New file.
8251 * libc/argz/argz_next.c: New file.
8252 * libc/argz/argz_replace.c: New file.
8253 * libc/argz/argz_stringify.c: New file.
8254 * libc/argz/buf_findstr.c: New file.
8255 * libc/argz/envz_add.c: New file.
8256 * libc/argz/envz_entry.c: New file.
8257 * libc/argz/envz_get.c: New file.
8258 * libc/argz/envz_merge.c: New file.
8259 * libc/argz/envz_remove.c: New file.
8260 * libc/argz/envz_strip.c: New file.
8261 * libc/include/argz.h: New file.
8262 * libc/include/envz.h: New file.
8263 * Makefile.am (LIBC_OBJECTLISTS): Add
8264 libc/argz/objectlist.awk.in.
8265 * libc/Makefile.am (SUBDIRS): Add argz.
8266 (SUBLIBS): Add argz/libargz.la.
8267 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
8268 * libc/include/errno.h: Add error_t typedef.
8269
8270 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
8271
8272 * libc/include/stdlib.h: Add _Exit prototype.
8273 * libc/stdlib/Makefile.am: Add _Exit.c support.
8274 * libc/stdlib/Makefile.in: Ditto.
8275 * libc/stdlib/_Exit.c: New file.
8276
8277 2002-06-13 Stephen L. Moshier <steve@moshier.net>
8278
8279 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
8280 x is close to -1.0 and y is very large to use ax (absolute value)
8281 instead of x.
8282 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
8283
8284 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
8285
8286 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
8287 Fix clobbering bytes before destination if src and dst have same
8288 non-zero misalignment.
8289
8290 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8291 Fixed bug in writing end of set region.
8292
8293 2002-06-10 Christopher Faylor <cgf@redhat.com>
8294
8295 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8296 spawnve declaration.
8297
8298 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8299
8300 * libm/common/s_fdim.c: New file.
8301 * libm/common/s_fma.c: Likewise.
8302 * libm/common/s_fmax.c: Likewise.
8303 * libm/common/s_fmin.c: Likewise.
8304 * libm/common/s_fpclassify.c: Likewise.
8305 * libm/common/s_lrint.c: Likewise.
8306 * libm/common/s_lround.c: Likewise.
8307 * libm/common/s_nearbyint.c: Likewise.
8308 * libm/common/s_remquo.c: Likewise.
8309 * libm/common/s_round.c: Likewise.
8310 * libm/common/s_scalbln.c: Likewise.
8311 * libm/common/s_signbit.c: Likewise.
8312 * libm/common/s_trunc.c: Likewise.
8313 * libm/common/sf_fdim.c: Likewise.
8314 * libm/common/sf_fma.c: Likewise.
8315 * libm/common/sf_fmax.c: Likewise.
8316 * libm/common/sf_fmin.c: Likewise.
8317 * libm/common/sf_lrint.c: Likewise.
8318 * libm/common/sf_lround.c: Likewise.
8319 * libm/common/sf_nearbyint.c: Likewise.
8320 * libm/common/sf_remquo.c: Likewise.
8321 * libm/common/sf_round.c: Likewise.
8322 * libm/common/sf_scalbln.c: Likewise.
8323 * libm/common/sf_trunc.c: Likewise.
8324 * libm/math/w_exp2.c: Likewise.
8325 * libm/math/w_tgamma.c: Likewise.
8326 * libm/math/wf_exp2.c: Likewise.
8327 * libm/math/wf_tgamma.c: Likewise.
8328 * libm/mathfp/s_exp2.c: Likewise.
8329 * libm/mathfp/s_tgamma.c: Likewise.
8330 * libm/mathfp/sf_exp2.c: Likewise.
8331 * libm/mathfp/sf_tgamma.c: Likewise.
8332 * libm/math/er_gamma.c: Fix return value.
8333 * libm/math/erf_gamma.c: Likewise.
8334 * libm/mathfp/er_gamma.c: Likewise.
8335 * libm/mathfp/erf_gamma.c: Likewise.
8336 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
8337 declarations and macros.
8338 Regenerated all Makefile.in, aclocal.m4 and configure files to
8339 use new libtool macros in top-level libtool.m4
8340
8341 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
8342
8343 * libc/include/string.h[__linux__]: Add strsignal prototype.
8344 * libc/include/sys/lock.h: New file with default locking support.
8345 * libc/include/sys/reent.h: Add signal buffer support for strsignal
8346 and psignal.
8347 * libc/posix/Makefile.am: Add support for readdir_r.c.
8348 * libc/posix/Makefile.in: Regenerated.
8349 * libc/posix/closedir.c: Add locking support and hash table cleanup.
8350 * libc/posix/opendir.c: Add lock support.
8351 * libc/posix/readdir.c: Ditto.
8352 * libc/posix/rewinddir.c: Ditto.
8353 * libc/posix/scandir.c: Ditto.
8354 * libc/posix/seekdir.c: Ditto.
8355 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
8356 clean up leftover hash table entries.
8357 * libc/posix/readdir_r.c: New file.
8358 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
8359 * libc/sys/linux/Makefile.in: Regenerated.
8360 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
8361 * libc/sys/linux/sys/signal.h: Add psignal prototype.
8362 * libc/sys/linux/psignal.c: New file.
8363 * libc/sys/linux/strsignal.c: Ditto.
8364
8365 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
8366
8367 * libc/include/sys/types.h: Don't define dev_t when compiling for
8368 Cygwin.
8369
8370 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
8371
8372 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
8373 make siglist.inc dependent on sig.c instead of signal.c.
8374 * libc/sys/linux/Makefile.in: Regenerated.
8375 * libc/sys/linux/sig.c: Rename from signal.c and change code to
8376 use NSIG instead of _NSIG.
8377 * libc/sys/linux/sigaction.c: New file.
8378 * libc/sys/linux/signal.c: Changed to be linux signal() function
8379 so as to override regular newlib default signal.c.
8380 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
8381 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8382 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
8383 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
8384 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
8385 default linux sigset_t typedef by defining it equal to __sigset_t.
8386 * libc/unix/sigset.c: Add check so code isn't compiled on systems
8387 with a sigset_t that isn't implemented with a single int.
8388
8389 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
8390
8391 * libc/sys/linux/Makefile.am: Add support for new files.
8392 * libc/sys/linux/Makefile.in: Regenerated.
8393 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
8394 * libc/sys/linux/signal.c: Change to use real-time syscalls for
8395 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
8396 it is in a separate file now.
8397 * libc/sys/linux/machine/i386/Makefile.am
8398 * libc/sys/linux/machine/i386/Makefile.in
8399 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
8400 * libc/sys/linux/sigaction.c: New file.
8401 * libc/sys/linux/sigqueue.c: Ditto.
8402 * libc/sys/linux/sigwait.c: Ditto.
8403 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
8404 * libc/sys/linux/kernel_sigaction.h: Ditto.
8405
8406 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
8407
8408 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
8409 tcsendbrk.c.
8410 * libc/sys/linux/Makefile.in: Regenerated.
8411 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
8412 tcgetpgrp(), and tcsetpgrp() functions.
8413 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
8414 to get __MAX_BAUD rate.
8415 * libc/sys/linux/machine/i386/include/termios.h: New file.
8416 * libc/include/machine/termios.h: Ditto.
8417 * libc/sys/linux/cfspeed.c: Ditto.
8418 * libc/sys/linux/tcsendbrk.c: Ditto.
8419
8420 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
8421
8422 * libc/include/string.h: Add strnlen and strerror_r prototypes.
8423 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
8424 * libc/string/Makefile.in: Regenerated.
8425 * libc/string/strerror_r.c: New file.
8426 * libc/string/strnlen.c: New file.
8427 * libc/sys/linux/Makefile.am: Add rename.c.
8428 * libc/sys/linux/Makefile.in: Regenerated.
8429 * libc/sys/linux/rename.c: New file to override default rename.
8430
8431 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8432
8433 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
8434 * libc/sys/linux/sys/time.h: Add conversion macros.
8435 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
8436 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
8437 * libc/sys/linux/gethostname.c: New file.
8438 * libc/sys/linux/seteuid.c: New file.
8439 * libc/sys/linux/sysctl.c: New file.
8440
8441 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8442
8443 * libc/string/Makefile.am: Add support for strsep.c.
8444 * libc/string/Makefile.in: Regenerated.
8445 * libc/string/strsep.c: New file.
8446 * libc/string/strtok.c: Change to call __strtok_r service routine.
8447 * libc/string/strtok_r.c: Add __strtok_r routine which takes
8448 additional flag parameter regarding whether to skip leading delimeters.
8449 Change strtok_r to call __strtok_r.
8450
8451 2002-05-23 Gareth Pearce <tilps@hotmail.com>
8452
8453 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
8454 * libc/stdio/Makefile.in: Regenerated.
8455 * libc/stdio/setbuffer.c: New file.
8456 * libc/stdio/setlinebuf.c: New file.
8457
8458 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8459
8460 * libc/sys/linux/Makefile.am: Add resource.c.
8461 * libc/sys/linux/Makefile.in: Regenerated.
8462 * libc/sys/linux/resource.c: New file.
8463 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
8464 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
8465 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8466 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
8467 are now found in libc/sys/linux/resource.c.
8468
8469 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8470
8471 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
8472 to use void * pointers and comply with Single Unix spec.
8473 * libc/string/bcmp.c: Change to use void * instead of char *.
8474 * libc/string/bcopy.c: Ditto.
8475 * libc/string/bzero.c: Ditto.
8476
8477 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8478
8479 * libc/sys/linux/shm_open.c: New file.
8480 * libc/sys/linux/shm_unlink.c: Ditto.
8481 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
8482 shm_unlink.c.
8483 * libc/sys/linux/Makefile.in: Regenerated.
8484 * libc/sys/linux/sys/types.h: Add some additional checks to see
8485 if clock_t or time_t is already defined.
8486
8487 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8488
8489 * Makefile.am: Don't pass $toollibdir down directly in
8490 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
8491 Pass it under the name: top_toollibdir.
8492 * Makefile.in: Regenerated.
8493
8494 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8495
8496 * libc/include/sys/types.h: Revert previous patch.
8497
8498 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8499
8500 * libc/include/sys/types.h: Include cygwin/types.h always under
8501 Cygwin, not only if _POSIX_THREADS is defined.
8502
8503 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
8504
8505 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
8506
8507 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
8508
8509 * Makefile.am: Copy and install headers from sys/machine/include
8510 directory. Also pass $toollibdir to lower-level directories.
8511 * Makefile.in: Regenerated.
8512 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
8513 stderr to use _REENT macro instead of _impure_ptr directly.
8514 * libc/include/sys/config.h[__i386__][__linux__]: Define
8515 __DYNAMIC_REENT__.
8516 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
8517 call to __getreent() function if !__SINGLE_THREAD__ and
8518 __DYNAMIC_REENT__ is set.
8519 * libc/reent/Makefile.am: Add support for getreent.c.
8520 * libc/reent/Makefile.in: Regenerated.
8521 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
8522 * libc/sys/linux/Makefile.am: Add support for new files.
8523 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
8524 * libc/sys/linux/Makefile.in: Regenerated.
8525 * libc/sys/linux/configure: Ditto.
8526 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
8527 __close, __read, __write, __poll, __open, __lseek, __fcntl from
8528 their __libc_ counterparts.
8529 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
8530 and weak-alias to regular names.
8531 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
8532 to pread64 and __pread64.
8533 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
8534 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
8535 weak-alias to pwrite64.
8536 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
8537 __libc_sched_getscheduler, __libc_sched_get_priority_max,
8538 __libc_sched_get_priority_min, and __libc_sched_setschedule to
8539 name with __ instead of __libc_.
8540 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
8541 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
8542 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
8543 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
8544 to raise.
8545 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
8546 __libc_send to __send.
8547 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
8548 __gettimeofday.
8549 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
8550 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
8551 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
8552 type and typedef __jmp_buf to jmp_buf.
8553 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
8554 setjmp.S.
8555 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8556 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
8557 section.
8558 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
8559 prefix for function macros and then use weak_alias() to regular names.
8560 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8561 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
8562 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
8563 to be flockfile() and funlockfile() respectively.
8564 * libc/sys/linux/sys/types.h
8565 * libc/reent/getreent.c: New file.
8566 * libc/sys/linux/flockfile.c: Ditto.
8567 * libc/sys/linux/funlockfile.c: Ditto.
8568 * libc/sys/linux/getreent.c: Ditto.
8569 * libc/sys/linux/pread.c: Ditto.
8570 * libc/sys/linux/pwrite.c: Ditto.
8571 * libc/sys/linux/raise.c: Ditto.
8572 * libc/sys/linux/system.c: Ditto.
8573 * libc/sys/linux/tcdrain.c: Ditto.
8574 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
8575 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
8576 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
8577 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
8578 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
8579
8580 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
8581
8582 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
8583 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
8584 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
8585 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
8586
8587 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
8588
8589 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
8590 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
8591 exit point.
8592
8593 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8594
8595 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
8596 options when testing natively on i[3456]86-*-linux.
8597
8598 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
8599 only one pass or fail per test file. Trim \r's from output
8600 values received from test programs. Remove support for named
8601 tests.
8602 * testsuite/newlib.locale/UTF-8.exp: Update to support new
8603 newlib_check_output behaviour.
8604 * testsuite/newlib.locale/UTF-8.c: Likewise.
8605
8606 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
8607
8608 * libc/include/stdlib.h: Add on_exit prototype.
8609 * libc/include/sys/reent.h (struct _atexit): Add argument array
8610 and bits to track type of exit routine to support both on_exit
8611 and atexit.
8612 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
8613 by default and change the setting of the atexit structure.
8614 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
8615 * libc/stdlib/on_exit.c: New file.
8616 * libc/stdlib/Makefile.am: Add support for on_exit.
8617 * libc/stdlib/Makefile.in: Regenerated.
8618 * libc/stdlib/atexit.c: Change to initialize types field.
8619 * libc/stdlib/exit.c: Change to look at types field for each
8620 exit routine and either call an atexit-style or an on_exit-style
8621 routine accordingly.
8622
8623 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8624
8625 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
8626 allow v specifier with n or L specifiers. For vector c format,
8627 move tmp declaration to the top.
8628
8629 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8630
8631 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
8632 the original format specifier when looping for vectors to compensate
8633 for any changes made in vector %g format processing.
8634 Also add syntax checking for various invalid scenarios
8635 involving vector format extensions.
8636 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
8637 return code setting for vector formats. Also treat vector
8638 separator mismatch as a match error instead of an input error.
8639 Perform some syntax checking for vector formats.
8640
8641 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8642
8643 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
8644 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
8645 * libc/string/strlcat.c: New file.
8646 * libc/string/strlcpy.c: New file.
8647
8648 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
8649
8650 * libc/string/strchr.c: Fix comment typo.
8651
8652 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
8653
8654 * acinclude.m4: Add support for --enable-newlib-multithread.
8655 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
8656 --enable-newlib-multithread=no.
8657
8658 * libc/stdio/getc_u.c: New file.
8659 * libc/stdio/getchar_u.c: New file.
8660 * libc/stdio/putc_u.c: New file.
8661 * libc/stdio/putchar_u.c: New file.
8662 * libc/include/stdio.h: Add declarations for getc_unlocked,
8663 getchar_unlocked, putc_unlocked and putchar_unlocked.
8664 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
8665 (CHEWOUT_FILES): Add new files' .def's.
8666 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
8667
8668 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
8669
8670 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8671 Also handle as single quad word when destination ends at last
8672 byte of first quad word. Fix byte selection in single quad code.
8673
8674 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
8675
8676 * libc/include/sys/stdio.h: New file.
8677 * libc/sys/linux/sys/stdio.h: New file.
8678 * libc/include/stdio.h: Add declarations for flockfile,
8679 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
8680 * libc/stdio/clearerr.c: Add file locking.
8681 * libc/stdio/fclose.c: Likewise.
8682 * libc/stdio/feof.c: Likewise.
8683 * libc/stdio/ferror.c: Likewise.
8684 * libc/stdio/fflush.c: Likewise.
8685 * libc/stdio/fgetc.c: Likewise.
8686 * libc/stdio/fgetpos.c: Likewise.
8687 * libc/stdio/fgets.c: Likewise.
8688 * libc/stdio/fileno.c: Likewise.
8689 * libc/stdio/fputc.c: Likewise.
8690 * libc/stdio/fputs.c: Likewise.
8691 * libc/stdio/fread.c: Likewise.
8692 * libc/stdio/freopen.c: Likewise.
8693 * libc/stdio/fseek.c: Likewise.
8694 * libc/stdio/ftell.c: Likewise.
8695 * libc/stdio/fwrite.c: Likewise.
8696 * libc/stdio/getc.c: Likewise.
8697 * libc/stdio/putc.c: Likewise.
8698 * libc/stdio/setvbuf.c: Likewise.
8699 * libc/stdio/ungetc.c: Likewise.
8700 * libc/stdio/vfprintf.c: Likewise.
8701
8702 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8703
8704 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
8705 support for 'p' format. Fix code to print bytes for vector
8706 integer formats that do not specify 'h' or 'l'.
8707 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
8708 for 'p' specifier. Fix code to scan 16 bytes for vector integer
8709 formats that do not specify 'h' or 'l'.
8710
8711 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
8712
8713 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
8714
8715 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
8716 (_sbrk): Add cast of return value.
8717
8718 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8719
8720 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
8721 (_REENT_L64A_BUF): New macro for accessing area.
8722 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
8723 * libc/stdlib/Makefile.in: Regenerated.
8724 * libc/stdlib/a64l.c: New file.
8725 * libc/stdlib/l64a.c: New file.
8726
8727 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8728
8729 * libc/unix/pread.c: Fix typo for _pread_r.
8730 * libc/unix/pwrite.c: Fix type for _pwrite_r.
8731 * libc/sys/linux/pread64.c: Fix typo for read syscall.
8732 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
8733
8734 2002-05-03 Christopher Faylor <cgf@redhat.com>
8735
8736 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
8737
8738 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
8739
8740 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
8741
8742 2002-05-01 Christopher Faylor <cgf@redhat.com>
8743
8744 * utmp.h: Define more UNIX constants.
8745
8746 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
8747
8748 * Makefile.am: Add support for checking multilibs.
8749
8750 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
8751 (SUBDEFS): Add LIBC_EXTRA_DEF.
8752 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
8753 (LIBC_EXTRA_DEF): Likewise.
8754 (extra_dir): Likewise.
8755 * libc/machine/xscale/machine: New directory.
8756 * libc/machine/xscale/machine/profile.h: New file.
8757
8758 * Makefile.am (site.exp): Remove newlib_cflags. Add
8759 multibuildtop.
8760 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
8761 * testsuite/lib/flags.exp: New file.
8762 * testsuite/lib/newlib.exp: Load flags.exp.
8763 (newlib_target_compile): Remove libgloss directory references.
8764 (newlib_init): Remove newlib_cflags references.
8765
8766 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8767
8768 * testsuite/lib/newlib.exp (newlib_target_compile): Change
8769 method of finding libgloss_target_dir.
8770
8771 * Makefile.am (site.exp): Change host_alias, host_triplet,
8772 target_alias, target_triplet to refer to gcc's host and target
8773 variables (newlib's build and host variables).
8774 * testsuite/lib/newlib.exp (newlib_init): Change build
8775 references to host references, host references to target
8776 references to reflect Makefile.am changes.
8777 (newlib_target_compile): Likewise.
8778 (newlib_finish): Likewise.
8779
8780 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8781
8782 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
8783
8784 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
8785
8786 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
8787 (_system): New function. Ditto.
8788 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
8789 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
8790 targets.
8791
8792 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8793
8794 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
8795 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
8796 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
8797 * libc/sys/linux/Makefile.in: Regenerated.
8798 * libc/unix/Makefile.in: Ditto.
8799 * libc/sys/linux/pread64.c: New file.
8800 * libc/sys/linux/pwrite64.c: Ditto.
8801 * libc/unix/pread.c: Ditto.
8802 * libc/unix/pwrite.c: Ditto.
8803
8804 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8805
8806 * libc/sys/linux/Makefile.am: Add io64.c.
8807 * libc/sys/linux/Makefile.in: Regenerated.
8808 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
8809 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
8810 * libc/sys/linux/io64.c: New file.
8811
8812 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8813
8814 * configure.in (CC_FOR_NEWLIB): New variable that
8815 bases on $(CC) and adds targ-include and libc/include as
8816 -isystem directives if they are not already part of $(CC).
8817 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
8818 $(CC_FOR_NEWLIB).
8819 * configure: Regenerated.
8820 * Makefile.in: Ditto.
8821
8822 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
8823
8824 * libc/sys/linux/Makefile.am: Add support for sched.c.
8825 * libc/sys/linux/Makefile.in: Regenerated.
8826 * libc/sys/linux/sched.c: New file.
8827 * libc/sys/linux/sys/types.h: Add struct timespec.
8828
8829 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
8830
8831 * configure.in (CC_FOR_BUILD): Set to gcc whether
8832 cross-compiling or not.
8833 (CC): Add -isystem's for targ-include and libc/include when they
8834 do not already appear in CC.
8835
8836 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8837
8838 * Makefile.am (check-DEJAGNU): New target.
8839 (site.exp): Likewise.
8840 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
8841 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
8842 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
8843 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
8844 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
8845 * testsuite: New directory.
8846 * testsuite/config: Likewise.
8847 * testsuite/lib: Likewise.
8848 * testsuite/newlib.locale: Likewise.
8849 * testsuite/newlib.string: Likewise.
8850 * testsuite/config/default.exp: New file.
8851 * testsuite/lib/checkoutput.exp: New file.
8852 * testsuite/lib/newlib.exp: New file.
8853 * testsuite/lib/passfail.exp: New file.
8854 * testsuite/newlib.locale/UTF-8.c: New file.
8855 * testsuite/newlib.locale/UTF-8.exp: New file.
8856 * testsuite/newlib.locale/locale.exp: New file.
8857 * testsuite/newlib.string/string.exp: New file.
8858 * testsuite/newlib.string/tstring.c: New file.
8859
8860 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
8861
8862 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
8863 * libc/sys/linux/Makefile.am: Add support for mmap.c.
8864 * libc/sys/linux/Makefile.in: Regenerated.
8865 * libc/sys/linux/mmap.c: New file.
8866 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
8867 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
8868
8869 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8870
8871 * acinclude.m4 (newlib_cflags): Remove include directories that
8872 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
8873
8874 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
8875
8876 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
8877 * libc/machine/xscale/memcmp.c: Ditto.
8878 * libc/machine/xscale/memcpy.c: Ditto.
8879 * libc/machine/xscale/memmove.c: Ditto.
8880 * libc/machine/xscale/memset.c: Ditto.
8881 * libc/machine/xscale/strchr.c: Ditto.
8882 * libc/machine/xscale/strcmp.c: Ditto.
8883 * libc/machine/xscale/strcpy.c: Ditto.
8884 * libc/machine/xscale/strlen.c: Ditto.
8885
8886 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
8887
8888 * libc/include/sys/config.h: Remove include of <limits.h>.
8889 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
8890 define INT_MAX and LONG_MAX. Use them in tests.
8891
8892 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
8893
8894 * configure.host: Add support for powerpc-eabialtivec*.
8895 * libc/include/malloc.h: Add include of <machine/malloc.h>.
8896 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
8897 * libc/include/machine/malloc.h: New file.
8898 * libc/include/machine/stdlib.h: Ditto.
8899 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
8900 * libc/machine/powerpc/Makefile.am: Add conditional objects and
8901 sources based on configuration.
8902 * libc/machine/powerpc/Makefile.in: Regenerated.
8903 * libc/machine/powerpc/configure: Ditto.
8904 * libc/machine/powerpc/configure.in: Add check for
8905 powerpc-eabialtivec* in which case add in additional source files.
8906 * libc/machine/powerpc/setjmp.S: Add altivec support.
8907 * libc/machine/powerpc/vec_calloc.c: New file.
8908 * libc/machine/powerpc/vec_free.c: Ditto.
8909 * libc/machine/powerpc/vec_malloc.c: Ditto.
8910 * libc/machine/powerpc/vec_mallocr.c: Ditto.
8911 * libc/machine/powerpc/vec_realloc.c: Ditto.
8912 * libc/machine/powerpc/machine/malloc.h: Ditto.
8913 * libc/machine/powerpc/machine/stdlib.h: Ditto.
8914 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
8915 with added altivec format specifiers.
8916 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
8917 added altivec format specifiers.
8918
8919 2002-04-19 Joel Sherrill <joel@OARcorp.com>
8920
8921 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
8922 while autoconf is trying to link main(){}.
8923
8924 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8925
8926 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
8927 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
8928
8929 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8930
8931 * libc/time/time.tex: Add tzset info.
8932
8933 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8934
8935 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8936 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8937 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8938 (tzname): Defined for all platforms.
8939 (daylight, timezone): Defined only for CYGWIN.
8940 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8941 environment set up.
8942 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8943 environment variable is set.
8944 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8945 tzset_r.c.
8946 * libc/time/Makefile.in: Regenerated.
8947 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8948 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8949 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8950 * libc/time/local.h: New local header file.
8951 * libc/time/mktime.c (mktime): Add timezone support.
8952 * libc/time/mktm_r.c: New file which is the common engine
8953 for gmtime_r and lcltime_r. This code has timezone support.
8954 * libc/time/strftime.c (strftime): Add %Z timezone support.
8955 * libc/time/tzlock.c: New file containing timezone lock stubs.
8956 * libc/time/tzset.c: New file containing tzset() routine.
8957 * libc/time/tzset_r.c: New file containing _tzset_r and
8958 internal routine for calculating timezone changes for specified year.
8959
8960 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8961
8962 * configure.in (CRT0_DIR): Set to libc/.
8963 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8964 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8965 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8966 $(CRT1_DIR)/$(CRT1).
8967 * libc/machine/xstormy16/Makefile.in: Regenerated.
8968 * libc/machine/xstormy16/aclocal.m4: Regenerated.
8969 * libc/machine/xstormy16/configure: Regenerated.
8970
8971 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
8972
8973 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
8974 fails, don't bail out, and try to correct next time.
8975
8976 * libc/include/sys/config.h: Include limits.h.
8977
8978 2002-04-12 Eric Norum <eric.norum@usask.com>
8979
8980 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
8981 routine to allow autoconf to determine that building executables
8982 for rtems works.
8983 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
8984 (rtems_gxx_mutex_once): Ditto.
8985
8986 2002-04-09 Tom Rix <trix@redhat.com>
8987
8988 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
8989
8990 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8991
8992 * libc/include/time.h: Fix strptime declaration.
8993 * libc/time/Makefile.am: Add strptime.c.
8994 * libc/time/Makefile.in: Regenerated.
8995 * libc/time/strptime.c: New file.
8996
8997 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
8998
8999 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9000 siglongjmp prototype, and sigsetjmp macro definition.
9001 * libc/sys/linux/siglongjmp.c: New file.
9002 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9003 * libc/sys/linux/Makefile.in: Regenerated.
9004
9005 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9006
9007 * Makefile.am: Add support for installing crt1.o if one exists.
9008 * configure.host: Specify crt1.o for linux.
9009 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9010 * Makefile.in: Regenerated.
9011 * configure: Ditto.
9012 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9013 Added for non-Cygwin, non-RTEMS configurations.
9014 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9015 * libc/sys/linux/Makefile.in: Regenerated.
9016 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9017 by gcc. This fixes problem with reconfiguring linux newlib build.
9018 * libc/sys/linux/sysconf.c: New file.
9019
9020 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9021
9022 * configure.host: Add support for machine subdirectory of
9023 sys subdirectory.
9024 * configure.in: Add check for sys machine subdirectory.
9025 * Makefile.am: Ditto.
9026 * configure: Regenerated.
9027 * Makefile.in: Ditto.
9028 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9029 * libc/sys/linux/sys/syscall.h: Ditto.
9030 * libc/sys/linux/sleep.c: New file.
9031 * libc/sys/linux/socket.c: Ditto.
9032 * libc/sys/linux/sockops.h: Ditto.
9033 * libc/sys/linux/stack.c: Ditto.
9034 * libc/sys/linux/usleep.c: Ditto.
9035 * libc/sys/linux/machine/Makefile.am: Ditto.
9036 * libc/sys/linux/machine/Makefile.in: Ditto.
9037 * libc/sys/linux/machine/aclocal.m4: Ditto.
9038 * libc/sys/linux/machine/configure: Ditto.
9039 * libc/sys/linux/machine/configure.in: Ditto.
9040 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9041 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9042 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9043 * libc/sys/linux/machine/i386/configure: Ditto.
9044 * libc/sys/linux/machine/i386/configure.in: Ditto.
9045 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9046 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9047 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9048 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9049 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9050 * libc/sys/linux/sys/select.h: Ditto.
9051 * libc/sys/linux/configure.in: Add support for machine directory.
9052 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9053 * libc/sys/linux/Makefile.in: Regenerated.
9054 * libc/sys/linux/configure: Ditto.
9055 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9056 * libc/sys/linux/inode.c: Ditto.
9057 * libc/sys/linux/linux.c: Ditto.
9058 * libc/sys/linux/process.c: Ditto.
9059 * libc/sys/linux/systat.c: Ditto.
9060 * libc/sys/linux/time.c: Ditto.
9061 * libc/sys/linux/wait.c: Ditto.
9062 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9063 * libc/sys/linux/io.c: Change header plus add readv/writev.
9064 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9065 use __sigsuspend syscall.
9066 * libc/sys/linux/select.c: Change header plus change select to
9067 use _newselect syscall.
9068 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9069 used by glibc header files.
9070 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9071 types.
9072
9073 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9074
9075 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9076 initializing a struct _reent that has been dynamically allocated.
9077 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9078 _REENT_SMALL and does nothing otherwise.
9079 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9080 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9081 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9082 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9083 [_REENT_SMALL](struct _misc_reent): New structure containing
9084 miscellaneous reentrant areas needed by newlib.
9085 [_REENT_SMALL](struct _reent): Add _misc pointer.
9086 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9087 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9088 and _REENT_STRTOK_LAST macros.
9089 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9090 and _REENT_MBLEN_STATE macros.
9091 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9092 and _REENT_MBTOWC_STATE macros.
9093 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9094 and _REENT_WCTOMB_STATE macros.
9095
9096 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9097
9098 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9099
9100 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9101
9102 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9103
9104 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9105
9106 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9107 Store high part of leading bytes too.
9108
9109 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9110
9111 * libm/math/ef_hypot.c: Increase scale factor to 68.
9112
9113 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9114
9115 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9116 error.
9117
9118 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9119
9120 * libc/sys/go32/access.c: Change license to relaxed license
9121 used in identical file throughout newlib/libgloss.
9122
9123 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9124
9125 * libc/sys/arm/access.c: New file.
9126 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9127 * libc/sys/arm/Makefile.in: Regenerate.
9128 * libc/sys/arm/syscalls.c (_stat): New function.
9129
9130 2002-03-11 Michael Meissner <meissner@redhat.com>
9131
9132 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9133 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9134 * libc/machine/mips/Makefile.in: Regenerate.
9135 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9136 * libc/machine/mips/memset.c: Dito.
9137 * libc/machine/mips/strcmp.c: Dito.
9138 * libc/machine/mips/strlen.c: Dito.
9139 * libc/machine/mips/strncmp.c: Dito.
9140
9141 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9142
9143 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9144 object so it works for shared library or statici library.
9145 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9146
9147 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9148 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9149 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9150 (tzname): Defined for all platforms.
9151 (daylight, timezone): Defined only for CYGWIN.
9152 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9153 environment set up.
9154 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9155 environment variable is set.
9156 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9157 tzset_r.c.
9158 * libc/time/Makefile.in: Regenerated.
9159 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9160 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9161 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9162 * libc/time/local.h: New local header file.
9163 * libc/time/mktime.c (mktime): Add timezone support.
9164 * libc/time/mktm_r.c: New file which is the common engine
9165 for gmtime_r and lcltime_r. This code has timezone support.
9166 * libc/time/strftime.c (strftime): Add %Z timezone support.
9167 * libc/time/tzlock.c: New file containing timezone lock stubs.
9168 * libc/time/tzset.c: New file containing tzset() routine.
9169 * libc/time/tzset_r.c: New file containing _tzset_r and
9170 internal routine for calculating timezone changes for specified year.
9171
9172 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9173
9174 * configure.in (CRT0_DIR): Set to libc/.
9175 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9176 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9177 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9178 $(CRT1_DIR)/$(CRT1).
9179 * libc/machine/xstormy16/Makefile.in: Regenerated.
9180 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9181 * libc/machine/xstormy16/configure: Regenerated.
9182
9183 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9184
9185 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9186 fails, don't bail out, and try to correct next time.
9187
9188 * libc/include/sys/config.h: Include limits.h.
9189
9190 2002-04-12 Eric Norum <eric.norum@usask.com>
9191
9192 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9193 routine to allow autoconf to determine that building executables
9194 for rtems works.
9195 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9196 (rtems_gxx_mutex_once): Ditto.
9197
9198 2002-04-09 Tom Rix <trix@redhat.com>
9199
9200 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9201
9202 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9203
9204 * libc/include/time.h: Fix strptime declaration.
9205 * libc/time/Makefile.am: Add strptime.c.
9206 * libc/time/Makefile.in: Regenerated.
9207 * libc/time/strptime.c: New file.
9208
9209 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9210
9211 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9212 siglongjmp prototype, and sigsetjmp macro definition.
9213 * libc/sys/linux/siglongjmp.c: New file.
9214 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9215 * libc/sys/linux/Makefile.in: Regenerated.
9216
9217 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9218
9219 * Makefile.am: Add support for installing crt1.o if one exists.
9220 * configure.host: Specify crt1.o for linux.
9221 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9222 * Makefile.in: Regenerated.
9223 * configure: Ditto.
9224 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9225 Added for non-Cygwin, non-RTEMS configurations.
9226 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9227 * libc/sys/linux/Makefile.in: Regenerated.
9228 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9229 by gcc. This fixes problem with reconfiguring linux newlib build.
9230 * libc/sys/linux/sysconf.c: New file.
9231
9232 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9233
9234 * configure.host: Add support for machine subdirectory of
9235 sys subdirectory.
9236 * configure.in: Add check for sys machine subdirectory.
9237 * Makefile.am: Ditto.
9238 * configure: Regenerated.
9239 * Makefile.in: Ditto.
9240 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9241 * libc/sys/linux/sys/syscall.h: Ditto.
9242 * libc/sys/linux/sleep.c: New file.
9243 * libc/sys/linux/socket.c: Ditto.
9244 * libc/sys/linux/sockops.h: Ditto.
9245 * libc/sys/linux/stack.c: Ditto.
9246 * libc/sys/linux/usleep.c: Ditto.
9247 * libc/sys/linux/machine/Makefile.am: Ditto.
9248 * libc/sys/linux/machine/Makefile.in: Ditto.
9249 * libc/sys/linux/machine/aclocal.m4: Ditto.
9250 * libc/sys/linux/machine/configure: Ditto.
9251 * libc/sys/linux/machine/configure.in: Ditto.
9252 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9253 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9254 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9255 * libc/sys/linux/machine/i386/configure: Ditto.
9256 * libc/sys/linux/machine/i386/configure.in: Ditto.
9257 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9258 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9259 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9260 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9261 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9262 * libc/sys/linux/sys/select.h: Ditto.
9263 * libc/sys/linux/configure.in: Add support for machine directory.
9264 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9265 * libc/sys/linux/Makefile.in: Regenerated.
9266 * libc/sys/linux/configure: Ditto.
9267 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9268 * libc/sys/linux/inode.c: Ditto.
9269 * libc/sys/linux/linux.c: Ditto.
9270 * libc/sys/linux/process.c: Ditto.
9271 * libc/sys/linux/systat.c: Ditto.
9272 * libc/sys/linux/time.c: Ditto.
9273 * libc/sys/linux/wait.c: Ditto.
9274 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9275 * libc/sys/linux/io.c: Change header plus add readv/writev.
9276 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9277 use __sigsuspend syscall.
9278 * libc/sys/linux/select.c: Change header plus change select to
9279 use _newselect syscall.
9280 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9281 used by glibc header files.
9282 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9283 types.
9284
9285 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9286
9287 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9288 initializing a struct _reent that has been dynamically allocated.
9289 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9290 _REENT_SMALL and does nothing otherwise.
9291 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9292 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9293 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9294 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9295 [_REENT_SMALL](struct _misc_reent): New structure containing
9296 miscellaneous reentrant areas needed by newlib.
9297 [_REENT_SMALL](struct _reent): Add _misc pointer.
9298 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9299 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9300 and _REENT_STRTOK_LAST macros.
9301 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9302 and _REENT_MBLEN_STATE macros.
9303 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9304 and _REENT_MBTOWC_STATE macros.
9305 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9306 and _REENT_WCTOMB_STATE macros.
9307
9308 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9309
9310 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9311
9312 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9313
9314 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9315
9316 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9317
9318 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9319 Store high part of leading bytes too.
9320
9321 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9322
9323 * libm/math/ef_hypot.c: Increase scale factor to 68.
9324
9325 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9326
9327 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9328 error.
9329
9330 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9331
9332 * libc/sys/go32/access.c: Change license to relaxed license
9333 used in identical file throughout newlib/libgloss.
9334
9335 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9336
9337 * libc/sys/arm/access.c: New file.
9338 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9339 * libc/sys/arm/Makefile.in: Regenerate.
9340 * libc/sys/arm/syscalls.c (_stat): New function.
9341
9342 2002-03-11 Michael Meissner <meissner@redhat.com>
9343
9344 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9345 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9346 * libc/machine/mips/Makefile.in: Regenerate.
9347 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9348 * libc/machine/mips/memset.c: Dito.
9349 * libc/machine/mips/strcmp.c: Dito.
9350 * libc/machine/mips/strlen.c: Dito.
9351 * libc/machine/mips/strncmp.c: Dito.
9352
9353 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9354
9355 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9356 object so it works for shared library or statici library.
9357 * libc/machine/i386/Makefile.in: Regenerated.
9358
9359 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
9360
9361 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
9362 Add memcpy.S, memset.S and strcpy.S.
9363 * libc/machine/sh/Makefile.in: Regenerate.
9364 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
9365 (SHHI, SHLO): Define.
9366 * libc/machine/sh/memset.S: Add code for SH5.
9367 * libc/machine/sh/memset.S: Likewise.
9368 * libc/machine/sh/strcpy.S: Likewise.
9369
9370 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
9371
9372 * configure.host: Add check for --disable-newlib-io-float
9373 configuration option and add -DNO_FLOATING_POINT to newlib cflags
9374 if appropriate.
9375 * acinclude.m4: Added --disable-newlib-io-float option.
9376 * aclocal.m4: Regenerated.
9377 * configure: Ditto.
9378 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
9379 * libc/*/aclocal.m4 libc/*/configure
9380 * libm/*/aclocal.m4 libm/*/configure: Ditto.
9381 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
9382 if NO_FLOATING_POINT flag is not defined.
9383
9384 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
9385
9386 * libc/include/sys/config.h: Add __extension__ in front of
9387 long long references.
9388
9389 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9390
9391 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
9392 (_stat): Ditto.
9393
9394 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9395
9396 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
9397 of off_t.
9398
9399 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
9400
9401 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
9402 clobbered registers.
9403
9404 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9405
9406 * configure.host (newlib_cflags): When host is in m68* add
9407 -DCOMPACT_CTYPE.
9408
9409 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
9410
9411 * libc/include/sys/config.h: Add definitions for
9412 __int16_t, __uint16_t, __int64_t, and __uint64_t.
9413
9414 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
9415
9416 * libc/sys/mmixware/link.c: New.
9417 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
9418 volatile.
9419 * libc/sys/mmixware/times.c (_times): Renamed from times.
9420 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
9421 properly by reading previous contents, not through BinaryReadWrite.
9422 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
9423 * libc/sys/mmixware/Makefile.in: Regenerate.
9424
9425 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
9426
9427 * libc/include/grp.h: Don't declare group functions when compiling
9428 Cygwin.
9429
9430 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
9431
9432 * libc/include/grp.h: Include Cygwin specific header.
9433 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
9434 when compiling for Cygwin.
9435 * libc/include/sys/types.h: Don't define off_t, uid_t
9436 and gid_t when compiling for Cygwin.
9437
9438 2002-02-08 matthew green <mrg@redhat.com>
9439
9440 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
9441 _REENT_EMERGENCY_SIZE, not sizeof(char *).
9442
9443 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
9444
9445 Contribute sh64-elf.
9446 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9447 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
9448 support in printf.
9449 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
9450 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
9451 any labels.
9452 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
9453 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
9454 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
9455 * libc/machine/sh/configure.in: Rework conditionals.
9456 * libc/machine/sh/Makefile.am: Likewise.
9457 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
9458 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
9459 * configure.host: Match `sh*'.
9460 * libc/include/machine/setjmp.h: Define for SH5.
9461 * libc/machine/sh/configure.in: Detect SH5.
9462 * libc/machine/sh/configure: Rebuilt.
9463 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
9464 * libc/machine/sh/Makefile.in: Rebuilt.
9465 * libc/machine/sh/asm.h: Adjust for SH5.
9466 * libc/machine/sh/setjmp.S: Implement in SHmedia.
9467 * libc/sys/sh/crt0.S: Likewise.
9468 * libc/sys/sh/trap.S: Likewise.
9469
9470 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
9471
9472 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
9473 (mach_add_obj): Conditionally set to setjmp.o or nothing.
9474 (LIB_SOURCES): Remove $(mach_add_src).
9475 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
9476 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
9477 * libc/machine/i386/Makefile.in: Regenerate.
9478
9479 2002-02-05 Manik Raina <manik@cisco.com>
9480
9481 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
9482 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
9483 s, p, k, and outstr.
9484 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
9485
9486 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
9487
9488 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
9489 _REENT_CHECK_EMERGENCY macro.
9490
9491 2002-02-03 matthew green <mrg@redhat.com>
9492
9493 * libc/reent/signgam.c (__signgam): Fix error in previous.
9494
9495 2002-02-02 matthew green <mrg@redhat.com>
9496
9497 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
9498
9499 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
9500 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
9501 * libc/include/sys/reent.h (struct _reent): Completely new version
9502 for _REENT_SMALL.
9503 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
9504 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
9505 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
9506 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
9507 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
9508 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
9509 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
9510 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
9511 (_REENT_EMERGENCY): Likewise.
9512
9513 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
9514 the start of the real __sFILE, used for stdin, stdout and stderr until
9515 they are setup properly.
9516 (struct __sFILE): Move location of _data in _REENT_SMALL case.
9517 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
9518 allocated stdin, stdout and stderr.
9519 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
9520 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
9521 * libc/stdio/perror.c (_perror_r): Likewise.
9522 * libc/stdio/printf.c (printf, _printf_r): Likewise.
9523 * libc/stdio/putchar.c (_putchar_r): Likewise.
9524 * libc/stdio/puts.c (_puts_r): Likewise.
9525 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
9526 * libc/stdio/vprintf.c (vprintf): Likewise.
9527 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
9528
9529 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
9530
9531 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
9532 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
9533 for _REENT_SMALL.
9534 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
9535 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
9536
9537 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
9538 _REENT_SMALL.
9539 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
9540 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
9541 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
9542 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
9543 * libc/stdlib/rand48.c (__dorand48): Likewise.
9544 * libc/stdlib/seed48.c (_seed48_r): Likewise.
9545 * libc/stdlib/srand48.c (_srand48_r): Likewise.
9546 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
9547 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
9548 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
9549 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
9550 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
9551 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
9552 * libc/stdlib/rand.c (rand): Likewise.
9553
9554 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
9555 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
9556
9557 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
9558 _REENT_MP_FREELIST() and _REENT_MP_P5S.
9559 * libc/include/sys/reent.h (struct _mprec): New structure.
9560
9561 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
9562 _unused_strtok_last.
9563 * libc/string/strtok.c (strtok): Use a local static variable.
9564
9565 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
9566 (_REENT_EMERGENCY_SIZE): Likewise.
9567 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
9568 _REENT_ASCTIME_BUF().
9569 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
9570 _REENT_TM().
9571
9572 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
9573 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
9574 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
9575 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
9576 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
9577 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
9578
9579 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
9580
9581 * configure.host (xstormy16): Don't use the generic malloc.
9582 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
9583 * libc/machine/xstormy16/Makefile.in: Regenerate.
9584 * libc/machine/xstormy16/mallocr.c: New file.
9585 * libc/machine/xstormy16/tiny-malloc.c: New file.
9586
9587 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
9588
9589 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
9590 when _CYGWIN_TYPES_H is not defined.
9591
9592 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9593
9594 * libc/include/sys/signal.h: Revert 2002-01-23 change.
9595
9596 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
9597
9598 * libc/include/sys/signal.h: Remove pthread_kill declaration
9599 when __CYGWIN__ is defined.
9600
9601 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9602
9603 * libc/include/time.h: Add prototype for strptime for Cygwin.
9604
9605 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
9606
9607 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
9608 dst was not word aligned.
9609
9610 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
9611 if too much memory is requested.
9612
9613 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
9614
9615 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
9616 reads blanks from the input file to break if EOF reached
9617 rather than end processing.
9618
9619 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
9620
9621 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
9622
9623 2002-01-07 Alan Matsuoka <alanm@redhat.com>
9624
9625 * libc/include/machine/ieeefp.h: Configure d10v doubles to
9626 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
9627 libc/include/sys/config.h: Ditto.
9628
9629 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
9630
9631 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
9632
9633 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
9634 Catherine Moore <clm@redhat.com>
9635 Richard Henderson <rth@redhat.com>
9636 Corinna Vinschen <vinschen@redhat.com>
9637
9638 * configure.host: Add support for xstormy16.
9639 * libc/include/machine/ieeefp.h: Add support for xstormy16.
9640 * libc/include/machine/setjmp.h: Add support for xstormy16.
9641 * libc/include/sys/config.h: Add support for xstormy16.
9642 * libc/machine/xstormy16/Makefile.am: New file.
9643 * libc/machine/xstormy16/Makefile.in: New file.
9644 * libc/machine/xstormy16/aclocal.m4: New file.
9645 * libc/machine/xstormy16/configure: New file.
9646 * libc/machine/xstormy16/configure.in: New file.
9647 * libc/machine/xstormy16/setjmp.S: New file.
9648
9649 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9650
9651 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
9652 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
9653
9654 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
9655
9656 * libm/machine/Makefile.am: Change rules to create correct lib.a.
9657 * libm/machine/Makefile.in: Regenerated through automake.
9658
9659 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9660
9661 * Makefile.am (DOCDIR): Force to empty string when doc
9662 directory is not present.
9663
9664 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9665
9666 * libc/machine/i386/f_*: Move to libm/machine/i386.
9667
9668 2001-12-18 Joel Sherrill <joel@OARcorp.com>
9669
9670 * libm/machine/Makefile.am: Add dummy doc stub so
9671 "make info" works.
9672
9673 2001-12-17 Joel Sherrill <joel@OARcorp.com>
9674
9675 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
9676
9677 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9678
9679 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
9680 $(COMPILE) rather than $(CC).
9681 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
9682 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
9683 $(LIB_COMPILE) change.
9684 (vfiprintf.$(oext)): Likewise.
9685
9686 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
9687
9688 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
9689 conditionalized including of getopt stuff.
9690
9691 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9692
9693 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
9694 compile line.
9695 (vfiprintf.$(oext)): Likewise.
9696
9697 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9698
9699 * Makefile.shared: New file.
9700 * libc/sys/linux/shared.ld: New file.
9701 * libm/machine/*: New files.
9702 * libm/machine/i386/*: New files.
9703 * Makefile.am: Add libtool support. Change math and mathfp
9704 references to variables.
9705 * configure.host: Add variables for libtool support. Add
9706 libm_machine_dir variable.
9707 * configure.in: Add objectlist variables, for libtool
9708 support. Add CC_FOR_BUILD tests.
9709 * libc/Makefile.am: Add libtool support. Change crt0.o
9710 reference to be a variable reference.
9711 * libc/configure.in: Add libtool support. Change sublib
9712 names to be lib${subdir}.la when using libtool.
9713 * libc/ctype/Makefile.am: Add libtool support.
9714 * libc/errno/Makefile.am: Likewise.
9715 * libc/locale/Makefile.am: Likewise.
9716 * libc/machine/Makefile.am: Likewise.
9717 * libc/machine/configure.in: Likewise.
9718 * libc/machine/i386/Makefile.am: Likewise.
9719 * libc/machine/i386/configure.in: Likewise.
9720 * libc/misc/Makefile.am: Likewise.
9721 * libc/posix/Makefile.am: Likewise.
9722 * libc/reent/Makefile.am: Likewise.
9723 * libc/signal/Makefile.am: Likewise.
9724 * libc/stdio/Makefile.am: Likewise.
9725 * libc/stdlib/Makefile.am: Likewise.
9726 * libc/string/Makefile.am: Likewise.
9727 * libc/sys/Makefile.am: Likewise.
9728 * libc/sys/configure.in: Likewise.
9729 * libc/sys/linux/Makefile.am: Add libtool support. Change
9730 awk reference to a variable reference. Change signal.h
9731 reference to a variable reference.
9732 * libc/sys/linux/configure.in: Add libtool support.
9733 * libc/syscalls/Makefile.am: Likewise.
9734 * libc/time/Makefile.am: Likewise.
9735 * libc/unix/Makefile.am: Likewise.
9736 * libm/Makefile.am: Add libtool support. Change math and
9737 mathfp references to variables.
9738 * libm/configure.in: Add libtool support. Add
9739 LIBM_MACHINE_LIB variable.
9740 * libm/common/Makefile.am: Add libtool support.
9741 * libm/math/Makefile.am: Likewise.
9742 * libm/mathfp/Makefile.am: Likewise.
9743 Regenerate all Makefile.in, aclocal.m4, and configure.
9744
9745 2001-12-13 Anita Kulkarni <anitak@kpit.com>
9746
9747 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
9748
9749 2001-12-06 John Peacock <jpeacock@rowman.com>
9750
9751 * libc/include/sys/unistd.h: Correct ualarm declaration.
9752
9753 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
9754
9755 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
9756 vector before calling the initialisation functions.
9757
9758 2001-11-29 Christopher Faylor <cgf@redhat.com>
9759
9760 * libc/include/dirent.h: Protect against multiple inclusion.
9761
9762 2001-11-27 Christopher Faylor <cgf@redhat.com>
9763
9764 * libc/include/sys/types.h: Define useconds_t.
9765 * libc/include/sys/ulimit.h: Declare ualarm.
9766
9767 2001-11-21 Christopher Faylor <cgf@redhat.com>
9768
9769 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
9770
9771 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
9772
9773 * libc/sys/mmixware/*: Tweak license header in all source files.
9774
9775 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
9776
9777 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
9778 to here. Rearrange for general inclusion by stdlib.h.
9779 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
9780 isn't defined.
9781 * libc/sys/linux/include/alloca.h: Move to libc/include.
9782
9783 2001-11-12 Anthony Green <green@redhat.com>
9784
9785 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
9786
9787 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
9788
9789 * libc/sys/mmixware/*: Correct spacing in all source files.
9790 * libc/sys/mmixware/syscall.h: Move misplaced file...
9791 * libc/sys/mmixware/sys/syscall.h: ...here.
9792
9793 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
9794
9795 * libc/include/machine/ieeefp.h: Add support for mmix target.
9796 * libc/include/machine/setjmp.h: Ditto.
9797 * configure.host: Ditto.
9798 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
9799 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
9800 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
9801 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
9802 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
9803 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
9804 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
9805 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
9806 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
9807 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
9808 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
9809 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
9810 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
9811 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
9812 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
9813 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
9814 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
9815 libc/sys/mmixware/aclocal.m4: Generate.
9816
9817 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
9818
9819 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
9820 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
9821 when __CYGWIN__ is defined.
9822 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
9823 logwtmp().
9824
9825 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
9826
9827 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
9828 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
9829 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
9830 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
9831
9832 2001-10-24 Christopher Faylor <cgf@redhat.com>
9833
9834 * libc/stdio/fseek.c: Reset pointer to buffer base
9835 when forced to seek outside of current buffer contents.
9836 This prevents the code from erroneously thinking there is
9837 anything in the current buffer.
9838
9839 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
9840
9841 * libc/include/math.h: The C++ standard adds the single-precision
9842 versions of the elementary functions.
9843
9844 2001-10-22 Christopher Faylor <cgf@redhat.com>
9845
9846 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
9847 throughout.
9848 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
9849 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
9850 * system.c (_system_r): Ditto.
9851
9852 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
9853
9854 * libc/include/sys/unistd.h: Add prototype for fchdir() when
9855 __CYGWIN__ or __rtems__ is defined.
9856
9857 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
9858
9859 * libc/include/stdlib.h: add declarations for
9860 _strtoull_r, _strtoll_r, strtoull, and strtoll.
9861 * libc/stdio/local.h: remove declarations of
9862 __strtoull_r and __strtoll_r.
9863 * libc/stdio/vfscanf.c(__svfscanf_r): call
9864 _strtoull_r instead of __strtoull_r. Ditto
9865 _strtoll_r vs. __strtoll_r.
9866 * libc/stdlib/Makefile.am: add new files to
9867 .c list and .def list
9868 * libc/stdlib/Makefile.in: regenerate
9869 * libc/stdlib/strtoll_r.c: rename __strtoll_r
9870 as _strtoll_r
9871 * libc/stdlib/strtoull_r.c: rename __strtoull_r
9872 as _strtoull_r
9873 * libc/stdlib/strtoull.c: new file
9874 * libc/stdlib/strtoll.c: new file
9875
9876 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
9877
9878 * libc/include/process.h: Add getpid() declaration.
9879
9880 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
9881
9882 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
9883 for new style arm/elf ctor/dtor handling.
9884 Minor formatting tidy up.
9885
9886 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
9887
9888 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
9889 and strtoull_r.c.
9890 * libc/stdlib/Makefile.in: Regenerated.
9891 * libc/stdlib/strtoll_r.c: New file.
9892 * libc/stdlib/strtoull_r.c: New file.
9893 * libc/stdio/local.h: Add prototypes for long long string
9894 conversion routines.
9895 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
9896 tied to %L integer conversion specifier.
9897
9898 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
9899
9900 * strftime.c (strftime): Fix "%W" implementation to properly handle
9901 Mondays too.
9902
9903 2001-09-07 Jeff Law <law@redhat.com>
9904
9905 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
9906 __fini with "mov.l" instead of "mov.w".
9907
9908 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
9909
9910 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
9911 and getopt.h.
9912
9913 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
9914
9915 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
9916
9917 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9918
9919 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
9920 field.
9921 (__DIRENT_VERSION): New define.
9922
9923 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9924
9925 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
9926 Shrink __d_reserved accordingly to keep structure size.
9927 (dirfd): Declare external.
9928
9929 2001-08-29 Joel Sherrill <joel@OARcorp.com>
9930
9931 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
9932
9933 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9934
9935 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
9936 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
9937 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
9938 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
9939 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
9940 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
9941 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
9942 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
9943 Add conditional compilation to avoid HW FPU instructions
9944 when compiled for soft-float.
9945
9946 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9947
9948 * Makefile.am: Add check for ln failing when creating libg.a
9949 so that cp gets used as a backup.
9950 * Makefile.in: Regenerated.
9951
9952 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9953
9954 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
9955 No longer include time.h. Add struct __tm to use for
9956 _localtime_buf in the reentrant structure. Add a
9957 _NULL definition to use in initializing the reentrant struct.
9958 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
9959 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
9960 <sys/_types.h>.
9961 * libc/include/sys/unistd.h: Include <sys/_types.h>.
9962 * libc/time/lcltime.c (localtime): Cast the reentrant struct
9963 _localtime_buf to be struct tm *.
9964
9965 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
9966
9967 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
9968 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
9969 __ctors_end.
9970 * libc/sys/h8300hms/syscalls.c: Include errno.h.
9971 (_unlink): New stub function.
9972
9973 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
9974
9975 * libc/include/sys/errno.h: Add a cautionary comment.
9976
9977 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
9978
9979 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
9980 for SIZE_SZ so that alignment ends up a minimum of 8.
9981
9982 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
9983
9984 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
9985 arguments.
9986
9987 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
9988 Cygwin.
9989
9990 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
9991
9992 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
9993 macro constants for mallopt options.
9994 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
9995
9996 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
9997
9998 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
9999 otherwise default.
10000
10001 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
10002
10003 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
10004
10005 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10006
10007 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10008 Define for little endian ARMs.
10009
10010 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10011 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10012
10013 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10014
10015 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
10016
10017 2001-06-11 Egor Duda <deo@logos-m.ru>
10018
10019 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10020 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10021 initialized memory region. Platform can define COMPACT_CTYPE
10022 to avoid allocation of the additional 128 bytes of data.
10023 Add pointer to _ctype_ array. Always initialize all _ctype_
10024 array elements.
10025
10026 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10027
10028 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10029 NULL pointer.
10030
10031 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10032
10033 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10034
10035 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10036
10037 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10038 matching, non-word alignment, and the length is <= 4 but more than
10039 enough to move them over a word boundary.
10040 Add comments explaining what each instruction does.
10041
10042 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10043
10044 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
10045 * libc/include/sys/unistd.h: Ditto.
10046
10047 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10048
10049 * libc/string/strrchr.c: Use strchr for the speed improvements.
10050
10051 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10052
10053 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10054 real file systems, let __smakebuf() determine if line buffering
10055 should be used for stdout.
10056
10057 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10058
10059 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10060
10061 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10062
10063 * libc/include/stdlib.h: Add prototype for _strtod_r.
10064
10065 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10066
10067 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10068 * libc/stdio/vprintf.c (_vprintf_r): new function
10069 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10070 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10071 _DEFUN, and call _vfprintf_r, not vfprintf.
10072 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10073 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10074 _DEFUN, and call _vfprintf_r, not vfprintf.
10075
10076 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
10077
10078 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10079 Cygwin X_OK definitions in sys/file.h.
10080
10081 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10082
10083 * libc/include/sys/time.h: Define timercmp and other macros for
10084 __CYGWIN__, too.
10085
10086 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10087
10088 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10089 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10090 --enable-malloc-debugging selected.
10091 * aclocal.m4 configure: Regenerated.
10092 libm/aclocal.m4 libm/configure: Ditto.
10093 * libc/aclocal.m4 libc/configure: Ditto.
10094 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10095 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10096 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10097 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10098 * doc/aclocal.m4 doc/configure: Ditto.
10099
10100 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10101
10102 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10103 into one list.
10104 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10105 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10106 function prototypes.
10107 (_fscanf_r, _sscanf_r): Ditto.
10108 * libc/include/stdlib.h: Added _strtod_r prototype.
10109 * libc/stdio/Makefile.am: Add new v*scanf functions.
10110 * libc/stdio/Makefile.in: Regenerate.
10111 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10112 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10113 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10114 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10115 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10116 (_sscanf_r): New routine.
10117 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10118 with __svfscanf_r prototype.
10119 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10120 routines.
10121 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10122 structure as argument as calls reentrant versions of helper functions
10123 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10124 to _strtol_r and _strtod_r respectively.
10125 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10126 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10127 _REENT argument.
10128 * libc/stdio/vscanf.c: New file.
10129 * libc/stdio/vsscanf.c: Ditto.
10130
10131 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
10132
10133 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10134 Define daylight to _daylight if it is not defined
10135 Prepare a variable export of timezone based on timezonevariable.
10136 (Cannot be used with the timezone() function.)
10137
10138 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10139
10140 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10141 Correct the numerical values.
10142
10143 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
10144
10145 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10146
10147 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10148
10149 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10150 on case insensitve file systems.
10151
10152 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
10153
10154 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10155 pthread support.
10156 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10157 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10158 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10159
10160 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
10161
10162 * libc/include/machine/ieeefp.h: Comment about new configuration
10163 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10164 * libm/common/fdlib.h: Define new macros for testing floats.
10165 * libm/common/sf_*: Use them.
10166 * libm/math/ef_*: Likewise.
10167 * libm/math/sf_*: Likewise.
10168
10169 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10170
10171 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10172 prolog to by-pass possible assembler error.
10173
10174 2001-03-21 Egor Duda <deo@logos-m.ru>
10175
10176 Allow building internal stubs for non-reentrant syscalls
10177 if target provides its own malloc
10178 * libc/reent/reent.c (errno): Move definition here.
10179 * libc/reent/sbrkr.c: From here.
10180
10181 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10182
10183 * libc/include/sys/types.h (BSD int typedefs): Guard with
10184 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10185 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10186 _SYS_TYPES_FD_SET.
10187 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10188 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10189
10190 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10191
10192 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10193 _PC_POSIX_SECURITY constants for Cygwin.
10194
10195 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10196
10197 * libc/sys/cygwin/crt0.c: Add copyright hint.
10198 * libc/sys/cygwin/sys/dirent.h: Ditto.
10199 * libc/sys/cygwin/sys/param.h: Ditto.
10200 * libc/sys/cygwin/sys/utime.h: Ditto.
10201 * libc/sys/cygwin/sys/utmp.h: Ditto.
10202
10203 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10204
10205 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10206 equivalent to LONGINT.
10207
10208 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
10209
10210 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10211 jmpbuf on MIPS64 targets.
10212 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
10213
10214 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10215
10216 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
10217 declarations.
10218
10219 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10220
10221 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10222 For RTEMS, define to be ssize_t. Default to int if not defined.
10223 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10224 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10225 * libc/stdio/local.h (__sread, __swrite): Likewise.
10226 * libc/include/sys/reent.h (_read, _write): Likewise.
10227 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10228 * libc/syscalls/sysread.c (read): Likewise.
10229 * libc/syscalls/syswrite.c (write): Likewise.
10230
10231 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10232
10233 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
10234
10235 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10236
10237 * libc/include/sys/stat.h: Use special defines for executable stat bits
10238 when compiling for Cygwin.
10239 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10240 for Cygwin.
10241
10242 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10243
10244 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10245 of strtok_r is always defined.
10246
10247 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10248
10249 * libc/include/machine/ansi.h: New dummy header file.
10250
10251 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10252
10253 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10254 changed the copyright information to allow free modification of the
10255 file with no reference to "copying.dj".
10256 * libc/include/sys/stat-dj.h: Ditto.
10257 * libc/machine/i386/setjmp.S: Ditto.
10258 * libc/sys/h8300hms/sys/file.h: Ditto.
10259 * libc/sys/sysmec/access.c: Ditto.
10260 * libc/sys/sysnecv850/access.c: Ditto.
10261 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10262 * libc/stdlib/getenv_r.c: Ditto.
10263 * libc/stdlib/putenv_r.c: Ditto.
10264 * libc/stdlib/setenv_r.c: Ditto.
10265 * libc/stdlib/getenv.c: Removed DJ reference since any possible
10266 modifications will now be in the _r version of this file.
10267 * libc/stdlib/putenv.c: Ditto.
10268 * libc/stdlib/setenv.c: Ditto.
10269 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
10270 valid. Added a reference to DJ's web page that contains his address.
10271 * libc/sys/go32/*.s: Removed references to DJ's old address.
10272 * libc/sys/go32/*.c: Ditto.
10273 * libc/sys/go32/*.h: Ditto.
10274 * libc/sys/go32/*.S: Ditto.
10275 * libc/sys/go32/sys/*.h: Ditto.
10276
10277 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
10278
10279 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
10280 HAVE_FCNTL flag check.
10281 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
10282 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
10283
10284 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
10285
10286 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
10287
10288 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10289
10290 * libc/include/stdlib.h: Add declarations of rand48 functions and
10291 their reentrant versions.
10292 * libc/include/sys/reent.h: Move macros from rand48.h. Add
10293 struct _rand48 for shared parameters of rand48 functions.
10294 (struct _reent): Add a variable _r48 of struct _rand48.
10295 (_REENT_INIT): Add _r48 initialization.
10296 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10297 (CHEWOUT_FILES): Add rand48.def.
10298 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10299 * libc/stdlib/Makefile.in: Regenerated.
10300 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10301 NetBSD C library.
10302 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10303 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10304 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10305 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10306 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10307 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10308 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10309 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10310 * libc/stdlib/rand48.c (__dorand48): Ditto.
10311 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10312 parameters into macros referring them in the reentrant structure.
10313
10314 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10315
10316 * libc/include/sys/stat.h: Add mknod for Cygwin now that
10317 Cygwin definition has correct prototype.
10318
10319 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10320
10321 * libc/include/sys/stat.h: Must revert change for mknod
10322 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
10323 prototype.
10324
10325 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10326
10327 * libc/include/stdio.h: Revert putw prototype.
10328
10329 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
10330
10331 * libc/include/grp.h: add prototype for initgroups.
10332 * libc/include/stdio.h: fix prototype for putw.
10333 * libc/include/sys/signal.h: add prototype for killpg.
10334 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
10335 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
10336 vhangup and remove duplicate sysconf prototype.
10337
10338 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
10339
10340 * libc/sys/rtems/sys/types.h: Removed.
10341
10342 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
10343
10344 * libc/include/locale.h: add LC_MESSAGES definition
10345
10346 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10347
10348 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
10349 SYS_get_argN):
10350 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
10351 __setup_argv_and_call_main): New.
10352
10353 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
10354
10355 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
10356 if defined.
10357 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
10358 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
10359 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
10360 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
10361
10362 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
10363
10364 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
10365 compiling under Cygwin.
10366
10367 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
10368
10369 * libc/include/math.h (signgam): Change to errno-like solution
10370 using a function to return the address of the real signgam.
10371 * libc/reent/signgam.c: New file containing __signgam().
10372 * libc/reent/Makefile.am: Added signgam.c to list of files.
10373 * libc/reent/Makefile.in: Regenerated.
10374
10375 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
10376
10377 * libc/sys/sh/syscalls.c (_times): New.
10378
10379 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
10380 * libc/sys/sh/syscalls.c (_gettimeofday): New.
10381
10382 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10383
10384 * libc/include/math.h (signgam): Regress previous fix as
10385 it does not handle programs with extern int signgam in them.
10386
10387 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10388
10389 * libc/include/math.h (signgam): Changed to a macro refering to
10390 its location in the reentrant structure.
10391
10392 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10393
10394 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
10395 that suppressed . for %.0f, 0.1. Check now looks if there
10396 are padding zeroes (expt) in addition to any digits (ndig) to
10397 print.
10398
10399 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
10400
10401 * libc/sys/arc/Makefile.am: New file.
10402 * libc/sys/arc/Makefile.in: Ditto.
10403 * libc/sys/arc/aclocal.m4: Ditto.
10404 * libc/sys/arc/configure: Ditto.
10405 * libc/sys/arc/configure.in: Ditto.
10406 * libc/sys/arc/crt0.S: Ditto.
10407 * libc/sys/arc/isatty.c: Ditto.
10408 * libc/sys/arc/mem-layout.c: Ditto.
10409 * libc/sys/arc/sbrk.c: Ditto.
10410 * libc/sys/arc/syscalls.c: Ditto.
10411 * libc/sys/arc/sys/syscall.h: Ditto.
10412
10413 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
10414
10415 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
10416
10417 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
10418
10419 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
10420
10421 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
10422
10423 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
10424
10425 2001-01-09 Nick Clifton <nickc@redhat.com>
10426
10427 * configure.host (v859): Remove unsupported compiler options.
10428
10429 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
10430
10431 * src/newlib/configure.host (*-*-rtems*): add printf long long
10432 support for RTEMS.
10433
10434 2000-12-19 Graham Stott <grahams@redhat.com>
10435
10436 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
10437
10438 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10439
10440 * configure.host: Turn on long double I/O for Cygwin.
10441
10442 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10443
10444 * MAINTAINERS: Removed Ranjith.
10445 * NEWS: Updated for 1.9.0.
10446 * README: Updated.
10447 * acinclude.m4: Updated to release 1.9.0.
10448 * aclocal.m4 configure
10449 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10450 libc/machine/aclocal.m4 libc/machine/configure
10451 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
10452 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
10453 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
10454 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
10455 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
10456 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
10457 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
10458 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
10459 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
10460 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
10461 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
10462 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
10463 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
10464 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
10465 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
10466 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
10467 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
10468 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
10469 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
10470 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
10471 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10472 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10473 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10474 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
10475 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10476 libc/sys/aclocal.m4 libc/sys/configure
10477 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10478 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10479 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10480 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10481 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10482 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10483 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10484 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10485 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
10486 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10487 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10488 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10489 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10490 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10491 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10492 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10493 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10494 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10495 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10496 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10497 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10498 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10499 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10500 libm/aclocal.m4 libm/configure: Regenerated.
10501
10502 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10503
10504 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
10505 when __CYGWIN__ is defined.
10506
10507 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10508
10509 * libc/stdlib/ldtoa.c (_ldcheck): New routine
10510 that categorizes a long double as NaN, Infinity, or other.
10511 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
10512 isinfl and isnanl static routines which were i386-specific. Changed
10513 calls to the two removed routines to a single _ldcheck call.
10514 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
10515
10516 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10517
10518 * Makefile.am: Fixed install-data-local target to use
10519 $(mkinstalldirs) for the installed header files to ensure
10520 the directories exist before copying.
10521 * Makefile.in: Regenerated.
10522
10523 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
10524
10525 * libc/include/sys/unistd.h: Restored Cygwin _SC
10526 constants and moved new constants appropriately
10527 so Cygwin will build.
10528
10529 2000-12-11 Joel Sherrill <joel@OARcorp.com>
10530
10531 * Merge RTEMS specific .h files into main libc/include.
10532 * libc/sys/rtems/include/signal.h: Removed.
10533 * libc/sys/rtems/include/time.h: Removed.
10534 * libc/sys/rtems/sys/features.h: Removed.
10535 * libc/sys/rtems/sys/sched.h: Removed.
10536 * libc/sys/rtems/sys/siginfo.h: Removed.
10537 * libc/sys/rtems/sys/signal.h: Removed.
10538 * libc/sys/rtems/sys/time.h: Removed.
10539 * libc/sys/rtems/sys/times.h: Removed.
10540 definitions for time_t and clock_t since these are
10541 no longer in time.h.
10542 * libc/include/pthread.h: New file.
10543 * libc/include/sys/sched.h: New file.
10544 * libc/include/sys/features.h: New file.
10545 * libc/include/time.h: Removed duplicate definition of clock_t
10546 and time_t, get them from <sys/types.h> instead. Add prototypes
10547 for POSIX clock and timer functionality.
10548 * libc/sys/linux/sys/types.h: Changed to include
10549 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
10550 * libc/include/sys/signal.h: Add more complete set of POSIX
10551 signal functionality including real-time and threaded signals.
10552 * libc/include/sys/types.h: Add clock_t, time_t, struct
10553 timespec, and struct itimerspec. Centralizing these makes
10554 things cleaner. RTEMS uses 64-bit dev_t.
10555 Added numerous primitive definitions
10556 for pthreads including macros, pthread_attr_t,
10557 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
10558 pthread_once_t, and pthread_t.
10559 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
10560 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
10561 Feature flags removed and moved to new file <sys/features.h>.
10562 Full set of POSIX sysconf() constants
10563
10564 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
10565
10566 * configure.host: Added x86 linux target.
10567 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
10568 definitions provided if not already defined.
10569 * libc/sys/linux/crt0.c: New file.
10570 * libc/sys/linux/Makefile.am: Ditto.
10571 * libc/sys/linux/Makefile.in: Ditto.
10572 * libc/sys/linux/aclocal.m4: Ditto.
10573 * libc/sys/linux/brk.c: Ditto.
10574 * libc/sys/linux/configure: Ditto.
10575 * libc/sys/linux/configure.in: Ditto.
10576 * libc/sys/linux/getoptlong.c: Ditto.
10577 * libc/sys/linux/ids.c: Ditto.
10578 * libc/sys/linux/inode.c: Ditto.
10579 * libc/sys/linux/io.c: Ditto.
10580 * libc/sys/linux/linux.c: Ditto.
10581 * libc/sys/linux/process.c: Ditto.
10582 * libc/sys/linux/realpath.c: Ditto.
10583 * libc/sys/linux/select.c: Ditto.
10584 * libc/sys/linux/signal.c: Ditto.
10585 * libc/sys/linux/systat.c: Ditto.
10586 * libc/sys/linux/termios.c: Ditto.
10587 * libc/sys/linux/time.c: Ditto.
10588 * libc/sys/linux/wait.c: Ditto.
10589 * libc/sys/linux/include/alloca.h: Ditto.
10590 * libc/sys/linux/include/getopt.h: Ditto.
10591 * libc/sys/linux/include/stdint.h: Ditto.
10592 * libc/sys/linux/include/unistd.h: Ditto.
10593 * libc/sys/linux/sys/cdefs.h: Ditto.
10594 * libc/sys/linux/sys/dirent.h: Ditto.
10595 * libc/sys/linux/sys/errno.h: Ditto.
10596 * libc/sys/linux/sys/fcntl.h: Ditto.
10597 * libc/sys/linux/sys/file.h: Ditto.
10598 * libc/sys/linux/sys/ioctl.h: Ditto.
10599 * libc/sys/linux/sys/resource.h: Ditto.
10600 * libc/sys/linux/sys/signal.h: Ditto.
10601 * libc/sys/linux/sys/stat.h: Ditto.
10602 * libc/sys/linux/sys/syscall.h: Ditto.
10603 * libc/sys/linux/sys/termios.h: Ditto.
10604 * libc/sys/linux/sys/time.h: Ditto.
10605 * libc/sys/linux/sys/types.h: Ditto.
10606 * libc/sys/linux/sys/utmp.h: Ditto.
10607 * libc/sys/linux/sys/utsname.h: Ditto.
10608 * libc/sys/linux/sys/wait.h: Ditto.
10609
10610 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10611
10612 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
10613 can be a relative path to $(top_srcdir)/install.sh so ensure the
10614 autoconf detected settings are properly passed recursively.
10615 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
10616 properly to subdirectories.
10617 * Makefile.in: Regenerated.
10618
10619 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
10620
10621 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
10622 a floating point register unless really printing a floating
10623 point number.
10624
10625 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
10626
10627 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
10628 Also removed \r's.
10629 (asctoeg): Replaced alloca call with stack array and malloc
10630 when storage exceeds reasonable limit.
10631 (e53toe): Fixed einfin calls missing ldp parameter.
10632 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
10633
10634 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10635
10636
10637 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
10638
10639 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10640
10641 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
10642 * libc/stdlib/Makefile.in: Regenerated.
10643 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
10644 * libc/stdio/vfieeefp.h: Added long double bit structures.
10645 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
10646 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
10647 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
10648 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
10649 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
10650 _strtold routines used for conversions between character
10651 and long double.
10652
10653 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10654
10655 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
10656
10657 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10658
10659 * libc/include/machine/time.h: RTEMS systems can configure clock
10660 tick rate so use sysconf() to ask.
10661
10662 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10663
10664 * libc/include/sys/times.h: Add reference to POSIX standard.
10665
10666 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10667
10668 * libc/include/sys/time.h: Added BSD timer manipulation macros
10669 used by RTEMS code.
10670
10671 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10672
10673 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
10674 referenced by code generated by gcc 2.8.1.
10675 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
10676 satisfy gcc.
10677
10678 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10679
10680 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
10681
10682 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10683
10684 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
10685
10686 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10687
10688 * configure.host (or16, or32): New entries for OpenCores
10689 OpenRisc CPUs.
10690 (*-*-rtems*): Add -DNO_EXEC.
10691
10692 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
10693
10694 * libc/include/sys/errno.h: Added comments on many error numbers.
10695 * libc/string/strerror.c: Added some more strings.
10696
10697 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
10698
10699 * libc/sys/sh/syscalls.c (_link): New stub.
10700
10701 2000-11-29 Nick Clifton <nickc@redhat.com>
10702
10703 * configure.host: Add xscale target.
10704 * libc/machine/xscale: New directory.
10705 * libc/machine/xscale/Makefile.am: New file.
10706 * libc/machine/xscale/Makefile.in: New file.
10707 * libc/machine/xscale/aclocal.m4: New file.
10708 * libc/machine/xscale/configure: New file.
10709 * libc/machine/xscale/configure.in: New file.
10710 * libc/machine/xscale/memchr.S: New file.
10711 * libc/machine/xscale/memcmp.S: New file.
10712 * libc/machine/xscale/memcpy.S: New file.
10713 * libc/machine/xscale/memmove.S: New file.
10714 * libc/machine/xscale/memset.S: New file.
10715 * libc/machine/xscale/strchr.S: New file.
10716 * libc/machine/xscale/strcmp.S: New file.
10717 * libc/machine/xscale/strcpy.S: New file.
10718 * libc/machine/xscale/strlen.S: New file.
10719
10720 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10721
10722 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
10723 avoid compiler warnings.
10724
10725 2000-11-22 Michael Meissner <meissner@redhat.com>
10726
10727 * libc/posix/execl.c (execl): Don't reference environ directly,
10728 reference it only via a static pointer to avoid problems with some
10729 shared library systems and with different uses of small data where
10730 the user specifies his own version of environ.
10731 * libc/posix/execv.c (execv): Ditto.
10732 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
10733 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
10734 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
10735
10736 * libc/stdlib/getenv.c (environ): Delete unused reference to
10737 environ.
10738
10739 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
10740 colorization.
10741 * libc/stdlib/system.c: Ditto.
10742
10743 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
10744
10745 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
10746 including windows headers.
10747
10748 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
10749
10750 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
10751 * libc/include/dirent.h: Added definition of MAXNAMLEN if
10752 not defined by sys/dirent.h.
10753 * libc/posix/execvp.c: Added include of dirent.h to get
10754 MAXNAMLEN value which used to be in unistd.h.
10755
10756 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10757
10758 * libc/include/sys/types.h: Change type of i to `size_t' in
10759 FD_ZERO macro to avoid compiler warnings.
10760
10761 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
10762
10763 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
10764 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
10765
10766 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10767
10768 * libc/include/sys/unistd.h: Add defines for sysconf values
10769 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
10770 _SC_AVPHYS_PAGES.
10771
10772 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
10773
10774 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
10775 declarations for __CYGWIN__.
10776
10777 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
10778
10779 * libc/signal/signal.c (__sigtramp_r): ISO C requires
10780 case labels to be integral constant expressions, so
10781 use an if/else tree instead.
10782 (_raise_r): Likewise.
10783
10784 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
10785
10786 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
10787 clipping patch from e-mail reader.
10788
10789 2000-09-13 Will Cohen <wcohen@redhat.com>
10790
10791 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
10792 Added return value 0.
10793 (_longjmp): Allow longjmp to return value of second argument
10794 passed to it.
10795
10796 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
10797
10798 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
10799 inline code to prevent having to include another header file.
10800
10801 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
10802
10803 * Makefile.am: Fix space vs. tab problem in install-data-local.
10804 * Makefile.in: Regenerate.
10805
10806 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
10807
10808 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
10809 (_EXPARM): New macro for defining a function parameter.
10810 * libc/include/stdlib.h: Use _EXPARM.
10811 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
10812
10813 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
10814
10815 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
10816 required, as documented in the gnu coding standards.
10817 * Makefile.in: Regenerate.
10818
10819 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
10820
10821 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
10822 make O_NDELAY and O_NONBLOCK have the same value.
10823
10824 2000-08-30 Kazu Hirata <kazu@hxi.com>
10825
10826 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
10827
10828 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
10829
10830 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
10831 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
10832 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
10833 everywhere else.
10834
10835 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
10836
10837 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
10838 * libc/include/string.h: Don't include <sys/types.h>,
10839 as it causes really bad namespace pollution. Don't declare
10840 swab(), it is properly declared in unistd.h.
10841
10842 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
10843
10844 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
10845 (broken) support for non-existent /etc/passwd field "comment".
10846
10847 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10848
10849 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
10850 only if _DIRENT_HAVE_D_NAMLEN is defined.
10851 (alphasort): aligned prototype with
10852 libc/sys/cygwin/sys/dirent.h and simplified function body.
10853 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
10854 long telldir (DIR *) as mentioned in annex B of POSIX.1
10855
10856 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10857
10858 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
10859 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
10860 Added __CLI and __STI macros (controlled via
10861 _I386MACH_ALLOW_HW_INTERRUPTS macro).
10862 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
10863 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
10864 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
10865 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
10866 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
10867 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
10868 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
10869 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
10870 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
10871 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
10872 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
10873 for all global entry points.
10874 * libc/machine/i386/setjmp.S: removed code replicated in
10875 libc/machine/i386/i386mach.h and included i386mach.h instead;
10876 Use __CLI and __STI instead of cli and sti.
10877
10878 2000-08-25 DJ Delorie <dj@redhat.com>
10879
10880 * libc/include/sys/unistd.h (environ): this one isn't from the
10881 DLL, no __IMPORT
10882
10883 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
10884
10885 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
10886 environ when compiling under cygwin since it is already declared in
10887 unistd.h.
10888
10889 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10890
10891 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
10892 like x << y-z to the equivalent x << (y-z).
10893 (d2b): changed if statements with assignment to perform the
10894 assignment prior to the if check.
10895 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
10896 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
10897 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
10898 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
10899 precedence.
10900 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
10901 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
10902 execve.c).
10903 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
10904 precedence.
10905 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
10906 clarify && and || precendence (and to remove pascalism).
10907 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
10908 * libm/math/s_infconst.c: added another pair of braces to all
10909 initializers for __infinity (need three: for __infinity[1] array,
10910 for union __dmath, and for i[2]).
10911
10912 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10913
10914 * libc/stdlib/abort.c: changed description: uses "raise" instead of
10915 "getpid" and "kill"; added: uses "write" and "_exit".
10916 Also included unistd.h for "_exit" prototype.
10917 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
10918 reent.h for "_fork_r" and "_wait_r" prototypes.
10919 (do_system): changed extern char *environ[] to POSIX-friendly
10920 extern char **environ.
10921 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
10922 prototypes.
10923 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
10924 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
10925 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
10926 * libc/reent/openr.c: included fcntl.h for "open" prototype.
10927 * libc/reent/signalr.c: included signal.h for "kill" prototype,
10928 unistd.h for "getpid" prototype.
10929 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
10930 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
10931 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
10932 prototype. Also included stdlib.h for "abort", string.h for
10933 "strdup" and "strncmp" prototypes.
10934 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
10935 "strncpy", unistd.h for "read" and "close" prototypes.
10936 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
10937 "strcat" prototypes.
10938
10939 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
10940
10941 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
10942 used later (ifdef __SCLE)
10943 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
10944 used later (ifdef MB_CAPABLE)
10945 * libc/string/memset.c (memset): removed unused variables "count"
10946 and "unaligned_addr"
10947 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
10948 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
10949 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
10950 and "gid"
10951
10952 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10953
10954 * libc/stdlib/envlock.c: changed documented "__env_lock" and
10955 "__env_unlock" prototype from "void *" or "char *" to
10956 "struct _reent *" to match real function. Also added include
10957 of envlock.h.
10958 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
10959 "__malloc_unlock" prototype from "void *" or "char *" to
10960 "struct _reent *" to match real function.
10961 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
10962 prototypes (for getenv_r.c and setenv_r.c).
10963
10964 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
10965
10966 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
10967 and prototype in cygwin's utmp.h
10968
10969 2000-08-16 Eric Fifer <efifer@sanwaint.com>
10970
10971 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
10972
10973 2000-08-09 Nick Clifton <nickc@cygnus.com>
10974
10975 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
10976 epilogue and to allow the functions to be used in a Thumb based
10977 toolchain.
10978
10979 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
10980
10981 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
10982 so size of 0 results in nothing being written to string.
10983 Also fixed code so that when size is non-zero, there is only
10984 a maximum of size - 1 characters written to the array and
10985 a nul terminator is appended at the end.
10986 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
10987
10988 2000-08-01 DJ Delorie <dj@redhat.com>
10989
10990 * libc/include/sys/config.h: define __IMPORT appropriately
10991 * libc/include/ctype.h (_ctype_): use __IMPORT
10992 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
10993 * libc/include/math.h (__mb_cur_max): ditto
10994 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
10995 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
10996 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
10997 * libc/include/unistd.h (environ): ditto
10998
10999 2000-07-28 Michael Meissner <meissner@redhat.com>
11000
11001 * libc/include/math.h (__infinity): Declare as an array without
11002 bounds to get around small data support. Rewrite Cygwin support
11003 to be more general.
11004 * libm/math/s_infconst.c (__infinity): Ditto.
11005 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11006
11007 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11008
11009 * libc/include/math.h: Use appropriate dll import linkage for
11010 __infinity under Cygwin.
11011
11012 2000-07-13 DJ Delorie <dj@cygnus.com>
11013
11014 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11015
11016 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11017
11018 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11019 to argument list for AngelSWI_Reason_GetCmdLine.
11020
11021 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11022
11023 * configure.host: Add support for AVR target.
11024 * libc/include/machine/ieeefp.h: Likewise.
11025 * libc/include/sys/config.h: Likewise.
11026
11027 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11028
11029 * README: Newlib 1.8.2 must be built in a separate directory
11030 than the sources.
11031
11032 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11033
11034 * libc/include/sys/reent.h (_rand_next): Added __extension__
11035 qualifier as long long type is not strict ANSI.
11036 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11037 to long long constant.
11038
11039 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11040
11041 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11042 `setegid' provided by Cygwin.
11043
11044 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11045
11046 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11047 account for Cygwin.
11048
11049 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11050
11051 * libc/include/sys/reent.h (_rand_next): Changed to
11052 unsigned long long and moved to end of _reent struct in _new union.
11053 (_REENT_INIT): Changed to move _rand_next initialization.
11054 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11055 linear congruential algorithm that is used by DJGPP.
11056
11057 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11058
11059 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11060 * libc/include/sys/config.h: Define __RAND_MAX.
11061
11062 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11063
11064 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11065 standard.
11066
11067 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11068
11069 * libc/include/string.h: Work around problem with strsignal and gdb.
11070
11071 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11072
11073 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11074 * libc/include/malloc.h: Ditto.
11075 * libc/include/process.h: Ditto.
11076 * libc/include/stdio.h: Ditto.
11077 * libc/include/stdlib.h: Ditto.
11078 * libc/include/time.h: Ditto.
11079 * libc/include/machine/setjmp.h: Ditto.
11080 * libc/include/sys/errno.h: Ditto.
11081 * libc/include/sys/signal.h: Ditto.
11082 * libc/include/sys/stat.h: Ditto.
11083 * libc/include/sys/time.h: Ditto.
11084 * libc/include/sys/unistd.h: Ditto.
11085 * libc/include/string.h: Ditto. strsignal should return a const char *.
11086
11087 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11088
11089 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11090 * libm/common/s_log1p.c (log1p): Likewise.
11091 * libm/common/s_scalbn.c (scalbn): Likewise.
11092 * libm/math/e_log.c: Likewise.
11093 * libm/math/e_asin.c: Likewise.
11094 * libm/math/ef_asin.c: Likewise.
11095 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11096 * libm/math/e_j1.c (pone, qone): Likewise.
11097 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11098 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11099 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11100 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11101 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11102 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11103
11104 2000-05-19 DJ Delorie <dj@cygnus.com>
11105
11106 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11107 (__sread): always read in binary mode
11108 (__swrite): always write in binary mode
11109 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11110 compatibility issues with different dll versions
11111 * libc/stdio/fopen.c: use __stextmode
11112 * libc/stdio/fdopen.c: ditto
11113 * libc/stdio/freopen.c: ditto
11114 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11115 * libc/stdio/local.h: declare __stextmode
11116
11117 2000-05-18 DJ Delorie <dj@cygnus.com>
11118
11119 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
11120
11121 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11122
11123 * libc/include/ctype.h: Changed tolower and toupper macros
11124 to use __extension__ to prevent pedantic warnings.
11125
11126 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11127
11128 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11129 structures.
11130
11131 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11132
11133 * libc/include/machine/ieeefp.h: Add ia64 support.
11134 * configure.host: Likewise.
11135
11136 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11137
11138 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11139 month is now padded with space, not zero. This now conforms to
11140 ANSI standard.
11141
11142 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11143
11144 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11145 host or network path") used by cygwin. Add some comments.
11146
11147 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11148
11149 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11150 endings" for Cygwin.
11151 (__sgetc): convert line endings if needed
11152 (__sputc): ditto
11153 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11154 * libc/stdio/fopen.c (_fopen_r): ditto
11155 * libc/stdio/freopen.c (freopen): ditto
11156 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11157 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11158
11159 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11160
11161 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11162 post-increment when it is worth it, spacewise.
11163
11164 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11165
11166 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11167 * libc/stdio/findfp.c (std): Added declaration of flags and file.
11168 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
11169 return type.
11170 * libc/stdio/putchar.c (putchar): Added return statement.
11171 * libc/stdio/refill.c (lflush): Added correct parentheses.
11172 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
11173 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
11174 prints long value to use l qualifier.
11175 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11176 messages and initialized local values: ilim, ilim1, and spec_case.
11177 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11178 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11179 * libc/stdlib/mprec.c: Ditto.
11180 * libc/stdlib/setenv_r.c: Ditto.
11181 * libc/stdlib/strtod.c: Ditto.
11182 * libc/stdlib/strtol.c: Ditto.
11183 * libc/stdlib/strtoul.c: Ditto.
11184 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11185 * libm/common/sf_log1p.c: Ditto.
11186 * libm/common/sf_scalbn.c: Ditto.
11187 * libm/math/ef_log.c: Ditto.
11188
11189 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11190
11191 * libc/posix/execvp.c (execvp): Check path for
11192 trailing slash.
11193
11194 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11195
11196 * libc/include/sys/unistd.h: Add prototypes for
11197 fchmod, fchown, lchown.
11198
11199 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11200
11201 * acinclude.m4: Changed release to 1.8.2.
11202 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11203 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11204 libc/machine/configure libc/machine/a29k/aclocal.m4
11205 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11206 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11207 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11208 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11209 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11210 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11211 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11212 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11213 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11214 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11215 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11216 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11217 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11218 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11219 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11220 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11221 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11222 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11223 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11224 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11225 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11226 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11227 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11228 libc/machine/z8k/configure libc/sys/aclocal.m4
11229 libc/sys/aclocal.m4 libc/sys/configure
11230 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11231 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11232 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11233 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11234 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11235 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11236 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11237 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11238 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11239 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11240 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11241 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11242 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11243 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11244 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11245 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11246 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11247 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11248 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11249 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11250 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11251 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11252 libm/aclocal.m4 libm/configure: Regenerated.
11253
11254 2000-03-24 Nick Clifton <nickc@cygnus.com>
11255
11256 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11257 (do_AngelSWI): Add "cc" to list o registers clobbered.
11258
11259 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11260
11261 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
11262 information to be clobbered by an Angel C library support syscall.
11263
11264 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11265
11266 * libc/stdlib/envlock.c: Fixed comment typo.
11267
11268 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11269
11270 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
11271 code to update nread as each character is processed instead
11272 of using buffer contents which throw away leading zeroes.
11273
11274 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
11275
11276 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
11277
11278 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
11279
11280 * libc/include/string.h: Include <sys/types.h>.
11281
11282 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11283
11284 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
11285 with XSH5, not SVID.
11286
11287 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11288
11289 * libc/include/string.h: Changed last argument back to ssize_t
11290 to make it compatible with XPG4 definition which is
11291 defined in <unistd.h>. There is a conflict in the SVID 3
11292 and XPG4 definitions and newlib will settle with XPG4.
11293 * libc/string/swab.c: Ditto.
11294
11295 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11296
11297 * libc/include/string.h: Changed last argument to size_t.
11298 * libc/string/swab.c: Changed last argument to size_t.
11299
11300 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11301
11302 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11303 (CHEWOUT_FILES): Added unlinkr.def.
11304 * libc/reent/Makefile.in: Rebuilt.
11305 * libc/sys.tex: Include unlinkr.def.
11306 * libc/reent/linkr.c (_unlink_r): Moved to...
11307 * libc/reent/unlinkr.c: ... new file.
11308
11309 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11310
11311 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11312 (CHEWOUT_FILES): Added swab.def.
11313 * libc/string/Makefile.in: Rebuilt.
11314 * libc/string/string.tex: Include swab.def.
11315 * libc/include/string.h (swab): Declare.
11316 * libc/string/swab.c: New file.
11317
11318 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11319
11320 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
11321 (CHEWOUT_FILES): Added getw.def and putw.def.
11322 * libc/stdio/Makefile.in: Rebuilt.
11323 * libc/stdio/stdio.tex: Include getw.def and putw.def.
11324 * libc/stdio/getw.c: New file.
11325 * libc/stdio/putw.c: New file.
11326
11327 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11328
11329 * libc/stdio/flags.c (__sflags): Added check that mode[1]
11330 is non-null before looking at mode[2].
11331
11332 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11333
11334 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
11335 * libm/mathfp/sf_atan.c: Ditto.
11336
11337 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
11338
11339 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
11340
11341 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11342
11343 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
11344 _DOUBLE_IS_32BITS.
11345
11346 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11347
11348 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
11349 call prior to calling _VFPRINTF_R so reentrant data area is set.
11350 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
11351
11352 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11353
11354 * libc/stdio/vfscanf.c (limits.h): #include.
11355 (MAX_LONG_LEN): #define.
11356 (__svfscanf): Handle floating point numbers with arbitrary amounts
11357 of leading zeroes.
11358
11359 2000-02-15 Nick Clifton <nickc@cygnus.com>
11360
11361 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
11362 zero. Set the blocksize to 1024/
11363
11364 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11365
11366 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
11367 with line buffering.
11368
11369 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11370
11371 * acinclude.m4: Changed include directory for winsup headers.
11372 * aclocal.m4 configure libc/aclocal.m4
11373 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
11374 libc/locale/Makefile.in libc/machine/aclocal.m4
11375 libc/machine/configure libc/machine/a29k/aclocal.m4
11376 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11377 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11378 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11379 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11380 libc/machine/fr30/configure
11381 libc/machine/h8300/aclocal.m4
11382 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11383 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11384 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11385 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11386 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11387 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11388 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11389 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11390 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11391 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11392 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11393 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11394 libc/machine/powerpc/configure
11395 libc/machine/sh/aclocal.m4
11396 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11397 libc/machine/sparc/configure
11398 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11399 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11400 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11401 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11402 libc/misc/Makefile.in libc/posix/Makefile.in
11403 libc/reent/Makefile.in
11404 libc/signal/Makefile.in
11405 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
11406 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11407 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
11408 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
11409 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
11410 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11411 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11412 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11413 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11414 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11415 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11416 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11417 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11418 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
11419 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
11420 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
11421 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
11422 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
11423 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
11424 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
11425 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
11426 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
11427 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
11428 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
11429 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
11430 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
11431 libm/configure: Regenerated.
11432
11433 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
11434
11435 * libc/stdlib/putenv_r.c (_putenv_r): New file.
11436 * libc/stdlib/strdup_r.c (_strdup_r): New file.
11437 * libc/include/string.h: Added _strdup_r.
11438 * libc/stdlib/putenv.c: Added call to reentrant version.
11439 * libc/stdlib/strdup.c: Ditto.
11440 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
11441 * libc/include/stdlib.h: Ditto.
11442 * libc/stdlib/Makefile.in: Regenerated.
11443 * libc/string/Makefile.in: Regenerated.
11444 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
11445 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
11446 management calls to reentrant versions.
11447 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
11448 * libc/stdlib/wctomb.c: Ditto.
11449 * libc/stdlib/mblen.c: Ditto.
11450 * libc/stdlib/mbstowcs.c: Ditto.
11451 * libc/stdlib/mbtowc.c: Ditto.
11452 * libc/stdlib/getenv.c: Ditto.
11453 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
11454 and _strdup_r.
11455
11456 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
11457
11458 patch from Corinna Vinschen <corinna@vinschen.de>
11459 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
11460
11461 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
11462
11463 * libm/mathfp/s_atangent.c: Fix exponent calculation.
11464 * libm/mathfp/s_ldexp.c: Ditto.
11465 * libm/mathfp/sf_atangent.c: Ditto.
11466 * libm/mathfp/sf_ldexp.c: Ditto.
11467
11468 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11469
11470 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
11471 * libc/include/locale.h: define NULL to be 0.
11472
11473 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
11474
11475 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
11476 function.
11477
11478 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
11479
11480 * libc/machine/mn10300/setjmp.S: Handle am33.
11481
11482 1999-11-26 Nick Clifton <nickc@cygnus.com>
11483
11484 * libc/sys/arm/syscalls.c: Add function prototypes.
11485 (stack_ptr): Move declaration before function definitions.
11486
11487 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11488
11489 * NEWS: Updated version information.
11490 * README: Ditto.
11491
11492 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
11493
11494 * libc/machine/i386/strchr.S: Fixed alignment test.
11495
11496 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
11497
11498 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
11499
11500 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
11501
11502 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
11503 ensuring that there is space between the two.
11504
11505 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
11506
11507 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
11508 only.
11509
11510 1999-10-08 Vadim Egorov <egorovv@1c.ru>
11511
11512 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
11513 section
11514
11515 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11516
11517 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
11518 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
11519
11520 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
11521 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
11522 per POSIX 1003.1b.
11523 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
11524 per POSIX 1003.1b.
11525
11526 1999-09-13 DJ Delorie <dj@cygnus.com>
11527
11528 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
11529 also.
11530
11531 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11532
11533 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
11534 also note BUFSIZ as its size.
11535
11536 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
11537
11538 * configure.host: Corrected feature defines for RTEMS.
11539 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
11540 * libc/include/sys/stat.h: mkfifo() should take const path arg.
11541 * libc/include/sys/unistd.h: pathconf() should take const path arg.
11542 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
11543 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
11544 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
11545 _PC_PRIO_IO, and _PC_SYNC_IO.
11546 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
11547 * libc/machine/m68k/Makefile.in: Regenerated.
11548 * libc/machine/m68k/strcpy.c: New file.
11549 * libc/machine/m68k/strlen.c: New file.
11550 * libc/stdio/tmpnam.c: Always make the returned name usable.
11551 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
11552 * libc/sys/rtems/sys/dirent.h: New file.
11553 * libc/sys/rtems/sys/types.h: Added dev_t.
11554
11555 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
11556
11557 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
11558
11559 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
11560
11561 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
11562 my patch.
11563
11564 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
11565
11566 patch from Jeff Johnston <jjohnstn@cygnus.com>
11567 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
11568 buffer is not in a useful state.
11569
11570 1999-09-01 Nick Clifton <nickc@cygnus.com>
11571
11572 * libc/sys/arm/syscalls.c (_link): Add stub.
11573
11574 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11575
11576 * ftell.c (ftell): Use actual position within buffer for text mode.
11577 * findfp.c (std): Initialize ptr->_bf._size.
11578
11579 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
11580
11581 * libc/include/sys/unistd.h: Add nice() declaration.
11582
11583 1999-08-09 Nick Clifton <nickc@cygnus.com>
11584
11585 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
11586 declare as a thumb function so that the disassembler will see the
11587 mode change.
11588
11589 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11590
11591 * libc/reent/reent.tex: Updated list of reentrant functions.
11592
11593 1999-07-09 Michael Meissner <meissner@cygnus.com>
11594
11595 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
11596
11597 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
11598
11599 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
11600 separate file.
11601 * libc/stdio/snprintf.c: New file.
11602 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
11603 separate file.
11604 * libc/stdio/vsnprintf.c: New file.
11605 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
11606 * libc/stdio/Makefile.in: Regenerated.
11607
11608 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
11609
11610 Patch submitted by Egor Duda <deo@logos-m.ru>:
11611 * libc/include/stdio.h: Add declarations for *nprintf.
11612 * libc/stdio/sprintf.c (snprintf): New function.
11613 (_snprintf_r): New function.
11614 * libc/stdio/vsprintf.c (vsnprintf): New function.
11615 (_vnsprintf_r): New function.
11616
11617 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11618
11619 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
11620 * libm/Makefile.am (stmp-targetdep): Ditto.
11621 * libc/Makefile.in: Regenerated.
11622 * libm/Makefile.in: Ditto.
11623
11624 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11625
11626 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
11627 * libm/Makefile.am (stmp-targetdep): Ditto.
11628 * libc/Makefile.in: Regenerated.
11629 * libm/Makefile.in: Ditto.
11630
11631 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11632
11633 * Makefile.am: Removed dependencies on all-recursive and added "."
11634 to the SUBDIRS list to prevent infinite recursion from occurring.
11635 Also removed any references to EXTRA_DATA.
11636 * libc/Makefile.am: Ditto.
11637 * libc/machine/Makefile.am: Ditto.
11638 * libc/machine/i386/Makefile.am: Ditto.
11639 * libm/Makefile.am: Ditto.
11640 * libc/sys/Makefile.am: Ditto.
11641 * Makefile.in: Regenerated.
11642 * aclocal.m4: Ditto.
11643 * configure: Ditto.
11644 * doc/Makefile.in: Ditto.
11645 * doc/aclocal.m4: Ditto.
11646 * doc/configure: Ditto.
11647 * libc/Makefile.in: Ditto.
11648 * libc/aclocal.m4: Ditto.
11649 * libc/configure: Ditto.
11650 * libc/machine/Makefile.in: Ditto.
11651 * libc/machine/aclocal.m4: Ditto.
11652 * libc/machine/configure: Ditto.
11653 * libc/machine/mn10300/Makefile.in: Ditto.
11654 * libc/machine/mn10300/aclocal.m4: Ditto.
11655 * libc/machine/mn10300/configure: Ditto.
11656 * libc/sys/Makefile.in: Ditto.
11657 * libc/sys/aclocal.m4: Ditto.
11658 * libc/sys/configure: Ditto.
11659 * libm/Makefile.in: Ditto.
11660 * libm/aclocal.m4: Ditto.
11661 * libm/configure: Ditto.
11662
11663 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11664
11665 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
11666
11667 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11668
11669 * libc/include/stdlib.h: Add reentrant routines.
11670 * libc/stdlib/Makefile.am: Add reentrant routines.
11671 * libc/stdlib/Makefile.in: Ditto.
11672 * libc/stdlib/envlock.c: New file.
11673 * libc/stdlib/envlock.h: New file.
11674 * libc/stdlib/getenv.c: Modify to call reentrant routine.
11675 * libc/stdlib/getenv_r.c: New file.
11676 * libc/stdlib/mblen.c: Modify to call reentrant routine.
11677 * libc/stdlib/mblen_r.c: New file.
11678 * libc/stdlib/setenv.c: Modify to call reentrant routine.
11679 * libc/stdlib/setenv_r.c: New file.
11680 * libc/stdlib/stdlib.tex: Add reentrant routines.
11681
11682 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
11683
11684 * libc/include/sys/types.h: Define __MS_types__ whenever
11685 cygwin or win32.
11686
11687 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
11688
11689 * libc/include/machine/ieeefp.h: Always default to little
11690 endian if Windows, regardless of architecture.
11691 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
11692 regardless of architecture.
11693
11694 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
11695
11696 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
11697 _WIN32 isn't defined.
11698
11699 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
11700
11701 * libm/common/s_rint.c (rint): Add volatile qualifier for
11702 intermediate value w.
11703 * libm/common/sf_rint.c (rintf): Ditto.
11704
11705 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11706
11707 * libc/sys/arm/syscalls.c (remap_handle): Added check to
11708 ensure that std streams are initialized before being referenced.
11709
11710 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
11711
11712 * README: Update reference to newlib@cygnus.com new
11713 newlib@sourceware.cygnus.com address.
11714
11715 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
11716
11717 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
11718 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
11719 defined, even if _WIN32 isn't defined.
11720
11721 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
11722
11723 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
11724
11725 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11726
11727 * libc/include/sys/reent.h: Change Long and ULong to __Long and
11728 __ULong.
11729 * libc/stdlib/dtoa.c: Ditto.
11730 * libc/stdlib/mprec.c: Ditto.
11731 * libc/stdlib/mprec.h: Ditto.
11732 * libc/stdlib/strtod.c: Ditto.
11733
11734 1999-04-21 Nick Clifton <nickc@cygnus.com>
11735
11736 * configure.host (mcore): Remove mcore machine directory.
11737
11738 1999-04-18 Nick Clifton <nickc@cygnus.com>
11739
11740 * libc/include/machine/ieeefp.h: Add support for mcore target.
11741 * libc/include/machine/setjmp.h: Add support for mcore target.
11742 * configure.host: Add support for mcore target.
11743
11744 1999-04-13 Mark Salter <msalter@cygnus.com>
11745
11746 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
11747 * libc/sys/arm/syscalls.c: Added isatty.
11748
11749 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11750
11751 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
11752 insert zeroes after significant digits.
11753
11754 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11755
11756 * libc/stdio/vfprintf.c (cvt): Changed floating point
11757 cvt routine to use union used by dtoa to properly determine
11758 if the sign bit is on or not.
11759 * libc/stdio/vfieeefp.h: New file
11760
11761 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11762
11763 * aclocal.m4: Regenerated.
11764 * configure: Regenerated.
11765
11766 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11767
11768 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
11769 f_tanf reference.
11770 * libc/machine/i386/Makefile.in: Regenerated.
11771
11772 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
11773
11774 * acinclude.m4: Changed to work with new automake.
11775 * configure: Regenerated.
11776 * libc/machine/i386/aclocal.m4: Regenerated.
11777 * libc/machine/i386/configure: Regenerated.
11778
11779 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
11780
11781 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
11782 for telldir() and seekdir(). Rename unused structure element
11783 for use with these two routines.
11784
11785 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
11786
11787 * libc/time/mktime.c (validate_structure): Multiple fixes to
11788 code to handle cases where input fields are outside valid ranges.
11789 * libc/stdlib/div.c (div): Modified invalid rounding check.
11790 * libc/stdlib/ldiv.c (ldiv): Ditto.
11791
11792 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
11793
11794 * libc/machine/i386/memcpy.S: Performance rewrite.
11795 * libc/machine/i386/memmove.S: Ditto.
11796 * libc/machine/i386/i386mach.h: Added more register definitions.
11797 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
11798 option used.
11799 * libc/include/machine/fastmath.h: Add definitions for x86
11800 fast-math routines.
11801
11802 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11803
11804 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
11805
11806 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
11807
11808 Adjust newlib headers for new Cygwin Win32 API header files:
11809 * libc/include/sys/time.h: Check _WINSOCK_H rather than
11810 _GNU_H_WINDOWS32_SOCKETS.
11811 * libc/include/sys/types.h: Ditto.
11812
11813 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11814
11815 *include/sys/reent.h: Add checks for size of Bigint element Long.
11816 *libc/dtoa.c: Change routines to use generic Long type.
11817 *libc/mprec.c: Change routines to use generic Long type.
11818 *libc/mprec.h: Change routines to use generic Long type.
11819
11820 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
11821
11822 * libc/Makefile.am: Add .def files.
11823 * libc/Makefile.in: Regenerate.
11824 * libc/e_acosh.c: Documentation update.
11825 * libc/e_atanh.c: Documentation update.
11826 * libc/e_hypot.c: Documentation update.
11827 * libc/e_remainder.c: Documentation update.
11828 * libc/er_lgamma.c: Documentation update.
11829 * libc/mathfp.tex: Documentation update.
11830 * libc/s_acos.c: Documentation update.
11831 * libc/s_atan.c: Documentation update.
11832 * libc/s_atan2.c: Documentation update.
11833 * libc/s_cosh.c: Documentation update.
11834 * libc/s_fmod.c: Documentation update.
11835 * libc/s_isnan.c: Documentation update.
11836 * libc/s_log10.c: Documentation update.
11837 * libc/s_pow.c: Documentation update.
11838 * libc/w_jn.c: Documentation update.
11839
11840 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
11841
11842 * aclocal.m4: Regenerate.
11843 * configure: Regenerate.
11844
11845 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
11846
11847 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
11848 to return 1 if user specified return code is 0.
11849 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
11850
11851 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
11852
11853 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
11854 to save the return address. Fixed longjmp to return to the original
11855 calling address of setjmp and to return the user specified return code
11856 rather than default to 1.
11857 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
11858
11859 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
11860
11861 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
11862
11863 1999-02-10 Nick Clifton <nickc@cygnus.com>
11864
11865 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
11866 volatile so that its assignments will not be discarded.
11867
11868 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
11869
11870 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
11871 be __STRICT_ANSI__ which is generated by compiler.
11872 * libc/include/ctype.h: Ditto.
11873 * libc/include/math.h: Ditto.
11874 * libc/include/stdio.h: Ditto.
11875 * libc/include/stdlib.h: Ditto.
11876 * libc/include/string.h: Ditto.
11877 * libc/include/sys/signal.h: Ditto.
11878
11879 1999-02-08 Nick Clifton <nickc@cygnus.com>
11880
11881 * configure.host: Add support for StrongARM target.
11882
11883 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
11884
11885 * libc/string/strncpy.c (strncpy): Removed redundant code
11886 that was copying bytes if data unaligned.
11887
11888 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
11889
11890 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
11891 mbstowcs.def, and wcstombs.def.
11892
11893 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
11894
11895 * libc/include/sys/errno.h: Add Cygwin errno.
11896 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
11897 is specified.
11898
11899 1999-01-29 Nick Clifton <nickc@cygnus.com>
11900
11901 * libc/sys/arm/syscalls.c: Move C library functions into seperate
11902 file.
11903
11904 * libc/sys/arm/libcfunc.c: New file containing C library functions
11905 from syscalls.c
11906
11907 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
11908 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
11909
11910
11911 1999-01-27 Michael Meissner <meissner@cygnus.com>
11912
11913 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
11914 type, and cut size in half so that the jmp_buf array is guaranteed
11915 to be aligned on a 64-bit boundary.
11916
11917 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
11918
11919 * libc/string/strings.tex: Added information about
11920 strcasecmp and strncasecmp.
11921 * libc/stdlib/stdlib.tex: Added missing information
11922 about mblen, mbstowcs, and wcstombs.
11923 * libc/string/strchr.c: Changed how mask is built to use
11924 shift operators so register will be used instead of storage.
11925
11926 1999-01-22 DJ Delorie <dj@cygnus.com>
11927
11928 * libc/include/stdlib.h: don't use dllimport if we're building
11929 newlib, since it's inside cygwin.dll
11930
11931 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
11932
11933 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
11934 _ctype_ under cygwin.
11935
11936 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
11937
11938 * include/stdlib.h: Fix typo from previous checkin.
11939
11940 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
11941
11942 * include/ctype.h: Use __declspec(dllimport) method for exporting
11943 variable from cygwin DLL.
11944 * include/time.h: Ditto.
11945 * sys/errno.h: Ditto.
11946 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
11947 * libc/locale/locale.c: Use __declspec(dllexport) method for
11948 exporting variable from cygwin DLL.
11949
11950 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
11951
11952 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
11953 access of bogus pointer will result in SIGSEGV.
11954
11955 1999-01-07 Nick Clifton <nickc@cygnus.com>
11956
11957 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
11958 of an underscore prefix to function names.
11959
11960 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
11961
11962 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
11963 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
11964
11965 1998-12-31 Michael Meissner <meissner@cygnus.com>
11966
11967 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
11968 to `%' if not already defined.
11969
11970 1998-12-30 Michael Meissner <meissner@cygnus.com>
11971
11972 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
11973 arguments const char *, not char *.
11974 * libc/include/stdio.h (_tempnam_r): Ditto.
11975
11976 * libc/include/sys/reent.h (struct _reent): The _sig_func type
11977 points to a function taking an integer, not void.
11978
11979 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
11980
11981 * configure.host: Add a define for Cygwin builds.
11982 * libc/include/ctype.h: Don't use dll imported variables in newlib.
11983
11984 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
11985
11986 * libc/include/ctype.h: Define _ctype_ as dll imported variable
11987 for use with Cygwin.
11988 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
11989 dll imported variables for use with Cygwin.
11990 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
11991 as a dll imported variable for Cygwin.
11992
11993 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
11994
11995 * libc/include/sys/unistd.h: Add proto for getpass.
11996
11997 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
11998
11999 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12000 alphasort.
12001
12002 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12003
12004 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12005 not posix_path_list_p.
12006
12007 1998-12-15 Nick Clifton <nickc@cygnus.com>
12008
12009 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12010 a signed int.
12011
12012 1998-12-13 Nick Clifton <nickc@cygnus.com>
12013
12014 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12015
12016 1998-12-12 Nick Clifton <nickc@cygnus.com>
12017
12018 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12019 <msalter@cygnus.com>
12020 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12021 * libc/machine/fr30/Makefile.in: Regenerated.
12022
12023 1998-12-11 Nick Clifton <nickc@cygnus.com>
12024
12025 * configure.host: Remove use of libc/sys for FR30 port.
12026 * libc/sys/fr30: Remove directory (replaced by libgloss).
12027
12028 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
12029
12030 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12031 * libc/string/strncat.c (ALIGNED): Ditto.
12032
12033 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12034
12035 * libc/include/sys/time.h: include sys/types.h
12036
12037 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12038
12039 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12040 comparison found when checking word at a time.
12041
12042 1998-12-04 Nick Clifton <nickc@cygnus.com>
12043
12044 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12045
12046 1998-12-03 Nick Clifton <nickc@cygnus.com>
12047
12048 * libc/sys/fr30/syscalls.c (_times): New function stub.
12049
12050 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12051
12052 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12053 with mach_add_setjmp flag which indicates if setjmp should
12054 be added to the machine directory objects.
12055 * acinclude.m4: Removed reference to mach_add_objs.
12056 * aclocal.m4: Regenerated.
12057 * Makefile.in: Regenerated.
12058 * configure: Regenerated.
12059 * libc/aclocal.m4: Regenerated.
12060 * libc/Makefile.in: Regenerated.
12061 * libc/configure: Regenerated.
12062 * libc/machine/aclocal.m4: Regenerated.
12063 * libc/machine/Makefile.in: Regenerated.
12064 * libc/machine/configure: Regenerated.
12065 * libc/machine/i386/aclocal.m4: Regenerated.
12066 * libc/machine/i386/Makefile.am: Altered to selectively add
12067 setjmp.S to the src files list.
12068 * libc/machine/i386/Makefile.in: Regenerated.
12069 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12070 * libc/machine/i386/configure: Regenerated.
12071
12072 1998-12-02 Nick Clifton <nickc@cygnus.com>
12073
12074 * libc/sys/fr30/crt0.s (_start): Fix function names.
12075
12076 * libc/machine/fr30: New directory
12077 * libc/machine/fr30/Makefile.am: New file.
12078 * libc/machine/fr30/Makefile.in: New generated file.
12079 * libc/machine/fr30/configure.in: New file.
12080 * libc/machine/fr30/configure: New generated file.
12081 * libc/machine/fr30/aclocal.m4: New generated file.
12082 * libc/sys/fr30/Makefile.am: New file.
12083 * libc/sys/fr30/Makefile.in: New generated file.
12084 * libc/sys/fr30/configure.in: New file.
12085 * libc/sys/fr30/configure: New generated file.
12086 * libc/sys/fr30/syscalls.c: New file.
12087
12088 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12089
12090 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12091
12092 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
12093
12094 * libc/time/strftime.c (strftime): Also handle %y for years before
12095 1900.
12096
12097 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12098
12099 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12100 UNIX convention. Perform tolower on characters before comparing
12101 them rather than use toupper.
12102 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12103
12104 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12105
12106 * configure.host: Added using i386 machine directory
12107 for all x86 cross-compiler and configuring
12108 which added object files to use via new "mach_add_objs" variable.
12109 * configure: Regenerated.
12110 * libc/configure: Regenerated.
12111 * libc/Makefile.in: Regenerated.
12112 * libc/aclocal.m4: Regenerated.
12113 * libc/ctype/Makefile.in: Regenerated.
12114 * libc/errno/Makefile.in: Regenerated.
12115 * libc/locale/Makefile.in: Regenerated.
12116 * libc/machine/Makefile.in: Regenerated.
12117 * libc/machine/aclocal.m4: Regenerated.
12118 * libc/machine/configure: Regenerated.
12119 * libc/posix/Makefile.in: Regenerated.
12120 * libc/reent/Makefile.in: Regenerated.
12121 * libc/signal/Makefile.in: Regenerated.
12122 * libc/stdio/Makefile.in: Regenerated.
12123 * libc/stdlib/Makefile.in: Regenerated.
12124 * libc/string/Makefile.in: Regenerated.
12125 * libc/string/memmove.c: Optimized code to use memcpy
12126 logic when performing a non-destructive copy.
12127 * libc/string/strncmp.c: Altered code to allow building
12128 optimized for size or speed.
12129 * libc/syscalls/Makefile.in: Regenerated.
12130 * libc/time/Makefile.in: Regenerated.
12131 * libc/unix/Makefile.in: Regenerated.
12132 * libc/machine/i386/Makefile.am: Added new files and reference
12133 to "mach_add_objs" to indicate optional object files.
12134 * libc/machine/i386/Makefile.in: Regenerated.
12135 * libc/machine/i386/aclocal.m4: Regenerated.
12136 * libc/machine/i386/configure: Regenerated.
12137 * libc/machine/i386/memchr.S: New file that implements
12138 function in Intel assembler.
12139 * libc/machine/i386/memcmp.S: ditto.
12140 * libc/machine/i386/memcpy.S: ditto.
12141 * libc/machine/i386/memmove.S: ditto.
12142 * libc/machine/i386/memset.S: ditto.
12143 * libc/machine/i386/strchr.S: ditto.
12144 * libc/machine/i386/strlen.S: ditto.
12145 * libc/machine/i386/f_atan2.S: New file that implements
12146 fast version of math function to be used by compiler when
12147 --ffast_math compile option is used.
12148 * libc/machine/i386/f_atan2f.S: ditto.
12149 * libc/machine/i386/f_exp.c: ditto.
12150 * libc/machine/i386/f_expf.c: ditto.
12151 * libc/machine/i386/f_frexp.S: ditto.
12152 * libc/machine/i386/f_frexpf.S: ditto.
12153 * libc/machine/i386/f_ldexp.S: ditto.
12154 * libc/machine/i386/f_ldexpf.S: ditto.
12155 * libc/machine/i386/f_log.S: ditto.
12156 * libc/machine/i386/f_logf.S: ditto.
12157 * libc/machine/i386/f_log10.S: ditto.
12158 * libc/machine/i386/f_log10f.S: ditto.
12159 * libc/machine/i386/f_math.h: New file.
12160 * libc/machine/i386/f_pow.c: ditto.
12161 * libc/machine/i386/f_powf.S: ditto.
12162 * libc/machine/i386/f_tan.S: ditto.
12163 * libc/machine/i386/f_tan.S: ditto.
12164 * libc/machine/i386/i386mach.h: New file.
12165
12166 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12167
12168 patch from Mumit Khan <khan@xraylith.wisc.edu>
12169 * libc/include/stdio.h (tempnam): Add prototype.
12170 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12171 (tempnam): Adhere to prototype.
12172
12173 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12174
12175 * Makefile.am: Add default for AR_FLAGS.
12176 * Makefile.in: Regenerate.
12177
12178 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12179
12180 * libc/include/time.h: move __cplusplus wrapper after includes
12181 * libc/include/sys/time.h: ditto. If Cygwin, include
12182 sys/select.h.
12183 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12184
12185 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
12186
12187 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12188
12189 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12190
12191 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12192 abnormnal end-of-crt0 marker.
12193
12194 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12195
12196 * libc/sys/fr30/crt0.s: New file/directory.
12197 * libc/include/machine/setjmp.h: Add FR30 target.
12198 * libc/include/machine/ieeefp.h: Add FR30 target.
12199 * configure.host: Add FR30 target.
12200
12201 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12202
12203 * libm/math: Files that are duplicated in common directory removed.
12204 * libm/math/fdlibm.h: Removed.
12205 * libm/math/s_cbrt.c: Removed.
12206 * libm/math/s_copysign.c: Removed.
12207 * libm/math/s_expm1.c: Removed.
12208 * libm/math/s_finite.c: Removed.
12209 * libm/math/s_ilogb.c: Removed.
12210 * libm/math/s_infinity.c: Removed.
12211 * libm/math/s_lib_ver.c: Removed.
12212 * libm/math/s_log1p.c: Removed.
12213 * libm/math/s_logb.c: Removed.
12214 * libm/math/s_matherr.c: Removed.
12215 * libm/math/s_modf.c: Removed.
12216 * libm/math/s_nan.c: Removed.
12217 * libm/math/s_nextafter.c: Removed.
12218 * libm/math/s_rint.c: Removed.
12219 * libm/math/s_scalbn.c: Removed.
12220 * libm/math/sf_cbrt.c: Removed.
12221 * libm/math/sf_copysign.c: Removed.
12222 * libm/math/sf_expm1.c: Removed.
12223 * libm/math/sf_finite.c: Removed.
12224 * libm/math/sf_ilogb.c: Removed.
12225 * libm/math/sf_infinity.c: Removed.
12226 * libm/math/sf_log1p.c: Removed.
12227 * libm/math/sf_logb.c: Removed.
12228 * libm/math/sf_modf.c: Removed.
12229 * libm/math/sf_nan.c: Removed.
12230 * libm/math/sf_nextafter.c: Removed.
12231 * libm/math/sf_rint.c: Removed.
12232 * libm/math/sf_scalbn.c: Removed.
12233 * libm/math/Makefile.am: Removed references to deleted files (above).
12234 * libm/math/Makefile.in: Regenerated.
12235 * libm/Makefile.am: Added common directory to math.
12236 * libm/Makefile.in: Regenerated.
12237
12238 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12239
12240 * libm/mathfp: Add non-ANSI functions.
12241 * libm/mathfp/e_acosh.c acosh(): New file.
12242 * libm/mathfp/e_atanh.c atanh(): New file.
12243 * libm/mathfp/e_hypot.c hypot(): New file.
12244 * libm/mathfp/e_j0.c j0(): New file.
12245 * libm/mathfp/e_j1.c j1(): New file.
12246 * libm/mathfp/e_remainder.c remainder(): New file.
12247 * libm/mathfp/e_scalb.c scalb(): New file.
12248 * libm/mathfp/ef_acosh.c acoshf(): New file.
12249 * libm/mathfp/ef_atanh.c atanhf(): New file.
12250 * libm/mathfp/ef_hypot.c hypotf(): New file.
12251 * libm/mathfp/ef_j0.c j0f(): New file.
12252 * libm/mathfp/ef_j1.c j1f(): New file.
12253 * libm/mathfp/ef_remainder.c remainderf(): New file.
12254 * libm/mathfp/ef_scalb.c scalbf(): New file.
12255 * libm/mathfp/er_gamma.c gamma_r: New file.
12256 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12257 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12258 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12259 * libm/mathfp/w_cabs.c cabs(): New file.
12260 * libm/mathfp/w_drem.c drem(): New file.
12261 * libm/mathfp/w_jn.c jn(): New file.
12262 * libm/mathfp/wf_cabs.c cabsf(): New file.
12263 * libm/mathfp/wf_drem.c dremf(): New file.
12264 * libm/mathfp/wf_jn.c jnf(): New file.
12265
12266 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
12267
12268 * libc/sys/cygwin32: remove directory and contents
12269 * libc/sys/cygwin: and add back, losing the "32".
12270 * configure.host: check for cygwin* instead of cygwin32.
12271 * acinclude.m4: ditto.
12272 * aclocal.m4: regenerate with aclocal
12273 * configure: regenerate with autoconf
12274
12275 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
12276
12277 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
12278 for length
12279
12280 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12281
12282 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
12283 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
12284 to make rand/srand, strtok, asctime, localtime, w_gamma,
12285 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
12286 time.h to bring in struct tm definition.
12287 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
12288 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
12289 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
12290 instead of static variable.
12291 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
12292 struct reent instead of static variable.
12293 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
12294 struct reent instead of static variable.
12295 * libm/math/Makefile.am: Removed s_signgam.o.
12296 * libm/math/Makefile.in: Regenerated.
12297 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12298 struct reent instead of global variable 'signgam'.
12299 * libm/math/w_lgamma.c (lgamma): Likewise.
12300 * libm/math/wf_gamma.c (gammaf): Likewise.
12301 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12302 * libm/math/s_signgam.c: Removed.
12303 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12304 to be const.
12305 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12306 to be const.
12307 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12308 libc/include/reent.h.
12309 * libc/reent/Makefile.in: Regenerated.
12310 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12311 to be const.
12312 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12313 'JIS_action_table' to be const.
12314 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12315
12316 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
12317
12318 * acinclude.m4: $with_target_subdir should default to '.'
12319 or confusion results when configuring in same directory as sources.
12320 * Regenerate all aclocal.m4 and configure files.
12321
12322 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
12323
12324 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
12325 can be set by defining MALLOC_ALIGNMENT=16. Also added support
12326 for platforms where sizeof(size_t) < sizeof(long) via
12327 SIZE_T_SMALLER_THAN_LONG macro.
12328
12329 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
12330
12331 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
12332 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
12333 which sets _CLOCKS_PER_SEC_ for selected machines.
12334 * libc/include/machine/time.h: New file.
12335
12336 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12337
12338 * libc/syscalls/sysexecve.c: New file.
12339 * libc/syscalls/sysgettod.c: New file.
12340 * libc/syscalls/systimes.c: New file.
12341 * libc/syscalls/Makefile.am: Added new objects.
12342 * libc/syscalls/Makefile.in: Regenerated.
12343 * libc/include/_syslist.h (_execve): Moved define in file.
12344 * libc/include/reent.h: Added _execve_r declaration.
12345 * libc/Makefile.in: Regenerated.
12346 * libc/ctype/Makefile.in: Regenerated.
12347 * libc/errno/Makefile.in: Regenerated.
12348 * libc/locale/Makefile.in: Regenerated.
12349 * libc/machine/Makefile.in: Regenerated.
12350 * libc/misc/Makefile.in: Regenerated.
12351 * libc/posix/Makefile.in: Regenerated.
12352 * libc/reent/Makefile.in: Regenerated.
12353 * libc/reent/execr.c (_execve_r): Added _execve_r function.
12354 * libc/signal/Makefile.in: Regenerated.
12355 * libc/stdio/Makefile.in: Regenerated.
12356 * libc/time/Makefile.in: Regenerated.
12357 * libc/unix/Makefile.in: Regenerated.
12358 * libm/mathfp/Makefile.in: Regenerated.
12359
12360 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12361
12362 * libc/string/Makefile.in: Regenerated.
12363 * libc/string/memchr.c (memchr): Moved code to reduce object size.
12364 * libc/string/memcpy.c (memcpy): Ditto.
12365 * libc/string/memcmp.c (memcmp): Ditto.
12366 * libc/string/memset.c (memset): Ditto.
12367 * libc/string/strchr.c (strchr): Ditto.
12368 * libc/string/strcmp.c (strcmp): Ditto.
12369 * libc/string/strcpy.c (strcpy): Ditto.
12370 * libc/string/strlen.c (strlen): Ditto.
12371
12372 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12373
12374 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
12375 to generate aclocal.m4.
12376 * libm/Makefile.in: Regenerated.
12377 * libm/aclocal.m4: Regenerated.
12378 * libm/configure: Regenerated.
12379 * libm/math/Makefile.in: Regenerated.
12380 * libm/mathfp/Makefile.in: Regenerated.
12381
12382 1998-09-25 Mark Salter <msalter@cygnus.com>
12383
12384 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
12385 by adding leading and trailing underscores to symbol names.
12386
12387 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
12388
12389 * Makefile.in: Add default for AR_FLAGS.
12390
12391 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
12392
12393 patch from ian@airs.com (Ian Taylor):
12394 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
12395 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
12396 is needed for detecting the build machine. Required for
12397 cygwin native builds.
12398
12399 * Regenerate all aclocal.m4 and configure files.
12400
12401 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
12402
12403 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
12404 used to start with LC.
12405
12406 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12407
12408 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
12409 (longjmp): Likewise.
12410
12411 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12412
12413 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
12414 the test for small number of bytes.
12415
12416 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12417
12418 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
12419 math library that uses floating point algorithms instead of the old
12420 libm.
12421 * Makefile.in: Regenerate with automake version 1.3b.
12422 * configure: Rebuild.
12423 * libm/Makefile.in: Regenerate with automake version 1.3b.
12424 * libm/aclocal.m4: Regenerate.
12425 * libm/configure: Rebuild.
12426 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
12427 * libm/acinclude.m4: Define macros for configure.in.
12428 * libm/config.h.in: Generate.
12429 * libm/mathfp/Makefile.am: New file.
12430 * libm/mathfp/Makefile.in: Generate.
12431 * libm/mathfp/s_acos.c (acos): New file.
12432 * libm/mathfp/s_asin.c (asin): New file.
12433 * libm/mathfp/s_asine.c (asine): New file.
12434 * libm/mathfp/s_atan.c (atan): New file.
12435 * libm/mathfp/s_atan2.c (atan2): New file.
12436 * libm/mathfp/s_atangent.c (atangent): New file.
12437 * libm/mathfp/s_ceil.c (ceil): New file.
12438 * libm/mathfp/s_copysign.c (copysign): New file.
12439 * libm/mathfp/s_cos.c (cos): New file.
12440 * libm/mathfp/s_cosh.c (cosh): New file.
12441 * libm/mathfp/s_exp.c (exp): New file.
12442 * libm/mathfp/s_fabs.c (fabs): New file.
12443 * libm/mathfp/s_finite.c (finite): New file.
12444 * libm/mathfp/s_floor.c (floor): New file.
12445 * libm/mathfp/s_fmod.c (fmod): New file.
12446 * libm/mathfp/s_frexp.c (frexp): New file.
12447 * libm/mathfp/s_infconst.c: New file.
12448 * libm/mathfp/s_isinf (isinf).c: New file.
12449 * libm/mathfp/s_isnan.c (isnan): New file.
12450 * libm/mathfp/s_ispos.c (ispos): New file.
12451 * libm/mathfp/s_ldexp.c (ldexp): New file.
12452 * libm/mathfp/s_log.c (log): New file.
12453 * libm/mathfp/s_log10.c (log10): New file.
12454 * libm/mathfp/s_logarithm.c (logarithm): New file.
12455 * libm/mathfp/s_mathcnst.c: New file.
12456 * libm/mathfp/s_modf (modf).c: New file.
12457 * libm/mathfp/s_numtest.c (numtest): New file.
12458 * libm/mathfp/s_pow.c (pow): New file.
12459 * libm/mathfp/s_scalbn.c (scalbn): New file.
12460 * libm/mathfp/s_sin (sin).c: New file.
12461 * libm/mathfp/s_sine.c (sine): New file.
12462 * libm/mathfp/s_sineh.c (sineh): New file.
12463 * libm/mathfp/s_sinf.c (sinf): New file.
12464 * libm/mathfp/s_sinh.c (sinh): New file.
12465 * libm/mathfp/s_sqrt.c (sqrt): New file.
12466 * libm/mathfp/s_tan.c (tan): New file.
12467 * libm/mathfp/s_tanh.c (tanh): New file.
12468 * libm/mathfp/sf_acos.c (acosf): New file.
12469 * libm/mathfp/sf_asin.c (asinf): New file.
12470 * libm/mathfp/sf_asine.c (asinef): New file.
12471 * libm/mathfp/sf_atan.c (atanf): New file.
12472 * libm/mathfp/sf_atan2.c (atan2f): New file.
12473 * libm/mathfp/sf_atangent.c (atangent): New file.
12474 * libm/mathfp/sf_ceil.c (ceilf): New file.
12475 * libm/mathfp/sf_copysign.c (copysignf): New file.
12476 * libm/mathfp/sf_cos.c (cosf): New file.
12477 * libm/mathfp/sf_cosh.c (coshf): New file.
12478 * libm/mathfp/sf_exp.c (expf): New file.
12479 * libm/mathfp/sf_fabs.c (fabsf): New file.
12480 * libm/mathfp/sf_finite.c (finitef): New file.
12481 * libm/mathfp/sf_floor.c (floorf): New file.
12482 * libm/mathfp/sf_fmod.c (fmodf): New file.
12483 * libm/mathfp/sf_frexp.c (frexpf): New file.
12484 * libm/mathfp/sf_isinf.c (isinff): New file.
12485 * libm/mathfp/sf_isnan.c (isnanf): New file.
12486 * libm/mathfp/sf_ispos.c (isposf): New file.
12487 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
12488 * libm/mathfp/sf_log.c (logf): New file.
12489 * libm/mathfp/sf_log10.c (log10f): New file.
12490 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
12491 * libm/mathfp/sf_modf.c (modff): New file.
12492 * libm/mathfp/sf_numtest.c (numtestf): New file.
12493 * libm/mathfp/sf_pow.c (powf): New file.
12494 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
12495 * libm/mathfp/sf_sin.c (sinf): New file.
12496 * libm/mathfp/sf_sine.c (sinef): New file.
12497 * libm/mathfp/sf_sineh.c (sinehf): New file.
12498 * libm/mathfp/sf_sinh.c (sinhf): New file.
12499 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
12500 * libm/mathfp/sf_tan.c (tanf): New file.
12501 * libm/mathfp/sf_tanh.c (tanhf): New file.
12502 * libm/mathfp/zmath.h: New file.
12503
12504 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12505
12506 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
12507 exit if it has been overwritten by pre-fetching in delay slot.
12508
12509 1998-09-01 Michael Meissner <meissner@cygnus.com>
12510
12511 * Makefile.am (tooldir): Add in host_alias, so that multilib
12512 libraries are installed in the directory the compiler looks in.
12513 * Makefile.in: Regenerate.
12514
12515 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
12516
12517 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
12518
12519 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
12520 ahead of test for number of bytes being moved.
12521
12522 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
12523
12524 * libc/include/sys/unistd.h: Nothing special needed for
12525 _exit under cygwin.
12526
12527 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
12528
12529 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
12530 conform to user label naming conventions.
12531
12532 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
12533
12534 * libc/sys/cygwin32/sys/utime.h: variable names in
12535 protos should start with two leading underscores
12536 * libc/include/string.h: ditto
12537 * libc/include/sys/signal.h: ditto
12538 * libc/include/sys/stat.h: ditto
12539 * libc/include/sys/time.h: ditto
12540 * libc/include/sys/unistd.h: ditto
12541 * libc/include/ctype.h: ditto
12542 * libc/include/stdlib.h: ditto
12543 * libc/include/sys/reent.h: struct _atexit function ptr takes a
12544 void, same with _sig_func.
12545
12546 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
12547
12548 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
12549 for MB_CAPABLE to reduce code size when newlib is not configured
12550 with --enable-newlib-mb.
12551 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
12552 mbtowc_r.o to minimize size.
12553 * libc/stdlib/Makefile.in: Rebuild.
12554
12555 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
12556
12557 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
12558 to -DREENT.
12559 * libc/sys/sparc64/Makefile.in: Rebuild.
12560
12561 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
12562
12563 * Makefile.am (MAKEOVERRIDES): Define.
12564 * Makefile.in: Rebuild.
12565
12566 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
12567
12568 * libc/sys/sparc64/sys/stat.h (stat): Add const.
12569
12570 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
12571
12572 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
12573 newlib_cflags when looking for targ-include.
12574 * */aclocal.m4, */configure: Rebuild.
12575
12576 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
12577
12578 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
12579 to "_end".
12580
12581 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
12582
12583 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
12584 on SPARCs with little-endian data.
12585 * libc/include/machine/ieeefp.h: Ditto.
12586
12587 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
12588
12589 * acinclude.m4: Handle a relative srcdir correctly when setting
12590 newlib_cflags.
12591 * */aclocal.m4, */configure: Rebuild.
12592
12593 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
12594
12595 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
12596 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
12597 * libm/math/wrf_gamma.c (gammaf_r): ditto
12598 * libm/math/wr_lgamma.c (lgamma_r): ditto
12599 * libm/math/wr_gamma.c (gamma_r): ditto
12600 * libm/math/wf_sqrt.c (sqrtf): ditto
12601 * libm/math/wf_sinh.c (sinhf): ditto
12602 * libm/math/wf_scalb.c (scalbf): ditto
12603 * libm/math/wf_remainder.c (remainderf): ditto
12604 * libm/math/wf_pow.c (powf): ditto
12605 * libm/math/wf_log10.c (log10f): ditto
12606 * libm/math/wf_log.c (logf): ditto
12607 * libm/math/wf_lgamma.c (lgammaf): ditto
12608 * libm/math/wf_jn.c (jnf, ynf): ditto
12609 * libm/math/wf_j1.c (j1f, y1f): ditto
12610 * libm/math/wf_j0.c (j0f, y0f): ditto
12611 * libm/math/wf_hypot.c (hypotf): ditto
12612 * libm/math/wf_gamma.c (gammaf): ditto
12613 * libm/math/wf_fmod.c (fmodf): ditto
12614 * libm/math/wf_exp.c (expf): ditto
12615 * libm/math/wf_cosh.c (coshf): ditto
12616 * libm/math/wf_atanh.c (atanhf): ditto
12617 * libm/math/wf_atan2f.c (atan2f): ditto
12618 * libm/math/wf_asin.c (asinf): ditto
12619 * libm/math/wf_acosh.c (acoshf): ditto
12620 * libm/math/wf_acos.c (acosf): ditto
12621 * libm/math/w_sqrt.c (sqrt): ditto
12622 * libm/math/w_sinh.c (sinh): ditto
12623 * libm/math/w_scalb.c (scalb): ditto
12624 * libm/math/w_remainder.c (remainder): ditto
12625 * libm/math/w_pow.c (pow): ditto
12626 * libm/math/w_log10.c (log10): ditto
12627 * libm/math/w_log.c (log): ditto
12628 * libm/math/w_lgamma.c (lgamma): ditto
12629 * libm/math/w_jn.c (jn, yn): ditto
12630 * libm/math/w_j1.c (j1, y1): ditto
12631 * libm/math/w_j0.c (j0, y0): ditto
12632 * libm/math/w_hypot.c (hypot): ditto
12633 * libm/math/w_gamma.c (gamma): ditto
12634 * libm/math/w_fmod.c (fmod): ditto
12635 * libm/math/w_exp.c (exp): ditto
12636 * libm/math/w_cosh.c (cosh): ditto
12637 * libm/math/w_atanh.c (atanh): ditto
12638 * libm/math/w_atan2f.c (atan2): ditto
12639 * libm/math/w_asin.c (asin): ditto
12640 * libm/math/w_acosh.c (acosh): ditto
12641 * libm/math/w_acos.c (acos): ditto
12642
12643 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
12644
12645 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
12646 (fsrc): Add wf_cabs.c and wf_drem.c.
12647 * libm/math/Makefile.in: Rebuild.
12648
12649 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
12650 unused directory variables. Remove duplicate CFLAGS.
12651 * Makefile.in: Rebuild.
12652
12653 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
12654 with $(CC_FOR_BUILD).
12655 (makedoc.o): Likewise.
12656 * doc/Makefile.in: Rebuild.
12657
12658 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
12659 force a definition of COMPILE.
12660 (libfoo_a_SOURCES): Define.
12661 * libc/sys/cygwin32/Makefile.in: Rebuild.
12662 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
12663 force a definition of COMPILE.
12664 (libfoo_a_SOURCES): Define.
12665 * libc/sys/tic80/Makefile.in: Rebuild.
12666
12667 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
12668
12669 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
12670 flag.
12671
12672 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
12673
12674 * Build using autoconf and automake. Added many Makefile.am and
12675 configure.in files, plus generated files. Old configure.in files
12676 and all old Makefile.in files completely replaced. Removed
12677 host/any. Added acinclude.m4 and configure.host.
12678
12679 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
12680
12681 * libc/stdio/vfprintf.c: enable long long support, sometimes.
12682 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
12683
12684 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12685
12686 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
12687 * libc/machine/sh/Makefile.in: Add rules for new files.
12688
12689 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12690
12691 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
12692 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
12693 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
12694
12695 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
12696
12697 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
12698 code is ignored.
12699
12700 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
12701
12702 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
12703 internal static buffer when s is NULL, as prescribed by ANSI.
12704
12705 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
12706
12707 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
12708 removed.
12709 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
12710 libc/stdlib will be used for h8300hms.
12711
12712 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12713
12714 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
12715 version that can be built either for speed or size.
12716 * libc/machine/mn10300/memset.S (_memset): ditto
12717 * libc/machine/mn10300/memchr.S (_memchr): ditto
12718 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
12719 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
12720 * libc/machine/mn10300/strchr.S (_strchr): ditto
12721 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
12722 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
12723 * libc/machine/mn10300/Makefile.in: Added entries for
12724 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
12725 strcmp.o, strcpy.o, and strlen.o.
12726
12727 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
12728
12729 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
12730 been replaced with libgloss/mn10200.
12731
12732 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
12733
12734 * libc/string/strchr.c (strchr): Make s a constant pointer to
12735 avoid warning.
12736
12737 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
12738
12739 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
12740 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
12741 board SWIs instead of Demon board SWIs).
12742
12743 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
12744
12745 * libc/string/strncat.c (strncat): Make -Os act the same as
12746 PREFER_SIZE_OVER_SPEED being defined.
12747
12748 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
12749
12750 * libc/string/memchr.c (memchr): Make -Os act the same as
12751 PREFER_SIZE_OVER_SPEED being defined.
12752 * libc/string/memcmp.c (memcmp): Ditto.
12753 * libc/string/memcpy.c (memcpy): Ditto.
12754 * libc/string/memset.c (memset): Ditto.
12755 * libc/string/strcat.c (strcat): Ditto.
12756 * libc/string/strchr.c (strchr): Ditto.
12757 * libc/string/strcmp.c (strcmp): Ditto.
12758 * libc/string/strcpy.c (strcpy): Ditto.
12759 * libc/string/strlen.c (strlen): Ditto.
12760 * libc/string/strncat.c (strncat): Ditto.
12761 * libc/string/strncmp.c (strncmp): Ditto.
12762 * libc/string/strncpy.c (strncpy): Ditto.
12763
12764 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
12765
12766 * libc/include/sys/itimer.h: remove
12767 * libc/include/sys/time.h: itimer stuff should be here
12768
12769 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
12770
12771 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
12772 bit instead of comparing to 0 so -0.0 can be printed correctly.
12773
12774 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12775
12776 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
12777
12778 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
12779
12780 * libc/include/sys/unistd.h: fix sync() proto
12781 * libc/include/sys/fcntl.h: remove _close which is already
12782 defined in unistd.h.
12783 * libc/include/sys/time.h: add getitimer proto
12784
12785 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
12786
12787 * libc/string/strchr.c: convert arg to unsigned char
12788 * libc/include/stdlib.h: add protos for random, srandom
12789 * libc/include/sys/stat.h: add lstat proto
12790 * libc/include/sys/time.h: add setitimer proto
12791 * libc/include/sys/unistd.h: add readlink, symlink protos
12792 * libc/include/process.h: instead of including windows.h and using
12793 HANDLEs in sexec protos, just use void *s. Need to include
12794 sys/types.h.
12795
12796 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
12797
12798 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
12799
12800 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
12801
12802 * libc/include/process.h: add secure exec protos
12803
12804 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
12805
12806 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
12807 which are accessed as both doubles and integers.
12808 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
12809 * libc/stdlib/strtod.c (_strtod_r): Likewise.
12810 * libc/stdlib/mprec.h: Add "union double_union" and change
12811 word0/word1 macros to use it.
12812
12813 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
12814
12815 * libc/include/sys/signal.h: add __cplusplus wrapper
12816
12817 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
12818
12819 * libc/include/sys/utime.h: new generic file that gets replaced by
12820 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
12821 function.
12822 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
12823 * libc/include/time.h: remove duplicate utime proto
12824 * libc/include/utime.h: add comment
12825
12826 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
12827
12828 * libc/include/sys/time.h: Add missing include to
12829 allow use of _EXFUN. Remove times function that is
12830 already defined in times.h.
12831
12832 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
12833
12834 * libc/include/time.h: Fix typo in tzset.
12835
12836 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
12837
12838 * libc/include/sys/time.h: add missing Cygwin32 function protos
12839 * libc/include/sys/unistd.h: ditto
12840 * libc/include/time.h: ditto
12841
12842 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
12843
12844 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
12845 FIXME.
12846 * libc/include/sys/types.h: add a new __MS_types__ section
12847 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
12848 __BIT_TYPES_DEFINED__.
12849
12850 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
12851
12852 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
12853 since it overrides the one in libc/include/sys. Also, start
12854 including types.h.
12855
12856 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
12857
12858 * libm/math/Makefile.in: add s_signgam.o to obj list
12859
12860 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
12861
12862 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
12863
12864 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
12865
12866 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
12867 so don't use defines.
12868
12869 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
12870
12871 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
12872
12873 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
12874
12875 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
12876 _current_locale as default locale.
12877
12878 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
12879
12880 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
12881 insufficient space in a chunk.
12882
12883 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
12884
12885 * configure.in (links): Added check for --enable-newlib-mb configure
12886 option which defines the MB_CAPABLE macro.
12887 * libc/locale/locale.c (_setlocale_r): Added support for setting
12888 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
12889 defined.
12890 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
12891 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
12892 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
12893 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
12894 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
12895 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
12896 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
12897 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
12898 * libc/stdlib/Makefile.in: Added new multibyte
12899 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
12900 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
12901 _mbstowcs_r(), and _wcstombs_r().
12902 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
12903 for JIS, SJIS, and EUC-JP characters.
12904 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
12905 MB_CAPABLE defined.
12906 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
12907 MB_CAPABLE defined.
12908 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
12909 MB_CAPABLE defined.
12910 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
12911 if MB_CAPABLE defined.
12912 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
12913 if MB_CAPABLE defined.
12914 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
12915 to the format string processing when MB_CAPABLE.
12916 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
12917 call _mbtowc_r().
12918
12919 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
12920
12921 The following modifications are courtesy of Anthony Thompson,
12922 athompson@cambridge.arm.com:
12923 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
12924 boith RDI and RDP monitors.
12925 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
12926 RDI and RDP monitors.
12927
12928 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
12929
12930 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
12931 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
12932 (_swiopen): Fixed open flags to treat write with append as just append.
12933 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
12934 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
12935
12936 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12937
12938 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
12939 When needing to transfer an initial 2-byte-word, store as
12940 two single bytes.
12941
12942 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12943
12944 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
12945 __SH3E__ .
12946 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
12947 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
12948
12949 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
12950
12951 * configure.in (target_cflags): If --enable-target-optspace, use
12952 -Os to compile newlib rather than -O2. Default to using -Os for
12953 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
12954 used.
12955
12956 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
12957
12958 * libc/include/machine/setjmp.h: change sigsetjmp and
12959 siglongjmp definitions to use an array instead of a struct
12960 for __CYGWIN32__
12961
12962 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
12963
12964 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
12965
12966 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
12967
12968 * libc/string/strxfrm.c: fix to get correct return value
12969
12970 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
12971
12972 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
12973 builds. Make mode change labels global so that they will be seen
12974 by the debugger.
12975
12976 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
12977
12978 * configure.in (links): Do not use ARM debiugging protocols for PE
12979 builds.
12980
12981 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
12982 message.
12983
12984 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12985
12986 * libc/stdio/findfp.c (__sinit): Made stdout default to
12987 line buffered mode as defined by ANSI.
12988
12989 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
12990
12991 * libc/include/sys/itimer.h: New file.
12992
12993 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
12994
12995 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12996
12997 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
12998 failure.
12999
13000 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13001
13002 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13003 insns.
13004
13005 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13006
13007 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13008
13009 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13010
13011 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13012 support.
13013
13014 * libc/include/machine/setjmp.h: Add D30V support.
13015
13016 * configure.in (d30v-*): Add d30v machine directory.
13017
13018 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13019
13020 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13021 been replaced with libgloss/mn10300.
13022
13023 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13024
13025 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13026 it is no longer needed.
13027
13028 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13029
13030 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
13031
13032 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13033
13034 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
13035 the file when O_APPEND is set, wherever the EOF happens to be at
13036 that time.
13037
13038 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
13039
13040 patch from cgf@bbc.com (Christopher Faylor):
13041 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13042 convention of closing fp prior to attempting to open the file
13043 argument. This allows correct operation when reopening
13044 stdin/stdout/stderr. Replaces last freopen.c patch.
13045
13046 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13047
13048 patch from cgf@bbc.com (Christopher Faylor):
13049 * libc/stdio/freopen.c: freopen was not preserving the fd
13050 of the stream being operated on. This confuses programs that
13051 expect that the handles for stdout and stderr will be 1 and 2.
13052
13053 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13054
13055 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13056
13057 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13058
13059 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13060
13061 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13062
13063 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13064 altered to not use a branch. Also added hint that last
13065 bclr in longjmp will likely result in branch.
13066
13067
13068 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13069
13070 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
13071
13072 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13073
13074 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13075 v850 builds.
13076
13077 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
13078
13079 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13080
13081 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13082 that loads FR14 to specify offset of 8 rather than 4
13083 so it loads from offset 96 (where setjmp stored it).
13084
13085 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13086
13087 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13088 latest version supplied by customer.
13089 * libc/machine/sh/memset.S (_memset): Ditto.
13090
13091 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13092
13093 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
13094 PR14730).
13095
13096 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13097
13098 * libc/include/string.h: remove redefinition of ffs
13099
13100 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13101
13102 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
13103 defined
13104
13105 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13106
13107 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
13108 TI Libraries to link to libc.a
13109
13110 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13111
13112 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13113 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13114 * libc/include/sys/wait.h (_wait): Ditto.
13115 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13116 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13117
13118 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13119
13120 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13121 minded stabs so function name shows up when running the simulator
13122 with -t.
13123 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13124
13125 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13126
13127 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
13128 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13129 Use R5 where we used to use R3.
13130
13131 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13132
13133 * libc/stdlib/getopt.c (getopt): replaced __progname
13134 with nargv[0] to improve portability to imbedded systems.
13135
13136 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13137
13138 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13139 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13140 stdout file.
13141
13142 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13143
13144 * libc/stdio/tmpnam.c (worker): Generate a different file name
13145 each time.
13146
13147 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13148 fails, try an execlp for sh.
13149
13150 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13151 option for the winsup include directory.
13152
13153 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13154
13155 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13156 debugging interface from Tony.Thompson@arm.com.
13157
13158 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13159 * libc/sys/arm/swi.h: ditto.
13160
13161 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13162
13163 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13164 DIR struct used for readdir hashes.
13165
13166 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13167
13168 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13169
13170 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13171
13172 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13173 integer targets.
13174
13175 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13176
13177 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13178 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13179 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13180 (__malloc_copy): Declare.
13181
13182 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13183
13184 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13185 <sys/config.h>.
13186 (POINTER_UINT): Define.
13187 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13188 (MALLOC_ALIGNMENT): Don't define if already defined.
13189 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13190 long.
13191
13192 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13193
13194 * libc/string/memset.c (memset): Fiddle with code so that the long
13195 value being stored is not a stack value. Unroll storing longs 4
13196 times.
13197
13198 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13199
13200 * Reduce code size for libm modules.
13201 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13202 and simply move code into sqrt.
13203 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13204 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13205 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13206 * libm/math/wr_gamma.c (gamma_r): Likewise.
13207 * libm/math/wf_sinh.c (sinfh): Likewise.
13208 * libm/math/w_sinh.c (sinh): Likewise.
13209 * libm/math/wf_scalb.c (scalbf): Likewise.
13210 * libm/math/w_scalb.c (scalb): Likewise.
13211 * libm/math/wf_remainder.c (remainderf): Likewise.
13212 * libm/math/w_remainder.c (remainder): Likewise.
13213 * libm/math/wf_pow.c (powf): Likewise.
13214 * libm/math/w_pow.c (pow): Likewise.
13215 * libm/math/wf_log10.c (log10f): Likewise.
13216 * libm/math/w_log10.c (log10): Likewise.
13217 * libm/math/wf_log.c (logf): Likewise.
13218 * libm/math/w_log.c (log): Likewise.
13219 * libm/math/w_lgamma.c (lgamma): Likewise.
13220 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13221 * libm/math/wf_jn.c (jnf): Likewise.
13222 * libm/math/w_jn.c (jn): Likewise.
13223 * libm/math/wf_j1.c (j1f): Likewise.
13224 * libm/math/w_j1.c (j1): Likewise.
13225 * libm/math/wf_j0.c (j0f): Likewise.
13226 * libm/math/w_j0.c (j0): Likewise.
13227 * libm/math/wf_hypot.c (hypotf): Likewise.
13228 * libm/math/w_hypot.c (hypot): Likewise.
13229 * libm/math/wf_gamma.c (gammaf): Likewise.
13230 * libm/math/w_gamma.c (gamma): Likewise.
13231 * libm/math/wf_fmod.c (fmodf): Likewise.
13232 * libm/math/w_fmod.c (fmod): Likewise.
13233 * libm/math/wf_exp.c (expf): Likewise.
13234 * libm/math/w_exp.c (exp): Likewise.
13235 * libm/math/wf_cosh.c (coshf): Likewise.
13236 * libm/math/w_cosh.c (cosh): Likewise.
13237 * libm/math/wf_atanh.c (atanhf): Likewise.
13238 * libm/math/w_atanh.c (atanh): Likewise.
13239 * libm/math/wf_atan2.c (atan2f): Likewise.
13240 * libm/math/w_atan2.c (atan2): Likewise.
13241 * libm/math/wf_asin.c (asinf): Likewise.
13242 * libm/math/w_asin.c (asin): Likewise.
13243 * libm/math/wf_acosh.c (acoshf): Likewise.
13244 * libm/math/w_acosh.c (acosh): Likewise.
13245 * libm/math/wf_acos.c (asocf): Likewise.
13246 * libm/math/w_acos.c (acos): Likewise.
13247 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13248 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13249 for embedded systems.
13250
13251 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13252
13253 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13254 Lea in case of a foreign sbrk.
13255
13256 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13257
13258 Incorporate Doug Lea's malloc:
13259 * libc/stdlib/mallocr.c: Completely replaced.
13260 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13261 (realloc): Remove.
13262 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
13263 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
13264 mallopt.
13265 (mallinfo, malloc_stats, mallopt): New functions.
13266 (_mstats_r): Just call _malloc_stats_r.
13267 * libc/stdlib/malign.c: New file.
13268 * libc/stdlib/mlock.c: New file.
13269 * libc/stdlib/msize.c: New file.
13270 * libc/stdlib/mtrim.c: New file.
13271 * libc/stdlib/realloc.c: New file.
13272 * libc/stdlib/valloc.c: New file.
13273 * libc/stdlib/malloc.h: Remove.
13274 * libc/stdlib/callocr.c: Remove.
13275 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
13276 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
13277 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
13278 reallocr.o, valloc.o, vallocr.o.
13279 (CHEWOUT_FILES): Add mlock.def, mstats.def.
13280 (MALLOC_CFLAGS): New variable.
13281 (mallocr.o): New target, build from mallocr.c.
13282 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
13283 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
13284 (msizer.o, malloptr.o): Likewise.
13285 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
13286 (valloc.o): New target.
13287 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
13288 * libc/include/malloc.h: Declare struct mallinfo, and new
13289 routines.
13290 * libc/include/stdlib.h (cfree): Correct declaration.
13291
13292 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
13293
13294 * libc/include/machine/setjmp.h: Add support for Thumb target.
13295
13296 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13297
13298 * configure.in (links): Add support for Thumb target.
13299
13300 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13301
13302 * libc/sys/arm/setjmp.S: Updated with version from branch.
13303
13304 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13305
13306 * libc/include/stdio.h: add POSIX-required define L_ctermid
13307 for ctermid
13308
13309 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13310
13311 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13312 addition to MISSING_SYSCALL_NAMES.
13313
13314 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13315
13316 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
13317
13318 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
13319
13320 * libc/include/string.h: change strsignal proto to return
13321 a char *. This eliminates compile problems in gdb resulting
13322 from gdb's definition of strsignal in defs.h.
13323
13324 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
13325
13326 * libc/sys/cygwin32/sys/utime.h: new (moved here from
13327 winsup/include) so as not to conflict with the one in
13328 libc/include.
13329 * libc/include/string.h: add protos for strsignal, strtosigno
13330
13331 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
13332
13333 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
13334
13335 * configure.in (d30v-*-*): Add configuration.
13336
13337 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
13338
13339 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
13340 to select which kind of debug monitor is in use for an ARM target.
13341
13342 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
13343 Angel and Demon debug monitors. Part of this code was supplied by
13344 Tony Thompson at ARM: athompso@arm.com.
13345
13346 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
13347
13348 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
13349 semantics when the count is greater than the length of the second
13350 source string.
13351
13352 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
13353
13354 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
13355 * libc/include/sys/unistd.h: add protos for usleep, truncate,
13356 truncate and ftruncate take off_t, not size_t
13357
13358 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
13359
13360 * libc/string/strcat.c (strcat): Add missing comment end.
13361 * libc/string/strncat.c (strncat): Likewise.
13362
13363 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
13364
13365 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
13366 targets.
13367 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
13368 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
13369 defined.
13370 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13371 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13372 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13373
13374 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
13375
13376 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
13377 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
13378
13379 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
13380
13381 * libc/machine/i386/setjmp.S: New file.
13382 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
13383 (OFILES): Add setjmp.o.
13384 (setjmp.o): Add rule for.
13385 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
13386
13387 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
13388 Jeffrey A Law (law@cygnus.com)
13389
13390 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
13391 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13392 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13393 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13394
13395 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
13396
13397 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
13398 rules.
13399
13400 * libc/include/sys/config.h: Use __v850 to select v850
13401 endianness.
13402
13403 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
13404 buffer size.
13405
13406 * libc/include/machine/ieeefp.h: Use __v850 to select v850
13407 endianness.
13408
13409 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
13410
13411 * libc/stdlib/setenv.c: change unsetenv definition to match
13412 style of setenv (with _DEFUN). The string should be a const.
13413 * libc/include/stdlib.h: unsetenv proto should return void.
13414
13415 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
13416
13417 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
13418
13419 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
13420
13421 * libc/stdio/glue.h: remove.
13422 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
13423 * libc/stdio/Makefile.in: remove glue.h dependencies
13424
13425 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
13426
13427 * libc/sys/sysnecv850/crt0.S: Created V850e version.
13428
13429 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
13430
13431 * configure.in (target_cpu): Add `arc'.
13432
13433 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
13434
13435 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
13436 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
13437 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
13438 * newlib/libc/reent/reent.c: Add _wrapup_reent.
13439 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
13440
13441 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
13442
13443 * libc/machine/mips/setjmp.S: Handle mips16 builds.
13444
13445 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
13446
13447 * libc/include/stdio.h (siprintf): Declare.
13448
13449 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
13450
13451 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
13452 TARGET_CFLAGS and NEWLIB_FLAGS.
13453
13454 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13455
13456 * configure.in (links): Add support for v850ea target.
13457
13458 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13459
13460 * configure.in (links): Add support for v850e target.
13461
13462 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
13463
13464 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
13465
13466 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
13467
13468 * configure.in (arc-*-*): Add support for.
13469 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
13470
13471 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13472
13473 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
13474
13475 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
13476
13477 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
13478 comparison which accesses invalid memory when the key is
13479 larger than the last member of the array.
13480 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
13481 for CYGWIN32
13482 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
13483
13484 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
13485
13486 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
13487 not _STRICT_ANSI.
13488
13489 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
13490
13491 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
13492 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
13493
13494 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
13495
13496 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
13497 to load/store memory.
13498
13499 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
13500
13501 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
13502 underscores if _WIN32.
13503
13504 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
13505
13506 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
13507 support ifdef _USE_WRITE missed in last change.
13508 From Anders Blomdell <anders.blomdell@control.lth.se>.
13509
13510 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
13511
13512 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
13513 (_tmpnam_r, _tempnam_r): Update.
13514
13515 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
13516
13517 * libc/machine/sparc/setjmp.S: New file.
13518 * libc/machine/sparc/Makefile.in: Add setjmp.
13519 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
13520
13521 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
13522
13523 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
13524
13525 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
13526
13527 From Joel Sherrill <joel@oarcorp.com>.
13528 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
13529
13530 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
13531 * configure.in: Recognize *-*-rtems*.
13532 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
13533 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
13534 time.h,times.h,types.h}: New files.
13535 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
13536
13537 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
13538
13539 patch from sos@prospect.com.ru (Sergey Okhapkin):
13540 * include/sys/wait.h: correct operator precidence bug
13541 in WIFSIGNALED
13542
13543 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
13544
13545 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
13546 with newlib's unsetenv function
13547 * libc/sys/cygwin32/sys: new directory for includes
13548 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
13549 here from winsup/include/sys
13550
13551 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
13552
13553 * libc/include/sys/unistd.h: _exit should only be
13554 labelled noreturn when not __CYGWIN32__
13555 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
13556 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
13557 increment NSIG
13558
13559 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
13560
13561 * libc/include/sys/time.h: Only define timeval and timezone if
13562 _GNU_H_WINDOWS32_SOCKETS is not defined.
13563 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
13564
13565 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
13566
13567 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
13568 * libc/machine/mn10300/setjmp.S: Likewise.
13569
13570 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
13571 the mn10300 (more relaxing opportunities).
13572
13573 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
13574
13575 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
13576 Build libraries with -mstrict-align.
13577
13578 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
13579
13580 * libc/string/strlwr.c: New file.
13581 * libc/string/strupr.c: New file.
13582 * libc/include/string.h: Declare strlwr and strupr.
13583 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
13584 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
13585 (strlwr.o, strupr.o): New targets.
13586 * libc/string/strings.tex: Include strlwr and strupr docs.
13587
13588 * libc/include/sys/types.h: Don't define u_char, et. al., if
13589 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
13590 et. al. Make FD_SETSIZE default 64 rather than 60. Define
13591 _types_fd_set rather than fd_set, and define fd_set as a macro.
13592
13593 * libc/include/malloc.h: New file.
13594
13595 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
13596 strnicmp if they are not already defined.
13597
13598 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
13599 _timezone, _daylight, and _tzname.
13600
13601 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
13602
13603 * configure.in: Sort all configuration tables.
13604
13605 From Joel Sherrill <joel@oarcorp.com>
13606 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
13607
13608 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
13609
13610 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
13611 use int when declaring kill.
13612
13613 * libc/include/sys/timeb.h: New file.
13614
13615 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
13616
13617 * libc/include/sys/time.h: add itimer support for Cygwin32
13618
13619 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
13620
13621 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
13622 out a message that abort was called to stderr.
13623
13624 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
13625
13626 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
13627 so that libio doesn't freak.
13628
13629 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
13630 int.
13631
13632 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
13633 memory sizes, not int.
13634
13635 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
13636
13637 * libm/math/ef_hypot.c: Use long constants where
13638 appropriate.
13639 * libm/math/ef_sqrt.c: Ditto.
13640
13641 * libc/sys/sysmec/times.c(_times): Change to times.
13642
13643 * libc/sys/sysmec/read.c(_read): The third argument is
13644 size_t.
13645 * libc/sys/sysmec/write.c (_write): Ditto.
13646
13647 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
13648 (_lseek): It's off_t for the second argument.
13649
13650 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
13651
13652 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
13653 as well as machine/ieeefp.h.
13654
13655 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
13656
13657 * libc/include/sys/signal.h: add signal protos for winsup
13658 functions (when __CYGWIN32__), include types.h
13659 * libc/include/sys/types.h: Change __go32_types__ internal
13660 define to __MS_types__ since it's used for more than just
13661 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
13662 defined.
13663 * libc/include/sys/unistd.h: add ftruncate proto for
13664 winsup functions (when __CYGWIN32__)
13665
13666 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
13667
13668 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
13669
13670 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
13671
13672 * libc/include/machine/setjmp.h: Add tic80 support.
13673 * libc/machine/tic80/setjmp.S: Likewise.
13674
13675 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
13676
13677 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
13678 link programs from libraries only (such as in the X11
13679 distribution)
13680
13681 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
13682
13683 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
13684 supplied elsewhere in newlib.
13685
13686 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
13687
13688 * Makefile.in (INSTALL): Change install.sh to install-sh.
13689
13690 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
13691
13692 * README: update WWW address for on-line documentation.
13693
13694 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
13695
13696 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
13697 increment NSIG
13698
13699 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
13700
13701 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
13702 mn10300.
13703 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
13704
13705 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
13706
13707 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
13708 * libc/sys/d10v/syscalls.c: Likewise.
13709 * libc/sys/h8300hms/sbrk.c: Likewise.
13710 * libc/sys/h8500hms/syscalls.c: Likewise.
13711 * libc/sys/m88kbug/syscalls.c: Likewise.
13712 * libc/sys/sh/syscalls.c: Likewise.
13713 * libc/sys/sysmec/sbrk.c: Likewise.
13714 * libc/sys/sysnecv850/sbrk.c: Likewise.
13715 * libc/sys/w65/syscalls.c: Likewise.
13716 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
13717
13718 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
13719
13720 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
13721 emulated syscall instead of "trap".
13722
13723 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
13724
13725 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
13726 not trap 0.
13727
13728 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
13729
13730 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
13731
13732 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
13733
13734 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
13735 not "sh".
13736 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
13737 not "d10v".
13738 * libc/sys/tic80/crt0.c: New file for TIc80.
13739 * libc/sys/tic80/Makefile.in: New file for TIc80.
13740 * libc/machine/tic80/Makefile.in: New file for TIc80.
13741
13742 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
13743
13744 * libc/machine/sh/memcpy.S: New file.
13745 * libc/machine/sh/memset.S: New file.
13746 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
13747
13748 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
13749
13750 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
13751 for TIc80.
13752
13753 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
13754
13755 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
13756 the mn10200.
13757
13758 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
13759
13760 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
13761 (patch from andrew@pogo.WV.TEK.COM).
13762
13763 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
13764
13765 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
13766 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
13767
13768 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
13769
13770 * configure.in: Add cases for "tic80" to set machine_dir,
13771 sys_dir, and syscall_dir.
13772
13773 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
13774
13775 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
13776
13777 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
13778
13779 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
13780
13781 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
13782
13783 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
13784 Use proper constant prefix.
13785
13786 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
13787
13788 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
13789 that loses on the mn10200 where ints and pointers are different
13790 sizes.
13791
13792 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
13793
13794 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
13795 target as signal is provided in winsup.
13796
13797 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
13798
13799 * libc/include/sys/process.h: Corrected const definitions
13800 in spawn functions. Added cwait.
13801
13802 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
13803
13804 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
13805 doubles.
13806 * libc/include/sys/config.h: Similarly.
13807
13808 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13809
13810 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
13811 target_cflags.
13812 (i[3456]86-*-sco*): Ditto.
13813
13814 * libc/signal/Makefile.in (OFILES): Add signal.o.
13815 (CFILES): Add signal.c.
13816
13817 * libc/signal/raise.c (_raise_r): Only compile code if
13818 SIGNAL_PROVIDED is defined.
13819
13820 * libc/signal/signal.c: Redo whole file so that it works with
13821 current newlib. Use _kill_r if no signal handler provided.
13822
13823 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
13824 signal stubs.
13825 * libc/sys/sysvnecv70/Makefile.in: Ditto.
13826 * libc/sys/sysnecv850/Makefile.in: Ditto.
13827
13828 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
13829 * libc/sys/sysmec/{raise,signal}.c: Ditto.
13830 * libc/sys/sysvnecv70/signal.s: Ditto.
13831 * libc/sys/sysnecv850/raise.c: Ditto.
13832
13833 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
13834 simulator and debugger can tell the difference between a signal
13835 being raised and an exit system call.
13836
13837 * NEWS: Document software signals being provided.
13838
13839 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13840
13841 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
13842 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
13843 include/sys/config.h.
13844 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
13845 Change from 'inpure_data'.
13846 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
13847 &impure_data, not &inpure_data.
13848
13849 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
13850 and and System V ABI, define so that _impure_ptr lives in the
13851 .sdata section.
13852
13853 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13854
13855 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
13856 nothing if not defined.
13857 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
13858 its attributes.
13859
13860 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
13861
13862 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
13863
13864 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
13865 * libc/sys/sysmec/trap.s: Handle mn10200 too.
13866 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
13867
13868 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
13869
13870 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
13871
13872 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
13873
13874 * libc/include/sys/errno.h: Added net errno's.
13875
13876 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13877
13878 * libc/misc/ffs.c: New file to support ffs function for GCC test
13879 gcc.c-torture/execute/960909-1.c.
13880
13881 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
13882
13883 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
13884
13885 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
13886 * libc/sys/sysmec/trap.S: Likewise.
13887
13888 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
13889
13890 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
13891 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
13892
13893 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
13894
13895 * libc/sys/sysmec/signal.c: Dummy file.
13896 * libc/sys/sysmec/Makefile.in: Build it.
13897
13898 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
13899
13900 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
13901 mips16.
13902
13903 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
13904
13905 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
13906 c-startup and simulator traps.
13907
13908
13909 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
13910 * libc/sys/sysmec/trap0.S: Likewise.
13911
13912 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13913
13914 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
13915 round to double word alignment.
13916 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
13917 byte alignment.
13918
13919 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
13920
13921 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
13922 out of memory.
13923
13924 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
13925
13926 * configure.in: Handle mn10200 and mn10300.
13927 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
13928 * libc/include/sys/config.h: Likewise.
13929 * libc/sys/sysmec: New directory for mec stuff.
13930 * libc/machine/mn10300: New directory for mn10300 stuff.
13931 * libc/machine/mn10200: Similarly for mn10200 stuff.
13932
13933 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
13934
13935 * libc/sys/arm/crt0.S: Use .text, not .section .text.
13936 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
13937
13938 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
13939 (nlink_t): Change type from unsigned int to unsigned short.
13940 (mode_t): Ensure size is 32 bits even if int is 16.
13941 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
13942 (st_spare[123]): Change type from int to long.
13943
13944 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13945
13946 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
13947 byte boundary.
13948
13949 * configure.in (d10v*): Define SMALL_MEMORY.
13950
13951 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13952
13953 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
13954 -mrelocatable-lib and -mno-eabi flags.
13955
13956 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
13957
13958 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
13959 Fix handling of mis-aligned source operand when both the
13960 destination & length are properly aligned.
13961
13962 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
13963
13964 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
13965 times.o, time.o and gettime.o
13966 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
13967 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
13968 SYS_gettimeofday.
13969
13970 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
13971
13972 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
13973 * libc/sys/sysnecv850/access.c: New file.
13974
13975 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
13976
13977 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
13978
13979 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
13980 long.
13981
13982 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
13983
13984 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
13985
13986 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
13987
13988 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
13989 * libc/include/sys/config.h: Add m32r support.
13990
13991 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
13992
13993 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
13994 here.
13995
13996 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
13997
13998 * libc/include/machine/setjmp.h: Add D10v support.
13999
14000 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14001
14002 * configure.in: Configure the "libc/syscalls" directory for
14003 the v850.
14004
14005 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14006 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14007 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14008 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14009 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14010
14011 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14012
14013 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14014 stack for args for main and other routines. Zero out args for
14015 main.
14016
14017 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14018 correctly.
14019
14020 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14021
14022 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14023 function.
14024
14025 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14026
14027 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14028 real system calls now.
14029
14030 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14031 before casting them to int.
14032 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14033
14034 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14035 aligning pointer.
14036 * libc/string/memset.c (memset): Ditto.
14037
14038 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14039 first convert ints to _POINTER_INT to eliminate GCC warning.
14040
14041 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14042 processing %p.
14043
14044 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14045 from 65000 if ints are only 16 bits.
14046
14047 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14048 from 50000 if ints are only 16 bits.
14049
14050 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14051 int type that is the same size as a pointer.
14052
14053 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14054 processing %p.
14055 (get_number): Explicitly cast number to long before shifting by 16
14056 or 24, in case ints are short.
14057
14058 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14059
14060 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14061
14062 * libc/string.h: Added ffs, removed swab.
14063 * libc/sys/errno.h: Added EOPNOTSUPP.
14064 * libc/sys/unistd.h: Added swab.
14065
14066 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14067
14068 * libc/include/sys/stat.h: Added fchmod.
14069 * libc/include/sys/unistd.h: Added fsync.
14070
14071 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14072
14073 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14074 and ECONNRESET (104) for cygwin32.
14075
14076 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14077
14078 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14079 do the static destructors.
14080
14081 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14082
14083 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14084
14085 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14086
14087 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14088 * configure.in: Recognize m32r-*-*.
14089
14090 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14091
14092 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
14093 __rt_stkovf_split_small): Added default software stack overflow
14094 handlers, which just call SWI_Exit.
14095 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
14096 limit initialisation.
14097
14098 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14099
14100 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14101
14102 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14103
14104 * libc/include/sys/types.h: Added ssize_t definition.
14105
14106 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14107
14108 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14109 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14110
14111 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14112 branch around a single ldi instruction.
14113
14114 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14115 Call exit, instead of just issuing a stop instruction.
14116
14117 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14118
14119 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14120
14121 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14122
14123 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14124 longs, and then cast them to __uint32_t.
14125
14126 * libc/include/sys/config.h: Protect against multiple inclusions.
14127
14128 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14129
14130 * configure.in (d10v*): Set syscall_dir.
14131
14132 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14133
14134 * libc/sys/d10v/crt0.S: Set stack pointer.
14135
14136 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14137
14138 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14139 in assembly for efficiency. Change calling convention to allow
14140 long ints to be returned.
14141
14142 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14143
14144 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14145
14146 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14147
14148 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14149 Handle empty entries in $PATH.
14150
14151 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14152
14153 * libc/machine/d10v/setjmp.S: Make it really work.
14154
14155 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14156
14157 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14158 the .stack section.
14159
14160 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14161
14162 * sys/sysnecv850/sys/file.h: Remove.
14163 * sys/sysnecv850/sys/syscall.h: New file.
14164 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14165 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14166 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14167 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14168 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14169 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14170 * sys/sysnec850/trap.S: New file.
14171 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14172 syscalls.
14173 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14174 * sys/sysnec850/sbrk.c: New version.
14175
14176 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14177
14178 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14179 as long as r6 is less than r7.
14180
14181 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14182
14183 * Makefile.in (mostlyclean): Separate from clean target. Don't
14184 remove *.a or targ-include.
14185 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14186
14187 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14188
14189 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14190 d10v.
14191 (__SMALL_BITFIELDS): Ditto.
14192
14193 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14194
14195 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14196
14197 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14198 prefix.
14199
14200 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14201 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14202 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14203 * libc/sys/sysnecv850/write.c (write): Likewise.
14204
14205 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14206 .bss.
14207
14208 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14209
14210 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14211 appropriately for D10V, depending on -mint16/-mint32.
14212
14213 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14214
14215 * configure.in: Add cases for D10V.
14216
14217 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14218
14219 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14220
14221 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14222
14223 * libc/include/machine/ieeefp.h: Fix typo.
14224
14225 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14226
14227 * libc/sys/d10v: New directory for D10V stuff.
14228 * libc/include/machine/ieeefp.h: Add D10V defines.
14229
14230 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14231
14232 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14233 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14234 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14235 * libc/string/strerror.c (strerror): Add them.
14236
14237 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14238
14239 * libc/sys/sysnecv850: New directory for v850 stuff.
14240
14241 * libc/machine/v850: New directory for v850 stuff.
14242 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14243
14244 * configure.in: Add support for the v850.
14245
14246 * libc/include/machine/ieeefp.h: Add v850 defines.
14247 * libc/include/machine/setjmp.h: Likewise.
14248 * libc/include/sys/config.h: Add v850 defines.
14249
14250 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14251
14252 * libc/include/machine/ieeefp.h
14253 * libc/include/machine/setjmp.h
14254 * libc/include/sys/fcntl.h
14255 * libc/include/sys/signal.h
14256 * libc/include/sys/types.h
14257 * libc/stdlib/system.c:
14258 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14259 API availability, __CYGWIN32__ for cygwin32 environment specific).
14260
14261 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14262
14263 * libc/include/stdlib.h: add multibyte character functions. Add
14264 __eprintf for assert.
14265
14266 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14267
14268 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
14269 arithmetic or __alignof__ to properly get the alignment, instead
14270 of hardwiring it to 4.
14271
14272 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
14273
14274 * libc/stdio/fseek.c: add fflush call to adjust seek offset
14275 on append stream (fix from NetBSD sources), adjust curoff offset
14276 for ungetc's benefit.
14277 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
14278 * libc/stdio/rewind.c: replace code with up to date NetBSD
14279 code to undo hacks made to work around above problem of not
14280 having fflush call mentioned above
14281
14282 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14283
14284 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
14285 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
14286 Partially revert last changes. The thread specific errno is set
14287 iff if the underlying syscall fails and the global errno is not
14288 zero.
14289
14290 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14291
14292 * libc/reent/filer.c: Removed files, all functions have split out
14293 into their own files.
14294 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
14295 New files containing functions formally in filer.c
14296 * libc/reent/Makefile.in: Updated for above change.
14297
14298 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
14299 syscall fails, not if errno is changed.
14300 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
14301 _write_r): Likewise.
14302 * libc/reent/fstatr.c (_fstat_r): Likewise.
14303 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14304 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14305 * libc/reent/signalr.c (_kill_r): Likewise.
14306 * libc/reent/statr.c (_stat_r): Likewise.
14307 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14308
14309 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
14310 signalr.c, statr.c, timer.c} (errno): declare extern rather
14311 than as a common.
14312
14313 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
14314 instead of calling vfprintf so that i*printf will not require
14315 floating point support code.
14316
14317 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
14318
14319 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
14320 path delimiter.
14321 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
14322 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
14323
14324 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
14325
14326 * libc/include/signal.h: _sig_func_ptr function takes an int
14327 * libc/include/sys/signal.h: sa_handler function takes an int
14328
14329 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
14330
14331 * libc/include/machine/ieeefp.h: Simplify H8/S support.
14332 * libc/include/sys/config.h: Add missing H8/S conditional.
14333
14334 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
14335
14336 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
14337
14338 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
14339
14340 * libc/include/machine/setjmp.h: Handle H8/S.
14341 * libc/include/machine/ieeefp.h: Likewise.
14342 * libc/include/sys/config.h: Likewise.
14343 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
14344 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
14345 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
14346 * libc/sys/h8300hms/crt0.S: Likewise.
14347
14348 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
14349
14350 * Makefile.in (datadir): Set to $(prefix)/share.
14351 (oldincludedir, docdir): Removed.
14352 * doc/Makefile.in (datadir): Set to $(prefix)/share.
14353 (oldincludedir, docdir): Removed.
14354 * libc/Makefile.in (datadir): Set to $(prefix)/share.
14355 (oldincludedir, docdir): Removed.
14356 * libm/Makefile.in (datadir): Set to $(prefix)/share.
14357 (oldincludedir, docdir): Removed.
14358
14359 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
14360
14361 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
14362 _reent struct.
14363
14364 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
14365
14366 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
14367 fetch current path rules with sysconf and handler posix/win32
14368 appropriately.
14369
14370 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
14371
14372 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
14373 (WAIT_CHILD): Always define.
14374
14375 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
14376
14377 * libc/stdlib/eprintf.c: New file.
14378 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
14379 (eprintf.o): New target.
14380
14381 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
14382
14383 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
14384 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
14385
14386 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
14387
14388 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
14389 NT in PowerPC endianess cases.
14390
14391 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14392
14393 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
14394
14395 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14396
14397 * libc/string/strtok.c: Fix doc typo.
14398
14399 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14400
14401 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
14402 _next, _scanpoint, _signgam fields.
14403
14404 * libc/include/stdlib.h (rand_r): Added new declaration.
14405 (_rand_r, _srand_r): Removed declarations.
14406 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
14407 have been made obsolete by rand_r.
14408 * libc/stdlib/rand_r.c: New file, rand_r function as specified
14409 by POSIX.1c.
14410
14411 * libc/string/strtok.c: Update documentation to describe
14412 strtok_r().
14413
14414 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
14415
14416 * libc/include/sys/stat.h (stat structure): Use the expanded stat
14417 structure on Solaris, and PowerPC systems even though __svr4__ is
14418 defined.
14419
14420 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
14421
14422 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
14423
14424 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
14425
14426 * host/any: Use ../.. rather than .. to get to the main build
14427 directory. This matches the current layout of the build
14428 directory.
14429
14430 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
14431
14432 * libc/machine/h8300/__main.S: Delete. No longer needed.
14433 * libc/machine/h8300/Makefile.in: Corresponding changes.
14434 * libc/sys/h8300hms/crt1.c: New file.
14435 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
14436 * libc/sys/h8300hms/crt0.s: Call __main.
14437
14438 * libc/sys/h8300hms/crt0.S: Use temporary label names
14439 for branch targets.
14440
14441 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
14442
14443 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
14444
14445 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14446
14447 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
14448 .sdata on the PowerPC so that we can link newlib with code
14449 compiled with -msdata.
14450
14451 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
14452
14453 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
14454
14455 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
14456
14457 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
14458 exception handler to __cygwin_exception_handler.
14459
14460 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
14461
14462 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
14463
14464 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
14465
14466 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
14467 SunOS VPATH.
14468 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
14469 wcstombs.o): Likewise.
14470
14471 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
14472
14473 * libc/stdlib/environ.c (initial_env): New static local.
14474 (environ): Point to `initial_env'.
14475
14476 * libc/include/machine/setjmp.h: Clean up.
14477 (__H8300H__,__PPC__): Define _JBTYPE.
14478 (__arm__): Provide entry for.
14479 (sigjmp_buf): Delete.
14480 (jmp_buf): Use _JBTYPE if defined, otherwise int.
14481
14482 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
14483
14484 * libc/machine/h8300/strcmp.S: Sign extend the result to
14485 32bits so we don't lose with -mint32.
14486
14487 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
14488
14489 * libc/sys/go32/sys/errno.h: New file.
14490 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
14491 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
14492 errno's address (make compatible with rest of newlib).
14493 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
14494 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
14495
14496 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
14497
14498 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
14499 * libc/machine/sparc/Makefile.in: Build them.
14500 * libc/machine/sparc/machine/sparclet.h: New file.
14501
14502 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14503
14504 * libc/machine/sh/asm.h: New file.
14505 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
14506 support for SH3e's FP registers. Use asm.h.
14507
14508 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
14509
14510 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
14511 as first argument. Call _dtoa_r and pass the reent structure
14512 instead of calling __dtoa.
14513
14514 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
14515
14516 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
14517 the h8300, h8500, and others. Add comments for some rather
14518 dubious code.
14519
14520 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
14521
14522 * Makefile.in (check): Check that testsuite exists before cd.
14523
14524 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14525
14526 * libc/include/string.h (strsep): Correct prototype.
14527
14528 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
14529
14530 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
14531 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
14532 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
14533
14534 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
14535
14536 * libc/posix/{creat.c,isatty.c}: New files.
14537 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
14538
14539 * libc/sys/sparc64/crt0.S (environ): Delete.
14540 (.LHaveBias): Renamed from HaveBias.
14541
14542 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
14543
14544 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
14545 (_morecore_r): Delete SBRK_IS_ALLOC support.
14546
14547 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14548
14549 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
14550 module rather than touch, so we don't get warning messages when
14551 all of the libraries are combined into libc.a.
14552
14553 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
14554
14555 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
14556 crt0.s replaced by version in libgloss.
14557
14558 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14559
14560 * libc/reent/Makefile.in (OFILES): Add impure.o.
14561 * libc/reent/impure.o: New file, define initial reentrancy struct.
14562 * libc/reent/reent.c: Remove above definition.
14563
14564 * libm/math/sf_asinh.c: Fix typo.
14565
14566 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
14567 srf_ldexp.o.
14568
14569 * libm/libm.texinfo: Change documentation to reflect changes
14570 in reentrancy model.
14571 * libm/math/w_gamma.c: Likewise.
14572
14573 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
14574
14575 * configure.in (*-*-cygwin32): New.
14576 (*-*-win32): Deleted.
14577 * libc/sys/win32 renamed libc/sys/cygwin32.
14578
14579 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14580
14581 * libc/include/sys/file.h: New include file.
14582
14583 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
14584
14585 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
14586
14587 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
14588
14589 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
14590
14591 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14592
14593 * doc/makedoc.c (realloc): Declare at file scope.
14594 (catchar): Not here.
14595
14596 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
14597
14598 * Makefile.in (VERSION): Update to 1.7.0.
14599 * {libc,libm}/Makefile.in (VERSION): Likewise.
14600 * configure.in: Minor clean up of multilib stuff.
14601
14602 From David Johnson <davidj@ICSI.Berkeley.EDU>
14603 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
14604
14605 * libc/stdlib/environ.c: New file.
14606 * libc/stdlib/Makefile.in (OFILES): Build it.
14607 * libc/sys/h8500hms/crt0.c (environ): Deleted.
14608 * libc/sys/m88kbug/crt0.c (environ): Deleted.
14609 * libc/sys/z8ksim/crt0.c (environ): Deleted.
14610 * libc/sys/netware/environ.c: Deleted.
14611
14612 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
14613
14614 * configure.in (links): set sys_dir, posix_dir, syscall_dir
14615
14616 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14617
14618 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
14619 declaration out to external scope and declare it PTR, not char *.
14620
14621 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
14622
14623 * libc/include/sys/unistd.h (getpagesize): New declaration.
14624 (_SC_PAGESIZE): New definition.
14625 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
14626 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
14627
14628 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
14629
14630 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
14631 addressing. System call returns size, not (last address + 1).
14632
14633 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14634
14635 * libm/math/*.c: Removed _foo_r() reentrancy API.
14636 * libc/include/math.h: Removed _foo_r prototypes and macros.
14637
14638 * libm/math/*.c: On systems with IEEE single precision "doubles"
14639 move foo() -> foof() wrapper code from the files that implement
14640 the standard IEEE double precision functions to the files that
14641 implement IEEE single precision functions. (ie. On those systems
14642 sin is moved from s_sin.c to sf_sin.c). There should eventually
14643 be use of a C extension (like gcc's alias attribute) so that the
14644 wrappers are not needed at all.
14645
14646 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
14647 strict NEC V810 compiler.
14648 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
14649 for same reason.
14650
14651 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14652
14653 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
14654 from NetBSD C library.
14655 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
14656
14657 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
14658 and adapted from implementation I wrote for NetBSD C library.
14659 The difference is __assert doesn't take a format argument,
14660 so that there won't be multiple copies of the same string
14661 constant in the executable if assertions are enabled in
14662 more than one source module.
14663 * libc/include/assert.h (assert): Changed to call __assert.
14664
14665 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14666
14667 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
14668 word1 on systems with 32 bit doubles.
14669 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
14670 so that we can do arithmetic on them.
14671 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
14672 compilers.
14673
14674 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
14675
14676 * libc/sys/arm/crt0.S: Zero bss.
14677
14678 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
14679
14680 * libc/include/unctrl.h: New file.
14681 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
14682 * configure.in (subdirs): Add libc/misc.
14683 * libc/Makefile.in (SUBDIRS): Add misc.
14684 (SUBLIBS): Add misc/lib.a.
14685
14686 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
14687
14688 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
14689
14690 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
14691 (_vfprintf_r): Call CHECK_INIT.
14692
14693 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
14694
14695 * Makefile.in (MULTITOP): Delete.
14696 (MULTISRCTOP, MULTIBUILDTOP): Add.
14697 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
14698 instead of cfg-ml-pos.in.
14699
14700 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14701
14702 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
14703 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
14704 presence.
14705
14706 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14707
14708 * libc/string/strtok.c: Include string.h to pick up strtok_r
14709 prototype.
14710
14711 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14712
14713 * libc/string/strtok.c: include <_ansi.h>.
14714 * libc/time/asctime_r.c: `reresult' -> `result'.
14715
14716 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14717
14718 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
14719 in #ifndef _REENT_ONLY ... #endif conditional.
14720
14721 * libc/include/string.h (_strtok_r): Remove declaration.
14722 * libc/include/time.h (_asctime_r): Remove declaration.
14723 * libc/string/strtok.c (_strtok_r): Removed.
14724 * libc/time/asctime.c (_asctime_r): Removed.
14725
14726 * libc/string/Makefile.in (OFILES): Add new object.
14727 * libc/string/strtok_r.c: New file. strtok_r function as
14728 specified by POSIX.1c, adapted from strtok implementation
14729 from NetBSD C library.
14730 * libc/string/strtok.c (strtok): Reimplemented in terms of
14731 strtok_r.
14732
14733 * libc/time/Makefile.in (OFILES): Add new objects.
14734 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
14735 New files, reentrant time functions specified by POSIX.1c.
14736 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
14737 reentrant time functions re-written in terms of reentrant
14738 functions.
14739 * libc/time/lcltime.c: Renamed from localtime.c
14740
14741 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
14742 gmtime_r, and localtime_r.
14743
14744 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
14745
14746 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
14747 * libc/include/sys/unistd.h (getlogin): Revert change of
14748 Oct 19.
14749 * libc/include/sys/signal.h (sigprocmask): Change prototype
14750 so it compiles with c++.
14751
14752 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
14753
14754 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
14755 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
14756 to give some room in case we need to align the jmp_buf.
14757
14758 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
14759 the new ppc-asm.h include file the compiler provides to specify
14760 function prologue/epilogue. Eliminate saves of the xer and ctr
14761 registers, which are volatile. Before starting to save registers,
14762 align to 8 byte boundary.
14763
14764 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14765
14766 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
14767 referenced by standard libraries.
14768
14769 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
14770
14771 * libc/unix/Makefile.in, libc/string/Makefile.in,
14772 libc/stdio/Makefile.in, libc/reent/Makefile.in,
14773 libc/posix/Makefile.in:
14774 Remove tabs from otherwise empty line. Confuses some
14775 older non-GNU versions of "make".
14776
14777 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
14778
14779 * libc/sys/unistd.h (getlogin): Returns const char *.
14780
14781 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
14782
14783 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
14784 * libc/include/errno.h: Moved into and include...
14785 * libc/include/sys/errno.h: New file.
14786 * libc/include/sys/wait.h: New file.
14787 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
14788 * libc/sys/win32/*: Moved out.
14789 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
14790 * configure.in (i[345]86-*-win32): HAVE_RENAME
14791
14792 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
14793
14794 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
14795 avoid macro expansion for these two names.
14796
14797 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
14798
14799 * libc/machine/h8500/psi.S: r6 renamed to fp.
14800
14801 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14802
14803 * configure.in (powerpc*): No longer need to define
14804 NO_LONGLONG_POINTERS to supress warnings.
14805
14806 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14807
14808 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
14809 through PTR instead of directly.
14810
14811 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
14812 non-standard constructor support.
14813
14814 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14815
14816 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
14817 address of the Bigint instead of the address of its _x field,
14818 as the size the result buffer was calculated accordingly.
14819 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
14820
14821 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
14822 from NetBSD C library. No longer special cases division by
14823 zero (which needs to be done by the application anyway), but
14824 it doesn't need to call abs() (or labs()) four times either.
14825
14826 * libc/stdlib/qsort.c: Replaced with implementation from
14827 NetBSD C library.
14828
14829 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14830
14831 * libc/stdio/vfprintf.c: Replaced with implementation from
14832 NetBSD C library (which is derived from the 4.4BSD C library).
14833 * libc/stdio/cvt.c: Removed.
14834 * libc/stdio/Makefile: Updated.
14835
14836 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
14837
14838 * libc/sys/win32/syscalls.c (rename): New.
14839 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
14840
14841 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14842
14843 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
14844 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
14845
14846 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
14847 (setjmp.o): Delete rule to build setjmp.o.
14848 * libc/sys/sh/setjmp.S: Delete file.
14849
14850 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14851
14852 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
14853 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
14854 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
14855 pow5mult and s2b to identifiers with leading underscores.
14856 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
14857 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
14858
14859 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
14860
14861 * libc/sys/posix/popen.c (sys/types.h): Include.
14862
14863 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
14864
14865 * libc/sys/win32/syscalls.h (fhandler): New struct.
14866 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
14867 (__fhandler_normal): Declare.
14868 (hinfo): New member op_handlers.
14869 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
14870 (__write): Likewise.
14871 (_read, _write, _open, _close, _lseek): Validate fd here.
14872 Move file type specific stuff to foo_normal.
14873 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
14874 New functions.
14875 (__lookup_fhandler): New function.
14876 (__lookup_fhandler_hook, __fhandler_normal): New variables.
14877
14878 From anders.blomdell@control.lth.se (Anders Blomdell)
14879 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
14880 Don't touch standard handles.
14881 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
14882 (_execve): Only create __FD_TABLE__ if necessary.
14883 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
14884
14885 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
14886
14887 * libc/sys/win32/sys/termios.h (FLUSHO): New.
14888 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
14889 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
14890 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
14891 without a handler is received.
14892 * libc/sys/win32/Makefile.in: Remove --nodelete.
14893 * libc/sys/win32/resouce.c (gettimeofday): New.
14894 * libc/sys/win32/syscalls.c (path_to_real_path): New.
14895 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
14896
14897 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
14898
14899 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
14900 Don't append "/*" to search pattern if trailing '/' already there,
14901 append "*".
14902 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
14903 like /'s, convert them to \'s. Handle //<drive>/ path names.
14904 Add space for quoted \'s in arg string. Print translated prog name
14905 and original prog name.
14906 (_execve): Handle parent doing exec a teensy bit better.
14907 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
14908 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
14909 path needs conversion, handle both cases. Delete `const' from result.
14910 (hash_path_name): New function.
14911 (_open): Call it.
14912 (_stat): Likewise. Fill in more fields for directories.
14913 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
14914 (wait_for_any): Fix trace message.
14915 (waitpid): Explicitly test for intpid == 0.
14916
14917 From anders.blomdell@control.lth.se (Anders Blomdell)
14918 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
14919 so `next' is valid.
14920
14921 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
14922
14923 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
14924 complicated.
14925
14926 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14927
14928 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
14929 at all, not just == 1.
14930 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
14931
14932 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14933
14934 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
14935 * libc/sys/win32/include/wintypes.h: include <winnt.h>
14936 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
14937 file.
14938
14939 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14940
14941 * libc/sys/syscalls.c (getcwd): Fix off by one error.
14942
14943 * libc/sys/signal.c (sleep): Fill it in.
14944 * libc/sys/termios.c (tcflush): Use PurgeComm
14945 (tcsetattr): Set some more of the bits.
14946 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
14947
14948 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
14949
14950 * libc/sys/arm/crt0.S (fp): Initialize to 0.
14951 Conditionally include .idata$3 stuff ifdef __pe__.
14952
14953 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14954
14955 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
14956 * libc/sys/win32/pipe.c (pipe): Ditto.
14957 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
14958 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
14959 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
14960 (tcgetattr): Contents are new.
14961 * libc/sys/win32/include/winkernel.h (DCB): New.
14962 (GetCommState, SetCommState): New.
14963
14964 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
14965
14966 * libc/sys/arm/crt0.S (_start): Define.
14967
14968 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
14969
14970 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
14971 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
14972
14973 * libc/sys/win32/sysconf.c: New
14974 * libc/sys/win32/sys/winadvapi.h: New
14975 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
14976 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
14977 * libc/sys/win32/pipe.c (pipe): Ditto.
14978 * libc/sys/win32/signal.c (_raise): New.
14979 (_kill): Moved from spawn.c
14980 * libc/sys/win32/spawn.c (kill): Moved to signal.c
14981 * libc/sys/win32/syscalls.c (__read): Use new fields.
14982 (_open): Ditto.
14983 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
14984 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
14985 * libc/include/sys/unistd.h (rmdir): Takes const path.
14986 * libc/include/sys/stat.h (mkdir): Takes const path.
14987 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
14988
14989 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
14990
14991 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
14992
14993 Add support for specifying paths as //<drive>/foo/bar.
14994 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
14995 (__path_to_real_path): Declare.
14996 (PATH_TO_REAL_PATH): New macro.
14997 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
14998 (__path_needs_conversion_p, __path_to_real_path): New functions.
14999 (_open): Fix test for error return from CreateFileA.
15000 Handle new path syntax.
15001 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15002 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15003
15004 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15005
15006 * libc/sys/win32/include/*.h: Reorganized
15007 * libc/sys/win32/include/WINREADME: New.
15008 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15009 * libc/sys/win32/*.c: Fix for new include scheme.
15010 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15011 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15012 * libc/sys/win32/passwd.c (*): Fix.
15013 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15014 (_stat): Get directory owner and permissions right.
15015 * libc/sys/win32/syscalls.h (uinfo): New.
15016 * libc/sys/win32/version.def: Remove leading underscores.
15017
15018 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15019
15020 * libc/sys/win32/key.c: include "include/wincon.h".
15021
15022 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15023
15024 * libc/sys/win32/{key, stubs}.c: New.
15025 * libc/sys/win32/Makefile: Adjust to cope.
15026 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15027 (environ_init): Change env names to upper case.
15028 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15029 * libc/sys/win32/passwd.c (*): Fill in the functions.
15030 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15031 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15032 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15033 (_open): Initialze hmap->execable_p too.
15034 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15035 (_fstat): Fill in permissions.
15036 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15037
15038 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15039
15040 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15041 if defined.
15042 (cfg-ml-pos.in invocation): Likewise.
15043
15044 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15045
15046 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15047 s_isnan.o and sf_isnan.o.
15048
15049 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15050
15051 * All Makefile.in files: added maintainer-clean target as a
15052 synonym for realclean.
15053
15054 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15055
15056 * libc/include/machine/setjmp.h: Add hppa support.
15057 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15058 support.
15059 * libc/machine/hppa/Makefile.in: Related changes.
15060
15061 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15062
15063 * configure.in (machine_dir): Don't set for v810-*-*.
15064
15065 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15066
15067 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15068 conventions correctly.
15069
15070 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15071
15072 * libc/stdio/puts.c: Update documentation of return value to match
15073 ANSI standard.
15074
15075 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15076
15077 Fix file descriptor inheritance.
15078 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15079 (NOT_OPEN_FD): Fix.
15080 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15081 close-on-exec flag not set. Initialize child's entire fd table.
15082 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15083 CHILD_P.
15084 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15085 if CHILD_P. Initialize entire hmap entry.
15086 (dup): Only create new handle as inheritable if CHILD_P.
15087 (dup2): Likewise. Properly initialize hmap entry.
15088
15089 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15090 _spawn.
15091 (_exit): Use CHILD_P.
15092 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15093 (_stat): Likewise.
15094
15095 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15096
15097 * libc/sys/win32/crt0.c (passover): fix up the state table.
15098 * libc/posix/popen.c: Added.
15099 * libc/posix/Makefile.in: compile popen.c.
15100
15101 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15102
15103 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15104 h8/500 define _DOUBLE_IS_32BITS.
15105
15106 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15107
15108 Get vfork/exec/spawn/cwait/wait working again.
15109 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15110 (procinfo): New member vfork_level.
15111 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15112 (vfork_init_first): Use GetCurrentProcessId to get pid.
15113 Initialize vfork_level.
15114 (vfork_init): Delete __PID__.
15115 (environ_init): New function. Undo patch of Aug 19, Posix says
15116 environment variables are case sensitive.
15117 (mainCRTStartup): Call it.
15118 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15119 (my_longjump: Make static.
15120 (_spawn): New argument `h'. Delete setting of __PID__.
15121 Delete local `idx'. Look for chars that need quotes, rather than
15122 ones that don't. Set handle of created process in `h'.
15123 Result is process id if created task.
15124 (allocate_spawn_entry): New function.
15125 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15126 (_execve): Set __FD_TABLE__ before spawning child.
15127 Scan our fd table when passing fds, not our parent's.
15128 Store handle and pid in procinfo entry.
15129 (vfork0): Ensure strace message always printed.
15130 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15131 (vfork): Don't clobber result of vfork0.
15132 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15133 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15134
15135 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15136 and `exit_code'.
15137 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15138 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
15139 adding vfork level to pseudo-pid.
15140 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15141 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15142 (_exit): If child, set exit code.
15143 (__vfork_record_death): Only close process handle if valid.
15144 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15145 didn't exec.
15146 (wait_for_any): Likewise. Start scan after root entry.
15147
15148 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15149
15150 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15151 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15152 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15153 of actual file length.
15154
15155 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15156 * libc/include/paths.h: _PATH_BSHELL added.
15157 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15158 and STDERR_FILENO.
15159
15160 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15161
15162 * libc/include/ar.h: Added.
15163 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15164 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15165 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15166 on filename.
15167 (_fstat): use .namehash for inode number of the fd.
15168
15169 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15170
15171 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15172 Change hinfo to __this_procinfo.
15173 * libc/sys/win32/crt0.c: Remove procinfo_list.
15174
15175 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15176
15177 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15178 win32 environment.
15179
15180 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15181
15182 * libc/sys/win32/include/grp.h: Removed.
15183 * libc/sys/include/grp.h: Added.
15184 * libc/sys/win32/grp.c: Include <grp.h>.
15185
15186 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15187
15188 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15189 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15190 Defined for all but strict ANSI.
15191 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15192 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15193 * libc/signal/signal.c (_signal_r): Changed from using
15194 _MAX_SIGNALS to NSIG.
15195 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15196 __hmap): Deleted.
15197 (__strace, __vfork_next_pid): New.
15198 (__exe_suffix): Default to 1.
15199 (passover, table): Understand quoted arguments.
15200 (vfork_init_first): New.
15201 (vfork_init): Initialize new process structure.
15202 (mainCRTStartup): Pass environ to main.
15203 * exceptions.c (__sig_mask): New
15204 (ehandler3): Ignore signals in mask.
15205 (really_exit): Remove CHILD_P test.
15206 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15207 * resource.c (getrusage): Ditto.
15208 * signal.c (sigprocmask): New.
15209 * spawn.c (*): Rewritten.
15210 * syscalls.c (*): Use new process and file structure.
15211 (find_unused_handle): New.
15212 * syscalls.h (MAX_HANDLES): Deleted.
15213 (hinfo): Removed child_created_p.
15214 (MAX_CHILDREN): Deleted.
15215 (vfork_jmp_info, procinfo): New.
15216 * wait.c (*): Mostly new.
15217 * sys/strace.h (_STRACE_PARANOID): New.
15218 * sys/param.h: New file.
15219
15220 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15221
15222 * libc/include/sys/stat.h: add S_BLKSIZE.
15223 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15224 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15225 types under win32.
15226 (mode_t): add a #else to avoid multiple definitons.
15227
15228 * libc/sys/win32/Makefile.in: add grp.c.
15229 * libc/sys/win32/grp.c: include grp.h correctly.
15230 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15231 of the st structure with real information.
15232 * libc/sys/win32 (dirent): d_ino is of type ino_t.
15233
15234 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15235
15236 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15237 and (maybe) sparc64.
15238 (nlink_t): Provide typedef.
15239
15240 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15241
15242 * libc/sys/win32/grp.c: New file.
15243 * libc/sys/win32/include/grp.h: New file.
15244
15245 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15246
15247 * libc/include/machine/ieeefp.h: Added whitespace to make this
15248 file easier to maintain.
15249 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15250 depending on the value of __LITTLE_ENDIAN__.
15251 On the sh3e, define _DOUBLE_IS_32BITS.
15252
15253 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15254
15255 * libc/sys/vr4300/syscalls.c: Added missing support
15256 routines. _raise() and getpid().
15257
15258 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15259
15260 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15261
15262 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
15263
15264 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
15265 and VR4300 processor.
15266 * libc/sys/vr4300: Add directory.
15267 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
15268 monitor run-time support.
15269
15270 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15271
15272 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
15273 * libc/stdlib/stdlib.tex: Don't include atol.def.
15274
15275 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15276
15277 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
15278
15279 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
15280
15281 * libc/ctype/Makefile.in: Fill in _to* dependencies.
15282
15283 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
15284
15285 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
15286 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
15287 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
15288 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
15289 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
15290
15291 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15292
15293 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
15294
15295 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15296
15297 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15298 * libc/stdlib/atoff.c: New file.
15299 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15300 * libc/stdlib/atoi.c (atol): Removed.
15301 * libc/stdlib/atol.c: Removed duplicate documentation.
15302
15303 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15304 #ifndef _STRICT_ANSI conditional.
15305 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15306 * libc/ctype/_tolower.c: New file.
15307 * libc/ctype/_toupper.c: New file.
15308 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15309 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15310 * libc/ctype/toascii.c (_toascii): Removed.
15311
15312 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15313
15314 * libc/sys/sparc64/sys/types.h: Deleted.
15315
15316 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15317
15318 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
15319 and recognize Windows_95 systems.
15320
15321 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15322
15323 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
15324 and passed fds should be opened in text mode.
15325
15326 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15327
15328 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
15329 in __hmap, set to binary mode by default.
15330
15331 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15332
15333 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
15334 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
15335 vector 34.
15336
15337 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
15338
15339 * Makefile.in (install): Install all libraries found in the
15340 top level. If there's a sys/<type>/include directory,
15341 install those headers into include.
15342
15343 * libc/sys/win32/kernel.def351: Delete
15344 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
15345 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
15346 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
15347 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
15348 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
15349 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
15350 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
15351 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
15352
15353 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
15354 * libc/sys/win32/crt0.c: Force all env names to upper case.
15355 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
15356 * libc/sys/win32/*.c: Headers have moved.
15357 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
15358 __vfork_child_idx is now __vfork_child_ptr.
15359
15360 * posix/execvp (execvp): Don't crash if no PATH envname.
15361
15362 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15363
15364 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
15365 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
15366 through the _freelist instead of through the _reclaim list.
15367 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
15368 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
15369 sources.
15370
15371 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15372
15373 * libc/machine/h8500/setjmp.S: New file.
15374 * libc/include/machine/setjmp.h: Updated for H8/500.
15375
15376 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
15377
15378 * libc/sys/win32/syscalls.c (_open): More stracing.
15379 (_stat): Open the file in O_BINARY.
15380
15381 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15382
15383 * libc/machine/h8300/setjmp.S: New file.
15384 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
15385
15386 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
15387
15388 * libc/sys/win32/crt0.c (__exe_suffix): New global.
15389 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
15390 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
15391 __exe_suffix. Free fd_tab after setting env variable.
15392 (spawnv,_execve): Update.
15393 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
15394 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
15395 (__small_vfprintf): New function.
15396 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
15397 * libc/sys/win32/wait.c (cwait): Validate argument.
15398
15399 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
15400 (process_deletion_queue): Likewise.
15401
15402 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
15403
15404 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
15405
15406 * libc/sys/win32: Copyrights and gratuitous indenting.
15407
15408 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
15409
15410 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
15411 (process_deletion_queue): Likewise.
15412 (__close_all_files): New function.
15413 (_close): Only queue file deletion if really a file.
15414 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
15415 _P_APPEND_EXE.
15416 (_exit): Call __close_all_files.
15417
15418 * libc/stdlib/system.c: #include <errno.h>.
15419 (_system_r): Fix results in -DNO_EXEC case.
15420
15421 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
15422 Reorganize structure.
15423 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
15424 if argument is valid. Save directory name in DIR. malloc space
15425 for dirent struct separately.
15426 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
15427
15428 * libc/include/errno.h (ENAMETOOLONG): Define.
15429 * libc/string/strerror.c (strerror): Reword ENFILE.
15430 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
15431
15432 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
15433
15434 * libc/sys/win32/crt0.c (__progname): New global.
15435 (mainCRTStartup): Support strace=bitmask,filename.
15436 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
15437 * libc/sys/win32/syscalls.c (_write): Print parent trace message
15438 if error.
15439 (getcwd): Handle len too small. Convert '\\' to '/'.
15440 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
15441 Add prototypes for open, creat, fcntl.
15442 (O_APPEND): Change value to conform to Microsoft's value.
15443 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
15444
15445 * libc/stdlib/getopt.c: New file.
15446 * libc/stdlib/Makefile.in: Build it.
15447
15448 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
15449
15450 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
15451 Fix scanning of $PATH.
15452 * libc/posix/exec*.c: Call _execve, not execve.
15453 * libc/posix/execve.c: New file.
15454 * libc/posix/Makefile.in (OFILES): Add execve.o.
15455
15456 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
15457 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
15458 (_STRACE): If level==0, always print. Handle new bit mask scheme.
15459 * libc/sys/win32/crt0.c: Update _STRACE calls.
15460 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
15461
15462 * libc/sys/win32/smallprint.c (rn): Fix digit list.
15463
15464 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
15465 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
15466 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
15467 Print __seterrno trace message first.
15468 (_execve): Renamed from execve.
15469 (vfork): Update __strace usage.
15470 (__vfork_child_pid): Deleted.
15471 (__vfork_children, __vfork_child_idx): New globals.
15472 (_spawnvp): New function.
15473 (spawnvp, spawnv, _execve): Call _spawnvp.
15474 (init_child): Record child in __vfork_children.
15475 (__vfork_get_entry, __vfork_record_death): New functions.
15476 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
15477 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
15478 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
15479 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
15480 (children): New typedef.
15481 (__vfork_children,__vfork_child_idx): Declare.
15482 (__vfork_get_entry,__vfork_record_death): Declare.
15483 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
15484 (waitpid): Handle pid == -1.
15485 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
15486 * configure.in (i386-win32): Add -DNO_FORK.
15487 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
15488 * libc/reent/execr.c (_fork_r): Likewise.
15489 * libc/stdlib/system.c (do_system): New function.
15490 If WIN32, try to get shell path from $SH_PATH, use vfork.
15491 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
15492 otherwise return 0.
15493
15494 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
15495
15496 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
15497 * libc/sys/win32/fcntl.h: Don't include self.
15498 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
15499 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
15500 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
15501 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
15502 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
15503 Correct prototypes.
15504 * libc/sys/win32/strace.c: New file.
15505 * libc/sys/win32/smallprint.c: New file.
15506 * libc/sys/win32/crt0.c (func): Delete.
15507 (mainCRTStartup): Fix alloca usage. Set handles explictly.
15508 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
15509 * libc/sys/win32/exceptions.c: Lint.
15510 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
15511 Clean up handle usage.
15512 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
15513 (open.c): Default file type is text.
15514 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
15515 * libc/sys/win32/advapi32.def: New
15516
15517 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
15518
15519 * configure.in (posix_dir, libc_posix_lib): New variables.
15520 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
15521 (i[345]86-*-win32): Define posix_dir.
15522 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
15523 (if unix_dir): Fix typo.
15524 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
15525 scandir,seekdir,telldir}: New files.
15526 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
15527 from libc/unix.
15528 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
15529 (SUBDIRS): Add posix.
15530 (SUBLIBS): Add $(LIBC_POSIX_LIB).
15531
15532 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
15533 (NSIG): Increase to 21.
15534 * libc/include/sys/unistd.h (pid_t): Move from here,
15535 * libc/include/sys/types.h (pid_t): to here.
15536
15537 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
15538 (__ptrace): Delete.
15539 (hinfo): New members close_exec_p, child_created_p.
15540 (struct exception_list): Define.
15541 (__hmap): Redefine as pointer to table.
15542 (__parent_hmap, __child_hmap): New globals.
15543 (__set_errno, __really_exit): Declare.
15544 (__vfork_child_pid): Declare.
15545 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
15546 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
15547 (__parent_hmap, __child_hmap): New globals.
15548 (__hmap): Redefine as pointer to active map.
15549 (__get_console): New function.
15550 (mainCRTStartup): Change leading '=' in environ vars to '!'.
15551 (env __FD_TABLE__): Watch for this and initialize our fd/handle
15552 mapping table from it if defined.
15553 (argv, envp): Dump if __strace >= 4.
15554 (main): Call here.
15555 * libc/sys/win32/exceptions.c (myp): Redefine.
15556 (__syscalls_b): Delete.
15557 (__stack_trace): New function.
15558 (ehandler3): Update to use _STRACE. Print stack trace.
15559 Call __really_exit instead of exit.
15560 (init_exceptions): Delete args argc,argv. New arg mine.
15561 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
15562 FindFirstFileA, FindNextFileA, GetComputerNameA,
15563 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
15564 * libc/sys/win32/signal.c (signal): Validate arg.
15565 (alarm, sleep): Define as stubs for now.
15566 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
15567 (__syscalls_b, errno): Delete.
15568 (__vfork_child_pid, __vfork_jmp_buf): New globals.
15569 (__seterrno): Handle more errors.
15570 (__sys_printf): Renamed from _ptrace.
15571 (__really_exit): New function.
15572 (queue_file_deletion, process_deletion_queue): New functions.
15573 (__resume_parent): New function.
15574 (_unlink): Handle trying to delete open file.
15575 (__totime_t): Renamed from totime_t.
15576 (setsid, __read, __write): New functions.
15577 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
15578 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
15579 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
15580 * libc/sys/win32/console.c: Update to new definition of __hmap.
15581 * libc/sys/win32/Makefile.in: Build new files.
15582 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
15583 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
15584 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
15585 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
15586
15587 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
15588
15589 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
15590
15591 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15592
15593 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
15594 have been made to the master dtoa.c sources (from netlib.att.com)
15595 since they were integrated into newlib in early 1992. Fixes
15596 problems with storage leaks and handling of numbers with very
15597 negative exponents.
15598
15599 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15600
15601 * Makefile.in (all): set rootpre and srcrootpre before calling
15602 sub-makes.
15603
15604 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
15605
15606 * libc/sys/win32/crt0.c: Change __hmap usage.
15607 * libc/sys/win32/exceptions.c: Use _ptrace call.
15608 * libc/sys/win32/syscalls.c: Use _ptrace call.
15609 (read, write): Cope with DOS style CRLF when in TEXT mode.
15610 * libc/sys/win32/syscalls.h: Declare hinfo struct.
15611 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
15612 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
15613 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
15614 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
15615
15616 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15617
15618 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
15619
15620 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
15621 wrappers for hypot() and remainder() for BSD libm compatibility.
15622 These are public domain implementations written by me for the
15623 NetBSD libm some time ago. Note cabs() is required by ucbtest.
15624 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
15625 (fobj): Added wf_cabs.o and wf_drem.o.
15626
15627 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15628
15629 * libc/sys/h8500hms/misc.c: New file.
15630 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
15631
15632 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15633
15634 * libc/time/localtime.c (localtime): Fix problem with leap year
15635 handling. Stole algorithm from Arthur David Olson's tz code.
15636
15637 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
15638
15639 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
15640
15641 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
15642 (_exit): Use argument.
15643
15644 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
15645
15646 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
15647
15648 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
15649
15650 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
15651
15652 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15653
15654 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
15655 target_cflags.
15656
15657 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
15658
15659 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
15660 ptrace with case insensitivity
15661 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
15662 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
15663 New files.
15664
15665 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
15666
15667 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15668 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
15669 (all, install, *clean): Use new multilib support.
15670 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15671
15672 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
15673
15674 * libc/include/sys/signal.h (__WIN32__): New.
15675
15676 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
15677
15678 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
15679 (ulp, b2d): Handle 32 bit doubles.
15680 * libc/stdlib/mprec.h: Handle 32 bit doubles.
15681 * libc/stdlib/strtod.c (_strtod_r): Ditto.
15682
15683 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
15684
15685 from medp@primag.co.uk:
15686 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
15687 dynamically allocated buffers.
15688
15689 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
15690
15691 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
15692 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
15693
15694 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15695
15696 * configure.in (powerpc): Fix previous fix.
15697
15698 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15699
15700 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
15701 directories for this target.
15702
15703 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
15704
15705 * configure.in (hppa): Add machine_dir definition.
15706 * libc/machine/hppa: New directory with PA specific implementations
15707 of the basic memory/string functions.
15708
15709 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15710
15711 * configure.in: Update current PowerPC multilib directories.
15712 Split big and little endian configurations.
15713
15714 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
15715
15716 * configure.in: Add --enable-single-float option to configure to
15717 control use of MIPS single-float directories. Default to yes.
15718
15719 * Makefile.in (all): Don't recurse into multilib directory if it
15720 does not exist.
15721
15722 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15723
15724 * libc/sys/sh/syscalls.c: Fix typo.
15725
15726 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
15727
15728 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
15729 Pass down DLLTOOL.
15730 * libc/include/process.h: Define WAIT_CHILD.
15731 * libc/include/types.h: Get sizes right for win32.
15732 * configure.in (i386-*-pe): Becomes i386-win32.
15733 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15734 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
15735 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
15736 is defined.
15737
15738 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
15739
15740 * configure.in (i[345]86-*-pe): New target (NT).
15741 * host/any: DLLTOOL new.
15742 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15743 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
15744 WIN32 (just enough to cross host the comp-tools).
15745
15746 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
15747
15748 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
15749 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
15750
15751 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
15752
15753 * libc/include/machine/ieeefp.h (arm): Change to always be
15754 __IEEE_BIG_ENDIAN (even on little endian ARM's).
15755
15756 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
15757
15758 * libc/sys/crt0.S: Initialze sp, and call exit after main.
15759 * libc/sys/syscalls.c (abort): New.
15760 * configure.in (arm): Define ABORT_PROVIDED.
15761
15762 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15763
15764 * configure.in (powerpc): Define multidirs.
15765
15766 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
15767
15768 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
15769
15770 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
15771
15772 * configure.in (sparclite): Delete target_cflags. Define multidirs.
15773
15774 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
15775
15776 * configure.in, libc/include/machine/ieeefp.h: Modified
15777 for arm:
15778 libc/machine/arm/*, libc/sys/arm/*: New
15779
15780 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15781
15782 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
15783 __powerpc__ when determining endianness.
15784
15785 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15786
15787 * configure.in (m68*): Add multidir for the m68332.
15788
15789 * host/any (CC): Fix typo in last change.
15790
15791 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
15792
15793 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
15794 when determining endianness.
15795 * libc/include/machine/ieeefp.h: Ditto.
15796 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
15797 operands.
15798
15799 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
15800
15801 * libc/include/errno.h (ENOTEMPTY): Define.
15802
15803 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15804
15805 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
15806 target_cflags.
15807
15808 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
15809 and umultiply.o.
15810
15811 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
15812 instead of only when open succeeds. ANSI requires that multiple
15813 calls to tmpnam() result in different files.
15814
15815 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
15816 objects pulled in from /lib/libc.a that must be renamed before
15817 being pulled into newlib. /lib/libc.a's div.o conflicted with
15818 newlib's file with the same name.
15819
15820 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
15821
15822 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
15823 the build tree will only be used if the executables are present
15824 (instead of just the Makefiles).
15825
15826 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
15827 wcstombs): Define.
15828 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
15829 versions of these functions that I orignally wrote for the
15830 NetBSD C library.
15831 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
15832 versions I wrote for NetBSD.
15833
15834 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
15835
15836 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
15837 * libc/sys/sparclite/crt0.s: ditto.
15838
15839 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
15840
15841 * configure.in: Add soft-float for proelf.
15842
15843 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
15844
15845 * libc/stdlib/mprec.h (Bcopy): Copy the right number
15846 of bytes.
15847
15848 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
15849
15850 * Makefile.in (all): Depend on `force'.
15851 * configure.in (syscall_dir): Renamed from fake_sys_dir.
15852 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
15853 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
15854 * libc/Makefile.in: Likewise.
15855 * libc/include/reent.h: Update syscall references.
15856 (_fcntl_r): Add prototype.
15857 * libc/syscalls/*.c #include <reent.h>.
15858 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
15859
15860 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
15861
15862 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
15863 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
15864 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
15865 (time.h, sys/types.h): Always include (even if MSDOS).
15866 (stat): Fix prototype.
15867
15868 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
15869
15870 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
15871
15872 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15873
15874 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
15875
15876 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
15877
15878 * libc/include/regdef.h: New file.
15879 * libc/machine/mips/machine/regdef.h: New file.
15880
15881 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
15882
15883 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
15884
15885 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
15886
15887 * libc/sys/sh/crt0.S: Pass main's return to exit.
15888 * libc/sys/sh/trap.S: Put errno in the right place.
15889
15890 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15891
15892 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
15893 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
15894 * libm/math/ef_rem_pio2.c: Likewise.
15895 * libm/math/e_log10.c: Remove unused static one.
15896 * libm/math/ef_log10.c: Likewise.
15897 * libm/math/s_frexp.c: Likewise.
15898 * libm/math/sf_frexp.c: Likewise.
15899
15900 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
15901
15902 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
15903 longjmp.S: Upgraded.
15904 * libc/sys/go32/sys/setjmp.h: Upgraded.
15905 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
15906
15907 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15908
15909 * configure.in: Add many entries to multidirs for mips targets.
15910
15911 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15912
15913 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
15914 5.2 which fixes bug where jn(-1,x) is three times larger than
15915 the actual answer.
15916 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
15917
15918 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
15919
15920 * libc/sys/w65/sys/syscalls.h: New file
15921 * libc/include/machine/ieeefp.h: W65 support.
15922 * libc/include/sys/config.h: Ditto.
15923 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
15924 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
15925 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
15926
15927 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15928
15929 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
15930
15931 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
15932
15933 * Makefile.in, configure.in: Remove any references to the old
15934 "stub" dir.
15935
15936 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15937
15938 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
15939 uses ... in prototype.
15940
15941
15942 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
15943
15944 * libc/sys/a29khif/sys/libconfig.h: Remove.
15945 * libc/sys/go32/sys/libconfig.h: Remove.
15946 * libc/sys/sun4/sys/libconfig.h: Remove.
15947 * libc/sys/sysvi386/sys/libconfig.h: Remove.
15948 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
15949 * libc/sys/sparc64/sys/libconfig.h: Remove.
15950
15951 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
15952 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
15953 * libc/include/math.h: Change all uses of _FLOAT_RET and
15954 _FLOAT_ARG to float.
15955 * libm/test/math.c: Likewise.
15956 * testsuite/libm.sac/math.c: Likewise.
15957 * testsuite/libm.sac/working/math.c: Likewise.
15958
15959 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15960
15961 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
15962 gcc calls gas with endian option.
15963 * configure.in (sh): Build little endian version too.
15964
15965 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15966
15967 * configure.in: Configure big and little endian versions for MIPS
15968 targets.
15969
15970 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
15971
15972 * libc/include/limits.h: Deleted.
15973 * libc/include/machine/limits.h: Deleted.
15974
15975 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
15976
15977 * ChangeLog: Remove stub directory. This has all been rewritten
15978 and moved to devo/libgloss.
15979
15980 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15981
15982 * Makefile.in (dvi): Add to info target, use $@ in sub make.
15983 (docs): Merge into info target.
15984 * libm/Makefile.in (dvi): Add $(srcdir).
15985 * libm/math/Makefile.in (chobjs): Remove underscores from file
15986 names. Texinfo doesn't like them.
15987 (wacos.def, ...): Add explicit targets for all .def files.
15988 * libm/math/math.tex: Remove underscores from @include file names.
15989 * doc/Makefile.in (dvi): Add dummy target.
15990 * testsuite/Makefile.in (dvi): Add dummy target.
15991
15992 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
15993
15994 * Makefile.in (VERSION): Define. For net newlib releases.
15995
15996 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
15997
15998 * README: New file.
15999
16000 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16001
16002 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16003
16004 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16005
16006 * libc/stdlib/setenv.c (_findenv): Declare.
16007
16008 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16009 fcntl to not use _EXFUN, and change string parameters to open and
16010 creat to be ``const char *''.
16011 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16012 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16013 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16014 (open) Make _FILE const.
16015 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16016 (_creat): Make PATH const.
16017 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16018 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16019 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16020 * libc/sys/sh/syscalls.c (_open): Likewise.
16021 * stub/shared/glue.c (open): Make BUF const.
16022 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16023
16024 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16025
16026 * libc/include/errno.h: Add ENMFILE
16027 * libc/include/sys/config.h: Support Z8000.
16028 * libc/include/sys/signal.h: New signals for go32.
16029 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16030 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16031 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16032 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16033 size is variable, depending upon CHUNK_POWER.
16034 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16035
16036 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16037
16038 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16039
16040 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16041
16042 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16043
16044 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16045
16046 * configure.in: Change i[34]86 to i[345]86.
16047
16048 * libc/include/math.h: Don't define HUGE_VAL if it is already
16049 defined.
16050
16051 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16052
16053 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16054 * testsuite/libm.sac/test_gammaf.c: Likewise.
16055 * testsuite/libm.sac/test_sin.c: Likewise.
16056 * testsuite/libm.sac/test_tanh.c: Likewise.
16057
16058 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16059
16060 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16061 already set. Define typedefs __int32_t and __uint32_t.
16062 * libc/include/math.h: Include <machine/ieeefp.h>.
16063 (union __dmath): Use __uint32_t.
16064 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16065 instead of int and unsigned int.
16066
16067 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16068
16069 Replace the math library with the SunPRO fdlibm package.
16070 * libm/math: Completely changed all files.
16071 * libm/ieeefp: Remove contents and directory.
16072 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16073 (SUBDIRS): Just set to math/lib.a.
16074 * libm/libm.texinfo: Updated for new library.
16075 * libc/include/math.h: Extensive changes for new math library.
16076 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16077 from _FLOAT_ARG to float.
16078 (maxpowtwo, maxpowtwof): Don't declare.
16079 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16080 (libm_fp_lib): Removed.
16081 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16082 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16083 argument to ${RUNTEST}.
16084 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16085 (.c.o): New rule.
16086 (RUNTESTFLAGS): Set CC and CFLAGS.
16087 (TESTS): Remove test_log2 and test_log2f.
16088 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16089 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16090 _FLOAT_ARG, for single precision argument type.
16091 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16092 expected failure. Close the input pipe.
16093 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16094 Correct misspelling of inaccurate.
16095 (test_mok): Use ``inaccurate'', not ``wrong''.
16096 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16097 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16098 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16099 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16100 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16101 test_yn.c): Correct many result values. Many are still wrong.
16102
16103 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16104 just copy the string.
16105 (_gcvt): Always return the buffer.
16106
16107 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16108
16109 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16110
16111 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16112
16113 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16114 structure.
16115 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16116 (_reclaim_reent): declare new entry point.
16117 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16118 functions.
16119
16120 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16121 ever allocated, so that we can later reclaim them all.
16122 (pow5mult): make reentrant.
16123
16124 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16125 so that when given NULL as a buffer, return a pointer to static
16126 space in the rent structure. This is not documented behaviour;
16127 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16128 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16129 therefore become reentrant).
16130
16131 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16132
16133 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16134
16135 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16136
16137 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16138
16139 * Makefile.in: Make link to libg.a after libc.a; this is needed
16140 for the testsuites to build executables when everything comes
16141 from the tree.
16142
16143 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16144
16145 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16146 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16147
16148 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16149
16150 * libc/include/stdio.h: Use __VALIST, not va_list.
16151
16152 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16153
16154 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16155 testsuite/libm.sac/execute.exp:
16156 Replace error proc calls with perror calls.
16157
16158 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16159
16160 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16161 * libc/include/time.h: #define NULL as 0L.
16162
16163 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16164
16165 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16166 care of it.
16167
16168 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16169
16170 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16171 not __unix__.
16172
16173 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16174
16175 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16176 (z8k-*-*): Use syscalls fake sys dir.
16177 * libc/sys/z8k/glue.c: Rename syscalls.
16178 * libc/sys/go32/Makefile.in: Use new routines.
16179 * libc/machine/Makefile.in: Fix typo in ln stuff.
16180
16181 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16182
16183 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16184 * libc/Makefile.in (crt0.o): Likewise.
16185 * libc/machine/Makefile.in (lib.a): Likewise.
16186 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16187
16188 All Makefile.in files: Added mostlyclean, realclean and distclean
16189 targets.
16190
16191 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16192 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16193 the top level Makefile.
16194
16195 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16196
16197 * libc/sys/sparc64/sys/stat.h: New file.
16198 * libc/sys/sparc64/sys/time.h: New file.
16199 * libc/sys/sparc64/sys/types.h: New file.
16200
16201 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16202
16203 * stub/ex93x/crt0.s (start): Add code to clear bss.
16204
16205 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16206
16207 * libc/include/sys/types.h (time_t): Properly protect inside
16208 #ifndef __time_t_defined.
16209
16210 * libc/stdio/fileno.c: New file.
16211 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16212 (fileno.o): Add dependency.
16213 * libc/include/stdio.h (__sgetc): Rename never to _never.
16214 (fileno macro): Disable, needs to do CHECK_INIT first.
16215
16216 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16217
16218 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
16219 goal.
16220
16221 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16222 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16223 runtest.
16224 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16225 runtest.
16226
16227 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16228
16229 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16230 of the various constants.
16231
16232 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16233
16234 * libc/include/math.h: #ifndef __math_68881 around things which
16235 conflict with the (gcc-provided) inline functions in
16236 gcc/ginclude/math-68881.h.
16237
16238 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16239
16240 * libc/include/_syslist.h (_gettimeofday): Define.
16241 (_times): Ditto.
16242 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16243 (struct tms, timeval, timezone): Declare.
16244 (_gettimeofday_r, _times_r): Declare.
16245 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16246 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16247 (time_t): Add multiple definition protection, __time_t_defined.
16248 * libc/include/sys/time.h: Don't #include <time.h>.
16249 Always define struct timezone (remove #ifndef _TIME_H_).
16250 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16251 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16252 * libc/reent/Makefile.in (OFILES): Add timer.o.
16253 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16254 * libc/reent/timer.c: New file.
16255 * libc/time/clock.c: #include <reent.h>.
16256 (clock): Call _times_r instead of times.
16257 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16258 HAVE_GET_TIME_OF_DAY.
16259 Add comment regarding supporting OS routine(s) required (for docs).
16260 #include <reent.h>.
16261 (time): Call _gettimeofday_r instead of gettimeofday.
16262 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
16263 * libc/time/ctime.c: Ditto.
16264 * libc/time/strftime.c: Ditto.
16265 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
16266 (TEMPLATE_SFILES_R): Define here. Also define times.
16267 Add times_r.o/times.S dependence.
16268 (time2.c, junk.c): Deleted.
16269 * libc/sys/sparc64/time2.c: Deleted.
16270 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
16271
16272 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
16273 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
16274 * libc/sys/sparc64/junk.c: Deleted.
16275
16276 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
16277
16278 * libc/sys/sparc64/Makefile.in: Add times syscall.
16279 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
16280 be used with and without it. Add comment clarifying Medium/Anywhere
16281 model requirements.
16282 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
16283 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
16284 even if obsolete.
16285
16286 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
16287
16288 * configure.in (target_cflags): Move init.
16289 (sparc64-*-*): Define HAVE_BLKSIZE.
16290
16291 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
16292
16293 * libc/include/sys/_types.h: New file.
16294 * libc/include/reent.h: #include it.
16295 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16296 MISSING_SYSCALL_NAMES.
16297 Sort syscalls.
16298 * libc/include/_syslist.h: Remove _raise.
16299 * libc/reent/signalr.c: New file.
16300 * libc/reent/Makefile.in: Compile it.
16301 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16302 Add doc for raise and _raise_r.
16303 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16304 (raise): Call _raise_r.
16305 (_raise_r): Call _getpid_r and _kill_r.
16306 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16307 (abort): Loop forever calling raise and _exit.
16308
16309 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16310
16311 * configure.in: Remove extraneous echo.
16312
16313 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16314
16315 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
16316 collision with unistd.h, and fix for svr4.
16317
16318 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
16319
16320 * libc/stdio/local.h (_llicvt): Declare.
16321 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
16322 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
16323 (_llicvt): Define.
16324 (_sicvt): Fix function header (`value' is short).
16325 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
16326 Add printing of long long's support.
16327 Add printing of 8 byte pointer support.
16328
16329 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
16330
16331 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
16332 stat, chmod): New hooks.
16333 (sbrk): Abort if stack and heap collide.
16334 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
16335 shortcut when given small args.
16336 * libc/machine/sh/setjmp.s: Rewritten.
16337 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
16338 of cmp/str instruction.
16339
16340 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16341
16342 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
16343 and machine_dir powerpc.
16344 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
16345 Add cases for __powerpc__.
16346 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
16347 New files.
16348
16349 * libc/include/stdio.h (_iprintf_r): Declare correctly.
16350
16351 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
16352
16353 * libc/stdlib/callocr.c: New file with _calloc_r in it.
16354 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
16355
16356 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
16357
16358 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
16359 (print_e): More comments to describe args, etc.
16360 "type" arg may now be 'g' or 'G' for %g/G format --> remove
16361 trailing blanks.
16362 (_gcvt): Remove locals decpt, sign, end, p, done.
16363 More comments for print_e invocation.
16364 Pass "type" to print_e as is (g/G).
16365
16366 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
16367
16368 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
16369 stock m68000.
16370
16371 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
16372
16373 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
16374 works with any sized pointer, including ones bigger than ints and
16375 longs.
16376
16377 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
16378
16379 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
16380
16381 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16382
16383 * libc/include/stdlib.h (_calloc_r): Add prototype.
16384 * libc/machine/h8500/negsi2.c: New file.
16385 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
16386 large unsigned numbers.
16387 * libc/machine/h8500/cmpsi.c: Add cmppsi.
16388 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
16389 works when sizeof(size_t) != sizeof(char *).
16390 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
16391 get play area
16392 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
16393
16394 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
16395
16396 * libc/include/assert.h (assert): Handle -traditional.
16397
16398 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
16399
16400 * Makefile.in: added ; after every "fi" and "done" that wasn't at
16401 the end of a line (ie. anything before a backslash continuation)
16402 so that bash handles them.
16403
16404 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16405
16406 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
16407 stat to lstat
16408
16409 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
16410
16411 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
16412 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
16413 libc/machine/sh/udivsi3.s: Use new calling convention.
16414
16415 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
16416
16417 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
16418 chmod, access, chdir, chown by making _path const. Also fix _amode
16419 param of access.
16420
16421 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
16422
16423 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
16424 _khif_tmpnam, because it doesn't comply with ANSI but may be
16425 useful anyway. Real tmpnam was already in libc/stdio, and was
16426 colliding with this one (pr 2176.)
16427 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
16428 the wrong idea anyhow.
16429
16430 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
16431
16432 * configure.in: Remove h8300h, we have multilib now.
16433
16434 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
16435
16436 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
16437 functions, to get preference over the ones in libiberty (since we
16438 provide correct declarations in <string.h>.
16439 * libc/string/Makefile.in: add support for strncasecmp,
16440 strcasecmp.
16441
16442 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
16443
16444 * Change netware config not to look for cpu explicitly.
16445
16446 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
16447
16448 * libc/sys/sparc64/{creat.c,junk.c}: New files.
16449 * libc/sys/sparc64/Makefile.in: Add dependencies.
16450
16451 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
16452
16453 * configure.in: Clean up v9 a bit, new "os" aoutv8.
16454
16455 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
16456
16457 * libc/include/sys/reent.h: make structure smaller by allocating
16458 some stuff when needed.
16459 * libc/signal/signal.c: allocate as needed
16460 * libc/stdio/findfp.c,stdio/local.h: ditto
16461 * libc/stdlib/mprec.c: ditto
16462
16463 * libc/time/localtime.c: don't return a dangling stack ptr.
16464
16465 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
16466
16467 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
16468
16469 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16470
16471 * libc/include/stdio.h (__sputc): comment out static inline which
16472 confuses coff toolchains.
16473
16474 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
16475
16476 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
16477 _write.s, getpid.c, kill.c, read.s}:
16478 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
16479 through the syscalls directory.
16480
16481 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
16482
16483 * configure.in: fixed double quote gotcha.
16484
16485 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
16486
16487 * stub/ex931: stub library for sparclite board.
16488 * stub/idp: Renamed from mc68ec. Added contructor table
16489 stuff to linker script.
16490 * stub/mvme135: Renamed from m68kmvme. Added contructor table
16491 stuff to linker script.
16492
16493 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16494
16495 * configure.in: Configure testsuites only if they exist.
16496
16497 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16498
16499 * configure.in: Don't set machine_dir for i386 until there is
16500 something in libc/machine/i386 to compile. For i[34]86-*-netware*
16501 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
16502 CLOCK_PROVIDED and MALLOC_PROVIDED.
16503
16504 * libc/sys/netware: New directory. Contains simplistic and
16505 probably incorrect stubs for NetWare. Should be enough to load
16506 the library.
16507 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
16508 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
16509 stub files.
16510
16511 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
16512 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
16513 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
16514 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
16515
16516 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
16517
16518 * testsuite/Makefile.in: add "docs" dummy target for consistency
16519 with rest of newlib; turn "info" and "install-info" into dummy
16520 targets, since they wouldn't have worked. (Depended on
16521 nonexistent "doc" subdir.)
16522
16523 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16524
16525 * configure.in: handle mips* instead of mips
16526
16527 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
16528
16529 * libc/include/sys/dirent.h: New file. If it is not overridden by
16530 a version of libc/sys/*/sys/dirent.h, it includes the next
16531 <dirent.h> file in case there is one lurking somewhere.
16532
16533 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16534
16535 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
16536 compliance, namely: Accept a minus sign. Consider a single 0 with
16537 a radix of 0 as being a conversion. Determine overflow correctly.
16538 If an overflow occurs, set *ptr to the end of the number, not the
16539 middle.
16540 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
16541
16542 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
16543
16544 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
16545
16546 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
16547
16548 * Makefile.in (INSTALL): Use $srcrootpre.
16549 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
16550 can't handle it.
16551 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
16552 it.
16553 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
16554 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
16555 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
16556 * libm/math/Makefile.in (matherr.o): Ditto.
16557
16558 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16559
16560 * configure.in: Build multidirs for z8k.
16561 * libc/include/stdlib.h (_strtoul_r): add prototype.
16562 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
16563 * libc/include/machine/setjmp.h: Add for z8k.
16564 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
16565 * libc/sys/z8ksim/glue.c: tidy up.
16566
16567 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
16568
16569 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
16570 New files. Requires execve system call.
16571 * libc/unix/Makefile.in: Use them.
16572 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
16573 Deleted, moved to libc/unix.
16574 * libc/sys/sparc64/Makefile.in: Remove them.
16575
16576 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
16577
16578 * libc/sys/sparc64/{template.S template_r.S}: New files.
16579 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
16580 from templates.
16581 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
16582 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
16583 umask.S unlink.S wait4.S write.S}: Removed, now built from
16584 templates.
16585
16586 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
16587
16588 * libc/time/time.c: #include <_ansi.h>.
16589
16590 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
16591
16592 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
16593
16594 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16595
16596 * configure.in: match m8* rather than m88k so that m88110 is
16597 recognized as well.
16598
16599 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
16600
16601 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
16602 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
16603 misc.c: New file.
16604
16605 * configure.in: Add multilib support to h8300.
16606
16607 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
16608
16609 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
16610 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
16611 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
16612
16613 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16614
16615 * configure.in: Corrected multidirs for sparc target.
16616
16617 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16618
16619 Support for building newlib multiple times with different
16620 compilation flags.
16621 * configure.in: Only configure doc at top level. Set multidirs
16622 when appropriate for target, unless not at top level. If
16623 multidirs is set, independently configure each subdirectory.
16624 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
16625 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
16626 automagically set by configure.in.
16627 (all): If MULTIDIRS is set, build multiple copies of libraries.
16628 (install): If MULTIDIRS is set, install multiple copies of
16629 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
16630 MULTISUBDIR is set, don't bother to install header files.
16631 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
16632 ${srcrootpre}.
16633 * stub/configure.in: Set MULTISUBDIR appropriately.
16634 * stub/Makefile.in (install): Install in
16635 $(tooldir)/lib/$(MULTISUBDIR).
16636 * All Makefile.in files: Define SRCTOP as well as TOP.
16637
16638 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
16639
16640 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
16641 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
16642
16643 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
16644
16645 * libc/sys/h8300hms/exit.c (_exit): New function.
16646
16647 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16648
16649 * configure.in: recognize m88110.
16650
16651 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16652
16653 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
16654 prototype main and call with args.
16655
16656 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
16657
16658 First real try at system traps for m88k-bug.
16659 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
16660 to real trap calls.
16661 * libc/sys/m88kbug/sys/systraps.h: new file.
16662
16663 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16664
16665 Patches to fix info building when target does not use sys
16666 directory.
16667 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
16668 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
16669 libc/sys.tex.
16670 * libc/sys/Makefile.in (doc): do nothing.
16671
16672 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16673
16674 * libc/Makefile.in (CRT0): new macro.
16675 (all): depend on $(CRT0) rather than crt0.o.
16676
16677 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
16678 do not default crt0, instead, set crt0 and crt0_dir based on
16679 sys_dir and stub_dir.
16680
16681 * Makefile.in (CRT0_DIR): new macro.
16682 (all): depend on $(CRT0) rather than crt0.o which may not exist.
16683 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
16684 $(CRT0).
16685 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
16686
16687 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16688
16689 * testsuite/lib/libm.exp:
16690 added code to support compiling and linking of tests for
16691 libm.sac (paranoia to be added next) and processing the
16692 pass or failure of the tests.
16693
16694 * testsuite/config/unix-libm.exp:
16695 platform specific proc's for dealing with compiler, linker
16696 and the way we execute and process the test results.
16697
16698 * testsuite/libm.sac/execute.exp:
16699 generic framework for the sac tests. the config and lib
16700 expect code for specific platforms tie it all together.
16701
16702 * testsuite/libm.sac/test_is.c:
16703 changed the output of the test to be consistant with the
16704 other tests. parsing of pass nad fail messages is now fixed.
16705
16706 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
16707
16708 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
16709 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
16710 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
16711 #ifdef __cplusplus, surround by extern ""C { ... }.
16712 * libc/include/assert.h: Do *not* protect assert.h against
16713 multiple inclusion! Also, #undef it before #define, to allow
16714 redefinition.
16715 * libc/include/stdio.h (getlogin, cuserid): Removed. These
16716 should be only in unistd.h.
16717
16718 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
16719 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
16720 ... }.
16721
16722 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
16723
16724 * libc/machine/sparc/Makefile.in: Must create a library, even
16725 if empty.
16726
16727 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16728
16729 * configure.in: set machine_dir for m88k. edit crt0 definition
16730 into makefiles.
16731
16732 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
16733
16734 * libc/Makefile.in (all): also build crt0.o.
16735
16736 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
16737 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
16738 to remove CRT0.
16739
16740 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
16741 (all): reworked to build in place.
16742 (clean): remove lib.a
16743 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
16744
16745 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
16746 (_start): key off edata rather than _start_bss.
16747
16748 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
16749
16750 * libc/include/sys/unistd.h, libc/include/reent.h,
16751 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
16752
16753 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16754
16755 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
16756
16757 * Makefile.in (libc.a): break into two rules, one for libc.a and
16758 one for libc/libc.a. Force subdirs current before rebuilding
16759 library.
16760 (libm.a): break into two rules, one for libm.a and one for
16761 libm/libm.a. Force subdirs current before rebuilding library.
16762
16763 * libc/Makefile.in (SUBLIBS): fix typo.
16764
16765 * libc/sys/Makefile.in (all): force descent into subdirs, then
16766 rebuild library iff out of of date.
16767
16768 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16769
16770 Rework so that library is built and then finished rather than
16771 being built on each invocation of make.
16772
16773 * host/any (machine_dir, sys_dir, signal_dir): these are not
16774 shared and have been moved to their associated Makefile.in's.
16775 (AR_FLAGS): switch to qc which is faster.
16776 * configure.in: no longer assign machine_dir for m88k. set
16777 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
16778 stub_dir set, then add to configdirs. add comment about silly
16779 configuration.
16780 (configdirs): drop stub. It will be added only
16781 when needed.
16782 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
16783 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
16784 stub_lib, crt0): new variables for tailoring lower level
16785 makefiles. Assign accordingly and edit into makefiles.
16786 * libm/Makefile.in: updated copyright.
16787 (TARGETLIB): removed.
16788 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
16789 (SUBDIRS): removed TARGETDEP_DIRS.
16790 (LIBM_FP_LIB, SUBLIBS): new macros.
16791 (all): reworked.
16792 (force): new target to force rebuilds.
16793 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16794 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
16795 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
16796 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
16797 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
16798 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
16799 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
16800 stub/m68kmvme/Makefile.in: updated copyright.
16801 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
16802 (all): reworked. made this the default rule.
16803 (clean): also remove lib.a.
16804 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16805 * stub/Makefile.in: updated copyright.
16806 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
16807 (stub_lib): new macro.
16808 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
16809 RANLIB.
16810 (all): reworked.
16811 (clean, install): assume stub_dir exists.
16812 (Makefile): depend on configure.in. call $(SHELL) rather than
16813 sh. drop redundant ./
16814 * stub/configure.in (stublib): new macro, assign it, edit it into
16815 makefiles.
16816 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
16817 updated copyright.
16818 (all): reworked.
16819 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16820 * libc/Makefile.in (TARGETCRT0): removed.
16821 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
16822 TARGETCRT0.
16823 (SUBDIRS): drop TARGETDEP_DIRS.
16824 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
16825 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
16826 (force): new target to force rebuilds.
16827 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
16828 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
16829 removed.
16830 (clean): assume sys_dir always exists.
16831 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
16832 drop redundant ./
16833 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
16834 libc/locale/Makefile.in, libc/machine/Makefile.in,
16835 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
16836 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
16837 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
16838 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
16839 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
16840 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
16841 libc/signal/Makefile.in, libc/stdio/Makefile.in,
16842 libc/stdlib/Makefile.in, libc/string/Makefile.in,
16843 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
16844 libc/time/Makefile.in, libc/unix/Makefile.in,
16845 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
16846 (TARGETLIB): removed.
16847 (all): reworked.
16848 (clean): also remove lib.a.
16849 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16850 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
16851 new macros.
16852 (SUBDIRS): moved to follow frag inclusion, change stub to
16853 stub_dir.
16854 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
16855 are now set in the libc Makefile.
16856 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
16857 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
16858 TARGETCRT0.
16859 (force): new target to force rebuilds.
16860 * stub/configure.in: determine and set stub_lib for for Makefile.
16861
16862 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
16863
16864 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
16865 crt0.s renamed to crt0.S.
16866 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
16867
16868 * libc/machine/h8300/Makefile.in: Make `all' the default target.
16869 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
16870 h8300h.
16871 * libc/machine/h8300/defines.h: Add macros to handle pointers for
16872 h8300 (16 bits) and h8300h (32 bits).
16873 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
16874 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
16875
16876 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
16877
16878 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
16879 implementation of setjmp and longjmp for the m88k.
16880 * libc/include/machine/setjmp.h: Added __m88000__ case.
16881
16882 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
16883
16884 * configure.in: Recognize h8300h as variant of h8300.
16885
16886 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16887
16888 * libc/include/sys/unistd.h (read, write): get prototypes right.
16889 (sbrk): New prototype.
16890 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
16891 * libc/stdio/local.h: Include unistd.h.
16892 * libc/machine/h8300/syscalls.c: Names have changed.
16893
16894 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
16895
16896 * configure.in: add sys_dir assignment for m88k-bug.
16897
16898 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
16899
16900 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
16901 a.out or elf.
16902 * libc/sys/sparc64: all *.S files: Use new macros.
16903 * libc/sys/sparc64/isatty.c: New file.
16904 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
16905 functions beyond what newlib provides.
16906
16907 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
16908
16909 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
16910 svr4.
16911
16912 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
16913
16914 * libc/include/machine/ieeefp.h: Add support for h8/300h.
16915
16916 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
16917
16918 * configure.in: add m88k.
16919 * libc/include/machine/ieeefp.h: add case for m88k. Also add
16920 sanity check so no one else need ever chase what I did to find
16921 this.
16922
16923 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
16924
16925 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
16926
16927 * doc/makedoc.c: Include <ctype.h>.
16928
16929 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
16930
16931 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16932 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16933 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16934
16935 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
16936
16937 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
16938
16939 * libc/include/errno.h (ENOSYS): Added.
16940
16941 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
16942
16943 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16944
16945 * libc/stdio/fflush.c (fflush): Check for reent struct
16946 initialization.
16947 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
16948
16949 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
16950
16951 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
16952 out of dtoa.c so it doesn't pollute the namespace.
16953 * libc/include/_syslist.h: new file -- mappings from _function to
16954 function, for systems where we can't win (by default, all of them,
16955 until we start updating system calls.)
16956 * libc/syscalls: new directory -- stubs for exporting _function
16957 names as unmodified function names.
16958 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
16959 _syslist.h on all platforms by default, but put hooks in for
16960 fake_sys_dir so we can include it when we've renamed the system
16961 calls.
16962 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
16963 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
16964 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
16965 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
16966 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
16967 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
16968 non ANSI functions to call _function.
16969
16970 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
16971
16972 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
16973 when base 16 is specified. Don't accept non-digits if radix > 10.
16974
16975 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
16976
16977 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
16978
16979 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
16980
16981 * libc/include/sys/stat.h: Surround text after #endif with
16982 comments.
16983
16984 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
16985
16986 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
16987 _malloc_r, _realloc_r, and free_r call the corresponding
16988 non-reentrant functions.
16989
16990 * libm/math/modf.c (modf): We now take the address of ipart, so
16991 don't make it a register variable.
16992
16993 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
16994
16995 * libm/math/*: Rename all xxx_r fns to _xxx_r.
16996
16997 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
16998
16999 * libc/libc.texinfo and embedded docn throughout: formatting
17000 improvements, minor rephrasing for clarity, and improved
17001 reentrancy docn.
17002
17003 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17004
17005 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17006
17007 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17008 where sizeof(int) != sizeof(long).
17009
17010 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17011
17012 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17013 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17014 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17015 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17016 libm/math/matherr.c: changes for better docn formatting (info).
17017
17018 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17019 libc/reent/reent.tex, libc/signal/signal.tex,
17020 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17021 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17022 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17023 makeinfo node defaulting to get better Info file node structure.
17024 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17025 Also include a few formerly missing sections (subroutines).
17026
17027 * doc/doc.str: delete fossil expansion for "func"
17028
17029 * default.menu, no-signal.menu: delete.
17030
17031 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17032 method used to adjust doc for missing "signals" chapter when
17033 signal_dir is empty.
17034
17035 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17036
17037 * configure.in: added testsuite/libm.sac
17038
17039 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17040
17041 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17042 code model).
17043
17044 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17045
17046 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17047 MAKEOVERRIDES to be empty.
17048
17049 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17050
17051 * configure.in: Don't build mips-*-* with -msoft-float, since that
17052 makes it incompatible with hard floating point.
17053
17054 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17055
17056 * Makefile.in: added recursive 'make check'
17057
17058 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17059
17060 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17061 * ./testsuite/Makefile.in: created
17062 * ./testsuite/libm.paranoia: paranoia tests added
17063
17064 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17065
17066 * configure.in: For mips-*-* set machine_dir to mips.
17067
17068 * libc/machine/mips: New directory.
17069 * libc/machine/mips/Makefile.in: New file.
17070 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17071 setjmp and longjmp.
17072 * libc/include/machine/setjmp.h: Added __mips__ case.
17073
17074 * libc/machine/lmips: Removed unused and useless directory.
17075
17076 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17077
17078 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17079
17080 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17081
17082 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17083 start up).
17084
17085 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17086
17087 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17088 SETJMP_H.
17089
17090 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17091
17092 * libm/test/convert.c: structure member errno -> errno_val.
17093 Must include <errno.h> to use errno, it's a macro now.
17094 * libm/test/math.c: Ditto.
17095 * libm/test/math2.c: Include errno.h.
17096 * libm/test/string.c: Ditto.
17097 * libm/test/test.h: structure member errno -> errno_val.
17098 Remove extern int errno decl.
17099
17100 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17101
17102 * libc/stdio/Makefile.in: Added dependencies on local header
17103 files.
17104 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17105 files.
17106
17107 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17108
17109 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17110
17111 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17112
17113 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17114 Initialize _data.
17115
17116 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17117 * libc/stdio/local.h: Add prototype for _licvt.
17118
17119 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17120 instead of malloc,reealloc.
17121
17122 * libc/stdlib/local.h: New file.
17123 * libc/stdlib/efgcvt.c: #include local.h.
17124 (gcvt): Fix call to _gcvt.
17125 * libc/stdlib/ecvtbuf.c: #include local.h.
17126
17127 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17128 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17129 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17130
17131 * libc/stdlib/atexit.c: moved global data to struct _reent.
17132 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17133
17134 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17135
17136 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17137
17138 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17139 here from ../reent.h.
17140
17141 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17142
17143 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17144 should be provided in both libc.a and libm.a.
17145 (libc.a): Depend on targ-include and libm.a. Copy
17146 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17147 (libm.a): Depend on targ-include.
17148 * configure.in (subdirs): Removed libc/math.
17149
17150 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17151
17152 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17153
17154 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17155
17156 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17157 sys/reent.h instead of reent.h.
17158 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17159 headers moved to sys/reent.h.
17160 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17161 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17162 __need__MAX_SIGNALS defined.
17163 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17164 std{in,out,err} refer to new _std{in,out,err} members.
17165
17166 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17167
17168 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17169 case.
17170
17171 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17172
17173 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17174 rather than whatever macro seterrno() has.
17175
17176 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17177
17178 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17179 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17180
17181 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17182 __STDC__.
17183
17184 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17185 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17186 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17187
17188 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17189 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17190
17191 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17192 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17193 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17194 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17195 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17196 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17197 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17198 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17199 for ANSI. structure members given leading "_" for ANSI. Use
17200 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17201
17202 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17203 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17204 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17205 reent_struct renamed to struct _reent for ANSI.
17206 Structure members given leading "_" for ANSI.
17207 _CONST --> const in prototypes.
17208 Use _HAVE_STDC instead of __STDC__.
17209
17210 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17211 _xxx_r.
17212 struct reent_struct renamed to struct _reent for ANSI.
17213 Structure members given leading "_" for ANSI.
17214
17215 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17216 _xxx_r.
17217 struct reent_struct renamed to struct _reent for ANSI.
17218
17219 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17220 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17221 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17222 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17223 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17224
17225 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17226 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17227 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17228 #ifndef _STRICT_ANSI non-ANSI routines.
17229 Reentrant routines renamed from _r_xxx to _xxx_r.
17230 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17231 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17232 Clean up namespace (structure members have leading "_").
17233 struct reent_struct renamed to struct _reent for ANSI compliance.
17234 _CONST --> const in function prototypes.
17235
17236 * libc/include/string.h: Add NULL and size_t.
17237
17238 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17239 unlink, wait, wait4. Reentrant syscall routines close, fork,
17240 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17241 write.
17242 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17243 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17244 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17245 write.S}: Define reentrant versions.
17246 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17247 reentrant syscalls.
17248
17249 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17250
17251 * libc/include/stdlib.h (RAND_MAX): Fix value.
17252
17253 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17254
17255 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17256 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17257 VPATH support targets after all: target.
17258
17259 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17260 exceptionHandler, which is what mvme135-stub.c expects.
17261
17262 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
17263
17264 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
17265
17266 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
17267 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
17268 compliant).
17269
17270 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
17271
17272 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
17273 first.
17274 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
17275 _r_write): Ditto.
17276 libc/reent/fstatr.c (_r_fstat): Ditto.
17277 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
17278 libc/reent/sbrkr.c (_r_sbrk): Ditto.
17279 libc/reent/statr.c (_r_stat): Ditto.
17280
17281 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
17282 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
17283 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
17284 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
17285 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
17286 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
17287 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
17288 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
17289 (__swrite): Ditto for _r_lseek, _r_write.
17290 (__sseek): Ditto for _r_lseek.
17291 (__close): Ditto for _r_close.
17292 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
17293
17294 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
17295 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17296
17297 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17298 to make reent_struct the first argument (and thus consistent with
17299 the rest of newlib).
17300
17301 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17302 reference to __STDC__.
17303
17304 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17305
17306 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
17307 global __cleanup.
17308
17309 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17310
17311 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17312 first.
17313 libc/stdio/fclose.c (fclose): Ditto.
17314
17315 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
17316
17317 * Run through indent and rename reentrant routines for ANSI.
17318 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
17319 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
17320 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
17321 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
17322 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
17323 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
17324 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
17325 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
17326 vsprintf.c wbuf.c wsetup.c local.h}
17327
17328 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
17329
17330 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
17331 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
17332 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
17333 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
17334 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
17335 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
17336
17337 * Run through indent.
17338 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
17339 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
17340 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
17341 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
17342 strxfrm.c}
17343
17344 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
17345 localtime.c mktime.c strftime.c time.c}:
17346 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
17347
17348 * Reformatting + renaming (for ANSI, GNU style, consistency).
17349 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
17350 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
17351 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
17352
17353 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
17354
17355 * libc/include/stdio.h (stdin_r): Fix.
17356
17357 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
17358
17359 * Makefile.in: Unexport some variables to keep GNU make from
17360 putting them in the environment and using up needed ARG_MAX space
17361 (a hack is used to let this work with older makes as well).
17362
17363 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
17364
17365 * Makefile.in: Use $(MAKE) rather than make.
17366 (MAKEOVERRIDES): Define to be empty.
17367 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17368 (libc.a, libm.a): Depend on targ-include.
17369 * host/any (LD): Don't define.
17370 (INCLUDES): Use targ-include.
17371 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
17372 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17373 * libc/Makefile.in: Use $(MAKE) rather than make.
17374 (MAKEOVERRIDES): Define to be empty.
17375 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17376 (all): Rewrote to be slightly smaller.
17377 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
17378 Define to be empty.
17379 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17380 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
17381
17382 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
17383
17384 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
17385 with errno/errno.c.
17386
17387 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
17388
17389 * Changes for reentrancy.
17390 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
17391 Use ptr->_errno, not errno.
17392 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
17393 libc/stdio/remove.c (remove_r): New function.
17394 libc/stdio/rename.c (rename_r): New function.
17395 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17396 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
17397 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
17398 reentrant versions of system calls.
17399 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
17400 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
17401 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
17402 libc/stdio/findfp.c: Include <string.h>.
17403 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
17404 "local.h".
17405 libc/stdio/wbuf.c: Include "fvwrite.h"
17406
17407 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
17408 <string.h>.
17409 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
17410 (NULL): Don't define if already defined.
17411 libc/stdlib/system.c: Call reentrant versions of system calls.
17412 (system_r): New function.
17413
17414 * Changes for reentrancy.
17415 libc/include/_ansi.h (_PARAMS): New macro.
17416 libc/include/errno.h: Define errno as a macro that calls __errno.
17417 (__errno_r): New macro for reentrant code.
17418 libc/include/math.h: Include reent.h. Declare many reentrant
17419 functions.
17420 (signgam): Now a macro, not a variable.
17421 (struct exception): Added err field.
17422 libc/include/reent.h: Don't declare __sglue. Added function
17423 declarations.
17424 (struct reent_struct): Moved errno to beginning. Added _signgam.
17425 libc/include/stdio.h, libc/include/stdlib.h: Added function
17426 declarations.
17427
17428 * More reentrancy hacking.
17429 libc/errno/errno.c (__errno): New function.
17430 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
17431 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
17432 files.
17433
17434 * Added many new reentrant functions to libm/math/*.
17435 libm/math/error.c (__matherror): Added reent_struct pointer
17436 argument. Changed all callers.
17437 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
17438 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
17439 libm/math/tan.h: Removed obsolete unused header files.
17440
17441 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
17442
17443 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
17444
17445 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17446
17447 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
17448 delay slots.
17449
17450 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17451
17452 * libc/libc.texinfo: comment out reentrancy chapter (duh)
17453
17454 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17455
17456 * libc/reent/reent.tex: New file. (text from
17457 newlib/libc/libc.texinfo)
17458 * libc/stdio/tmpnam.c: fixed doc typo
17459 * libc/stdlib/rand.c: fixed doc typo
17460
17461 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17462
17463 * libc/reent/reent.tex: New file. (text from
17464 newlib/libc/libc.texinfo)
17465
17466 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17467
17468 support for reentrancy
17469 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
17470 new files
17471 * libc/errno/errno.c, libc/include/ieeefp.h,
17472 libc/include/locale.h, libc/include/reent.h,
17473 libc/include/signal.h, libc/include/stdio.h,
17474 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
17475 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
17476 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
17477 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
17478 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17479 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
17480 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
17481 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
17482 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
17483 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
17484 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
17485 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
17486 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
17487 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
17488 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
17489 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
17490 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
17491 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
17492 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
17493 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
17494 libc/time/strftime.c: modify to provide reentracy.
17495
17496 new routines:
17497 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
17498 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
17499 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
17500 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
17501 mstats_r, realloc_r, localeconv_r, setlocale_r
17502
17503 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
17504
17505 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
17506 libc/include/sys/config.h, libc/include/sys/signal.h,
17507 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
17508 provided macros (such as m68000), use the ansi version
17509 (__m68000__) so that the library can be used with code compiled
17510 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
17511 and sparc.
17512
17513 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17514
17515 * configure.in (sparc*): Don't set -fsoft-float for sparc
17516 configurations. Do set -fsoft-float for sparclite configurations.
17517
17518 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17519
17520 * default.menu, no-signal.menu: alternate forms of libc main menu
17521 (in newlib rather than newlib/libc due to configuration restrictions)
17522
17523 * configure.in: select one of the two menus above, link to
17524 libc.menu
17525
17526 * libc/libc.texinfo: include menu from separate file
17527
17528 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
17529
17530 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
17531 (info): Split long shell command in half.
17532 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
17533 sub-makes, just CHEW and TARGETDOC.
17534 (targetdep.tex): Removed now special handling of sys and machine
17535 subdirectories, made obsolete some time ago.
17536 * libc/machine/Makefile.in (doc): Don't pass everything to
17537 sub-make, just CHEW and TARGETDOC.
17538 (Makefile): New target.
17539 * libc/sys/Makefile.in (Makefile): New target.
17540
17541 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
17542
17543 * Makefile.in (here and most subdirectories): Only pass down CHEW
17544 and TARGETDOC when making info, not for other targets.
17545
17546 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
17547 $(AR_FLAGS) rather than $(ARUPDATE).
17548
17549 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
17550
17551 * Try to reduce command line length:
17552 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
17553 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
17554 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
17555 (info): Pass CHEW to other subdirs.
17556
17557 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
17558
17559 * configure.in: add signal_dir, like unix_dir, but by default it
17560 is set to "signal" so that a29khif can turn it off (since a29khif
17561 has raise() as part of machine-specific signal.s.)
17562
17563 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17564
17565 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
17566 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
17567 correctly.
17568 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
17569 libc/stdio/vfprintf: type lint.
17570 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
17571 initialzation code.
17572 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
17573
17574 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
17575
17576 * stub/mvme135/mvme135-asm.S: new file.
17577 stub/mvme135mvme135-stub.c: moved all assembler routines into
17578 mvme135-asm.S.
17579 stub/mvme135/Makefile.in: build mvme135-stub.o.
17580
17581 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
17582
17583 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
17584 sub-Makefiles instead, to try to avoid line length limitations.
17585
17586 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
17587
17588 * libc/include/unistd.h (read, write): Use void* instead of
17589 char*.
17590
17591 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
17592
17593 * stub/go32/resetpc: sample script to send a reset packet to the
17594 stub
17595
17596 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
17597 DOS environment, which compiles with Turbo C.
17598
17599 * stub/go32/DSER32.LNK: new file, linker commands for serial
17600 remote stub.
17601
17602 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
17603 start up message to identify version; call set_debug_traps.
17604
17605 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
17606 keyboard interaction); call handle_exception() in go_til_stop,
17607 rather than return, so that the remote stub gets control.
17608
17609 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
17610 rename, rather than mv), set flags that work with current Turbo C,
17611 including using the /3 flag; also, add commands to build dser32.
17612
17613 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
17614 default Turbo C installation (\tc rather than \usr)
17615
17616 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
17617 "&..."
17618
17619 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17620
17621 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
17622
17623 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17624
17625 * libc/stdio/cvt.c (licvt): new function to convert ints when
17626 sizeof(int) != sizeof(long).
17627
17628 * libc/include/stdio.h: added prototype for iprintf.
17629 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
17630
17631 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
17632
17633 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
17634 __REGISTER_PREFIX__.
17635
17636 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
17637
17638 * libc/sys/m68kbare: moved into stub directory.
17639
17640 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
17641
17642 * configure.in, Makefile.in: created new directory stub, to hold
17643 sample code for specific targets.
17644
17645 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
17646
17647 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
17648 in the unified libc/include/sys/fcntl.h.
17649
17650 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
17651
17652 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
17653 printed .01, not 0.01.
17654
17655 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
17656
17657 * configure.in: compile with -m68000 for m68* targets.
17658
17659 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
17660
17661 * libm/math/remainder.c (remainder): document the svr4 and sunos
17662 references used to construct the function.
17663
17664 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
17665
17666 * libm/math/remainder.c (rint, remainder): fix old typos.
17667 * libm/math/Makefile.in: actually build remainder.c (functions
17668 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
17669 page.)
17670
17671 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
17672
17673 * libc/string/bcopy.c: BSD version works on overlapping strings,
17674 so ours should too.
17675
17676 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
17677 ("SHELL").
17678
17679 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
17680
17681 * Makefile.in (docs): new target.
17682
17683 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
17684
17685 * libc/include/sys/times.h: define clock_t as required by POSIX.
17686 libc/include/time.h: protect clock_t from multiple definitions.
17687
17688 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17689
17690 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
17691 does not need more than the original three iterations to get
17692 within 1 ulp. (Paranoia tests for rounding to better than that,
17693 but further iterations *don't* help, only more subtle changes
17694 can.)
17695
17696 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
17697
17698 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
17699 were doing nothing useful.
17700
17701 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
17702
17703 * configure.in: define MALLOC_PROVIDED for vxworks targets;
17704 removed sys_dir settings of vxworks68 and vxworks960.
17705 host/any: don't pass -nostdinc to gcc, since newlib no longer
17706 provides all required header files.
17707
17708 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
17709 is not defined; this provides a hook for VxWorks.
17710
17711 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17712
17713 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
17714 buffer if buf is NULL, don't do it here -- it is already being
17715 done by makebuf elsewhere in stdio.
17716
17717 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
17718
17719 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
17720 that C programs can call functions without using initial
17721 underscores.
17722
17723 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
17724
17725 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
17726
17727 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
17728
17729 * configure.in: set TARGET_CFLAGS for certain CPU types to
17730 -msoft-float.
17731
17732 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17733
17734 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
17735
17736 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
17737
17738 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
17739 m68k*-unknown-coff.
17740
17741 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
17742
17743 * libc/include/stdio.h: define __need___va_list before including
17744 <stdarg.h>, to avoid defining va_arg, et. al.
17745
17746 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
17747
17748 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
17749 (don't cd to the user's home directory).
17750
17751 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
17752 In general this is the wrong thing to do, but I can't get around
17753 GNU make's insistence on passing command line arguments any other
17754 way.
17755
17756 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
17757
17758 * configure.in: always configure the libc/sys directory, since it
17759 now provides a required documentation file.
17760
17761 * Makefile.in: replaced all instances of $(MAKE) with make. In
17762 general this is the wrong thing to do, but I can't get around GNU
17763 make's insistence on passing command line arguments any other way.
17764
17765 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
17766
17767 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
17768 terminated.
17769
17770 * libc/stdio/local.h: include <stdarg.h> to define va_list.
17771 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
17772
17773 * libc/include/float.h, libc/include/stdarg.h,
17774 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
17775 versions instead.
17776 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
17777 <stdarg.h>, not from <machine/types.h>. Protect definition of
17778 NULL.
17779 libc/include/time.h: get size_t from stddef.h. Protect definition
17780 of NULL.
17781 libc/include/machine/limits.h: override gcc <limits.h> by defining
17782 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
17783 get correct INT_MIN and LONG_LONG values.
17784 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
17785 size_t or va_list at all; they're now gotten from stddef.h
17786 instead.
17787 libc/include/machine/varargs.h: removed; use gcc version instead.
17788 libc/include/sys/types.h: explicitly include <machine/types.h>.
17789
17790 * libm/math/sqrt.h: using the fp-bit routines appears to require
17791 more iterations.
17792
17793 * Makefile.in, host/any: let system include files override machine
17794 include files.
17795
17796 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17797
17798 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
17799 override _*_T_ definitions defaulted here.
17800
17801 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
17802
17803 * Makefile.in (install): install the include files in
17804 $(tooldir)/include, not $(exec_prefix)/include.
17805
17806 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
17807
17808 * Makefile.in (install): fixed typo, and changed install to not
17809 force rebuild of libc.a and libm.a.
17810
17811 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
17812
17813 * libc/sys/a29khif/*: Changed all .include's to include
17814 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
17815 that they will be installed for the user.
17816
17817 * Makefile.in (all): create targ-include, a directory holding the
17818 machine and system specific header files during the build.
17819 (install): fixed installation of machine and system specific
17820 header files.
17821
17822 * Makefile.in: fixed comment.
17823 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
17824 we can pass $(INCLUDES) to it.
17825
17826 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
17827
17828 * libc/include/sys/param.h: new generic file, which may be
17829 overridden for specific systems.
17830
17831 * libc/include/sys/signal.h: define all ANSI signal names, and
17832 NSIG (which is not ANSI) for a29k.
17833
17834 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
17835
17836 * Makefile.in: don't pass down arguments the lower level makes
17837 will not need.
17838 * libc/Makefile.in: recurse directly, rather than using subdir_do,
17839 in hopes of avoiding argument length limits.
17840 * libm/Makefile.in: recurse directly, rather using subdir_do, in
17841 hopes of avoiding argument length limits.
17842
17843 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
17844
17845 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
17846 mode_t is defined.
17847
17848 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
17849
17850 * Fixed make info and make install-info for newlib, changing most
17851 Makefile.in and several *.tex files. Moved doc directory from
17852 libc to top level.
17853
17854 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
17855 Should be rewritten.
17856
17857 * libc/string/strings.tex: renamed node index to node index
17858 function, so that it does not conflict with the top level index
17859 node.
17860
17861 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
17862
17863 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
17864
17865 * Overhauled general configuration for newlib. Eliminated all
17866 target dependent Makefile fragments. Create libraries in newlib
17867 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
17868 than CROSS_CC, et. al. Broke make docs; will fix later.
17869
17870 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
17871 Should be rewritten.
17872
17873 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
17874
17875 * libc/configure.in: cleaned up somewhat; switch on ${target}
17876 rather than ${target_alias}.
17877 * libm/configure.in: cleaned up somewhat; switch on ${target}
17878 rather than ${target_alias}.
17879
17880 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
17881 * libc/include/ctype.h: marked _ctype_ as _CONST.
17882
17883 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
17884 _CONST.
17885
17886 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
17887 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
17888 libc/stdio/gets.c (gets): removed non-ANSI warning message.
17889 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
17890
17891 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
17892 bigtens, tinytens): marked arrays _CONST.
17893 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
17894 rather than a static variable.
17895
17896 * libc/time/asctime.c (asctime), libc/time/localtime.c
17897 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
17898 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
17899 mname_len, mname): Marked static arrays _CONST.
17900
17901 * libm/math/gamma.h: made local variables non-static.
17902
17903 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
17904 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
17905 _CONST.
17906
17907 * libm/math/constants.c: removed file, because the constants it
17908 defined were never referenced.
17909 libm/math/Makefile.in: removed references to constants.c.
17910 libm/math/mathimpl.h: removed declarations of constants.
17911
17912 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
17913
17914 * libc/include/machine/varargs.h: only call __builtin_saveregs if
17915 it is sensibly defined in libgcc2. Checks preprocessor defines,
17916 which is not a good solution.
17917
17918 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
17919
17920 * libm/frexp.c: handle denormalized numbers as arguments.
17921
17922 * libm/math/Makefile.in: added some dependencies for .c files
17923 which include local .h files.
17924
17925 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
17926
17927 * libc/configure.in: set target_alias for OSE*. Replace
17928 target_makefile_frag if it is blank.
17929
17930 * libc/Makefile.in: make sure everything is passed to subsidiary
17931 makes; create all directories when installing.
17932
17933 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
17934 CROSS_ARUPDATE instead of AR.
17935
17936 * libm/configure.in: set target_alias for OSE*. Replace
17937 target_makefile_frag if it is blank.
17938
17939 * libm/Makefile.in: make sure everything is passed to subsidiary
17940 makes; create all directories when installing.
17941
17942 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
17943
17944 * add following change from libc copy.
17945
17946 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17947
17948 * libc/libc.texinfo: make copyright disclaimers appear on back of
17949 title page; make format of same slightly less ugly; avoid using
17950 underbars in section headings (avoids nasty texinfo bug in table
17951 of contents).
17952
17953 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
17954 comments only) avoid using underbars in section headings
17955
17956 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17957 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
17958 changes in comments only): shorten headings ieeefp/infinity.c,
17959 ieeefp/isnan.c: (doc, comments only) more informative headings
17960
17961 * libc/math/bessel.c: (doc, comments only) shorten heading
17962
17963 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
17964 (doc, comments only) shorten headings
17965
17966 * libc/time/localtime.c (doc, comments only): shorten headings
17967
17968 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17969 isnan
17970 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
17971 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
17972 headings
17973 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
17974 only) more informative headings
17975 * libm/math/bessel.c: (doc, comments only) shorten heading
17976
17977 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17978
17979 * .../Makefile.in: use CROSS_ARUPDATE consistently.
17980 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
17981 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
17982 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
17983 defined, the one from the .mt file will be correct.
17984 * libc/include/machine, libc/include/sys: created, and populated
17985 with common files from machine/*/machine. ifdefs were used for
17986 most, typically by handling exceptions first and then filling in
17987 defaults. Files with D.J. Delorie copyright #included rather than
17988 copied. Most files in include/sys really were the same in the
17989 original.
17990 * libc/include/...: cleaned up use of _EXFUN.
17991 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
17992 it with double quotes, not angles.
17993
17994 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
17995
17996 * libc/Makefile.in: always create installation directories.
17997
17998 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17999
18000 * libc/configure.in: handle host properly (using canonical
18001 triples), better error message for the case of target not found
18002
18003 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18004
18005 * libc/Makefile.in (insincdir): Ensure this directory exists
18006 before attempting installation.
18007
18008 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18009
18010 * libc/stdlib/assert.c: now calls abort like it should
18011 * libc/sys/a29khif: many many patches for 29khif work
18012 * libc/machine/i386: gnulib2 expanded there.
18013
18014 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18015
18016 Added accurate fp conversion routines to stdlib, moved dcvt from
18017 stdio to stdlib and called it ecvtbuf:
18018 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18019 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18020 routines
18021 * libc/libc.texinfo: Modifed to include the copyright info from
18022 the mprec files
18023 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18024 * libc/test/ : many vector which tested for the implementation
18025 defined returns of strange conversion requests have been updated
18026 to relflect the new implementation
18027
18028 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18029
18030 * libc/libc.texinfo: new chapter on variable arg lists
18031 (stdarg.h/varargs.h)
18032 * libc/libc.texinfo: new title
18033 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18034 (doc only) shorter headings for better formatting.
18035
18036 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18037
18038 * libc/libc.texinfo: three more info menu entries
18039 * libc/locale/locale.tex: new chapter
18040 * libc/locale/locale.c: new doc for setlocale, localeconv
18041 * libc/locale/Makefile.in: use new locale doc
18042 * libc/signal/signal.tex: new chapter
18043 * libc/signal/raise.c, libc/signal/signal.c: new doc
18044 * libc/signal/Makefile.in: use new doc
18045 * libc/time/time.tex: new chapter
18046 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18047 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18048 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18049 * libc/time/Makefile.in: use new doc
18050
18051 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18052
18053 * libm/math/log1p.c: split to use the new function way of float
18054 function definition. math/log1p.h deleted
18055 * libm/math/scalb.c: obsolete and deleted
18056 * libm/math/scalbn.c: created from part log1p.c
18057 * libm/math/Makefile.in: know about log1p and scalbn
18058
18059 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18060
18061 * libc/ctype/isupper.c: revise doc;
18062 libc/ctype/ctype.tex: use doc from isupper.c
18063
18064 * libc/string/bzero.c: new doc
18065
18066 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18067
18068 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18069 new doc
18070 * libc/stdlib/Makefile.in: extract new doc
18071 * libc/stdlib/stdlib.tex: use new doc
18072
18073 * libc/string/strerror.c: expanded doc.
18074
18075 * libc/stdio/Makefile.in: extract doc from more files
18076 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18077 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18078 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18079 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18080 libc/stdio/vsprintf.c: new doc
18081 * libc/stdio/stdio.tex: use new doc
18082
18083 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18084
18085 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18086 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18087 finitef functions.
18088 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18089 time ago.
18090
18091 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18092 * libc/stdio/setbuf.c: added ansi style definition.
18093 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18094 buffer if none provided.
18095 * libc/stdio/tmpfile.c: lint
18096 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18097 rather than using static, also make sure file isn't already
18098 present. Uses P_tmpdir. (tempnam): rewritten to use new
18099 subroutine, and uses P_tmpdir.
18100 * libc/stdio/siprintf.c: created
18101
18102 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18103
18104 Release 1.03 for NEC, major mods. Main differences from release
18105 1.02::
18106
18107 More tests in test/:
18108 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18109 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18110 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18111 get/set mask, get/set sticky and get/set roundtoi. Tests
18112 that setting the bits changes the way arithmetic is done.
18113 * string.c: added test to make sure memcmp does it with unsigned
18114 chars.
18115 * test.c: cleaned up and removed lint.
18116 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18117 dvec.c: tests for string to value conversions, sprintf, scanf,
18118 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18119 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18120 rounding in sprintf too.
18121 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18122 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18123 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18124 and function form.
18125 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18126 powf
18127
18128 In the library:
18129 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18130 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18131 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18132 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18133 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18134 than sprintf.
18135 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
18136 * Method of producting float versions of double functions has
18137 changed, functions will be modified gradually. So far:
18138 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18139 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18140 altered
18141 * libc/string/memcmp.c: now uses unsigned chars
18142 * libc/string/bcmp.c, libc/string/strcpy.c,
18143 libc/stsring/strxfrm.c: fixed doc
18144 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18145 \f
18146 Local Variables:
18147 version-control: never
18148 End:
This page took 0.814975 seconds and 6 git commands to generate.