]> sourceware.org Git - newlib-cygwin.git/blob - newlib/ChangeLog
* cris.h (R_CRIS_32_TPREL): Correct comment.
[newlib-cygwin.git] / newlib / ChangeLog
1 2008-11-24 Craig Howland <howland@LGSInnovations.com>
2
3 * libc/stdlib/wcstoull_r.c: Add EINVAL return for bad base value,
4 include wchar.h for prototype, remove extraneous includes, use
5 C99/POSIX ULLONG_MAX (but allow for poor limits.h).
6 * libc/stdlib/wcstoull.c: Fix usage comments (mistakes and to add
7 base value check noted above), remove extraneous includes.
8 * libc/stdio/asnprintf.c: Add #include "local.h" to get function
9 prototype for _svfprintf_r().
10 * libc/stdio/vasnprintf.c: Ditto.
11 * libc/stdio/local.h: Add function prototype for __submore().
12 * libc/include/stdio.h: Add function prototypes for _fseeko_r and
13 _ftello_r.
14 * libc/posix/namespace.h: Commented out define for write to
15 eliminate write() prototype being missing for collate.c (which is
16 the only file that presently includes namespace.h).
17 * libc/include/reent.h: Added _rename_r.
18 * libc/reent/renamer.c: Corrected function prototypes in synopses.
19 * libc/locale/ldpart.c: Use struct stat64 when calling fstat64.
20
21 2008-11-24 Jeff Johnston <jjohnstn@redhat.com>
22
23 * libc/search/hash_func.c: Comment out unused static hash functions.
24 * libc/reent/stat64r.c: New file.
25 * libc/reent/Makefile.am: Add stat64r.c support.
26 * libc/reent/Makefile.in: Regenerated.
27
28 2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
29
30 * libc/posix/scandir.c: Fix memory leaks.
31
32 2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
33
34 * libc/posix/Makefile.am: Compile readdir_r.c not readdir.c twice.
35 * libc/posix/Makefile.in: Regenerated.
36
37 2008-11-24 Corinna Vinschen <corinna@vinschen.de>
38
39 * libc/include/stdio.h (__SMOD): Remove definition of unused flag.
40 * libc/include/sys/reent.h (struct __sFILE): Add _flags2 member.
41 * libc/stdio/findfp.c (std): Initialize _flags2.
42 (__sfp): Ditto.
43 * libc/stdio/refill.c (__srefill_r): Drop resetting __SMOD flag.
44 * libc/stdio/vfscanf.c (__ssrefill_r): Ditto.
45 * libc/stdio/fseek.c (_fseek_r): Drop checking __SMOD flag.
46 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
47
48 2008-11-20 Ken Werner <ken.werner@de.ibm.com>
49
50 * libc/machine/spu/sys/linux_syscalls.h: Additional syscall defines to
51 be in sync with current kernels.
52
53 2008-11-20 Ken Werner <ken.werner@de.ibm.com>
54 Patrick Mansfield <patmans@us.ibm.com>
55 Joel Schopp <jschopp@austin.ibm.com>
56
57 * libc/machine/spu/configure.in: Add __ea detection.
58 * libc/machine/spu/Makefile.am: Add new files.
59 * libc/machine/spu/include/ea.h: New file.
60 * libc/machine/spu/ea_internal.h: Likewise.
61 * libc/machine/spu/sys/mman.h: Likewise.
62 * libc/machine/spu/mmap_ea.c: Likewise.
63 * libc/machine/spu/munmap_ea.c: Likewise.
64 * libc/machine/spu/mremap_ea.c: Likewise.
65 * libc/machine/spu/msync_ea.c: Likewise.
66 * libc/machine/spu/memchr_ea.c: Likewise.
67 * libc/machine/spu/memcmp_ea.c: Likewise.
68 * libc/machine/spu/memcpy_ea.c: Likewise.
69 * libc/machine/spu/memmove_ea.c: Likewise.
70 * libc/machine/spu/memset_ea.c: Likewise.
71 * libc/machine/spu/malloc_ea.c: Likewise.
72 * libc/machine/spu/realloc_ea.c: Likewise.
73 * libc/machine/spu/calloc_ea.c: Likewise.
74 * libc/machine/spu/free_ea.c: Likewise.
75 * libc/machine/spu/posix_memalign_ea.c: Likewise.
76 * libc/machine/spu/strcat_ea.c: Likewise.
77 * libc/machine/spu/strchr_ea.c: Likewise.
78 * libc/machine/spu/strcmp_ea.c: Likewise.
79 * libc/machine/spu/strcpy_ea.c: Likewise.
80 * libc/machine/spu/strcspn_ea.c: Likewise.
81 * libc/machine/spu/strlen_ea.c: Likewise.
82 * libc/machine/spu/strncat_ea.c: Likewise.
83 * libc/machine/spu/strncmp_ea.c: Likewise.
84 * libc/machine/spu/strncpy_ea.c: Likewise.
85 * libc/machine/spu/strpbrk_ea.c: Likewise.
86 * libc/machine/spu/strrchr_ea.c: Likewise.
87 * libc/machine/spu/strspn_ea.c: Likewise.
88 * libc/machine/spu/strstr_ea.c: Likewise.
89 * libc/machine/spu/read_ea.c: Likewise.
90 * libc/machine/spu/pread_ea.c: Likewise.
91 * libc/machine/spu/readv_ea.c: Likewise.
92 * libc/machine/spu/write_ea.c: Likewise.
93 * libc/machine/spu/pwrite_ea.c: Likewise.
94 * libc/machine/spu/writev_ea.c: Likewise.
95
96 2008-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>
97
98 * libc/include/sys/config.h[__mips__]: Don't bother
99 setting __ATTRIBUTE_IMPURE_PTR__ here.
100 [__rtems__][__mips__]: No need to undef the __ATTRIBUTE_IMPURE_PTR__
101 macro anymore.
102
103 2008-11-19 Jeff Johnston <jjohnstn@redhat.com>
104
105 * libc/sys/linux/bits/dirent.h: New header file.
106 * libc/sys/linux/sys/dirent.h: Include <bits/dirent.h> instead of
107 <linux/dirent.h>.
108 * libc/posix/Makefile.am: Remove reallocf.
109 * libc/posix/Makefile.in: Regenerated.
110 * libc/posix/reallocf.c: Moved to...
111 * libc/stdlib/reallocf.c: Here
112 * libc/stdlib/malloc.c: Add reallocf documentation.
113 * libc/include/stdlib.h: Add reallocf and _reallocf_r prototypes.
114 * libc/stdlib/Makefile.am: Add reallocf.
115 * libc/stdlib/Makefile.in: Regenerated.
116 * libc/posix/_isatty.c: Set errno.
117
118 2008-11-19 Craig Howland <howland@LGSInnovations.com>
119
120 * libc/unix/collate.c (__collate_err): simplify to remove unnecessary
121 strdup() and strlen() calls, also getting rid of a compiler warning.
122
123 2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
124
125 * libc/include/sys/config.h: Don't put
126 __ATTRIBUTE_IMPURE_PTR__ into .sdata section for mips-rtems.
127
128 2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
129
130 * libc/posix/runetype.h: Add include of stddef.h and remove
131 defining standard types: size_t and wchar_t.
132
133 2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
134
135 * libc/include/pthread.h: Remove prototypes for
136 pthread_attr_getcputime and pthread_attr_setcputime which
137 were proposed but never approved by the POSIX standard.
138
139 2008-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>
140
141 * libc/unix/ttyname.c: Use isatty() instead of tcgetattr().
142
143 2008-11-18 Jeff Johnston <jjohnstn@redhat.com>
144
145 * libc/unix/basename.c: Add !_NO_BASENAME flag check so code can be
146 ignored if desired by a platform.
147 * libc/unix/dirname.c: Ditto except replace BASENAME with file name.
148 * libc/unix/getcwd.c: Ditto.
149 * libc/unix/getlogin.c: Ditto.
150 * libc/unix/getpass.c: Ditto.
151 * libc/unix/getpwent.c: Ditto.
152 * libc/unix/getut.c: Ditto.
153 * libc/unix/pread.c: Ditto.
154 * libc/unix/pwrite.c: Ditto.
155 * libc/unix/sigset.c: Ditto.
156
157 2008-11-18 Craig Howland <howland@LGSInnovations.com>
158
159 * libc/unix/ttyname.c: Add ttyname_r and change ttyname to use
160 ttyname_r.
161
162 2008-11-17 Joel Sherrill <joel.sherrill@oarcorp.com>
163
164 * configure.host: RTEMS now uses posix subdirectory.
165
166 2008-11-17 Joel Sherrill <joel.sherrill@oarcorp.com>
167
168 * sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX.
169 * sys/rtems/sys/param.h: sys/rtprio.h not needed.
170
171 2008-10-31 Jeff Johnston <jjohnstn@redhat.com>
172
173 * libc/stdio/diprintf.c: Modify documentation so eclipse newlib
174 libhover docs generate properly.
175 * libc/stdio/dprintf.c: Ditto.
176 * libc/stdio/fflush.c: Ditto.
177 * libc/stdio/fopencookie.c: Ditto.
178 * libc/stdio/fread.c: Ditto.
179 * libc/stdio/fsetpos.c: Ditto.
180 * libc/stdio/getc_u.c: Ditto.
181 * libc/stdio/getchar_u.c: Ditto.
182 * libc/stdio/putc_u.c: Ditto.
183 * libc/stdio/putchar_u.c: Ditto.
184 * libc/stdio/remove.c: Ditto.
185 * libc/stdio/siprintf.c: Ditto.
186 * libc/stdio/siscanf.c: Ditto.
187 * libc/stdio/sprintf.c: Ditto.
188 * libc/stdio/sscanf.c: Ditto.
189 * libc/stdio/vfprintf.c: Ditto.
190 * libc/stdio/vfscanf.c: Ditto.
191 * libc/stdio/viprintf.c: Ditto.
192 * libc/stdio/viscanf.c: Ditto.
193 * libc/stdlib/calloc.c: Ditto.
194 * libc/stdlib/efgcvt.c: Ditto.
195 * libc/stdlib/envlock.c: Ditto.
196 * libc/time/asctime.c: Ditto.
197 * libc/time/ctime.c: Ditto.
198 * libc/time/gmtime.c: Ditto.
199 * libc/time/lcltime.c: Ditto.
200 * libc/time/tzset.c: Ditto.
201 * libc/stdlib/envlock.h: Moved to libc/include.
202
203 2008-10-31 Jeff Johnston <jjohnstn@redhat.com>
204
205 * libc/include/limits.h: Add ARG_MAX, PATH_MAX, and _POSIX2_RE_DUP_MAX.
206 * libc/include/envlock.h: New file.
207 * libc/include/fnmatch.h: Ditto.
208 * libc/include/glob.h: Ditto.
209 * libc/include/regex.h: Ditto.
210 * libc/include/wordexp.h: Ditto.
211 * libc/posix/Makefile.am: Add new files moved from
212 libc/sys/linux/stdlib.
213 * libc/posix/Makefile.in: Regenerated.
214 * libc/posix/COPYRIGHT: New file moved from libc/sys/linux/stdlib.
215 * libc/posix/cclass.h: Ditto.
216 * libc/posix/cname.h: Ditto.
217 * libc/posix/collate.c: Ditto.
218 * libc/posix/collate.h: Ditto.
219 * libc/posix/collcmp.c: Ditto.
220 * libc/posix/engine.c: Ditto.
221 * libc/posix/fnmatch.3: Ditto.
222 * libc/posix/glob.3: Ditto.
223 * libc/posix/fnmatch.c: Ditto.
224 * libc/posix/glob.c: Ditto.
225 * libc/posix/namespace.h: Ditto.
226 * libc/posix/reallocf.c: Ditto.
227 * libc/posix/regcomp.c: Ditto.
228 * libc/posix/regerror.c: Ditto.
229 * libc/posix/regex.3: Ditto.
230 * libc/posix/regex2.h: Ditto.
231 * libc/posix/regexec.c: Ditto.
232 * libc/posix/regfree.c: Ditto.
233 * libc/posix/rune.h: Ditto.
234 * libc/posix/runetype.h: Ditto.
235 * libc/posix/scandir.c: Remove advertising clause which is not in
236 effect.
237 * libc/posix/sysexits.h: Ditto.
238 * libc/posix/un-namespace.h: Ditto.
239 * libc/posix/utils.h: Ditto.
240 * libc/posix/wordexp.c: Ditto.
241 * libc/posix/wordfree.c: Ditto.
242 * libc/posix/execl.c: Add !_NO_EXECVE flag check.
243 * libc/posix/execle.c: Ditto.
244 * libc/posix/execlp.c: Ditto.
245 * libc/posix/execv.c: Ditto.
246 * libc/posix/execve.c: Ditto.
247 * libc/posix/execvp.c: Ditto.
248 * libc/posix/popen.c: Add !_NO_POPEN flag check.
249 * libc/sys/linux/configure: Regenerated.
250 * libc/sys/linux/configure.in: Remove stdlib.
251 * libc/sys/linux/include/limits.h: Add include of linux/limits.h.
252 * libc/sys/linux/stdlib/Makefile.am: Removed.
253 * libc/sys/linux/stdlib/Makefile.in: Ditto.
254 * libc/sys/linux/stdlib/COPYRIGHT: Moved to libc/posix.
255 * libc/sys/linux/stdlib/cclass.h: Ditto.
256 * libc/sys/linux/stdlib/cname.h: Ditto.
257 * libc/sys/linux/stdlib/collate.c: Ditto.
258 * libc/sys/linux/stdlib/collate.h: Ditto.
259 * libc/sys/linux/stdlib/collcmp.c: Ditto.
260 * libc/sys/linux/stdlib/engine.c: Ditto.
261 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
262 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
263 * libc/sys/linux/stdlib/glob.3: Ditto.
264 * libc/sys/linux/stdlib/glob.c: Ditto.
265 * libc/sys/linux/stdlib/reallocf.c: Ditto.
266 * libc/sys/linux/stdlib/regcomp.c: Ditto.
267 * libc/sys/linux/stdlib/regerror.c: Ditto.
268 * libc/sys/linux/stdlib/regex.3: Ditto.
269 * libc/sys/linux/stdlib/regex2.h: Ditto.
270 * libc/sys/linux/stdlib/regexec.c: Ditto.
271 * libc/sys/linux/stdlib/regfree.c: Ditto.
272 * libc/sys/linux/stdlib/utils.h: Ditto.
273 * libc/sys/linux/stdlib/wordexp.c: Ditto.
274 * libc/sys/linux/stdlib/wordfree.c: Ditto.
275
276 2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>
277
278 * libc/include/sys/unistd.h: RTEMS follows standard for sync().
279
280 2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>
281
282 * libc/include/time.h: Add CLOCK_MONOTONIC.
283 * libc/include/sys/features.h: Define
284 _POSIX_MONOTONIC_CLOCK for RTEMS.
285
286 2008-10-15 Jeff Johnston <jjohnstn@redhat.com>
287
288 * newlib.hin: Restore to previous 1.14 version which has no
289 PACKAGE_ macros.
290
291 2008-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>
292
293 * libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
294
295 2008-10-15 Craig Howland <howland@LGSInnovations.com>
296
297 * libc/include/ctype.h (isblank): isblank is C99.
298 * libc/ctype/isblank.c (isblank comments): ditto. isblank does not
299 have a macro version (as was claimed in the description).
300
301 2008-10-15 Jeff Johnston <jjohnstn@redhat.com>
302
303 * libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or
304 %S conversions when the EL/IX level is 1.
305
306 2008-10-06 Eric Blake <ebb9@byu.net>
307
308 * libc/stdlib/ldtoa.c (etoasc): Fix rounding to even when fraction
309 is 0.5 or 0.75.
310
311 2008-10-06 Craig Howland <howland@LGSInnovations.com>
312
313 * libc/time/tzset_r.c (_tzset_r): Change US default start/end dates to
314 2007 law revision of start in 2nd Sunday in March, end 1st Sun in Nov.
315
316 2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
317
318 * libc/string/str-two-way.h (critical_factorization): Cast the index
319 operation to ensure unsigned rollover occurs when adding to SIZE_MAX.
320
321 2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
322
323 * libc/sys/linux/include/stdint.h (SIZE_MAX): Fix value which should
324 be size of size_t, not int.
325 (SIZE_MIN): Remove.
326 * libc/sys/linux/sys/stdint.h: Ditto.
327
328 2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
329
330 * libc/include/sys/reent.h[_REENT_SMALL](_REENT_INIT_RAND48): Add
331 initialization of _rand_next to 1.
332
333 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
334 Steve Ellcey <sje@cup.hp.com>
335
336 * configure: Regenerate for new libtool.
337 * aclocal.m4: Ditto.
338 * Makefile.in: Ditto.
339 * newlib.hin: Ditto.
340 * doc/Makefile.in: Ditto.
341 * doc/configure: Ditto.
342 * iconvdata/Makefile.in: Ditto.
343 * iconvdata/aclocal.m4: Ditto.
344 * iconvdata/configure: Ditto.
345 * libc/Makefile.in: Ditto.
346 * libc/aclocal.m4: Ditto.
347 * libc/configure: Ditto.
348 * libc/argz/Makefile.in: Ditto.
349 * libc/ctype/Makefile.in: Ditto.
350 * libc/errno/Makefile.in: Ditto.
351 * libc/iconv/Makefile.in: Ditto.
352 * libc/iconv/ccs/Makefile.in: Ditto.
353 * libc/iconv/ccs/binary/Makefile.in: Ditto.
354 * libc/iconv/ces/Makefile.in: Ditto.
355 * libc/iconv/lib/Makefile.in: Ditto.
356 * libc/locale/Makefile.in: Ditto.
357 * libc/machine/Makefile.in: Ditto.
358 * libc/machine/aclocal.m4: Ditto.
359 * libc/machine/configure: Ditto.
360 * libc/machine/a29k/Makefile.in: Ditto.
361 * libc/machine/a29k/configure: Ditto.
362 * libc/machine/arm/Makefile.in: Ditto.
363 * libc/machine/arm/configure: Ditto.
364 * libc/machine/bfin/Makefile.in: Ditto.
365 * libc/machine/bfin/configure: Ditto.
366 * libc/machine/cris/Makefile.in: Ditto.
367 * libc/machine/cris/configure: Ditto.
368 * libc/machine/crx/Makefile.in: Ditto.
369 * libc/machine/crx/configure: Ditto.
370 * libc/machine/d10v/Makefile.in: Ditto.
371 * libc/machine/d10v/configure: Ditto.
372 * libc/machine/d30v/Makefile.in: Ditto.
373 * libc/machine/d30v/configure: Ditto.
374 * libc/machine/fr30/Makefile.in: Ditto.
375 * libc/machine/fr30/configure: Ditto.
376 * libc/machine/frv/Makefile.in: Ditto.
377 * libc/machine/frv/configure: Ditto.
378 * libc/machine/h8300/Makefile.in: Ditto.
379 * libc/machine/h8300/configure: Ditto.
380 * libc/machine/h8500/Makefile.in: Ditto.
381 * libc/machine/h8500/configure: Ditto.
382 * libc/machine/hppa/Makefile.in: Ditto.
383 * libc/machine/hppa/configure: Ditto.
384 * libc/machine/i386/Makefile.in: Ditto.
385 * libc/machine/i386/aclocal.m4: Ditto.
386 * libc/machine/i386/configure: Ditto.
387 * libc/machine/i960/Makefile.in: Ditto.
388 * libc/machine/i960/configure: Ditto.
389 * libc/machine/iq2000/Makefile.in: Ditto.
390 * libc/machine/iq2000/configure: Ditto.
391 * libc/machine/m32c/Makefile.in: Ditto.
392 * libc/machine/m32c/configure: Ditto.
393 * libc/machine/m32r/Makefile.in: Ditto.
394 * libc/machine/m32r/configure: Ditto.
395 * libc/machine/m68hc11/Makefile.in: Ditto.
396 * libc/machine/m68hc11/configure: Ditto.
397 * libc/machine/m68k/Makefile.in: Ditto.
398 * libc/machine/m68k/configure: Ditto.
399 * libc/machine/m88k/Makefile.in: Ditto.
400 * libc/machine/m88k/configure: Ditto.
401 * libc/machine/mep/Makefile.in: Ditto.
402 * libc/machine/mep/configure: Ditto.
403 * libc/machine/mips/Makefile.in: Ditto.
404 * libc/machine/mips/configure: Ditto.
405 * libc/machine/mn10200/Makefile.in: Ditto.
406 * libc/machine/mn10200/configure: Ditto.
407 * libc/machine/mn10300/Makefile.in: Ditto.
408 * libc/machine/mn10300/configure: Ditto.
409 * libc/machine/mt/Makefile.in: Ditto.
410 * libc/machine/mt/configure: Ditto.
411 * libc/machine/necv70/Makefile.in: Ditto.
412 * libc/machine/necv70/configure: Ditto.
413 * libc/machine/powerpc/Makefile.in: Ditto.
414 * libc/machine/powerpc/configure: Ditto.
415 * libc/machine/sh/Makefile.in: Ditto.
416 * libc/machine/sh/configure: Ditto.
417 * libc/machine/sparc/Makefile.in: Ditto.
418 * libc/machine/sparc/configure: Ditto.
419 * libc/machine/spu/Makefile.in: Ditto.
420 * libc/machine/spu/configure: Ditto.
421 * libc/machine/tic4x/Makefile.in: Ditto.
422 * libc/machine/tic4x/configure: Ditto.
423 * libc/machine/tic80/Makefile.in: Ditto.
424 * libc/machine/tic80/configure: Ditto.
425 * libc/machine/v850/Makefile.in: Ditto.
426 * libc/machine/v850/configure: Ditto.
427 * libc/machine/w65/Makefile.in: Ditto.
428 * libc/machine/w65/configure: Ditto.
429 * libc/machine/x86_64/Makefile.in: Ditto.
430 * libc/machine/x86_64/configure: Ditto.
431 * libc/machine/xscale/Makefile.in: Ditto.
432 * libc/machine/xscale/configure: Ditto.
433 * libc/machine/xstormy16/Makefile.in: Ditto.
434 * libc/machine/xstormy16/configure: Ditto.
435 * libc/machine/z8k/Makefile.in: Ditto.
436 * libc/machine/z8k/configure: Ditto.
437 * libc/misc/Makefile.in: Ditto.
438 * libc/posix/Makefile.in: Ditto.
439 * libc/reent/Makefile.in: Ditto.
440 * libc/search/Makefile.in: Ditto.
441 * libc/signal/Makefile.in: Ditto.
442 * libc/stdio/Makefile.in: Ditto.
443 * libc/stdio64/Makefile.in: Ditto.
444 * libc/stdlib/Makefile.in: Ditto.
445 * libc/string/Makefile.in: Ditto.
446 * libc/sys/Makefile.in: Ditto.
447 * libc/sys/aclocal.m4: Ditto.
448 * libc/sys/configure: Ditto.
449 * libc/sys/a29khif/Makefile.in: Ditto.
450 * libc/sys/a29khif/configure: Ditto.
451 * libc/sys/arc/Makefile.in: Ditto.
452 * libc/sys/arc/configure: Ditto.
453 * libc/sys/arm/Makefile.in: Ditto.
454 * libc/sys/arm/configure: Ditto.
455 * libc/sys/d10v/Makefile.in: Ditto.
456 * libc/sys/d10v/configure: Ditto.
457 * libc/sys/decstation/Makefile.in: Ditto.
458 * libc/sys/decstation/configure: Ditto.
459 * libc/sys/h8300hms/Makefile.in: Ditto.
460 * libc/sys/h8300hms/configure: Ditto.
461 * libc/sys/h8500hms/Makefile.in: Ditto.
462 * libc/sys/h8500hms/configure: Ditto.
463 * libc/sys/linux/Makefile.in: Ditto.
464 * libc/sys/linux/aclocal.m4: Ditto.
465 * libc/sys/linux/configure: Ditto.
466 * libc/sys/linux/argp/Makefile.in: Ditto.
467 * libc/sys/linux/cmath/Makefile.in: Ditto.
468 * libc/sys/linux/dl/Makefile.in: Ditto.
469 * libc/sys/linux/iconv/Makefile.in: Ditto.
470 * libc/sys/linux/intl/Makefile.in: Ditto.
471 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
472 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
473 * libc/sys/linux/linuxthreads/configure: Ditto.
474 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
475 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
476 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
477 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
478 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
479 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
480 * libc/sys/linux/machine/Makefile.in: Ditto.
481 * libc/sys/linux/machine/aclocal.m4: Ditto.
482 * libc/sys/linux/machine/configure: Ditto.
483 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
484 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
485 * libc/sys/linux/machine/i386/configure: Ditto.
486 * libc/sys/linux/net/Makefile.in: Ditto.
487 * libc/sys/linux/stdlib/Makefile.in: Ditto.
488 * libc/sys/m88kbug/Makefile.in: Ditto.
489 * libc/sys/m88kbug/configure: Ditto.
490 * libc/sys/mmixware/Makefile.in: Ditto.
491 * libc/sys/mmixware/configure: Ditto.
492 * libc/sys/netware/Makefile.in: Ditto.
493 * libc/sys/netware/configure: Ditto.
494 * libc/sys/rdos/Makefile.in: Ditto.
495 * libc/sys/rdos/configure: Ditto.
496 * libc/sys/rtems/Makefile.in: Ditto.
497 * libc/sys/rtems/configure: Ditto.
498 * libc/sys/sh/Makefile.in: Ditto.
499 * libc/sys/sh/configure: Ditto.
500 * libc/sys/sparc64/Makefile.in: Ditto.
501 * libc/sys/sparc64/configure: Ditto.
502 * libc/sys/sun4/Makefile.in: Ditto.
503 * libc/sys/sun4/configure: Ditto.
504 * libc/sys/sysmec/Makefile.in: Ditto.
505 * libc/sys/sysmec/configure: Ditto.
506 * libc/sys/sysnec810/Makefile.in: Ditto.
507 * libc/sys/sysnec810/configure: Ditto.
508 * libc/sys/sysnecv850/Makefile.in: Ditto.
509 * libc/sys/sysnecv850/configure: Ditto.
510 * libc/sys/sysvi386/Makefile.in: Ditto.
511 * libc/sys/sysvi386/configure: Ditto.
512 * libc/sys/sysvnecv70/Makefile.in: Ditto.
513 * libc/sys/sysvnecv70/configure: Ditto.
514 * libc/sys/tic80/Makefile.in: Ditto.
515 * libc/sys/tic80/configure: Ditto.
516 * libc/sys/w65/Makefile.in: Ditto.
517 * libc/sys/w65/configure: Ditto.
518 * libc/sys/z8ksim/Makefile.in: Ditto.
519 * libc/sys/z8ksim/configure: Ditto.
520 * libc/syscalls/Makefile.in: Ditto.
521 * libc/time/Makefile.in: Ditto.
522 * libc/unix/Makefile.in: Ditto.
523 * libm/Makefile.in: Ditto.
524 * libm/aclocal.m4: Ditto.
525 * libm/configure: Ditto.
526 * libm/common/Makefile.in: Ditto.
527 * libm/machine/Makefile.in: Ditto.
528 * libm/machine/aclocal.m4: Ditto.
529 * libm/machine/configure: Ditto.
530 * libm/machine/i386/Makefile.in: Ditto.
531 * libm/machine/i386/aclocal.m4: Ditto.
532 * libm/machine/i386/configure: Ditto.
533 * libm/machine/spu/Makefile.in: Ditto.
534 * libm/machine/spu/configure: Ditto.
535 * libm/math/Makefile.in: Ditto.
536 * libm/mathfp/Makefile.in: Ditto.
537
538 2008-09-26 Craig Howland <howland@LGSInnovations.com>
539
540 * libc/stdlib/getenv_r.c (_getenv_r): Modify to not match if name
541 contains an equal sign.
542
543 2008-09-25 Raphael Derossa Pereira <raphaelpereira@gmail.com>
544
545 * libc/include/pthread.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
546 new pthread_mutexattr_gettype and pthread_mutexattr_settype
547 prototypes.
548 * libc/include/sys/types.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
549 new mutex type values.
550 (pthread_mutexattr_t)[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add type
551 field.
552
553 2008-09-24 Jeff Johnston <jjohnstn@redhat.com>
554
555 * libc/stdlib/setenv_r.c (_unsetenv_r): Modify to return -1 only if
556 name is NULL, empty, or contains equal sign.
557
558 2008-09-24 Pawel Veselov <pawel.veselov@gmail.com>
559
560 Fix setenv/getenv/unsetenv to be OpenGroup compliant:
561 * libc/include/stdlib.h (unsetenv, _unsetenv_r): Redefine with integer
562 return types.
563 * libc/stdlib/getenv_r.c (_findenv_r): Do no special processing with
564 names that contain equal chars.
565 * libc/stdlib/setenv.c: Redefine _unsetenv_r as returning int.
566 * libc/stdlib/setenv_r.c (_setenv_r): Return -1 and set errno to
567 EINVAL if name contains an equal sign. Do not remove any equal signs
568 from the value.
569 (_unsetenv_r): Modified to return int. Return -1 and set EINVAL
570 if name contains equal sign. Return -1 if no variable(s) were found
571 and return 0 otherwise.
572
573 2008-09-19 Eric Blake <ebb9@byu.net>
574
575 Supply missing POSIX errno values.
576 * libc/include/sys/errno.h (ENOTRECOVERABLE, EOWNERDEAD): Define.
577 * libc/string/strerror.c (strerror): Decode them, and ECANCELED.
578
579 2008-09-10 Ken Werner <ken.werner@de.ibm.com>
580
581 * libc/machine/spu/strcpy.h: Add missing header.
582 * libc/machine/spu/spu_timer_slih.c: Remove unused Variable.
583 * libm/machine/spu/headers/lgammaf4.h: Add type cast.
584
585 2008-09-08 Jeff Johnston <jjohnstn@redhat.com>
586
587 * libc/sys/linux/dl/atomicity.h (exchange_and_add): Fix asm
588 statement to use "m" instead of "0".
589 (atomic_add): Ditto.
590 * libc/sys/linux/linuxthreads/spinlock.c (__pthread_release): Ditto.
591 * libc/sys/linux/net/getaddrinfo.c: Add limit.h include.
592 * libc/sys/linux/stdlib/glob.c: Ditto.
593
594 2008-09-04 Ken Werner <ken.werner@de.ibm.com>
595
596 * libm/machine/spu/headers/acosd2.h: Duplicated preamble text removed.
597 * libm/machine/spu/headers/acosf4.h: Likewise.
598 * libm/machine/spu/headers/acoshd2.h: Likewise.
599 * libm/machine/spu/headers/acoshf4.h: Likewise.
600 * libm/machine/spu/headers/asind2.h: Likewise.
601 * libm/machine/spu/headers/asinf4.h: Likewise.
602 * libm/machine/spu/headers/asinhd2.h: Likewise.
603 * libm/machine/spu/headers/asinhf4.h: Likewise.
604 * libm/machine/spu/headers/atan2d2.h: Likewise.
605 * libm/machine/spu/headers/atan2f4.h: Likewise.
606 * libm/machine/spu/headers/atand2.h: Likewise.
607 * libm/machine/spu/headers/atanf4.h: Likewise.
608 * libm/machine/spu/headers/atanhd2.h: Likewise.
609 * libm/machine/spu/headers/atanhf4.h: Likewise.
610 * libm/machine/spu/headers/cos_sin.h: Likewise.
611 * libm/machine/spu/headers/cosd2.h: Likewise.
612 * libm/machine/spu/headers/cosf4.h: Likewise.
613 * libm/machine/spu/headers/coshd2.h: Likewise.
614 * libm/machine/spu/headers/coshf4.h: Likewise.
615 * libm/machine/spu/headers/divd2.h: Likewise.
616 * libm/machine/spu/headers/divf4.h: Likewise.
617 * libm/machine/spu/headers/erf_utils.h: Likewise.
618 * libm/machine/spu/headers/erfcd2.h: Likewise.
619 * libm/machine/spu/headers/erfcf4.h: Likewise.
620 * libm/machine/spu/headers/erfd2.h: Likewise.
621 * libm/machine/spu/headers/erff4.h: Likewise.
622 * libm/machine/spu/headers/exp2d2.h: Likewise.
623 * libm/machine/spu/headers/exp2f4.h: Likewise.
624 * libm/machine/spu/headers/expd2.h: Likewise.
625 * libm/machine/spu/headers/expf4.h: Likewise.
626 * libm/machine/spu/headers/expm1d2.h: Likewise.
627 * libm/machine/spu/headers/expm1f4.h: Likewise.
628 * libm/machine/spu/headers/floord2.h: Likewise.
629 * libm/machine/spu/headers/floorf4.h: Likewise.
630 * libm/machine/spu/headers/hypotd2.h: Likewise.
631 * libm/machine/spu/headers/hypotf4.h: Likewise.
632 * libm/machine/spu/headers/isnand2.h: Likewise.
633 * libm/machine/spu/headers/isnanf4.h: Likewise.
634 * libm/machine/spu/headers/ldexpd2.h: Likewise.
635 * libm/machine/spu/headers/ldexpf4.h: Likewise.
636 * libm/machine/spu/headers/lgammad2.h: Likewise.
637 * libm/machine/spu/headers/lgammaf4.h: Likewise.
638 * libm/machine/spu/headers/log10d2.h: Likewise.
639 * libm/machine/spu/headers/log1pd2.h: Likewise.
640 * libm/machine/spu/headers/log1pf4.h: Likewise.
641 * libm/machine/spu/headers/log2d2.h: Likewise.
642 * libm/machine/spu/headers/log2f4.h: Likewise.
643 * libm/machine/spu/headers/logbf4.h: Likewise.
644 * libm/machine/spu/headers/logd2.h: Likewise.
645 * libm/machine/spu/headers/logf4.h: Likewise.
646 * libm/machine/spu/headers/nearbyintf4.h: Likewise.
647 * libm/machine/spu/headers/nextafterd2.h: Likewise.
648 * libm/machine/spu/headers/nextafterf4.h: Likewise.
649 * libm/machine/spu/headers/powd2.h: Likewise.
650 * libm/machine/spu/headers/powf4.h: Likewise.
651 * libm/machine/spu/headers/recipd2.h: Likewise.
652 * libm/machine/spu/headers/recipf4.h: Likewise.
653 * libm/machine/spu/headers/rintf4.h: Likewise.
654 * libm/machine/spu/headers/scalbnf4.h: Likewise.
655 * libm/machine/spu/headers/signbitd2.h: Likewise.
656 * libm/machine/spu/headers/sincosd2.h: Likewise.
657 * libm/machine/spu/headers/sincosf4.h: Likewise.
658 * libm/machine/spu/headers/sind2.h: Likewise.
659 * libm/machine/spu/headers/sinf4.h: Likewise.
660 * libm/machine/spu/headers/sinhd2.h: Likewise.
661 * libm/machine/spu/headers/sinhf4.h: Likewise.
662 * libm/machine/spu/headers/sqrtd2.h: Likewise.
663 * libm/machine/spu/headers/sqrtf4.h: Likewise.
664 * libm/machine/spu/headers/tand2.h: Likewise.
665 * libm/machine/spu/headers/tanf4.h: Likewise.
666 * libm/machine/spu/headers/tanhd2.h: Likewise.
667 * libm/machine/spu/headers/tanhf4.h: Likewise.
668 * libm/machine/spu/headers/tgammad2.h: Likewise.
669 * libm/machine/spu/headers/tgammaf4.h: Likewise.
670 * libm/machine/spu/headers/truncd2.h: Likewise.
671 * libm/machine/spu/headers/truncf4.h: Likewise.
672 * libm/machine/spu/headers/simdmath.h: Likewise.
673
674 2008-09-04 Ken Werner <ken.werner@de.ibm.com>
675
676 * libm/machine/spu/headers/acoshf4.h: Rebase against current simdmath.
677 * libm/machine/spu/headers/asinhd2.h: Likewise.
678 * libm/machine/spu/headers/atanhd2.h: Likewise.
679 * libm/machine/spu/headers/atanhf4.h: Likewise.
680 * libm/machine/spu/headers/erff4.h: Likewise.
681 * libm/machine/spu/headers/expd2.h: Likewise.
682 * libm/machine/spu/headers/ldexpd2.h: Likewise.
683 * libm/machine/spu/headers/lgammaf4.h: Likewise.
684 * libm/machine/spu/headers/logbf4.h: Likewise.
685 * libm/machine/spu/headers/nextafterd2.h: Likewise.
686 * libm/machine/spu/headers/nextafterf4.h: Likewise.
687 * libm/machine/spu/headers/recipd2.h: Likewise.
688 * libm/machine/spu/headers/simdmath.h: Likewise.
689 * libm/machine/spu/headers/acoshd2.: Likewise.
690
691 2008-09-04 Ken Werner <ken.werner@de.ibm.com>
692
693 * libm/machine/spu/headers/cbrt.h: cbrt_factors[] declared.
694 * libm/machine/spu/headers/cbrtf.h: Likewise.
695
696 2008-09-01 Ken Werner <ken.werner@de.ibm.com>
697
698 * libc/machine/spu/include/spu_timer.h: spu_timebase function added.
699 * libc/machine/spu/spu_timebase.c: New file.
700 * libc/machine/spu/Makefile.am: Add new file.
701 * libc/machine/spu/Makefile.in: Regenerated.
702
703 2008-08-28 Craig Howland <howland@LGSInnovations.com>
704
705 * libc/time/mktime.c (mktime): Fix tm_isdst value usage (allowing
706 any positive value from user (per std) rather than depending
707 upon 1).
708
709 2008-08-28 Corinna Vinschen <corinna@vinschen.de>
710
711 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Optimize condition
712 for accepting a converted character.
713
714 2008-08-27 Sandra Loosemore <sandra@codesourcery.com>
715
716 * libc/libc.texinfo: Remove "LOCAL KLUGE" that prevents it
717 from building pdfs.
718 * libm/libm.texinfo: Likewise.
719
720 2008-08-27 Corinna Vinschen <corinna@vinschen.de>
721
722 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Fix condition for
723 accepting a converted character and continuing the loop.
724
725 2008-07-24 Jeff Johnston <jjohnstn@redhat.com>
726
727 * libc/include/ctype.h (_ctype_): Restore for C++ backward
728 compatability only.
729
730 2008-07-21 Jeff Johnston <jjohnstn@redhat.com>
731
732 * libc/ctype/ctype_.c: Add new pointer __ctype_ptr__ which is one
733 less than the old __ctype_ptr.
734 * libc/ctype/isalnum.c: Use __ctype_ptr__.
735 * libc/ctype/isalpha.c: Ditto.
736 * libc/ctype/iscntrl.c: Ditto.
737 * libc/ctype/isdigit.c: Ditto.
738 * libc/ctype/islower.c: Ditto.
739 * libc/ctype/isprint.c: Ditto.
740 * libc/ctype/ispunct.c: Ditto.
741 * libc/ctype/isspace.c: Ditto.
742 * libc/ctype/isupper.c: Ditto.
743 * libc/ctype/isxdigit.c: Ditto.
744 * libc/include/ctype.h: Change ctype macros to use new __ctype_ptr__
745 and add declaration of __ctype_ptr__. Remove older ctype table pointers
746 from here even though they can still work.
747
748 2008-07-18 Ken Werner <ken.werner@de.ibm.com>
749
750 * libc/machine/spu/strcpy.h: Fix error in previous patch.
751
752 2008-07-17 Jeff Johnston <jjohnstn@redhat.com>
753
754 * libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
755 __STDC_VERSION__ < 199901L and __GNUC__ >= 2.
756
757 2008-07-17 Ken Werner <ken.werner@de.ibm.com>
758
759 * libc/machine/spu/strcpy.h: Pad null bytes if necessary.
760
761 2008-07-08 Kenji Tanaka <tanaka.ken2@jp.panasonic.com>
762
763 * libc/machine/mn10300/memset.S: Fix bug where return value is
764 incorrectly set if number of bytes set is a multiple of 4.
765
766 2008-07-07 Hans-Peter Nilsson <hp@axis.com>
767
768 * libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
769 (strncpy): Cast src to uintptr_t before checking alignment with "&".
770
771 2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
772
773 * libc/argz/argz_count.c: Include stddef.h to get size_t.
774 * libc/argz/argz_extract.c: Ditto.
775 * libc/argz/argz_stringify.c: Ditto.
776 * libc/search/hash.h: Ditto.
777 * libc/sys/linux/include/sched.h: Ditto.
778 * libc/sys/linux/sys/types.h: Ditto.
779
780 2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
781
782 * libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
783 source data is taken care of before loop unrolling.
784
785 2008-06-25 Hans-Peter Nilsson <hp@axis.com>
786
787 Fix strict-aliasing issues with _strtod_r and Storeinc.
788 * libc/stdlib/strtod.c (_strtod_r): Change local variables aadj,
789 rv, rv0 from double to type U. Use accessor macros dval, dword0
790 and dword1 for all accesses except for the ULtod call, where rv.i
791 replaces the pointer cast.
792 * libc/stdlib/mprec.h (U): Rename member L to i for easier re-use
793 of access macros. Tweak comment.
794 Remove #ifdef'd YES_ALIAS code.
795 (dword0, dword1, dval): Define in terms of uncast union member
796 access. Ditto for _DOUBLE_IS_32BITS variants.
797 (Storeinc): Replace aliasing-flawed microoptimized definition with
798 alternative suggested in comment. Remove now stale comment.
799
800 2008-06-21 Corinna Vinschen <corinna@vinschen.de>
801
802 * libc/include/machine/setjmp.h (_longjmp): Define as function on
803 Cygwin.
804 (_setjmp): Ditto.
805
806 2008-06-18 Eric Blake <ebb9@byu.net>
807
808 Per Posix, strsignal returns non-const char*.
809 * libc/include/string.h (strsignal): Fix return type.
810
811 2008-06-17 Ken Werner <ken.werner@de.ibm.com>
812
813 * libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall
814 support.
815
816 2008-06-16 Ken Werner <ken.werner@de.ibm.com>
817
818 * libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
819 * libc/machine/spu/sys/sched.h: Likewise.
820 * libc/machine/spu/sys/syscall.h: Likewise.
821
822 2008-06-16 Ken Werner <ken.werner@de.ibm.com>
823
824 * libc/machine/spu/mk_syscalls: Provide .type and .size directives
825 in generated assembler files.
826 * libc/machine/spu/fprintf.S: Regenerate.
827 * libc/machine/spu/fscanf.S: Regenerate.
828 * libc/machine/spu/printf.S: Regenerate.
829 * libc/machine/spu/scanf.S: Regenerate.
830 * libc/machine/spu/snprintf.S: Regenerate.
831 * libc/machine/spu/sprintf.S: Regenerate.
832 * libc/machine/spu/sscanf.S: Regenerate.
833 * libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type
834 and .size directives.
835 * libc/machine/spu/setjmp.S (setjmp): Likewise.
836 (longjmp): Likewise.
837
838 2008-06-11 Jeff Johnston <jjohnstn@redhat.com>
839
840 * libc/include/machine/_default_types.h: Fix GNUC check to
841 handle 4.0 and greater.
842
843 2008-06-09 Ken Werner <ken.werner@de.ibm.com>
844
845 * libc/machine/spu/Makefile.am: Add new files.
846 * libc/machine/spu/Makefile.in: Likewise.
847 * libc/machine/spu/include/spu_timer.h: New file to add timer support
848 using interrupts.
849 * libc/machine/spu/spu_clock_stop.c: Likewise.
850 * libc/machine/spu/spu_clock_svcs.c: Likewise.
851 * libc/machine/spu/spu_timer_flih.S: Likewise.
852 * libc/machine/spu/spu_timer_free.c: Likewise.
853 * libc/machine/spu/spu_timer_internal.h: Likewise.
854 * libc/machine/spu/spu_timer_slih.c: Likewise.
855 * libc/machine/spu/spu_timer_slih_reg.c: Likewise.
856 * libc/machine/spu/spu_timer_stop.c: Likewise.
857 * libc/machine/spu/spu_timer_svcs.c: Likewise.
858
859 2008-06-09 Ken Werner <ken.werner@de.ibm.com>
860
861 * libc/machine/spu/strcat.c: Return value fixed.
862 * libc/machine/spu/strncat.c: Likewise.
863
864 2008-05-28 Eric Blake <ebb9@byu.net>
865
866 Fix bug in previous patch.
867 * libc/machine/i386/memset.S (memset): Mask second arg correctly.
868
869 2008-05-27 Jeff Johnston <jjohnstn@redhat.com>
870
871 * libc/string/memset.c: Fix documented prototype to remove
872 erroneous const attribute on first parameter.
873
874 2008-05-26 Eric Blake <ebb9@byu.net>
875
876 Optimize the generic and x86 memchr.
877 * libc/string/memchr.c (memchr) [!__OPTIMIZE_SIZE__]:
878 Pre-align pointer so unaligned searches aren't penalized.
879 * libc/machine/i386/memchr.S (memchr) [!__OPTIMIZE_SIZE__]: Word
880 operations are faster than repnz byte searches.
881
882 2008-05-26 Eric Blake <ebb9@byu.net>
883
884 Optimize the generic and x86 memset.
885 * libc/string/memset.c (memset) [!__OPTIMIZE_SIZE__]:
886 Pre-align pointer so unaligned stores aren't penalized.
887 * libc/machine/i386/memset.S (memset) [!__OPTIMIZE_SIZE__]:
888 Pre-align pointer so unaligned stores aren't penalized. Prefer
889 8-byte over 4-byte alignment. Reduce register pressure.
890
891 2008-05-26 Eric Blake <ebb9@byu.net>
892
893 Optimize the generic and x86 strlen.
894 * libc/string/strlen.c (strlen) [!__OPTIMIZE_SIZE__]: Pre-align
895 data so unaligned searches aren't penalized.
896 * libc/machine/i386/strlen.S (strlen) [!__OPTIMIZE_SIZE__]:
897 Word operations are faster than repnz byte searches.
898
899 2008-05-23 Corinna Vinschen <corinna@vinschen.de>
900
901 * libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
902
903 2008-05-22 Jeff Johnston <jjohnstn@redhat.com>
904
905 * libc/include/sys/reent.h: Add _h_errno field.
906 * libc/sys/linux/libc-symbols.h: Add default stubs for new libc macros
907 now used in net directory.
908 * libc/sys/linux/bits/libc-lock.h: Always define _IO_MTSAFE_IO.
909 * libc/sys/linux/include/hesiod.h: Add needed macros for new code
910 in net directory.
911 * libc/sys/linux/include/netdb.h: Ditto.
912 * libc/sys/linux/include/resolv.h: Ditto.
913 * libc/sys/linux/include/stdint.h: Ditto.
914 * libc/sys/linux/include/arpa/nameser.h: Ditto.
915 * libc/sys/linux/include/net/ethernet.h: Ditto.
916 * libc/sys/linux/include/net/if_ppp.h: Ditto.
917 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
918 * libc/sys/linux/machine/i386/get_clockfreq.c: Remove static memmem.
919 * libc/sys/linux/machine/i386/include/endian.h: Protect macros with
920 flags to avoid duplicate definition.
921 * libc/sys/linux/machine/i386/include/param.h: Ditto.
922 * libc/sys/linux/net/Makefile.am: Modified to account for removed and
923 added files.
924 * libc/sys/linux/net/Makefile.in: Regenerated.
925 * libc/sys/linux/net/base64.c: Replaced with glibc version of code.
926 * libc/sys/linux/net/getaddrinfo.c: Ditto.
927 * libc/sys/linux/net/getnameinfo.c: Ditto.
928 * libc/sys/linux/net/getproto.c: Ditto.
929 * libc/sys/linux/net/getservent.c: Ditto.
930 * libc/sys/linux/net/inet_netof.c: Ditto.
931 * libc/sys/linux/net/inet_lnaof.c: Ditto.
932 * libc/sys/linux/net/ns_name.c: Ditto.
933 * libc/sys/linux/net/ns_netint.c: Ditto.
934 * libc/sys/linux/net/inet_ntoa.c: Ditto.
935 * libc/sys/linux/net/ns_parse.c: Ditto.
936 * libc/sys/linux/net/ns_print.c: Ditto.
937 * libc/sys/linux/net/ns_ttl.c: Ditto.
938 * libc/sys/linux/net/nsap_addr.c: Ditto.
939 * libc/sys/linux/net/rcmd.c: Ditto.
940 * libc/sys/linux/net/res_comp.c: Ditto.
941 * libc/sys/linux/net/res_data.c: Ditto.
942 * libc/sys/linux/net/res_debug.c: Ditto.
943 * libc/sys/linux/net/res_init.c: Ditto.
944 * libc/sys/linux/net/res_mkquery.c: Ditto.
945 * libc/sys/linux/net/res_query.c: Ditto.
946 * libc/sys/linux/net/res_send.c: Ditto.
947 * libc/sys/linux/net/send.c: Ditto.
948 * libc/sys/linux/stdlib/collate.c: Ditto.
949 * libc/sys/linux/sys/ioctl.h: Ditto.
950 * libc/sys/linux/sys/socket.h: Ditto.
951 * libc/sys/linux/sys/unistd.h: Ditto.
952 * libc/sys/linux/iconv/iconvconfig.c: Removed either because no longer
953 used or because licensing includes advertising clause that cannot be
954 ignored.
955 * libc/sys/linux/iconv/strtab.c: Ditto.
956 * libc/sys/linux/include/libc_private.h: Ditto.
957 * libc/sys/linux/include/nsswitch.h: Ditto.
958 * libc/sys/linux/include/net/if_atm.h: Ditto.
959 * libc/sys/linux/include/net/if_media.h: Ditto.
960 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
961 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
962 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
963 * libc/sys/linux/intl/locale.alias: Ditto.
964 * libc/sys/linux/net/addr2ascii.3: Ditto.
965 * libc/sys/linux/net/bindresvport.c: Ditto.
966 * libc/sys/linux/net/byteorder.3: Ditto.
967 * libc/sys/linux/net/res_config.h: Ditto.
968 * libc/sys/linux/net/ether_addr.c: Ditto.
969 * libc/sys/linux/net/ethers.3: Ditto.
970 * libc/sys/linux/net/getaddrinfo.3: Ditto.
971 * libc/sys/linux/net/gethostbydns.c: Ditto.
972 * libc/sys/linux/net/gethostbyht.c: Ditto.
973 * libc/sys/linux/net/gethostbyname.3: Ditto.
974 * libc/sys/linux/net/gethostbynis.c: Ditto.
975 * libc/sys/linux/net/gethostnamadr.c: Ditto.
976 * libc/sys/linux/net/getifaddrs.3: Ditto.
977 * libc/sys/linux/net/getifaddrs.c: Ditto.
978 * libc/sys/linux/net/getipnodebyname.3: Ditto.
979 * libc/sys/linux/net/getnameinfo.3: Ditto.
980 * libc/sys/linux/net/getnetbydns.c: Ditto.
981 * libc/sys/linux/net/getnetbyht.c: Ditto.
982 * libc/sys/linux/net/getnetbynis.c: Ditto.
983 * libc/sys/linux/net/getnetent.3: Ditto.
984 * libc/sys/linux/net/getnetnamadr.c: Ditto.
985 * libc/sys/linux/net/getprotoent.3: Ditto.
986 * libc/sys/linux/net/getprotoent.c: Ditto.
987 * libc/sys/linux/net/getprotoname.c: Ditto.
988 * libc/sys/linux/net/getservbyname.c: Ditto.
989 * libc/sys/linux/net/getservbyport.c: Ditto.
990 * libc/sys/linux/net/getservent.3: Ditto.
991 * libc/sys/linux/net/herror.c: Ditto.
992 * libc/sys/linux/net/hesiod.3: Ditto.
993 * libc/sys/linux/net/hesiod.c: Ditto.
994 * libc/sys/linux/net/if_indextoname.3: Ditto.
995 * libc/sys/linux/net/inet.3: Ditto.
996 * libc/sys/linux/net/inet6_option_space.3: Ditto.
997 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
998 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
999 * libc/sys/linux/net/inet_net.3: Ditto.
1000 * libc/sys/linux/net/inet_network.c: Ditto.
1001 * libc/sys/linux/net/innetgr-stub.c: Ditto.
1002 * libc/sys/linux/net/ip6opt.c: Ditto.
1003 * libc/sys/linux/net/iso_addr.3: Ditto.
1004 * libc/sys/linux/net/iso_addr.c: Ditto.
1005 * libc/sys/linux/net/linkaddr.3: Ditto.
1006 * libc/sys/linux/net/linkaddr.c: Ditto.
1007 * libc/sys/linux/net/map_v4v6.c: Ditto.
1008 * libc/sys/linux/net/name6.c: Ditto.
1009 * libc/sys/linux/net/namespace.h: Ditto.
1010 * libc/sys/linux/net/ns.3: Ditto.
1011 * libc/sys/linux/net/ns_addr.c: Ditto.
1012 * libc/sys/linux/net/ns_ntoa.c: Ditto.
1013 * libc/sys/linux/net/nsdispatch.3: Ditto.
1014 * libc/sys/linux/net/nsdispatch.c: Ditto.
1015 * libc/sys/linux/net/nslexer.c: Ditto.
1016 * libc/sys/linux/net/nslexer.l: Ditto.
1017 * libc/sys/linux/net/nsparser.c: Ditto.
1018 * libc/sys/linux/net/nsparser.h: Ditto.
1019 * libc/sys/linux/net/nsparser.y: Ditto.
1020 * libc/sys/linux/net/rcmd.3: Ditto.
1021 * libc/sys/linux/net/rcmdsh.3: Ditto.
1022 * libc/sys/linux/net/res_mkupdate.c: Ditto.
1023 * libc/sys/linux/net/res_update.c: Ditto.
1024 * libc/sys/linux/net/resolver.3: Ditto.
1025 * libc/sys/linux/net/rthdr.c: Ditto.
1026 * libc/sys/linux/net/vars.c: Ditto.
1027 * libc/sys/linux/shlib-compat.h: New file.
1028 * libc/sys/linux/machine/i386/atomic.h: Ditto.
1029 * libc/sys/linux/net/XXX-lookup.c: Ditto.
1030 * libc/sys/linux/net/alias-lookup.c: Ditto.
1031 * libc/sys/linux/net/res_libc.c: Ditto.
1032 * libc/sys/linux/net/aliases.h: Ditto.
1033 * libc/sys/linux/net/check_pf.c: Ditto.
1034 * libc/sys/linux/net/databases.def: Ditto.
1035 * libc/sys/linux/net/digits_dots.c: Ditto.
1036 * libc/sys/linux/net/ether_aton.c: Ditto.
1037 * libc/sys/linux/net/ether_aton_r.c: Ditto.
1038 * libc/sys/linux/net/ether_hton.c: Ditto.
1039 * libc/sys/linux/net/ether_line.c: Ditto.
1040 * libc/sys/linux/net/ether_ntoa.c: Ditto.
1041 * libc/sys/linux/net/ether_ntoa_r.c: Ditto.
1042 * libc/sys/linux/net/ether_ntoh.c: Ditto.
1043 * libc/sys/linux/net/etherent.h: Ditto.
1044 * libc/sys/linux/net/ethers-lookup.c: Ditto.
1045 * libc/sys/linux/net/function.def: Ditto.
1046 * libc/sys/linux/net/getXXbyYY.c: Ditto.
1047 * libc/sys/linux/net/getXXbyYY_r.c: Ditto.
1048 * libc/sys/linux/net/getXXent.c: Ditto.
1049 * libc/sys/linux/net/getXXent_r.c: Ditto.
1050 * libc/sys/linux/net/getaliasent.c: Ditto.
1051 * libc/sys/linux/net/getaliasent_r.c: Ditto.
1052 * libc/sys/linux/net/getaliasname.c: Ditto.
1053 * libc/sys/linux/net/getaliasname_r.c: Ditto.
1054 * libc/sys/linux/net/gethstbyad.c: Ditto.
1055 * libc/sys/linux/net/gethstbyad_r.c: Ditto.
1056 * libc/sys/linux/net/gethstbynm.c: Ditto.
1057 * libc/sys/linux/net/gethstbynm2.c: Ditto.
1058 * libc/sys/linux/net/gethstbynm2_r.c: Ditto.
1059 * libc/sys/linux/net/gethstbynm_r.c: Ditto.
1060 * libc/sys/linux/net/gethstent.c: Ditto.
1061 * libc/sys/linux/net/gethstent_r.c: Ditto.
1062 * libc/sys/linux/net/getnetbyad.c: Ditto.
1063 * libc/sys/linux/net/getnetbyad_r.c: Ditto.
1064 * libc/sys/linux/net/getnetbynm.c: Ditto.
1065 * libc/sys/linux/net/getnetbynm_r.c: Ditto.
1066 * libc/sys/linux/net/getnetent.c: Ditto.
1067 * libc/sys/linux/net/getnetent_r.c: Ditto.
1068 * libc/sys/linux/net/getnetgrent.c: Ditto.
1069 * libc/sys/linux/net/getnetgrent_r.c: Ditto.
1070 * libc/sys/linux/net/getnssent.c: Ditto.
1071 * libc/sys/linux/net/getnssent_r.c: Ditto.
1072 * libc/sys/linux/net/getproto_r.c: Ditto.
1073 * libc/sys/linux/net/getprtent.c: Ditto.
1074 * libc/sys/linux/net/getprtent_r.c: Ditto.
1075 * libc/sys/linux/net/getprtname.c: Ditto.
1076 * libc/sys/linux/net/getprtname_r.c: Ditto.
1077 * libc/sys/linux/net/getrpcbyname.c: Ditto.
1078 * libc/sys/linux/net/getrpcbyname_r.c: Ditto.
1079 * libc/sys/linux/net/getrpcbynumber.c: Ditto.
1080 * libc/sys/linux/net/getrpcbynumber_r.c: Ditto.
1081 * libc/sys/linux/net/getrpcent.c: Ditto.
1082 * libc/sys/linux/net/getrpcent_r.c: Ditto.
1083 * libc/sys/linux/net/getservent_r.c: Ditto.
1084 * libc/sys/linux/net/getsrvbynm.c: Ditto.
1085 * libc/sys/linux/net/getsrvbynm_r.c: Ditto.
1086 * libc/sys/linux/net/getsrvbypt.c: Ditto.
1087 * libc/sys/linux/net/getsrvbypt_r.c: Ditto.
1088 * libc/sys/linux/net/grp-lookup.c: Ditto.
1089 * libc/sys/linux/net/herrno.c: Ditto.
1090 * libc/sys/linux/net/hosts-lookup.c: Ditto.
1091 * libc/sys/linux/net/ifaddrs.h: Ditto.
1092 * libc/sys/linux/net/ifreq.c: Ditto.
1093 * libc/sys/linux/net/ifreq.h: Ditto.
1094 * libc/sys/linux/net/in6_addr.c: Ditto.
1095 * libc/sys/linux/net/inet6_option.c: Ditto.
1096 * libc/sys/linux/net/inet_mkadr.c: Ditto.
1097 * libc/sys/linux/net/inet_net.c: Ditto.
1098 * libc/sys/linux/net/key-lookup.c: Ditto.
1099 * libc/sys/linux/net/local.h: Ditto.
1100 * libc/sys/linux/net/netgroup.h: Ditto.
1101 * libc/sys/linux/net/netgrp-lookup.c: Ditto.
1102 * libc/sys/linux/net/network-lookup.c: Ditto.
1103 * libc/sys/linux/net/not-cancel.h: Ditto.
1104 * libc/sys/linux/net/ns_samedomain.c: Ditto.
1105 * libc/sys/linux/net/nscd-types.h: Ditto.
1106 * libc/sys/linux/net/nss.h: Ditto.
1107 * libc/sys/linux/net/nsswitch.c: Ditto.
1108 * libc/sys/linux/net/nsswitch.h: Ditto.
1109 * libc/sys/linux/net/opensock.c: Ditto.
1110 * libc/sys/linux/net/proto-lookup.c: Ditto.
1111 * libc/sys/linux/net/pwd-lookup.c: Ditto.
1112 * libc/sys/linux/net/res_debug.h: Ditto.
1113 * libc/sys/linux/net/res_hconf.c: Ditto.
1114 * libc/sys/linux/net/res_hconf.h: Ditto.
1115 * libc/sys/linux/net/rexec.c: Ditto.
1116 * libc/sys/linux/net/rpc-lookup.c: Ditto.
1117 * libc/sys/linux/net/ruserpass.c: Ditto.
1118 * libc/sys/linux/net/service-lookup.c: Ditto.
1119 * libc/sys/linux/net/spwd-lookup.c: Ditto.
1120 * libc/sys/linux/net/nscd/nscd-client.h: Ditto.
1121 * libc/sys/linux/net/nscd/nscd_proto.h: Ditto.
1122
1123 2008-05-21 Eric Blake <ebb9@byu.net>
1124
1125 Optimize the generic strchr.
1126 * libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
1127 data so unaligned searches aren't penalized. Special-case
1128 searching for 0.
1129
1130 Optimize strchr for x86.
1131 * libc/machine/i386/strchr.S (strchr) [!__OPTIMIZE_SIZE__]:
1132 Pre-align data so unaligned searches aren't penalized.
1133 Special-case searching for 0.
1134
1135 2008-05-20 Nick Clifton <nickc@redhat.com>
1136
1137 * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
1138
1139 2008-05-20 DJ Delorie <dj@redhat.com>
1140
1141 * libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.
1142
1143 2008-05-14 Jeff Johnston <jjohnstn@redhat.com>
1144
1145 * libc/include/sys/reent.h: Change _REENT_INIT... macros to
1146 access macro parameter with parentheses around it.
1147
1148 2008-04-26 Mark Mitchell <mark@codesourcery.com>
1149
1150 * libc/include/stdint.h (SIZE_MIN): Remove.
1151 (SIZE_MAX): Define.
1152 * testsuite/newlib.stdlib/stdlib.exp: New.
1153 * testsuite/newlib.stdlib/size_max.c: Likewise.
1154
1155 2008-04-29 Eric Blake <ebb9@byu.net>
1156
1157 Fix 2008-04-14 regression in asprintf(ptr,"").
1158 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): Avoid stdio
1159 baggage.
1160 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): Likewise.
1161 * libc/stdio/asiprintf.c (asiprintf, _asiprintf_r): Likewise.
1162 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1163 * libc/stdio/vsnprintf.c (_vsnprintf_r): Likewise.
1164 * libc/stdio/vfprintf.c (_VFPRINTF_R) [STRING_ONLY]: Always malloc
1165 an initial buffer for asprintf.
1166
1167 2008-04-24 Corinna Vinschen <corinna@vinschen.de>
1168
1169 * libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
1170 (fstatat): Fix type of third parameter.
1171
1172 2008-04-25 Nick Clifton <nickc@redhat.com>
1173
1174 * libc/machine/arm/setjmp.S: Fix thumb2 support.
1175
1176 2008-04-24 Nick Clifton <nickc@redhat.com>
1177
1178 * libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
1179 should be _DOUBLE_IS_32BITS.
1180
1181 2008-04-24 Corinna Vinschen <corinna@vinschen.de>
1182
1183 * libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
1184 (UTIME_OMIT): Ditto.
1185 (utimensat): Declare for Cygwin.
1186 (futimens): Ditto.
1187
1188 2008-04-23 Ken Werner <ken.werner@de.ibm.com>
1189
1190 * libc/include/_ansi.h: _LONG_LONG renamed to _LONG_LONG_TYPE.
1191 * libc/include/math.h: Likewise.
1192
1193 2008-04-23 Corinna Vinschen <corinna@vinschen.de>
1194
1195 * libc/include/stdio.h (renameat): Declare for Cygwin.
1196 (symlinkat): Ditto.
1197 * libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
1198 (faccessat): Declare for Cygwin.
1199 (fchownat): Ditto.
1200 (linkat): Ditto.
1201 (readlinkat): Ditto.
1202 * libc/include/sys/_default_fcntl.h (AT_FDCWD): Define for Cygwin.
1203 (AT_EACCESS): Ditto.
1204 (AT_SYMLINK_NOFOLLOW): Ditto.
1205 (AT_SYMLINK_FOLLOW): Ditto.
1206 (AT_REMOVEDIR): Ditto.
1207 (futimesat): Declare for Cygwin.
1208 (openat): Ditto.
1209 (unlinkat): Ditto.
1210 * libc/include/sys/stat.h (fchmodat): Ditto.
1211 (fstatat): Ditto.
1212 (mkdirat): Ditto.
1213 (mkfifoat): Ditto.
1214 (mknodat): Ditto.
1215
1216 2008-04-22 Nick Clifton <nickc@redhat.com>
1217
1218 * libc/machine/arm/setjmp.S: Add support for thumb2 multiple
1219 register load/store instructions.
1220
1221 2008-04-16 Patrick Mansfield <patmans@us.ibm.com>
1222
1223 * libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
1224
1225 2008-04-16 Patrick Mansfield <patmans@us.ibm.com>
1226
1227 * libc/machine/spu/impure.c: Add missing underscore to impure_data.
1228
1229 2008-04-14 Patrick Mansfield <patmans@us.ibm.com>
1230
1231 * libc/machine/spu/impure.c: New file, supply a non-static _impure_data.
1232 * libc/machine/spu/Makefile.am: Add new file impure.c.
1233 * libc/machine/spu/Makefile.in: Regenerate.
1234 * libc/machine/spu/sys/errno.h: Define errno to be _reent_data._errno.
1235
1236 2008-04-14 Jeff Johnston <jjohnstn@redhat.com>
1237
1238 * libc/stdio/Makefile.am: Build vfprintf.c and vfscanf.c with
1239 -DSTRING_ONLY defined with and without -DINTEGER_ONLY defined
1240 to build special versions for sprintf/sscanf family functions.
1241 * libc/stdio/Makefile.in: Regenerated.
1242 * libc/stdio/vfprintf.c[STRING_ONLY][INTEGER_ONLY](_VFPRINTF_R):
1243 Redefine to be _svfiprintf_r which is optimized to work with siprintf
1244 family of functions (i.e. no I/O) and does not support floating-point.
1245 [STRING_ONLY][!INTEGER_ONLY](_VFPRINTF_R): Redefine to be
1246 _svfprintf_r which is optimized to work with sprintf family of
1247 functions and not use I/O.
1248 [STRING_ONLY](__sprint_r): New string only version of static function.
1249 designed to work with sprintf family of functions.
1250 * libc/stdio/vfscanf.c[STRING_ONLY][INTEGER_ONLY](_SVFSCANF_R):
1251 Redefine to be _ssvfiscanf_r which is optimized to work with siscanf
1252 family of functions (i.e. no I/O) and no float-point support.
1253 [STRING_ONLY][!INTEGER_ONLY](_SVFSCANF_R): Redefine to be
1254 __ssvfscanf_r which is optimized to work with sscanf family of
1255 functions and does not require I/O functions.
1256 * libc/stdio/asprintf.c: Call _svfprintf_r instead of _vfprintf_r.
1257 * libc/stdio/snprintf.c: Ditto.
1258 * libc/stdio/sprintf.c: Ditto.
1259 * libc/stdio/vasnprintf.c: Ditto.
1260 * libc/stdio/vasprintf.c: Ditto.
1261 * libc/stdio/siprintf.c: Call _svfiprintf_r instead of _vfiprintf_r.
1262 * libc/stdio/sniprintf.c: Ditto.
1263 * libc/stdio/vasiprintf.c: Ditto.
1264 * libc/stdio/vsiprintf.c: Ditto.
1265 * libc/stdio/vsniprintf.c: Ditto.
1266 * libc/stdio/vsprintf.c: Ditto.
1267 * libc/stdio/local.h: Add prototypes for _svfprintf_r, _svfiprintf_r,
1268 _ssvfscanf_r, and _ssvfiscanf_r.
1269 * libc/stdio/sscanf.c: Call _ssvfscanf_r instead of _svfscanf_r.
1270 * libc/stdio/vsscanf.c: Ditto.
1271 * libc/stdio/siscanf.c: Call _ssvfiscanf_r instead of _svfiscanf_r.
1272 * libc/stdio/vsiscanf.c: Ditto.
1273
1274 2008-04-04 DJ Delorie <dj@redhat.com>
1275
1276 * libm/machine/spu/configure: Regenerate with autoconf 2.61.
1277 * libc/sys/configure: Regenerate with autoconf 2.61.
1278 * libc/machine/configure: Regenerate with autoconf 2.61.
1279
1280 2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
1281
1282 * libc/machine/spu/memcmp.c: New file for SPU optimized memcmp.
1283 * libc/machine/spu/strncmp.h: New file supply _strncmp_internal.
1284 * libc/machine/spu/Makefile.am: Add memcmp.c.
1285 * libc/machine/spu/Makefile.in: Rebuild.
1286 * libc/machine/spu/strncmp.c: Use _strncmp_internal.
1287
1288 2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
1289
1290 * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
1291 -DMISSING_SYSCALL_NAMES.
1292
1293 2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
1294
1295 * libc/machine/spu/Makefile.am: Add assert.c.
1296 * libc/machine/spu/Makefile.in: Regenerate.
1297 * libc/machine/spu/assert.c: New file.
1298
1299 2008-03-27 Patrick Mansfield <patmans@us.ibm.com>
1300
1301 * libc/include/reent.h: Define _func_r functions in this file to
1302 func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
1303 defined.
1304
1305 2008-03-27 Corinna Vinschen <corinna@vinschen.de>
1306
1307 * libc/include/sys/unistd.h: Declare lockf(2) and define lockf
1308 constants when building for Cygwin.
1309
1310 2008-03-11 Jeff Johnston <jjohnstn@redhat.com>
1311
1312 * libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
1313 stdin gets resolved properly before refilling.
1314
1315 2008-03-07 Jeff Johnston <jjohnstn@redhat.com>
1316
1317 * libc/include/getopt.h: Hide newlib extensions under
1318 the __need_getopt_newlib flag.
1319 * libc/stdlib/getopt.c: #define __need_getopt_newlib before including
1320 getopt.h. Put entire code under !HAVE_GETOPT to support platforms
1321 with their own getopt implementation.
1322 * configure.host: Specify HAVE_GETOPT for x86-linux.
1323
1324 2008-03-07 Jeff Johnston <jjohnstn@redhat.com>
1325
1326 * libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
1327 this macro completely instead of referring to CHECK_STD_INIT which
1328 is only found in libc/stdio/local.h.
1329 * libc/stdio/dprintf.c: Add include of local.h.
1330 * libc/stdio/vdprintf.c: Ditto.
1331 * libc/stdio/vdiprintf.c: Ditto.
1332
1333 2008-03-04 Eric Blake <ebb9@byu.net>
1334
1335 Fix strtod("nan()", ptr).
1336 * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
1337 n-char-sequence is omitted, still parse the ().
1338
1339 2008-03-03 Eric Blake <ebb9@byu.net>
1340
1341 Fix ftell bug after ungetc.
1342 * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
1343 ftell.
1344 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1345 * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
1346 repositioning underlying fd offset.
1347
1348 2008-03-02 Jeff Johnston <jjohnstn@redhat.com>
1349
1350 * libc/include/getopt.h (no_argument): Added for glibc compatibility.
1351 (required_argument, optional_argument): Ditto.
1352
1353 2008-02-29 Gregory Pietsch <gpietsch@comcast.net>
1354
1355 * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
1356 data area so as to support reentrant calls. Change all callers
1357 to fill in data area with global values and restore any changes
1358 to the global values after call.
1359 (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
1360 to support reentrancy that add a data area argument.
1361 * libc/include/getopt.h: Add new _r routines and provide macros
1362 so they can be called with using double-underscores.
1363
1364 2008-02-21 Eric Blake <ebb9@byu.net>
1365
1366 Fix strtod("-0x", NULL).
1367 * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
1368 fails.
1369
1370 2008-02-12 Jeff Johnston <jjohnstn@redhat.com>
1371
1372 * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
1373 for user specifying --disable-newlib-io-long-long on configure.
1374 Call _fflush_r instead of fflush. For _mbtowc_r, pass the
1375 reentrant pointer passed in rather than _REENT.
1376
1377 2008-02-12 Peter Rosin <peda@lysator.liu.se>
1378
1379 * libc/stdlib/getopt.c (getopt_internal): Handle optional
1380 arguments better for long options and short options not
1381 appearing as the first option in a sequence.
1382
1383 2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
1384
1385 * libc/machine/spu/straddr.h: New file, supplies _straddr.
1386 * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
1387 * libc/machine/spu/strcpy.c: Use _strcpy.
1388 * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
1389 str[n]cpy and str[n]cat.
1390 * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
1391 * libc/machine/spu/strncpy.c: Use _strcpy.
1392
1393 2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
1394
1395 * libc/machine/spu/strlen.c: Remove the len variable and unneeded
1396 calculation of its value.
1397
1398 2008-01-25 Hans-Peter Nilsson <hp@bitrange.com>
1399
1400 * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
1401 Make ISO C.
1402
1403 2008-01-21 DJ Delorie <dj@redhat.com>
1404
1405 * libc/sys/sh/syscalls.c (_isatty): New.
1406
1407 2008-01-21 Neal H. Walfield <neal@gnu.org>
1408
1409 * Makefile.am (crt1.o): Use correct source.
1410 * Makefile.in: Regenerated.
1411
1412 2008-01-15 Eric Blake <ebb9@byu.net>
1413
1414 * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
1415 * libc/string/Makefile: Regenerate.
1416
1417 2008-01-15 Corinna Vinschen <corinna@vinschen.de>
1418
1419 * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
1420 pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
1421 (sigsetjmp): Use __SIGMASK_FUNC.
1422 (siglongjmp): Ditto.
1423 (_setjmp): Define as macro.
1424 (_longjmp): Ditto.
1425
1426 2008-01-11 Eric Blake <ebb9@byu.net>
1427
1428 Make strstr and strcasestr O(n), not O(n^2); add memmem.
1429 * libc/string/str-two-way.h: New file.
1430 * libc/string/memmem.c (memmem): New file.
1431 * libc/include/string.h (memmem): Declare for all platforms.
1432 * libc/string/strstr.c (strstr): Provide O(n) implementation when
1433 not optimizing for space.
1434 * libc/string/strcasestr.c (strcasestr): Likewise.
1435 * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
1436 (ELIX_2_SOURCES): ...this.
1437 (ELIX_4_SOURCES): New category, for memmem.
1438 (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
1439 (CHEWOUT_FILES): Build documentation for memmem.
1440 * libc/string/strings.tex: Include new docs.
1441
1442 2008-01-08 Jeff Johnston <jjohnstn@redhat.com>
1443
1444 * libc/machine/m68k/memcpy.S: Remove % from register references
1445 as this is already handled by m68kasm.h.
1446 * libc/machine/m68k/memset.S: Ditto.
1447
1448 2008-01-07 Jeff Johnston <jjohnstn@redhat.com>
1449
1450 * libc/machine/m68k/m68kasm.h: New file.
1451 * libc/machine/m68k/setjmp.S: Remove common definitions and
1452 place in m68kasm.h. Include "m68kasm.h".
1453 * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
1454 SYM() macro when referencing function name.
1455 * libc/machine/m68k/memset.S: Ditto.
1456
1457 2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
1458
1459 Make isatty syscall handling consistent with other newlib syscalls.
1460
1461 * libc/include/_syslist.h: Add _isatty.
1462 * libc/include/reent.h: Add _isatty_r.
1463 * libc/include/sys/unistd.h: Add _isatty.
1464 * libc/posix/Makefile.am: Add new _isatty.c file.
1465 * libc/posix/Makefile.in: Regenerated.
1466 * libc/posix/_isatty.c: New file.
1467 * libc/posix/isatty.c: Changed to call _isatty().
1468 * libc/reent/Makefile.am: Add new isattyr.c file.
1469 * libc/reent/Makefile.in: Regenerated.
1470 * libc/reent/isattyr.c: New file.
1471 * libc/stdio/freopen.c: Changed to call _isatty_r().
1472 * libc/stdio/makebuf.c: Ditto.
1473 * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
1474 * libc/sys/arc/isatty.c: Ditto.
1475 * libc/sys/arm/syscalls.c: Ditto.
1476 * libc/sys/d10v/syscalls.c: Ditto.
1477 * libc/sys/h8300hms/syscalls.c: Ditto.
1478 * libc/sys/h8500hms/syscalls.c: Ditto.
1479 * libc/sys/linux/Makefile.am: Add new isatty.c file.
1480 * libc/sys/linux/Makefile.in: Regenerated.
1481 * libc/sys/linux/isatty.c: New file.
1482 * libc/syscalls/Makefile.am: Add new sysisatty.c file.
1483 * libc/syscalls/Makefile.in: Regenerated.
1484 * libc/syscalls/sysisatty.c: New file.
1485
1486 2008-01-02 Jeff Johnston <jjohnstn@redhat.com>
1487
1488 * libc/syscalls/sysclose.c: Always call reentrant version of the
1489 underlying syscall since one is guaranteed to exist in libc/reent.
1490 * libc/syscalls/sysexecve.c: Ditto.
1491 * libc/syscalls/sysfcntl.c: Ditto.
1492 * libc/syscalls/sysfork.c: Ditto.
1493 * libc/syscalls/sysfstat.c: Ditto.
1494 * libc/syscalls/sysgetpid.c: Ditto.
1495 * libc/syscalls/sysgettod.c: Ditto.
1496 * libc/syscalls/syskill.c: Ditto.
1497 * libc/syscalls/syslink.c: Ditto.
1498 * libc/syscalls/syslseek.c: Ditto.
1499 * libc/syscalls/sysopen.c: Ditto.
1500 * libc/syscalls/sysread.c: Ditto.
1501 * libc/syscalls/syssbrk.c: Ditto.
1502 * libc/syscalls/sysstat.c: Ditto.
1503 * libc/syscalls/systimes.c: Ditto.
1504 * libc/syscalls/sysunlink.c: Ditto.
1505 * libc/syscalls/syswait.c: Ditto.
1506 * libc/syscalls/syswrite.c: Ditto.
1507
1508 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
1509
1510 * NEWS: Update with 1.16.0 info.
1511 * README: Ditto.
1512 * acinclude.m4: Change version number to 1.16.0.
1513 * aclocal.m4: Regenerated.
1514 * configure: Ditto.
1515 * doc/aclocal.m4: Ditto.
1516 * doc/configure: Ditto.
1517 * libc/*/aclocal.m4: Ditto.
1518 * libc/*/configure: Ditto.
1519 * libc/libc.texinfo: Ditto.
1520 * libm/*/aclocal.m4: Ditto.
1521 * libm/*/configure: Ditto.
1522 * libm/libm.texinfo: Ditto.
1523 * libc/sys/linux/shared.ld: Add VERS_1.16.
1524
1525 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
1526
1527 * libc/string/strcasestr.c: Remove id macro.
1528 * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
1529 field reference to be __sched_priority.
1530 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
1531 * libc/sys/linux/linuxthreads/manager.c: Ditto.
1532 * libc/sys/linux/stdlib/collate.c: Remove id macro.
1533 * libc/sys/linux/stdlib/collcmp.c: Ditto.
1534 * libc/sys/linux/stdlib/engine.c: Ditto.
1535 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
1536 * libc/sys/linux/stdlib/glob.c: Ditto.
1537 * libc/sys/linux/stdlib/reallocf.c: Ditto.
1538 * libc/sys/linux/stdlib/regcomp.c: Ditto.
1539 * libc/sys/linux/stdlib/regerror.c: Ditto.
1540 * libc/sys/linux/stdlib/regexec.c: Ditto.
1541 * libc/sys/linux/stdlib/regfree.c: Ditto.
1542 * libc/sys/linux/sys/cdefs.h: Replace with latest version.
1543 * libc/sys/linux/include/argp.h: Ditto.
1544 * libc/sys/linux/sys/libc-lock.h: New file.
1545 * libc/sys/linux/sys/stdint.h: Ditto.
1546 * libc/sys/linux/include/sched.h: New file.
1547
1548 2007-12-19 Dave Korn <dave.korn@artimi.com>
1549 Jeff Johnston <jjohnstn@redhhat.com>
1550
1551 * libc/include/_ansi.h: Add _LONG_LONG definition.
1552 * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
1553 prototypes.
1554 * libc/machine/i386/machine/fastmath.h: Add support for new i386
1555 fast math versions of rint, lrint, and llrint family functions.
1556 * libm/machine/i386/Makefile.am: Add new files.
1557 * libm/machine/i386/Makefile.in: Regenerated.
1558 * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
1559 libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
1560 libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
1561 libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
1562 libm/machine/i386/f_rintl.c: New files with fast math implementations.
1563
1564 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
1565
1566 * libc/include/sys/features.h: Add checks for C90 compilers using
1567 -ansi.
1568
1569 2007-12-19 Corinna Vinschen <corinna@vinschen.de>
1570
1571 * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
1572 * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
1573 wcpncpy.c.
1574 (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
1575 * libc/string/Makefile.in: Regenerate.
1576 * libc/string/wcpcpy.c: New file.
1577 * libc/string/wcpncpy.c: New file.
1578 * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
1579
1580 2007-12-19 Corinna Vinschen <corinna@vinschen.de>
1581
1582 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
1583 _wcsrtombs_r.
1584
1585 2007-11-19 Nick Clifton <nickc@redhat.com>
1586
1587 * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
1588 * libc/machine/mn10300/Makefile.in: Regenerate.
1589 * libc/machine/mn10300/memchar.S: Remove redundant labels. Add
1590 .debug_frame section.
1591 * libc/machine/mn10300/memcmp.S: Likewise.
1592 * libc/machine/mn10300/memcpy.S: Likewise.
1593 * libc/machine/mn10300/memset.S: Likewise.
1594 * libc/machine/mn10300/strchr.S: Likewise.
1595 * libc/machine/mn10300/strcmp.S: Likewise.
1596 * libc/machine/mn10300/strcpy.S: Likewise.
1597 * libc/machine/mn10300/strlen.S: Likewise.
1598
1599 2007-11-15 Jeff Johnston <jjohnstn@redhat.com>
1600
1601 * libc/include/sys/_default_fcntl.h: New header file that
1602 is the default version of sys/fcntl.h.
1603 * libc/include/sys/fcntl.h: Changed to simply include
1604 sys/_default_fcntl.h.
1605 * libc/sys/arm/sys/fcntl.h: New file that includes
1606 sys/_default_fcntl.h and defines O_BINARY.
1607
1608 2007-11-08 Corinna Vinschen <corinna@vinschen.de>
1609
1610 * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
1611
1612 2007-11-07 Dave Brolley <brolley@redhat.com>
1613
1614 * libc/machine/configure: Regenerated to pick up mep-elf changes.
1615
1616 * Contribute mep-elf from Red Hat
1617 2006-10-27 DJ Delorie <dj@redhat.com>
1618
1619 * libc/include/machine/setjmp.h: Add MeP support.
1620
1621 2003-04-17 DJ Delorie <dj@redhat.com>
1622
1623 * configure.host (mep-*-*): Support "long long" type.
1624
1625 2001-06-06 DJ Delorie <dj@redhat.com>
1626
1627 * libc/include/machine/ieeefp.h (mep): Support little endian too.
1628
1629 2001-05-14 DJ Delorie <dj@redhat.com>
1630
1631 * configure.host: Add mep's machine_dir.
1632 * libc/include/setjmp.h: Add mep support.
1633 * libc/machine/mep: New.
1634 * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
1635
1636 2001-05-04 DJ Delorie <dj@redhat.com>
1637
1638 * configure.host: Add mep.
1639 * libc/include/machine/ieeefp.h: Ditto.
1640
1641 2007-10-31 DJ Delorie <dj@redhat.com>
1642
1643 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
1644 signal table, just use a default, in case initialization cause
1645 recursion.
1646
1647 2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
1648
1649 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
1650 size if output buffer is NULL.
1651
1652 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
1653
1654 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
1655 fix when handling negative input values. Make function
1656 consistent with math directory and glibc version such that
1657 inf and nan values return inf and nan respectively with no
1658 errno setting.
1659 * libm/mathfp/sf_logarithm.c: Ditto.
1660 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
1661 * libm/math/wf_log.c: Ditto.
1662 * libm/math/w_log10.c: Ditto.
1663 * libm/math/wf_log10.c: Ditto.
1664
1665 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
1666
1667 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
1668 return -inf.
1669 * libm/mathfp/sf_logarithm.c: Ditto.
1670
1671 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
1672
1673 * libc/machine/i386/machine/fastmath.h: New file.
1674
1675 2007-10-13 Eric Blake <ebb9@byu.net>
1676
1677 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
1678 Correctly nest else within conditionals.
1679 Reported by Artur Lipowski.
1680
1681 2007-10-09 Nick Clifton <nickc@redhat.com>
1682
1683 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
1684 the STT_COMMON type.
1685
1686 2007-10-09 Ben Elliston <bje@au.ibm.com>
1687
1688 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
1689 before simdmath.h to get a definition for `vector'.
1690 * libm/machine/spu/headers/asind2.h: Likewise.
1691
1692 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
1693
1694 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
1695 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
1696 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
1697 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
1698 * libm/machine/spu/headers/acos.h: Add domain check.
1699 * libm/machine/spu/headers/acosf.h: Ditto.
1700 * libm/machine/spu/headers/acosh.h: Ditto.
1701 * libm/machine/spu/headers/acoshf.h: Ditto.
1702 * libm/machine/spu/headers/asin.h: Ditto.
1703 * libm/machine/spu/headers/asinf.h: Ditto.
1704 * libm/machine/spu/headers/atanh.h: Ditto.
1705 * libm/machine/spu/headers/atanhf.h: Ditto.
1706 * libm/machine/spu/headers/fmod.h: Ditto.
1707 * libm/machine/spu/headers/fmodf.h: Ditto.
1708 * libm/machine/spu/headers/log.h: Ditto.
1709 * libm/machine/spu/headers/log10.h: Ditto.
1710 * libm/machine/spu/headers/log1p.h: Ditto.
1711 * libm/machine/spu/headers/log1pf.h: Ditto.
1712 * libm/machine/spu/headers/log2.h: Ditto.
1713 * libm/machine/spu/headers/log2f.h: Ditto.
1714 * libm/machine/spu/headers/sqrt.h: Ditto.
1715 * libm/machine/spu/headers/sqrtf.h: Ditto.
1716 * libm/machine/spu/headers/tgamma.h: Ditto.
1717 * libm/machine/spu/headers/tgammaf.h: Ditto.
1718
1719 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
1720
1721 * libm/machine/spu/Makefile.am: Add new C files.
1722 * libm/machine/spu/Makefile.in: Regenerate.
1723 * libm/machine/spu/headers/acos.h: New file.
1724 * libm/machine/spu/headers/acosd2.h: Ditto.
1725 * libm/machine/spu/headers/acosf.h: Ditto.
1726 * libm/machine/spu/headers/acosf4.h: Ditto.
1727 * libm/machine/spu/headers/acosh.h: Ditto.
1728 * libm/machine/spu/headers/acoshd2.h: Ditto.
1729 * libm/machine/spu/headers/acoshf.h: Ditto.
1730 * libm/machine/spu/headers/acoshf4.h: Ditto.
1731 * libm/machine/spu/headers/asin.h: Ditto.
1732 * libm/machine/spu/headers/asind2.h: Ditto.
1733 * libm/machine/spu/headers/asinf.h: Ditto.
1734 * libm/machine/spu/headers/asinf4.h: Ditto.
1735 * libm/machine/spu/headers/asinh.h: Ditto.
1736 * libm/machine/spu/headers/asinhd2.h: Ditto.
1737 * libm/machine/spu/headers/asinhf.h: Ditto.
1738 * libm/machine/spu/headers/asinhf4.h: Ditto.
1739 * libm/machine/spu/headers/atan.h: Ditto.
1740 * libm/machine/spu/headers/atan2.h: Ditto.
1741 * libm/machine/spu/headers/atan2d2.h: Ditto.
1742 * libm/machine/spu/headers/atan2f.h: Ditto.
1743 * libm/machine/spu/headers/atan2f4.h: Ditto.
1744 * libm/machine/spu/headers/atand2.h: Ditto.
1745 * libm/machine/spu/headers/atanf4.h: Ditto.
1746 * libm/machine/spu/headers/atanh.h: Ditto.
1747 * libm/machine/spu/headers/atanhd2.h: Ditto.
1748 * libm/machine/spu/headers/atanhf.h: Ditto.
1749 * libm/machine/spu/headers/atanhf4.h: Ditto.
1750 * libm/machine/spu/headers/cos.h: Ditto.
1751 * libm/machine/spu/headers/cos_sin.h: Ditto.
1752 * libm/machine/spu/headers/cosd2.h: Ditto.
1753 * libm/machine/spu/headers/cosf.h: Ditto.
1754 * libm/machine/spu/headers/cosf4.h: Ditto.
1755 * libm/machine/spu/headers/cosh.h: Ditto.
1756 * libm/machine/spu/headers/coshd2.h: Ditto.
1757 * libm/machine/spu/headers/coshf.h: Ditto.
1758 * libm/machine/spu/headers/coshf4.h: Ditto.
1759 * libm/machine/spu/headers/divd2.h: Ditto.
1760 * libm/machine/spu/headers/divf4.h: Ditto.
1761 * libm/machine/spu/headers/erf.h: Ditto.
1762 * libm/machine/spu/headers/erf_utils.h: Ditto.
1763 * libm/machine/spu/headers/erfc.h: Ditto.
1764 * libm/machine/spu/headers/erfcd2.h: Ditto.
1765 * libm/machine/spu/headers/erfcf.h: Ditto.
1766 * libm/machine/spu/headers/erfcf4.h: Ditto.
1767 * libm/machine/spu/headers/erfd2.h: Ditto.
1768 * libm/machine/spu/headers/erff.h: Ditto.
1769 * libm/machine/spu/headers/erff4.h: Ditto.
1770 * libm/machine/spu/headers/exp.h: Ditto.
1771 * libm/machine/spu/headers/exp2.h: Ditto.
1772 * libm/machine/spu/headers/exp2d2.h: Ditto.
1773 * libm/machine/spu/headers/exp2f4.h: Ditto.
1774 * libm/machine/spu/headers/expd2.h: Ditto.
1775 * libm/machine/spu/headers/expf4.h: Ditto.
1776 * libm/machine/spu/headers/expm1.h: Ditto.
1777 * libm/machine/spu/headers/expm1d2.h: Ditto.
1778 * libm/machine/spu/headers/expm1f.h: Ditto.
1779 * libm/machine/spu/headers/expm1f4.h: Ditto.
1780 * libm/machine/spu/headers/floord2.h: Ditto.
1781 * libm/machine/spu/headers/floorf4.h: Ditto.
1782 * libm/machine/spu/headers/hypot.h: Ditto.
1783 * libm/machine/spu/headers/hypotd2.h: Ditto.
1784 * libm/machine/spu/headers/hypotf.h: Ditto.
1785 * libm/machine/spu/headers/hypotf4.h: Ditto.
1786 * libm/machine/spu/headers/isnan.h: Ditto.
1787 * libm/machine/spu/headers/isnand2.h: Ditto.
1788 * libm/machine/spu/headers/isnanf.h: Ditto.
1789 * libm/machine/spu/headers/isnanf4.h: Ditto.
1790 * libm/machine/spu/headers/ldexpd2.h: Ditto.
1791 * libm/machine/spu/headers/ldexpf4.h: Ditto.
1792 * libm/machine/spu/headers/lgamma.h: Ditto.
1793 * libm/machine/spu/headers/lgammad2.h: Ditto.
1794 * libm/machine/spu/headers/lgammaf.h: Ditto.
1795 * libm/machine/spu/headers/lgammaf4.h: Ditto.
1796 * libm/machine/spu/headers/log.h: Ditto.
1797 * libm/machine/spu/headers/log10.h: Ditto.
1798 * libm/machine/spu/headers/log10d2.h: Ditto.
1799 * libm/machine/spu/headers/log1p.h: Ditto.
1800 * libm/machine/spu/headers/log1pd2.h: Ditto.
1801 * libm/machine/spu/headers/log1pf.h: Ditto.
1802 * libm/machine/spu/headers/log1pf4.h: Ditto.
1803 * libm/machine/spu/headers/log2.h: Ditto.
1804 * libm/machine/spu/headers/log2d2.h: Ditto.
1805 * libm/machine/spu/headers/log2f4.h: Ditto.
1806 * libm/machine/spu/headers/logbf.h: Ditto.
1807 * libm/machine/spu/headers/logbf4.h: Ditto.
1808 * libm/machine/spu/headers/logd2.h: Ditto.
1809 * libm/machine/spu/headers/logf4.h: Ditto.
1810 * libm/machine/spu/headers/nearbyintf.h: Ditto.
1811 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
1812 * libm/machine/spu/headers/nextafter.h: Ditto.
1813 * libm/machine/spu/headers/nextafterd2.h: Ditto.
1814 * libm/machine/spu/headers/nextafterf.h: Ditto.
1815 * libm/machine/spu/headers/nextafterf4.h: Ditto.
1816 * libm/machine/spu/headers/pow.h: Ditto.
1817 * libm/machine/spu/headers/powd2.h: Ditto.
1818 * libm/machine/spu/headers/powf.h: Ditto.
1819 * libm/machine/spu/headers/powf4.h: Ditto.
1820 * libm/machine/spu/headers/recipd2.h: Ditto.
1821 * libm/machine/spu/headers/recipf4.h: Ditto.
1822 * libm/machine/spu/headers/rintf.h: Ditto.
1823 * libm/machine/spu/headers/rintf4.h: Ditto.
1824 * libm/machine/spu/headers/scalbnf4.h: Ditto.
1825 * libm/machine/spu/headers/signbit.h: Ditto.
1826 * libm/machine/spu/headers/signbitd2.h: Ditto.
1827 * libm/machine/spu/headers/simdmath.h: Ditto.
1828 * libm/machine/spu/headers/sin.h: Ditto.
1829 * libm/machine/spu/headers/sincos.h: Ditto.
1830 * libm/machine/spu/headers/sincosd2.h: Ditto.
1831 * libm/machine/spu/headers/sincosf.h: Ditto.
1832 * libm/machine/spu/headers/sincosf4.h: Ditto.
1833 * libm/machine/spu/headers/sind2.h: Ditto.
1834 * libm/machine/spu/headers/sinf.h: Ditto.
1835 * libm/machine/spu/headers/sinf4.h: Ditto.
1836 * libm/machine/spu/headers/sinh.h: Ditto.
1837 * libm/machine/spu/headers/sinhd2.h: Ditto.
1838 * libm/machine/spu/headers/sinhf.h: Ditto.
1839 * libm/machine/spu/headers/sinhf4.h: Ditto.
1840 * libm/machine/spu/headers/sqrtd2.h: Ditto.
1841 * libm/machine/spu/headers/sqrtf.h: Ditto.
1842 * libm/machine/spu/headers/sqrtf4.h: Ditto.
1843 * libm/machine/spu/headers/tan.h: Ditto.
1844 * libm/machine/spu/headers/tand2.h: Ditto.
1845 * libm/machine/spu/headers/tanf.h: Ditto.
1846 * libm/machine/spu/headers/tanf4.h: Ditto.
1847 * libm/machine/spu/headers/tanh.h: Ditto.
1848 * libm/machine/spu/headers/tanhd2.h: Ditto.
1849 * libm/machine/spu/headers/tanhf.h: Ditto.
1850 * libm/machine/spu/headers/tanhf4.h: Ditto.
1851 * libm/machine/spu/headers/tgamma.h: Ditto.
1852 * libm/machine/spu/headers/tgammad2.h: Ditto.
1853 * libm/machine/spu/headers/tgammaf.h: Ditto.
1854 * libm/machine/spu/headers/tgammaf4.h: Ditto.
1855 * libm/machine/spu/headers/truncd2.h: Ditto.
1856 * libm/machine/spu/headers/truncf4.h: Ditto.
1857 * libm/machine/spu/log2.c: Ditto.
1858 * libm/machine/spu/s_asinh.c: Ditto.
1859 * libm/machine/spu/s_atan.c: Ditto.
1860 * libm/machine/spu/s_cos.c: Ditto.
1861 * libm/machine/spu/s_erf.c: Ditto.
1862 * libm/machine/spu/s_expm1.c: Ditto.
1863 * libm/machine/spu/s_isnan.c: Ditto.
1864 * libm/machine/spu/s_log1p.c: Ditto.
1865 * libm/machine/spu/s_nextafter.c: Ditto.
1866 * libm/machine/spu/s_sin.c: Ditto.
1867 * libm/machine/spu/s_tan.c: Ditto.
1868 * libm/machine/spu/s_tanh.c: Ditto.
1869 * libm/machine/spu/sf_asinh.c: Ditto.
1870 * libm/machine/spu/sf_cos.c: Ditto.
1871 * libm/machine/spu/sf_erf.c: Ditto.
1872 * libm/machine/spu/sf_expm1.c: Ditto.
1873 * libm/machine/spu/sf_log1p.c: Ditto.
1874 * libm/machine/spu/sf_logb.c: Ditto.
1875 * libm/machine/spu/sf_nearbyint.c: Ditto.
1876 * libm/machine/spu/sf_nextafter.c: Ditto.
1877 * libm/machine/spu/sf_rint.c: Ditto.
1878 * libm/machine/spu/sf_sin.c: Ditto.
1879 * libm/machine/spu/sf_tan.c: Ditto.
1880 * libm/machine/spu/sf_tanh.c: Ditto.
1881 * libm/machine/spu/w_acos.c: Ditto.
1882 * libm/machine/spu/w_acosh.c: Ditto.
1883 * libm/machine/spu/w_asin.c: Ditto.
1884 * libm/machine/spu/w_atan2.c: Ditto.
1885 * libm/machine/spu/w_atanh.c: Ditto.
1886 * libm/machine/spu/w_cosh.c: Ditto.
1887 * libm/machine/spu/w_exp.c: Ditto.
1888 * libm/machine/spu/w_exp2.c: Ditto.
1889 * libm/machine/spu/w_hypot.c: Ditto.
1890 * libm/machine/spu/w_lgamma.c: Ditto.
1891 * libm/machine/spu/w_log.c: Ditto.
1892 * libm/machine/spu/w_log10.c: Ditto.
1893 * libm/machine/spu/w_pow.c: Ditto.
1894 * libm/machine/spu/w_sincos.c: Ditto.
1895 * libm/machine/spu/w_sinh.c: Ditto.
1896 * libm/machine/spu/w_tgamma.c: Ditto.
1897 * libm/machine/spu/wf_acos.c: Ditto.
1898 * libm/machine/spu/wf_acosh.c: Ditto.
1899 * libm/machine/spu/wf_asin.c: Ditto.
1900 * libm/machine/spu/wf_atan2.c: Ditto.
1901 * libm/machine/spu/wf_atanh.c: Ditto.
1902 * libm/machine/spu/wf_cosh.c: Ditto.
1903 * libm/machine/spu/wf_hypot.c: Ditto.
1904 * libm/machine/spu/wf_lgamma.c: Ditto.
1905 * libm/machine/spu/wf_pow.c: Ditto.
1906 * libm/machine/spu/wf_sincos.c: Ditto.
1907 * libm/machine/spu/wf_sinh.c: Ditto.
1908 * libm/machine/spu/wf_sqrt.c: Ditto.
1909 * libm/machine/spu/wf_tgamma.c: Ditto.
1910
1911 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
1912
1913 * configure.host: Define _POSIX_MODE to match the existing vector
1914 math code, as we don't support the matherr callout.
1915 * libm/machine/spu/Makefile.am: New file.
1916 * libm/machine/spu/Makefile.in: Auto-generated.
1917 * libm/machine/spu/headers/atanf.h: New file.
1918 * libm/machine/spu/headers/cbrt.h: Ditto.
1919 * libm/machine/spu/headers/cbrtf.h: Ditto.
1920 * libm/machine/spu/headers/ceil.h: Ditto.
1921 * libm/machine/spu/headers/ceilf.h: Ditto.
1922 * libm/machine/spu/headers/copysign.h: Ditto.
1923 * libm/machine/spu/headers/copysignf.h: Ditto.
1924 * libm/machine/spu/headers/exp2f.h: Ditto.
1925 * libm/machine/spu/headers/expf.h: Ditto.
1926 * libm/machine/spu/headers/fabs.h: Ditto.
1927 * libm/machine/spu/headers/fabsf.h: Ditto.
1928 * libm/machine/spu/headers/fdim.h: Ditto.
1929 * libm/machine/spu/headers/fdimf.h: Ditto.
1930 * libm/machine/spu/headers/floor.h: Ditto.
1931 * libm/machine/spu/headers/floorf.h: Ditto.
1932 * libm/machine/spu/headers/fma.h: Ditto.
1933 * libm/machine/spu/headers/fmaf.h: Ditto.
1934 * libm/machine/spu/headers/fmax.h: Ditto.
1935 * libm/machine/spu/headers/fmaxf.h: Ditto.
1936 * libm/machine/spu/headers/fmin.h: Ditto.
1937 * libm/machine/spu/headers/fminf.h: Ditto.
1938 * libm/machine/spu/headers/fmod.h: Ditto.
1939 * libm/machine/spu/headers/fmodf.h: Ditto.
1940 * libm/machine/spu/headers/frexp.h: Ditto.
1941 * libm/machine/spu/headers/frexpf.h: Ditto.
1942 * libm/machine/spu/headers/ilogb.h: Ditto.
1943 * libm/machine/spu/headers/ilogbf.h: Ditto.
1944 * libm/machine/spu/headers/ldexp.h: Ditto.
1945 * libm/machine/spu/headers/ldexpf.h: Ditto.
1946 * libm/machine/spu/headers/llrint.h: Ditto.
1947 * libm/machine/spu/headers/llrintf.h: Ditto.
1948 * libm/machine/spu/headers/llround.h: Ditto.
1949 * libm/machine/spu/headers/llroundf.h: Ditto.
1950 * libm/machine/spu/headers/log10f.h: Ditto.
1951 * libm/machine/spu/headers/log2f.h: Ditto.
1952 * libm/machine/spu/headers/logf.h: Ditto.
1953 * libm/machine/spu/headers/lrint.h: Ditto.
1954 * libm/machine/spu/headers/lrintf.h: Ditto.
1955 * libm/machine/spu/headers/lround.h: Ditto.
1956 * libm/machine/spu/headers/lroundf.h: Ditto.
1957 * libm/machine/spu/headers/nearbyint.h: Ditto.
1958 * libm/machine/spu/headers/remainder.h: Ditto.
1959 * libm/machine/spu/headers/remainderf.h: Ditto.
1960 * libm/machine/spu/headers/remquo.h: Ditto.
1961 * libm/machine/spu/headers/remquof.h: Ditto.
1962 * libm/machine/spu/headers/rint.h: Ditto.
1963 * libm/machine/spu/headers/round.h: Ditto.
1964 * libm/machine/spu/headers/roundf.h: Ditto.
1965 * libm/machine/spu/headers/scalbn.h: Ditto.
1966 * libm/machine/spu/headers/scalbnf.h: Ditto.
1967 * libm/machine/spu/headers/sqrt.h: Ditto.
1968 * libm/machine/spu/headers/trunc.h: Ditto.
1969 * libm/machine/spu/headers/truncf.h: Ditto.
1970 * libm/machine/spu/headers/vec_literal.h: Ditto.
1971 * libm/machine/spu/llrint.c: Ditto.
1972 * libm/machine/spu/llrintf.c: Ditto.
1973 * libm/machine/spu/llround.c: Ditto.
1974 * libm/machine/spu/llroundf.c: Ditto.
1975 * libm/machine/spu/log2f.c: Ditto.
1976 * libm/machine/spu/s_cbrt.c: Ditto.
1977 * libm/machine/spu/s_ceil.c: Ditto.
1978 * libm/machine/spu/s_copysign.c: Ditto.
1979 * libm/machine/spu/s_fabs.c: Ditto.
1980 * libm/machine/spu/s_fdim.c: Ditto.
1981 * libm/machine/spu/s_floor.c: Ditto.
1982 * libm/machine/spu/s_fma.c: Ditto.
1983 * libm/machine/spu/s_fmax.c: Ditto.
1984 * libm/machine/spu/s_fmin.c: Ditto.
1985 * libm/machine/spu/s_frexp.c: Ditto.
1986 * libm/machine/spu/s_ilogb.c: Ditto.
1987 * libm/machine/spu/s_ldexp.c: Ditto.
1988 * libm/machine/spu/s_lrint.c: Ditto.
1989 * libm/machine/spu/s_lround.c: Ditto.
1990 * libm/machine/spu/s_nearbyint.c: Ditto.
1991 * libm/machine/spu/s_remquo.c: Ditto.
1992 * libm/machine/spu/s_rint.c: Ditto.
1993 * libm/machine/spu/s_round.c: Ditto.
1994 * libm/machine/spu/s_scalbn.c: Ditto.
1995 * libm/machine/spu/s_trunc.c: Ditto.
1996 * libm/machine/spu/sf_atan.c: Ditto.
1997 * libm/machine/spu/sf_cbrt.c: Ditto.
1998 * libm/machine/spu/sf_ceil.c: Ditto.
1999 * libm/machine/spu/sf_copysign.c: Ditto.
2000 * libm/machine/spu/sf_fabs.c: Ditto.
2001 * libm/machine/spu/sf_fdim.c: Ditto.
2002 * libm/machine/spu/sf_floor.c: Ditto.
2003 * libm/machine/spu/sf_fma.c: Ditto.
2004 * libm/machine/spu/sf_fmax.c: Ditto.
2005 * libm/machine/spu/sf_fmin.c: Ditto.
2006 * libm/machine/spu/sf_frexp.c: Ditto.
2007 * libm/machine/spu/sf_ilogb.c: Ditto.
2008 * libm/machine/spu/sf_ldexp.c: Ditto.
2009 * libm/machine/spu/sf_lrint.c: Ditto.
2010 * libm/machine/spu/sf_lround.c: Ditto.
2011 * libm/machine/spu/sf_remquo.c: Ditto.
2012 * libm/machine/spu/sf_round.c: Ditto.
2013 * libm/machine/spu/sf_scalbn.c: Ditto.
2014 * libm/machine/spu/sf_trunc.c: Ditto.
2015 * libm/machine/spu/w_fmod.c: Ditto.
2016 * libm/machine/spu/w_remainder.c: Ditto.
2017 * libm/machine/spu/w_sqrt.c: Ditto.
2018 * libm/machine/spu/wf_exp.c: Ditto.
2019 * libm/machine/spu/wf_exp2.c: Ditto.
2020 * libm/machine/spu/wf_fmod.c: Ditto.
2021 * libm/machine/spu/wf_log.c: Ditto.
2022 * libm/machine/spu/wf_log10.c: Ditto.
2023 * libm/machine/spu/wf_remainder.c: Ditto.
2024
2025 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
2026
2027 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
2028
2029 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
2030
2031 * libc/include/sched.h: New file, just include sys/sched.h.
2032 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
2033 prototype.
2034 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
2035 struct utimbuf definition.
2036
2037 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
2038
2039 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
2040 specific struct and typedef.
2041
2042 2007-09-18 Patrick Mansfield <patmans@us.ibm.com>
2043
2044 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
2045 typedef dev_t, gid_t, and uid_t.
2046 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
2047 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
2048 Change to lower case for all __foo_t_defined names.
2049 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
2050 __uid_t, and __gid_t making them all four bytes. Change to lower case
2051 for all __foo_t_defined names.
2052
2053 2007-09-18 Jeff Johnston <jjohnstn@redhat.com>
2054
2055 * libc/reent/renamer.c: New file.
2056 * libc/reent/Makefile.am: Add new file.
2057 * libc/reent/Makefile.in: Regenerated.
2058 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
2059 and add check for rename syscall.
2060
2061 2007-09-17 Eric Blake <ebb9@byu.net>
2062
2063 Obey POSIX on printf("%.s", (char*)NULL).
2064 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
2065 for %s on NULL. Skip NULL check when optimizing for size.
2066
2067 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
2068
2069 * libc/include/sys/_types.h: Protect all types with flag
2070 checks to allow definition in machine/_types.h.
2071
2072 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
2073
2074 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
2075 definitions in light of the previous change.
2076
2077 2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
2078
2079 * libc/include/machine/_default_types.h: New file, contains what
2080 was previously in libc/include/machine/_types.h.
2081 * libc/include/machine/_types.h: Now only includes
2082 machine/_default_types.h.
2083 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
2084 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
2085 with conditional declarations.
2086 * libc/machine/spu/machine/_types.h: New file, add SPU specific
2087 typedefs for _fpos_t and _fpos64_t.
2088
2089 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
2090
2091 * libc/include/math.h (_M_LOG2E): Replace with..
2092 (_M_LOG2_E): New macro.
2093 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
2094
2095 2007-09-06 Brian Dessent <brian@dessent.net>
2096
2097 * libc/reent/getreent.c: Allow for case where __getreent is
2098 defined as a macro.
2099
2100 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
2101
2102 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
2103 (log2): Use _M_LOG2E instead of M_LOG2E.
2104 (log2f): Ditto.
2105 (M_LOG2E): Define to be _M_LOG2E.
2106
2107 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2108
2109 * libm/math/wf_tgamma.c: Add missing include.
2110
2111 2007-08-31 Antony King <antony.king@st.com>
2112
2113 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
2114 bits and redefine associated dword0 macro (rvalue issue).
2115 * libc/stdio/vfieeefp.h: Ditto.
2116 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2117 to prevent setting dword1 which is an rvalue only.
2118
2119 2007-08-28 Hans Kester <hans.kester@ellips.nl>
2120
2121 * configure.host: Added support for x86_64.
2122 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
2123 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
2124 * libc/machine/x86_64/aclocal.m4: Generated.
2125 * libc/machine/x86_64/configure.in: New.
2126 * libc/machine/x86_64/configure: Generated.
2127 * libc/machine/x86_64/Makefile.am: New.
2128 * libc/machine/x86_64/Makefile.in: Generated.
2129 * libc/machine/x86_64/setjmp.S: New.
2130 * libc/machine/x86_64/memcpy.S: New.
2131 * libc/machine/x86_64/memset.S: New.
2132 * libc/machine/configure.in: Added support for x86_64.
2133 * libc/machine/configure: Regenerated.
2134
2135 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
2136
2137 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
2138 to int before comparing it to a signed int value.
2139
2140 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
2141
2142 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
2143 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
2144 Define.
2145
2146 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
2147
2148 Reduce the memory consumption of variable argument functions
2149 for SPU (cell):
2150 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
2151 to assembler sources.
2152 * libc/machine/spu/Makefile.in: Regenerated.
2153 * libc/machine/spu/stdio.c: Add __check_init function wrapping
2154 CHECK_INIT macro to use from assembler routines.
2155 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
2156 * libc/machine/spu/fiprintf.S: New file.
2157 * libc/machine/spu/fiscanf.S: Ditto.
2158 * libc/machine/spu/fprintf.S: Ditto.
2159 * libc/machine/spu/fscanf.S: Ditto.
2160 * libc/machine/spu/iprintf.S: Ditto.
2161 * libc/machine/spu/iscanf.S: Ditto.
2162 * libc/machine/spu/printf.S: Ditto.
2163 * libc/machine/spu/scanf.S: Ditto.
2164 * libc/machine/spu/siprintf.S: Ditto.
2165 * libc/machine/spu/siscanf.S: Ditto.
2166 * libc/machine/spu/sniprintf.S: Ditto.
2167 * libc/machine/spu/snprintf.S: Ditto.
2168 * libc/machine/spu/sprintf.S: Ditto.
2169 * libc/machine/spu/sscanf.S: Ditto.
2170 * libc/machine/spu/stack_reg_va.S: Ditto.
2171 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
2172 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
2173 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
2174 * libc/machine/spu/fiscanf.c: Ditto.
2175 * libc/machine/spu/fprintf.c: Ditto.
2176 * libc/machine/spu/fscanf.c: Ditto.
2177 * libc/machine/spu/iprintf.c: Ditto.
2178 * libc/machine/spu/iscanf.c: Ditto.
2179 * libc/machine/spu/printf.c: Ditto.
2180 * libc/machine/spu/scanf.c: Ditto.
2181 * libc/machine/spu/siprintf.c: Ditto.
2182 * libc/machine/spu/siscanf.c: Ditto.
2183 * libc/machine/spu/sniprintf.c: Ditto.
2184 * libc/machine/spu/snprintf.c: Ditto.
2185 * libc/machine/spu/sprintf.c: Ditto.
2186 * libc/machine/spu/sscanf.c: Ditto.
2187
2188 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
2189
2190 * libc/include/tar.h: New.
2191
2192 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
2193
2194 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
2195 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
2196 * libc/sys/linux/intl/Makefile.in: Regenerated.
2197 * libc/sys/linux/intl/stpcpy.c: Renamed to...
2198 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
2199
2200 2007-08-02 Eric Blake <ebb9@byu.net>
2201
2202 Implement fmemopen and open_memstream.
2203 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
2204 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
2205 New file.
2206 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
2207 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
2208 functions together.
2209 (fmemopen, open_memstream): Declare new functions.
2210 * libc/stdio/stdio.tex: Document them.
2211 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
2212 fmemopen and open_memstream.
2213 * libc/stdio/Makefile.in: Regenerate.
2214
2215 2007-07-31 Eric Blake <ebb9@byu.net>
2216
2217 More POSIX stream corner cases.
2218 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
2219 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
2220 requested.
2221 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
2222
2223 2007-07-18 Eric Blake <ebb9@byu.net>
2224
2225 Fix 'make info'.
2226 * libc/stdio/stdio.tex: Add missing include.
2227 * libc/stdio/vfprintf.c: Use expected node name.
2228 * libc/stdio/vfscanf.c: Likewise.
2229 * libc/stdio/sscanf.c: Likewise.
2230 * libc/stdio/sprintf.c: Likewise.
2231 * libc/stdio/siscanf.c: Likewise.
2232 * libc/stdio/siprintf.c: Likewise.
2233 * libc/stdio/fopencookie.c: Quote raw {}.
2234 Reported by DJ Delorie.
2235
2236 2007-07-13 Eric Blake <ebb9@byu.net>
2237
2238 Fix fflush issues.
2239 * libc/stdio/fflush.c (_fflush_r): New function.
2240 (fflush): Fix reentrancy and large offset behavior.
2241 * libc/include/stdio.h (_fflush_r): Add prototype.
2242 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
2243 * libc/stdio/freopen.c (_freopen_r): Likewise.
2244 * libc/stdio/fseek.c (_fseek_r): Likewise.
2245 * libc/stdio/ftell.c (_ftell_r): Likewise.
2246 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
2247 * libc/stdio/refill.c (__srefill_r): Likewise.
2248 * libc/stdio/setvbuf.c (setvbuf): Likewise.
2249 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
2250 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
2251 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
2252 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2253 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
2254 32-bit version if not large file.
2255 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
2256 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
2257
2258 Documentation updates.
2259 * libc/stdio/ungetc.c: Document ungetc.
2260 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
2261 of files with documentation.
2262 * libc/stdio/Makefile.in: Regenerate.
2263 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
2264
2265 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
2266
2267 * libc/include/math.h: Fix so C99 functions/macros are accessible
2268 when -std=c99 is used when compiling and not when using C89.
2269
2270 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
2271
2272 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
2273 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
2274 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
2275 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
2276 wcstoull_r.c.
2277 (CHEWOUT_FILES): Add .def files accordingly.
2278 * libc/stdlib/Makefile.in: Regenerate.
2279 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
2280 * libc/stdlib/strtoll.c: Fix portability note.
2281 * libc/stdlib/strtoull.c: Ditto.
2282 * libc/stdlib/wcstol.c: New file.
2283 * libc/stdlib/wcstoll.c: New file.
2284 * libc/stdlib/wcstoll_r.c: New file.
2285 * libc/stdlib/wcstoul.c: New file.
2286 * libc/stdlib/wcstoull.c: New file.
2287 * libc/stdlib/wcstoull_r.c: New file.
2288
2289 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
2290
2291 * libc/include/sys/time.h (gettimeofday): Change to proper
2292 prototype where second parameter is void *.
2293 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
2294 accordingly.
2295 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
2296 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
2297 * libc/sys/rdos/gettod.c: Ditto.
2298 * libc/sys/sh/syscalls.c: Ditto.
2299 * libc/time/time.c (time): Change call to _gettimeofday_r
2300 to pass NULL as 2nd argument.
2301
2302 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
2303
2304 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
2305 * libc/sys/linux/intl/l10nflist.c: Ditto.
2306
2307 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
2308
2309 * libc/include/wchar.h: Add prototype for wcsxfrm.
2310 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
2311 (CHEWOUT_FILES): Add wcsxfrm.def.
2312 * libc/string/Makefile.in: Regenerate.
2313 * libc/string/wcsxfrm.c: New file.
2314 * libc/string/wcstrings.tex: Add wcsxfrm.
2315
2316 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
2317
2318 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
2319 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
2320 stpncpy.c.
2321 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
2322 * libc/string/Makefile.in: Regenerate.
2323 * libc/string/stpcpy.c: New file.
2324 * libc/string/stpncpy.c: New file.
2325 * libc/string/strings.tex: Add stpcpy and stpncpy.
2326
2327 2007-06-27 Eric Blake <ebb9@byu.net>
2328
2329 Support __func__ in assert, as required by C99.
2330 * libc/stdlib/assert.c (__assert_func): New function.
2331 (__assert): Use __assert_func.
2332 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
2333 possible.
2334
2335 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
2336
2337 * libc/machine/spu/perror.c: Pass errno as the second argument to
2338 the assist call.
2339
2340 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
2341
2342 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
2343 defines; expose ftruncate, truncate and sync prototypes.
2344
2345 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
2346
2347 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
2348 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
2349 visible.
2350
2351 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
2352
2353 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
2354 from a dropped patch.
2355 * libc/machine/spu/Makefile.in: Regenerate.
2356
2357 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
2358
2359 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
2360 it just calls open with appropriate arguments.
2361 * libc/machine/spu/Makefile.am: Add creat.c.
2362 * libc/machine/spu/Makefile.in: Regenerate.
2363
2364 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
2365
2366 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
2367 I accidentally dropped.
2368 * libc/machine/spu/Makefile.in: Regenerated.
2369
2370 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
2371
2372 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
2373 * libc/include/sys/unistd.h: Change usleep prototype to Posix
2374 form and move outside of OS flag checks.
2375 * libc/machine/spu/Makefile.am: Add sleep and usleep.
2376 * libc/machine/spu/Makefile.in: Regenerate.
2377 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
2378 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
2379
2380 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
2381
2382 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
2383 Define confstr constants for Cygwin. Add comment.
2384
2385 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
2386
2387 * libc/sys/mmixware/access.c (access): Do not try to use a magic
2388 file-handle and a direct syscall, just use _open.
2389 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
2390 file-handle.
2391
2392 * libc/sys/mmixware/_exit.c (_exit): Update comment about
2393 passing on the exit value.
2394
2395 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
2396
2397 * libc/string/strcasestr.c: New file.
2398 * libc/include/string.h: Add strcasestr.
2399 * libc/string/strings.tex: Add strcasestr.
2400 * libc/string/Makefile.am: Ditto.
2401 * libc/string/Makefile.in: Regenerated.
2402
2403 2007-06-06 Christian Groessler <chris@groessler.org>
2404
2405 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
2406 rnd is done after the last local variable declaration.
2407
2408 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
2409
2410 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
2411
2412 2007-06-05 Christian Groessler <chris@groessler.org>
2413
2414 * libc/argz/argz_insert.c (argz_insert): Move delta variable
2415 declaration to top of function in keeping with C89 standard.
2416
2417 2007-06-04 Eric Blake <ebb9@byu.net>
2418
2419 Implement funopen, fopencookie.
2420 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
2421 Switch to reentrant callbacks.
2422 * libc/include/stdio.h (funopen): Fix declaration.
2423 (fopencookie): Declare.
2424 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
2425 (__sseek64, __swrite64): Fix prototypes.
2426 [__SCLE]: Pull in setmode declaration.
2427 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
2428 reentrancy.
2429 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
2430 (__sseek64, __swrite64): Fix reentrancy.
2431 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
2432 reentrancy.
2433 * libc/stdio/ftell.c (_ftell_r): Likewise.
2434 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
2435 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
2436 * libc/stdio/freopen.c (_freopen_r): Likewise.
2437 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
2438 * libc/stdio/refill.c (__srefill_r): Likewise.
2439 * libc/stdio/siscanf.c (eofread): Likewise.
2440 * libc/stdio/sscanf.c (eofread): Likewise.
2441 * libc/stdio/vsiscanf.c (eofread1): Likewise.
2442 * libc/stdio/vsscanf.c (eofread1): Likewise.
2443 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2444 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
2445 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
2446 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
2447 could be fixed.
2448 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
2449 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
2450 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
2451 new files.
2452 * libc/stdio/Makefile.in: Regenerate.
2453
2454 2007-05-29 Eric Blake <ebb9@byu.net>
2455
2456 Avoid more compiler warnings.
2457 * libc/stdlib/btowc.c: Add missing header.
2458 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
2459 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
2460 * libc/stdlib/wctob.c: Add missing header.
2461 * libc/string/strcpy.c (strcpy): Avoid warnings.
2462 * libc/string/strrchr.c (strrchr): Likewise.
2463
2464 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
2465
2466 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
2467 argument.
2468 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
2469 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
2470 on empty input strings.
2471 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
2472 looping through argz.
2473 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
2474
2475 2007-05-27 Brian Dessent <brian@dessent.net>
2476
2477 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
2478 handling %p.
2479
2480 2007-05-25 Eric Blake <ebb9@byu.net>
2481
2482 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
2483
2484 2007-05-24 Steve Ellcey <sje@cup.hp.com>
2485 Charles Wilson <libtool@cwilson.fastmail.fm>
2486
2487 * libtool.m4: removed
2488 * configure.in: invoke _LD_DECL_SED before conditionally initializing
2489 libtool. Move AC_PROG_AWK outside conditional.
2490 * libc/sys/linux/configure.in: Ditto.
2491 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2492 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2493 * libc/sys/linux/machine/i386/configure.in: Ditto.
2494
2495 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
2496 initializing libtool.
2497 * libc/configure.in: Ditto.
2498 * libc/machine/configure.in: Ditto.
2499 * libc/machine/i386/configure.in: Ditto.
2500 * libc/sys/configure.in: Ditto.
2501 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2502 * libc/sys/linux/machine/configure.in: Ditto.
2503 * libm/configure.in: Ditto.
2504 * libm/machine/configure.in: Ditto.
2505
2506 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
2507 * doc/Makefile.am: Ditto.
2508 * iconvdata/Makefile.am: Ditto.
2509 * libc/Makefile.am: Ditto.
2510 * libc/machine/Makefile.am: Ditto.
2511 * libc/machine/a29k/Makefile.am: Ditto.
2512 * libc/machine/arm/Makefile.am: Ditto.
2513 * libc/machine/bfin/Makefile.am: Ditto.
2514 * libc/machine/cris/Makefile.am: Ditto.
2515 * libc/machine/crx/Makefile.am: Ditto.
2516 * libc/machine/d10v/Makefile.am: Ditto.
2517 * libc/machine/d30v/Makefile.am: Ditto.
2518 * libc/machine/fr30/Makefile.am: Ditto.
2519 * libc/machine/frv/Makefile.am: Ditto.
2520 * libc/machine/h8300/Makefile.am: Ditto.
2521 * libc/machine/h8500/Makefile.am: Ditto.
2522 * libc/machine/hppa/Makefile.am: Ditto.
2523 * libc/machine/i386/Makefile.am: Ditto.
2524 * libc/machine/i960/Makefile.am: Ditto.
2525 * libc/machine/iq2000/Makefile.am: Ditto.
2526 * libc/machine/m32c/Makefile.am: Ditto.
2527 * libc/machine/m32r/Makefile.am: Ditto.
2528 * libc/machine/m68hc11/Makefile.am: Ditto.
2529 * libc/machine/m68k/Makefile.am: Ditto.
2530 * libc/machine/m88k/Makefile.am: Ditto.
2531 * libc/machine/mips/Makefile.am: Ditto.
2532 * libc/machine/mn10200/Makefile.am: Ditto.
2533 * libc/machine/mn10300/Makefile.am: Ditto.
2534 * libc/machine/mt/Makefile.am: Ditto.
2535 * libc/machine/necv70/Makefile.am: Ditto.
2536 * libc/machine/powerpc/Makefile.am: Ditto.
2537 * libc/machine/sh/Makefile.am: Ditto.
2538 * libc/machine/sparc/Makefile.am: Ditto.
2539 * libc/machine/spu/Makefile.am: Ditto.
2540 * libc/machine/tic4x/Makefile.am: Ditto.
2541 * libc/machine/tic80/Makefile.am: Ditto.
2542 * libc/machine/v850/Makefile.am: Ditto.
2543 * libc/machine/w65/Makefile.am: Ditto.
2544 * libc/machine/xscale/Makefile.am: Ditto.
2545 * libc/machine/xstormy16/Makefile.am: Ditto.
2546 * libc/machine/z8k/Makefile.am: Ditto.
2547 * libc/sys/Makefile.am: Ditto.
2548 * libc/sys/a29khif/Makefile.am: Ditto.
2549 * libc/sys/arc/Makefile.am: Ditto.
2550 * libc/sys/arm/Makefile.am: Ditto.
2551 * libc/sys/d10v/Makefile.am: Ditto.
2552 * libc/sys/decstation/Makefile.am: Ditto.
2553 * libc/sys/h8300hms/Makefile.am: Ditto.
2554 * libc/sys/h8500hms/Makefile.am: Ditto.
2555 * libc/sys/linux/Makefile.am: Ditto.
2556 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2557 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
2558 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2559 * libc/sys/linux/machine/Makefile.am: Ditto.
2560 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2561 * libc/sys/m88kbug/Makefile.am: Ditto.
2562 * libc/sys/mmixware/Makefile.am: Ditto.
2563 * libc/sys/netware/Makefile.am: Ditto.
2564 * libc/sys/rdos/Makefile.am: Ditto.
2565 * libc/sys/rtems/Makefile.am: Ditto.
2566 * libc/sys/sh/Makefile.am: Ditto.
2567 * libc/sys/sparc64/Makefile.am: Ditto.
2568 * libc/sys/sun4/Makefile.am: Ditto.
2569 * libc/sys/sysmec/Makefile.am: Ditto.
2570 * libc/sys/sysnec810/Makefile.am: Ditto.
2571 * libc/sys/sysnecv850/Makefile.am: Ditto.
2572 * libc/sys/sysvi386/Makefile.am: Ditto.
2573 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2574 * libc/sys/tic80/Makefile.am: Ditto.
2575 * libc/sys/w65/Makefile.am: Ditto.
2576 * libc/sys/z8ksim/Makefile.am: Ditto.
2577 * libm/Makefile.am: Ditto.
2578 * libm/machine/Makefile.am: Ditto.
2579 * libm/machine/i386/Makefile.am: Ditto.
2580 * libm/machine/spu/Makefile.am: Ditto.
2581
2582 * aclocal.m4: Regenerate.
2583 * iconvdata/aclocal.m4: Regenerate.
2584 * libc/aclocal.m4: Regenerate.
2585 * libc/machine/aclocal.m4: Regenerate.
2586 * libc/machine/i386/aclocal.m4: Regenerate.
2587 * libc/sys/aclocal.m4: Regenerate.
2588 * libc/sys/linux/aclocal.m4: Regenerate.
2589 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
2590 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
2591 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
2592 * libc/sys/linux/machine/aclocal.m4: Regenerate.
2593 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
2594 * libm/aclocal.m4: Regenerate.
2595 * libm/machine/aclocal.m4: Regenerate.
2596 * libm/machine/i386/aclocal.m4: Regenerate.
2597
2598 * Makefile.in: Regenerate.
2599 * doc/Makefile.in: Regenerate.
2600 * iconvdata/Makefile.in: Regenerate.
2601 * libc/Makefile.in: Regenerate.
2602 * libc/argz/Makefile.in: Regenerate.
2603 * libc/ctype/Makefile.in: Regenerate.
2604 * libc/errno/Makefile.in: Regenerate.
2605 * libc/iconv/Makefile.in: Regenerate.
2606 * libc/iconv/ccs/Makefile.in: Regenerate.
2607 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
2608 * libc/iconv/ces/Makefile.in: Regenerate.
2609 * libc/iconv/lib/Makefile.in: Regenerate.
2610 * libc/locale/Makefile.in: Regenerate.
2611 * libc/machine/Makefile.in: Regenerate.
2612 * libc/machine/a29k/Makefile.in: Regenerate.
2613 * libc/machine/arm/Makefile.in: Regenerate.
2614 * libc/machine/bfin/Makefile.in: Regenerate.
2615 * libc/machine/cris/Makefile.in: Regenerate.
2616 * libc/machine/crx/Makefile.in: Regenerate.
2617 * libc/machine/d10v/Makefile.in: Regenerate.
2618 * libc/machine/d30v/Makefile.in: Regenerate.
2619 * libc/machine/fr30/Makefile.in: Regenerate.
2620 * libc/machine/frv/Makefile.in: Regenerate.
2621 * libc/machine/h8300/Makefile.in: Regenerate.
2622 * libc/machine/h8500/Makefile.in: Regenerate.
2623 * libc/machine/hppa/Makefile.in: Regenerate.
2624 * libc/machine/i386/Makefile.in: Regenerate.
2625 * libc/machine/i960/Makefile.in: Regenerate.
2626 * libc/machine/iq2000/Makefile.in: Regenerate.
2627 * libc/machine/m32c/Makefile.in: Regenerate.
2628 * libc/machine/m32r/Makefile.in: Regenerate.
2629 * libc/machine/m68hc11/Makefile.in: Regenerate.
2630 * libc/machine/m68k/Makefile.in: Regenerate.
2631 * libc/machine/m88k/Makefile.in: Regenerate.
2632 * libc/machine/mips/Makefile.in: Regenerate.
2633 * libc/machine/mn10200/Makefile.in: Regenerate.
2634 * libc/machine/mn10300/Makefile.in: Regenerate.
2635 * libc/machine/mt/Makefile.in: Regenerate.
2636 * libc/machine/necv70/Makefile.in: Regenerate.
2637 * libc/machine/powerpc/Makefile.in: Regenerate.
2638 * libc/machine/sh/Makefile.in: Regenerate.
2639 * libc/machine/sparc/Makefile.in: Regenerate.
2640 * libc/machine/spu/Makefile.in: Regenerate.
2641 * libc/machine/tic4x/Makefile.in: Regenerate.
2642 * libc/machine/tic80/Makefile.in: Regenerate.
2643 * libc/machine/v850/Makefile.in: Regenerate.
2644 * libc/machine/w65/Makefile.in: Regenerate.
2645 * libc/machine/xscale/Makefile.in: Regenerate.
2646 * libc/machine/xstormy16/Makefile.in: Regenerate.
2647 * libc/machine/z8k/Makefile.in: Regenerate.
2648 * libc/misc/Makefile.in: Regenerate.
2649 * libc/posix/Makefile.in: Regenerate.
2650 * libc/reent/Makefile.in: Regenerate.
2651 * libc/search/Makefile.in: Regenerate.
2652 * libc/signal/Makefile.in: Regenerate.
2653 * libc/stdio/Makefile.in: Regenerate.
2654 * libc/stdio64/Makefile.in: Regenerate.
2655 * libc/stdlib/Makefile.in: Regenerate.
2656 * libc/string/Makefile.in: Regenerate.
2657 * libc/sys/Makefile.in: Regenerate.
2658 * libc/sys/a29khif/Makefile.in: Regenerate.
2659 * libc/sys/arc/Makefile.in: Regenerate.
2660 * libc/sys/arm/Makefile.in: Regenerate.
2661 * libc/sys/d10v/Makefile.in: Regenerate.
2662 * libc/sys/decstation/Makefile.in: Regenerate.
2663 * libc/sys/h8300hms/Makefile.in: Regenerate.
2664 * libc/sys/h8500hms/Makefile.in: Regenerate.
2665 * libc/sys/linux/Makefile.in: Regenerate.
2666 * libc/sys/linux/argp/Makefile.in: Regenerate.
2667 * libc/sys/linux/cmath/Makefile.in: Regenerate.
2668 * libc/sys/linux/dl/Makefile.in: Regenerate.
2669 * libc/sys/linux/iconv/Makefile.in: Regenerate.
2670 * libc/sys/linux/intl/Makefile.in: Regenerate.
2671 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
2672 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
2673 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
2674 * libc/sys/linux/machine/Makefile.in: Regenerate.
2675 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
2676 * libc/sys/linux/net/Makefile.in: Regenerate.
2677 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
2678 * libc/sys/m88kbug/Makefile.in: Regenerate.
2679 * libc/sys/mmixware/Makefile.in: Regenerate.
2680 * libc/sys/netware/Makefile.in: Regenerate.
2681 * libc/sys/rdos/Makefile.in: Regenerate.
2682 * libc/sys/rtems/Makefile.in: Regenerate.
2683 * libc/sys/sh/Makefile.in: Regenerate.
2684 * libc/sys/sparc64/Makefile.in: Regenerate.
2685 * libc/sys/sun4/Makefile.in: Regenerate.
2686 * libc/sys/sysmec/Makefile.in: Regenerate.
2687 * libc/sys/sysnec810/Makefile.in: Regenerate.
2688 * libc/sys/sysnecv850/Makefile.in: Regenerate.
2689 * libc/sys/sysvi386/Makefile.in: Regenerate.
2690 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
2691 * libc/sys/tic80/Makefile.in: Regenerate.
2692 * libc/sys/w65/Makefile.in: Regenerate.
2693 * libc/sys/z8ksim/Makefile.in: Regenerate.
2694 * libc/syscalls/Makefile.in: Regenerate.
2695 * libc/time/Makefile.in: Regenerate.
2696 * libc/unix/Makefile.in: Regenerate.
2697 * libm/Makefile.in: Regenerate.
2698 * libm/common/Makefile.in: Regenerate.
2699 * libm/machine/Makefile.in: Regenerate.
2700 * libm/machine/i386/Makefile.in: Regenerate.
2701 * libm/machine/spu/Makefile.in: Regenerate.
2702 * libm/math/Makefile.in: Regenerate.
2703 * libm/mathfp/Makefile.in: Regenerate.
2704
2705 * configure: Regenerate.
2706 * iconvdata/configure: Regenerate.
2707 * libc/configure: Regenerate.
2708 * libc/machine/configure: Regenerate.
2709 * libc/machine/i386/configure: Regenerate.
2710 * libc/sys/configure: Regenerate.
2711 * libc/sys/linux/configure: Regenerate.
2712 * libc/sys/linux/linuxthreads/configure: Regenerate.
2713 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
2714 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
2715 * libc/sys/linux/machine/configure: Regenerate.
2716 * libc/sys/linux/machine/i386/configure: Regenerate.
2717 * libm/configure: Regenerate.
2718 * libm/machine/configure: Regenerate.
2719 * libm/machine/i386/configure: Regenerate.
2720
2721 2007-05-23 Eric Blake <ebb9@byu.net>
2722
2723 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
2724 sizeof(void*) is 8 but sizeof(long) is 4.
2725 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
2726 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
2727 to fix reentrancy and bug on encoding error in multibyte locales.
2728 Always return EOF on read error.
2729
2730 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
2731
2732 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
2733 prototype.
2734 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
2735 instead of the slot 0 value, remove any now unused variables, and
2736 for some cases, now store the result in an int vs int*.
2737 * libc/machine/spu/feof.c: Ditto.
2738 * libc/machine/spu/ferror.c: Ditto.
2739 * libc/machine/spu/fflush.c: Ditto.
2740 * libc/machine/spu/fgetc.c: Ditto.
2741 * libc/machine/spu/fgetpos.c: Ditto.
2742 * libc/machine/spu/fgets.c: Ditto.
2743 * libc/machine/spu/fileno.c: Ditto.
2744 * libc/machine/spu/fopen.c: Ditto.
2745 * libc/machine/spu/fprintf.c: Ditto.
2746 * libc/machine/spu/fputc.c: Ditto.
2747 * libc/machine/spu/fputs.c: Ditto.
2748 * libc/machine/spu/fread.c: Ditto.
2749 * libc/machine/spu/freopen.c: Ditto.
2750 * libc/machine/spu/fscanf.c: Ditto.
2751 * libc/machine/spu/fseek.c: Ditto.
2752 * libc/machine/spu/fsetpos.c: Ditto.
2753 * libc/machine/spu/ftell.c: Ditto.
2754 * libc/machine/spu/fwrite.c: Ditto.
2755 * libc/machine/spu/getc.c: Ditto.
2756 * libc/machine/spu/getchar.c: Ditto.
2757 * libc/machine/spu/gets.c: Ditto.
2758 * libc/machine/spu/printf.c: Ditto.
2759 * libc/machine/spu/putc.c: Ditto.
2760 * libc/machine/spu/putchar.c: Ditto.
2761 * libc/machine/spu/puts.c: Ditto.
2762 * libc/machine/spu/remove.c: Ditto.
2763 * libc/machine/spu/rename.c: Ditto.
2764 * libc/machine/spu/scanf.c: Ditto.
2765 * libc/machine/spu/setvbuf.c: Ditto.
2766 * libc/machine/spu/snprintf.c: Ditto.
2767 * libc/machine/spu/sprintf.c: Ditto.
2768 * libc/machine/spu/sscanf.c: Ditto.
2769 * libc/machine/spu/tmpfile.c: Ditto.
2770 * libc/machine/spu/tmpnam.c: Ditto.
2771 * libc/machine/spu/ungetc.c: Ditto.
2772 * libc/machine/spu/vfprintf.c: Ditto.
2773 * libc/machine/spu/vfscanf.c: Ditto.
2774 * libc/machine/spu/vprintf.c: Ditto.
2775 * libc/machine/spu/vscanf.c: Ditto.
2776 * libc/machine/spu/vsnprintf.c: Ditto.
2777 * libc/machine/spu/vsprintf.c: Ditto.
2778 * libc/machine/spu/vsscanf.c: Ditto.
2779
2780 2007-05-23 Eric Blake <ebb9@byu.net>
2781
2782 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
2783 Avoid warning when !FLOATING_POINT.
2784 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
2785 slightly.
2786
2787 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
2788
2789 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
2790 to zero.
2791 * libc/include/argz.h: Guard against multiple inclusion. Guard for
2792 use with C++.
2793
2794 2007-05-18 Eric Blake <ebb9@byu.net>
2795
2796 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
2797 compilers.
2798 * libc/stdio/vfscanf.c: Likewise.
2799
2800 2007-05-17 Cary R. <cygcary <at> yahoo.com>
2801
2802 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
2803 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
2804 * libm/math/wf_atan2.c: Ditto.
2805
2806 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
2807
2808 * libm/common/Makefile.am: Add support for exp10, exp10f,
2809 pow10, and pow10f functions.
2810 * libm/common/Makefile.in: Regenerated.
2811 * libm/common/s_pow10.c: New file.
2812 * libm/common/sf_pow10.c: Ditto.
2813 * libm/common/s_exp10.c: Ditto.
2814 * libm/common/sf_exp10.c: Ditto.
2815 * libc/include/math.h [!pow10]: New pow10 prototype.
2816 [!pow10f]: New pow10f prototype.
2817 [!exp10]: New exp10 prototype.
2818 [!exp10f]: New exp10f prototype.
2819
2820 2007-05-17 Charles Wilson <cygwin@...>
2821
2822 * stdio/tmpfile.c: Include <sys/stat.h>.
2823 * stdio64/tmpfile64.c: Ditto.
2824
2825 2007-05-16 Eric Blake <ebb9@byu.net>
2826
2827 Close security hole in tmpfile.
2828 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
2829 generation and opening the fd.
2830 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
2831
2832 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
2833 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
2834 required by POSIX.
2835 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
2836 avoid clash with <math.h>.
2837
2838 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
2839 * libc/search/hash.c (__hash_open): Likewise.
2840
2841 2007-05-14 Eric Blake <ebb9@byu.net>
2842
2843 Reduce stack size of *printf.
2844 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
2845 in %f. Avoid malloc when possible for %S.
2846 (BUF): Improve stack locality by using smaller size.
2847 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
2848 (exponent): Use smaller stack size.
2849
2850 2007-05-11 Eric Blake <ebb9@byu.net>
2851
2852 Minimize printf/scanf size on platforms that don't need C99.
2853 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
2854 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
2855 * configure.in (newlib-io-c99-formats): New configure option.
2856 (_WANT_IO_C99_FORMATS): Define appropriately.
2857 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
2858 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
2859 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
2860 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
2861 Likewise.
2862 * configure: Regenerate.
2863
2864 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
2865 (get_arg): Support '%a' and '%A'.
2866
2867 2007-05-09 Eric Blake <ebb9@byu.net>
2868
2869 Allow zero size with non-null buf in *asnprintf.
2870 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
2871 user's buf.
2872 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
2873 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
2874 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
2875
2876 2007-05-07 Charles Wilson <cygwin@...>
2877
2878 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
2879
2880 2007-05-03 Eric Blake <ebb9@byu.net>
2881
2882 Add support for asnprintf, and improve *printf documentation.
2883 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
2884 (ELIX_2_SOURCES): ...to this.
2885 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
2886 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
2887 (CHEWOUT_FILES): Include diprintf in documentation.
2888 * libc/stdio/Makefile.in: Regenerate.
2889 * libc/stdio/diprintf.c: Improve documentation.
2890 * libc/stdio/dprintf.c: Likewise.
2891 * libc/stdio/siprintf.c: Likewise.
2892 * libc/stdio/sprintf.c: Likewise.
2893 * libc/stdio/vfprintf.c: Likewise.
2894 * libc/stdio/viprintf.c: Likewise.
2895 * libc/stdio/vsniprintf.c: Consolidate documentation.
2896 * libc/stdio/asiprintf.c: Refer to documentation.
2897 * libc/stdio/asprintf.c: Likewise.
2898 * libc/stdio/fiprintf.c: Likewise.
2899 * libc/stdio/fprintf.c: Likewise.
2900 * libc/stdio/iprintf.c: Likewise.
2901 * libc/stdio/printf.c: Likewise.
2902 * libc/stdio/sniprintf.c: Likewise.
2903 * libc/stdio/vdiprintf.c: Likewise.
2904 * libc/stdio/vdprintf.c: Likewise.
2905 * libc/stdio/vsiprintf.c: Likewise.
2906 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
2907 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
2908 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
2909 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
2910 file.
2911 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
2912 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
2913 typical case.
2914 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
2915 * libc/include/stdio.h: Add prototypes for new functions; sort
2916 existing functions.
2917
2918 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
2919
2920 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
2921 and memset.S.
2922 * libc/machine/m68k/Makefile.in: Regenerate.
2923 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
2924 * libc/machine/m68k/memset.S: Likewise.
2925
2926 2007-05-01 Eric Blake <ebb9@byu.net>
2927
2928 * libc/stdio64/local64.h: Delete, move contents to...
2929 * libc/stdio/local.h: ...here.
2930 * libc/stdio64/fdopen64.c: Update includes.
2931 * libc/stdio64/fopen64.c: Likewise.
2932 * libc/stdio64/freopen64.c: Likewise.
2933 * libc/stdio64/fseeko64.c: Likewise.
2934 * libc/stdio64/ftello64.c: Likewise.
2935 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
2936 and stderr with 64-bit offset.
2937 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
2938 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
2939 * libc/stdio/mktemp.c (_gettemp): Likewise.
2940
2941 2007-05-01 Cary R. <cygcary <at> yahoo.com>
2942
2943 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
2944 to treatment of NaN and +-inf arguments.
2945 * libm/math/ef_pow.c: Ditto.
2946 * libm/math/w_pow.c: Ditto.
2947 * libm/math/wf_pow.c: Ditto.
2948 * libm/math/w_acos.c: Fix domain errors to return NaN.
2949 * libm/math/w_asin.c: Ditto.
2950 * libm/math/wf_acos.c: Ditto.
2951 * libm/math/wf_asin.c: Ditto.
2952 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
2953 * libm/math/wf_log.c: Ditto.
2954 * libm/math/wf_log10.c: Ditto.
2955 * libm/math/w_log10.c: Ditto.
2956
2957 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
2958
2959 * libc/machine/m68k/Makefile.am: Temporarily remove
2960 memcpy.S and memset.S until logic can be confirmed for
2961 !(__mcoldfile__) case.
2962 * libc/machine/m68k/Makefile.in: Regenerated.
2963
2964 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
2965
2966 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
2967 and memset.S.
2968 * libc/machine/m68k/Makefile.in: Regenerate.
2969 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
2970
2971 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
2972
2973 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
2974 overridden via machine/ieeefp.h.
2975 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
2976 macros for isnan and related macros.
2977 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
2978 overridden via machine/ieeefp.h.
2979 * libm/machine/spu/Makefile.am: Add new files.
2980 * libm/machine/spu/Makefile.in: Autogenerate with new files.
2981 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
2982 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
2983 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
2984 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
2985 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
2986 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
2987 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
2988
2989 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
2990
2991 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
2992 * libm/common/sf_fpclassify.c: ...here. New file.
2993 * libm/common/Makefile.am: Add sf_fpclassify.c.
2994 * libm/common/Makefile.in: Regenerated.
2995
2996 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
2997
2998 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
2999 ppu linux values. This file is a copy of the cris/sys/errno.h plus
3000 a few changes (see spu errno.h comments).
3001
3002 2007-04-25 Eric Blake <ebb9@byu.net>
3003
3004 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
3005 that promote to int.
3006
3007 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
3008
3009 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
3010 we clear the proper bits in the fpscr, and don't set some random ones.
3011
3012 2007-04-24 Eric Blake <ebb9@byu.net>
3013
3014 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
3015 or NaN with %05f.
3016
3017 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
3018 _MB_CAPABLE.
3019
3020 * libc/include/limits.h (NL_ARGMAX): Define a default value.
3021 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
3022 NL_ARGMAX, if present.
3023
3024 2007-04-23 Brian Dessent <brian@dessent.net>
3025
3026 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
3027 has been specified with types 'f', 'F', 'g', or 'G', ensure the
3028 trailing decimal is printed.
3029
3030 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
3031
3032 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
3033 file. Override Autoconf-2.59's version of these macros with
3034 fixed handling of multiple adjacent whitespace in arguments.
3035 * aclocal.m4: Regenerated forcefully.
3036 * configure: Ditto.
3037 * Makefile.in: Ditto.
3038 * libc/*Makefile.in: Ditto.
3039 * libc/*aclocal.m4: Ditto.
3040 * libc/*configure: Ditto.
3041 * libm/*Makefile.in: Ditto.
3042 * libm/*aclocal.m4: Ditto.
3043 * libm/*configure: Ditto.
3044
3045 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
3046
3047 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
3048 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
3049 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
3050 * libc/sys/arc/Makefile.in: Regenerated.
3051
3052 2007-04-17 Brian Dessent <brian@dessent.net>
3053
3054 * libc/stdio/sscanf.c: Update documentation comments.
3055 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
3056
3057 2007-04-12 Eric Blake <ebb9@byu.net>
3058
3059 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
3060 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
3061 (get_arg): Handle %1$F, %1$n.
3062
3063 2007-04-10 Eric Blake <ebb9@byu.net>
3064
3065 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
3066 CFLAGS=-O0.
3067
3068 2007-04-09 Eric Blake <ebb9@byu.net>
3069
3070 * libc/include/stdio.h: Add gcc format attributes to printf and
3071 scanf families.
3072
3073 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
3074
3075 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
3076 even if the passed in length n is shorter than the source string.
3077 This matches both the non-spu specific and the glibc strxfrm
3078 behaviour.
3079
3080 2007-04-04 Mark Mitchell <mark@codesourcery.com>
3081
3082 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
3083 functions registering additional atexit functions.
3084
3085 * testsuite/lib/flags.exp (newlib_include_flags): Drop
3086 -I${newlib_dir}.
3087
3088 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
3089
3090 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
3091 prototype.
3092 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
3093 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
3094 * libc/machine/spu/fclose.c: Ditto.
3095 * libc/machine/spu/feof.c: Ditto.
3096 * libc/machine/spu/ferror.c: Ditto.
3097 * libc/machine/spu/fflush.c: Ditto.
3098 * libc/machine/spu/fgetc.c: Ditto.
3099 * libc/machine/spu/fgetpos.c: Ditto.
3100 * libc/machine/spu/fgets.c: Ditto.
3101 * libc/machine/spu/fileno.c: Ditto.
3102 * libc/machine/spu/fopen.c: Ditto.
3103 * libc/machine/spu/fprintf.c: Ditto.
3104 * libc/machine/spu/fputc.c: Ditto.
3105 * libc/machine/spu/fputs.c: Ditto.
3106 * libc/machine/spu/fread.c: Ditto.
3107 * libc/machine/spu/freopen.c: Ditto.
3108 * libc/machine/spu/fscanf.c: Ditto.
3109 * libc/machine/spu/fseek.c: Ditto.
3110 * libc/machine/spu/fsetpos.c: Ditto.
3111 * libc/machine/spu/ftell.c: Ditto.
3112 * libc/machine/spu/fwrite.c: Ditto.
3113 * libc/machine/spu/getc.c: Ditto.
3114 * libc/machine/spu/getchar.c: Ditto.
3115 * libc/machine/spu/gets.c: Ditto.
3116 * libc/machine/spu/perror.c: Ditto.
3117 * libc/machine/spu/printf.c: Ditto.
3118 * libc/machine/spu/putc.c: Ditto.
3119 * libc/machine/spu/putchar.c: Ditto.
3120 * libc/machine/spu/puts.c: Ditto.
3121 * libc/machine/spu/remove.c: Ditto.
3122 * libc/machine/spu/rename.c: Ditto.
3123 * libc/machine/spu/rewind.c: Ditto.
3124 * libc/machine/spu/scanf.c: Ditto.
3125 * libc/machine/spu/setbuf.c: Ditto.
3126 * libc/machine/spu/setvbuf.c: Ditto.
3127 * libc/machine/spu/snprintf.c: Ditto.
3128 * libc/machine/spu/sprintf.c: Ditto.
3129 * libc/machine/spu/sscanf.c: Ditto.
3130 * libc/machine/spu/tmpfile.c: Ditto.
3131 * libc/machine/spu/tmpnam.c: Ditto.
3132 * libc/machine/spu/ungetc.c: Ditto.
3133 * libc/machine/spu/vfprintf.c: Ditto.
3134 * libc/machine/spu/vfscanf.c: Ditto.
3135 * libc/machine/spu/vprintf.c: Ditto.
3136 * libc/machine/spu/vscanf.c: Ditto.
3137 * libc/machine/spu/vsnprintf.c: Ditto.
3138 * libc/machine/spu/vsprintf.c: Ditto.
3139 * libc/machine/spu/vsscanf.c: Ditto.
3140
3141 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
3142
3143 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
3144
3145 2007-04-04 Eric Blake <ebb9@byu.net>
3146
3147 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
3148 (asiprintf): Avoid overhead.
3149 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
3150 (asprintf): Avoid overhead.
3151 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
3152 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
3153 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
3154 (fiprintf): Avoid overhead.
3155 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
3156 (fprintf): Avoid overhead.
3157 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
3158 (iprintf): Avoid overhead.
3159 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
3160 (printf): Avoid overhead.
3161 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
3162 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
3163 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
3164 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
3165 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
3166 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
3167 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
3168 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
3169 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
3170 vdiprintf.c.
3171 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
3172 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
3173
3174 2007-03-30 Dave Korn <dave.korn@artimi.com>
3175
3176 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
3177 conflicting inline semantics between C99 and GNU89.
3178 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
3179 compatible with -fkeep-inline-functions usage.
3180 (__sputc_r): Likewise for consistency even though disabled.
3181
3182 2007-03-29 Nick Clifton <nickc@redhat.com>
3183
3184 Reflect changes made to generic vfprintf.c:
3185 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
3186 and add a "struct reent *" argument.
3187 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
3188 argument and call _VFPRINTF_R instead of VFPRINTF.
3189 (_VFPRINTF_R): Add data pointer to call to cantwrite().
3190 Fix uses of __sprint() and __sbprintf.
3191
3192 2007-03-20 Nick Clifton <nickc@redhat.com>
3193
3194 Reflect changes made to generic vfprintf.c:
3195 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
3196 and add a "struct reent *" argument.
3197 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
3198 argument and call _VFPRINTF_R instead of VFPRINTF.
3199 (_VFPRINTF_R): Add data pointer to call to cantwrite().
3200 Fix uses of __sprint() and __sbprintf.
3201
3202 2007-03-16 Charles Wilson <cygwin@...>
3203
3204 * libc/argz/argz_insert.c: "before" pointer is
3205 invalid after *argz realloc. Compute offset
3206 between "before" and *argz, and use it after
3207 reallocation instead.
3208
3209 2007-03-16 Eric Blake <ebb9@byu.net>
3210
3211 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
3212 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3213
3214 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
3215
3216 * configure.in: Add new --enable-newlib-reent-small option.
3217 * configure: Regenerated.
3218 * acconfig.h: Add _WANT_REENT_SMALL.
3219 * newlib.hin: Regenerated minus PACKAGE macros to add
3220 _WANT_REENT_SMALL macro.
3221 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
3222 if not already set.
3223 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
3224 there is no buffer.
3225 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
3226 use reentrant pointer passed in when resetting the file
3227 pointer to one of the std streams.
3228
3229 2007-03-15 Eric Blake <ebb9@byu.net>
3230
3231 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
3232 (__smakebuf): Rename...
3233 (__smakebuf_r): to this.
3234 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
3235 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
3236 allocation, then rename...
3237 (__smakebuf_r): ...to this and fix reentrancy.
3238 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
3239 allocation, then rename...
3240 (__swsetup_r): ...to this and fix reentrancy.
3241 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
3242 * libc/stdio/refill.c (__srefill_r): Likewise.
3243 * libc/stdio/fclose.c (_fclose_r): Likewise.
3244 * libc/stdio/fread.c (_fread_r): Likewise.
3245 * libc/stdio/freopen.c (_freopen_r): Likewise.
3246 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
3247 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
3248 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
3249 failed asprintf allocation, and fix reentrancy.
3250 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
3251 as required by POSIX.
3252 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
3253 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
3254 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
3255
3256 2007-03-12 Eric Blake <ebb9@byu.net>
3257
3258 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
3259 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
3260 allocation to caller.
3261 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
3262 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
3263 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
3264
3265 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
3266
3267 * libm/math/w_pow.c: Fix typo in documentation comment.
3268
3269 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
3270
3271 * libc/reent/timer.c: Removed (split into two new files).
3272 * libc/reent/timesr.c: New file for _times_r.
3273 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
3274 * reent/Makefile.in: Remove timer.c, add timesr.c and
3275 gettimeofdayr.c.
3276 * libc/reent/Makefile.am: Regenerate.
3277
3278 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
3279
3280 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
3281
3282 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
3283
3284 * libc/machine/spu/Makefile.am: Add new objects.
3285 * libc/machine/spu/Makefile.in: Regenerated.
3286 * libc/machine/spu/fiprintf.c: New file. Add implementation of
3287 integer-only version.
3288 * libc/machine/spu/fiscanf.c: Ditto.
3289 * libc/machine/spu/iprintf.c: Ditto.
3290 * libc/machine/spu/iscanf.c: Ditto.
3291 * libc/machine/spu/siprintf.c: Ditto.
3292 * libc/machine/spu/siscanf.c: Ditto.
3293 * libc/machine/spu/sniprintf.c: Ditto.
3294 * libc/machine/spu/vfiprintf.c: Ditto.
3295 * libc/machine/spu/vfiscanf.c: Ditto.
3296 * libc/machine/spu/viprintf.c: Ditto.
3297 * libc/machine/spu/viscanf.c: Ditto.
3298 * libc/machine/spu/vsiprintf.c: Ditto.
3299 * libc/machine/spu/vsiscanf.c: Ditto.
3300 * libc/machine/spu/vsniprintf.c: Ditto.
3301 * libc/machine/spu/fprintf.c: Add support for integer-only
3302 version.
3303 * libc/machine/spu/fscanf.c: Ditto.
3304 * libc/machine/spu/printf.c: Ditto.
3305 * libc/machine/spu/scanf.c: Ditto.
3306 * libc/machine/spu/snprintf.c: Ditto.
3307 * libc/machine/spu/sprintf.c: Ditto.
3308 * libc/machine/spu/sscanf.c: Ditto.
3309 * libc/machine/spu/vfprintf.c: Ditto.
3310 * libc/machine/spu/vfscanf.c: Ditto.
3311 * libc/machine/spu/vprintf.c: Ditto.
3312 * libc/machine/spu/vscanf.c: Ditto.
3313 * libc/machine/spu/vsnprintf.c: Ditto.
3314 * libc/machine/spu/vsprintf.c: Ditto.
3315 * libc/machine/spu/vsscanf.c: Ditto.
3316
3317 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
3318
3319 * libc/include/stdio.h: Add declaration for vsiprintf.
3320
3321 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
3322
3323 Add a floating point environment for SPU (cell):
3324
3325 * configure.host: add libm_machine_dir=spu.
3326 * libm/machine/configure: Add spu.
3327 * libm/machine/configure.in: regenerated with spu added.
3328 * libc/machine/spu/include/fenv.h: New file.
3329 * libc/machine/spu/sys/fenv.h: Ditto.
3330 * libm/machine/spu/Makefile.am: Ditto.
3331 * libm/machine/spu/Makefile.in: Ditto.
3332 * libm/machine/spu/aclocal.m4: Ditto.
3333 * libm/machine/spu/configure: Ditto.
3334 * libm/machine/spu/configure.in: Ditto.
3335 * libm/machine/spu/fe_dfl_env.c: Ditto.
3336 * libm/machine/spu/feclearexcept.c: Ditto.
3337 * libm/machine/spu/fegetenv.c: Ditto.
3338 * libm/machine/spu/fegetexceptflag.c: Ditto.
3339 * libm/machine/spu/fegetround.c: Ditto.
3340 * libm/machine/spu/feholdexcept.c: Ditto.
3341 * libm/machine/spu/feraiseexcept.c: Ditto.
3342 * libm/machine/spu/fesetenv.c: Ditto.
3343 * libm/machine/spu/fesetexceptflag.c: Ditto.
3344 * libm/machine/spu/fesetround.c: Ditto.
3345 * libm/machine/spu/fetestexcept.c: Ditto.
3346 * libm/machine/spu/feupdateenv.c: Ditto.
3347 * libm/machine/spu/headers/feclearexcept.h: Ditto.
3348 * libm/machine/spu/headers/fefpscr.h: Ditto.
3349 * libm/machine/spu/headers/fegetenv.h: Ditto.
3350 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
3351 * libm/machine/spu/headers/fegetround.h: Ditto.
3352 * libm/machine/spu/headers/feholdexcept.h: Ditto.
3353 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
3354 * libm/machine/spu/headers/fesetenv.h: Ditto.
3355 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
3356 * libm/machine/spu/headers/fesetround.h: Ditto.
3357 * libm/machine/spu/headers/fetestexcept.h: Ditto.
3358 * libm/machine/spu/headers/feupdateenv.h: Ditto.
3359
3360 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
3361
3362 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
3363 Cygwin.
3364
3365 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
3366
3367 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
3368 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
3369
3370 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
3371
3372 * libc/include/sys/features.h: Add definition of all supported
3373 _POSIX_xxx values for Cygwin.
3374 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
3375 on Cygwin.
3376 (pthread_rwlockattr_t): Ditto.
3377 * libc/include/sys/unistd.h: Define all _SC_xxx values as
3378 required by SUSv3. Unify formatting.
3379
3380 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
3381
3382 * libc/include/sys/errno.h: Add ECANCELED.
3383
3384 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
3385 Kazunori Asayama <asayama@sm.sony.co.jp>
3386
3387 * libc/machine/spu/Makefile.am: Add objects.
3388 * libc/machine/spu/Makefile.in: Regenerated.
3389 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
3390 implementation.
3391 * libc/machine/spu/snprintf.c: Ditto.
3392 * libc/machine/spu/sprintf.c: Ditto.
3393 * libc/machine/spu/sscanf.c: Ditto.
3394 * libc/machine/spu/remove.c: Ditto.
3395 * libc/machine/spu/rename.c: Ditto.
3396 * libc/machine/spu/tmpnam.c: Ditto.
3397 * libc/machine/spu/vsnprintf.c: Add initialization routine of
3398 stdio stuffs.
3399 * libc/machine/spu/vsprintf.c: Ditto.
3400
3401 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
3402 Kazunori Asayama <asayama@sm.sony.co.jp>
3403
3404 * configure.host: Enable SPU specific stdio directory.
3405 * libc/machine/spu/Makefile.am: Add objects.
3406 * libc/machine/spu/Makefile.in: Regenerated.
3407 * libc/machine/spu/c99ppe.h: Add macros and function
3408 declarations to initialize SPU specific stdio stuffs.
3409 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
3410 specific FILE structures.
3411 * libc/machine/spu/perror.c: Add initialization routine of
3412 stdio stuffs.
3413 * libc/machine/spu/printf.c: Ditto.
3414 * libc/machine/spu/putchar.c: Ditto.
3415 * libc/machine/spu/puts.c: Ditto.
3416 * libc/machine/spu/vprintf.c: Ditto.
3417 * libc/machine/spu/clearerr.c: New file. Add a stdio function
3418 implementation.
3419 * libc/machine/spu/feof.c: Ditto.
3420 * libc/machine/spu/ferror.c: Ditto.
3421 * libc/machine/spu/fileno.c: Ditto.
3422 * libc/machine/spu/fopen.c: Ditto.
3423 * libc/machine/spu/fclose.c: Ditto.
3424 * libc/machine/spu/freopen.c: Ditto.
3425 * libc/machine/spu/fflush.c: Ditto.
3426 * libc/machine/spu/fseek.c: Ditto.
3427 * libc/machine/spu/ftell.c: Ditto.
3428 * libc/machine/spu/rewind.c: Ditto.
3429 * libc/machine/spu/fgetpos.c: Ditto.
3430 * libc/machine/spu/fsetpos.c: Ditto.
3431 * libc/machine/spu/fread.c: Ditto.
3432 * libc/machine/spu/fwrite.c: Ditto.
3433 * libc/machine/spu/getc.c: Ditto.
3434 * libc/machine/spu/getchar.c: Ditto.
3435 * libc/machine/spu/gets.c: Ditto.
3436 * libc/machine/spu/fgetc.c: Ditto.
3437 * libc/machine/spu/fgets.c: Ditto.
3438 * libc/machine/spu/ungetc.c: Ditto.
3439 * libc/machine/spu/putc.c: Ditto.
3440 * libc/machine/spu/fputc.c: Ditto.
3441 * libc/machine/spu/fputs.c: Ditto.
3442 * libc/machine/spu/vfprintf.c: Ditto.
3443 * libc/machine/spu/vfscanf.c: Ditto.
3444 * libc/machine/spu/fprintf.c: Ditto.
3445 * libc/machine/spu/fscanf.c: Ditto.
3446 * libc/machine/spu/scanf.c: Ditto.
3447 * libc/machine/spu/vscanf.c: Ditto.
3448 * libc/machine/spu/setbuf.c: Ditto.
3449 * libc/machine/spu/setvbuf.c: Ditto.
3450 * libc/machine/spu/tmpfile.c: Ditto.
3451
3452 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
3453
3454 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
3455 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
3456 around stdio macros that manipulate fields in the normal file
3457 structure.
3458 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
3459 <sys/custom_file.h> to define custom FILE structure.
3460 * libc/include/sys/custom_file.h: New default header file
3461 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
3462 * libc/machine/spu/sys/custom_file.h: New file.
3463
3464 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
3465
3466 * configure.host: Define stdio directory as a variable.
3467 * libc/Makefile.am: Define stdio related names
3468 as macros.
3469 * libc/configure.in: Add detection routine of stdio directory.
3470 * libc/Makefile.in: Regenerated.
3471 * libc/configure: Ditto.
3472 * libc/argz/Makefile.in: Ditto.
3473 * libc/ctype/Makefile.in: Ditto.
3474 * libc/errno/Makefile.in: Ditto.
3475 * libc/iconv/Makefile.in: Ditto.
3476 * libc/iconv/ccs/Makefile.in: Ditto.
3477 * libc/iconv/ccs/binary/Makefile.in: Ditto.
3478 * libc/iconv/ces/Makefile.in: Ditto.
3479 * libc/iconv/lib/Makefile.in: Ditto.
3480 * libc/locale/Makefile.in: Ditto.
3481 * libc/misc/Makefile.in: Ditto.
3482 * libc/posix/Makefile.in: Ditto.
3483 * libc/reent/Makefile.in: Ditto.
3484 * libc/search/Makefile.in: Ditto.
3485 * libc/signal/Makefile.in: Ditto.
3486 * libc/stdio/Makefile.in: Ditto.
3487 * libc/stdio64/Makefile.in: Ditto.
3488 * libc/stdlib/Makefile.in: Ditto.
3489 * libc/string/Makefile.in: Ditto.
3490 * libc/syscalls/Makefile.in: Ditto.
3491 * libc/time/Makefile.in: Ditto.
3492 * libc/unix/Makefile.in: Ditto.
3493
3494 2007-01-30 Ben Elliston <bje@au.ibm.com>
3495
3496 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
3497 fmt member.
3498 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
3499 (printf): Pass fmt to va_start to suppress a warning.
3500
3501 * libc/search/hash.c (init_hash): Make `info' parameter const.
3502
3503 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
3504
3505 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
3506 * libc/machine/spu/vec_literal.h: Ditto.
3507 * libc/machine/spu/strncmp.c: Ditto.
3508
3509 2007-01-15 Joseph Myers <joseph@codesourcery.com>
3510 Kazu Hirata <kazu@codesourcery.com>
3511
3512 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
3513 for E500V1 and E500V2.
3514
3515 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
3516
3517 * libm/configure.in: Always configure machine directory.
3518 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
3519 unconditionally.
3520 * libm/configure: Regenerated.
3521 * libm/Makefile.in: Ditto.
3522 * libm/*/Makefile.in: Ditto.
3523
3524 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
3525
3526 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
3527
3528 2007-01-02 Ben Elliston <bje@au.ibm.com>
3529
3530 * doc/makedoc.c: Include <stdlib.h>.
3531 (malloc, realloc): Remove extern declarations.
3532
3533 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
3534
3535 * NEWS: Update with 1.15.0 info.
3536 * README: Ditto.
3537 * acinclude.m4: Change version number to 1.15.0.
3538 * aclocal.m4: Regenerated.
3539 * configure: Ditto.
3540 * doc/aclocal.m4: Ditto.
3541 * doc/configure: Ditto.
3542 * libc/*/aclocal.m4: Ditto.
3543 * libc/*/configure: Ditto.
3544 * libc/libc.texinfo: Ditto.
3545 * libm/*/aclocal.m4: Ditto.
3546 * libm/*/configure: Ditto.
3547 * libm/libm.texinfo: Ditto.
3548 * libc/sys/linux/shared.ld: Add VERS_1.15.
3549
3550 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
3551
3552 Merge from newlib-csl-20060320-branch:
3553 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
3554 Kazu Hirata <kazu@codesourcery.com>
3555
3556 * configure.host: Recognize fido.
3557
3558 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
3559
3560 * libc/machine/spu/c99ppe.h: New file
3561 * libc/machine/spu/perror.c: New file to override libc/stdio version.
3562 * libc/machine/spu/printf.c: New file
3563 * libc/machine/spu/putchar.c: New file
3564 * libc/machine/spu/puts.c: New file
3565 * libc/machine/spu/vprintf.c: New file
3566 * libc/machine/spu/vsnprintf.c: New file
3567 * libc/machine/spu/vsprintf.c: New file
3568 * libc/machine/spu/Makefile.am: Add new targets.
3569 * libc/machine/spu/Makefile.in: Regenerated.
3570
3571 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
3572
3573 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
3574 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
3575
3576 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
3577
3578 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
3579 2.6.5 version of Doug Lea's malloc which is the basis of
3580 this code.
3581
3582 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
3583
3584 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
3585
3586 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
3587 Eric Blake <ebb9@byu.net>
3588
3589 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
3590 read but unused data.
3591 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
3592 even read streams may have side effects that must happen.
3593
3594 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
3595
3596 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
3597 correctly.
3598
3599 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
3600
3601 * libc/include/alloca.h: Add undef alloca to work with xlc.
3602
3603 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
3604
3605 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
3606 cell spu.
3607
3608 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
3609
3610 * libc/machine/spu/strncpy.c: Add padding.
3611
3612 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
3613
3614 * testsuite/newlib.string/tstring.c:
3615
3616 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
3617
3618 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
3619 * libc/machine/spu/strrchr.c: Ditto.
3620
3621 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
3622
3623 * libc/include/math.h: Allow C99 functions/macros to be
3624 defined for C++ even when __STRICT_ANSI__.
3625
3626 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
3627
3628 * libc/stdio/makebuf.c (__smakebuf): If dealing with
3629 an asprintf-family buffer, make the default initial size 64.
3630
3631 2006-11-29 Eric Blake <ebb9@byu.net>
3632
3633 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
3634 asprintf, as well as quadratic realloc behavior.
3635
3636 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
3637
3638 * libc/machine/spu/memset.c: Fix type of explicit cast.
3639 * libc/machine/spu/strncmp.c: Add explicit cast.
3640 * libc/machine/spu/strrchr.c: Ditto.
3641 * libc/machine/spu/strspn.c: Ditto.
3642
3643 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
3644
3645 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
3646 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
3647 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
3648 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
3649 * libc/machine/spu/strncat.c: Explicit cast.
3650 * libc/machine/spu/strncmp.c: Use spu_splats.
3651 * libc/machine/spu/strncpy.c: Explicit cast.
3652 * libc/machine/spu/strrchr.c: Use spu_splats.
3653 * libc/machine/spu/strspn.c: Use spu_splats.
3654
3655 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
3656
3657 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
3658
3659 2006-11-14 Eric Blake <ebb9@byu.net>
3660
3661 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
3662 (chclass): ' is a flag. j, t, and z are modifiers.
3663
3664 2006-11-08 Jie Zhang <jie.zhang@analog.com>
3665
3666 * configure.host: Add support for bfin.
3667 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
3668 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
3669 * libc/machine/bfin/aclocal.m4: Generate.
3670 * libc/machine/bfin/configure.in: New.
3671 * libc/machine/bfin/configure: Generate.
3672 * libc/machine/bfin/Makefile.am: New.
3673 * libc/machine/bfin/Makefile.in: Generate.
3674 * libc/machine/bfin/setjmp.S: New.
3675 * libc/machine/bfin/longjmp.S: New.
3676 * libc/machine/configure.in: Add bfin support.
3677 * libc/machine/configure: Generate.
3678
3679 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
3680
3681 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
3682 (_PC_FILESIZEBITS): Add definition.
3683 (_PC_2_SYMLINKS): Ditto.
3684 (_PC_SYMLINK_MAX): Ditto.
3685
3686 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
3687
3688 * libc/machine/spu/memcpy.c: Override generic function with vectorized
3689 version optimized for the cell spu.
3690 * libc/machine/spu/memmove.c: Ditto.
3691 * libc/machine/spu/memset.c: Ditto.
3692 * libc/machine/spu/strcat.c: Ditto.
3693 * libc/machine/spu/strchr.c: Ditto.
3694 * libc/machine/spu/strcmp.c: Ditto.
3695 * libc/machine/spu/strcpy.c: Ditto.
3696 * libc/machine/spu/strcspn.c: Ditto.
3697 * libc/machine/spu/strlen.c: Ditto.
3698 * libc/machine/spu/strncat.c: Ditto.
3699 * libc/machine/spu/strncmp.c: Ditto.
3700 * libc/machine/spu/strncpy.c: Ditto.
3701 * libc/machine/spu/strpbrk.c: Ditto.
3702 * libc/machine/spu/strrchr.c: Ditto.
3703 * libc/machine/spu/strspn.c: Ditto.
3704 * libc/machine/spu/strxfrm.c: Ditto.
3705 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
3706 removing altivec style initializers.
3707 * libc/machine/spu/Makefile.am: Add new files to list so they build
3708 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
3709
3710 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
3711
3712 * README: Add a brief section on how to regenerate
3713 configuration files in newlib.
3714
3715 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
3716
3717 * libc/include/math.h: (exception): Add a comment
3718 telling fixincludes that we handle C vs. C++ issue.
3719
3720 2006-10-11 Yang Tse <yangsita@gmail.com>
3721
3722 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
3723 braced-groups.
3724
3725 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
3726
3727 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
3728
3729 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
3730
3731 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
3732 for clearerr, feof, or fileno.
3733 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
3734 the dummy std stream scheme to use pointers to const external
3735 fake files, one for each standard stream.
3736 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
3737 argument. For _REENT_SMALL, reset the file pointer if it
3738 matches one of the fake std stream pointers.
3739 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
3740 argument.
3741 * libc/stdio/fclose.c: Ditto.
3742 * libc/stdio/feof.c: Ditto.
3743 * libc/stdio/ferror.c: Ditto.
3744 * libc/stdio/fflush.c: Ditto.
3745 * libc/stdio/fgetc.c: Ditto.
3746 * libc/stdio/fgets.c: Ditto.
3747 * libc/stdio/fileno.c: Ditto.
3748 * libc/stdio/findfp.c: Ditto.
3749 * libc/stdio/fputc.c: Ditto.
3750 * libc/stdio/fputs.c: Ditto.
3751 * libc/stdio/fread.c: Ditto.
3752 * libc/stdio/freopen.c: Ditto.
3753 * libc/stdio/fseek.c: Ditto.
3754 * libc/stdio/ftell.c: Ditto.
3755 * libc/stdio/fwrite.c: Ditto.
3756 * libc/stdio/getc.c: Ditto.
3757 * libc/stdio/getdelim.c: Ditto.
3758 * libc/stdio/putc.c: Ditto.
3759 * libc/stdio/refill.c: Ditto.
3760 * libc/stdio/setvbuf.c: Ditto.
3761 * libc/stdio/ungetc.c: Ditto.
3762 * libc/stdio/vfprintf.c: Ditto.
3763 * libc/stdio/vfscanf.c: Ditto.
3764 * libc/stdio/wbuf.c: Ditto.: Ditto.
3765 * libc/stdio/wsetup.c: Ditto.
3766 * libc/stdio64/freopen64.c: Ditto.
3767 * libc/stdio64/fseeko64.c: Ditto.
3768 * libc/stdio64/ftello64.c: Ditto.
3769 * libc/machine/powerpc/vfprintf.c: Ditto.
3770 * libc/machine/powerpc/vfscanf.c: Ditto.
3771
3772 2006-09-22 Paul Brook <paul@codesourcery.com>
3773
3774 * libc/include/sys/reent.h: Define and use __reent_assert.
3775
3776 2006-09-13 Joel Sherrill <joel@oarcorp.com>
3777
3778 * libc/include/pthread.h: Add pthread barriers,
3779 rwlocks, and spinlocks. Change const to
3780 _CONST and prefix parameter names with
3781 an underscore.
3782 * libc/include/sys/types.h: Add id and attribute
3783 types for barriers, wrlocks, and spinlocks.
3784 * libc/include/sys/features.h: Enable barriers,
3785 wrlocks, and spinlocks for RTEMS.
3786
3787 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
3788
3789 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
3790 supposed to be writable.
3791 * libm/common/s_lib_ver.c: Ditto.
3792
3793 2006-09-12 Paul Brook <paul@codesourcery.com>
3794
3795 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
3796
3797 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
3798
3799
3800 * libc/machine/xstormy16/Makefile.am:
3801 Add $(lpfx) prefix to LIBADD objects.
3802 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
3803 * libc/machine/xstormy16/Makefile.in: Regenerated.
3804
3805 2006-09-06 Eric Blake <ebb9@byu.net>
3806
3807 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
3808 't', and 'z' modifiers.
3809
3810 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
3811
3812 Merge from newlib-csl-20060320-branch:
3813 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
3814
3815 * configure.host: Tell it we have _rename and _system when
3816 building m68k-unknown-elf.
3817
3818 2006-08-29 Paul Brook <paul@codesourcery.com>
3819
3820 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
3821
3822 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
3823
3824 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
3825 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
3826 This is needed to build all AVR and H8300 RTEMS multilib variants.
3827
3828 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
3829
3830 * libc/machine/configure.in: Add configuration for SPU.
3831 * libc/machine/configure: Regenerated.
3832 * libc/machine/spu/memcpy.c: Include string.h.
3833
3834 2006-08-22 Eric Blake <ebb9@byu.net>
3835
3836 * libc/posix/popen.c (popen): Don't close output end of pipe in
3837 child if stdout was closed on entry.
3838 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
3839
3840 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
3841
3842 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
3843 line.
3844
3845 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
3846
3847 * libc/time/gmtime.c: Correct man page; clock is not a
3848 local time and no conversion occurs.
3849
3850 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
3851
3852 * configure.host (newlib_cflags) [spu]: Add special compiler
3853 options to reduce size.
3854
3855 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
3856
3857 * configure.host: Add spu support.
3858 * libc/include/stdint.h: Ditto.
3859 * libc/include/machine/ieeefp.h: Ditto.
3860 * libc/include/machine/setjmp.h: Ditto.
3861 * libc/include/sys/config.h: Ditto.
3862 * libc/include/sys/types.h: Ditto.
3863 * libc/machine/spu/Makefile.am: New file.
3864 * libc/machine/spu/Makefile.in: Ditto.
3865 * libc/machine/spu/aclocal.m4: Ditto.
3866 * libc/machine/spu/configure: Ditto.
3867 * libc/machine/spu/configure.in: Ditto.
3868 * libc/machine/spu/memcpy.c: Ditto.
3869 * libc/machine/spu/setjmp.S: Ditto.
3870
3871 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
3872
3873 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
3874 properly.
3875
3876 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
3877
3878 * libc/Makefile.am: Add libc_TEXINFOS dependency on
3879 generated .texi files.
3880 * libm/Makefile.am: Add libm_TEXINFOS dependency on
3881 generated .texi files.
3882 * libc/Makefile.in: Regenerated.
3883 * libm/Makefile.in: Ditto.
3884
3885 2006-08-01 Thiemo Seufer <ths@mips.com>
3886 Nigel Stephens <nigel@mips.com>
3887
3888 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
3889 define this to force _impure_ptr to live in the .sdata section.
3890
3891 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
3892
3893 * acinclude.m4: Check for readelf tool.
3894 * configure.in: Use ${READELF} instead of hard-coding.
3895 * Regenerate all aclocal.m4, Makefile.in, and configure files.
3896
3897 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
3898
3899 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
3900 to avoid conflict with newer glibc's revision of mremap.
3901
3902 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
3903
3904 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
3905 floating-point format support. Also redefine
3906 dword0 and dword1 macros.
3907 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
3908 to prevent setting dword1 which is an rvalue only.
3909
3910 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
3911
3912 * libc/stdlib/Makefile.am: Add new gdtoa routines.
3913 * libc/stdlib/Makefile.in: Regenerated.
3914 * libc/stdlib/gd_qnan.h: New file.
3915 * libc/stdlib/gdtoa-gethex.c: Ditto.
3916 * libc/stdlib/gdtoa-hexnan.c: Ditto.
3917 * libc/stdlib/gdtoa.h: Ditto.
3918 * libc/stdlib/mprec.c: Add new helper routines needed by
3919 the new gdtoa code.
3920 * libc/stdlib/mprec.h: Integrate some defines and prototypes
3921 used by gdtoa routines here.
3922 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
3923 which adds C99 support such as nan, inf, and hexadecimal input
3924 format.
3925
3926 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
3927
3928 * libc/include/stdio.h (__sgetc_r): Fix typo.
3929 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
3930 * libc/stdio/rget.c (__srbuf): Reinstantiate.
3931 * libc/stdio/wbuf.c (__swbuf): Ditto.
3932
3933 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
3934
3935 * libc/include/stdio.h: Add new reentrant I/O prototypes for
3936 read/write functions. Change getc/putc macros to have reentrant underlying
3937 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
3938 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
3939 new reentrant I/O functions/macros for reading/writing.
3940 * libc/stdio/fgets.c: Ditto.
3941 * libc/stdio/fputc.c: Ditto.
3942 * libc/stdio/fputs.c: Ditto.
3943 * libc/stdio/fread.c: Ditto.
3944 * libc/stdio/fseek.c: Ditto.
3945 * libc/stdio64/fseeko64.c: Ditto.
3946 * libc/stdio/fwrite.c: Ditto.
3947 * libc/stdio/getc.c: Ditto.
3948 * libc/stdio/getc_u.c: Ditto.
3949 * libc/stdio/getchar.c: Ditto.
3950 * libc/stdio/getchar_u.c: Ditto.
3951 * libc/stdio/putc.c: Ditto.
3952 * libc/stdio/putc_u.c: Ditto.
3953 * libc/stdio/putchar.c: Ditto.
3954 * libc/stdio/puts.c: Ditto.
3955 * libc/stdio/vfprintf.c: Ditto.
3956 * libc/stdio/vfscanf.c: Ditto.
3957 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
3958 Change all previous callers of __sfvwrite. Set errno to EBADF and
3959 set error flag on if attempt is made to write to file that does not
3960 allow writing.
3961 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
3962 * libc/stdio/local.h: Ditto.
3963 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
3964 Set errno to EBADF and the error flag on if attempt is made to
3965 read unreadable file. Change all previous callers of __srefill.
3966 * libc/stdio/rget.c
3967 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
3968 all previous callers of __swbuf.
3969 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
3970 huge value macros are already defined correctly for i386 by <math.h>.
3971
3972 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
3973
3974 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
3975 Make them do something useful in the ARM_RDI_MONITOR case.
3976
3977 2006-06-07 Fred Fish <fnf@specifix.com>
3978
3979 * libc/search/hash_bigkey.c (MIN,MAX): Remove
3980 defines that are already supplied by <sys/param.h>.
3981
3982 2006-06-07 Fred Fish <fnf@specifix.com>
3983
3984 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
3985
3986 2006-06-05 Shaun Jackman <sjackman@gmail.com>
3987
3988 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
3989 usleep.c.
3990 * libc/posix/Makefile.in: Regenerate.
3991 * libc/posix/sleep.c: New file.
3992 * libc/posix/usleep.c: Ditto.
3993
3994 2006-06-05 Shaun Jackman <sjackman@gmail.com>
3995
3996 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
3997 -DABORT_PROVIDED flag.
3998 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
3999 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
4000
4001 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
4002
4003 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
4004 * Makefile.in: Regenerated.
4005 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
4006 extraneous CFLAGS reference now that CCASFLAGS are being extended
4007 properly via multilib.
4008 * libc/machine/sh/Makefile.in: Regenerated.
4009
4010 2006-06-02 Shaun Jackman <sjackman@gmail.com>
4011
4012 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
4013 sigismember.
4014
4015 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
4016
4017 * libc/misc/dprintf.c: Removed.
4018 * libc/misc/__dprintf.c: Renamed from dprintf.c.
4019 * libc/misc/Makefile.am: Changed appropriately for rename.
4020 * libc/misc/Makefile.in: Regenerated.
4021
4022 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
4023
4024 * libc/include/stdio.h: Protect dprintf prototype
4025 with #ifndef dprintf so as to not interfere with
4026 historical code defining their own dprintf macro.
4027
4028 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
4029
4030 * libc/include/stdio.h: Add prototypes for fiscanf,
4031 iscanf, and siscanf.
4032
4033 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
4034
4035 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
4036 (DEF_NEWLIB_VERSION).
4037 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
4038 * configure: Regenerate.
4039
4040 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
4041
4042 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
4043 lib_a_SOURCES.
4044 * libc/ctype/Makefile.in: Regenerated.
4045
4046 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
4047
4048 * libc/machine/arm/Makefile.am: Fix a typo.
4049 * libc/machine/arm/Makefile.in: Regenerated.
4050
4051 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
4052
4053 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
4054 * libc/machine/sh/Makefile.in: Regenerate.
4055
4056 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
4057
4058 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
4059 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
4060
4061 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
4062
4063 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
4064 .s.
4065 * libc/sys/sysnec810/Makefile.in: Regenerated.
4066 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
4067 * libc/sys/sysnec810/io.S: Ditto.
4068 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
4069 * libc/sys/sysnec810/io.s: Ditto.
4070
4071 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
4072
4073 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
4074 be specified instead of object, do so.
4075 * libc/ctype/Makefile.am: Ditto.
4076 * libc/iconv/ccs/Makefile.am: Ditto.
4077 * libc/iconv/ces/Makefile.am: Ditto.
4078 * libc/iconv/lib/Makefile.am: Ditto.
4079 * libc/locale/Makefile.am: Ditto.
4080 * libc/posix/Makefile.am: Ditto.
4081 * libc/reent/Makefile.am: Ditto.
4082 * libc/search/Makefile.am: Ditto.
4083 * libc/stdio/Makefile.am: Ditto.
4084 * libc/stdio64/Makefile.am: Ditto.
4085 * libc/stdlib/Makefile.am: Ditto.
4086 * libc/string/Makefile.am: Ditto.
4087 * libc/syscalls/Makefile.am: Ditto.
4088 * libc/unix/Makefile.am: Ditto.
4089 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
4090 prefix added automatically. Any specified rules must use $(lpfx) for
4091 object file names.
4092 * libc/machine/arm/Makefile.am: Ditto.
4093 * libc/machine/cris/Makefile.am: Ditto.
4094 * libc/machine/crx/Makefile.am: Ditto.
4095 * libc/machine/d10v/Makefile.am: Ditto.
4096 * libc/machine/d30v/Makefile.am: Ditto.
4097 * libc/machine/fr30/Makefile.am: Ditto.
4098 * libc/machine/frv/Makefile.am: Ditto.
4099 * libc/machine/h8300/Makefile.am: Ditto.
4100 * libc/machine/h8500/Makefile.am: Ditto.
4101 * libc/machine/hppa/Makefile.am: Ditto.
4102 * libc/machine/i386/Makefile.am: Ditto.
4103 * libc/machine/i960/Makefile.am: Ditto.
4104 * libc/machine/iq2000/Makefile.am: Ditto.
4105 * libc/machine/m32c/Makefile.am: Ditto.
4106 * libc/machine/m32r/Makefile.am: Ditto.
4107 * libc/machine/m68hc11/Makefile.am: Ditto.
4108 * libc/machine/m68k/Makefile.am: Ditto.
4109 * libc/machine/m88k/Makefile.am: Ditto.
4110 * libc/machine/mips/Makefile.am: Ditto.
4111 * libc/machine/mn10200/Makefile.am: Ditto.
4112 * libc/machine/mn10300/Makefile.am: Ditto.
4113 * libc/machine/mt/Makefile.am: Ditto.
4114 * libc/machine/necv70/Makefile.am: Ditto.
4115 * libc/machine/powerpc/Makefile.am: Ditto.
4116 * libc/machine/sh/Makefile.am: Ditto.
4117 * libc/machine/sh/Makefile.in: Ditto.
4118 * libc/machine/sparc/Makefile.am: Ditto.
4119 * libc/machine/tic4x/Makefile.am: Ditto.
4120 * libc/machine/tic80/Makefile.am: Ditto.
4121 * libc/machine/v850/Makefile.am: Ditto.
4122 * libc/machine/w65/Makefile.am: Ditto.
4123 * libc/machine/xscale/Makefile.am: Ditto.
4124 * libc/machine/xstormy16/Makefile.am: Ditto.
4125 * libc/machine/z8k/Makefile.am: Ditto.
4126 * libc/sys/a29khif/Makefile.am: Ditto.
4127 * libc/sys/arm/Makefile.am: Ditto.
4128 * libc/sys/d10v/Makefile.am: Ditto.
4129 * libc/sys/h8300hms/Makefile.am: Ditto.
4130 * libc/sys/h8500hms/Makefile.am: Ditto.
4131 * libc/sys/linux/Makefile.am: Ditto.
4132 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
4133 * libc/sys/linux/net/Makefile.am: Ditto.
4134 * libc/sys/linux/stdlib/Makefile.am: Ditto.
4135 * libc/sys/m88kbug/Makefile.am: Ditto.
4136 * libc/sys/mmixware/Makefile.am: Ditto.
4137 * libc/sys/rdos/Makefile.am: Ditto.
4138 * libc/sys/rtems/Makefile.am: Ditto.
4139 * libc/sys/sh/Makefile.am: Ditto.
4140 * libc/sys/sun4/Makefile.am: Ditto.
4141 * libc/sys/sysmec/Makefile.am: Ditto.
4142 * libc/sys/sysnec810/Makefile.am: Ditto.
4143 * libc/sys/sysnecv850/Makefile.am: Ditto.
4144 * libc/sys/sysvi386/Makefile.am: Ditto.
4145 * libc/sys/sysvnecv70/Makefile.am: Ditto.
4146 * libc/sys/tic80/Makefile.am: Ditto.
4147 * libc/sys/w65/Makefile.am: Ditto.
4148 * libc/sys/z8ksim/Makefile.am: Ditto.
4149 * libc/machine/necv70/fastmath.S: Renamed from .s file.
4150 * libc/machine/necv70/setjmp.S: Ditto.
4151 * libc/machine/necv70/fastmath.s: Removed.
4152 * libc/machine/necv70/setjmp.s: Ditto.
4153 * libc/machine/w65/*.S: New files renamed from .s files.
4154 * libc/machine/w65/*.s: Renamed and removed.
4155 * libc/sys/a29khif/*.S: New files renamed from .s files.
4156 * libc/sys/a29khif/*.s: Renamed and removed.
4157 * libc/sys/sysvi386/*.S: New files renamed from .s files.
4158 * libc/sys/sysvi386/*.s: Renamed and removed.
4159 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
4160 * libc/sys/sysvnecv70/*.s: Renamed and removed.
4161 * libc/*Makefile.in: Regenerated as appropriate.
4162
4163 2006-04-24 DJ Delorie <dj@redhat.com>
4164
4165 * libc/machine/sh/configure.in: Avoid link tests.
4166 * libc/machine/sh/configure: Regenerate.
4167
4168 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
4169
4170 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
4171 (sigaddset, sigemptyset): Add return code.
4172
4173 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
4174
4175 * acinclude.m4: New _NEWLIB_VERSION.
4176 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
4177 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
4178 Use new form of AC_INIT_AUTOMAKE.
4179 * configure.in: AC_PREREQ(2.59).
4180 Use autoconf-2.5.x version of AC_INIT.
4181 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
4182 autoconf-2.13's AC_OUTPUT.
4183 * libm/configure.in: Ditto.
4184 * libm/machine/configure.in: Ditto.
4185 * libm/machine/i386/configure.in: Ditto.
4186 * libc/configure.in: Ditto.
4187 * libc/machine/a29k/configure.in: Ditto.
4188 * libc/machine/arm/configure.in: Ditto.
4189 * libc/machine/configure.in: Ditto.
4190 * libc/machine/mn10300/configure.in: Ditto.
4191 * libc/machine/powerpc/configure.in: Ditto.
4192 * libc/machine/z8k/configure.in: Ditto.
4193 * libc/machine/h8300/configure.in: Ditto.
4194 * libc/machine/mips/configure.in: Ditto.
4195 * libc/machine/crx/configure.in: Ditto.
4196 * libc/machine/m68hc11/configure.in: Ditto.
4197 * libc/machine/h8500/configure.in: Ditto.
4198 * libc/machine/xscale/configure.in: Ditto.
4199 * libc/machine/d10v/configure.in: Ditto.
4200 * libc/machine/fr30/configure.in: Ditto.
4201 * libc/machine/sh/configure.in: Ditto.
4202 * libc/machine/tic80/configure.in: Ditto.
4203 * libc/machine/m32r/configure.in: Ditto.
4204 * libc/machine/xstormy16/configure.in: Ditto.
4205 * libc/machine/i386/configure.in: Ditto.
4206 * libc/machine/d30v/configure.in: Ditto.
4207 * libc/machine/mn10200/configure.in: Ditto.
4208 * libc/machine/frv/configure.in: Ditto.
4209 * libc/machine/mt/configure.in: Ditto.
4210 * libc/machine/i960/configure.in: Ditto.
4211 * libc/machine/v850/configure.in: Ditto.
4212 * libc/machine/necv70/configure.in: Ditto.
4213 * libc/machine/tic4x/configure.in: Ditto.
4214 * libc/machine/cris/configure.in: Ditto.
4215 * libc/machine/m68k/configure.in: Ditto.
4216 * libc/machine/m32c/configure.in: Ditto.
4217 * libc/machine/hppa/configure.in: Ditto.
4218 * libc/machine/w65/configure.in: Ditto.
4219 * libc/machine/iq2000/configure.in: Ditto.
4220 * libc/machine/sparc/configure.in: Ditto.
4221 * libc/machine/m88k/configure.in: Ditto.
4222 * libc/sys/linux/configure.in: Ditto.
4223 * libc/sys/linux/machine/configure.in: Ditto.
4224 * libc/sys/linux/machine/i386/configure.in: Ditto.
4225 * libc/sys/linux/linuxthreads/configure.in: Ditto.
4226 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
4227 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
4228 * libc/sys/arm/configure.in: Ditto.
4229 * libc/sys/configure.in: Ditto.
4230 * libc/sys/decstation/configure.in: Ditto.
4231 * libc/sys/a29khif/configure.in: Ditto.
4232 * libc/sys/sysnecv850/configure.in: Ditto.
4233 * libc/sys/d10v/configure.in: Ditto.
4234 * libc/sys/netware/configure.in: Ditto.
4235 * libc/sys/mmixware/configure.in: Ditto.
4236 * libc/sys/h8500hms/configure.in: Ditto.
4237 * libc/sys/sh/configure.in: Ditto.
4238 * libc/sys/tic80/configure.in: Ditto.
4239 * libc/sys/rdos/configure.in: Ditto.
4240 * libc/sys/sysmec/configure.in: Ditto.
4241 * libc/sys/sysvi386/configure.in: Ditto.
4242 * libc/sys/h8300hms/configure.in: Ditto.
4243 * libc/sys/sparc64/configure.in: Ditto.
4244 * libc/sys/arc/configure.in: Ditto.
4245 * libc/sys/sysnec810/configure.in: Ditto.
4246 * libc/sys/m88kbug/configure.in: Ditto.
4247 * libc/sys/sysvnecv70/configure.in: Ditto.
4248 * libc/sys/z8ksim/configure.in: Ditto.
4249 * libc/sys/rtems/configure.in: Ditto.
4250 * libc/sys/w65/configure.in: Ditto.
4251 * libc/sys/sun4/configure.in: Ditto.
4252 * doc/configure.in: Ditto.
4253 * iconvdata/configure.in: Ditto.
4254 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
4255
4256 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
4257
4258 * acinclude.m4: Properly add square brackets for
4259 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
4260 macros no longer available. Add LIB_AM_PROG_AS to
4261 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
4262 macro. Substitute lpfx (library object prefix).
4263 * configure.host: Set lpfx depending on whether
4264 libtool is used or not.
4265 * configure.in: Individually specify libc and libm
4266 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
4267 necessary.
4268 * Makefile.am: Use $(lpfx) to get object names for
4269 math-library functions that should also be in libc.
4270 * libc/machine/configure.in: Use case statement to determine
4271 AC_CONFIG_SUBDIRS statement.
4272 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
4273 * libc/sys/linux/machine/configure.in: Ditto.
4274 * libc/sys/configure.in: Ditto.
4275 * libm/machine/configure.in: Ditto.
4276 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
4277 * libm/configure.in: Add AM_CONDITIONAL statement
4278 for HAVE_LIBM_MACHINE_DIR.
4279 * libc/machine/a29k/Makefile.am: Modified to work with
4280 latest automake. Change includes setting AM_CCASFLAGS
4281 so building .S files will properly pick up flags used
4282 to build C files.
4283 * libc/machine/arm/Makefile.am: Ditto.
4284 * libc/machine/crx/Makefile.am: Ditto.
4285 * libc/machine/d10v/Makefile.am: Ditto.
4286 * libc/machine/d30v/Makefile.am: Ditto.
4287 * libc/machine/fr30/Makefile.am: Ditto.
4288 * libc/machine/frv/Makefile.am: Ditto.
4289 * libc/machine/h8300/Makefile.am: Ditto.
4290 * libc/machine/h8500/Makefile.am: Ditto.
4291 * libc/machine/hppa/Makefile.am: Ditto.
4292 * libc/machine/i386/Makefile.am: Ditto.
4293 * libc/machine/iq2000/Makefile.am: Ditto.
4294 * libc/machine/m32c/Makefile.am: Ditto.
4295 * libc/machine/m32r/Makefile.am: Ditto.
4296 * libc/machine/m68hc11/Makefile.am: Ditto.
4297 * libc/machine/m68k/Makefile.am: Ditto.
4298 * libc/machine/m88k/Makefile.am: Ditto.
4299 * libc/machine/mips/Makefile.am: Ditto.
4300 * libc/machine/mn10200/Makefile.am: Ditto.
4301 * libc/machine/mn10300/Makefile.am: Ditto.
4302 * libc/machine/mt/Makefile.am: Ditto.
4303 * libc/machine/necv70/Makefile.am: Ditto.
4304 * libc/machine/powerpc/Makefile.am: Ditto.
4305 * libc/machine/sh/Makefile.am: Ditto.
4306 * libc/machine/sparc/Makefile.am: Ditto.
4307 * libc/machine/tic4x/Makefile.am: Ditto.
4308 * libc/machine/tic80/Makefile.am: Ditto.
4309 * libc/machine/v850/Makefile.am: Ditto.
4310 * libc/machine/w65/Makefile.am: Ditto.
4311 * libc/machine/xscale/Makefile.am: Ditto.
4312 * libc/machine/xstormy16/Makefile.am: Ditto.
4313 * libc/machine/z8k/Makefile.am: Ditto.
4314 * libc/sys/a29khif/Makefile.am: Ditto.
4315 * libc/sys/arc/Makefile.am: Ditto.
4316 * libc/sys/arm/Makefile.am: Ditto.
4317 * libc/sys/d10v/Makefile.am: Ditto.
4318 * libc/sys/decstation/Makefile.am: Ditto.
4319 * libc/sys/h8300hms/Makefile.am: Ditto.
4320 * libc/sys/h8500hms/Makefile.am: Ditto.
4321 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
4322 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
4323 * libc/sys/m88kbug/Makefile.am: Ditto.
4324 * libc/sys/mmixware/Makefile.am: Ditto.
4325 * libc/sys/netware/Makefile.am: Ditto.
4326 * libc/sys/rdos/Makefile.am: Ditto.
4327 * libc/sys/rtems/Makefile.am: Ditto.
4328 * libc/sys/sh/Makefile.am: Ditto.
4329 * libc/sys/sparc64/Makefile.am: Ditto.
4330 * libc/sys/sysmec/Makefile.am: Ditto.
4331 * libc/sys/sysnec810/Makefile.am: Ditto.
4332 * libc/sys/sysnecv850/Makefile.am: Ditto.
4333 * libc/sys/sysvi386/Makefile.am: Ditto.
4334 * libc/sys/sysvnecv70/Makefile.am: Ditto.
4335 * libc/sys/tic80/Makefile.am: Ditto.
4336 * libc/sys/w65/Makefile.am: Ditto.
4337 * libc/sys/z8ksim/Makefile.am: Ditto.
4338 * libm/machine/i386/Makefile.am: Ditto.
4339 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
4340 trap.S so that automake will generate a .S.o suffix rule.
4341 * libc/argz/Makefile.am: Modified to work with
4342 latest automake. Change includes adding lib_a_CFLAGS
4343 so automake doesn't complain about libtool and non-libtool
4344 libraries sharing objects.
4345 * libc/ctype/Makefile.am: Ditto.
4346 * libc/errno/Makefile.am: Ditto.
4347 * libc/iconv/ccs/Makefile.am: Ditto.
4348 * libc/iconv/ces/Makefile.am: Ditto.
4349 * libc/iconv/lib/Makefile.am: Ditto.
4350 * libc/locale/Makefile.am: Ditto.
4351 * libc/misc/Makefile.am: Ditto.
4352 * libc/posix/Makefile.am: Ditto.
4353 * libc/reent/Makefile.am: Ditto.
4354 * libc/search/Makefile.am: Ditto.
4355 * libc/signal/Makefile.am: Ditto.
4356 * libc/stdio/Makefile.am: Ditto.
4357 * libc/stdio64/Makefile.am: Ditto.
4358 * libc/stdlib/Makefile.am: Ditto.
4359 * libc/string/Makefile.am: Ditto.
4360 * libc/sys/linux/Makefile.am: Ditto.
4361 * libc/sys/linux/argp/Makefile.am: Ditto.
4362 * libc/sys/linux/cmath/Makefile.am: Ditto.
4363 * libc/sys/linux/dl/Makefile.am: Ditto.
4364 * libc/sys/linux/iconv/Makefile.am: Ditto.
4365 * libc/sys/linux/intl/Makefile.am: Ditto.
4366 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
4367 * libc/sys/linux/net/Makefile.am: Ditto.
4368 * libc/sys/linux/stdlib/Makefile.am: Ditto.
4369 * libc/syscalls/Makefile.am: Ditto.
4370 * libc/time/Makefile.am: Ditto.
4371 * libc/unix/Makefile.am: Ditto.
4372 * libm/Makefile.am: Ditto.
4373 * libm/common/Makefile.am: Ditto.
4374 * libm/math/Makefile.am: Ditto.
4375 * libm/mathfp/Makefile.am: Ditto.
4376 * Regenerate all aclocal.m4, Makefile.in, and configure files.
4377
4378 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
4379
4380 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
4381 anymore. Assume there is a gettimeofday syscall.
4382
4383 2006-03-29 Shaun Jackman <sjackman@gmail.com>
4384
4385 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
4386 for the declaration of n_long.
4387
4388 2006-03-29 Shaun Jackman <sjackman@gmail.com>
4389
4390 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
4391 struct sockaddr.
4392 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
4393 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
4394 (IFF_NOTRAILERS): New define.
4395 (struct ifreq): Add ifru_netmask.
4396 (ifr_netmask): New define.
4397
4398 2006-03-29 Shaun Jackman <sjackman@gmail.com>
4399
4400 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
4401 match sys/ioctl.h.
4402
4403 2006-03-29 Shaun Jackman <sjackman@gmail.com>
4404
4405 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
4406 linux-newlib libc implementations.
4407
4408 2006-03-29 Eric Blake <ebb9@byu.net>
4409
4410 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
4411 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
4412
4413 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
4414
4415 * libc/sys/linux/io.c (__mknod): Fix declaration of
4416 syscall to pass a dev_t as third argument rather than
4417 a pointer to dev_t.
4418
4419 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
4420
4421 * libc/sys/linux/net/name6.c: Fix struct references.
4422
4423 2006-03-22 Mark Mitchell <mark@codesourcery.com>
4424
4425 * configure.host: Allow hosts to set the default
4426 newlib_atexit_dynamic_alloc value.
4427 * configure.in: Likewise.
4428 * configure: Regenerated.
4429
4430 2006-03-20 Mark Mitchell <mark@codesourcery.com>
4431
4432 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
4433 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
4434 option.
4435 * configure: Regenerated.
4436 * newlib.hin: Regenerated.
4437 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
4438 if _ATEXIT_DYNAMIC_ALLOC is undefined.
4439 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
4440 if _ATEXIT_DYNAMIC_ALLOC is undefined.
4441
4442 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
4443
4444 * libc/sys/linux/linuxthreads/config.h: Remove definition
4445 of UINT32_C.
4446
4447 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
4448
4449 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
4450 for a string I/O file that isn't using the asprintf family.
4451
4452 2006-03-07 Eric Blake <ebb9@byu.net>
4453
4454 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
4455 filename, allow read-only or write-only FILE atop O_RDWR file
4456 descriptor.
4457 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
4458
4459 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
4460
4461 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
4462 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
4463
4464 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
4465
4466 * libm/math/math.tex: Fix reference to sisnan.def which
4467 is now in common subdirectory.
4468 * libm/mathfp/mathfp.tex: Ditto.
4469
4470 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
4471
4472 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
4473 s_isnand, and sf_isnanf object files.
4474 * Makefile.in: Regenerated.
4475 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
4476 conflict if <math.h> has previously been included.
4477 * libc/include/math.h
4478 * libc/include/math.h: Make isnan and isinf macros to
4479 conform to C99.
4480 (__isinfd, __isinff, __isnand, __isnanf): New functions.
4481 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
4482 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
4483 sf_isinf files which have been moved from math/mathfp directories.
4484 * libm/common/Makefile.in: Regenerated.
4485 * libm/common/s_isinfd.c: New file.
4486 * libm/common/s_isnand.c: Ditto.
4487 * libm/common/sf_isinff.c: Ditto.
4488 * libm/common/sf_isnanf.c: Ditto.
4489 * libm/common/s_isinf.c: Moved from libm/math directory.
4490 * libm/common/s_isnan.c: Ditto.
4491 * libm/common/sf_isinf.c: Ditto.
4492 * libm/common/sf_isnan.c: Ditto.
4493 * libm/math/Makefile.am: Remove isinf and isnan family functions
4494 which have been moved into common directory.
4495 * libm/mathfp/Makefile.am: Ditto.
4496 * libm/math/Makefile.in: Regenerated.
4497 * libm/mathfp/Makefile.in: Ditto.
4498 * libm/math/s_isinf.c: Removed.
4499 * libm/math/s_isnan.c: Ditto.
4500 * libm/math/sf_isinf.c: Ditto.
4501 * libm/math/sf_isnan.c: Ditto.
4502 * libm/mathfp/s_isinf.c: Ditto.
4503 * libm/mathfp/s_isnan.c: Ditto.
4504 * libm/mathfp/sf_isinf.c: Ditto.
4505 * libm/mathfp/sf_isnan.c: Ditto.
4506
4507 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
4508
4509 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
4510 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
4511 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
4512 seek, turn off the __SNPT no-optimization flag.
4513
4514 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
4515
4516 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
4517 will be defined.
4518 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
4519 <features.h> to preset special flags.
4520
4521 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
4522
4523 * libc/include/sys/time.h (struct timeval): Change member types
4524 according to SUSv3.
4525 * libc/include/sys/types.h (useconds_t): Change to unsigned
4526 according to SUSv3.
4527 (suseconds_t): Define type.
4528
4529 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
4530 David Carne <davidcarne@gmail.com>
4531
4532 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
4533 instead of strlen to determine number of bytes to copy.
4534 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
4535 before looking at storage location.
4536
4537 2006-02-07 Paul Brook <paul@codesourcery.com>
4538
4539 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
4540 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
4541 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
4542 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
4543 * libc/sys/arm/trap.S: Disable for Thumb-2.
4544
4545 2006-01-31 Leif Ekblad <leif@rdos.net>
4546
4547 * configure.host: RDOS support added
4548 * libc/include/sys/config.h: Ditto.
4549 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
4550 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
4551 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
4552 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
4553 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
4554 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
4555 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
4556 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
4557 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
4558 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
4559 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
4560 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
4561 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
4562 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
4563 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
4564 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
4565 * libc/sys/rdos/write.c: Ditto.
4566
4567 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
4568
4569 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
4570 so as not to define PACKAGE and VERSION in newlib.h.
4571 * aclocal.m4: Regenerated.
4572 * configure: Ditto.
4573 * newlib.hin: Ditto.
4574
4575 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
4576
4577 * acconfig.h: New file to generate newlib.hin from.
4578 * newlib.hin: Regenerated.
4579 * stamp-h.in: Regenerated.
4580 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
4581 called automatically.
4582 * Makefile.in: Regenerated.
4583 * acinclude.m4: Add proper comment for hack in previous change.
4584 * aclocal.m4 */aclocal.m4: Regenerated.
4585 * configure */configure: Regenerated.
4586
4587 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
4588
4589 * acinclude.m4: Add hack to prevent INSTALL in subdirs
4590 from being set to "../".
4591 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
4592 * aclocal.m4: Regenerated.
4593 * configure: Ditto.
4594 * Makefile.in: Ditto.
4595 * doc/aclocal.m4: Ditto.
4596 * doc/configure: Ditto.
4597 * iconvdata/aclocal.m4: Ditto.
4598 * iconvdata/configure: Ditto.
4599 * libc/*/aclocal.m4: Ditto.
4600 * libc/*/configure: Ditto.
4601 * libc/libc.texinfo: Ditto.
4602 * libm/*/aclocal.m4: Ditto.
4603 * libm/*/configure: Ditto.
4604
4605 2006-01-10 Eric Blake <ebb9@byu.net>
4606
4607 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
4608 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
4609
4610 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
4611
4612 * libm/mathfp/s_frexp.c: Check for special values on
4613 the original input, not the manipulated output value.
4614 * libm/mathfp/sf_frexp.c: Ditto.
4615 * libm/mathfp/s_atangent.c: Don't use local value branch
4616 when checking for quadrant.
4617 * libm/mathfp/sf_atangent.c: Ditto.
4618
4619 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
4620
4621 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
4622 * libc/stdio64/freopen64.c: Ditto.
4623
4624 2006-01-09 Eric Blake <ebb9@byu.net>
4625
4626 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
4627 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
4628
4629 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
4630
4631 * libc/sys/linux/include/getopt.h: Add macros needed by
4632 new version of getopt.c in libc/stdlib.
4633
4634 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
4635
4636 * libc/stdlib/getopt.c: Replaced with version
4637 that adds getopt_long and getopt_long_only support.
4638 * libc/include/getopt.h: New file.
4639
4640 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
4641
4642 * NEWS: Update with 1.14.0 info.
4643 * README: Ditto.
4644 * acinclude.m4: Change version number to 1.14.0.
4645 * aclocal.m4: Regenerated.
4646 * configure: Ditto.
4647 * doc/aclocal.m4: Ditto.
4648 * doc/configure: Ditto.
4649 * libc/*/aclocal.m4: Ditto.
4650 * libc/*/configure: Ditto.
4651 * libc/libc.texinfo: Ditto.
4652 * libm/*/aclocal.m4: Ditto.
4653 * libm/*/configure: Ditto.
4654 * libm/libm.texinfo: Ditto.
4655 * libc/sys/linux/shared.ld: Add VERS_1.14.
4656
4657 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
4658
4659 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
4660 take a pointer to struct stat64 rather than struct stat.
4661
4662 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
4663
4664 * libc/include/stdint.h: Prefer long over int for int32_t.
4665 Use __have_long32 to set up int32_t.
4666 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
4667 (Sync with stdint.h).
4668
4669 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
4670
4671 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
4672 typo in O_NDELAY comment.
4673
4674 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
4675
4676 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
4677 * libc/include/machine/setjmp.h (__mt__): Likewise.
4678 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
4679 * libc/machine/configure.in: Ditto.
4680
4681 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
4682
4683 * configure.host: Replace ms1 arch with mt arch.
4684 * libc/machine/mt: Renamed from ms1 dir.
4685
4686 2005-12-08 Shaun Jackman <sjackman@gmail.com>
4687
4688 * libc/include/sys/types.h: Remove the ifdef armour around
4689 standard POSIX types.
4690
4691 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
4692
4693 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
4694 rtems_gxx_key_delete, rtems_gxx_getspecific,
4695 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
4696 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
4697 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
4698
4699 2005-12-05 Christopher Faylor <cgf@timesys.com>
4700
4701 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
4702 file. Declare unsetenv and _unsetenv_r when not cygwin.
4703
4704 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
4705
4706 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
4707 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
4708
4709 2005-11-18 Christopher Faylor <cgf@timesys.com>
4710
4711 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
4712
4713 2005-11-18 Christopher Faylor <cgf@timesys.com>
4714
4715 * include/time.h: Remove more cygwin-specific stuff.
4716
4717 2005-11-18 Christopher Faylor <cgf@timesys.com>
4718
4719 * include/time.h: Move cygwin declarations to cygwin-specific header.
4720 * include/sys/time.h: Rename cygwin include to "sys_time.h".
4721
4722 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
4723
4724 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
4725 in libc/sys/linux/include.
4726 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
4727 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
4728 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
4729 in libc/sys/linux/dl.
4730
4731 2005-11-11 Christopher Faylor <cgf@timesys.com>
4732
4733 * libc/include/sys/time.h: For cygwin, use general header rather than
4734 specific "sys/select.h".
4735
4736 2005-11-08 Tom Walsh <tom@openhardware.net>
4737
4738 * libc/time/tzvars.c: New file.
4739 * libc/time/tzset_r.c: Moved globals into tzvars.c
4740 so other time functions needn't link in __tzset_r and its
4741 dependencies.
4742 * libc/time/Makefile.am: Add the new file.
4743 * libc/time/Makefile.in: Regenerated.
4744
4745 2005-11-08 Christopher Faylor <cgf@timesys.com>
4746
4747 * libc/include/string.h: Add cygwin-specific function declaration.
4748
4749 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
4750
4751 * libc/include/ieeefp.h: Add C++ guards.
4752
4753 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
4754
4755 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
4756 * libc/unix/getlogin.c: Ditto.
4757 * libc/unix/getpass.c: Ditto.
4758 * libc/unix/getut.c: Ditto.
4759 * libc/unix/ttyname.c: Ditto.
4760
4761 2005-11-03 Shaun Jackman <sjackman@gmail.com>
4762
4763 * libc/include/sys/unistd.h (readlink, symlink): Provide these
4764 prototypes by default.
4765 * libc/sys/linux/include/unistd.h (readlink): Remove this
4766 prototype.
4767 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
4768 prototypes.
4769
4770 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
4771
4772 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
4773
4774 2005-10-31 Darin Johnson <darin@usa.net>
4775
4776 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
4777 correct for constants.
4778
4779 2005-10-28 Bob Wilson <bob.wilson@acm.org>
4780
4781 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
4782 * libc/stdio/siscanf.c: Likewise.
4783 * libc/stdio/sprintf.c: Likewise.
4784 * libc/stdio/sscanf.c: Likewise.
4785 * libc/stdio/vfprintf.c: Likewise.
4786 * libc/stdio/vfscanf.c: Likewise.
4787 * libc/stdio/viprintf.c: Likewise.
4788 * libc/stdio/viscanf.c: Likewise.
4789
4790 2005-10-28 Bob Wilson <bob.wilson@acm.org>
4791
4792 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
4793 example to use "_end" symbol instead of "end". Change write example
4794 to use "outbyte" instead of "writechar".
4795
4796 2005-10-28 Bob Wilson <bob.wilson@acm.org>
4797
4798 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
4799 * libc/ctype/islower.c: Likewise.
4800 * libc/ctype/isupper.c: Likewise.
4801 * libc/ctype/iswalnum.c: Likewise.
4802 * libc/ctype/iswalpha.c: Likewise.
4803 * libc/ctype/iswblank.c: Likewise.
4804 * libc/ctype/iswcntrl.c: Likewise.
4805 * libc/ctype/iswdigit.c: Likewise.
4806 * libc/ctype/iswgraph.c: Likewise.
4807 * libc/ctype/iswlower.c: Likewise.
4808 * libc/ctype/iswprint.c: Likewise.
4809 * libc/ctype/iswpunct.c: Likewise.
4810 * libc/ctype/iswspace.c: Likewise.
4811 * libc/ctype/iswupper.c: Likewise.
4812 * libc/ctype/iswxdigit.c: Likewise.
4813 * libc/ctype/tolower.c: Likewise.
4814 * libc/ctype/toupper.c: Likewise.
4815 * libc/ctype/towctrans.c: Likewise.
4816 * libc/ctype/towlower.c: Likewise.
4817 * libc/ctype/towupper.c: Likewise.
4818 * libc/string/strcasecmp.c: Likewise.
4819 * libc/string/strcoll.c: Likewise.
4820 * libc/string/strings.tex: Likewise.
4821 * libc/string/strlwr.c: Likewise.
4822 * libc/string/strncasecmp.c: Likewise.
4823 * libc/string/strupr.c: Likewise.
4824 * libc/string/wcscoll.c: Likewise.
4825 * libc/string/wcslcat.c: Likewise.
4826 * libc/string/wcslcpy.c: Likewise.
4827 * libc/string/wcsnlen.c: Likewise.
4828 * libc/string/wcsstr.c: Likewise.
4829 * libc/string/wcstrings.tex: Likewise.
4830 * libc/string/wmemchr.c: Likewise.
4831 * libc/string/wmemcmp.c: Likewise.
4832 * libc/string/wmemcpy.c: Likewise.
4833 * libc/string/wmemmove.c: Likewise.
4834 * libc/string/wmemset.c: Likewise.
4835
4836 2005-10-28 Bob Wilson <bob.wilson@acm.org>
4837
4838 * libc/misc/unctrl.c: Replace FUNCTION description.
4839 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
4840 * libc/stdio/getdelim.c: Fix spelling errors.
4841 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
4842 * libc/stdio/putw.c: Likewise.
4843 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
4844 documentation.
4845 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
4846 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
4847 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
4848 * libc/stdlib/mlock.c: Likewise.
4849 * libc/stdlib/mstats.c: Likewise.
4850 * libc/time/tzlock.c: Likewise.
4851 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
4852 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
4853 and hyphenate "pseudo-random".
4854 * libc/string/bcmp.c: Remove extra blank lines in documentation.
4855 * libc/string/strncat.c: Likewise.
4856 * libc/string/memchr.c: Remove extra ">" character in documentation.
4857 * libc/string/strcspn.c: Use "characters" instead of "chars".
4858 * libc/string/strpbrk.c: Likewise.
4859 * libc/string/strerror_r.c: Capitalize "GNU".
4860 * libc/string/strnlen.c: Likewise.
4861 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
4862 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
4863 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
4864 * libc/string/wcschr.c: Likewise.
4865 * libc/string/wcscmp.c: Likewise.
4866 * libc/string/wcscpy.c: Likewise.
4867 * libc/string/wcscspn.c: Likewise.
4868 * libc/string/wcslen.c: Likewise.
4869 * libc/string/wcsncat.c: Likewise.
4870 * libc/string/wcsncmp.c: Likewise.
4871 * libc/string/wcsncpy.c: Likewise.
4872 * libc/string/wcsnlen.c: Likewise.
4873 * libc/string/wcspbrk.c: Likewise.
4874 * libc/string/wcsrchr.c: Likewise.
4875 * libc/string/wcsspn.c: Likewise.
4876 * libc/string/wmemchr.c: Likewise.
4877 * libc/string/wmemcmp.c: Likewise.
4878 * libc/string/wmemcpy.c: Likewise.
4879 * libc/string/wmemset.c: Likewise.
4880 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
4881 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
4882 * libc/string/wcwidth.c: Likewise.
4883 * libm/common/s_modf.c: Remove extra period from documentation.
4884 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
4885 documentation.
4886 * libm/mathfp/s_isnan.c: Likewise.
4887 * libm/math/s_ldexp.c: Fix punctuation.
4888 * libm/mathfp/s_ldexp.c: Likewise.
4889 * libm/math/w_log.c: Likewise.
4890 * libm/mathfp/s_logarithm.c: Likewise.
4891 * libm/math/w_j0.c: Add spaces to FUNCTION description.
4892 * libm/mathfp/w_jn.c: Likewise.
4893
4894 2005-10-26 Shaun Jackman <sjackman@gmail.com>
4895
4896 * libc/posix/scandir.c (scandir): Update the function
4897 prototype to match the header.
4898 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
4899 extraneous #endif.
4900 * libc/sys/linux/sys/lock.h: Do not include
4901 machine/weakalias.h, since it's not used by this file.
4902
4903 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
4904
4905 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
4906 directories can override properly.
4907
4908 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
4909
4910 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
4911 gcc is 3.3 or greater, use special gcc builtins.
4912
4913 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
4914
4915 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
4916
4917 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
4918
4919 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
4920
4921 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
4922
4923 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
4924 * libm/common/Makefile.am: Add s_infconst.c support.
4925 * libm/common/Makefile.in: Regenerated.
4926 * libm/common/s_infconst.c: New file with float and
4927 long double infinity support added.
4928 * libm/math/Makefile.am: Remove s_infconst.c support.
4929 * libm/math/Makefile.in: Regenerated.
4930 * libm/math/s_infconst.c: Moved to common directory.
4931 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
4932 * libm/mathfp/Makefile.in: Regenerated.
4933 * libm/mathfp/s_infconst.c: Moved to common directory.
4934
4935 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
4936
4937 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
4938 dbgprintf to prevent conflict with new dprintf function.
4939
4940 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
4941
4942 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
4943 "nan" processing for systems that have long double support.
4944
4945 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
4946
4947 * libc/sys/linux/sys/types.h (int8_t): Add type.
4948
4949 2005-10-14 Bob Wilson <bob.wilson@acm.org>
4950
4951 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
4952 * libm/common/Makefile.in: Regenerate.
4953 * libm/common/common.tex: Delete file.
4954 * libm/math/math.tex: Include .def files from common/.
4955 * libm/mathfp/mathfp.tex: Likewise.
4956
4957 2005-10-14 Bob Wilson <bob.wilson@acm.org>
4958
4959 * libc/libc.texinfo (Top): Surround this node with @ifnottex
4960 instead of @ifinfo. Update menu to add Introduction and match
4961 SUBDIRS order.
4962 (Introduction): New section.
4963
4964 2005-10-14 Bob Wilson <bob.wilson@acm.org>
4965
4966 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
4967 with "Red Hat newlib C Library".
4968 * libc/sys.tex (Stubs): Likewise.
4969 * libm/math/math.tex (Math): Likewise.
4970 * libm/mathfp/mathfp.tex (Math): Likewise.
4971
4972 2005-10-11 Shaun Jackman <sjackman@gmail.com>
4973
4974 * libc/include/stdio.h (dprintf): New declaration.
4975 (vdprintf): Ditto.
4976 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
4977 and vdprintf.c.
4978 * libc/stdio/Makefile.in: Regenerate.
4979 * libc/stdio/dprintf.c: New file.
4980 * libc/stdio/vdprintf.c: New file.
4981 * libc/stdio/stdio.tex (dprintf): New entry.
4982
4983 2005-10-11 David Weatherford <weath@tensilica.com>
4984
4985 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
4986 Print "inf" and "nan" in lowercase for e/f/g formats and in
4987 uppercase for E/F/G formats.
4988
4989 2005-10-07 Bob Wilson <bob.wilson@acm.org>
4990
4991 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
4992 to ENOMEM on failure.
4993
4994 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
4995
4996 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
4997
4998 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
4999
5000 * libc/include/stdint.h: Move magic to set __have_long* to the
5001 beginning. Use #if __have* instead of #if defined(__have*).
5002 Minor typo fixes.
5003
5004 2005-10-04 James E Wilson <wilson@specifix.com>
5005
5006 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
5007 #error.
5008
5009 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
5010
5011 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
5012 incorporate Ralf's change below.
5013
5014 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
5015
5016 * libc/include/stdint.h:
5017 Use __INTMAX_TYPE__ to derive intmax_t.
5018 Use __UINTMAX_TYPE__ to derive uintmax_t.
5019 Fix minor typo.
5020
5021 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
5022
5023 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
5024 handling GCC >= 4.
5025
5026 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
5027
5028 * libc/sys/linux/include/stdint.h: Update to match functionality
5029 of generic newlib stdint.h.
5030
5031 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
5032
5033 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
5034 and do not #undef the macro after it is used. Fix typos.
5035 Also change 64-bit constants to use the __have_long64 and
5036 __have_longlong64 flags to determine if long or long long
5037 constants should be used.
5038 * libc/include/inttypes.h: Include stddef.h to get wchar_t
5039 type defined.
5040
5041 2005-09-20 Shaun Jackman <sjackman@gmail.com>
5042
5043 * libc/include/stdint.h: Fix typo in names of
5044 LEAST macros.
5045
5046 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
5047
5048 * libc/sys/rtems/include/inttypes.h: Moved to...
5049 * libc/include/inttypes.h: ...here.
5050
5051 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
5052
5053 * libc/sys/rtems/include/stdint.h: Moved to...
5054 * libc/include/stdint.h: ...here.
5055
5056 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
5057
5058 * Makefile.am: Add include files under bits sub-directory.
5059 * Makefile.in: Regenerated.
5060 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
5061 actual value of 1 to be compatible with newer glibc headers.
5062 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
5063 glibc headers.
5064 * libc/sys/linux/sys/dirent.h: Ditto.
5065 * libc/sys/linux/argp/argp-xinl.c: Ditto.
5066 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
5067 profile_fixup routines are marked used so they won't be
5068 optimized away.
5069 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
5070 to mark functions as weak.
5071 * libc/sys/linux/dl/dl-open.c: Ditto.
5072 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
5073 rules about lvalues.
5074 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
5075 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
5076 weak_extern macro to mark functions as weak. Instead always
5077 use #pragma weak.
5078 * iconvdata/jis0208.h: Fix to work with gcc4.
5079 * libc/sys/linux/dl/dl-load.c: Ditto.
5080 * libc/sys/linux/dl/dl-reloc.c: Ditto.
5081 * libc/sys/linux/dl/do-rel.h: Ditto.
5082 * libc/sys/linux/dl/dynamic-link.h: Ditto.
5083 * libc/sys/linux/include/ltdl.h: Ditto.
5084 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
5085 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
5086 * libc/sys/linux/net/ns_ntoa.c: Ditto.
5087 * libc/sys/linux/bits/initspin.h: New file.
5088 * libc/sys/linux/bits/libc-lock.h: Ditto.
5089 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
5090 * libc/sys/linux/bits/typesizes.h: Ditto.
5091
5092 2005-09-08 Eric Blake <ebb9@byu.net>
5093
5094 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
5095 before is NULL.
5096
5097 2005-09-08 Brian Dessent <brian@dessent.net>
5098
5099 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
5100 mantissa.
5101 * s_lrint.c: Ditto.
5102
5103 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
5104
5105 * libc/include/stdio.h: Add prototype for viprintf.
5106
5107 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
5108
5109 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
5110 any positive power results in 0.
5111 * libm/mathfp/sf_pow.c (powf): Ditto.
5112
5113 2005-08-31 Paul Brook <paul@codesourcery.com>
5114
5115 * configure.host: Set have_crt0 to no for Arm targts when not
5116 providing syscalls. Set sys_dir=arm unconditionally.
5117 Default have_crt0 based on sys_dir.
5118 * configure.in: Use have_crt0.
5119 * libc/configure.in: Ditto.
5120 * libc/sys/configure.in: Ditto.
5121 * configure: Regenerate.
5122 * libc/configure: Regenerate.
5123 * libc/sys/configure: Regenerate.
5124 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
5125 Only build other files when providing syscalls.
5126 * libc/sys/arm/Makefile.in: Regenerate.
5127 * libc/sys/arm/aeabi_atexit.c: New file.
5128
5129 2005-08-26 Christopher Faylor <cgf@timesys.com>
5130
5131 * libc/include/string.h: Revert previous change.
5132
5133 2005-08-25 Christopher Faylor <cgf@timesys.com>
5134
5135 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
5136
5137 2005-08-22 Shaun Jackman <sjackman@gmail.com>
5138
5139 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
5140 define _opendir as opendir, _readdir as readdir, and
5141 _closedir as closedir so that the implementations in
5142 libc/posix will be used.
5143
5144 2005-08-10 DJ Delorie <dj@redhat.com>
5145
5146 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
5147
5148 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
5149
5150 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
5151 * libm/common/s_max.c: Ditto.
5152 * libm/common/sf_fmin.c: Ditto.
5153 * libm/common/s_min.c: Ditto.
5154
5155 2005-08-10 DJ Delorie <dj@redhat.com>
5156
5157 * configure.host: Add m32c support.
5158 * libc/include/machine/ieeefp.h: Likewise.
5159 * libc/include/machine/setjmp.h: Likewise.
5160 * libc/include/sys/config.h: Likewise.
5161 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
5162 * libc/machine/m32c/aclocal.m4: New file.
5163 * libc/machine/m32c/configure: Ditto.
5164 * libc/machine/m32c/configure.in: Ditto.
5165 * libc/machine/m32c/Makefile.am: Ditto.
5166 * libc/machine/m32c/Makefile.in: Ditto.
5167 * libc/machine/m32c/setjmp.S: Ditto.
5168
5169 2005-08-02 Bob Wilson <bob.wilson@acm.org>
5170
5171 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
5172 to the value for 2^126.
5173
5174 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
5175
5176 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
5177 used.
5178
5179 2005-07-20 Bob Wilson <bob.wilson@acm.org>
5180 Darin Petkov <darin@tensilica.com>
5181
5182 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
5183
5184 2005-07-19 Paul Brook <paul@codesourcery.com>
5185
5186 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
5187
5188 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
5189
5190 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
5191 names after PASS and FAIL which do not depend on source directory
5192 name or on whether test passed or failed.
5193 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
5194
5195 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
5196
5197 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
5198
5199 2005-07-07 Shaun Jackman <sjackman@gmail.com>
5200
5201 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
5202 twice for the same directory. _closedir calls free, and freeing
5203 the same pointer twice may cause a crash.
5204
5205 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
5206
5207 * configure.host: Added entry for ms1*.
5208 * libc/include/machine/ieeefp.h: Handle ms1.
5209 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
5210 * libc/machine/ms1/aclocal.m4: New.
5211 * libc/machine/ms1/configure: New.
5212 * libc/machine/ms1/configure.in: New.
5213 * libc/machine/ms1/Makefile.am: New.
5214 * libc/machine/ms1/Makefile.in: New.
5215 * libc/machine/ms1/setjmp.S: New.
5216
5217 2005-07-04 Mark Mitchell <mark@codesourcery.com>
5218
5219 * Makefile.am (site.exp): Set tmpdir.
5220 * Makefile.in: Regenerated.
5221 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
5222 executables in $tmpdir.
5223 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
5224 libgloss version if not running in the build directory.
5225 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
5226 $tmpdir.
5227 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
5228 in $tmpdir.
5229
5230 2005-06-28 Dave Korn <dave.korn@artimi.com>
5231
5232 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
5233 and miscalculation caused by fp representation of zero.
5234 * libm/common/sf_lrint.c (lrintf): Likewise.
5235
5236 2005-06-16 Christopher Faylor <cgf@timesys.com>
5237
5238 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
5239 determine characteristics of long double. Use a union instead.
5240 * ldtoa.c (_ldtoa_r): Ditto.
5241 (_ldcheck): Ditto.
5242 (_strtold): Ditto.
5243 (union uconv): New union.
5244
5245 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
5246
5247 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
5248 instead of memcpy.
5249
5250 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
5251
5252 * configure.host (mn10300-*): Add long long I/O support by default.
5253
5254 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
5255
5256 * libc/sys/linux/getpwuid.c: Removed.
5257 * libc/sys/linux/getpwnam.c: Removed.
5258 * libc/sys/linux/getpwent.c: New file containing logic
5259 from files removed above. This allows overriding of file
5260 in libc/unix.
5261 * libc/sys/linux/Makefile.am: Support changes above.
5262 * libc/sys/linux/Makefile.in: Regenerated.
5263
5264 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
5265
5266 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
5267 when checking for multiple flags.
5268
5269 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
5270
5271 * configure.host <cris-*-* | crisv32-*-*>: Set
5272 default_newlib_io_long_long="yes".
5273
5274 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
5275
5276 * libc/include/libgen.h: New file.
5277
5278 2005-04-08 Shaun Jackman <sjackman@gmail.com>
5279
5280 * libc/unix/Makefile.am: Add support for basename and dirname.
5281 * libc/unix/Makefile.in: Regenerated.
5282 * libc/unix/basename.c: New file.
5283 * libc/unix/dirname.c: New file.
5284
5285 2005-04-07 Shaun Jackman <sjackman@gmail.com>
5286
5287 * libc/sys/linux/inode.c (lchown): New function.
5288
5289 2005-04-07 Shaun Jackman <sjackman@gmail.com>
5290
5291 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
5292 ELIX level is defined.
5293 * libc/unix/Makefile.in: Regenerated.
5294
5295 2005-04-05 Dave Korn <dave.korn@artimi.com>
5296
5297 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
5298 something that looks like a "NaN", put back the characters processed.
5299
5300 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
5301
5302 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
5303
5304 2005-03-23 Christopher Faylor <cgf@timesys.com>
5305
5306 * configure.host: For cygwin, redefine CC with cygwin include directory
5307 first to mimic the behavior of the top-level configury. Move include
5308 directory out of newlib_cflags.
5309
5310 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
5311
5312 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
5313 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
5314 than errno.
5315
5316 2005-03-22 Christopher Faylor <cgf@timesys.com>
5317
5318 * libc/include/machine/_types.h: Make trivial change to comment to
5319 avoid a spurious warning from gcc.
5320
5321 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
5322
5323 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
5324 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
5325 reent.h include.
5326
5327 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
5328 Corinna Vinschen <corinna@vinschen.de>
5329
5330 * libc/include/ctype.h: Remove invalid +1 offset from
5331 ctype macro references to __ctype_ptr.
5332 (_ctype_): Move declaration outside #ifndef __cplusplus.
5333
5334 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
5335
5336 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
5337 evaluate first parameter only once.
5338 (siglongjmp): Ditto.
5339
5340 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
5341
5342 * configure.in: Add new check to see if compiler supports
5343 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
5344 * configure: Regenerated.
5345 * Makefile.in: Ditto.
5346 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
5347 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
5348 aliasing the _ctype_ array to _ctype_b.
5349 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
5350 _ctype_ as deprecated.
5351
5352 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
5353
5354 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
5355 -DCOMPACT_CTYPE.
5356
5357 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
5358
5359 * libc/sys/rtems/include/inttypes.h: New file.
5360 * libc/sys/rtems/include/stdint.h: Ditto.
5361
5362 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
5363
5364 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
5365
5366 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
5367
5368 * libc/include/machine/_types.h: New file.
5369 * libc/include/sys/types.h: Do not check for __rtems__
5370 when including <machine/_types.h>. Remove some redundant
5371 declarations now that <machine/_types.h> is included.
5372 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
5373 shared header file.
5374
5375 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
5376
5377 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
5378 L qualifier for these long constants.
5379
5380 2005-02-25 Eric Blake <ebb9@byu.net>
5381
5382 * libc/include/time.h (__tzrule_struct): Make offset long, since
5383 a 16-bit int overflows on a 12-hour offset.
5384 * libc/sys/linux/include/time.h: Ditto.
5385 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
5386 * libc/time/mktm_r.c: Ditto.
5387 * libc/time/gettzinfo.c: Ditto.
5388 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
5389 years. Fix '%z' to use long, not int.
5390
5391 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
5392
5393 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
5394 manipulate float values in integer form.
5395 * libm/common/sf_round.c: Ditto.
5396
5397 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
5398
5399 * libc/include/sys/types.h [__rtems__]: Include new
5400 header file machine/_types.h.
5401 * libc/include/machine/types.h: Ditto.
5402 * libc/sys/rtems/machine/_types.h: New file.
5403
5404 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
5405
5406 * libc/include/time.h (_timezone): Change to long also for Cygwin.
5407 (timezone): Drop cast from definition.
5408
5409 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
5410
5411 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
5412 (__tzrule_type, __tzinfo_type): New types.
5413 (__gettzinfo): New function.
5414 * libc/sys/linux/include/time.h: Ditto.
5415 * libc/time/Makefile.am: Add gettzinfo.c.
5416 * libc/time/Makefile.in: Regenerated.
5417 * libc/time/local.h: Moved __tzrule_type to time.h.
5418 * libc/time/mktime.c: Call __gettzinfo to reference
5419 __tznorth, __tzyear, and __tzrule array.
5420 * libc/time/mktm_r.c: Ditto.
5421 * libc/time/strftime.c: Ditto.
5422 * libc/time/tzset_r.c: Ditto. Also remove definition
5423 of __tzrule which is now in gettzinfo.c. Change _timezone
5424 references to not cast to time_t.
5425 * libc/time/gettzinfo.c: New file.
5426
5427 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
5428
5429 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
5430
5431 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
5432
5433 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
5434
5435 2005-02-16 Eric Blake <ebb9@byu.net>
5436
5437 * libc/time/time.tex: Improve the documentation.
5438 * libc/time/strftime.c: Improve the documentation.
5439 (iso_year_adjust): New helper function.
5440 (strftime): Simplify '%E' and '%O'. Change '%c' to use
5441 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
5442 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
5443 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
5444 Avoid core dumps on valid inputs (maxsize == 0, or
5445 tim_p->tm_isdst > 1).
5446
5447 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
5448
5449 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
5450 members to uid_t and gid_t according to SUSv3.
5451 * libc/include/sys/time.h (utimes): Change second parameter
5452 to const according to SUSv3.
5453
5454 2005-02-07 Antony King <antony.king@st.com>
5455
5456 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
5457 called before _flockfile to prevent lock object use before
5458 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
5459 take a struct _reent * instead of a FILE *.
5460 * libc/stdio/fclose.c (_fclose_r): Ditto.
5461 * libc/stdio/feof.c (feof): Ditto.
5462 * libc/stdio/ferror.c (ferror): Ditto.
5463 * libc/stdio/fflush.c (fflush): Ditto.
5464 * libc/stdio/fgetc.c (fgetc): Ditto.
5465 * libc/stdio/fgets.c (fgets): Ditto.
5466 * libc/stdio/fileno.c (fileno): Ditto.
5467 * libc/stdio/fputc.c (fputc): Ditto.
5468 * libc/stdio/fputs.c (fputs): Ditto.
5469 * libc/stdio/fread.c (fread): Ditto.
5470 * libc/stdio/freopen.c (_freopen_r): Ditto.
5471 * libc/stdio/fseek.c (_fseek_r): Ditto.
5472 * libc/stdio/ftell.c (_ftell_r): Ditto.
5473 * libc/stdio/fwrite.c (fwrite): Ditto.
5474 * libc/stdio/getc.c (getc): Ditto.
5475 * libc/stdio/getdelim.c (__getdelim): Ditto.
5476 * libc/stdio/putc.c (putc): Ditto.
5477 * libc/stdio/setvbuf.c (setvbuf): Ditto.
5478 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
5479 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
5480 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
5481 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
5482 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
5483 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
5484 _reent * instead of a FILE * and so replace incorrect use of
5485 _REENT with argument.
5486 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
5487 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
5488 CHECK_INIT() take a struct _reent * instead of a FILE *.
5489 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
5490 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
5491 * libc/stdio/perror.c (perror): Ditto.
5492 * libc/stdio/printf.c (printf, _printf_r): Ditto.
5493 * libc/stdio/putchar.c (putchar): Ditto.
5494 * libc/stdio/puts.c (puts): Ditto.
5495 * libc/stdio/refill.c (__srefill): Ditto.
5496 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
5497 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
5498 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
5499 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
5500 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
5501 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
5502 * libc/stdio/wbuf.c (__swbuf): Ditto.
5503 * libc/stdio/wsetup.c (__swsetup): Ditto.
5504 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
5505 * libc/stdlib/mstats.c (_mstats_r): Ditto.
5506 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
5507 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
5508 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
5509 to _flockfile and _funlockfile; rely on locking in _ftell_r.
5510 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
5511 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
5512 initialision of _data field in FILE structure.
5513 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
5514
5515 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
5516
5517 * libc/stdio/findfp.c (__sinit): Protect with new lock.
5518 (__sinit_lock): New lock.
5519 (__sinit_lock_acquire, __sinit_lock_release): New functions.
5520 * libc/stdio/local.h: Add reference to new __sinit locking
5521 functions.
5522
5523 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
5524
5525 * libc/include/math.h (isfinite, isnormal, isunordered): Change
5526 input variable names to avoid mixups with nesting macros.
5527
5528 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
5529
5530 * configure.host: Add support for cris-*-* and crisv32-*-*.
5531 * libc/include/machine/ieeefp.h: Ditto.
5532 * libc/include/machine/setjmp.h: Ditto.
5533 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
5534 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
5535 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
5536 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
5537 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
5538 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
5539 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
5540 files.
5541
5542 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
5543
5544 * testsuite/newlib.string/memmove1.c: New test.
5545
5546 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
5547
5548 * testsuite/include/check.h: Include stdlib.h.
5549
5550 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
5551
5552 * Makefile.am (stmp-targ-include): Support include header files
5553 from machine directories.
5554 (install-data-local): Ditto.
5555 * Makefile.in: Regenerate.
5556
5557 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
5558
5559 * libc/include/string.h: Remove Linux-specific declaration of
5560 strsignal and add #include <sys/string.h>.
5561 * libc/include/sys/string.h: New file.
5562 * libc/include/sys/linux/sys/string.h: New file with strsignal
5563 declaration deleted above.
5564
5565 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
5566
5567 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
5568 to POSIX standard for "C" locale. Allow %E and %O modifiers
5569 to be ignored as long as they precede valid specifiers according
5570 to POSIX.
5571
5572 2005-01-19 Shaun Jackman <sjackman@gmail.com>
5573
5574 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
5575 environment variable is set.
5576
5577 2005-01-19 Shaun Jackman <sjackman@gmail.com>
5578
5579 * tzset_r.c (_tzname): Add a comma.
5580
5581 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
5582
5583 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
5584 _VFPRINTF_R.
5585
5586 2005-01-07 Paul Brook <paul@codesourcery.com>
5587
5588 * configure.in: Add test for .init_array.
5589 * configure: Regenerate.
5590 * newlib.hin: Add HAVE_INITFINI_ARRAY.
5591 * libc/misc/Makefile.am: Add init.c
5592 * libc/misc/Makefile.in: Regenerate.
5593 * libc/misc/init.c: New file.
5594 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
5595 _init/_fini if they exist.
5596
5597 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
5598
5599 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
5600 * (strtof): Ditto.
5601 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
5602 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
5603 functions for use by strtod and strtof.
5604 * Makefile.in: Regenerated.
5605
5606 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
5607
5608 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
5609 bit-test in combination with NULL test.
5610
5611 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
5612
5613 * README: Fix typo of LGPL. Change "license" to "copyright".
5614
5615 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
5616
5617 * NEWS: Update with 1.13.0 info.
5618 * README: Ditto.
5619 * acinclude.m4: Change version number to 1.13.0.
5620 * aclocal.m4: Regenerated.
5621 * configure: Ditto.
5622 * doc/aclocal.m4: Ditto.
5623 * doc/configure: Ditto.
5624 * libc/*/aclocal.m4: Ditto.
5625 * libc/*/configure: Ditto.
5626 * libc/libc.texinfo: Ditto.
5627 * libm/*/aclocal.m4: Ditto.
5628 * libm/*/configure: Ditto.
5629 * libm/libm.texinfo: Ditto.
5630 * libc/sys/linux/shared.ld: Add VERS_1.13.
5631
5632 2004-12-17 Christian Groessler <chris@groessler.org>
5633
5634 * libc/machine/z8k/memcmp.S: New file.
5635 * libc/machine/z8k/memcpy.S: Ditto.
5636 * libc/machine/z8k/memmove.S: Ditto.
5637 * libc/machine/z8k/memset.S: Ditto.
5638 * libc/machine/z8k/Makefile.am: Add new files.
5639 * libc/machine/z8k/Makefile.in: Regenerated.
5640 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
5641 part. Implement Z8002 stdcall version.
5642
5643 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
5644
5645 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
5646 a low-level read if we don't get the full amount of bytes so
5647 EOF or error flags will be set.
5648
5649 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
5650
5651 * libc/time/tzset_r (_tzset_r): Properly skip over
5652 '/' when it is detected.
5653
5654 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
5655
5656 * libc/time/tzset_r (_tzset_r): Fix loop.
5657
5658 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
5659
5660 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
5661 m_day.
5662 (__tzcalc_limits): Fix reference to month array to be zero-based.
5663
5664 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
5665
5666 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
5667 and usleep.
5668
5669 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
5670
5671 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
5672 libgcc dependencies.
5673 (libm_la_LDFLAGS): Ditto.
5674 * Makefile.in: Regenerated.
5675
5676 2004-12-03 Shaun Jackman <sjackman@gmail.com>
5677
5678 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
5679 our link to use readlink so as to preserve any relative link created
5680 by install-toollibLIBRARIES.
5681 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
5682
5683 2004-12-02 Shaun Jackman <sjackman@gmail.com>
5684
5685 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
5686 time_t before including sys/stat.h, which uses it.
5687 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
5688 <linux/time.h> just prior to definition of __KERNEL__ so as to
5689 allow building on Debian Linux where otherwise, mktime would
5690 be redefined.
5691
5692 2004-11-26 Paul Brook <paul@codesourcery.com>
5693
5694 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
5695
5696 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
5697
5698 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
5699 const for value string parameter to match Single Unix and glibc.
5700 * libc/stdlib/putenv.c: Ditto.
5701 * libc/stdlib/putenv_r.c: Ditto.
5702
5703 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
5704
5705 * libc/stdio/Makefile.am: Fix missing vfscanf.
5706 * libc/stdio/Makefile.in: Regenerated.
5707
5708 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
5709
5710 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
5711 do some reordering.
5712 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
5713 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
5714 family functions.
5715 * libc/stdio/Makefile.in: Regenerated.
5716 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
5717 * libc/stdio/iprintf.c: Ditto.
5718 * libc/stdio/local.h (__svfiscanf_r): New prototype.
5719 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
5720 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
5721 * libc/stdio/stdio.tex: Add new functions.
5722 * libc/stdio/vfscanf.c: Split out __sccl function to separate
5723 file and add special name defines so this file can be used
5724 to build vfiscanf.o.
5725 * libc/stdio/asiprintf.c: New file.
5726 * libc/stdio/fiscanf.c: Ditto.
5727 * libc/stdio/iscanf.c: Ditto.
5728 * libc/stdio/sccl.c: Ditto.
5729 * libc/stdio/siscanf.c: Ditto.
5730 * libc/stdio/vasiprintf.c: Ditto.
5731 * libc/stdio/viprintf.c: Ditto.
5732 * libc/stdio/viscanf.c: Ditto.
5733 * libc/stdio/vsiprintf.c: Ditto.
5734 * libc/stdio/vsiscanf.c: Ditto.
5735 * libc/stdio/vsniprintf.c: Ditto.
5736
5737 2004-11-19 Shaun Jackman <sjackman@gmail.com>
5738
5739 * libc/include/stdio.h: Add sniprintf.
5740 * libc/stdio/Makefile.am: Add sniprintf.c.
5741 * libc/stdio/Makefile.in: Regenerated.
5742 * libc/stdio/sniprintf.c: New file.
5743 * libc/stdio/stdio.tex: Add sniprintf.
5744
5745 2004-11-17 Christopher Faylor <cgf@timesys.com>
5746
5747 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
5748 EOF flag if successful.
5749
5750 2004-10-28 Christopher Faylor <cgf@timesys.com>
5751
5752 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
5753 so that all relevant definitions have been performed for use in the
5754 include.
5755
5756 2004-10-26 Jason Tishler <jason@tishler.net>
5757
5758 * libc/stdio/fread.c (fread): Fix return value for unbuffered
5759 fread.
5760
5761 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
5762
5763 * libc/include/machine/setjmp.h: Add AVR support.
5764 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
5765
5766 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
5767
5768 * libc/include/sys/signal.h: If <signal.h> didn't include
5769 this header file, include <signal.h> to account for
5770 applications that take advantage that the two header
5771 files are the same in glibc.
5772
5773 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
5774
5775 * configure.host: Add support for crx.
5776 * libc/include/machine/ieeefp.h: Ditto.
5777 * libc/include/machine/setjmp.h: Ditto.
5778 * libc/machine/crx/Makefile.am: New file.
5779 * libc/machine/crx/configure.in: Ditto.
5780 * libc/machine/crx/setjmp.S: Ditto.
5781 * libc/machine/crx/getenv.c: Ditto.
5782 * libc/machine/crx/aclocal.m4: Generate.
5783 * libc/machine/crx/configure: Ditto.
5784 * libc/machine/crx/Makefile.in: Ditto.
5785 * libc/machine/crx/sys/asm.h: New file.
5786 * libc/machine/crx/sys/libh.h: Ditto.
5787 * libc/machine/crx/sys/syscall.h: Ditto.
5788
5789 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
5790
5791 * Makefile.am (stmp-targ-include): Support sys header files
5792 from machine directories.
5793 * Makefile.in: Regenerated.
5794
5795 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
5796
5797 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
5798 count skipped zero characters as part of the nread count for %n.
5799 * libc/machine/powerpc/vfscanf.c: Ditto.
5800
5801 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
5802
5803 * libc/stdio/local.h: Include <stdlib.h>.
5804
5805 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
5806
5807 * libc/stdio/fread.c (fread): Include <malloc.h>.
5808
5809 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
5810
5811 * libc/stdio/fread.c (fread): For non-space-optimized case,
5812 add special code for unbuffered files to use user buffer and
5813 only require one low-level system read.
5814
5815 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
5816
5817 * libc/machine/xscale/setjmp.S: New file, copied from
5818 libc/machine/arm/setjmp.S.
5819 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
5820 * libc/machine/xscale/Makefile.in: Regenerate.
5821
5822 2004-09-16 Antony King <antony.king@st.com>
5823
5824 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
5825 with locking API.
5826 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
5827 check for__SSTR in _flags and if set, skip lock request.
5828 (_funlockfile)[!SINGLE_THREAD]: Ditto.
5829 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
5830 not NULL.
5831 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
5832 initialisation of _file to -1 in local FILE.
5833 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
5834 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
5835 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
5836 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
5837 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
5838 _flags in local FILE to prevent locking.
5839 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
5840
5841 2004-09-16 Antony King <antony.king@st.com>
5842
5843 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
5844 and only walk the reentrancy parameter.
5845 (_fwalk_reent): Ditto.
5846 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
5847
5848 2004-09-16 Antony King <antony.king@st.com>
5849
5850 * libc/stdio64/freopen64.c: Remove casting of fp lock to
5851 _LOCK_RECURSIVE_T.
5852
5853 2004-09-16 Antony King <antony.king@st.com>
5854
5855 * libc/time/tzlock.c: Add default stubs that use generic
5856 locking code.
5857
5858 2004-09-16 Antony King <antony.king@st.com>
5859
5860 * libc/ctype/ctype.tex: Added missing documentation.
5861 * libc/stdio/stdio.tex Ditto.
5862 * libc/stdlib/stdlib.tex Ditto.
5863 * libc/string/strings.tex Ditto.
5864 * libc/time/time.tex: Ditto.
5865 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
5866
5867 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
5868
5869 * libc/reent/impure.c (reent_data): Define as alias to impure_data
5870 when building for Cygwin.
5871 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
5872 _global_impure_ptr.
5873
5874 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
5875
5876 * configure.host: Reverting 2004-09-14 change as fix has occurred on
5877 Cygwin side.
5878 * configure.in: Ditto.
5879 * libc/configure.in: Ditto.
5880 * libc/sys/configure.in: Ditto.
5881 * configure: Ditto.
5882 * libc/configure: Ditto.
5883 * libc/sys/configure: Ditto.
5884 * libc/include/sys/reent.h: Ditto.
5885 * libc/stdlib/__atexit.c: Ditto.
5886 * libc/stdlib/__call_atexit.c: Ditto.
5887 * libc/stdlib/cxa_atexit.c: Ditto.
5888 * libc/stdlib/cxa_finalize.c: Ditto.
5889 * libc/sys/cygwin/Makefile.am: Removed again.
5890 * libc/sys/cygwin/Makefile.in: Ditto.
5891 * libc/sys/cygwin/aclocal.m4: Ditto.
5892 * libc/sys/cygwin/configure: Ditto.
5893 * libc/sys/cygwin/configure.in: Ditto.
5894 * libc/sys/cygwin/dummy.c: Ditto.
5895 * libc/sys/cygwin/sys/reent.h: Ditto.
5896
5897 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
5898
5899 * configure.host: Add Cygwin sys directory.
5900 * configure.in: Do not set CRT0 for cygwin.
5901 * libc/configure.in: Ditto.
5902 * libc/sys/configure.in: Ditto.
5903 * configure: Regenerated.
5904 * libc/configure: Ditto.
5905 * libc/sys/configure: Ditto.
5906 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
5907 * libc/stdlib/__atexit.c: Keep cxa support protected by new
5908 __REENT_HAS_CXA_SUPPORT flag.
5909 * libc/stdlib/__call_atexit.c: Ditto.
5910 * libc/stdlib/cxa_atexit.c: Ditto.
5911 * libc/stdlib/cxa_finalize.c: Ditto.
5912 * libc/sys/cygwin/Makefile.am: New file.
5913 * libc/sys/cygwin/Makefile.in: Ditto.
5914 * libc/sys/cygwin/aclocal.m4: Ditto.
5915 * libc/sys/cygwin/configure: Ditto.
5916 * libc/sys/cygwin/configure.in: Ditto.
5917 * libc/sys/cygwin/dummy.c: Ditto.
5918 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
5919 version of reent.h.
5920
5921 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
5922
5923 * libc/iconv/iconv.tex: Updated with new content.
5924 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
5925 instead of NLS_DEFAULT_NLSPATH.
5926 * libc/iconv/lib/iconvnls.h: Fix typo.
5927 * libc/include/sys/iconvnls.h: New file.
5928
5929 2004-09-09 Paul Brook <paul@codesourcery.com>
5930
5931 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
5932 and _is_cxa.
5933 (struct _atexit): Add _next when _REENT_SMALL.
5934 (struct _reent): Add _atexit0 when _REENT_SMALL.
5935 (_REENT_INIT_PTR): Adjust.
5936 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
5937 __call_exit.c.
5938 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
5939 * libc/stdlib/Makefile.in: Regenerate.
5940 * libc/stdlib/__atexit.c: New file.
5941 * libc/stdlib/__call_atexit.c: New file.
5942 * libc/stdlib/atexit.h: Remove old definitions. Add new.
5943 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
5944 * libc/stdlib/cxa_atexit.c: New file.
5945 * libc/stdlib/cxa_finalize.c: New file.
5946 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
5947 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
5948 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
5949 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
5950 _on_exit_args_ptr.
5951
5952 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
5953
5954 * libc/include/sys/unistd.h (getpass): Change prototype to use
5955 const instead of __const.
5956
5957 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
5958
5959 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
5960 #if.
5961
5962 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
5963
5964 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
5965 on linux systems with glibc 2.3.3 installed.
5966 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
5967 profile_fixup so newlib can build on fc3 system.
5968
5969 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
5970
5971 Introduce SH2a support.
5972 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
5973 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
5974 __SH2A_SINGLE_ONLY__, too.
5975 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
5976 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
5977 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
5978 2004-02-10 DJ Delorie <dj@redhat.com>
5979 * libc/sys/sh/crt0.S (start_l): Support sh2a.
5980
5981 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
5982
5983 * libc/time/strptime.c: Correct full-name of "March" typo.
5984
5985 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
5986
5987 * configure.host (h8300*-*-*): Default long long printing support.
5988
5989 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
5990
5991 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
5992 calls, if realloc fails, free up buffer as it is no longer
5993 used.
5994
5995 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
5996
5997 * libc/iconv/iconv.tex: Updated to represent recent changes.
5998 * libc/iconv/lib/iconv.c: Documentation updated.
5999
6000 2004-07-07 Nick Clifton <nickc@redhat.com>
6001
6002 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
6003 for xStormy16.
6004
6005 2004-07-06 Chris Demetriou <cgd@broadcom.com>
6006
6007 * configure.host (mips*-*-elf*): Default long long printing
6008 support.
6009
6010 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
6011
6012 * libc/Makefile.am (libc.dvi): Add target and specify
6013 same dependencies as libc.info.
6014 * libc/Makefile.in: Regenerated.
6015 * libm/Makefile.am (libm.dvi): Add target and specify
6016 same dependencies as libm.info.
6017 * libm/Makefile.in: Regenerated.
6018
6019 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
6020
6021 * acinclude.m4: Move --enable-newlib-iconv option back here.
6022 * configure.in: Remove --enable-newlib-iconv option. Don't
6023 tie iconv support to --enable-newlib-mb.
6024 * aclocal.m4: Regenerated.
6025 * configure: Ditto.
6026 * doc/aclocal.m4, doc/configure: Ditto.
6027 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
6028 * libm/*/aclocal.m4: Ditto.
6029 * libm/*/configure: Ditto.
6030 * libc/*/aclocal.m4: Ditto.
6031 * libc/*/configure: Ditto.
6032
6033 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
6034
6035 * acinclude.m4: Move iconv options into configure.in.
6036 * aclocal.m4: Regenerated.
6037 * configure: Ditto.
6038 * configure.in: Add iconv options.
6039 * newlib.hin: Add new iconv encodings and remove deleted ones.
6040 * doc/aclocal.m4: Regenerated.
6041 * doc/configure: Ditto.
6042 * iconvdata/aclocal.m4: Ditto.
6043 * iconvdata/configure: Ditto.
6044 * libc/iconv: Design change. New size-optimized ccs format.
6045 * libc/iconv/AUTHORS: Removed.
6046 * libc/iconv/COPYING: Ditto.
6047 * libc/iconv/README.ORIGINAL: Ditto.
6048 * libc/iconv/README.TODO: Ditto.
6049 * libc/iconv/charset.aliases: Ditto.
6050 * libc/iconv/encoding.aliases: New file.
6051 * libc/iconv/Makefile.am: Updated.
6052 * libc/iconv/Makefile.in: Regenerated.
6053 * libc/iconv/iconv.tex: Updated.
6054 * libc/iconv/ccs/Makefile.am: Ditto.
6055 * libc/iconv/ccs/Makefile.in: Regenerated.
6056 * libc/iconv/ccs/big5.c: Updated.
6057 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
6058 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
6059 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
6060 * libc/iconv/ccs/cp775.c: Ditto.
6061 * libc/iconv/ccs/cp850.c: Ditto.
6062 * libc/iconv/ccs/cp852.c: Ditto.
6063 * libc/iconv/ccs/cp855.c: Ditto.
6064 * libc/iconv/ccs/cp866.c: Ditto.
6065 * libc/iconv/ccs/iso_8859_1.c: Ditto.
6066 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
6067 * libc/iconv/ccs/gb_2312_80.c: Ditto.
6068 * libc/iconv/ccs/iconv_mktbl: Ditto.
6069 * libc/iconv/ccs/jis_x0201.c: Ditto.
6070 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
6071 * libc/iconv/ccs/shift_jis.c: Ditto.
6072 * libc/iconv/ccs/us_ascii.c: Ditto.
6073 * libc/iconv/ccs/ccs.h: New file.
6074 * libc/iconv/ccs/ccsbi.c: Ditto.
6075 * libc/iconv/ccs/ccsbi.h: Ditto.
6076 * libc/iconv/ccs/ccsnames.h: Ditto.
6077 * libc/iconv/ccs/iso_8859_10.c: Ditto.
6078 * libc/iconv/ccs/iso_8859_11.c: Ditto.
6079 * libc/iconv/ccs/iso_8859_13.c: Ditto.
6080 * libc/iconv/ccs/iso_8859_14.c: Ditto.
6081 * libc/iconv/ccs/iso_8859_3.c: Ditto.
6082 * libc/iconv/ccs/iso_8859_6.c: Ditto.
6083 * libc/iconv/ccs/iso_8859_7.c: Ditto.
6084 * libc/iconv/ccs/iso_8859_8.c: Ditto.
6085 * libc/iconv/ccs/iso_8859_9.c: Ditto.
6086 * libc/iconv/ccs/iso_ir_111.c: Ditto.
6087 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
6088 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
6089 * libc/iconv/ccs/koi8_ru.c: Ditto.
6090 * libc/iconv/ccs/koi8_uni.c: Ditto.
6091 * libc/iconv/ccs/mktbl.pl: Ditto.
6092 * libc/iconv/ccs/win_1250.c: Ditto.
6093 * libc/iconv/ccs/win_1251.c: Ditto.
6094 * libc/iconv/ccs/win_1252.c: Ditto.
6095 * libc/iconv/ccs/win_1253.c: Ditto.
6096 * libc/iconv/ccs/win_1254.c: Ditto.
6097 * libc/iconv/ccs/win_1255.c: Ditto.
6098 * libc/iconv/ccs/win_1256.c: Ditto.
6099 * libc/iconv/ccs/win_1257.c: Ditto.
6100 * libc/iconv/ccs/win_1258.c: Ditto.
6101 * libc/iconv/ccs/iso_8859_15.c: Updated.
6102 * libc/iconv/ccs/iso_8859_2.c: Ditto.
6103 * libc/iconv/ccs/iso_8859_4.c: Ditto.
6104 * libc/iconv/ccs/iso_8859_5.c: Ditto.
6105 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
6106 * libc/iconv/ccs/koi8_r.c: Ditto.
6107 * libc/iconv/ccs/koi8_u.c: Ditto.
6108 * libc/iconv/ccs/ksx1001.c: Ditto.
6109 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
6110 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
6111 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
6112 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
6113 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
6114 * libc/iconv/ccs/binary/Makefile.am: Updated.
6115 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
6116 * libc/iconv/ccs/binary/big5.cct: Updated.
6117 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
6118 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
6119 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
6120 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
6121 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
6122 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
6123 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
6124 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
6125 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
6126 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
6127 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
6128 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
6129 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
6130 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
6131 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
6132 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
6133 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
6134 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
6135 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
6136 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
6137 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
6138 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
6139 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
6140 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
6141 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
6142 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
6143 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
6144 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
6145 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
6146 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
6147 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
6148 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
6149 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
6150 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
6151 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
6152 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
6153 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
6154 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
6155 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
6156 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
6157 * libc/iconv/ces/Makefile.am: Updated.
6158 * libc/iconv/ces/Makefile.in: Regenerated.
6159 * libc/iconv/ces/ucs-2-internal.c: Updated.
6160 * libc/iconv/ces/ucs-4-internal.c: Ditto.
6161 * libc/iconv/ces/utf-16.c: Ditto.
6162 * libc/iconv/ces/utf-8.c: Ditto.
6163 * libc/iconv/ces/cesbi.c: New file.
6164 * libc/iconv/ces/cesbi.h: Ditto.
6165 * libc/iconv/ces/cesdeps.h: Ditto.
6166 * libc/iconv/ces/euc.c: Ditto.
6167 * libc/iconv/ces/mkdeps.pl: Ditto.
6168 * libc/iconv/ces/table-pcs.c: Ditto.
6169 * libc/iconv/ces/table.c: Ditto.
6170 * libc/iconv/ces/ucs-2.c: Ditto.
6171 * libc/iconv/ces/ucs-4.c: Ditto.
6172 * libc/iconv/ces/us-ascii.c: Ditto.
6173 * libc/iconv/ces/euc-jp.c: Removed.
6174 * libc/iconv/ces/euc-kr.c: Ditto.
6175 * libc/iconv/ces/euc-tw.c: Ditto.
6176 * libc/iconv/ces/gb2312.c: Ditto.
6177 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
6178 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
6179 * libc/iconv/lib/Makefile.am: Updated.
6180 * libc/iconv/lib/Makefile.in: Regenerated.
6181 * libc/iconv/lib/endian.h: Updated.
6182 * libc/iconv/lib/iconv.c: Ditto.
6183 * libc/iconv/lib/local.h: Ditto.
6184 * libc/iconv/lib/aliases.c: Removed.
6185 * libc/iconv/lib/bialiasesi.c: Ditto.
6186 * libc/iconv/lib/biccs.c: Ditto.
6187 * libc/iconv/lib/bices.c: Ditto.
6188 * libc/iconv/lib/ccs.c: Ditto.
6189 * libc/iconv/lib/ces.c: Ditto.
6190 * libc/iconv/lib/ces_euc.c: Ditto.
6191 * libc/iconv/lib/ces_iso2022.c: Ditto.
6192 * libc/iconv/lib/ces_table.c: Ditto.
6193 * libc/iconv/lib/converter.c: Ditto.
6194 * libc/iconv/lib/deps.h: Ditto.
6195 * libc/iconv/lib/loaddata.c: Ditto.
6196 * libc/iconv/lib/aliasesbi.c: New file.
6197 * libc/iconv/lib/aliasesi.c: Ditto.
6198 * libc/iconv/lib/conv.h: Ditto.
6199 * libc/iconv/lib/encnames.h: Ditto.
6200 * libc/iconv/lib/encoding.deps: Ditto.
6201 * libc/iconv/lib/iconvnls.c: Ditto.
6202 * libc/iconv/lib/iconvnls.h: Ditto.
6203 * libc/iconv/lib/nullconv.c: Ditto.
6204 * libc/iconv/lib/ucsconv.c: Ditto.
6205 * libc/iconv/lib/ucsconv.h: Ditto.
6206 * libc/include/iconv.h: Update copyright.
6207 * libc/*/aclocal.m4: Regenerated.
6208 * libc/*/configure: Ditto.
6209 * libm/*/aclocal.m4: Ditto.
6210 * libm/*/configure: Ditto.
6211
6212 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
6213
6214 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
6215 instead of typedefing jmp_buf.
6216
6217 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
6218 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
6219 * libc/machine/h8300/defines.h (LEN): New macro.
6220 * libc/machine/h8300/memcpy.S: Add h8sx version.
6221 * libc/machine/h8300/memset.S: Likewise.
6222 * libc/machine/h8300/strcmp.S: Likewise.
6223 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
6224 * libc/machine/h8300/h8sx_strcpy.S: New file.
6225 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
6226 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
6227 __H8300SX__.
6228 * libc/include/machine/setjmp.h: Likewise.
6229 * libc/include/sys/config.h: Likewise.
6230 * libc/machine/h8300/defines.h: Likewise.
6231 * libc/machine/h8300/setjmp.S: Likewise.
6232 * libc/machine/h8300/strcmp.S: Likewise.
6233 * libc/sys/h8300hms/close.S: Likewise.
6234 * libc/sys/h8300hms/fstat.S: Likewise.
6235 * libc/sys/h8300hms/lseek.S: Likewise.
6236 * libc/sys/h8300hms/read.S: Likewise.
6237 * libc/sys/h8300hms/write.S: Likewise.
6238 * libc/sys/h8300hms/crt0.S: Likewise.
6239 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
6240 __H8300SX__ is defined.
6241 * libc/sys/h8300hms/setarch.h: Likewise.
6242
6243 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
6244
6245 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
6246 out change which set _GLOBAL_REENT to _global_impure_ptr until
6247 we understand why Cygwin breaks because of it.
6248
6249 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
6250
6251 * libc/sys/linux/machine/i386/syscall.h: For now, set up
6252 __syscall_return macro for systems with vsyscall.
6253
6254 2004-06-11 Antony King <antony.king@st.com>
6255
6256 * libc/include/sys/_types.h: Include <sys/lock.h> and change
6257 _flock_t to be of type _LOCK_RECURSIVE_T.
6258 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
6259 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
6260 (_global_impure_ptr): New declaration.
6261 (_GLOBAL_REENT): Change to be _global_impure_ptr.
6262 * libc/include/sys/stdio.h: Include <sys/lock.h> and
6263 <sys/reent.h>.
6264 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
6265 (_funlockfile)[!SINGLE_THREAD]: Ditto.
6266 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
6267 * libc/stdio/fclose.c: Remove casting of fp lock to
6268 _LOCK_RECURSIVE_T.
6269 * libc/stdio/findfp.c: Ditto.
6270 * libc/stdio/fopen.c: Ditto.
6271 * libc/stdio/freopen.c: Ditto.
6272 * libc/stdio/vfprintf.c: Ditto.
6273 * libc/stdio64/fopen64.c: Ditto.
6274 * libc/stdlib/envlock.c: Add default stubs that use generic
6275 locking code.
6276 * libc/stdlib/mlock.c: Ditto.
6277
6278 Jeff Johnston <jjohnstn@redhat.com>
6279 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
6280 (_flock_t): Change to be a struct containing a single member
6281 named mutex which is of type __flock_mutex_t.
6282
6283 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
6284
6285 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
6286 from /usr/include/asm/signal.h instead of kernel sources. Also
6287 default max to 32 if not found in header file.
6288 * libc/sys/linux/Makefile.in: Regenerated.
6289 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
6290 systems where __syscall_return is not defined.
6291 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
6292 systems to use syscall() function instead of assembler interrupt.
6293
6294 2004-06-09 Toralf Lund <toralf@procaptura.com>
6295
6296 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
6297 files from libc/sys/arm to libc/machine/arm.
6298 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
6299 library build support for files moved from libc/sys/arm.
6300 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
6301 references to access and setjmp.
6302 * configure.host: Add checks for newlib_may_supply_syscalls to
6303 determine whether or not to use sys/arm directory and use
6304 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
6305
6306 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
6307
6308 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
6309 reset digit flags appropriately after we have discovered "0x".
6310 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6311
6312 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
6313
6314 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
6315 from here ...
6316 (_VFPRINTF_R): ... to here so all I/O printf routines
6317 are covered.
6318
6319 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
6320
6321 * libc/search/hash_buf.c: Protect MAX and MIN macros from
6322 redefinition.
6323 * libc/search/hash.c: Ditto.
6324
6325 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6326
6327 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
6328 (_WANT_IO_LONG_LONG): Ditto.
6329 (_WANT_IO_LONG_DOUBLE): Ditto.
6330 * configure.in: Add new configuration options
6331 --enable-newlib-io-long-long and --enable-newlib-io-long-double
6332 which tie to new defines in newlib.hin.
6333 * configure: Regenerated.
6334 * configure.host: Add checks for new configuration options. Also
6335 fix up check for --enable-newlib-io-pos-args so configuration
6336 option will override any default for a given platform.
6337 Remove defining compiler flags for the _WANT_IO* options.
6338 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
6339 instead of looking for old compiler flags.
6340 * libc/stdio/vfscanf.c: Ditto.
6341 * libc/stdio/vfieeefp.h: Ditto.
6342 * libc/machine/powerpc/vfprintf.c: Ditto.
6343 * libc/machine/powerpc/vfscanf.c: Ditto.
6344
6345 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
6346
6347 * testsuite/include/check.h: Add include of <stdio.h>.
6348
6349 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
6350
6351 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
6352
6353 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6354
6355 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
6356 of free.
6357
6358 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6359
6360 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
6361 list for reentrant pointer. Call _vfiprintf_r.
6362 * libc/stdio/siprintf.c (_siprintf_r): New function.
6363 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
6364 pointer argument. Change all callers. Call _VFPRINTF_R.
6365 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
6366 prototypes.
6367
6368 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
6369
6370 * libc/include/sys/param.h: Remove endian info and include
6371 <machine/endian.h> instead.
6372 * libc/include/machine/endian.h: New file.
6373 * libc/include/machine/param.h: Ditto.
6374 * libc/machine/arm/machine/endian.h: Ditto.
6375 * libc/machine/arm/machine/param.h: Ditto.
6376 * libc/sys/arm/sys/param.h: Removed.
6377 * libc/sys/sysvi386/sys/param.h: Ditto.
6378 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
6379
6380 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6381
6382 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
6383 multibyte functions return failure for %C, %S, %lc, and %ls
6384 format specifiers.
6385
6386 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6387
6388 * testsuite/include/check.h (CHECK): Add flush of stdout.
6389
6390 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6391
6392 * libc/include/stdio.h (_ungetc_r): New prototype.
6393 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
6394 (__submore): Add reentrant struct pointer argument.
6395 (ungetc): Change to call _ungetc_r.
6396
6397 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6398
6399 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
6400 function pointer argument.
6401 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
6402 to specify function pointer arguments.
6403 (__fwalk, __fwalk_reent): Ditto.
6404
6405 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
6406
6407 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
6408 CT_INT case.
6409
6410 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6411
6412 * configure.in: Define _MB_CAPABLE if mb supported.
6413 * configure: Regenerated.
6414 * configure.host: Remove manual setting of MB_CAPABLE compiler
6415 flag.
6416 * newlib.hin: Add _MB_CAPABLE flag.
6417 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
6418 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
6419 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
6420 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
6421 * libc/ctype/jp2uc.c: Ditto.
6422 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
6423 * libc/locale/locale.c: Ditto
6424 * libc/machine/powerpc/vfscanf.c: Ditto
6425 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
6426 * libc/stdlib/mblen.c: Ditto
6427 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
6428 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
6429 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
6430 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
6431 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
6432 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
6433 * libc/sys/linux/intl/explodename.c: Ditto
6434 * libc/sys/linux/intl/finddomain.c: Ditto
6435 * libc/sys/linux/intl/l10nflist.c: Ditto
6436 * libc/sys/linux/intl/loadmsgcat.c: Ditto
6437 * libc/sys/linux/intl/localealias.c: Ditto
6438
6439 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
6440
6441 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
6442 (__svfscanf_r): In integer conversions, leave out leading zeroes
6443 which are not part of a base prefix.
6444 Keep track of width truncation to fit into buf, not counting left-out
6445 zeroes against width till the truncation has been compensated for.
6446 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
6447
6448 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
6449
6450 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
6451
6452 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6453
6454 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
6455 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
6456 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
6457 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
6458 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
6459 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
6460 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
6461 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
6462 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
6463 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
6464 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
6465 libc/stdio/getchar.c libc/stdio/getchar_u.c,
6466 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
6467 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
6468 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
6469 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
6470 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
6471 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
6472 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
6473 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
6474 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
6475 libc/stdio/siprintf.c libc/stdio/snprintf.c,
6476 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
6477 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
6478 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
6479 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
6480 libc/stdio/vprintf.c libc/stdio/vscanf.c,
6481 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
6482 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
6483 libc/stdio/wsetup.c: Perform minor formatting changes. Move
6484 copyright notices to top of file, ensure that <_ansi.h> is
6485 included, be consistent with open parentheses, use _DEFUN macro,
6486 include "local.h" where needed, and remove various compiler
6487 warnings.
6488
6489 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
6490
6491 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
6492 (__svfscanf_r): In integer conversions, leave out leading zeroes
6493 which are not part of a base prefix.
6494 Keep track of width truncation to fit into buf, not counting left-out
6495 zeroes against width till the truncation has been compensated for.
6496
6497 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
6498
6499 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
6500
6501 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
6502
6503 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
6504
6505 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
6506
6507 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
6508 to SUSv3.
6509
6510 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6511
6512 * libc/stdio/fclose.c (_fclose_r): New function.
6513 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
6514 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
6515 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
6516 * libc/include/stdio.h (_fclose_r): New prototype.
6517 * libc/stdio/fopen.c: Fix typo in comment.
6518
6519 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
6520
6521 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
6522 to handle _r reentrant functions.
6523
6524 2004-04-08 Eric Christopher <echristo@redhat.com>
6525
6526 * libc/include/machine/setjmp.h: Fix endif locations.
6527
6528 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6529
6530 * libc/time/strptime.c: Add standard includes to avoid
6531 warning messages at compilation time.
6532
6533 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
6534
6535 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
6536 of file.
6537
6538 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
6539
6540 * libc/machine/h8300/Makefile.am: Reformat slightly.
6541 * libc/machine/h8300/Makefile.in: Regenerate.
6542
6543 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
6544
6545 * libc/stdio/findfp.c (__fp_lock_all): Add call to
6546 __sfp_lock_acquire.
6547 (__fp_unlock_all): Add call to __sfp_lock_release.
6548
6549 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
6550
6551 * libc/stdio/fclose.c (fclose): Protect file pointer list when
6552 releasing a file.
6553 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
6554 fwalk.
6555 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
6556 _flockfile/_funlockfile.
6557 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
6558 to recursive.
6559 Change __lock_acquire/__lock_release calls for __sfp_lock to
6560 __sfp_lock_acquire/__sfp_lock_release throughout.
6561 (std): Make sure that file lock is only initialized once.
6562 (__sfp): Move _file initialization. Initialize file lock.
6563 (__sfp_lock_acquire): New function.
6564 (__sfp_lock_release): Ditto.
6565 (__fp_lock_all): Remove __sfp_lock_acquire call.
6566 (__fp_unlock_all): Remove __sfp_lock_release call.
6567 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
6568 Add calls to _flockfile/_funlockfile. Remove
6569 __lock_init_recursive call.
6570 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
6571 * libc/stdio/fwalk.c (__fwalk): New static function.
6572 (_fwalk): Protect file pointer list. Use __fwalk to walk through
6573 file pointers.
6574 * libc/stdio/local.h: Add defines for
6575 __sfp_lock_acquire/__sfp_lock_release when
6576 single threaded. Add function prototypes otherwise.
6577 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
6578 _flockfile/_funlockfile.
6579 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
6580 Add calls to _flockfile/_funlockfile. Remove
6581 __lock_init_recursive call.
6582 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
6583 list.
6584
6585 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
6586
6587 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
6588 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
6589 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
6590 to be __LOCK_INIT_RECURSIVE.
6591
6592 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
6593
6594 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
6595 _exit.c with _exit.S.
6596 * libc/sys/h8300hms/Makefile.in: Regenerate.
6597 * libc/sys/h8300hms/_exit.c: Remove.
6598 * libc/sys/h8300hms/_exit.S: New.
6599
6600 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
6601
6602 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
6603 Change __sfp_lock to static global.
6604 (__fp_lock): New static function.
6605 (__fp_unlock): Ditto.
6606 (__fp_lock_all): New function.
6607 (__fp_unlock_all): Ditto.
6608
6609 2004-02-10 Christopher Faylor <cgf@redhat.com>
6610
6611 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
6612 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
6613 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
6614 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
6615
6616 2004-02-09 Christopher Faylor <cgf@redhat.com>
6617
6618 * libc/include/time.h (TIMER_RELTIME): New define.
6619
6620 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
6621
6622 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
6623 * libc/stdlib/Makefile.in: Regenerated.
6624
6625 2004-02-08 Christopher Faylor <cgf@redhat.com>
6626
6627 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
6628 * libc/include/sys/reent.h (__getreent): Protect against possibly being
6629 defined.
6630 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
6631
6632 2004-02-05 Paul Brook <paul@codesourcery.com>
6633
6634 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
6635 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
6636
6637 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
6638
6639 * NEWS: Update with 1.12.0 info.
6640 * README: Ditto.
6641 * acinclude.m4: Change version number to 1.12.0.
6642 * aclocal.m4: Regenerated.
6643 * configure: Ditto.
6644 * doc/aclocal.m4: Ditto.
6645 * doc/configure: Ditto.
6646 * libc/*/aclocal.m4: Ditto.
6647 * libc/*/configure: Ditto.
6648 * libc/libc.texinfo: Ditto.
6649 * libm/*/aclocal.m4: Ditto.
6650 * libm/*/configure: Ditto.
6651 * libm/libm.texinfo: Ditto.
6652 * libc/sys/linux/shared.ld: Add VERS_1.12.
6653
6654 2004-02-02 Joel Sherrill <joel@oarcorp.com>
6655
6656 * configure.host: Add support for tic4x.
6657 * libc/include/machine/ieeefp.h: Ditto.
6658 * libc/include/machine/setjmp.h: Ditto.
6659 * libc/machine/tic4x/Makefile.am: New file.
6660 * libc/machine/tic4x/configure.in: Ditto.
6661 * libc/machine/tic4x/setjmp.S: Ditto.
6662 * libc/machine/tic4x/aclocal.m4: Generated.
6663 * libc/machine/tic4x/configure: Ditto.
6664 * libc/machine/tic4x/Makefile.in: Ditto.
6665
6666 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
6667
6668 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
6669 file chain on the passed in reentrancy struct if it
6670 is _GLOBAL_REENT.
6671
6672 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6673 Jeff Johnston <jjohnstn@redhat.com>
6674
6675 * libc/iconv/iconv.tex: Updated with more information.
6676
6677 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
6678 Jeff Johnston <jjohnstn@redhat.com>
6679
6680 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
6681 struct for std streams and traverse the global reeentrancy
6682 struct for all other streams.
6683
6684 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
6685
6686 * libc/stdlib/atexit.c: Protect global atexit list with a
6687 lock when newlib is multithreaded.
6688
6689 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6690
6691 * configure.in: Add support to generate iconv converter flags
6692 for newlib.h
6693 * newlib.hin: Add iconv converter flags.
6694 * configure: Regenerated.
6695 * libc/Makefile.in: Ditto.
6696 * libc/configure.in: Moved iconv converter parsing logic to
6697 top level newlib configure.in.
6698 * libc/configure: Regenerated.
6699 * libc/iconv/Makefile.in: Ditto.
6700 * libc/iconv/README.TODO
6701 * libc/iconv/charset.aliases: Remove wrong BE aliases for
6702 UCS2/UCS4/UTF8.
6703 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
6704 newlib.h can be used.
6705 * libc/iconv/ces/Makefile.am: Ditto.
6706 * libc/iconv/lib/Makefile.am: Ditto.
6707 * libc/iconv/ccs/Makefile.in: Regenerated.
6708 * libc/iconv/ces/Makefile.in: Ditto.
6709 * libc/iconv/lib/Makefile.in: Ditto.
6710 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
6711 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
6712 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
6713 defined in newlib.h.
6714 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
6715 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
6716 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
6717 * libc/iconv/ccs/cp775.c: Ditto.
6718 * libc/iconv/ccs/cp850.c: Ditto.
6719 * libc/iconv/ccs/cp852.c: Ditto.
6720 * libc/iconv/ccs/cp855.c: Ditto.
6721 * libc/iconv/ccs/cp866.c: Ditto.
6722 * libc/iconv/ccs/gb_2312_80.c: Ditto.
6723 * libc/iconv/ccs/iso_8859_1.c: Ditto.
6724 * libc/iconv/ccs/iso_8859_15.c: Ditto.
6725 * libc/iconv/ccs/iso_8859_2.c: Ditto.
6726 * libc/iconv/ccs/iso_8859_4.c: Ditto.
6727 * libc/iconv/ccs/iso_8859_5.c: Ditto.
6728 * libc/iconv/ccs/jis_x0201.c: Ditto.
6729 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
6730 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
6731 * libc/iconv/ccs/koi8_r.c: Ditto.
6732 * libc/iconv/ccs/koi8_u.c: Ditto.
6733 * libc/iconv/ccs/ksx1001.c: Ditto.
6734 * libc/iconv/ccs/shift_jis.c: Ditto.
6735 * libc/iconv/ccs/us_ascii.c: Ditto.
6736 * libc/iconv/ccs/binary/big5.cct: Newly generated.
6737 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
6738 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
6739 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
6740 * libc/iconv/ccs/binary/cp775.cct: Ditto.
6741 * libc/iconv/ccs/binary/cp850.cct: Ditto.
6742 * libc/iconv/ccs/binary/cp852.cct: Ditto.
6743 * libc/iconv/ccs/binary/cp855.cct: Ditto.
6744 * libc/iconv/ccs/binary/cp866.cct: Ditto.
6745 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
6746 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
6747 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
6748 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
6749 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
6750 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
6751 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
6752 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
6753 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
6754 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
6755 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
6756 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
6757 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
6758 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
6759 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
6760 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
6761 * libc/iconv/ces/euc-kr.c: Ditto.
6762 * libc/iconv/ces/euc-tw.c: Ditto.
6763 * libc/iconv/ces/gb2312.c: Ditto.
6764 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
6765 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
6766 * libc/iconv/ces/ucs-2-internal.c: Ditto.
6767 * libc/iconv/ces/ucs-4-internal.c: Ditto.
6768 * libc/iconv/ces/utf-16.c: Ditto.
6769 * libc/iconv/ces/utf-8.c: Ditto.
6770 * libc/iconv/lib/aliases.c: Ditto.
6771 * libc/iconv/lib/biccs.c: Ditto.
6772 * libc/iconv/lib/bices.c: Ditto.
6773 * libc/iconv/lib/ccs.c: Ditto.
6774 * libc/iconv/lib/ces.c: Ditto.
6775 * libc/iconv/lib/ces_euc.c: Ditto.
6776 * libc/iconv/lib/ces_iso2022.c: Ditto.
6777 * libc/iconv/lib/ces_table.c: Ditto.
6778 * libc/iconv/lib/converter.c: Ditto.
6779 * libc/iconv/lib/deps.h: Ditto.
6780 * libc/iconv/lib/endian.h: Ditto.
6781 * libc/iconv/lib/iconv.c: Ditto.
6782 * libc/iconv/lib/loaddata.c: Ditto.
6783 * libc/iconv/lib/local.h: Include newlib.h.
6784 * libc/argz/Makefile.in: Regenerated.
6785 * libc/ctype/Makefile.in: Ditto.
6786 * libc/errno/Makefile.in: Ditto.
6787 * libc/iconv/ccs/binary/Makefile.in: Ditto.
6788 * libc/locale/Makefile.in: Ditto.
6789 * libc/misc/Makefile.in: Ditto.
6790 * libc/posix/Makefile.in: Ditto.
6791 * libc/reent/Makefile.in: Ditto.
6792 * libc/search/Makefile.in: Ditto.
6793 * libc/signal/Makefile.in: Ditto.
6794 * libc/stdio/Makefile.in: Ditto.
6795 * libc/stdio64/Makefile.in: Ditto.
6796 * libc/stdlib/Makefile.in: Ditto.
6797 * libc/string/Makefile.in: Ditto.
6798 * libc/syscalls/Makefile.in: Ditto.
6799 * libc/time/Makefile.in: Ditto.
6800 * libc/unix/Makefile.in: Ditto.
6801 * testsuite/newlib.iconv/iconv.exp: New file.
6802 * testsuite/newlib.iconv/iconvjp.c: Ditto.
6803 * testsuite/newlib.iconv/iconvnm.c: Ditto.
6804 * testsuite/newlib.iconv/iconvru.c: Ditto.
6805
6806 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6807
6808 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
6809 (--enable-newlib-builtin-converters): Ditto.
6810 * configure.in: Add code to set _ICONV_ENABLED flag.
6811 Set _MB_LEN_MAX to 1 if not mb enabled.
6812 * configure: Regenerated.
6813 * aclocal.m4: Ditto.
6814 * Makefile.in: Ditto.
6815 * newlib.hin: Add _ICONV_ENABLED flag.
6816 * libc/Makefile.am: Add support for iconv.
6817 * libc/configure.in: Ditto.
6818 * libc/Makefile.in: Regenerated.
6819 * libc/aclocal.m4: Ditto.
6820 * libc/configure: Ditto.
6821 * libc/libc.texinfo: Add iconv documentation.
6822 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
6823 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
6824 libc/iconv/README.TODO, libc/iconv/charset.aliases,
6825 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
6826 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
6827 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
6828 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
6829 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
6830 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
6831 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
6832 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
6833 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
6834 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
6835 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
6836 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
6837 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
6838 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
6839 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
6840 libc/iconv/ccs/binary/big5.cct,
6841 libc/iconv/ccs/binary/cns11643_plane1.cct,
6842 libc/iconv/ccs/binary/cns11643_plane14.cct,
6843 libc/iconv/ccs/binary/cns11643_plane2.cct,
6844 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
6845 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
6846 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
6847 libc/iconv/ccs/binary/iso_8859_1.cct,
6848 libc/iconv/ccs/binary/iso_8859_15.cct,
6849 libc/iconv/ccs/binary/iso_8859_2.cct,
6850 libc/iconv/ccs/binary/iso_8859_4.cct,
6851 libc/iconv/ccs/binary/iso_8859_5.cct,
6852 libc/iconv/ccs/binary/jis_x0201.cct,
6853 libc/iconv/ccs/binary/jis_x0208_1983.cct,
6854 libc/iconv/ccs/binary/jis_x0212_1990.cct,
6855 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
6856 libc/iconv/ccs/binary/ksx1001.cct,
6857 libc/iconv/ccs/binary/shift_jis.cct,
6858 libc/iconv/ccs/binary/us_ascii.cct,
6859 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
6860 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
6861 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
6862 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
6863 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
6864 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
6865 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
6866 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
6867 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
6868 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
6869 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
6870 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
6871 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
6872 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
6873 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
6874 * libc/sys/linux/include/iconv.h: Ditto.
6875 * libc/include/sys/_types.h (_iconv_t): Added.
6876 * doc/aclocal.m4: Regenerated.
6877 * doc/configure: Ditto.
6878 * doc/Makefile.in: Ditto.
6879 * iconvdata/Makefile.in: Ditto.
6880 * iconvdata/aclocal.m4: Ditto.
6881 * iconvdata/configure: Ditto.
6882 * libc/*aclocal.m4: Ditto.
6883 * libc/*Makefile.in: Ditto.
6884 * libc/*configure: Ditto.
6885 * libm/*aclocal.m4: Ditto.
6886 * libm/*Makefile.in: Ditto.
6887 * libm/*configure: Ditto.
6888
6889 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
6890
6891 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
6892 by a lock when newlib is multithreaded.
6893
6894 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
6895
6896 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
6897 pointer to match C99 spec.
6898 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
6899 dst is NULL. Also fix to not alter src pointer when dst is NULL
6900 and call _mbrtowc_r instead of _mbtowc_r.
6901 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
6902 of _wctomb_r.
6903
6904 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
6905
6906 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
6907 * libc/stdio/freopen.c (freopen): Ditto.
6908
6909 2004-01-16 Christopher Faylor <cgf@redhat.com>
6910
6911 * libc/stdio/vfprintf.c: Add sys/lock.h include.
6912
6913 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
6914
6915 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
6916 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
6917 Add calls to __lock_init_recursive and __lock_close_recursive
6918 instead.
6919
6920 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
6921
6922 * libc/stdio/fclose.c: Include sys/lock.h.
6923 (fclose): Destroy lock when file is closed.
6924 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
6925 member.
6926 * libc/stdio/freopen.c: Include sys/lock.h.
6927 (_freopen_r): Destroy lock when file is closed.
6928 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
6929 _lock member.
6930
6931 2004-01-08 Joel Sherrill <joel@oarcorp.com>
6932
6933 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
6934 Remove warnings.
6935
6936 2004-01-08 Joel Sherrill <joel@oarcorp.com>
6937
6938 * libc/sys/rtems/sys/queue.h: New file.
6939 * libc/include/sys/signal.h: Reflect renumbering of signals to
6940 fit into 32-bit mask.
6941 * libc/include/sys/unistd.h: Add fdatasync() prototype.
6942 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
6943 required. In particular, add the reentrant variants of libc calls.
6944 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
6945
6946 2004-01-06 Mark Mitchell <mark@codesourcery.com>
6947
6948 * libc/sys/arm/syscalls.c (unistd.h): Include it.
6949 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
6950 Similarly for stdout and stderr.
6951
6952 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
6953
6954 * libc/libc.texinfo: Correct escape character for @ sign
6955 so file will be processed by make info. Update copyright years.
6956 * libm/libm.texinfo: Ditto.
6957
6958 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
6959
6960 * libc/include/sys/stat.h: No longer include stat-dj.h.
6961 * libc/include/sys/stat-dj.h: Removed.
6962
6963 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
6964
6965 * libc/include/wchar.h: Include <sys/reent.h>.
6966
6967 2003-12-05 Christopher Faylor <cgf@redhat.com>
6968
6969 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
6970 when defining _mbrtowc.
6971 * libc/stdlib/mbsinit.c: Ditto.
6972 * libc/stdlib/mbsrtowcs.c: Ditto.
6973 * libc/stdlib/wcrtomb.c: Ditto.
6974 * libc/stdlib/wcsrtombs.c: Ditto.
6975 * libc/stdlib/wctob.c: Ditto.
6976
6977 2003-12-05 Christopher Faylor <cgf@redhat.com>
6978
6979 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
6980 errors when defining _mbrtowc.
6981 * libc/stdlib/mbsinit.c: Ditto.
6982 * libc/stdlib/mbsrtowcs.c: Ditto.
6983
6984 2003-12-05 Christopher Faylor <cgf@redhat.com>
6985
6986 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
6987 errors when defining _mbrtowc.
6988
6989 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
6990
6991 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
6992 of mb routines for %lc and %ls support.
6993 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
6994 %ls, and %S support. Remove CYGNUS_NEC markers and
6995 code within.
6996
6997 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
6998
6999 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
7000 _wcrtomb_r, and _wcsrtombs_r.
7001
7002 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
7003
7004 * libc/include/sys/fcntl.h: Don't define struct flock when on
7005 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
7006
7007 2003-11-28 Christopher Faylor <cgf@redhat.com>
7008
7009 * libc/include/sys/signal.h: Use system specific signal file when
7010 building on cygwin.
7011
7012 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
7013
7014 * libc/include/stdlib.h (_atoi_r): New prototype.
7015 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
7016
7017 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
7018
7019 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
7020 * libc/stdlib/atol.c (_atol_r): New reentrant function.
7021 * libc/stdlib/atoll.c (_atoll_r): Ditto.
7022
7023 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
7024 Jeff Johnston <jjohnstn@redhat.com>
7025
7026 * libc/include/stdlib.h (lldiv_t): New type.
7027 (atoll, llabs, lldiv): New prototypes.
7028 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
7029 * libc/stdlib/stdlib.tex: Ditto.
7030 * libc/stdlib/Makefile.in: Regenerated.
7031 * libc/stdlib/atoll.c: New file.
7032 * libc/stdlib/llabs.c: Ditto.
7033 * libc/stdlib/lldiv.c: Ditto.
7034
7035 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
7036
7037 * libc/include/fcntl.h: Declare syscalls only when building newlib.
7038 * libc/include/unistd.h: Ditto.
7039 * libc/include/stat.h: Ditto. Also declare struct stat64.
7040
7041 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
7042
7043 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
7044 specifier to use ch instead of *fmt.
7045
7046 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
7047
7048 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
7049 code within checks for MB_CAPABLE. For non-mb-capable platforms,
7050 use simple byte logic.
7051
7052 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
7053
7054 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
7055 _strtold routine for processing floats and doubles since it
7056 is not as fast as _strtod_r.
7057
7058 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
7059
7060 * libc/machine/h8300/defines.h : Correct pointer register defines
7061 for normal mode.
7062 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
7063 for normal mode.
7064 * libc/machine/h8300/reg_memcpy.S : Likewise.
7065 * libc/machine/h8300/reg_memset.S : Likewise.
7066 * libc/machine/h8300/strcmp.S : Likewise.
7067
7068 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
7069
7070 * configure.host: Enable positional arguments for printf
7071 family for Cygwin.
7072 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
7073 pointer reference for quad_ptr_t.
7074
7075 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
7076
7077 * libc/stdio/scanf.c: Don't include local.h more than once.
7078
7079 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
7080
7081 * libc/include/sys/fcntl.h: Declare _open64.
7082 * libc/include/sys/stat.h: Declare _fstat64.
7083 * libc/include/sys/unistd.h: Declare _lseek64.
7084
7085 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
7086
7087 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
7088 (setprogname): Ditto.
7089
7090 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
7091
7092 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
7093 to use (Ebits + 1) which accounts for the sign-bit.
7094
7095 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
7096
7097 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
7098 x86 build.
7099 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
7100 and set up default flags to pass to aclocal.
7101 * iconvdata/Makefile.in: Regenerated.
7102 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
7103 and getpwuid routines.
7104 * libc/sys/linux/Makefile.in: Regenerated.
7105 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
7106 applications to link with newlib's shared libc library.
7107 * libc/sys/linux/getpwnam.c: Ditto.
7108 * libc/sys/linux/getpwuid.c: Ditto.
7109 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
7110 that were formerly supplied by /usr/include/linux/types.h with
7111 kernel types.
7112 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
7113 test _ELIX_LEVEL macro.
7114
7115 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
7116
7117 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
7118 referring to _NO_LONGLONG macro.
7119
7120 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
7121
7122 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
7123 in LOG() macro so this will compile on gcc 3.4 and up.
7124 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
7125 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
7126 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
7127 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
7128 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
7129 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
7130 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
7131 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
7132 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
7133 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
7134 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
7135 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
7136 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
7137 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
7138 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
7139 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
7140 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
7141 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
7142 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
7143 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
7144 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
7145 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
7146 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
7147 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
7148 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
7149 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
7150 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
7151 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
7152 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
7153 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
7154 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
7155 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
7156 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
7157 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
7158 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
7159 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
7160
7161 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
7162 Artem B. Bityuckiy <abitytsky@softminecorp.com>
7163
7164 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
7165 %ls, %S, %lc, and %C format specifiers.
7166 (get_arg): Ditto.
7167 * libc/stdio/sprintf.c: Add documentation regarding new
7168 format specifiers added in vfprintf.c.
7169
7170 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
7171
7172 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
7173 to make code work as specified in standard.
7174
7175 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
7176
7177 * configure.in: Use absolute newlib basedir when forming
7178 CC_FOR_NEWLIB include options.
7179 * configure: Regenerated.
7180
7181 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
7182
7183 * libc/string/wcsnlen.c: New file.
7184 * libc/include/wchar.h: Add wcsnlen prototype.
7185 * libc/string/Makefile.am: Add wcsnlen support.
7186 * libc/string/Makefile.in: Regenerated.
7187 * libc/string/wcstrings.tex: Add wcsnlen documentation.
7188
7189 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
7190
7191 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
7192
7193 2003-10-20 Bob Wilson <bob.wilson@acm.org>
7194
7195 * libc/locale/locale.c: Use double quotes in code.
7196 * libc/locale/locale.tex: Likewise.
7197 * libc/libc.texinfo: Hyphenate "floating-point".
7198 * libc/machine/necv70/necv70.tex: Likewise.
7199 * libc/stdio/sprintf.c: Likewise.
7200 * libc/stdio/sscanf.c: Likewise.
7201 * libc/stdlib/atof.c: Likewise.
7202 * libc/stdlib/ldtoa.c: Fix comment typo.
7203 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
7204 * libc/stdlib/ldiv.c: Likewise.
7205 * libm/common/s_expm1.c: Likewise.
7206 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
7207 * libm/common/s_infinity: Hyphenate "double- and single-precision".
7208 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
7209 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
7210 and "floating-point".
7211 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
7212 * libm/math/e_pow.c: Fix comment typo.
7213 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
7214 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
7215 * libm/math/s_atan.c: Likewise.
7216 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
7217 * libm/math/s_isnan.c: Hyphenate "single-precision" and
7218 "floating-point". Use "nonzero".
7219 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
7220 * libm/math/w_acos.c: Likewise.
7221 * libm/math/w_acosh.c: Likewise.
7222 * libm/math/w_asin.c: Likewise.
7223 * libm/math/w_atan2.c: Likewise.
7224 * libm/math/w_atanh.c: Likewise.
7225 * libm/math/w_cosh.c: Likewise.
7226 * libm/math/w_exp.c: Likewise.
7227 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
7228 version of 2^x in the description.
7229 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
7230 * libm/math/w_gamma.c: Likewise.
7231 * libm/math/w_hypot.c: Likewise.
7232 * libm/math/w_j0.c: Likewise.
7233 * libm/math/w_sinh.c: Likewise.
7234 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
7235 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
7236 "floating-point".
7237 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
7238 * libm/mathfp/e_atanh.c: Likewise.
7239 * libm/mathfp/e_hypot.c: Likewise.
7240 * libm/mathfp/er_lgamma.c: Likewise.
7241 * libm/mathfp/s_acos.c: Likewise.
7242 * libm/mathfp/s_asine.c: Likewise.
7243 * libm/mathfp/s_asinh.c: Likewise.
7244 * libm/mathfp/s_atan.c: Likewise.
7245 * libm/mathfp/s_atan2.c: Likewise.
7246 * libm/mathfp/s_atangent.c: Likewise.
7247 * libm/mathfp/s_cosh.c: Likewise.
7248 * libm/mathfp/s_exp.c: Likewise.
7249 * libm/mathfp/s_fmod.c: Likewise.
7250 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
7251 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
7252 "floating-point". Use "nonzero".
7253 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
7254 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
7255 * libm/mathfp/s_sineh.c: Likewise.
7256 * libm/mathfp/w_jn.c: Likewise.
7257
7258 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
7259
7260 * Makefile.am: Add $(MAKE) comments to multido and multiclean
7261 lines, to enable parallel make.
7262 * Makefile.in: Rebuilt.
7263
7264 2003-10-14 Christopher Faylor <cgf@redhat.com>
7265
7266 * libc/time/clock.c: Clarify documentation of return value when no
7267 measurement is available.
7268
7269 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
7270
7271 * libm/configure.in: Check libm_machine_dir, not machine_dir.
7272 * libm/configure: Regenerate.
7273 * libm/Makefile.in: Ditto.
7274
7275 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
7276
7277 * libc/machine/sh/strncpy.S: New file.
7278 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
7279 * libc/machine/sh/Makefile.in: Regenerate.
7280
7281 2003-09-11 James E Wilson <wilson@specifixinc.com>
7282
7283 * MAINTAINERS: Update my e-mail address.
7284
7285 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
7286
7287 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
7288
7289 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
7290
7291 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
7292 prototype.
7293 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
7294 _simdldcheck(). Also add unsigned cast for index variable in
7295 for loop using sizeof operators.
7296 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
7297 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
7298 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
7299 plus fix shift calculation for determining if there is a
7300 carry from word2.
7301
7302 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
7303
7304 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
7305 setgroupent for Cygwin.
7306
7307 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
7308
7309 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
7310 is different for _REENT_SMALL than when using regular reent
7311 struct.
7312
7313 2003-09-05 Ben Elliston <bje@wasabisystems.com>
7314
7315 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
7316 modern versions of GCC issue a warning.
7317
7318 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
7319 after continuation characters that induces a warning from modern
7320 versions of GCC.
7321
7322 2003-09-04 Ben Elliston <bje@wasabisystems.com>
7323
7324 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
7325 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
7326
7327 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
7328
7329 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
7330 * libc/stdlib/exit.c : Ditto.
7331 * libc/stdlib/on_exit.c: Ditto.
7332
7333 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
7334
7335 * libc/include/reent.h: Define stat64 as __stat64 when
7336 compiling newlib for Cygwin.
7337
7338 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
7339
7340 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
7341 __stat64 when compiling newlib.
7342
7343 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
7344
7345 * libc/include/stdio.h: Allow the io64 function prototypes for
7346 Cygwin when compiling newlib.
7347 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
7348 to expose the Cygwin struct __stat64 type.
7349 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
7350 pointer.
7351 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
7352
7353 2003-08-23 Christopher Faylor <cgf@redhat.com>
7354
7355 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
7356 definition to fseeko64.
7357
7358 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
7359
7360 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
7361 * libc/stdio: Globally remove/replace all references to fp->_data.
7362 Replace with _REENT or _GLOBAL_REENT where appropriate.
7363 * libc/stdio/asprintf.c: Ditto.
7364 * libc/stdio/fclose.c: Ditto.
7365 * libc/stdio/fvwrite.c: Ditto.
7366 * libc/stdio/makebuf.c: Ditto.
7367 * libc/stdio/refill.c: Ditto.
7368 * libc/stdio/local.h: Ditto.
7369 * libc/stdio/setvbuf.c: Ditto.
7370 * libc/stdio/sscanf.c: Ditto.
7371 * libc/stdio/stdio.c: Ditto.
7372 * libc/stdio/ungetc.c: Ditto.
7373 * libc/stdio/vfscanf.c: Ditto.
7374 * libc/stdio/vsscanf.c: Ditto.
7375 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
7376 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
7377 * libc/stdio/vsnprintf.c: Ditto.
7378 * libc/stdio/vsprintf.c: Ditto.
7379 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
7380 instead of _REENT to walk file list.
7381 * libc/stdio/fflush.c: Ditto.
7382 * libc/stdio/fgetpos.c: Add reentrant version and have regular
7383 version call reentrant version with _REENT argument.
7384 * libc/stdio/fsetpos.c: Ditto.
7385 * libc/stdio/fseek.c: Ditto.
7386 * libc/stdio/fseeko.c: Ditto.
7387 * libc/stdio/ftell.c: Ditto.
7388 * libc/stdio/ftello.c: Ditto.
7389 * libc/stdio/freopen.c: Ditto.
7390 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
7391 new files to chain. Also use _GLOBAL_REENT pointer for
7392 cleaning up.
7393 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
7394 * libc/stdio/siprintf.c: Ditto.
7395 * libc/stdio/iprintf.c: Ditto.
7396 * libc/stdio/fprintf.c: Ditto.
7397 * libc/stdio/printf.c: Ditto.
7398 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
7399 * libc/stdio/sprintf.c: Ditto.
7400 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
7401 * libc/stdio/rewind.c: Call _fseek_r directly.
7402 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
7403 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
7404 data pointer.
7405 (get_arg): Add extra struct _reent pointer argument.
7406 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
7407 to fp->_data.
7408 * libc/stdio64/fopen64.c: Ditto.
7409 * libc/stdio64/freopen64.c: Ditto.
7410 * libc/stdio64/fsetpos64.c: Ditto.
7411 * libc/stdio64/ftello64.c: Ditto.
7412 * libc/stdio64/local64.h: Ditto.
7413 * libc/stdio64/stdio64.c: Ditto.
7414 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
7415 _fstat64_r for the meantime.
7416
7417 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
7418
7419 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
7420 overflow detection.
7421
7422 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
7423
7424 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
7425 extern "C".
7426
7427 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
7428
7429 * libc/include/math.h: Add prototypes for __signbitf and
7430 __signbitd.
7431
7432 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
7433
7434 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
7435 correct type of conversion when dealing with EUCJP or SJIS.
7436 * libc/ctype/iswblank.c: Ditto.
7437 * libc/ctype/iswcntrl.c: Ditto.
7438 * libc/ctype/iswprint.c: Ditto.
7439 * libc/ctype/iswpunct.c: Ditto.
7440 * libc/ctype/iswspace.c: Ditto.
7441 * libc/ctype/towlower.c: Ditto.
7442 * libc/ctype/towupper.c: Ditto.
7443
7444 2003-07-31 Nick Clifton <nickc@redhat.com>
7445
7446 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
7447 before calling main, in case it saves its argument registers.
7448 Remove reference to deleted v850ea port.
7449 * configure.host: Remove reference to deleted v850ea port.
7450 Do not use -mv850 when building for v850e target. This
7451 prevents the ctbp system register from being initialised.
7452
7453 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
7454
7455 * libc/stdio/vfprintf.c: Set output size to 1 when
7456 we have %f format with precision 0 and # flag not specified.
7457
7458 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
7459
7460 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
7461 .am33_2.
7462
7463 2003-07-25 Christopher Faylor <cgf@redhat.com>
7464
7465 * libc/stdio64/fdopen64.c: Include sys/lock.h.
7466
7467 2003-07-25 Christopher Faylor <cgf@redhat.com>
7468
7469 * configure.host: Find cygwin include directory, when appropriate.
7470
7471 2003-07-24 Christopher Faylor <cgf@redhat.com>
7472
7473 * libc/stdio64/fdopen64.c: New file.
7474 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
7475 * libc/stdio64/Makefile.in: Regenerate.
7476 * libc/include/stdio.h (fdopen64): Define.
7477 * libc/include/stdio.h (_fdopen64_r): Ditto.
7478
7479 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
7480
7481 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
7482 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
7483 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
7484 restore callee-saved FP registers.
7485
7486 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
7487
7488 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
7489 for __sh__.
7490 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
7491 truncate.c.
7492 * libc/sys/sh/Makefile.in: Regenerate.
7493 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
7494 * libc/sys/sh/ftruncate.c: New file.
7495 * libc/sys/sh/truncate.c: Likewise.
7496
7497 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
7498
7499 * libc/include/math.h (nan, nanf): Update prototype to C99.
7500 * libm/common/s_nan.c (nan): Likewise.
7501 * libm/common/s_nanf.c (nanf, nan): Likewise.
7502 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
7503
7504 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
7505
7506 * libc/include/stdbool.h: Removed as this is defined by gcc.
7507
7508 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
7509
7510 * libc/include/stdbool.h: New header file defined by C99.
7511
7512 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
7513
7514 * libc/include/sys/types.h (int8_t): Make signed.
7515
7516 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
7517
7518 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
7519
7520 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
7521
7522 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
7523 on if we actually created the shared memory file exclusively.
7524
7525 2003-06-27 Joe Vornehm <joev@mitre.org>
7526
7527 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
7528 comparisons to account for unsigned internal value w.
7529
7530 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
7531
7532 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
7533 wrbuf for a non-creating open.
7534
7535 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
7536
7537 * libc/machine/h8300/setarch.h: New.
7538 * libc/machine/h8300/memcpy.S: Use it.
7539 * libc/machine/h8300/memset.S: Likewise.
7540 * libc/machine/h8300/reg_memcpy.S: Likewise.
7541 * libc/machine/h8300/reg_memset.S: Likewise.
7542 * libc/machine/h8300/setjmp.S: Likewise.
7543 * libc/machine/h8300/strcmp.S: Likewise.
7544
7545 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
7546
7547 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
7548 to atexit().
7549
7550 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
7551
7552 * configure.host (iq2000): Add tabs.
7553
7554 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
7555
7556 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
7557 to handle latest on_exit change.
7558 * libc/sys/linux/Makefile.am: Remove special compilation
7559 for malloc.c and mcheck.c.
7560 * libc/sys/linux/Makefile.in: Regenerated.
7561 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
7562 after including <features.h>.
7563 * libc/sys/linux/mcheck.c: Ditto.
7564 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
7565 for <features.h>.
7566 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
7567 add -DNOT_IN_libc to C flags.
7568 * libc/sys/linux/intl/Makefile.in: Regenerated.
7569 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
7570 * libc/sys/linux/linuxthreads/semaphore.h: Include
7571 <bits/pthreadtypes.h>.
7572 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
7573 including <features.h>.
7574 * libc/sys/linux/sys/lock.h: Ditto.
7575
7576 2003-06-11 Nick Clifton <nickc@redhat.com>
7577
7578 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
7579 _on_exit_args_ptr.
7580
7581 2003-06-10 Stan Cox <scox@redhat.com>
7582 Anthony Green <green@redhat.com>
7583
7584 * configure.host: Add iq2000 support.
7585 * newlib/libc/include/machine/ieeefp.h: Ditto.
7586 * newlib/libc/include/machine/setjmp.h: Ditto.
7587 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
7588 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
7589 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
7590 libc/machine/iq2000/Makefile.in: New files.
7591
7592 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
7593
7594 * libc/sys/h8300hms/setarch.h: New file.
7595 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
7596 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
7597 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
7598 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
7599
7600 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
7601
7602 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
7603 definition.
7604 * libc/argz/argz_add_sep.c: Ditto.
7605 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
7606 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
7607 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
7608 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
7609 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
7610 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
7611 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
7612 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
7613 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
7614 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
7615 * libc/posix/execl.c libc/posix/execle.c: Ditto.
7616 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
7617 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
7618 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
7619 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
7620 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
7621 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
7622 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
7623 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
7624 * libc/search/twalk.c libc/signal/signal.c: Ditto.
7625
7626 2003-06-05 Nick Clifton <nickc@redhat.com>
7627
7628 * libc/include/sys/reent.h (struct _on_exit_args): New
7629 structure containing fields used by the on_exit() function.
7630 (struct _atexit): Include struct _on_exit_args. For
7631 _REENT_SMALL do his via a pointer that is initialised when
7632 needed.
7633 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
7634 structure, if one has been allocated.
7635 * libc/stdlib/atexit.c (atexit): Update indirection to
7636 _fntypes field.
7637 * libc/stdlib/on_exit.c (on_exit): Indirect via the
7638 _on_exit_args structure. For _REENT_SMALL, allocate a
7639 structure if one does not exist.
7640 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
7641 structure.
7642
7643 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
7644
7645 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
7646 * libc/sys/linux/net/Makefile.in: Regenerated.
7647
7648 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
7649
7650 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
7651 * libc/reent/fcntlr.c: Ditto.
7652 * libc/reent/fstat64r.c: Ditto.
7653 * libc/reent/linkr.c: Ditto.
7654 * libc/reent/lseek64r.c: Ditto.
7655 * libc/reent/lseekr.c: Ditto.
7656 * libc/reent/openr.c: Ditto.
7657 * libc/reent/readr.c: Ditto.
7658 * libc/reent/reent.c: Ditto.
7659 * libc/reent/sbrkr.c: Ditto.
7660 * libc/reent/signalr.c: Ditto.
7661 * libc/reent/signgam.c: Ditto.
7662 * libc/reent/statr.c: Ditto.
7663 * libc/reent/timer.c: Ditto.
7664 * libc/reent/unlinkr.c: Ditto.
7665 * libc/reent/writer.c: Ditto.
7666 * libc/syscalls/sysclose.c: Ditto.
7667 * libc/syscalls/sysexecve.c: Ditto.
7668 * libc/syscalls/sysfcntl.c: Ditto.
7669 * libc/syscalls/sysfork.c: Ditto.
7670 * libc/syscalls/sysfstat.c: Ditto.
7671 * libc/syscalls/sysgetpid.c: Ditto.
7672 * libc/syscalls/sysgettod.c: Ditto.
7673 * libc/syscalls/syskill.c: Ditto.
7674 * libc/syscalls/syslink.c: Ditto.
7675 * libc/syscalls/syslseek.c: Ditto.
7676 * libc/syscalls/sysopen.c: Ditto.
7677 * libc/syscalls/sysread.c: Ditto.
7678 * libc/syscalls/syssbrk.c: Ditto.
7679 * libc/syscalls/sysstat.c: Ditto.
7680 * libc/syscalls/systimes.c: Ditto.
7681 * libc/syscalls/sysunlink.c: Ditto.
7682 * libc/syscalls/syswait.c: Ditto.
7683 * libc/syscalls/syswrite.c: Ditto.
7684
7685 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
7686
7687 * libc/time/tzset_r.c: Change local variables that are
7688 set via sscanf using the %h format specifier to be unsigned short
7689 instead of int.
7690
7691 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
7692
7693 * configure.host: Allow i[34567]86 variant.
7694 * configure.in: Likewise.
7695 * README: Likewise to the docs.
7696 * configure: Regenerated.
7697 * Makefile.in: Ditto.
7698
7699 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
7700 Tom Fitzsimmons <fitzsim@redhat.com>
7701
7702 * configure.in: Add iconvdata support for x86 linux.
7703 * configure: Regenerated.
7704 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
7705 library, iconv, and linuxthreads support.
7706 * libc/sys/linux/configure.in: Ditto.
7707 * libc/sys/linux/Makefile.in: Regenerated.
7708 * libc/sys/linux/configure: Ditto.
7709 * iconvdata/EUC-JP.irreversible: New file.
7710 * iconvdata/Makefile.am: Ditto.
7711 * iconvdata/Makefile.in: Ditto.
7712 * iconvdata/SJIS.irreversible: Ditto.
7713 * iconvdata/aclocal.m4: Ditto.
7714 * iconvdata/configure: Ditto.
7715 * iconvdata/configure.in: Ditto.
7716 * iconvdata/dummy.c: Ditto.
7717 * iconvdata/euc-jp.c: Ditto.
7718 * iconvdata/gconv-modules: Ditto.
7719 * iconvdata/jis0201.c: Ditto.
7720 * iconvdata/jis0201.h: Ditto.
7721 * iconvdata/jis0208.c: Ditto.
7722 * iconvdata/jis0208.h: Ditto.
7723 * iconvdata/jis0212.c: Ditto.
7724 * iconvdata/jis0212.h: Ditto.
7725 * iconvdata/sjis.c: Ditto.
7726 * libc/include/errno.h: Protect definition of error_t.
7727 * libc/sys/linux/gethostid.c: New file.
7728 * libc/sys/linux/sethostid.c: Ditto.
7729 * libc/sys/linux/dl/Makefile.am: Ditto.
7730 * libc/sys/linux/dl/Makefile.in: Ditto.
7731 * libc/sys/linux/dl/abi-tag.h: Ditto.
7732 * libc/sys/linux/dl/atomicity.h: Ditto.
7733 * libc/sys/linux/dl/dl-addr.c: Ditto.
7734 * libc/sys/linux/dl/dl-cache.c: Ditto.
7735 * libc/sys/linux/dl/dl-cache.h: Ditto.
7736 * libc/sys/linux/dl/dl-close.c: Ditto.
7737 * libc/sys/linux/dl/dl-debug.c: Ditto.
7738 * libc/sys/linux/dl/dl-deps.c: Ditto.
7739 * libc/sys/linux/dl/dl-dst.h: Ditto.
7740 * libc/sys/linux/dl/dl-error.c: Ditto.
7741 * libc/sys/linux/dl/dl-fini.c: Ditto.
7742 * libc/sys/linux/dl/dl-init.c: Ditto.
7743 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
7744 * libc/sys/linux/dl/dl-libc.c: Ditto.
7745 * libc/sys/linux/dl/dl-librecon.h: Ditto.
7746 * libc/sys/linux/dl/dl-load.c: Ditto.
7747 * libc/sys/linux/dl/dl-lookup.c: Ditto.
7748 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
7749 * libc/sys/linux/dl/dl-minimal.c: Ditto.
7750 * libc/sys/linux/dl/dl-misc.c: Ditto.
7751 * libc/sys/linux/dl/dl-object.c: Ditto.
7752 * libc/sys/linux/dl/dl-open.c: Ditto.
7753 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
7754 * libc/sys/linux/dl/dl-profile.c: Ditto.
7755 * libc/sys/linux/dl/dl-profstub.c: Ditto.
7756 * libc/sys/linux/dl/dl-reloc.c: Ditto.
7757 * libc/sys/linux/dl/dl-runtime.c: Ditto.
7758 * libc/sys/linux/dl/dl-support.c: Ditto.
7759 * libc/sys/linux/dl/dl-sym.c: Ditto.
7760 * libc/sys/linux/dl/dl-version.c: Ditto.
7761 * libc/sys/linux/dl/dlfcn.h: Ditto.
7762 * libc/sys/linux/dl/do-lookup.h: Ditto.
7763 * libc/sys/linux/dl/do-rel.h: Ditto.
7764 * libc/sys/linux/dl/dynamic-link.h: Ditto.
7765 * libc/sys/linux/dl/kernel-features.h: Ditto.
7766 * libc/sys/linux/dl/ldsodefs.h: Ditto.
7767 * libc/sys/linux/dl/libintl.h: Ditto.
7768 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
7769 * libc/sys/linux/dl/unsecvars.h: Ditto.
7770 * libc/sys/linux/iconv/Makefile.am: Ditto.
7771 * libc/sys/linux/iconv/Makefile.in: Ditto.
7772 * libc/sys/linux/iconv/categories.def: Ditto.
7773 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
7774 * libc/sys/linux/iconv/gconv.c: Ditto.
7775 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
7776 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
7777 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
7778 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
7779 * libc/sys/linux/iconv/gconv_close.c: Ditto.
7780 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
7781 * libc/sys/linux/iconv/gconv_db.c: Ditto.
7782 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
7783 * libc/sys/linux/iconv/gconv_int.h: Ditto.
7784 * libc/sys/linux/iconv/gconv_open.c: Ditto.
7785 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
7786 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
7787 * libc/sys/linux/iconv/hash-string.h: Ditto.
7788 * libc/sys/linux/iconv/iconv.c: Ditto.
7789 * libc/sys/linux/iconv/iconv.h: Ditto.
7790 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
7791 * libc/sys/linux/iconv/iconv_close.c: Ditto.
7792 * libc/sys/linux/iconv/iconv_open.c: Ditto.
7793 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
7794 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
7795 * libc/sys/linux/iconv/loadinfo.h: Ditto.
7796 * libc/sys/linux/iconv/localeinfo.h: Ditto.
7797 * libc/sys/linux/iconv/loop.c: Ditto.
7798 * libc/sys/linux/iconv/skeleton.c: Ditto.
7799 * libc/sys/linux/iconv/strtab.c: Ditto.
7800 * libc/sys/linux/include/dl-hash.h: Ditto.
7801 * libc/sys/linux/include/dlfcn.h: Ditto.
7802 * libc/sys/linux/include/fnmatch.h: Ditto.
7803 * libc/sys/linux/include/gconv.h: Ditto.
7804 * libc/sys/linux/include/glob.h: Ditto.
7805 * libc/sys/linux/include/hesiod.h: Ditto.
7806 * libc/sys/linux/include/ifaddrs.h: Ditto.
7807 * libc/sys/linux/include/libc_private.h: Ditto.
7808 * libc/sys/linux/include/link.h: Ditto.
7809 * libc/sys/linux/include/namespace.h: Ditto.
7810 * libc/sys/linux/include/netconfig.h: Ditto.
7811 * libc/sys/linux/include/netdb.h: Ditto.
7812 * libc/sys/linux/include/nsswitch.h: Ditto.
7813 * libc/sys/linux/include/regex.h: Ditto.
7814 * libc/sys/linux/include/resolv.h: Ditto.
7815 * libc/sys/linux/include/rune.h: Ditto.
7816 * libc/sys/linux/include/runetype.h: Ditto.
7817 * libc/sys/linux/include/semaphore.h: Ditto.
7818 * libc/sys/linux/include/setlocale.h: Ditto.
7819 * libc/sys/linux/include/un-namespace.h: Ditto.
7820 * libc/sys/linux/include/wordexp.h: Ditto.
7821 * libc/sys/linux/include/arpa/ftp.h: Ditto.
7822 * libc/sys/linux/include/arpa/inet.h: Ditto.
7823 * libc/sys/linux/include/arpa/nameser.h: Ditto.
7824 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
7825 * libc/sys/linux/include/arpa/telnet.h: Ditto.
7826 * libc/sys/linux/include/arpa/tftp.h: Ditto.
7827 * libc/sys/linux/include/net/bpf.h: Ditto.
7828 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
7829 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
7830 * libc/sys/linux/include/net/bridge.h: Ditto.
7831 * libc/sys/linux/include/net/ethernet.h: Ditto.
7832 * libc/sys/linux/include/net/fddi.h: Ditto.
7833 * libc/sys/linux/include/net/if.h: Ditto.
7834 * libc/sys/linux/include/net/if_arc.h: Ditto.
7835 * libc/sys/linux/include/net/if_arp.h: Ditto.
7836 * libc/sys/linux/include/net/if_atm.h: Ditto.
7837 * libc/sys/linux/include/net/if_dl.h: Ditto.
7838 * libc/sys/linux/include/net/if_gif.h: Ditto.
7839 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
7840 * libc/sys/linux/include/net/if_llc.h: Ditto.
7841 * libc/sys/linux/include/net/if_media.h: Ditto.
7842 * libc/sys/linux/include/net/if_mib.h: Ditto.
7843 * libc/sys/linux/include/net/if_ppp.h: Ditto.
7844 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
7845 * libc/sys/linux/include/net/if_slvar.h: Ditto.
7846 * libc/sys/linux/include/net/if_sppp.h: Ditto.
7847 * libc/sys/linux/include/net/if_stf.h: Ditto.
7848 * libc/sys/linux/include/net/if_tap.h: Ditto.
7849 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
7850 * libc/sys/linux/include/net/if_tun.h: Ditto.
7851 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
7852 * libc/sys/linux/include/net/if_types.h: Ditto.
7853 * libc/sys/linux/include/net/if_var.h: Ditto.
7854 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
7855 * libc/sys/linux/include/net/intrq.h: Ditto.
7856 * libc/sys/linux/include/net/iso88025.h: Ditto.
7857 * libc/sys/linux/include/net/net_osdep.h: Ditto.
7858 * libc/sys/linux/include/net/netisr.h: Ditto.
7859 * libc/sys/linux/include/net/pfil.h: Ditto.
7860 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
7861 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
7862 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
7863 * libc/sys/linux/include/net/radix.h: Ditto.
7864 * libc/sys/linux/include/net/raw_cb.h: Ditto.
7865 * libc/sys/linux/include/net/route.h: Ditto.
7866 * libc/sys/linux/include/net/slcompress.h: Ditto.
7867 * libc/sys/linux/include/net/slip.h: Ditto.
7868 * libc/sys/linux/include/net/zlib.h: Ditto.
7869 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
7870 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
7871 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
7872 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
7873 * libc/sys/linux/include/netinet/igmp.h: Ditto.
7874 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
7875 * libc/sys/linux/include/netinet/in.h: Ditto.
7876 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
7877 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
7878 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
7879 * libc/sys/linux/include/netinet/in_var.h: Ditto.
7880 * libc/sys/linux/include/netinet/ip.h: Ditto.
7881 * libc/sys/linux/include/netinet/ip6.h: Ditto.
7882 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
7883 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
7884 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
7885 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
7886 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
7887 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
7888 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
7889 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
7890 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
7891 * libc/sys/linux/include/netinet/tcp.h: Ditto.
7892 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
7893 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
7894 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
7895 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
7896 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
7897 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
7898 * libc/sys/linux/include/netinet/udp.h: Ditto.
7899 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
7900 * libc/sys/linux/include/netinet6/ah.h: Ditto.
7901 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
7902 * libc/sys/linux/include/netinet6/esp.h: Ditto.
7903 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
7904 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
7905 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
7906 * libc/sys/linux/include/netinet6/in6.h: Ditto.
7907 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
7908 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
7909 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
7910 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
7911 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
7912 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
7913 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
7914 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
7915 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
7916 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
7917 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
7918 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
7919 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
7920 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
7921 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
7922 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
7923 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
7924 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
7925 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
7926 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
7927 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
7928 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
7929 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
7930 * libc/sys/linux/include/netns/idp.h: Ditto.
7931 * libc/sys/linux/include/netns/idp_var.h: Ditto.
7932 * libc/sys/linux/include/netns/ns.h: Ditto.
7933 * libc/sys/linux/include/netns/ns_error.h: Ditto.
7934 * libc/sys/linux/include/netns/ns_if.h: Ditto.
7935 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
7936 * libc/sys/linux/include/netns/sp.h: Ditto.
7937 * libc/sys/linux/include/netns/spidp.h: Ditto.
7938 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
7939 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
7940 * libc/sys/linux/include/netns/spp_var.h: Ditto.
7941 * libc/sys/linux/include/rpc/Makefile: Ditto.
7942 * libc/sys/linux/include/rpc/auth.h: Ditto.
7943 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
7944 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
7945 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
7946 * libc/sys/linux/include/rpc/clnt.h: Ditto.
7947 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
7948 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
7949 * libc/sys/linux/include/rpc/des.h: Ditto.
7950 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
7951 * libc/sys/linux/include/rpc/nettype.h: Ditto.
7952 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
7953 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
7954 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
7955 * libc/sys/linux/include/rpc/raw.h: Ditto.
7956 * libc/sys/linux/include/rpc/rpc.h: Ditto.
7957 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
7958 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
7959 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
7960 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
7961 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
7962 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
7963 * libc/sys/linux/include/rpc/svc.h: Ditto.
7964 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
7965 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
7966 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
7967 * libc/sys/linux/include/rpc/types.h: Ditto.
7968 * libc/sys/linux/include/rpc/xdr.h: Ditto.
7969 * libc/sys/linux/intl/Makefile.am: Ditto.
7970 * libc/sys/linux/intl/Makefile.in: Ditto.
7971 * libc/sys/linux/intl/bindtextdom.c: Ditto.
7972 * libc/sys/linux/intl/catgets.c: Ditto.
7973 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
7974 * libc/sys/linux/intl/config.h: Ditto.
7975 * libc/sys/linux/intl/dcgettext.c: Ditto.
7976 * libc/sys/linux/intl/dcigettext.c: Ditto.
7977 * libc/sys/linux/intl/dcngettext.c: Ditto.
7978 * libc/sys/linux/intl/dgettext.c: Ditto.
7979 * libc/sys/linux/intl/dngettext.c: Ditto.
7980 * libc/sys/linux/intl/explodename.c: Ditto.
7981 * libc/sys/linux/intl/finddomain.c: Ditto.
7982 * libc/sys/linux/intl/gettext.c: Ditto.
7983 * libc/sys/linux/intl/gettext.h: Ditto.
7984 * libc/sys/linux/intl/gettextP.h: Ditto.
7985 * libc/sys/linux/intl/hash-string.h: Ditto.
7986 * libc/sys/linux/intl/l10nflist.c: Ditto.
7987 * libc/sys/linux/intl/loadinfo.h: Ditto.
7988 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
7989 * libc/sys/linux/intl/locale.alias: Ditto.
7990 * libc/sys/linux/intl/localealias.c: Ditto.
7991 * libc/sys/linux/intl/ngettext.c: Ditto.
7992 * libc/sys/linux/intl/open_catalog.c: Ditto.
7993 * libc/sys/linux/intl/plural.c: Ditto.
7994 * libc/sys/linux/intl/plural.y: Ditto.
7995 * libc/sys/linux/intl/stpcpy.c: Ditto.
7996 * libc/sys/linux/intl/textdomain.c: Ditto.
7997 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
7998 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
7999 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
8000 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
8001 * libc/sys/linux/linuxthreads/attr.c: Ditto.
8002 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
8003 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
8004 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
8005 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
8006 * libc/sys/linux/linuxthreads/config.h: Ditto.
8007 * libc/sys/linux/linuxthreads/configure: Ditto.
8008 * libc/sys/linux/linuxthreads/configure.in: Ditto.
8009 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
8010 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
8011 * libc/sys/linux/linuxthreads/events.c: Ditto.
8012 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
8013 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
8014 * libc/sys/linux/linuxthreads/internals.h: Ditto.
8015 * libc/sys/linux/linuxthreads/join.c: Ditto.
8016 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
8017 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
8018 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
8019 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
8020 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
8021 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
8022 * libc/sys/linux/linuxthreads/manager.c: Ditto.
8023 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
8024 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
8025 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
8026 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
8027 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
8028 * libc/sys/linux/linuxthreads/prio.c: Ditto.
8029 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
8030 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
8031 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
8032 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
8033 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
8034 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
8035 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
8036 * libc/sys/linux/linuxthreads/queue.h: Ditto.
8037 * libc/sys/linux/linuxthreads/reent.c: Ditto.
8038 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
8039 * libc/sys/linux/linuxthreads/restart.h: Ditto.
8040 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
8041 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
8042 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
8043 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
8044 * libc/sys/linux/linuxthreads/signals.c: Ditto.
8045 * libc/sys/linux/linuxthreads/specific.c: Ditto.
8046 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
8047 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
8048 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
8049 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
8050 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
8051 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
8052 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
8053 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
8054 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
8055 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
8056 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
8057 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
8058 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
8059 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
8060 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
8061 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
8062 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
8063 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
8064 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
8065 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
8066 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
8067 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
8068 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
8069 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
8070 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
8071 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
8072 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
8073 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
8074 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
8075 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
8076 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
8077 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
8078 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
8079 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
8080 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
8081 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
8082 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
8083 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
8084 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
8085 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
8086 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
8087 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
8088 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
8089 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
8090 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
8091 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
8092 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
8093 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
8094 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
8095 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
8096 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
8097 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
8098 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
8099 * libc/sys/linux/linuxthreads/unload.c: Ditto.
8100 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
8101 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
8102 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
8103 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
8104 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
8105 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
8106 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
8107 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
8108 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
8109 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
8110 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
8111 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
8112 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
8113 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
8114 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
8115 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
8116 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
8117 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
8118 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
8119 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
8120 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
8121 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
8122 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
8123 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
8124 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
8125 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
8126 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
8127 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
8128 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
8129 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
8130 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
8131 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
8132 * libc/sys/linux/net/Makefile.am: Ditto.
8133 * libc/sys/linux/net/Makefile.in: Ditto.
8134 * libc/sys/linux/net/addr2ascii.3: Ditto.
8135 * libc/sys/linux/net/addr2ascii.c: Ditto.
8136 * libc/sys/linux/net/ascii2addr.c: Ditto.
8137 * libc/sys/linux/net/base64.c: Ditto.
8138 * libc/sys/linux/net/bindresvport.c: Ditto.
8139 * libc/sys/linux/net/byteorder.3: Ditto.
8140 * libc/sys/linux/net/ether_addr.c: Ditto.
8141 * libc/sys/linux/net/ethers.3: Ditto.
8142 * libc/sys/linux/net/getaddrinfo.3: Ditto.
8143 * libc/sys/linux/net/getaddrinfo.c: Ditto.
8144 * libc/sys/linux/net/gethostbydns.c: Ditto.
8145 * libc/sys/linux/net/gethostbyht.c: Ditto.
8146 * libc/sys/linux/net/gethostbyname.3: Ditto.
8147 * libc/sys/linux/net/gethostbynis.c: Ditto.
8148 * libc/sys/linux/net/gethostnamadr.c: Ditto.
8149 * libc/sys/linux/net/getifaddrs.3: Ditto.
8150 * libc/sys/linux/net/getifaddrs.c: Ditto.
8151 * libc/sys/linux/net/getipnodebyname.3: Ditto.
8152 * libc/sys/linux/net/getnameinfo.3: Ditto.
8153 * libc/sys/linux/net/getnameinfo.c: Ditto.
8154 * libc/sys/linux/net/getnetbydns.c: Ditto.
8155 * libc/sys/linux/net/getnetbyht.c: Ditto.
8156 * libc/sys/linux/net/getnetbynis.c: Ditto.
8157 * libc/sys/linux/net/getnetent.3: Ditto.
8158 * libc/sys/linux/net/getnetnamadr.c: Ditto.
8159 * libc/sys/linux/net/getproto.c: Ditto.
8160 * libc/sys/linux/net/getprotoent.3: Ditto.
8161 * libc/sys/linux/net/getprotoent.c: Ditto.
8162 * libc/sys/linux/net/getprotoname.c: Ditto.
8163 * libc/sys/linux/net/getservbyname.c: Ditto.
8164 * libc/sys/linux/net/getservbyport.c: Ditto.
8165 * libc/sys/linux/net/getservent.3: Ditto.
8166 * libc/sys/linux/net/getservent.c: Ditto.
8167 * libc/sys/linux/net/herror.c: Ditto.
8168 * libc/sys/linux/net/hesiod.3: Ditto.
8169 * libc/sys/linux/net/hesiod.c: Ditto.
8170 * libc/sys/linux/net/if_indextoname.3: Ditto.
8171 * libc/sys/linux/net/ifname.c: Ditto.
8172 * libc/sys/linux/net/inet.3: Ditto.
8173 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
8174 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
8175 * libc/sys/linux/net/inet_addr.c: Ditto.
8176 * libc/sys/linux/net/inet_lnaof.c: Ditto.
8177 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
8178 * libc/sys/linux/net/inet_net.3: Ditto.
8179 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
8180 * libc/sys/linux/net/inet_net_pton.c: Ditto.
8181 * libc/sys/linux/net/inet_neta.c: Ditto.
8182 * libc/sys/linux/net/inet_netof.c: Ditto.
8183 * libc/sys/linux/net/inet_network.c: Ditto.
8184 * libc/sys/linux/net/inet_ntoa.c: Ditto.
8185 * libc/sys/linux/net/inet_ntop.c: Ditto.
8186 * libc/sys/linux/net/inet_pton.c: Ditto.
8187 * libc/sys/linux/net/innetgr-stub.c: Ditto.
8188 * libc/sys/linux/net/ip6opt.c: Ditto.
8189 * libc/sys/linux/net/iso_addr.3: Ditto.
8190 * libc/sys/linux/net/iso_addr.c: Ditto.
8191 * libc/sys/linux/net/issetugid-stub.c: Ditto.
8192 * libc/sys/linux/net/linkaddr.3: Ditto.
8193 * libc/sys/linux/net/linkaddr.c: Ditto.
8194 * libc/sys/linux/net/map_v4v6.c: Ditto.
8195 * libc/sys/linux/net/name6.c: Ditto.
8196 * libc/sys/linux/net/namespace.h: Ditto.
8197 * libc/sys/linux/net/ns.3: Ditto.
8198 * libc/sys/linux/net/ns_addr.c: Ditto.
8199 * libc/sys/linux/net/ns_name.c: Ditto.
8200 * libc/sys/linux/net/ns_netint.c: Ditto.
8201 * libc/sys/linux/net/ns_ntoa.c: Ditto.
8202 * libc/sys/linux/net/ns_parse.c: Ditto.
8203 * libc/sys/linux/net/ns_print.c: Ditto.
8204 * libc/sys/linux/net/ns_ttl.c: Ditto.
8205 * libc/sys/linux/net/nsap_addr.c: Ditto.
8206 * libc/sys/linux/net/nsdispatch.3: Ditto.
8207 * libc/sys/linux/net/nsdispatch.c: Ditto.
8208 * libc/sys/linux/net/nslexer.c: Ditto.
8209 * libc/sys/linux/net/nslexer.l: Ditto.
8210 * libc/sys/linux/net/nsparser.c: Ditto.
8211 * libc/sys/linux/net/nsparser.h: Ditto.
8212 * libc/sys/linux/net/nsparser.y: Ditto.
8213 * libc/sys/linux/net/rcmd.3: Ditto.
8214 * libc/sys/linux/net/rcmd.c: Ditto.
8215 * libc/sys/linux/net/rcmdsh.3: Ditto.
8216 * libc/sys/linux/net/rcmdsh.c: Ditto.
8217 * libc/sys/linux/net/recv.c: Ditto.
8218 * libc/sys/linux/net/res_comp.c: Ditto.
8219 * libc/sys/linux/net/res_config.h: Ditto.
8220 * libc/sys/linux/net/res_data.c: Ditto.
8221 * libc/sys/linux/net/res_debug.c: Ditto.
8222 * libc/sys/linux/net/res_init.c: Ditto.
8223 * libc/sys/linux/net/res_mkquery.c: Ditto.
8224 * libc/sys/linux/net/res_mkupdate.c: Ditto.
8225 * libc/sys/linux/net/res_query.c: Ditto.
8226 * libc/sys/linux/net/res_send.c: Ditto.
8227 * libc/sys/linux/net/res_update.c: Ditto.
8228 * libc/sys/linux/net/resolver.3: Ditto.
8229 * libc/sys/linux/net/rthdr.c: Ditto.
8230 * libc/sys/linux/net/send.c: Ditto.
8231 * libc/sys/linux/net/un-namespace.h: Ditto.
8232 * libc/sys/linux/net/vars.c: Ditto.
8233 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
8234 * libc/sys/linux/stdlib/Makefile.am: Ditto.
8235 * libc/sys/linux/stdlib/Makefile.in: Ditto.
8236 * libc/sys/linux/stdlib/cclass.h: Ditto.
8237 * libc/sys/linux/stdlib/cname.h: Ditto.
8238 * libc/sys/linux/stdlib/collate.c: Ditto.
8239 * libc/sys/linux/stdlib/collate.h: Ditto.
8240 * libc/sys/linux/stdlib/collcmp.c: Ditto.
8241 * libc/sys/linux/stdlib/engine.c: Ditto.
8242 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
8243 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
8244 * libc/sys/linux/stdlib/glob.3: Ditto.
8245 * libc/sys/linux/stdlib/glob.c: Ditto.
8246 * libc/sys/linux/stdlib/reallocf.c: Ditto.
8247 * libc/sys/linux/stdlib/regcomp.c: Ditto.
8248 * libc/sys/linux/stdlib/regerror.c: Ditto.
8249 * libc/sys/linux/stdlib/regex.3: Ditto.
8250 * libc/sys/linux/stdlib/regex2.h: Ditto.
8251 * libc/sys/linux/stdlib/regexec.c: Ditto.
8252 * libc/sys/linux/stdlib/regfree.c: Ditto.
8253 * libc/sys/linux/stdlib/utils.h: Ditto.
8254 * libc/sys/linux/stdlib/wordexp.c: Ditto.
8255 * libc/sys/linux/stdlib/wordfree.c: Ditto.
8256 * libc/sys/linux/sys/dlfcn.h: Ditto.
8257 * libc/sys/linux/sys/elfclass.h: Ditto.
8258 * libc/sys/linux/sys/event.h: Ditto.
8259 * libc/sys/linux/sys/ioccom.h: Ditto.
8260 * libc/sys/linux/sys/libc-tsd.h: Ditto.
8261 * libc/sys/linux/sys/link.h: Ditto.
8262 * libc/sys/linux/sys/lock.h: Ditto.
8263 * libc/sys/linux/sys/param.h: Ditto.
8264 * libc/sys/linux/sys/socket.h: Ditto.
8265 * libc/sys/linux/sys/sockio.h: Ditto.
8266
8267 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
8268
8269 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
8270 normal mode
8271 * newlib/libc/machine/h8300/memset.S: Likewise
8272 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
8273 * newlib/lib/machine/h8300/reg_memset.S: Likewise
8274 * newlib/lib/machine/h8300/setjmp.S: Likewise
8275 * newlib/lib/machine/h8300/strcmp.S: Likewise
8276 * newlib/lib/sys/h8300hms/crt0.S: Likewise
8277
8278 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
8279
8280 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
8281 * libc/include/stdio.h: Ditto.
8282 * libc/include/sys/config.h: Ditto.
8283 * libc/stdio/mktemp.c: Ditto.
8284
8285 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
8286
8287 * libc/locale/ldpart.c (__part_load_locale): Substitute
8288 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
8289 * libc/search/hash.c (__hash_open): Ditto.
8290 (init_hash): Ditto.
8291 * libc/stdio/fseek.c (fseek): Ditto.
8292 * libc/stdio/makebuf.c (__smakebuf): Ditto.
8293 * libc/stdio/mktemp.c (_gettemp): Ditto.
8294
8295 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
8296
8297 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
8298
8299 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
8300
8301 * configure.host: Accomodate removing the libc/sys/cygwin dir.
8302 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
8303 if __CYGWIN_USE_BIG_TYPES__ is set.
8304 * libc/search/hash.c (__hash_open): Ditto.
8305 (init_hash): Ditto.
8306 * libc/stdio/fseek.c (fseek): Ditto.
8307 * libc/stdio/makebuf.c (__smakebuf): Ditto.
8308 * libc/stdio/mktemp.c (_gettemp): Ditto.
8309 * libc/sys/cygwin/Makefile.am: Remove.
8310 * libc/sys/cygwin/Makefile.in: Remove.
8311 * libc/sys/cygwin/aclocal.m4: Remove.
8312 * libc/sys/cygwin/configure: Remove.
8313 * libc/sys/cygwin/configure.in: Remove.
8314 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
8315 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
8316 directory.
8317 * libc/sys/cygwin/sys/param.h: Ditto.
8318 * libc/sys/cygwin/sys/utime.h: Ditto.
8319 * libc/sys/cygwin/sys/utmp.h: Ditto.
8320
8321 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
8322
8323 * libc/include/sys/types.h: Don't define key_t for Cygwin.
8324
8325 2003-05-10 Christopher Faylor <cgf@redhat.com>
8326
8327 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
8328 64 bit inodes.
8329
8330 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
8331
8332 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
8333 Include cygwin/config.h instead.
8334
8335 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
8336
8337 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
8338 all code with #ifdef __SPE__ test.
8339 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
8340
8341 2003-04-15 Chris January <chris@atomice.net>
8342
8343 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
8344 Cygwin.
8345
8346 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
8347
8348 * libc/machine/sh/memset.S: Avoid clobbering volatile
8349 objects following a tiny to-be-set array in the same quadword.
8350
8351 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
8352
8353 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
8354 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
8355 * libc/string/Makefile.in: Regenerated.
8356 * libc/string/wcswidth.c: New file.
8357 * libc/string/wcwidth.c: New file.
8358 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
8359
8360 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
8361
8362 * libc/machine/sh/memset.S: Fix problem with alloco region
8363 exceeding destination region for length >= 88 bytes, start
8364 & 0x16 == 0, end & 0x1f == 18.
8365
8366 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
8367
8368 * libc/string/wcscoll.c: Fix comment.
8369
8370 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
8371
8372 * libc/include/wchar.h: Add definition for wcscoll.
8373 * libc/string/Makefile.am: Add wcscoll.c.
8374 * libc/string/Makefile.in: Regenerated.
8375 * libc/string/wcscoll.c: New file.
8376 * libc/string/wcstrings.tex: Add wcscoll.
8377
8378 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
8379
8380 * libc/stdio/sscanf.c: Update flags description.
8381 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
8382 type.
8383 (__svfscanf_r): Add 'hh' and 'll' handling.
8384
8385 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
8386
8387 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
8388 __d_position member to _off_t.
8389
8390 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
8391
8392 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
8393 count all characters used to create number against maximum width.
8394 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
8395
8396 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
8397
8398 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
8399 support.
8400 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
8401 flag to support simulator only extensions.
8402
8403 2003-03-17 Bob Cassels <bcassels@abinitio.com>
8404
8405 * libc/string/wcschr.c: (wcschr): Look for character first,
8406 then for end of string, so you can do wcschr(x, '\0').
8407
8408 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
8409
8410 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
8411 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
8412 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
8413 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
8414 * libc/stdio/fseeko.c (fseeko): Ditto.
8415 * libc/stdio/ftello.c (ftello): Ditto.
8416 * libc/stdio/stdio.c (__swrite): Ditto.
8417 (__sseek): Ditto.
8418 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
8419 * libc/stdio/fseek.c (fseek): Ditto.
8420 * libc/stdio/fsetpos.c (fsetpos): Ditto.
8421 * libc/stdio/ftell.c (ftell): Ditto.
8422 * libc/stdio/local.h: Declare __sseek using _off_t.
8423
8424 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
8425
8426 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
8427
8428 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
8429
8430 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
8431 Cygwin.
8432
8433 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
8434
8435 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
8436 Cygwin.
8437 * libc/include/sys/stat.h: Ditto.
8438 * libc/include/sys/unistd.h: Ditto.
8439 * libc/sys/cygwin/sys/dirent.h: Ditto.
8440
8441 2003-03-07 Christopher Faylor <cgf@redhat.com>
8442
8443 * libc/include/sys/unistd.h: Guard getopt.h call to force only
8444 declaration of getopt and avoid getopt_long declaration.
8445 * libc/sys/cygwin/include/unistd.h: Remove.
8446
8447 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
8448
8449 * configure.host: Define stdio64_dir for Cygwin.
8450 * libc/include/stdio.h: Change definition of fpos_t to fulfill
8451 Cygwin 64bit file access requirements.
8452 Drop definition of f*64() functions when compiled for Cygwin.
8453 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
8454 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
8455 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
8456
8457 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
8458
8459 * libc/include/sys/reent.h: Remove extraneous _sig_func
8460 declaration.
8461
8462 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
8463
8464 * libc/sys/h8300hms/Makefile.am: Add support for new files.
8465 * libc/sys/h8300hms/Makefile.in: Regenerated.
8466 * libc/sys/h8300hms/close.S: New file.
8467 * libc/sys/h8300hms/fstat.S: Ditto.
8468 * libc/sys/h8300hms/lseek.S: Ditto.
8469 * libc/sys/h8300hms/open.S: Ditto.
8470 * libc/sys/h8300hms/stat.S: Ditto.
8471 * libc/sys/h8300hms/read.S: New file to replace read.c.
8472 * libc/sys/h8300hms/read.c: Removed.
8473 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
8474 _lseek, _close, _stat, _fstat.
8475 * libc/sys/h8300hms/write.S: New file to replace write.c.
8476 * libc/sys/h8300hms/write.c: Removed.
8477
8478 2003-02-20 Nick Clifton <nickc@redhat.com>
8479
8480 * Add support for Cirrus Maverick ARM co-processor:
8481
8482 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
8483
8484 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
8485 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
8486
8487 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
8488
8489 * configure.host: set sys_dir, syscall_dir, and
8490 newlib_cflags for ep9312 host.
8491
8492 * configure.host: Restore alpha sorting of entries in case
8493 statements.
8494
8495 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
8496
8497 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
8498
8499 2003-02-18 Christian Groessler <chris@groessler.org>
8500
8501 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
8502 support z8001 segmented mode.
8503
8504 2003-02-18 Earnie Boyd <earnie@users.sf.net>
8505
8506 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
8507 with a NULL value.
8508
8509 2003-02-10 Christopher Faylor <cgf@redhat.com>
8510
8511 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
8512 Don't define some types under cygwin.
8513
8514 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
8515
8516 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
8517 option to allow disabling of syscalls being supplied in newlib.
8518 * aclocal.m4: Regenerated.
8519 * configure: Ditto.
8520 * configure.host: Add support of new configuration option and add
8521 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
8522 * doc/aclocal.m4: Regenerated.
8523 * doc/configure: Ditto.
8524 * libc/*aclocal.m4: Ditto.
8525 * libc/*configure: Ditto.
8526 * libm/*aclocal.m4: Ditto.
8527 * libm/*configure: Ditto.
8528 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
8529 is disabled.
8530 * libc/sys/arm/Makefile.in: Regenerated.
8531
8532 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
8533
8534 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
8535 -1 to be sure it cannot later match a valid file fd causing
8536 isatty() to return 1.
8537 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
8538 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
8539 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
8540
8541 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
8542
8543 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
8544 buffer based on the precision, after we have processed the input value
8545 in a local buffer and know its relative magnitude.
8546
8547 2003-01-31 Michael Snyder <msnyder@redhat.com>
8548
8549 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
8550 into registers r1 and r2, so that the simulator can distinguish
8551 this trap from a breakpoint trap. Copied from libgloss.
8552
8553 2003-01-31 Michael Snyder <msnyder@redhat.com>
8554
8555 * libc/sys/h8300hms/crt0.S (_start): Change local label
8556 from .loop to .Loop, so that ld and gdb will ignore it.
8557
8558 2003-01-29 Jason Tishler <jason@tishler.net>
8559
8560 * libc/include/time.h: Declare nanosleep() under Cygwin.
8561
8562 2003-01-24 Nick Clifton <nickc@redhat.com>
8563
8564 * Add sh2e support:
8565
8566 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
8567
8568 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
8569 * libc/machine/sh/setjmp.S: Likewise.
8570 * libc/include/machine/ieeefp.h: Likewise.
8571
8572 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
8573
8574 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
8575 for Cygwin.
8576
8577 2003-01-21 Anita Kulkarni <anitak@kpit.com>
8578
8579 * libc/time/difftime.c : Typecast the result to double.
8580
8581 2003-01-20 Christopher Faylor <cgf@redhat.com>
8582
8583 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
8584
8585 2003-01-18 Nick Clifton <nickc@redhat.com>
8586
8587 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
8588 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
8589
8590 2003-01-16 Joel Sherrill <joel@OARcorp.com>
8591
8592 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
8593 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
8594 constants are defined in each file in the shared versions in
8595 libc/include.
8596 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
8597 autoconf can link programs.
8598 * libc/include/machine/types.h: Explicitly specify signed on
8599 intXX_t types to ensure they are signed.
8600
8601 2003-01-14 Christopher Faylor <cgf@redhat.com>
8602
8603 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
8604 extensions.
8605
8606 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
8607
8608 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
8609
8610 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
8611
8612 * libc/stdio/sprintf.c: fix typo
8613 * libc/stdio/vfprintf.c: fix typo
8614
8615 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
8616
8617 * configure.host: Support long double I/O for x86-linux.
8618 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
8619 large enough to hold formatted result.
8620 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
8621
8622 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
8623
8624 * Makefile.am: Add vasprintf.
8625 * Makefile.in: Regenerated.
8626
8627 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
8628
8629 * asprintf.c (_asprintf_r): insure both declarations
8630 are the same.
8631
8632 2002-12-28 Christopher Faylor <cgf@redhat.com>
8633
8634 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
8635 than defining getopt directly.
8636
8637 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
8638
8639 * NEWS: Update with 1.11.0 info.
8640 * README: Ditto.
8641 * acinclude.m4: Change version number to 1.11.0.
8642 * aclocal.m4: Regenerated.
8643 * configure: Ditto.
8644 * doc/aclocal.m4: Ditto.
8645 * doc/configure: Ditto.
8646 * libc/*/aclocal.m4: Ditto.
8647 * libc/*/configure: Ditto.
8648 * libc/libc.texinfo: Ditto.
8649 * libm/*/aclocal.m4: Ditto.
8650 * libm/*/configure: Ditto.
8651 * libm/libm.texinfo: Ditto.
8652 * libc/sys/linux/shared.ld: Add VERS_1.11.
8653
8654 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
8655
8656 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
8657 Solutions to Red Hat Inc.
8658 * libc/machine/i386/f_atan2f.S: Ditto.
8659 * libc/machine/i386/f_exp.c: Ditto.
8660 * libc/machine/i386/f_expf.c: Ditto.
8661 * libc/machine/i386/f_frexp.S: Ditto.
8662 * libc/machine/i386/f_frexpf.S: Ditto.
8663 * libc/machine/i386/f_ldexp.S: Ditto.
8664 * libc/machine/i386/f_ldexpf.S: Ditto.
8665 * libc/machine/i386/f_log.S: Ditto.
8666 * libc/machine/i386/f_log10.S: Ditto.
8667 * libc/machine/i386/f_log10f.S: Ditto.
8668 * libc/machine/i386/f_logf.S: Ditto.
8669 * libc/machine/i386/f_pow.c: Ditto.
8670 * libc/machine/i386/f_powf.c: Ditto.
8671 * libc/machine/i386/f_tan.S: Ditto.
8672 * libc/machine/i386/f_tanf.S: Ditto.
8673 * libc/machine/i386/memchr.S: Ditto.
8674 * libc/machine/i386/memcmp.S: Ditto.
8675 * libc/machine/i386/memcpy.S: Ditto.
8676 * libc/machine/i386/memmove.S: Ditto.
8677 * libc/machine/i386/memset.S: Ditto.
8678 * libc/machine/i386/strchr.S: Ditto.
8679 * libc/machine/i386/strlen.S: Ditto.
8680 * libm/machine/i386/f_atan2.S: Ditto.
8681 * libm/machine/i386/f_atan2f.S: Ditto.
8682 * libm/machine/i386/f_exp.c: Ditto.
8683 * libm/machine/i386/f_expf.c: Ditto.
8684 * libm/machine/i386/f_frexp.S: Ditto.
8685 * libm/machine/i386/f_frexpf.S: Ditto.
8686 * libm/machine/i386/f_ldexp.S: Ditto.
8687 * libm/machine/i386/f_ldexpf.S: Ditto.
8688 * libm/machine/i386/f_log.S: Ditto.
8689 * libm/machine/i386/f_log10.S: Ditto.
8690 * libm/machine/i386/f_log10f.S: Ditto.
8691 * libm/machine/i386/f_logf.S: Ditto.
8692 * libm/machine/i386/f_pow.c: Ditto.
8693 * libm/machine/i386/f_powf.c: Ditto.
8694 * libm/machine/i386/f_tan.S: Ditto.
8695 * libm/machine/i386/f_tanf.S: Ditto.
8696
8697 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
8698
8699 * libc/stdlib/environ.c: Update license to Red Hat.
8700 * libc/machine/hppa/setjmp.S: Ditto.
8701 * libm/test/Makefile.in: Ditto.
8702
8703 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
8704
8705 * configure.host: Remove references to go32.
8706 * libc/sys/go32/*: Removed.
8707
8708 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
8709
8710 * libc/include/sys/config.h: Change setting of INT_MAX
8711 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
8712 __H8300S__. Also consolidate flag settings for these
8713 platforms.
8714
8715 2002-12-10 Joel Sherrill <joel@OARcorp.com>
8716
8717 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
8718 for i386-rtems targets.
8719
8720 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
8721
8722 * libc/include/stdlib.h (strtof): New prototype (from C99).
8723 (strtodf): Changed from prototype to macro which redefines
8724 to strtof.
8725 * libc/stdlib/atof.c: Change documentation to refer to strtof
8726 instead of strtodf.
8727 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
8728 strtodf.
8729 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
8730 (strtof): New function.
8731 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
8732 calls strtof.
8733
8734 2002-11-27 Christopher Faylor <cgf@redhat.com>
8735
8736 * libc/string/memset.c (memset): Fix comment.
8737
8738 2002-11-26 Christopher Faylor <cgf@redhat.com>
8739
8740 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
8741 function.
8742
8743 2002-11-25 Christopher Faylor <cgf@redhat.com>
8744
8745 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
8746 variable, introduced below, everywhere.
8747
8748 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
8749
8750 * libc/string/memset.c (memset): Make it safe even if
8751 sizeof (int) = 2.
8752
8753 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
8754
8755 * configure.in: Change check for libc/include in ${CC} to
8756 use an intermediate value so as to work with different shells.
8757 * configure: Regenerated.
8758 * Makefile.in: Ditto.
8759
8760 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
8761
8762 * libc/sys/h8300hms/read.c: Add support for normal mode
8763 architecture.
8764
8765 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
8766
8767 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
8768 code for __H8300H__ and __H8300S__. Also return 32-bit return code
8769 when -mint32 is used.
8770
8771 2002-11-18 Nick Clifton <nickc@redhat.com>
8772
8773 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
8774
8775 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
8776
8777 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
8778 only issue one pass/fail message for a compile/link/execute.
8779 * testsuite/newlib.elix/elix.exp: New file.
8780 * testsuite/newlib.elix/tmmap.c: Ditto.
8781
8782 2002-11-06 Christopher Faylor <cgf@redhat.com>
8783
8784 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
8785 * libc/stdlib/mlock.c: Ditto.
8786 * libc/stdlib/msize.c: Ditto.
8787 * libc/stdlib/msize.c: Ditto.
8788 * libc/stdlib/mtrim.c: Ditto.
8789 * libc/stdlib/valloc.c: Ditto.
8790
8791 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
8792
8793 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
8794 for inf/nan, make sure that the check ignores the sign bit.
8795
8796 2002-11-07 Joel Sherrill <joel@OARcorp.com>
8797
8798 * libc/sys/rtems/machine: New directory.
8799 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
8800 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
8801 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
8802 targets more BSD like when installed without requiring files to
8803 be overwritten at install point when RTEMS itself is installed.
8804 * Makefile.am: Pick up system dependent machine .h files such as
8805 might be found on a BSD-ish system.
8806 * Makefile.in: Regenerate.
8807 * libc/include/machine/types.h: When on an RTEMS target, define a
8808 few BSD flavor types.
8809
8810 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
8811
8812 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
8813
8814 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
8815
8816 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
8817 * libc/include/wctype.h: Ditto.
8818
8819 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
8820
8821 * libc/include/wchar.h: Add extern "C" specifier if C++.
8822 * libc/include/wctype.h: Ditto.
8823
8824 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
8825
8826 * testsuite/newlib.wctype/tiswctype.c: New test case.
8827 * testsuite/newlib.wctype/twctrans.c: Ditto.
8828
8829 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
8830
8831 * libc/sys/linux/machine/i386/include/endian.h: New file.
8832 * libc/sys/linux/machine/i386/include/param.h: Ditto.
8833
8834 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
8835
8836 * libm/machine/i386/aclocal.m4: Regenerated.
8837 * libm/machine/i386/configure: Ditto.
8838
8839 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
8840
8841 * testsuite/include/check.h: New header file to use with
8842 test cases.
8843 * testsuite/lib/newlib.exp: Add testsuite/include directory
8844 to list of header files to use.
8845 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
8846 * testsuite/newlib.wctype/wctype.exp: New file.
8847
8848 2002-10-11 Graham Stott <graham.stott@btinternet.com>
8849 Richard Sandiford <rsandifo@redhat.com>
8850
8851 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
8852 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
8853 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
8854
8855 2002-10-07 Joel Sherrill <joel@OARcorp.com>
8856
8857 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
8858 dummy programs.
8859
8860 2002-10-07 Joel Sherrill <joel@OARcorp.com>
8861
8862 * libc/include/pthread.h: Define PTHREAD_CANCELED.
8863
8864 2002-10-07 Joel Sherrill <joel@OARcorp.com>
8865
8866 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
8867 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
8868 compile with current GNU tools.
8869
8870 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
8871
8872 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
8873 the build library.
8874 * configure.in: Ditto.
8875 * Makefile.in: Regenerated.
8876 * configure: Ditto.
8877 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
8878 for specifying configured libraries/directories.
8879 * libc/sys/linux/configure.in: Ditto.
8880 * libc/sys/linux/Makefile.in: Regenerated.
8881 * libc/sys/linux/configure: Ditto.
8882
8883 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
8884
8885 * libc/include/reent.h: Update documentation at start of file.
8886
8887 2002-09-27 Jim Wilson <wilson@redhat.com>
8888
8889 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
8890 the ctbp register.
8891
8892 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
8893
8894 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
8895 Also convert to EUCJP before using arrays. For values not in
8896 the conversion arrays, return WEOF.
8897 * libc/ctype/jp2uc.h: Change from one array to a number of
8898 arrays to account for the fact that the originating table
8899 is not contiguous for the input values since some are invalid.
8900
8901 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
8902
8903 * libc/time/ctime.c: Fix prototype documentation.
8904
8905 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
8906
8907 * libc/include/sys/errno.h: Add EOVERFLOW.
8908
8909 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
8910
8911 * libc/include/wctype.h: New file.
8912
8913 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
8914
8915 * libc/ctype/Makefile.am: Add new files.
8916 * libc/ctype/Makefile.in: Regenerated.
8917 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
8918 and wctrans functions to documentation index.
8919 * libc/ctype/iswalnum.c: New file.
8920 * libc/ctype/iswalpha.c: Ditto.
8921 * libc/ctype/iswblank.c: Ditto.
8922 * libc/ctype/iswcntrl.c: Ditto.
8923 * libc/ctype/iswctype.c: Ditto.
8924 * libc/ctype/iswdigit.c: Ditto.
8925 * libc/ctype/iswgraph.c: Ditto.
8926 * libc/ctype/iswlower.c: Ditto.
8927 * libc/ctype/iswprint.c: Ditto.
8928 * libc/ctype/iswpunct.c: Ditto.
8929 * libc/ctype/iswspace.c: Ditto.
8930 * libc/ctype/iswupper.c: Ditto.
8931 * libc/ctype/iswxdigit.c: Ditto.
8932 * libc/ctype/jp2uc.c: Ditto.
8933 * libc/ctype/jp2uc.h: Ditto.
8934 * libc/ctype/local.h: Ditto.
8935 * libc/ctype/towctrans.c: Ditto.
8936 * libc/ctype/towlower.c: Ditto.
8937 * libc/ctype/towupper.c: Ditto.
8938 * libc/ctype/utf8alpha.h: Ditto.
8939 * libc/ctype/utf8print.h: Ditto.
8940 * libc/ctype/utf8punct.h: Ditto.
8941 * libc/ctype/wctrans.c: Ditto.
8942 * libc/ctype/wctype.c: Ditto.
8943 * libc/locale/locale.c (__lc_ctype): New external array to
8944 replace static lc_ctype array.
8945 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
8946 rather than reentrancy structure's _current_locale field.
8947 * libc/stdlib/wctomb_r.c: Ditto.
8948
8949 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
8950
8951 * configure.host: Minor comment and formatting changes.
8952 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
8953 * libc/Makefile.in: Regenerated.
8954 * libc/include/sys/config.h: Minor format change.
8955
8956 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
8957
8958 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
8959 statement comment.
8960
8961 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
8962
8963 * libc/posix/opendir.c (opendir): Change code to check
8964 for HAVE_FCNTL before calling fcntl.
8965 * libc/search/hash.c (hash_open): Ditto.
8966 * libc/search/hash_page.c (open_tmp): Ditto.
8967 * libc/reent/Makefile.am: Add fcntlr.c.
8968 * libc/reent/Makefile.in: Regenerated.
8969 * libc/reent/fcntlr.c: New file.
8970 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
8971 instead of _fcntl when HAVE_FCNTL flag is set.
8972 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
8973 to see if _fcntl or _fcntl_r should be called. If flag is not
8974 set, default to ENOSYS stub.
8975
8976 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
8977
8978 * libc/include/wchar.h (mbstate_t): Change protective flag to
8979 be _MBSTATE_T.
8980 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
8981 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
8982 for Cygwin.
8983 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
8984
8985 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
8986
8987 * acinclude.m4 (enable-newlib-mb): Change check to
8988 default newlib_mb variable to empty string rather than "no".
8989 * configure.host: Remove hard-coding of -DMB_CAPABLE for
8990 x86-linux and Cygwin. Add code to check for newlib_mb
8991 being unset in which case set to "yes" for x86-linux and
8992 Cygwin. Change check for newlib_mb being "yes" to allow
8993 for an empty string.
8994 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
8995 * newlib.hin (_MB_LEN_MAX): New define to configure.
8996 * aclocal.m4: Regenerated.
8997 * configure: Ditto.
8998 * libc/include/limits.h: New file.
8999 * libc/sys/linux/include/limits.h: Ditto.
9000 * doc/aclocal.m4 doc/configure libc/aclocal.m4
9001 libc/configure libc/machine/aclocal.m4
9002 libc/machine/configure libc/machine/a29k/aclocal.m4
9003 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
9004 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
9005 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
9006 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
9007 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
9008 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
9009 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
9010 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
9011 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
9012 libc/machine/i386/configure libc/machine/i960/aclocal.m4
9013 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
9014 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
9015 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
9016 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
9017 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
9018 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
9019 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
9020 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
9021 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
9022 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
9023 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
9024 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
9025 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
9026 libc/machine/v850/configure libc/machine/w65/aclocal.m4
9027 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
9028 libc/machine/xscale/configure
9029 libc/machine/xstormy16/aclocal.m4
9030 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
9031 libc/machine/z8k/configure libc/sys/aclocal.m4
9032 libc/sys/configure libc/sys/a29khif/aclocal.m4
9033 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
9034 libc/sys/arc/configure libc/sys/arm/aclocal.m4
9035 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
9036 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
9037 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
9038 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
9039 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
9040 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
9041 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
9042 libc/sys/idt/configure libc/sys/linux/aclocal.m4
9043 libc/sys/linux/configure
9044 libc/sys/linux/machine/aclocal.m4
9045 libc/sys/linux/machine/configure
9046 libc/sys/linux/machine/i386/aclocal.m4
9047 libc/sys/linux/machine/i386/configure
9048 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9049 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
9050 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9051 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9052 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
9053 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
9054 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
9055 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
9056 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
9057 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
9058 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
9059 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
9060 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
9061 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
9062 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
9063 libm/aclocal.m4 libm/configure: Regenerated.
9064
9065 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
9066
9067 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
9068 code that clears the .bss section.
9069
9070 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
9071
9072 * libc/include/sys/_types.h (_mbstate_t): Changed to use
9073 unsigned char internally.
9074 * libc/sys/linux/sys/_types.h: Ditto.
9075 * libc/include/sys/reent.h
9076 * libc/stdlib/mblen.c (mblen): Use function-specific state
9077 value from default reentrancy structure.
9078 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
9079 _mbtowc_r is less than 0, reset state __count value and
9080 return -1.
9081 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
9082 is NULL, use the function-specific pointer provided in the
9083 default reentrancy structure.
9084 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
9085 If input state pointer is NULL, use function-specific area
9086 provided in reentrancy structure.
9087 * libc/stdlib/mbsrtowcs.c: Ditto.
9088 * libc/stdlib/wcrtomb.c: Ditto.
9089 * libc/stdlib/wcsrtombs.c: Ditto.
9090 * libc/stdlib/mbstowcs.c: Reformat.
9091 * libc/stdlib/wcstombs.c: Ditto.
9092 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
9093 reset the state's __count value and return -1.
9094 * libc/stdlib/mbtowc.c: Ditto.
9095 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
9096 If number of bytes is used up before completing a valid multibyte
9097 character, return -2 and save the state.
9098 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
9099 and change some __count references to __state for clarity.
9100
9101 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
9102
9103 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
9104 is defined by <limits.h>.
9105
9106 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
9107
9108 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
9109 defined.
9110
9111 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
9112
9113 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
9114 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
9115 __WCHAR_MAX__ or 0x7fffffffu.
9116 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
9117 * libc/string/wcsncmp.c: Ditto.
9118
9119 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
9120
9121 * libc/string/wcschr.c: Add include of <stddef.h>.
9122 * libc/string/wcspbrk.c: Ditto.
9123 * libc/string/wcsrchr.c: Ditto.
9124 * libc/string/wcsstr.c: Ditto.
9125
9126 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
9127
9128 * libc/include/sys/_types.h (_flock_t): Added.
9129 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
9130 (__lock_try_acquire_recursive): Ditto.
9131 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
9132 _lock field.
9133 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
9134 field.
9135 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
9136 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
9137 * libc/sys/linux/include/time.h (struct timespec): Moved from
9138 <sys/types.h> and added check for __need_timespec flag so type
9139 can be defined by itself.
9140 * libc/sys/linux/sys/_types.h (_flock_t): New type.
9141 * libc/sys/linux/sys/types.h (struct timespec): Moved to
9142 <time.h>.
9143
9144 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
9145
9146 * libc/sys/linux/argp: New directory.
9147 * libc/sys/linux/getopt.c: New file.
9148 * libc/sys/linux/getopt1.c: New file.
9149 * libc/sys/linux/getoptlong.c: Remove file.
9150 * libc/sys/linux/include/argp.h: New file.
9151 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
9152 based on ELIX level.
9153 (SUBDIRS): Add argp_dir.
9154 (SUBLIBS): Add ARGP_LIB.
9155 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
9156 getopt_long.$(oext).
9157 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
9158
9159 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
9160
9161 * libc/libc.texinfo: Add node reference to wide-character strings.
9162 * libc/string/wcstrings.tex: New file.
9163 * libc/string/strtok_r.c: Remove outdated advertising clause.
9164 * libc/string/Makefile.am (doc): Add wide-character string
9165 chapter to documentation.
9166 * libc/string/Makefile.in: Regenerated.
9167
9168 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
9169
9170 * libc/include/wchar.h: Define NULL. Define WEOF more general
9171 way. Declare functions in newlib manner.
9172 * libc/stdlib/Makefile.am: Delete wmem*.c
9173 * libc/stdlib/Makefile.in: Regenerated.
9174 * libc/stdlib/wmemchr.c: Delete.
9175 * libc/stdlib/wmemcmp.c: Ditto.
9176 * libc/stdlib/wmemcpy.c: Ditto.
9177 * libc/stdlib/wmemmove.c: Ditto.
9178 * libc/stdlib/wmemset.c: Ditto.
9179 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
9180 * libc/string/Makefile.in: Regenerated.
9181 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
9182 * libc/string/wcschr.c: Ditto.
9183 * libc/string/wcscmp.c: Ditto.
9184 * libc/string/wcscpy.c: Ditto.
9185 * libc/string/wcscspn.c: Ditto.
9186 * libc/string/wcslcat.c: Ditto.
9187 * libc/string/wcslcpy.c: Ditto.
9188 * libc/string/wcslen.c: Ditto.
9189 * libc/string/wcsncat.c: Ditto.
9190 * libc/string/wcsncmp.c: Ditto.
9191 * libc/string/wcsncpy.c: Ditto.
9192 * libc/string/wcspbrk.c: Ditto.
9193 * libc/string/wcsrchr.c: Ditto.
9194 * libc/string/wcsspn.c: Ditto.
9195 * libc/string/wcsstr.c: Ditto.
9196 * libc/string/wmemchr.c: Ditto.
9197 * libc/string/wmemcmp.c: Ditto.
9198 * libc/string/wmemcpy.c: Ditto.
9199 * libc/string/wmemmove.c: Ditto.
9200 * libc/string/wmemset.c: Ditto.
9201
9202 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
9203
9204 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
9205 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
9206 and is treated as if "C" was specified.
9207
9208 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
9209
9210 * Makefile.am (install-data-local): Move install of build
9211 newlib.h after installing headers in libc/include so as to
9212 overwrite default newlib.h.
9213 * Makefile.in: Regenerated.
9214
9215 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
9216
9217 * libc/include/newlib.h: New file for tools that use newlib
9218 headers but don't build newlib first (e.g. gcc).
9219
9220 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
9221
9222 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
9223 * libc/stdlib/wmemcmp.c: Ditto.
9224 * libc/stdlib/wmemcpy.c: Ditto.
9225 * libc/stdlib/wmemmove.c: Ditto.
9226 * libc/stdlib/wmemset.c: Ditto.
9227
9228 2002-08-27 Egor Duda <deo@logos-m.ru>
9229
9230 * libc/stdlib/wmemchr.c: New file.
9231 * libc/stdlib/wmemcmp.c: Ditto.
9232 * libc/stdlib/wmemcpy.c: Ditto.
9233 * libc/stdlib/wmemmove.c: Ditto.
9234 * libc/stdlib/wmemset.c: Ditto.
9235 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
9236 * configure.host: Default -DMB_CAPABLE for cygwin.
9237 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
9238 wmemmove() and wmemset(). Add include of <_ansi.h>.
9239 * libc/stdlib/Makefile.in: Regenerate.
9240
9241 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
9242
9243 * configure.host: Remove _ELIX_LEVEL flag setting.
9244 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
9245 (install-data-local): Install newlib.h.
9246 * Makefile.in: Regenerated.
9247 * aclocal.m4: Ditto.
9248 * configure: Ditto.
9249 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
9250 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
9251 and _NEWLIB_VERSION to fill in newlib.h header file entries.
9252 In AC_OUTPUT statement, unset ac_file so multilib support does
9253 not use last ac_file temporary used in newlib.h configuration.
9254 * libc/include/_ansi.h: Include <newlib.h>.
9255 * newlib.hin: New template file for newlib.h.
9256 * stamp-h.in: New file.
9257
9258 2002-08-26 Wu Yongwei <adah@netstd.com>
9259
9260 * time.h (timezonevar): Change "#if" to "#ifdef".
9261
9262 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
9263
9264 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
9265 * Makefile.in: Regenerated.
9266 * acinclude.m4: Add support for --enable-newlib-elix-level option.
9267 * aclocal.m4: Regenerated.
9268 * configure: Ditto.
9269 * configure.host: Add code to define _ELIX_LEVEL if
9270 --enable-newlib-elix-level option is used.
9271 * configure.in:
9272 * libc/aclocal.m4: Regenerated.
9273 * libc/configure: Ditto.
9274 * libc/argz/Makefile.am: Add EL/IX level checking.
9275 * libc/argz/Makefile.in: Regenerated.
9276 * libc/argz/dummy.c: New file.
9277 * libc/ctype/Makefile.am: Add EL/IX level checking.
9278 * libc/ctype/Makefile.in: Regenerated.
9279 * libc/locale/Makefile.am: Add EL/IX level checking.
9280 * libc/locale/Makefile.in: Regenerated.
9281 * libc/posix/Makefile.am: Add EL/IX level checking.
9282 * libc/posix/Makefile.in: Regenerated.
9283 * libc/posix/telldir.c: Add EL/IX level checking.
9284 * libc/reent/Makefile.am: Ditto.
9285 * libc/reent/fstat64r.c: Ditto.
9286 * libc/reent/lseek64r.c: Ditto.
9287 * libc/reent/open64r.c: Ditto.
9288 * libc/reent/Makefile.in: Regenerated.
9289 * libc/search/Makefile.am: Add EL/IX level checking.
9290 * libc/search/Makefile.in: Regenerated.
9291 * libc/stdio/Makefile.am: Add EL/IX level checking.
9292 * libc/stdio/Makefile.in: Regenerated.
9293 * libc/stdio64/Makefile.am: Add EL/IX level checking.
9294 * libc/stdio64/Makefile.in: Regenerated.
9295 * libc/stdio64/dummy.c: New file.
9296 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
9297 after first include.
9298 * libc/stdio64/fopen64.c: Ditto.
9299 * libc/stdio64/freopen64.c: Ditto.
9300 * libc/stdio64/fseeko64.c: Ditto.
9301 * libc/stdio64/fsetpos64.c: Ditto.
9302 * libc/stdio64/ftello64.c: Ditto.
9303 * libc/stdio64/tmpfile64.c: Ditto.
9304 * libc/stdlib/Makefile.am: Add EL/IX level checking.
9305 * libc/stdlib/Makefile.in: Regenerated.
9306 * libc/stdlib/mstats.c: Add EL/IX level checking.
9307 * libc/string/Makefile.am: Ditto.
9308 * libc/string/Makefile.in: Regenerated.
9309 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
9310 * libc/sys/linux/Makefile.in: Regenerated.
9311 * libc/sys/linux/aclocal.m4: Ditto.
9312 * libc/sys/linux/configure: Ditto.
9313 * libc/sys/linux/aio.c: Add EL/IX level checking.
9314 * libc/sys/linux/ftok.c: Ditto.
9315 * libc/sys/linux/getdate.c: Ditto.
9316 * libc/sys/linux/ids.c: Ditto.
9317 * libc/sys/linux/inode.c: Ditto.
9318 * libc/sys/linux/io.c: Ditto.
9319 * libc/sys/linux/process.c: Ditto.
9320 * libc/sys/linux/resource.c: Ditto.
9321 * libc/sys/linux/sched.c: Ditto.
9322 * libc/sys/linux/sig.c: Ditto.
9323 * libc/sys/linux/termios.c: Ditto.
9324 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
9325 __libc___waitpid weak aliases.
9326 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
9327 that generate the code for a syscall, but do not create a
9328 weak alias.
9329 * libc/syscalls/Makefile.am: Add EL/IX level checking.
9330 * libc/syscalls/Makefile.in: Regenerated.
9331 * libc/time/tzset_r.c: Change to replace strdup with equivalent
9332 functionality.
9333 * libc/unix/Makefile.am: Add EL/IX level checking.
9334 * libc/unix/Makefile.in: Regenerated.
9335
9336 2002-08-26 Christopher Faylor <cgf@redhat.com>
9337
9338 * libc/include/malloc.h: On cygwin, define malloc _r functions as
9339 wrapper macros to standard malloc functions.
9340 * libc/include/stdlib.h: Ditto.
9341 * configure.host: Always define MALLOC_PROVIDED on cygwin.
9342
9343 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9344
9345 * libc/include/langinfo.h: New file.
9346 * libc/include/wchar.h: Likewise.
9347 * libc/include/sys/syslimits.h: Likewise.
9348 * libc/locale/fix_grouping.c: Likewise.
9349 * libc/locale/ldpart.c: Likewise.
9350 * libc/locale/ldpart.h: Likewise.
9351 * libc/locale/lmessages.c: Likewise.
9352 * libc/locale/lmessages.h: Likewise.
9353 * libc/locale/lmonetary.c: Likewise.
9354 * libc/locale/lmonetary.h: Likewise.
9355 * libc/locale/lnumeric.c: Likewise.
9356 * libc/locale/lnumeric.h: Likewise.
9357 * libc/locale/nl_langinfo.3: Likewise.
9358 * libc/locale/nl_langinfo.c: Likewise.
9359 * libc/locale/timelocal.c: Likewise.
9360 * libc/locale/timelocal.h: Likewise.
9361 * libc/stdlib/btowc.c: Likewise.
9362 * libc/stdlib/mbrlen.c: Likewise.
9363 * libc/stdlib/mbrtowc.c: Likewise.
9364 * libc/stdlib/mbsinit.c: Likewise.
9365 * libc/stdlib/mbsrtowcs.c: Likewise.
9366 * libc/stdlib/wcrtomb.c: Likewise.
9367 * libc/stdlib/wcsrtombs.c: Likewise.
9368 * libc/stdlib/wctob.c: Likewise.
9369 * libc/sys/linux/prof-freq.c: Likewise.
9370 * libc/sys/linux/profile.c: Likewise.
9371 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
9372 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
9373 * libc/include/stdlib.h: Change re-entrant functions to take
9374 mbstate_t pointers.
9375 * libc/include/sys/_types.h: Define _mbstate_t.
9376 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
9377 * libc/include/sys/errno.h (EILSEQ): New error code.
9378 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
9379 structure to use mbstate_t.
9380 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
9381 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
9382 * libc/machine/powerpc/vfscanf.c: Likewise.
9383 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
9384 * libc/stdio/vfprintf.c: Likewise.
9385 * libc/stdio/vfscanf.c: Likewise.
9386 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
9387 * libc/stdlib/mblen.c: Use mbstate_t.
9388 * libc/stdlib/mblen_r.c: Likewise.
9389 * libc/stdlib/mbstowcs.c: Likewise.
9390 * libc/stdlib/mbstowcs_r.c: Likewise.
9391 * libc/stdlib/mbtowc.c: Likewise.
9392 * libc/stdlib/mbtowc_r.c: Likewise.
9393 * libc/stdlib/wcstombs.c: Likewise.
9394 * libc/stdlib/wcstombs_r.c: Likewise.
9395 * libc/stdlib/wctomb_r.c: Likewise.
9396 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
9397 profile.c.
9398 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
9399 dl-procinfo.c.
9400 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
9401 * libc/sys/linux/sys/types.h (off_t): Define type.
9402 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
9403 to C-UTF-8.
9404 * testsuite/newlib.locale/UTF-8.exp: Likewise.
9405
9406 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
9407
9408 * libc/stdlib/mallocr.c: #include windows.h on Win32.
9409 (AlignPage): Continue macro on next line.
9410
9411 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
9412
9413 * libc/sys/linux/include/pthread.h: New file.
9414
9415 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
9416
9417 * libc/include/sys/types.h: Support __need_inttypes macro
9418 that only sets the __intxx and __uintxx types.
9419 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
9420 to get mprec.h.
9421 * libc/machine/powerpc/Makefile.in: Regenerated.
9422 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
9423 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
9424 redundant fixed-point conversion prototypes.
9425 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
9426 after setting __need_inttypes.
9427
9428 2002-08-18 Christopher Faylor <cgf@redhat.com>
9429
9430 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
9431
9432 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
9433
9434 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
9435 _LONG_DOUBLE to double.
9436
9437 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
9438
9439 * configure.host: Add powerpc*-*-eabispe* configuration.
9440 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
9441 * libc/machine/powerpc/atosfix32.c: Ditto.
9442 * libc/machine/powerpc/atosfix64.c: Ditto.
9443 * libc/machine/powerpc/atoufix16.c: Ditto.
9444 * libc/machine/powerpc/atoufix32.c: Ditto.
9445 * libc/machine/powerpc/atoufix64.c: Ditto.
9446 * libc/machine/powerpc/fix64.h: Ditto.
9447 * libc/machine/powerpc/simdldtoa.c: Ditto.
9448 * libc/machine/powerpc/strtosfix16.c: Ditto.
9449 * libc/machine/powerpc/strtosfix32.c: Ditto.
9450 * libc/machine/powerpc/strtosfix64.c: Ditto.
9451 * libc/machine/powerpc/strtoufix16.c: Ditto.
9452 * libc/machine/powerpc/strtoufix32.c: Ditto.
9453 * libc/machine/powerpc/strtoufix64.c: Ditto.
9454 * libc/machine/powerpc/ufix64toa.c: Ditto.
9455 * libc/machine/powerpc/configure.in: Add check for
9456 powerpc*-eabispe and add fixed-point conversion functions.
9457 * libc/machine/powerpc/configure: Regenerated.
9458 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
9459 %r and %R format specifiers which handle fixed-point data.
9460 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
9461 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
9462 function prototypes.
9463
9464 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
9465
9466 * Makefile.am: Move cmath stuff into libc/sys/linux.
9467 * Makefile.in: Regenerated.
9468 * configure.host: Default -DMB_CAPABLE for x86-linux.
9469 * libc/include/reent.h: Define _sbrk to take signed int argument.
9470 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
9471 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
9472 make locale name checking more efficient. Also allow "C-ISO-8859-1"
9473 locale for LC_CTYPE and LC_MESSAGES.
9474 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
9475 * libc/sys/linux/brk.c: Change sbrk prototype.
9476 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
9477 include <sys/features.h>.
9478 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
9479 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
9480 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
9481 with a few local additions.
9482 * libc/sys/linux/sys/features.h: New file.
9483 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
9484 to take signed argument.
9485 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
9486 prototypes to take signed size argument.
9487
9488 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
9489
9490 * libc/sys/linux/cmath: New directory.
9491 * libc/sys/linux/include/cmathcalls.h: New file.
9492 * libc/sys/linux/include/complex.h: New file.
9493 * libc/sys/linux/machine/i386/huge_val.h: New file
9494 * libm/math/w_sincos.c: New file
9495 * libm/math/wf_sincos.c: New file
9496 * libm/mathfp/s_sincos.c: New file
9497 * libm/mathfp/sf_sincos.c: New file
9498 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
9499 * libc/include/math.h: Add sincos and sincosf declarations.
9500 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
9501 (SUBLIBS): Likewise.
9502 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
9503 * libm/math/Makefile.am (src): Add w_sincos.c.
9504 (fsrc): Add wf_sincos.c.
9505 * libm/mathfp/Makefile.am (src): Add s_sincos.c
9506 (fsrc): Add sf_sincos.c.
9507
9508 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
9509
9510 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
9511 Declare as extern chars and use the address operator to
9512 properly use values set in linker script.
9513
9514 2002-08-09 Jason Tishler <jason@tishler.net>
9515
9516 * libc/stdlib/mallocr.c: Include <limits.h>.
9517 (request2size): Change macro to do
9518 unsigned long comparisons and avoid signed overflow.
9519 (mALLOc): Add overflow check for the number of bytes to allocate.
9520 (rEALLOc): Ditto.
9521
9522 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
9523
9524 * configure.host: Add check for --enable-newlib-io-pos-args
9525 and define WANT_IO_POS_ARGS flag if enabled. Define
9526 the flag by default for x86-linux configurations.
9527 * configure.in: Add support for --enable-newlib-io-pos-args.
9528 * libc/configure.in: Ditto.
9529 * configure: Regenerated.
9530 * libc/configure: Ditto.
9531 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
9532 vfprintf.c and vfiprintf.c.
9533 * libc/stdio/Makefile.in: Regenerated.
9534 * libc/stdio/vfprintf.c: Add positional argument support that
9535 is enabled by compiling with -DWANT_IO_POS_ARGS.
9536
9537 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
9538
9539 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
9540 based on __mips_soft_float rather than __mips64.
9541 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
9542 of both 32-bit and 64-bit code.
9543
9544 2002-08-04 Christopher Faylor <cgf@redhat.com>
9545
9546 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
9547 arguments for popen to match similar functionality in fopen.
9548
9549 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
9550
9551 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
9552
9553 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
9554
9555 * libc/sys/linux/Makefile.am: Add aio64.c.
9556 * libc/sys/linux/Makefile.in: Regenerated.
9557 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
9558 * libc/sys/linux/aio64.c: New file.
9559
9560 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
9561
9562 * libc/include/sys/param.h (MAX, MIN): Added macros.
9563 * libc/sys/linux/Makefile.am: Add new files.
9564 * libc/sys/linux/Makefile.in: Regenerated.
9565 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
9566 * libc/sys/linux/inode.c (fchdir): Added syscall.
9567 * libc/sys/linux/ftw.c: New file.
9568 * libc/sys/linux/ftw64.c: Ditto.
9569 * libc/sys/linux/getwd.c: Ditto.
9570 * libc/sys/linux/scandir64.c: Ditto.
9571 * libc/sys/linux/strverscmp.c: Ditto.
9572 * libc/sys/linux/versionsort.c: Ditto.
9573 * libc/sys/linux/versionsort64.c: Ditto.
9574
9575 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
9576
9577 * libc/string/strings.tex: Fix typo for memccpy.
9578
9579 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
9580
9581 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
9582 * libc/sys/linux/sys/types.h (off64_t): Definition added.
9583
9584 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
9585
9586 * libc/sys/linux/Makefile.am: Add fclean.c.
9587 * libc/sys/linux/Makefile.in: Regenerated.
9588 * libc/sys/linux/fclean.c: New file.
9589
9590 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
9591
9592 * libc/sys/linux/Makefile.am: Add confstr.c.
9593 * libc/sys/linux/Makefile.in: Regenerated.
9594 * libc/sys/linux/confstr.c: New file.
9595 * libc/sys/linux/confstr.h: Ditto.
9596 * libc/sys/linux/sys/unistd.h: Include <features.h> and
9597 <bits/environments.h>.
9598
9599 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
9600
9601 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
9602 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
9603 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
9604 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
9605 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
9606 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
9607
9608 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
9609
9610 * libc/sys/linux/Makefile.am: Add new files.
9611 * libc/sys/linux/Makefile.in: Regenerated.
9612 * libc/sys/linux/fstab.c: New file.
9613 * libc/sys/linux/fstatvfs.c: Ditto.
9614 * libc/sys/linux/fstatvfs64.c: Ditto.
9615 * libc/sys/linux/internal_statvfs.c: Ditto.
9616 * libc/sys/linux/mntent.c: Ditto.
9617 * libc/sys/linux/mntent_r.c: Ditto.
9618 * libc/sys/linux/statvfs.c: Ditto.
9619 * libc/sys/linux/statvfs64.c: Ditto.
9620 * libc/sys/linux/include/paths.h: Ditto.
9621 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
9622 with double-underscore weak-aliases.
9623 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
9624
9625 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
9626
9627 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
9628 to use _sig_func_ptr type casted constants.
9629 (_sig_func_ptr): Typedef moved to sys/signal.h.
9630 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
9631 For __rtems, use POSIX definition, otherwise default to ANSI.
9632 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
9633
9634 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
9635
9636 * configure.host: Recognize m6811-elf and m6812-elf targets.
9637 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
9638 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
9639 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
9640 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
9641 according to __INT_MAX__.
9642 (_POINTER_INT): Define to short.
9643 * libc/machine/m68hc11/Makefile.am: New file.
9644 * libc/machine/m68hc11/Makefile.in: New file.
9645 * libc/machine/m68hc11/configure.in: New file.
9646 * libc/machine/m68hc11/configure: New file.
9647 * libc/machine/m68hc11/aclocal.m4: New file.
9648 * libc/machine/m68hc11/setjmp.S: New file.
9649
9650 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
9651
9652 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
9653 prototypes.
9654 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
9655 * libc/stdlib/Makefile.in: Regenerated.
9656 * libc/stdlib/strdup.c: Removed.
9657 * libc/stdlib/strdup_r.c: Removed.
9658 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
9659 mempcpy.c, strndup.c, and strndup_r.c.
9660 * libc/string/Makefile.in: Regenerated.
9661 * libc/string/memccpy.c: New file.
9662 * libc/string/mempcpy.c: Ditto.
9663 * libc/string/strndup.c: Ditto.
9664 * libc/string/strndup_r.c: Ditto.
9665 * libc/string/strdup.c: New file moved from stdlib.
9666 * libc/string/strdup_r.c: Ditto.
9667 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
9668
9669 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
9670
9671 * libc/include/stdio.h: Move fcloseall prototype within
9672 #ifndef _REENT_ONLY section.
9673 * libc/sys/linux/Makefile.am: Add new files.
9674 * libc/sys/linux/Makefile.in: Regenerated.
9675 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
9676 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
9677 * libc/sys/linux/sys/types.h: Add ino64_t type.
9678 * libc/sys/linux/ctermid.c: New file.
9679 * libc/sys/linux/ttyname_r.c: Ditto.
9680 * libc/sys/linux/readdir64.c: Ditto.
9681
9682 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
9683
9684 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
9685 * libc/stdio/Makefile.am: Added fcloseall.c support.
9686 * libc/stdio/Makefile.in: Regenerated.
9687 * libc/stdio/fcloseall.c: New file.
9688 * libc/stdio64/Makefile.am: Remove missing .def references.
9689 * libc/stdio64/Makefile.in: Regenerated.
9690
9691 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
9692
9693 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
9694 * libc/machine/powerpc/times.c: New file.
9695 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
9696 * libc/machine/powerpc/Makefile.in: Regenerated.
9697
9698 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
9699
9700 * libc/machine/powerpc/time.c: New file.
9701 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
9702 time.c.
9703 * libc/machine/powerpc/Makefile.in: Regenerated.
9704
9705 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9706
9707 * libc/libc.texinfo: Change copyright notices to Red Hat from
9708 Cygnus.
9709 * libm/libm.texinfo: Likewise.
9710 * README: Change docs URL to
9711 http://sources.redhat.com/newlib/docs.html.
9712
9713 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
9714
9715 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
9716 * libc/sys/linux/Makefile.in: Regenerated.
9717 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
9718 * libc/sys/linux/io.c: Add ftruncate syscall.
9719 * libc/sys/linux/fpathconf.c: New file.
9720 * libc/sys/linux/pathconf.c: Ditto.
9721 * libc/sys/linux/linux_fsinfo.h: Ditto.
9722 * libc/sys/linux/sys/unistd.h: Ditto.
9723
9724 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
9725
9726 * libc/stdio64/Makefile.am: Remove missing files.
9727 * libc/stdio64/Makefile.in: Regenerated.
9728
9729 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
9730
9731 * libc/include/sys/config.h[__i386__][__linux__]: Define
9732 _LARGE64FILE_SOURCE to 1.
9733 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
9734 * libc/sys/linux/Makefile.in: Regenerated.
9735 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
9736 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
9737 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
9738 of <linux/resource.h>.
9739 * libc/sys/linux/getrlimit64.c: New file.
9740 * libc/sys/linux/setrlimit64.c: Ditto.
9741
9742 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9743
9744 * libc/argz/argz_replace.c: Include buf_findstr.h.
9745 * libc/argz/buf_findstr.c: Likewise.
9746 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
9747 value to (char *).
9748 * libc/argz/envz_get.c: Likewise.
9749 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
9750 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
9751 * libc/stdlib/getsubopt.3: New file.
9752 * libc/stdlib/getsubopt.c: New file.
9753 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
9754 Change esp to ebp.
9755
9756 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
9757
9758 * configure.host(stdio64_dir): New setting that is used to
9759 enable building of new stdio64 directory.
9760 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
9761 large files.
9762 (stmp-stdio64,stdio64.texi): New targets to optionally add in
9763 stdio64 info to info files.
9764 * libc/Makefile.in: Regenerated.
9765 * libc/configure: Ditto.
9766 * libc/configure.in: Add configuration variables that are set
9767 when stdio64 is selected as subdir in configure.host.
9768 * libc/libc.texinfo: Add optional menu item for Stdio64, based
9769 on whether STDIO64 flag is set or not.
9770 * libc/sys.tex: Add optional stdio64 syscalls based on whether
9771 STDIO64 flag is set or not.
9772 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
9773 _r sycall routines.
9774 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
9775 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
9776 (__SL64): New file flag indicating file is opened via fopen64.
9777 * libc/include/sys/_types.h(_off64_t): Added.
9778 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
9779 * libc/include/sys/reent.h(struct __sFILE64): New file structure
9780 for 64-bit offset large file support.
9781 (__FILE): New intermediate type either set to struct __sFILE64 or
9782 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
9783 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
9784 * libc/reent/Makefile.in: Regenerated.
9785 * libc/reent/fstat64r.c: New file.
9786 * libc/reent/lseek64r.c: Ditto.
9787 * libc/reent/open64r.c: Ditto.
9788 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
9789 based on whether STDIO64 flag is set.
9790 * libc/stdio/stdio.tex: Add blank line.
9791 * libc/stdio64/Makefile.am: New file.
9792 * libc/stdio64/Makefile.in: Ditto.
9793 * libc/stdio64/fgetpos64.c: Ditto.
9794 * libc/stdio64/fopen64.: Ditto.
9795 * libc/stdio64/freopen64.c: Ditto.
9796 * libc/stdio64/fseeko64.c: Ditto.
9797 * libc/stdio64/fsetpos64.c: Ditto.
9798 * libc/stdio64/ftello64.c: Ditto.
9799 * libc/stdio64/local64.h: Ditto.
9800 * libc/stdio64/stdio64.c: Ditto.
9801 * libc/stdio64/stdio64.tex: Ditto.
9802 * libc/stdio64/tmpfile64.c: Ditto.
9803 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
9804 open64.
9805
9806 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
9807
9808 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
9809 if LIBC_EXTRA_LIB is present.
9810 * libc/Makefile.in: Regenerated.
9811 * libc/libc.texinfo: Add blank line.
9812 * libc/argz/Makefile.am: Add doc support.
9813 * libc/search/Makefile.am: Ditto.
9814 * libc/argz/Makefile.in: Regenerated.
9815 * libc/search/Makefile.in: Ditto.
9816 * libc/misc/misc.tex: Add ffs function.
9817 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
9818
9819 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
9820
9821 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
9822 definition that was removed in error.
9823
9824 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
9825
9826 * libc/include/machine/ieeefp.h: Change to only define
9827 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
9828 __IEEE_LITTLE_ENDIAN must be defined for each platform).
9829 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
9830 remove redundant floating point definitions.
9831
9832 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
9833
9834 * libc/sys/linux/callocr.c: Fix so code references
9835 calloc.
9836
9837 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
9838
9839 * libc/sys/linux/Makefile.am: Add new files.
9840 * libc/sys/linux/Makefile.in: Regenerated.
9841 * libc/sys/linux/bp-sym.h: Moved to include directory.
9842 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
9843 * libc/sys/linux/inode.c: Set _LIBC to 1.
9844 * libc/sys/linux/mq_close.c: Ditto.
9845 * libc/sys/linux/mq_getattr.c: Ditto.
9846 * libc/sys/linux/mq_open.c: Ditto.
9847 * libc/sys/linux/mq_receive.c: Ditto.
9848 * libc/sys/linux/mq_send.c: Ditto.
9849 * libc/sys/linux/mq_setattr.c: Ditto.
9850 * libc/sys/linux/mq_unlink.c: Ditto.
9851 * libc/sys/linux/calloc.c: New file.
9852 * libc/sys/linux/callocr.c: Ditto.
9853 * libc/sys/linux/cfreer.c: Ditto.
9854 * libc/sys/linux/config.h: Ditto.
9855 * libc/sys/linux/free.c: Ditto.
9856 * libc/sys/linux/freer.c: Ditto.
9857 * libc/sys/linux/msize.c: Ditto.
9858 * libc/sys/linux/msizer.c: Ditto.
9859 * libc/sys/linux/mstats.c: Ditto.
9860 * libc/sys/linux/mtrim.c: Ditto.
9861 * libc/sys/linux/mtrimr.c: Ditto.
9862 * libc/sys/linux/pvallocr.c: Ditto.
9863 * libc/sys/linux/realloc.c: Ditto.
9864 * libc/sys/linux/reallocr.c: Ditto.
9865 * libc/sys/linux/thread-m.h: Ditto.
9866 * libc/sys/linux/vallocr.c: Ditto.
9867 * libc/sys/linux/bp-checks.h: Ditto.
9868 * libc/sys/linux/libc-symbols.h: Ditto.
9869 * libc/sys/linux/libc-tsd.h: Ditto.
9870 * libc/sys/linux/libintl.h: Ditto.
9871 * libc/sys/linux/malign.c: Ditto.
9872 * libc/sys/linux/malignr.c: Ditto.
9873 * libc/sys/linux/mallinfor.c: Ditto.
9874 * libc/sys/linux/malloc.c: Ditto.
9875 * libc/sys/linux/mallocr.c: Ditto.
9876 * libc/sys/linux/malloptr.c: Ditto.
9877 * libc/sys/linux/mallstatsr.c: Ditto.
9878 * libc/sys/linux/mcheck.c: Ditto.
9879 * libc/sys/linux/mhooks.h: Ditto.
9880 * libc/sys/linux/include/bp-sym.h: Ditto.
9881 * libc/sys/linux/include/malloc.h: Ditto.
9882 * libc/sys/linux/include/mcheck.h: Ditto.
9883 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
9884 getpagesize.c.
9885 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
9886 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
9887 * libc/sys/linux/machine/i386/getpagesize.c: New file.
9888 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
9889 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9890 * libc/sys/linux/machine/i386/sysdep.h: New file.
9891 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
9892 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
9893 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
9894
9895 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
9896
9897 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
9898 instead of <asm/siginfo.h>.
9899 * libc/sys/linux/sys/signal.h: Change to include various linux
9900 <bits/xxx.h> header files, rather than <linux/signal.h> so as
9901 to work with multiple releases of glibc header files.
9902
9903 2002-07-11 Chris Demetriou <cgd@broadcom.com>
9904
9905 * testsuite/newlib.search/hsearchtest.c: New file to test
9906 newlib/libc/search.
9907 * testsuite/newlib.search/hsearchtest.exp: Likewise.
9908
9909 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
9910
9911 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
9912 a terminal.
9913 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
9914
9915 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
9916
9917 * libc/include/math.h (MAXFLOAT): Added.
9918
9919 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
9920
9921 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
9922 Make strcmp.S unconditional.
9923 * libc/machine/sh/Makefile.in: Regenerate.
9924 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
9925 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
9926 for SHcompact.
9927
9928 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
9929
9930 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
9931 define before including <sys/lock.h>.
9932
9933 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
9934
9935 * libc/include/utime.h: Add include of <_ansi.h>.
9936 * libc/sys/linux/Makefile.am: Add utimes.c.
9937 * libc/sys/linux/Makefile.in: Regenerated.
9938 * libc/sys/linux/inode.c(__umask): New static routine.
9939 (umask): Written to use __umask and attempt to thread lock.
9940 (getumask): New function written to use __umask and thread lock.
9941 * libc/sys/linux/utimes.c: New file.
9942 * libc/sys/linux/sys/time.h: Fix utimes prototype.
9943 * libc/sys/linux/sys/utime.h: New file.
9944
9945 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
9946
9947 * libtool.m4: New file.
9948 * libc/sys/linux/process.c: Implement vfork in terms of fork,
9949 rather than as a syscall.
9950
9951 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
9952
9953 * libc/include/stdio.h: Add new prototypes.
9954 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
9955 * libc/stdio/Makefile.in: Regenerated.
9956 * libc/stdio/fseek.c: Add fseeko documentation.
9957 * libc/stdio/ftell.c: Add ftello documentation.
9958 * libc/stdio/fseeko.c: New file.
9959 * libc/stdio/ftello.c: New file.
9960
9961 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
9962
9963 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
9964 * libc/stdio/Makefile.in: Regenerated.
9965 * libc/stdio/asprintf.c: New file.
9966 * libc/stdio/vasprintf.c: Ditto.
9967 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
9968 the buffer for asprintf support.
9969 * libc/stdio/sprintf.c: Add asprintf documentation.
9970 * libc/stdio/vfprintf.c: Add vasprintf documentation.
9971 * libc/include/stdio.h: Add new prototypes.
9972
9973 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
9974
9975 * libc/search/hcreate.c: Remove advertising clause from license.
9976 * libc/search/hcreate_r.c: Likewise.
9977
9978 2002-07-02 Chris Demetriou <cgd@broadcom.com>
9979
9980 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
9981 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
9982 Check that one of them is defined and error out if not.
9983 Add any platforms defined in <machine/ieeefp.h> that are missing.
9984 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
9985 (DB_LITTLE_ENDIAN): New defines.
9986 * libc/search/hash.c: Replace all incorrect checks for
9987 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
9988 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
9989 * libc/search/hash_page.c: Likewise.
9990
9991 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
9992
9993 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
9994
9995 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
9996
9997 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
9998 * libc/include/time.h: Same.
9999 * libc/include/string.h: Same.
10000 * libc/include/stdlib.h: Same.
10001 * libc/include/signal.h: Same.
10002 * libc/include/setjmp.h: Same.
10003 * libc/include/math.h: Same.
10004 * libc/include/locale.h: Same.
10005 * libc/include/ctype.h: Same.
10006 * libc/include/machine/setjmp.h: Same.
10007 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
10008 (_END_STD_C): Add.
10009
10010 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
10011
10012 * libc/include/sys/_types.h: Define _ssize_t as int if int is
10013 32-bits, otherwise define it as long.
10014 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
10015 and define ssize_t as _ssize_t.
10016 * libc/reent/readr.c: Change return type to _ssize_t.
10017 * libc/reent/writer.c: Ditto.
10018 * libc/sys/linux/Makefile.am: Add aio.c.
10019 * libc/sys/linux/Makefile.in: Regenerated.
10020 * libc/sys/linux/aio.c: New file.
10021 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
10022 * libm/common/fdlibm.h: Undef __P before defining it.
10023
10024 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
10025
10026 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
10027 exponent_is_even_int variable. Handle case where x is
10028 negative, and y is an odd integer.
10029 * libm/mathfp/sf_pow.c (powf): Likewise.
10030
10031 * libm/mathfp/er_lgamma.c: Remove __kernel references.
10032 * libm/mathfp/erf_lgamma.c: Likewise.
10033 * libm/mathfp/s_tgamma.c: Likewise.
10034 * libm/mathfp/sf_tgamma.c: Likewise.
10035
10036 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
10037
10038 * libc/sys/linux/Makefile.am: Add new clock routines.
10039 * libc/sys/linux/Makefile.in: Regenerated.
10040 * libc/sys/linux/clock_getres.c: New file.
10041 * libc/sys/linux/clock_gettime.c: Ditto.
10042 * libc/sys/linux/clock_settime.c: Ditto.
10043 * libc/sys/linux/hp-timing.h: Ditto.
10044 * libc/sys/linux/libc-internal.h: Ditto.
10045 * libc/sys/linux/sysconf.c: Fix typo.
10046 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
10047 * libc/sys/linux/machine/hp-timing.h: New file.
10048 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
10049 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10050 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
10051 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
10052 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
10053 * libc/sys/linux/sys/linux_time.h: New file.
10054 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
10055 replace with <sys/linux_time.h>.
10056
10057 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
10058
10059 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
10060
10061 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
10062
10063 * libc/sys/linux/Makefile.am: Consolidate additional items under
10064 ADD_OBJS.
10065 * libc/sys/linux/Makefile.in: Regenerated.
10066
10067 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
10068
10069 * libc/sys/linux/sethostname.c: New file.
10070 * libc/sys/linux/Makefile.am: Add sethostname.c support.
10071 * libc/sys/linux/Makefile.in: Regenerated.
10072
10073 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10074
10075 * libc/search/db_local.h: New file.
10076 * libc/include/db.h: Remove.
10077 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
10078 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
10079 "db_local.h".
10080 * libc/search/hash_bigkey.c: Likewise.
10081 * libc/search/hash_buf.c: Likewise.
10082 * libc/search/hash_func.c: Likewise.
10083 * libc/search/hash_log2.c: Likewise.
10084 * libc/search/hash_page.c: Likewise.
10085
10086 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
10087
10088 * libc/machine/sh/strlen.S: New file.
10089 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
10090 * libc/machine/sh/Makefile.am: Regenerate.
10091
10092 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
10093
10094 * libc/sys/linux/gethostname.c: Change name to __gethostname and
10095 add gethostname alias.
10096
10097 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
10098
10099 * libc/include/math.h: Remove <sys/types.h>.
10100 (__dmath): Use __ULong instead of __uint32_t.
10101 * libc/include/sys/reent.h: If long or int is not 32-bits,
10102 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
10103 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
10104 * libm/common/fdlibm.h: Ditto.
10105
10106 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10107
10108 * libc/include/ndbm.h: Remove.
10109 * libc/search/ndbm.c: Remove.
10110
10111 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
10112
10113 * libc/stdio/fseek.c (fseek): Fix braces.
10114
10115 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
10116
10117 * libc/time/strftime.c (strftime): Add %e format specifier.
10118
10119 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10120
10121 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
10122 previously defined.
10123
10124 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
10125
10126 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
10127 (BYTE_ORDER): Define as appropriate for the target.
10128
10129 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
10130
10131 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
10132 to _ssize_t.
10133 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
10134
10135 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
10136
10137 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
10138 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
10139 [HAVE_GETDATE](getdate_err): New error code.
10140 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
10141 * libc/stdio/Makefile.in: Regenerated.
10142 * libc/stdio/getdelim.c: New file.
10143 * libc/stdio/getline.c: Ditto.
10144 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
10145 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
10146 * libc/sys/linux/Makefile.in: Regenerated.
10147 * libc/sys/linux/getdate.c: New file.
10148 * libc/sys/linux/getdate_err.c: Ditto.
10149 * libc/sys/linux/ntp_gettime.c: Ditto.
10150 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
10151 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
10152
10153 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
10154
10155 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
10156 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
10157 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
10158 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
10159 * libc/include/sys/param.h: Remove i386 case which is handled
10160 by default case.
10161 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
10162 definitions in case they are already defined.
10163 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
10164 _IEEE_LITTLE_ENDIAN flags.
10165 * libc/include/sys/reent.h: Change __uint32_t references to
10166 use _ULong instead.
10167 (_REENT_GETDATE_REENT_P): New macro.
10168 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
10169 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
10170 * libc/search/hash.h: Add default setting of BYTE_ORDER,
10171 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
10172 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
10173 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
10174 pid_t, off_t, loff_t, caddr_t, and daddr_t type
10175 definitions which are done by subsequent glibc headers.
10176 Add macro definitions to prevent subsequent header files from
10177 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
10178 intptr_t to after glibc definitions of types they are based on.
10179
10180 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
10181
10182 * libc/include/errno.h: Protect from multiple inclusion.
10183
10184 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
10185
10186 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
10187
10188 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10189
10190 * Makefile.am (LIB_OBJECTLISTS): Add
10191 libc/search/objectlist.awk.in.
10192 * libc/Makefile.am (SUBDIRS): Add search.
10193 (SUBLIBS): Add search/libsearch.la.
10194 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
10195 * libc/search: New directory.
10196 * libc/search/Makefile.am: New file.
10197 * libc/search/extern.h: New file.
10198 * libc/search/hash.c: New file.
10199 * libc/search/hash.h: New file.
10200 * libc/search/hash_bigkey.c: New file.
10201 * libc/search/hash_buf.c: New file.
10202 * libc/search/hash_func.c: New file.
10203 * libc/search/hash_log2.c: New file.
10204 * libc/search/hash_page.c: New file.
10205 * libc/search/hcreate.3: New file.
10206 * libc/search/hcreate.c: New file.
10207 * libc/search/hcreate_r.c: New file.
10208 * libc/search/ndbm.c: New file.
10209 * libc/search/page.h: New file.
10210 * libc/search/tdelete.c: New file.
10211 * libc/search/tdestroy.c: New file.
10212 * libc/search/tfind.c: New file.
10213 * libc/search/tsearch.3: New file.
10214 * libc/search/tsearch.c: New file.
10215 * libc/search/twalk.c: New file.
10216 * libc/include/db.h: New file.
10217 * libc/include/ndbm.h: New file.
10218 * libc/include/search.h: New file.
10219 * libc/include/sys/queue.h: New file.
10220 * libc/include/sys/cdefs.h: New file.
10221 * libc/include/sys/param.h
10222 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
10223 LITTLE_ENDIAN or BIG_ENDIAN.
10224 * libc/include/sys/errno.h (EFTYPE): New macro.
10225 * libc/search/bsearch.c: Move from libc/stdlib.
10226 * libc/search/qsort.c: Likewise.
10227 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
10228 qsort.c.
10229 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
10230 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
10231
10232 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
10233
10234 * libc/sys/linux/Makefile.am: Add support for message queue routines,
10235 ipc routines, and ftok.
10236 * libc/sys/linux/Makefile.in: Regenerated.
10237 * libc/sys/linux/ftok.c: New file.
10238 * libc/sys/linux/ipc.c: Ditto.
10239 * libc/sys/linux/mq_close.c: Ditto.
10240 * libc/sys/linux/mq_getattr.c: Ditto.
10241 * libc/sys/linux/mq_notify.c: Ditto.
10242 * libc/sys/linux/mq_open.c: Ditto.
10243 * libc/sys/linux/mq_receive.c: Ditto.
10244 * libc/sys/linux/mq_send.c: Ditto.
10245 * libc/sys/linux/mq_setattr.c: Ditto.
10246 * libc/sys/linux/mq_unlink.c: Ditto.
10247 * libc/sys/linux/mqlocal.h: Ditto.
10248 * libc/sys/linux/include/mqueue.h: Ditto.
10249 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
10250 __uid_t_defined.
10251
10252 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
10253
10254 * libm/common/sf_lround.c (round): Change name to: (lround).
10255 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
10256 remquof.
10257
10258 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10259
10260 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
10261 procedure.
10262 (newlib_pass_fail): Change to compile and run only one file.
10263 * testsuite/newlib.locale/locale.exp: Use new
10264 newlib_pass_fail_all procedure.
10265 * testsuite/newlib.string/string.exp: Likewise.
10266
10267 2002-06-18 Dave Brolley <brolley@redhat.com>
10268
10269 From Catherine Moore, Michael Meissner, Richard Sandiford:
10270 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
10271 (_JBTYPE): Ditto.
10272 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
10273 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
10274 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
10275 * configure.host: Support frv-*-*.
10276 * libc/machine/frv/Makefile.am: New file.
10277 * libc/machine/frv/configure.in: New file.
10278 * libc/machine/frv/setjmp.S: New file.
10279
10280 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10281
10282 * libc/include/ctype.h: Remove isblank macro.
10283
10284 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
10285 * libc/ctype/isblank.c: New file.
10286 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
10287 declaration. Add isblank macro.
10288
10289 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
10290
10291 * testsuite/newlib.stdlib/atexit.c: New file.
10292 * testsuite/newlib.stdlib/atexit.exp: Ditto.
10293 * testsuite/newlib.string/tstring.c: Change default start size
10294 to something more reasonable for embedded platforms.
10295
10296 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10297
10298 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
10299
10300 * libc/argz: New directory.
10301 * libc/argz/*: New files.
10302 * libc/argz/argz_add.c: New file.
10303 * libc/argz/argz_add_sep.c: New file.
10304 * libc/argz/argz_append.c: New file.
10305 * libc/argz/argz_count.c: New file.
10306 * libc/argz/argz_create.c: New file.
10307 * libc/argz/argz_create_sep.c: New file.
10308 * libc/argz/argz_delete.c: New file.
10309 * libc/argz/argz_extract.c: New file.
10310 * libc/argz/argz_insert.c: New file.
10311 * libc/argz/argz_next.c: New file.
10312 * libc/argz/argz_replace.c: New file.
10313 * libc/argz/argz_stringify.c: New file.
10314 * libc/argz/buf_findstr.c: New file.
10315 * libc/argz/envz_add.c: New file.
10316 * libc/argz/envz_entry.c: New file.
10317 * libc/argz/envz_get.c: New file.
10318 * libc/argz/envz_merge.c: New file.
10319 * libc/argz/envz_remove.c: New file.
10320 * libc/argz/envz_strip.c: New file.
10321 * libc/include/argz.h: New file.
10322 * libc/include/envz.h: New file.
10323 * Makefile.am (LIBC_OBJECTLISTS): Add
10324 libc/argz/objectlist.awk.in.
10325 * libc/Makefile.am (SUBDIRS): Add argz.
10326 (SUBLIBS): Add argz/libargz.la.
10327 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
10328 * libc/include/errno.h: Add error_t typedef.
10329
10330 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
10331
10332 * libc/include/stdlib.h: Add _Exit prototype.
10333 * libc/stdlib/Makefile.am: Add _Exit.c support.
10334 * libc/stdlib/Makefile.in: Ditto.
10335 * libc/stdlib/_Exit.c: New file.
10336
10337 2002-06-13 Stephen L. Moshier <steve@moshier.net>
10338
10339 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
10340 x is close to -1.0 and y is very large to use ax (absolute value)
10341 instead of x.
10342 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
10343
10344 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
10345
10346 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
10347 Fix clobbering bytes before destination if src and dst have same
10348 non-zero misalignment.
10349
10350 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
10351 Fixed bug in writing end of set region.
10352
10353 2002-06-10 Christopher Faylor <cgf@redhat.com>
10354
10355 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
10356 spawnve declaration.
10357
10358 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
10359
10360 * libm/common/s_fdim.c: New file.
10361 * libm/common/s_fma.c: Likewise.
10362 * libm/common/s_fmax.c: Likewise.
10363 * libm/common/s_fmin.c: Likewise.
10364 * libm/common/s_fpclassify.c: Likewise.
10365 * libm/common/s_lrint.c: Likewise.
10366 * libm/common/s_lround.c: Likewise.
10367 * libm/common/s_nearbyint.c: Likewise.
10368 * libm/common/s_remquo.c: Likewise.
10369 * libm/common/s_round.c: Likewise.
10370 * libm/common/s_scalbln.c: Likewise.
10371 * libm/common/s_signbit.c: Likewise.
10372 * libm/common/s_trunc.c: Likewise.
10373 * libm/common/sf_fdim.c: Likewise.
10374 * libm/common/sf_fma.c: Likewise.
10375 * libm/common/sf_fmax.c: Likewise.
10376 * libm/common/sf_fmin.c: Likewise.
10377 * libm/common/sf_lrint.c: Likewise.
10378 * libm/common/sf_lround.c: Likewise.
10379 * libm/common/sf_nearbyint.c: Likewise.
10380 * libm/common/sf_remquo.c: Likewise.
10381 * libm/common/sf_round.c: Likewise.
10382 * libm/common/sf_scalbln.c: Likewise.
10383 * libm/common/sf_trunc.c: Likewise.
10384 * libm/math/w_exp2.c: Likewise.
10385 * libm/math/w_tgamma.c: Likewise.
10386 * libm/math/wf_exp2.c: Likewise.
10387 * libm/math/wf_tgamma.c: Likewise.
10388 * libm/mathfp/s_exp2.c: Likewise.
10389 * libm/mathfp/s_tgamma.c: Likewise.
10390 * libm/mathfp/sf_exp2.c: Likewise.
10391 * libm/mathfp/sf_tgamma.c: Likewise.
10392 * libm/math/er_gamma.c: Fix return value.
10393 * libm/math/erf_gamma.c: Likewise.
10394 * libm/mathfp/er_gamma.c: Likewise.
10395 * libm/mathfp/erf_gamma.c: Likewise.
10396 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
10397 declarations and macros.
10398 Regenerated all Makefile.in, aclocal.m4 and configure files to
10399 use new libtool macros in top-level libtool.m4
10400
10401 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
10402
10403 * libc/include/string.h[__linux__]: Add strsignal prototype.
10404 * libc/include/sys/lock.h: New file with default locking support.
10405 * libc/include/sys/reent.h: Add signal buffer support for strsignal
10406 and psignal.
10407 * libc/posix/Makefile.am: Add support for readdir_r.c.
10408 * libc/posix/Makefile.in: Regenerated.
10409 * libc/posix/closedir.c: Add locking support and hash table cleanup.
10410 * libc/posix/opendir.c: Add lock support.
10411 * libc/posix/readdir.c: Ditto.
10412 * libc/posix/rewinddir.c: Ditto.
10413 * libc/posix/scandir.c: Ditto.
10414 * libc/posix/seekdir.c: Ditto.
10415 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
10416 clean up leftover hash table entries.
10417 * libc/posix/readdir_r.c: New file.
10418 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
10419 * libc/sys/linux/Makefile.in: Regenerated.
10420 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
10421 * libc/sys/linux/sys/signal.h: Add psignal prototype.
10422 * libc/sys/linux/psignal.c: New file.
10423 * libc/sys/linux/strsignal.c: Ditto.
10424
10425 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
10426
10427 * libc/include/sys/types.h: Don't define dev_t when compiling for
10428 Cygwin.
10429
10430 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
10431
10432 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
10433 make siglist.inc dependent on sig.c instead of signal.c.
10434 * libc/sys/linux/Makefile.in: Regenerated.
10435 * libc/sys/linux/sig.c: Rename from signal.c and change code to
10436 use NSIG instead of _NSIG.
10437 * libc/sys/linux/sigaction.c: New file.
10438 * libc/sys/linux/signal.c: Changed to be linux signal() function
10439 so as to override regular newlib default signal.c.
10440 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
10441 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10442 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
10443 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
10444 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
10445 default linux sigset_t typedef by defining it equal to __sigset_t.
10446 * libc/unix/sigset.c: Add check so code isn't compiled on systems
10447 with a sigset_t that isn't implemented with a single int.
10448
10449 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
10450
10451 * libc/sys/linux/Makefile.am: Add support for new files.
10452 * libc/sys/linux/Makefile.in: Regenerated.
10453 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
10454 * libc/sys/linux/signal.c: Change to use real-time syscalls for
10455 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
10456 it is in a separate file now.
10457 * libc/sys/linux/machine/i386/Makefile.am
10458 * libc/sys/linux/machine/i386/Makefile.in
10459 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
10460 * libc/sys/linux/sigaction.c: New file.
10461 * libc/sys/linux/sigqueue.c: Ditto.
10462 * libc/sys/linux/sigwait.c: Ditto.
10463 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
10464 * libc/sys/linux/kernel_sigaction.h: Ditto.
10465
10466 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
10467
10468 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
10469 tcsendbrk.c.
10470 * libc/sys/linux/Makefile.in: Regenerated.
10471 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
10472 tcgetpgrp(), and tcsetpgrp() functions.
10473 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
10474 to get __MAX_BAUD rate.
10475 * libc/sys/linux/machine/i386/include/termios.h: New file.
10476 * libc/include/machine/termios.h: Ditto.
10477 * libc/sys/linux/cfspeed.c: Ditto.
10478 * libc/sys/linux/tcsendbrk.c: Ditto.
10479
10480 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
10481
10482 * libc/include/string.h: Add strnlen and strerror_r prototypes.
10483 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
10484 * libc/string/Makefile.in: Regenerated.
10485 * libc/string/strerror_r.c: New file.
10486 * libc/string/strnlen.c: New file.
10487 * libc/sys/linux/Makefile.am: Add rename.c.
10488 * libc/sys/linux/Makefile.in: Regenerated.
10489 * libc/sys/linux/rename.c: New file to override default rename.
10490
10491 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10492
10493 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
10494 * libc/sys/linux/sys/time.h: Add conversion macros.
10495 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
10496 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
10497 * libc/sys/linux/gethostname.c: New file.
10498 * libc/sys/linux/seteuid.c: New file.
10499 * libc/sys/linux/sysctl.c: New file.
10500
10501 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
10502
10503 * libc/string/Makefile.am: Add support for strsep.c.
10504 * libc/string/Makefile.in: Regenerated.
10505 * libc/string/strsep.c: New file.
10506 * libc/string/strtok.c: Change to call __strtok_r service routine.
10507 * libc/string/strtok_r.c: Add __strtok_r routine which takes
10508 additional flag parameter regarding whether to skip leading delimeters.
10509 Change strtok_r to call __strtok_r.
10510
10511 2002-05-23 Gareth Pearce <tilps@hotmail.com>
10512
10513 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
10514 * libc/stdio/Makefile.in: Regenerated.
10515 * libc/stdio/setbuffer.c: New file.
10516 * libc/stdio/setlinebuf.c: New file.
10517
10518 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
10519
10520 * libc/sys/linux/Makefile.am: Add resource.c.
10521 * libc/sys/linux/Makefile.in: Regenerated.
10522 * libc/sys/linux/resource.c: New file.
10523 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
10524 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
10525 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10526 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
10527 are now found in libc/sys/linux/resource.c.
10528
10529 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
10530
10531 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
10532 to use void * pointers and comply with Single Unix spec.
10533 * libc/string/bcmp.c: Change to use void * instead of char *.
10534 * libc/string/bcopy.c: Ditto.
10535 * libc/string/bzero.c: Ditto.
10536
10537 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
10538
10539 * libc/sys/linux/shm_open.c: New file.
10540 * libc/sys/linux/shm_unlink.c: Ditto.
10541 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
10542 shm_unlink.c.
10543 * libc/sys/linux/Makefile.in: Regenerated.
10544 * libc/sys/linux/sys/types.h: Add some additional checks to see
10545 if clock_t or time_t is already defined.
10546
10547 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
10548
10549 * Makefile.am: Don't pass $toollibdir down directly in
10550 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
10551 Pass it under the name: top_toollibdir.
10552 * Makefile.in: Regenerated.
10553
10554 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
10555
10556 * libc/include/sys/types.h: Revert previous patch.
10557
10558 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
10559
10560 * libc/include/sys/types.h: Include cygwin/types.h always under
10561 Cygwin, not only if _POSIX_THREADS is defined.
10562
10563 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
10564
10565 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
10566
10567 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
10568
10569 * Makefile.am: Copy and install headers from sys/machine/include
10570 directory. Also pass $toollibdir to lower-level directories.
10571 * Makefile.in: Regenerated.
10572 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
10573 stderr to use _REENT macro instead of _impure_ptr directly.
10574 * libc/include/sys/config.h[__i386__][__linux__]: Define
10575 __DYNAMIC_REENT__.
10576 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
10577 call to __getreent() function if !__SINGLE_THREAD__ and
10578 __DYNAMIC_REENT__ is set.
10579 * libc/reent/Makefile.am: Add support for getreent.c.
10580 * libc/reent/Makefile.in: Regenerated.
10581 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
10582 * libc/sys/linux/Makefile.am: Add support for new files.
10583 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
10584 * libc/sys/linux/Makefile.in: Regenerated.
10585 * libc/sys/linux/configure: Ditto.
10586 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
10587 __close, __read, __write, __poll, __open, __lseek, __fcntl from
10588 their __libc_ counterparts.
10589 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
10590 and weak-alias to regular names.
10591 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
10592 to pread64 and __pread64.
10593 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
10594 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
10595 weak-alias to pwrite64.
10596 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
10597 __libc_sched_getscheduler, __libc_sched_get_priority_max,
10598 __libc_sched_get_priority_min, and __libc_sched_setschedule to
10599 name with __ instead of __libc_.
10600 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
10601 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
10602 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
10603 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
10604 to raise.
10605 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
10606 __libc_send to __send.
10607 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
10608 __gettimeofday.
10609 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
10610 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
10611 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
10612 type and typedef __jmp_buf to jmp_buf.
10613 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
10614 setjmp.S.
10615 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10616 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
10617 section.
10618 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
10619 prefix for function macros and then use weak_alias() to regular names.
10620 * libc/sys/linux/machine/i386/syscall.h: Ditto.
10621 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
10622 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
10623 to be flockfile() and funlockfile() respectively.
10624 * libc/sys/linux/sys/types.h
10625 * libc/reent/getreent.c: New file.
10626 * libc/sys/linux/flockfile.c: Ditto.
10627 * libc/sys/linux/funlockfile.c: Ditto.
10628 * libc/sys/linux/getreent.c: Ditto.
10629 * libc/sys/linux/pread.c: Ditto.
10630 * libc/sys/linux/pwrite.c: Ditto.
10631 * libc/sys/linux/raise.c: Ditto.
10632 * libc/sys/linux/system.c: Ditto.
10633 * libc/sys/linux/tcdrain.c: Ditto.
10634 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
10635 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
10636 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
10637 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
10638 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
10639
10640 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
10641
10642 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
10643 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
10644 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
10645 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
10646
10647 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
10648
10649 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
10650 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
10651 exit point.
10652
10653 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
10654
10655 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
10656 options when testing natively on i[3456]86-*-linux.
10657
10658 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
10659 only one pass or fail per test file. Trim \r's from output
10660 values received from test programs. Remove support for named
10661 tests.
10662 * testsuite/newlib.locale/UTF-8.exp: Update to support new
10663 newlib_check_output behaviour.
10664 * testsuite/newlib.locale/UTF-8.c: Likewise.
10665
10666 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
10667
10668 * libc/include/stdlib.h: Add on_exit prototype.
10669 * libc/include/sys/reent.h (struct _atexit): Add argument array
10670 and bits to track type of exit routine to support both on_exit
10671 and atexit.
10672 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
10673 by default and change the setting of the atexit structure.
10674 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
10675 * libc/stdlib/on_exit.c: New file.
10676 * libc/stdlib/Makefile.am: Add support for on_exit.
10677 * libc/stdlib/Makefile.in: Regenerated.
10678 * libc/stdlib/atexit.c: Change to initialize types field.
10679 * libc/stdlib/exit.c: Change to look at types field for each
10680 exit routine and either call an atexit-style or an on_exit-style
10681 routine accordingly.
10682
10683 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
10684
10685 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
10686 allow v specifier with n or L specifiers. For vector c format,
10687 move tmp declaration to the top.
10688
10689 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
10690
10691 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
10692 the original format specifier when looping for vectors to compensate
10693 for any changes made in vector %g format processing.
10694 Also add syntax checking for various invalid scenarios
10695 involving vector format extensions.
10696 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
10697 return code setting for vector formats. Also treat vector
10698 separator mismatch as a match error instead of an input error.
10699 Perform some syntax checking for vector formats.
10700
10701 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10702
10703 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
10704 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
10705 * libc/string/strlcat.c: New file.
10706 * libc/string/strlcpy.c: New file.
10707
10708 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
10709
10710 * libc/string/strchr.c: Fix comment typo.
10711
10712 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
10713
10714 * acinclude.m4: Add support for --enable-newlib-multithread.
10715 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
10716 --enable-newlib-multithread=no.
10717
10718 * libc/stdio/getc_u.c: New file.
10719 * libc/stdio/getchar_u.c: New file.
10720 * libc/stdio/putc_u.c: New file.
10721 * libc/stdio/putchar_u.c: New file.
10722 * libc/include/stdio.h: Add declarations for getc_unlocked,
10723 getchar_unlocked, putc_unlocked and putchar_unlocked.
10724 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
10725 (CHEWOUT_FILES): Add new files' .def's.
10726 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
10727
10728 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
10729
10730 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
10731 Also handle as single quad word when destination ends at last
10732 byte of first quad word. Fix byte selection in single quad code.
10733
10734 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
10735
10736 * libc/include/sys/stdio.h: New file.
10737 * libc/sys/linux/sys/stdio.h: New file.
10738 * libc/include/stdio.h: Add declarations for flockfile,
10739 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
10740 * libc/stdio/clearerr.c: Add file locking.
10741 * libc/stdio/fclose.c: Likewise.
10742 * libc/stdio/feof.c: Likewise.
10743 * libc/stdio/ferror.c: Likewise.
10744 * libc/stdio/fflush.c: Likewise.
10745 * libc/stdio/fgetc.c: Likewise.
10746 * libc/stdio/fgetpos.c: Likewise.
10747 * libc/stdio/fgets.c: Likewise.
10748 * libc/stdio/fileno.c: Likewise.
10749 * libc/stdio/fputc.c: Likewise.
10750 * libc/stdio/fputs.c: Likewise.
10751 * libc/stdio/fread.c: Likewise.
10752 * libc/stdio/freopen.c: Likewise.
10753 * libc/stdio/fseek.c: Likewise.
10754 * libc/stdio/ftell.c: Likewise.
10755 * libc/stdio/fwrite.c: Likewise.
10756 * libc/stdio/getc.c: Likewise.
10757 * libc/stdio/putc.c: Likewise.
10758 * libc/stdio/setvbuf.c: Likewise.
10759 * libc/stdio/ungetc.c: Likewise.
10760 * libc/stdio/vfprintf.c: Likewise.
10761
10762 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
10763
10764 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
10765 support for 'p' format. Fix code to print bytes for vector
10766 integer formats that do not specify 'h' or 'l'.
10767 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
10768 for 'p' specifier. Fix code to scan 16 bytes for vector integer
10769 formats that do not specify 'h' or 'l'.
10770
10771 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
10772
10773 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
10774
10775 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
10776 (_sbrk): Add cast of return value.
10777
10778 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
10779
10780 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
10781 (_REENT_L64A_BUF): New macro for accessing area.
10782 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
10783 * libc/stdlib/Makefile.in: Regenerated.
10784 * libc/stdlib/a64l.c: New file.
10785 * libc/stdlib/l64a.c: New file.
10786
10787 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
10788
10789 * libc/unix/pread.c: Fix typo for _pread_r.
10790 * libc/unix/pwrite.c: Fix type for _pwrite_r.
10791 * libc/sys/linux/pread64.c: Fix typo for read syscall.
10792 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
10793
10794 2002-05-03 Christopher Faylor <cgf@redhat.com>
10795
10796 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
10797
10798 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10799
10800 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
10801
10802 2002-05-01 Christopher Faylor <cgf@redhat.com>
10803
10804 * utmp.h: Define more UNIX constants.
10805
10806 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10807
10808 * Makefile.am: Add support for checking multilibs.
10809
10810 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
10811 (SUBDEFS): Add LIBC_EXTRA_DEF.
10812 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
10813 (LIBC_EXTRA_DEF): Likewise.
10814 (extra_dir): Likewise.
10815 * libc/machine/xscale/machine: New directory.
10816 * libc/machine/xscale/machine/profile.h: New file.
10817
10818 * Makefile.am (site.exp): Remove newlib_cflags. Add
10819 multibuildtop.
10820 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
10821 * testsuite/lib/flags.exp: New file.
10822 * testsuite/lib/newlib.exp: Load flags.exp.
10823 (newlib_target_compile): Remove libgloss directory references.
10824 (newlib_init): Remove newlib_cflags references.
10825
10826 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
10827
10828 * testsuite/lib/newlib.exp (newlib_target_compile): Change
10829 method of finding libgloss_target_dir.
10830
10831 * Makefile.am (site.exp): Change host_alias, host_triplet,
10832 target_alias, target_triplet to refer to gcc's host and target
10833 variables (newlib's build and host variables).
10834 * testsuite/lib/newlib.exp (newlib_init): Change build
10835 references to host references, host references to target
10836 references to reflect Makefile.am changes.
10837 (newlib_target_compile): Likewise.
10838 (newlib_finish): Likewise.
10839
10840 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
10841
10842 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
10843
10844 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
10845
10846 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
10847 (_system): New function. Ditto.
10848 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
10849 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
10850 targets.
10851
10852 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
10853
10854 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
10855 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
10856 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
10857 * libc/sys/linux/Makefile.in: Regenerated.
10858 * libc/unix/Makefile.in: Ditto.
10859 * libc/sys/linux/pread64.c: New file.
10860 * libc/sys/linux/pwrite64.c: Ditto.
10861 * libc/unix/pread.c: Ditto.
10862 * libc/unix/pwrite.c: Ditto.
10863
10864 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
10865
10866 * libc/sys/linux/Makefile.am: Add io64.c.
10867 * libc/sys/linux/Makefile.in: Regenerated.
10868 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
10869 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
10870 * libc/sys/linux/io64.c: New file.
10871
10872 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
10873
10874 * configure.in (CC_FOR_NEWLIB): New variable that
10875 bases on $(CC) and adds targ-include and libc/include as
10876 -isystem directives if they are not already part of $(CC).
10877 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
10878 $(CC_FOR_NEWLIB).
10879 * configure: Regenerated.
10880 * Makefile.in: Ditto.
10881
10882 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
10883
10884 * libc/sys/linux/Makefile.am: Add support for sched.c.
10885 * libc/sys/linux/Makefile.in: Regenerated.
10886 * libc/sys/linux/sched.c: New file.
10887 * libc/sys/linux/sys/types.h: Add struct timespec.
10888
10889 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10890
10891 * configure.in (CC_FOR_BUILD): Set to gcc whether
10892 cross-compiling or not.
10893 (CC): Add -isystem's for targ-include and libc/include when they
10894 do not already appear in CC.
10895
10896 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10897
10898 * Makefile.am (check-DEJAGNU): New target.
10899 (site.exp): Likewise.
10900 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
10901 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
10902 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
10903 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
10904 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
10905 * testsuite: New directory.
10906 * testsuite/config: Likewise.
10907 * testsuite/lib: Likewise.
10908 * testsuite/newlib.locale: Likewise.
10909 * testsuite/newlib.string: Likewise.
10910 * testsuite/config/default.exp: New file.
10911 * testsuite/lib/checkoutput.exp: New file.
10912 * testsuite/lib/newlib.exp: New file.
10913 * testsuite/lib/passfail.exp: New file.
10914 * testsuite/newlib.locale/UTF-8.c: New file.
10915 * testsuite/newlib.locale/UTF-8.exp: New file.
10916 * testsuite/newlib.locale/locale.exp: New file.
10917 * testsuite/newlib.string/string.exp: New file.
10918 * testsuite/newlib.string/tstring.c: New file.
10919
10920 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
10921
10922 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
10923 * libc/sys/linux/Makefile.am: Add support for mmap.c.
10924 * libc/sys/linux/Makefile.in: Regenerated.
10925 * libc/sys/linux/mmap.c: New file.
10926 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
10927 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
10928
10929 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10930
10931 * acinclude.m4 (newlib_cflags): Remove include directories that
10932 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
10933
10934 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
10935
10936 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
10937 * libc/machine/xscale/memcmp.c: Ditto.
10938 * libc/machine/xscale/memcpy.c: Ditto.
10939 * libc/machine/xscale/memmove.c: Ditto.
10940 * libc/machine/xscale/memset.c: Ditto.
10941 * libc/machine/xscale/strchr.c: Ditto.
10942 * libc/machine/xscale/strcmp.c: Ditto.
10943 * libc/machine/xscale/strcpy.c: Ditto.
10944 * libc/machine/xscale/strlen.c: Ditto.
10945
10946 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
10947
10948 * libc/include/sys/config.h: Remove include of <limits.h>.
10949 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
10950 define INT_MAX and LONG_MAX. Use them in tests.
10951
10952 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
10953
10954 * configure.host: Add support for powerpc-eabialtivec*.
10955 * libc/include/malloc.h: Add include of <machine/malloc.h>.
10956 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
10957 * libc/include/machine/malloc.h: New file.
10958 * libc/include/machine/stdlib.h: Ditto.
10959 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
10960 * libc/machine/powerpc/Makefile.am: Add conditional objects and
10961 sources based on configuration.
10962 * libc/machine/powerpc/Makefile.in: Regenerated.
10963 * libc/machine/powerpc/configure: Ditto.
10964 * libc/machine/powerpc/configure.in: Add check for
10965 powerpc-eabialtivec* in which case add in additional source files.
10966 * libc/machine/powerpc/setjmp.S: Add altivec support.
10967 * libc/machine/powerpc/vec_calloc.c: New file.
10968 * libc/machine/powerpc/vec_free.c: Ditto.
10969 * libc/machine/powerpc/vec_malloc.c: Ditto.
10970 * libc/machine/powerpc/vec_mallocr.c: Ditto.
10971 * libc/machine/powerpc/vec_realloc.c: Ditto.
10972 * libc/machine/powerpc/machine/malloc.h: Ditto.
10973 * libc/machine/powerpc/machine/stdlib.h: Ditto.
10974 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
10975 with added altivec format specifiers.
10976 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
10977 added altivec format specifiers.
10978
10979 2002-04-19 Joel Sherrill <joel@OARcorp.com>
10980
10981 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
10982 while autoconf is trying to link main(){}.
10983
10984 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
10985
10986 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
10987 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
10988
10989 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
10990
10991 * libc/time/time.tex: Add tzset info.
10992
10993 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
10994
10995 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
10996 (strptime): Moved prototype to be within !__STRICT_ANSI__.
10997 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
10998 (tzname): Defined for all platforms.
10999 (daylight, timezone): Defined only for CYGWIN.
11000 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
11001 environment set up.
11002 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
11003 environment variable is set.
11004 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
11005 tzset_r.c.
11006 * libc/time/Makefile.in: Regenerated.
11007 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
11008 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
11009 * libc/time/lcltime_r.c (lcltime_r): Ditto.
11010 * libc/time/local.h: New local header file.
11011 * libc/time/mktime.c (mktime): Add timezone support.
11012 * libc/time/mktm_r.c: New file which is the common engine
11013 for gmtime_r and lcltime_r. This code has timezone support.
11014 * libc/time/strftime.c (strftime): Add %Z timezone support.
11015 * libc/time/tzlock.c: New file containing timezone lock stubs.
11016 * libc/time/tzset.c: New file containing tzset() routine.
11017 * libc/time/tzset_r.c: New file containing _tzset_r and
11018 internal routine for calculating timezone changes for specified year.
11019
11020 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
11021
11022 * configure.in (CRT0_DIR): Set to libc/.
11023 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
11024 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
11025 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
11026 $(CRT1_DIR)/$(CRT1).
11027 * libc/machine/xstormy16/Makefile.in: Regenerated.
11028 * libc/machine/xstormy16/aclocal.m4: Regenerated.
11029 * libc/machine/xstormy16/configure: Regenerated.
11030
11031 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
11032
11033 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
11034 fails, don't bail out, and try to correct next time.
11035
11036 * libc/include/sys/config.h: Include limits.h.
11037
11038 2002-04-12 Eric Norum <eric.norum@usask.com>
11039
11040 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
11041 routine to allow autoconf to determine that building executables
11042 for rtems works.
11043 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
11044 (rtems_gxx_mutex_once): Ditto.
11045
11046 2002-04-09 Tom Rix <trix@redhat.com>
11047
11048 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
11049
11050 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
11051
11052 * libc/include/time.h: Fix strptime declaration.
11053 * libc/time/Makefile.am: Add strptime.c.
11054 * libc/time/Makefile.in: Regenerated.
11055 * libc/time/strptime.c: New file.
11056
11057 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
11058
11059 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
11060 siglongjmp prototype, and sigsetjmp macro definition.
11061 * libc/sys/linux/siglongjmp.c: New file.
11062 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
11063 * libc/sys/linux/Makefile.in: Regenerated.
11064
11065 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
11066
11067 * Makefile.am: Add support for installing crt1.o if one exists.
11068 * configure.host: Specify crt1.o for linux.
11069 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
11070 * Makefile.in: Regenerated.
11071 * configure: Ditto.
11072 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
11073 Added for non-Cygwin, non-RTEMS configurations.
11074 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
11075 * libc/sys/linux/Makefile.in: Regenerated.
11076 * libc/sys/linux/crt1.c: New empty file to override one defaulted
11077 by gcc. This fixes problem with reconfiguring linux newlib build.
11078 * libc/sys/linux/sysconf.c: New file.
11079
11080 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
11081
11082 * configure.host: Add support for machine subdirectory of
11083 sys subdirectory.
11084 * configure.in: Add check for sys machine subdirectory.
11085 * Makefile.am: Ditto.
11086 * configure: Regenerated.
11087 * Makefile.in: Ditto.
11088 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
11089 * libc/sys/linux/sys/syscall.h: Ditto.
11090 * libc/sys/linux/sleep.c: New file.
11091 * libc/sys/linux/socket.c: Ditto.
11092 * libc/sys/linux/sockops.h: Ditto.
11093 * libc/sys/linux/stack.c: Ditto.
11094 * libc/sys/linux/usleep.c: Ditto.
11095 * libc/sys/linux/machine/Makefile.am: Ditto.
11096 * libc/sys/linux/machine/Makefile.in: Ditto.
11097 * libc/sys/linux/machine/aclocal.m4: Ditto.
11098 * libc/sys/linux/machine/configure: Ditto.
11099 * libc/sys/linux/machine/configure.in: Ditto.
11100 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
11101 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
11102 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
11103 * libc/sys/linux/machine/i386/configure: Ditto.
11104 * libc/sys/linux/machine/i386/configure.in: Ditto.
11105 * libc/sys/linux/machine/i386/crt0.c: Ditto.
11106 * libc/sys/linux/machine/i386/sigset.c: Ditto.
11107 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
11108 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
11109 * libc/sys/linux/machine/i386/syscall.h: Ditto.
11110 * libc/sys/linux/sys/select.h: Ditto.
11111 * libc/sys/linux/configure.in: Add support for machine directory.
11112 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
11113 * libc/sys/linux/Makefile.in: Regenerated.
11114 * libc/sys/linux/configure: Ditto.
11115 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
11116 * libc/sys/linux/inode.c: Ditto.
11117 * libc/sys/linux/linux.c: Ditto.
11118 * libc/sys/linux/process.c: Ditto.
11119 * libc/sys/linux/systat.c: Ditto.
11120 * libc/sys/linux/time.c: Ditto.
11121 * libc/sys/linux/wait.c: Ditto.
11122 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
11123 * libc/sys/linux/io.c: Change header plus add readv/writev.
11124 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
11125 use __sigsuspend syscall.
11126 * libc/sys/linux/select.c: Change header plus change select to
11127 use _newselect syscall.
11128 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
11129 used by glibc header files.
11130 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
11131 types.
11132
11133 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
11134
11135 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
11136 initializing a struct _reent that has been dynamically allocated.
11137 (_REENT_CHECK_MISC): New macro that checks _misc struct for
11138 _REENT_SMALL and does nothing otherwise.
11139 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
11140 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
11141 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
11142 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
11143 [_REENT_SMALL](struct _misc_reent): New structure containing
11144 miscellaneous reentrant areas needed by newlib.
11145 [_REENT_SMALL](struct _reent): Add _misc pointer.
11146 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
11147 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
11148 and _REENT_STRTOK_LAST macros.
11149 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
11150 and _REENT_MBLEN_STATE macros.
11151 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
11152 and _REENT_MBTOWC_STATE macros.
11153 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
11154 and _REENT_WCTOMB_STATE macros.
11155
11156 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
11157
11158 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
11159
11160 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
11161
11162 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
11163
11164 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
11165
11166 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
11167 Store high part of leading bytes too.
11168
11169 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
11170
11171 * libm/math/ef_hypot.c: Increase scale factor to 68.
11172
11173 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
11174
11175 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
11176 error.
11177
11178 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
11179
11180 * libc/sys/go32/access.c: Change license to relaxed license
11181 used in identical file throughout newlib/libgloss.
11182
11183 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
11184
11185 * libc/sys/arm/access.c: New file.
11186 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
11187 * libc/sys/arm/Makefile.in: Regenerate.
11188 * libc/sys/arm/syscalls.c (_stat): New function.
11189
11190 2002-03-11 Michael Meissner <meissner@redhat.com>
11191
11192 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
11193 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
11194 * libc/machine/mips/Makefile.in: Regenerate.
11195 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
11196 * libc/machine/mips/memset.c: Dito.
11197 * libc/machine/mips/strcmp.c: Dito.
11198 * libc/machine/mips/strlen.c: Dito.
11199 * libc/machine/mips/strncmp.c: Dito.
11200
11201 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
11202
11203 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
11204 object so it works for shared library or statici library.
11205 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
11206
11207 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
11208 (strptime): Moved prototype to be within !__STRICT_ANSI__.
11209 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
11210 (tzname): Defined for all platforms.
11211 (daylight, timezone): Defined only for CYGWIN.
11212 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
11213 environment set up.
11214 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
11215 environment variable is set.
11216 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
11217 tzset_r.c.
11218 * libc/time/Makefile.in: Regenerated.
11219 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
11220 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
11221 * libc/time/lcltime_r.c (lcltime_r): Ditto.
11222 * libc/time/local.h: New local header file.
11223 * libc/time/mktime.c (mktime): Add timezone support.
11224 * libc/time/mktm_r.c: New file which is the common engine
11225 for gmtime_r and lcltime_r. This code has timezone support.
11226 * libc/time/strftime.c (strftime): Add %Z timezone support.
11227 * libc/time/tzlock.c: New file containing timezone lock stubs.
11228 * libc/time/tzset.c: New file containing tzset() routine.
11229 * libc/time/tzset_r.c: New file containing _tzset_r and
11230 internal routine for calculating timezone changes for specified year.
11231
11232 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
11233
11234 * configure.in (CRT0_DIR): Set to libc/.
11235 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
11236 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
11237 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
11238 $(CRT1_DIR)/$(CRT1).
11239 * libc/machine/xstormy16/Makefile.in: Regenerated.
11240 * libc/machine/xstormy16/aclocal.m4: Regenerated.
11241 * libc/machine/xstormy16/configure: Regenerated.
11242
11243 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
11244
11245 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
11246 fails, don't bail out, and try to correct next time.
11247
11248 * libc/include/sys/config.h: Include limits.h.
11249
11250 2002-04-12 Eric Norum <eric.norum@usask.com>
11251
11252 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
11253 routine to allow autoconf to determine that building executables
11254 for rtems works.
11255 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
11256 (rtems_gxx_mutex_once): Ditto.
11257
11258 2002-04-09 Tom Rix <trix@redhat.com>
11259
11260 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
11261
11262 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
11263
11264 * libc/include/time.h: Fix strptime declaration.
11265 * libc/time/Makefile.am: Add strptime.c.
11266 * libc/time/Makefile.in: Regenerated.
11267 * libc/time/strptime.c: New file.
11268
11269 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
11270
11271 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
11272 siglongjmp prototype, and sigsetjmp macro definition.
11273 * libc/sys/linux/siglongjmp.c: New file.
11274 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
11275 * libc/sys/linux/Makefile.in: Regenerated.
11276
11277 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
11278
11279 * Makefile.am: Add support for installing crt1.o if one exists.
11280 * configure.host: Specify crt1.o for linux.
11281 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
11282 * Makefile.in: Regenerated.
11283 * configure: Ditto.
11284 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
11285 Added for non-Cygwin, non-RTEMS configurations.
11286 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
11287 * libc/sys/linux/Makefile.in: Regenerated.
11288 * libc/sys/linux/crt1.c: New empty file to override one defaulted
11289 by gcc. This fixes problem with reconfiguring linux newlib build.
11290 * libc/sys/linux/sysconf.c: New file.
11291
11292 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
11293
11294 * configure.host: Add support for machine subdirectory of
11295 sys subdirectory.
11296 * configure.in: Add check for sys machine subdirectory.
11297 * Makefile.am: Ditto.
11298 * configure: Regenerated.
11299 * Makefile.in: Ditto.
11300 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
11301 * libc/sys/linux/sys/syscall.h: Ditto.
11302 * libc/sys/linux/sleep.c: New file.
11303 * libc/sys/linux/socket.c: Ditto.
11304 * libc/sys/linux/sockops.h: Ditto.
11305 * libc/sys/linux/stack.c: Ditto.
11306 * libc/sys/linux/usleep.c: Ditto.
11307 * libc/sys/linux/machine/Makefile.am: Ditto.
11308 * libc/sys/linux/machine/Makefile.in: Ditto.
11309 * libc/sys/linux/machine/aclocal.m4: Ditto.
11310 * libc/sys/linux/machine/configure: Ditto.
11311 * libc/sys/linux/machine/configure.in: Ditto.
11312 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
11313 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
11314 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
11315 * libc/sys/linux/machine/i386/configure: Ditto.
11316 * libc/sys/linux/machine/i386/configure.in: Ditto.
11317 * libc/sys/linux/machine/i386/crt0.c: Ditto.
11318 * libc/sys/linux/machine/i386/sigset.c: Ditto.
11319 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
11320 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
11321 * libc/sys/linux/machine/i386/syscall.h: Ditto.
11322 * libc/sys/linux/sys/select.h: Ditto.
11323 * libc/sys/linux/configure.in: Add support for machine directory.
11324 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
11325 * libc/sys/linux/Makefile.in: Regenerated.
11326 * libc/sys/linux/configure: Ditto.
11327 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
11328 * libc/sys/linux/inode.c: Ditto.
11329 * libc/sys/linux/linux.c: Ditto.
11330 * libc/sys/linux/process.c: Ditto.
11331 * libc/sys/linux/systat.c: Ditto.
11332 * libc/sys/linux/time.c: Ditto.
11333 * libc/sys/linux/wait.c: Ditto.
11334 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
11335 * libc/sys/linux/io.c: Change header plus add readv/writev.
11336 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
11337 use __sigsuspend syscall.
11338 * libc/sys/linux/select.c: Change header plus change select to
11339 use _newselect syscall.
11340 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
11341 used by glibc header files.
11342 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
11343 types.
11344
11345 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
11346
11347 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
11348 initializing a struct _reent that has been dynamically allocated.
11349 (_REENT_CHECK_MISC): New macro that checks _misc struct for
11350 _REENT_SMALL and does nothing otherwise.
11351 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
11352 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
11353 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
11354 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
11355 [_REENT_SMALL](struct _misc_reent): New structure containing
11356 miscellaneous reentrant areas needed by newlib.
11357 [_REENT_SMALL](struct _reent): Add _misc pointer.
11358 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
11359 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
11360 and _REENT_STRTOK_LAST macros.
11361 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
11362 and _REENT_MBLEN_STATE macros.
11363 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
11364 and _REENT_MBTOWC_STATE macros.
11365 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
11366 and _REENT_WCTOMB_STATE macros.
11367
11368 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
11369
11370 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
11371
11372 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
11373
11374 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
11375
11376 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
11377
11378 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
11379 Store high part of leading bytes too.
11380
11381 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
11382
11383 * libm/math/ef_hypot.c: Increase scale factor to 68.
11384
11385 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
11386
11387 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
11388 error.
11389
11390 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
11391
11392 * libc/sys/go32/access.c: Change license to relaxed license
11393 used in identical file throughout newlib/libgloss.
11394
11395 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
11396
11397 * libc/sys/arm/access.c: New file.
11398 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
11399 * libc/sys/arm/Makefile.in: Regenerate.
11400 * libc/sys/arm/syscalls.c (_stat): New function.
11401
11402 2002-03-11 Michael Meissner <meissner@redhat.com>
11403
11404 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
11405 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
11406 * libc/machine/mips/Makefile.in: Regenerate.
11407 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
11408 * libc/machine/mips/memset.c: Dito.
11409 * libc/machine/mips/strcmp.c: Dito.
11410 * libc/machine/mips/strlen.c: Dito.
11411 * libc/machine/mips/strncmp.c: Dito.
11412
11413 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
11414
11415 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
11416 object so it works for shared library or statici library.
11417 * libc/machine/i386/Makefile.in: Regenerated.
11418
11419 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
11420
11421 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
11422 Add memcpy.S, memset.S and strcpy.S.
11423 * libc/machine/sh/Makefile.in: Regenerate.
11424 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
11425 (SHHI, SHLO): Define.
11426 * libc/machine/sh/memset.S: Add code for SH5.
11427 * libc/machine/sh/memset.S: Likewise.
11428 * libc/machine/sh/strcpy.S: Likewise.
11429
11430 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
11431
11432 * configure.host: Add check for --disable-newlib-io-float
11433 configuration option and add -DNO_FLOATING_POINT to newlib cflags
11434 if appropriate.
11435 * acinclude.m4: Added --disable-newlib-io-float option.
11436 * aclocal.m4: Regenerated.
11437 * configure: Ditto.
11438 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11439 * libc/*/aclocal.m4 libc/*/configure
11440 * libm/*/aclocal.m4 libm/*/configure: Ditto.
11441 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
11442 if NO_FLOATING_POINT flag is not defined.
11443
11444 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
11445
11446 * libc/include/sys/config.h: Add __extension__ in front of
11447 long long references.
11448
11449 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
11450
11451 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
11452 (_stat): Ditto.
11453
11454 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
11455
11456 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
11457 of off_t.
11458
11459 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
11460
11461 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
11462 clobbered registers.
11463
11464 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
11465
11466 * configure.host (newlib_cflags): When host is in m68* add
11467 -DCOMPACT_CTYPE.
11468
11469 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
11470
11471 * libc/include/sys/config.h: Add definitions for
11472 __int16_t, __uint16_t, __int64_t, and __uint64_t.
11473
11474 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
11475
11476 * libc/sys/mmixware/link.c: New.
11477 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
11478 volatile.
11479 * libc/sys/mmixware/times.c (_times): Renamed from times.
11480 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
11481 properly by reading previous contents, not through BinaryReadWrite.
11482 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
11483 * libc/sys/mmixware/Makefile.in: Regenerate.
11484
11485 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
11486
11487 * libc/include/grp.h: Don't declare group functions when compiling
11488 Cygwin.
11489
11490 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
11491
11492 * libc/include/grp.h: Include Cygwin specific header.
11493 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
11494 when compiling for Cygwin.
11495 * libc/include/sys/types.h: Don't define off_t, uid_t
11496 and gid_t when compiling for Cygwin.
11497
11498 2002-02-08 matthew green <mrg@redhat.com>
11499
11500 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
11501 _REENT_EMERGENCY_SIZE, not sizeof(char *).
11502
11503 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
11504
11505 Contribute sh64-elf.
11506 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
11507 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
11508 support in printf.
11509 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
11510 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
11511 any labels.
11512 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
11513 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
11514 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
11515 * libc/machine/sh/configure.in: Rework conditionals.
11516 * libc/machine/sh/Makefile.am: Likewise.
11517 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
11518 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
11519 * configure.host: Match `sh*'.
11520 * libc/include/machine/setjmp.h: Define for SH5.
11521 * libc/machine/sh/configure.in: Detect SH5.
11522 * libc/machine/sh/configure: Rebuilt.
11523 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
11524 * libc/machine/sh/Makefile.in: Rebuilt.
11525 * libc/machine/sh/asm.h: Adjust for SH5.
11526 * libc/machine/sh/setjmp.S: Implement in SHmedia.
11527 * libc/sys/sh/crt0.S: Likewise.
11528 * libc/sys/sh/trap.S: Likewise.
11529
11530 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
11531
11532 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
11533 (mach_add_obj): Conditionally set to setjmp.o or nothing.
11534 (LIB_SOURCES): Remove $(mach_add_src).
11535 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
11536 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
11537 * libc/machine/i386/Makefile.in: Regenerate.
11538
11539 2002-02-05 Manik Raina <manik@cisco.com>
11540
11541 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
11542 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
11543 s, p, k, and outstr.
11544 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
11545
11546 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
11547
11548 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
11549 _REENT_CHECK_EMERGENCY macro.
11550
11551 2002-02-03 matthew green <mrg@redhat.com>
11552
11553 * libc/reent/signgam.c (__signgam): Fix error in previous.
11554
11555 2002-02-02 matthew green <mrg@redhat.com>
11556
11557 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
11558
11559 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
11560 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
11561 * libc/include/sys/reent.h (struct _reent): Completely new version
11562 for _REENT_SMALL.
11563 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
11564 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
11565 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
11566 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
11567 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
11568 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
11569 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
11570 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
11571 (_REENT_EMERGENCY): Likewise.
11572
11573 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
11574 the start of the real __sFILE, used for stdin, stdout and stderr until
11575 they are setup properly.
11576 (struct __sFILE): Move location of _data in _REENT_SMALL case.
11577 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
11578 allocated stdin, stdout and stderr.
11579 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
11580 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
11581 * libc/stdio/perror.c (_perror_r): Likewise.
11582 * libc/stdio/printf.c (printf, _printf_r): Likewise.
11583 * libc/stdio/putchar.c (_putchar_r): Likewise.
11584 * libc/stdio/puts.c (_puts_r): Likewise.
11585 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
11586 * libc/stdio/vprintf.c (vprintf): Likewise.
11587 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
11588
11589 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
11590
11591 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
11592 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
11593 for _REENT_SMALL.
11594 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
11595 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
11596
11597 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
11598 _REENT_SMALL.
11599 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
11600 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
11601 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
11602 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
11603 * libc/stdlib/rand48.c (__dorand48): Likewise.
11604 * libc/stdlib/seed48.c (_seed48_r): Likewise.
11605 * libc/stdlib/srand48.c (_srand48_r): Likewise.
11606 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
11607 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
11608 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
11609 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
11610 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
11611 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
11612 * libc/stdlib/rand.c (rand): Likewise.
11613
11614 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
11615 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
11616
11617 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
11618 _REENT_MP_FREELIST() and _REENT_MP_P5S.
11619 * libc/include/sys/reent.h (struct _mprec): New structure.
11620
11621 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
11622 _unused_strtok_last.
11623 * libc/string/strtok.c (strtok): Use a local static variable.
11624
11625 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
11626 (_REENT_EMERGENCY_SIZE): Likewise.
11627 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
11628 _REENT_ASCTIME_BUF().
11629 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
11630 _REENT_TM().
11631
11632 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
11633 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
11634 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
11635 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
11636 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
11637 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
11638
11639 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
11640
11641 * configure.host (xstormy16): Don't use the generic malloc.
11642 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
11643 * libc/machine/xstormy16/Makefile.in: Regenerate.
11644 * libc/machine/xstormy16/mallocr.c: New file.
11645 * libc/machine/xstormy16/tiny-malloc.c: New file.
11646
11647 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
11648
11649 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
11650 when _CYGWIN_TYPES_H is not defined.
11651
11652 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
11653
11654 * libc/include/sys/signal.h: Revert 2002-01-23 change.
11655
11656 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
11657
11658 * libc/include/sys/signal.h: Remove pthread_kill declaration
11659 when __CYGWIN__ is defined.
11660
11661 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
11662
11663 * libc/include/time.h: Add prototype for strptime for Cygwin.
11664
11665 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
11666
11667 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
11668 dst was not word aligned.
11669
11670 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
11671 if too much memory is requested.
11672
11673 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
11674
11675 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
11676 reads blanks from the input file to break if EOF reached
11677 rather than end processing.
11678
11679 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
11680
11681 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
11682
11683 2002-01-07 Alan Matsuoka <alanm@redhat.com>
11684
11685 * libc/include/machine/ieeefp.h: Configure d10v doubles to
11686 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
11687 libc/include/sys/config.h: Ditto.
11688
11689 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
11690
11691 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
11692
11693 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
11694 Catherine Moore <clm@redhat.com>
11695 Richard Henderson <rth@redhat.com>
11696 Corinna Vinschen <vinschen@redhat.com>
11697
11698 * configure.host: Add support for xstormy16.
11699 * libc/include/machine/ieeefp.h: Add support for xstormy16.
11700 * libc/include/machine/setjmp.h: Add support for xstormy16.
11701 * libc/include/sys/config.h: Add support for xstormy16.
11702 * libc/machine/xstormy16/Makefile.am: New file.
11703 * libc/machine/xstormy16/Makefile.in: New file.
11704 * libc/machine/xstormy16/aclocal.m4: New file.
11705 * libc/machine/xstormy16/configure: New file.
11706 * libc/machine/xstormy16/configure.in: New file.
11707 * libc/machine/xstormy16/setjmp.S: New file.
11708
11709 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
11710
11711 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
11712 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
11713
11714 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
11715
11716 * libm/machine/Makefile.am: Change rules to create correct lib.a.
11717 * libm/machine/Makefile.in: Regenerated through automake.
11718
11719 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
11720
11721 * Makefile.am (DOCDIR): Force to empty string when doc
11722 directory is not present.
11723
11724 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
11725
11726 * libc/machine/i386/f_*: Move to libm/machine/i386.
11727
11728 2001-12-18 Joel Sherrill <joel@OARcorp.com>
11729
11730 * libm/machine/Makefile.am: Add dummy doc stub so
11731 "make info" works.
11732
11733 2001-12-17 Joel Sherrill <joel@OARcorp.com>
11734
11735 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
11736
11737 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
11738
11739 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
11740 $(COMPILE) rather than $(CC).
11741 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
11742 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
11743 $(LIB_COMPILE) change.
11744 (vfiprintf.$(oext)): Likewise.
11745
11746 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
11747
11748 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
11749 conditionalized including of getopt stuff.
11750
11751 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
11752
11753 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
11754 compile line.
11755 (vfiprintf.$(oext)): Likewise.
11756
11757 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11758
11759 * Makefile.shared: New file.
11760 * libc/sys/linux/shared.ld: New file.
11761 * libm/machine/*: New files.
11762 * libm/machine/i386/*: New files.
11763 * Makefile.am: Add libtool support. Change math and mathfp
11764 references to variables.
11765 * configure.host: Add variables for libtool support. Add
11766 libm_machine_dir variable.
11767 * configure.in: Add objectlist variables, for libtool
11768 support. Add CC_FOR_BUILD tests.
11769 * libc/Makefile.am: Add libtool support. Change crt0.o
11770 reference to be a variable reference.
11771 * libc/configure.in: Add libtool support. Change sublib
11772 names to be lib${subdir}.la when using libtool.
11773 * libc/ctype/Makefile.am: Add libtool support.
11774 * libc/errno/Makefile.am: Likewise.
11775 * libc/locale/Makefile.am: Likewise.
11776 * libc/machine/Makefile.am: Likewise.
11777 * libc/machine/configure.in: Likewise.
11778 * libc/machine/i386/Makefile.am: Likewise.
11779 * libc/machine/i386/configure.in: Likewise.
11780 * libc/misc/Makefile.am: Likewise.
11781 * libc/posix/Makefile.am: Likewise.
11782 * libc/reent/Makefile.am: Likewise.
11783 * libc/signal/Makefile.am: Likewise.
11784 * libc/stdio/Makefile.am: Likewise.
11785 * libc/stdlib/Makefile.am: Likewise.
11786 * libc/string/Makefile.am: Likewise.
11787 * libc/sys/Makefile.am: Likewise.
11788 * libc/sys/configure.in: Likewise.
11789 * libc/sys/linux/Makefile.am: Add libtool support. Change
11790 awk reference to a variable reference. Change signal.h
11791 reference to a variable reference.
11792 * libc/sys/linux/configure.in: Add libtool support.
11793 * libc/syscalls/Makefile.am: Likewise.
11794 * libc/time/Makefile.am: Likewise.
11795 * libc/unix/Makefile.am: Likewise.
11796 * libm/Makefile.am: Add libtool support. Change math and
11797 mathfp references to variables.
11798 * libm/configure.in: Add libtool support. Add
11799 LIBM_MACHINE_LIB variable.
11800 * libm/common/Makefile.am: Add libtool support.
11801 * libm/math/Makefile.am: Likewise.
11802 * libm/mathfp/Makefile.am: Likewise.
11803 Regenerate all Makefile.in, aclocal.m4, and configure.
11804
11805 2001-12-13 Anita Kulkarni <anitak@kpit.com>
11806
11807 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
11808
11809 2001-12-06 John Peacock <jpeacock@rowman.com>
11810
11811 * libc/include/sys/unistd.h: Correct ualarm declaration.
11812
11813 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
11814
11815 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
11816 vector before calling the initialisation functions.
11817
11818 2001-11-29 Christopher Faylor <cgf@redhat.com>
11819
11820 * libc/include/dirent.h: Protect against multiple inclusion.
11821
11822 2001-11-27 Christopher Faylor <cgf@redhat.com>
11823
11824 * libc/include/sys/types.h: Define useconds_t.
11825 * libc/include/sys/ulimit.h: Declare ualarm.
11826
11827 2001-11-21 Christopher Faylor <cgf@redhat.com>
11828
11829 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
11830
11831 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
11832
11833 * libc/sys/mmixware/*: Tweak license header in all source files.
11834
11835 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
11836
11837 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
11838 to here. Rearrange for general inclusion by stdlib.h.
11839 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
11840 isn't defined.
11841 * libc/sys/linux/include/alloca.h: Move to libc/include.
11842
11843 2001-11-12 Anthony Green <green@redhat.com>
11844
11845 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
11846
11847 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
11848
11849 * libc/sys/mmixware/*: Correct spacing in all source files.
11850 * libc/sys/mmixware/syscall.h: Move misplaced file...
11851 * libc/sys/mmixware/sys/syscall.h: ...here.
11852
11853 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
11854
11855 * libc/include/machine/ieeefp.h: Add support for mmix target.
11856 * libc/include/machine/setjmp.h: Ditto.
11857 * configure.host: Ditto.
11858 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
11859 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
11860 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
11861 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
11862 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
11863 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
11864 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
11865 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
11866 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
11867 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
11868 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
11869 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
11870 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
11871 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
11872 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
11873 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
11874 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
11875 libc/sys/mmixware/aclocal.m4: Generate.
11876
11877 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
11878
11879 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
11880 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
11881 when __CYGWIN__ is defined.
11882 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
11883 logwtmp().
11884
11885 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
11886
11887 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
11888 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
11889 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
11890 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
11891
11892 2001-10-24 Christopher Faylor <cgf@redhat.com>
11893
11894 * libc/stdio/fseek.c: Reset pointer to buffer base
11895 when forced to seek outside of current buffer contents.
11896 This prevents the code from erroneously thinking there is
11897 anything in the current buffer.
11898
11899 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
11900
11901 * libc/include/math.h: The C++ standard adds the single-precision
11902 versions of the elementary functions.
11903
11904 2001-10-22 Christopher Faylor <cgf@redhat.com>
11905
11906 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
11907 throughout.
11908 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
11909 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
11910 * system.c (_system_r): Ditto.
11911
11912 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
11913
11914 * libc/include/sys/unistd.h: Add prototype for fchdir() when
11915 __CYGWIN__ or __rtems__ is defined.
11916
11917 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
11918
11919 * libc/include/stdlib.h: add declarations for
11920 _strtoull_r, _strtoll_r, strtoull, and strtoll.
11921 * libc/stdio/local.h: remove declarations of
11922 __strtoull_r and __strtoll_r.
11923 * libc/stdio/vfscanf.c(__svfscanf_r): call
11924 _strtoull_r instead of __strtoull_r. Ditto
11925 _strtoll_r vs. __strtoll_r.
11926 * libc/stdlib/Makefile.am: add new files to
11927 .c list and .def list
11928 * libc/stdlib/Makefile.in: regenerate
11929 * libc/stdlib/strtoll_r.c: rename __strtoll_r
11930 as _strtoll_r
11931 * libc/stdlib/strtoull_r.c: rename __strtoull_r
11932 as _strtoull_r
11933 * libc/stdlib/strtoull.c: new file
11934 * libc/stdlib/strtoll.c: new file
11935
11936 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
11937
11938 * libc/include/process.h: Add getpid() declaration.
11939
11940 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
11941
11942 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
11943 for new style arm/elf ctor/dtor handling.
11944 Minor formatting tidy up.
11945
11946 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
11947
11948 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
11949 and strtoull_r.c.
11950 * libc/stdlib/Makefile.in: Regenerated.
11951 * libc/stdlib/strtoll_r.c: New file.
11952 * libc/stdlib/strtoull_r.c: New file.
11953 * libc/stdio/local.h: Add prototypes for long long string
11954 conversion routines.
11955 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
11956 tied to %L integer conversion specifier.
11957
11958 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
11959
11960 * strftime.c (strftime): Fix "%W" implementation to properly handle
11961 Mondays too.
11962
11963 2001-09-07 Jeff Law <law@redhat.com>
11964
11965 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
11966 __fini with "mov.l" instead of "mov.w".
11967
11968 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
11969
11970 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
11971 and getopt.h.
11972
11973 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
11974
11975 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
11976
11977 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
11978
11979 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
11980 field.
11981 (__DIRENT_VERSION): New define.
11982
11983 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
11984
11985 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
11986 Shrink __d_reserved accordingly to keep structure size.
11987 (dirfd): Declare external.
11988
11989 2001-08-29 Joel Sherrill <joel@OARcorp.com>
11990
11991 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
11992
11993 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11994
11995 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
11996 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
11997 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
11998 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
11999 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
12000 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
12001 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
12002 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
12003 Add conditional compilation to avoid HW FPU instructions
12004 when compiled for soft-float.
12005
12006 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
12007
12008 * Makefile.am: Add check for ln failing when creating libg.a
12009 so that cp gets used as a backup.
12010 * Makefile.in: Regenerated.
12011
12012 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
12013
12014 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
12015 No longer include time.h. Add struct __tm to use for
12016 _localtime_buf in the reentrant structure. Add a
12017 _NULL definition to use in initializing the reentrant struct.
12018 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
12019 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
12020 <sys/_types.h>.
12021 * libc/include/sys/unistd.h: Include <sys/_types.h>.
12022 * libc/time/lcltime.c (localtime): Cast the reentrant struct
12023 _localtime_buf to be struct tm *.
12024
12025 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
12026
12027 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
12028 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
12029 __ctors_end.
12030 * libc/sys/h8300hms/syscalls.c: Include errno.h.
12031 (_unlink): New stub function.
12032
12033 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
12034
12035 * libc/include/sys/errno.h: Add a cautionary comment.
12036
12037 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
12038
12039 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
12040 for SIZE_SZ so that alignment ends up a minimum of 8.
12041
12042 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
12043
12044 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
12045 arguments.
12046
12047 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
12048 Cygwin.
12049
12050 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
12051
12052 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
12053 macro constants for mallopt options.
12054 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
12055
12056 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
12057
12058 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
12059 otherwise default.
12060
12061 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
12062
12063 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
12064
12065 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
12066
12067 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
12068 Define for little endian ARMs.
12069
12070 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
12071 __IEEE_BYTES_LITTLE_ENDIAN is defined.
12072
12073 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
12074
12075 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
12076
12077 2001-06-11 Egor Duda <deo@logos-m.ru>
12078
12079 * libc/ctype/ctype_.c: When compiled with gcc on platforms
12080 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
12081 initialized memory region. Platform can define COMPACT_CTYPE
12082 to avoid allocation of the additional 128 bytes of data.
12083 Add pointer to _ctype_ array. Always initialize all _ctype_
12084 array elements.
12085
12086 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
12087
12088 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
12089 NULL pointer.
12090
12091 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
12092
12093 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
12094
12095 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
12096
12097 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
12098 matching, non-word alignment, and the length is <= 4 but more than
12099 enough to move them over a word boundary.
12100 Add comments explaining what each instruction does.
12101
12102 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
12103
12104 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
12105 * libc/include/sys/unistd.h: Ditto.
12106
12107 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
12108
12109 * libc/string/strrchr.c: Use strchr for the speed improvements.
12110
12111 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
12112
12113 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
12114 real file systems, let __smakebuf() determine if line buffering
12115 should be used for stdout.
12116
12117 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
12118
12119 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
12120
12121 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
12122
12123 * libc/include/stdlib.h: Add prototype for _strtod_r.
12124
12125 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
12126
12127 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
12128 * libc/stdio/vprintf.c (_vprintf_r): new function
12129 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
12130 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
12131 _DEFUN, and call _vfprintf_r, not vfprintf.
12132 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
12133 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
12134 _DEFUN, and call _vfprintf_r, not vfprintf.
12135
12136 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
12137
12138 * libc/include/sys/unistd.h [X_OK]: Use better protection against
12139 Cygwin X_OK definitions in sys/file.h.
12140
12141 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
12142
12143 * libc/include/sys/time.h: Define timercmp and other macros for
12144 __CYGWIN__, too.
12145
12146 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
12147
12148 * acinclude.m4: Added --enable-malloc-debugging configure flag.
12149 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
12150 --enable-malloc-debugging selected.
12151 * aclocal.m4 configure: Regenerated.
12152 libm/aclocal.m4 libm/configure: Ditto.
12153 * libc/aclocal.m4 libc/configure: Ditto.
12154 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
12155 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
12156 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
12157 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
12158 * doc/aclocal.m4 doc/configure: Ditto.
12159
12160 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
12161
12162 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
12163 into one list.
12164 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
12165 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
12166 function prototypes.
12167 (_fscanf_r, _sscanf_r): Ditto.
12168 * libc/include/stdlib.h: Added _strtod_r prototype.
12169 * libc/stdio/Makefile.am: Add new v*scanf functions.
12170 * libc/stdio/Makefile.in: Regenerate.
12171 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
12172 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
12173 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
12174 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
12175 (sscanf): Changed to call __svfscanf_r with _REENT argument.
12176 (_sscanf_r): New routine.
12177 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
12178 with __svfscanf_r prototype.
12179 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
12180 routines.
12181 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
12182 structure as argument as calls reentrant versions of helper functions
12183 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
12184 to _strtol_r and _strtod_r respectively.
12185 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
12186 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
12187 _REENT argument.
12188 * libc/stdio/vscanf.c: New file.
12189 * libc/stdio/vsscanf.c: Ditto.
12190
12191 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
12192
12193 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
12194 Define daylight to _daylight if it is not defined
12195 Prepare a variable export of timezone based on timezonevariable.
12196 (Cannot be used with the timezone() function.)
12197
12198 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
12199
12200 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
12201 Correct the numerical values.
12202
12203 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
12204
12205 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
12206
12207 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
12208
12209 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
12210 on case insensitve file systems.
12211
12212 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
12213
12214 * libc/include/sys/features.h: Add appropriate defines for Cygwin
12215 pthread support.
12216 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
12217 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
12218 types. Include <cygwin/types.h> for the cygwin specific typedefs.
12219
12220 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
12221
12222 * libc/include/machine/ieeefp.h: Comment about new configuration
12223 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
12224 * libm/common/fdlib.h: Define new macros for testing floats.
12225 * libm/common/sf_*: Use them.
12226 * libm/math/ef_*: Likewise.
12227 * libm/math/sf_*: Likewise.
12228
12229 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
12230
12231 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
12232 prolog to by-pass possible assembler error.
12233
12234 2001-03-21 Egor Duda <deo@logos-m.ru>
12235
12236 Allow building internal stubs for non-reentrant syscalls
12237 if target provides its own malloc
12238 * libc/reent/reent.c (errno): Move definition here.
12239 * libc/reent/sbrkr.c: From here.
12240
12241 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
12242
12243 * libc/include/sys/types.h (BSD int typedefs): Guard with
12244 _BSDTYPES_DEFINED rather than _WINSOCK_H.
12245 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
12246 _SYS_TYPES_FD_SET.
12247 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
12248 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
12249
12250 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
12251
12252 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
12253 _PC_POSIX_SECURITY constants for Cygwin.
12254
12255 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
12256
12257 * libc/sys/cygwin/crt0.c: Add copyright hint.
12258 * libc/sys/cygwin/sys/dirent.h: Ditto.
12259 * libc/sys/cygwin/sys/param.h: Ditto.
12260 * libc/sys/cygwin/sys/utime.h: Ditto.
12261 * libc/sys/cygwin/sys/utmp.h: Ditto.
12262
12263 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
12264
12265 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
12266 equivalent to LONGINT.
12267
12268 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
12269
12270 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
12271 jmpbuf on MIPS64 targets.
12272 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
12273
12274 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
12275
12276 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
12277 declarations.
12278
12279 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
12280
12281 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
12282 For RTEMS, define to be ssize_t. Default to int if not defined.
12283 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
12284 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
12285 * libc/stdio/local.h (__sread, __swrite): Likewise.
12286 * libc/include/sys/reent.h (_read, _write): Likewise.
12287 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
12288 * libc/syscalls/sysread.c (read): Likewise.
12289 * libc/syscalls/syswrite.c (write): Likewise.
12290
12291 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
12292
12293 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
12294
12295 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
12296
12297 * libc/include/sys/stat.h: Use special defines for executable stat bits
12298 when compiling for Cygwin.
12299 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
12300 for Cygwin.
12301
12302 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
12303
12304 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
12305 of strtok_r is always defined.
12306
12307 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
12308
12309 * libc/include/machine/ansi.h: New dummy header file.
12310
12311 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
12312
12313 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
12314 changed the copyright information to allow free modification of the
12315 file with no reference to "copying.dj".
12316 * libc/include/sys/stat-dj.h: Ditto.
12317 * libc/machine/i386/setjmp.S: Ditto.
12318 * libc/sys/h8300hms/sys/file.h: Ditto.
12319 * libc/sys/sysmec/access.c: Ditto.
12320 * libc/sys/sysnecv850/access.c: Ditto.
12321 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
12322 * libc/stdlib/getenv_r.c: Ditto.
12323 * libc/stdlib/putenv_r.c: Ditto.
12324 * libc/stdlib/setenv_r.c: Ditto.
12325 * libc/stdlib/getenv.c: Removed DJ reference since any possible
12326 modifications will now be in the _r version of this file.
12327 * libc/stdlib/putenv.c: Ditto.
12328 * libc/stdlib/setenv.c: Ditto.
12329 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
12330 valid. Added a reference to DJ's web page that contains his address.
12331 * libc/sys/go32/*.s: Removed references to DJ's old address.
12332 * libc/sys/go32/*.c: Ditto.
12333 * libc/sys/go32/*.h: Ditto.
12334 * libc/sys/go32/*.S: Ditto.
12335 * libc/sys/go32/sys/*.h: Ditto.
12336
12337 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
12338
12339 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
12340 HAVE_FCNTL flag check.
12341 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
12342 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
12343
12344 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
12345
12346 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
12347
12348 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
12349
12350 * libc/include/stdlib.h: Add declarations of rand48 functions and
12351 their reentrant versions.
12352 * libc/include/sys/reent.h: Move macros from rand48.h. Add
12353 struct _rand48 for shared parameters of rand48 functions.
12354 (struct _reent): Add a variable _r48 of struct _rand48.
12355 (_REENT_INIT): Add _r48 initialization.
12356 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
12357 (CHEWOUT_FILES): Add rand48.def.
12358 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
12359 * libc/stdlib/Makefile.in: Regenerated.
12360 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
12361 NetBSD C library.
12362 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
12363 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
12364 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
12365 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
12366 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
12367 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
12368 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
12369 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
12370 * libc/stdlib/rand48.c (__dorand48): Ditto.
12371 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
12372 parameters into macros referring them in the reentrant structure.
12373
12374 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
12375
12376 * libc/include/sys/stat.h: Add mknod for Cygwin now that
12377 Cygwin definition has correct prototype.
12378
12379 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
12380
12381 * libc/include/sys/stat.h: Must revert change for mknod
12382 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
12383 prototype.
12384
12385 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
12386
12387 * libc/include/stdio.h: Revert putw prototype.
12388
12389 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
12390
12391 * libc/include/grp.h: add prototype for initgroups.
12392 * libc/include/stdio.h: fix prototype for putw.
12393 * libc/include/sys/signal.h: add prototype for killpg.
12394 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
12395 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
12396 vhangup and remove duplicate sysconf prototype.
12397
12398 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
12399
12400 * libc/sys/rtems/sys/types.h: Removed.
12401
12402 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
12403
12404 * libc/include/locale.h: add LC_MESSAGES definition
12405
12406 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
12407
12408 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
12409 SYS_get_argN):
12410 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
12411 __setup_argv_and_call_main): New.
12412
12413 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
12414
12415 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
12416 if defined.
12417 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
12418 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
12419 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
12420 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
12421
12422 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
12423
12424 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
12425 compiling under Cygwin.
12426
12427 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
12428
12429 * libc/include/math.h (signgam): Change to errno-like solution
12430 using a function to return the address of the real signgam.
12431 * libc/reent/signgam.c: New file containing __signgam().
12432 * libc/reent/Makefile.am: Added signgam.c to list of files.
12433 * libc/reent/Makefile.in: Regenerated.
12434
12435 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
12436
12437 * libc/sys/sh/syscalls.c (_times): New.
12438
12439 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
12440 * libc/sys/sh/syscalls.c (_gettimeofday): New.
12441
12442 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
12443
12444 * libc/include/math.h (signgam): Regress previous fix as
12445 it does not handle programs with extern int signgam in them.
12446
12447 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
12448
12449 * libc/include/math.h (signgam): Changed to a macro refering to
12450 its location in the reentrant structure.
12451
12452 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
12453
12454 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
12455 that suppressed . for %.0f, 0.1. Check now looks if there
12456 are padding zeroes (expt) in addition to any digits (ndig) to
12457 print.
12458
12459 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
12460
12461 * libc/sys/arc/Makefile.am: New file.
12462 * libc/sys/arc/Makefile.in: Ditto.
12463 * libc/sys/arc/aclocal.m4: Ditto.
12464 * libc/sys/arc/configure: Ditto.
12465 * libc/sys/arc/configure.in: Ditto.
12466 * libc/sys/arc/crt0.S: Ditto.
12467 * libc/sys/arc/isatty.c: Ditto.
12468 * libc/sys/arc/mem-layout.c: Ditto.
12469 * libc/sys/arc/sbrk.c: Ditto.
12470 * libc/sys/arc/syscalls.c: Ditto.
12471 * libc/sys/arc/sys/syscall.h: Ditto.
12472
12473 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
12474
12475 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
12476
12477 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
12478
12479 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
12480
12481 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
12482
12483 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
12484
12485 2001-01-09 Nick Clifton <nickc@redhat.com>
12486
12487 * configure.host (v859): Remove unsupported compiler options.
12488
12489 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
12490
12491 * src/newlib/configure.host (*-*-rtems*): add printf long long
12492 support for RTEMS.
12493
12494 2000-12-19 Graham Stott <grahams@redhat.com>
12495
12496 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
12497
12498 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
12499
12500 * configure.host: Turn on long double I/O for Cygwin.
12501
12502 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
12503
12504 * MAINTAINERS: Removed Ranjith.
12505 * NEWS: Updated for 1.9.0.
12506 * README: Updated.
12507 * acinclude.m4: Updated to release 1.9.0.
12508 * aclocal.m4 configure
12509 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
12510 libc/machine/aclocal.m4 libc/machine/configure
12511 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
12512 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
12513 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
12514 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
12515 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
12516 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
12517 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
12518 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
12519 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
12520 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
12521 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
12522 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
12523 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
12524 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
12525 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
12526 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
12527 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
12528 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
12529 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
12530 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
12531 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12532 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12533 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12534 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
12535 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12536 libc/sys/aclocal.m4 libc/sys/configure
12537 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12538 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
12539 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
12540 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12541 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12542 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12543 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12544 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12545 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
12546 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12547 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12548 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12549 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
12550 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
12551 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
12552 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
12553 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
12554 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
12555 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
12556 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
12557 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
12558 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
12559 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
12560 libm/aclocal.m4 libm/configure: Regenerated.
12561
12562 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
12563
12564 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
12565 when __CYGWIN__ is defined.
12566
12567 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
12568
12569 * libc/stdlib/ldtoa.c (_ldcheck): New routine
12570 that categorizes a long double as NaN, Infinity, or other.
12571 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
12572 isinfl and isnanl static routines which were i386-specific. Changed
12573 calls to the two removed routines to a single _ldcheck call.
12574 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
12575
12576 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
12577
12578 * Makefile.am: Fixed install-data-local target to use
12579 $(mkinstalldirs) for the installed header files to ensure
12580 the directories exist before copying.
12581 * Makefile.in: Regenerated.
12582
12583 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
12584
12585 * libc/include/sys/unistd.h: Restored Cygwin _SC
12586 constants and moved new constants appropriately
12587 so Cygwin will build.
12588
12589 2000-12-11 Joel Sherrill <joel@OARcorp.com>
12590
12591 * Merge RTEMS specific .h files into main libc/include.
12592 * libc/sys/rtems/include/signal.h: Removed.
12593 * libc/sys/rtems/include/time.h: Removed.
12594 * libc/sys/rtems/sys/features.h: Removed.
12595 * libc/sys/rtems/sys/sched.h: Removed.
12596 * libc/sys/rtems/sys/siginfo.h: Removed.
12597 * libc/sys/rtems/sys/signal.h: Removed.
12598 * libc/sys/rtems/sys/time.h: Removed.
12599 * libc/sys/rtems/sys/times.h: Removed.
12600 definitions for time_t and clock_t since these are
12601 no longer in time.h.
12602 * libc/include/pthread.h: New file.
12603 * libc/include/sys/sched.h: New file.
12604 * libc/include/sys/features.h: New file.
12605 * libc/include/time.h: Removed duplicate definition of clock_t
12606 and time_t, get them from <sys/types.h> instead. Add prototypes
12607 for POSIX clock and timer functionality.
12608 * libc/sys/linux/sys/types.h: Changed to include
12609 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
12610 * libc/include/sys/signal.h: Add more complete set of POSIX
12611 signal functionality including real-time and threaded signals.
12612 * libc/include/sys/types.h: Add clock_t, time_t, struct
12613 timespec, and struct itimerspec. Centralizing these makes
12614 things cleaner. RTEMS uses 64-bit dev_t.
12615 Added numerous primitive definitions
12616 for pthreads including macros, pthread_attr_t,
12617 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
12618 pthread_once_t, and pthread_t.
12619 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
12620 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
12621 Feature flags removed and moved to new file <sys/features.h>.
12622 Full set of POSIX sysconf() constants
12623
12624 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
12625
12626 * configure.host: Added x86 linux target.
12627 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
12628 definitions provided if not already defined.
12629 * libc/sys/linux/crt0.c: New file.
12630 * libc/sys/linux/Makefile.am: Ditto.
12631 * libc/sys/linux/Makefile.in: Ditto.
12632 * libc/sys/linux/aclocal.m4: Ditto.
12633 * libc/sys/linux/brk.c: Ditto.
12634 * libc/sys/linux/configure: Ditto.
12635 * libc/sys/linux/configure.in: Ditto.
12636 * libc/sys/linux/getoptlong.c: Ditto.
12637 * libc/sys/linux/ids.c: Ditto.
12638 * libc/sys/linux/inode.c: Ditto.
12639 * libc/sys/linux/io.c: Ditto.
12640 * libc/sys/linux/linux.c: Ditto.
12641 * libc/sys/linux/process.c: Ditto.
12642 * libc/sys/linux/realpath.c: Ditto.
12643 * libc/sys/linux/select.c: Ditto.
12644 * libc/sys/linux/signal.c: Ditto.
12645 * libc/sys/linux/systat.c: Ditto.
12646 * libc/sys/linux/termios.c: Ditto.
12647 * libc/sys/linux/time.c: Ditto.
12648 * libc/sys/linux/wait.c: Ditto.
12649 * libc/sys/linux/include/alloca.h: Ditto.
12650 * libc/sys/linux/include/getopt.h: Ditto.
12651 * libc/sys/linux/include/stdint.h: Ditto.
12652 * libc/sys/linux/include/unistd.h: Ditto.
12653 * libc/sys/linux/sys/cdefs.h: Ditto.
12654 * libc/sys/linux/sys/dirent.h: Ditto.
12655 * libc/sys/linux/sys/errno.h: Ditto.
12656 * libc/sys/linux/sys/fcntl.h: Ditto.
12657 * libc/sys/linux/sys/file.h: Ditto.
12658 * libc/sys/linux/sys/ioctl.h: Ditto.
12659 * libc/sys/linux/sys/resource.h: Ditto.
12660 * libc/sys/linux/sys/signal.h: Ditto.
12661 * libc/sys/linux/sys/stat.h: Ditto.
12662 * libc/sys/linux/sys/syscall.h: Ditto.
12663 * libc/sys/linux/sys/termios.h: Ditto.
12664 * libc/sys/linux/sys/time.h: Ditto.
12665 * libc/sys/linux/sys/types.h: Ditto.
12666 * libc/sys/linux/sys/utmp.h: Ditto.
12667 * libc/sys/linux/sys/utsname.h: Ditto.
12668 * libc/sys/linux/sys/wait.h: Ditto.
12669
12670 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12671
12672 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
12673 can be a relative path to $(top_srcdir)/install.sh so ensure the
12674 autoconf detected settings are properly passed recursively.
12675 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
12676 properly to subdirectories.
12677 * Makefile.in: Regenerated.
12678
12679 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
12680
12681 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
12682 a floating point register unless really printing a floating
12683 point number.
12684
12685 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
12686
12687 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
12688 Also removed \r's.
12689 (asctoeg): Replaced alloca call with stack array and malloc
12690 when storage exceeds reasonable limit.
12691 (e53toe): Fixed einfin calls missing ldp parameter.
12692 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
12693
12694 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
12695
12696
12697 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
12698
12699 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
12700
12701 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
12702 * libc/stdlib/Makefile.in: Regenerated.
12703 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
12704 * libc/stdio/vfieeefp.h: Added long double bit structures.
12705 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
12706 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
12707 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
12708 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
12709 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
12710 _strtold routines used for conversions between character
12711 and long double.
12712
12713 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
12714
12715 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
12716
12717 2000-12-04 Joel Sherrill <joel@OARcorp.com>
12718
12719 * libc/include/machine/time.h: RTEMS systems can configure clock
12720 tick rate so use sysconf() to ask.
12721
12722 2000-12-04 Joel Sherrill <joel@OARcorp.com>
12723
12724 * libc/include/sys/times.h: Add reference to POSIX standard.
12725
12726 2000-12-04 Joel Sherrill <joel@OARcorp.com>
12727
12728 * libc/include/sys/time.h: Added BSD timer manipulation macros
12729 used by RTEMS code.
12730
12731 2000-12-04 Joel Sherrill <joel@OARcorp.com>
12732
12733 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
12734 referenced by code generated by gcc 2.8.1.
12735 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
12736 satisfy gcc.
12737
12738 2000-12-04 Joel Sherrill <joel@OARcorp.com>
12739
12740 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
12741
12742 2000-12-04 Joel Sherrill <joel@OARcorp.com>
12743
12744 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
12745
12746 2000-12-04 Joel Sherrill <joel@OARcorp.com>
12747
12748 * configure.host (or16, or32): New entries for OpenCores
12749 OpenRisc CPUs.
12750 (*-*-rtems*): Add -DNO_EXEC.
12751
12752 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
12753
12754 * libc/include/sys/errno.h: Added comments on many error numbers.
12755 * libc/string/strerror.c: Added some more strings.
12756
12757 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
12758
12759 * libc/sys/sh/syscalls.c (_link): New stub.
12760
12761 2000-11-29 Nick Clifton <nickc@redhat.com>
12762
12763 * configure.host: Add xscale target.
12764 * libc/machine/xscale: New directory.
12765 * libc/machine/xscale/Makefile.am: New file.
12766 * libc/machine/xscale/Makefile.in: New file.
12767 * libc/machine/xscale/aclocal.m4: New file.
12768 * libc/machine/xscale/configure: New file.
12769 * libc/machine/xscale/configure.in: New file.
12770 * libc/machine/xscale/memchr.S: New file.
12771 * libc/machine/xscale/memcmp.S: New file.
12772 * libc/machine/xscale/memcpy.S: New file.
12773 * libc/machine/xscale/memmove.S: New file.
12774 * libc/machine/xscale/memset.S: New file.
12775 * libc/machine/xscale/strchr.S: New file.
12776 * libc/machine/xscale/strcmp.S: New file.
12777 * libc/machine/xscale/strcpy.S: New file.
12778 * libc/machine/xscale/strlen.S: New file.
12779
12780 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
12781
12782 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
12783 avoid compiler warnings.
12784
12785 2000-11-22 Michael Meissner <meissner@redhat.com>
12786
12787 * libc/posix/execl.c (execl): Don't reference environ directly,
12788 reference it only via a static pointer to avoid problems with some
12789 shared library systems and with different uses of small data where
12790 the user specifies his own version of environ.
12791 * libc/posix/execv.c (execv): Ditto.
12792 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
12793 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
12794 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
12795
12796 * libc/stdlib/getenv.c (environ): Delete unused reference to
12797 environ.
12798
12799 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
12800 colorization.
12801 * libc/stdlib/system.c: Ditto.
12802
12803 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
12804
12805 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
12806 including windows headers.
12807
12808 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
12809
12810 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
12811 * libc/include/dirent.h: Added definition of MAXNAMLEN if
12812 not defined by sys/dirent.h.
12813 * libc/posix/execvp.c: Added include of dirent.h to get
12814 MAXNAMLEN value which used to be in unistd.h.
12815
12816 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
12817
12818 * libc/include/sys/types.h: Change type of i to `size_t' in
12819 FD_ZERO macro to avoid compiler warnings.
12820
12821 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
12822
12823 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
12824 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
12825
12826 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
12827
12828 * libc/include/sys/unistd.h: Add defines for sysconf values
12829 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
12830 _SC_AVPHYS_PAGES.
12831
12832 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
12833
12834 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
12835 declarations for __CYGWIN__.
12836
12837 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
12838
12839 * libc/signal/signal.c (__sigtramp_r): ISO C requires
12840 case labels to be integral constant expressions, so
12841 use an if/else tree instead.
12842 (_raise_r): Likewise.
12843
12844 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
12845
12846 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
12847 clipping patch from e-mail reader.
12848
12849 2000-09-13 Will Cohen <wcohen@redhat.com>
12850
12851 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
12852 Added return value 0.
12853 (_longjmp): Allow longjmp to return value of second argument
12854 passed to it.
12855
12856 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
12857
12858 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
12859 inline code to prevent having to include another header file.
12860
12861 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
12862
12863 * Makefile.am: Fix space vs. tab problem in install-data-local.
12864 * Makefile.in: Regenerate.
12865
12866 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
12867
12868 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
12869 (_EXPARM): New macro for defining a function parameter.
12870 * libc/include/stdlib.h: Use _EXPARM.
12871 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
12872
12873 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
12874
12875 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
12876 required, as documented in the gnu coding standards.
12877 * Makefile.in: Regenerate.
12878
12879 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
12880
12881 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
12882 make O_NDELAY and O_NONBLOCK have the same value.
12883
12884 2000-08-30 Kazu Hirata <kazu@hxi.com>
12885
12886 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
12887
12888 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
12889
12890 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
12891 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
12892 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
12893 everywhere else.
12894
12895 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
12896
12897 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
12898 * libc/include/string.h: Don't include <sys/types.h>,
12899 as it causes really bad namespace pollution. Don't declare
12900 swab(), it is properly declared in unistd.h.
12901
12902 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
12903
12904 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
12905 (broken) support for non-existent /etc/passwd field "comment".
12906
12907 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
12908
12909 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
12910 only if _DIRENT_HAVE_D_NAMLEN is defined.
12911 (alphasort): aligned prototype with
12912 libc/sys/cygwin/sys/dirent.h and simplified function body.
12913 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
12914 long telldir (DIR *) as mentioned in annex B of POSIX.1
12915
12916 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
12917
12918 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
12919 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
12920 Added __CLI and __STI macros (controlled via
12921 _I386MACH_ALLOW_HW_INTERRUPTS macro).
12922 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
12923 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
12924 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
12925 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
12926 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
12927 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
12928 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
12929 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
12930 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
12931 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
12932 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
12933 for all global entry points.
12934 * libc/machine/i386/setjmp.S: removed code replicated in
12935 libc/machine/i386/i386mach.h and included i386mach.h instead;
12936 Use __CLI and __STI instead of cli and sti.
12937
12938 2000-08-25 DJ Delorie <dj@redhat.com>
12939
12940 * libc/include/sys/unistd.h (environ): this one isn't from the
12941 DLL, no __IMPORT
12942
12943 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
12944
12945 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
12946 environ when compiling under cygwin since it is already declared in
12947 unistd.h.
12948
12949 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
12950
12951 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
12952 like x << y-z to the equivalent x << (y-z).
12953 (d2b): changed if statements with assignment to perform the
12954 assignment prior to the if check.
12955 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
12956 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
12957 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
12958 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
12959 precedence.
12960 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
12961 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
12962 execve.c).
12963 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
12964 precedence.
12965 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
12966 clarify && and || precendence (and to remove pascalism).
12967 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
12968 * libm/math/s_infconst.c: added another pair of braces to all
12969 initializers for __infinity (need three: for __infinity[1] array,
12970 for union __dmath, and for i[2]).
12971
12972 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
12973
12974 * libc/stdlib/abort.c: changed description: uses "raise" instead of
12975 "getpid" and "kill"; added: uses "write" and "_exit".
12976 Also included unistd.h for "_exit" prototype.
12977 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
12978 reent.h for "_fork_r" and "_wait_r" prototypes.
12979 (do_system): changed extern char *environ[] to POSIX-friendly
12980 extern char **environ.
12981 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
12982 prototypes.
12983 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
12984 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
12985 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
12986 * libc/reent/openr.c: included fcntl.h for "open" prototype.
12987 * libc/reent/signalr.c: included signal.h for "kill" prototype,
12988 unistd.h for "getpid" prototype.
12989 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
12990 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
12991 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
12992 prototype. Also included stdlib.h for "abort", string.h for
12993 "strdup" and "strncmp" prototypes.
12994 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
12995 "strncpy", unistd.h for "read" and "close" prototypes.
12996 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
12997 "strcat" prototypes.
12998
12999 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
13000
13001 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
13002 used later (ifdef __SCLE)
13003 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
13004 used later (ifdef MB_CAPABLE)
13005 * libc/string/memset.c (memset): removed unused variables "count"
13006 and "unaligned_addr"
13007 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
13008 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
13009 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
13010 and "gid"
13011
13012 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
13013
13014 * libc/stdlib/envlock.c: changed documented "__env_lock" and
13015 "__env_unlock" prototype from "void *" or "char *" to
13016 "struct _reent *" to match real function. Also added include
13017 of envlock.h.
13018 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
13019 "__malloc_unlock" prototype from "void *" or "char *" to
13020 "struct _reent *" to match real function.
13021 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
13022 prototypes (for getenv_r.c and setenv_r.c).
13023
13024 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
13025
13026 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
13027 and prototype in cygwin's utmp.h
13028
13029 2000-08-16 Eric Fifer <efifer@sanwaint.com>
13030
13031 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
13032
13033 2000-08-09 Nick Clifton <nickc@cygnus.com>
13034
13035 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
13036 epilogue and to allow the functions to be used in a Thumb based
13037 toolchain.
13038
13039 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
13040
13041 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
13042 so size of 0 results in nothing being written to string.
13043 Also fixed code so that when size is non-zero, there is only
13044 a maximum of size - 1 characters written to the array and
13045 a nul terminator is appended at the end.
13046 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
13047
13048 2000-08-01 DJ Delorie <dj@redhat.com>
13049
13050 * libc/include/sys/config.h: define __IMPORT appropriately
13051 * libc/include/ctype.h (_ctype_): use __IMPORT
13052 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
13053 * libc/include/math.h (__mb_cur_max): ditto
13054 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
13055 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
13056 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
13057 * libc/include/unistd.h (environ): ditto
13058
13059 2000-07-28 Michael Meissner <meissner@redhat.com>
13060
13061 * libc/include/math.h (__infinity): Declare as an array without
13062 bounds to get around small data support. Rewrite Cygwin support
13063 to be more general.
13064 * libm/math/s_infconst.c (__infinity): Ditto.
13065 * libm/mathfp/s_infconst.c (__infinity): Ditto.
13066
13067 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
13068
13069 * libc/include/math.h: Use appropriate dll import linkage for
13070 __infinity under Cygwin.
13071
13072 2000-07-13 DJ Delorie <dj@cygnus.com>
13073
13074 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
13075
13076 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
13077
13078 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
13079 to argument list for AngelSWI_Reason_GetCmdLine.
13080
13081 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
13082
13083 * configure.host: Add support for AVR target.
13084 * libc/include/machine/ieeefp.h: Likewise.
13085 * libc/include/sys/config.h: Likewise.
13086
13087 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
13088
13089 * README: Newlib 1.8.2 must be built in a separate directory
13090 than the sources.
13091
13092 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
13093
13094 * libc/include/sys/reent.h (_rand_next): Added __extension__
13095 qualifier as long long type is not strict ANSI.
13096 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
13097 to long long constant.
13098
13099 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
13100
13101 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
13102 `setegid' provided by Cygwin.
13103
13104 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
13105
13106 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
13107 account for Cygwin.
13108
13109 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
13110
13111 * libc/include/sys/reent.h (_rand_next): Changed to
13112 unsigned long long and moved to end of _reent struct in _new union.
13113 (_REENT_INIT): Changed to move _rand_next initialization.
13114 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
13115 linear congruential algorithm that is used by DJGPP.
13116
13117 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
13118
13119 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
13120 * libc/include/sys/config.h: Define __RAND_MAX.
13121
13122 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
13123
13124 * libc/stdlib/rand_r.c: New algorithm that meets minimal
13125 standard.
13126
13127 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
13128
13129 * libc/include/string.h: Work around problem with strsignal and gdb.
13130
13131 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
13132
13133 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
13134 * libc/include/malloc.h: Ditto.
13135 * libc/include/process.h: Ditto.
13136 * libc/include/stdio.h: Ditto.
13137 * libc/include/stdlib.h: Ditto.
13138 * libc/include/time.h: Ditto.
13139 * libc/include/machine/setjmp.h: Ditto.
13140 * libc/include/sys/errno.h: Ditto.
13141 * libc/include/sys/signal.h: Ditto.
13142 * libc/include/sys/stat.h: Ditto.
13143 * libc/include/sys/time.h: Ditto.
13144 * libc/include/sys/unistd.h: Ditto.
13145 * libc/include/string.h: Ditto. strsignal should return a const char *.
13146
13147 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
13148
13149 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
13150 * libm/common/s_log1p.c (log1p): Likewise.
13151 * libm/common/s_scalbn.c (scalbn): Likewise.
13152 * libm/math/e_log.c: Likewise.
13153 * libm/math/e_asin.c: Likewise.
13154 * libm/math/ef_asin.c: Likewise.
13155 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
13156 * libm/math/e_j1.c (pone, qone): Likewise.
13157 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
13158 * libm/math/ef_j1.c (ponef, qonef): Likewise.
13159 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
13160 * libm/mathfp/e_j1.c (pone, qone): Likewise.
13161 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
13162 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
13163
13164 2000-05-19 DJ Delorie <dj@cygnus.com>
13165
13166 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
13167 (__sread): always read in binary mode
13168 (__swrite): always write in binary mode
13169 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
13170 compatibility issues with different dll versions
13171 * libc/stdio/fopen.c: use __stextmode
13172 * libc/stdio/fdopen.c: ditto
13173 * libc/stdio/freopen.c: ditto
13174 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
13175 * libc/stdio/local.h: declare __stextmode
13176
13177 2000-05-18 DJ Delorie <dj@cygnus.com>
13178
13179 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
13180
13181 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
13182
13183 * libc/include/ctype.h: Changed tolower and toupper macros
13184 to use __extension__ to prevent pedantic warnings.
13185
13186 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
13187
13188 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
13189 structures.
13190
13191 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
13192
13193 * libc/include/machine/ieeefp.h: Add ia64 support.
13194 * configure.host: Likewise.
13195
13196 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
13197
13198 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
13199 month is now padded with space, not zero. This now conforms to
13200 ANSI standard.
13201
13202 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
13203
13204 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
13205 host or network path") used by cygwin. Add some comments.
13206
13207 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
13208
13209 * libc/include/stdio.h (FILE): define __SCLE for "convert line
13210 endings" for Cygwin.
13211 (__sgetc): convert line endings if needed
13212 (__sputc): ditto
13213 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
13214 * libc/stdio/fopen.c (_fopen_r): ditto
13215 * libc/stdio/freopen.c (freopen): ditto
13216 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
13217 * libc/stdio/fvwrite.c (__sfvwrite): ditto
13218
13219 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
13220
13221 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
13222 post-increment when it is worth it, spacewise.
13223
13224 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
13225
13226 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
13227 * libc/stdio/findfp.c (std): Added declaration of flags and file.
13228 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
13229 return type.
13230 * libc/stdio/putchar.c (putchar): Added return statement.
13231 * libc/stdio/refill.c (lflush): Added correct parentheses.
13232 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
13233 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
13234 prints long value to use l qualifier.
13235 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
13236 messages and initialized local values: ilim, ilim1, and spec_case.
13237 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
13238 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
13239 * libc/stdlib/mprec.c: Ditto.
13240 * libc/stdlib/setenv_r.c: Ditto.
13241 * libc/stdlib/strtod.c: Ditto.
13242 * libc/stdlib/strtol.c: Ditto.
13243 * libc/stdlib/strtoul.c: Ditto.
13244 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
13245 * libm/common/sf_log1p.c: Ditto.
13246 * libm/common/sf_scalbn.c: Ditto.
13247 * libm/math/ef_log.c: Ditto.
13248
13249 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
13250
13251 * libc/posix/execvp.c (execvp): Check path for
13252 trailing slash.
13253
13254 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
13255
13256 * libc/include/sys/unistd.h: Add prototypes for
13257 fchmod, fchown, lchown.
13258
13259 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
13260
13261 * acinclude.m4: Changed release to 1.8.2.
13262 * aclocal.m4 configure doc/aclocal.m4 doc/configure
13263 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
13264 libc/machine/configure libc/machine/a29k/aclocal.m4
13265 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
13266 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
13267 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
13268 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
13269 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
13270 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
13271 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
13272 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
13273 libc/machine/i386/configure libc/machine/i960/aclocal.m4
13274 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
13275 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
13276 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
13277 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
13278 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
13279 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
13280 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
13281 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
13282 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
13283 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
13284 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
13285 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
13286 libc/machine/v850/configure libc/machine/w65/aclocal.m4
13287 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
13288 libc/machine/z8k/configure libc/sys/aclocal.m4
13289 libc/sys/aclocal.m4 libc/sys/configure
13290 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
13291 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
13292 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
13293 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
13294 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
13295 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
13296 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
13297 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
13298 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
13299 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
13300 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
13301 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
13302 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
13303 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
13304 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
13305 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
13306 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
13307 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
13308 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
13309 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
13310 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
13311 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
13312 libm/aclocal.m4 libm/configure: Regenerated.
13313
13314 2000-03-24 Nick Clifton <nickc@cygnus.com>
13315
13316 * libc/sys/arm/syscalls.c: Fix compile time warnings.
13317 (do_AngelSWI): Add "cc" to list o registers clobbered.
13318
13319 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
13320
13321 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
13322 information to be clobbered by an Angel C library support syscall.
13323
13324 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
13325
13326 * libc/stdlib/envlock.c: Fixed comment typo.
13327
13328 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
13329
13330 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
13331 code to update nread as each character is processed instead
13332 of using buffer contents which throw away leading zeroes.
13333
13334 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
13335
13336 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
13337
13338 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
13339
13340 * libc/include/string.h: Include <sys/types.h>.
13341
13342 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13343
13344 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
13345 with XSH5, not SVID.
13346
13347 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
13348
13349 * libc/include/string.h: Changed last argument back to ssize_t
13350 to make it compatible with XPG4 definition which is
13351 defined in <unistd.h>. There is a conflict in the SVID 3
13352 and XPG4 definitions and newlib will settle with XPG4.
13353 * libc/string/swab.c: Ditto.
13354
13355 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
13356
13357 * libc/include/string.h: Changed last argument to size_t.
13358 * libc/string/swab.c: Changed last argument to size_t.
13359
13360 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13361
13362 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
13363 (CHEWOUT_FILES): Added unlinkr.def.
13364 * libc/reent/Makefile.in: Rebuilt.
13365 * libc/sys.tex: Include unlinkr.def.
13366 * libc/reent/linkr.c (_unlink_r): Moved to...
13367 * libc/reent/unlinkr.c: ... new file.
13368
13369 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13370
13371 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
13372 (CHEWOUT_FILES): Added swab.def.
13373 * libc/string/Makefile.in: Rebuilt.
13374 * libc/string/string.tex: Include swab.def.
13375 * libc/include/string.h (swab): Declare.
13376 * libc/string/swab.c: New file.
13377
13378 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13379
13380 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
13381 (CHEWOUT_FILES): Added getw.def and putw.def.
13382 * libc/stdio/Makefile.in: Rebuilt.
13383 * libc/stdio/stdio.tex: Include getw.def and putw.def.
13384 * libc/stdio/getw.c: New file.
13385 * libc/stdio/putw.c: New file.
13386
13387 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
13388
13389 * libc/stdio/flags.c (__sflags): Added check that mode[1]
13390 is non-null before looking at mode[2].
13391
13392 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
13393
13394 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
13395 * libm/mathfp/sf_atan.c: Ditto.
13396
13397 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
13398
13399 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
13400
13401 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
13402
13403 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
13404 _DOUBLE_IS_32BITS.
13405
13406 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
13407
13408 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
13409 call prior to calling _VFPRINTF_R so reentrant data area is set.
13410 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
13411
13412 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13413
13414 * libc/stdio/vfscanf.c (limits.h): #include.
13415 (MAX_LONG_LEN): #define.
13416 (__svfscanf): Handle floating point numbers with arbitrary amounts
13417 of leading zeroes.
13418
13419 2000-02-15 Nick Clifton <nickc@cygnus.com>
13420
13421 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
13422 zero. Set the blocksize to 1024/
13423
13424 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
13425
13426 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
13427 with line buffering.
13428
13429 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
13430
13431 * acinclude.m4: Changed include directory for winsup headers.
13432 * aclocal.m4 configure libc/aclocal.m4
13433 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
13434 libc/locale/Makefile.in libc/machine/aclocal.m4
13435 libc/machine/configure libc/machine/a29k/aclocal.m4
13436 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
13437 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
13438 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
13439 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
13440 libc/machine/fr30/configure
13441 libc/machine/h8300/aclocal.m4
13442 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
13443 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
13444 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
13445 libc/machine/i386/configure libc/machine/i960/aclocal.m4
13446 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
13447 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
13448 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
13449 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
13450 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
13451 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
13452 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
13453 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
13454 libc/machine/powerpc/configure
13455 libc/machine/sh/aclocal.m4
13456 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
13457 libc/machine/sparc/configure
13458 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
13459 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
13460 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
13461 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
13462 libc/misc/Makefile.in libc/posix/Makefile.in
13463 libc/reent/Makefile.in
13464 libc/signal/Makefile.in
13465 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
13466 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
13467 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
13468 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
13469 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
13470 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
13471 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
13472 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
13473 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
13474 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
13475 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
13476 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
13477 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
13478 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
13479 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
13480 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
13481 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
13482 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
13483 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
13484 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
13485 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
13486 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
13487 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
13488 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
13489 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
13490 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
13491 libm/configure: Regenerated.
13492
13493 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
13494
13495 * libc/stdlib/putenv_r.c (_putenv_r): New file.
13496 * libc/stdlib/strdup_r.c (_strdup_r): New file.
13497 * libc/include/string.h: Added _strdup_r.
13498 * libc/stdlib/putenv.c: Added call to reentrant version.
13499 * libc/stdlib/strdup.c: Ditto.
13500 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
13501 * libc/include/stdlib.h: Ditto.
13502 * libc/stdlib/Makefile.in: Regenerated.
13503 * libc/string/Makefile.in: Regenerated.
13504 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
13505 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
13506 management calls to reentrant versions.
13507 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
13508 * libc/stdlib/wctomb.c: Ditto.
13509 * libc/stdlib/mblen.c: Ditto.
13510 * libc/stdlib/mbstowcs.c: Ditto.
13511 * libc/stdlib/mbtowc.c: Ditto.
13512 * libc/stdlib/getenv.c: Ditto.
13513 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
13514 and _strdup_r.
13515
13516 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
13517
13518 patch from Corinna Vinschen <corinna@vinschen.de>
13519 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
13520
13521 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
13522
13523 * libm/mathfp/s_atangent.c: Fix exponent calculation.
13524 * libm/mathfp/s_ldexp.c: Ditto.
13525 * libm/mathfp/sf_atangent.c: Ditto.
13526 * libm/mathfp/sf_ldexp.c: Ditto.
13527
13528 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
13529
13530 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
13531 * libc/include/locale.h: define NULL to be 0.
13532
13533 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
13534
13535 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
13536 function.
13537
13538 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
13539
13540 * libc/machine/mn10300/setjmp.S: Handle am33.
13541
13542 1999-11-26 Nick Clifton <nickc@cygnus.com>
13543
13544 * libc/sys/arm/syscalls.c: Add function prototypes.
13545 (stack_ptr): Move declaration before function definitions.
13546
13547 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
13548
13549 * NEWS: Updated version information.
13550 * README: Ditto.
13551
13552 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
13553
13554 * libc/machine/i386/strchr.S: Fixed alignment test.
13555
13556 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
13557
13558 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
13559
13560 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
13561
13562 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
13563 ensuring that there is space between the two.
13564
13565 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
13566
13567 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
13568 only.
13569
13570 1999-10-08 Vadim Egorov <egorovv@1c.ru>
13571
13572 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
13573 section
13574
13575 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
13576
13577 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
13578 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
13579
13580 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
13581 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
13582 per POSIX 1003.1b.
13583 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
13584 per POSIX 1003.1b.
13585
13586 1999-09-13 DJ Delorie <dj@cygnus.com>
13587
13588 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
13589 also.
13590
13591 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
13592
13593 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
13594 also note BUFSIZ as its size.
13595
13596 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
13597
13598 * configure.host: Corrected feature defines for RTEMS.
13599 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
13600 * libc/include/sys/stat.h: mkfifo() should take const path arg.
13601 * libc/include/sys/unistd.h: pathconf() should take const path arg.
13602 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
13603 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
13604 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
13605 _PC_PRIO_IO, and _PC_SYNC_IO.
13606 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
13607 * libc/machine/m68k/Makefile.in: Regenerated.
13608 * libc/machine/m68k/strcpy.c: New file.
13609 * libc/machine/m68k/strlen.c: New file.
13610 * libc/stdio/tmpnam.c: Always make the returned name usable.
13611 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
13612 * libc/sys/rtems/sys/dirent.h: New file.
13613 * libc/sys/rtems/sys/types.h: Added dev_t.
13614
13615 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
13616
13617 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
13618
13619 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
13620
13621 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
13622 my patch.
13623
13624 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
13625
13626 patch from Jeff Johnston <jjohnstn@cygnus.com>
13627 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
13628 buffer is not in a useful state.
13629
13630 1999-09-01 Nick Clifton <nickc@cygnus.com>
13631
13632 * libc/sys/arm/syscalls.c (_link): Add stub.
13633
13634 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13635
13636 * ftell.c (ftell): Use actual position within buffer for text mode.
13637 * findfp.c (std): Initialize ptr->_bf._size.
13638
13639 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
13640
13641 * libc/include/sys/unistd.h: Add nice() declaration.
13642
13643 1999-08-09 Nick Clifton <nickc@cygnus.com>
13644
13645 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
13646 declare as a thumb function so that the disassembler will see the
13647 mode change.
13648
13649 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
13650
13651 * libc/reent/reent.tex: Updated list of reentrant functions.
13652
13653 1999-07-09 Michael Meissner <meissner@cygnus.com>
13654
13655 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
13656
13657 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
13658
13659 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
13660 separate file.
13661 * libc/stdio/snprintf.c: New file.
13662 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
13663 separate file.
13664 * libc/stdio/vsnprintf.c: New file.
13665 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
13666 * libc/stdio/Makefile.in: Regenerated.
13667
13668 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
13669
13670 Patch submitted by Egor Duda <deo@logos-m.ru>:
13671 * libc/include/stdio.h: Add declarations for *nprintf.
13672 * libc/stdio/sprintf.c (snprintf): New function.
13673 (_snprintf_r): New function.
13674 * libc/stdio/vsprintf.c (vsnprintf): New function.
13675 (_vnsprintf_r): New function.
13676
13677 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
13678
13679 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
13680 * libm/Makefile.am (stmp-targetdep): Ditto.
13681 * libc/Makefile.in: Regenerated.
13682 * libm/Makefile.in: Ditto.
13683
13684 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
13685
13686 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
13687 * libm/Makefile.am (stmp-targetdep): Ditto.
13688 * libc/Makefile.in: Regenerated.
13689 * libm/Makefile.in: Ditto.
13690
13691 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
13692
13693 * Makefile.am: Removed dependencies on all-recursive and added "."
13694 to the SUBDIRS list to prevent infinite recursion from occurring.
13695 Also removed any references to EXTRA_DATA.
13696 * libc/Makefile.am: Ditto.
13697 * libc/machine/Makefile.am: Ditto.
13698 * libc/machine/i386/Makefile.am: Ditto.
13699 * libm/Makefile.am: Ditto.
13700 * libc/sys/Makefile.am: Ditto.
13701 * Makefile.in: Regenerated.
13702 * aclocal.m4: Ditto.
13703 * configure: Ditto.
13704 * doc/Makefile.in: Ditto.
13705 * doc/aclocal.m4: Ditto.
13706 * doc/configure: Ditto.
13707 * libc/Makefile.in: Ditto.
13708 * libc/aclocal.m4: Ditto.
13709 * libc/configure: Ditto.
13710 * libc/machine/Makefile.in: Ditto.
13711 * libc/machine/aclocal.m4: Ditto.
13712 * libc/machine/configure: Ditto.
13713 * libc/machine/mn10300/Makefile.in: Ditto.
13714 * libc/machine/mn10300/aclocal.m4: Ditto.
13715 * libc/machine/mn10300/configure: Ditto.
13716 * libc/sys/Makefile.in: Ditto.
13717 * libc/sys/aclocal.m4: Ditto.
13718 * libc/sys/configure: Ditto.
13719 * libm/Makefile.in: Ditto.
13720 * libm/aclocal.m4: Ditto.
13721 * libm/configure: Ditto.
13722
13723 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
13724
13725 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
13726
13727 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
13728
13729 * libc/include/stdlib.h: Add reentrant routines.
13730 * libc/stdlib/Makefile.am: Add reentrant routines.
13731 * libc/stdlib/Makefile.in: Ditto.
13732 * libc/stdlib/envlock.c: New file.
13733 * libc/stdlib/envlock.h: New file.
13734 * libc/stdlib/getenv.c: Modify to call reentrant routine.
13735 * libc/stdlib/getenv_r.c: New file.
13736 * libc/stdlib/mblen.c: Modify to call reentrant routine.
13737 * libc/stdlib/mblen_r.c: New file.
13738 * libc/stdlib/setenv.c: Modify to call reentrant routine.
13739 * libc/stdlib/setenv_r.c: New file.
13740 * libc/stdlib/stdlib.tex: Add reentrant routines.
13741
13742 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
13743
13744 * libc/include/sys/types.h: Define __MS_types__ whenever
13745 cygwin or win32.
13746
13747 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
13748
13749 * libc/include/machine/ieeefp.h: Always default to little
13750 endian if Windows, regardless of architecture.
13751 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
13752 regardless of architecture.
13753
13754 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
13755
13756 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
13757 _WIN32 isn't defined.
13758
13759 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
13760
13761 * libm/common/s_rint.c (rint): Add volatile qualifier for
13762 intermediate value w.
13763 * libm/common/sf_rint.c (rintf): Ditto.
13764
13765 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
13766
13767 * libc/sys/arm/syscalls.c (remap_handle): Added check to
13768 ensure that std streams are initialized before being referenced.
13769
13770 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
13771
13772 * README: Update reference to newlib@cygnus.com new
13773 newlib@sourceware.cygnus.com address.
13774
13775 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
13776
13777 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
13778 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
13779 defined, even if _WIN32 isn't defined.
13780
13781 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
13782
13783 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
13784
13785 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
13786
13787 * libc/include/sys/reent.h: Change Long and ULong to __Long and
13788 __ULong.
13789 * libc/stdlib/dtoa.c: Ditto.
13790 * libc/stdlib/mprec.c: Ditto.
13791 * libc/stdlib/mprec.h: Ditto.
13792 * libc/stdlib/strtod.c: Ditto.
13793
13794 1999-04-21 Nick Clifton <nickc@cygnus.com>
13795
13796 * configure.host (mcore): Remove mcore machine directory.
13797
13798 1999-04-18 Nick Clifton <nickc@cygnus.com>
13799
13800 * libc/include/machine/ieeefp.h: Add support for mcore target.
13801 * libc/include/machine/setjmp.h: Add support for mcore target.
13802 * configure.host: Add support for mcore target.
13803
13804 1999-04-13 Mark Salter <msalter@cygnus.com>
13805
13806 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
13807 * libc/sys/arm/syscalls.c: Added isatty.
13808
13809 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
13810
13811 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
13812 insert zeroes after significant digits.
13813
13814 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
13815
13816 * libc/stdio/vfprintf.c (cvt): Changed floating point
13817 cvt routine to use union used by dtoa to properly determine
13818 if the sign bit is on or not.
13819 * libc/stdio/vfieeefp.h: New file
13820
13821 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
13822
13823 * aclocal.m4: Regenerated.
13824 * configure: Regenerated.
13825
13826 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
13827
13828 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
13829 f_tanf reference.
13830 * libc/machine/i386/Makefile.in: Regenerated.
13831
13832 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
13833
13834 * acinclude.m4: Changed to work with new automake.
13835 * configure: Regenerated.
13836 * libc/machine/i386/aclocal.m4: Regenerated.
13837 * libc/machine/i386/configure: Regenerated.
13838
13839 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
13840
13841 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
13842 for telldir() and seekdir(). Rename unused structure element
13843 for use with these two routines.
13844
13845 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
13846
13847 * libc/time/mktime.c (validate_structure): Multiple fixes to
13848 code to handle cases where input fields are outside valid ranges.
13849 * libc/stdlib/div.c (div): Modified invalid rounding check.
13850 * libc/stdlib/ldiv.c (ldiv): Ditto.
13851
13852 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
13853
13854 * libc/machine/i386/memcpy.S: Performance rewrite.
13855 * libc/machine/i386/memmove.S: Ditto.
13856 * libc/machine/i386/i386mach.h: Added more register definitions.
13857 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
13858 option used.
13859 * libc/include/machine/fastmath.h: Add definitions for x86
13860 fast-math routines.
13861
13862 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
13863
13864 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
13865
13866 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
13867
13868 Adjust newlib headers for new Cygwin Win32 API header files:
13869 * libc/include/sys/time.h: Check _WINSOCK_H rather than
13870 _GNU_H_WINDOWS32_SOCKETS.
13871 * libc/include/sys/types.h: Ditto.
13872
13873 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
13874
13875 *include/sys/reent.h: Add checks for size of Bigint element Long.
13876 *libc/dtoa.c: Change routines to use generic Long type.
13877 *libc/mprec.c: Change routines to use generic Long type.
13878 *libc/mprec.h: Change routines to use generic Long type.
13879
13880 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
13881
13882 * libc/Makefile.am: Add .def files.
13883 * libc/Makefile.in: Regenerate.
13884 * libc/e_acosh.c: Documentation update.
13885 * libc/e_atanh.c: Documentation update.
13886 * libc/e_hypot.c: Documentation update.
13887 * libc/e_remainder.c: Documentation update.
13888 * libc/er_lgamma.c: Documentation update.
13889 * libc/mathfp.tex: Documentation update.
13890 * libc/s_acos.c: Documentation update.
13891 * libc/s_atan.c: Documentation update.
13892 * libc/s_atan2.c: Documentation update.
13893 * libc/s_cosh.c: Documentation update.
13894 * libc/s_fmod.c: Documentation update.
13895 * libc/s_isnan.c: Documentation update.
13896 * libc/s_log10.c: Documentation update.
13897 * libc/s_pow.c: Documentation update.
13898 * libc/w_jn.c: Documentation update.
13899
13900 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
13901
13902 * aclocal.m4: Regenerate.
13903 * configure: Regenerate.
13904
13905 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
13906
13907 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
13908 to return 1 if user specified return code is 0.
13909 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
13910
13911 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
13912
13913 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
13914 to save the return address. Fixed longjmp to return to the original
13915 calling address of setjmp and to return the user specified return code
13916 rather than default to 1.
13917 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
13918
13919 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
13920
13921 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
13922
13923 1999-02-10 Nick Clifton <nickc@cygnus.com>
13924
13925 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
13926 volatile so that its assignments will not be discarded.
13927
13928 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
13929
13930 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
13931 be __STRICT_ANSI__ which is generated by compiler.
13932 * libc/include/ctype.h: Ditto.
13933 * libc/include/math.h: Ditto.
13934 * libc/include/stdio.h: Ditto.
13935 * libc/include/stdlib.h: Ditto.
13936 * libc/include/string.h: Ditto.
13937 * libc/include/sys/signal.h: Ditto.
13938
13939 1999-02-08 Nick Clifton <nickc@cygnus.com>
13940
13941 * configure.host: Add support for StrongARM target.
13942
13943 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
13944
13945 * libc/string/strncpy.c (strncpy): Removed redundant code
13946 that was copying bytes if data unaligned.
13947
13948 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
13949
13950 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
13951 mbstowcs.def, and wcstombs.def.
13952
13953 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
13954
13955 * libc/include/sys/errno.h: Add Cygwin errno.
13956 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
13957 is specified.
13958
13959 1999-01-29 Nick Clifton <nickc@cygnus.com>
13960
13961 * libc/sys/arm/syscalls.c: Move C library functions into seperate
13962 file.
13963
13964 * libc/sys/arm/libcfunc.c: New file containing C library functions
13965 from syscalls.c
13966
13967 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
13968 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
13969
13970
13971 1999-01-27 Michael Meissner <meissner@cygnus.com>
13972
13973 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
13974 type, and cut size in half so that the jmp_buf array is guaranteed
13975 to be aligned on a 64-bit boundary.
13976
13977 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
13978
13979 * libc/string/strings.tex: Added information about
13980 strcasecmp and strncasecmp.
13981 * libc/stdlib/stdlib.tex: Added missing information
13982 about mblen, mbstowcs, and wcstombs.
13983 * libc/string/strchr.c: Changed how mask is built to use
13984 shift operators so register will be used instead of storage.
13985
13986 1999-01-22 DJ Delorie <dj@cygnus.com>
13987
13988 * libc/include/stdlib.h: don't use dllimport if we're building
13989 newlib, since it's inside cygwin.dll
13990
13991 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
13992
13993 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
13994 _ctype_ under cygwin.
13995
13996 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
13997
13998 * include/stdlib.h: Fix typo from previous checkin.
13999
14000 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
14001
14002 * include/ctype.h: Use __declspec(dllimport) method for exporting
14003 variable from cygwin DLL.
14004 * include/time.h: Ditto.
14005 * sys/errno.h: Ditto.
14006 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
14007 * libc/locale/locale.c: Use __declspec(dllexport) method for
14008 exporting variable from cygwin DLL.
14009
14010 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
14011
14012 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
14013 access of bogus pointer will result in SIGSEGV.
14014
14015 1999-01-07 Nick Clifton <nickc@cygnus.com>
14016
14017 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
14018 of an underscore prefix to function names.
14019
14020 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
14021
14022 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
14023 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
14024
14025 1998-12-31 Michael Meissner <meissner@cygnus.com>
14026
14027 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
14028 to `%' if not already defined.
14029
14030 1998-12-30 Michael Meissner <meissner@cygnus.com>
14031
14032 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
14033 arguments const char *, not char *.
14034 * libc/include/stdio.h (_tempnam_r): Ditto.
14035
14036 * libc/include/sys/reent.h (struct _reent): The _sig_func type
14037 points to a function taking an integer, not void.
14038
14039 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
14040
14041 * configure.host: Add a define for Cygwin builds.
14042 * libc/include/ctype.h: Don't use dll imported variables in newlib.
14043
14044 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
14045
14046 * libc/include/ctype.h: Define _ctype_ as dll imported variable
14047 for use with Cygwin.
14048 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
14049 dll imported variables for use with Cygwin.
14050 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
14051 as a dll imported variable for Cygwin.
14052
14053 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
14054
14055 * libc/include/sys/unistd.h: Add proto for getpass.
14056
14057 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
14058
14059 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
14060 alphasort.
14061
14062 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
14063
14064 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
14065 not posix_path_list_p.
14066
14067 1998-12-15 Nick Clifton <nickc@cygnus.com>
14068
14069 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
14070 a signed int.
14071
14072 1998-12-13 Nick Clifton <nickc@cygnus.com>
14073
14074 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
14075
14076 1998-12-12 Nick Clifton <nickc@cygnus.com>
14077
14078 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
14079 <msalter@cygnus.com>
14080 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
14081 * libc/machine/fr30/Makefile.in: Regenerated.
14082
14083 1998-12-11 Nick Clifton <nickc@cygnus.com>
14084
14085 * configure.host: Remove use of libc/sys for FR30 port.
14086 * libc/sys/fr30: Remove directory (replaced by libgloss).
14087
14088 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
14089
14090 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
14091 * libc/string/strncat.c (ALIGNED): Ditto.
14092
14093 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
14094
14095 * libc/include/sys/time.h: include sys/types.h
14096
14097 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
14098
14099 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
14100 comparison found when checking word at a time.
14101
14102 1998-12-04 Nick Clifton <nickc@cygnus.com>
14103
14104 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
14105
14106 1998-12-03 Nick Clifton <nickc@cygnus.com>
14107
14108 * libc/sys/fr30/syscalls.c (_times): New function stub.
14109
14110 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
14111
14112 * configure.host (mach_add_setjmp): Replaced mach_add_objs
14113 with mach_add_setjmp flag which indicates if setjmp should
14114 be added to the machine directory objects.
14115 * acinclude.m4: Removed reference to mach_add_objs.
14116 * aclocal.m4: Regenerated.
14117 * Makefile.in: Regenerated.
14118 * configure: Regenerated.
14119 * libc/aclocal.m4: Regenerated.
14120 * libc/Makefile.in: Regenerated.
14121 * libc/configure: Regenerated.
14122 * libc/machine/aclocal.m4: Regenerated.
14123 * libc/machine/Makefile.in: Regenerated.
14124 * libc/machine/configure: Regenerated.
14125 * libc/machine/i386/aclocal.m4: Regenerated.
14126 * libc/machine/i386/Makefile.am: Altered to selectively add
14127 setjmp.S to the src files list.
14128 * libc/machine/i386/Makefile.in: Regenerated.
14129 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
14130 * libc/machine/i386/configure: Regenerated.
14131
14132 1998-12-02 Nick Clifton <nickc@cygnus.com>
14133
14134 * libc/sys/fr30/crt0.s (_start): Fix function names.
14135
14136 * libc/machine/fr30: New directory
14137 * libc/machine/fr30/Makefile.am: New file.
14138 * libc/machine/fr30/Makefile.in: New generated file.
14139 * libc/machine/fr30/configure.in: New file.
14140 * libc/machine/fr30/configure: New generated file.
14141 * libc/machine/fr30/aclocal.m4: New generated file.
14142 * libc/sys/fr30/Makefile.am: New file.
14143 * libc/sys/fr30/Makefile.in: New generated file.
14144 * libc/sys/fr30/configure.in: New file.
14145 * libc/sys/fr30/configure: New generated file.
14146 * libc/sys/fr30/syscalls.c: New file.
14147
14148 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
14149
14150 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
14151
14152 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
14153
14154 * libc/time/strftime.c (strftime): Also handle %y for years before
14155 1900.
14156
14157 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
14158
14159 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
14160 UNIX convention. Perform tolower on characters before comparing
14161 them rather than use toupper.
14162 * libc/string/strncasecmp.c (strncasecmp): Ditto.
14163
14164 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
14165
14166 * configure.host: Added using i386 machine directory
14167 for all x86 cross-compiler and configuring
14168 which added object files to use via new "mach_add_objs" variable.
14169 * configure: Regenerated.
14170 * libc/configure: Regenerated.
14171 * libc/Makefile.in: Regenerated.
14172 * libc/aclocal.m4: Regenerated.
14173 * libc/ctype/Makefile.in: Regenerated.
14174 * libc/errno/Makefile.in: Regenerated.
14175 * libc/locale/Makefile.in: Regenerated.
14176 * libc/machine/Makefile.in: Regenerated.
14177 * libc/machine/aclocal.m4: Regenerated.
14178 * libc/machine/configure: Regenerated.
14179 * libc/posix/Makefile.in: Regenerated.
14180 * libc/reent/Makefile.in: Regenerated.
14181 * libc/signal/Makefile.in: Regenerated.
14182 * libc/stdio/Makefile.in: Regenerated.
14183 * libc/stdlib/Makefile.in: Regenerated.
14184 * libc/string/Makefile.in: Regenerated.
14185 * libc/string/memmove.c: Optimized code to use memcpy
14186 logic when performing a non-destructive copy.
14187 * libc/string/strncmp.c: Altered code to allow building
14188 optimized for size or speed.
14189 * libc/syscalls/Makefile.in: Regenerated.
14190 * libc/time/Makefile.in: Regenerated.
14191 * libc/unix/Makefile.in: Regenerated.
14192 * libc/machine/i386/Makefile.am: Added new files and reference
14193 to "mach_add_objs" to indicate optional object files.
14194 * libc/machine/i386/Makefile.in: Regenerated.
14195 * libc/machine/i386/aclocal.m4: Regenerated.
14196 * libc/machine/i386/configure: Regenerated.
14197 * libc/machine/i386/memchr.S: New file that implements
14198 function in Intel assembler.
14199 * libc/machine/i386/memcmp.S: ditto.
14200 * libc/machine/i386/memcpy.S: ditto.
14201 * libc/machine/i386/memmove.S: ditto.
14202 * libc/machine/i386/memset.S: ditto.
14203 * libc/machine/i386/strchr.S: ditto.
14204 * libc/machine/i386/strlen.S: ditto.
14205 * libc/machine/i386/f_atan2.S: New file that implements
14206 fast version of math function to be used by compiler when
14207 --ffast_math compile option is used.
14208 * libc/machine/i386/f_atan2f.S: ditto.
14209 * libc/machine/i386/f_exp.c: ditto.
14210 * libc/machine/i386/f_expf.c: ditto.
14211 * libc/machine/i386/f_frexp.S: ditto.
14212 * libc/machine/i386/f_frexpf.S: ditto.
14213 * libc/machine/i386/f_ldexp.S: ditto.
14214 * libc/machine/i386/f_ldexpf.S: ditto.
14215 * libc/machine/i386/f_log.S: ditto.
14216 * libc/machine/i386/f_logf.S: ditto.
14217 * libc/machine/i386/f_log10.S: ditto.
14218 * libc/machine/i386/f_log10f.S: ditto.
14219 * libc/machine/i386/f_math.h: New file.
14220 * libc/machine/i386/f_pow.c: ditto.
14221 * libc/machine/i386/f_powf.S: ditto.
14222 * libc/machine/i386/f_tan.S: ditto.
14223 * libc/machine/i386/f_tan.S: ditto.
14224 * libc/machine/i386/i386mach.h: New file.
14225
14226 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
14227
14228 patch from Mumit Khan <khan@xraylith.wisc.edu>
14229 * libc/include/stdio.h (tempnam): Add prototype.
14230 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
14231 (tempnam): Adhere to prototype.
14232
14233 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
14234
14235 * Makefile.am: Add default for AR_FLAGS.
14236 * Makefile.in: Regenerate.
14237
14238 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
14239
14240 * libc/include/time.h: move __cplusplus wrapper after includes
14241 * libc/include/sys/time.h: ditto. If Cygwin, include
14242 sys/select.h.
14243 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
14244
14245 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
14246
14247 * libc/time/strftime.c (strftime): Handle %y after year 2000.
14248
14249 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
14250
14251 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
14252 abnormnal end-of-crt0 marker.
14253
14254 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
14255
14256 * libc/sys/fr30/crt0.s: New file/directory.
14257 * libc/include/machine/setjmp.h: Add FR30 target.
14258 * libc/include/machine/ieeefp.h: Add FR30 target.
14259 * configure.host: Add FR30 target.
14260
14261 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
14262
14263 * libm/math: Files that are duplicated in common directory removed.
14264 * libm/math/fdlibm.h: Removed.
14265 * libm/math/s_cbrt.c: Removed.
14266 * libm/math/s_copysign.c: Removed.
14267 * libm/math/s_expm1.c: Removed.
14268 * libm/math/s_finite.c: Removed.
14269 * libm/math/s_ilogb.c: Removed.
14270 * libm/math/s_infinity.c: Removed.
14271 * libm/math/s_lib_ver.c: Removed.
14272 * libm/math/s_log1p.c: Removed.
14273 * libm/math/s_logb.c: Removed.
14274 * libm/math/s_matherr.c: Removed.
14275 * libm/math/s_modf.c: Removed.
14276 * libm/math/s_nan.c: Removed.
14277 * libm/math/s_nextafter.c: Removed.
14278 * libm/math/s_rint.c: Removed.
14279 * libm/math/s_scalbn.c: Removed.
14280 * libm/math/sf_cbrt.c: Removed.
14281 * libm/math/sf_copysign.c: Removed.
14282 * libm/math/sf_expm1.c: Removed.
14283 * libm/math/sf_finite.c: Removed.
14284 * libm/math/sf_ilogb.c: Removed.
14285 * libm/math/sf_infinity.c: Removed.
14286 * libm/math/sf_log1p.c: Removed.
14287 * libm/math/sf_logb.c: Removed.
14288 * libm/math/sf_modf.c: Removed.
14289 * libm/math/sf_nan.c: Removed.
14290 * libm/math/sf_nextafter.c: Removed.
14291 * libm/math/sf_rint.c: Removed.
14292 * libm/math/sf_scalbn.c: Removed.
14293 * libm/math/Makefile.am: Removed references to deleted files (above).
14294 * libm/math/Makefile.in: Regenerated.
14295 * libm/Makefile.am: Added common directory to math.
14296 * libm/Makefile.in: Regenerated.
14297
14298 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
14299
14300 * libm/mathfp: Add non-ANSI functions.
14301 * libm/mathfp/e_acosh.c acosh(): New file.
14302 * libm/mathfp/e_atanh.c atanh(): New file.
14303 * libm/mathfp/e_hypot.c hypot(): New file.
14304 * libm/mathfp/e_j0.c j0(): New file.
14305 * libm/mathfp/e_j1.c j1(): New file.
14306 * libm/mathfp/e_remainder.c remainder(): New file.
14307 * libm/mathfp/e_scalb.c scalb(): New file.
14308 * libm/mathfp/ef_acosh.c acoshf(): New file.
14309 * libm/mathfp/ef_atanh.c atanhf(): New file.
14310 * libm/mathfp/ef_hypot.c hypotf(): New file.
14311 * libm/mathfp/ef_j0.c j0f(): New file.
14312 * libm/mathfp/ef_j1.c j1f(): New file.
14313 * libm/mathfp/ef_remainder.c remainderf(): New file.
14314 * libm/mathfp/ef_scalb.c scalbf(): New file.
14315 * libm/mathfp/er_gamma.c gamma_r: New file.
14316 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
14317 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
14318 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
14319 * libm/mathfp/w_cabs.c cabs(): New file.
14320 * libm/mathfp/w_drem.c drem(): New file.
14321 * libm/mathfp/w_jn.c jn(): New file.
14322 * libm/mathfp/wf_cabs.c cabsf(): New file.
14323 * libm/mathfp/wf_drem.c dremf(): New file.
14324 * libm/mathfp/wf_jn.c jnf(): New file.
14325
14326 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
14327
14328 * libc/sys/cygwin32: remove directory and contents
14329 * libc/sys/cygwin: and add back, losing the "32".
14330 * configure.host: check for cygwin* instead of cygwin32.
14331 * acinclude.m4: ditto.
14332 * aclocal.m4: regenerate with aclocal
14333 * configure: regenerate with autoconf
14334
14335 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
14336
14337 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
14338 for length
14339
14340 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
14341
14342 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
14343 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
14344 to make rand/srand, strtok, asctime, localtime, w_gamma,
14345 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
14346 time.h to bring in struct tm definition.
14347 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
14348 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
14349 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
14350 instead of static variable.
14351 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
14352 struct reent instead of static variable.
14353 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
14354 struct reent instead of static variable.
14355 * libm/math/Makefile.am: Removed s_signgam.o.
14356 * libm/math/Makefile.in: Regenerated.
14357 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
14358 struct reent instead of global variable 'signgam'.
14359 * libm/math/w_lgamma.c (lgamma): Likewise.
14360 * libm/math/wf_gamma.c (gammaf): Likewise.
14361 * libm/math/wf_lgamma.c (lgammaf): Likewise.
14362 * libm/math/s_signgam.c: Removed.
14363 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
14364 to be const.
14365 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
14366 to be const.
14367 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
14368 libc/include/reent.h.
14369 * libc/reent/Makefile.in: Regenerated.
14370 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
14371 to be const.
14372 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
14373 'JIS_action_table' to be const.
14374 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
14375
14376 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
14377
14378 * acinclude.m4: $with_target_subdir should default to '.'
14379 or confusion results when configuring in same directory as sources.
14380 * Regenerate all aclocal.m4 and configure files.
14381
14382 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
14383
14384 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
14385 can be set by defining MALLOC_ALIGNMENT=16. Also added support
14386 for platforms where sizeof(size_t) < sizeof(long) via
14387 SIZE_T_SMALLER_THAN_LONG macro.
14388
14389 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
14390
14391 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
14392 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
14393 which sets _CLOCKS_PER_SEC_ for selected machines.
14394 * libc/include/machine/time.h: New file.
14395
14396 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
14397
14398 * libc/syscalls/sysexecve.c: New file.
14399 * libc/syscalls/sysgettod.c: New file.
14400 * libc/syscalls/systimes.c: New file.
14401 * libc/syscalls/Makefile.am: Added new objects.
14402 * libc/syscalls/Makefile.in: Regenerated.
14403 * libc/include/_syslist.h (_execve): Moved define in file.
14404 * libc/include/reent.h: Added _execve_r declaration.
14405 * libc/Makefile.in: Regenerated.
14406 * libc/ctype/Makefile.in: Regenerated.
14407 * libc/errno/Makefile.in: Regenerated.
14408 * libc/locale/Makefile.in: Regenerated.
14409 * libc/machine/Makefile.in: Regenerated.
14410 * libc/misc/Makefile.in: Regenerated.
14411 * libc/posix/Makefile.in: Regenerated.
14412 * libc/reent/Makefile.in: Regenerated.
14413 * libc/reent/execr.c (_execve_r): Added _execve_r function.
14414 * libc/signal/Makefile.in: Regenerated.
14415 * libc/stdio/Makefile.in: Regenerated.
14416 * libc/time/Makefile.in: Regenerated.
14417 * libc/unix/Makefile.in: Regenerated.
14418 * libm/mathfp/Makefile.in: Regenerated.
14419
14420 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
14421
14422 * libc/string/Makefile.in: Regenerated.
14423 * libc/string/memchr.c (memchr): Moved code to reduce object size.
14424 * libc/string/memcpy.c (memcpy): Ditto.
14425 * libc/string/memcmp.c (memcmp): Ditto.
14426 * libc/string/memset.c (memset): Ditto.
14427 * libc/string/strchr.c (strchr): Ditto.
14428 * libc/string/strcmp.c (strcmp): Ditto.
14429 * libc/string/strcpy.c (strcpy): Ditto.
14430 * libc/string/strlen.c (strlen): Ditto.
14431
14432 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
14433
14434 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
14435 to generate aclocal.m4.
14436 * libm/Makefile.in: Regenerated.
14437 * libm/aclocal.m4: Regenerated.
14438 * libm/configure: Regenerated.
14439 * libm/math/Makefile.in: Regenerated.
14440 * libm/mathfp/Makefile.in: Regenerated.
14441
14442 1998-09-25 Mark Salter <msalter@cygnus.com>
14443
14444 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
14445 by adding leading and trailing underscores to symbol names.
14446
14447 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
14448
14449 * Makefile.in: Add default for AR_FLAGS.
14450
14451 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
14452
14453 patch from ian@airs.com (Ian Taylor):
14454 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
14455 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
14456 is needed for detecting the build machine. Required for
14457 cygwin native builds.
14458
14459 * Regenerate all aclocal.m4 and configure files.
14460
14461 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
14462
14463 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
14464 used to start with LC.
14465
14466 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14467
14468 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
14469 (longjmp): Likewise.
14470
14471 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14472
14473 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
14474 the test for small number of bytes.
14475
14476 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
14477
14478 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
14479 math library that uses floating point algorithms instead of the old
14480 libm.
14481 * Makefile.in: Regenerate with automake version 1.3b.
14482 * configure: Rebuild.
14483 * libm/Makefile.in: Regenerate with automake version 1.3b.
14484 * libm/aclocal.m4: Regenerate.
14485 * libm/configure: Rebuild.
14486 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
14487 * libm/acinclude.m4: Define macros for configure.in.
14488 * libm/config.h.in: Generate.
14489 * libm/mathfp/Makefile.am: New file.
14490 * libm/mathfp/Makefile.in: Generate.
14491 * libm/mathfp/s_acos.c (acos): New file.
14492 * libm/mathfp/s_asin.c (asin): New file.
14493 * libm/mathfp/s_asine.c (asine): New file.
14494 * libm/mathfp/s_atan.c (atan): New file.
14495 * libm/mathfp/s_atan2.c (atan2): New file.
14496 * libm/mathfp/s_atangent.c (atangent): New file.
14497 * libm/mathfp/s_ceil.c (ceil): New file.
14498 * libm/mathfp/s_copysign.c (copysign): New file.
14499 * libm/mathfp/s_cos.c (cos): New file.
14500 * libm/mathfp/s_cosh.c (cosh): New file.
14501 * libm/mathfp/s_exp.c (exp): New file.
14502 * libm/mathfp/s_fabs.c (fabs): New file.
14503 * libm/mathfp/s_finite.c (finite): New file.
14504 * libm/mathfp/s_floor.c (floor): New file.
14505 * libm/mathfp/s_fmod.c (fmod): New file.
14506 * libm/mathfp/s_frexp.c (frexp): New file.
14507 * libm/mathfp/s_infconst.c: New file.
14508 * libm/mathfp/s_isinf (isinf).c: New file.
14509 * libm/mathfp/s_isnan.c (isnan): New file.
14510 * libm/mathfp/s_ispos.c (ispos): New file.
14511 * libm/mathfp/s_ldexp.c (ldexp): New file.
14512 * libm/mathfp/s_log.c (log): New file.
14513 * libm/mathfp/s_log10.c (log10): New file.
14514 * libm/mathfp/s_logarithm.c (logarithm): New file.
14515 * libm/mathfp/s_mathcnst.c: New file.
14516 * libm/mathfp/s_modf (modf).c: New file.
14517 * libm/mathfp/s_numtest.c (numtest): New file.
14518 * libm/mathfp/s_pow.c (pow): New file.
14519 * libm/mathfp/s_scalbn.c (scalbn): New file.
14520 * libm/mathfp/s_sin (sin).c: New file.
14521 * libm/mathfp/s_sine.c (sine): New file.
14522 * libm/mathfp/s_sineh.c (sineh): New file.
14523 * libm/mathfp/s_sinf.c (sinf): New file.
14524 * libm/mathfp/s_sinh.c (sinh): New file.
14525 * libm/mathfp/s_sqrt.c (sqrt): New file.
14526 * libm/mathfp/s_tan.c (tan): New file.
14527 * libm/mathfp/s_tanh.c (tanh): New file.
14528 * libm/mathfp/sf_acos.c (acosf): New file.
14529 * libm/mathfp/sf_asin.c (asinf): New file.
14530 * libm/mathfp/sf_asine.c (asinef): New file.
14531 * libm/mathfp/sf_atan.c (atanf): New file.
14532 * libm/mathfp/sf_atan2.c (atan2f): New file.
14533 * libm/mathfp/sf_atangent.c (atangent): New file.
14534 * libm/mathfp/sf_ceil.c (ceilf): New file.
14535 * libm/mathfp/sf_copysign.c (copysignf): New file.
14536 * libm/mathfp/sf_cos.c (cosf): New file.
14537 * libm/mathfp/sf_cosh.c (coshf): New file.
14538 * libm/mathfp/sf_exp.c (expf): New file.
14539 * libm/mathfp/sf_fabs.c (fabsf): New file.
14540 * libm/mathfp/sf_finite.c (finitef): New file.
14541 * libm/mathfp/sf_floor.c (floorf): New file.
14542 * libm/mathfp/sf_fmod.c (fmodf): New file.
14543 * libm/mathfp/sf_frexp.c (frexpf): New file.
14544 * libm/mathfp/sf_isinf.c (isinff): New file.
14545 * libm/mathfp/sf_isnan.c (isnanf): New file.
14546 * libm/mathfp/sf_ispos.c (isposf): New file.
14547 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
14548 * libm/mathfp/sf_log.c (logf): New file.
14549 * libm/mathfp/sf_log10.c (log10f): New file.
14550 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
14551 * libm/mathfp/sf_modf.c (modff): New file.
14552 * libm/mathfp/sf_numtest.c (numtestf): New file.
14553 * libm/mathfp/sf_pow.c (powf): New file.
14554 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
14555 * libm/mathfp/sf_sin.c (sinf): New file.
14556 * libm/mathfp/sf_sine.c (sinef): New file.
14557 * libm/mathfp/sf_sineh.c (sinehf): New file.
14558 * libm/mathfp/sf_sinh.c (sinhf): New file.
14559 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
14560 * libm/mathfp/sf_tan.c (tanf): New file.
14561 * libm/mathfp/sf_tanh.c (tanhf): New file.
14562 * libm/mathfp/zmath.h: New file.
14563
14564 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14565
14566 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
14567 exit if it has been overwritten by pre-fetching in delay slot.
14568
14569 1998-09-01 Michael Meissner <meissner@cygnus.com>
14570
14571 * Makefile.am (tooldir): Add in host_alias, so that multilib
14572 libraries are installed in the directory the compiler looks in.
14573 * Makefile.in: Regenerate.
14574
14575 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
14576
14577 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
14578
14579 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
14580 ahead of test for number of bytes being moved.
14581
14582 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
14583
14584 * libc/include/sys/unistd.h: Nothing special needed for
14585 _exit under cygwin.
14586
14587 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
14588
14589 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
14590 conform to user label naming conventions.
14591
14592 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
14593
14594 * libc/sys/cygwin32/sys/utime.h: variable names in
14595 protos should start with two leading underscores
14596 * libc/include/string.h: ditto
14597 * libc/include/sys/signal.h: ditto
14598 * libc/include/sys/stat.h: ditto
14599 * libc/include/sys/time.h: ditto
14600 * libc/include/sys/unistd.h: ditto
14601 * libc/include/ctype.h: ditto
14602 * libc/include/stdlib.h: ditto
14603 * libc/include/sys/reent.h: struct _atexit function ptr takes a
14604 void, same with _sig_func.
14605
14606 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
14607
14608 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
14609 for MB_CAPABLE to reduce code size when newlib is not configured
14610 with --enable-newlib-mb.
14611 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
14612 mbtowc_r.o to minimize size.
14613 * libc/stdlib/Makefile.in: Rebuild.
14614
14615 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
14616
14617 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
14618 to -DREENT.
14619 * libc/sys/sparc64/Makefile.in: Rebuild.
14620
14621 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
14622
14623 * Makefile.am (MAKEOVERRIDES): Define.
14624 * Makefile.in: Rebuild.
14625
14626 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
14627
14628 * libc/sys/sparc64/sys/stat.h (stat): Add const.
14629
14630 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
14631
14632 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
14633 newlib_cflags when looking for targ-include.
14634 * */aclocal.m4, */configure: Rebuild.
14635
14636 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
14637
14638 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
14639 to "_end".
14640
14641 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
14642
14643 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
14644 on SPARCs with little-endian data.
14645 * libc/include/machine/ieeefp.h: Ditto.
14646
14647 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
14648
14649 * acinclude.m4: Handle a relative srcdir correctly when setting
14650 newlib_cflags.
14651 * */aclocal.m4, */configure: Rebuild.
14652
14653 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
14654
14655 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
14656 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
14657 * libm/math/wrf_gamma.c (gammaf_r): ditto
14658 * libm/math/wr_lgamma.c (lgamma_r): ditto
14659 * libm/math/wr_gamma.c (gamma_r): ditto
14660 * libm/math/wf_sqrt.c (sqrtf): ditto
14661 * libm/math/wf_sinh.c (sinhf): ditto
14662 * libm/math/wf_scalb.c (scalbf): ditto
14663 * libm/math/wf_remainder.c (remainderf): ditto
14664 * libm/math/wf_pow.c (powf): ditto
14665 * libm/math/wf_log10.c (log10f): ditto
14666 * libm/math/wf_log.c (logf): ditto
14667 * libm/math/wf_lgamma.c (lgammaf): ditto
14668 * libm/math/wf_jn.c (jnf, ynf): ditto
14669 * libm/math/wf_j1.c (j1f, y1f): ditto
14670 * libm/math/wf_j0.c (j0f, y0f): ditto
14671 * libm/math/wf_hypot.c (hypotf): ditto
14672 * libm/math/wf_gamma.c (gammaf): ditto
14673 * libm/math/wf_fmod.c (fmodf): ditto
14674 * libm/math/wf_exp.c (expf): ditto
14675 * libm/math/wf_cosh.c (coshf): ditto
14676 * libm/math/wf_atanh.c (atanhf): ditto
14677 * libm/math/wf_atan2f.c (atan2f): ditto
14678 * libm/math/wf_asin.c (asinf): ditto
14679 * libm/math/wf_acosh.c (acoshf): ditto
14680 * libm/math/wf_acos.c (acosf): ditto
14681 * libm/math/w_sqrt.c (sqrt): ditto
14682 * libm/math/w_sinh.c (sinh): ditto
14683 * libm/math/w_scalb.c (scalb): ditto
14684 * libm/math/w_remainder.c (remainder): ditto
14685 * libm/math/w_pow.c (pow): ditto
14686 * libm/math/w_log10.c (log10): ditto
14687 * libm/math/w_log.c (log): ditto
14688 * libm/math/w_lgamma.c (lgamma): ditto
14689 * libm/math/w_jn.c (jn, yn): ditto
14690 * libm/math/w_j1.c (j1, y1): ditto
14691 * libm/math/w_j0.c (j0, y0): ditto
14692 * libm/math/w_hypot.c (hypot): ditto
14693 * libm/math/w_gamma.c (gamma): ditto
14694 * libm/math/w_fmod.c (fmod): ditto
14695 * libm/math/w_exp.c (exp): ditto
14696 * libm/math/w_cosh.c (cosh): ditto
14697 * libm/math/w_atanh.c (atanh): ditto
14698 * libm/math/w_atan2f.c (atan2): ditto
14699 * libm/math/w_asin.c (asin): ditto
14700 * libm/math/w_acosh.c (acosh): ditto
14701 * libm/math/w_acos.c (acos): ditto
14702
14703 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
14704
14705 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
14706 (fsrc): Add wf_cabs.c and wf_drem.c.
14707 * libm/math/Makefile.in: Rebuild.
14708
14709 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
14710 unused directory variables. Remove duplicate CFLAGS.
14711 * Makefile.in: Rebuild.
14712
14713 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
14714 with $(CC_FOR_BUILD).
14715 (makedoc.o): Likewise.
14716 * doc/Makefile.in: Rebuild.
14717
14718 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
14719 force a definition of COMPILE.
14720 (libfoo_a_SOURCES): Define.
14721 * libc/sys/cygwin32/Makefile.in: Rebuild.
14722 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
14723 force a definition of COMPILE.
14724 (libfoo_a_SOURCES): Define.
14725 * libc/sys/tic80/Makefile.in: Rebuild.
14726
14727 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
14728
14729 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
14730 flag.
14731
14732 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
14733
14734 * Build using autoconf and automake. Added many Makefile.am and
14735 configure.in files, plus generated files. Old configure.in files
14736 and all old Makefile.in files completely replaced. Removed
14737 host/any. Added acinclude.m4 and configure.host.
14738
14739 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
14740
14741 * libc/stdio/vfprintf.c: enable long long support, sometimes.
14742 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
14743
14744 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14745
14746 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
14747 * libc/machine/sh/Makefile.in: Add rules for new files.
14748
14749 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14750
14751 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
14752 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
14753 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
14754
14755 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
14756
14757 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
14758 code is ignored.
14759
14760 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
14761
14762 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
14763 internal static buffer when s is NULL, as prescribed by ANSI.
14764
14765 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
14766
14767 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
14768 removed.
14769 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
14770 libc/stdlib will be used for h8300hms.
14771
14772 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
14773
14774 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
14775 version that can be built either for speed or size.
14776 * libc/machine/mn10300/memset.S (_memset): ditto
14777 * libc/machine/mn10300/memchr.S (_memchr): ditto
14778 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
14779 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
14780 * libc/machine/mn10300/strchr.S (_strchr): ditto
14781 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
14782 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
14783 * libc/machine/mn10300/Makefile.in: Added entries for
14784 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
14785 strcmp.o, strcpy.o, and strlen.o.
14786
14787 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
14788
14789 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
14790 been replaced with libgloss/mn10200.
14791
14792 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
14793
14794 * libc/string/strchr.c (strchr): Make s a constant pointer to
14795 avoid warning.
14796
14797 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
14798
14799 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
14800 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
14801 board SWIs instead of Demon board SWIs).
14802
14803 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
14804
14805 * libc/string/strncat.c (strncat): Make -Os act the same as
14806 PREFER_SIZE_OVER_SPEED being defined.
14807
14808 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
14809
14810 * libc/string/memchr.c (memchr): Make -Os act the same as
14811 PREFER_SIZE_OVER_SPEED being defined.
14812 * libc/string/memcmp.c (memcmp): Ditto.
14813 * libc/string/memcpy.c (memcpy): Ditto.
14814 * libc/string/memset.c (memset): Ditto.
14815 * libc/string/strcat.c (strcat): Ditto.
14816 * libc/string/strchr.c (strchr): Ditto.
14817 * libc/string/strcmp.c (strcmp): Ditto.
14818 * libc/string/strcpy.c (strcpy): Ditto.
14819 * libc/string/strlen.c (strlen): Ditto.
14820 * libc/string/strncat.c (strncat): Ditto.
14821 * libc/string/strncmp.c (strncmp): Ditto.
14822 * libc/string/strncpy.c (strncpy): Ditto.
14823
14824 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
14825
14826 * libc/include/sys/itimer.h: remove
14827 * libc/include/sys/time.h: itimer stuff should be here
14828
14829 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
14830
14831 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
14832 bit instead of comparing to 0 so -0.0 can be printed correctly.
14833
14834 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14835
14836 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
14837
14838 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
14839
14840 * libc/include/sys/unistd.h: fix sync() proto
14841 * libc/include/sys/fcntl.h: remove _close which is already
14842 defined in unistd.h.
14843 * libc/include/sys/time.h: add getitimer proto
14844
14845 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
14846
14847 * libc/string/strchr.c: convert arg to unsigned char
14848 * libc/include/stdlib.h: add protos for random, srandom
14849 * libc/include/sys/stat.h: add lstat proto
14850 * libc/include/sys/time.h: add setitimer proto
14851 * libc/include/sys/unistd.h: add readlink, symlink protos
14852 * libc/include/process.h: instead of including windows.h and using
14853 HANDLEs in sexec protos, just use void *s. Need to include
14854 sys/types.h.
14855
14856 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
14857
14858 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
14859
14860 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
14861
14862 * libc/include/process.h: add secure exec protos
14863
14864 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
14865
14866 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
14867 which are accessed as both doubles and integers.
14868 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
14869 * libc/stdlib/strtod.c (_strtod_r): Likewise.
14870 * libc/stdlib/mprec.h: Add "union double_union" and change
14871 word0/word1 macros to use it.
14872
14873 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
14874
14875 * libc/include/sys/signal.h: add __cplusplus wrapper
14876
14877 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
14878
14879 * libc/include/sys/utime.h: new generic file that gets replaced by
14880 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
14881 function.
14882 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
14883 * libc/include/time.h: remove duplicate utime proto
14884 * libc/include/utime.h: add comment
14885
14886 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
14887
14888 * libc/include/sys/time.h: Add missing include to
14889 allow use of _EXFUN. Remove times function that is
14890 already defined in times.h.
14891
14892 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
14893
14894 * libc/include/time.h: Fix typo in tzset.
14895
14896 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
14897
14898 * libc/include/sys/time.h: add missing Cygwin32 function protos
14899 * libc/include/sys/unistd.h: ditto
14900 * libc/include/time.h: ditto
14901
14902 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
14903
14904 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
14905 FIXME.
14906 * libc/include/sys/types.h: add a new __MS_types__ section
14907 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
14908 __BIT_TYPES_DEFINED__.
14909
14910 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
14911
14912 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
14913 since it overrides the one in libc/include/sys. Also, start
14914 including types.h.
14915
14916 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
14917
14918 * libm/math/Makefile.in: add s_signgam.o to obj list
14919
14920 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
14921
14922 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
14923
14924 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
14925
14926 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
14927 so don't use defines.
14928
14929 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
14930
14931 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
14932
14933 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
14934
14935 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
14936 _current_locale as default locale.
14937
14938 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
14939
14940 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
14941 insufficient space in a chunk.
14942
14943 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
14944
14945 * configure.in (links): Added check for --enable-newlib-mb configure
14946 option which defines the MB_CAPABLE macro.
14947 * libc/locale/locale.c (_setlocale_r): Added support for setting
14948 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
14949 defined.
14950 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
14951 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
14952 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
14953 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
14954 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
14955 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
14956 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
14957 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
14958 * libc/stdlib/Makefile.in: Added new multibyte
14959 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
14960 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
14961 _mbstowcs_r(), and _wcstombs_r().
14962 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
14963 for JIS, SJIS, and EUC-JP characters.
14964 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
14965 MB_CAPABLE defined.
14966 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
14967 MB_CAPABLE defined.
14968 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
14969 MB_CAPABLE defined.
14970 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
14971 if MB_CAPABLE defined.
14972 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
14973 if MB_CAPABLE defined.
14974 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
14975 to the format string processing when MB_CAPABLE.
14976 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
14977 call _mbtowc_r().
14978
14979 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
14980
14981 The following modifications are courtesy of Anthony Thompson,
14982 athompson@cambridge.arm.com:
14983 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
14984 boith RDI and RDP monitors.
14985 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
14986 RDI and RDP monitors.
14987
14988 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
14989
14990 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
14991 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
14992 (_swiopen): Fixed open flags to treat write with append as just append.
14993 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
14994 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
14995
14996 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
14997
14998 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
14999 When needing to transfer an initial 2-byte-word, store as
15000 two single bytes.
15001
15002 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
15003
15004 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
15005 __SH3E__ .
15006 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
15007 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
15008
15009 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
15010
15011 * configure.in (target_cflags): If --enable-target-optspace, use
15012 -Os to compile newlib rather than -O2. Default to using -Os for
15013 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
15014 used.
15015
15016 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
15017
15018 * libc/include/machine/setjmp.h: change sigsetjmp and
15019 siglongjmp definitions to use an array instead of a struct
15020 for __CYGWIN32__
15021
15022 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
15023
15024 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
15025
15026 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
15027
15028 * libc/string/strxfrm.c: fix to get correct return value
15029
15030 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
15031
15032 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
15033 builds. Make mode change labels global so that they will be seen
15034 by the debugger.
15035
15036 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
15037
15038 * configure.in (links): Do not use ARM debiugging protocols for PE
15039 builds.
15040
15041 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
15042 message.
15043
15044 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
15045
15046 * libc/stdio/findfp.c (__sinit): Made stdout default to
15047 line buffered mode as defined by ANSI.
15048
15049 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
15050
15051 * libc/include/sys/itimer.h: New file.
15052
15053 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
15054
15055 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
15056
15057 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
15058 failure.
15059
15060 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
15061
15062 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
15063 insns.
15064
15065 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
15066
15067 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
15068
15069 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
15070
15071 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
15072 support.
15073
15074 * libc/include/machine/setjmp.h: Add D30V support.
15075
15076 * configure.in (d30v-*): Add d30v machine directory.
15077
15078 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
15079
15080 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
15081 been replaced with libgloss/mn10300.
15082
15083 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
15084
15085 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
15086 it is no longer needed.
15087
15088 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
15089
15090 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
15091
15092 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
15093
15094 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
15095 the file when O_APPEND is set, wherever the EOF happens to be at
15096 that time.
15097
15098 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
15099
15100 patch from cgf@bbc.com (Christopher Faylor):
15101 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
15102 convention of closing fp prior to attempting to open the file
15103 argument. This allows correct operation when reopening
15104 stdin/stdout/stderr. Replaces last freopen.c patch.
15105
15106 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
15107
15108 patch from cgf@bbc.com (Christopher Faylor):
15109 * libc/stdio/freopen.c: freopen was not preserving the fd
15110 of the stream being operated on. This confuses programs that
15111 expect that the handles for stdout and stderr will be 1 and 2.
15112
15113 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
15114
15115 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
15116
15117 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
15118
15119 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
15120
15121 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
15122
15123 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
15124 altered to not use a branch. Also added hint that last
15125 bclr in longjmp will likely result in branch.
15126
15127
15128 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
15129
15130 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
15131
15132 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
15133
15134 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
15135 v850 builds.
15136
15137 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
15138
15139 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
15140
15141 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
15142 that loads FR14 to specify offset of 8 rather than 4
15143 so it loads from offset 96 (where setjmp stored it).
15144
15145 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
15146
15147 * libc/machine/sh/memcpy.S: (_memcpy): Update to
15148 latest version supplied by customer.
15149 * libc/machine/sh/memset.S (_memset): Ditto.
15150
15151 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
15152
15153 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
15154 PR14730).
15155
15156 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
15157
15158 * libc/include/string.h: remove redefinition of ffs
15159
15160 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
15161
15162 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
15163 defined
15164
15165 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
15166
15167 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
15168 TI Libraries to link to libc.a
15169
15170 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
15171
15172 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
15173 * libc/include/sys/stat.h (_{,f}stat): Ditto.
15174 * libc/include/sys/wait.h (_wait): Ditto.
15175 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
15176 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
15177
15178 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
15179
15180 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
15181 minded stabs so function name shows up when running the simulator
15182 with -t.
15183 * libc/sys/d10v/{crt0,trap}.S: Ditto.
15184
15185 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
15186
15187 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
15188 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
15189 Use R5 where we used to use R3.
15190
15191 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
15192
15193 * libc/stdlib/getopt.c (getopt): replaced __progname
15194 with nargv[0] to improve portability to imbedded systems.
15195
15196 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
15197
15198 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
15199 patch supplied by Tont.Thompson@arm.com to fix the creation of the
15200 stdout file.
15201
15202 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
15203
15204 * libc/stdio/tmpnam.c (worker): Generate a different file name
15205 each time.
15206
15207 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
15208 fails, try an execlp for sh.
15209
15210 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
15211 option for the winsup include directory.
15212
15213 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
15214
15215 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
15216 debugging interface from Tony.Thompson@arm.com.
15217
15218 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
15219 * libc/sys/arm/swi.h: ditto.
15220
15221 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
15222
15223 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
15224 DIR struct used for readdir hashes.
15225
15226 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
15227
15228 * libc/string/strchr.c: Use "unsigned chars" as necessary.
15229
15230 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
15231
15232 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
15233 integer targets.
15234
15235 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
15236
15237 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
15238 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
15239 * libc/include/malloc.h: Add extern "C" if __cplusplus.
15240 (__malloc_copy): Declare.
15241
15242 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
15243
15244 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
15245 <sys/config.h>.
15246 (POINTER_UINT): Define.
15247 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
15248 (MALLOC_ALIGNMENT): Don't define if already defined.
15249 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
15250 long.
15251
15252 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
15253
15254 * libc/string/memset.c (memset): Fiddle with code so that the long
15255 value being stored is not a stack value. Unroll storing longs 4
15256 times.
15257
15258 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
15259
15260 * Reduce code size for libm modules.
15261 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
15262 and simply move code into sqrt.
15263 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
15264 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
15265 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
15266 * libm/math/wr_gamma.c (gamma_r): Likewise.
15267 * libm/math/wf_sinh.c (sinfh): Likewise.
15268 * libm/math/w_sinh.c (sinh): Likewise.
15269 * libm/math/wf_scalb.c (scalbf): Likewise.
15270 * libm/math/w_scalb.c (scalb): Likewise.
15271 * libm/math/wf_remainder.c (remainderf): Likewise.
15272 * libm/math/w_remainder.c (remainder): Likewise.
15273 * libm/math/wf_pow.c (powf): Likewise.
15274 * libm/math/w_pow.c (pow): Likewise.
15275 * libm/math/wf_log10.c (log10f): Likewise.
15276 * libm/math/w_log10.c (log10): Likewise.
15277 * libm/math/wf_log.c (logf): Likewise.
15278 * libm/math/w_log.c (log): Likewise.
15279 * libm/math/w_lgamma.c (lgamma): Likewise.
15280 * libm/math/wf_lgamma.c (lgammaf): Likewise.
15281 * libm/math/wf_jn.c (jnf): Likewise.
15282 * libm/math/w_jn.c (jn): Likewise.
15283 * libm/math/wf_j1.c (j1f): Likewise.
15284 * libm/math/w_j1.c (j1): Likewise.
15285 * libm/math/wf_j0.c (j0f): Likewise.
15286 * libm/math/w_j0.c (j0): Likewise.
15287 * libm/math/wf_hypot.c (hypotf): Likewise.
15288 * libm/math/w_hypot.c (hypot): Likewise.
15289 * libm/math/wf_gamma.c (gammaf): Likewise.
15290 * libm/math/w_gamma.c (gamma): Likewise.
15291 * libm/math/wf_fmod.c (fmodf): Likewise.
15292 * libm/math/w_fmod.c (fmod): Likewise.
15293 * libm/math/wf_exp.c (expf): Likewise.
15294 * libm/math/w_exp.c (exp): Likewise.
15295 * libm/math/wf_cosh.c (coshf): Likewise.
15296 * libm/math/w_cosh.c (cosh): Likewise.
15297 * libm/math/wf_atanh.c (atanhf): Likewise.
15298 * libm/math/w_atanh.c (atanh): Likewise.
15299 * libm/math/wf_atan2.c (atan2f): Likewise.
15300 * libm/math/w_atan2.c (atan2): Likewise.
15301 * libm/math/wf_asin.c (asinf): Likewise.
15302 * libm/math/w_asin.c (asin): Likewise.
15303 * libm/math/wf_acosh.c (acoshf): Likewise.
15304 * libm/math/w_acosh.c (acosh): Likewise.
15305 * libm/math/wf_acos.c (asocf): Likewise.
15306 * libm/math/w_acos.c (acos): Likewise.
15307 * libm/math/wf_sqrt.c (sqrtf): Likewise.
15308 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
15309 for embedded systems.
15310
15311 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
15312
15313 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
15314 Lea in case of a foreign sbrk.
15315
15316 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
15317
15318 Incorporate Doug Lea's malloc:
15319 * libc/stdlib/mallocr.c: Completely replaced.
15320 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
15321 (realloc): Remove.
15322 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
15323 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
15324 mallopt.
15325 (mallinfo, malloc_stats, mallopt): New functions.
15326 (_mstats_r): Just call _malloc_stats_r.
15327 * libc/stdlib/malign.c: New file.
15328 * libc/stdlib/mlock.c: New file.
15329 * libc/stdlib/msize.c: New file.
15330 * libc/stdlib/mtrim.c: New file.
15331 * libc/stdlib/realloc.c: New file.
15332 * libc/stdlib/valloc.c: New file.
15333 * libc/stdlib/malloc.h: Remove.
15334 * libc/stdlib/callocr.c: Remove.
15335 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
15336 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
15337 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
15338 reallocr.o, valloc.o, vallocr.o.
15339 (CHEWOUT_FILES): Add mlock.def, mstats.def.
15340 (MALLOC_CFLAGS): New variable.
15341 (mallocr.o): New target, build from mallocr.c.
15342 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
15343 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
15344 (msizer.o, malloptr.o): Likewise.
15345 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
15346 (valloc.o): New target.
15347 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
15348 * libc/include/malloc.h: Declare struct mallinfo, and new
15349 routines.
15350 * libc/include/stdlib.h (cfree): Correct declaration.
15351
15352 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
15353
15354 * libc/include/machine/setjmp.h: Add support for Thumb target.
15355
15356 * libc/include/machine/ieeefp.h: Add support for Thumb target.
15357
15358 * configure.in (links): Add support for Thumb target.
15359
15360 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
15361
15362 * libc/sys/arm/setjmp.S: Updated with version from branch.
15363
15364 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
15365
15366 * libc/include/stdio.h: add POSIX-required define L_ctermid
15367 for ctermid
15368
15369 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
15370
15371 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
15372 addition to MISSING_SYSCALL_NAMES.
15373
15374 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
15375
15376 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
15377
15378 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
15379
15380 * libc/include/string.h: change strsignal proto to return
15381 a char *. This eliminates compile problems in gdb resulting
15382 from gdb's definition of strsignal in defs.h.
15383
15384 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
15385
15386 * libc/sys/cygwin32/sys/utime.h: new (moved here from
15387 winsup/include) so as not to conflict with the one in
15388 libc/include.
15389 * libc/include/string.h: add protos for strsignal, strtosigno
15390
15391 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
15392
15393 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
15394
15395 * configure.in (d30v-*-*): Add configuration.
15396
15397 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
15398
15399 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
15400 to select which kind of debug monitor is in use for an ARM target.
15401
15402 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
15403 Angel and Demon debug monitors. Part of this code was supplied by
15404 Tony Thompson at ARM: athompso@arm.com.
15405
15406 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
15407
15408 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
15409 semantics when the count is greater than the length of the second
15410 source string.
15411
15412 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
15413
15414 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
15415 * libc/include/sys/unistd.h: add protos for usleep, truncate,
15416 truncate and ftruncate take off_t, not size_t
15417
15418 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
15419
15420 * libc/string/strcat.c (strcat): Add missing comment end.
15421 * libc/string/strncat.c (strncat): Likewise.
15422
15423 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
15424
15425 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
15426 targets.
15427 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
15428 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
15429 defined.
15430 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
15431 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
15432 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
15433
15434 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
15435
15436 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
15437 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
15438
15439 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
15440
15441 * libc/machine/i386/setjmp.S: New file.
15442 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
15443 (OFILES): Add setjmp.o.
15444 (setjmp.o): Add rule for.
15445 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
15446
15447 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
15448 Jeffrey A Law (law@cygnus.com)
15449
15450 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
15451 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
15452 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
15453 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
15454
15455 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
15456
15457 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
15458 rules.
15459
15460 * libc/include/sys/config.h: Use __v850 to select v850
15461 endianness.
15462
15463 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
15464 buffer size.
15465
15466 * libc/include/machine/ieeefp.h: Use __v850 to select v850
15467 endianness.
15468
15469 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
15470
15471 * libc/stdlib/setenv.c: change unsetenv definition to match
15472 style of setenv (with _DEFUN). The string should be a const.
15473 * libc/include/stdlib.h: unsetenv proto should return void.
15474
15475 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
15476
15477 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
15478
15479 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
15480
15481 * libc/stdio/glue.h: remove.
15482 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
15483 * libc/stdio/Makefile.in: remove glue.h dependencies
15484
15485 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
15486
15487 * libc/sys/sysnecv850/crt0.S: Created V850e version.
15488
15489 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
15490
15491 * configure.in (target_cpu): Add `arc'.
15492
15493 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
15494
15495 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
15496 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
15497 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
15498 * newlib/libc/reent/reent.c: Add _wrapup_reent.
15499 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
15500
15501 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
15502
15503 * libc/machine/mips/setjmp.S: Handle mips16 builds.
15504
15505 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
15506
15507 * libc/include/stdio.h (siprintf): Declare.
15508
15509 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
15510
15511 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
15512 TARGET_CFLAGS and NEWLIB_FLAGS.
15513
15514 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
15515
15516 * configure.in (links): Add support for v850ea target.
15517
15518 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
15519
15520 * configure.in (links): Add support for v850e target.
15521
15522 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
15523
15524 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
15525
15526 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
15527
15528 * configure.in (arc-*-*): Add support for.
15529 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
15530
15531 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
15532
15533 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
15534
15535 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
15536
15537 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
15538 comparison which accesses invalid memory when the key is
15539 larger than the last member of the array.
15540 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
15541 for CYGWIN32
15542 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
15543
15544 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
15545
15546 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
15547 not _STRICT_ANSI.
15548
15549 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
15550
15551 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
15552 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
15553
15554 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
15555
15556 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
15557 to load/store memory.
15558
15559 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
15560
15561 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
15562 underscores if _WIN32.
15563
15564 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
15565
15566 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
15567 support ifdef _USE_WRITE missed in last change.
15568 From Anders Blomdell <anders.blomdell@control.lth.se>.
15569
15570 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
15571
15572 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
15573 (_tmpnam_r, _tempnam_r): Update.
15574
15575 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
15576
15577 * libc/machine/sparc/setjmp.S: New file.
15578 * libc/machine/sparc/Makefile.in: Add setjmp.
15579 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
15580
15581 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
15582
15583 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
15584
15585 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
15586
15587 From Joel Sherrill <joel@oarcorp.com>.
15588 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
15589
15590 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
15591 * configure.in: Recognize *-*-rtems*.
15592 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
15593 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
15594 time.h,times.h,types.h}: New files.
15595 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
15596
15597 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
15598
15599 patch from sos@prospect.com.ru (Sergey Okhapkin):
15600 * include/sys/wait.h: correct operator precidence bug
15601 in WIFSIGNALED
15602
15603 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
15604
15605 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
15606 with newlib's unsetenv function
15607 * libc/sys/cygwin32/sys: new directory for includes
15608 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
15609 here from winsup/include/sys
15610
15611 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
15612
15613 * libc/include/sys/unistd.h: _exit should only be
15614 labelled noreturn when not __CYGWIN32__
15615 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
15616 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
15617 increment NSIG
15618
15619 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
15620
15621 * libc/include/sys/time.h: Only define timeval and timezone if
15622 _GNU_H_WINDOWS32_SOCKETS is not defined.
15623 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
15624
15625 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
15626
15627 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
15628 * libc/machine/mn10300/setjmp.S: Likewise.
15629
15630 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
15631 the mn10300 (more relaxing opportunities).
15632
15633 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
15634
15635 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
15636 Build libraries with -mstrict-align.
15637
15638 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
15639
15640 * libc/string/strlwr.c: New file.
15641 * libc/string/strupr.c: New file.
15642 * libc/include/string.h: Declare strlwr and strupr.
15643 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
15644 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
15645 (strlwr.o, strupr.o): New targets.
15646 * libc/string/strings.tex: Include strlwr and strupr docs.
15647
15648 * libc/include/sys/types.h: Don't define u_char, et. al., if
15649 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
15650 et. al. Make FD_SETSIZE default 64 rather than 60. Define
15651 _types_fd_set rather than fd_set, and define fd_set as a macro.
15652
15653 * libc/include/malloc.h: New file.
15654
15655 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
15656 strnicmp if they are not already defined.
15657
15658 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
15659 _timezone, _daylight, and _tzname.
15660
15661 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
15662
15663 * configure.in: Sort all configuration tables.
15664
15665 From Joel Sherrill <joel@oarcorp.com>
15666 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
15667
15668 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
15669
15670 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
15671 use int when declaring kill.
15672
15673 * libc/include/sys/timeb.h: New file.
15674
15675 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
15676
15677 * libc/include/sys/time.h: add itimer support for Cygwin32
15678
15679 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
15680
15681 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
15682 out a message that abort was called to stderr.
15683
15684 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
15685
15686 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
15687 so that libio doesn't freak.
15688
15689 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
15690 int.
15691
15692 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
15693 memory sizes, not int.
15694
15695 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
15696
15697 * libm/math/ef_hypot.c: Use long constants where
15698 appropriate.
15699 * libm/math/ef_sqrt.c: Ditto.
15700
15701 * libc/sys/sysmec/times.c(_times): Change to times.
15702
15703 * libc/sys/sysmec/read.c(_read): The third argument is
15704 size_t.
15705 * libc/sys/sysmec/write.c (_write): Ditto.
15706
15707 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
15708 (_lseek): It's off_t for the second argument.
15709
15710 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
15711
15712 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
15713 as well as machine/ieeefp.h.
15714
15715 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
15716
15717 * libc/include/sys/signal.h: add signal protos for winsup
15718 functions (when __CYGWIN32__), include types.h
15719 * libc/include/sys/types.h: Change __go32_types__ internal
15720 define to __MS_types__ since it's used for more than just
15721 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
15722 defined.
15723 * libc/include/sys/unistd.h: add ftruncate proto for
15724 winsup functions (when __CYGWIN32__)
15725
15726 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
15727
15728 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
15729
15730 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
15731
15732 * libc/include/machine/setjmp.h: Add tic80 support.
15733 * libc/machine/tic80/setjmp.S: Likewise.
15734
15735 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
15736
15737 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
15738 link programs from libraries only (such as in the X11
15739 distribution)
15740
15741 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
15742
15743 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
15744 supplied elsewhere in newlib.
15745
15746 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
15747
15748 * Makefile.in (INSTALL): Change install.sh to install-sh.
15749
15750 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
15751
15752 * README: update WWW address for on-line documentation.
15753
15754 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
15755
15756 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
15757 increment NSIG
15758
15759 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
15760
15761 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
15762 mn10300.
15763 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
15764
15765 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
15766
15767 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
15768 * libc/sys/d10v/syscalls.c: Likewise.
15769 * libc/sys/h8300hms/sbrk.c: Likewise.
15770 * libc/sys/h8500hms/syscalls.c: Likewise.
15771 * libc/sys/m88kbug/syscalls.c: Likewise.
15772 * libc/sys/sh/syscalls.c: Likewise.
15773 * libc/sys/sysmec/sbrk.c: Likewise.
15774 * libc/sys/sysnecv850/sbrk.c: Likewise.
15775 * libc/sys/w65/syscalls.c: Likewise.
15776 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
15777
15778 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
15779
15780 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
15781 emulated syscall instead of "trap".
15782
15783 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
15784
15785 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
15786 not trap 0.
15787
15788 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
15789
15790 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
15791
15792 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
15793
15794 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
15795 not "sh".
15796 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
15797 not "d10v".
15798 * libc/sys/tic80/crt0.c: New file for TIc80.
15799 * libc/sys/tic80/Makefile.in: New file for TIc80.
15800 * libc/machine/tic80/Makefile.in: New file for TIc80.
15801
15802 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
15803
15804 * libc/machine/sh/memcpy.S: New file.
15805 * libc/machine/sh/memset.S: New file.
15806 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
15807
15808 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
15809
15810 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
15811 for TIc80.
15812
15813 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
15814
15815 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
15816 the mn10200.
15817
15818 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
15819
15820 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
15821 (patch from andrew@pogo.WV.TEK.COM).
15822
15823 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
15824
15825 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
15826 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
15827
15828 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
15829
15830 * configure.in: Add cases for "tic80" to set machine_dir,
15831 sys_dir, and syscall_dir.
15832
15833 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
15834
15835 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
15836
15837 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
15838
15839 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
15840
15841 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
15842
15843 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
15844 Use proper constant prefix.
15845
15846 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
15847
15848 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
15849 that loses on the mn10200 where ints and pointers are different
15850 sizes.
15851
15852 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
15853
15854 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
15855 target as signal is provided in winsup.
15856
15857 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
15858
15859 * libc/include/sys/process.h: Corrected const definitions
15860 in spawn functions. Added cwait.
15861
15862 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
15863
15864 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
15865 doubles.
15866 * libc/include/sys/config.h: Similarly.
15867
15868 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15869
15870 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
15871 target_cflags.
15872 (i[3456]86-*-sco*): Ditto.
15873
15874 * libc/signal/Makefile.in (OFILES): Add signal.o.
15875 (CFILES): Add signal.c.
15876
15877 * libc/signal/raise.c (_raise_r): Only compile code if
15878 SIGNAL_PROVIDED is defined.
15879
15880 * libc/signal/signal.c: Redo whole file so that it works with
15881 current newlib. Use _kill_r if no signal handler provided.
15882
15883 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
15884 signal stubs.
15885 * libc/sys/sysvnecv70/Makefile.in: Ditto.
15886 * libc/sys/sysnecv850/Makefile.in: Ditto.
15887
15888 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
15889 * libc/sys/sysmec/{raise,signal}.c: Ditto.
15890 * libc/sys/sysvnecv70/signal.s: Ditto.
15891 * libc/sys/sysnecv850/raise.c: Ditto.
15892
15893 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
15894 simulator and debugger can tell the difference between a signal
15895 being raised and an exit system call.
15896
15897 * NEWS: Document software signals being provided.
15898
15899 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15900
15901 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
15902 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
15903 include/sys/config.h.
15904 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
15905 Change from 'inpure_data'.
15906 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
15907 &impure_data, not &inpure_data.
15908
15909 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
15910 and and System V ABI, define so that _impure_ptr lives in the
15911 .sdata section.
15912
15913 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15914
15915 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
15916 nothing if not defined.
15917 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
15918 its attributes.
15919
15920 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
15921
15922 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
15923
15924 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
15925 * libc/sys/sysmec/trap.s: Handle mn10200 too.
15926 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
15927
15928 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
15929
15930 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
15931
15932 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
15933
15934 * libc/include/sys/errno.h: Added net errno's.
15935
15936 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15937
15938 * libc/misc/ffs.c: New file to support ffs function for GCC test
15939 gcc.c-torture/execute/960909-1.c.
15940
15941 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
15942
15943 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
15944
15945 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
15946 * libc/sys/sysmec/trap.S: Likewise.
15947
15948 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
15949
15950 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
15951 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
15952
15953 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
15954
15955 * libc/sys/sysmec/signal.c: Dummy file.
15956 * libc/sys/sysmec/Makefile.in: Build it.
15957
15958 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
15959
15960 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
15961 mips16.
15962
15963 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
15964
15965 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
15966 c-startup and simulator traps.
15967
15968
15969 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
15970 * libc/sys/sysmec/trap0.S: Likewise.
15971
15972 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15973
15974 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
15975 round to double word alignment.
15976 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
15977 byte alignment.
15978
15979 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
15980
15981 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
15982 out of memory.
15983
15984 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
15985
15986 * configure.in: Handle mn10200 and mn10300.
15987 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
15988 * libc/include/sys/config.h: Likewise.
15989 * libc/sys/sysmec: New directory for mec stuff.
15990 * libc/machine/mn10300: New directory for mn10300 stuff.
15991 * libc/machine/mn10200: Similarly for mn10200 stuff.
15992
15993 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
15994
15995 * libc/sys/arm/crt0.S: Use .text, not .section .text.
15996 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
15997
15998 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
15999 (nlink_t): Change type from unsigned int to unsigned short.
16000 (mode_t): Ensure size is 32 bits even if int is 16.
16001 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
16002 (st_spare[123]): Change type from int to long.
16003
16004 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16005
16006 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
16007 byte boundary.
16008
16009 * configure.in (d10v*): Define SMALL_MEMORY.
16010
16011 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16012
16013 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
16014 -mrelocatable-lib and -mno-eabi flags.
16015
16016 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
16017
16018 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
16019 Fix handling of mis-aligned source operand when both the
16020 destination & length are properly aligned.
16021
16022 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
16023
16024 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
16025 times.o, time.o and gettime.o
16026 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
16027 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
16028 SYS_gettimeofday.
16029
16030 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
16031
16032 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
16033 * libc/sys/sysnecv850/access.c: New file.
16034
16035 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
16036
16037 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
16038
16039 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
16040 long.
16041
16042 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
16043
16044 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
16045
16046 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
16047
16048 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
16049 * libc/include/sys/config.h: Add m32r support.
16050
16051 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
16052
16053 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
16054 here.
16055
16056 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
16057
16058 * libc/include/machine/setjmp.h: Add D10v support.
16059
16060 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
16061
16062 * configure.in: Configure the "libc/syscalls" directory for
16063 the v850.
16064
16065 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
16066 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
16067 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
16068 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
16069 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
16070
16071 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
16072
16073 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
16074 stack for args for main and other routines. Zero out args for
16075 main.
16076
16077 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
16078 correctly.
16079
16080 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16081
16082 * libc/stdio/findfp.c (std): Remove extraneous ';' after
16083 function.
16084
16085 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
16086
16087 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
16088 real system calls now.
16089
16090 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
16091 before casting them to int.
16092 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
16093
16094 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
16095 aligning pointer.
16096 * libc/string/memset.c (memset): Ditto.
16097
16098 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
16099 first convert ints to _POINTER_INT to eliminate GCC warning.
16100
16101 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
16102 processing %p.
16103
16104 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
16105 from 65000 if ints are only 16 bits.
16106
16107 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
16108 from 50000 if ints are only 16 bits.
16109
16110 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
16111 int type that is the same size as a pointer.
16112
16113 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
16114 processing %p.
16115 (get_number): Explicitly cast number to long before shifting by 16
16116 or 24, in case ints are short.
16117
16118 * libc/include/sys/config.h (_POINTER_INT): Define as short.
16119
16120 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
16121
16122 * libc/string.h: Added ffs, removed swab.
16123 * libc/sys/errno.h: Added EOPNOTSUPP.
16124 * libc/sys/unistd.h: Added swab.
16125
16126 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
16127
16128 * libc/include/sys/stat.h: Added fchmod.
16129 * libc/include/sys/unistd.h: Added fsync.
16130
16131 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
16132
16133 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
16134 and ECONNRESET (104) for cygwin32.
16135
16136 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
16137
16138 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
16139 do the static destructors.
16140
16141 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
16142
16143 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
16144
16145 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
16146
16147 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
16148 * configure.in: Recognize m32r-*-*.
16149
16150 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
16151
16152 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
16153 __rt_stkovf_split_small): Added default software stack overflow
16154 handlers, which just call SWI_Exit.
16155 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
16156 limit initialisation.
16157
16158 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
16159
16160 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
16161
16162 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
16163
16164 * libc/include/sys/types.h: Added ssize_t definition.
16165
16166 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16167
16168 * libc/machine/d10v/setjmp.S: Use ';' for comments.
16169 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
16170
16171 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
16172 branch around a single ldi instruction.
16173
16174 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
16175 Call exit, instead of just issuing a stop instruction.
16176
16177 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16178
16179 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
16180
16181 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16182
16183 * libc/stdlib/mprec.h: Explicitly declare all large constants as
16184 longs, and then cast them to __uint32_t.
16185
16186 * libc/include/sys/config.h: Protect against multiple inclusions.
16187
16188 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
16189
16190 * configure.in (d10v*): Set syscall_dir.
16191
16192 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
16193
16194 * libc/sys/d10v/crt0.S: Set stack pointer.
16195
16196 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
16197
16198 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
16199 in assembly for efficiency. Change calling convention to allow
16200 long ints to be returned.
16201
16202 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16203
16204 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
16205
16206 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
16207
16208 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
16209 Handle empty entries in $PATH.
16210
16211 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
16212
16213 * libc/machine/d10v/setjmp.S: Make it really work.
16214
16215 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
16216
16217 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
16218 the .stack section.
16219
16220 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
16221
16222 * sys/sysnecv850/sys/file.h: Remove.
16223 * sys/sysnecv850/sys/syscall.h: New file.
16224 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
16225 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
16226 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
16227 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
16228 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
16229 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
16230 * sys/sysnec850/trap.S: New file.
16231 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
16232 syscalls.
16233 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
16234 * sys/sysnec850/sbrk.c: New version.
16235
16236 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
16237
16238 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
16239 as long as r6 is less than r7.
16240
16241 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
16242
16243 * Makefile.in (mostlyclean): Separate from clean target. Don't
16244 remove *.a or targ-include.
16245 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
16246
16247 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16248
16249 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
16250 d10v.
16251 (__SMALL_BITFIELDS): Ditto.
16252
16253 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
16254
16255 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
16256
16257 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
16258 prefix.
16259
16260 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
16261 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
16262 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
16263 * libc/sys/sysnecv850/write.c (write): Likewise.
16264
16265 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
16266 .bss.
16267
16268 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16269
16270 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
16271 appropriately for D10V, depending on -mint16/-mint32.
16272
16273 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
16274
16275 * configure.in: Add cases for D10V.
16276
16277 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16278
16279 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
16280
16281 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
16282
16283 * libc/include/machine/ieeefp.h: Fix typo.
16284
16285 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
16286
16287 * libc/sys/d10v: New directory for D10V stuff.
16288 * libc/include/machine/ieeefp.h: Add D10V defines.
16289
16290 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
16291
16292 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
16293 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
16294 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
16295 * libc/string/strerror.c (strerror): Add them.
16296
16297 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
16298
16299 * libc/sys/sysnecv850: New directory for v850 stuff.
16300
16301 * libc/machine/v850: New directory for v850 stuff.
16302 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
16303
16304 * configure.in: Add support for the v850.
16305
16306 * libc/include/machine/ieeefp.h: Add v850 defines.
16307 * libc/include/machine/setjmp.h: Likewise.
16308 * libc/include/sys/config.h: Add v850 defines.
16309
16310 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
16311
16312 * libc/include/machine/ieeefp.h
16313 * libc/include/machine/setjmp.h
16314 * libc/include/sys/fcntl.h
16315 * libc/include/sys/signal.h
16316 * libc/include/sys/types.h
16317 * libc/stdlib/system.c:
16318 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
16319 API availability, __CYGWIN32__ for cygwin32 environment specific).
16320
16321 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
16322
16323 * libc/include/stdlib.h: add multibyte character functions. Add
16324 __eprintf for assert.
16325
16326 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16327
16328 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
16329 arithmetic or __alignof__ to properly get the alignment, instead
16330 of hardwiring it to 4.
16331
16332 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
16333
16334 * libc/stdio/fseek.c: add fflush call to adjust seek offset
16335 on append stream (fix from NetBSD sources), adjust curoff offset
16336 for ungetc's benefit.
16337 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
16338 * libc/stdio/rewind.c: replace code with up to date NetBSD
16339 code to undo hacks made to work around above problem of not
16340 having fflush call mentioned above
16341
16342 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
16343
16344 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
16345 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
16346 Partially revert last changes. The thread specific errno is set
16347 iff if the underlying syscall fails and the global errno is not
16348 zero.
16349
16350 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
16351
16352 * libc/reent/filer.c: Removed files, all functions have split out
16353 into their own files.
16354 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
16355 New files containing functions formally in filer.c
16356 * libc/reent/Makefile.in: Updated for above change.
16357
16358 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
16359 syscall fails, not if errno is changed.
16360 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
16361 _write_r): Likewise.
16362 * libc/reent/fstatr.c (_fstat_r): Likewise.
16363 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
16364 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
16365 * libc/reent/signalr.c (_kill_r): Likewise.
16366 * libc/reent/statr.c (_stat_r): Likewise.
16367 * libc/reent/timer.c (_gettimeofday_r): Likewise.
16368
16369 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
16370 signalr.c, statr.c, timer.c} (errno): declare extern rather
16371 than as a common.
16372
16373 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
16374 instead of calling vfprintf so that i*printf will not require
16375 floating point support code.
16376
16377 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
16378
16379 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
16380 path delimiter.
16381 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
16382 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
16383
16384 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
16385
16386 * libc/include/signal.h: _sig_func_ptr function takes an int
16387 * libc/include/sys/signal.h: sa_handler function takes an int
16388
16389 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
16390
16391 * libc/include/machine/ieeefp.h: Simplify H8/S support.
16392 * libc/include/sys/config.h: Add missing H8/S conditional.
16393
16394 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
16395
16396 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
16397
16398 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
16399
16400 * libc/include/machine/setjmp.h: Handle H8/S.
16401 * libc/include/machine/ieeefp.h: Likewise.
16402 * libc/include/sys/config.h: Likewise.
16403 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
16404 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
16405 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
16406 * libc/sys/h8300hms/crt0.S: Likewise.
16407
16408 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
16409
16410 * Makefile.in (datadir): Set to $(prefix)/share.
16411 (oldincludedir, docdir): Removed.
16412 * doc/Makefile.in (datadir): Set to $(prefix)/share.
16413 (oldincludedir, docdir): Removed.
16414 * libc/Makefile.in (datadir): Set to $(prefix)/share.
16415 (oldincludedir, docdir): Removed.
16416 * libm/Makefile.in (datadir): Set to $(prefix)/share.
16417 (oldincludedir, docdir): Removed.
16418
16419 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
16420
16421 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
16422 _reent struct.
16423
16424 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
16425
16426 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
16427 fetch current path rules with sysconf and handler posix/win32
16428 appropriately.
16429
16430 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
16431
16432 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
16433 (WAIT_CHILD): Always define.
16434
16435 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
16436
16437 * libc/stdlib/eprintf.c: New file.
16438 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
16439 (eprintf.o): New target.
16440
16441 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
16442
16443 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
16444 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
16445
16446 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
16447
16448 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
16449 NT in PowerPC endianess cases.
16450
16451 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16452
16453 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
16454
16455 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16456
16457 * libc/string/strtok.c: Fix doc typo.
16458
16459 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
16460
16461 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
16462 _next, _scanpoint, _signgam fields.
16463
16464 * libc/include/stdlib.h (rand_r): Added new declaration.
16465 (_rand_r, _srand_r): Removed declarations.
16466 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
16467 have been made obsolete by rand_r.
16468 * libc/stdlib/rand_r.c: New file, rand_r function as specified
16469 by POSIX.1c.
16470
16471 * libc/string/strtok.c: Update documentation to describe
16472 strtok_r().
16473
16474 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
16475
16476 * libc/include/sys/stat.h (stat structure): Use the expanded stat
16477 structure on Solaris, and PowerPC systems even though __svr4__ is
16478 defined.
16479
16480 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
16481
16482 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
16483
16484 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
16485
16486 * host/any: Use ../.. rather than .. to get to the main build
16487 directory. This matches the current layout of the build
16488 directory.
16489
16490 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
16491
16492 * libc/machine/h8300/__main.S: Delete. No longer needed.
16493 * libc/machine/h8300/Makefile.in: Corresponding changes.
16494 * libc/sys/h8300hms/crt1.c: New file.
16495 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
16496 * libc/sys/h8300hms/crt0.s: Call __main.
16497
16498 * libc/sys/h8300hms/crt0.S: Use temporary label names
16499 for branch targets.
16500
16501 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
16502
16503 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
16504
16505 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16506
16507 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
16508 .sdata on the PowerPC so that we can link newlib with code
16509 compiled with -msdata.
16510
16511 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
16512
16513 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
16514
16515 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
16516
16517 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
16518 exception handler to __cygwin_exception_handler.
16519
16520 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
16521
16522 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
16523
16524 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
16525
16526 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
16527 SunOS VPATH.
16528 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
16529 wcstombs.o): Likewise.
16530
16531 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
16532
16533 * libc/stdlib/environ.c (initial_env): New static local.
16534 (environ): Point to `initial_env'.
16535
16536 * libc/include/machine/setjmp.h: Clean up.
16537 (__H8300H__,__PPC__): Define _JBTYPE.
16538 (__arm__): Provide entry for.
16539 (sigjmp_buf): Delete.
16540 (jmp_buf): Use _JBTYPE if defined, otherwise int.
16541
16542 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
16543
16544 * libc/machine/h8300/strcmp.S: Sign extend the result to
16545 32bits so we don't lose with -mint32.
16546
16547 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
16548
16549 * libc/sys/go32/sys/errno.h: New file.
16550 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
16551 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
16552 errno's address (make compatible with rest of newlib).
16553 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
16554 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
16555
16556 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
16557
16558 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
16559 * libc/machine/sparc/Makefile.in: Build them.
16560 * libc/machine/sparc/machine/sparclet.h: New file.
16561
16562 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
16563
16564 * libc/machine/sh/asm.h: New file.
16565 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
16566 support for SH3e's FP registers. Use asm.h.
16567
16568 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
16569
16570 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
16571 as first argument. Call _dtoa_r and pass the reent structure
16572 instead of calling __dtoa.
16573
16574 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
16575
16576 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
16577 the h8300, h8500, and others. Add comments for some rather
16578 dubious code.
16579
16580 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
16581
16582 * Makefile.in (check): Check that testsuite exists before cd.
16583
16584 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16585
16586 * libc/include/string.h (strsep): Correct prototype.
16587
16588 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
16589
16590 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
16591 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
16592 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
16593
16594 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
16595
16596 * libc/posix/{creat.c,isatty.c}: New files.
16597 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
16598
16599 * libc/sys/sparc64/crt0.S (environ): Delete.
16600 (.LHaveBias): Renamed from HaveBias.
16601
16602 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
16603
16604 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
16605 (_morecore_r): Delete SBRK_IS_ALLOC support.
16606
16607 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16608
16609 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
16610 module rather than touch, so we don't get warning messages when
16611 all of the libraries are combined into libc.a.
16612
16613 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
16614
16615 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
16616 crt0.s replaced by version in libgloss.
16617
16618 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
16619
16620 * libc/reent/Makefile.in (OFILES): Add impure.o.
16621 * libc/reent/impure.o: New file, define initial reentrancy struct.
16622 * libc/reent/reent.c: Remove above definition.
16623
16624 * libm/math/sf_asinh.c: Fix typo.
16625
16626 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
16627 srf_ldexp.o.
16628
16629 * libm/libm.texinfo: Change documentation to reflect changes
16630 in reentrancy model.
16631 * libm/math/w_gamma.c: Likewise.
16632
16633 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
16634
16635 * configure.in (*-*-cygwin32): New.
16636 (*-*-win32): Deleted.
16637 * libc/sys/win32 renamed libc/sys/cygwin32.
16638
16639 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16640
16641 * libc/include/sys/file.h: New include file.
16642
16643 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
16644
16645 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
16646
16647 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
16648
16649 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
16650
16651 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
16652
16653 * doc/makedoc.c (realloc): Declare at file scope.
16654 (catchar): Not here.
16655
16656 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
16657
16658 * Makefile.in (VERSION): Update to 1.7.0.
16659 * {libc,libm}/Makefile.in (VERSION): Likewise.
16660 * configure.in: Minor clean up of multilib stuff.
16661
16662 From David Johnson <davidj@ICSI.Berkeley.EDU>
16663 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
16664
16665 * libc/stdlib/environ.c: New file.
16666 * libc/stdlib/Makefile.in (OFILES): Build it.
16667 * libc/sys/h8500hms/crt0.c (environ): Deleted.
16668 * libc/sys/m88kbug/crt0.c (environ): Deleted.
16669 * libc/sys/z8ksim/crt0.c (environ): Deleted.
16670 * libc/sys/netware/environ.c: Deleted.
16671
16672 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
16673
16674 * configure.in (links): set sys_dir, posix_dir, syscall_dir
16675
16676 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
16677
16678 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
16679 declaration out to external scope and declare it PTR, not char *.
16680
16681 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
16682
16683 * libc/include/sys/unistd.h (getpagesize): New declaration.
16684 (_SC_PAGESIZE): New definition.
16685 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
16686 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
16687
16688 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
16689
16690 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
16691 addressing. System call returns size, not (last address + 1).
16692
16693 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16694
16695 * libm/math/*.c: Removed _foo_r() reentrancy API.
16696 * libc/include/math.h: Removed _foo_r prototypes and macros.
16697
16698 * libm/math/*.c: On systems with IEEE single precision "doubles"
16699 move foo() -> foof() wrapper code from the files that implement
16700 the standard IEEE double precision functions to the files that
16701 implement IEEE single precision functions. (ie. On those systems
16702 sin is moved from s_sin.c to sf_sin.c). There should eventually
16703 be use of a C extension (like gcc's alias attribute) so that the
16704 wrappers are not needed at all.
16705
16706 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
16707 strict NEC V810 compiler.
16708 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
16709 for same reason.
16710
16711 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16712
16713 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
16714 from NetBSD C library.
16715 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
16716
16717 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
16718 and adapted from implementation I wrote for NetBSD C library.
16719 The difference is __assert doesn't take a format argument,
16720 so that there won't be multiple copies of the same string
16721 constant in the executable if assertions are enabled in
16722 more than one source module.
16723 * libc/include/assert.h (assert): Changed to call __assert.
16724
16725 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16726
16727 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
16728 word1 on systems with 32 bit doubles.
16729 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
16730 so that we can do arithmetic on them.
16731 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
16732 compilers.
16733
16734 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
16735
16736 * libc/sys/arm/crt0.S: Zero bss.
16737
16738 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
16739
16740 * libc/include/unctrl.h: New file.
16741 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
16742 * configure.in (subdirs): Add libc/misc.
16743 * libc/Makefile.in (SUBDIRS): Add misc.
16744 (SUBLIBS): Add misc/lib.a.
16745
16746 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
16747
16748 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
16749
16750 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
16751 (_vfprintf_r): Call CHECK_INIT.
16752
16753 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
16754
16755 * Makefile.in (MULTITOP): Delete.
16756 (MULTISRCTOP, MULTIBUILDTOP): Add.
16757 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
16758 instead of cfg-ml-pos.in.
16759
16760 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
16761
16762 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
16763 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
16764 presence.
16765
16766 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16767
16768 * libc/string/strtok.c: Include string.h to pick up strtok_r
16769 prototype.
16770
16771 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16772
16773 * libc/string/strtok.c: include <_ansi.h>.
16774 * libc/time/asctime_r.c: `reresult' -> `result'.
16775
16776 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16777
16778 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
16779 in #ifndef _REENT_ONLY ... #endif conditional.
16780
16781 * libc/include/string.h (_strtok_r): Remove declaration.
16782 * libc/include/time.h (_asctime_r): Remove declaration.
16783 * libc/string/strtok.c (_strtok_r): Removed.
16784 * libc/time/asctime.c (_asctime_r): Removed.
16785
16786 * libc/string/Makefile.in (OFILES): Add new object.
16787 * libc/string/strtok_r.c: New file. strtok_r function as
16788 specified by POSIX.1c, adapted from strtok implementation
16789 from NetBSD C library.
16790 * libc/string/strtok.c (strtok): Reimplemented in terms of
16791 strtok_r.
16792
16793 * libc/time/Makefile.in (OFILES): Add new objects.
16794 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
16795 New files, reentrant time functions specified by POSIX.1c.
16796 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
16797 reentrant time functions re-written in terms of reentrant
16798 functions.
16799 * libc/time/lcltime.c: Renamed from localtime.c
16800
16801 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
16802 gmtime_r, and localtime_r.
16803
16804 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
16805
16806 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
16807 * libc/include/sys/unistd.h (getlogin): Revert change of
16808 Oct 19.
16809 * libc/include/sys/signal.h (sigprocmask): Change prototype
16810 so it compiles with c++.
16811
16812 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
16813
16814 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
16815 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
16816 to give some room in case we need to align the jmp_buf.
16817
16818 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
16819 the new ppc-asm.h include file the compiler provides to specify
16820 function prologue/epilogue. Eliminate saves of the xer and ctr
16821 registers, which are volatile. Before starting to save registers,
16822 align to 8 byte boundary.
16823
16824 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
16825
16826 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
16827 referenced by standard libraries.
16828
16829 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
16830
16831 * libc/unix/Makefile.in, libc/string/Makefile.in,
16832 libc/stdio/Makefile.in, libc/reent/Makefile.in,
16833 libc/posix/Makefile.in:
16834 Remove tabs from otherwise empty line. Confuses some
16835 older non-GNU versions of "make".
16836
16837 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
16838
16839 * libc/sys/unistd.h (getlogin): Returns const char *.
16840
16841 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
16842
16843 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
16844 * libc/include/errno.h: Moved into and include...
16845 * libc/include/sys/errno.h: New file.
16846 * libc/include/sys/wait.h: New file.
16847 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
16848 * libc/sys/win32/*: Moved out.
16849 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
16850 * configure.in (i[345]86-*-win32): HAVE_RENAME
16851
16852 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
16853
16854 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
16855 avoid macro expansion for these two names.
16856
16857 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
16858
16859 * libc/machine/h8500/psi.S: r6 renamed to fp.
16860
16861 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
16862
16863 * configure.in (powerpc*): No longer need to define
16864 NO_LONGLONG_POINTERS to supress warnings.
16865
16866 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16867
16868 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
16869 through PTR instead of directly.
16870
16871 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
16872 non-standard constructor support.
16873
16874 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16875
16876 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
16877 address of the Bigint instead of the address of its _x field,
16878 as the size the result buffer was calculated accordingly.
16879 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
16880
16881 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
16882 from NetBSD C library. No longer special cases division by
16883 zero (which needs to be done by the application anyway), but
16884 it doesn't need to call abs() (or labs()) four times either.
16885
16886 * libc/stdlib/qsort.c: Replaced with implementation from
16887 NetBSD C library.
16888
16889 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16890
16891 * libc/stdio/vfprintf.c: Replaced with implementation from
16892 NetBSD C library (which is derived from the 4.4BSD C library).
16893 * libc/stdio/cvt.c: Removed.
16894 * libc/stdio/Makefile: Updated.
16895
16896 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
16897
16898 * libc/sys/win32/syscalls.c (rename): New.
16899 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
16900
16901 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16902
16903 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
16904 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
16905
16906 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
16907 (setjmp.o): Delete rule to build setjmp.o.
16908 * libc/sys/sh/setjmp.S: Delete file.
16909
16910 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16911
16912 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
16913 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
16914 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
16915 pow5mult and s2b to identifiers with leading underscores.
16916 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
16917 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
16918
16919 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
16920
16921 * libc/sys/posix/popen.c (sys/types.h): Include.
16922
16923 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
16924
16925 * libc/sys/win32/syscalls.h (fhandler): New struct.
16926 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
16927 (__fhandler_normal): Declare.
16928 (hinfo): New member op_handlers.
16929 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
16930 (__write): Likewise.
16931 (_read, _write, _open, _close, _lseek): Validate fd here.
16932 Move file type specific stuff to foo_normal.
16933 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
16934 New functions.
16935 (__lookup_fhandler): New function.
16936 (__lookup_fhandler_hook, __fhandler_normal): New variables.
16937
16938 From anders.blomdell@control.lth.se (Anders Blomdell)
16939 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
16940 Don't touch standard handles.
16941 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
16942 (_execve): Only create __FD_TABLE__ if necessary.
16943 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
16944
16945 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
16946
16947 * libc/sys/win32/sys/termios.h (FLUSHO): New.
16948 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
16949 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
16950 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
16951 without a handler is received.
16952 * libc/sys/win32/Makefile.in: Remove --nodelete.
16953 * libc/sys/win32/resouce.c (gettimeofday): New.
16954 * libc/sys/win32/syscalls.c (path_to_real_path): New.
16955 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
16956
16957 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
16958
16959 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
16960 Don't append "/*" to search pattern if trailing '/' already there,
16961 append "*".
16962 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
16963 like /'s, convert them to \'s. Handle //<drive>/ path names.
16964 Add space for quoted \'s in arg string. Print translated prog name
16965 and original prog name.
16966 (_execve): Handle parent doing exec a teensy bit better.
16967 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
16968 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
16969 path needs conversion, handle both cases. Delete `const' from result.
16970 (hash_path_name): New function.
16971 (_open): Call it.
16972 (_stat): Likewise. Fill in more fields for directories.
16973 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
16974 (wait_for_any): Fix trace message.
16975 (waitpid): Explicitly test for intpid == 0.
16976
16977 From anders.blomdell@control.lth.se (Anders Blomdell)
16978 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
16979 so `next' is valid.
16980
16981 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
16982
16983 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
16984 complicated.
16985
16986 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16987
16988 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
16989 at all, not just == 1.
16990 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
16991
16992 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16993
16994 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
16995 * libc/sys/win32/include/wintypes.h: include <winnt.h>
16996 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
16997 file.
16998
16999 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
17000
17001 * libc/sys/syscalls.c (getcwd): Fix off by one error.
17002
17003 * libc/sys/signal.c (sleep): Fill it in.
17004 * libc/sys/termios.c (tcflush): Use PurgeComm
17005 (tcsetattr): Set some more of the bits.
17006 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
17007
17008 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
17009
17010 * libc/sys/arm/crt0.S (fp): Initialize to 0.
17011 Conditionally include .idata$3 stuff ifdef __pe__.
17012
17013 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
17014
17015 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
17016 * libc/sys/win32/pipe.c (pipe): Ditto.
17017 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
17018 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
17019 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
17020 (tcgetattr): Contents are new.
17021 * libc/sys/win32/include/winkernel.h (DCB): New.
17022 (GetCommState, SetCommState): New.
17023
17024 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
17025
17026 * libc/sys/arm/crt0.S (_start): Define.
17027
17028 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
17029
17030 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
17031 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
17032
17033 * libc/sys/win32/sysconf.c: New
17034 * libc/sys/win32/sys/winadvapi.h: New
17035 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
17036 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
17037 * libc/sys/win32/pipe.c (pipe): Ditto.
17038 * libc/sys/win32/signal.c (_raise): New.
17039 (_kill): Moved from spawn.c
17040 * libc/sys/win32/spawn.c (kill): Moved to signal.c
17041 * libc/sys/win32/syscalls.c (__read): Use new fields.
17042 (_open): Ditto.
17043 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
17044 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
17045 * libc/include/sys/unistd.h (rmdir): Takes const path.
17046 * libc/include/sys/stat.h (mkdir): Takes const path.
17047 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
17048
17049 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
17050
17051 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
17052
17053 Add support for specifying paths as //<drive>/foo/bar.
17054 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
17055 (__path_to_real_path): Declare.
17056 (PATH_TO_REAL_PATH): New macro.
17057 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
17058 (__path_needs_conversion_p, __path_to_real_path): New functions.
17059 (_open): Fix test for error return from CreateFileA.
17060 Handle new path syntax.
17061 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
17062 * libc/sys/win32/dirsearch.c (opendir): Likewise.
17063
17064 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
17065
17066 * libc/sys/win32/include/*.h: Reorganized
17067 * libc/sys/win32/include/WINREADME: New.
17068 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
17069 * libc/sys/win32/*.c: Fix for new include scheme.
17070 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
17071 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
17072 * libc/sys/win32/passwd.c (*): Fix.
17073 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
17074 (_stat): Get directory owner and permissions right.
17075 * libc/sys/win32/syscalls.h (uinfo): New.
17076 * libc/sys/win32/version.def: Remove leading underscores.
17077
17078 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17079
17080 * libc/sys/win32/key.c: include "include/wincon.h".
17081
17082 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
17083
17084 * libc/sys/win32/{key, stubs}.c: New.
17085 * libc/sys/win32/Makefile: Adjust to cope.
17086 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
17087 (environ_init): Change env names to upper case.
17088 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
17089 * libc/sys/win32/passwd.c (*): Fill in the functions.
17090 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
17091 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
17092 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
17093 (_open): Initialze hmap->execable_p too.
17094 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
17095 (_fstat): Fill in permissions.
17096 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
17097
17098 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
17099
17100 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
17101 if defined.
17102 (cfg-ml-pos.in invocation): Likewise.
17103
17104 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17105
17106 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
17107 s_isnan.o and sf_isnan.o.
17108
17109 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
17110
17111 * All Makefile.in files: added maintainer-clean target as a
17112 synonym for realclean.
17113
17114 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
17115
17116 * libc/include/machine/setjmp.h: Add hppa support.
17117 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
17118 support.
17119 * libc/machine/hppa/Makefile.in: Related changes.
17120
17121 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
17122
17123 * configure.in (machine_dir): Don't set for v810-*-*.
17124
17125 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17126
17127 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
17128 conventions correctly.
17129
17130 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
17131
17132 * libc/stdio/puts.c: Update documentation of return value to match
17133 ANSI standard.
17134
17135 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
17136
17137 Fix file descriptor inheritance.
17138 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
17139 (NOT_OPEN_FD): Fix.
17140 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
17141 close-on-exec flag not set. Initialize child's entire fd table.
17142 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
17143 CHILD_P.
17144 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
17145 if CHILD_P. Initialize entire hmap entry.
17146 (dup): Only create new handle as inheritable if CHILD_P.
17147 (dup2): Likewise. Properly initialize hmap entry.
17148
17149 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
17150 _spawn.
17151 (_exit): Use CHILD_P.
17152 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
17153 (_stat): Likewise.
17154
17155 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17156
17157 * libc/sys/win32/crt0.c (passover): fix up the state table.
17158 * libc/posix/popen.c: Added.
17159 * libc/posix/Makefile.in: compile popen.c.
17160
17161 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
17162
17163 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
17164 h8/500 define _DOUBLE_IS_32BITS.
17165
17166 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
17167
17168 Get vfork/exec/spawn/cwait/wait working again.
17169 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
17170 (procinfo): New member vfork_level.
17171 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
17172 (vfork_init_first): Use GetCurrentProcessId to get pid.
17173 Initialize vfork_level.
17174 (vfork_init): Delete __PID__.
17175 (environ_init): New function. Undo patch of Aug 19, Posix says
17176 environment variables are case sensitive.
17177 (mainCRTStartup): Call it.
17178 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
17179 (my_longjump: Make static.
17180 (_spawn): New argument `h'. Delete setting of __PID__.
17181 Delete local `idx'. Look for chars that need quotes, rather than
17182 ones that don't. Set handle of created process in `h'.
17183 Result is process id if created task.
17184 (allocate_spawn_entry): New function.
17185 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
17186 (_execve): Set __FD_TABLE__ before spawning child.
17187 Scan our fd table when passing fds, not our parent's.
17188 Store handle and pid in procinfo entry.
17189 (vfork0): Ensure strace message always printed.
17190 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
17191 (vfork): Don't clobber result of vfork0.
17192 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
17193 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
17194
17195 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
17196 and `exit_code'.
17197 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
17198 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
17199 adding vfork level to pseudo-pid.
17200 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
17201 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
17202 (_exit): If child, set exit code.
17203 (__vfork_record_death): Only close process handle if valid.
17204 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
17205 didn't exec.
17206 (wait_for_any): Likewise. Start scan after root entry.
17207
17208 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17209
17210 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
17211 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
17212 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
17213 of actual file length.
17214
17215 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
17216 * libc/include/paths.h: _PATH_BSHELL added.
17217 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
17218 and STDERR_FILENO.
17219
17220 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17221
17222 * libc/include/ar.h: Added.
17223 * libc/include/sys/types.h: ino_t goes back to 32-bits.
17224 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
17225 * libc/sys/win32/syscalls.c (_open): compute .namehash based
17226 on filename.
17227 (_fstat): use .namehash for inode number of the fd.
17228
17229 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
17230
17231 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
17232 Change hinfo to __this_procinfo.
17233 * libc/sys/win32/crt0.c: Remove procinfo_list.
17234
17235 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17236
17237 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
17238 win32 environment.
17239
17240 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17241
17242 * libc/sys/win32/include/grp.h: Removed.
17243 * libc/sys/include/grp.h: Added.
17244 * libc/sys/win32/grp.c: Include <grp.h>.
17245
17246 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
17247
17248 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
17249 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
17250 Defined for all but strict ANSI.
17251 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
17252 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
17253 * libc/signal/signal.c (_signal_r): Changed from using
17254 _MAX_SIGNALS to NSIG.
17255 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
17256 __hmap): Deleted.
17257 (__strace, __vfork_next_pid): New.
17258 (__exe_suffix): Default to 1.
17259 (passover, table): Understand quoted arguments.
17260 (vfork_init_first): New.
17261 (vfork_init): Initialize new process structure.
17262 (mainCRTStartup): Pass environ to main.
17263 * exceptions.c (__sig_mask): New
17264 (ehandler3): Ignore signals in mask.
17265 (really_exit): Remove CHILD_P test.
17266 * pipe.c (pipe, dup, dup2): Use new process and file structure.
17267 * resource.c (getrusage): Ditto.
17268 * signal.c (sigprocmask): New.
17269 * spawn.c (*): Rewritten.
17270 * syscalls.c (*): Use new process and file structure.
17271 (find_unused_handle): New.
17272 * syscalls.h (MAX_HANDLES): Deleted.
17273 (hinfo): Removed child_created_p.
17274 (MAX_CHILDREN): Deleted.
17275 (vfork_jmp_info, procinfo): New.
17276 * wait.c (*): Mostly new.
17277 * sys/strace.h (_STRACE_PARANOID): New.
17278 * sys/param.h: New file.
17279
17280 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17281
17282 * libc/include/sys/stat.h: add S_BLKSIZE.
17283 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
17284 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
17285 types under win32.
17286 (mode_t): add a #else to avoid multiple definitons.
17287
17288 * libc/sys/win32/Makefile.in: add grp.c.
17289 * libc/sys/win32/grp.c: include grp.h correctly.
17290 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
17291 of the st structure with real information.
17292 * libc/sys/win32 (dirent): d_ino is of type ino_t.
17293
17294 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
17295
17296 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
17297 and (maybe) sparc64.
17298 (nlink_t): Provide typedef.
17299
17300 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17301
17302 * libc/sys/win32/grp.c: New file.
17303 * libc/sys/win32/include/grp.h: New file.
17304
17305 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17306
17307 * libc/include/machine/ieeefp.h: Added whitespace to make this
17308 file easier to maintain.
17309 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
17310 depending on the value of __LITTLE_ENDIAN__.
17311 On the sh3e, define _DOUBLE_IS_32BITS.
17312
17313 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
17314
17315 * libc/sys/vr4300/syscalls.c: Added missing support
17316 routines. _raise() and getpid().
17317
17318 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
17319
17320 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
17321
17322 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
17323
17324 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
17325 and VR4300 processor.
17326 * libc/sys/vr4300: Add directory.
17327 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
17328 monitor run-time support.
17329
17330 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17331
17332 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
17333 * libc/stdlib/stdlib.tex: Don't include atol.def.
17334
17335 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17336
17337 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
17338
17339 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
17340
17341 * libc/ctype/Makefile.in: Fill in _to* dependencies.
17342
17343 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
17344
17345 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
17346 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
17347 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
17348 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
17349 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
17350
17351 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17352
17353 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
17354
17355 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17356
17357 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
17358 * libc/stdlib/atoff.c: New file.
17359 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
17360 * libc/stdlib/atoi.c (atol): Removed.
17361 * libc/stdlib/atol.c: Removed duplicate documentation.
17362
17363 * libc/include/ctype.h (_tolower, _toupper): Moved inside
17364 #ifndef _STRICT_ANSI conditional.
17365 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
17366 * libc/ctype/_tolower.c: New file.
17367 * libc/ctype/_toupper.c: New file.
17368 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
17369 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
17370 * libc/ctype/toascii.c (_toascii): Removed.
17371
17372 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
17373
17374 * libc/sys/sparc64/sys/types.h: Deleted.
17375
17376 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17377
17378 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
17379 and recognize Windows_95 systems.
17380
17381 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17382
17383 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
17384 and passed fds should be opened in text mode.
17385
17386 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
17387
17388 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
17389 in __hmap, set to binary mode by default.
17390
17391 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17392
17393 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
17394 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
17395 vector 34.
17396
17397 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
17398
17399 * Makefile.in (install): Install all libraries found in the
17400 top level. If there's a sys/<type>/include directory,
17401 install those headers into include.
17402
17403 * libc/sys/win32/kernel.def351: Delete
17404 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
17405 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
17406 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
17407 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
17408 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
17409 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
17410 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
17411 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
17412
17413 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
17414 * libc/sys/win32/crt0.c: Force all env names to upper case.
17415 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
17416 * libc/sys/win32/*.c: Headers have moved.
17417 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
17418 __vfork_child_idx is now __vfork_child_ptr.
17419
17420 * posix/execvp (execvp): Don't crash if no PATH envname.
17421
17422 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17423
17424 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
17425 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
17426 through the _freelist instead of through the _reclaim list.
17427 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
17428 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
17429 sources.
17430
17431 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17432
17433 * libc/machine/h8500/setjmp.S: New file.
17434 * libc/include/machine/setjmp.h: Updated for H8/500.
17435
17436 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
17437
17438 * libc/sys/win32/syscalls.c (_open): More stracing.
17439 (_stat): Open the file in O_BINARY.
17440
17441 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17442
17443 * libc/machine/h8300/setjmp.S: New file.
17444 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
17445
17446 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
17447
17448 * libc/sys/win32/crt0.c (__exe_suffix): New global.
17449 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
17450 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
17451 __exe_suffix. Free fd_tab after setting env variable.
17452 (spawnv,_execve): Update.
17453 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
17454 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
17455 (__small_vfprintf): New function.
17456 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
17457 * libc/sys/win32/wait.c (cwait): Validate argument.
17458
17459 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
17460 (process_deletion_queue): Likewise.
17461
17462 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
17463
17464 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
17465
17466 * libc/sys/win32: Copyrights and gratuitous indenting.
17467
17468 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
17469
17470 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
17471 (process_deletion_queue): Likewise.
17472 (__close_all_files): New function.
17473 (_close): Only queue file deletion if really a file.
17474 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
17475 _P_APPEND_EXE.
17476 (_exit): Call __close_all_files.
17477
17478 * libc/stdlib/system.c: #include <errno.h>.
17479 (_system_r): Fix results in -DNO_EXEC case.
17480
17481 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
17482 Reorganize structure.
17483 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
17484 if argument is valid. Save directory name in DIR. malloc space
17485 for dirent struct separately.
17486 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
17487
17488 * libc/include/errno.h (ENAMETOOLONG): Define.
17489 * libc/string/strerror.c (strerror): Reword ENFILE.
17490 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
17491
17492 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
17493
17494 * libc/sys/win32/crt0.c (__progname): New global.
17495 (mainCRTStartup): Support strace=bitmask,filename.
17496 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
17497 * libc/sys/win32/syscalls.c (_write): Print parent trace message
17498 if error.
17499 (getcwd): Handle len too small. Convert '\\' to '/'.
17500 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
17501 Add prototypes for open, creat, fcntl.
17502 (O_APPEND): Change value to conform to Microsoft's value.
17503 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
17504
17505 * libc/stdlib/getopt.c: New file.
17506 * libc/stdlib/Makefile.in: Build it.
17507
17508 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
17509
17510 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
17511 Fix scanning of $PATH.
17512 * libc/posix/exec*.c: Call _execve, not execve.
17513 * libc/posix/execve.c: New file.
17514 * libc/posix/Makefile.in (OFILES): Add execve.o.
17515
17516 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
17517 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
17518 (_STRACE): If level==0, always print. Handle new bit mask scheme.
17519 * libc/sys/win32/crt0.c: Update _STRACE calls.
17520 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
17521
17522 * libc/sys/win32/smallprint.c (rn): Fix digit list.
17523
17524 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
17525 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
17526 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
17527 Print __seterrno trace message first.
17528 (_execve): Renamed from execve.
17529 (vfork): Update __strace usage.
17530 (__vfork_child_pid): Deleted.
17531 (__vfork_children, __vfork_child_idx): New globals.
17532 (_spawnvp): New function.
17533 (spawnvp, spawnv, _execve): Call _spawnvp.
17534 (init_child): Record child in __vfork_children.
17535 (__vfork_get_entry, __vfork_record_death): New functions.
17536 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
17537 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
17538 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
17539 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
17540 (children): New typedef.
17541 (__vfork_children,__vfork_child_idx): Declare.
17542 (__vfork_get_entry,__vfork_record_death): Declare.
17543 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
17544 (waitpid): Handle pid == -1.
17545 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
17546 * configure.in (i386-win32): Add -DNO_FORK.
17547 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
17548 * libc/reent/execr.c (_fork_r): Likewise.
17549 * libc/stdlib/system.c (do_system): New function.
17550 If WIN32, try to get shell path from $SH_PATH, use vfork.
17551 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
17552 otherwise return 0.
17553
17554 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
17555
17556 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
17557 * libc/sys/win32/fcntl.h: Don't include self.
17558 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
17559 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
17560 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
17561 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
17562 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
17563 Correct prototypes.
17564 * libc/sys/win32/strace.c: New file.
17565 * libc/sys/win32/smallprint.c: New file.
17566 * libc/sys/win32/crt0.c (func): Delete.
17567 (mainCRTStartup): Fix alloca usage. Set handles explictly.
17568 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
17569 * libc/sys/win32/exceptions.c: Lint.
17570 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
17571 Clean up handle usage.
17572 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
17573 (open.c): Default file type is text.
17574 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
17575 * libc/sys/win32/advapi32.def: New
17576
17577 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
17578
17579 * configure.in (posix_dir, libc_posix_lib): New variables.
17580 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
17581 (i[345]86-*-win32): Define posix_dir.
17582 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
17583 (if unix_dir): Fix typo.
17584 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
17585 scandir,seekdir,telldir}: New files.
17586 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
17587 from libc/unix.
17588 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
17589 (SUBDIRS): Add posix.
17590 (SUBLIBS): Add $(LIBC_POSIX_LIB).
17591
17592 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
17593 (NSIG): Increase to 21.
17594 * libc/include/sys/unistd.h (pid_t): Move from here,
17595 * libc/include/sys/types.h (pid_t): to here.
17596
17597 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
17598 (__ptrace): Delete.
17599 (hinfo): New members close_exec_p, child_created_p.
17600 (struct exception_list): Define.
17601 (__hmap): Redefine as pointer to table.
17602 (__parent_hmap, __child_hmap): New globals.
17603 (__set_errno, __really_exit): Declare.
17604 (__vfork_child_pid): Declare.
17605 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
17606 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
17607 (__parent_hmap, __child_hmap): New globals.
17608 (__hmap): Redefine as pointer to active map.
17609 (__get_console): New function.
17610 (mainCRTStartup): Change leading '=' in environ vars to '!'.
17611 (env __FD_TABLE__): Watch for this and initialize our fd/handle
17612 mapping table from it if defined.
17613 (argv, envp): Dump if __strace >= 4.
17614 (main): Call here.
17615 * libc/sys/win32/exceptions.c (myp): Redefine.
17616 (__syscalls_b): Delete.
17617 (__stack_trace): New function.
17618 (ehandler3): Update to use _STRACE. Print stack trace.
17619 Call __really_exit instead of exit.
17620 (init_exceptions): Delete args argc,argv. New arg mine.
17621 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
17622 FindFirstFileA, FindNextFileA, GetComputerNameA,
17623 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
17624 * libc/sys/win32/signal.c (signal): Validate arg.
17625 (alarm, sleep): Define as stubs for now.
17626 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
17627 (__syscalls_b, errno): Delete.
17628 (__vfork_child_pid, __vfork_jmp_buf): New globals.
17629 (__seterrno): Handle more errors.
17630 (__sys_printf): Renamed from _ptrace.
17631 (__really_exit): New function.
17632 (queue_file_deletion, process_deletion_queue): New functions.
17633 (__resume_parent): New function.
17634 (_unlink): Handle trying to delete open file.
17635 (__totime_t): Renamed from totime_t.
17636 (setsid, __read, __write): New functions.
17637 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
17638 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
17639 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
17640 * libc/sys/win32/console.c: Update to new definition of __hmap.
17641 * libc/sys/win32/Makefile.in: Build new files.
17642 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
17643 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
17644 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
17645 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
17646
17647 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
17648
17649 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
17650
17651 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17652
17653 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
17654 have been made to the master dtoa.c sources (from netlib.att.com)
17655 since they were integrated into newlib in early 1992. Fixes
17656 problems with storage leaks and handling of numbers with very
17657 negative exponents.
17658
17659 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17660
17661 * Makefile.in (all): set rootpre and srcrootpre before calling
17662 sub-makes.
17663
17664 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
17665
17666 * libc/sys/win32/crt0.c: Change __hmap usage.
17667 * libc/sys/win32/exceptions.c: Use _ptrace call.
17668 * libc/sys/win32/syscalls.c: Use _ptrace call.
17669 (read, write): Cope with DOS style CRLF when in TEXT mode.
17670 * libc/sys/win32/syscalls.h: Declare hinfo struct.
17671 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
17672 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
17673 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
17674 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
17675
17676 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17677
17678 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
17679
17680 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
17681 wrappers for hypot() and remainder() for BSD libm compatibility.
17682 These are public domain implementations written by me for the
17683 NetBSD libm some time ago. Note cabs() is required by ucbtest.
17684 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
17685 (fobj): Added wf_cabs.o and wf_drem.o.
17686
17687 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17688
17689 * libc/sys/h8500hms/misc.c: New file.
17690 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
17691
17692 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17693
17694 * libc/time/localtime.c (localtime): Fix problem with leap year
17695 handling. Stole algorithm from Arthur David Olson's tz code.
17696
17697 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
17698
17699 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
17700
17701 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
17702 (_exit): Use argument.
17703
17704 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
17705
17706 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
17707
17708 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
17709
17710 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
17711
17712 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17713
17714 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
17715 target_cflags.
17716
17717 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
17718
17719 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
17720 ptrace with case insensitivity
17721 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
17722 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
17723 New files.
17724
17725 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
17726
17727 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
17728 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
17729 (all, install, *clean): Use new multilib support.
17730 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
17731
17732 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
17733
17734 * libc/include/sys/signal.h (__WIN32__): New.
17735
17736 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
17737
17738 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
17739 (ulp, b2d): Handle 32 bit doubles.
17740 * libc/stdlib/mprec.h: Handle 32 bit doubles.
17741 * libc/stdlib/strtod.c (_strtod_r): Ditto.
17742
17743 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
17744
17745 from medp@primag.co.uk:
17746 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
17747 dynamically allocated buffers.
17748
17749 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
17750
17751 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
17752 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
17753
17754 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
17755
17756 * configure.in (powerpc): Fix previous fix.
17757
17758 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
17759
17760 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
17761 directories for this target.
17762
17763 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
17764
17765 * configure.in (hppa): Add machine_dir definition.
17766 * libc/machine/hppa: New directory with PA specific implementations
17767 of the basic memory/string functions.
17768
17769 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
17770
17771 * configure.in: Update current PowerPC multilib directories.
17772 Split big and little endian configurations.
17773
17774 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
17775
17776 * configure.in: Add --enable-single-float option to configure to
17777 control use of MIPS single-float directories. Default to yes.
17778
17779 * Makefile.in (all): Don't recurse into multilib directory if it
17780 does not exist.
17781
17782 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17783
17784 * libc/sys/sh/syscalls.c: Fix typo.
17785
17786 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
17787
17788 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
17789 Pass down DLLTOOL.
17790 * libc/include/process.h: Define WAIT_CHILD.
17791 * libc/include/types.h: Get sizes right for win32.
17792 * configure.in (i386-*-pe): Becomes i386-win32.
17793 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
17794 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
17795 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
17796 is defined.
17797
17798 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
17799
17800 * configure.in (i[345]86-*-pe): New target (NT).
17801 * host/any: DLLTOOL new.
17802 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
17803 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
17804 WIN32 (just enough to cross host the comp-tools).
17805
17806 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
17807
17808 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
17809 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
17810
17811 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
17812
17813 * libc/include/machine/ieeefp.h (arm): Change to always be
17814 __IEEE_BIG_ENDIAN (even on little endian ARM's).
17815
17816 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
17817
17818 * libc/sys/crt0.S: Initialze sp, and call exit after main.
17819 * libc/sys/syscalls.c (abort): New.
17820 * configure.in (arm): Define ABORT_PROVIDED.
17821
17822 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17823
17824 * configure.in (powerpc): Define multidirs.
17825
17826 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
17827
17828 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
17829
17830 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
17831
17832 * configure.in (sparclite): Delete target_cflags. Define multidirs.
17833
17834 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
17835
17836 * configure.in, libc/include/machine/ieeefp.h: Modified
17837 for arm:
17838 libc/machine/arm/*, libc/sys/arm/*: New
17839
17840 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17841
17842 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
17843 __powerpc__ when determining endianness.
17844
17845 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17846
17847 * configure.in (m68*): Add multidir for the m68332.
17848
17849 * host/any (CC): Fix typo in last change.
17850
17851 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
17852
17853 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
17854 when determining endianness.
17855 * libc/include/machine/ieeefp.h: Ditto.
17856 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
17857 operands.
17858
17859 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
17860
17861 * libc/include/errno.h (ENOTEMPTY): Define.
17862
17863 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17864
17865 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
17866 target_cflags.
17867
17868 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
17869 and umultiply.o.
17870
17871 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
17872 instead of only when open succeeds. ANSI requires that multiple
17873 calls to tmpnam() result in different files.
17874
17875 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
17876 objects pulled in from /lib/libc.a that must be renamed before
17877 being pulled into newlib. /lib/libc.a's div.o conflicted with
17878 newlib's file with the same name.
17879
17880 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
17881
17882 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
17883 the build tree will only be used if the executables are present
17884 (instead of just the Makefiles).
17885
17886 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
17887 wcstombs): Define.
17888 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
17889 versions of these functions that I orignally wrote for the
17890 NetBSD C library.
17891 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
17892 versions I wrote for NetBSD.
17893
17894 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
17895
17896 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
17897 * libc/sys/sparclite/crt0.s: ditto.
17898
17899 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
17900
17901 * configure.in: Add soft-float for proelf.
17902
17903 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
17904
17905 * libc/stdlib/mprec.h (Bcopy): Copy the right number
17906 of bytes.
17907
17908 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
17909
17910 * Makefile.in (all): Depend on `force'.
17911 * configure.in (syscall_dir): Renamed from fake_sys_dir.
17912 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
17913 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
17914 * libc/Makefile.in: Likewise.
17915 * libc/include/reent.h: Update syscall references.
17916 (_fcntl_r): Add prototype.
17917 * libc/syscalls/*.c #include <reent.h>.
17918 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
17919
17920 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
17921
17922 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
17923 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
17924 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
17925 (time.h, sys/types.h): Always include (even if MSDOS).
17926 (stat): Fix prototype.
17927
17928 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
17929
17930 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
17931
17932 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
17933
17934 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
17935
17936 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
17937
17938 * libc/include/regdef.h: New file.
17939 * libc/machine/mips/machine/regdef.h: New file.
17940
17941 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
17942
17943 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
17944
17945 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
17946
17947 * libc/sys/sh/crt0.S: Pass main's return to exit.
17948 * libc/sys/sh/trap.S: Put errno in the right place.
17949
17950 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
17951
17952 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
17953 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
17954 * libm/math/ef_rem_pio2.c: Likewise.
17955 * libm/math/e_log10.c: Remove unused static one.
17956 * libm/math/ef_log10.c: Likewise.
17957 * libm/math/s_frexp.c: Likewise.
17958 * libm/math/sf_frexp.c: Likewise.
17959
17960 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
17961
17962 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
17963 longjmp.S: Upgraded.
17964 * libc/sys/go32/sys/setjmp.h: Upgraded.
17965 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
17966
17967 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
17968
17969 * configure.in: Add many entries to multidirs for mips targets.
17970
17971 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
17972
17973 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
17974 5.2 which fixes bug where jn(-1,x) is three times larger than
17975 the actual answer.
17976 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
17977
17978 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
17979
17980 * libc/sys/w65/sys/syscalls.h: New file
17981 * libc/include/machine/ieeefp.h: W65 support.
17982 * libc/include/sys/config.h: Ditto.
17983 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
17984 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
17985 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
17986
17987 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
17988
17989 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
17990
17991 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
17992
17993 * Makefile.in, configure.in: Remove any references to the old
17994 "stub" dir.
17995
17996 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
17997
17998 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
17999 uses ... in prototype.
18000
18001
18002 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
18003
18004 * libc/sys/a29khif/sys/libconfig.h: Remove.
18005 * libc/sys/go32/sys/libconfig.h: Remove.
18006 * libc/sys/sun4/sys/libconfig.h: Remove.
18007 * libc/sys/sysvi386/sys/libconfig.h: Remove.
18008 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
18009 * libc/sys/sparc64/sys/libconfig.h: Remove.
18010
18011 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
18012 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
18013 * libc/include/math.h: Change all uses of _FLOAT_RET and
18014 _FLOAT_ARG to float.
18015 * libm/test/math.c: Likewise.
18016 * testsuite/libm.sac/math.c: Likewise.
18017 * testsuite/libm.sac/working/math.c: Likewise.
18018
18019 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
18020
18021 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
18022 gcc calls gas with endian option.
18023 * configure.in (sh): Build little endian version too.
18024
18025 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
18026
18027 * configure.in: Configure big and little endian versions for MIPS
18028 targets.
18029
18030 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
18031
18032 * libc/include/limits.h: Deleted.
18033 * libc/include/machine/limits.h: Deleted.
18034
18035 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
18036
18037 * ChangeLog: Remove stub directory. This has all been rewritten
18038 and moved to devo/libgloss.
18039
18040 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
18041
18042 * Makefile.in (dvi): Add to info target, use $@ in sub make.
18043 (docs): Merge into info target.
18044 * libm/Makefile.in (dvi): Add $(srcdir).
18045 * libm/math/Makefile.in (chobjs): Remove underscores from file
18046 names. Texinfo doesn't like them.
18047 (wacos.def, ...): Add explicit targets for all .def files.
18048 * libm/math/math.tex: Remove underscores from @include file names.
18049 * doc/Makefile.in (dvi): Add dummy target.
18050 * testsuite/Makefile.in (dvi): Add dummy target.
18051
18052 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
18053
18054 * Makefile.in (VERSION): Define. For net newlib releases.
18055
18056 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
18057
18058 * README: New file.
18059
18060 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
18061
18062 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
18063
18064 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
18065
18066 * libc/stdlib/setenv.c (_findenv): Declare.
18067
18068 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
18069 fcntl to not use _EXFUN, and change string parameters to open and
18070 creat to be ``const char *''.
18071 * libc/sys/sparc64/sys/fcntl.h: Likewise.
18072 * libc/sys/sparc64/creat.c (creat): Make PATH const.
18073 * libc/syscalls/sysopen.c: Include <fcntl.h>.
18074 (open) Make _FILE const.
18075 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
18076 (_creat): Make PATH const.
18077 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
18078 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
18079 * libc/sys/m88kbug/syscalls.c (open): Likewise.
18080 * libc/sys/sh/syscalls.c (_open): Likewise.
18081 * stub/shared/glue.c (open): Make BUF const.
18082 * stub/ex93x/syscalls.c (open): Make FILENAME const.
18083
18084 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
18085
18086 * libc/include/errno.h: Add ENMFILE
18087 * libc/include/sys/config.h: Support Z8000.
18088 * libc/include/sys/signal.h: New signals for go32.
18089 * libc/machine/h8500/psi.S (__addpsir0r0): New function
18090 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
18091 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
18092 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
18093 size is variable, depending upon CHUNK_POWER.
18094 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
18095
18096 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
18097
18098 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
18099
18100 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
18101
18102 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
18103
18104 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
18105
18106 * configure.in: Change i[34]86 to i[345]86.
18107
18108 * libc/include/math.h: Don't define HUGE_VAL if it is already
18109 defined.
18110
18111 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
18112
18113 * testsuite/libm.sac/test_erfc.c: Correct some result values.
18114 * testsuite/libm.sac/test_gammaf.c: Likewise.
18115 * testsuite/libm.sac/test_sin.c: Likewise.
18116 * testsuite/libm.sac/test_tanh.c: Likewise.
18117
18118 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
18119
18120 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
18121 already set. Define typedefs __int32_t and __uint32_t.
18122 * libc/include/math.h: Include <machine/ieeefp.h>.
18123 (union __dmath): Use __uint32_t.
18124 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
18125 instead of int and unsigned int.
18126
18127 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
18128
18129 Replace the math library with the SunPRO fdlibm package.
18130 * libm/math: Completely changed all files.
18131 * libm/ieeefp: Remove contents and directory.
18132 * libm/Makefile.in (LIBM_FP_LIB): Remove.
18133 (SUBDIRS): Just set to math/lib.a.
18134 * libm/libm.texinfo: Updated for new library.
18135 * libc/include/math.h: Extensive changes for new math library.
18136 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
18137 from _FLOAT_ARG to float.
18138 (maxpowtwo, maxpowtwof): Don't declare.
18139 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
18140 (libm_fp_lib): Removed.
18141 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
18142 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
18143 argument to ${RUNTEST}.
18144 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
18145 (.c.o): New rule.
18146 (RUNTESTFLAGS): Set CC and CFLAGS.
18147 (TESTS): Remove test_log2 and test_log2f.
18148 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
18149 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
18150 _FLOAT_ARG, for single precision argument type.
18151 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
18152 expected failure. Close the input pipe.
18153 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
18154 Correct misspelling of inaccurate.
18155 (test_mok): Use ``inaccurate'', not ``wrong''.
18156 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
18157 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
18158 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
18159 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
18160 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
18161 test_yn.c): Correct many result values. Many are still wrong.
18162
18163 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
18164 just copy the string.
18165 (_gcvt): Always return the buffer.
18166
18167 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18168
18169 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
18170
18171 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
18172
18173 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
18174 structure.
18175 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
18176 (_reclaim_reent): declare new entry point.
18177 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
18178 functions.
18179
18180 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
18181 ever allocated, so that we can later reclaim them all.
18182 (pow5mult): make reentrant.
18183
18184 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
18185 so that when given NULL as a buffer, return a pointer to static
18186 space in the rent structure. This is not documented behaviour;
18187 it's only to support ecvt and fcvt, which aren't ANSI anyway.
18188 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
18189 therefore become reentrant).
18190
18191 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
18192
18193 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
18194
18195 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
18196
18197 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
18198
18199 * Makefile.in: Make link to libg.a after libc.a; this is needed
18200 for the testsuites to build executables when everything comes
18201 from the tree.
18202
18203 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
18204
18205 * libc/Makefile.in: Add a VERSION variable so we can keep track.
18206 * libm/Makefile.in: Add a VERSION variable so we can keep track.
18207
18208 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
18209
18210 * libc/include/stdio.h: Use __VALIST, not va_list.
18211
18212 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
18213
18214 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
18215 testsuite/libm.sac/execute.exp:
18216 Replace error proc calls with perror calls.
18217
18218 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
18219
18220 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
18221 * libc/include/time.h: #define NULL as 0L.
18222
18223 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
18224
18225 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
18226 care of it.
18227
18228 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
18229
18230 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
18231 not __unix__.
18232
18233 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
18234
18235 * configure.in (TARGET_CFLAGS): Set -O2 as default.
18236 (z8k-*-*): Use syscalls fake sys dir.
18237 * libc/sys/z8k/glue.c: Rename syscalls.
18238 * libc/sys/go32/Makefile.in: Use new routines.
18239 * libc/machine/Makefile.in: Fix typo in ln stuff.
18240
18241 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
18242
18243 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
18244 * libc/Makefile.in (crt0.o): Likewise.
18245 * libc/machine/Makefile.in (lib.a): Likewise.
18246 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
18247
18248 All Makefile.in files: Added mostlyclean, realclean and distclean
18249 targets.
18250
18251 * Makefile.in: Don't bother to unexport XTRAFLAGS or
18252 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
18253 the top level Makefile.
18254
18255 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
18256
18257 * libc/sys/sparc64/sys/stat.h: New file.
18258 * libc/sys/sparc64/sys/time.h: New file.
18259 * libc/sys/sparc64/sys/types.h: New file.
18260
18261 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
18262
18263 * stub/ex93x/crt0.s (start): Add code to clear bss.
18264
18265 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
18266
18267 * libc/include/sys/types.h (time_t): Properly protect inside
18268 #ifndef __time_t_defined.
18269
18270 * libc/stdio/fileno.c: New file.
18271 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
18272 (fileno.o): Add dependency.
18273 * libc/include/stdio.h (__sgetc): Rename never to _never.
18274 (fileno macro): Disable, needs to do CHECK_INIT first.
18275
18276 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
18277
18278 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
18279 goal.
18280
18281 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
18282 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
18283 runtest.
18284 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
18285 runtest.
18286
18287 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
18288
18289 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
18290 of the various constants.
18291
18292 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
18293
18294 * libc/include/math.h: #ifndef __math_68881 around things which
18295 conflict with the (gcc-provided) inline functions in
18296 gcc/ginclude/math-68881.h.
18297
18298 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
18299
18300 * libc/include/_syslist.h (_gettimeofday): Define.
18301 (_times): Ditto.
18302 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
18303 (struct tms, timeval, timezone): Declare.
18304 (_gettimeofday_r, _times_r): Declare.
18305 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
18306 #ifdef _CLOCK_T_ surrounding definition of clock_t.
18307 (time_t): Add multiple definition protection, __time_t_defined.
18308 * libc/include/sys/time.h: Don't #include <time.h>.
18309 Always define struct timezone (remove #ifndef _TIME_H_).
18310 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
18311 #ifdef _CLOCK_T_ surrounding definition of clock_t.
18312 * libc/reent/Makefile.in (OFILES): Add timer.o.
18313 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
18314 * libc/reent/timer.c: New file.
18315 * libc/time/clock.c: #include <reent.h>.
18316 (clock): Call _times_r instead of times.
18317 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
18318 HAVE_GET_TIME_OF_DAY.
18319 Add comment regarding supporting OS routine(s) required (for docs).
18320 #include <reent.h>.
18321 (time): Call _gettimeofday_r instead of gettimeofday.
18322 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
18323 * libc/time/ctime.c: Ditto.
18324 * libc/time/strftime.c: Ditto.
18325 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
18326 (TEMPLATE_SFILES_R): Define here. Also define times.
18327 Add times_r.o/times.S dependence.
18328 (time2.c, junk.c): Deleted.
18329 * libc/sys/sparc64/time2.c: Deleted.
18330 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
18331
18332 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
18333 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
18334 * libc/sys/sparc64/junk.c: Deleted.
18335
18336 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
18337
18338 * libc/sys/sparc64/Makefile.in: Add times syscall.
18339 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
18340 be used with and without it. Add comment clarifying Medium/Anywhere
18341 model requirements.
18342 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
18343 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
18344 even if obsolete.
18345
18346 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
18347
18348 * configure.in (target_cflags): Move init.
18349 (sparc64-*-*): Define HAVE_BLKSIZE.
18350
18351 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
18352
18353 * libc/include/sys/_types.h: New file.
18354 * libc/include/reent.h: #include it.
18355 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
18356 MISSING_SYSCALL_NAMES.
18357 Sort syscalls.
18358 * libc/include/_syslist.h: Remove _raise.
18359 * libc/reent/signalr.c: New file.
18360 * libc/reent/Makefile.in: Compile it.
18361 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
18362 Add doc for raise and _raise_r.
18363 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
18364 (raise): Call _raise_r.
18365 (_raise_r): Call _getpid_r and _kill_r.
18366 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
18367 (abort): Loop forever calling raise and _exit.
18368
18369 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
18370
18371 * configure.in: Remove extraneous echo.
18372
18373 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
18374
18375 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
18376 collision with unistd.h, and fix for svr4.
18377
18378 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
18379
18380 * libc/stdio/local.h (_llicvt): Declare.
18381 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
18382 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
18383 (_llicvt): Define.
18384 (_sicvt): Fix function header (`value' is short).
18385 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
18386 Add printing of long long's support.
18387 Add printing of 8 byte pointer support.
18388
18389 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
18390
18391 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
18392 stat, chmod): New hooks.
18393 (sbrk): Abort if stack and heap collide.
18394 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
18395 shortcut when given small args.
18396 * libc/machine/sh/setjmp.s: Rewritten.
18397 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
18398 of cmp/str instruction.
18399
18400 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
18401
18402 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
18403 and machine_dir powerpc.
18404 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
18405 Add cases for __powerpc__.
18406 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
18407 New files.
18408
18409 * libc/include/stdio.h (_iprintf_r): Declare correctly.
18410
18411 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
18412
18413 * libc/stdlib/callocr.c: New file with _calloc_r in it.
18414 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
18415
18416 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
18417
18418 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
18419 (print_e): More comments to describe args, etc.
18420 "type" arg may now be 'g' or 'G' for %g/G format --> remove
18421 trailing blanks.
18422 (_gcvt): Remove locals decpt, sign, end, p, done.
18423 More comments for print_e invocation.
18424 Pass "type" to print_e as is (g/G).
18425
18426 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
18427
18428 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
18429 stock m68000.
18430
18431 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
18432
18433 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
18434 works with any sized pointer, including ones bigger than ints and
18435 longs.
18436
18437 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
18438
18439 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
18440
18441 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18442
18443 * libc/include/stdlib.h (_calloc_r): Add prototype.
18444 * libc/machine/h8500/negsi2.c: New file.
18445 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
18446 large unsigned numbers.
18447 * libc/machine/h8500/cmpsi.c: Add cmppsi.
18448 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
18449 works when sizeof(size_t) != sizeof(char *).
18450 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
18451 get play area
18452 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
18453
18454 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
18455
18456 * libc/include/assert.h (assert): Handle -traditional.
18457
18458 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
18459
18460 * Makefile.in: added ; after every "fi" and "done" that wasn't at
18461 the end of a line (ie. anything before a backslash continuation)
18462 so that bash handles them.
18463
18464 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
18465
18466 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
18467 stat to lstat
18468
18469 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
18470
18471 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
18472 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
18473 libc/machine/sh/udivsi3.s: Use new calling convention.
18474
18475 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
18476
18477 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
18478 chmod, access, chdir, chown by making _path const. Also fix _amode
18479 param of access.
18480
18481 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
18482
18483 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
18484 _khif_tmpnam, because it doesn't comply with ANSI but may be
18485 useful anyway. Real tmpnam was already in libc/stdio, and was
18486 colliding with this one (pr 2176.)
18487 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
18488 the wrong idea anyhow.
18489
18490 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
18491
18492 * configure.in: Remove h8300h, we have multilib now.
18493
18494 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
18495
18496 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
18497 functions, to get preference over the ones in libiberty (since we
18498 provide correct declarations in <string.h>.
18499 * libc/string/Makefile.in: add support for strncasecmp,
18500 strcasecmp.
18501
18502 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
18503
18504 * Change netware config not to look for cpu explicitly.
18505
18506 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
18507
18508 * libc/sys/sparc64/{creat.c,junk.c}: New files.
18509 * libc/sys/sparc64/Makefile.in: Add dependencies.
18510
18511 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
18512
18513 * configure.in: Clean up v9 a bit, new "os" aoutv8.
18514
18515 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
18516
18517 * libc/include/sys/reent.h: make structure smaller by allocating
18518 some stuff when needed.
18519 * libc/signal/signal.c: allocate as needed
18520 * libc/stdio/findfp.c,stdio/local.h: ditto
18521 * libc/stdlib/mprec.c: ditto
18522
18523 * libc/time/localtime.c: don't return a dangling stack ptr.
18524
18525 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
18526
18527 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
18528
18529 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
18530
18531 * libc/include/stdio.h (__sputc): comment out static inline which
18532 confuses coff toolchains.
18533
18534 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
18535
18536 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
18537 _write.s, getpid.c, kill.c, read.s}:
18538 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
18539 through the syscalls directory.
18540
18541 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
18542
18543 * configure.in: fixed double quote gotcha.
18544
18545 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
18546
18547 * stub/ex931: stub library for sparclite board.
18548 * stub/idp: Renamed from mc68ec. Added contructor table
18549 stuff to linker script.
18550 * stub/mvme135: Renamed from m68kmvme. Added contructor table
18551 stuff to linker script.
18552
18553 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
18554
18555 * configure.in: Configure testsuites only if they exist.
18556
18557 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
18558
18559 * configure.in: Don't set machine_dir for i386 until there is
18560 something in libc/machine/i386 to compile. For i[34]86-*-netware*
18561 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
18562 CLOCK_PROVIDED and MALLOC_PROVIDED.
18563
18564 * libc/sys/netware: New directory. Contains simplistic and
18565 probably incorrect stubs for NetWare. Should be enough to load
18566 the library.
18567 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
18568 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
18569 stub files.
18570
18571 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
18572 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
18573 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
18574 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
18575
18576 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
18577
18578 * testsuite/Makefile.in: add "docs" dummy target for consistency
18579 with rest of newlib; turn "info" and "install-info" into dummy
18580 targets, since they wouldn't have worked. (Depended on
18581 nonexistent "doc" subdir.)
18582
18583 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
18584
18585 * configure.in: handle mips* instead of mips
18586
18587 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
18588
18589 * libc/include/sys/dirent.h: New file. If it is not overridden by
18590 a version of libc/sys/*/sys/dirent.h, it includes the next
18591 <dirent.h> file in case there is one lurking somewhere.
18592
18593 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
18594
18595 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
18596 compliance, namely: Accept a minus sign. Consider a single 0 with
18597 a radix of 0 as being a conversion. Determine overflow correctly.
18598 If an overflow occurs, set *ptr to the end of the number, not the
18599 middle.
18600 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
18601
18602 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
18603
18604 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
18605
18606 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
18607
18608 * Makefile.in (INSTALL): Use $srcrootpre.
18609 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
18610 can't handle it.
18611 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
18612 it.
18613 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
18614 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
18615 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
18616 * libm/math/Makefile.in (matherr.o): Ditto.
18617
18618 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
18619
18620 * configure.in: Build multidirs for z8k.
18621 * libc/include/stdlib.h (_strtoul_r): add prototype.
18622 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
18623 * libc/include/machine/setjmp.h: Add for z8k.
18624 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
18625 * libc/sys/z8ksim/glue.c: tidy up.
18626
18627 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
18628
18629 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
18630 New files. Requires execve system call.
18631 * libc/unix/Makefile.in: Use them.
18632 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
18633 Deleted, moved to libc/unix.
18634 * libc/sys/sparc64/Makefile.in: Remove them.
18635
18636 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
18637
18638 * libc/sys/sparc64/{template.S template_r.S}: New files.
18639 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
18640 from templates.
18641 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
18642 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
18643 umask.S unlink.S wait4.S write.S}: Removed, now built from
18644 templates.
18645
18646 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
18647
18648 * libc/time/time.c: #include <_ansi.h>.
18649
18650 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
18651
18652 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
18653
18654 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
18655
18656 * configure.in: match m8* rather than m88k so that m88110 is
18657 recognized as well.
18658
18659 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
18660
18661 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
18662 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
18663 misc.c: New file.
18664
18665 * configure.in: Add multilib support to h8300.
18666
18667 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
18668
18669 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
18670 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
18671 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
18672
18673 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
18674
18675 * configure.in: Corrected multidirs for sparc target.
18676
18677 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
18678
18679 Support for building newlib multiple times with different
18680 compilation flags.
18681 * configure.in: Only configure doc at top level. Set multidirs
18682 when appropriate for target, unless not at top level. If
18683 multidirs is set, independently configure each subdirectory.
18684 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
18685 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
18686 automagically set by configure.in.
18687 (all): If MULTIDIRS is set, build multiple copies of libraries.
18688 (install): If MULTIDIRS is set, install multiple copies of
18689 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
18690 MULTISUBDIR is set, don't bother to install header files.
18691 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
18692 ${srcrootpre}.
18693 * stub/configure.in: Set MULTISUBDIR appropriately.
18694 * stub/Makefile.in (install): Install in
18695 $(tooldir)/lib/$(MULTISUBDIR).
18696 * All Makefile.in files: Define SRCTOP as well as TOP.
18697
18698 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
18699
18700 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
18701 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
18702
18703 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
18704
18705 * libc/sys/h8300hms/exit.c (_exit): New function.
18706
18707 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
18708
18709 * configure.in: recognize m88110.
18710
18711 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
18712
18713 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
18714 prototype main and call with args.
18715
18716 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
18717
18718 First real try at system traps for m88k-bug.
18719 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
18720 to real trap calls.
18721 * libc/sys/m88kbug/sys/systraps.h: new file.
18722
18723 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
18724
18725 Patches to fix info building when target does not use sys
18726 directory.
18727 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
18728 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
18729 libc/sys.tex.
18730 * libc/sys/Makefile.in (doc): do nothing.
18731
18732 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
18733
18734 * libc/Makefile.in (CRT0): new macro.
18735 (all): depend on $(CRT0) rather than crt0.o.
18736
18737 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
18738 do not default crt0, instead, set crt0 and crt0_dir based on
18739 sys_dir and stub_dir.
18740
18741 * Makefile.in (CRT0_DIR): new macro.
18742 (all): depend on $(CRT0) rather than crt0.o which may not exist.
18743 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
18744 $(CRT0).
18745 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
18746
18747 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
18748
18749 * testsuite/lib/libm.exp:
18750 added code to support compiling and linking of tests for
18751 libm.sac (paranoia to be added next) and processing the
18752 pass or failure of the tests.
18753
18754 * testsuite/config/unix-libm.exp:
18755 platform specific proc's for dealing with compiler, linker
18756 and the way we execute and process the test results.
18757
18758 * testsuite/libm.sac/execute.exp:
18759 generic framework for the sac tests. the config and lib
18760 expect code for specific platforms tie it all together.
18761
18762 * testsuite/libm.sac/test_is.c:
18763 changed the output of the test to be consistant with the
18764 other tests. parsing of pass nad fail messages is now fixed.
18765
18766 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
18767
18768 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
18769 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
18770 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
18771 #ifdef __cplusplus, surround by extern ""C { ... }.
18772 * libc/include/assert.h: Do *not* protect assert.h against
18773 multiple inclusion! Also, #undef it before #define, to allow
18774 redefinition.
18775 * libc/include/stdio.h (getlogin, cuserid): Removed. These
18776 should be only in unistd.h.
18777
18778 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
18779 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
18780 ... }.
18781
18782 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
18783
18784 * libc/machine/sparc/Makefile.in: Must create a library, even
18785 if empty.
18786
18787 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
18788
18789 * configure.in: set machine_dir for m88k. edit crt0 definition
18790 into makefiles.
18791
18792 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
18793
18794 * libc/Makefile.in (all): also build crt0.o.
18795
18796 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
18797 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
18798 to remove CRT0.
18799
18800 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
18801 (all): reworked to build in place.
18802 (clean): remove lib.a
18803 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
18804
18805 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
18806 (_start): key off edata rather than _start_bss.
18807
18808 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
18809
18810 * libc/include/sys/unistd.h, libc/include/reent.h,
18811 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
18812
18813 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
18814
18815 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
18816
18817 * Makefile.in (libc.a): break into two rules, one for libc.a and
18818 one for libc/libc.a. Force subdirs current before rebuilding
18819 library.
18820 (libm.a): break into two rules, one for libm.a and one for
18821 libm/libm.a. Force subdirs current before rebuilding library.
18822
18823 * libc/Makefile.in (SUBLIBS): fix typo.
18824
18825 * libc/sys/Makefile.in (all): force descent into subdirs, then
18826 rebuild library iff out of of date.
18827
18828 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
18829
18830 Rework so that library is built and then finished rather than
18831 being built on each invocation of make.
18832
18833 * host/any (machine_dir, sys_dir, signal_dir): these are not
18834 shared and have been moved to their associated Makefile.in's.
18835 (AR_FLAGS): switch to qc which is faster.
18836 * configure.in: no longer assign machine_dir for m88k. set
18837 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
18838 stub_dir set, then add to configdirs. add comment about silly
18839 configuration.
18840 (configdirs): drop stub. It will be added only
18841 when needed.
18842 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
18843 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
18844 stub_lib, crt0): new variables for tailoring lower level
18845 makefiles. Assign accordingly and edit into makefiles.
18846 * libm/Makefile.in: updated copyright.
18847 (TARGETLIB): removed.
18848 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
18849 (SUBDIRS): removed TARGETDEP_DIRS.
18850 (LIBM_FP_LIB, SUBLIBS): new macros.
18851 (all): reworked.
18852 (force): new target to force rebuilds.
18853 (Makefile): call $(SHELL) rather than sh. drop redundant ./
18854 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
18855 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
18856 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
18857 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
18858 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
18859 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
18860 stub/m68kmvme/Makefile.in: updated copyright.
18861 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
18862 (all): reworked. made this the default rule.
18863 (clean): also remove lib.a.
18864 (Makefile): call $(SHELL) rather than sh. drop redundant ./
18865 * stub/Makefile.in: updated copyright.
18866 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
18867 (stub_lib): new macro.
18868 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
18869 RANLIB.
18870 (all): reworked.
18871 (clean, install): assume stub_dir exists.
18872 (Makefile): depend on configure.in. call $(SHELL) rather than
18873 sh. drop redundant ./
18874 * stub/configure.in (stublib): new macro, assign it, edit it into
18875 makefiles.
18876 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
18877 updated copyright.
18878 (all): reworked.
18879 (Makefile): call $(SHELL) rather than sh. drop redundant ./
18880 * libc/Makefile.in (TARGETCRT0): removed.
18881 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
18882 TARGETCRT0.
18883 (SUBDIRS): drop TARGETDEP_DIRS.
18884 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
18885 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
18886 (force): new target to force rebuilds.
18887 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
18888 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
18889 removed.
18890 (clean): assume sys_dir always exists.
18891 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
18892 drop redundant ./
18893 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
18894 libc/locale/Makefile.in, libc/machine/Makefile.in,
18895 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
18896 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
18897 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
18898 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
18899 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
18900 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
18901 libc/signal/Makefile.in, libc/stdio/Makefile.in,
18902 libc/stdlib/Makefile.in, libc/string/Makefile.in,
18903 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
18904 libc/time/Makefile.in, libc/unix/Makefile.in,
18905 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
18906 (TARGETLIB): removed.
18907 (all): reworked.
18908 (clean): also remove lib.a.
18909 (Makefile): call $(SHELL) rather than sh. drop redundant ./
18910 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
18911 new macros.
18912 (SUBDIRS): moved to follow frag inclusion, change stub to
18913 stub_dir.
18914 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
18915 are now set in the libc Makefile.
18916 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
18917 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
18918 TARGETCRT0.
18919 (force): new target to force rebuilds.
18920 * stub/configure.in: determine and set stub_lib for for Makefile.
18921
18922 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
18923
18924 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
18925 crt0.s renamed to crt0.S.
18926 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
18927
18928 * libc/machine/h8300/Makefile.in: Make `all' the default target.
18929 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
18930 h8300h.
18931 * libc/machine/h8300/defines.h: Add macros to handle pointers for
18932 h8300 (16 bits) and h8300h (32 bits).
18933 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
18934 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
18935
18936 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
18937
18938 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
18939 implementation of setjmp and longjmp for the m88k.
18940 * libc/include/machine/setjmp.h: Added __m88000__ case.
18941
18942 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
18943
18944 * configure.in: Recognize h8300h as variant of h8300.
18945
18946 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
18947
18948 * libc/include/sys/unistd.h (read, write): get prototypes right.
18949 (sbrk): New prototype.
18950 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
18951 * libc/stdio/local.h: Include unistd.h.
18952 * libc/machine/h8300/syscalls.c: Names have changed.
18953
18954 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
18955
18956 * configure.in: add sys_dir assignment for m88k-bug.
18957
18958 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
18959
18960 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
18961 a.out or elf.
18962 * libc/sys/sparc64: all *.S files: Use new macros.
18963 * libc/sys/sparc64/isatty.c: New file.
18964 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
18965 functions beyond what newlib provides.
18966
18967 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
18968
18969 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
18970 svr4.
18971
18972 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
18973
18974 * libc/include/machine/ieeefp.h: Add support for h8/300h.
18975
18976 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
18977
18978 * configure.in: add m88k.
18979 * libc/include/machine/ieeefp.h: add case for m88k. Also add
18980 sanity check so no one else need ever chase what I did to find
18981 this.
18982
18983 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
18984
18985 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
18986
18987 * doc/makedoc.c: Include <ctype.h>.
18988
18989 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
18990
18991 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
18992 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
18993 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
18994
18995 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
18996
18997 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
18998
18999 * libc/include/errno.h (ENOSYS): Added.
19000
19001 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
19002
19003 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
19004
19005 * libc/stdio/fflush.c (fflush): Check for reent struct
19006 initialization.
19007 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
19008
19009 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
19010
19011 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
19012 out of dtoa.c so it doesn't pollute the namespace.
19013 * libc/include/_syslist.h: new file -- mappings from _function to
19014 function, for systems where we can't win (by default, all of them,
19015 until we start updating system calls.)
19016 * libc/syscalls: new directory -- stubs for exporting _function
19017 names as unmodified function names.
19018 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
19019 _syslist.h on all platforms by default, but put hooks in for
19020 fake_sys_dir so we can include it when we've renamed the system
19021 calls.
19022 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
19023 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
19024 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
19025 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
19026 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
19027 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
19028 non ANSI functions to call _function.
19029
19030 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
19031
19032 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
19033 when base 16 is specified. Don't accept non-digits if radix > 10.
19034
19035 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
19036
19037 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
19038
19039 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
19040
19041 * libc/include/sys/stat.h: Surround text after #endif with
19042 comments.
19043
19044 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
19045
19046 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
19047 _malloc_r, _realloc_r, and free_r call the corresponding
19048 non-reentrant functions.
19049
19050 * libm/math/modf.c (modf): We now take the address of ipart, so
19051 don't make it a register variable.
19052
19053 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
19054
19055 * libm/math/*: Rename all xxx_r fns to _xxx_r.
19056
19057 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
19058
19059 * libc/libc.texinfo and embedded docn throughout: formatting
19060 improvements, minor rephrasing for clarity, and improved
19061 reentrancy docn.
19062
19063 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
19064
19065 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
19066
19067 * libc/stdio/cvt.c (_licvt): Print the right value on machines
19068 where sizeof(int) != sizeof(long).
19069
19070 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
19071
19072 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
19073 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
19074 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
19075 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
19076 libm/math/matherr.c: changes for better docn formatting (info).
19077
19078 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
19079 libc/reent/reent.tex, libc/signal/signal.tex,
19080 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
19081 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
19082 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
19083 makeinfo node defaulting to get better Info file node structure.
19084 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
19085 Also include a few formerly missing sections (subroutines).
19086
19087 * doc/doc.str: delete fossil expansion for "func"
19088
19089 * default.menu, no-signal.menu: delete.
19090
19091 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
19092 method used to adjust doc for missing "signals" chapter when
19093 signal_dir is empty.
19094
19095 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
19096
19097 * configure.in: added testsuite/libm.sac
19098
19099 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
19100
19101 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
19102 code model).
19103
19104 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
19105
19106 * libm/Makefile.in: Use $(MAKE) rather than make, and define
19107 MAKEOVERRIDES to be empty.
19108
19109 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
19110
19111 * configure.in: Don't build mips-*-* with -msoft-float, since that
19112 makes it incompatible with hard floating point.
19113
19114 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
19115
19116 * Makefile.in: added recursive 'make check'
19117
19118 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
19119
19120 * configure.in: added ./testsuite ./testsuite/libm.paranoia
19121 * ./testsuite/Makefile.in: created
19122 * ./testsuite/libm.paranoia: paranoia tests added
19123
19124 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
19125
19126 * configure.in: For mips-*-* set machine_dir to mips.
19127
19128 * libc/machine/mips: New directory.
19129 * libc/machine/mips/Makefile.in: New file.
19130 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
19131 setjmp and longjmp.
19132 * libc/include/machine/setjmp.h: Added __mips__ case.
19133
19134 * libc/machine/lmips: Removed unused and useless directory.
19135
19136 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
19137
19138 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
19139
19140 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
19141
19142 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
19143 start up).
19144
19145 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
19146
19147 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
19148 SETJMP_H.
19149
19150 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
19151
19152 * libm/test/convert.c: structure member errno -> errno_val.
19153 Must include <errno.h> to use errno, it's a macro now.
19154 * libm/test/math.c: Ditto.
19155 * libm/test/math2.c: Include errno.h.
19156 * libm/test/string.c: Ditto.
19157 * libm/test/test.h: structure member errno -> errno_val.
19158 Remove extern int errno decl.
19159
19160 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
19161
19162 * libc/stdio/Makefile.in: Added dependencies on local header
19163 files.
19164 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
19165 files.
19166
19167 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
19168
19169 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
19170
19171 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
19172
19173 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
19174 Initialize _data.
19175
19176 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
19177 * libc/stdio/local.h: Add prototype for _licvt.
19178
19179 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
19180 instead of malloc,reealloc.
19181
19182 * libc/stdlib/local.h: New file.
19183 * libc/stdlib/efgcvt.c: #include local.h.
19184 (gcvt): Fix call to _gcvt.
19185 * libc/stdlib/ecvtbuf.c: #include local.h.
19186
19187 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
19188 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
19189 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
19190
19191 * libc/stdlib/atexit.c: moved global data to struct _reent.
19192 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
19193
19194 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
19195
19196 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
19197
19198 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
19199 here from ../reent.h.
19200
19201 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
19202
19203 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
19204 should be provided in both libc.a and libm.a.
19205 (libc.a): Depend on targ-include and libm.a. Copy
19206 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
19207 (libm.a): Depend on targ-include.
19208 * configure.in (subdirs): Removed libc/math.
19209
19210 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
19211
19212 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
19213
19214 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
19215
19216 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
19217 sys/reent.h instead of reent.h.
19218 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
19219 headers moved to sys/reent.h.
19220 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
19221 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
19222 __need__MAX_SIGNALS defined.
19223 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
19224 std{in,out,err} refer to new _std{in,out,err} members.
19225
19226 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
19227
19228 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
19229 case.
19230
19231 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
19232
19233 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
19234 rather than whatever macro seterrno() has.
19235
19236 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
19237
19238 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
19239 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
19240
19241 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
19242 __STDC__.
19243
19244 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
19245 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
19246 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
19247
19248 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
19249 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
19250
19251 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
19252 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
19253 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
19254 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
19255 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
19256 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
19257 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
19258 renamed to _xxx_r. struct reent_struct renamed to struct _reent
19259 for ANSI. structure members given leading "_" for ANSI. Use
19260 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
19261
19262 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
19263 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
19264 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
19265 reent_struct renamed to struct _reent for ANSI.
19266 Structure members given leading "_" for ANSI.
19267 _CONST --> const in prototypes.
19268 Use _HAVE_STDC instead of __STDC__.
19269
19270 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
19271 _xxx_r.
19272 struct reent_struct renamed to struct _reent for ANSI.
19273 Structure members given leading "_" for ANSI.
19274
19275 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
19276 _xxx_r.
19277 struct reent_struct renamed to struct _reent for ANSI.
19278
19279 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
19280 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
19281 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
19282 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
19283 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
19284
19285 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
19286 signal.h, stdio.h, stdlib.h, string.h, time.h}:
19287 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
19288 #ifndef _STRICT_ANSI non-ANSI routines.
19289 Reentrant routines renamed from _r_xxx to _xxx_r.
19290 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
19291 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
19292 Clean up namespace (structure members have leading "_").
19293 struct reent_struct renamed to struct _reent for ANSI compliance.
19294 _CONST --> const in function prototypes.
19295
19296 * libc/include/string.h: Add NULL and size_t.
19297
19298 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
19299 unlink, wait, wait4. Reentrant syscall routines close, fork,
19300 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
19301 write.
19302 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
19303 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
19304 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
19305 write.S}: Define reentrant versions.
19306 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
19307 reentrant syscalls.
19308
19309 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
19310
19311 * libc/include/stdlib.h (RAND_MAX): Fix value.
19312
19313 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
19314
19315 * libc/sys/a29khif/_main.c: Removed unnecessary file.
19316 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
19317 VPATH support targets after all: target.
19318
19319 * stub/mvme135/mvme.S: Renamed exceptionhandler to
19320 exceptionHandler, which is what mvme135-stub.c expects.
19321
19322 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
19323
19324 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
19325
19326 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
19327 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
19328 compliant).
19329
19330 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
19331
19332 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
19333 first.
19334 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
19335 _r_write): Ditto.
19336 libc/reent/fstatr.c (_r_fstat): Ditto.
19337 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
19338 libc/reent/sbrkr.c (_r_sbrk): Ditto.
19339 libc/reent/statr.c (_r_stat): Ditto.
19340
19341 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
19342 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
19343 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
19344 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
19345 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
19346 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
19347 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
19348 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
19349 (__swrite): Ditto for _r_lseek, _r_write.
19350 (__sseek): Ditto for _r_lseek.
19351 (__close): Ditto for _r_close.
19352 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
19353
19354 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
19355 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
19356
19357 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
19358 to make reent_struct the first argument (and thus consistent with
19359 the rest of newlib).
19360
19361 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
19362 reference to __STDC__.
19363
19364 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
19365
19366 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
19367 global __cleanup.
19368
19369 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
19370
19371 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
19372 first.
19373 libc/stdio/fclose.c (fclose): Ditto.
19374
19375 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
19376
19377 * Run through indent and rename reentrant routines for ANSI.
19378 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
19379 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
19380 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
19381 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
19382 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
19383 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
19384 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
19385 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
19386 vsprintf.c wbuf.c wsetup.c local.h}
19387
19388 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
19389
19390 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
19391 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
19392 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
19393 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
19394 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
19395 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
19396
19397 * Run through indent.
19398 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
19399 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
19400 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
19401 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
19402 strxfrm.c}
19403
19404 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
19405 localtime.c mktime.c strftime.c time.c}:
19406 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
19407
19408 * Reformatting + renaming (for ANSI, GNU style, consistency).
19409 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
19410 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
19411 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
19412
19413 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
19414
19415 * libc/include/stdio.h (stdin_r): Fix.
19416
19417 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
19418
19419 * Makefile.in: Unexport some variables to keep GNU make from
19420 putting them in the environment and using up needed ARG_MAX space
19421 (a hack is used to let this work with older makes as well).
19422
19423 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
19424
19425 * Makefile.in: Use $(MAKE) rather than make.
19426 (MAKEOVERRIDES): Define to be empty.
19427 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
19428 (libc.a, libm.a): Depend on targ-include.
19429 * host/any (LD): Don't define.
19430 (INCLUDES): Use targ-include.
19431 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
19432 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
19433 * libc/Makefile.in: Use $(MAKE) rather than make.
19434 (MAKEOVERRIDES): Define to be empty.
19435 (FLAGS_TO_PASS): Don't pass LD (it's not used).
19436 (all): Rewrote to be slightly smaller.
19437 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
19438 Define to be empty.
19439 (FLAGS_TO_PASS): Don't pass LD (it's not used).
19440 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
19441
19442 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
19443
19444 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
19445 with errno/errno.c.
19446
19447 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
19448
19449 * Changes for reentrancy.
19450 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
19451 Use ptr->_errno, not errno.
19452 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
19453 libc/stdio/remove.c (remove_r): New function.
19454 libc/stdio/rename.c (rename_r): New function.
19455 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
19456 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
19457 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
19458 reentrant versions of system calls.
19459 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
19460 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
19461 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
19462 libc/stdio/findfp.c: Include <string.h>.
19463 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
19464 "local.h".
19465 libc/stdio/wbuf.c: Include "fvwrite.h"
19466
19467 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
19468 <string.h>.
19469 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
19470 (NULL): Don't define if already defined.
19471 libc/stdlib/system.c: Call reentrant versions of system calls.
19472 (system_r): New function.
19473
19474 * Changes for reentrancy.
19475 libc/include/_ansi.h (_PARAMS): New macro.
19476 libc/include/errno.h: Define errno as a macro that calls __errno.
19477 (__errno_r): New macro for reentrant code.
19478 libc/include/math.h: Include reent.h. Declare many reentrant
19479 functions.
19480 (signgam): Now a macro, not a variable.
19481 (struct exception): Added err field.
19482 libc/include/reent.h: Don't declare __sglue. Added function
19483 declarations.
19484 (struct reent_struct): Moved errno to beginning. Added _signgam.
19485 libc/include/stdio.h, libc/include/stdlib.h: Added function
19486 declarations.
19487
19488 * More reentrancy hacking.
19489 libc/errno/errno.c (__errno): New function.
19490 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
19491 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
19492 files.
19493
19494 * Added many new reentrant functions to libm/math/*.
19495 libm/math/error.c (__matherror): Added reent_struct pointer
19496 argument. Changed all callers.
19497 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
19498 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
19499 libm/math/tan.h: Removed obsolete unused header files.
19500
19501 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
19502
19503 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
19504
19505 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
19506
19507 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
19508 delay slots.
19509
19510 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
19511
19512 * libc/libc.texinfo: comment out reentrancy chapter (duh)
19513
19514 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
19515
19516 * libc/reent/reent.tex: New file. (text from
19517 newlib/libc/libc.texinfo)
19518 * libc/stdio/tmpnam.c: fixed doc typo
19519 * libc/stdlib/rand.c: fixed doc typo
19520
19521 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
19522
19523 * libc/reent/reent.tex: New file. (text from
19524 newlib/libc/libc.texinfo)
19525
19526 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
19527
19528 support for reentrancy
19529 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
19530 new files
19531 * libc/errno/errno.c, libc/include/ieeefp.h,
19532 libc/include/locale.h, libc/include/reent.h,
19533 libc/include/signal.h, libc/include/stdio.h,
19534 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
19535 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
19536 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
19537 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
19538 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
19539 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
19540 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
19541 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
19542 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
19543 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
19544 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
19545 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
19546 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
19547 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
19548 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
19549 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
19550 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
19551 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
19552 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
19553 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
19554 libc/time/strftime.c: modify to provide reentracy.
19555
19556 new routines:
19557 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
19558 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
19559 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
19560 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
19561 mstats_r, realloc_r, localeconv_r, setlocale_r
19562
19563 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
19564
19565 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
19566 libc/include/sys/config.h, libc/include/sys/signal.h,
19567 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
19568 provided macros (such as m68000), use the ansi version
19569 (__m68000__) so that the library can be used with code compiled
19570 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
19571 and sparc.
19572
19573 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
19574
19575 * configure.in (sparc*): Don't set -fsoft-float for sparc
19576 configurations. Do set -fsoft-float for sparclite configurations.
19577
19578 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
19579
19580 * default.menu, no-signal.menu: alternate forms of libc main menu
19581 (in newlib rather than newlib/libc due to configuration restrictions)
19582
19583 * configure.in: select one of the two menus above, link to
19584 libc.menu
19585
19586 * libc/libc.texinfo: include menu from separate file
19587
19588 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
19589
19590 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
19591 (info): Split long shell command in half.
19592 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
19593 sub-makes, just CHEW and TARGETDOC.
19594 (targetdep.tex): Removed now special handling of sys and machine
19595 subdirectories, made obsolete some time ago.
19596 * libc/machine/Makefile.in (doc): Don't pass everything to
19597 sub-make, just CHEW and TARGETDOC.
19598 (Makefile): New target.
19599 * libc/sys/Makefile.in (Makefile): New target.
19600
19601 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
19602
19603 * Makefile.in (here and most subdirectories): Only pass down CHEW
19604 and TARGETDOC when making info, not for other targets.
19605
19606 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
19607 $(AR_FLAGS) rather than $(ARUPDATE).
19608
19609 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
19610
19611 * Try to reduce command line length:
19612 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
19613 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
19614 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
19615 (info): Pass CHEW to other subdirs.
19616
19617 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
19618
19619 * configure.in: add signal_dir, like unix_dir, but by default it
19620 is set to "signal" so that a29khif can turn it off (since a29khif
19621 has raise() as part of machine-specific signal.s.)
19622
19623 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
19624
19625 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
19626 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
19627 correctly.
19628 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
19629 libc/stdio/vfprintf: type lint.
19630 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
19631 initialzation code.
19632 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
19633
19634 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
19635
19636 * stub/mvme135/mvme135-asm.S: new file.
19637 stub/mvme135mvme135-stub.c: moved all assembler routines into
19638 mvme135-asm.S.
19639 stub/mvme135/Makefile.in: build mvme135-stub.o.
19640
19641 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
19642
19643 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
19644 sub-Makefiles instead, to try to avoid line length limitations.
19645
19646 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
19647
19648 * libc/include/unistd.h (read, write): Use void* instead of
19649 char*.
19650
19651 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
19652
19653 * stub/go32/resetpc: sample script to send a reset packet to the
19654 stub
19655
19656 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
19657 DOS environment, which compiles with Turbo C.
19658
19659 * stub/go32/DSER32.LNK: new file, linker commands for serial
19660 remote stub.
19661
19662 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
19663 start up message to identify version; call set_debug_traps.
19664
19665 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
19666 keyboard interaction); call handle_exception() in go_til_stop,
19667 rather than return, so that the remote stub gets control.
19668
19669 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
19670 rename, rather than mv), set flags that work with current Turbo C,
19671 including using the /3 flag; also, add commands to build dser32.
19672
19673 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
19674 default Turbo C installation (\tc rather than \usr)
19675
19676 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
19677 "&..."
19678
19679 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
19680
19681 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
19682
19683 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
19684
19685 * libc/stdio/cvt.c (licvt): new function to convert ints when
19686 sizeof(int) != sizeof(long).
19687
19688 * libc/include/stdio.h: added prototype for iprintf.
19689 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
19690
19691 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
19692
19693 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
19694 __REGISTER_PREFIX__.
19695
19696 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
19697
19698 * libc/sys/m68kbare: moved into stub directory.
19699
19700 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
19701
19702 * configure.in, Makefile.in: created new directory stub, to hold
19703 sample code for specific targets.
19704
19705 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
19706
19707 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
19708 in the unified libc/include/sys/fcntl.h.
19709
19710 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
19711
19712 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
19713 printed .01, not 0.01.
19714
19715 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
19716
19717 * configure.in: compile with -m68000 for m68* targets.
19718
19719 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
19720
19721 * libm/math/remainder.c (remainder): document the svr4 and sunos
19722 references used to construct the function.
19723
19724 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
19725
19726 * libm/math/remainder.c (rint, remainder): fix old typos.
19727 * libm/math/Makefile.in: actually build remainder.c (functions
19728 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
19729 page.)
19730
19731 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
19732
19733 * libc/string/bcopy.c: BSD version works on overlapping strings,
19734 so ours should too.
19735
19736 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
19737 ("SHELL").
19738
19739 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
19740
19741 * Makefile.in (docs): new target.
19742
19743 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
19744
19745 * libc/include/sys/times.h: define clock_t as required by POSIX.
19746 libc/include/time.h: protect clock_t from multiple definitions.
19747
19748 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
19749
19750 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
19751 does not need more than the original three iterations to get
19752 within 1 ulp. (Paranoia tests for rounding to better than that,
19753 but further iterations *don't* help, only more subtle changes
19754 can.)
19755
19756 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
19757
19758 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
19759 were doing nothing useful.
19760
19761 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
19762
19763 * configure.in: define MALLOC_PROVIDED for vxworks targets;
19764 removed sys_dir settings of vxworks68 and vxworks960.
19765 host/any: don't pass -nostdinc to gcc, since newlib no longer
19766 provides all required header files.
19767
19768 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
19769 is not defined; this provides a hook for VxWorks.
19770
19771 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
19772
19773 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
19774 buffer if buf is NULL, don't do it here -- it is already being
19775 done by makebuf elsewhere in stdio.
19776
19777 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
19778
19779 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
19780 that C programs can call functions without using initial
19781 underscores.
19782
19783 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
19784
19785 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
19786
19787 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
19788
19789 * configure.in: set TARGET_CFLAGS for certain CPU types to
19790 -msoft-float.
19791
19792 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
19793
19794 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
19795
19796 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
19797
19798 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
19799 m68k*-unknown-coff.
19800
19801 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
19802
19803 * libc/include/stdio.h: define __need___va_list before including
19804 <stdarg.h>, to avoid defining va_arg, et. al.
19805
19806 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
19807
19808 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
19809 (don't cd to the user's home directory).
19810
19811 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
19812 In general this is the wrong thing to do, but I can't get around
19813 GNU make's insistence on passing command line arguments any other
19814 way.
19815
19816 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
19817
19818 * configure.in: always configure the libc/sys directory, since it
19819 now provides a required documentation file.
19820
19821 * Makefile.in: replaced all instances of $(MAKE) with make. In
19822 general this is the wrong thing to do, but I can't get around GNU
19823 make's insistence on passing command line arguments any other way.
19824
19825 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
19826
19827 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
19828 terminated.
19829
19830 * libc/stdio/local.h: include <stdarg.h> to define va_list.
19831 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
19832
19833 * libc/include/float.h, libc/include/stdarg.h,
19834 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
19835 versions instead.
19836 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
19837 <stdarg.h>, not from <machine/types.h>. Protect definition of
19838 NULL.
19839 libc/include/time.h: get size_t from stddef.h. Protect definition
19840 of NULL.
19841 libc/include/machine/limits.h: override gcc <limits.h> by defining
19842 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
19843 get correct INT_MIN and LONG_LONG values.
19844 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
19845 size_t or va_list at all; they're now gotten from stddef.h
19846 instead.
19847 libc/include/machine/varargs.h: removed; use gcc version instead.
19848 libc/include/sys/types.h: explicitly include <machine/types.h>.
19849
19850 * libm/math/sqrt.h: using the fp-bit routines appears to require
19851 more iterations.
19852
19853 * Makefile.in, host/any: let system include files override machine
19854 include files.
19855
19856 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
19857
19858 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
19859 override _*_T_ definitions defaulted here.
19860
19861 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
19862
19863 * Makefile.in (install): install the include files in
19864 $(tooldir)/include, not $(exec_prefix)/include.
19865
19866 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
19867
19868 * Makefile.in (install): fixed typo, and changed install to not
19869 force rebuild of libc.a and libm.a.
19870
19871 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
19872
19873 * libc/sys/a29khif/*: Changed all .include's to include
19874 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
19875 that they will be installed for the user.
19876
19877 * Makefile.in (all): create targ-include, a directory holding the
19878 machine and system specific header files during the build.
19879 (install): fixed installation of machine and system specific
19880 header files.
19881
19882 * Makefile.in: fixed comment.
19883 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
19884 we can pass $(INCLUDES) to it.
19885
19886 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
19887
19888 * libc/include/sys/param.h: new generic file, which may be
19889 overridden for specific systems.
19890
19891 * libc/include/sys/signal.h: define all ANSI signal names, and
19892 NSIG (which is not ANSI) for a29k.
19893
19894 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
19895
19896 * Makefile.in: don't pass down arguments the lower level makes
19897 will not need.
19898 * libc/Makefile.in: recurse directly, rather than using subdir_do,
19899 in hopes of avoiding argument length limits.
19900 * libm/Makefile.in: recurse directly, rather using subdir_do, in
19901 hopes of avoiding argument length limits.
19902
19903 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
19904
19905 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
19906 mode_t is defined.
19907
19908 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
19909
19910 * Fixed make info and make install-info for newlib, changing most
19911 Makefile.in and several *.tex files. Moved doc directory from
19912 libc to top level.
19913
19914 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
19915 Should be rewritten.
19916
19917 * libc/string/strings.tex: renamed node index to node index
19918 function, so that it does not conflict with the top level index
19919 node.
19920
19921 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
19922
19923 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
19924
19925 * Overhauled general configuration for newlib. Eliminated all
19926 target dependent Makefile fragments. Create libraries in newlib
19927 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
19928 than CROSS_CC, et. al. Broke make docs; will fix later.
19929
19930 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
19931 Should be rewritten.
19932
19933 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
19934
19935 * libc/configure.in: cleaned up somewhat; switch on ${target}
19936 rather than ${target_alias}.
19937 * libm/configure.in: cleaned up somewhat; switch on ${target}
19938 rather than ${target_alias}.
19939
19940 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
19941 * libc/include/ctype.h: marked _ctype_ as _CONST.
19942
19943 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
19944 _CONST.
19945
19946 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
19947 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
19948 libc/stdio/gets.c (gets): removed non-ANSI warning message.
19949 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
19950
19951 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
19952 bigtens, tinytens): marked arrays _CONST.
19953 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
19954 rather than a static variable.
19955
19956 * libc/time/asctime.c (asctime), libc/time/localtime.c
19957 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
19958 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
19959 mname_len, mname): Marked static arrays _CONST.
19960
19961 * libm/math/gamma.h: made local variables non-static.
19962
19963 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
19964 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
19965 _CONST.
19966
19967 * libm/math/constants.c: removed file, because the constants it
19968 defined were never referenced.
19969 libm/math/Makefile.in: removed references to constants.c.
19970 libm/math/mathimpl.h: removed declarations of constants.
19971
19972 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
19973
19974 * libc/include/machine/varargs.h: only call __builtin_saveregs if
19975 it is sensibly defined in libgcc2. Checks preprocessor defines,
19976 which is not a good solution.
19977
19978 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
19979
19980 * libm/frexp.c: handle denormalized numbers as arguments.
19981
19982 * libm/math/Makefile.in: added some dependencies for .c files
19983 which include local .h files.
19984
19985 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
19986
19987 * libc/configure.in: set target_alias for OSE*. Replace
19988 target_makefile_frag if it is blank.
19989
19990 * libc/Makefile.in: make sure everything is passed to subsidiary
19991 makes; create all directories when installing.
19992
19993 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
19994 CROSS_ARUPDATE instead of AR.
19995
19996 * libm/configure.in: set target_alias for OSE*. Replace
19997 target_makefile_frag if it is blank.
19998
19999 * libm/Makefile.in: make sure everything is passed to subsidiary
20000 makes; create all directories when installing.
20001
20002 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
20003
20004 * add following change from libc copy.
20005
20006 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
20007
20008 * libc/libc.texinfo: make copyright disclaimers appear on back of
20009 title page; make format of same slightly less ugly; avoid using
20010 underbars in section headings (avoids nasty texinfo bug in table
20011 of contents).
20012
20013 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
20014 comments only) avoid using underbars in section headings
20015
20016 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
20017 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
20018 changes in comments only): shorten headings ieeefp/infinity.c,
20019 ieeefp/isnan.c: (doc, comments only) more informative headings
20020
20021 * libc/math/bessel.c: (doc, comments only) shorten heading
20022
20023 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
20024 (doc, comments only) shorten headings
20025
20026 * libc/time/localtime.c (doc, comments only): shorten headings
20027
20028 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
20029 isnan
20030 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
20031 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
20032 headings
20033 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
20034 only) more informative headings
20035 * libm/math/bessel.c: (doc, comments only) shorten heading
20036
20037 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
20038
20039 * .../Makefile.in: use CROSS_ARUPDATE consistently.
20040 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
20041 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
20042 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
20043 defined, the one from the .mt file will be correct.
20044 * libc/include/machine, libc/include/sys: created, and populated
20045 with common files from machine/*/machine. ifdefs were used for
20046 most, typically by handling exceptions first and then filling in
20047 defaults. Files with D.J. Delorie copyright #included rather than
20048 copied. Most files in include/sys really were the same in the
20049 original.
20050 * libc/include/...: cleaned up use of _EXFUN.
20051 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
20052 it with double quotes, not angles.
20053
20054 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
20055
20056 * libc/Makefile.in: always create installation directories.
20057
20058 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
20059
20060 * libc/configure.in: handle host properly (using canonical
20061 triples), better error message for the case of target not found
20062
20063 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
20064
20065 * libc/Makefile.in (insincdir): Ensure this directory exists
20066 before attempting installation.
20067
20068 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
20069
20070 * libc/stdlib/assert.c: now calls abort like it should
20071 * libc/sys/a29khif: many many patches for 29khif work
20072 * libc/machine/i386: gnulib2 expanded there.
20073
20074 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
20075
20076 Added accurate fp conversion routines to stdlib, moved dcvt from
20077 stdio to stdlib and called it ecvtbuf:
20078 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
20079 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
20080 routines
20081 * libc/libc.texinfo: Modifed to include the copyright info from
20082 the mprec files
20083 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
20084 * libc/test/ : many vector which tested for the implementation
20085 defined returns of strange conversion requests have been updated
20086 to relflect the new implementation
20087
20088 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
20089
20090 * libc/libc.texinfo: new chapter on variable arg lists
20091 (stdarg.h/varargs.h)
20092 * libc/libc.texinfo: new title
20093 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
20094 (doc only) shorter headings for better formatting.
20095
20096 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
20097
20098 * libc/libc.texinfo: three more info menu entries
20099 * libc/locale/locale.tex: new chapter
20100 * libc/locale/locale.c: new doc for setlocale, localeconv
20101 * libc/locale/Makefile.in: use new locale doc
20102 * libc/signal/signal.tex: new chapter
20103 * libc/signal/raise.c, libc/signal/signal.c: new doc
20104 * libc/signal/Makefile.in: use new doc
20105 * libc/time/time.tex: new chapter
20106 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
20107 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
20108 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
20109 * libc/time/Makefile.in: use new doc
20110
20111 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
20112
20113 * libm/math/log1p.c: split to use the new function way of float
20114 function definition. math/log1p.h deleted
20115 * libm/math/scalb.c: obsolete and deleted
20116 * libm/math/scalbn.c: created from part log1p.c
20117 * libm/math/Makefile.in: know about log1p and scalbn
20118
20119 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
20120
20121 * libc/ctype/isupper.c: revise doc;
20122 libc/ctype/ctype.tex: use doc from isupper.c
20123
20124 * libc/string/bzero.c: new doc
20125
20126 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
20127
20128 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
20129 new doc
20130 * libc/stdlib/Makefile.in: extract new doc
20131 * libc/stdlib/stdlib.tex: use new doc
20132
20133 * libc/string/strerror.c: expanded doc.
20134
20135 * libc/stdio/Makefile.in: extract doc from more files
20136 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
20137 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
20138 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
20139 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
20140 libc/stdio/vsprintf.c: new doc
20141 * libc/stdio/stdio.tex: use new doc
20142
20143 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
20144
20145 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
20146 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
20147 finitef functions.
20148 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
20149 time ago.
20150
20151 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
20152 * libc/stdio/setbuf.c: added ansi style definition.
20153 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
20154 buffer if none provided.
20155 * libc/stdio/tmpfile.c: lint
20156 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
20157 rather than using static, also make sure file isn't already
20158 present. Uses P_tmpdir. (tempnam): rewritten to use new
20159 subroutine, and uses P_tmpdir.
20160 * libc/stdio/siprintf.c: created
20161
20162 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
20163
20164 Release 1.03 for NEC, major mods. Main differences from release
20165 1.02::
20166
20167 More tests in test/:
20168 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
20169 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
20170 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
20171 get/set mask, get/set sticky and get/set roundtoi. Tests
20172 that setting the bits changes the way arithmetic is done.
20173 * string.c: added test to make sure memcmp does it with unsigned
20174 chars.
20175 * test.c: cleaned up and removed lint.
20176 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
20177 dvec.c: tests for string to value conversions, sprintf, scanf,
20178 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
20179 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
20180 rounding in sprintf too.
20181 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
20182 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
20183 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
20184 and function form.
20185 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
20186 powf
20187
20188 In the library:
20189 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
20190 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
20191 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
20192 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
20193 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
20194 than sprintf.
20195 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
20196 * Method of producting float versions of double functions has
20197 changed, functions will be modified gradually. So far:
20198 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
20199 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
20200 altered
20201 * libc/string/memcmp.c: now uses unsigned chars
20202 * libc/string/bcmp.c, libc/string/strcpy.c,
20203 libc/stsring/strxfrm.c: fixed doc
20204 * libc/sys/sysvnecv70.tex: fix example of sbrk code
20205 \f
20206 Local Variables:
20207 version-control: never
20208 End:
This page took 0.927804 seconds and 5 git commands to generate.