OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [ChangeLog] - Blame information for rev 179

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
2008-12-19  Jeff Johnston  
2
 
3
        * NEWS: Update with 1.17.0 info.
4
        * README: Ditto.
5
        * acinclude.m4: Change version number to 1.17.0.
6
        * aclocal.m4: Regenerated.
7
        * configure: Ditto.
8
        * doc/aclocal.m4: Ditto.
9
        * doc/configure: Ditto.
10
        * libc/*/aclocal.m4: Ditto.
11
        * libc/*/configure: Ditto.
12
        * libc/libc.texinfo: Ditto.
13
        * libm/*/aclocal.m4: Ditto.
14
        * libm/*/configure: Ditto.
15
        * libm/libm.texinfo: Ditto.
16
        * libc/sys/linux/shared.ld: Add VERS_1.17
17
 
18
2008-12-17  Jon Beniston 
19
 
20
        * configure.host: Set syscall_dir for lm32 target.
21
 
22
2008-12-15  Jeff Johnston  
23
 
24
        * libc/stdio/stdio.tex: Remove putwc and getwc references as they
25
        are included as part of fputwc and fgetwc, respectively.
26
 
27
2008-12-12  Craig Howland 
28
 
29
        * libc/include/wchar.h:  Added wcstok() declaration.
30
        * libc/string/wcstok.c: New file, implementing wcstok.
31
        * libc/string/Makefile.am: Add wcstok support.
32
        * libc/string/wcstrings.tex: Ditto.
33
        * libc/string/Makefile.in: Regenerated.
34
 
35
2008-12-12  Ralf Corsepius  
36
 
37
        * libc/stdio/fputws.c: Fix documentation.
38
        * libc/stdio/getwchar.c: Ditto.
39
        * libc/stdio/putwchar.c: Ditto.
40
 
41
2008-12-12  Ralf Corsepius  
42
 
43
        * libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to
44
        200112L (SUSv3 compliance).
45
        Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported).
46
 
47
2008-12-12  Ralf Corsepius  
48
 
49
        * libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(),
50
        _execve(), _exit().
51
 
52
2008-12-12  Ralf Corsepius  
53
 
54
        * configure.host: Let *rtems* default to c99-formats.
55
 
56
2008-12-12  Craig Howland  
57
 
58
        * libc/stdio/freopen.c:  Add  for memset prototype.
59
        * libc/stdio/fseek.c:  Ditto.
60
        * libc/stdio/fwide.c:  Add  for fwide prototype.
61
 
62
2008-12-11 Jeff Johnston  
63
 
64
        * libc/include/sys/time.h (gettimeofday): Change prototype so
65
        2nd parameter is void *, matching SUSV2.
66
        * libc/syscalls/sysgettod.c (gettimeofday): Ditto.
67
 
68
2008-12-11 Jukka Pietarinen 
69
 
70
        * configure.host: Add lm32
71
        * libc/include/machine/ieeefp.h: Add __lm32__
72
        * libc/include/machine/setjmp.h: Add __lm32__
73
        * libc/machine/configure.in: Add lm32
74
        * libc/machine/configure: Regenerated.
75
        * libc/machine/lm32/aclocal.m4: New file.
76
        * libc/machine/lm32/configure.in: Ditto.
77
        * libc/machine/lm32/configure: Ditto.
78
        * libc/machine/lm32/Makefile.am: Ditto.
79
        * libc/machine/lm32/Makefile.in: Ditto.
80
        * libc/machine/lm32/setjmp.s: Ditto.
81
 
82
2008-12-11  Craig Howland  
83
 
84
        * libc/include/sys/lock.h:  Add void cast to avoid "statement has no
85
        effect" warnings from gcc.
86
        * libc/include/sys/stdio.h:  Ditto.
87
        * libc/include/sys/time.h:  Correct gettimeofday() prototype.
88
        * libc/stdlib/__exp10.c:  Add #include "std.h" for function prototype.
89
        * libc/stdlib/__ten_mu.c:  Ditto.
90
        * libc/stdlib/std.h:  Correct __exp10's ANSI prototype.
91
        * libc/stdlib/ldtoa.c:  Change eiisinf definition to ANSI form.  (Are
92
        already others in file without _ansi method, so did not bother.)
93
        * libc/stdlib/system.c:  Use _ansi forms for function prototypes and
94
        definitions.
95
        * libc/time/mktime.c:  Ditto.
96
        * libc/misc/__dprintf.c:  Ditto.
97
        * libc/include/stdio.h:  Add function prototypes for _fgetc_r,
98
        _fgetpos_r, _fsetpos_r, _freopen_r, _rewind_r, freopen64, _freopen64_r,
99
        _funopen_r, and _fopencookie_r.
100
        * libc/include/reent.h:  Add function prototype for _stat64_r, align
101
        _execve_r prototype with POSIX definition for execve.
102
        * libc/reent/execr.c:  Align function prototype with POSIX definition.
103
        * libc/stdio/asniprintf.c:  Add #include "local.h".
104
        * libc/stdio/vasniprintf.c:  Ditto.
105
        * libc/stdio/fread.c:  Remove unused variable newcount.
106
        * libc/stdio/local.h:  Add function prototype for __sccl.
107
        * libc/stdio/open_memstream.c:  Remove unused variable flags.
108
        * libc/stdio/vfscanf.c:  Proper prototyping for ccfn, remove prototype
109
        for __sccl since now in local.h.
110
        * libc/string/memcpy.c:  Add #include  (for real and for
111
        traditional synopsis), remove extraneous stddef.h and limits.h.
112
        * libc/syscalls/sysclose.c:  Add #include .
113
        * libc/syscalls/sysfork.c:  Ditto.
114
        * libc/syscalls/sysgetpid.c:  Ditto.
115
        * libc/syscalls/sysexecve.c:  Add #include , align function
116
        prototype with POSIX definition.
117
        * libc/syscalls/sysfstat.c:  Add #include .
118
        * libc/syscalls/sysgettod.c:  Correct sys/times.h to sys/time.h.
119
        * libc/syscalls/syskill.c:  Add #include .
120
        * libc/syscalls/syslink.c:  Add #include , fix prototype.
121
        * libc/syscalls/sysunlink.c:  Ditto.
122
        * libc/syscalls/sysstat.c:  Add #include , fix prototype.
123
        * libc/syscalls/syswait.c:  Add #include , fix prototype.
124
 
125
2008-12-10  Corinna Vinschen  
126
 
127
        Implement basic wide char stdio functionality, based on FreeBSD.
128
        * libc/include/stdio.h (__SORD): Define.
129
        (__SWID): Define.
130
        * libc/include/wchar.h: Add declarations for new wide char functions.
131
        (getwc): Define as macro.
132
        (getwchar): Ditto.
133
        (putwc): Ditto.
134
        (putwchar): Ditto.
135
        * libc/include/sys/reent.h (struct __sFILE): Add _mbstate member.
136
        (struct __sFILE64): Ditto.
137
        * libc/stdio/Makefile.am (ELIX_4_SOURCES): Add fgetwc.c, fgetws.c,
138
        fputwc.c, fputws.c, fwide.c, getwc.c, getwchar.c, putwc.c, putwchar.c
139
        and ungetwc.c.
140
        (CHEWOUT_FILES): Add fgetwc.def, fgetws.def, fputwc.def, fputws.def,
141
        fwide.def, getwc.def, getwchar.def, putwc.def, putwchar.def and
142
        ungetwc.def.
143
        Add header dependency rules for the new files.
144
        * libc/stdio/Makefile.in: Regenerate.
145
        * libc/stdio/fgetwc.c: New file, implementing fgetwc and _fgetwc_r.
146
        * libc/stdio/fgetws.c: New file, implementing fgetws and _fgetws_r.
147
        * libc/stdio/findfp.c (std): Initialize FILE's _mbstate member.
148
        (__sfmoreglue): Ditto.
149
        * libc/stdio/fputs.c (_fputs_r): Set stream orientation.
150
        * libc/stdio/fputwc.c: New file, implementing fputwc and _fputwc_r.
151
        * libc/stdio/fputws.c: New file, implementing fputws and _fputws_r.
152
        * libc/stdio/fread.c (_fread_r): Set stream orientation.
153
        * libc/stdio/freopen.c (_freopen_r): Reset stream orientation.  Reset
154
        _mbstate.
155
        * libc/stdio/fseek.c (_fseek_r): Reset _mbstate.
156
        * libc/stdio/fwide.c: New file, implementing fwide and _fwide_r.
157
        * libc/stdio/fwrite.c (_fwrite_r): Set stream orientation.
158
        * libc/stdio/getwc.c: New file, implementing getwc and _getwc_r.
159
        * libc/stdio/getwchar.c: New file, implementing getwchar and
160
        _getwchar_r.
161
        * libc/stdio/local.h (ORIENT): New macro.
162
        * libc/stdio/puts.c (_puts_r): Set stream orientation.
163
        * libc/stdio/putwc.c: New file, implementing putwc and _putwc_r.
164
        * libc/stdio/putwchar.c: New file, implementing putwchar and
165
        _putwchar_r.
166
        * libc/stdio/refill.c (__srefill_r): Set stream orientation.
167
        * libc/stdio/stdio.tex: Add documentation for new functions.
168
        * libc/stdio/ungetc.c (_ungetc_r): Set stream orientation.
169
        * libc/stdio/ungetwc.c: New file, implementing ungetwc and _ungetwc_r.
170
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Set stream orientation.
171
        * libc/stdio/wbuf.c (__swbuf_r): Ditto.
172
 
173
2008-12-10  Joseph Myers  
174
 
175
        * libc/include/stdint.h (INT32_MIN, INT32_MAX, UINT32_MAX,
176
        INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX): Define to
177
        constants with "long" types where appropriate.
178
        (INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN,
179
        INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX,
180
        UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX):
181
        Correct to match logic for defining corresponding types.
182
        (INTMAX_MAX, INTMAX_MIN, UINTMAX_MAX): Define.
183
        (SIZE_MAX): Define using __SIZE_MAX__ if available.
184
        (PTRDIFF_MAX): Define using __PTRDIFF_MAX__ if available.
185
        (PTRDIFF_MIN): Define in terms of PTRDIFF_MAX.
186
        (WCHAR_MAX, WCHAR_MIN, WINT_MAX, WINT_MIN): Define.
187
        (UINT8_C, UINT16_C): Define to give signed values if corresponding
188
        types would promote to int.
189
 
190
2008-12-04  Corinna Vinschen  
191
 
192
        * libc/include/sys/features.h (_POSIX_V6_ILP32_OFF32): Always define.
193
        (_POSIX_V6_LP64_OFF64): Ditto.
194
        (_POSIX_V6_LPBIG_OFFBIG): Ditto.
195
 
196
2008-11-28  Jeff Johnston  
197
 
198
        * libc/sys/linux/inode.c: Include  instead of
199
        .
200
        * libc/sys/linux/io64.c: Add weak alias for _stat64.
201
 
202
2008-11-27  Ralf Corsepius 
203
 
204
        * libc/posix/telldir.c: Use #if !defined() instead of #ifndef
205
        to fix GCC warning.
206
 
207
2008-11-27  Ken Werner  
208
 
209
        * libc/machine/spu/Makefile.am: Add spu-mcount.S spu-gmon.c.
210
        * libc/machine/spu/Makefile.in: Regenerated.
211
        * libc/machine/spu/spu-gmon.c: New file.
212
        * libc/machine/spu/spu-mcount.S: New file.
213
 
214
2008-11-27  Joel Sherrill 
215
 
216
        * configure.host (*-rtems*): Turn on using portion of unix subdirectory.
217
 
218
2008-11-27  Craig Howland 
219
 
220
        * libc/argz/argz_add.c:  Added #include  to get function
221
        prototypes.
222
        * libc/argz/argz_append.c: Ditto.
223
        * libc/argz/argz_count.c: Ditto.
224
        * libc/argz/argz_create.c: Ditto.
225
        * libc/argz/argz_create_sep.c: Ditto.
226
        * libc/argz/argz_delete.c: Ditto.
227
        * libc/argz/argz_next.c: Ditto.
228
        * libc/argz/argz_stringify.c: Ditto
229
        * libc/stdlib/strtod.c: Added #include  to get function
230
        prototypes.
231
        * libc/stdlib/wcstoul.c: Added #include  to get function
232
        prototypes, corrected traditional usage comment.
233
        * libc/include/wchar.h: Added _mbsrtowcs_r() prototype.
234
 
235
2008-11-26 Ken Werner 
236
 
237
        * libm/machine/spu/headers/acosd2.h: Rebase against current simdmath.
238
        * libm/machine/spu/headers/asind2.h: Likewise.
239
        * libm/machine/spu/headers/asinhf4.h: Likewise.
240
        * libm/machine/spu/headers/divd2.h: Likewise.
241
        * libm/machine/spu/headers/erf_utils.h: Likewise.
242
        * libm/machine/spu/headers/erfcd2.h: Likewise.
243
        * libm/machine/spu/headers/erfcf4.h: Likewise.
244
        * libm/machine/spu/headers/erfd2.h: Likewise.
245
        * libm/machine/spu/headers/recipd2.h: Likewise.
246
 
247
2008-11-25  Corinna Vinschen  
248
 
249
        * libc/stdio/gets.c (_gets_r): Lock stdin here and call
250
        __sgetc_r instead of _getchar_r.
251
 
252
2008-11-24  Craig Howland  
253
 
254
        * libc/stdlib/wcstoull_r.c:  Add EINVAL return for bad base value,
255
        include wchar.h for prototype, remove extraneous includes, use
256
        C99/POSIX ULLONG_MAX (but allow for poor limits.h).
257
        * libc/stdlib/wcstoull.c:  Fix usage comments (mistakes and to add
258
        base value check noted above), remove extraneous includes.
259
        * libc/stdio/asnprintf.c:  Add #include "local.h" to get function
260
        prototype for _svfprintf_r().
261
        * libc/stdio/vasnprintf.c:  Ditto.
262
        * libc/stdio/local.h:  Add function prototype for __submore().
263
        * libc/include/stdio.h:  Add function prototypes for _fseeko_r and
264
        _ftello_r.
265
        * libc/posix/namespace.h:  Commented out define for write to
266
        eliminate write() prototype being missing for collate.c (which is
267
        the only file that presently includes namespace.h).
268
        * libc/include/reent.h:  Added _rename_r.
269
        * libc/reent/renamer.c:  Corrected function prototypes in synopses.
270
        * libc/locale/ldpart.c:  Use struct stat64 when calling fstat64.
271
 
272
2008-11-24  Jeff Johnston  
273
 
274
        * libc/search/hash_func.c: Comment out unused static hash functions.
275
        * libc/reent/stat64r.c: New file.
276
        * libc/reent/Makefile.am: Add stat64r.c support.
277
        * libc/reent/Makefile.in: Regenerated.
278
 
279
2008-11-24  Joel Sherrill 
280
 
281
        * libc/posix/scandir.c: Fix memory leaks.
282
 
283
2008-11-24  Joel Sherrill 
284
 
285
        * libc/posix/Makefile.am: Compile readdir_r.c not readdir.c twice.
286
        * libc/posix/Makefile.in: Regenerated.
287
 
288
2008-11-24  Corinna Vinschen  
289
 
290
        * libc/include/stdio.h (__SMOD): Remove definition of unused flag.
291
        * libc/include/sys/reent.h (struct __sFILE): Add _flags2 member.
292
        * libc/stdio/findfp.c (std): Initialize _flags2.
293
        (__sfp): Ditto.
294
        * libc/stdio/refill.c (__srefill_r): Drop resetting __SMOD flag.
295
        * libc/stdio/vfscanf.c (__ssrefill_r): Ditto.
296
        * libc/stdio/fseek.c (_fseek_r): Drop checking __SMOD flag.
297
        * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
298
 
299
2008-11-20  Ken Werner  
300
 
301
        * libc/machine/spu/sys/linux_syscalls.h: Additional syscall defines to
302
        be in sync with current kernels.
303
 
304
2008-11-20  Ken Werner  
305
            Patrick Mansfield  
306
            Joel Schopp   
307
 
308
        * libc/machine/spu/configure.in: Add __ea detection.
309
        * libc/machine/spu/Makefile.am: Add new files.
310
        * libc/machine/spu/include/ea.h: New file.
311
        * libc/machine/spu/ea_internal.h: Likewise.
312
        * libc/machine/spu/sys/mman.h: Likewise.
313
        * libc/machine/spu/mmap_ea.c: Likewise.
314
        * libc/machine/spu/munmap_ea.c: Likewise.
315
        * libc/machine/spu/mremap_ea.c: Likewise.
316
        * libc/machine/spu/msync_ea.c: Likewise.
317
        * libc/machine/spu/memchr_ea.c: Likewise.
318
        * libc/machine/spu/memcmp_ea.c: Likewise.
319
        * libc/machine/spu/memcpy_ea.c: Likewise.
320
        * libc/machine/spu/memmove_ea.c: Likewise.
321
        * libc/machine/spu/memset_ea.c: Likewise.
322
        * libc/machine/spu/malloc_ea.c: Likewise.
323
        * libc/machine/spu/realloc_ea.c: Likewise.
324
        * libc/machine/spu/calloc_ea.c: Likewise.
325
        * libc/machine/spu/free_ea.c: Likewise.
326
        * libc/machine/spu/posix_memalign_ea.c: Likewise.
327
        * libc/machine/spu/strcat_ea.c: Likewise.
328
        * libc/machine/spu/strchr_ea.c: Likewise.
329
        * libc/machine/spu/strcmp_ea.c: Likewise.
330
        * libc/machine/spu/strcpy_ea.c: Likewise.
331
        * libc/machine/spu/strcspn_ea.c: Likewise.
332
        * libc/machine/spu/strlen_ea.c: Likewise.
333
        * libc/machine/spu/strncat_ea.c: Likewise.
334
        * libc/machine/spu/strncmp_ea.c: Likewise.
335
        * libc/machine/spu/strncpy_ea.c: Likewise.
336
        * libc/machine/spu/strpbrk_ea.c: Likewise.
337
        * libc/machine/spu/strrchr_ea.c: Likewise.
338
        * libc/machine/spu/strspn_ea.c: Likewise.
339
        * libc/machine/spu/strstr_ea.c: Likewise.
340
        * libc/machine/spu/read_ea.c: Likewise.
341
        * libc/machine/spu/pread_ea.c: Likewise.
342
        * libc/machine/spu/readv_ea.c: Likewise.
343
        * libc/machine/spu/write_ea.c: Likewise.
344
        * libc/machine/spu/pwrite_ea.c: Likewise.
345
        * libc/machine/spu/writev_ea.c: Likewise.
346
 
347
2008-11-19  Joel Sherrill 
348
 
349
        * libc/include/sys/config.h[__mips__]: Don't bother
350
        setting __ATTRIBUTE_IMPURE_PTR__ here.
351
        [__rtems__][__mips__]: No need to undef the __ATTRIBUTE_IMPURE_PTR__
352
        macro anymore.
353
 
354
2008-11-19  Jeff Johnston  
355
 
356
        * libc/sys/linux/bits/dirent.h: New header file.
357
        * libc/sys/linux/sys/dirent.h: Include  instead of
358
        .
359
        * libc/posix/Makefile.am: Remove reallocf.
360
        * libc/posix/Makefile.in: Regenerated.
361
        * libc/posix/reallocf.c: Moved to...
362
        * libc/stdlib/reallocf.c: Here
363
        * libc/stdlib/malloc.c: Add reallocf documentation.
364
        * libc/include/stdlib.h: Add reallocf and _reallocf_r prototypes.
365
        * libc/stdlib/Makefile.am: Add reallocf.
366
        * libc/stdlib/Makefile.in: Regenerated.
367
        * libc/posix/_isatty.c: Set errno.
368
 
369
2008-11-19  Craig Howland  
370
 
371
        * libc/unix/collate.c (__collate_err): simplify to remove unnecessary
372
        strdup() and strlen() calls, also getting rid of a compiler warning.
373
 
374
2008-11-19  Ralf Corsepius 
375
 
376
        * libc/include/sys/config.h: Don't put
377
        __ATTRIBUTE_IMPURE_PTR__ into .sdata section for mips-rtems.
378
 
379
2008-11-19  Ralf Corsepius  
380
 
381
        * libc/posix/runetype.h: Add include of stddef.h and remove
382
        defining standard types: size_t and wchar_t.
383
 
384
2008-11-19  Ralf Corsepius  
385
 
386
        * libc/include/pthread.h: Remove prototypes for
387
        pthread_attr_getcputime and pthread_attr_setcputime which
388
        were proposed but never approved by the POSIX standard.
389
 
390
2008-11-18  Joel Sherrill 
391
 
392
        * libc/unix/ttyname.c: Use isatty() instead of tcgetattr().
393
 
394
2008-11-18  Jeff Johnston  
395
 
396
        * libc/unix/basename.c: Add !_NO_BASENAME flag check so code can be
397
        ignored if desired by a platform.
398
        * libc/unix/dirname.c: Ditto except replace BASENAME with file name.
399
        * libc/unix/getcwd.c: Ditto.
400
        * libc/unix/getlogin.c: Ditto.
401
        * libc/unix/getpass.c: Ditto.
402
        * libc/unix/getpwent.c: Ditto.
403
        * libc/unix/getut.c: Ditto.
404
        * libc/unix/pread.c: Ditto.
405
        * libc/unix/pwrite.c: Ditto.
406
        * libc/unix/sigset.c: Ditto.
407
 
408
2008-11-18  Craig Howland  
409
 
410
        * libc/unix/ttyname.c: Add ttyname_r and change ttyname to use
411
        ttyname_r.
412
 
413
2008-11-17  Joel Sherrill 
414
 
415
        * configure.host: RTEMS now uses posix subdirectory.
416
 
417
2008-11-17  Joel Sherrill 
418
 
419
        * sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX.
420
        * sys/rtems/sys/param.h: sys/rtprio.h not needed.
421
 
422
2008-10-31  Jeff Johnston  
423
 
424
        * libc/stdio/diprintf.c: Modify documentation so eclipse newlib
425
        libhover docs generate properly.
426
        * libc/stdio/dprintf.c: Ditto.
427
        * libc/stdio/fflush.c: Ditto.
428
        * libc/stdio/fopencookie.c: Ditto.
429
        * libc/stdio/fread.c: Ditto.
430
        * libc/stdio/fsetpos.c: Ditto.
431
        * libc/stdio/getc_u.c: Ditto.
432
        * libc/stdio/getchar_u.c: Ditto.
433
        * libc/stdio/putc_u.c: Ditto.
434
        * libc/stdio/putchar_u.c: Ditto.
435
        * libc/stdio/remove.c: Ditto.
436
        * libc/stdio/siprintf.c: Ditto.
437
        * libc/stdio/siscanf.c: Ditto.
438
        * libc/stdio/sprintf.c: Ditto.
439
        * libc/stdio/sscanf.c: Ditto.
440
        * libc/stdio/vfprintf.c: Ditto.
441
        * libc/stdio/vfscanf.c: Ditto.
442
        * libc/stdio/viprintf.c: Ditto.
443
        * libc/stdio/viscanf.c: Ditto.
444
        * libc/stdlib/calloc.c: Ditto.
445
        * libc/stdlib/efgcvt.c: Ditto.
446
        * libc/stdlib/envlock.c: Ditto.
447
        * libc/time/asctime.c: Ditto.
448
        * libc/time/ctime.c: Ditto.
449
        * libc/time/gmtime.c: Ditto.
450
        * libc/time/lcltime.c: Ditto.
451
        * libc/time/tzset.c: Ditto.
452
        * libc/stdlib/envlock.h: Moved to libc/include.
453
 
454
2008-10-31  Jeff Johnston  
455
 
456
        * libc/include/limits.h: Add ARG_MAX, PATH_MAX, and _POSIX2_RE_DUP_MAX.
457
        * libc/include/envlock.h: New file.
458
        * libc/include/fnmatch.h: Ditto.
459
        * libc/include/glob.h: Ditto.
460
        * libc/include/regex.h: Ditto.
461
        * libc/include/wordexp.h: Ditto.
462
        * libc/posix/Makefile.am: Add new files moved from
463
        libc/sys/linux/stdlib.
464
        * libc/posix/Makefile.in: Regenerated.
465
        * libc/posix/COPYRIGHT: New file moved from libc/sys/linux/stdlib.
466
        * libc/posix/cclass.h: Ditto.
467
        * libc/posix/cname.h: Ditto.
468
        * libc/posix/collate.c: Ditto.
469
        * libc/posix/collate.h: Ditto.
470
        * libc/posix/collcmp.c: Ditto.
471
        * libc/posix/engine.c: Ditto.
472
        * libc/posix/fnmatch.3: Ditto.
473
        * libc/posix/glob.3: Ditto.
474
        * libc/posix/fnmatch.c: Ditto.
475
        * libc/posix/glob.c: Ditto.
476
        * libc/posix/namespace.h: Ditto.
477
        * libc/posix/reallocf.c: Ditto.
478
        * libc/posix/regcomp.c: Ditto.
479
        * libc/posix/regerror.c: Ditto.
480
        * libc/posix/regex.3: Ditto.
481
        * libc/posix/regex2.h: Ditto.
482
        * libc/posix/regexec.c: Ditto.
483
        * libc/posix/regfree.c: Ditto.
484
        * libc/posix/rune.h: Ditto.
485
        * libc/posix/runetype.h: Ditto.
486
        * libc/posix/scandir.c: Remove advertising clause which is not in
487
        effect.
488
        * libc/posix/sysexits.h: Ditto.
489
        * libc/posix/un-namespace.h: Ditto.
490
        * libc/posix/utils.h: Ditto.
491
        * libc/posix/wordexp.c: Ditto.
492
        * libc/posix/wordfree.c: Ditto.
493
        * libc/posix/execl.c: Add !_NO_EXECVE flag check.
494
        * libc/posix/execle.c: Ditto.
495
        * libc/posix/execlp.c: Ditto.
496
        * libc/posix/execv.c: Ditto.
497
        * libc/posix/execve.c: Ditto.
498
        * libc/posix/execvp.c: Ditto.
499
        * libc/posix/popen.c: Add !_NO_POPEN flag check.
500
        * libc/sys/linux/configure: Regenerated.
501
        * libc/sys/linux/configure.in: Remove stdlib.
502
        * libc/sys/linux/include/limits.h: Add include of linux/limits.h.
503
        * libc/sys/linux/stdlib/Makefile.am: Removed.
504
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
505
        * libc/sys/linux/stdlib/COPYRIGHT: Moved to libc/posix.
506
        * libc/sys/linux/stdlib/cclass.h: Ditto.
507
        * libc/sys/linux/stdlib/cname.h: Ditto.
508
        * libc/sys/linux/stdlib/collate.c: Ditto.
509
        * libc/sys/linux/stdlib/collate.h: Ditto.
510
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
511
        * libc/sys/linux/stdlib/engine.c: Ditto.
512
        * libc/sys/linux/stdlib/fnmatch.3: Ditto.
513
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
514
        * libc/sys/linux/stdlib/glob.3: Ditto.
515
        * libc/sys/linux/stdlib/glob.c: Ditto.
516
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
517
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
518
        * libc/sys/linux/stdlib/regerror.c: Ditto.
519
        * libc/sys/linux/stdlib/regex.3: Ditto.
520
        * libc/sys/linux/stdlib/regex2.h: Ditto.
521
        * libc/sys/linux/stdlib/regexec.c: Ditto.
522
        * libc/sys/linux/stdlib/regfree.c: Ditto.
523
        * libc/sys/linux/stdlib/utils.h: Ditto.
524
        * libc/sys/linux/stdlib/wordexp.c: Ditto.
525
        * libc/sys/linux/stdlib/wordfree.c: Ditto.
526
 
527
2008-10-16  Joel Sherrill 
528
 
529
        * libc/include/sys/unistd.h: RTEMS follows standard for sync().
530
 
531
2008-10-16  Joel Sherrill 
532
 
533
        * libc/include/time.h: Add CLOCK_MONOTONIC.
534
        * libc/include/sys/features.h: Define
535
        _POSIX_MONOTONIC_CLOCK for RTEMS.
536
 
537
2008-10-15  Jeff Johnston  
538
 
539
        * newlib.hin: Restore to previous 1.14 version which has no
540
        PACKAGE_ macros.
541
 
542
2008-10-15  Joel Sherrill 
543
 
544
        * libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
545
 
546
2008-10-15  Craig Howland  
547
 
548
        * libc/include/ctype.h (isblank):  isblank is C99.
549
        * libc/ctype/isblank.c (isblank comments):  ditto.  isblank does not
550
        have a macro version (as was claimed in the description).
551
 
552
2008-10-15  Jeff Johnston  
553
 
554
        * libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or
555
        %S conversions when the EL/IX level is 1.
556
 
557
2008-10-06  Eric Blake  
558
 
559
        * libc/stdlib/ldtoa.c (etoasc): Fix rounding to even when fraction
560
        is 0.5 or 0.75.
561
 
562
2008-10-06  Craig Howland  
563
 
564
        * libc/time/tzset_r.c (_tzset_r):  Change US default start/end dates to
565
        2007 law revision of start in 2nd Sunday in March, end 1st Sun in Nov.
566
 
567
2008-10-02  Jeff Johnston  
568
 
569
        * libc/string/str-two-way.h (critical_factorization): Cast the index
570
        operation to ensure unsigned rollover occurs when adding to SIZE_MAX.
571
 
572
2008-10-02  Jeff Johnston  
573
 
574
        * libc/sys/linux/include/stdint.h (SIZE_MAX): Fix value which should
575
        be size of size_t, not int.
576
        (SIZE_MIN): Remove.
577
        * libc/sys/linux/sys/stdint.h: Ditto.
578
 
579
2008-10-02  Jeff Johnston  
580
 
581
        * libc/include/sys/reent.h[_REENT_SMALL](_REENT_INIT_RAND48): Add
582
        initialization of _rand_next to 1.
583
 
584
2008-09-29  Peter O'Gorman  
585
            Steve Ellcey  
586
 
587
        * configure: Regenerate for new libtool.
588
        * aclocal.m4: Ditto.
589
        * Makefile.in: Ditto.
590
        * newlib.hin: Ditto.
591
        * doc/Makefile.in: Ditto.
592
        * doc/configure: Ditto.
593
        * iconvdata/Makefile.in: Ditto.
594
        * iconvdata/aclocal.m4: Ditto.
595
        * iconvdata/configure: Ditto.
596
        * libc/Makefile.in: Ditto.
597
        * libc/aclocal.m4: Ditto.
598
        * libc/configure: Ditto.
599
        * libc/argz/Makefile.in: Ditto.
600
        * libc/ctype/Makefile.in: Ditto.
601
        * libc/errno/Makefile.in: Ditto.
602
        * libc/iconv/Makefile.in: Ditto.
603
        * libc/iconv/ccs/Makefile.in: Ditto.
604
        * libc/iconv/ccs/binary/Makefile.in: Ditto.
605
        * libc/iconv/ces/Makefile.in: Ditto.
606
        * libc/iconv/lib/Makefile.in: Ditto.
607
        * libc/locale/Makefile.in: Ditto.
608
        * libc/machine/Makefile.in: Ditto.
609
        * libc/machine/aclocal.m4: Ditto.
610
        * libc/machine/configure: Ditto.
611
        * libc/machine/a29k/Makefile.in: Ditto.
612
        * libc/machine/a29k/configure: Ditto.
613
        * libc/machine/arm/Makefile.in: Ditto.
614
        * libc/machine/arm/configure: Ditto.
615
        * libc/machine/bfin/Makefile.in: Ditto.
616
        * libc/machine/bfin/configure: Ditto.
617
        * libc/machine/cris/Makefile.in: Ditto.
618
        * libc/machine/cris/configure: Ditto.
619
        * libc/machine/crx/Makefile.in: Ditto.
620
        * libc/machine/crx/configure: Ditto.
621
        * libc/machine/d10v/Makefile.in: Ditto.
622
        * libc/machine/d10v/configure: Ditto.
623
        * libc/machine/d30v/Makefile.in: Ditto.
624
        * libc/machine/d30v/configure: Ditto.
625
        * libc/machine/fr30/Makefile.in: Ditto.
626
        * libc/machine/fr30/configure: Ditto.
627
        * libc/machine/frv/Makefile.in: Ditto.
628
        * libc/machine/frv/configure: Ditto.
629
        * libc/machine/h8300/Makefile.in: Ditto.
630
        * libc/machine/h8300/configure: Ditto.
631
        * libc/machine/h8500/Makefile.in: Ditto.
632
        * libc/machine/h8500/configure: Ditto.
633
        * libc/machine/hppa/Makefile.in: Ditto.
634
        * libc/machine/hppa/configure: Ditto.
635
        * libc/machine/i386/Makefile.in: Ditto.
636
        * libc/machine/i386/aclocal.m4: Ditto.
637
        * libc/machine/i386/configure: Ditto.
638
        * libc/machine/i960/Makefile.in: Ditto.
639
        * libc/machine/i960/configure: Ditto.
640
        * libc/machine/iq2000/Makefile.in: Ditto.
641
        * libc/machine/iq2000/configure: Ditto.
642
        * libc/machine/m32c/Makefile.in: Ditto.
643
        * libc/machine/m32c/configure: Ditto.
644
        * libc/machine/m32r/Makefile.in: Ditto.
645
        * libc/machine/m32r/configure: Ditto.
646
        * libc/machine/m68hc11/Makefile.in: Ditto.
647
        * libc/machine/m68hc11/configure: Ditto.
648
        * libc/machine/m68k/Makefile.in: Ditto.
649
        * libc/machine/m68k/configure: Ditto.
650
        * libc/machine/m88k/Makefile.in: Ditto.
651
        * libc/machine/m88k/configure: Ditto.
652
        * libc/machine/mep/Makefile.in: Ditto.
653
        * libc/machine/mep/configure: Ditto.
654
        * libc/machine/mips/Makefile.in: Ditto.
655
        * libc/machine/mips/configure: Ditto.
656
        * libc/machine/mn10200/Makefile.in: Ditto.
657
        * libc/machine/mn10200/configure: Ditto.
658
        * libc/machine/mn10300/Makefile.in: Ditto.
659
        * libc/machine/mn10300/configure: Ditto.
660
        * libc/machine/mt/Makefile.in: Ditto.
661
        * libc/machine/mt/configure: Ditto.
662
        * libc/machine/necv70/Makefile.in: Ditto.
663
        * libc/machine/necv70/configure: Ditto.
664
        * libc/machine/powerpc/Makefile.in: Ditto.
665
        * libc/machine/powerpc/configure: Ditto.
666
        * libc/machine/sh/Makefile.in: Ditto.
667
        * libc/machine/sh/configure: Ditto.
668
        * libc/machine/sparc/Makefile.in: Ditto.
669
        * libc/machine/sparc/configure: Ditto.
670
        * libc/machine/spu/Makefile.in: Ditto.
671
        * libc/machine/spu/configure: Ditto.
672
        * libc/machine/tic4x/Makefile.in: Ditto.
673
        * libc/machine/tic4x/configure: Ditto.
674
        * libc/machine/tic80/Makefile.in: Ditto.
675
        * libc/machine/tic80/configure: Ditto.
676
        * libc/machine/v850/Makefile.in: Ditto.
677
        * libc/machine/v850/configure: Ditto.
678
        * libc/machine/w65/Makefile.in: Ditto.
679
        * libc/machine/w65/configure: Ditto.
680
        * libc/machine/x86_64/Makefile.in: Ditto.
681
        * libc/machine/x86_64/configure: Ditto.
682
        * libc/machine/xscale/Makefile.in: Ditto.
683
        * libc/machine/xscale/configure: Ditto.
684
        * libc/machine/xstormy16/Makefile.in: Ditto.
685
        * libc/machine/xstormy16/configure: Ditto.
686
        * libc/machine/z8k/Makefile.in: Ditto.
687
        * libc/machine/z8k/configure: Ditto.
688
        * libc/misc/Makefile.in: Ditto.
689
        * libc/posix/Makefile.in: Ditto.
690
        * libc/reent/Makefile.in: Ditto.
691
        * libc/search/Makefile.in: Ditto.
692
        * libc/signal/Makefile.in: Ditto.
693
        * libc/stdio/Makefile.in: Ditto.
694
        * libc/stdio64/Makefile.in: Ditto.
695
        * libc/stdlib/Makefile.in: Ditto.
696
        * libc/string/Makefile.in: Ditto.
697
        * libc/sys/Makefile.in: Ditto.
698
        * libc/sys/aclocal.m4: Ditto.
699
        * libc/sys/configure: Ditto.
700
        * libc/sys/a29khif/Makefile.in: Ditto.
701
        * libc/sys/a29khif/configure: Ditto.
702
        * libc/sys/arc/Makefile.in: Ditto.
703
        * libc/sys/arc/configure: Ditto.
704
        * libc/sys/arm/Makefile.in: Ditto.
705
        * libc/sys/arm/configure: Ditto.
706
        * libc/sys/d10v/Makefile.in: Ditto.
707
        * libc/sys/d10v/configure: Ditto.
708
        * libc/sys/decstation/Makefile.in: Ditto.
709
        * libc/sys/decstation/configure: Ditto.
710
        * libc/sys/h8300hms/Makefile.in: Ditto.
711
        * libc/sys/h8300hms/configure: Ditto.
712
        * libc/sys/h8500hms/Makefile.in: Ditto.
713
        * libc/sys/h8500hms/configure: Ditto.
714
        * libc/sys/linux/Makefile.in: Ditto.
715
        * libc/sys/linux/aclocal.m4: Ditto.
716
        * libc/sys/linux/configure: Ditto.
717
        * libc/sys/linux/argp/Makefile.in: Ditto.
718
        * libc/sys/linux/cmath/Makefile.in: Ditto.
719
        * libc/sys/linux/dl/Makefile.in: Ditto.
720
        * libc/sys/linux/iconv/Makefile.in: Ditto.
721
        * libc/sys/linux/intl/Makefile.in: Ditto.
722
        * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
723
        * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
724
        * libc/sys/linux/linuxthreads/configure: Ditto.
725
        * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
726
        * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
727
        * libc/sys/linux/linuxthreads/machine/configure: Ditto.
728
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
729
        * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
730
        * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
731
        * libc/sys/linux/machine/Makefile.in: Ditto.
732
        * libc/sys/linux/machine/aclocal.m4: Ditto.
733
        * libc/sys/linux/machine/configure: Ditto.
734
        * libc/sys/linux/machine/i386/Makefile.in: Ditto.
735
        * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
736
        * libc/sys/linux/machine/i386/configure: Ditto.
737
        * libc/sys/linux/net/Makefile.in: Ditto.
738
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
739
        * libc/sys/m88kbug/Makefile.in: Ditto.
740
        * libc/sys/m88kbug/configure: Ditto.
741
        * libc/sys/mmixware/Makefile.in: Ditto.
742
        * libc/sys/mmixware/configure: Ditto.
743
        * libc/sys/netware/Makefile.in: Ditto.
744
        * libc/sys/netware/configure: Ditto.
745
        * libc/sys/rdos/Makefile.in: Ditto.
746
        * libc/sys/rdos/configure: Ditto.
747
        * libc/sys/rtems/Makefile.in: Ditto.
748
        * libc/sys/rtems/configure: Ditto.
749
        * libc/sys/sh/Makefile.in: Ditto.
750
        * libc/sys/sh/configure: Ditto.
751
        * libc/sys/sparc64/Makefile.in: Ditto.
752
        * libc/sys/sparc64/configure: Ditto.
753
        * libc/sys/sun4/Makefile.in: Ditto.
754
        * libc/sys/sun4/configure: Ditto.
755
        * libc/sys/sysmec/Makefile.in: Ditto.
756
        * libc/sys/sysmec/configure: Ditto.
757
        * libc/sys/sysnec810/Makefile.in: Ditto.
758
        * libc/sys/sysnec810/configure: Ditto.
759
        * libc/sys/sysnecv850/Makefile.in: Ditto.
760
        * libc/sys/sysnecv850/configure: Ditto.
761
        * libc/sys/sysvi386/Makefile.in: Ditto.
762
        * libc/sys/sysvi386/configure: Ditto.
763
        * libc/sys/sysvnecv70/Makefile.in: Ditto.
764
        * libc/sys/sysvnecv70/configure: Ditto.
765
        * libc/sys/tic80/Makefile.in: Ditto.
766
        * libc/sys/tic80/configure: Ditto.
767
        * libc/sys/w65/Makefile.in: Ditto.
768
        * libc/sys/w65/configure: Ditto.
769
        * libc/sys/z8ksim/Makefile.in: Ditto.
770
        * libc/sys/z8ksim/configure: Ditto.
771
        * libc/syscalls/Makefile.in: Ditto.
772
        * libc/time/Makefile.in: Ditto.
773
        * libc/unix/Makefile.in: Ditto.
774
        * libm/Makefile.in: Ditto.
775
        * libm/aclocal.m4: Ditto.
776
        * libm/configure: Ditto.
777
        * libm/common/Makefile.in: Ditto.
778
        * libm/machine/Makefile.in: Ditto.
779
        * libm/machine/aclocal.m4: Ditto.
780
        * libm/machine/configure: Ditto.
781
        * libm/machine/i386/Makefile.in: Ditto.
782
        * libm/machine/i386/aclocal.m4: Ditto.
783
        * libm/machine/i386/configure: Ditto.
784
        * libm/machine/spu/Makefile.in: Ditto.
785
        * libm/machine/spu/configure: Ditto.
786
        * libm/math/Makefile.in: Ditto.
787
        * libm/mathfp/Makefile.in: Ditto.
788
 
789
2008-09-26  Craig Howland  
790
 
791
        * libc/stdlib/getenv_r.c (_getenv_r): Modify to not match if name
792
        contains an equal sign.
793
 
794
2008-09-25  Raphael Derossa Pereira  
795
 
796
        * libc/include/pthread.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
797
        new pthread_mutexattr_gettype and pthread_mutexattr_settype
798
        prototypes.
799
        * libc/include/sys/types.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
800
        new mutex type values.
801
        (pthread_mutexattr_t)[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add type
802
        field.
803
 
804
2008-09-24  Jeff Johnston  
805
 
806
        * libc/stdlib/setenv_r.c (_unsetenv_r): Modify to return -1 only if
807
        name is NULL, empty, or contains equal sign.
808
 
809
2008-09-24  Pawel Veselov  
810
 
811
        Fix setenv/getenv/unsetenv to be OpenGroup compliant:
812
        * libc/include/stdlib.h (unsetenv, _unsetenv_r): Redefine with integer
813
        return types.
814
        * libc/stdlib/getenv_r.c (_findenv_r): Do no special processing with
815
        names that contain equal chars.
816
        * libc/stdlib/setenv.c: Redefine _unsetenv_r as returning int.
817
        * libc/stdlib/setenv_r.c (_setenv_r): Return -1 and set errno to
818
        EINVAL if name contains an equal sign.  Do not remove any equal signs
819
        from the value.
820
        (_unsetenv_r): Modified to return int.  Return -1 and set EINVAL
821
        if name contains equal sign.  Return -1 if no variable(s) were found
822
        and return 0 otherwise.
823
 
824
2008-09-19  Eric Blake  
825
 
826
        Supply missing POSIX errno values.
827
        * libc/include/sys/errno.h (ENOTRECOVERABLE, EOWNERDEAD): Define.
828
        * libc/string/strerror.c (strerror): Decode them, and ECANCELED.
829
 
830
2008-09-10  Ken Werner  
831
 
832
        * libc/machine/spu/strcpy.h: Add missing header.
833
        * libc/machine/spu/spu_timer_slih.c: Remove unused Variable.
834
        * libm/machine/spu/headers/lgammaf4.h: Add type cast.
835
 
836
2008-09-08  Jeff Johnston  
837
 
838
        * libc/sys/linux/dl/atomicity.h (exchange_and_add): Fix asm
839
        statement to use "m" instead of "0".
840
        (atomic_add): Ditto.
841
        * libc/sys/linux/linuxthreads/spinlock.c (__pthread_release): Ditto.
842
        * libc/sys/linux/net/getaddrinfo.c: Add limit.h include.
843
        * libc/sys/linux/stdlib/glob.c: Ditto.
844
 
845
2008-09-04  Ken Werner  
846
 
847
        * libm/machine/spu/headers/acosd2.h: Duplicated preamble text removed.
848
        * libm/machine/spu/headers/acosf4.h: Likewise.
849
        * libm/machine/spu/headers/acoshd2.h: Likewise.
850
        * libm/machine/spu/headers/acoshf4.h: Likewise.
851
        * libm/machine/spu/headers/asind2.h: Likewise.
852
        * libm/machine/spu/headers/asinf4.h: Likewise.
853
        * libm/machine/spu/headers/asinhd2.h: Likewise.
854
        * libm/machine/spu/headers/asinhf4.h: Likewise.
855
        * libm/machine/spu/headers/atan2d2.h: Likewise.
856
        * libm/machine/spu/headers/atan2f4.h: Likewise.
857
        * libm/machine/spu/headers/atand2.h: Likewise.
858
        * libm/machine/spu/headers/atanf4.h: Likewise.
859
        * libm/machine/spu/headers/atanhd2.h: Likewise.
860
        * libm/machine/spu/headers/atanhf4.h: Likewise.
861
        * libm/machine/spu/headers/cos_sin.h: Likewise.
862
        * libm/machine/spu/headers/cosd2.h: Likewise.
863
        * libm/machine/spu/headers/cosf4.h: Likewise.
864
        * libm/machine/spu/headers/coshd2.h: Likewise.
865
        * libm/machine/spu/headers/coshf4.h: Likewise.
866
        * libm/machine/spu/headers/divd2.h: Likewise.
867
        * libm/machine/spu/headers/divf4.h: Likewise.
868
        * libm/machine/spu/headers/erf_utils.h: Likewise.
869
        * libm/machine/spu/headers/erfcd2.h: Likewise.
870
        * libm/machine/spu/headers/erfcf4.h: Likewise.
871
        * libm/machine/spu/headers/erfd2.h: Likewise.
872
        * libm/machine/spu/headers/erff4.h: Likewise.
873
        * libm/machine/spu/headers/exp2d2.h: Likewise.
874
        * libm/machine/spu/headers/exp2f4.h: Likewise.
875
        * libm/machine/spu/headers/expd2.h: Likewise.
876
        * libm/machine/spu/headers/expf4.h: Likewise.
877
        * libm/machine/spu/headers/expm1d2.h: Likewise.
878
        * libm/machine/spu/headers/expm1f4.h: Likewise.
879
        * libm/machine/spu/headers/floord2.h: Likewise.
880
        * libm/machine/spu/headers/floorf4.h: Likewise.
881
        * libm/machine/spu/headers/hypotd2.h: Likewise.
882
        * libm/machine/spu/headers/hypotf4.h: Likewise.
883
        * libm/machine/spu/headers/isnand2.h: Likewise.
884
        * libm/machine/spu/headers/isnanf4.h: Likewise.
885
        * libm/machine/spu/headers/ldexpd2.h: Likewise.
886
        * libm/machine/spu/headers/ldexpf4.h: Likewise.
887
        * libm/machine/spu/headers/lgammad2.h: Likewise.
888
        * libm/machine/spu/headers/lgammaf4.h: Likewise.
889
        * libm/machine/spu/headers/log10d2.h: Likewise.
890
        * libm/machine/spu/headers/log1pd2.h: Likewise.
891
        * libm/machine/spu/headers/log1pf4.h: Likewise.
892
        * libm/machine/spu/headers/log2d2.h: Likewise.
893
        * libm/machine/spu/headers/log2f4.h: Likewise.
894
        * libm/machine/spu/headers/logbf4.h: Likewise.
895
        * libm/machine/spu/headers/logd2.h: Likewise.
896
        * libm/machine/spu/headers/logf4.h: Likewise.
897
        * libm/machine/spu/headers/nearbyintf4.h: Likewise.
898
        * libm/machine/spu/headers/nextafterd2.h: Likewise.
899
        * libm/machine/spu/headers/nextafterf4.h: Likewise.
900
        * libm/machine/spu/headers/powd2.h: Likewise.
901
        * libm/machine/spu/headers/powf4.h: Likewise.
902
        * libm/machine/spu/headers/recipd2.h: Likewise.
903
        * libm/machine/spu/headers/recipf4.h: Likewise.
904
        * libm/machine/spu/headers/rintf4.h: Likewise.
905
        * libm/machine/spu/headers/scalbnf4.h: Likewise.
906
        * libm/machine/spu/headers/signbitd2.h: Likewise.
907
        * libm/machine/spu/headers/sincosd2.h: Likewise.
908
        * libm/machine/spu/headers/sincosf4.h: Likewise.
909
        * libm/machine/spu/headers/sind2.h: Likewise.
910
        * libm/machine/spu/headers/sinf4.h: Likewise.
911
        * libm/machine/spu/headers/sinhd2.h: Likewise.
912
        * libm/machine/spu/headers/sinhf4.h: Likewise.
913
        * libm/machine/spu/headers/sqrtd2.h: Likewise.
914
        * libm/machine/spu/headers/sqrtf4.h: Likewise.
915
        * libm/machine/spu/headers/tand2.h: Likewise.
916
        * libm/machine/spu/headers/tanf4.h: Likewise.
917
        * libm/machine/spu/headers/tanhd2.h: Likewise.
918
        * libm/machine/spu/headers/tanhf4.h: Likewise.
919
        * libm/machine/spu/headers/tgammad2.h: Likewise.
920
        * libm/machine/spu/headers/tgammaf4.h: Likewise.
921
        * libm/machine/spu/headers/truncd2.h: Likewise.
922
        * libm/machine/spu/headers/truncf4.h: Likewise.
923
        * libm/machine/spu/headers/simdmath.h: Likewise.
924
 
925
2008-09-04  Ken Werner  
926
 
927
        * libm/machine/spu/headers/acoshf4.h: Rebase against current simdmath.
928
        * libm/machine/spu/headers/asinhd2.h: Likewise.
929
        * libm/machine/spu/headers/atanhd2.h: Likewise.
930
        * libm/machine/spu/headers/atanhf4.h: Likewise.
931
        * libm/machine/spu/headers/erff4.h: Likewise.
932
        * libm/machine/spu/headers/expd2.h: Likewise.
933
        * libm/machine/spu/headers/ldexpd2.h: Likewise.
934
        * libm/machine/spu/headers/lgammaf4.h: Likewise.
935
        * libm/machine/spu/headers/logbf4.h: Likewise.
936
        * libm/machine/spu/headers/nextafterd2.h: Likewise.
937
        * libm/machine/spu/headers/nextafterf4.h: Likewise.
938
        * libm/machine/spu/headers/recipd2.h: Likewise.
939
        * libm/machine/spu/headers/simdmath.h: Likewise.
940
        * libm/machine/spu/headers/acoshd2.: Likewise.
941
 
942
2008-09-04  Ken Werner  
943
 
944
        * libm/machine/spu/headers/cbrt.h: cbrt_factors[] declared.
945
        * libm/machine/spu/headers/cbrtf.h: Likewise.
946
 
947
2008-09-01  Ken Werner  
948
 
949
        * libc/machine/spu/include/spu_timer.h: spu_timebase function added.
950
        * libc/machine/spu/spu_timebase.c: New file.
951
        * libc/machine/spu/Makefile.am: Add new file.
952
        * libc/machine/spu/Makefile.in: Regenerated.
953
 
954
2008-08-28  Craig Howland  
955
 
956
        * libc/time/mktime.c (mktime): Fix tm_isdst value usage (allowing
957
        any positive value from user (per std) rather than depending
958
        upon 1).
959
 
960
2008-08-28  Corinna Vinschen  
961
 
962
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Optimize condition
963
        for accepting a converted character.
964
 
965
2008-08-27  Sandra Loosemore  
966
 
967
        * libc/libc.texinfo: Remove "LOCAL KLUGE" that prevents it
968
        from building pdfs.
969
        * libm/libm.texinfo: Likewise.
970
 
971
2008-08-27  Corinna Vinschen  
972
 
973
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Fix condition for
974
        accepting a converted character and continuing the loop.
975
 
976
2008-07-24  Jeff Johnston  
977
 
978
        * libc/include/ctype.h (_ctype_): Restore for C++ backward
979
        compatability only.
980
 
981
2008-07-21  Jeff Johnston  
982
 
983
        * libc/ctype/ctype_.c: Add new pointer __ctype_ptr__ which is one
984
        less than the old __ctype_ptr.
985
        * libc/ctype/isalnum.c: Use __ctype_ptr__.
986
        * libc/ctype/isalpha.c: Ditto.
987
        * libc/ctype/iscntrl.c: Ditto.
988
        * libc/ctype/isdigit.c: Ditto.
989
        * libc/ctype/islower.c: Ditto.
990
        * libc/ctype/isprint.c: Ditto.
991
        * libc/ctype/ispunct.c: Ditto.
992
        * libc/ctype/isspace.c: Ditto.
993
        * libc/ctype/isupper.c: Ditto.
994
        * libc/ctype/isxdigit.c: Ditto.
995
        * libc/include/ctype.h: Change ctype macros to use new __ctype_ptr__
996
        and add declaration of __ctype_ptr__.  Remove older ctype table pointers
997
        from here even though they can still work.
998
 
999
2008-07-18  Ken Werner  
1000
 
1001
        * libc/machine/spu/strcpy.h: Fix error in previous patch.
1002
 
1003
2008-07-17  Jeff Johnston  
1004
 
1005
        * libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
1006
        __STDC_VERSION__ < 199901L and __GNUC__ >= 2.
1007
 
1008
2008-07-17  Ken Werner  
1009
 
1010
        * libc/machine/spu/strcpy.h: Pad null bytes if necessary.
1011
 
1012
2008-07-08  Kenji Tanaka  
1013
 
1014
        * libc/machine/mn10300/memset.S: Fix bug where return value is
1015
        incorrectly set if number of bytes set is a multiple of 4.
1016
 
1017
2008-07-07  Hans-Peter Nilsson  
1018
 
1019
        * libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
1020
        (strncpy): Cast src to uintptr_t before checking alignment with "&".
1021
 
1022
2008-07-02  Jeff Johnston  
1023
 
1024
        * libc/argz/argz_count.c: Include stddef.h to get size_t.
1025
        * libc/argz/argz_extract.c: Ditto.
1026
        * libc/argz/argz_stringify.c: Ditto.
1027
        * libc/search/hash.h: Ditto.
1028
        * libc/sys/linux/include/sched.h: Ditto.
1029
        * libc/sys/linux/sys/types.h: Ditto.
1030
 
1031
2008-07-02  Jeff Johnston  
1032
 
1033
        * libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
1034
        source data is taken care of before loop unrolling.
1035
 
1036
2008-06-25  Hans-Peter Nilsson  
1037
 
1038
        Fix strict-aliasing issues with _strtod_r and Storeinc.
1039
        * libc/stdlib/strtod.c (_strtod_r): Change local variables aadj,
1040
        rv, rv0 from double to type U.  Use accessor macros dval, dword0
1041
        and dword1 for all accesses except for the ULtod call, where rv.i
1042
        replaces the pointer cast.
1043
        * libc/stdlib/mprec.h (U): Rename member L to i for easier re-use
1044
        of access macros.  Tweak comment.
1045
        Remove #ifdef'd YES_ALIAS code.
1046
        (dword0, dword1, dval): Define in terms of uncast union member
1047
        access.  Ditto for _DOUBLE_IS_32BITS variants.
1048
        (Storeinc): Replace aliasing-flawed microoptimized definition with
1049
        alternative suggested in comment.  Remove now stale comment.
1050
 
1051
2008-06-21  Corinna Vinschen  
1052
 
1053
        * libc/include/machine/setjmp.h (_longjmp): Define as function on
1054
        Cygwin.
1055
        (_setjmp): Ditto.
1056
 
1057
2008-06-18  Eric Blake  
1058
 
1059
        Per Posix, strsignal returns non-const char*.
1060
        * libc/include/string.h (strsignal): Fix return type.
1061
 
1062
2008-06-17  Ken Werner  
1063
 
1064
        * libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall
1065
        support.
1066
 
1067
2008-06-16  Ken Werner  
1068
 
1069
        * libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
1070
        * libc/machine/spu/sys/sched.h: Likewise.
1071
        * libc/machine/spu/sys/syscall.h: Likewise.
1072
 
1073
2008-06-16  Ken Werner  
1074
 
1075
        * libc/machine/spu/mk_syscalls: Provide .type and .size directives
1076
        in generated assembler files.
1077
        * libc/machine/spu/fprintf.S: Regenerate.
1078
        * libc/machine/spu/fscanf.S: Regenerate.
1079
        * libc/machine/spu/printf.S: Regenerate.
1080
        * libc/machine/spu/scanf.S: Regenerate.
1081
        * libc/machine/spu/snprintf.S: Regenerate.
1082
        * libc/machine/spu/sprintf.S: Regenerate.
1083
        * libc/machine/spu/sscanf.S: Regenerate.
1084
        * libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type
1085
        and .size directives.
1086
        * libc/machine/spu/setjmp.S (setjmp): Likewise.
1087
        (longjmp): Likewise.
1088
 
1089
2008-06-11  Jeff Johnston  
1090
 
1091
        * libc/include/machine/_default_types.h: Fix GNUC check to
1092
        handle 4.0 and greater.
1093
 
1094
2008-06-09  Ken Werner  
1095
 
1096
        * libc/machine/spu/Makefile.am: Add new files.
1097
        * libc/machine/spu/Makefile.in: Likewise.
1098
        * libc/machine/spu/include/spu_timer.h: New file to add timer support
1099
        using interrupts.
1100
        * libc/machine/spu/spu_clock_stop.c: Likewise.
1101
        * libc/machine/spu/spu_clock_svcs.c: Likewise.
1102
        * libc/machine/spu/spu_timer_flih.S: Likewise.
1103
        * libc/machine/spu/spu_timer_free.c: Likewise.
1104
        * libc/machine/spu/spu_timer_internal.h: Likewise.
1105
        * libc/machine/spu/spu_timer_slih.c: Likewise.
1106
        * libc/machine/spu/spu_timer_slih_reg.c: Likewise.
1107
        * libc/machine/spu/spu_timer_stop.c: Likewise.
1108
        * libc/machine/spu/spu_timer_svcs.c: Likewise.
1109
 
1110
2008-06-09  Ken Werner  
1111
 
1112
        * libc/machine/spu/strcat.c: Return value fixed.
1113
        * libc/machine/spu/strncat.c: Likewise.
1114
 
1115
2008-05-28  Eric Blake  
1116
 
1117
        Fix bug in previous patch.
1118
        * libc/machine/i386/memset.S (memset): Mask second arg correctly.
1119
 
1120
2008-05-27  Jeff Johnston  
1121
 
1122
        * libc/string/memset.c: Fix documented prototype to remove
1123
        erroneous const attribute on first parameter.
1124
 
1125
2008-05-26  Eric Blake  
1126
 
1127
        Optimize the generic and x86 memchr.
1128
        * libc/string/memchr.c (memchr) [!__OPTIMIZE_SIZE__]:
1129
        Pre-align pointer so unaligned searches aren't penalized.
1130
        * libc/machine/i386/memchr.S (memchr) [!__OPTIMIZE_SIZE__]: Word
1131
        operations are faster than repnz byte searches.
1132
 
1133
2008-05-26  Eric Blake  
1134
 
1135
        Optimize the generic and x86 memset.
1136
        * libc/string/memset.c (memset) [!__OPTIMIZE_SIZE__]:
1137
        Pre-align pointer so unaligned stores aren't penalized.
1138
        * libc/machine/i386/memset.S (memset) [!__OPTIMIZE_SIZE__]:
1139
        Pre-align pointer so unaligned stores aren't penalized.  Prefer
1140
        8-byte over 4-byte alignment.  Reduce register pressure.
1141
 
1142
2008-05-26  Eric Blake  
1143
 
1144
        Optimize the generic and x86 strlen.
1145
        * libc/string/strlen.c (strlen) [!__OPTIMIZE_SIZE__]: Pre-align
1146
        data so unaligned searches aren't penalized.
1147
        * libc/machine/i386/strlen.S (strlen) [!__OPTIMIZE_SIZE__]:
1148
        Word operations are faster than repnz byte searches.
1149
 
1150
2008-05-23  Corinna Vinschen  
1151
 
1152
        * libc/include/sys/_default_fcntl.h: Include  on Cygwin.
1153
 
1154
2008-05-22  Jeff Johnston  
1155
 
1156
        * libc/include/sys/reent.h: Add _h_errno field.
1157
        * libc/sys/linux/libc-symbols.h: Add default stubs for new libc macros
1158
        now used in net directory.
1159
        * libc/sys/linux/bits/libc-lock.h: Always define _IO_MTSAFE_IO.
1160
        * libc/sys/linux/include/hesiod.h: Add needed macros for new code
1161
        in net directory.
1162
        * libc/sys/linux/include/netdb.h: Ditto.
1163
        * libc/sys/linux/include/resolv.h: Ditto.
1164
        * libc/sys/linux/include/stdint.h: Ditto.
1165
        * libc/sys/linux/include/arpa/nameser.h: Ditto.
1166
        * libc/sys/linux/include/net/ethernet.h: Ditto.
1167
        * libc/sys/linux/include/net/if_ppp.h: Ditto.
1168
        * libc/sys/linux/include/netinet/if_ether.h: Ditto.
1169
        * libc/sys/linux/machine/i386/get_clockfreq.c: Remove static memmem.
1170
        * libc/sys/linux/machine/i386/include/endian.h: Protect macros with
1171
        flags to avoid duplicate definition.
1172
        * libc/sys/linux/machine/i386/include/param.h: Ditto.
1173
        * libc/sys/linux/net/Makefile.am: Modified to account for removed and
1174
        added files.
1175
        * libc/sys/linux/net/Makefile.in: Regenerated.
1176
        * libc/sys/linux/net/base64.c: Replaced with glibc version of code.
1177
        * libc/sys/linux/net/getaddrinfo.c: Ditto.
1178
        * libc/sys/linux/net/getnameinfo.c: Ditto.
1179
        * libc/sys/linux/net/getproto.c: Ditto.
1180
        * libc/sys/linux/net/getservent.c: Ditto.
1181
        * libc/sys/linux/net/inet_netof.c: Ditto.
1182
        * libc/sys/linux/net/inet_lnaof.c: Ditto.
1183
        * libc/sys/linux/net/ns_name.c: Ditto.
1184
        * libc/sys/linux/net/ns_netint.c: Ditto.
1185
        * libc/sys/linux/net/inet_ntoa.c: Ditto.
1186
        * libc/sys/linux/net/ns_parse.c: Ditto.
1187
        * libc/sys/linux/net/ns_print.c: Ditto.
1188
        * libc/sys/linux/net/ns_ttl.c: Ditto.
1189
        * libc/sys/linux/net/nsap_addr.c: Ditto.
1190
        * libc/sys/linux/net/rcmd.c: Ditto.
1191
        * libc/sys/linux/net/res_comp.c: Ditto.
1192
        * libc/sys/linux/net/res_data.c: Ditto.
1193
        * libc/sys/linux/net/res_debug.c: Ditto.
1194
        * libc/sys/linux/net/res_init.c: Ditto.
1195
        * libc/sys/linux/net/res_mkquery.c: Ditto.
1196
        * libc/sys/linux/net/res_query.c: Ditto.
1197
        * libc/sys/linux/net/res_send.c: Ditto.
1198
        * libc/sys/linux/net/send.c: Ditto.
1199
        * libc/sys/linux/stdlib/collate.c: Ditto.
1200
        * libc/sys/linux/sys/ioctl.h: Ditto.
1201
        * libc/sys/linux/sys/socket.h: Ditto.
1202
        * libc/sys/linux/sys/unistd.h: Ditto.
1203
        * libc/sys/linux/iconv/iconvconfig.c: Removed either because no longer
1204
        used or because licensing includes advertising clause that cannot be
1205
        ignored.
1206
        * libc/sys/linux/iconv/strtab.c: Ditto.
1207
        * libc/sys/linux/include/libc_private.h: Ditto.
1208
        * libc/sys/linux/include/nsswitch.h: Ditto.
1209
        * libc/sys/linux/include/net/if_atm.h: Ditto.
1210
        * libc/sys/linux/include/net/if_media.h: Ditto.
1211
        * libc/sys/linux/include/net/if_pppvar.h: Ditto.
1212
        * libc/sys/linux/include/netinet/if_atm.h: Ditto.
1213
        * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
1214
        * libc/sys/linux/intl/locale.alias: Ditto.
1215
        * libc/sys/linux/net/addr2ascii.3: Ditto.
1216
        * libc/sys/linux/net/bindresvport.c: Ditto.
1217
        * libc/sys/linux/net/byteorder.3: Ditto.
1218
        * libc/sys/linux/net/res_config.h: Ditto.
1219
        * libc/sys/linux/net/ether_addr.c: Ditto.
1220
        * libc/sys/linux/net/ethers.3: Ditto.
1221
        * libc/sys/linux/net/getaddrinfo.3: Ditto.
1222
        * libc/sys/linux/net/gethostbydns.c: Ditto.
1223
        * libc/sys/linux/net/gethostbyht.c: Ditto.
1224
        * libc/sys/linux/net/gethostbyname.3: Ditto.
1225
        * libc/sys/linux/net/gethostbynis.c: Ditto.
1226
        * libc/sys/linux/net/gethostnamadr.c: Ditto.
1227
        * libc/sys/linux/net/getifaddrs.3: Ditto.
1228
        * libc/sys/linux/net/getifaddrs.c: Ditto.
1229
        * libc/sys/linux/net/getipnodebyname.3: Ditto.
1230
        * libc/sys/linux/net/getnameinfo.3: Ditto.
1231
        * libc/sys/linux/net/getnetbydns.c: Ditto.
1232
        * libc/sys/linux/net/getnetbyht.c: Ditto.
1233
        * libc/sys/linux/net/getnetbynis.c: Ditto.
1234
        * libc/sys/linux/net/getnetent.3: Ditto.
1235
        * libc/sys/linux/net/getnetnamadr.c: Ditto.
1236
        * libc/sys/linux/net/getprotoent.3: Ditto.
1237
        * libc/sys/linux/net/getprotoent.c: Ditto.
1238
        * libc/sys/linux/net/getprotoname.c: Ditto.
1239
        * libc/sys/linux/net/getservbyname.c: Ditto.
1240
        * libc/sys/linux/net/getservbyport.c: Ditto.
1241
        * libc/sys/linux/net/getservent.3: Ditto.
1242
        * libc/sys/linux/net/herror.c: Ditto.
1243
        * libc/sys/linux/net/hesiod.3: Ditto.
1244
        * libc/sys/linux/net/hesiod.c: Ditto.
1245
        * libc/sys/linux/net/if_indextoname.3: Ditto.
1246
        * libc/sys/linux/net/inet.3: Ditto.
1247
        * libc/sys/linux/net/inet6_option_space.3: Ditto.
1248
        * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
1249
        * libc/sys/linux/net/inet_makeaddr.c: Ditto.
1250
        * libc/sys/linux/net/inet_net.3: Ditto.
1251
        * libc/sys/linux/net/inet_network.c: Ditto.
1252
        * libc/sys/linux/net/innetgr-stub.c: Ditto.
1253
        * libc/sys/linux/net/ip6opt.c: Ditto.
1254
        * libc/sys/linux/net/iso_addr.3: Ditto.
1255
        * libc/sys/linux/net/iso_addr.c: Ditto.
1256
        * libc/sys/linux/net/linkaddr.3: Ditto.
1257
        * libc/sys/linux/net/linkaddr.c: Ditto.
1258
        * libc/sys/linux/net/map_v4v6.c: Ditto.
1259
        * libc/sys/linux/net/name6.c: Ditto.
1260
        * libc/sys/linux/net/namespace.h: Ditto.
1261
        * libc/sys/linux/net/ns.3: Ditto.
1262
        * libc/sys/linux/net/ns_addr.c: Ditto.
1263
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
1264
        * libc/sys/linux/net/nsdispatch.3: Ditto.
1265
        * libc/sys/linux/net/nsdispatch.c: Ditto.
1266
        * libc/sys/linux/net/nslexer.c: Ditto.
1267
        * libc/sys/linux/net/nslexer.l: Ditto.
1268
        * libc/sys/linux/net/nsparser.c: Ditto.
1269
        * libc/sys/linux/net/nsparser.h: Ditto.
1270
        * libc/sys/linux/net/nsparser.y: Ditto.
1271
        * libc/sys/linux/net/rcmd.3: Ditto.
1272
        * libc/sys/linux/net/rcmdsh.3: Ditto.
1273
        * libc/sys/linux/net/res_mkupdate.c: Ditto.
1274
        * libc/sys/linux/net/res_update.c: Ditto.
1275
        * libc/sys/linux/net/resolver.3: Ditto.
1276
        * libc/sys/linux/net/rthdr.c: Ditto.
1277
        * libc/sys/linux/net/vars.c: Ditto.
1278
        * libc/sys/linux/shlib-compat.h: New file.
1279
        * libc/sys/linux/machine/i386/atomic.h: Ditto.
1280
        * libc/sys/linux/net/XXX-lookup.c: Ditto.
1281
        * libc/sys/linux/net/alias-lookup.c: Ditto.
1282
        * libc/sys/linux/net/res_libc.c: Ditto.
1283
        * libc/sys/linux/net/aliases.h: Ditto.
1284
        * libc/sys/linux/net/check_pf.c: Ditto.
1285
        * libc/sys/linux/net/databases.def: Ditto.
1286
        * libc/sys/linux/net/digits_dots.c: Ditto.
1287
        * libc/sys/linux/net/ether_aton.c: Ditto.
1288
        * libc/sys/linux/net/ether_aton_r.c: Ditto.
1289
        * libc/sys/linux/net/ether_hton.c: Ditto.
1290
        * libc/sys/linux/net/ether_line.c: Ditto.
1291
        * libc/sys/linux/net/ether_ntoa.c: Ditto.
1292
        * libc/sys/linux/net/ether_ntoa_r.c: Ditto.
1293
        * libc/sys/linux/net/ether_ntoh.c: Ditto.
1294
        * libc/sys/linux/net/etherent.h: Ditto.
1295
        * libc/sys/linux/net/ethers-lookup.c: Ditto.
1296
        * libc/sys/linux/net/function.def: Ditto.
1297
        * libc/sys/linux/net/getXXbyYY.c: Ditto.
1298
        * libc/sys/linux/net/getXXbyYY_r.c: Ditto.
1299
        * libc/sys/linux/net/getXXent.c: Ditto.
1300
        * libc/sys/linux/net/getXXent_r.c: Ditto.
1301
        * libc/sys/linux/net/getaliasent.c: Ditto.
1302
        * libc/sys/linux/net/getaliasent_r.c: Ditto.
1303
        * libc/sys/linux/net/getaliasname.c: Ditto.
1304
        * libc/sys/linux/net/getaliasname_r.c: Ditto.
1305
        * libc/sys/linux/net/gethstbyad.c: Ditto.
1306
        * libc/sys/linux/net/gethstbyad_r.c: Ditto.
1307
        * libc/sys/linux/net/gethstbynm.c: Ditto.
1308
        * libc/sys/linux/net/gethstbynm2.c: Ditto.
1309
        * libc/sys/linux/net/gethstbynm2_r.c: Ditto.
1310
        * libc/sys/linux/net/gethstbynm_r.c: Ditto.
1311
        * libc/sys/linux/net/gethstent.c: Ditto.
1312
        * libc/sys/linux/net/gethstent_r.c: Ditto.
1313
        * libc/sys/linux/net/getnetbyad.c: Ditto.
1314
        * libc/sys/linux/net/getnetbyad_r.c: Ditto.
1315
        * libc/sys/linux/net/getnetbynm.c: Ditto.
1316
        * libc/sys/linux/net/getnetbynm_r.c: Ditto.
1317
        * libc/sys/linux/net/getnetent.c: Ditto.
1318
        * libc/sys/linux/net/getnetent_r.c: Ditto.
1319
        * libc/sys/linux/net/getnetgrent.c: Ditto.
1320
        * libc/sys/linux/net/getnetgrent_r.c: Ditto.
1321
        * libc/sys/linux/net/getnssent.c: Ditto.
1322
        * libc/sys/linux/net/getnssent_r.c: Ditto.
1323
        * libc/sys/linux/net/getproto_r.c: Ditto.
1324
        * libc/sys/linux/net/getprtent.c: Ditto.
1325
        * libc/sys/linux/net/getprtent_r.c: Ditto.
1326
        * libc/sys/linux/net/getprtname.c: Ditto.
1327
        * libc/sys/linux/net/getprtname_r.c: Ditto.
1328
        * libc/sys/linux/net/getrpcbyname.c: Ditto.
1329
        * libc/sys/linux/net/getrpcbyname_r.c: Ditto.
1330
        * libc/sys/linux/net/getrpcbynumber.c: Ditto.
1331
        * libc/sys/linux/net/getrpcbynumber_r.c: Ditto.
1332
        * libc/sys/linux/net/getrpcent.c: Ditto.
1333
        * libc/sys/linux/net/getrpcent_r.c: Ditto.
1334
        * libc/sys/linux/net/getservent_r.c: Ditto.
1335
        * libc/sys/linux/net/getsrvbynm.c: Ditto.
1336
        * libc/sys/linux/net/getsrvbynm_r.c: Ditto.
1337
        * libc/sys/linux/net/getsrvbypt.c: Ditto.
1338
        * libc/sys/linux/net/getsrvbypt_r.c: Ditto.
1339
        * libc/sys/linux/net/grp-lookup.c: Ditto.
1340
        * libc/sys/linux/net/herrno.c: Ditto.
1341
        * libc/sys/linux/net/hosts-lookup.c: Ditto.
1342
        * libc/sys/linux/net/ifaddrs.h: Ditto.
1343
        * libc/sys/linux/net/ifreq.c: Ditto.
1344
        * libc/sys/linux/net/ifreq.h: Ditto.
1345
        * libc/sys/linux/net/in6_addr.c: Ditto.
1346
        * libc/sys/linux/net/inet6_option.c: Ditto.
1347
        * libc/sys/linux/net/inet_mkadr.c: Ditto.
1348
        * libc/sys/linux/net/inet_net.c: Ditto.
1349
        * libc/sys/linux/net/key-lookup.c: Ditto.
1350
        * libc/sys/linux/net/local.h: Ditto.
1351
        * libc/sys/linux/net/netgroup.h: Ditto.
1352
        * libc/sys/linux/net/netgrp-lookup.c: Ditto.
1353
        * libc/sys/linux/net/network-lookup.c: Ditto.
1354
        * libc/sys/linux/net/not-cancel.h: Ditto.
1355
        * libc/sys/linux/net/ns_samedomain.c: Ditto.
1356
        * libc/sys/linux/net/nscd-types.h: Ditto.
1357
        * libc/sys/linux/net/nss.h: Ditto.
1358
        * libc/sys/linux/net/nsswitch.c: Ditto.
1359
        * libc/sys/linux/net/nsswitch.h: Ditto.
1360
        * libc/sys/linux/net/opensock.c: Ditto.
1361
        * libc/sys/linux/net/proto-lookup.c: Ditto.
1362
        * libc/sys/linux/net/pwd-lookup.c: Ditto.
1363
        * libc/sys/linux/net/res_debug.h: Ditto.
1364
        * libc/sys/linux/net/res_hconf.c: Ditto.
1365
        * libc/sys/linux/net/res_hconf.h: Ditto.
1366
        * libc/sys/linux/net/rexec.c: Ditto.
1367
        * libc/sys/linux/net/rpc-lookup.c: Ditto.
1368
        * libc/sys/linux/net/ruserpass.c: Ditto.
1369
        * libc/sys/linux/net/service-lookup.c: Ditto.
1370
        * libc/sys/linux/net/spwd-lookup.c: Ditto.
1371
        * libc/sys/linux/net/nscd/nscd-client.h: Ditto.
1372
        * libc/sys/linux/net/nscd/nscd_proto.h: Ditto.
1373
 
1374
2008-05-21  Eric Blake  
1375
 
1376
        Optimize the generic strchr.
1377
        * libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
1378
        data so unaligned searches aren't penalized.  Special-case
1379
        searching for 0.
1380
 
1381
        Optimize strchr for x86.
1382
        * libc/machine/i386/strchr.S (strchr) [!__OPTIMIZE_SIZE__]:
1383
        Pre-align data so unaligned searches aren't penalized.
1384
        Special-case searching for 0.
1385
 
1386
2008-05-20  Nick Clifton  
1387
 
1388
        * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
1389
 
1390
2008-05-20  DJ Delorie  
1391
 
1392
        * libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.
1393
 
1394
2008-05-14  Jeff Johnston  
1395
 
1396
        * libc/include/sys/reent.h: Change _REENT_INIT... macros to
1397
        access macro parameter with parentheses around it.
1398
 
1399
2008-04-26  Mark Mitchell  
1400
 
1401
        * libc/include/stdint.h (SIZE_MIN): Remove.
1402
        (SIZE_MAX): Define.
1403
        * testsuite/newlib.stdlib/stdlib.exp: New.
1404
        * testsuite/newlib.stdlib/size_max.c: Likewise.
1405
 
1406
2008-04-29  Eric Blake  
1407
 
1408
        Fix 2008-04-14 regression in asprintf(ptr,"").
1409
        * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): Avoid stdio
1410
        baggage.
1411
        * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): Likewise.
1412
        * libc/stdio/asiprintf.c (asiprintf, _asiprintf_r): Likewise.
1413
        * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1414
        * libc/stdio/vsnprintf.c (_vsnprintf_r): Likewise.
1415
        * libc/stdio/vfprintf.c (_VFPRINTF_R) [STRING_ONLY]: Always malloc
1416
        an initial buffer for asprintf.
1417
 
1418
2008-04-24  Corinna Vinschen  
1419
 
1420
        * libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
1421
        (fstatat): Fix type of third parameter.
1422
 
1423
2008-04-25  Nick Clifton  
1424
 
1425
        * libc/machine/arm/setjmp.S: Fix thumb2 support.
1426
 
1427
2008-04-24  Nick Clifton  
1428
 
1429
        * libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
1430
        should be _DOUBLE_IS_32BITS.
1431
 
1432
2008-04-24  Corinna Vinschen  
1433
 
1434
        * libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
1435
        (UTIME_OMIT): Ditto.
1436
        (utimensat): Declare for Cygwin.
1437
        (futimens): Ditto.
1438
 
1439
2008-04-23  Ken Werner  
1440
 
1441
        * libc/include/_ansi.h: _LONG_LONG renamed to _LONG_LONG_TYPE.
1442
        * libc/include/math.h: Likewise.
1443
 
1444
2008-04-23  Corinna Vinschen  
1445
 
1446
        * libc/include/stdio.h (renameat): Declare for Cygwin.
1447
        (symlinkat): Ditto.
1448
        * libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
1449
        (faccessat): Declare for Cygwin.
1450
        (fchownat): Ditto.
1451
        (linkat): Ditto.
1452
        (readlinkat): Ditto.
1453
        * libc/include/sys/_default_fcntl.h (AT_FDCWD): Define for Cygwin.
1454
        (AT_EACCESS): Ditto.
1455
        (AT_SYMLINK_NOFOLLOW): Ditto.
1456
        (AT_SYMLINK_FOLLOW): Ditto.
1457
        (AT_REMOVEDIR): Ditto.
1458
        (futimesat): Declare for Cygwin.
1459
        (openat): Ditto.
1460
        (unlinkat): Ditto.
1461
        * libc/include/sys/stat.h (fchmodat): Ditto.
1462
        (fstatat): Ditto.
1463
        (mkdirat): Ditto.
1464
        (mkfifoat): Ditto.
1465
        (mknodat): Ditto.
1466
 
1467
2008-04-22  Nick Clifton  
1468
 
1469
        * libc/machine/arm/setjmp.S: Add support for thumb2 multiple
1470
        register load/store instructions.
1471
 
1472
2008-04-16  Patrick Mansfield  
1473
 
1474
        * libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
1475
 
1476
2008-04-16  Patrick Mansfield  
1477
 
1478
        * libc/machine/spu/impure.c: Add missing underscore to impure_data.
1479
 
1480
2008-04-14  Patrick Mansfield  
1481
 
1482
        * libc/machine/spu/impure.c: New file, supply a non-static _impure_data.
1483
        * libc/machine/spu/Makefile.am: Add new file impure.c.
1484
        * libc/machine/spu/Makefile.in: Regenerate.
1485
        * libc/machine/spu/sys/errno.h: Define errno to be _reent_data._errno.
1486
 
1487
2008-04-14  Jeff Johnston  
1488
 
1489
        * libc/stdio/Makefile.am: Build vfprintf.c and vfscanf.c with
1490
        -DSTRING_ONLY defined with and without -DINTEGER_ONLY defined
1491
        to build special versions for sprintf/sscanf family functions.
1492
        * libc/stdio/Makefile.in: Regenerated.
1493
        * libc/stdio/vfprintf.c[STRING_ONLY][INTEGER_ONLY](_VFPRINTF_R):
1494
        Redefine to be _svfiprintf_r which is optimized to work with siprintf
1495
        family of functions (i.e. no I/O) and does not support floating-point.
1496
        [STRING_ONLY][!INTEGER_ONLY](_VFPRINTF_R): Redefine to be
1497
        _svfprintf_r which is optimized to work with sprintf family of
1498
        functions and not use I/O.
1499
        [STRING_ONLY](__sprint_r): New string only version of static function.
1500
        designed to work with sprintf family of functions.
1501
        * libc/stdio/vfscanf.c[STRING_ONLY][INTEGER_ONLY](_SVFSCANF_R):
1502
        Redefine to be _ssvfiscanf_r which is optimized to work with siscanf
1503
        family of functions (i.e. no I/O) and no float-point support.
1504
        [STRING_ONLY][!INTEGER_ONLY](_SVFSCANF_R): Redefine to be
1505
        __ssvfscanf_r which is optimized to work with sscanf family of
1506
        functions and does not require I/O functions.
1507
        * libc/stdio/asprintf.c: Call _svfprintf_r instead of _vfprintf_r.
1508
        * libc/stdio/snprintf.c: Ditto.
1509
        * libc/stdio/sprintf.c: Ditto.
1510
        * libc/stdio/vasnprintf.c: Ditto.
1511
        * libc/stdio/vasprintf.c: Ditto.
1512
        * libc/stdio/siprintf.c: Call _svfiprintf_r instead of _vfiprintf_r.
1513
        * libc/stdio/sniprintf.c: Ditto.
1514
        * libc/stdio/vasiprintf.c: Ditto.
1515
        * libc/stdio/vsiprintf.c: Ditto.
1516
        * libc/stdio/vsniprintf.c: Ditto.
1517
        * libc/stdio/vsprintf.c: Ditto.
1518
        * libc/stdio/local.h: Add prototypes for _svfprintf_r, _svfiprintf_r,
1519
        _ssvfscanf_r, and _ssvfiscanf_r.
1520
        * libc/stdio/sscanf.c: Call _ssvfscanf_r instead of _svfscanf_r.
1521
        * libc/stdio/vsscanf.c: Ditto.
1522
        * libc/stdio/siscanf.c: Call _ssvfiscanf_r instead of _svfiscanf_r.
1523
        * libc/stdio/vsiscanf.c: Ditto.
1524
 
1525
2008-04-04  DJ Delorie  
1526
 
1527
        * libm/machine/spu/configure: Regenerate with autoconf 2.61.
1528
        * libc/sys/configure: Regenerate with autoconf 2.61.
1529
        * libc/machine/configure: Regenerate with autoconf 2.61.
1530
 
1531
2008-04-01 Patrick Mansfield 
1532
 
1533
        * libc/machine/spu/memcmp.c: New file for SPU optimized memcmp.
1534
        * libc/machine/spu/strncmp.h: New file supply _strncmp_internal.
1535
        * libc/machine/spu/Makefile.am: Add memcmp.c.
1536
        * libc/machine/spu/Makefile.in: Rebuild.
1537
        * libc/machine/spu/strncmp.c: Use _strncmp_internal.
1538
 
1539
2008-04-01 Patrick Mansfield 
1540
 
1541
        * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
1542
          -DMISSING_SYSCALL_NAMES.
1543
 
1544
2008-04-01 Patrick Mansfield 
1545
 
1546
        * libc/machine/spu/Makefile.am: Add assert.c.
1547
        * libc/machine/spu/Makefile.in: Regenerate.
1548
        * libc/machine/spu/assert.c: New file.
1549
 
1550
2008-03-27 Patrick Mansfield 
1551
 
1552
        * libc/include/reent.h: Define _func_r functions in this file to
1553
        func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
1554
        defined.
1555
 
1556
2008-03-27  Corinna Vinschen  
1557
 
1558
        * libc/include/sys/unistd.h: Declare lockf(2) and define lockf
1559
        constants when building for Cygwin.
1560
 
1561
2008-03-11  Jeff Johnston  
1562
 
1563
        * libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
1564
        stdin gets resolved properly before refilling.
1565
 
1566
2008-03-07  Jeff Johnston  
1567
 
1568
        * libc/include/getopt.h: Hide newlib extensions under
1569
        the __need_getopt_newlib flag.
1570
        * libc/stdlib/getopt.c: #define __need_getopt_newlib before including
1571
        getopt.h.  Put entire code under !HAVE_GETOPT to support platforms
1572
        with their own getopt implementation.
1573
        * configure.host: Specify HAVE_GETOPT for x86-linux.
1574
 
1575
2008-03-07  Jeff Johnston  
1576
 
1577
        * libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
1578
        this macro completely instead of referring to CHECK_STD_INIT which
1579
        is only found in libc/stdio/local.h.
1580
        * libc/stdio/dprintf.c: Add include of local.h.
1581
        * libc/stdio/vdprintf.c: Ditto.
1582
        * libc/stdio/vdiprintf.c: Ditto.
1583
 
1584
2008-03-04  Eric Blake  
1585
 
1586
        Fix strtod("nan()", ptr).
1587
        * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
1588
        n-char-sequence is omitted, still parse the ().
1589
 
1590
2008-03-03  Eric Blake  
1591
 
1592
        Fix ftell bug after ungetc.
1593
        * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
1594
        ftell.
1595
        * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1596
        * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
1597
        repositioning underlying fd offset.
1598
 
1599
2008-03-02  Jeff Johnston  
1600
 
1601
        * libc/include/getopt.h (no_argument): Added for glibc compatibility.
1602
        (required_argument, optional_argument): Ditto.
1603
 
1604
2008-02-29  Gregory Pietsch  
1605
 
1606
        * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
1607
        data area so as to support reentrant calls.  Change all callers
1608
        to fill in data area with global values and restore any changes
1609
        to the global values after call.
1610
        (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
1611
        to support reentrancy that add a data area argument.
1612
        * libc/include/getopt.h: Add new _r routines and provide macros
1613
        so they can be called with using double-underscores.
1614
 
1615
2008-02-21  Eric Blake  
1616
 
1617
        Fix strtod("-0x", NULL).
1618
        * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
1619
        fails.
1620
 
1621
2008-02-12  Jeff Johnston  
1622
 
1623
        * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
1624
        for user specifying --disable-newlib-io-long-long on configure.
1625
        Call _fflush_r instead of fflush.  For _mbtowc_r, pass the
1626
        reentrant pointer passed in rather than _REENT.
1627
 
1628
2008-02-12  Peter Rosin  
1629
 
1630
        * libc/stdlib/getopt.c (getopt_internal): Handle optional
1631
        arguments better for long options and short options not
1632
        appearing as the first option in a sequence.
1633
 
1634
2008-02-11  Patrick Mansfield  
1635
 
1636
        * libc/machine/spu/straddr.h: New file, supplies _straddr.
1637
        * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
1638
        * libc/machine/spu/strcpy.c: Use _strcpy.
1639
        * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
1640
        str[n]cpy and str[n]cat.
1641
        * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
1642
        * libc/machine/spu/strncpy.c: Use _strcpy.
1643
 
1644
2008-02-11  Patrick Mansfield  
1645
 
1646
        * libc/machine/spu/strlen.c: Remove the len variable and unneeded
1647
        calculation of its value.
1648
 
1649
2008-01-25  Hans-Peter Nilsson  
1650
 
1651
        * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
1652
        Make ISO C.
1653
 
1654
2008-01-21  DJ Delorie  
1655
 
1656
        * libc/sys/sh/syscalls.c (_isatty): New.
1657
 
1658
2008-01-21  Neal H. Walfield  
1659
 
1660
        * Makefile.am (crt1.o): Use correct source.
1661
        * Makefile.in: Regenerated.
1662
 
1663
2008-01-15  Eric Blake  
1664
 
1665
        * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
1666
        * libc/string/Makefile: Regenerate.
1667
 
1668
2008-01-15  Corinna Vinschen  
1669
 
1670
        * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
1671
        pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
1672
        (sigsetjmp): Use __SIGMASK_FUNC.
1673
        (siglongjmp): Ditto.
1674
        (_setjmp): Define as macro.
1675
        (_longjmp): Ditto.
1676
 
1677
2008-01-11  Eric Blake  
1678
 
1679
        Make strstr and strcasestr O(n), not O(n^2); add memmem.
1680
        * libc/string/str-two-way.h: New file.
1681
        * libc/string/memmem.c (memmem): New file.
1682
        * libc/include/string.h (memmem): Declare for all platforms.
1683
        * libc/string/strstr.c (strstr): Provide O(n) implementation when
1684
        not optimizing for space.
1685
        * libc/string/strcasestr.c (strcasestr): Likewise.
1686
        * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
1687
        (ELIX_2_SOURCES): ...this.
1688
        (ELIX_4_SOURCES): New category, for memmem.
1689
        (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
1690
        (CHEWOUT_FILES): Build documentation for memmem.
1691
        * libc/string/strings.tex: Include new docs.
1692
 
1693
2008-01-08  Jeff Johnston  
1694
 
1695
        * libc/machine/m68k/memcpy.S: Remove % from register references
1696
        as this is already handled by m68kasm.h.
1697
        * libc/machine/m68k/memset.S: Ditto.
1698
 
1699
2008-01-07  Jeff Johnston  
1700
 
1701
        * libc/machine/m68k/m68kasm.h: New file.
1702
        * libc/machine/m68k/setjmp.S: Remove common definitions and
1703
        place in m68kasm.h.  Include "m68kasm.h".
1704
        * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
1705
        SYM() macro when referencing function name.
1706
        * libc/machine/m68k/memset.S: Ditto.
1707
 
1708
2008-01-03  Jeff Johnston  
1709
 
1710
        Make isatty syscall handling consistent with other newlib syscalls.
1711
 
1712
        * libc/include/_syslist.h: Add _isatty.
1713
        * libc/include/reent.h: Add _isatty_r.
1714
        * libc/include/sys/unistd.h: Add _isatty.
1715
        * libc/posix/Makefile.am: Add new _isatty.c file.
1716
        * libc/posix/Makefile.in: Regenerated.
1717
        * libc/posix/_isatty.c: New file.
1718
        * libc/posix/isatty.c: Changed to call _isatty().
1719
        * libc/reent/Makefile.am: Add new isattyr.c file.
1720
        * libc/reent/Makefile.in: Regenerated.
1721
        * libc/reent/isattyr.c: New file.
1722
        * libc/stdio/freopen.c: Changed to call _isatty_r().
1723
        * libc/stdio/makebuf.c: Ditto.
1724
        * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
1725
        * libc/sys/arc/isatty.c: Ditto.
1726
        * libc/sys/arm/syscalls.c: Ditto.
1727
        * libc/sys/d10v/syscalls.c: Ditto.
1728
        * libc/sys/h8300hms/syscalls.c: Ditto.
1729
        * libc/sys/h8500hms/syscalls.c: Ditto.
1730
        * libc/sys/linux/Makefile.am: Add new isatty.c file.
1731
        * libc/sys/linux/Makefile.in: Regenerated.
1732
        * libc/sys/linux/isatty.c: New file.
1733
        * libc/syscalls/Makefile.am: Add new sysisatty.c file.
1734
        * libc/syscalls/Makefile.in: Regenerated.
1735
        * libc/syscalls/sysisatty.c: New file.
1736
 
1737
2008-01-02  Jeff Johnston  
1738
 
1739
        * libc/syscalls/sysclose.c: Always call reentrant version of the
1740
        underlying syscall since one is guaranteed to exist in libc/reent.
1741
        * libc/syscalls/sysexecve.c: Ditto.
1742
        * libc/syscalls/sysfcntl.c: Ditto.
1743
        * libc/syscalls/sysfork.c: Ditto.
1744
        * libc/syscalls/sysfstat.c: Ditto.
1745
        * libc/syscalls/sysgetpid.c: Ditto.
1746
        * libc/syscalls/sysgettod.c: Ditto.
1747
        * libc/syscalls/syskill.c: Ditto.
1748
        * libc/syscalls/syslink.c: Ditto.
1749
        * libc/syscalls/syslseek.c: Ditto.
1750
        * libc/syscalls/sysopen.c: Ditto.
1751
        * libc/syscalls/sysread.c: Ditto.
1752
        * libc/syscalls/syssbrk.c: Ditto.
1753
        * libc/syscalls/sysstat.c: Ditto.
1754
        * libc/syscalls/systimes.c: Ditto.
1755
        * libc/syscalls/sysunlink.c: Ditto.
1756
        * libc/syscalls/syswait.c: Ditto.
1757
        * libc/syscalls/syswrite.c: Ditto.
1758
 
1759
2007-12-19  Jeff Johnston  
1760
 
1761
        * NEWS: Update with 1.16.0 info.
1762
        * README: Ditto.
1763
        * acinclude.m4: Change version number to 1.16.0.
1764
        * aclocal.m4: Regenerated.
1765
        * configure: Ditto.
1766
        * doc/aclocal.m4: Ditto.
1767
        * doc/configure: Ditto.
1768
        * libc/*/aclocal.m4: Ditto.
1769
        * libc/*/configure: Ditto.
1770
        * libc/libc.texinfo: Ditto.
1771
        * libm/*/aclocal.m4: Ditto.
1772
        * libm/*/configure: Ditto.
1773
        * libm/libm.texinfo: Ditto.
1774
        * libc/sys/linux/shared.ld: Add VERS_1.16.
1775
 
1776
2007-12-19  Jeff Johnston  
1777
 
1778
        * libc/string/strcasestr.c: Remove id macro.
1779
        * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
1780
        field reference to be __sched_priority.
1781
        * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
1782
        * libc/sys/linux/linuxthreads/manager.c: Ditto.
1783
        * libc/sys/linux/stdlib/collate.c: Remove id macro.
1784
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
1785
        * libc/sys/linux/stdlib/engine.c: Ditto.
1786
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
1787
        * libc/sys/linux/stdlib/glob.c: Ditto.
1788
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
1789
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
1790
        * libc/sys/linux/stdlib/regerror.c: Ditto.
1791
        * libc/sys/linux/stdlib/regexec.c: Ditto.
1792
        * libc/sys/linux/stdlib/regfree.c: Ditto.
1793
        * libc/sys/linux/sys/cdefs.h: Replace with latest version.
1794
        * libc/sys/linux/include/argp.h: Ditto.
1795
        * libc/sys/linux/sys/libc-lock.h: New file.
1796
        * libc/sys/linux/sys/stdint.h: Ditto.
1797
        * libc/sys/linux/include/sched.h: New file.
1798
 
1799
2007-12-19  Dave Korn  
1800
            Jeff Johnston  
1801
 
1802
        * libc/include/_ansi.h: Add _LONG_LONG definition.
1803
        * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
1804
        prototypes.
1805
        * libc/machine/i386/machine/fastmath.h: Add support for new i386
1806
        fast math versions of rint, lrint, and llrint family functions.
1807
        * libm/machine/i386/Makefile.am: Add new files.
1808
        * libm/machine/i386/Makefile.in: Regenerated.
1809
        * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
1810
        libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
1811
        libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
1812
        libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
1813
        libm/machine/i386/f_rintl.c:  New files with fast math implementations.
1814
 
1815
2007-12-19  Jeff Johnston  
1816
 
1817
        * libc/include/sys/features.h: Add checks for C90 compilers using
1818
        -ansi.
1819
 
1820
2007-12-19  Corinna Vinschen  
1821
 
1822
        * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
1823
        * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
1824
        wcpncpy.c.
1825
        (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
1826
        * libc/string/Makefile.in: Regenerate.
1827
        * libc/string/wcpcpy.c: New file.
1828
        * libc/string/wcpncpy.c: New file.
1829
        * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
1830
 
1831
2007-12-19  Corinna Vinschen  
1832
 
1833
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
1834
        _wcsrtombs_r.
1835
 
1836
2007-11-19  Nick Clifton  
1837
 
1838
        * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
1839
        * libc/machine/mn10300/Makefile.in: Regenerate.
1840
        * libc/machine/mn10300/memchar.S: Remove redundant labels.  Add
1841
        .debug_frame section.
1842
        * libc/machine/mn10300/memcmp.S: Likewise.
1843
        * libc/machine/mn10300/memcpy.S: Likewise.
1844
        * libc/machine/mn10300/memset.S: Likewise.
1845
        * libc/machine/mn10300/strchr.S: Likewise.
1846
        * libc/machine/mn10300/strcmp.S: Likewise.
1847
        * libc/machine/mn10300/strcpy.S: Likewise.
1848
        * libc/machine/mn10300/strlen.S: Likewise.
1849
 
1850
2007-11-15  Jeff Johnston  
1851
 
1852
        * libc/include/sys/_default_fcntl.h: New header file that
1853
        is the default version of sys/fcntl.h.
1854
        * libc/include/sys/fcntl.h: Changed to simply include
1855
        sys/_default_fcntl.h.
1856
        * libc/sys/arm/sys/fcntl.h: New file that includes
1857
        sys/_default_fcntl.h and defines O_BINARY.
1858
 
1859
2007-11-08  Corinna Vinschen  
1860
 
1861
        * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
1862
 
1863
2007-11-07  Dave Brolley  
1864
 
1865
        * libc/machine/configure: Regenerated to pick up mep-elf changes.
1866
 
1867
        * Contribute mep-elf from Red Hat
1868
        2006-10-27  DJ Delorie  
1869
 
1870
        * libc/include/machine/setjmp.h: Add MeP support.
1871
 
1872
        2003-04-17  DJ Delorie  
1873
 
1874
        * configure.host (mep-*-*): Support "long long" type.
1875
 
1876
        2001-06-06  DJ Delorie  
1877
 
1878
        * libc/include/machine/ieeefp.h (mep): Support little endian too.
1879
 
1880
        2001-05-14  DJ Delorie  
1881
 
1882
        * configure.host: Add mep's machine_dir.
1883
        * libc/include/setjmp.h: Add mep support.
1884
        * libc/machine/mep: New.
1885
        * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
1886
 
1887
        2001-05-04  DJ Delorie  
1888
 
1889
        * configure.host: Add mep.
1890
        * libc/include/machine/ieeefp.h: Ditto.
1891
 
1892
2007-10-31  DJ Delorie  
1893
 
1894
        * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
1895
        signal table, just use a default, in case initialization cause
1896
        recursion.
1897
 
1898
2007-10-23  Jeff Johnston  
1899
 
1900
        * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
1901
        size if output buffer is NULL.
1902
 
1903
2007-10-17  Jeff Johnston  
1904
 
1905
        * libm/mathfp/s_logarithm.c: Fix error introduced by previous
1906
        fix when handling negative input values.  Make function
1907
        consistent with math directory and glibc version such that
1908
        inf and nan values return inf and nan respectively with no
1909
        errno setting.
1910
        * libm/mathfp/sf_logarithm.c: Ditto.
1911
        * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
1912
        * libm/math/wf_log.c: Ditto.
1913
        * libm/math/w_log10.c: Ditto.
1914
        * libm/math/wf_log10.c: Ditto.
1915
 
1916
2007-10-17  Jeff Johnston  
1917
 
1918
        * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
1919
        return -inf.
1920
        * libm/mathfp/sf_logarithm.c: Ditto.
1921
 
1922
2007-10-17  Jeff Johnston  
1923
 
1924
        * libc/machine/i386/machine/fastmath.h: New file.
1925
 
1926
2007-10-13  Eric Blake  
1927
 
1928
        * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
1929
        Correctly nest else within conditionals.
1930
        Reported by Artur Lipowski.
1931
 
1932
2007-10-09  Nick Clifton  
1933
 
1934
        * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
1935
        the STT_COMMON type.
1936
 
1937
2007-10-09  Ben Elliston  
1938
 
1939
        * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
1940
        before simdmath.h to get a definition for `vector'.
1941
        * libm/machine/spu/headers/asind2.h: Likewise.
1942
 
1943
2007-09-28  Patrick Mansfield  
1944
 
1945
        * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
1946
        * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
1947
        * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
1948
        * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
1949
        * libm/machine/spu/headers/acos.h: Add domain check.
1950
        * libm/machine/spu/headers/acosf.h: Ditto.
1951
        * libm/machine/spu/headers/acosh.h: Ditto.
1952
        * libm/machine/spu/headers/acoshf.h: Ditto.
1953
        * libm/machine/spu/headers/asin.h: Ditto.
1954
        * libm/machine/spu/headers/asinf.h: Ditto.
1955
        * libm/machine/spu/headers/atanh.h: Ditto.
1956
        * libm/machine/spu/headers/atanhf.h: Ditto.
1957
        * libm/machine/spu/headers/fmod.h: Ditto.
1958
        * libm/machine/spu/headers/fmodf.h: Ditto.
1959
        * libm/machine/spu/headers/log.h: Ditto.
1960
        * libm/machine/spu/headers/log10.h: Ditto.
1961
        * libm/machine/spu/headers/log1p.h: Ditto.
1962
        * libm/machine/spu/headers/log1pf.h: Ditto.
1963
        * libm/machine/spu/headers/log2.h: Ditto.
1964
        * libm/machine/spu/headers/log2f.h: Ditto.
1965
        * libm/machine/spu/headers/sqrt.h: Ditto.
1966
        * libm/machine/spu/headers/sqrtf.h: Ditto.
1967
        * libm/machine/spu/headers/tgamma.h: Ditto.
1968
        * libm/machine/spu/headers/tgammaf.h: Ditto.
1969
 
1970
2007-09-28  Patrick Mansfield  
1971
 
1972
        * libm/machine/spu/Makefile.am: Add new C files.
1973
        * libm/machine/spu/Makefile.in: Regenerate.
1974
        * libm/machine/spu/headers/acos.h: New file.
1975
        * libm/machine/spu/headers/acosd2.h: Ditto.
1976
        * libm/machine/spu/headers/acosf.h: Ditto.
1977
        * libm/machine/spu/headers/acosf4.h: Ditto.
1978
        * libm/machine/spu/headers/acosh.h: Ditto.
1979
        * libm/machine/spu/headers/acoshd2.h: Ditto.
1980
        * libm/machine/spu/headers/acoshf.h: Ditto.
1981
        * libm/machine/spu/headers/acoshf4.h: Ditto.
1982
        * libm/machine/spu/headers/asin.h: Ditto.
1983
        * libm/machine/spu/headers/asind2.h: Ditto.
1984
        * libm/machine/spu/headers/asinf.h: Ditto.
1985
        * libm/machine/spu/headers/asinf4.h: Ditto.
1986
        * libm/machine/spu/headers/asinh.h: Ditto.
1987
        * libm/machine/spu/headers/asinhd2.h: Ditto.
1988
        * libm/machine/spu/headers/asinhf.h: Ditto.
1989
        * libm/machine/spu/headers/asinhf4.h: Ditto.
1990
        * libm/machine/spu/headers/atan.h: Ditto.
1991
        * libm/machine/spu/headers/atan2.h: Ditto.
1992
        * libm/machine/spu/headers/atan2d2.h: Ditto.
1993
        * libm/machine/spu/headers/atan2f.h: Ditto.
1994
        * libm/machine/spu/headers/atan2f4.h: Ditto.
1995
        * libm/machine/spu/headers/atand2.h: Ditto.
1996
        * libm/machine/spu/headers/atanf4.h: Ditto.
1997
        * libm/machine/spu/headers/atanh.h: Ditto.
1998
        * libm/machine/spu/headers/atanhd2.h: Ditto.
1999
        * libm/machine/spu/headers/atanhf.h: Ditto.
2000
        * libm/machine/spu/headers/atanhf4.h: Ditto.
2001
        * libm/machine/spu/headers/cos.h: Ditto.
2002
        * libm/machine/spu/headers/cos_sin.h: Ditto.
2003
        * libm/machine/spu/headers/cosd2.h: Ditto.
2004
        * libm/machine/spu/headers/cosf.h: Ditto.
2005
        * libm/machine/spu/headers/cosf4.h: Ditto.
2006
        * libm/machine/spu/headers/cosh.h: Ditto.
2007
        * libm/machine/spu/headers/coshd2.h: Ditto.
2008
        * libm/machine/spu/headers/coshf.h: Ditto.
2009
        * libm/machine/spu/headers/coshf4.h: Ditto.
2010
        * libm/machine/spu/headers/divd2.h: Ditto.
2011
        * libm/machine/spu/headers/divf4.h: Ditto.
2012
        * libm/machine/spu/headers/erf.h: Ditto.
2013
        * libm/machine/spu/headers/erf_utils.h: Ditto.
2014
        * libm/machine/spu/headers/erfc.h: Ditto.
2015
        * libm/machine/spu/headers/erfcd2.h: Ditto.
2016
        * libm/machine/spu/headers/erfcf.h: Ditto.
2017
        * libm/machine/spu/headers/erfcf4.h: Ditto.
2018
        * libm/machine/spu/headers/erfd2.h: Ditto.
2019
        * libm/machine/spu/headers/erff.h: Ditto.
2020
        * libm/machine/spu/headers/erff4.h: Ditto.
2021
        * libm/machine/spu/headers/exp.h: Ditto.
2022
        * libm/machine/spu/headers/exp2.h: Ditto.
2023
        * libm/machine/spu/headers/exp2d2.h: Ditto.
2024
        * libm/machine/spu/headers/exp2f4.h: Ditto.
2025
        * libm/machine/spu/headers/expd2.h: Ditto.
2026
        * libm/machine/spu/headers/expf4.h: Ditto.
2027
        * libm/machine/spu/headers/expm1.h: Ditto.
2028
        * libm/machine/spu/headers/expm1d2.h: Ditto.
2029
        * libm/machine/spu/headers/expm1f.h: Ditto.
2030
        * libm/machine/spu/headers/expm1f4.h: Ditto.
2031
        * libm/machine/spu/headers/floord2.h: Ditto.
2032
        * libm/machine/spu/headers/floorf4.h: Ditto.
2033
        * libm/machine/spu/headers/hypot.h: Ditto.
2034
        * libm/machine/spu/headers/hypotd2.h: Ditto.
2035
        * libm/machine/spu/headers/hypotf.h: Ditto.
2036
        * libm/machine/spu/headers/hypotf4.h: Ditto.
2037
        * libm/machine/spu/headers/isnan.h: Ditto.
2038
        * libm/machine/spu/headers/isnand2.h: Ditto.
2039
        * libm/machine/spu/headers/isnanf.h: Ditto.
2040
        * libm/machine/spu/headers/isnanf4.h: Ditto.
2041
        * libm/machine/spu/headers/ldexpd2.h: Ditto.
2042
        * libm/machine/spu/headers/ldexpf4.h: Ditto.
2043
        * libm/machine/spu/headers/lgamma.h: Ditto.
2044
        * libm/machine/spu/headers/lgammad2.h: Ditto.
2045
        * libm/machine/spu/headers/lgammaf.h: Ditto.
2046
        * libm/machine/spu/headers/lgammaf4.h: Ditto.
2047
        * libm/machine/spu/headers/log.h: Ditto.
2048
        * libm/machine/spu/headers/log10.h: Ditto.
2049
        * libm/machine/spu/headers/log10d2.h: Ditto.
2050
        * libm/machine/spu/headers/log1p.h: Ditto.
2051
        * libm/machine/spu/headers/log1pd2.h: Ditto.
2052
        * libm/machine/spu/headers/log1pf.h: Ditto.
2053
        * libm/machine/spu/headers/log1pf4.h: Ditto.
2054
        * libm/machine/spu/headers/log2.h: Ditto.
2055
        * libm/machine/spu/headers/log2d2.h: Ditto.
2056
        * libm/machine/spu/headers/log2f4.h: Ditto.
2057
        * libm/machine/spu/headers/logbf.h: Ditto.
2058
        * libm/machine/spu/headers/logbf4.h: Ditto.
2059
        * libm/machine/spu/headers/logd2.h: Ditto.
2060
        * libm/machine/spu/headers/logf4.h: Ditto.
2061
        * libm/machine/spu/headers/nearbyintf.h: Ditto.
2062
        * libm/machine/spu/headers/nearbyintf4.h: Ditto.
2063
        * libm/machine/spu/headers/nextafter.h: Ditto.
2064
        * libm/machine/spu/headers/nextafterd2.h: Ditto.
2065
        * libm/machine/spu/headers/nextafterf.h: Ditto.
2066
        * libm/machine/spu/headers/nextafterf4.h: Ditto.
2067
        * libm/machine/spu/headers/pow.h: Ditto.
2068
        * libm/machine/spu/headers/powd2.h: Ditto.
2069
        * libm/machine/spu/headers/powf.h: Ditto.
2070
        * libm/machine/spu/headers/powf4.h: Ditto.
2071
        * libm/machine/spu/headers/recipd2.h: Ditto.
2072
        * libm/machine/spu/headers/recipf4.h: Ditto.
2073
        * libm/machine/spu/headers/rintf.h: Ditto.
2074
        * libm/machine/spu/headers/rintf4.h: Ditto.
2075
        * libm/machine/spu/headers/scalbnf4.h: Ditto.
2076
        * libm/machine/spu/headers/signbit.h: Ditto.
2077
        * libm/machine/spu/headers/signbitd2.h: Ditto.
2078
        * libm/machine/spu/headers/simdmath.h: Ditto.
2079
        * libm/machine/spu/headers/sin.h: Ditto.
2080
        * libm/machine/spu/headers/sincos.h: Ditto.
2081
        * libm/machine/spu/headers/sincosd2.h: Ditto.
2082
        * libm/machine/spu/headers/sincosf.h: Ditto.
2083
        * libm/machine/spu/headers/sincosf4.h: Ditto.
2084
        * libm/machine/spu/headers/sind2.h: Ditto.
2085
        * libm/machine/spu/headers/sinf.h: Ditto.
2086
        * libm/machine/spu/headers/sinf4.h: Ditto.
2087
        * libm/machine/spu/headers/sinh.h: Ditto.
2088
        * libm/machine/spu/headers/sinhd2.h: Ditto.
2089
        * libm/machine/spu/headers/sinhf.h: Ditto.
2090
        * libm/machine/spu/headers/sinhf4.h: Ditto.
2091
        * libm/machine/spu/headers/sqrtd2.h: Ditto.
2092
        * libm/machine/spu/headers/sqrtf.h: Ditto.
2093
        * libm/machine/spu/headers/sqrtf4.h: Ditto.
2094
        * libm/machine/spu/headers/tan.h: Ditto.
2095
        * libm/machine/spu/headers/tand2.h: Ditto.
2096
        * libm/machine/spu/headers/tanf.h: Ditto.
2097
        * libm/machine/spu/headers/tanf4.h: Ditto.
2098
        * libm/machine/spu/headers/tanh.h: Ditto.
2099
        * libm/machine/spu/headers/tanhd2.h: Ditto.
2100
        * libm/machine/spu/headers/tanhf.h: Ditto.
2101
        * libm/machine/spu/headers/tanhf4.h: Ditto.
2102
        * libm/machine/spu/headers/tgamma.h: Ditto.
2103
        * libm/machine/spu/headers/tgammad2.h: Ditto.
2104
        * libm/machine/spu/headers/tgammaf.h: Ditto.
2105
        * libm/machine/spu/headers/tgammaf4.h: Ditto.
2106
        * libm/machine/spu/headers/truncd2.h: Ditto.
2107
        * libm/machine/spu/headers/truncf4.h: Ditto.
2108
        * libm/machine/spu/log2.c: Ditto.
2109
        * libm/machine/spu/s_asinh.c: Ditto.
2110
        * libm/machine/spu/s_atan.c: Ditto.
2111
        * libm/machine/spu/s_cos.c: Ditto.
2112
        * libm/machine/spu/s_erf.c: Ditto.
2113
        * libm/machine/spu/s_expm1.c: Ditto.
2114
        * libm/machine/spu/s_isnan.c: Ditto.
2115
        * libm/machine/spu/s_log1p.c: Ditto.
2116
        * libm/machine/spu/s_nextafter.c: Ditto.
2117
        * libm/machine/spu/s_sin.c: Ditto.
2118
        * libm/machine/spu/s_tan.c: Ditto.
2119
        * libm/machine/spu/s_tanh.c: Ditto.
2120
        * libm/machine/spu/sf_asinh.c: Ditto.
2121
        * libm/machine/spu/sf_cos.c: Ditto.
2122
        * libm/machine/spu/sf_erf.c: Ditto.
2123
        * libm/machine/spu/sf_expm1.c: Ditto.
2124
        * libm/machine/spu/sf_log1p.c: Ditto.
2125
        * libm/machine/spu/sf_logb.c: Ditto.
2126
        * libm/machine/spu/sf_nearbyint.c: Ditto.
2127
        * libm/machine/spu/sf_nextafter.c: Ditto.
2128
        * libm/machine/spu/sf_rint.c: Ditto.
2129
        * libm/machine/spu/sf_sin.c: Ditto.
2130
        * libm/machine/spu/sf_tan.c: Ditto.
2131
        * libm/machine/spu/sf_tanh.c: Ditto.
2132
        * libm/machine/spu/w_acos.c: Ditto.
2133
        * libm/machine/spu/w_acosh.c: Ditto.
2134
        * libm/machine/spu/w_asin.c: Ditto.
2135
        * libm/machine/spu/w_atan2.c: Ditto.
2136
        * libm/machine/spu/w_atanh.c: Ditto.
2137
        * libm/machine/spu/w_cosh.c: Ditto.
2138
        * libm/machine/spu/w_exp.c: Ditto.
2139
        * libm/machine/spu/w_exp2.c: Ditto.
2140
        * libm/machine/spu/w_hypot.c: Ditto.
2141
        * libm/machine/spu/w_lgamma.c: Ditto.
2142
        * libm/machine/spu/w_log.c: Ditto.
2143
        * libm/machine/spu/w_log10.c: Ditto.
2144
        * libm/machine/spu/w_pow.c: Ditto.
2145
        * libm/machine/spu/w_sincos.c: Ditto.
2146
        * libm/machine/spu/w_sinh.c: Ditto.
2147
        * libm/machine/spu/w_tgamma.c: Ditto.
2148
        * libm/machine/spu/wf_acos.c: Ditto.
2149
        * libm/machine/spu/wf_acosh.c: Ditto.
2150
        * libm/machine/spu/wf_asin.c: Ditto.
2151
        * libm/machine/spu/wf_atan2.c: Ditto.
2152
        * libm/machine/spu/wf_atanh.c: Ditto.
2153
        * libm/machine/spu/wf_cosh.c: Ditto.
2154
        * libm/machine/spu/wf_hypot.c: Ditto.
2155
        * libm/machine/spu/wf_lgamma.c: Ditto.
2156
        * libm/machine/spu/wf_pow.c: Ditto.
2157
        * libm/machine/spu/wf_sincos.c: Ditto.
2158
        * libm/machine/spu/wf_sinh.c: Ditto.
2159
        * libm/machine/spu/wf_sqrt.c: Ditto.
2160
        * libm/machine/spu/wf_tgamma.c: Ditto.
2161
 
2162
2007-09-28  Patrick Mansfield  
2163
 
2164
        * configure.host: Define _POSIX_MODE to match the existing vector
2165
        math code, as we don't support the matherr callout.
2166
        * libm/machine/spu/Makefile.am: New file.
2167
        * libm/machine/spu/Makefile.in: Auto-generated.
2168
        * libm/machine/spu/headers/atanf.h: New file.
2169
        * libm/machine/spu/headers/cbrt.h: Ditto.
2170
        * libm/machine/spu/headers/cbrtf.h: Ditto.
2171
        * libm/machine/spu/headers/ceil.h: Ditto.
2172
        * libm/machine/spu/headers/ceilf.h: Ditto.
2173
        * libm/machine/spu/headers/copysign.h: Ditto.
2174
        * libm/machine/spu/headers/copysignf.h: Ditto.
2175
        * libm/machine/spu/headers/exp2f.h: Ditto.
2176
        * libm/machine/spu/headers/expf.h: Ditto.
2177
        * libm/machine/spu/headers/fabs.h: Ditto.
2178
        * libm/machine/spu/headers/fabsf.h: Ditto.
2179
        * libm/machine/spu/headers/fdim.h: Ditto.
2180
        * libm/machine/spu/headers/fdimf.h: Ditto.
2181
        * libm/machine/spu/headers/floor.h: Ditto.
2182
        * libm/machine/spu/headers/floorf.h: Ditto.
2183
        * libm/machine/spu/headers/fma.h: Ditto.
2184
        * libm/machine/spu/headers/fmaf.h: Ditto.
2185
        * libm/machine/spu/headers/fmax.h: Ditto.
2186
        * libm/machine/spu/headers/fmaxf.h: Ditto.
2187
        * libm/machine/spu/headers/fmin.h: Ditto.
2188
        * libm/machine/spu/headers/fminf.h: Ditto.
2189
        * libm/machine/spu/headers/fmod.h: Ditto.
2190
        * libm/machine/spu/headers/fmodf.h: Ditto.
2191
        * libm/machine/spu/headers/frexp.h: Ditto.
2192
        * libm/machine/spu/headers/frexpf.h: Ditto.
2193
        * libm/machine/spu/headers/ilogb.h: Ditto.
2194
        * libm/machine/spu/headers/ilogbf.h: Ditto.
2195
        * libm/machine/spu/headers/ldexp.h: Ditto.
2196
        * libm/machine/spu/headers/ldexpf.h: Ditto.
2197
        * libm/machine/spu/headers/llrint.h: Ditto.
2198
        * libm/machine/spu/headers/llrintf.h: Ditto.
2199
        * libm/machine/spu/headers/llround.h: Ditto.
2200
        * libm/machine/spu/headers/llroundf.h: Ditto.
2201
        * libm/machine/spu/headers/log10f.h: Ditto.
2202
        * libm/machine/spu/headers/log2f.h: Ditto.
2203
        * libm/machine/spu/headers/logf.h: Ditto.
2204
        * libm/machine/spu/headers/lrint.h: Ditto.
2205
        * libm/machine/spu/headers/lrintf.h: Ditto.
2206
        * libm/machine/spu/headers/lround.h: Ditto.
2207
        * libm/machine/spu/headers/lroundf.h: Ditto.
2208
        * libm/machine/spu/headers/nearbyint.h: Ditto.
2209
        * libm/machine/spu/headers/remainder.h: Ditto.
2210
        * libm/machine/spu/headers/remainderf.h: Ditto.
2211
        * libm/machine/spu/headers/remquo.h: Ditto.
2212
        * libm/machine/spu/headers/remquof.h: Ditto.
2213
        * libm/machine/spu/headers/rint.h: Ditto.
2214
        * libm/machine/spu/headers/round.h: Ditto.
2215
        * libm/machine/spu/headers/roundf.h: Ditto.
2216
        * libm/machine/spu/headers/scalbn.h: Ditto.
2217
        * libm/machine/spu/headers/scalbnf.h: Ditto.
2218
        * libm/machine/spu/headers/sqrt.h: Ditto.
2219
        * libm/machine/spu/headers/trunc.h: Ditto.
2220
        * libm/machine/spu/headers/truncf.h: Ditto.
2221
        * libm/machine/spu/headers/vec_literal.h: Ditto.
2222
        * libm/machine/spu/llrint.c: Ditto.
2223
        * libm/machine/spu/llrintf.c: Ditto.
2224
        * libm/machine/spu/llround.c: Ditto.
2225
        * libm/machine/spu/llroundf.c: Ditto.
2226
        * libm/machine/spu/log2f.c: Ditto.
2227
        * libm/machine/spu/s_cbrt.c: Ditto.
2228
        * libm/machine/spu/s_ceil.c: Ditto.
2229
        * libm/machine/spu/s_copysign.c: Ditto.
2230
        * libm/machine/spu/s_fabs.c: Ditto.
2231
        * libm/machine/spu/s_fdim.c: Ditto.
2232
        * libm/machine/spu/s_floor.c: Ditto.
2233
        * libm/machine/spu/s_fma.c: Ditto.
2234
        * libm/machine/spu/s_fmax.c: Ditto.
2235
        * libm/machine/spu/s_fmin.c: Ditto.
2236
        * libm/machine/spu/s_frexp.c: Ditto.
2237
        * libm/machine/spu/s_ilogb.c: Ditto.
2238
        * libm/machine/spu/s_ldexp.c: Ditto.
2239
        * libm/machine/spu/s_lrint.c: Ditto.
2240
        * libm/machine/spu/s_lround.c: Ditto.
2241
        * libm/machine/spu/s_nearbyint.c: Ditto.
2242
        * libm/machine/spu/s_remquo.c: Ditto.
2243
        * libm/machine/spu/s_rint.c: Ditto.
2244
        * libm/machine/spu/s_round.c: Ditto.
2245
        * libm/machine/spu/s_scalbn.c: Ditto.
2246
        * libm/machine/spu/s_trunc.c: Ditto.
2247
        * libm/machine/spu/sf_atan.c: Ditto.
2248
        * libm/machine/spu/sf_cbrt.c: Ditto.
2249
        * libm/machine/spu/sf_ceil.c: Ditto.
2250
        * libm/machine/spu/sf_copysign.c: Ditto.
2251
        * libm/machine/spu/sf_fabs.c: Ditto.
2252
        * libm/machine/spu/sf_fdim.c: Ditto.
2253
        * libm/machine/spu/sf_floor.c: Ditto.
2254
        * libm/machine/spu/sf_fma.c: Ditto.
2255
        * libm/machine/spu/sf_fmax.c: Ditto.
2256
        * libm/machine/spu/sf_fmin.c: Ditto.
2257
        * libm/machine/spu/sf_frexp.c: Ditto.
2258
        * libm/machine/spu/sf_ilogb.c: Ditto.
2259
        * libm/machine/spu/sf_ldexp.c: Ditto.
2260
        * libm/machine/spu/sf_lrint.c: Ditto.
2261
        * libm/machine/spu/sf_lround.c: Ditto.
2262
        * libm/machine/spu/sf_remquo.c: Ditto.
2263
        * libm/machine/spu/sf_round.c: Ditto.
2264
        * libm/machine/spu/sf_scalbn.c: Ditto.
2265
        * libm/machine/spu/sf_trunc.c: Ditto.
2266
        * libm/machine/spu/w_fmod.c: Ditto.
2267
        * libm/machine/spu/w_remainder.c: Ditto.
2268
        * libm/machine/spu/w_sqrt.c: Ditto.
2269
        * libm/machine/spu/wf_exp.c: Ditto.
2270
        * libm/machine/spu/wf_exp2.c: Ditto.
2271
        * libm/machine/spu/wf_fmod.c: Ditto.
2272
        * libm/machine/spu/wf_log.c: Ditto.
2273
        * libm/machine/spu/wf_log10.c: Ditto.
2274
        * libm/machine/spu/wf_remainder.c: Ditto.
2275
 
2276
2007-09-21  Patrick Mansfield  
2277
 
2278
        * libc/machine/spu/sys/uio.h: New file for readv and writev use.
2279
 
2280
2007-09-21  Patrick Mansfield  
2281
 
2282
        * libc/include/sched.h: New file, just include sys/sched.h.
2283
        * libc/machine/spu/sys/sched.h: New file, has just sched_yield
2284
        prototype.
2285
        * libc/machine/spu/sys/utime.h: New file, has utime prototype and
2286
        struct utimbuf definition.
2287
 
2288
2007-09-21  Patrick Mansfield  
2289
 
2290
        * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
2291
        specific struct and typedef.
2292
 
2293
2007-09-18  Patrick Mansfield  
2294
 
2295
        * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
2296
        typedef dev_t, gid_t, and uid_t.
2297
        * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
2298
        types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
2299
        Change to lower case for all __foo_t_defined names.
2300
        * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
2301
        __uid_t, and __gid_t making them all four bytes. Change to lower case
2302
        for all __foo_t_defined names.
2303
 
2304
2007-09-18  Jeff Johnston  
2305
 
2306
        * libc/reent/renamer.c: New file.
2307
        * libc/reent/Makefile.am: Add new file.
2308
        * libc/reent/Makefile.in: Regenerated.
2309
        * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
2310
        and add check for rename syscall.
2311
 
2312
2007-09-17  Eric Blake  
2313
 
2314
        Obey POSIX on printf("%.s", (char*)NULL).
2315
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
2316
        for %s on NULL.  Skip NULL check when optimizing for size.
2317
 
2318
2007-09-07  Jeff Johnston  
2319
 
2320
        * libc/include/sys/_types.h: Protect all types with flag
2321
        checks to allow definition in machine/_types.h.
2322
 
2323
2007-09-07  Jeff Johnston  
2324
 
2325
        * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
2326
        definitions in light of the previous change.
2327
 
2328
2007-09-07  Patrick Mansfield  
2329
 
2330
        * libc/include/machine/_default_types.h: New file, contains what
2331
        was previously in libc/include/machine/_types.h.
2332
        * libc/include/machine/_types.h: Now only includes
2333
        machine/_default_types.h.
2334
        * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
2335
        * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
2336
        with conditional declarations.
2337
        * libc/machine/spu/machine/_types.h: New file, add SPU specific
2338
        typedefs for _fpos_t and _fpos64_t.
2339
 
2340
2007-09-07  Jeff Johnston  
2341
 
2342
        * libc/include/math.h (_M_LOG2E): Replace with..
2343
        (_M_LOG2_E): New macro.
2344
        (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
2345
 
2346
2007-09-06  Brian Dessent  
2347
 
2348
        * libc/reent/getreent.c: Allow for case where __getreent is
2349
        defined as a macro.
2350
 
2351
2007-09-06  Jeff Johnston  
2352
 
2353
        * libc/include/math.h (_M_LOG2E): New log2 of e macro.
2354
        (log2): Use _M_LOG2E instead of M_LOG2E.
2355
        (log2f): Ditto.
2356
        (M_LOG2E): Define to be _M_LOG2E.
2357
 
2358
2007-09-04  Kazunori Asayama 
2359
 
2360
        * libm/math/wf_tgamma.c: Add missing include.
2361
 
2362
2007-08-31  Antony King  
2363
 
2364
        * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
2365
        bits and redefine associated dword0 macro (rvalue issue).
2366
        * libc/stdio/vfieeefp.h: Ditto.
2367
        * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2368
        to prevent setting dword1 which is an rvalue only.
2369
 
2370
2007-08-28  Hans Kester  
2371
 
2372
        * configure.host: Added support for x86_64.
2373
        * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
2374
        * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
2375
        * libc/machine/x86_64/aclocal.m4: Generated.
2376
        * libc/machine/x86_64/configure.in: New.
2377
        * libc/machine/x86_64/configure: Generated.
2378
        * libc/machine/x86_64/Makefile.am: New.
2379
        * libc/machine/x86_64/Makefile.in: Generated.
2380
        * libc/machine/x86_64/setjmp.S: New.
2381
        * libc/machine/x86_64/memcpy.S: New.
2382
        * libc/machine/x86_64/memset.S: New.
2383
        * libc/machine/configure.in: Added support for x86_64.
2384
        * libc/machine/configure: Regenerated.
2385
 
2386
2007-08-24  Jeff Johnston  
2387
 
2388
        * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
2389
        to int before comparing it to a signed int value.
2390
 
2391
2007-08-24  Hans-Peter Nilsson  
2392
 
2393
        * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
2394
        (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
2395
        Define.
2396
 
2397
2007-08-23  Hidetaka Takano  
2398
 
2399
        Reduce the memory consumption of variable argument functions
2400
        for SPU (cell):
2401
        * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
2402
          to assembler sources.
2403
        * libc/machine/spu/Makefile.in: Regenerated.
2404
        * libc/machine/spu/stdio.c: Add __check_init function wrapping
2405
          CHECK_INIT macro to use from assembler routines.
2406
        * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
2407
        * libc/machine/spu/fiprintf.S: New file.
2408
        * libc/machine/spu/fiscanf.S: Ditto.
2409
        * libc/machine/spu/fprintf.S: Ditto.
2410
        * libc/machine/spu/fscanf.S: Ditto.
2411
        * libc/machine/spu/iprintf.S: Ditto.
2412
        * libc/machine/spu/iscanf.S: Ditto.
2413
        * libc/machine/spu/printf.S: Ditto.
2414
        * libc/machine/spu/scanf.S: Ditto.
2415
        * libc/machine/spu/siprintf.S: Ditto.
2416
        * libc/machine/spu/siscanf.S: Ditto.
2417
        * libc/machine/spu/sniprintf.S: Ditto.
2418
        * libc/machine/spu/snprintf.S: Ditto.
2419
        * libc/machine/spu/sprintf.S: Ditto.
2420
        * libc/machine/spu/sscanf.S: Ditto.
2421
        * libc/machine/spu/stack_reg_va.S: Ditto.
2422
        * libc/machine/spu/syscall.def: Ditto. (for maintenance)
2423
        * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
2424
        * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
2425
        * libc/machine/spu/fiscanf.c: Ditto.
2426
        * libc/machine/spu/fprintf.c: Ditto.
2427
        * libc/machine/spu/fscanf.c: Ditto.
2428
        * libc/machine/spu/iprintf.c: Ditto.
2429
        * libc/machine/spu/iscanf.c: Ditto.
2430
        * libc/machine/spu/printf.c: Ditto.
2431
        * libc/machine/spu/scanf.c: Ditto.
2432
        * libc/machine/spu/siprintf.c: Ditto.
2433
        * libc/machine/spu/siscanf.c: Ditto.
2434
        * libc/machine/spu/sniprintf.c: Ditto.
2435
        * libc/machine/spu/snprintf.c: Ditto.
2436
        * libc/machine/spu/sprintf.c: Ditto.
2437
        * libc/machine/spu/sscanf.c: Ditto.
2438
 
2439
2007-08-03  Ralf Corsepius  
2440
 
2441
        * libc/include/tar.h: New.
2442
 
2443
2007-08-03  Jeff Johnston  
2444
 
2445
        * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
2446
        lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
2447
        * libc/sys/linux/intl/Makefile.in: Regenerated.
2448
        * libc/sys/linux/intl/stpcpy.c: Renamed to...
2449
        * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
2450
 
2451
2007-08-02  Eric Blake  
2452
 
2453
        Implement fmemopen and open_memstream.
2454
        * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
2455
        * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
2456
        New file.
2457
        * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
2458
        * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
2459
        functions together.
2460
        (fmemopen, open_memstream): Declare new functions.
2461
        * libc/stdio/stdio.tex: Document them.
2462
        * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
2463
        fmemopen and open_memstream.
2464
        * libc/stdio/Makefile.in: Regenerate.
2465
 
2466
2007-07-31  Eric Blake  
2467
 
2468
        More POSIX stream corner cases.
2469
        * libc/stdio/findfp.c (__sinit): Open stderr read/write.
2470
        * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
2471
        requested.
2472
        * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
2473
 
2474
2007-07-18  Eric Blake  
2475
 
2476
        Fix 'make info'.
2477
        * libc/stdio/stdio.tex: Add missing include.
2478
        * libc/stdio/vfprintf.c: Use expected node name.
2479
        * libc/stdio/vfscanf.c: Likewise.
2480
        * libc/stdio/sscanf.c: Likewise.
2481
        * libc/stdio/sprintf.c: Likewise.
2482
        * libc/stdio/siscanf.c: Likewise.
2483
        * libc/stdio/siprintf.c: Likewise.
2484
        * libc/stdio/fopencookie.c: Quote raw {}.
2485
        Reported by DJ Delorie.
2486
 
2487
2007-07-13  Eric Blake  
2488
 
2489
        Fix fflush issues.
2490
        * libc/stdio/fflush.c (_fflush_r): New function.
2491
        (fflush): Fix reentrancy and large offset behavior.
2492
        * libc/include/stdio.h (_fflush_r): Add prototype.
2493
        * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
2494
        * libc/stdio/freopen.c (_freopen_r): Likewise.
2495
        * libc/stdio/fseek.c (_fseek_r): Likewise.
2496
        * libc/stdio/ftell.c (_ftell_r): Likewise.
2497
        * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
2498
        * libc/stdio/refill.c (__srefill_r): Likewise.
2499
        * libc/stdio/setvbuf.c (setvbuf): Likewise.
2500
        * libc/stdio/ungetc.c (_ungetc_r): Likewise.
2501
        * libc/stdio/vfprintf.c (__sbprintf): Likewise.
2502
        * libc/stdio/wbuf.c (__swbuf_r): Likewise.
2503
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2504
        * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.  Defer to
2505
        32-bit version if not large file.
2506
        * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
2507
        * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
2508
 
2509
        Documentation updates.
2510
        * libc/stdio/ungetc.c: Document ungetc.
2511
        * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
2512
        of files with documentation.
2513
        * libc/stdio/Makefile.in: Regenerate.
2514
        * libc/stdio/stdio.tex: Sort and update stdio documentation index.
2515
 
2516
2007-07-11  Jeff Johnston  
2517
 
2518
        * libc/include/math.h: Fix so C99 functions/macros are accessible
2519
        when -std=c99 is used when compiling and not when using C89.
2520
 
2521
2007-07-06  Corinna Vinschen  
2522
 
2523
        * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
2524
        wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
2525
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
2526
        (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
2527
        wcstoull_r.c.
2528
        (CHEWOUT_FILES): Add .def files accordingly.
2529
        * libc/stdlib/Makefile.in: Regenerate.
2530
        * libc/stdlib/stdlib.tex: Add documentation links for above functions.
2531
        * libc/stdlib/strtoll.c: Fix portability note.
2532
        * libc/stdlib/strtoull.c: Ditto.
2533
        * libc/stdlib/wcstol.c: New file.
2534
        * libc/stdlib/wcstoll.c: New file.
2535
        * libc/stdlib/wcstoll_r.c: New file.
2536
        * libc/stdlib/wcstoul.c: New file.
2537
        * libc/stdlib/wcstoull.c: New file.
2538
        * libc/stdlib/wcstoull_r.c: New file.
2539
 
2540
2007-07-06  Jeff Johnston  
2541
 
2542
        * libc/include/sys/time.h (gettimeofday): Change to proper
2543
        prototype where second parameter is void *.
2544
        * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
2545
        accordingly.
2546
        * libc/include/reent.h: Fix prototype for _gettimeofday_r.
2547
        * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
2548
        * libc/sys/rdos/gettod.c: Ditto.
2549
        * libc/sys/sh/syscalls.c: Ditto.
2550
        * libc/time/time.c (time): Change call to _gettimeofday_r
2551
        to pass NULL as 2nd argument.
2552
 
2553
2007-07-06  Jeff Johnston  
2554
 
2555
        * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
2556
        * libc/sys/linux/intl/l10nflist.c: Ditto.
2557
 
2558
2007-07-04  Corinna Vinschen  
2559
 
2560
        * libc/include/wchar.h: Add prototype for wcsxfrm.
2561
        * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
2562
        (CHEWOUT_FILES): Add wcsxfrm.def.
2563
        * libc/string/Makefile.in: Regenerate.
2564
        * libc/string/wcsxfrm.c: New file.
2565
        * libc/string/wcstrings.tex: Add wcsxfrm.
2566
 
2567
2007-06-28  Corinna Vinschen  
2568
 
2569
        * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
2570
        * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
2571
        stpncpy.c.
2572
        (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
2573
        * libc/string/Makefile.in: Regenerate.
2574
        * libc/string/stpcpy.c: New file.
2575
        * libc/string/stpncpy.c: New file.
2576
        * libc/string/strings.tex: Add stpcpy and stpncpy.
2577
 
2578
2007-06-27  Eric Blake  
2579
 
2580
        Support __func__ in assert, as required by C99.
2581
        * libc/stdlib/assert.c (__assert_func): New function.
2582
        (__assert): Use __assert_func.
2583
        * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
2584
        possible.
2585
 
2586
2007-06-20  Patrick Mansfield  
2587
 
2588
        * libc/machine/spu/perror.c: Pass errno as the second argument to
2589
        the assist call.
2590
 
2591
2007-06-20  Patrick Mansfield  
2592
 
2593
        * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
2594
        defines; expose ftruncate, truncate and sync prototypes.
2595
 
2596
2007-06-20  Patrick Mansfield  
2597
 
2598
        * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
2599
        * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
2600
        visible.
2601
 
2602
2007-06-15  Patrick Mansfield  
2603
 
2604
        * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
2605
        from a dropped patch.
2606
        * libc/machine/spu/Makefile.in: Regenerate.
2607
 
2608
2007-06-13  Patrick Mansfield  
2609
 
2610
        * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
2611
        it just calls open with appropriate arguments.
2612
        * libc/machine/spu/Makefile.am: Add creat.c.
2613
        * libc/machine/spu/Makefile.in: Regenerate.
2614
 
2615
2007-06-13  Jeff Johnston  
2616
 
2617
        * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
2618
        I accidentally dropped.
2619
        * libc/machine/spu/Makefile.in: Regenerated.
2620
 
2621
2007-06-13  Patrick Mansfield  
2622
 
2623
        * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
2624
        * libc/include/sys/unistd.h: Change usleep prototype to Posix
2625
        form and move outside of OS flag checks.
2626
        * libc/machine/spu/Makefile.am: Add sleep and usleep.
2627
        * libc/machine/spu/Makefile.in: Regenerate.
2628
        * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
2629
        * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
2630
 
2631
2007-06-11  Corinna Vinschen  
2632
 
2633
        * libc/include/sys/unistd.h: Declare confstr for Cygwin.
2634
        Define confstr constants for Cygwin.  Add comment.
2635
 
2636
2007-06-10  Hans-Peter Nilsson  
2637
 
2638
        * libc/sys/mmixware/access.c (access): Do not try to use a magic
2639
        file-handle and a direct syscall, just use _open.
2640
        * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
2641
        file-handle.
2642
 
2643
        * libc/sys/mmixware/_exit.c (_exit): Update comment about
2644
        passing on the exit value.
2645
 
2646
2007-06-08  Jeff Johnston  
2647
 
2648
        * libc/string/strcasestr.c: New file.
2649
        * libc/include/string.h: Add strcasestr.
2650
        * libc/string/strings.tex: Add strcasestr.
2651
        * libc/string/Makefile.am: Ditto.
2652
        * libc/string/Makefile.in: Regenerated.
2653
 
2654
2007-06-06  Christian Groessler  
2655
 
2656
        * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
2657
        rnd is done after the last local variable declaration.
2658
 
2659
2007-06-06  Jeff Johnston  
2660
 
2661
        * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
2662
 
2663
2007-06-05  Christian Groessler  
2664
 
2665
        * libc/argz/argz_insert.c (argz_insert): Move delta variable
2666
        declaration to top of function in keeping with C89 standard.
2667
 
2668
2007-06-04  Eric Blake  
2669
 
2670
        Implement funopen, fopencookie.
2671
        * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
2672
        Switch to reentrant callbacks.
2673
        * libc/include/stdio.h (funopen): Fix declaration.
2674
        (fopencookie): Declare.
2675
        * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
2676
        (__sseek64, __swrite64): Fix prototypes.
2677
        [__SCLE]: Pull in setmode declaration.
2678
        * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
2679
        reentrancy.
2680
        * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
2681
        (__sseek64, __swrite64): Fix reentrancy.
2682
        * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
2683
        reentrancy.
2684
        * libc/stdio/ftell.c (_ftell_r): Likewise.
2685
        * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
2686
        * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
2687
        * libc/stdio/freopen.c (_freopen_r): Likewise.
2688
        * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
2689
        * libc/stdio/refill.c (__srefill_r): Likewise.
2690
        * libc/stdio/siscanf.c (eofread): Likewise.
2691
        * libc/stdio/sscanf.c (eofread): Likewise.
2692
        * libc/stdio/vsiscanf.c (eofread1): Likewise.
2693
        * libc/stdio/vsscanf.c (eofread1): Likewise.
2694
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2695
        * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
2696
        * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
2697
        * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
2698
        could be fixed.
2699
        * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
2700
        * libc/stdio/funopen.c (_funopen_r, funopen): New file.
2701
        * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
2702
        new files.
2703
        * libc/stdio/Makefile.in: Regenerate.
2704
 
2705
2007-05-29  Eric Blake  
2706
 
2707
        Avoid more compiler warnings.
2708
        * libc/stdlib/btowc.c: Add missing header.
2709
        * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
2710
        * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
2711
        * libc/stdlib/wctob.c: Add missing header.
2712
        * libc/string/strcpy.c (strcpy): Avoid warnings.
2713
        * libc/string/strrchr.c (strrchr): Likewise.
2714
 
2715
2007-05-29  Corinna Vinschen  
2716
 
2717
        * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
2718
        argument.
2719
        * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
2720
        * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
2721
        on empty input strings.
2722
        * libc/argz/argz_extract.c (argz_extract): Check argz_len before
2723
        looping through argz.
2724
        * libc/argz/argz_stringify.c (argz_stringify): Ditto.
2725
 
2726
2007-05-27  Brian Dessent  
2727
 
2728
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
2729
        handling %p.
2730
 
2731
2007-05-25  Eric Blake  
2732
 
2733
        * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
2734
 
2735
2007-05-24  Steve Ellcey  
2736
            Charles Wilson  
2737
 
2738
        * libtool.m4: removed
2739
        * configure.in: invoke _LD_DECL_SED before conditionally initializing
2740
        libtool.  Move AC_PROG_AWK outside conditional.
2741
        * libc/sys/linux/configure.in: Ditto.
2742
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
2743
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2744
        * libc/sys/linux/machine/i386/configure.in: Ditto.
2745
 
2746
        * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
2747
        initializing libtool.
2748
        * libc/configure.in: Ditto.
2749
        * libc/machine/configure.in: Ditto.
2750
        * libc/machine/i386/configure.in: Ditto.
2751
        * libc/sys/configure.in: Ditto.
2752
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2753
        * libc/sys/linux/machine/configure.in: Ditto.
2754
        * libm/configure.in: Ditto.
2755
        * libm/machine/configure.in: Ditto.
2756
 
2757
        * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
2758
        * doc/Makefile.am: Ditto.
2759
        * iconvdata/Makefile.am: Ditto.
2760
        * libc/Makefile.am: Ditto.
2761
        * libc/machine/Makefile.am: Ditto.
2762
        * libc/machine/a29k/Makefile.am: Ditto.
2763
        * libc/machine/arm/Makefile.am: Ditto.
2764
        * libc/machine/bfin/Makefile.am: Ditto.
2765
        * libc/machine/cris/Makefile.am: Ditto.
2766
        * libc/machine/crx/Makefile.am: Ditto.
2767
        * libc/machine/d10v/Makefile.am: Ditto.
2768
        * libc/machine/d30v/Makefile.am: Ditto.
2769
        * libc/machine/fr30/Makefile.am: Ditto.
2770
        * libc/machine/frv/Makefile.am: Ditto.
2771
        * libc/machine/h8300/Makefile.am: Ditto.
2772
        * libc/machine/h8500/Makefile.am: Ditto.
2773
        * libc/machine/hppa/Makefile.am: Ditto.
2774
        * libc/machine/i386/Makefile.am: Ditto.
2775
        * libc/machine/i960/Makefile.am: Ditto.
2776
        * libc/machine/iq2000/Makefile.am: Ditto.
2777
        * libc/machine/m32c/Makefile.am: Ditto.
2778
        * libc/machine/m32r/Makefile.am: Ditto.
2779
        * libc/machine/m68hc11/Makefile.am: Ditto.
2780
        * libc/machine/m68k/Makefile.am: Ditto.
2781
        * libc/machine/m88k/Makefile.am: Ditto.
2782
        * libc/machine/mips/Makefile.am: Ditto.
2783
        * libc/machine/mn10200/Makefile.am: Ditto.
2784
        * libc/machine/mn10300/Makefile.am: Ditto.
2785
        * libc/machine/mt/Makefile.am: Ditto.
2786
        * libc/machine/necv70/Makefile.am: Ditto.
2787
        * libc/machine/powerpc/Makefile.am: Ditto.
2788
        * libc/machine/sh/Makefile.am: Ditto.
2789
        * libc/machine/sparc/Makefile.am: Ditto.
2790
        * libc/machine/spu/Makefile.am: Ditto.
2791
        * libc/machine/tic4x/Makefile.am: Ditto.
2792
        * libc/machine/tic80/Makefile.am: Ditto.
2793
        * libc/machine/v850/Makefile.am: Ditto.
2794
        * libc/machine/w65/Makefile.am: Ditto.
2795
        * libc/machine/xscale/Makefile.am: Ditto.
2796
        * libc/machine/xstormy16/Makefile.am: Ditto.
2797
        * libc/machine/z8k/Makefile.am: Ditto.
2798
        * libc/sys/Makefile.am: Ditto.
2799
        * libc/sys/a29khif/Makefile.am: Ditto.
2800
        * libc/sys/arc/Makefile.am: Ditto.
2801
        * libc/sys/arm/Makefile.am: Ditto.
2802
        * libc/sys/d10v/Makefile.am: Ditto.
2803
        * libc/sys/decstation/Makefile.am: Ditto.
2804
        * libc/sys/h8300hms/Makefile.am: Ditto.
2805
        * libc/sys/h8500hms/Makefile.am: Ditto.
2806
        * libc/sys/linux/Makefile.am: Ditto.
2807
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2808
        * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
2809
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2810
        * libc/sys/linux/machine/Makefile.am: Ditto.
2811
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2812
        * libc/sys/m88kbug/Makefile.am: Ditto.
2813
        * libc/sys/mmixware/Makefile.am: Ditto.
2814
        * libc/sys/netware/Makefile.am: Ditto.
2815
        * libc/sys/rdos/Makefile.am: Ditto.
2816
        * libc/sys/rtems/Makefile.am: Ditto.
2817
        * libc/sys/sh/Makefile.am: Ditto.
2818
        * libc/sys/sparc64/Makefile.am: Ditto.
2819
        * libc/sys/sun4/Makefile.am: Ditto.
2820
        * libc/sys/sysmec/Makefile.am: Ditto.
2821
        * libc/sys/sysnec810/Makefile.am: Ditto.
2822
        * libc/sys/sysnecv850/Makefile.am: Ditto.
2823
        * libc/sys/sysvi386/Makefile.am: Ditto.
2824
        * libc/sys/sysvnecv70/Makefile.am: Ditto.
2825
        * libc/sys/tic80/Makefile.am: Ditto.
2826
        * libc/sys/w65/Makefile.am: Ditto.
2827
        * libc/sys/z8ksim/Makefile.am: Ditto.
2828
        * libm/Makefile.am: Ditto.
2829
        * libm/machine/Makefile.am: Ditto.
2830
        * libm/machine/i386/Makefile.am: Ditto.
2831
        * libm/machine/spu/Makefile.am: Ditto.
2832
 
2833
        * aclocal.m4: Regenerate.
2834
        * iconvdata/aclocal.m4: Regenerate.
2835
        * libc/aclocal.m4: Regenerate.
2836
        * libc/machine/aclocal.m4: Regenerate.
2837
        * libc/machine/i386/aclocal.m4: Regenerate.
2838
        * libc/sys/aclocal.m4: Regenerate.
2839
        * libc/sys/linux/aclocal.m4: Regenerate.
2840
        * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
2841
        * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
2842
        * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
2843
        * libc/sys/linux/machine/aclocal.m4: Regenerate.
2844
        * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
2845
        * libm/aclocal.m4: Regenerate.
2846
        * libm/machine/aclocal.m4: Regenerate.
2847
        * libm/machine/i386/aclocal.m4: Regenerate.
2848
 
2849
        * Makefile.in: Regenerate.
2850
        * doc/Makefile.in: Regenerate.
2851
        * iconvdata/Makefile.in: Regenerate.
2852
        * libc/Makefile.in: Regenerate.
2853
        * libc/argz/Makefile.in: Regenerate.
2854
        * libc/ctype/Makefile.in: Regenerate.
2855
        * libc/errno/Makefile.in: Regenerate.
2856
        * libc/iconv/Makefile.in: Regenerate.
2857
        * libc/iconv/ccs/Makefile.in: Regenerate.
2858
        * libc/iconv/ccs/binary/Makefile.in: Regenerate.
2859
        * libc/iconv/ces/Makefile.in: Regenerate.
2860
        * libc/iconv/lib/Makefile.in: Regenerate.
2861
        * libc/locale/Makefile.in: Regenerate.
2862
        * libc/machine/Makefile.in: Regenerate.
2863
        * libc/machine/a29k/Makefile.in: Regenerate.
2864
        * libc/machine/arm/Makefile.in: Regenerate.
2865
        * libc/machine/bfin/Makefile.in: Regenerate.
2866
        * libc/machine/cris/Makefile.in: Regenerate.
2867
        * libc/machine/crx/Makefile.in: Regenerate.
2868
        * libc/machine/d10v/Makefile.in: Regenerate.
2869
        * libc/machine/d30v/Makefile.in: Regenerate.
2870
        * libc/machine/fr30/Makefile.in: Regenerate.
2871
        * libc/machine/frv/Makefile.in: Regenerate.
2872
        * libc/machine/h8300/Makefile.in: Regenerate.
2873
        * libc/machine/h8500/Makefile.in: Regenerate.
2874
        * libc/machine/hppa/Makefile.in: Regenerate.
2875
        * libc/machine/i386/Makefile.in: Regenerate.
2876
        * libc/machine/i960/Makefile.in: Regenerate.
2877
        * libc/machine/iq2000/Makefile.in: Regenerate.
2878
        * libc/machine/m32c/Makefile.in: Regenerate.
2879
        * libc/machine/m32r/Makefile.in: Regenerate.
2880
        * libc/machine/m68hc11/Makefile.in: Regenerate.
2881
        * libc/machine/m68k/Makefile.in: Regenerate.
2882
        * libc/machine/m88k/Makefile.in: Regenerate.
2883
        * libc/machine/mips/Makefile.in: Regenerate.
2884
        * libc/machine/mn10200/Makefile.in: Regenerate.
2885
        * libc/machine/mn10300/Makefile.in: Regenerate.
2886
        * libc/machine/mt/Makefile.in: Regenerate.
2887
        * libc/machine/necv70/Makefile.in: Regenerate.
2888
        * libc/machine/powerpc/Makefile.in: Regenerate.
2889
        * libc/machine/sh/Makefile.in: Regenerate.
2890
        * libc/machine/sparc/Makefile.in: Regenerate.
2891
        * libc/machine/spu/Makefile.in: Regenerate.
2892
        * libc/machine/tic4x/Makefile.in: Regenerate.
2893
        * libc/machine/tic80/Makefile.in: Regenerate.
2894
        * libc/machine/v850/Makefile.in: Regenerate.
2895
        * libc/machine/w65/Makefile.in: Regenerate.
2896
        * libc/machine/xscale/Makefile.in: Regenerate.
2897
        * libc/machine/xstormy16/Makefile.in: Regenerate.
2898
        * libc/machine/z8k/Makefile.in: Regenerate.
2899
        * libc/misc/Makefile.in: Regenerate.
2900
        * libc/posix/Makefile.in: Regenerate.
2901
        * libc/reent/Makefile.in: Regenerate.
2902
        * libc/search/Makefile.in: Regenerate.
2903
        * libc/signal/Makefile.in: Regenerate.
2904
        * libc/stdio/Makefile.in: Regenerate.
2905
        * libc/stdio64/Makefile.in: Regenerate.
2906
        * libc/stdlib/Makefile.in: Regenerate.
2907
        * libc/string/Makefile.in: Regenerate.
2908
        * libc/sys/Makefile.in: Regenerate.
2909
        * libc/sys/a29khif/Makefile.in: Regenerate.
2910
        * libc/sys/arc/Makefile.in: Regenerate.
2911
        * libc/sys/arm/Makefile.in: Regenerate.
2912
        * libc/sys/d10v/Makefile.in: Regenerate.
2913
        * libc/sys/decstation/Makefile.in: Regenerate.
2914
        * libc/sys/h8300hms/Makefile.in: Regenerate.
2915
        * libc/sys/h8500hms/Makefile.in: Regenerate.
2916
        * libc/sys/linux/Makefile.in: Regenerate.
2917
        * libc/sys/linux/argp/Makefile.in: Regenerate.
2918
        * libc/sys/linux/cmath/Makefile.in: Regenerate.
2919
        * libc/sys/linux/dl/Makefile.in: Regenerate.
2920
        * libc/sys/linux/iconv/Makefile.in: Regenerate.
2921
        * libc/sys/linux/intl/Makefile.in: Regenerate.
2922
        * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
2923
        * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
2924
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
2925
        * libc/sys/linux/machine/Makefile.in: Regenerate.
2926
        * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
2927
        * libc/sys/linux/net/Makefile.in: Regenerate.
2928
        * libc/sys/linux/stdlib/Makefile.in: Regenerate.
2929
        * libc/sys/m88kbug/Makefile.in: Regenerate.
2930
        * libc/sys/mmixware/Makefile.in: Regenerate.
2931
        * libc/sys/netware/Makefile.in: Regenerate.
2932
        * libc/sys/rdos/Makefile.in: Regenerate.
2933
        * libc/sys/rtems/Makefile.in: Regenerate.
2934
        * libc/sys/sh/Makefile.in: Regenerate.
2935
        * libc/sys/sparc64/Makefile.in: Regenerate.
2936
        * libc/sys/sun4/Makefile.in: Regenerate.
2937
        * libc/sys/sysmec/Makefile.in: Regenerate.
2938
        * libc/sys/sysnec810/Makefile.in: Regenerate.
2939
        * libc/sys/sysnecv850/Makefile.in: Regenerate.
2940
        * libc/sys/sysvi386/Makefile.in: Regenerate.
2941
        * libc/sys/sysvnecv70/Makefile.in: Regenerate.
2942
        * libc/sys/tic80/Makefile.in: Regenerate.
2943
        * libc/sys/w65/Makefile.in: Regenerate.
2944
        * libc/sys/z8ksim/Makefile.in: Regenerate.
2945
        * libc/syscalls/Makefile.in: Regenerate.
2946
        * libc/time/Makefile.in: Regenerate.
2947
        * libc/unix/Makefile.in: Regenerate.
2948
        * libm/Makefile.in: Regenerate.
2949
        * libm/common/Makefile.in: Regenerate.
2950
        * libm/machine/Makefile.in: Regenerate.
2951
        * libm/machine/i386/Makefile.in: Regenerate.
2952
        * libm/machine/spu/Makefile.in: Regenerate.
2953
        * libm/math/Makefile.in: Regenerate.
2954
        * libm/mathfp/Makefile.in: Regenerate.
2955
 
2956
        * configure: Regenerate.
2957
        * iconvdata/configure: Regenerate.
2958
        * libc/configure: Regenerate.
2959
        * libc/machine/configure: Regenerate.
2960
        * libc/machine/i386/configure: Regenerate.
2961
        * libc/sys/configure: Regenerate.
2962
        * libc/sys/linux/configure: Regenerate.
2963
        * libc/sys/linux/linuxthreads/configure: Regenerate.
2964
        * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
2965
        * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
2966
        * libc/sys/linux/machine/configure: Regenerate.
2967
        * libc/sys/linux/machine/i386/configure: Regenerate.
2968
        * libm/configure: Regenerate.
2969
        * libm/machine/configure: Regenerate.
2970
        * libm/machine/i386/configure: Regenerate.
2971
 
2972
2007-05-23  Eric Blake  
2973
 
2974
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
2975
        sizeof(void*) is 8 but sizeof(long) is 4.
2976
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise.  Fix %i scanning
2977
        of "-0x".  Support "-nan" and "inf" for %e.  Audit usage of ungetc
2978
        to fix reentrancy and bug on encoding error in multibyte locales.
2979
        Always return EOF on read error.
2980
 
2981
2007-05-23 Patrick Mansfield 
2982
 
2983
        * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
2984
        prototype.
2985
        * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
2986
        instead of the slot 0 value, remove any now unused variables, and
2987
        for some cases, now store the result in an int vs int*.
2988
        * libc/machine/spu/feof.c: Ditto.
2989
        * libc/machine/spu/ferror.c: Ditto.
2990
        * libc/machine/spu/fflush.c: Ditto.
2991
        * libc/machine/spu/fgetc.c: Ditto.
2992
        * libc/machine/spu/fgetpos.c: Ditto.
2993
        * libc/machine/spu/fgets.c: Ditto.
2994
        * libc/machine/spu/fileno.c: Ditto.
2995
        * libc/machine/spu/fopen.c: Ditto.
2996
        * libc/machine/spu/fprintf.c: Ditto.
2997
        * libc/machine/spu/fputc.c: Ditto.
2998
        * libc/machine/spu/fputs.c: Ditto.
2999
        * libc/machine/spu/fread.c: Ditto.
3000
        * libc/machine/spu/freopen.c: Ditto.
3001
        * libc/machine/spu/fscanf.c: Ditto.
3002
        * libc/machine/spu/fseek.c: Ditto.
3003
        * libc/machine/spu/fsetpos.c: Ditto.
3004
        * libc/machine/spu/ftell.c: Ditto.
3005
        * libc/machine/spu/fwrite.c: Ditto.
3006
        * libc/machine/spu/getc.c: Ditto.
3007
        * libc/machine/spu/getchar.c: Ditto.
3008
        * libc/machine/spu/gets.c: Ditto.
3009
        * libc/machine/spu/printf.c: Ditto.
3010
        * libc/machine/spu/putc.c: Ditto.
3011
        * libc/machine/spu/putchar.c: Ditto.
3012
        * libc/machine/spu/puts.c: Ditto.
3013
        * libc/machine/spu/remove.c: Ditto.
3014
        * libc/machine/spu/rename.c: Ditto.
3015
        * libc/machine/spu/scanf.c: Ditto.
3016
        * libc/machine/spu/setvbuf.c: Ditto.
3017
        * libc/machine/spu/snprintf.c: Ditto.
3018
        * libc/machine/spu/sprintf.c: Ditto.
3019
        * libc/machine/spu/sscanf.c: Ditto.
3020
        * libc/machine/spu/tmpfile.c: Ditto.
3021
        * libc/machine/spu/tmpnam.c: Ditto.
3022
        * libc/machine/spu/ungetc.c: Ditto.
3023
        * libc/machine/spu/vfprintf.c: Ditto.
3024
        * libc/machine/spu/vfscanf.c: Ditto.
3025
        * libc/machine/spu/vprintf.c: Ditto.
3026
        * libc/machine/spu/vscanf.c: Ditto.
3027
        * libc/machine/spu/vsnprintf.c: Ditto.
3028
        * libc/machine/spu/vsprintf.c: Ditto.
3029
        * libc/machine/spu/vsscanf.c: Ditto.
3030
 
3031
2007-05-23  Eric Blake  
3032
 
3033
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
3034
        Avoid warning when !FLOATING_POINT.
3035
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
3036
        slightly.
3037
 
3038
2007-05-23  Corinna Vinschen  
3039
 
3040
        * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
3041
        to zero.
3042
        * libc/include/argz.h: Guard against multiple inclusion.  Guard for
3043
        use with C++.
3044
 
3045
2007-05-18  Eric Blake  
3046
 
3047
        * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
3048
        compilers.
3049
        * libc/stdio/vfscanf.c: Likewise.
3050
 
3051
2007-05-17  Cary R.   yahoo.com>
3052
 
3053
        * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
3054
        (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
3055
        * libm/math/wf_atan2.c: Ditto.
3056
 
3057
2007-05-17  Yaakov Selkowitz   users.sourceforge.net>
3058
 
3059
        * libm/common/Makefile.am: Add support for exp10, exp10f,
3060
        pow10, and pow10f functions.
3061
        * libm/common/Makefile.in: Regenerated.
3062
        * libm/common/s_pow10.c: New file.
3063
        * libm/common/sf_pow10.c: Ditto.
3064
        * libm/common/s_exp10.c: Ditto.
3065
        * libm/common/sf_exp10.c: Ditto.
3066
        * libc/include/math.h [!pow10]: New pow10 prototype.
3067
        [!pow10f]: New pow10f prototype.
3068
        [!exp10]: New exp10 prototype.
3069
        [!exp10f]: New exp10f prototype.
3070
 
3071
2007-05-17  Charles Wilson  
3072
 
3073
        * stdio/tmpfile.c: Include .
3074
        * stdio64/tmpfile64.c: Ditto.
3075
 
3076
2007-05-16  Eric Blake  
3077
 
3078
        Close security hole in tmpfile.
3079
        * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
3080
        generation and opening the fd.
3081
        * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
3082
 
3083
        * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
3084
        (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
3085
        required by POSIX.
3086
        * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
3087
        avoid clash with .
3088
 
3089
        * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
3090
        * libc/search/hash.c (__hash_open): Likewise.
3091
 
3092
2007-05-14 Eric Blake 
3093
 
3094
        Reduce stack size of *printf.
3095
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
3096
        in %f.  Avoid malloc when possible for %S.
3097
        (BUF): Improve stack locality by using smaller size.
3098
        (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
3099
        (exponent): Use smaller stack size.
3100
 
3101
2007-05-11  Eric Blake  
3102
 
3103
        Minimize printf/scanf size on platforms that don't need C99.
3104
        * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
3105
        * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
3106
        * configure.in (newlib-io-c99-formats): New configure option.
3107
        (_WANT_IO_C99_FORMATS): Define appropriately.
3108
        * configure.host (*-linux*, cygwin): Default c99-formats to yes.
3109
        * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
3110
        Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
3111
        * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
3112
        Likewise.
3113
        * configure: Regenerate.
3114
 
3115
        * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
3116
        (get_arg): Support '%a' and '%A'.
3117
 
3118
2007-05-09  Eric Blake  
3119
 
3120
        Allow zero size with non-null buf in *asnprintf.
3121
        * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
3122
        user's buf.
3123
        * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
3124
        * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
3125
        * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
3126
 
3127
2007-05-07  Charles Wilson  
3128
 
3129
        * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
3130
 
3131
2007-05-03  Eric Blake  
3132
 
3133
        Add support for asnprintf, and improve *printf documentation.
3134
        * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
3135
        (ELIX_2_SOURCES): ...to this.
3136
        (ELIX_4_SOURCES): Add new variable.  Build asnprintf.
3137
        (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
3138
        (CHEWOUT_FILES): Include diprintf in documentation.
3139
        * libc/stdio/Makefile.in: Regenerate.
3140
        * libc/stdio/diprintf.c: Improve documentation.
3141
        * libc/stdio/dprintf.c: Likewise.
3142
        * libc/stdio/siprintf.c: Likewise.
3143
        * libc/stdio/sprintf.c: Likewise.
3144
        * libc/stdio/vfprintf.c: Likewise.
3145
        * libc/stdio/viprintf.c: Likewise.
3146
        * libc/stdio/vsniprintf.c: Consolidate documentation.
3147
        * libc/stdio/asiprintf.c: Refer to documentation.
3148
        * libc/stdio/asprintf.c: Likewise.
3149
        * libc/stdio/fiprintf.c: Likewise.
3150
        * libc/stdio/fprintf.c: Likewise.
3151
        * libc/stdio/iprintf.c: Likewise.
3152
        * libc/stdio/printf.c: Likewise.
3153
        * libc/stdio/sniprintf.c: Likewise.
3154
        * libc/stdio/vdiprintf.c: Likewise.
3155
        * libc/stdio/vdprintf.c: Likewise.
3156
        * libc/stdio/vsiprintf.c: Likewise.
3157
        * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
3158
        * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
3159
        * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
3160
        * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
3161
        file.
3162
        * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
3163
        * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
3164
        typical case.
3165
        * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
3166
        * libc/include/stdio.h: Add prototypes for new functions; sort
3167
        existing functions.
3168
 
3169
2007-05-03  Kazu Hirata  
3170
 
3171
        * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
3172
        and memset.S.
3173
        * libc/machine/m68k/Makefile.in: Regenerate.
3174
        * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
3175
        * libc/machine/m68k/memset.S: Likewise.
3176
 
3177
2007-05-01  Eric Blake  
3178
 
3179
        * libc/stdio64/local64.h: Delete, move contents to...
3180
        * libc/stdio/local.h: ...here.
3181
        * libc/stdio64/fdopen64.c: Update includes.
3182
        * libc/stdio64/fopen64.c: Likewise.
3183
        * libc/stdio64/freopen64.c: Likewise.
3184
        * libc/stdio64/fseeko64.c: Likewise.
3185
        * libc/stdio64/ftello64.c: Likewise.
3186
        * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
3187
        and stderr with 64-bit offset.
3188
        * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
3189
        * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
3190
        * libc/stdio/mktemp.c (_gettemp): Likewise.
3191
 
3192
2007-05-01  Cary R.   yahoo.com>
3193
 
3194
        * libm/math/e_pow.c: Fix to be consistent with glibc with regards
3195
        to treatment of NaN and +-inf arguments.
3196
        * libm/math/ef_pow.c: Ditto.
3197
        * libm/math/w_pow.c: Ditto.
3198
        * libm/math/wf_pow.c: Ditto.
3199
        * libm/math/w_acos.c: Fix domain errors to return NaN.
3200
        * libm/math/w_asin.c: Ditto.
3201
        * libm/math/wf_acos.c: Ditto.
3202
        * libm/math/wf_asin.c: Ditto.
3203
        * libm/math/w_log.c: Fix to return NaN for negative number inputs.
3204
        * libm/math/wf_log.c: Ditto.
3205
        * libm/math/wf_log10.c: Ditto.
3206
        * libm/math/w_log10.c: Ditto.
3207
 
3208
2007-04-27  Jeff Johnston  
3209
 
3210
        * libc/machine/m68k/Makefile.am: Temporarily remove
3211
        memcpy.S and memset.S until logic can be confirmed for
3212
        !(__mcoldfile__) case.
3213
        * libc/machine/m68k/Makefile.in: Regenerated.
3214
 
3215
2007-04-27  Kazu Hirata  
3216
 
3217
        * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
3218
        and memset.S.
3219
        * libc/machine/m68k/Makefile.in: Regenerate.
3220
        * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
3221
 
3222
2007-04-26  Patrick Mansfield 
3223
 
3224
        * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
3225
        overridden via machine/ieeefp.h.
3226
        * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
3227
        macros for isnan and related macros.
3228
        * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
3229
        overridden via machine/ieeefp.h.
3230
        * libm/machine/spu/Makefile.am: Add new files.
3231
        * libm/machine/spu/Makefile.in: Autogenerate with new files.
3232
        * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
3233
        * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
3234
        * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
3235
        * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
3236
        * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
3237
        * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
3238
        * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
3239
 
3240
2007-04-25  Jeff Johnston  
3241
 
3242
        * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
3243
        * libm/common/sf_fpclassify.c: ...here.  New file.
3244
        * libm/common/Makefile.am: Add sf_fpclassify.c.
3245
        * libm/common/Makefile.in: Regenerated.
3246
 
3247
2007-04-25  Patrick Mansfield 
3248
 
3249
        * libc/machine/spu/sys/errno.h: New file, so spu errno values match
3250
        ppu linux values. This file is a copy of the cris/sys/errno.h plus
3251
        a few changes (see spu errno.h comments).
3252
 
3253
2007-04-25  Eric Blake  
3254
 
3255
        * libc/stdio/vfprintf.c (get_arg): Support %1$lc.  Simplify types
3256
        that promote to int.
3257
 
3258
2007-04-25  Patrick Mansfield 
3259
 
3260
        * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
3261
        we clear the proper bits in the fpscr, and don't set some random ones.
3262
 
3263
2007-04-24  Eric Blake  
3264
 
3265
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
3266
        or NaN with %05f.
3267
 
3268
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
3269
        _MB_CAPABLE.
3270
 
3271
        * libc/include/limits.h (NL_ARGMAX): Define a default value.
3272
        * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
3273
        NL_ARGMAX, if present.
3274
 
3275
2007-04-23  Brian Dessent  
3276
 
3277
        * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
3278
        has been specified with types 'f', 'F', 'g', or 'G', ensure the
3279
        trailing decimal is printed.
3280
 
3281
2007-04-23  Ralf Wildenhues   gmx.de>
3282
 
3283
        * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
3284
        file.  Override Autoconf-2.59's version of these macros with
3285
        fixed handling of multiple adjacent whitespace in arguments.
3286
        * aclocal.m4: Regenerated forcefully.
3287
        * configure: Ditto.
3288
        * Makefile.in: Ditto.
3289
        * libc/*Makefile.in: Ditto.
3290
        * libc/*aclocal.m4: Ditto.
3291
        * libc/*configure: Ditto.
3292
        * libm/*Makefile.in: Ditto.
3293
        * libm/*aclocal.m4: Ditto.
3294
        * libm/*configure: Ditto.
3295
 
3296
2007-04-23  Jeff Johnston  
3297
 
3298
        * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
3299
        * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
3300
        and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
3301
        * libc/sys/arc/Makefile.in: Regenerated.
3302
 
3303
2007-04-17  Brian Dessent  
3304
 
3305
        * libc/stdio/sscanf.c: Update documentation comments.
3306
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
3307
 
3308
2007-04-12  Eric Blake  
3309
 
3310
        * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
3311
        (chclass): Recognize 'F', 'X', 'n', and not 'W'.
3312
        (get_arg): Handle %1$F, %1$n.
3313
 
3314
2007-04-10  Eric Blake  
3315
 
3316
        * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
3317
        CFLAGS=-O0.
3318
 
3319
2007-04-09  Eric Blake  
3320
 
3321
        * libc/include/stdio.h: Add gcc format attributes to printf and
3322
        scanf families.
3323
 
3324
2007-04-09  Joel Schopp 
3325
 
3326
        * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
3327
        even if the passed in length n is shorter than the source string.
3328
        This matches both the non-spu specific and the glibc strxfrm
3329
        behaviour.
3330
 
3331
2007-04-04  Mark Mitchell  
3332
 
3333
        * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
3334
        functions registering additional atexit functions.
3335
 
3336
        * testsuite/lib/flags.exp (newlib_include_flags): Drop
3337
        -I${newlib_dir}.
3338
 
3339
2007-04-04  Patrick Mansfield 
3340
 
3341
        * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
3342
        prototype.
3343
        * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
3344
        * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
3345
        * libc/machine/spu/fclose.c: Ditto.
3346
        * libc/machine/spu/feof.c: Ditto.
3347
        * libc/machine/spu/ferror.c: Ditto.
3348
        * libc/machine/spu/fflush.c: Ditto.
3349
        * libc/machine/spu/fgetc.c: Ditto.
3350
        * libc/machine/spu/fgetpos.c: Ditto.
3351
        * libc/machine/spu/fgets.c: Ditto.
3352
        * libc/machine/spu/fileno.c: Ditto.
3353
        * libc/machine/spu/fopen.c: Ditto.
3354
        * libc/machine/spu/fprintf.c: Ditto.
3355
        * libc/machine/spu/fputc.c: Ditto.
3356
        * libc/machine/spu/fputs.c: Ditto.
3357
        * libc/machine/spu/fread.c: Ditto.
3358
        * libc/machine/spu/freopen.c: Ditto.
3359
        * libc/machine/spu/fscanf.c: Ditto.
3360
        * libc/machine/spu/fseek.c: Ditto.
3361
        * libc/machine/spu/fsetpos.c: Ditto.
3362
        * libc/machine/spu/ftell.c: Ditto.
3363
        * libc/machine/spu/fwrite.c: Ditto.
3364
        * libc/machine/spu/getc.c: Ditto.
3365
        * libc/machine/spu/getchar.c: Ditto.
3366
        * libc/machine/spu/gets.c: Ditto.
3367
        * libc/machine/spu/perror.c: Ditto.
3368
        * libc/machine/spu/printf.c: Ditto.
3369
        * libc/machine/spu/putc.c: Ditto.
3370
        * libc/machine/spu/putchar.c: Ditto.
3371
        * libc/machine/spu/puts.c: Ditto.
3372
        * libc/machine/spu/remove.c: Ditto.
3373
        * libc/machine/spu/rename.c: Ditto.
3374
        * libc/machine/spu/rewind.c: Ditto.
3375
        * libc/machine/spu/scanf.c: Ditto.
3376
        * libc/machine/spu/setbuf.c: Ditto.
3377
        * libc/machine/spu/setvbuf.c: Ditto.
3378
        * libc/machine/spu/snprintf.c: Ditto.
3379
        * libc/machine/spu/sprintf.c: Ditto.
3380
        * libc/machine/spu/sscanf.c: Ditto.
3381
        * libc/machine/spu/tmpfile.c: Ditto.
3382
        * libc/machine/spu/tmpnam.c: Ditto.
3383
        * libc/machine/spu/ungetc.c: Ditto.
3384
        * libc/machine/spu/vfprintf.c: Ditto.
3385
        * libc/machine/spu/vfscanf.c: Ditto.
3386
        * libc/machine/spu/vprintf.c: Ditto.
3387
        * libc/machine/spu/vscanf.c: Ditto.
3388
        * libc/machine/spu/vsnprintf.c: Ditto.
3389
        * libc/machine/spu/vsprintf.c: Ditto.
3390
        * libc/machine/spu/vsscanf.c: Ditto.
3391
 
3392
2007-04-04  Jeff Johnston  
3393
 
3394
        * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
3395
 
3396
2007-04-04  Eric Blake  
3397
 
3398
        * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
3399
        (asiprintf): Avoid overhead.
3400
        * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
3401
        (asprintf): Avoid overhead.
3402
        * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
3403
        * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
3404
        * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
3405
        (fiprintf): Avoid overhead.
3406
        * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
3407
        (fprintf): Avoid overhead.
3408
        * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
3409
        (iprintf): Avoid overhead.
3410
        * libc/stdio/printf.c (_printf_r): Use _DEFUN.
3411
        (printf): Avoid overhead.
3412
        * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
3413
        * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
3414
        * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
3415
        * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
3416
        * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
3417
        * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
3418
        * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
3419
        * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
3420
        * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
3421
        vdiprintf.c.
3422
        * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
3423
        (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
3424
 
3425
2007-03-30  Dave Korn  
3426
 
3427
        * libc/include/stdio.h (_ELIDABLE_INLINE):  New macro to conceal
3428
        conflicting inline semantics between C99 and GNU89.
3429
        (__sgetc_r):  Replace static inline with _ELIDABLE_INLINE to be
3430
        compatible with -fkeep-inline-functions usage.
3431
        (__sputc_r):  Likewise for consistency even though disabled.
3432
 
3433
2007-03-29  Nick Clifton  
3434
 
3435
        Reflect changes made to generic vfprintf.c:
3436
        * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
3437
        and add a "struct reent *" argument.
3438
        (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
3439
        argument and call _VFPRINTF_R instead of VFPRINTF.
3440
        (_VFPRINTF_R): Add data pointer to call to cantwrite().
3441
        Fix uses of __sprint() and __sbprintf.
3442
 
3443
2007-03-20  Nick Clifton  
3444
 
3445
        Reflect changes made to generic vfprintf.c:
3446
        * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
3447
        and add a "struct reent *" argument.
3448
        (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
3449
        argument and call _VFPRINTF_R instead of VFPRINTF.
3450
        (_VFPRINTF_R): Add data pointer to call to cantwrite().
3451
        Fix uses of __sprint() and __sbprintf.
3452
 
3453
2007-03-16  Charles Wilson  
3454
 
3455
        * libc/argz/argz_insert.c: "before" pointer is
3456
        invalid after *argz realloc.  Compute offset
3457
        between "before" and *argz, and use it after
3458
        reallocation instead.
3459
 
3460
2007-03-16  Eric Blake  
3461
 
3462
        * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
3463
        * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3464
 
3465
2007-03-15  Jeff Johnston  
3466
 
3467
        * configure.in: Add new --enable-newlib-reent-small option.
3468
        * configure: Regenerated.
3469
        * acconfig.h: Add _WANT_REENT_SMALL.
3470
        * newlib.hin: Regenerated minus PACKAGE macros to add
3471
        _WANT_REENT_SMALL macro.
3472
        * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
3473
        if not already set.
3474
        * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
3475
        there is no buffer.
3476
        * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
3477
        use reentrant pointer passed in when resetting the file
3478
        pointer to one of the std streams.
3479
 
3480
2007-03-15  Eric Blake  
3481
 
3482
        * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
3483
        (__smakebuf): Rename...
3484
        (__smakebuf_r): to this.
3485
        * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
3486
        * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
3487
        allocation, then rename...
3488
        (__smakebuf_r): ...to this and fix reentrancy.
3489
        * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
3490
        allocation, then rename...
3491
        (__swsetup_r): ...to this and fix reentrancy.
3492
        * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
3493
        * libc/stdio/refill.c (__srefill_r): Likewise.
3494
        * libc/stdio/fclose.c (_fclose_r): Likewise.
3495
        * libc/stdio/fread.c (_fread_r): Likewise.
3496
        * libc/stdio/freopen.c (_freopen_r): Likewise.
3497
        * libc/stdio/wbuf.c (__swbuf_r): Likewise.
3498
        * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
3499
        * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
3500
        failed asprintf allocation, and fix reentrancy.
3501
        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
3502
        as required by POSIX.
3503
        * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
3504
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
3505
        * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
3506
 
3507
2007-03-12  Eric Blake  
3508
 
3509
        * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
3510
        * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
3511
        allocation to caller.
3512
        * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
3513
        * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
3514
        * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
3515
 
3516
2007-02-23  Jeff Johnston  
3517
 
3518
        * libm/math/w_pow.c: Fix typo in documentation comment.
3519
 
3520
2007-02-21  Patrick Mansfield 
3521
 
3522
        * libc/reent/timer.c: Removed (split into two new files).
3523
        * libc/reent/timesr.c: New file for _times_r.
3524
        * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
3525
        * reent/Makefile.in: Remove timer.c, add timesr.c and
3526
        gettimeofdayr.c.
3527
        * libc/reent/Makefile.am: Regenerate.
3528
 
3529
2007-02-20  Patrick Mansfield 
3530
 
3531
        * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
3532
 
3533
2007-02-20  Kazunori Asayama 
3534
 
3535
        * libc/machine/spu/Makefile.am: Add new objects.
3536
        * libc/machine/spu/Makefile.in: Regenerated.
3537
        * libc/machine/spu/fiprintf.c: New file. Add implementation of
3538
        integer-only version.
3539
        * libc/machine/spu/fiscanf.c: Ditto.
3540
        * libc/machine/spu/iprintf.c: Ditto.
3541
        * libc/machine/spu/iscanf.c: Ditto.
3542
        * libc/machine/spu/siprintf.c: Ditto.
3543
        * libc/machine/spu/siscanf.c: Ditto.
3544
        * libc/machine/spu/sniprintf.c: Ditto.
3545
        * libc/machine/spu/vfiprintf.c: Ditto.
3546
        * libc/machine/spu/vfiscanf.c: Ditto.
3547
        * libc/machine/spu/viprintf.c: Ditto.
3548
        * libc/machine/spu/viscanf.c: Ditto.
3549
        * libc/machine/spu/vsiprintf.c: Ditto.
3550
        * libc/machine/spu/vsiscanf.c: Ditto.
3551
        * libc/machine/spu/vsniprintf.c: Ditto.
3552
        * libc/machine/spu/fprintf.c: Add support for integer-only
3553
        version.
3554
        * libc/machine/spu/fscanf.c: Ditto.
3555
        * libc/machine/spu/printf.c: Ditto.
3556
        * libc/machine/spu/scanf.c: Ditto.
3557
        * libc/machine/spu/snprintf.c: Ditto.
3558
        * libc/machine/spu/sprintf.c: Ditto.
3559
        * libc/machine/spu/sscanf.c: Ditto.
3560
        * libc/machine/spu/vfprintf.c: Ditto.
3561
        * libc/machine/spu/vfscanf.c: Ditto.
3562
        * libc/machine/spu/vprintf.c: Ditto.
3563
        * libc/machine/spu/vscanf.c: Ditto.
3564
        * libc/machine/spu/vsnprintf.c: Ditto.
3565
        * libc/machine/spu/vsprintf.c: Ditto.
3566
        * libc/machine/spu/vsscanf.c: Ditto.
3567
 
3568
2007-02-20  Kazunori Asayama 
3569
 
3570
        * libc/include/stdio.h: Add declaration for vsiprintf.
3571
 
3572
2007-02-14  Patrick Mansfield 
3573
 
3574
        Add a floating point environment for SPU (cell):
3575
 
3576
        * configure.host: add libm_machine_dir=spu.
3577
        * libm/machine/configure: Add spu.
3578
        * libm/machine/configure.in: regenerated with spu added.
3579
        * libc/machine/spu/include/fenv.h: New file.
3580
        * libc/machine/spu/sys/fenv.h: Ditto.
3581
        * libm/machine/spu/Makefile.am: Ditto.
3582
        * libm/machine/spu/Makefile.in: Ditto.
3583
        * libm/machine/spu/aclocal.m4: Ditto.
3584
        * libm/machine/spu/configure: Ditto.
3585
        * libm/machine/spu/configure.in: Ditto.
3586
        * libm/machine/spu/fe_dfl_env.c: Ditto.
3587
        * libm/machine/spu/feclearexcept.c: Ditto.
3588
        * libm/machine/spu/fegetenv.c: Ditto.
3589
        * libm/machine/spu/fegetexceptflag.c: Ditto.
3590
        * libm/machine/spu/fegetround.c: Ditto.
3591
        * libm/machine/spu/feholdexcept.c: Ditto.
3592
        * libm/machine/spu/feraiseexcept.c: Ditto.
3593
        * libm/machine/spu/fesetenv.c: Ditto.
3594
        * libm/machine/spu/fesetexceptflag.c: Ditto.
3595
        * libm/machine/spu/fesetround.c: Ditto.
3596
        * libm/machine/spu/fetestexcept.c: Ditto.
3597
        * libm/machine/spu/feupdateenv.c: Ditto.
3598
        * libm/machine/spu/headers/feclearexcept.h: Ditto.
3599
        * libm/machine/spu/headers/fefpscr.h: Ditto.
3600
        * libm/machine/spu/headers/fegetenv.h: Ditto.
3601
        * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
3602
        * libm/machine/spu/headers/fegetround.h: Ditto.
3603
        * libm/machine/spu/headers/feholdexcept.h: Ditto.
3604
        * libm/machine/spu/headers/feraiseexcept.h: Ditto.
3605
        * libm/machine/spu/headers/fesetenv.h: Ditto.
3606
        * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
3607
        * libm/machine/spu/headers/fesetround.h: Ditto.
3608
        * libm/machine/spu/headers/fetestexcept.h: Ditto.
3609
        * libm/machine/spu/headers/feupdateenv.h: Ditto.
3610
 
3611
2007-02-14  Corinna Vinschen  
3612
 
3613
        * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
3614
        Cygwin.
3615
 
3616
2007-02-08  Corinna Vinschen  
3617
 
3618
        * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
3619
        Cygwin.  Fix value of _POSIX_SEMAPHORES.  Fix formatting.
3620
 
3621
2007-02-07  Corinna Vinschen  
3622
 
3623
        * libc/include/sys/features.h: Add definition of all supported
3624
        _POSIX_xxx values for Cygwin.
3625
        * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
3626
        on Cygwin.
3627
        (pthread_rwlockattr_t): Ditto.
3628
        * libc/include/sys/unistd.h: Define all _SC_xxx values as
3629
        required by SUSv3.  Unify formatting.
3630
 
3631
2007-02-02  Ralf Corsépius 
3632
 
3633
        * libc/include/sys/errno.h: Add ECANCELED.
3634
 
3635
2007-02-01  Joel Schopp 
3636
            Kazunori Asayama 
3637
 
3638
        * libc/machine/spu/Makefile.am: Add objects.
3639
        * libc/machine/spu/Makefile.in: Regenerated.
3640
        * libc/machine/spu/vsscanf.c: New file. Add a stdio function
3641
        implementation.
3642
        * libc/machine/spu/snprintf.c: Ditto.
3643
        * libc/machine/spu/sprintf.c: Ditto.
3644
        * libc/machine/spu/sscanf.c: Ditto.
3645
        * libc/machine/spu/remove.c: Ditto.
3646
        * libc/machine/spu/rename.c: Ditto.
3647
        * libc/machine/spu/tmpnam.c: Ditto.
3648
        * libc/machine/spu/vsnprintf.c: Add initialization routine of
3649
        stdio stuffs.
3650
        * libc/machine/spu/vsprintf.c: Ditto.
3651
 
3652
2007-02-01  Joel Schopp 
3653
            Kazunori Asayama 
3654
 
3655
        * configure.host: Enable SPU specific stdio directory.
3656
        * libc/machine/spu/Makefile.am: Add objects.
3657
        * libc/machine/spu/Makefile.in: Regenerated.
3658
        * libc/machine/spu/c99ppe.h: Add macros and function
3659
        declarations to initialize SPU specific stdio stuffs.
3660
        * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
3661
        specific FILE structures.
3662
        * libc/machine/spu/perror.c: Add initialization routine of
3663
        stdio stuffs.
3664
        * libc/machine/spu/printf.c: Ditto.
3665
        * libc/machine/spu/putchar.c: Ditto.
3666
        * libc/machine/spu/puts.c: Ditto.
3667
        * libc/machine/spu/vprintf.c: Ditto.
3668
        * libc/machine/spu/clearerr.c: New file. Add a stdio function
3669
        implementation.
3670
        * libc/machine/spu/feof.c: Ditto.
3671
        * libc/machine/spu/ferror.c: Ditto.
3672
        * libc/machine/spu/fileno.c: Ditto.
3673
        * libc/machine/spu/fopen.c: Ditto.
3674
        * libc/machine/spu/fclose.c: Ditto.
3675
        * libc/machine/spu/freopen.c: Ditto.
3676
        * libc/machine/spu/fflush.c: Ditto.
3677
        * libc/machine/spu/fseek.c: Ditto.
3678
        * libc/machine/spu/ftell.c: Ditto.
3679
        * libc/machine/spu/rewind.c: Ditto.
3680
        * libc/machine/spu/fgetpos.c: Ditto.
3681
        * libc/machine/spu/fsetpos.c: Ditto.
3682
        * libc/machine/spu/fread.c: Ditto.
3683
        * libc/machine/spu/fwrite.c: Ditto.
3684
        * libc/machine/spu/getc.c: Ditto.
3685
        * libc/machine/spu/getchar.c: Ditto.
3686
        * libc/machine/spu/gets.c: Ditto.
3687
        * libc/machine/spu/fgetc.c: Ditto.
3688
        * libc/machine/spu/fgets.c: Ditto.
3689
        * libc/machine/spu/ungetc.c: Ditto.
3690
        * libc/machine/spu/putc.c: Ditto.
3691
        * libc/machine/spu/fputc.c: Ditto.
3692
        * libc/machine/spu/fputs.c: Ditto.
3693
        * libc/machine/spu/vfprintf.c: Ditto.
3694
        * libc/machine/spu/vfscanf.c: Ditto.
3695
        * libc/machine/spu/fprintf.c: Ditto.
3696
        * libc/machine/spu/fscanf.c: Ditto.
3697
        * libc/machine/spu/scanf.c: Ditto.
3698
        * libc/machine/spu/vscanf.c: Ditto.
3699
        * libc/machine/spu/setbuf.c: Ditto.
3700
        * libc/machine/spu/setvbuf.c: Ditto.
3701
        * libc/machine/spu/tmpfile.c: Ditto.
3702
 
3703
2007-02-01  Jeff Johnston  
3704
 
3705
        * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
3706
        * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
3707
        around stdio macros that manipulate fields in the normal file
3708
        structure.
3709
        * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
3710
         to define custom FILE structure.
3711
        * libc/include/sys/custom_file.h: New default header file
3712
        that generates error if not overridden when __CUSTOM_FILE_IO__ set.
3713
        * libc/machine/spu/sys/custom_file.h: New file.
3714
 
3715
2007-01-31  Kazunori Asayama 
3716
 
3717
        * configure.host: Define stdio directory as a variable.
3718
        * libc/Makefile.am: Define stdio related names
3719
        as macros.
3720
        * libc/configure.in: Add detection routine of stdio directory.
3721
        * libc/Makefile.in: Regenerated.
3722
        * libc/configure: Ditto.
3723
        * libc/argz/Makefile.in: Ditto.
3724
        * libc/ctype/Makefile.in: Ditto.
3725
        * libc/errno/Makefile.in: Ditto.
3726
        * libc/iconv/Makefile.in: Ditto.
3727
        * libc/iconv/ccs/Makefile.in: Ditto.
3728
        * libc/iconv/ccs/binary/Makefile.in: Ditto.
3729
        * libc/iconv/ces/Makefile.in: Ditto.
3730
        * libc/iconv/lib/Makefile.in: Ditto.
3731
        * libc/locale/Makefile.in: Ditto.
3732
        * libc/misc/Makefile.in: Ditto.
3733
        * libc/posix/Makefile.in: Ditto.
3734
        * libc/reent/Makefile.in: Ditto.
3735
        * libc/search/Makefile.in: Ditto.
3736
        * libc/signal/Makefile.in: Ditto.
3737
        * libc/stdio/Makefile.in: Ditto.
3738
        * libc/stdio64/Makefile.in: Ditto.
3739
        * libc/stdlib/Makefile.in: Ditto.
3740
        * libc/string/Makefile.in: Ditto.
3741
        * libc/syscalls/Makefile.in: Ditto.
3742
        * libc/time/Makefile.in: Ditto.
3743
        * libc/unix/Makefile.in: Ditto.
3744
 
3745
2007-01-30  Ben Elliston  
3746
 
3747
        * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
3748
        fmt member.
3749
        * libc/machine/spu/printf.c (c99_printf_t): Likewise.
3750
        (printf): Pass fmt to va_start to suppress a warning.
3751
 
3752
        * libc/search/hash.c (init_hash): Make `info' parameter const.
3753
 
3754
2007-01-19  Kazunori Asayama 
3755
 
3756
        * libc/machine/spu/c99ppe.h: Replace vector with __vector.
3757
        * libc/machine/spu/vec_literal.h: Ditto.
3758
        * libc/machine/spu/strncmp.c: Ditto.
3759
 
3760
2007-01-15  Joseph Myers  
3761
            Kazu Hirata  
3762
 
3763
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
3764
        for E500V1 and E500V2.
3765
 
3766
2007-01-11  Jeff Johnston  
3767
 
3768
        * libm/configure.in: Always configure machine directory.
3769
        * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
3770
        unconditionally.
3771
        * libm/configure: Regenerated.
3772
        * libm/Makefile.in: Ditto.
3773
        * libm/*/Makefile.in: Ditto.
3774
 
3775
2007-01-05  Brian Ford  
3776
 
3777
        * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
3778
 
3779
2007-01-02  Ben Elliston  
3780
 
3781
        * doc/makedoc.c: Include .
3782
        (malloc, realloc): Remove extern declarations.
3783
 
3784
2006-12-18  Jeff Johnston  
3785
 
3786
        * NEWS: Update with 1.15.0 info.
3787
        * README: Ditto.
3788
        * acinclude.m4: Change version number to 1.15.0.
3789
        * aclocal.m4: Regenerated.
3790
        * configure: Ditto.
3791
        * doc/aclocal.m4: Ditto.
3792
        * doc/configure: Ditto.
3793
        * libc/*/aclocal.m4: Ditto.
3794
        * libc/*/configure: Ditto.
3795
        * libc/libc.texinfo: Ditto.
3796
        * libm/*/aclocal.m4: Ditto.
3797
        * libm/*/configure: Ditto.
3798
        * libm/libm.texinfo: Ditto.
3799
        * libc/sys/linux/shared.ld: Add VERS_1.15.
3800
 
3801
2006-12-18  Kazu Hirata  
3802
 
3803
        Merge from newlib-csl-20060320-branch:
3804
        2006-12-01  Nathan Sidwell  
3805
                    Kazu Hirata  
3806
 
3807
        * configure.host: Recognize fido.
3808
 
3809
2006-12-18  Joel Schopp 
3810
 
3811
        * libc/machine/spu/c99ppe.h: New file
3812
        * libc/machine/spu/perror.c: New file to override libc/stdio version.
3813
        * libc/machine/spu/printf.c: New file
3814
        * libc/machine/spu/putchar.c: New file
3815
        * libc/machine/spu/puts.c: New file
3816
        * libc/machine/spu/vprintf.c: New file
3817
        * libc/machine/spu/vsnprintf.c: New file
3818
        * libc/machine/spu/vsprintf.c: New file
3819
        * libc/machine/spu/Makefile.am: Add new targets.
3820
        * libc/machine/spu/Makefile.in: Regenerated.
3821
 
3822
2006-12-18  Jeff Johnston  
3823
 
3824
        * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
3825
        * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
3826
 
3827
2006-12-18  Jeff Johnston  
3828
 
3829
        * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
3830
        2.6.5 version of Doug Lea's malloc which is the basis of
3831
        this code.
3832
 
3833
2006-12-18  Kazunori Asayama 
3834
 
3835
        * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
3836
 
3837
2006-12-14  Jeff Johnston  
3838
            Eric Blake  
3839
 
3840
        * libc/stdio/fflush.c (fflush): On seekable streams, always flush
3841
        read but unused data.
3842
        * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
3843
        even read streams may have side effects that must happen.
3844
 
3845
2006-12-13  Joel Schopp 
3846
 
3847
        * libc/machine/spu/setjmp.S: Fix to handle registers past 115
3848
        correctly.
3849
 
3850
2006-12-13  Joel Schopp 
3851
 
3852
        * libc/include/alloca.h: Add undef alloca to work with xlc.
3853
 
3854
2006-12-12  Joel Schopp 
3855
 
3856
        * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
3857
        cell spu.
3858
 
3859
2006-12-04  Kazunori Asayama  
3860
 
3861
        * libc/machine/spu/strncpy.c: Add padding.
3862
 
3863
2006-12-04  Kazunori Asayama  
3864
 
3865
        * testsuite/newlib.string/tstring.c:
3866
 
3867
2006-12-01  Kazunori Asayama  
3868
 
3869
        * libc/machine/spu/strchr.c: Fix mask for misaligned string.
3870
        * libc/machine/spu/strrchr.c: Ditto.
3871
 
3872
2006-11-30  Lev Bishop  
3873
 
3874
        * libc/include/math.h: Allow C99 functions/macros to be
3875
        defined for C++ even when __STRICT_ANSI__.
3876
 
3877
2006-11-29  Jeff Johnston  
3878
 
3879
        * libc/stdio/makebuf.c (__smakebuf): If dealing with
3880
        an asprintf-family buffer, make the default initial size 64.
3881
 
3882
2006-11-29  Eric Blake  
3883
 
3884
        * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
3885
        asprintf, as well as quadratic realloc behavior.
3886
 
3887
2006-11-29  Kazunori Asayama  
3888
 
3889
        * libc/machine/spu/memset.c: Fix type of explicit cast.
3890
        * libc/machine/spu/strncmp.c: Add explicit cast.
3891
        * libc/machine/spu/strrchr.c: Ditto.
3892
        * libc/machine/spu/strspn.c: Ditto.
3893
 
3894
2006-11-22  Luca Barbato  
3895
 
3896
        * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
3897
        * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
3898
        * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
3899
        * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
3900
        * libc/machine/spu/strncat.c: Explicit cast.
3901
        * libc/machine/spu/strncmp.c: Use spu_splats.
3902
        * libc/machine/spu/strncpy.c: Explicit cast.
3903
        * libc/machine/spu/strrchr.c: Use spu_splats.
3904
        * libc/machine/spu/strspn.c: Use spu_splats.
3905
 
3906
2006-11-15  Till Straumann  
3907
 
3908
        * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
3909
 
3910
2006-11-14  Eric Blake  
3911
 
3912
        * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
3913
        (chclass): ' is a flag.  j, t, and z are modifiers.
3914
 
3915
2006-11-08  Jie Zhang  
3916
 
3917
        * configure.host: Add support for bfin.
3918
        * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
3919
        * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
3920
        * libc/machine/bfin/aclocal.m4: Generate.
3921
        * libc/machine/bfin/configure.in: New.
3922
        * libc/machine/bfin/configure: Generate.
3923
        * libc/machine/bfin/Makefile.am: New.
3924
        * libc/machine/bfin/Makefile.in: Generate.
3925
        * libc/machine/bfin/setjmp.S: New.
3926
        * libc/machine/bfin/longjmp.S: New.
3927
        * libc/machine/configure.in: Add bfin support.
3928
        * libc/machine/configure: Generate.
3929
 
3930
2006-11-07  Corinna Vinschen  
3931
 
3932
        * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
3933
        (_PC_FILESIZEBITS): Add definition.
3934
        (_PC_2_SYMLINKS): Ditto.
3935
        (_PC_SYMLINK_MAX): Ditto.
3936
 
3937
2006-10-27  Joel Schopp  
3938
 
3939
        * libc/machine/spu/memcpy.c: Override generic function with vectorized
3940
        version optimized for the cell spu.
3941
        * libc/machine/spu/memmove.c: Ditto.
3942
        * libc/machine/spu/memset.c: Ditto.
3943
        * libc/machine/spu/strcat.c: Ditto.
3944
        * libc/machine/spu/strchr.c: Ditto.
3945
        * libc/machine/spu/strcmp.c: Ditto.
3946
        * libc/machine/spu/strcpy.c: Ditto.
3947
        * libc/machine/spu/strcspn.c: Ditto.
3948
        * libc/machine/spu/strlen.c: Ditto.
3949
        * libc/machine/spu/strncat.c: Ditto.
3950
        * libc/machine/spu/strncmp.c: Ditto.
3951
        * libc/machine/spu/strncpy.c: Ditto.
3952
        * libc/machine/spu/strpbrk.c: Ditto.
3953
        * libc/machine/spu/strrchr.c: Ditto.
3954
        * libc/machine/spu/strspn.c: Ditto.
3955
        * libc/machine/spu/strxfrm.c: Ditto.
3956
        * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
3957
        removing altivec style initializers.
3958
        * libc/machine/spu/Makefile.am: Add new files to list so they build
3959
        * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
3960
 
3961
2006-10-27  Jeff Johnston  
3962
 
3963
        * README: Add a brief section on how to regenerate
3964
        configuration files in newlib.
3965
 
3966
2006-10-25  Vladimir Prus  
3967
 
3968
        * libc/include/math.h: (exception): Add a comment
3969
        telling fixincludes that we handle C vs. C++ issue.
3970
 
3971
2006-10-11  Yang Tse  
3972
 
3973
        * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
3974
        braced-groups.
3975
 
3976
2006-10-11  Corinna Vinschen  
3977
 
3978
        * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
3979
 
3980
2006-09-26  Jeff Johnston  
3981
 
3982
        * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
3983
        for clearerr, feof, or fileno.
3984
        * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
3985
        the dummy std stream scheme to use pointers to const external
3986
        fake files, one for each standard stream.
3987
        * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
3988
        argument.  For _REENT_SMALL, reset the file pointer if it
3989
        matches one of the fake std stream pointers.
3990
        * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
3991
        argument.
3992
        * libc/stdio/fclose.c: Ditto.
3993
        * libc/stdio/feof.c: Ditto.
3994
        * libc/stdio/ferror.c: Ditto.
3995
        * libc/stdio/fflush.c: Ditto.
3996
        * libc/stdio/fgetc.c: Ditto.
3997
        * libc/stdio/fgets.c: Ditto.
3998
        * libc/stdio/fileno.c: Ditto.
3999
        * libc/stdio/findfp.c: Ditto.
4000
        * libc/stdio/fputc.c: Ditto.
4001
        * libc/stdio/fputs.c: Ditto.
4002
        * libc/stdio/fread.c: Ditto.
4003
        * libc/stdio/freopen.c: Ditto.
4004
        * libc/stdio/fseek.c: Ditto.
4005
        * libc/stdio/ftell.c: Ditto.
4006
        * libc/stdio/fwrite.c: Ditto.
4007
        * libc/stdio/getc.c: Ditto.
4008
        * libc/stdio/getdelim.c: Ditto.
4009
        * libc/stdio/putc.c: Ditto.
4010
        * libc/stdio/refill.c: Ditto.
4011
        * libc/stdio/setvbuf.c: Ditto.
4012
        * libc/stdio/ungetc.c: Ditto.
4013
        * libc/stdio/vfprintf.c: Ditto.
4014
        * libc/stdio/vfscanf.c: Ditto.
4015
        * libc/stdio/wbuf.c: Ditto.: Ditto.
4016
        * libc/stdio/wsetup.c: Ditto.
4017
        * libc/stdio64/freopen64.c: Ditto.
4018
        * libc/stdio64/fseeko64.c: Ditto.
4019
        * libc/stdio64/ftello64.c: Ditto.
4020
        * libc/machine/powerpc/vfprintf.c: Ditto.
4021
        * libc/machine/powerpc/vfscanf.c: Ditto.
4022
 
4023
2006-09-22  Paul Brook  
4024
 
4025
        * libc/include/sys/reent.h: Define and use __reent_assert.
4026
 
4027
2006-09-13  Joel Sherrill 
4028
 
4029
        * libc/include/pthread.h: Add pthread barriers,
4030
        rwlocks, and spinlocks.  Change const to
4031
        _CONST and prefix parameter names with
4032
        an underscore.
4033
        * libc/include/sys/types.h: Add id and attribute
4034
        types for barriers, wrlocks, and spinlocks.
4035
        * libc/include/sys/features.h: Enable barriers,
4036
        wrlocks, and spinlocks for RTEMS.
4037
 
4038
2006-09-13  Patrick Mansfield 
4039
 
4040
        * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
4041
        supposed to be writable.
4042
        * libm/common/s_lib_ver.c: Ditto.
4043
 
4044
2006-09-12  Paul Brook  
4045
 
4046
        * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
4047
 
4048
2006-09-07  Masaki Muranaka  
4049
 
4050
 
4051
        * libc/machine/xstormy16/Makefile.am:
4052
        Add $(lpfx) prefix to LIBADD objects.
4053
        lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
4054
        * libc/machine/xstormy16/Makefile.in: Regenerated.
4055
 
4056
2006-09-06  Eric Blake  
4057
 
4058
        * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
4059
        't', and 'z' modifiers.
4060
 
4061
2006-09-01  Kazu Hirata  
4062
 
4063
        Merge from newlib-csl-20060320-branch:
4064
        2006-05-22  Sandra Loosemore 
4065
 
4066
        * configure.host: Tell it we have _rename and _system when
4067
        building m68k-unknown-elf.
4068
 
4069
2006-08-29  Paul Brook  
4070
 
4071
        * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
4072
 
4073
2006-08-27  Joel Sherrill 
4074
 
4075
        * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
4076
        BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
4077
        This is needed to build all AVR and H8300 RTEMS multilib variants.
4078
 
4079
2006-08-23  Kazunori Asayama  
4080
 
4081
        * libc/machine/configure.in: Add configuration for SPU.
4082
        * libc/machine/configure: Regenerated.
4083
        * libc/machine/spu/memcpy.c: Include string.h.
4084
 
4085
2006-08-22  Eric Blake  
4086
 
4087
        * libc/posix/popen.c (popen): Don't close output end of pipe in
4088
        child if stdout was closed on entry.
4089
        [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
4090
 
4091
2006-08-19  Ramana Radhakrishnan  
4092
 
4093
        * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
4094
        line.
4095
 
4096
2006-08-17  Brian Ford  
4097
 
4098
        * libc/time/gmtime.c: Correct man page; clock is not a
4099
        local time and no conversion occurs.
4100
 
4101
2006-08-16  Joel Schopp  
4102
 
4103
        * configure.host (newlib_cflags) [spu]: Add special compiler
4104
        options to reduce size.
4105
 
4106
2006-08-16  Joel Schopp  
4107
 
4108
        * configure.host: Add spu support.
4109
        * libc/include/stdint.h: Ditto.
4110
        * libc/include/machine/ieeefp.h: Ditto.
4111
        * libc/include/machine/setjmp.h: Ditto.
4112
        * libc/include/sys/config.h: Ditto.
4113
        * libc/include/sys/types.h: Ditto.
4114
        * libc/machine/spu/Makefile.am: New file.
4115
        * libc/machine/spu/Makefile.in: Ditto.
4116
        * libc/machine/spu/aclocal.m4: Ditto.
4117
        * libc/machine/spu/configure: Ditto.
4118
        * libc/machine/spu/configure.in: Ditto.
4119
        * libc/machine/spu/memcpy.c: Ditto.
4120
        * libc/machine/spu/setjmp.S: Ditto.
4121
 
4122
2006-08-03  J"orn Rennecke  
4123
 
4124
        * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
4125
        properly.
4126
 
4127
2006-08-01  Jeff Johnston  
4128
 
4129
        * libc/Makefile.am: Add libc_TEXINFOS dependency on
4130
        generated .texi files.
4131
        * libm/Makefile.am: Add libm_TEXINFOS dependency on
4132
        generated .texi files.
4133
        * libc/Makefile.in: Regenerated.
4134
        * libm/Makefile.in: Ditto.
4135
 
4136
2006-08-01  Thiemo Seufer  
4137
            Nigel Stephens  
4138
 
4139
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
4140
        define this to force _impure_ptr to live in the .sdata section.
4141
 
4142
2006-07-31  Jeff Johnston  
4143
 
4144
        * acinclude.m4: Check for readelf tool.
4145
        * configure.in: Use ${READELF} instead of hard-coding.
4146
        * Regenerate all aclocal.m4, Makefile.in, and configure files.
4147
 
4148
2006-07-31  Jeff Johnston  
4149
 
4150
        * libc/sys/linux/mmap.c: Remove include of sys/mman.h
4151
        to avoid conflict with newer glibc's revision of mremap.
4152
 
4153
2006-07-05  Jeff Johnston  
4154
 
4155
        * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
4156
        floating-point format support.  Also redefine
4157
        dword0 and dword1 macros.
4158
        * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
4159
        to prevent setting dword1 which is an rvalue only.
4160
 
4161
2006-06-22  Jeff Johnston  
4162
 
4163
        * libc/stdlib/Makefile.am: Add new gdtoa routines.
4164
        * libc/stdlib/Makefile.in: Regenerated.
4165
        * libc/stdlib/gd_qnan.h: New file.
4166
        * libc/stdlib/gdtoa-gethex.c: Ditto.
4167
        * libc/stdlib/gdtoa-hexnan.c: Ditto.
4168
        * libc/stdlib/gdtoa.h: Ditto.
4169
        * libc/stdlib/mprec.c: Add new helper routines needed by
4170
        the new gdtoa code.
4171
        * libc/stdlib/mprec.h: Integrate some defines and prototypes
4172
        used by gdtoa routines here.
4173
        * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
4174
        which adds C99 support such as nan, inf, and hexadecimal input
4175
        format.
4176
 
4177
2006-06-15  Corinna Vinschen  
4178
 
4179
        * libc/include/stdio.h (__sgetc_r): Fix typo.
4180
        * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
4181
        * libc/stdio/rget.c (__srbuf): Reinstantiate.
4182
        * libc/stdio/wbuf.c (__swbuf): Ditto.
4183
 
4184
2006-06-14  Jeff Johnston  
4185
 
4186
        * libc/include/stdio.h: Add new reentrant I/O prototypes for
4187
        read/write functions.  Change getc/putc macros to have reentrant underlying
4188
        macros/functions.  This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
4189
        * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
4190
        new reentrant I/O functions/macros for reading/writing.
4191
        * libc/stdio/fgets.c: Ditto.
4192
        * libc/stdio/fputc.c: Ditto.
4193
        * libc/stdio/fputs.c: Ditto.
4194
        * libc/stdio/fread.c: Ditto.
4195
        * libc/stdio/fseek.c: Ditto.
4196
        * libc/stdio64/fseeko64.c: Ditto.
4197
        * libc/stdio/fwrite.c: Ditto.
4198
        * libc/stdio/getc.c: Ditto.
4199
        * libc/stdio/getc_u.c: Ditto.
4200
        * libc/stdio/getchar.c: Ditto.
4201
        * libc/stdio/getchar_u.c: Ditto.
4202
        * libc/stdio/putc.c: Ditto.
4203
        * libc/stdio/putc_u.c: Ditto.
4204
        * libc/stdio/putchar.c: Ditto.
4205
        * libc/stdio/puts.c: Ditto.
4206
        * libc/stdio/vfprintf.c: Ditto.
4207
        * libc/stdio/vfscanf.c: Ditto.
4208
        * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
4209
        Change all previous callers of __sfvwrite.  Set errno to EBADF and
4210
        set error flag on if attempt is made to write to file that does not
4211
        allow writing.
4212
        * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
4213
        * libc/stdio/local.h: Ditto.
4214
        * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
4215
        Set errno to EBADF and the error flag on if attempt is made to
4216
        read unreadable file.  Change all previous callers of __srefill.
4217
        * libc/stdio/rget.c
4218
        * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r.  Change
4219
        all previous callers of __swbuf.
4220
        * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
4221
        huge value macros are already defined correctly for i386 by .
4222
 
4223
2006-06-13  Sandra Loosemore 
4224
 
4225
        * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
4226
        Make them do something useful in the ARM_RDI_MONITOR case.
4227
 
4228
2006-06-07  Fred Fish  
4229
 
4230
        * libc/search/hash_bigkey.c (MIN,MAX): Remove
4231
        defines that are already supplied by .
4232
 
4233
2006-06-07  Fred Fish  
4234
 
4235
        * configure.host: Remove references to HAVE_GETTIMEOFDAY.
4236
 
4237
2006-06-05  Shaun Jackman  
4238
 
4239
        * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
4240
        usleep.c.
4241
        * libc/posix/Makefile.in: Regenerate.
4242
        * libc/posix/sleep.c: New file.
4243
        * libc/posix/usleep.c: Ditto.
4244
 
4245
2006-06-05  Shaun Jackman  
4246
 
4247
        * configure.host (newlib_cflags) [arm, thumb, xscale]:  Remove
4248
        -DABORT_PROVIDED flag.
4249
        * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
4250
        * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
4251
 
4252
2006-06-05  Jeff Johnston  
4253
 
4254
        * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
4255
        * Makefile.in: Regenerated.
4256
        * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
4257
        extraneous CFLAGS reference now that CCASFLAGS are being extended
4258
        properly via multilib.
4259
        * libc/machine/sh/Makefile.in: Regenerated.
4260
 
4261
2006-06-02  Shaun Jackman  
4262
 
4263
        * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
4264
        sigismember.
4265
 
4266
2006-05-23  Jeff Johnston  
4267
 
4268
        * libc/misc/dprintf.c: Removed.
4269
        * libc/misc/__dprintf.c: Renamed from dprintf.c.
4270
        * libc/misc/Makefile.am: Changed appropriately for rename.
4271
        * libc/misc/Makefile.in: Regenerated.
4272
 
4273
2006-05-23  Jeff Johnston  
4274
 
4275
        * libc/include/stdio.h: Protect dprintf prototype
4276
        with #ifndef dprintf so as to not interfere with
4277
        historical code defining their own dprintf macro.
4278
 
4279
2006-05-18  Jeff Johnston  
4280
 
4281
        * libc/include/stdio.h: Add prototypes for fiscanf,
4282
        iscanf, and siscanf.
4283
 
4284
2006-05-11  J"orn Rennecke 
4285
 
4286
        * acinclude.m4 (_NEWLIB_VERSION): Rename to:
4287
        (DEF_NEWLIB_VERSION).
4288
        * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
4289
        * configure: Regenerate.
4290
 
4291
2006-05-09  Jeff Johnston  
4292
 
4293
        * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
4294
        lib_a_SOURCES.
4295
        * libc/ctype/Makefile.in: Regenerated.
4296
 
4297
2006-05-09  Kazu Hirata  
4298
 
4299
        * libc/machine/arm/Makefile.am: Fix a typo.
4300
        * libc/machine/arm/Makefile.in: Regenerated.
4301
 
4302
2006-05-08  J"orn Rennecke 
4303
 
4304
        * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
4305
        * libc/machine/sh/Makefile.in: Regenerate.
4306
 
4307
2006-05-03  J"orn Rennecke 
4308
 
4309
        * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
4310
        * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
4311
 
4312
2006-05-02  Jeff Johnston  
4313
 
4314
        * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
4315
        .s.
4316
        * libc/sys/sysnec810/Makefile.in: Regenerated.
4317
        * libc/sys/sysnec810/crt0.S: Renamed from .s file.
4318
        * libc/sys/sysnec810/io.S: Ditto.
4319
        * libc/sys/sysnec810/crt0.s: Renamed to .S file.
4320
        * libc/sys/sysnec810/io.s: Ditto.
4321
 
4322
2006-05-01  Jeff Johnston  
4323
 
4324
        * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx).  If source file can
4325
        be specified instead of object, do so.
4326
        * libc/ctype/Makefile.am: Ditto.
4327
        * libc/iconv/ccs/Makefile.am: Ditto.
4328
        * libc/iconv/ces/Makefile.am: Ditto.
4329
        * libc/iconv/lib/Makefile.am: Ditto.
4330
        * libc/locale/Makefile.am: Ditto.
4331
        * libc/posix/Makefile.am: Ditto.
4332
        * libc/reent/Makefile.am: Ditto.
4333
        * libc/search/Makefile.am: Ditto.
4334
        * libc/stdio/Makefile.am: Ditto.
4335
        * libc/stdio64/Makefile.am: Ditto.
4336
        * libc/stdlib/Makefile.am: Ditto.
4337
        * libc/string/Makefile.am: Ditto.
4338
        * libc/syscalls/Makefile.am: Ditto.
4339
        * libc/unix/Makefile.am: Ditto.
4340
        * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
4341
        prefix added automatically.  Any specified rules must use $(lpfx) for
4342
        object file names.
4343
        * libc/machine/arm/Makefile.am: Ditto.
4344
        * libc/machine/cris/Makefile.am: Ditto.
4345
        * libc/machine/crx/Makefile.am: Ditto.
4346
        * libc/machine/d10v/Makefile.am: Ditto.
4347
        * libc/machine/d30v/Makefile.am: Ditto.
4348
        * libc/machine/fr30/Makefile.am: Ditto.
4349
        * libc/machine/frv/Makefile.am: Ditto.
4350
        * libc/machine/h8300/Makefile.am: Ditto.
4351
        * libc/machine/h8500/Makefile.am: Ditto.
4352
        * libc/machine/hppa/Makefile.am: Ditto.
4353
        * libc/machine/i386/Makefile.am: Ditto.
4354
        * libc/machine/i960/Makefile.am: Ditto.
4355
        * libc/machine/iq2000/Makefile.am: Ditto.
4356
        * libc/machine/m32c/Makefile.am: Ditto.
4357
        * libc/machine/m32r/Makefile.am: Ditto.
4358
        * libc/machine/m68hc11/Makefile.am: Ditto.
4359
        * libc/machine/m68k/Makefile.am: Ditto.
4360
        * libc/machine/m88k/Makefile.am: Ditto.
4361
        * libc/machine/mips/Makefile.am: Ditto.
4362
        * libc/machine/mn10200/Makefile.am: Ditto.
4363
        * libc/machine/mn10300/Makefile.am: Ditto.
4364
        * libc/machine/mt/Makefile.am: Ditto.
4365
        * libc/machine/necv70/Makefile.am: Ditto.
4366
        * libc/machine/powerpc/Makefile.am: Ditto.
4367
        * libc/machine/sh/Makefile.am: Ditto.
4368
        * libc/machine/sh/Makefile.in: Ditto.
4369
        * libc/machine/sparc/Makefile.am: Ditto.
4370
        * libc/machine/tic4x/Makefile.am: Ditto.
4371
        * libc/machine/tic80/Makefile.am: Ditto.
4372
        * libc/machine/v850/Makefile.am: Ditto.
4373
        * libc/machine/w65/Makefile.am: Ditto.
4374
        * libc/machine/xscale/Makefile.am: Ditto.
4375
        * libc/machine/xstormy16/Makefile.am: Ditto.
4376
        * libc/machine/z8k/Makefile.am: Ditto.
4377
        * libc/sys/a29khif/Makefile.am: Ditto.
4378
        * libc/sys/arm/Makefile.am: Ditto.
4379
        * libc/sys/d10v/Makefile.am: Ditto.
4380
        * libc/sys/h8300hms/Makefile.am: Ditto.
4381
        * libc/sys/h8500hms/Makefile.am: Ditto.
4382
        * libc/sys/linux/Makefile.am: Ditto.
4383
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
4384
        * libc/sys/linux/net/Makefile.am: Ditto.
4385
        * libc/sys/linux/stdlib/Makefile.am: Ditto.
4386
        * libc/sys/m88kbug/Makefile.am: Ditto.
4387
        * libc/sys/mmixware/Makefile.am: Ditto.
4388
        * libc/sys/rdos/Makefile.am: Ditto.
4389
        * libc/sys/rtems/Makefile.am: Ditto.
4390
        * libc/sys/sh/Makefile.am: Ditto.
4391
        * libc/sys/sun4/Makefile.am: Ditto.
4392
        * libc/sys/sysmec/Makefile.am: Ditto.
4393
        * libc/sys/sysnec810/Makefile.am: Ditto.
4394
        * libc/sys/sysnecv850/Makefile.am: Ditto.
4395
        * libc/sys/sysvi386/Makefile.am: Ditto.
4396
        * libc/sys/sysvnecv70/Makefile.am: Ditto.
4397
        * libc/sys/tic80/Makefile.am: Ditto.
4398
        * libc/sys/w65/Makefile.am: Ditto.
4399
        * libc/sys/z8ksim/Makefile.am: Ditto.
4400
        * libc/machine/necv70/fastmath.S: Renamed from .s file.
4401
        * libc/machine/necv70/setjmp.S: Ditto.
4402
        * libc/machine/necv70/fastmath.s: Removed.
4403
        * libc/machine/necv70/setjmp.s: Ditto.
4404
        * libc/machine/w65/*.S: New files renamed from .s files.
4405
        * libc/machine/w65/*.s: Renamed and removed.
4406
        * libc/sys/a29khif/*.S: New files renamed from .s files.
4407
        * libc/sys/a29khif/*.s: Renamed and removed.
4408
        * libc/sys/sysvi386/*.S: New files renamed from .s files.
4409
        * libc/sys/sysvi386/*.s: Renamed and removed.
4410
        * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
4411
        * libc/sys/sysvnecv70/*.s: Renamed and removed.
4412
        * libc/*Makefile.in: Regenerated as appropriate.
4413
 
4414
2006-04-24  DJ Delorie  
4415
 
4416
        * libc/machine/sh/configure.in: Avoid link tests.
4417
        * libc/machine/sh/configure: Regenerate.
4418
 
4419
2006-04-18  Jeff Johnston  
4420
 
4421
        * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
4422
        (sigaddset, sigemptyset): Add return code.
4423
 
4424
2006-04-13  Ralf Corsepius  
4425
 
4426
        * acinclude.m4: New _NEWLIB_VERSION.
4427
        * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
4428
        Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
4429
        Use new form of AC_INIT_AUTOMAKE.
4430
        * configure.in: AC_PREREQ(2.59).
4431
        Use autoconf-2.5.x version of AC_INIT.
4432
        Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
4433
        autoconf-2.13's AC_OUTPUT.
4434
        * libm/configure.in: Ditto.
4435
        * libm/machine/configure.in: Ditto.
4436
        * libm/machine/i386/configure.in: Ditto.
4437
        * libc/configure.in: Ditto.
4438
        * libc/machine/a29k/configure.in: Ditto.
4439
        * libc/machine/arm/configure.in: Ditto.
4440
        * libc/machine/configure.in: Ditto.
4441
        * libc/machine/mn10300/configure.in: Ditto.
4442
        * libc/machine/powerpc/configure.in: Ditto.
4443
        * libc/machine/z8k/configure.in: Ditto.
4444
        * libc/machine/h8300/configure.in: Ditto.
4445
        * libc/machine/mips/configure.in: Ditto.
4446
        * libc/machine/crx/configure.in: Ditto.
4447
        * libc/machine/m68hc11/configure.in: Ditto.
4448
        * libc/machine/h8500/configure.in: Ditto.
4449
        * libc/machine/xscale/configure.in: Ditto.
4450
        * libc/machine/d10v/configure.in: Ditto.
4451
        * libc/machine/fr30/configure.in: Ditto.
4452
        * libc/machine/sh/configure.in: Ditto.
4453
        * libc/machine/tic80/configure.in: Ditto.
4454
        * libc/machine/m32r/configure.in: Ditto.
4455
        * libc/machine/xstormy16/configure.in: Ditto.
4456
        * libc/machine/i386/configure.in: Ditto.
4457
        * libc/machine/d30v/configure.in: Ditto.
4458
        * libc/machine/mn10200/configure.in: Ditto.
4459
        * libc/machine/frv/configure.in: Ditto.
4460
        * libc/machine/mt/configure.in: Ditto.
4461
        * libc/machine/i960/configure.in: Ditto.
4462
        * libc/machine/v850/configure.in: Ditto.
4463
        * libc/machine/necv70/configure.in: Ditto.
4464
        * libc/machine/tic4x/configure.in: Ditto.
4465
        * libc/machine/cris/configure.in: Ditto.
4466
        * libc/machine/m68k/configure.in: Ditto.
4467
        * libc/machine/m32c/configure.in: Ditto.
4468
        * libc/machine/hppa/configure.in: Ditto.
4469
        * libc/machine/w65/configure.in: Ditto.
4470
        * libc/machine/iq2000/configure.in: Ditto.
4471
        * libc/machine/sparc/configure.in: Ditto.
4472
        * libc/machine/m88k/configure.in: Ditto.
4473
        * libc/sys/linux/configure.in: Ditto.
4474
        * libc/sys/linux/machine/configure.in: Ditto.
4475
        * libc/sys/linux/machine/i386/configure.in: Ditto.
4476
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
4477
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
4478
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
4479
        * libc/sys/arm/configure.in: Ditto.
4480
        * libc/sys/configure.in: Ditto.
4481
        * libc/sys/decstation/configure.in: Ditto.
4482
        * libc/sys/a29khif/configure.in: Ditto.
4483
        * libc/sys/sysnecv850/configure.in: Ditto.
4484
        * libc/sys/d10v/configure.in: Ditto.
4485
        * libc/sys/netware/configure.in: Ditto.
4486
        * libc/sys/mmixware/configure.in: Ditto.
4487
        * libc/sys/h8500hms/configure.in: Ditto.
4488
        * libc/sys/sh/configure.in: Ditto.
4489
        * libc/sys/tic80/configure.in: Ditto.
4490
        * libc/sys/rdos/configure.in: Ditto.
4491
        * libc/sys/sysmec/configure.in: Ditto.
4492
        * libc/sys/sysvi386/configure.in: Ditto.
4493
        * libc/sys/h8300hms/configure.in: Ditto.
4494
        * libc/sys/sparc64/configure.in: Ditto.
4495
        * libc/sys/arc/configure.in: Ditto.
4496
        * libc/sys/sysnec810/configure.in: Ditto.
4497
        * libc/sys/m88kbug/configure.in: Ditto.
4498
        * libc/sys/sysvnecv70/configure.in: Ditto.
4499
        * libc/sys/z8ksim/configure.in: Ditto.
4500
        * libc/sys/rtems/configure.in: Ditto.
4501
        * libc/sys/w65/configure.in: Ditto.
4502
        * libc/sys/sun4/configure.in: Ditto.
4503
        * doc/configure.in: Ditto.
4504
        * iconvdata/configure.in: Ditto.
4505
        * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
4506
 
4507
2006-04-11  Jeff Johnston  
4508
 
4509
        * acinclude.m4: Properly add square brackets for
4510
        AC_DEFUN macros.  Rewrite LIB_AC_PROG_CC to remove
4511
        macros no longer available.  Add LIB_AM_PROG_AS to
4512
        remove prereq of AC_PROG_CC.  Add LIB_AC_PROG_CC_GNU
4513
        macro.  Substitute lpfx (library object prefix).
4514
        * configure.host: Set lpfx depending on whether
4515
        libtool is used or not.
4516
        * configure.in: Individually specify libc and libm
4517
        to AC_CONFIG_SUBDIRS.  Add square bracket quoting as
4518
        necessary.
4519
        * Makefile.am: Use $(lpfx) to get object names for
4520
        math-library functions that should also be in libc.
4521
        * libc/machine/configure.in: Use case statement to determine
4522
        AC_CONFIG_SUBDIRS statement.
4523
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
4524
        * libc/sys/linux/machine/configure.in: Ditto.
4525
        * libc/sys/configure.in: Ditto.
4526
        * libm/machine/configure.in: Ditto.
4527
        * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
4528
        * libm/configure.in: Add AM_CONDITIONAL statement
4529
        for HAVE_LIBM_MACHINE_DIR.
4530
        * libc/machine/a29k/Makefile.am: Modified to work with
4531
        latest automake.  Change includes setting AM_CCASFLAGS
4532
        so building .S files will properly pick up flags used
4533
        to build C files.
4534
        * libc/machine/arm/Makefile.am: Ditto.
4535
        * libc/machine/crx/Makefile.am: Ditto.
4536
        * libc/machine/d10v/Makefile.am: Ditto.
4537
        * libc/machine/d30v/Makefile.am: Ditto.
4538
        * libc/machine/fr30/Makefile.am: Ditto.
4539
        * libc/machine/frv/Makefile.am: Ditto.
4540
        * libc/machine/h8300/Makefile.am: Ditto.
4541
        * libc/machine/h8500/Makefile.am: Ditto.
4542
        * libc/machine/hppa/Makefile.am: Ditto.
4543
        * libc/machine/i386/Makefile.am: Ditto.
4544
        * libc/machine/iq2000/Makefile.am: Ditto.
4545
        * libc/machine/m32c/Makefile.am: Ditto.
4546
        * libc/machine/m32r/Makefile.am: Ditto.
4547
        * libc/machine/m68hc11/Makefile.am: Ditto.
4548
        * libc/machine/m68k/Makefile.am: Ditto.
4549
        * libc/machine/m88k/Makefile.am: Ditto.
4550
        * libc/machine/mips/Makefile.am: Ditto.
4551
        * libc/machine/mn10200/Makefile.am: Ditto.
4552
        * libc/machine/mn10300/Makefile.am: Ditto.
4553
        * libc/machine/mt/Makefile.am: Ditto.
4554
        * libc/machine/necv70/Makefile.am: Ditto.
4555
        * libc/machine/powerpc/Makefile.am: Ditto.
4556
        * libc/machine/sh/Makefile.am: Ditto.
4557
        * libc/machine/sparc/Makefile.am: Ditto.
4558
        * libc/machine/tic4x/Makefile.am: Ditto.
4559
        * libc/machine/tic80/Makefile.am: Ditto.
4560
        * libc/machine/v850/Makefile.am: Ditto.
4561
        * libc/machine/w65/Makefile.am: Ditto.
4562
        * libc/machine/xscale/Makefile.am: Ditto.
4563
        * libc/machine/xstormy16/Makefile.am: Ditto.
4564
        * libc/machine/z8k/Makefile.am: Ditto.
4565
        * libc/sys/a29khif/Makefile.am: Ditto.
4566
        * libc/sys/arc/Makefile.am: Ditto.
4567
        * libc/sys/arm/Makefile.am: Ditto.
4568
        * libc/sys/d10v/Makefile.am: Ditto.
4569
        * libc/sys/decstation/Makefile.am: Ditto.
4570
        * libc/sys/h8300hms/Makefile.am: Ditto.
4571
        * libc/sys/h8500hms/Makefile.am: Ditto.
4572
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
4573
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
4574
        * libc/sys/m88kbug/Makefile.am: Ditto.
4575
        * libc/sys/mmixware/Makefile.am: Ditto.
4576
        * libc/sys/netware/Makefile.am: Ditto.
4577
        * libc/sys/rdos/Makefile.am: Ditto.
4578
        * libc/sys/rtems/Makefile.am: Ditto.
4579
        * libc/sys/sh/Makefile.am: Ditto.
4580
        * libc/sys/sparc64/Makefile.am: Ditto.
4581
        * libc/sys/sysmec/Makefile.am: Ditto.
4582
        * libc/sys/sysnec810/Makefile.am: Ditto.
4583
        * libc/sys/sysnecv850/Makefile.am: Ditto.
4584
        * libc/sys/sysvi386/Makefile.am: Ditto.
4585
        * libc/sys/sysvnecv70/Makefile.am: Ditto.
4586
        * libc/sys/tic80/Makefile.am: Ditto.
4587
        * libc/sys/w65/Makefile.am: Ditto.
4588
        * libc/sys/z8ksim/Makefile.am: Ditto.
4589
        * libm/machine/i386/Makefile.am: Ditto.
4590
        * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
4591
        trap.S so that automake will generate a .S.o suffix rule.
4592
        * libc/argz/Makefile.am: Modified to work with
4593
        latest automake.  Change includes adding lib_a_CFLAGS
4594
        so automake doesn't complain about libtool and non-libtool
4595
        libraries sharing objects.
4596
        * libc/ctype/Makefile.am: Ditto.
4597
        * libc/errno/Makefile.am: Ditto.
4598
        * libc/iconv/ccs/Makefile.am: Ditto.
4599
        * libc/iconv/ces/Makefile.am: Ditto.
4600
        * libc/iconv/lib/Makefile.am: Ditto.
4601
        * libc/locale/Makefile.am: Ditto.
4602
        * libc/misc/Makefile.am: Ditto.
4603
        * libc/posix/Makefile.am: Ditto.
4604
        * libc/reent/Makefile.am: Ditto.
4605
        * libc/search/Makefile.am: Ditto.
4606
        * libc/signal/Makefile.am: Ditto.
4607
        * libc/stdio/Makefile.am: Ditto.
4608
        * libc/stdio64/Makefile.am: Ditto.
4609
        * libc/stdlib/Makefile.am: Ditto.
4610
        * libc/string/Makefile.am: Ditto.
4611
        * libc/sys/linux/Makefile.am: Ditto.
4612
        * libc/sys/linux/argp/Makefile.am: Ditto.
4613
        * libc/sys/linux/cmath/Makefile.am: Ditto.
4614
        * libc/sys/linux/dl/Makefile.am: Ditto.
4615
        * libc/sys/linux/iconv/Makefile.am: Ditto.
4616
        * libc/sys/linux/intl/Makefile.am: Ditto.
4617
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
4618
        * libc/sys/linux/net/Makefile.am: Ditto.
4619
        * libc/sys/linux/stdlib/Makefile.am: Ditto.
4620
        * libc/syscalls/Makefile.am: Ditto.
4621
        * libc/time/Makefile.am: Ditto.
4622
        * libc/unix/Makefile.am: Ditto.
4623
        * libm/Makefile.am: Ditto.
4624
        * libm/common/Makefile.am: Ditto.
4625
        * libm/math/Makefile.am: Ditto.
4626
        * libm/mathfp/Makefile.am: Ditto.
4627
        * Regenerate all aclocal.m4, Makefile.in, and configure files.
4628
 
4629
2006-04-07  Jeff Johnston  
4630
 
4631
        * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
4632
        anymore.  Assume there is a gettimeofday syscall.
4633
 
4634
2006-03-29  Shaun Jackman  
4635
 
4636
        * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
4637
        for the declaration of n_long.
4638
 
4639
2006-03-29  Shaun Jackman  
4640
 
4641
        * libc/sys/linux/include/net/if.h: Include sys/socket.h for
4642
        struct sockaddr.
4643
        (IFF_SMART): Replace this define with IFF_NOTRAILERS.
4644
        (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
4645
        (IFF_NOTRAILERS): New define.
4646
        (struct ifreq): Add ifru_netmask.
4647
        (ifr_netmask): New define.
4648
 
4649
2006-03-29  Shaun Jackman  
4650
 
4651
        * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
4652
        match sys/ioctl.h.
4653
 
4654
2006-03-29  Shaun Jackman  
4655
 
4656
        * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
4657
        linux-newlib libc implementations.
4658
 
4659
2006-03-29  Eric Blake  
4660
 
4661
        * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
4662
        * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
4663
 
4664
2006-03-29  Jeff Johnston  
4665
 
4666
        * libc/sys/linux/io.c (__mknod): Fix declaration of
4667
        syscall to pass a dev_t as third argument rather than
4668
        a pointer to dev_t.
4669
 
4670
2006-03-29  Jeff Johnston  
4671
 
4672
        * libc/sys/linux/net/name6.c: Fix struct references.
4673
 
4674
2006-03-22  Mark Mitchell  
4675
 
4676
        * configure.host: Allow hosts to set the default
4677
        newlib_atexit_dynamic_alloc value.
4678
        * configure.in: Likewise.
4679
        * configure: Regenerated.
4680
 
4681
2006-03-20  Mark Mitchell  
4682
 
4683
        * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
4684
        * configure.in (--disable-newlib-atexit-dynamic-alloc): New
4685
        option.
4686
        * configure: Regenerated.
4687
        * newlib.hin: Regenerated.
4688
        * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
4689
        if _ATEXIT_DYNAMIC_ALLOC is undefined.
4690
        * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
4691
        if _ATEXIT_DYNAMIC_ALLOC is undefined.
4692
 
4693
2006-03-17  Jeff Johnston  
4694
 
4695
        * libc/sys/linux/linuxthreads/config.h: Remove definition
4696
        of UINT32_C.
4697
 
4698
2006-03-15  Jeff Johnston  
4699
 
4700
        * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
4701
        for a string I/O file that isn't using the asprintf family.
4702
 
4703
2006-03-07  Eric Blake  
4704
 
4705
        * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
4706
        filename, allow read-only or write-only FILE atop O_RDWR file
4707
        descriptor.
4708
        * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
4709
 
4710
2006-03-07  Jeff Johnston  
4711
 
4712
        * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
4713
        * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
4714
 
4715
2006-03-02  Jeff Johnston  
4716
 
4717
        * libm/math/math.tex: Fix reference to sisnan.def which
4718
        is now in common subdirectory.
4719
        * libm/mathfp/mathfp.tex: Ditto.
4720
 
4721
2006-02-27  Jeff Johnston  
4722
 
4723
        * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
4724
        s_isnand, and sf_isnanf object files.
4725
        * Makefile.in: Regenerated.
4726
        * libc/include/ieeefp.h: Undef isnan and isinf to avoid
4727
        conflict if  has previously been included.
4728
        * libc/include/math.h
4729
        * libc/include/math.h: Make isnan and isinf macros to
4730
        conform to C99.
4731
        (__isinfd, __isinff, __isnand, __isnanf): New functions.
4732
        * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
4733
        and sf_isnanf files.  Also support s_isnan, sf_isnan, s_isinf, and
4734
        sf_isinf files which have been moved from math/mathfp directories.
4735
        * libm/common/Makefile.in: Regenerated.
4736
        * libm/common/s_isinfd.c: New file.
4737
        * libm/common/s_isnand.c: Ditto.
4738
        * libm/common/sf_isinff.c: Ditto.
4739
        * libm/common/sf_isnanf.c: Ditto.
4740
        * libm/common/s_isinf.c: Moved from libm/math directory.
4741
        * libm/common/s_isnan.c: Ditto.
4742
        * libm/common/sf_isinf.c: Ditto.
4743
        * libm/common/sf_isnan.c: Ditto.
4744
        * libm/math/Makefile.am: Remove isinf and isnan family functions
4745
        which have been moved into common directory.
4746
        * libm/mathfp/Makefile.am: Ditto.
4747
        * libm/math/Makefile.in: Regenerated.
4748
        * libm/mathfp/Makefile.in: Ditto.
4749
        * libm/math/s_isinf.c: Removed.
4750
        * libm/math/s_isnan.c: Ditto.
4751
        * libm/math/sf_isinf.c: Ditto.
4752
        * libm/math/sf_isnan.c: Ditto.
4753
        * libm/mathfp/s_isinf.c: Ditto.
4754
        * libm/mathfp/s_isnan.c: Ditto.
4755
        * libm/mathfp/sf_isinf.c: Ditto.
4756
        * libm/mathfp/sf_isnan.c: Ditto.
4757
 
4758
2006-02-20  Jeff Johnston  
4759
 
4760
        * libc/stdio/fflush.c (fflush): For an fflush on a read-only
4761
        stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
4762
        * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
4763
        seek, turn off the __SNPT no-optimization flag.
4764
 
4765
2006-02-16  Jeff Johnston  
4766
 
4767
        * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
4768
        will be defined.
4769
        * libc/sys/linux/sys/types.h: Move  ahead of
4770
         to preset special flags.
4771
 
4772
2006-02-15  Corinna Vinschen  
4773
 
4774
        * libc/include/sys/time.h (struct timeval): Change member types
4775
        according to SUSv3.
4776
        * libc/include/sys/types.h (useconds_t): Change to unsigned
4777
        according to SUSv3.
4778
        (suseconds_t): Define type.
4779
 
4780
2006-02-13  Jeff Johnston  
4781
            David Carne  
4782
 
4783
        * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
4784
        instead of strlen to determine number of bytes to copy.
4785
        * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
4786
        before looking at storage location.
4787
 
4788
2006-02-07  Paul Brook  
4789
 
4790
        * libc/machine/arm/setjmp.S: Add Thumb-2 support.
4791
        * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
4792
        * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
4793
        * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
4794
        * libc/sys/arm/trap.S: Disable for Thumb-2.
4795
 
4796
2006-01-31  Leif Ekblad  
4797
 
4798
        * configure.host: RDOS support added
4799
        * libc/include/sys/config.h: Ditto.
4800
        * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
4801
        * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
4802
        * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
4803
        * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
4804
        * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
4805
        * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
4806
        * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
4807
        * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
4808
        * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
4809
        * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
4810
        * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
4811
        * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
4812
        * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
4813
        * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
4814
        * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
4815
        * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
4816
        * libc/sys/rdos/write.c: Ditto.
4817
 
4818
2006-01-24  Jeff Johnston  
4819
 
4820
        * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
4821
        so as not to define PACKAGE and VERSION in newlib.h.
4822
        * aclocal.m4: Regenerated.
4823
        * configure: Ditto.
4824
        * newlib.hin: Ditto.
4825
 
4826
2006-01-20  Jeff Johnston  
4827
 
4828
        * acconfig.h: New file to generate newlib.hin from.
4829
        * newlib.hin: Regenerated.
4830
        * stamp-h.in: Regenerated.
4831
        * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
4832
        called automatically.
4833
        * Makefile.in: Regenerated.
4834
        * acinclude.m4: Add proper comment for hack in previous change.
4835
        * aclocal.m4 */aclocal.m4: Regenerated.
4836
        * configure */configure: Regenerated.
4837
 
4838
2006-01-11  Jeff Johnston  
4839
 
4840
        * acinclude.m4: Add hack to prevent INSTALL in subdirs
4841
        from being set to "../".
4842
        * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
4843
        * aclocal.m4: Regenerated.
4844
        * configure: Ditto.
4845
        * Makefile.in: Ditto.
4846
        * doc/aclocal.m4: Ditto.
4847
        * doc/configure: Ditto.
4848
        * iconvdata/aclocal.m4: Ditto.
4849
        * iconvdata/configure: Ditto.
4850
        * libc/*/aclocal.m4: Ditto.
4851
        * libc/*/configure: Ditto.
4852
        * libc/libc.texinfo: Ditto.
4853
        * libm/*/aclocal.m4: Ditto.
4854
        * libm/*/configure: Ditto.
4855
 
4856
2006-01-10  Eric Blake  
4857
 
4858
        * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
4859
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
4860
 
4861
2006-01-10  Jeff Johnston  
4862
 
4863
        * libm/mathfp/s_frexp.c: Check for special values on
4864
        the original input, not the manipulated output value.
4865
        * libm/mathfp/sf_frexp.c: Ditto.
4866
        * libm/mathfp/s_atangent.c: Don't use local value branch
4867
        when checking for quadrant.
4868
        * libm/mathfp/sf_atangent.c: Ditto.
4869
 
4870
2006-01-09  Jeff Johnston  
4871
 
4872
        * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
4873
        * libc/stdio64/freopen64.c: Ditto.
4874
 
4875
2006-01-09  Eric Blake  
4876
 
4877
        * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
4878
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
4879
 
4880
2006-01-06  Jeff Johnston  
4881
 
4882
        * libc/sys/linux/include/getopt.h: Add macros needed by
4883
        new version of getopt.c in libc/stdlib.
4884
 
4885
2006-01-04  Gregory Pietsch  
4886
 
4887
        * libc/stdlib/getopt.c: Replaced with version
4888
        that adds getopt_long and getopt_long_only support.
4889
        * libc/include/getopt.h: New file.
4890
 
4891
2005-12-16  Jeff Johnston  
4892
 
4893
        * NEWS: Update with 1.14.0 info.
4894
        * README: Ditto.
4895
        * acinclude.m4: Change version number to 1.14.0.
4896
        * aclocal.m4: Regenerated.
4897
        * configure: Ditto.
4898
        * doc/aclocal.m4: Ditto.
4899
        * doc/configure: Ditto.
4900
        * libc/*/aclocal.m4: Ditto.
4901
        * libc/*/configure: Ditto.
4902
        * libc/libc.texinfo: Ditto.
4903
        * libm/*/aclocal.m4: Ditto.
4904
        * libm/*/configure: Ditto.
4905
        * libm/libm.texinfo: Ditto.
4906
        * libc/sys/linux/shared.ld: Add VERS_1.14.
4907
 
4908
2005-12-16  Jeff Johnston  
4909
 
4910
        * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
4911
        take a pointer to struct stat64 rather than struct stat.
4912
 
4913
2005-12-16  Ralf Corsepius 
4914
 
4915
        * libc/include/stdint.h: Prefer long over int for int32_t.
4916
        Use __have_long32 to set up int32_t.
4917
        * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
4918
        (Sync with stdint.h).
4919
 
4920
2005-12-14  Corinna Vinschen  
4921
 
4922
        * libc/include/sys/fcntl.h: Define O_SYNC unconditionally.  Fix
4923
        typo in O_NDELAY comment.
4924
 
4925
2005-12-13  Nathan Sidwell  
4926
 
4927
        * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
4928
        * libc/include/machine/setjmp.h (__mt__): Likewise.
4929
        * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
4930
        * libc/machine/configure.in: Ditto.
4931
 
4932
2005-12-12  Nathan Sidwell  
4933
 
4934
        * configure.host: Replace ms1 arch with mt arch.
4935
        * libc/machine/mt: Renamed from ms1 dir.
4936
 
4937
2005-12-08  Shaun Jackman  
4938
 
4939
        * libc/include/sys/types.h: Remove the ifdef armour around
4940
        standard POSIX types.
4941
 
4942
2005-12-06  Ralf Corsepius 
4943
 
4944
        * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
4945
        rtems_gxx_key_delete, rtems_gxx_getspecific,
4946
        rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
4947
        rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
4948
        rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
4949
 
4950
2005-12-05  Christopher Faylor  
4951
 
4952
        * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
4953
        file.  Declare unsetenv and _unsetenv_r when not cygwin.
4954
 
4955
2005-11-18  Jeff Johnston  
4956
 
4957
        * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
4958
        Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
4959
 
4960
2005-11-18  Christopher Faylor  
4961
 
4962
        * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
4963
 
4964
2005-11-18  Christopher Faylor  
4965
 
4966
        * include/time.h: Remove more cygwin-specific stuff.
4967
 
4968
2005-11-18  Christopher Faylor  
4969
 
4970
        * include/time.h: Move cygwin declarations to cygwin-specific header.
4971
        * include/sys/time.h: Rename cygwin include to "sys_time.h".
4972
 
4973
2005-11-17  Jeff Johnston  
4974
 
4975
        * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
4976
        in libc/sys/linux/include.
4977
        * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
4978
        * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
4979
        * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
4980
        in libc/sys/linux/dl.
4981
 
4982
2005-11-11  Christopher Faylor  
4983
 
4984
        * libc/include/sys/time.h: For cygwin, use general header rather than
4985
        specific "sys/select.h".
4986
 
4987
2005-11-08  Tom Walsh  
4988
 
4989
        * libc/time/tzvars.c: New file.
4990
        * libc/time/tzset_r.c: Moved globals into tzvars.c
4991
        so other time functions needn't link in __tzset_r and its
4992
        dependencies.
4993
        * libc/time/Makefile.am: Add the new file.
4994
        * libc/time/Makefile.in: Regenerated.
4995
 
4996
2005-11-08  Christopher Faylor  
4997
 
4998
        * libc/include/string.h: Add cygwin-specific function declaration.
4999
 
5000
2005-11-07  Corinna Vinschen  
5001
 
5002
        * libc/include/ieeefp.h: Add C++ guards.
5003
 
5004
2005-11-03  Jeff Johnston  
5005
 
5006
        * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
5007
        * libc/unix/getlogin.c: Ditto.
5008
        * libc/unix/getpass.c: Ditto.
5009
        * libc/unix/getut.c: Ditto.
5010
        * libc/unix/ttyname.c: Ditto.
5011
 
5012
2005-11-03  Shaun Jackman  
5013
 
5014
        * libc/include/sys/unistd.h (readlink, symlink): Provide these
5015
        prototypes by default.
5016
        * libc/sys/linux/include/unistd.h (readlink): Remove this
5017
        prototype.
5018
        * libc/sys/linux/sys/unistd.h (readlink, symlink): New
5019
        prototypes.
5020
 
5021
2005-11-01  Ralf Corsepius 
5022
 
5023
        * libc/include/stdint.h: Cleanup #if vs. #ifdef.
5024
 
5025
2005-10-31  Darin Johnson  
5026
 
5027
        * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
5028
        correct for constants.
5029
 
5030
2005-10-28  Bob Wilson  
5031
 
5032
        * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
5033
        * libc/stdio/siscanf.c: Likewise.
5034
        * libc/stdio/sprintf.c: Likewise.
5035
        * libc/stdio/sscanf.c: Likewise.
5036
        * libc/stdio/vfprintf.c: Likewise.
5037
        * libc/stdio/vfscanf.c: Likewise.
5038
        * libc/stdio/viprintf.c: Likewise.
5039
        * libc/stdio/viscanf.c: Likewise.
5040
 
5041
2005-10-28  Bob Wilson  
5042
 
5043
        * libc/sys.tex (Stubs): Format examples consistently.   Change sbrk
5044
        example to use "_end" symbol instead of "end".  Change write  example
5045
        to use "outbyte" instead of "writechar".
5046
 
5047
2005-10-28  Bob Wilson  
5048
 
5049
        * libc/ctype/ctype.tex: Use hyphens as appropriate, but not  otherwise.
5050
        * libc/ctype/islower.c: Likewise.
5051
        * libc/ctype/isupper.c: Likewise.
5052
        * libc/ctype/iswalnum.c: Likewise.
5053
        * libc/ctype/iswalpha.c: Likewise.
5054
        * libc/ctype/iswblank.c: Likewise.
5055
        * libc/ctype/iswcntrl.c: Likewise.
5056
        * libc/ctype/iswdigit.c: Likewise.
5057
        * libc/ctype/iswgraph.c: Likewise.
5058
        * libc/ctype/iswlower.c: Likewise.
5059
        * libc/ctype/iswprint.c: Likewise.
5060
        * libc/ctype/iswpunct.c: Likewise.
5061
        * libc/ctype/iswspace.c: Likewise.
5062
        * libc/ctype/iswupper.c: Likewise.
5063
        * libc/ctype/iswxdigit.c: Likewise.
5064
        * libc/ctype/tolower.c: Likewise.
5065
        * libc/ctype/toupper.c: Likewise.
5066
        * libc/ctype/towctrans.c: Likewise.
5067
        * libc/ctype/towlower.c: Likewise.
5068
        * libc/ctype/towupper.c: Likewise.
5069
        * libc/string/strcasecmp.c: Likewise.
5070
        * libc/string/strcoll.c: Likewise.
5071
        * libc/string/strings.tex: Likewise.
5072
        * libc/string/strlwr.c: Likewise.
5073
        * libc/string/strncasecmp.c: Likewise.
5074
        * libc/string/strupr.c: Likewise.
5075
        * libc/string/wcscoll.c: Likewise.
5076
        * libc/string/wcslcat.c: Likewise.
5077
        * libc/string/wcslcpy.c: Likewise.
5078
        * libc/string/wcsnlen.c: Likewise.
5079
        * libc/string/wcsstr.c: Likewise.
5080
        * libc/string/wcstrings.tex: Likewise.
5081
        * libc/string/wmemchr.c: Likewise.
5082
        * libc/string/wmemcmp.c: Likewise.
5083
        * libc/string/wmemcpy.c: Likewise.
5084
        * libc/string/wmemmove.c: Likewise.
5085
        * libc/string/wmemset.c: Likewise.
5086
 
5087
2005-10-28  Bob Wilson  
5088
 
5089
        * libc/misc/unctrl.c: Replace FUNCTION description.
5090
        * libc/signal/signal.c: Remove documentation for raise and  _raise_r.
5091
        * libc/stdio/getdelim.c: Fix spelling errors.
5092
        * libc/stdio/getw.c: Put RETURNS on a separate line.  Fix  punctuation.
5093
        * libc/stdio/putw.c: Likewise.
5094
        * libc/stdlib/a64l.c: Fix formatting, spelling and  punctuation in
5095
        documentation.
5096
        * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
5097
        * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
5098
        * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
5099
        * libc/stdlib/mlock.c: Likewise.
5100
        * libc/stdlib/mstats.c: Likewise.
5101
        * libc/time/tzlock.c: Likewise.
5102
        * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe"  in NOTES.
5103
        * libc/stdlib/rand48.c: Remove extra space in FUNCTION  description
5104
        and hyphenate "pseudo-random".
5105
        * libc/string/bcmp.c: Remove extra blank lines in  documentation.
5106
        * libc/string/strncat.c: Likewise.
5107
        * libc/string/memchr.c: Remove extra ">" character in  documentation.
5108
        * libc/string/strcspn.c: Use "characters" instead of "chars".
5109
        * libc/string/strpbrk.c: Likewise.
5110
        * libc/string/strerror_r.c: Capitalize "GNU".
5111
        * libc/string/strnlen.c: Likewise.
5112
        * libc/string/strtok.c: Fix formatting, spelling and  punctuation in
5113
        documentation.  Use "multi-threaded" and "thread-safe" in  NOTES.
5114
        * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
5115
        * libc/string/wcschr.c: Likewise.
5116
        * libc/string/wcscmp.c: Likewise.
5117
        * libc/string/wcscpy.c: Likewise.
5118
        * libc/string/wcscspn.c: Likewise.
5119
        * libc/string/wcslen.c: Likewise.
5120
        * libc/string/wcsncat.c: Likewise.
5121
        * libc/string/wcsncmp.c: Likewise.
5122
        * libc/string/wcsncpy.c: Likewise.
5123
        * libc/string/wcsnlen.c: Likewise.
5124
        * libc/string/wcspbrk.c: Likewise.
5125
        * libc/string/wcsrchr.c: Likewise.
5126
        * libc/string/wcsspn.c: Likewise.
5127
        * libc/string/wmemchr.c: Likewise.
5128
        * libc/string/wmemcmp.c: Likewise.
5129
        * libc/string/wmemcpy.c: Likewise.
5130
        * libc/string/wmemset.c: Likewise.
5131
        * libc/string/wmemmove.c: Likewise.  Also fix FUNCTION  description.
5132
        * libc/string/wcswidth.c: Formatting and punctuation in  documentation.
5133
        * libc/string/wcwidth.c: Likewise.
5134
        * libm/common/s_modf.c: Remove extra period from documentation.
5135
        * libm/math/s_isnan.c: Fix formatting, grammar and  punctuation in
5136
        documentation.
5137
        * libm/mathfp/s_isnan.c: Likewise.
5138
        * libm/math/s_ldexp.c: Fix punctuation.
5139
        * libm/mathfp/s_ldexp.c: Likewise.
5140
        * libm/math/w_log.c: Likewise.
5141
        * libm/mathfp/s_logarithm.c: Likewise.
5142
        * libm/math/w_j0.c: Add spaces to FUNCTION description.
5143
        * libm/mathfp/w_jn.c: Likewise.
5144
 
5145
2005-10-26  Shaun Jackman  
5146
 
5147
        * libc/posix/scandir.c (scandir): Update the function
5148
        prototype to match the header.
5149
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
5150
        extraneous #endif.
5151
        * libc/sys/linux/sys/lock.h: Do not include
5152
        machine/weakalias.h, since it's not used by this file.
5153
 
5154
2005-10-26  Jeff Johnston  
5155
 
5156
        * libc/Makefile.am: Reorder SUBLIBS so machine and sys
5157
        directories can override properly.
5158
 
5159
2005-10-20  Jeff Johnston  
5160
 
5161
        * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
5162
        gcc is 3.3 or greater, use special gcc builtins.
5163
 
5164
2005-10-20  Corinna Vinschen 
5165
 
5166
        * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
5167
 
5168
2005-10-18  Corinna Vinschen 
5169
 
5170
        * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
5171
 
5172
2005-10-14  Jeff Johnston  
5173
 
5174
        * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
5175
        * libm/common/Makefile.am: Add s_infconst.c support.
5176
        * libm/common/Makefile.in: Regenerated.
5177
        * libm/common/s_infconst.c: New file with float and
5178
        long double infinity support added.
5179
        * libm/math/Makefile.am: Remove s_infconst.c support.
5180
        * libm/math/Makefile.in: Regenerated.
5181
        * libm/math/s_infconst.c: Moved to common directory.
5182
        * libm/mathfp/Makefile.am: Remove s_infconst.c support.
5183
        * libm/mathfp/Makefile.in: Regenerated.
5184
        * libm/mathfp/s_infconst.c: Moved to common directory.
5185
 
5186
2005-10-14  Jeff Johnston  
5187
 
5188
        * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
5189
        dbgprintf to prevent conflict with new dprintf function.
5190
 
5191
2005-10-14  Jeff Johnston  
5192
 
5193
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
5194
        "nan" processing for systems that have long double support.
5195
 
5196
2005-10-14  Jeff Johnston  
5197
 
5198
        * libc/sys/linux/sys/types.h (int8_t): Add type.
5199
 
5200
2005-10-14  Bob Wilson  
5201
 
5202
        * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
5203
        * libm/common/Makefile.in: Regenerate.
5204
        * libm/common/common.tex: Delete file.
5205
        * libm/math/math.tex: Include .def files from common/.
5206
        * libm/mathfp/mathfp.tex: Likewise.
5207
 
5208
2005-10-14  Bob Wilson  
5209
 
5210
        * libc/libc.texinfo (Top): Surround this node with @ifnottex
5211
        instead of @ifinfo.  Update menu to add Introduction and match
5212
        SUBDIRS order.
5213
        (Introduction): New section.
5214
 
5215
2005-10-14  Bob Wilson  
5216
 
5217
        * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
5218
        with "Red Hat newlib C Library".
5219
        * libc/sys.tex (Stubs): Likewise.
5220
        * libm/math/math.tex (Math): Likewise.
5221
        * libm/mathfp/mathfp.tex (Math): Likewise.
5222
 
5223
2005-10-11  Shaun Jackman  
5224
 
5225
        * libc/include/stdio.h (dprintf): New declaration.
5226
        (vdprintf): Ditto.
5227
        * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
5228
        and vdprintf.c.
5229
        * libc/stdio/Makefile.in: Regenerate.
5230
        * libc/stdio/dprintf.c: New file.
5231
        * libc/stdio/vdprintf.c: New file.
5232
        * libc/stdio/stdio.tex (dprintf): New entry.
5233
 
5234
2005-10-11  David Weatherford  
5235
 
5236
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
5237
        Print "inf" and "nan" in lowercase for e/f/g formats and in
5238
        uppercase for E/F/G formats.
5239
 
5240
2005-10-07  Bob Wilson  
5241
 
5242
        * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
5243
        to ENOMEM on failure.
5244
 
5245
2005-10-06  Ralf Corsepius 
5246
 
5247
        * libc/include/stdint.h: Add [u]int_fast_t types.
5248
 
5249
2005-10-04  Ralf Corsepius 
5250
 
5251
        * libc/include/stdint.h: Move magic to set __have_long* to the
5252
        beginning.  Use #if __have* instead of #if defined(__have*).
5253
        Minor typo fixes.
5254
 
5255
2005-10-04  James E Wilson  
5256
 
5257
        * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next.  Add
5258
        #error.
5259
 
5260
2005-10-03  Jeff Johnston  
5261
 
5262
        * libc/sys/linux/include/stdint.h: Include  and
5263
        incorporate Ralf's change below.
5264
 
5265
2005-10-03  Ralf Corsepius 
5266
 
5267
        * libc/include/stdint.h:
5268
        Use __INTMAX_TYPE__ to derive intmax_t.
5269
        Use __UINTMAX_TYPE__ to derive uintmax_t.
5270
        Fix minor typo.
5271
 
5272
2005-09-27  Ralf Corsepius 
5273
 
5274
        * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
5275
        handling GCC >= 4.
5276
 
5277
2005-09-20  Jeff Johnston  
5278
 
5279
        * libc/sys/linux/include/stdint.h: Update to match functionality
5280
        of generic newlib stdint.h.
5281
 
5282
2005-09-20  Jeff Johnston  
5283
 
5284
        * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
5285
        and do not #undef the macro after it is used.  Fix typos.
5286
        Also change 64-bit constants to use the __have_long64 and
5287
        __have_longlong64 flags to determine if long or long long
5288
        constants should be used.
5289
        * libc/include/inttypes.h: Include stddef.h to get wchar_t
5290
        type defined.
5291
 
5292
2005-09-20  Shaun Jackman  
5293
 
5294
        * libc/include/stdint.h: Fix typo in names of
5295
        LEAST macros.
5296
 
5297
2005-09-20  Jeff Johnston  
5298
 
5299
        * libc/sys/rtems/include/inttypes.h: Moved to...
5300
        * libc/include/inttypes.h: ...here.
5301
 
5302
2005-09-19  Jeff Johnston  
5303
 
5304
        * libc/sys/rtems/include/stdint.h: Moved to...
5305
        * libc/include/stdint.h: ...here.
5306
 
5307
2005-09-08  Jeff Johnston  
5308
 
5309
        * Makefile.am: Add include files under bits sub-directory.
5310
        * Makefile.in: Regenerated.
5311
        * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
5312
        actual value of 1 to be compatible with newer glibc headers.
5313
        * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
5314
        glibc headers.
5315
        * libc/sys/linux/sys/dirent.h: Ditto.
5316
        * libc/sys/linux/argp/argp-xinl.c: Ditto.
5317
        * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
5318
        profile_fixup routines are marked used so they won't be
5319
        optimized away.
5320
        * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
5321
        to mark functions as weak.
5322
        * libc/sys/linux/dl/dl-open.c: Ditto.
5323
        * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
5324
        rules about lvalues.
5325
        * libc/sys/linux/iconv/gconv_simple.c: Ditto.
5326
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
5327
        weak_extern macro to mark functions as weak.  Instead always
5328
        use #pragma weak.
5329
        * iconvdata/jis0208.h: Fix to work with gcc4.
5330
        * libc/sys/linux/dl/dl-load.c: Ditto.
5331
        * libc/sys/linux/dl/dl-reloc.c: Ditto.
5332
        * libc/sys/linux/dl/do-rel.h: Ditto.
5333
        * libc/sys/linux/dl/dynamic-link.h: Ditto.
5334
        * libc/sys/linux/include/ltdl.h: Ditto.
5335
        * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
5336
        * libc/sys/linux/machine/i386/weakalias.h: Ditto.
5337
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
5338
        * libc/sys/linux/bits/initspin.h: New file.
5339
        * libc/sys/linux/bits/libc-lock.h: Ditto.
5340
        * libc/sys/linux/bits/pthreadtypes.h: Ditto.
5341
        * libc/sys/linux/bits/typesizes.h: Ditto.
5342
 
5343
2005-09-08  Eric Blake  
5344
 
5345
        * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
5346
        before is NULL.
5347
 
5348
2005-09-08  Brian Dessent  
5349
 
5350
        * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
5351
        mantissa.
5352
        * s_lrint.c: Ditto.
5353
 
5354
2005-09-02  Jeff Johnston  
5355
 
5356
        * libc/include/stdio.h: Add prototype for viprintf.
5357
 
5358
2005-09-01  Jeff Johnston  
5359
 
5360
        * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
5361
        any positive power results in 0.
5362
        * libm/mathfp/sf_pow.c (powf): Ditto.
5363
 
5364
2005-08-31  Paul Brook  
5365
 
5366
        * configure.host: Set have_crt0 to no for Arm targts when not
5367
        providing syscalls.  Set sys_dir=arm unconditionally.
5368
        Default have_crt0 based on sys_dir.
5369
        * configure.in: Use have_crt0.
5370
        * libc/configure.in: Ditto.
5371
        * libc/sys/configure.in: Ditto.
5372
        * configure: Regenerate.
5373
        * libc/configure: Regenerate.
5374
        * libc/sys/configure: Regenerate.
5375
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
5376
        Only build other files when providing syscalls.
5377
        * libc/sys/arm/Makefile.in: Regenerate.
5378
        * libc/sys/arm/aeabi_atexit.c: New file.
5379
 
5380
2005-08-26  Christopher Faylor  
5381
 
5382
        * libc/include/string.h: Revert previous change.
5383
 
5384
2005-08-25  Christopher Faylor  
5385
 
5386
        * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
5387
 
5388
2005-08-22  Shaun Jackman  
5389
 
5390
        * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
5391
        define _opendir as opendir, _readdir as readdir, and
5392
        _closedir as closedir so that the implementations in
5393
        libc/posix will be used.
5394
 
5395
2005-08-10  DJ Delorie  
5396
 
5397
        * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
5398
 
5399
2005-08-10  Stephen Huw Clarke  
5400
 
5401
        * libm/common/sf_fmax.c: Fix to properly handle NaNs.
5402
        * libm/common/s_max.c: Ditto.
5403
        * libm/common/sf_fmin.c: Ditto.
5404
        * libm/common/s_min.c: Ditto.
5405
 
5406
2005-08-10  DJ Delorie  
5407
 
5408
        * configure.host: Add m32c support.
5409
        * libc/include/machine/ieeefp.h: Likewise.
5410
        * libc/include/machine/setjmp.h: Likewise.
5411
        * libc/include/sys/config.h: Likewise.
5412
        * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
5413
        * libc/machine/m32c/aclocal.m4: New file.
5414
        * libc/machine/m32c/configure: Ditto.
5415
        * libc/machine/m32c/configure.in: Ditto.
5416
        * libc/machine/m32c/Makefile.am: Ditto.
5417
        * libc/machine/m32c/Makefile.in: Ditto.
5418
        * libc/machine/m32c/setjmp.S: Ditto.
5419
 
5420
2005-08-02  Bob Wilson  
5421
 
5422
        * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
5423
        to the value for 2^126.
5424
 
5425
2005-07-26  Hans-Peter Nilsson  
5426
 
5427
        * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
5428
        used.
5429
 
5430
2005-07-20  Bob Wilson  
5431
           Darin Petkov 
5432
 
5433
       * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
5434
 
5435
2005-07-19  Paul Brook  
5436
 
5437
        * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
5438
 
5439
2005-07-18  Joseph S. Myers  
5440
 
5441
        * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
5442
        names after PASS and FAIL which do not depend on source directory
5443
        name or on whether test passed or failed.
5444
        * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
5445
 
5446
2005-07-08  Ola Hugosson   
5447
 
5448
        * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
5449
 
5450
2005-07-07  Shaun Jackman  
5451
 
5452
        * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
5453
        twice for the same directory. _closedir calls free, and freeing
5454
        the same pointer twice may cause a crash.
5455
 
5456
2005-07-06  Aldy Hernandez  
5457
 
5458
        * configure.host: Added entry for ms1*.
5459
        * libc/include/machine/ieeefp.h: Handle ms1.
5460
        * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
5461
        * libc/machine/ms1/aclocal.m4: New.
5462
        * libc/machine/ms1/configure: New.
5463
        * libc/machine/ms1/configure.in: New.
5464
        * libc/machine/ms1/Makefile.am: New.
5465
        * libc/machine/ms1/Makefile.in: New.
5466
        * libc/machine/ms1/setjmp.S: New.
5467
 
5468
2005-07-04  Mark Mitchell  
5469
 
5470
        * Makefile.am (site.exp): Set tmpdir.
5471
        * Makefile.in: Regenerated.
5472
        * testsuite/lib/checkoutput.exp (newlib_check_output): Put
5473
        executables in $tmpdir.
5474
        * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
5475
        libgloss version if not running in the build directory.
5476
        * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
5477
        $tmpdir.
5478
        * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
5479
        in $tmpdir.
5480
 
5481
2005-06-28  Dave Korn  
5482
 
5483
        * libm/common/s_lrint.c (lrint):  Fix signed-vs-unsigned comparison
5484
        and miscalculation caused by fp representation of zero.
5485
        * libm/common/sf_lrint.c (lrintf):  Likewise.
5486
 
5487
2005-06-16  Christopher Faylor  
5488
 
5489
        * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
5490
        determine characteristics of long double.  Use a union instead.
5491
        * ldtoa.c (_ldtoa_r): Ditto.
5492
        (_ldcheck): Ditto.
5493
        (_strtold): Ditto.
5494
        (union uconv): New union.
5495
 
5496
2005-06-03  Jeff Johnston  
5497
 
5498
        * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
5499
        instead of memcpy.
5500
 
5501
2005-05-12  Jeff Johnston  
5502
 
5503
        * configure.host (mn10300-*): Add long long I/O support by default.
5504
 
5505
2005-05-12  Jeff Johnston  
5506
 
5507
        * libc/sys/linux/getpwuid.c: Removed.
5508
        * libc/sys/linux/getpwnam.c: Removed.
5509
        * libc/sys/linux/getpwent.c: New file containing logic
5510
        from files removed above.  This allows overriding of file
5511
        in libc/unix.
5512
        * libc/sys/linux/Makefile.am: Support changes above.
5513
        * libc/sys/linux/Makefile.in: Regenerated.
5514
 
5515
2005-04-28  Jeff Johnston  
5516
 
5517
        * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
5518
        when checking for multiple flags.
5519
 
5520
2005-04-18  Hans-Peter Nilsson  
5521
 
5522
        * configure.host : Set
5523
        default_newlib_io_long_long="yes".
5524
 
5525
2005-04-08  Jeff Johnston  
5526
 
5527
        * libc/include/libgen.h: New file.
5528
 
5529
2005-04-08  Shaun Jackman  
5530
 
5531
        * libc/unix/Makefile.am: Add support for basename and dirname.
5532
        * libc/unix/Makefile.in: Regenerated.
5533
        * libc/unix/basename.c: New file.
5534
        * libc/unix/dirname.c: New file.
5535
 
5536
2005-04-07  Shaun Jackman  
5537
 
5538
        * libc/sys/linux/inode.c (lchown): New function.
5539
 
5540
2005-04-07  Shaun Jackman  
5541
 
5542
        * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
5543
        ELIX level is defined.
5544
        * libc/unix/Makefile.in: Regenerated.
5545
 
5546
2005-04-05  Dave Korn  
5547
 
5548
        * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
5549
        something that looks like a "NaN", put back the characters processed.
5550
 
5551
2005-04-01  Corinna Vinschen  
5552
 
5553
        * libc/stdlib/strtod.c (_strtod_r): Never change s00.
5554
 
5555
2005-03-23  Christopher Faylor  
5556
 
5557
        * configure.host: For cygwin, redefine CC with cygwin include directory
5558
        first to mimic the behavior of the top-level configury.  Move include
5559
        directory out of newlib_cflags.
5560
 
5561
2005-03-22  Jeff Johnston  
5562
 
5563
        * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
5564
        * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
5565
        than errno.
5566
 
5567
2005-03-22  Christopher Faylor  
5568
 
5569
        * libc/include/machine/_types.h: Make trivial change to comment to
5570
        avoid a spurious warning from gcc.
5571
 
5572
2005-03-21  Nicholas Wourms  
5573
 
5574
        * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
5575
        since _WANT_IO_POS_ARGS is now defined in there.  Remove duplicate
5576
        reent.h include.
5577
 
5578
2005-03-18  Hans-Peter Nilsson  
5579
            Corinna Vinschen  
5580
 
5581
        * libc/include/ctype.h: Remove invalid +1 offset from
5582
        ctype macro references to __ctype_ptr.
5583
        (_ctype_): Move declaration outside #ifndef __cplusplus.
5584
 
5585
2005-03-18  Corinna Vinschen  
5586
 
5587
        * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
5588
        evaluate first parameter only once.
5589
        (siglongjmp): Ditto.
5590
 
5591
2005-03-17  Jeff Johnston  
5592
 
5593
        * configure.in: Add new check to see if compiler supports
5594
        aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
5595
        * configure: Regenerated.
5596
        * Makefile.in: Ditto.
5597
        * newlib.hin: Add _HAVE_ARRAY_ALIASING.
5598
        * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
5599
        aliasing the _ctype_ array to _ctype_b.
5600
        * libc/include/ctype.h: Change macros to use __ctype_ptr.  Mark
5601
        _ctype_ as deprecated.
5602
 
5603
2005-03-17  Hans-Peter Nilsson  
5604
 
5605
        * configure.host (newlib_cflags) : Add
5606
        -DCOMPACT_CTYPE.
5607
 
5608
2005-03-06  Ralf Corsepious  
5609
 
5610
        * libc/sys/rtems/include/inttypes.h: New file.
5611
        * libc/sys/rtems/include/stdint.h: Ditto.
5612
 
5613
2005-03-06  Ralf Corsepious  
5614
 
5615
        * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
5616
 
5617
2005-03-06  Ralf Corsepious  
5618
 
5619
        * libc/include/machine/_types.h: New file.
5620
        * libc/include/sys/types.h: Do not check for __rtems__
5621
        when including .  Remove some redundant
5622
        declarations now that  is included.
5623
        * libc/sys/rtems/machine/_types.h: Removed.  Replaced with
5624
        shared header file.
5625
 
5626
2005-02-25  Ralf Corsepious  
5627
 
5628
        * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
5629
        L qualifier for these long constants.
5630
 
5631
2005-02-25  Eric Blake  
5632
 
5633
        * libc/include/time.h (__tzrule_struct): Make offset long, since
5634
        a 16-bit int overflows on a 12-hour offset.
5635
        * libc/sys/linux/include/time.h: Ditto.
5636
        * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
5637
        * libc/time/mktm_r.c: Ditto.
5638
        * libc/time/gettzinfo.c: Ditto.
5639
        * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
5640
        years.  Fix '%z' to use long, not int.
5641
 
5642
2005-02-24  Ralf Corsepious  
5643
 
5644
        * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
5645
        manipulate float values in integer form.
5646
        * libm/common/sf_round.c: Ditto.
5647
 
5648
2005-02-24  Ralf Corsepious  
5649
 
5650
        * libc/include/sys/types.h [__rtems__]: Include new
5651
        header file machine/_types.h.
5652
        * libc/include/machine/types.h: Ditto.
5653
        * libc/sys/rtems/machine/_types.h: New file.
5654
 
5655
2005-02-23  Corinna Vinschen  
5656
 
5657
        * libc/include/time.h (_timezone): Change to long also for Cygwin.
5658
        (timezone): Drop cast from definition.
5659
 
5660
2005-02-23  Jeff Johnston  
5661
 
5662
        * libc/include/time.h [!CYGWIN](_timezone): Change to long.
5663
        (__tzrule_type, __tzinfo_type): New types.
5664
        (__gettzinfo): New function.
5665
        * libc/sys/linux/include/time.h: Ditto.
5666
        * libc/time/Makefile.am: Add gettzinfo.c.
5667
        * libc/time/Makefile.in: Regenerated.
5668
        * libc/time/local.h: Moved __tzrule_type to time.h.
5669
        * libc/time/mktime.c: Call __gettzinfo to reference
5670
        __tznorth, __tzyear, and __tzrule array.
5671
        * libc/time/mktm_r.c: Ditto.
5672
        * libc/time/strftime.c: Ditto.
5673
        * libc/time/tzset_r.c: Ditto.  Also remove definition
5674
        of __tzrule which is now in gettzinfo.c.  Change _timezone
5675
        references to not cast to time_t.
5676
        * libc/time/gettzinfo.c: New file.
5677
 
5678
2005-02-23  Corinna Vinschen  
5679
 
5680
        * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
5681
 
5682
2005-02-22  Corinna Vinschen  
5683
 
5684
        * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
5685
 
5686
2005-02-16  Eric Blake  
5687
 
5688
        * libc/time/time.tex: Improve the documentation.
5689
        * libc/time/strftime.c: Improve the documentation.
5690
        (iso_year_adjust): New helper function.
5691
        (strftime): Simplify '%E' and '%O'. Change '%c' to use
5692
        recursion. Fix '%C', '%y', and '%Y' to deal with years with more
5693
        than 4 characters.  Combine '%d' and '%e'. Implement '%D', '%F',
5694
        '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
5695
        Avoid core dumps on valid inputs (maxsize == 0, or
5696
        tim_p->tm_isdst > 1).
5697
 
5698
2005-02-08  Corinna Vinschen  
5699
 
5700
        * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
5701
        members to uid_t and gid_t according to SUSv3.
5702
        * libc/include/sys/time.h (utimes):  Change second parameter
5703
        to const according to SUSv3.
5704
 
5705
2005-02-07  Antony King  
5706
 
5707
        * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
5708
        called before _flockfile to prevent lock object use before
5709
        initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
5710
        take a struct _reent * instead of a FILE *.
5711
        * libc/stdio/fclose.c (_fclose_r): Ditto.
5712
        * libc/stdio/feof.c (feof): Ditto.
5713
        * libc/stdio/ferror.c (ferror): Ditto.
5714
        * libc/stdio/fflush.c (fflush): Ditto.
5715
        * libc/stdio/fgetc.c (fgetc): Ditto.
5716
        * libc/stdio/fgets.c (fgets): Ditto.
5717
        * libc/stdio/fileno.c (fileno): Ditto.
5718
        * libc/stdio/fputc.c (fputc): Ditto.
5719
        * libc/stdio/fputs.c (fputs): Ditto.
5720
        * libc/stdio/fread.c (fread): Ditto.
5721
        * libc/stdio/freopen.c (_freopen_r): Ditto.
5722
        * libc/stdio/fseek.c (_fseek_r): Ditto.
5723
        * libc/stdio/ftell.c (_ftell_r): Ditto.
5724
        * libc/stdio/fwrite.c (fwrite): Ditto.
5725
        * libc/stdio/getc.c (getc): Ditto.
5726
        * libc/stdio/getdelim.c (__getdelim): Ditto.
5727
        * libc/stdio/putc.c (putc): Ditto.
5728
        * libc/stdio/setvbuf.c (setvbuf): Ditto.
5729
        * libc/stdio/ungetc.c (_ungetc_r): Ditto.
5730
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
5731
        * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
5732
        * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
5733
        * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
5734
        * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
5735
        _reent * instead of a FILE * and so replace incorrect use of
5736
        _REENT with argument.
5737
        * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
5738
        * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
5739
        CHECK_INIT() take a struct _reent * instead of a FILE *.
5740
        * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
5741
        * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
5742
        * libc/stdio/perror.c (perror): Ditto.
5743
        * libc/stdio/printf.c (printf, _printf_r): Ditto.
5744
        * libc/stdio/putchar.c (putchar): Ditto.
5745
        * libc/stdio/puts.c (puts): Ditto.
5746
        * libc/stdio/refill.c (__srefill): Ditto.
5747
        * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
5748
        * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
5749
        * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
5750
        * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
5751
        * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
5752
        * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
5753
        * libc/stdio/wbuf.c (__swbuf): Ditto.
5754
        * libc/stdio/wsetup.c (__swsetup): Ditto.
5755
        * libc/stdlib/mallocr.c (malloc_stats): Ditto.
5756
        * libc/stdlib/mstats.c (_mstats_r): Ditto.
5757
        * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
5758
        * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
5759
        * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
5760
        to _flockfile and _funlockfile; rely on locking in _ftell_r.
5761
        * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
5762
        * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
5763
        initialision of _data field in FILE structure.
5764
        * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
5765
 
5766
2005-02-07  Jeff Johnston  
5767
 
5768
        * libc/stdio/findfp.c (__sinit): Protect with new lock.
5769
        (__sinit_lock): New lock.
5770
        (__sinit_lock_acquire, __sinit_lock_release): New functions.
5771
        * libc/stdio/local.h: Add reference to new __sinit locking
5772
        functions.
5773
 
5774
2005-02-07  Jeff Johnston  
5775
 
5776
        * libc/include/math.h (isfinite, isnormal, isunordered): Change
5777
        input variable names to avoid mixups with nesting macros.
5778
 
5779
2005-01-27  Hans-Peter Nilsson  
5780
 
5781
        * configure.host: Add support for cris-*-* and crisv32-*-*.
5782
        * libc/include/machine/ieeefp.h: Ditto.
5783
        * libc/include/machine/setjmp.h: Ditto.
5784
        * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
5785
        libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
5786
        libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
5787
        libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
5788
        libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
5789
        libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
5790
        libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
5791
        files.
5792
 
5793
2005-01-27  Hans-Peter Nilsson  
5794
 
5795
        * testsuite/newlib.string/memmove1.c: New test.
5796
 
5797
2005-01-27  Hans-Peter Nilsson  
5798
 
5799
        * testsuite/include/check.h: Include stdlib.h.
5800
 
5801
2005-01-27  Hans-Peter Nilsson  
5802
 
5803
        * Makefile.am (stmp-targ-include): Support include header files
5804
        from machine directories.
5805
        (install-data-local): Ditto.
5806
        * Makefile.in: Regenerate.
5807
 
5808
2005-01-24  Jeff Johnston  
5809
 
5810
        * libc/include/string.h: Remove Linux-specific declaration of
5811
        strsignal and add #include .
5812
        * libc/include/sys/string.h: New file.
5813
        * libc/include/sys/linux/sys/string.h: New file with strsignal
5814
        declaration deleted above.
5815
 
5816
2005-01-20  Jeff Johnston  
5817
 
5818
        * libc/time/strftime.c (strftime): Change %r and %x to be compliant
5819
        to POSIX standard for "C" locale.  Allow %E and %O modifiers
5820
        to be ignored as long as they precede valid specifiers according
5821
        to POSIX.
5822
 
5823
2005-01-19  Shaun Jackman  
5824
 
5825
        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
5826
        environment variable is set.
5827
 
5828
2005-01-19  Shaun Jackman  
5829
 
5830
        * tzset_r.c (_tzname): Add a comma.
5831
 
5832
2005-01-18  Aldy Hernandez  
5833
 
5834
        * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
5835
        _VFPRINTF_R.
5836
 
5837
2005-01-07  Paul Brook  
5838
 
5839
        * configure.in: Add test for .init_array.
5840
        * configure: Regenerate.
5841
        * newlib.hin: Add HAVE_INITFINI_ARRAY.
5842
        * libc/misc/Makefile.am: Add init.c
5843
        * libc/misc/Makefile.in: Regenerate.
5844
        * libc/misc/init.c: New file.
5845
        * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
5846
        _init/_fini if they exist.
5847
 
5848
2005-01-06  Jeff Johnston  
5849
 
5850
        * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
5851
        * (strtof): Ditto.
5852
        * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
5853
        * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
5854
        functions for use by strtod and strtof.
5855
        * Makefile.in: Regenerated.
5856
 
5857
2005-01-06  Hans-Peter Nilsson  
5858
 
5859
        * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
5860
        bit-test in combination with NULL test.
5861
 
5862
2005-01-06  Hans-Peter Nilsson  
5863
 
5864
        * README: Fix typo of LGPL.  Change "license" to "copyright".
5865
 
5866
2004-12-17  Jeff Johnston  
5867
 
5868
        * NEWS: Update with 1.13.0 info.
5869
        * README: Ditto.
5870
        * acinclude.m4: Change version number to 1.13.0.
5871
        * aclocal.m4: Regenerated.
5872
        * configure: Ditto.
5873
        * doc/aclocal.m4: Ditto.
5874
        * doc/configure: Ditto.
5875
        * libc/*/aclocal.m4: Ditto.
5876
        * libc/*/configure: Ditto.
5877
        * libc/libc.texinfo: Ditto.
5878
        * libm/*/aclocal.m4: Ditto.
5879
        * libm/*/configure: Ditto.
5880
        * libm/libm.texinfo: Ditto.
5881
        * libc/sys/linux/shared.ld: Add VERS_1.13.
5882
 
5883
2004-12-17  Christian Groessler  
5884
 
5885
        * libc/machine/z8k/memcmp.S: New file.
5886
        * libc/machine/z8k/memcpy.S: Ditto.
5887
        * libc/machine/z8k/memmove.S: Ditto.
5888
        * libc/machine/z8k/memset.S: Ditto.
5889
        * libc/machine/z8k/Makefile.am: Add new files.
5890
        * libc/machine/z8k/Makefile.in: Regenerated.
5891
        * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
5892
        part.  Implement Z8002 stdcall version.
5893
 
5894
2004-12-13  Jeff Johnston  
5895
 
5896
        * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
5897
        a low-level read if we don't get the full amount of bytes so
5898
        EOF or error flags will be set.
5899
 
5900
2004-12-09  Alex Mogilnikov  
5901
 
5902
        * libc/time/tzset_r (_tzset_r): Properly skip over
5903
        '/' when it is detected.
5904
 
5905
2004-12-08  Alex Mogilnikov  
5906
 
5907
        * libc/time/tzset_r (_tzset_r): Fix loop.
5908
 
5909
2004-12-08  Alex Mogilnikov  
5910
 
5911
        * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
5912
        m_day.
5913
        (__tzcalc_limits): Fix reference to month array to be zero-based.
5914
 
5915
2004-12-07  Jeff Johnston  
5916
 
5917
        * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
5918
        and usleep.
5919
 
5920
2004-12-03  Jeff Johnston  
5921
 
5922
        * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
5923
        libgcc dependencies.
5924
        (libm_la_LDFLAGS): Ditto.
5925
        * Makefile.in: Regenerated.
5926
 
5927
2004-12-03  Shaun Jackman  
5928
 
5929
        * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
5930
        our link to use readlink so as to preserve any relative link created
5931
        by install-toollibLIBRARIES.
5932
        * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
5933
 
5934
2004-12-02  Shaun Jackman  
5935
 
5936
        * libc/sys/linux/stdlib/glob.c: Include  which defines
5937
        time_t before including sys/stat.h, which uses it.
5938
        * libc/sys/linux/sys/stat.h: Include  and
5939
         just prior to definition of __KERNEL__ so as to
5940
        allow building on Debian Linux where otherwise, mktime would
5941
        be redefined.
5942
 
5943
2004-11-26  Paul Brook  
5944
 
5945
        * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
5946
 
5947
2004-11-24  Jeff Johnston  
5948
 
5949
        * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
5950
        const for value string parameter to match Single Unix and glibc.
5951
        * libc/stdlib/putenv.c: Ditto.
5952
        * libc/stdlib/putenv_r.c: Ditto.
5953
 
5954
2004-11-24  Jeff Johnston  
5955
 
5956
        * libc/stdio/Makefile.am: Fix missing vfscanf.
5957
        * libc/stdio/Makefile.in: Regenerated.
5958
 
5959
2004-11-23  Jeff Johnston  
5960
 
5961
        * libc/include/stdio.h: Add new iprintf and iscanf variants.  Also
5962
        do some reordering.
5963
        * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
5964
        * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
5965
        family functions.
5966
        * libc/stdio/Makefile.in: Regenerated.
5967
        * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
5968
        * libc/stdio/iprintf.c: Ditto.
5969
        * libc/stdio/local.h (__svfiscanf_r): New prototype.
5970
        * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
5971
        * libc/stdio/sniprintf.c: Move docs to siprintf.c.
5972
        * libc/stdio/stdio.tex: Add new functions.
5973
        * libc/stdio/vfscanf.c: Split out __sccl function to separate
5974
        file and add special name defines so this file can be used
5975
        to build vfiscanf.o.
5976
        * libc/stdio/asiprintf.c: New file.
5977
        * libc/stdio/fiscanf.c: Ditto.
5978
        * libc/stdio/iscanf.c: Ditto.
5979
        * libc/stdio/sccl.c: Ditto.
5980
        * libc/stdio/siscanf.c: Ditto.
5981
        * libc/stdio/vasiprintf.c: Ditto.
5982
        * libc/stdio/viprintf.c: Ditto.
5983
        * libc/stdio/viscanf.c: Ditto.
5984
        * libc/stdio/vsiprintf.c: Ditto.
5985
        * libc/stdio/vsiscanf.c: Ditto.
5986
        * libc/stdio/vsniprintf.c: Ditto.
5987
 
5988
2004-11-19  Shaun Jackman  
5989
 
5990
        * libc/include/stdio.h: Add sniprintf.
5991
        * libc/stdio/Makefile.am: Add sniprintf.c.
5992
        * libc/stdio/Makefile.in: Regenerated.
5993
        * libc/stdio/sniprintf.c: New file.
5994
        * libc/stdio/stdio.tex: Add sniprintf.
5995
 
5996
2004-11-17  Christopher Faylor  
5997
 
5998
        * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin.  Clear
5999
        EOF flag if successful.
6000
 
6001
2004-10-28  Christopher Faylor  
6002
 
6003
        * libc/include/sys/signal.h: Move  include to bottom of file
6004
        so that all relevant definitions have been performed for use in the
6005
        include.
6006
 
6007
2004-10-26  Jason Tishler  
6008
 
6009
        * libc/stdio/fread.c (fread): Fix return value for unbuffered
6010
        fread.
6011
 
6012
2004-10-25  Ralf Corsepius 
6013
 
6014
        * libc/include/machine/setjmp.h: Add AVR support.
6015
        * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
6016
 
6017
2004-10-08  Jeff Johnston  
6018
 
6019
        * libc/include/sys/signal.h: If  didn't include
6020
        this header file, include  to account for
6021
        applications that take advantage that the two header
6022
        files are the same in glibc.
6023
 
6024
2004-10-05  Tomer Levi  
6025
 
6026
        * configure.host: Add support for crx.
6027
        * libc/include/machine/ieeefp.h: Ditto.
6028
        * libc/include/machine/setjmp.h: Ditto.
6029
        * libc/machine/crx/Makefile.am: New file.
6030
        * libc/machine/crx/configure.in: Ditto.
6031
        * libc/machine/crx/setjmp.S: Ditto.
6032
        * libc/machine/crx/getenv.c: Ditto.
6033
        * libc/machine/crx/aclocal.m4: Generate.
6034
        * libc/machine/crx/configure: Ditto.
6035
        * libc/machine/crx/Makefile.in: Ditto.
6036
        * libc/machine/crx/sys/asm.h: New file.
6037
        * libc/machine/crx/sys/libh.h: Ditto.
6038
        * libc/machine/crx/sys/syscall.h: Ditto.
6039
 
6040
2004-10-05  Jeff Johnston  
6041
 
6042
        * Makefile.am (stmp-targ-include): Support sys header files
6043
        from machine directories.
6044
        * Makefile.in: Regenerated.
6045
 
6046
2004-10-04  Jeff Johnston  
6047
 
6048
        * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
6049
        count skipped zero characters as part of the nread count for %n.
6050
        * libc/machine/powerpc/vfscanf.c: Ditto.
6051
 
6052
2004-09-24  Jeff Johnston  
6053
 
6054
        * libc/stdio/local.h: Include .
6055
 
6056
2004-09-24  Corinna Vinschen  
6057
 
6058
        * libc/stdio/fread.c (fread): Include .
6059
 
6060
2004-09-22  Jeff Johnston  
6061
 
6062
        * libc/stdio/fread.c (fread):  For non-space-optimized case,
6063
        add special code for unbuffered files to use user buffer and
6064
        only require one low-level system read.
6065
 
6066
2004-09-21  Ian Lance Taylor  
6067
 
6068
        * libc/machine/xscale/setjmp.S: New file, copied from
6069
        libc/machine/arm/setjmp.S.
6070
        * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
6071
        * libc/machine/xscale/Makefile.in: Regenerate.
6072
 
6073
2004-09-16  Antony King  
6074
 
6075
        * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
6076
        with locking API.
6077
        * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
6078
        check for__SSTR in _flags and if set, skip lock request.
6079
        (_funlockfile)[!SINGLE_THREAD]: Ditto.
6080
        * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
6081
        not NULL.
6082
        * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
6083
        initialisation of _file to -1 in local FILE.
6084
        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
6085
        * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
6086
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
6087
        * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
6088
        * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
6089
        _flags in local FILE to prevent locking.
6090
        * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
6091
 
6092
2004-09-16  Antony King  
6093
 
6094
        * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
6095
        and only walk the reentrancy parameter.
6096
        (_fwalk_reent): Ditto.
6097
        * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
6098
 
6099
2004-09-16  Antony King  
6100
 
6101
        * libc/stdio64/freopen64.c: Remove casting of fp lock to
6102
        _LOCK_RECURSIVE_T.
6103
 
6104
2004-09-16  Antony King  
6105
 
6106
        * libc/time/tzlock.c: Add default stubs that use generic
6107
        locking code.
6108
 
6109
2004-09-16  Antony King  
6110
 
6111
        * libc/ctype/ctype.tex: Added missing documentation.
6112
        * libc/stdio/stdio.tex Ditto.
6113
        * libc/stdlib/stdlib.tex Ditto.
6114
        * libc/string/strings.tex Ditto.
6115
        * libc/time/time.tex: Ditto.
6116
        * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
6117
 
6118
2004-09-15  Corinna Vinschen  
6119
 
6120
        * libc/reent/impure.c (reent_data): Define as alias to impure_data
6121
        when building for Cygwin.
6122
        * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
6123
        _global_impure_ptr.
6124
 
6125
2004-09-15  Jeff Johnston  
6126
 
6127
        * configure.host: Reverting 2004-09-14 change as fix has occurred on
6128
        Cygwin side.
6129
        * configure.in: Ditto.
6130
        * libc/configure.in: Ditto.
6131
        * libc/sys/configure.in: Ditto.
6132
        * configure: Ditto.
6133
        * libc/configure: Ditto.
6134
        * libc/sys/configure: Ditto.
6135
        * libc/include/sys/reent.h: Ditto.
6136
        * libc/stdlib/__atexit.c: Ditto.
6137
        * libc/stdlib/__call_atexit.c: Ditto.
6138
        * libc/stdlib/cxa_atexit.c: Ditto.
6139
        * libc/stdlib/cxa_finalize.c: Ditto.
6140
        * libc/sys/cygwin/Makefile.am: Removed again.
6141
        * libc/sys/cygwin/Makefile.in: Ditto.
6142
        * libc/sys/cygwin/aclocal.m4: Ditto.
6143
        * libc/sys/cygwin/configure: Ditto.
6144
        * libc/sys/cygwin/configure.in: Ditto.
6145
        * libc/sys/cygwin/dummy.c: Ditto.
6146
        * libc/sys/cygwin/sys/reent.h: Ditto.
6147
 
6148
2004-09-14  Jeff Johnston  
6149
 
6150
        * configure.host: Add Cygwin sys directory.
6151
        * configure.in: Do not set CRT0 for cygwin.
6152
        * libc/configure.in: Ditto.
6153
        * libc/sys/configure.in: Ditto.
6154
        * configure: Regenerated.
6155
        * libc/configure: Ditto.
6156
        * libc/sys/configure: Ditto.
6157
        * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
6158
        * libc/stdlib/__atexit.c: Keep cxa support protected by new
6159
        __REENT_HAS_CXA_SUPPORT flag.
6160
        * libc/stdlib/__call_atexit.c: Ditto.
6161
        * libc/stdlib/cxa_atexit.c: Ditto.
6162
        * libc/stdlib/cxa_finalize.c: Ditto.
6163
        * libc/sys/cygwin/Makefile.am: New file.
6164
        * libc/sys/cygwin/Makefile.in: Ditto.
6165
        * libc/sys/cygwin/aclocal.m4: Ditto.
6166
        * libc/sys/cygwin/configure: Ditto.
6167
        * libc/sys/cygwin/configure.in: Ditto.
6168
        * libc/sys/cygwin/dummy.c: Ditto.
6169
        * libc/sys/cygwin/sys/reent.h: Ditto.  This file is stabilized
6170
        version of reent.h.
6171
 
6172
2004-09-13 Artem B. Bityuckiy  
6173
 
6174
        * libc/iconv/iconv.tex: Updated with new content.
6175
        * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
6176
        instead of NLS_DEFAULT_NLSPATH.
6177
        * libc/iconv/lib/iconvnls.h: Fix typo.
6178
        * libc/include/sys/iconvnls.h: New file.
6179
 
6180
2004-09-09  Paul Brook  
6181
 
6182
        * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
6183
        and _is_cxa.
6184
        (struct _atexit): Add _next when _REENT_SMALL.
6185
        (struct _reent): Add _atexit0 when _REENT_SMALL.
6186
        (_REENT_INIT_PTR): Adjust.
6187
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
6188
        __call_exit.c.
6189
        (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
6190
        * libc/stdlib/Makefile.in: Regenerate.
6191
        * libc/stdlib/__atexit.c: New file.
6192
        * libc/stdlib/__call_atexit.c: New file.
6193
        * libc/stdlib/atexit.h: Remove old definitions.  Add new.
6194
        * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
6195
        * libc/stdlib/cxa_atexit.c: New file.
6196
        * libc/stdlib/cxa_finalize.c: New file.
6197
        * libc/stdlib/exit.c (exit): Use __call_exitprocs.
6198
        * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
6199
        2004-09-09  Jeff Johnston  
6200
        * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
6201
        _on_exit_args_ptr.
6202
 
6203
2004-08-23  Jeff Johnston  
6204
 
6205
        * libc/include/sys/unistd.h (getpass): Change prototype to use
6206
        const instead of __const.
6207
 
6208
2004-08-16  Nathan Sidwell  
6209
 
6210
        * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
6211
        #if.
6212
 
6213
2004-08-12  Jeff Johnston  
6214
 
6215
        * libc/sys/linux/sys/types.h (u64): New typedef to allow building
6216
        on linux systems with glibc 2.3.3 installed.
6217
        * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
6218
        profile_fixup so newlib can build on fc3 system.
6219
 
6220
2004-07-30  Alexandre Oliva  
6221
 
6222
        Introduce SH2a support.
6223
        2004-03-16  Corinna Vinschen  
6224
        * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
6225
        __SH2A_SINGLE_ONLY__, too.
6226
        * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
6227
        2004-02-24  Corinna Vinschen  
6228
        * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu.  Fix comments.
6229
        2004-02-10  DJ Delorie  
6230
        * libc/sys/sh/crt0.S (start_l): Support sh2a.
6231
 
6232
2004-07-29  Jeff Johnston  
6233
 
6234
        * libc/time/strptime.c: Correct full-name of "March" typo.
6235
 
6236
2004-07-16  Anil Paranjpe  
6237
 
6238
        * configure.host (h8300*-*-*): Default long long printing support.
6239
 
6240
2004-07-16  Jeff Johnston  
6241
 
6242
        * libc/stdio/fvwrite.c (_sfvwrite):  For asprintf family
6243
        calls, if realloc fails, free up buffer as it is no longer
6244
        used.
6245
 
6246
2004-07-07  Artem B. Bityuckiy  
6247
 
6248
        * libc/iconv/iconv.tex: Updated to represent recent changes.
6249
        * libc/iconv/lib/iconv.c: Documentation updated.
6250
 
6251
2004-07-07  Nick Clifton  
6252
 
6253
        * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
6254
        for xStormy16.
6255
 
6256
2004-07-06  Chris Demetriou  
6257
 
6258
        * configure.host (mips*-*-elf*): Default long long printing
6259
        support.
6260
 
6261
2004-07-05  Jeff Johnston  
6262
 
6263
        * libc/Makefile.am (libc.dvi): Add target and specify
6264
        same dependencies as libc.info.
6265
        * libc/Makefile.in: Regenerated.
6266
        * libm/Makefile.am (libm.dvi): Add target and specify
6267
        same dependencies as libm.info.
6268
        * libm/Makefile.in: Regenerated.
6269
 
6270
2004-06-29  Artem B. Bityuckiy  
6271
 
6272
        * acinclude.m4: Move --enable-newlib-iconv option back here.
6273
        * configure.in: Remove --enable-newlib-iconv option.  Don't
6274
        tie iconv support to --enable-newlib-mb.
6275
        * aclocal.m4: Regenerated.
6276
        * configure: Ditto.
6277
        * doc/aclocal.m4, doc/configure: Ditto.
6278
        * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
6279
        * libm/*/aclocal.m4: Ditto.
6280
        * libm/*/configure: Ditto.
6281
        * libc/*/aclocal.m4: Ditto.
6282
        * libc/*/configure: Ditto.
6283
 
6284
2004-06-25  Artem B. Bityuckiy  
6285
 
6286
        * acinclude.m4: Move iconv options into configure.in.
6287
        * aclocal.m4: Regenerated.
6288
        * configure: Ditto.
6289
        * configure.in: Add iconv options.
6290
        * newlib.hin: Add new iconv encodings and remove deleted ones.
6291
        * doc/aclocal.m4: Regenerated.
6292
        * doc/configure: Ditto.
6293
        * iconvdata/aclocal.m4: Ditto.
6294
        * iconvdata/configure: Ditto.
6295
        * libc/iconv: Design change.  New size-optimized ccs format.
6296
        * libc/iconv/AUTHORS: Removed.
6297
        * libc/iconv/COPYING: Ditto.
6298
        * libc/iconv/README.ORIGINAL: Ditto.
6299
        * libc/iconv/README.TODO: Ditto.
6300
        * libc/iconv/charset.aliases: Ditto.
6301
        * libc/iconv/encoding.aliases: New file.
6302
        * libc/iconv/Makefile.am: Updated.
6303
        * libc/iconv/Makefile.in: Regenerated.
6304
        * libc/iconv/iconv.tex: Updated.
6305
        * libc/iconv/ccs/Makefile.am: Ditto.
6306
        * libc/iconv/ccs/Makefile.in: Regenerated.
6307
        * libc/iconv/ccs/big5.c: Updated.
6308
        * libc/iconv/ccs/cns11643_plane1.c: Ditto.
6309
        * libc/iconv/ccs/cns11643_plane14.c: Ditto.
6310
        * libc/iconv/ccs/cns11643_plane2.c: Ditto.
6311
        * libc/iconv/ccs/cp775.c: Ditto.
6312
        * libc/iconv/ccs/cp850.c: Ditto.
6313
        * libc/iconv/ccs/cp852.c: Ditto.
6314
        * libc/iconv/ccs/cp855.c: Ditto.
6315
        * libc/iconv/ccs/cp866.c: Ditto.
6316
        * libc/iconv/ccs/iso_8859_1.c: Ditto.
6317
        * libc/iconv/ccs/README.CCS.SOURCES: Removed.
6318
        * libc/iconv/ccs/gb_2312_80.c: Ditto.
6319
        * libc/iconv/ccs/iconv_mktbl: Ditto.
6320
        * libc/iconv/ccs/jis_x0201.c: Ditto.
6321
        * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
6322
        * libc/iconv/ccs/shift_jis.c: Ditto.
6323
        * libc/iconv/ccs/us_ascii.c: Ditto.
6324
        * libc/iconv/ccs/ccs.h: New file.
6325
        * libc/iconv/ccs/ccsbi.c: Ditto.
6326
        * libc/iconv/ccs/ccsbi.h: Ditto.
6327
        * libc/iconv/ccs/ccsnames.h: Ditto.
6328
        * libc/iconv/ccs/iso_8859_10.c: Ditto.
6329
        * libc/iconv/ccs/iso_8859_11.c: Ditto.
6330
        * libc/iconv/ccs/iso_8859_13.c: Ditto.
6331
        * libc/iconv/ccs/iso_8859_14.c: Ditto.
6332
        * libc/iconv/ccs/iso_8859_3.c: Ditto.
6333
        * libc/iconv/ccs/iso_8859_6.c: Ditto.
6334
        * libc/iconv/ccs/iso_8859_7.c: Ditto.
6335
        * libc/iconv/ccs/iso_8859_8.c: Ditto.
6336
        * libc/iconv/ccs/iso_8859_9.c: Ditto.
6337
        * libc/iconv/ccs/iso_ir_111.c: Ditto.
6338
        * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
6339
        * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
6340
        * libc/iconv/ccs/koi8_ru.c: Ditto.
6341
        * libc/iconv/ccs/koi8_uni.c: Ditto.
6342
        * libc/iconv/ccs/mktbl.pl: Ditto.
6343
        * libc/iconv/ccs/win_1250.c: Ditto.
6344
        * libc/iconv/ccs/win_1251.c: Ditto.
6345
        * libc/iconv/ccs/win_1252.c: Ditto.
6346
        * libc/iconv/ccs/win_1253.c: Ditto.
6347
        * libc/iconv/ccs/win_1254.c: Ditto.
6348
        * libc/iconv/ccs/win_1255.c: Ditto.
6349
        * libc/iconv/ccs/win_1256.c: Ditto.
6350
        * libc/iconv/ccs/win_1257.c: Ditto.
6351
        * libc/iconv/ccs/win_1258.c: Ditto.
6352
        * libc/iconv/ccs/iso_8859_15.c: Updated.
6353
        * libc/iconv/ccs/iso_8859_2.c: Ditto.
6354
        * libc/iconv/ccs/iso_8859_4.c: Ditto.
6355
        * libc/iconv/ccs/iso_8859_5.c: Ditto.
6356
        * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
6357
        * libc/iconv/ccs/koi8_r.c: Ditto.
6358
        * libc/iconv/ccs/koi8_u.c: Ditto.
6359
        * libc/iconv/ccs/ksx1001.c: Ditto.
6360
        * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
6361
        * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
6362
        * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
6363
        * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
6364
        * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
6365
        * libc/iconv/ccs/binary/Makefile.am: Updated.
6366
        * libc/iconv/ccs/binary/Makefile.in: Regenerated.
6367
        * libc/iconv/ccs/binary/big5.cct: Updated.
6368
        * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
6369
        * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
6370
        * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
6371
        * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
6372
        * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
6373
        * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
6374
        * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
6375
        * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
6376
        * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
6377
        * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
6378
        * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
6379
        * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
6380
        * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
6381
        * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
6382
        * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
6383
        * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
6384
        * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
6385
        * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
6386
        * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
6387
        * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
6388
        * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
6389
        * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
6390
        * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
6391
        * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
6392
        * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
6393
        * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
6394
        * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
6395
        * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
6396
        * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
6397
        * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
6398
        * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
6399
        * libc/iconv/ccs/binary/win_1250.cct: Ditto.
6400
        * libc/iconv/ccs/binary/win_1251.cct: Ditto.
6401
        * libc/iconv/ccs/binary/win_1252.cct: Ditto.
6402
        * libc/iconv/ccs/binary/win_1253.cct: Ditto.
6403
        * libc/iconv/ccs/binary/win_1254.cct: Ditto.
6404
        * libc/iconv/ccs/binary/win_1255.cct: Ditto.
6405
        * libc/iconv/ccs/binary/win_1256.cct: Ditto.
6406
        * libc/iconv/ccs/binary/win_1257.cct: Ditto.
6407
        * libc/iconv/ccs/binary/win_1258.cct: Ditto.
6408
        * libc/iconv/ces/Makefile.am: Updated.
6409
        * libc/iconv/ces/Makefile.in: Regenerated.
6410
        * libc/iconv/ces/ucs-2-internal.c: Updated.
6411
        * libc/iconv/ces/ucs-4-internal.c: Ditto.
6412
        * libc/iconv/ces/utf-16.c: Ditto.
6413
        * libc/iconv/ces/utf-8.c: Ditto.
6414
        * libc/iconv/ces/cesbi.c: New file.
6415
        * libc/iconv/ces/cesbi.h: Ditto.
6416
        * libc/iconv/ces/cesdeps.h: Ditto.
6417
        * libc/iconv/ces/euc.c: Ditto.
6418
        * libc/iconv/ces/mkdeps.pl: Ditto.
6419
        * libc/iconv/ces/table-pcs.c: Ditto.
6420
        * libc/iconv/ces/table.c: Ditto.
6421
        * libc/iconv/ces/ucs-2.c: Ditto.
6422
        * libc/iconv/ces/ucs-4.c: Ditto.
6423
        * libc/iconv/ces/us-ascii.c: Ditto.
6424
        * libc/iconv/ces/euc-jp.c: Removed.
6425
        * libc/iconv/ces/euc-kr.c: Ditto.
6426
        * libc/iconv/ces/euc-tw.c: Ditto.
6427
        * libc/iconv/ces/gb2312.c: Ditto.
6428
        * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
6429
        * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
6430
        * libc/iconv/lib/Makefile.am: Updated.
6431
        * libc/iconv/lib/Makefile.in: Regenerated.
6432
        * libc/iconv/lib/endian.h: Updated.
6433
        * libc/iconv/lib/iconv.c: Ditto.
6434
        * libc/iconv/lib/local.h: Ditto.
6435
        * libc/iconv/lib/aliases.c: Removed.
6436
        * libc/iconv/lib/bialiasesi.c: Ditto.
6437
        * libc/iconv/lib/biccs.c: Ditto.
6438
        * libc/iconv/lib/bices.c: Ditto.
6439
        * libc/iconv/lib/ccs.c: Ditto.
6440
        * libc/iconv/lib/ces.c: Ditto.
6441
        * libc/iconv/lib/ces_euc.c: Ditto.
6442
        * libc/iconv/lib/ces_iso2022.c: Ditto.
6443
        * libc/iconv/lib/ces_table.c: Ditto.
6444
        * libc/iconv/lib/converter.c: Ditto.
6445
        * libc/iconv/lib/deps.h: Ditto.
6446
        * libc/iconv/lib/loaddata.c: Ditto.
6447
        * libc/iconv/lib/aliasesbi.c: New file.
6448
        * libc/iconv/lib/aliasesi.c: Ditto.
6449
        * libc/iconv/lib/conv.h: Ditto.
6450
        * libc/iconv/lib/encnames.h: Ditto.
6451
        * libc/iconv/lib/encoding.deps: Ditto.
6452
        * libc/iconv/lib/iconvnls.c: Ditto.
6453
        * libc/iconv/lib/iconvnls.h: Ditto.
6454
        * libc/iconv/lib/nullconv.c: Ditto.
6455
        * libc/iconv/lib/ucsconv.c: Ditto.
6456
        * libc/iconv/lib/ucsconv.h: Ditto.
6457
        * libc/include/iconv.h: Update copyright.
6458
        * libc/*/aclocal.m4: Regenerated.
6459
        * libc/*/configure: Ditto.
6460
        * libm/*/aclocal.m4: Ditto.
6461
        * libm/*/configure: Ditto.
6462
 
6463
2004-06-22  Alexandre Oliva  
6464
 
6465
        * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
6466
        instead of typedefing jmp_buf.
6467
 
6468
        2003-07-02  Richard Sandiford  
6469
        * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
6470
        * libc/machine/h8300/defines.h (LEN): New macro.
6471
        * libc/machine/h8300/memcpy.S: Add h8sx version.
6472
        * libc/machine/h8300/memset.S: Likewise.
6473
        * libc/machine/h8300/strcmp.S: Likewise.
6474
        * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
6475
        * libc/machine/h8300/h8sx_strcpy.S: New file.
6476
        2003-06-30  Richard Sandiford  
6477
        * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
6478
        __H8300SX__.
6479
        * libc/include/machine/setjmp.h: Likewise.
6480
        * libc/include/sys/config.h: Likewise.
6481
        * libc/machine/h8300/defines.h: Likewise.
6482
        * libc/machine/h8300/setjmp.S: Likewise.
6483
        * libc/machine/h8300/strcmp.S: Likewise.
6484
        * libc/sys/h8300hms/close.S: Likewise.
6485
        * libc/sys/h8300hms/fstat.S: Likewise.
6486
        * libc/sys/h8300hms/lseek.S: Likewise.
6487
        * libc/sys/h8300hms/read.S: Likewise.
6488
        * libc/sys/h8300hms/write.S: Likewise.
6489
        * libc/sys/h8300hms/crt0.S: Likewise.
6490
        * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
6491
        __H8300SX__ is defined.
6492
        * libc/sys/h8300hms/setarch.h: Likewise.
6493
 
6494
2004-06-17  Jeff Johnston  
6495
 
6496
        * libc/include/sys/reent.h (_GLOBAL_REENT): Back
6497
        out change which set _GLOBAL_REENT to _global_impure_ptr until
6498
        we understand why Cygwin breaks because of it.
6499
 
6500
2004-06-14  Jeff Johnston  
6501
 
6502
        * libc/sys/linux/machine/i386/syscall.h: For now, set up
6503
        __syscall_return macro for systems with vsyscall.
6504
 
6505
2004-06-11  Antony King  
6506
 
6507
        * libc/include/sys/_types.h: Include  and change
6508
        _flock_t to be of type _LOCK_RECURSIVE_T.
6509
        * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
6510
        (_REENT_INIT_PTR): Ditto.  Use memset where appropriate.
6511
        (_global_impure_ptr): New declaration.
6512
        (_GLOBAL_REENT): Change to be _global_impure_ptr.
6513
        * libc/include/sys/stdio.h: Include  and
6514
        .
6515
        (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
6516
        (_funlockfile)[!SINGLE_THREAD]: Ditto.
6517
        * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
6518
        * libc/stdio/fclose.c: Remove casting of fp lock to
6519
        _LOCK_RECURSIVE_T.
6520
        * libc/stdio/findfp.c: Ditto.
6521
        * libc/stdio/fopen.c: Ditto.
6522
        * libc/stdio/freopen.c: Ditto.
6523
        * libc/stdio/vfprintf.c: Ditto.
6524
        * libc/stdio64/fopen64.c: Ditto.
6525
        * libc/stdlib/envlock.c: Add default stubs that use generic
6526
        locking code.
6527
        * libc/stdlib/mlock.c: Ditto.
6528
 
6529
        Jeff Johnston  
6530
        * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
6531
        (_flock_t): Change to be a struct containing a single member
6532
        named mutex which is of type __flock_mutex_t.
6533
 
6534
2004-06-09  Jeff Johnston  
6535
 
6536
        * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
6537
        from /usr/include/asm/signal.h instead of kernel sources.  Also
6538
        default max to 32 if not found in header file.
6539
        * libc/sys/linux/Makefile.in: Regenerated.
6540
        * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
6541
        systems where __syscall_return is not defined.
6542
        * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
6543
        systems to use syscall() function instead of assembler interrupt.
6544
 
6545
2004-06-09  Toralf Lund  
6546
 
6547
        * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
6548
        files from libc/sys/arm to libc/machine/arm.
6549
        * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
6550
        library build support for files moved from libc/sys/arm.
6551
        * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in:  Remove
6552
        references to access and setjmp.
6553
        * configure.host: Add checks for newlib_may_supply_syscalls to
6554
        determine whether or not to use sys/arm directory and use
6555
        special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
6556
 
6557
2004-06-02  Jeff Johnston  
6558
 
6559
        * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
6560
        reset digit flags appropriately after we have discovered "0x".
6561
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6562
 
6563
2004-05-27  Jeff Johnston  
6564
 
6565
        * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
6566
        from here ...
6567
        (_VFPRINTF_R): ... to here so all I/O printf routines
6568
        are covered.
6569
 
6570
2004-05-26  Jeff Johnston  
6571
 
6572
        * libc/search/hash_buf.c: Protect MAX and MIN macros from
6573
        redefinition.
6574
        * libc/search/hash.c: Ditto.
6575
 
6576
2004-05-25  Artem B. Bityuckiy  
6577
 
6578
        * newlib.hin: (_WANT_IO_POS_ARGS): New define.
6579
        (_WANT_IO_LONG_LONG): Ditto.
6580
        (_WANT_IO_LONG_DOUBLE): Ditto.
6581
        * configure.in: Add new configuration options
6582
        --enable-newlib-io-long-long and --enable-newlib-io-long-double
6583
        which tie to new defines in newlib.hin.
6584
        * configure: Regenerated.
6585
        * configure.host: Add checks for new configuration options.  Also
6586
        fix up check for --enable-newlib-io-pos-args so configuration
6587
        option will override any default for a given platform.
6588
        Remove defining compiler flags for the _WANT_IO* options.
6589
        * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
6590
        instead of looking for old compiler flags.
6591
        * libc/stdio/vfscanf.c: Ditto.
6592
        * libc/stdio/vfieeefp.h: Ditto.
6593
        * libc/machine/powerpc/vfprintf.c: Ditto.
6594
        * libc/machine/powerpc/vfscanf.c: Ditto.
6595
 
6596
2004-05-25  Jeff Johnston  
6597
 
6598
        * testsuite/include/check.h: Add include of .
6599
 
6600
2004-05-17  Corinna Vinschen  
6601
 
6602
        * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
6603
 
6604
2004-05-11  Artem B. Bityuckiy  
6605
 
6606
        * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
6607
        of free.
6608
 
6609
2004-05-07  Artem B. Bityuckiy  
6610
 
6611
        * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
6612
        list for reentrant pointer.  Call _vfiprintf_r.
6613
        * libc/stdio/siprintf.c (_siprintf_r): New function.
6614
        * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
6615
        pointer argument.  Change all callers.  Call _VFPRINTF_R.
6616
        * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
6617
        prototypes.
6618
 
6619
2004-05-07  Jeff Johnston  
6620
 
6621
        * libc/include/sys/param.h: Remove endian info and include
6622
         instead.
6623
        * libc/include/machine/endian.h: New file.
6624
        * libc/include/machine/param.h: Ditto.
6625
        * libc/machine/arm/machine/endian.h: Ditto.
6626
        * libc/machine/arm/machine/param.h: Ditto.
6627
        * libc/sys/arm/sys/param.h: Removed.
6628
        * libc/sys/sysvi386/sys/param.h: Ditto.
6629
        * libc/sys/rtems/sys/param.h: Modified to include .
6630
 
6631
2004-05-03  Artem B. Bityuckiy  
6632
 
6633
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
6634
        multibyte functions return failure for %C, %S, %lc, and %ls
6635
        format specifiers.
6636
 
6637
2004-05-03  Artem B. Bityuckiy  
6638
 
6639
        * testsuite/include/check.h (CHECK): Add flush of stdout.
6640
 
6641
2004-05-03  Artem B. Bityuckiy  
6642
 
6643
        * libc/include/stdio.h (_ungetc_r): New prototype.
6644
        * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
6645
        (__submore): Add reentrant struct pointer argument.
6646
        (ungetc): Change to call _ungetc_r.
6647
 
6648
2004-04-28  Artem B. Bityuckiy  
6649
 
6650
        * libc/stdio/local.h (_fwalk_reent): Specify prototype of
6651
        function pointer argument.
6652
        * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
6653
        to specify function pointer arguments.
6654
        (__fwalk, __fwalk_reent): Ditto.
6655
 
6656
2004-04-26  Aldy Hernandez  
6657
 
6658
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
6659
        CT_INT case.
6660
 
6661
2004-04-23  Artem B. Bityuckiy  
6662
 
6663
        * configure.in: Define _MB_CAPABLE if mb supported.
6664
        * configure: Regenerated.
6665
        * configure.host: Remove manual setting of MB_CAPABLE compiler
6666
        flag.
6667
        * newlib.hin: Add _MB_CAPABLE flag.
6668
        * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include 
6669
        and check for _MB_CAPABLE flag instead of MB_CAPABLE.
6670
        * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
6671
        * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
6672
        * libc/ctype/jp2uc.c: Ditto.
6673
        * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
6674
        * libc/locale/locale.c: Ditto
6675
        * libc/machine/powerpc/vfscanf.c: Ditto
6676
        * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
6677
        * libc/stdlib/mblen.c: Ditto
6678
        * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
6679
        * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
6680
        * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
6681
        * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
6682
        * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
6683
        * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
6684
        * libc/sys/linux/intl/explodename.c: Ditto
6685
        * libc/sys/linux/intl/finddomain.c: Ditto
6686
        * libc/sys/linux/intl/l10nflist.c: Ditto
6687
        * libc/sys/linux/intl/loadmsgcat.c: Ditto
6688
        * libc/sys/linux/intl/localealias.c: Ditto
6689
 
6690
2004-04-23  Jeff Johnston  
6691
 
6692
        * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
6693
        (__svfscanf_r): In integer conversions, leave out leading zeroes
6694
        which are not part of a base prefix.
6695
        Keep track of width truncation to fit into buf, not counting left-out
6696
        zeroes against width till the truncation has been compensated for.
6697
        This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
6698
 
6699
2004-04-23  Jeff Johnston  
6700
 
6701
        * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
6702
 
6703
2004-04-23  Artem B. Bityuckiy  
6704
 
6705
        * libc/stdio/asprintf.c libc/stdio/clearerr.c,
6706
        libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
6707
        libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
6708
        libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
6709
        libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
6710
        libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
6711
        libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
6712
        libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
6713
        libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
6714
        libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
6715
        libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
6716
        libc/stdio/getchar.c libc/stdio/getchar_u.c,
6717
        libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
6718
        libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
6719
        libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
6720
        libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
6721
        libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
6722
        libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
6723
        libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
6724
        libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
6725
        libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
6726
        libc/stdio/siprintf.c libc/stdio/snprintf.c,
6727
        libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
6728
        libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
6729
        libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
6730
        libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
6731
        libc/stdio/vprintf.c libc/stdio/vscanf.c,
6732
        libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
6733
        libc/stdio/vsscanf.c libc/stdio/wbuf.c,
6734
        libc/stdio/wsetup.c: Perform minor formatting changes.  Move
6735
        copyright notices to top of file, ensure that <_ansi.h> is
6736
        included, be consistent with open parentheses, use _DEFUN macro,
6737
        include "local.h" where needed, and remove various compiler
6738
        warnings.
6739
 
6740
2004-04-21  J"orn Rennecke 
6741
 
6742
        * libc/stdio/vfscanf.c (NNZDIGITS): New define.
6743
        (__svfscanf_r): In integer conversions, leave out leading zeroes
6744
        which are not part of a base prefix.
6745
        Keep track of width truncation to fit into buf, not counting left-out
6746
        zeroes against width till the truncation has been compensated for.
6747
 
6748
2004-04-20  Corinna Vinschen  
6749
 
6750
        * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
6751
 
6752
2004-04-20  Corinna Vinschen  
6753
 
6754
        * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
6755
 
6756
2004-04-10  Corinna Vinschen  
6757
 
6758
        * libc/include/sys/unistd.h (sync): Define void on Cygwin according
6759
        to SUSv3.
6760
 
6761
2004-04-08  Artem B. Bityuckiy  
6762
 
6763
        * libc/stdio/fclose.c (_fclose_r): New function.
6764
        * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
6765
        * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
6766
        * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
6767
        * libc/include/stdio.h (_fclose_r): New prototype.
6768
        * libc/stdio/fopen.c: Fix typo in comment.
6769
 
6770
2004-04-08  Jeff Johnston  
6771
 
6772
        * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
6773
        to handle _r reentrant functions.
6774
 
6775
2004-04-08  Eric Christopher  
6776
 
6777
        * libc/include/machine/setjmp.h: Fix endif locations.
6778
 
6779
2004-04-01  Artem B. Bityuckiy  
6780
 
6781
        * libc/time/strptime.c: Add standard includes to avoid
6782
        warning messages at compilation time.
6783
 
6784
2004-04-01  Jeff Johnston  
6785
 
6786
        * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
6787
        of file.
6788
 
6789
2004-03-30  Jeff Johnston  
6790
 
6791
        * libc/machine/h8300/Makefile.am: Reformat slightly.
6792
        * libc/machine/h8300/Makefile.in: Regenerate.
6793
 
6794
2004-03-30  Thomas Pfaff  
6795
 
6796
        * libc/stdio/findfp.c (__fp_lock_all): Add call to
6797
        __sfp_lock_acquire.
6798
        (__fp_unlock_all): Add call to __sfp_lock_release.
6799
 
6800
2004-03-25  Thomas Pfaff  
6801
 
6802
        * libc/stdio/fclose.c (fclose): Protect file pointer list when
6803
        releasing a file.
6804
         * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
6805
        fwalk.
6806
        * libc/stdio/fdopen.c (_fdopen_r): Add calls to
6807
        _flockfile/_funlockfile.
6808
        * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
6809
        to recursive.
6810
        Change __lock_acquire/__lock_release calls for __sfp_lock to
6811
        __sfp_lock_acquire/__sfp_lock_release throughout.
6812
        (std): Make sure that file lock is only initialized once.
6813
        (__sfp): Move _file initialization. Initialize file lock.
6814
        (__sfp_lock_acquire): New function.
6815
        (__sfp_lock_release): Ditto.
6816
        (__fp_lock_all): Remove __sfp_lock_acquire call.
6817
        (__fp_unlock_all): Remove __sfp_lock_release call.
6818
        * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
6819
        Add calls to _flockfile/_funlockfile. Remove
6820
        __lock_init_recursive call.
6821
        * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
6822
        * libc/stdio/fwalk.c (__fwalk): New static function.
6823
        (_fwalk): Protect file pointer list. Use __fwalk to walk through
6824
        file pointers.
6825
        * libc/stdio/local.h: Add defines for
6826
        __sfp_lock_acquire/__sfp_lock_release when
6827
        single threaded. Add function prototypes otherwise.
6828
        * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
6829
        _flockfile/_funlockfile.
6830
        * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
6831
        Add calls to _flockfile/_funlockfile. Remove
6832
         __lock_init_recursive call.
6833
        * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
6834
        list.
6835
 
6836
2004-03-25  Jeff Johnston  
6837
 
6838
        * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
6839
        defined.  Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
6840
        * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
6841
        to be __LOCK_INIT_RECURSIVE.
6842
 
6843
2004-03-11  Kazu Hirata  
6844
 
6845
        * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
6846
        _exit.c with _exit.S.
6847
        * libc/sys/h8300hms/Makefile.in: Regenerate.
6848
        * libc/sys/h8300hms/_exit.c: Remove.
6849
        * libc/sys/h8300hms/_exit.S: New.
6850
 
6851
2004-03-09  Thomas Pfaff  
6852
 
6853
        * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
6854
        Change __sfp_lock to static global.
6855
        (__fp_lock): New static function.
6856
        (__fp_unlock): Ditto.
6857
        (__fp_lock_all): New function.
6858
        (__fp_unlock_all): Ditto.
6859
 
6860
2004-02-10  Christopher Faylor  
6861
 
6862
        * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
6863
        * libm/mathfp/er_lgamma.c (lgamma): Ditto.
6864
        * libm/mathfp/erf_gamma.c (gammaf): Ditto.
6865
        * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
6866
 
6867
2004-02-09  Christopher Faylor  
6868
 
6869
        * libc/include/time.h (TIMER_RELTIME): New define.
6870
 
6871
2004-02-09  Jeff Johnston  
6872
 
6873
        * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
6874
        * libc/stdlib/Makefile.in: Regenerated.
6875
 
6876
2004-02-08  Christopher Faylor  
6877
 
6878
        * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
6879
        * libc/include/sys/reent.h (__getreent): Protect against possibly being
6880
        defined.
6881
        * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
6882
 
6883
2004-02-05  Paul Brook  
6884
 
6885
        * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
6886
        IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
6887
 
6888
2004-02-02  Jeff Johnston  
6889
 
6890
        * NEWS: Update with 1.12.0 info.
6891
        * README: Ditto.
6892
        * acinclude.m4: Change version number to 1.12.0.
6893
        * aclocal.m4: Regenerated.
6894
        * configure: Ditto.
6895
        * doc/aclocal.m4: Ditto.
6896
        * doc/configure: Ditto.
6897
        * libc/*/aclocal.m4: Ditto.
6898
        * libc/*/configure: Ditto.
6899
        * libc/libc.texinfo: Ditto.
6900
        * libm/*/aclocal.m4: Ditto.
6901
        * libm/*/configure: Ditto.
6902
        * libm/libm.texinfo: Ditto.
6903
        * libc/sys/linux/shared.ld: Add VERS_1.12.
6904
 
6905
2004-02-02  Joel Sherrill  
6906
 
6907
        * configure.host: Add support for tic4x.
6908
        * libc/include/machine/ieeefp.h: Ditto.
6909
        * libc/include/machine/setjmp.h: Ditto.
6910
        * libc/machine/tic4x/Makefile.am: New file.
6911
        * libc/machine/tic4x/configure.in: Ditto.
6912
        * libc/machine/tic4x/setjmp.S: Ditto.
6913
        * libc/machine/tic4x/aclocal.m4: Generated.
6914
        * libc/machine/tic4x/configure: Ditto.
6915
        * libc/machine/tic4x/Makefile.in: Ditto.
6916
 
6917
2004-01-30  Jeff Johnston  
6918
 
6919
        * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
6920
        file chain on the passed in reentrancy struct if it
6921
        is _GLOBAL_REENT.
6922
 
6923
2004-01-30  Artem B. Bityuckiy  
6924
            Jeff Johnston  
6925
 
6926
        * libc/iconv/iconv.tex: Updated with more information.
6927
 
6928
2004-01-30  Thomas Pfaff  
6929
            Jeff Johnston  
6930
 
6931
        * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
6932
        struct for std streams and traverse the global reeentrancy
6933
        struct for all other streams.
6934
 
6935
2004-01-27  Jeff Johnston  
6936
 
6937
        * libc/stdlib/atexit.c: Protect global atexit list with a
6938
        lock when newlib is multithreaded.
6939
 
6940
2004-01-27  Artem B. Bityuckiy  
6941
 
6942
        * configure.in: Add support to generate iconv converter flags
6943
        for newlib.h
6944
        * newlib.hin: Add iconv converter flags.
6945
        * configure: Regenerated.
6946
        * libc/Makefile.in: Ditto.
6947
        * libc/configure.in: Moved iconv converter parsing logic to
6948
        top level newlib configure.in.
6949
        * libc/configure: Regenerated.
6950
        * libc/iconv/Makefile.in: Ditto.
6951
        * libc/iconv/README.TODO
6952
        * libc/iconv/charset.aliases: Remove wrong BE aliases for
6953
        UCS2/UCS4/UTF8.
6954
        * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
6955
        newlib.h can be used.
6956
        * libc/iconv/ces/Makefile.am: Ditto.
6957
        * libc/iconv/lib/Makefile.am: Ditto.
6958
        * libc/iconv/ccs/Makefile.in: Regenerated.
6959
        * libc/iconv/ces/Makefile.in: Ditto.
6960
        * libc/iconv/lib/Makefile.in: Ditto.
6961
        * libc/iconv/ccs/README.CCS.SOURCES: Updated.
6962
        * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
6963
        * libc/iconv/ccs/big5.c: Switch to use new underscored flags
6964
        defined in newlib.h.
6965
        * libc/iconv/ccs/cns11643_plane1.c: Ditto.
6966
        * libc/iconv/ccs/cns11643_plane14.c: Ditto.
6967
        * libc/iconv/ccs/cns11643_plane2.c: Ditto.
6968
        * libc/iconv/ccs/cp775.c: Ditto.
6969
        * libc/iconv/ccs/cp850.c: Ditto.
6970
        * libc/iconv/ccs/cp852.c: Ditto.
6971
        * libc/iconv/ccs/cp855.c: Ditto.
6972
        * libc/iconv/ccs/cp866.c: Ditto.
6973
        * libc/iconv/ccs/gb_2312_80.c: Ditto.
6974
        * libc/iconv/ccs/iso_8859_1.c: Ditto.
6975
        * libc/iconv/ccs/iso_8859_15.c: Ditto.
6976
        * libc/iconv/ccs/iso_8859_2.c: Ditto.
6977
        * libc/iconv/ccs/iso_8859_4.c: Ditto.
6978
        * libc/iconv/ccs/iso_8859_5.c: Ditto.
6979
        * libc/iconv/ccs/jis_x0201.c: Ditto.
6980
        * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
6981
        * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
6982
        * libc/iconv/ccs/koi8_r.c: Ditto.
6983
        * libc/iconv/ccs/koi8_u.c: Ditto.
6984
        * libc/iconv/ccs/ksx1001.c: Ditto.
6985
        * libc/iconv/ccs/shift_jis.c: Ditto.
6986
        * libc/iconv/ccs/us_ascii.c: Ditto.
6987
        * libc/iconv/ccs/binary/big5.cct: Newly generated.
6988
        * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
6989
        * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
6990
        * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
6991
        * libc/iconv/ccs/binary/cp775.cct: Ditto.
6992
        * libc/iconv/ccs/binary/cp850.cct: Ditto.
6993
        * libc/iconv/ccs/binary/cp852.cct: Ditto.
6994
        * libc/iconv/ccs/binary/cp855.cct: Ditto.
6995
        * libc/iconv/ccs/binary/cp866.cct: Ditto.
6996
        * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
6997
        * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
6998
        * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
6999
        * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
7000
        * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
7001
        * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
7002
        * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
7003
        * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
7004
        * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
7005
        * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
7006
        * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
7007
        * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
7008
        * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
7009
        * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
7010
        * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
7011
        * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
7012
        * libc/iconv/ces/euc-kr.c: Ditto.
7013
        * libc/iconv/ces/euc-tw.c: Ditto.
7014
        * libc/iconv/ces/gb2312.c: Ditto.
7015
        * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
7016
        * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
7017
        * libc/iconv/ces/ucs-2-internal.c: Ditto.
7018
        * libc/iconv/ces/ucs-4-internal.c: Ditto.
7019
        * libc/iconv/ces/utf-16.c: Ditto.
7020
        * libc/iconv/ces/utf-8.c: Ditto.
7021
        * libc/iconv/lib/aliases.c: Ditto.
7022
        * libc/iconv/lib/biccs.c: Ditto.
7023
        * libc/iconv/lib/bices.c: Ditto.
7024
        * libc/iconv/lib/ccs.c: Ditto.
7025
        * libc/iconv/lib/ces.c: Ditto.
7026
        * libc/iconv/lib/ces_euc.c: Ditto.
7027
        * libc/iconv/lib/ces_iso2022.c: Ditto.
7028
        * libc/iconv/lib/ces_table.c: Ditto.
7029
        * libc/iconv/lib/converter.c: Ditto.
7030
        * libc/iconv/lib/deps.h: Ditto.
7031
        * libc/iconv/lib/endian.h: Ditto.
7032
        * libc/iconv/lib/iconv.c: Ditto.
7033
        * libc/iconv/lib/loaddata.c: Ditto.
7034
        * libc/iconv/lib/local.h: Include newlib.h.
7035
        * libc/argz/Makefile.in: Regenerated.
7036
        * libc/ctype/Makefile.in: Ditto.
7037
        * libc/errno/Makefile.in: Ditto.
7038
        * libc/iconv/ccs/binary/Makefile.in: Ditto.
7039
        * libc/locale/Makefile.in: Ditto.
7040
        * libc/misc/Makefile.in: Ditto.
7041
        * libc/posix/Makefile.in: Ditto.
7042
        * libc/reent/Makefile.in: Ditto.
7043
        * libc/search/Makefile.in: Ditto.
7044
        * libc/signal/Makefile.in: Ditto.
7045
        * libc/stdio/Makefile.in: Ditto.
7046
        * libc/stdio64/Makefile.in: Ditto.
7047
        * libc/stdlib/Makefile.in: Ditto.
7048
        * libc/string/Makefile.in: Ditto.
7049
        * libc/syscalls/Makefile.in: Ditto.
7050
        * libc/time/Makefile.in: Ditto.
7051
        * libc/unix/Makefile.in: Ditto.
7052
        * testsuite/newlib.iconv/iconv.exp: New file.
7053
        * testsuite/newlib.iconv/iconvjp.c: Ditto.
7054
        * testsuite/newlib.iconv/iconvnm.c: Ditto.
7055
        * testsuite/newlib.iconv/iconvru.c: Ditto.
7056
 
7057
2004-01-23  Artem B. Bityuckiy  
7058
 
7059
        * acinclude.m4 (--enable-newlib-iconv): New configuration option.
7060
        (--enable-newlib-builtin-converters): Ditto.
7061
        * configure.in: Add code to set _ICONV_ENABLED flag.
7062
        Set _MB_LEN_MAX to 1 if not mb enabled.
7063
        * configure: Regenerated.
7064
        * aclocal.m4: Ditto.
7065
        * Makefile.in: Ditto.
7066
        * newlib.hin: Add _ICONV_ENABLED flag.
7067
        * libc/Makefile.am: Add support for iconv.
7068
        * libc/configure.in: Ditto.
7069
        * libc/Makefile.in: Regenerated.
7070
        * libc/aclocal.m4: Ditto.
7071
        * libc/configure: Ditto.
7072
        * libc/libc.texinfo: Add iconv documentation.
7073
        * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
7074
        libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
7075
        libc/iconv/README.TODO, libc/iconv/charset.aliases,
7076
        libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
7077
        libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
7078
        libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
7079
        libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
7080
        libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
7081
        libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
7082
        libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
7083
        libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
7084
        libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
7085
        libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
7086
        libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
7087
        libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
7088
        libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
7089
        libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
7090
        libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
7091
        libc/iconv/ccs/binary/big5.cct,
7092
        libc/iconv/ccs/binary/cns11643_plane1.cct,
7093
        libc/iconv/ccs/binary/cns11643_plane14.cct,
7094
        libc/iconv/ccs/binary/cns11643_plane2.cct,
7095
        libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
7096
        libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
7097
        libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
7098
        libc/iconv/ccs/binary/iso_8859_1.cct,
7099
        libc/iconv/ccs/binary/iso_8859_15.cct,
7100
        libc/iconv/ccs/binary/iso_8859_2.cct,
7101
        libc/iconv/ccs/binary/iso_8859_4.cct,
7102
        libc/iconv/ccs/binary/iso_8859_5.cct,
7103
        libc/iconv/ccs/binary/jis_x0201.cct,
7104
        libc/iconv/ccs/binary/jis_x0208_1983.cct,
7105
        libc/iconv/ccs/binary/jis_x0212_1990.cct,
7106
        libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
7107
        libc/iconv/ccs/binary/ksx1001.cct,
7108
        libc/iconv/ccs/binary/shift_jis.cct,
7109
        libc/iconv/ccs/binary/us_ascii.cct,
7110
        libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
7111
        libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
7112
        libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
7113
        libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
7114
        libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
7115
        libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
7116
        libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
7117
        libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
7118
        libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
7119
        libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
7120
        libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
7121
        libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
7122
        libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
7123
        libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
7124
        libc/iconv/lib/local.h, libc/include/iconv.h: New files.
7125
        * libc/sys/linux/include/iconv.h: Ditto.
7126
        * libc/include/sys/_types.h (_iconv_t): Added.
7127
        * doc/aclocal.m4: Regenerated.
7128
        * doc/configure: Ditto.
7129
        * doc/Makefile.in: Ditto.
7130
        * iconvdata/Makefile.in: Ditto.
7131
        * iconvdata/aclocal.m4: Ditto.
7132
        * iconvdata/configure: Ditto.
7133
        * libc/*aclocal.m4: Ditto.
7134
        * libc/*Makefile.in: Ditto.
7135
        * libc/*configure: Ditto.
7136
        * libm/*aclocal.m4: Ditto.
7137
        * libm/*Makefile.in: Ditto.
7138
        * libm/*configure: Ditto.
7139
 
7140
2004-01-22  Thomas Pfaff  
7141
 
7142
        * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
7143
        by a lock when newlib is multithreaded.
7144
 
7145
2004-01-21  Jeff Johnston  
7146
 
7147
        * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
7148
        pointer to match C99 spec.
7149
        * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
7150
        dst is NULL.  Also fix to not alter src pointer when dst is NULL
7151
        and call _mbrtowc_r instead of _mbtowc_r.
7152
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
7153
        of _wctomb_r.
7154
 
7155
2004-01-19  Thomas Pfaff  
7156
 
7157
        * libc/stdio/fclose.c (fclose): Release FILE as the last step.
7158
        * libc/stdio/freopen.c (freopen): Ditto.
7159
 
7160
2004-01-16  Christopher Faylor  
7161
 
7162
        * libc/stdio/vfprintf.c: Add sys/lock.h include.
7163
 
7164
2004-01-16  Thomas Pfaff  
7165
 
7166
        * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
7167
        * libc/stdio/vfprintf.c (__sbprintf): Ditto.
7168
        Add calls to __lock_init_recursive and __lock_close_recursive
7169
        instead.
7170
 
7171
2004-01-15  Thomas Pfaff  
7172
 
7173
        * libc/stdio/fclose.c: Include sys/lock.h.
7174
        (fclose): Destroy lock when file is closed.
7175
        * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
7176
        member.
7177
        * libc/stdio/freopen.c: Include sys/lock.h.
7178
        (_freopen_r): Destroy lock when file is closed.
7179
        * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
7180
        _lock member.
7181
 
7182
2004-01-08  Joel Sherrill  
7183
 
7184
        * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
7185
        Remove warnings.
7186
 
7187
2004-01-08  Joel Sherrill  
7188
 
7189
        * libc/sys/rtems/sys/queue.h: New file.
7190
        * libc/include/sys/signal.h: Reflect renumbering of signals to
7191
        fit into 32-bit mask.
7192
        * libc/include/sys/unistd.h: Add fdatasync() prototype.
7193
        * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
7194
        required.  In particular, add the reentrant variants of libc calls.
7195
        * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
7196
 
7197
2004-01-06  Mark Mitchell  
7198
 
7199
        * libc/sys/arm/syscalls.c (unistd.h): Include it.
7200
        (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
7201
        Similarly for stdout and stderr.
7202
 
7203
2004-01-06  Jeff Johnston  
7204
 
7205
        * libc/libc.texinfo: Correct escape character for @ sign
7206
        so file will be processed by make info.  Update copyright years.
7207
        * libm/libm.texinfo: Ditto.
7208
 
7209
2003-12-05  Jeff Johnston  
7210
 
7211
        * libc/include/sys/stat.h: No longer include stat-dj.h.
7212
        * libc/include/sys/stat-dj.h: Removed.
7213
 
7214
2003-12-05  Jeff Johnston  
7215
 
7216
        * libc/include/wchar.h: Include .
7217
 
7218
2003-12-05  Christopher Faylor  
7219
 
7220
        * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
7221
        when defining _mbrtowc.
7222
        * libc/stdlib/mbsinit.c: Ditto.
7223
        * libc/stdlib/mbsrtowcs.c: Ditto.
7224
        * libc/stdlib/wcrtomb.c: Ditto.
7225
        * libc/stdlib/wcsrtombs.c: Ditto.
7226
        * libc/stdlib/wctob.c: Ditto.
7227
 
7228
2003-12-05  Christopher Faylor  
7229
 
7230
        * libc/stdlib/mbrlen.c: Change include order to prevent compiler
7231
        errors when defining _mbrtowc.
7232
        * libc/stdlib/mbsinit.c: Ditto.
7233
        * libc/stdlib/mbsrtowcs.c: Ditto.
7234
 
7235
2003-12-05  Christopher Faylor  
7236
 
7237
        * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
7238
        errors when defining _mbrtowc.
7239
 
7240
2003-12-04  Artem B. Bityuckiy  
7241
 
7242
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
7243
        of mb routines for %lc and %ls support.
7244
        * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
7245
        %ls, and %S support.  Remove CYGNUS_NEC markers and
7246
        code within.
7247
 
7248
2003-12-04  Jeff Johnston  
7249
 
7250
        * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
7251
        _wcrtomb_r, and _wcsrtombs_r.
7252
 
7253
2003-12-01  Corinna Vinschen  
7254
 
7255
        * libc/include/sys/fcntl.h: Don't define struct flock when on
7256
        Cygwin.  This is done in winsup/cygwin/include/cygwin/types.h now.
7257
 
7258
2003-11-28  Christopher Faylor  
7259
 
7260
        * libc/include/sys/signal.h: Use system specific signal file when
7261
        building on cygwin.
7262
 
7263
2003-11-27  Jeff Johnston  
7264
 
7265
        * libc/include/stdlib.h (_atoi_r): New prototype.
7266
        * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
7267
 
7268
2003-11-27  Jeff Johnston  
7269
 
7270
        * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
7271
        * libc/stdlib/atol.c (_atol_r): New reentrant function.
7272
        * libc/stdlib/atoll.c (_atoll_r): Ditto.
7273
 
7274
2003-11-27  Artem B. Bityuckiy  
7275
            Jeff Johnston  
7276
 
7277
        * libc/include/stdlib.h (lldiv_t): New type.
7278
        (atoll, llabs, lldiv): New prototypes.
7279
        * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
7280
        * libc/stdlib/stdlib.tex: Ditto.
7281
        * libc/stdlib/Makefile.in: Regenerated.
7282
        * libc/stdlib/atoll.c: New file.
7283
        * libc/stdlib/llabs.c: Ditto.
7284
        * libc/stdlib/lldiv.c: Ditto.
7285
 
7286
2003-11-26  Corinna Vinschen  
7287
 
7288
        * libc/include/fcntl.h: Declare syscalls only when building newlib.
7289
        * libc/include/unistd.h: Ditto.
7290
        * libc/include/stat.h: Ditto.  Also declare struct stat64.
7291
 
7292
2003-11-24  Artem B. Bityuckiy  
7293
 
7294
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
7295
        specifier to use ch instead of *fmt.
7296
 
7297
2003-11-21  Artem B. Bityuckiy  
7298
 
7299
        * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
7300
        code within checks for MB_CAPABLE.  For non-mb-capable platforms,
7301
        use simple byte logic.
7302
 
7303
2003-11-21  Jeff Johnston  
7304
 
7305
        * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
7306
        _strtold routine for processing floats and doubles since it
7307
        is not as fast as _strtod_r.
7308
 
7309
2003-11-20 Dhananjay Deshpande 
7310
 
7311
        * libc/machine/h8300/defines.h : Correct pointer register defines
7312
        for normal mode.
7313
        * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
7314
        for normal mode.
7315
        * libc/machine/h8300/reg_memcpy.S : Likewise.
7316
        * libc/machine/h8300/reg_memset.S : Likewise.
7317
        * libc/machine/h8300/strcmp.S : Likewise.
7318
 
7319
2003-11-19  Nicholas Wourms  
7320
 
7321
        * configure.host: Enable positional arguments for printf
7322
        family for Cygwin.
7323
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
7324
        pointer reference for quad_ptr_t.
7325
 
7326
2003-11-19  Jeff Johnston  
7327
 
7328
        * libc/stdio/scanf.c: Don't include local.h more than once.
7329
 
7330
2003-11-18  Corinna Vinschen  
7331
 
7332
        * libc/include/sys/fcntl.h: Declare _open64.
7333
        * libc/include/sys/stat.h: Declare _fstat64.
7334
        * libc/include/sys/unistd.h: Declare _lseek64.
7335
 
7336
2003-11-17  Corinna Vinschen  
7337
 
7338
        * libc/include/stdlib.h (getprogname): Declare for Cygwin.
7339
        (setprogname): Ditto.
7340
 
7341
2003-11-10  Jeff Johnston  
7342
 
7343
        * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
7344
        to use (Ebits + 1) which accounts for the sign-bit.
7345
 
7346
2003-11-07  Jeff Johnston  
7347
 
7348
        * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
7349
        x86 build.
7350
        * iconvdata/Makefile.am: Make dependent on newlib's configure.host
7351
        and set up default flags to pass to aclocal.
7352
        * iconvdata/Makefile.in: Regenerated.
7353
        * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
7354
        and getpwuid routines.
7355
        * libc/sys/linux/Makefile.in: Regenerated.
7356
        * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
7357
        applications to link with newlib's shared libc library.
7358
        * libc/sys/linux/getpwnam.c: Ditto.
7359
        * libc/sys/linux/getpwuid.c: Ditto.
7360
        * libc/sys/linux/sys/types.h: Include  and supply types
7361
        that were formerly supplied by /usr/include/linux/types.h with
7362
        kernel types.
7363
        * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
7364
        test _ELIX_LEVEL macro.
7365
 
7366
2003-11-07  Jeff Johnston  
7367
 
7368
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
7369
        referring to _NO_LONGLONG macro.
7370
 
7371
2003-11-06  Jeff Johnston  
7372
 
7373
        * libc/sys/linux/linuxthreads/td_init.c: Replace function name
7374
        in LOG() macro so this will compile on gcc 3.4 and up.
7375
        * libc/sys/linux/linuxthreads/td_log.c: Ditto.
7376
        * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
7377
        * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
7378
        * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
7379
        * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
7380
        * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
7381
        * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
7382
        * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
7383
        * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
7384
        * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
7385
        * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
7386
        * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
7387
        * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
7388
        * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
7389
        * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
7390
        * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
7391
        * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
7392
        * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
7393
        * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
7394
        * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
7395
        * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
7396
        * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
7397
        * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
7398
        * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
7399
        * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
7400
        * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
7401
        * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
7402
        * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
7403
        * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
7404
        * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
7405
        * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
7406
        * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
7407
        * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
7408
        * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
7409
        * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
7410
        * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
7411
 
7412
2003-11-05  Jeff Johnston  
7413
            Artem B. Bityuckiy  
7414
 
7415
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
7416
        %ls, %S, %lc, and %C format specifiers.
7417
        (get_arg): Ditto.
7418
        * libc/stdio/sprintf.c: Add documentation regarding new
7419
        format specifiers added in vfprintf.c.
7420
 
7421
2003-11-05  Jeff Johnston  
7422
 
7423
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
7424
        to make code work as specified in standard.
7425
 
7426
2003-10-23  Jeff Johnston  
7427
 
7428
        * configure.in: Use absolute newlib basedir when forming
7429
        CC_FOR_NEWLIB include options.
7430
        * configure: Regenerated.
7431
 
7432
2003-10-23  Artem B. Bityuckiy  
7433
 
7434
        * libc/string/wcsnlen.c: New file.
7435
        * libc/include/wchar.h: Add wcsnlen prototype.
7436
        * libc/string/Makefile.am: Add wcsnlen support.
7437
        * libc/string/Makefile.in: Regenerated.
7438
        * libc/string/wcstrings.tex: Add wcsnlen documentation.
7439
 
7440
2003-10-22  Richard Sandiford  
7441
 
7442
        * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
7443
 
7444
2003-10-20  Bob Wilson  
7445
 
7446
        * libc/locale/locale.c: Use double quotes in code.
7447
        * libc/locale/locale.tex: Likewise.
7448
        * libc/libc.texinfo: Hyphenate "floating-point".
7449
        * libc/machine/necv70/necv70.tex: Likewise.
7450
        * libc/stdio/sprintf.c: Likewise.
7451
        * libc/stdio/sscanf.c: Likewise.
7452
        * libc/stdlib/atof.c: Likewise.
7453
        * libc/stdlib/ldtoa.c: Fix comment typo.
7454
        * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
7455
        * libc/stdlib/ldiv.c: Likewise.
7456
        * libm/common/s_expm1.c: Likewise.
7457
        * libm/common/s_ilogb.c: Hyphenate "floating-point".  Use "nonzero".
7458
        * libm/common/s_infinity: Hyphenate "double- and single-precision".
7459
        * libm/common/s_nan.c: Likewise.  Also correct the FUNCTION summary.
7460
        * libm/common/s_nextafter.c: Fix typo.  Hyphenate "double-precision"
7461
        and "floating-point".
7462
        * libm/common/s_scalbn.c: Correct the FUNCTION summary.
7463
        * libm/math/e_pow.c: Fix comment typo.
7464
        * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
7465
        * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
7466
        * libm/math/s_atan.c: Likewise.
7467
        * libm/math/s_frexp.c: Likewise.  Also use "nonzero".
7468
        * libm/math/s_isnan.c: Hyphenate "single-precision" and
7469
        "floating-point".  Use "nonzero".
7470
        * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
7471
        * libm/math/w_acos.c: Likewise.
7472
        * libm/math/w_acosh.c: Likewise.
7473
        * libm/math/w_asin.c: Likewise.
7474
        * libm/math/w_atan2.c: Likewise.
7475
        * libm/math/w_atanh.c: Likewise.
7476
        * libm/math/w_cosh.c: Likewise.
7477
        * libm/math/w_exp.c: Likewise.
7478
        * libm/math/w_exp2.c: Likewise.  Add missing @end and missing @tex
7479
        version of 2^x in the description.
7480
        * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
7481
        * libm/math/w_gamma.c: Likewise.
7482
        * libm/math/w_hypot.c: Likewise.
7483
        * libm/math/w_j0.c: Likewise.
7484
        * libm/math/w_sinh.c: Likewise.
7485
        * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
7486
        * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
7487
        "floating-point".
7488
        * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
7489
        * libm/mathfp/e_atanh.c: Likewise.
7490
        * libm/mathfp/e_hypot.c: Likewise.
7491
        * libm/mathfp/er_lgamma.c: Likewise.
7492
        * libm/mathfp/s_acos.c: Likewise.
7493
        * libm/mathfp/s_asine.c: Likewise.
7494
        * libm/mathfp/s_asinh.c: Likewise.
7495
        * libm/mathfp/s_atan.c: Likewise.
7496
        * libm/mathfp/s_atan2.c: Likewise.
7497
        * libm/mathfp/s_atangent.c: Likewise.
7498
        * libm/mathfp/s_cosh.c: Likewise.
7499
        * libm/mathfp/s_exp.c: Likewise.
7500
        * libm/mathfp/s_fmod.c: Likewise.
7501
        * libm/mathfp/s_frexp.c: Likewise.  Also use "nonzero".
7502
        * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
7503
        "floating-point".  Use "nonzero".
7504
        * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
7505
        * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
7506
        * libm/mathfp/s_sineh.c: Likewise.
7507
        * libm/mathfp/w_jn.c: Likewise.
7508
 
7509
2003-10-15  Alexandre Oliva  
7510
 
7511
        * Makefile.am: Add $(MAKE) comments to multido and multiclean
7512
        lines, to enable parallel make.
7513
        * Makefile.in: Rebuilt.
7514
 
7515
2003-10-14  Christopher Faylor  
7516
 
7517
        * libc/time/clock.c: Clarify documentation of return value when no
7518
        measurement is available.
7519
 
7520
2003-09-29  Ian Lance Taylor  
7521
 
7522
        * libm/configure.in: Check libm_machine_dir, not machine_dir.
7523
        * libm/configure: Regenerate.
7524
        * libm/Makefile.in: Ditto.
7525
 
7526
2003-09-29  J"orn Rennecke 
7527
 
7528
        * libc/machine/sh/strncpy.S: New file.
7529
        * libc/machine/sh/Makefile.am: Add entry & rule for new file.
7530
        * libc/machine/sh/Makefile.in: Regenerate.
7531
 
7532
2003-09-11  James E Wilson  
7533
 
7534
        * MAINTAINERS: Update my e-mail address.
7535
 
7536
2003-09-10  Corinna Vinschen  
7537
 
7538
        * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
7539
 
7540
2003-09-09  Jeff Johnston  
7541
 
7542
        * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
7543
        prototype.
7544
        * libc/machine/powerpc/simdldtoa.c: Remove prototype for
7545
        _simdldcheck().  Also add unsigned cast for index variable in
7546
        for loop using sizeof operators.
7547
        * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
7548
        * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
7549
        * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
7550
        plus fix shift calculation for determining if there is a
7551
        carry from word2.
7552
 
7553
2003-09-09  Corinna Vinschen  
7554
 
7555
        * libc/include/grp.h: Don't define setgrfile, group_from_gid and
7556
        setgroupent for Cygwin.
7557
 
7558
2003-09-05  Jeff Johnston  
7559
 
7560
        * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
7561
        is different for _REENT_SMALL than when using regular reent
7562
        struct.
7563
 
7564
2003-09-05  Ben Elliston  
7565
 
7566
        * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
7567
        modern versions of GCC issue a warning.
7568
 
7569
        * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
7570
        after continuation characters that induces a warning from modern
7571
        versions of GCC.
7572
 
7573
2003-09-04  Ben Elliston  
7574
 
7575
        * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards.  #ifndef FOO ||
7576
        FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
7577
 
7578
2003-09-02  Thomas Pfaff  
7579
 
7580
        * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
7581
        * libc/stdlib/exit.c : Ditto.
7582
        * libc/stdlib/on_exit.c: Ditto.
7583
 
7584
2003-08-27  Corinna Vinschen  
7585
 
7586
        * libc/include/reent.h: Define stat64 as __stat64 when
7587
        compiling newlib for Cygwin.
7588
 
7589
2003-08-26  Jeff Johnston  
7590
 
7591
        * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
7592
        __stat64 when compiling newlib.
7593
 
7594
2003-08-26  Jeff Johnston  
7595
 
7596
        * libc/include/stdio.h: Allow the io64 function prototypes for
7597
        Cygwin when compiling newlib.
7598
        * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
7599
        to expose the Cygwin struct __stat64 type.
7600
        * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
7601
        pointer.
7602
        * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
7603
 
7604
2003-08-23  Christopher Faylor  
7605
 
7606
        * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
7607
        definition to fseeko64.
7608
 
7609
2003-08-22  Jeff Johnston  
7610
 
7611
        * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
7612
        * libc/stdio: Globally remove/replace all references to fp->_data.
7613
        Replace with _REENT or _GLOBAL_REENT where appropriate.
7614
        * libc/stdio/asprintf.c: Ditto.
7615
        * libc/stdio/fclose.c: Ditto.
7616
        * libc/stdio/fvwrite.c: Ditto.
7617
        * libc/stdio/makebuf.c: Ditto.
7618
        * libc/stdio/refill.c: Ditto.
7619
        * libc/stdio/local.h: Ditto.
7620
        * libc/stdio/setvbuf.c: Ditto.
7621
        * libc/stdio/sscanf.c: Ditto.
7622
        * libc/stdio/stdio.c: Ditto.
7623
        * libc/stdio/ungetc.c: Ditto.
7624
        * libc/stdio/vfscanf.c: Ditto.
7625
        * libc/stdio/vsscanf.c: Ditto.
7626
        * libc/stdio/fopen.c: Ditto.  Also use _fseek_r in _fopen_r.
7627
        * libc/stdio/vasprintf.c: Ditto.  Also call _vfprintf_r directly.
7628
        * libc/stdio/vsnprintf.c: Ditto.
7629
        * libc/stdio/vsprintf.c: Ditto.
7630
        * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
7631
        instead of _REENT to walk file list.
7632
        * libc/stdio/fflush.c: Ditto.
7633
        * libc/stdio/fgetpos.c: Add reentrant version and have regular
7634
        version call reentrant version with _REENT argument.
7635
        * libc/stdio/fsetpos.c: Ditto.
7636
        * libc/stdio/fseek.c: Ditto.
7637
        * libc/stdio/fseeko.c: Ditto.
7638
        * libc/stdio/ftell.c: Ditto.
7639
        * libc/stdio/ftello.c: Ditto.
7640
        * libc/stdio/freopen.c: Ditto.
7641
        * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
7642
        new files to chain.  Also use _GLOBAL_REENT pointer for
7643
        cleaning up.
7644
        * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
7645
        * libc/stdio/siprintf.c: Ditto.
7646
        * libc/stdio/iprintf.c: Ditto.
7647
        * libc/stdio/fprintf.c: Ditto.
7648
        * libc/stdio/printf.c: Ditto.
7649
        * libc/stdio/snprintf.c: Call _vfprintf_r directly.
7650
        * libc/stdio/sprintf.c: Ditto.
7651
        * libc/stdio/vprintf.c: Ditto.  Also add _REENT_ONLY check.
7652
        * libc/stdio/rewind.c: Call _fseek_r directly.
7653
        * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
7654
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
7655
        data pointer.
7656
        (get_arg): Add extra struct _reent pointer argument.
7657
        * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
7658
        to fp->_data.
7659
        * libc/stdio64/fopen64.c: Ditto.
7660
        * libc/stdio64/freopen64.c: Ditto.
7661
        * libc/stdio64/fsetpos64.c: Ditto.
7662
        * libc/stdio64/ftello64.c: Ditto.
7663
        * libc/stdio64/local64.h: Ditto.
7664
        * libc/stdio64/stdio64.c: Ditto.
7665
        * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
7666
        _fstat64_r for the meantime.
7667
 
7668
2003-08-19  Jeff Johnston  
7669
 
7670
        * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
7671
        overflow detection.
7672
 
7673
2003-08-13  Aldy Hernandez  
7674
 
7675
        * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
7676
        extern "C".
7677
 
7678
2003-08-13  Jeff Johnston  
7679
 
7680
        * libc/include/math.h: Add prototypes for __signbitf and
7681
        __signbitd.
7682
 
7683
2003-07-31  Jeff Johnston  
7684
 
7685
        * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
7686
        correct type of conversion when dealing with EUCJP or SJIS.
7687
        * libc/ctype/iswblank.c: Ditto.
7688
        * libc/ctype/iswcntrl.c: Ditto.
7689
        * libc/ctype/iswprint.c: Ditto.
7690
        * libc/ctype/iswpunct.c: Ditto.
7691
        * libc/ctype/iswspace.c: Ditto.
7692
        * libc/ctype/towlower.c: Ditto.
7693
        * libc/ctype/towupper.c: Ditto.
7694
 
7695
2003-07-31  Nick Clifton  
7696
 
7697
        * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
7698
        before calling main, in case it saves its argument registers.
7699
        Remove reference to deleted v850ea port.
7700
        * configure.host: Remove reference to deleted v850ea port.
7701
        Do not use -mv850 when building for v850e target.  This
7702
        prevents the ctbp system register from being initialised.
7703
 
7704
2003-07-29  Honda Hiroki  
7705
 
7706
        * libc/stdio/vfprintf.c: Set output size to 1 when
7707
        we have %f format with precision 0 and # flag not specified.
7708
 
7709
2003-07-29  Alexandre Oliva  
7710
 
7711
        * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
7712
        .am33_2.
7713
 
7714
2003-07-25  Christopher Faylor  
7715
 
7716
        * libc/stdio64/fdopen64.c: Include sys/lock.h.
7717
 
7718
2003-07-25  Christopher Faylor  
7719
 
7720
        * configure.host: Find cygwin include directory, when appropriate.
7721
 
7722
2003-07-24  Christopher Faylor  
7723
 
7724
        * libc/stdio64/fdopen64.c: New file.
7725
        * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
7726
        * libc/stdio64/Makefile.in: Regenerate.
7727
        * libc/include/stdio.h (fdopen64): Define.
7728
        * libc/include/stdio.h (_fdopen64_r): Ditto.
7729
 
7730
2003-07-10  Alexandre Oliva  
7731
 
7732
        2000-04-27  Alexandre Oliva  
7733
        * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
7734
        * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
7735
        restore callee-saved FP registers.
7736
 
7737
2003-07-10  J"orn Rennecke 
7738
 
7739
        * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
7740
        for __sh__.
7741
        * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
7742
        truncate.c.
7743
        * libc/sys/sh/Makefile.in: Regenerate.
7744
        * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
7745
        * libc/sys/sh/ftruncate.c: New file.
7746
        * libc/sys/sh/truncate.c: Likewise.
7747
 
7748
2003-07-09  Alexandre Oliva  
7749
 
7750
        * libc/include/math.h (nan, nanf): Update prototype to C99.
7751
        * libm/common/s_nan.c (nan): Likewise.
7752
        * libm/common/s_nanf.c (nanf, nan): Likewise.
7753
        * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
7754
 
7755
2003-07-07  Jeff Johnston  
7756
 
7757
        * libc/include/stdbool.h: Removed as this is defined by gcc.
7758
 
7759
2003-07-03  Shaun Jackman  
7760
 
7761
        * libc/include/stdbool.h: New header file defined by C99.
7762
 
7763
2003-07-02  Jeff Johnston  
7764
 
7765
        * libc/include/sys/types.h (int8_t): Make signed.
7766
 
7767
2003-07-02  Jeff Johnston  
7768
 
7769
        * libc/sys/linux/include/mqueue.h: Add include of .
7770
 
7771
2003-06-27  Jose Goncalves  
7772
 
7773
        * libc/sys/linux/mq_open.c (mq_open): Only set created flag
7774
        on if we actually created the shared memory file exclusively.
7775
 
7776
2003-06-27  Joe Vornehm  
7777
 
7778
        * libm/common/s_fpclassify.c (__fpclassifyf): Fix
7779
        comparisons to account for unsigned internal value w.
7780
 
7781
2003-06-26  Jeff Johnston  
7782
 
7783
        * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
7784
        wrbuf for a non-creating open.
7785
 
7786
2003-06-24  Kazu Hirata  
7787
 
7788
        * libc/machine/h8300/setarch.h: New.
7789
        * libc/machine/h8300/memcpy.S: Use it.
7790
        * libc/machine/h8300/memset.S: Likewise.
7791
        * libc/machine/h8300/reg_memcpy.S: Likewise.
7792
        * libc/machine/h8300/reg_memset.S: Likewise.
7793
        * libc/machine/h8300/setjmp.S: Likewise.
7794
        * libc/machine/h8300/strcmp.S: Likewise.
7795
 
7796
2003-06-24  Richard Sandiford  
7797
 
7798
        * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
7799
        to atexit().
7800
 
7801
2003-06-20  Jeff Johnston  
7802
 
7803
        * configure.host (iq2000): Add tabs.
7804
 
7805
2003-06-20  Jeff Johnston  
7806
 
7807
        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
7808
        to handle latest on_exit change.
7809
        * libc/sys/linux/Makefile.am: Remove special compilation
7810
        for malloc.c and mcheck.c.
7811
        * libc/sys/linux/Makefile.in: Regenerated.
7812
        * libc/sys/linux/mntent.c: Add definition of _LIBC flag
7813
        after including .
7814
        * libc/sys/linux/mcheck.c: Ditto.
7815
        * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
7816
        for .
7817
        * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
7818
        add -DNOT_IN_libc to C flags.
7819
        * libc/sys/linux/intl/Makefile.in: Regenerated.
7820
        * libc/sys/linux/intl/config.h: Add definition of _LIBC.
7821
        * libc/sys/linux/linuxthreads/semaphore.h: Include
7822
        .
7823
        * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
7824
        including .
7825
        * libc/sys/linux/sys/lock.h: Ditto.
7826
 
7827
2003-06-11  Nick Clifton  
7828
 
7829
        * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
7830
        _on_exit_args_ptr.
7831
 
7832
2003-06-10  Stan Cox  
7833
            Anthony Green  
7834
 
7835
        * configure.host: Add iq2000 support.
7836
        * newlib/libc/include/machine/ieeefp.h: Ditto.
7837
        * newlib/libc/include/machine/setjmp.h: Ditto.
7838
        * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
7839
        libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
7840
        libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
7841
        libc/machine/iq2000/Makefile.in: New files.
7842
 
7843
2003-06-10  Richard Sandiford  
7844
 
7845
        * libc/sys/h8300hms/setarch.h: New file.
7846
        * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
7847
        libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
7848
        libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
7849
        libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
7850
 
7851
2003-06-06  Jeff Johnston  
7852
 
7853
        * libc/argz/argz_add.c: Change to use _DEFUN macro for function
7854
        definition.
7855
        * libc/argz/argz_add_sep.c: Ditto.
7856
        * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
7857
        * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
7858
        * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
7859
        * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
7860
        * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
7861
        * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
7862
        * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
7863
        * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
7864
        * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
7865
        * libc/posix/closedir.c libc/posix/creat.c: Ditto.
7866
        * libc/posix/execl.c libc/posix/execle.c: Ditto.
7867
        * libc/posix/execlp.c libc/posix/execve.c: Ditto.
7868
        * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
7869
        * libc/posix/popen.c libc/posix/readdir.c: Ditto.
7870
        * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
7871
        * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
7872
        * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
7873
        * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
7874
        * libc/search/tfind.c libc/search/tsearch.c: Ditto.
7875
        * libc/search/twalk.c libc/signal/signal.c: Ditto.
7876
 
7877
2003-06-05  Nick Clifton  
7878
 
7879
        * libc/include/sys/reent.h (struct _on_exit_args): New
7880
        structure containing fields used by the on_exit() function.
7881
        (struct _atexit): Include struct _on_exit_args.  For
7882
        _REENT_SMALL do his via a pointer that is initialised when
7883
        needed.
7884
        * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
7885
        structure, if one has been allocated.
7886
        * libc/stdlib/atexit.c (atexit): Update indirection to
7887
        _fntypes field.
7888
        * libc/stdlib/on_exit.c (on_exit): Indirect via the
7889
        _on_exit_args structure.  For _REENT_SMALL, allocate a
7890
        structure if one does not exist.
7891
        * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
7892
        structure.
7893
 
7894
2003-06-04  Jeff Johnston  
7895
 
7896
        * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
7897
        * libc/sys/linux/net/Makefile.in: Regenerated.
7898
 
7899
2003-06-03  Jeff Johnston  
7900
 
7901
        * libc/reent/execr.c: Use _DEFUN macro for function declaration.
7902
        * libc/reent/fcntlr.c: Ditto.
7903
        * libc/reent/fstat64r.c: Ditto.
7904
        * libc/reent/linkr.c: Ditto.
7905
        * libc/reent/lseek64r.c: Ditto.
7906
        * libc/reent/lseekr.c: Ditto.
7907
        * libc/reent/openr.c: Ditto.
7908
        * libc/reent/readr.c: Ditto.
7909
        * libc/reent/reent.c: Ditto.
7910
        * libc/reent/sbrkr.c: Ditto.
7911
        * libc/reent/signalr.c: Ditto.
7912
        * libc/reent/signgam.c: Ditto.
7913
        * libc/reent/statr.c: Ditto.
7914
        * libc/reent/timer.c: Ditto.
7915
        * libc/reent/unlinkr.c: Ditto.
7916
        * libc/reent/writer.c: Ditto.
7917
        * libc/syscalls/sysclose.c: Ditto.
7918
        * libc/syscalls/sysexecve.c: Ditto.
7919
        * libc/syscalls/sysfcntl.c: Ditto.
7920
        * libc/syscalls/sysfork.c: Ditto.
7921
        * libc/syscalls/sysfstat.c: Ditto.
7922
        * libc/syscalls/sysgetpid.c: Ditto.
7923
        * libc/syscalls/sysgettod.c: Ditto.
7924
        * libc/syscalls/syskill.c: Ditto.
7925
        * libc/syscalls/syslink.c: Ditto.
7926
        * libc/syscalls/syslseek.c: Ditto.
7927
        * libc/syscalls/sysopen.c: Ditto.
7928
        * libc/syscalls/sysread.c: Ditto.
7929
        * libc/syscalls/syssbrk.c: Ditto.
7930
        * libc/syscalls/sysstat.c: Ditto.
7931
        * libc/syscalls/systimes.c: Ditto.
7932
        * libc/syscalls/sysunlink.c: Ditto.
7933
        * libc/syscalls/syswait.c: Ditto.
7934
        * libc/syscalls/syswrite.c: Ditto.
7935
 
7936
2003-06-03  Till Straumann  
7937
 
7938
        * libc/time/tzset_r.c: Change local variables that are
7939
        set via sscanf using the %h format specifier to be unsigned short
7940
        instead of int.
7941
 
7942
2003-05-30  Kelley Cook  
7943
 
7944
        * configure.host:  Allow i[34567]86 variant.
7945
        * configure.in: Likewise.
7946
        * README: Likewise to the docs.
7947
        * configure: Regenerated.
7948
        * Makefile.in: Ditto.
7949
 
7950
2003-05-28  Jeff Johnston  
7951
            Tom Fitzsimmons  
7952
 
7953
        * configure.in: Add iconvdata support for x86 linux.
7954
        * configure: Regenerated.
7955
        * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
7956
        library, iconv, and linuxthreads support.
7957
        * libc/sys/linux/configure.in: Ditto.
7958
        * libc/sys/linux/Makefile.in: Regenerated.
7959
        * libc/sys/linux/configure: Ditto.
7960
        * iconvdata/EUC-JP.irreversible: New file.
7961
        * iconvdata/Makefile.am: Ditto.
7962
        * iconvdata/Makefile.in: Ditto.
7963
        * iconvdata/SJIS.irreversible: Ditto.
7964
        * iconvdata/aclocal.m4: Ditto.
7965
        * iconvdata/configure: Ditto.
7966
        * iconvdata/configure.in: Ditto.
7967
        * iconvdata/dummy.c: Ditto.
7968
        * iconvdata/euc-jp.c: Ditto.
7969
        * iconvdata/gconv-modules: Ditto.
7970
        * iconvdata/jis0201.c: Ditto.
7971
        * iconvdata/jis0201.h: Ditto.
7972
        * iconvdata/jis0208.c: Ditto.
7973
        * iconvdata/jis0208.h: Ditto.
7974
        * iconvdata/jis0212.c: Ditto.
7975
        * iconvdata/jis0212.h: Ditto.
7976
        * iconvdata/sjis.c: Ditto.
7977
        * libc/include/errno.h: Protect definition of error_t.
7978
        * libc/sys/linux/gethostid.c: New file.
7979
        * libc/sys/linux/sethostid.c: Ditto.
7980
        * libc/sys/linux/dl/Makefile.am: Ditto.
7981
        * libc/sys/linux/dl/Makefile.in: Ditto.
7982
        * libc/sys/linux/dl/abi-tag.h: Ditto.
7983
        * libc/sys/linux/dl/atomicity.h: Ditto.
7984
        * libc/sys/linux/dl/dl-addr.c: Ditto.
7985
        * libc/sys/linux/dl/dl-cache.c: Ditto.
7986
        * libc/sys/linux/dl/dl-cache.h: Ditto.
7987
        * libc/sys/linux/dl/dl-close.c: Ditto.
7988
        * libc/sys/linux/dl/dl-debug.c: Ditto.
7989
        * libc/sys/linux/dl/dl-deps.c: Ditto.
7990
        * libc/sys/linux/dl/dl-dst.h: Ditto.
7991
        * libc/sys/linux/dl/dl-error.c: Ditto.
7992
        * libc/sys/linux/dl/dl-fini.c: Ditto.
7993
        * libc/sys/linux/dl/dl-init.c: Ditto.
7994
        * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
7995
        * libc/sys/linux/dl/dl-libc.c: Ditto.
7996
        * libc/sys/linux/dl/dl-librecon.h: Ditto.
7997
        * libc/sys/linux/dl/dl-load.c: Ditto.
7998
        * libc/sys/linux/dl/dl-lookup.c: Ditto.
7999
        * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
8000
        * libc/sys/linux/dl/dl-minimal.c: Ditto.
8001
        * libc/sys/linux/dl/dl-misc.c: Ditto.
8002
        * libc/sys/linux/dl/dl-object.c: Ditto.
8003
        * libc/sys/linux/dl/dl-open.c: Ditto.
8004
        * libc/sys/linux/dl/dl-osinfo.h: Ditto.
8005
        * libc/sys/linux/dl/dl-profile.c: Ditto.
8006
        * libc/sys/linux/dl/dl-profstub.c: Ditto.
8007
        * libc/sys/linux/dl/dl-reloc.c: Ditto.
8008
        * libc/sys/linux/dl/dl-runtime.c: Ditto.
8009
        * libc/sys/linux/dl/dl-support.c: Ditto.
8010
        * libc/sys/linux/dl/dl-sym.c: Ditto.
8011
        * libc/sys/linux/dl/dl-version.c: Ditto.
8012
        * libc/sys/linux/dl/dlfcn.h: Ditto.
8013
        * libc/sys/linux/dl/do-lookup.h: Ditto.
8014
        * libc/sys/linux/dl/do-rel.h: Ditto.
8015
        * libc/sys/linux/dl/dynamic-link.h: Ditto.
8016
        * libc/sys/linux/dl/kernel-features.h: Ditto.
8017
        * libc/sys/linux/dl/ldsodefs.h: Ditto.
8018
        * libc/sys/linux/dl/libintl.h: Ditto.
8019
        * libc/sys/linux/dl/trusted-dirs.h: Ditto.
8020
        * libc/sys/linux/dl/unsecvars.h: Ditto.
8021
        * libc/sys/linux/iconv/Makefile.am: Ditto.
8022
        * libc/sys/linux/iconv/Makefile.in: Ditto.
8023
        * libc/sys/linux/iconv/categories.def: Ditto.
8024
        * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
8025
        * libc/sys/linux/iconv/gconv.c: Ditto.
8026
        * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
8027
        * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
8028
        * libc/sys/linux/iconv/gconv_cache.c: Ditto.
8029
        * libc/sys/linux/iconv/gconv_charset.h: Ditto.
8030
        * libc/sys/linux/iconv/gconv_close.c: Ditto.
8031
        * libc/sys/linux/iconv/gconv_conf.c: Ditto.
8032
        * libc/sys/linux/iconv/gconv_db.c: Ditto.
8033
        * libc/sys/linux/iconv/gconv_dl.c: Ditto.
8034
        * libc/sys/linux/iconv/gconv_int.h: Ditto.
8035
        * libc/sys/linux/iconv/gconv_open.c: Ditto.
8036
        * libc/sys/linux/iconv/gconv_simple.c: Ditto.
8037
        * libc/sys/linux/iconv/gconv_trans.c: Ditto.
8038
        * libc/sys/linux/iconv/hash-string.h: Ditto.
8039
        * libc/sys/linux/iconv/iconv.c: Ditto.
8040
        * libc/sys/linux/iconv/iconv.h: Ditto.
8041
        * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
8042
        * libc/sys/linux/iconv/iconv_close.c: Ditto.
8043
        * libc/sys/linux/iconv/iconv_open.c: Ditto.
8044
        * libc/sys/linux/iconv/iconvconfig.c: Ditto.
8045
        * libc/sys/linux/iconv/iconvconfig.h: Ditto.
8046
        * libc/sys/linux/iconv/loadinfo.h: Ditto.
8047
        * libc/sys/linux/iconv/localeinfo.h: Ditto.
8048
        * libc/sys/linux/iconv/loop.c: Ditto.
8049
        * libc/sys/linux/iconv/skeleton.c: Ditto.
8050
        * libc/sys/linux/iconv/strtab.c: Ditto.
8051
        * libc/sys/linux/include/dl-hash.h: Ditto.
8052
        * libc/sys/linux/include/dlfcn.h: Ditto.
8053
        * libc/sys/linux/include/fnmatch.h: Ditto.
8054
        * libc/sys/linux/include/gconv.h: Ditto.
8055
        * libc/sys/linux/include/glob.h: Ditto.
8056
        * libc/sys/linux/include/hesiod.h: Ditto.
8057
        * libc/sys/linux/include/ifaddrs.h: Ditto.
8058
        * libc/sys/linux/include/libc_private.h: Ditto.
8059
        * libc/sys/linux/include/link.h: Ditto.
8060
        * libc/sys/linux/include/namespace.h: Ditto.
8061
        * libc/sys/linux/include/netconfig.h: Ditto.
8062
        * libc/sys/linux/include/netdb.h: Ditto.
8063
        * libc/sys/linux/include/nsswitch.h: Ditto.
8064
        * libc/sys/linux/include/regex.h: Ditto.
8065
        * libc/sys/linux/include/resolv.h: Ditto.
8066
        * libc/sys/linux/include/rune.h: Ditto.
8067
        * libc/sys/linux/include/runetype.h: Ditto.
8068
        * libc/sys/linux/include/semaphore.h: Ditto.
8069
        * libc/sys/linux/include/setlocale.h: Ditto.
8070
        * libc/sys/linux/include/un-namespace.h: Ditto.
8071
        * libc/sys/linux/include/wordexp.h: Ditto.
8072
        * libc/sys/linux/include/arpa/ftp.h: Ditto.
8073
        * libc/sys/linux/include/arpa/inet.h: Ditto.
8074
        * libc/sys/linux/include/arpa/nameser.h: Ditto.
8075
        * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
8076
        * libc/sys/linux/include/arpa/telnet.h: Ditto.
8077
        * libc/sys/linux/include/arpa/tftp.h: Ditto.
8078
        * libc/sys/linux/include/net/bpf.h: Ditto.
8079
        * libc/sys/linux/include/net/bpf_compat.h: Ditto.
8080
        * libc/sys/linux/include/net/bpfdesc.h: Ditto.
8081
        * libc/sys/linux/include/net/bridge.h: Ditto.
8082
        * libc/sys/linux/include/net/ethernet.h: Ditto.
8083
        * libc/sys/linux/include/net/fddi.h: Ditto.
8084
        * libc/sys/linux/include/net/if.h: Ditto.
8085
        * libc/sys/linux/include/net/if_arc.h: Ditto.
8086
        * libc/sys/linux/include/net/if_arp.h: Ditto.
8087
        * libc/sys/linux/include/net/if_atm.h: Ditto.
8088
        * libc/sys/linux/include/net/if_dl.h: Ditto.
8089
        * libc/sys/linux/include/net/if_gif.h: Ditto.
8090
        * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
8091
        * libc/sys/linux/include/net/if_llc.h: Ditto.
8092
        * libc/sys/linux/include/net/if_media.h: Ditto.
8093
        * libc/sys/linux/include/net/if_mib.h: Ditto.
8094
        * libc/sys/linux/include/net/if_ppp.h: Ditto.
8095
        * libc/sys/linux/include/net/if_pppvar.h: Ditto.
8096
        * libc/sys/linux/include/net/if_slvar.h: Ditto.
8097
        * libc/sys/linux/include/net/if_sppp.h: Ditto.
8098
        * libc/sys/linux/include/net/if_stf.h: Ditto.
8099
        * libc/sys/linux/include/net/if_tap.h: Ditto.
8100
        * libc/sys/linux/include/net/if_tapvar.h: Ditto.
8101
        * libc/sys/linux/include/net/if_tun.h: Ditto.
8102
        * libc/sys/linux/include/net/if_tunvar.h: Ditto.
8103
        * libc/sys/linux/include/net/if_types.h: Ditto.
8104
        * libc/sys/linux/include/net/if_var.h: Ditto.
8105
        * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
8106
        * libc/sys/linux/include/net/intrq.h: Ditto.
8107
        * libc/sys/linux/include/net/iso88025.h: Ditto.
8108
        * libc/sys/linux/include/net/net_osdep.h: Ditto.
8109
        * libc/sys/linux/include/net/netisr.h: Ditto.
8110
        * libc/sys/linux/include/net/pfil.h: Ditto.
8111
        * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
8112
        * libc/sys/linux/include/net/ppp_comp.h: Ditto.
8113
        * libc/sys/linux/include/net/ppp_defs.h: Ditto.
8114
        * libc/sys/linux/include/net/radix.h: Ditto.
8115
        * libc/sys/linux/include/net/raw_cb.h: Ditto.
8116
        * libc/sys/linux/include/net/route.h: Ditto.
8117
        * libc/sys/linux/include/net/slcompress.h: Ditto.
8118
        * libc/sys/linux/include/net/slip.h: Ditto.
8119
        * libc/sys/linux/include/net/zlib.h: Ditto.
8120
        * libc/sys/linux/include/netinet/icmp6.h: Ditto.
8121
        * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
8122
        * libc/sys/linux/include/netinet/if_atm.h: Ditto.
8123
        * libc/sys/linux/include/netinet/if_ether.h: Ditto.
8124
        * libc/sys/linux/include/netinet/igmp.h: Ditto.
8125
        * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
8126
        * libc/sys/linux/include/netinet/in.h: Ditto.
8127
        * libc/sys/linux/include/netinet/in_gif.h: Ditto.
8128
        * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
8129
        * libc/sys/linux/include/netinet/in_systm.h: Ditto.
8130
        * libc/sys/linux/include/netinet/in_var.h: Ditto.
8131
        * libc/sys/linux/include/netinet/ip.h: Ditto.
8132
        * libc/sys/linux/include/netinet/ip6.h: Ditto.
8133
        * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
8134
        * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
8135
        * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
8136
        * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
8137
        * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
8138
        * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
8139
        * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
8140
        * libc/sys/linux/include/netinet/ip_var.h: Ditto.
8141
        * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
8142
        * libc/sys/linux/include/netinet/tcp.h: Ditto.
8143
        * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
8144
        * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
8145
        * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
8146
        * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
8147
        * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
8148
        * libc/sys/linux/include/netinet/tcpip.h: Ditto.
8149
        * libc/sys/linux/include/netinet/udp.h: Ditto.
8150
        * libc/sys/linux/include/netinet/udp_var.h: Ditto.
8151
        * libc/sys/linux/include/netinet6/ah.h: Ditto.
8152
        * libc/sys/linux/include/netinet6/ah6.h: Ditto.
8153
        * libc/sys/linux/include/netinet6/esp.h: Ditto.
8154
        * libc/sys/linux/include/netinet6/esp6.h: Ditto.
8155
        * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
8156
        * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
8157
        * libc/sys/linux/include/netinet6/in6.h: Ditto.
8158
        * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
8159
        * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
8160
        * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
8161
        * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
8162
        * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
8163
        * libc/sys/linux/include/netinet6/ip6.h: Ditto.
8164
        * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
8165
        * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
8166
        * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
8167
        * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
8168
        * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
8169
        * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
8170
        * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
8171
        * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
8172
        * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
8173
        * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
8174
        * libc/sys/linux/include/netinet6/nd6.h: Ditto.
8175
        * libc/sys/linux/include/netinet6/pim6.h: Ditto.
8176
        * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
8177
        * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
8178
        * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
8179
        * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
8180
        * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
8181
        * libc/sys/linux/include/netns/idp.h: Ditto.
8182
        * libc/sys/linux/include/netns/idp_var.h: Ditto.
8183
        * libc/sys/linux/include/netns/ns.h: Ditto.
8184
        * libc/sys/linux/include/netns/ns_error.h: Ditto.
8185
        * libc/sys/linux/include/netns/ns_if.h: Ditto.
8186
        * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
8187
        * libc/sys/linux/include/netns/sp.h: Ditto.
8188
        * libc/sys/linux/include/netns/spidp.h: Ditto.
8189
        * libc/sys/linux/include/netns/spp_debug.h: Ditto.
8190
        * libc/sys/linux/include/netns/spp_timer.h: Ditto.
8191
        * libc/sys/linux/include/netns/spp_var.h: Ditto.
8192
        * libc/sys/linux/include/rpc/Makefile: Ditto.
8193
        * libc/sys/linux/include/rpc/auth.h: Ditto.
8194
        * libc/sys/linux/include/rpc/auth_des.h: Ditto.
8195
        * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
8196
        * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
8197
        * libc/sys/linux/include/rpc/clnt.h: Ditto.
8198
        * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
8199
        * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
8200
        * libc/sys/linux/include/rpc/des.h: Ditto.
8201
        * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
8202
        * libc/sys/linux/include/rpc/nettype.h: Ditto.
8203
        * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
8204
        * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
8205
        * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
8206
        * libc/sys/linux/include/rpc/raw.h: Ditto.
8207
        * libc/sys/linux/include/rpc/rpc.h: Ditto.
8208
        * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
8209
        * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
8210
        * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
8211
        * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
8212
        * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
8213
        * libc/sys/linux/include/rpc/rpcent.h: Ditto.
8214
        * libc/sys/linux/include/rpc/svc.h: Ditto.
8215
        * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
8216
        * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
8217
        * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
8218
        * libc/sys/linux/include/rpc/types.h: Ditto.
8219
        * libc/sys/linux/include/rpc/xdr.h: Ditto.
8220
        * libc/sys/linux/intl/Makefile.am: Ditto.
8221
        * libc/sys/linux/intl/Makefile.in: Ditto.
8222
        * libc/sys/linux/intl/bindtextdom.c: Ditto.
8223
        * libc/sys/linux/intl/catgets.c: Ditto.
8224
        * libc/sys/linux/intl/catgetsinfo.h: Ditto.
8225
        * libc/sys/linux/intl/config.h: Ditto.
8226
        * libc/sys/linux/intl/dcgettext.c: Ditto.
8227
        * libc/sys/linux/intl/dcigettext.c: Ditto.
8228
        * libc/sys/linux/intl/dcngettext.c: Ditto.
8229
        * libc/sys/linux/intl/dgettext.c: Ditto.
8230
        * libc/sys/linux/intl/dngettext.c: Ditto.
8231
        * libc/sys/linux/intl/explodename.c: Ditto.
8232
        * libc/sys/linux/intl/finddomain.c: Ditto.
8233
        * libc/sys/linux/intl/gettext.c: Ditto.
8234
        * libc/sys/linux/intl/gettext.h: Ditto.
8235
        * libc/sys/linux/intl/gettextP.h: Ditto.
8236
        * libc/sys/linux/intl/hash-string.h: Ditto.
8237
        * libc/sys/linux/intl/l10nflist.c: Ditto.
8238
        * libc/sys/linux/intl/loadinfo.h: Ditto.
8239
        * libc/sys/linux/intl/loadmsgcat.c: Ditto.
8240
        * libc/sys/linux/intl/locale.alias: Ditto.
8241
        * libc/sys/linux/intl/localealias.c: Ditto.
8242
        * libc/sys/linux/intl/ngettext.c: Ditto.
8243
        * libc/sys/linux/intl/open_catalog.c: Ditto.
8244
        * libc/sys/linux/intl/plural.c: Ditto.
8245
        * libc/sys/linux/intl/plural.y: Ditto.
8246
        * libc/sys/linux/intl/stpcpy.c: Ditto.
8247
        * libc/sys/linux/intl/textdomain.c: Ditto.
8248
        * libc/sys/linux/linuxthreads/LICENSE: Ditto.
8249
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
8250
        * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
8251
        * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
8252
        * libc/sys/linux/linuxthreads/attr.c: Ditto.
8253
        * libc/sys/linux/linuxthreads/barrier.c: Ditto.
8254
        * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
8255
        * libc/sys/linux/linuxthreads/cancel.c: Ditto.
8256
        * libc/sys/linux/linuxthreads/condvar.c: Ditto.
8257
        * libc/sys/linux/linuxthreads/config.h: Ditto.
8258
        * libc/sys/linux/linuxthreads/configure: Ditto.
8259
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
8260
        * libc/sys/linux/linuxthreads/defs.awk: Ditto.
8261
        * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
8262
        * libc/sys/linux/linuxthreads/events.c: Ditto.
8263
        * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
8264
        * libc/sys/linux/linuxthreads/getreent.c: Ditto.
8265
        * libc/sys/linux/linuxthreads/internals.h: Ditto.
8266
        * libc/sys/linux/linuxthreads/join.c: Ditto.
8267
        * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
8268
        * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
8269
        * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
8270
        * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
8271
        * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
8272
        * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
8273
        * libc/sys/linux/linuxthreads/manager.c: Ditto.
8274
        * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
8275
        * libc/sys/linux/linuxthreads/mutex.c: Ditto.
8276
        * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
8277
        * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
8278
        * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
8279
        * libc/sys/linux/linuxthreads/prio.c: Ditto.
8280
        * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
8281
        * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
8282
        * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
8283
        * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
8284
        * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
8285
        * libc/sys/linux/linuxthreads/pthread.c: Ditto.
8286
        * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
8287
        * libc/sys/linux/linuxthreads/queue.h: Ditto.
8288
        * libc/sys/linux/linuxthreads/reent.c: Ditto.
8289
        * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
8290
        * libc/sys/linux/linuxthreads/restart.h: Ditto.
8291
        * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
8292
        * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
8293
        * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
8294
        * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
8295
        * libc/sys/linux/linuxthreads/signals.c: Ditto.
8296
        * libc/sys/linux/linuxthreads/specific.c: Ditto.
8297
        * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
8298
        * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
8299
        * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
8300
        * libc/sys/linux/linuxthreads/td_init.c: Ditto.
8301
        * libc/sys/linux/linuxthreads/td_log.c: Ditto.
8302
        * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
8303
        * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
8304
        * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
8305
        * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
8306
        * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
8307
        * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
8308
        * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
8309
        * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
8310
        * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
8311
        * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
8312
        * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
8313
        * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
8314
        * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
8315
        * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
8316
        * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
8317
        * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
8318
        * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
8319
        * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
8320
        * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
8321
        * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
8322
        * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
8323
        * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
8324
        * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
8325
        * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
8326
        * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
8327
        * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
8328
        * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
8329
        * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
8330
        * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
8331
        * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
8332
        * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
8333
        * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
8334
        * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
8335
        * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
8336
        * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
8337
        * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
8338
        * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
8339
        * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
8340
        * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
8341
        * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
8342
        * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
8343
        * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
8344
        * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
8345
        * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
8346
        * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
8347
        * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
8348
        * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
8349
        * libc/sys/linux/linuxthreads/tststack.c: Ditto.
8350
        * libc/sys/linux/linuxthreads/unload.c: Ditto.
8351
        * libc/sys/linux/linuxthreads/weaks.c: Ditto.
8352
        * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
8353
        * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
8354
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
8355
        * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
8356
        * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
8357
        * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
8358
        * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
8359
        * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
8360
        * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
8361
        * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
8362
        * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
8363
        * libc/sys/linux/linuxthreads/machine/configure: Ditto.
8364
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
8365
        * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
8366
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
8367
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
8368
        * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
8369
        * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
8370
        * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
8371
        * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
8372
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
8373
        * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
8374
        * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
8375
        * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
8376
        * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
8377
        * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
8378
        * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
8379
        * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
8380
        * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
8381
        * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
8382
        * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
8383
        * libc/sys/linux/net/Makefile.am: Ditto.
8384
        * libc/sys/linux/net/Makefile.in: Ditto.
8385
        * libc/sys/linux/net/addr2ascii.3: Ditto.
8386
        * libc/sys/linux/net/addr2ascii.c: Ditto.
8387
        * libc/sys/linux/net/ascii2addr.c: Ditto.
8388
        * libc/sys/linux/net/base64.c: Ditto.
8389
        * libc/sys/linux/net/bindresvport.c: Ditto.
8390
        * libc/sys/linux/net/byteorder.3: Ditto.
8391
        * libc/sys/linux/net/ether_addr.c: Ditto.
8392
        * libc/sys/linux/net/ethers.3: Ditto.
8393
        * libc/sys/linux/net/getaddrinfo.3: Ditto.
8394
        * libc/sys/linux/net/getaddrinfo.c: Ditto.
8395
        * libc/sys/linux/net/gethostbydns.c: Ditto.
8396
        * libc/sys/linux/net/gethostbyht.c: Ditto.
8397
        * libc/sys/linux/net/gethostbyname.3: Ditto.
8398
        * libc/sys/linux/net/gethostbynis.c: Ditto.
8399
        * libc/sys/linux/net/gethostnamadr.c: Ditto.
8400
        * libc/sys/linux/net/getifaddrs.3: Ditto.
8401
        * libc/sys/linux/net/getifaddrs.c: Ditto.
8402
        * libc/sys/linux/net/getipnodebyname.3: Ditto.
8403
        * libc/sys/linux/net/getnameinfo.3: Ditto.
8404
        * libc/sys/linux/net/getnameinfo.c: Ditto.
8405
        * libc/sys/linux/net/getnetbydns.c: Ditto.
8406
        * libc/sys/linux/net/getnetbyht.c: Ditto.
8407
        * libc/sys/linux/net/getnetbynis.c: Ditto.
8408
        * libc/sys/linux/net/getnetent.3: Ditto.
8409
        * libc/sys/linux/net/getnetnamadr.c: Ditto.
8410
        * libc/sys/linux/net/getproto.c: Ditto.
8411
        * libc/sys/linux/net/getprotoent.3: Ditto.
8412
        * libc/sys/linux/net/getprotoent.c: Ditto.
8413
        * libc/sys/linux/net/getprotoname.c: Ditto.
8414
        * libc/sys/linux/net/getservbyname.c: Ditto.
8415
        * libc/sys/linux/net/getservbyport.c: Ditto.
8416
        * libc/sys/linux/net/getservent.3: Ditto.
8417
        * libc/sys/linux/net/getservent.c: Ditto.
8418
        * libc/sys/linux/net/herror.c: Ditto.
8419
        * libc/sys/linux/net/hesiod.3: Ditto.
8420
        * libc/sys/linux/net/hesiod.c: Ditto.
8421
        * libc/sys/linux/net/if_indextoname.3: Ditto.
8422
        * libc/sys/linux/net/ifname.c: Ditto.
8423
        * libc/sys/linux/net/inet.3: Ditto.
8424
        * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
8425
        * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
8426
        * libc/sys/linux/net/inet_addr.c: Ditto.
8427
        * libc/sys/linux/net/inet_lnaof.c: Ditto.
8428
        * libc/sys/linux/net/inet_makeaddr.c: Ditto.
8429
        * libc/sys/linux/net/inet_net.3: Ditto.
8430
        * libc/sys/linux/net/inet_net_ntop.c: Ditto.
8431
        * libc/sys/linux/net/inet_net_pton.c: Ditto.
8432
        * libc/sys/linux/net/inet_neta.c: Ditto.
8433
        * libc/sys/linux/net/inet_netof.c: Ditto.
8434
        * libc/sys/linux/net/inet_network.c: Ditto.
8435
        * libc/sys/linux/net/inet_ntoa.c: Ditto.
8436
        * libc/sys/linux/net/inet_ntop.c: Ditto.
8437
        * libc/sys/linux/net/inet_pton.c: Ditto.
8438
        * libc/sys/linux/net/innetgr-stub.c: Ditto.
8439
        * libc/sys/linux/net/ip6opt.c: Ditto.
8440
        * libc/sys/linux/net/iso_addr.3: Ditto.
8441
        * libc/sys/linux/net/iso_addr.c: Ditto.
8442
        * libc/sys/linux/net/issetugid-stub.c: Ditto.
8443
        * libc/sys/linux/net/linkaddr.3: Ditto.
8444
        * libc/sys/linux/net/linkaddr.c: Ditto.
8445
        * libc/sys/linux/net/map_v4v6.c: Ditto.
8446
        * libc/sys/linux/net/name6.c: Ditto.
8447
        * libc/sys/linux/net/namespace.h: Ditto.
8448
        * libc/sys/linux/net/ns.3: Ditto.
8449
        * libc/sys/linux/net/ns_addr.c: Ditto.
8450
        * libc/sys/linux/net/ns_name.c: Ditto.
8451
        * libc/sys/linux/net/ns_netint.c: Ditto.
8452
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
8453
        * libc/sys/linux/net/ns_parse.c: Ditto.
8454
        * libc/sys/linux/net/ns_print.c: Ditto.
8455
        * libc/sys/linux/net/ns_ttl.c: Ditto.
8456
        * libc/sys/linux/net/nsap_addr.c: Ditto.
8457
        * libc/sys/linux/net/nsdispatch.3: Ditto.
8458
        * libc/sys/linux/net/nsdispatch.c: Ditto.
8459
        * libc/sys/linux/net/nslexer.c: Ditto.
8460
        * libc/sys/linux/net/nslexer.l: Ditto.
8461
        * libc/sys/linux/net/nsparser.c: Ditto.
8462
        * libc/sys/linux/net/nsparser.h: Ditto.
8463
        * libc/sys/linux/net/nsparser.y: Ditto.
8464
        * libc/sys/linux/net/rcmd.3: Ditto.
8465
        * libc/sys/linux/net/rcmd.c: Ditto.
8466
        * libc/sys/linux/net/rcmdsh.3: Ditto.
8467
        * libc/sys/linux/net/rcmdsh.c: Ditto.
8468
        * libc/sys/linux/net/recv.c: Ditto.
8469
        * libc/sys/linux/net/res_comp.c: Ditto.
8470
        * libc/sys/linux/net/res_config.h: Ditto.
8471
        * libc/sys/linux/net/res_data.c: Ditto.
8472
        * libc/sys/linux/net/res_debug.c: Ditto.
8473
        * libc/sys/linux/net/res_init.c: Ditto.
8474
        * libc/sys/linux/net/res_mkquery.c: Ditto.
8475
        * libc/sys/linux/net/res_mkupdate.c: Ditto.
8476
        * libc/sys/linux/net/res_query.c: Ditto.
8477
        * libc/sys/linux/net/res_send.c: Ditto.
8478
        * libc/sys/linux/net/res_update.c: Ditto.
8479
        * libc/sys/linux/net/resolver.3: Ditto.
8480
        * libc/sys/linux/net/rthdr.c: Ditto.
8481
        * libc/sys/linux/net/send.c: Ditto.
8482
        * libc/sys/linux/net/un-namespace.h: Ditto.
8483
        * libc/sys/linux/net/vars.c: Ditto.
8484
        * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
8485
        * libc/sys/linux/stdlib/Makefile.am: Ditto.
8486
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
8487
        * libc/sys/linux/stdlib/cclass.h: Ditto.
8488
        * libc/sys/linux/stdlib/cname.h: Ditto.
8489
        * libc/sys/linux/stdlib/collate.c: Ditto.
8490
        * libc/sys/linux/stdlib/collate.h: Ditto.
8491
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
8492
        * libc/sys/linux/stdlib/engine.c: Ditto.
8493
        * libc/sys/linux/stdlib/fnmatch.3: Ditto.
8494
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
8495
        * libc/sys/linux/stdlib/glob.3: Ditto.
8496
        * libc/sys/linux/stdlib/glob.c: Ditto.
8497
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
8498
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
8499
        * libc/sys/linux/stdlib/regerror.c: Ditto.
8500
        * libc/sys/linux/stdlib/regex.3: Ditto.
8501
        * libc/sys/linux/stdlib/regex2.h: Ditto.
8502
        * libc/sys/linux/stdlib/regexec.c: Ditto.
8503
        * libc/sys/linux/stdlib/regfree.c: Ditto.
8504
        * libc/sys/linux/stdlib/utils.h: Ditto.
8505
        * libc/sys/linux/stdlib/wordexp.c: Ditto.
8506
        * libc/sys/linux/stdlib/wordfree.c: Ditto.
8507
        * libc/sys/linux/sys/dlfcn.h: Ditto.
8508
        * libc/sys/linux/sys/elfclass.h: Ditto.
8509
        * libc/sys/linux/sys/event.h: Ditto.
8510
        * libc/sys/linux/sys/ioccom.h: Ditto.
8511
        * libc/sys/linux/sys/libc-tsd.h: Ditto.
8512
        * libc/sys/linux/sys/link.h: Ditto.
8513
        * libc/sys/linux/sys/lock.h: Ditto.
8514
        * libc/sys/linux/sys/param.h: Ditto.
8515
        * libc/sys/linux/sys/socket.h: Ditto.
8516
        * libc/sys/linux/sys/sockio.h: Ditto.
8517
 
8518
2003-05-28  Dhananjay Deshpande  
8519
 
8520
        * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
8521
        normal mode
8522
        * newlib/libc/machine/h8300/memset.S: Likewise
8523
        * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
8524
        * newlib/lib/machine/h8300/reg_memset.S: Likewise
8525
        * newlib/lib/machine/h8300/setjmp.S: Likewise
8526
        * newlib/lib/machine/h8300/strcmp.S: Likewise
8527
        * newlib/lib/sys/h8300hms/crt0.S: Likewise
8528
 
8529
2003-05-13  Corinna Vinschen  
8530
 
8531
        * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
8532
        * libc/include/stdio.h: Ditto.
8533
        * libc/include/sys/config.h: Ditto.
8534
        * libc/stdio/mktemp.c: Ditto.
8535
 
8536
2003-05-13  Corinna Vinschen  
8537
 
8538
        * libc/locale/ldpart.c (__part_load_locale): Substitute
8539
        __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
8540
        * libc/search/hash.c (__hash_open): Ditto.
8541
        (init_hash): Ditto.
8542
        * libc/stdio/fseek.c (fseek): Ditto.
8543
        * libc/stdio/makebuf.c (__smakebuf): Ditto.
8544
        * libc/stdio/mktemp.c (_gettemp): Ditto.
8545
 
8546
2003-05-12  Corinna Vinschen  
8547
 
8548
        * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
8549
 
8550
2003-05-12  Corinna Vinschen  
8551
 
8552
        * configure.host: Accomodate removing the libc/sys/cygwin dir.
8553
        * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
8554
        if __CYGWIN_USE_BIG_TYPES__ is set.
8555
        * libc/search/hash.c (__hash_open): Ditto.
8556
        (init_hash): Ditto.
8557
        * libc/stdio/fseek.c (fseek): Ditto.
8558
        * libc/stdio/makebuf.c (__smakebuf): Ditto.
8559
        * libc/stdio/mktemp.c (_gettemp): Ditto.
8560
        * libc/sys/cygwin/Makefile.am: Remove.
8561
        * libc/sys/cygwin/Makefile.in: Remove.
8562
        * libc/sys/cygwin/aclocal.m4: Remove.
8563
        * libc/sys/cygwin/configure: Remove.
8564
        * libc/sys/cygwin/configure.in: Remove.
8565
        * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
8566
        * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
8567
        directory.
8568
        * libc/sys/cygwin/sys/param.h: Ditto.
8569
        * libc/sys/cygwin/sys/utime.h: Ditto.
8570
        * libc/sys/cygwin/sys/utmp.h: Ditto.
8571
 
8572
2003-05-11  Corinna Vinschen  
8573
 
8574
        * libc/include/sys/types.h: Don't define key_t for Cygwin.
8575
 
8576
2003-05-10  Christopher Faylor  
8577
 
8578
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
8579
        64 bit inodes.
8580
 
8581
2003-05-09  Corinna Vinschen  
8582
 
8583
        * libc/include/sys/config.h: Remove all Cygwin specific configuration.
8584
        Include cygwin/config.h instead.
8585
 
8586
2003-04-16  Jeff Johnston  
8587
 
8588
        * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
8589
        all code with #ifdef __SPE__ test.
8590
        * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
8591
 
8592
2003-04-15  Chris January 
8593
 
8594
        * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
8595
        Cygwin.
8596
 
8597
2003-04-09  J"orn Rennecke 
8598
 
8599
        * libc/machine/sh/memset.S: Avoid clobbering volatile
8600
        objects following a tiny to-be-set array in the same quadword.
8601
 
8602
2001-04-09  Corinna Vinschen  
8603
 
8604
        * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
8605
        * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
8606
        * libc/string/Makefile.in: Regenerated.
8607
        * libc/string/wcswidth.c: New file.
8608
        * libc/string/wcwidth.c: New file.
8609
        * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
8610
 
8611
Thu Apr  3 14:01:16 2003  J"orn Rennecke 
8612
 
8613
        * libc/machine/sh/memset.S: Fix problem with alloco region
8614
        exceeding destination region for length >= 88 bytes, start
8615
        & 0x16 == 0, end & 0x1f == 18.
8616
 
8617
2001-04-03  Corinna Vinschen  
8618
 
8619
        * libc/string/wcscoll.c: Fix comment.
8620
 
8621
2001-04-02  Corinna Vinschen  
8622
 
8623
        * libc/include/wchar.h: Add definition for wcscoll.
8624
        * libc/string/Makefile.am: Add wcscoll.c.
8625
        * libc/string/Makefile.in: Regenerated.
8626
        * libc/string/wcscoll.c: New file.
8627
        * libc/string/wcstrings.tex: Add wcscoll.
8628
 
8629
2003-04-01  Corinna Vinschen  
8630
 
8631
        * libc/stdio/sscanf.c: Update flags description.
8632
        * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
8633
        type.
8634
        (__svfscanf_r): Add 'hh' and 'll' handling.
8635
 
8636
2003-04-01  Corinna Vinschen  
8637
 
8638
        * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
8639
        __d_position member to _off_t.
8640
 
8641
2003-03-20  Jeff Johnston  
8642
 
8643
        * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
8644
        count all characters used to create number against maximum width.
8645
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
8646
 
8647
2003-03-18  D.Venkatasubramanian  
8648
 
8649
        * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
8650
        support.
8651
        * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
8652
        flag to support simulator only extensions.
8653
 
8654
2003-03-17  Bob Cassels  
8655
 
8656
        * libc/string/wcschr.c: (wcschr): Look for character first,
8657
        then for end of string, so you can do wcschr(x, '\0').
8658
 
8659
2003-03-10  Corinna Vinschen  
8660
 
8661
        * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
8662
        with internal (_fpos_t and _off_t) datatypes when compiling newlib.
8663
        * libc/include/sys/unistd.h: Declare _lseek using _off_t.
8664
        * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
8665
        * libc/stdio/fseeko.c (fseeko): Ditto.
8666
        * libc/stdio/ftello.c (ftello): Ditto.
8667
        * libc/stdio/stdio.c (__swrite): Ditto.
8668
        (__sseek): Ditto.
8669
        * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
8670
        * libc/stdio/fseek.c (fseek): Ditto.
8671
        * libc/stdio/fsetpos.c (fsetpos): Ditto.
8672
        * libc/stdio/ftell.c (ftell): Ditto.
8673
        * libc/stdio/local.h: Declare __sseek using _off_t.
8674
 
8675
2003-03-09  Corinna Vinschen  
8676
 
8677
        * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
8678
 
8679
2003-03-09  Corinna Vinschen  
8680
 
8681
        * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
8682
        Cygwin.
8683
 
8684
2003-03-09  Corinna Vinschen  
8685
 
8686
        * libc/include/pwd.h: Add guards to avoid type clashes when compiling
8687
        Cygwin.
8688
        * libc/include/sys/stat.h: Ditto.
8689
        * libc/include/sys/unistd.h: Ditto.
8690
        * libc/sys/cygwin/sys/dirent.h: Ditto.
8691
 
8692
2003-03-07  Christopher Faylor  
8693
 
8694
        * libc/include/sys/unistd.h: Guard getopt.h call to force only
8695
        declaration of getopt and avoid getopt_long declaration.
8696
        * libc/sys/cygwin/include/unistd.h: Remove.
8697
 
8698
2003-03-07  Corinna Vinschen  
8699
 
8700
        * configure.host: Define stdio64_dir for Cygwin.
8701
        * libc/include/stdio.h: Change definition of fpos_t to fulfill
8702
        Cygwin 64bit file access requirements.
8703
        Drop definition of f*64() functions when compiled for Cygwin.
8704
        * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
8705
        * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
8706
        * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
8707
 
8708
2003-03-07   Jeff Johnston  
8709
 
8710
        * libc/include/sys/reent.h: Remove extraneous _sig_func
8711
        declaration.
8712
 
8713
2003-02-25   D.Venkatasubramanian 
8714
 
8715
        * libc/sys/h8300hms/Makefile.am: Add support for new files.
8716
        * libc/sys/h8300hms/Makefile.in: Regenerated.
8717
        * libc/sys/h8300hms/close.S: New file.
8718
        * libc/sys/h8300hms/fstat.S: Ditto.
8719
        * libc/sys/h8300hms/lseek.S: Ditto.
8720
        * libc/sys/h8300hms/open.S: Ditto.
8721
        * libc/sys/h8300hms/stat.S: Ditto.
8722
        * libc/sys/h8300hms/read.S: New file to replace read.c.
8723
        * libc/sys/h8300hms/read.c: Removed.
8724
        * libc/sys/h8300hms/syscalls.c: Removed functions _open,
8725
        _lseek, _close, _stat, _fstat.
8726
        * libc/sys/h8300hms/write.S: New file to replace write.c.
8727
        * libc/sys/h8300hms/write.c: Removed.
8728
 
8729
2003-02-20  Nick Clifton  
8730
 
8731
        * Add support for Cirrus Maverick ARM co-processor:
8732
 
8733
        2000-09-13  Aldy Hernandez  
8734
 
8735
                * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
8736
                IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
8737
 
8738
        2000-08-11  Aldy Hernandez  
8739
 
8740
                * configure.host: set sys_dir, syscall_dir, and
8741
                newlib_cflags for ep9312 host.
8742
 
8743
        * configure.host: Restore alpha sorting of entries in case
8744
        statements.
8745
 
8746
2003-02-19  Jeff Johnston  
8747
 
8748
        * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
8749
 
8750
2003-02-18  Christian Groessler  
8751
 
8752
        * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
8753
        support z8001 segmented mode.
8754
 
8755
2003-02-18  Earnie Boyd  
8756
 
8757
        * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
8758
        with a NULL value.
8759
 
8760
2003-02-10  Christopher Faylor  
8761
 
8762
        * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
8763
        Don't define some types under cygwin.
8764
 
8765
2003-02-07  Jeff Johnston  
8766
 
8767
        * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
8768
        option to allow disabling of syscalls being supplied in newlib.
8769
        * aclocal.m4: Regenerated.
8770
        * configure: Ditto.
8771
        * configure.host: Add support of new configuration option and add
8772
        -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
8773
        * doc/aclocal.m4: Regenerated.
8774
        * doc/configure: Ditto.
8775
        * libc/*aclocal.m4: Ditto.
8776
        * libc/*configure: Ditto.
8777
        * libm/*aclocal.m4: Ditto.
8778
        * libm/*configure: Ditto.
8779
        * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
8780
        is disabled.
8781
        * libc/sys/arm/Makefile.in: Regenerated.
8782
 
8783
2003-02-05  Jonathan Larmour  
8784
 
8785
        * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
8786
        -1 to be sure it cannot later match a valid file fd causing
8787
        isatty() to return 1.
8788
        * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
8789
        * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
8790
        * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
8791
 
8792
2003-02-03  Jeff Johnston  
8793
 
8794
        * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
8795
        buffer based on the precision, after we have processed the input value
8796
        in a local buffer and know its relative magnitude.
8797
 
8798
2003-01-31  Michael Snyder  
8799
 
8800
        * libc/sys/h8300hms/_exit.c (_exit, __exit):  Slip a magic cookie
8801
        into registers r1 and r2, so that the simulator can distinguish
8802
        this trap from a breakpoint trap.  Copied from libgloss.
8803
 
8804
2003-01-31  Michael Snyder  
8805
 
8806
        * libc/sys/h8300hms/crt0.S (_start): Change local label
8807
        from .loop to .Loop, so that ld and gdb will ignore it.
8808
 
8809
2003-01-29  Jason Tishler  
8810
 
8811
        * libc/include/time.h: Declare nanosleep() under Cygwin.
8812
 
8813
2003-01-24  Nick Clifton  
8814
 
8815
        * Add sh2e support:
8816
 
8817
        2002-04-02  Alexandre Oliva  
8818
 
8819
                * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
8820
                * libc/machine/sh/setjmp.S: Likewise.
8821
                * libc/include/machine/ieeefp.h: Likewise.
8822
 
8823
2003-01-24  Corinna Vinschen  
8824
 
8825
        * libc/include/sys/unistd.h: Add setregid and setreuid declarations
8826
        for Cygwin.
8827
 
8828
2003-01-21 Anita Kulkarni  
8829
 
8830
        * libc/time/difftime.c : Typecast the result to double.
8831
 
8832
2003-01-20  Christopher Faylor  
8833
 
8834
        * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
8835
 
8836
2003-01-18  Nick Clifton  
8837
 
8838
        * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
8839
        __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
8840
 
8841
2003-01-16  Joel Sherrill 
8842
 
8843
        * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
8844
        libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
8845
        constants are defined in each file in the shared versions in
8846
        libc/include.
8847
        * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
8848
        autoconf can link programs.
8849
        * libc/include/machine/types.h: Explicitly specify signed on
8850
        intXX_t types to ensure they are signed.
8851
 
8852
2003-01-14  Christopher Faylor  
8853
 
8854
        * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
8855
        extensions.
8856
 
8857
2003-01-08  Richard Sandiford  
8858
 
8859
        * configure.host (mips64vr-elf, mips64vrel-elf): New config.
8860
 
8861
2003-01-07  Charles Wilson  
8862
 
8863
        * libc/stdio/sprintf.c: fix typo
8864
        * libc/stdio/vfprintf.c: fix typo
8865
 
8866
2003-01-07  Jeff Johnston  
8867
 
8868
        * configure.host: Support long double I/O for x86-linux.
8869
        * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
8870
        large enough to hold formatted result.
8871
        * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
8872
 
8873
2003-01-06  Charles Wilson  
8874
 
8875
        * Makefile.am: Add vasprintf.
8876
        * Makefile.in: Regenerated.
8877
 
8878
2003-01-06  Charles Wilson  
8879
 
8880
        * asprintf.c (_asprintf_r): insure both declarations
8881
        are the same.
8882
 
8883
2002-12-28  Christopher Faylor  
8884
 
8885
        * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
8886
        than defining getopt directly.
8887
 
8888
2002-12-20  Jeff Johnston  
8889
 
8890
        * NEWS: Update with 1.11.0 info.
8891
        * README: Ditto.
8892
        * acinclude.m4: Change version number to 1.11.0.
8893
        * aclocal.m4: Regenerated.
8894
        * configure: Ditto.
8895
        * doc/aclocal.m4: Ditto.
8896
        * doc/configure: Ditto.
8897
        * libc/*/aclocal.m4: Ditto.
8898
        * libc/*/configure: Ditto.
8899
        * libc/libc.texinfo: Ditto.
8900
        * libm/*/aclocal.m4: Ditto.
8901
        * libm/*/configure: Ditto.
8902
        * libm/libm.texinfo: Ditto.
8903
        * libc/sys/linux/shared.ld: Add VERS_1.11.
8904
 
8905
2002-12-20  Jeff Johnston  
8906
 
8907
        * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
8908
        Solutions to Red Hat Inc.
8909
        * libc/machine/i386/f_atan2f.S: Ditto.
8910
        * libc/machine/i386/f_exp.c: Ditto.
8911
        * libc/machine/i386/f_expf.c: Ditto.
8912
        * libc/machine/i386/f_frexp.S: Ditto.
8913
        * libc/machine/i386/f_frexpf.S: Ditto.
8914
        * libc/machine/i386/f_ldexp.S: Ditto.
8915
        * libc/machine/i386/f_ldexpf.S: Ditto.
8916
        * libc/machine/i386/f_log.S: Ditto.
8917
        * libc/machine/i386/f_log10.S: Ditto.
8918
        * libc/machine/i386/f_log10f.S: Ditto.
8919
        * libc/machine/i386/f_logf.S: Ditto.
8920
        * libc/machine/i386/f_pow.c: Ditto.
8921
        * libc/machine/i386/f_powf.c: Ditto.
8922
        * libc/machine/i386/f_tan.S: Ditto.
8923
        * libc/machine/i386/f_tanf.S: Ditto.
8924
        * libc/machine/i386/memchr.S: Ditto.
8925
        * libc/machine/i386/memcmp.S: Ditto.
8926
        * libc/machine/i386/memcpy.S: Ditto.
8927
        * libc/machine/i386/memmove.S: Ditto.
8928
        * libc/machine/i386/memset.S: Ditto.
8929
        * libc/machine/i386/strchr.S: Ditto.
8930
        * libc/machine/i386/strlen.S: Ditto.
8931
        * libm/machine/i386/f_atan2.S: Ditto.
8932
        * libm/machine/i386/f_atan2f.S: Ditto.
8933
        * libm/machine/i386/f_exp.c: Ditto.
8934
        * libm/machine/i386/f_expf.c: Ditto.
8935
        * libm/machine/i386/f_frexp.S: Ditto.
8936
        * libm/machine/i386/f_frexpf.S: Ditto.
8937
        * libm/machine/i386/f_ldexp.S: Ditto.
8938
        * libm/machine/i386/f_ldexpf.S: Ditto.
8939
        * libm/machine/i386/f_log.S: Ditto.
8940
        * libm/machine/i386/f_log10.S: Ditto.
8941
        * libm/machine/i386/f_log10f.S: Ditto.
8942
        * libm/machine/i386/f_logf.S: Ditto.
8943
        * libm/machine/i386/f_pow.c: Ditto.
8944
        * libm/machine/i386/f_powf.c: Ditto.
8945
        * libm/machine/i386/f_tan.S: Ditto.
8946
        * libm/machine/i386/f_tanf.S: Ditto.
8947
 
8948
2002-12-20  Jeff Johnston  
8949
 
8950
        * libc/stdlib/environ.c: Update license to Red Hat.
8951
        * libc/machine/hppa/setjmp.S: Ditto.
8952
        * libm/test/Makefile.in: Ditto.
8953
 
8954
2002-12-19  Jeff Johnston  
8955
 
8956
        * configure.host: Remove references to go32.
8957
        * libc/sys/go32/*: Removed.
8958
 
8959
2002-12-16  Kazu Hirata  
8960
 
8961
        * libc/include/sys/config.h: Change setting of INT_MAX
8962
        and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
8963
        __H8300S__.  Also consolidate flag settings for these
8964
        platforms.
8965
 
8966
2002-12-10  Joel Sherrill  
8967
 
8968
        * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
8969
        for i386-rtems targets.
8970
 
8971
2002-12-06  Jeff Johnston  
8972
 
8973
        * libc/include/stdlib.h (strtof): New prototype (from C99).
8974
        (strtodf): Changed from prototype to macro which redefines
8975
        to strtof.
8976
        * libc/stdlib/atof.c: Change documentation to refer to strtof
8977
        instead of strtodf.
8978
        * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
8979
        strtodf.
8980
        * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
8981
        (strtof): New function.
8982
        * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
8983
        calls strtof.
8984
 
8985
2002-11-27  Christopher Faylor  
8986
 
8987
        * libc/string/memset.c (memset): Fix comment.
8988
 
8989
2002-11-26  Christopher Faylor  
8990
 
8991
        * libc/string/memset.c (memset): Move initialization of 'd' earlier in
8992
        function.
8993
 
8994
2002-11-25  Christopher Faylor  
8995
 
8996
        * libc/string/memset.c (memset): Minor optimization: Use new 'd'
8997
        variable, introduced below, everywhere.
8998
 
8999
2002-11-25  Kazu Hirata  
9000
 
9001
        * libc/string/memset.c (memset): Make it safe even if
9002
        sizeof (int) = 2.
9003
 
9004
2002-11-22  Joe Buehler  
9005
 
9006
        * configure.in: Change check for libc/include in ${CC} to
9007
        use an intermediate value so as to work with different shells.
9008
        * configure: Regenerated.
9009
        * Makefile.in: Ditto.
9010
 
9011
2002-11-22  Vijay L. Khuspe  
9012
 
9013
        * libc/sys/h8300hms/read.c: Add support for normal mode
9014
        architecture.
9015
 
9016
2002-11-20  Ryo Tsuruta  
9017
 
9018
        * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
9019
        code for __H8300H__ and __H8300S__.  Also return 32-bit return code
9020
        when -mint32 is used.
9021
 
9022
2002-11-18  Nick Clifton  
9023
 
9024
        * libc/sys/arm/crt0.S: Add NULL to end of argv array.
9025
 
9026
2002-11-14  Jeff Johnston  
9027
 
9028
        * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
9029
        only issue one pass/fail message for a compile/link/execute.
9030
        * testsuite/newlib.elix/elix.exp: New file.
9031
        * testsuite/newlib.elix/tmmap.c: Ditto.
9032
 
9033
2002-11-06  Christopher Faylor  
9034
 
9035
        * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
9036
        * libc/stdlib/mlock.c: Ditto.
9037
        * libc/stdlib/msize.c: Ditto.
9038
        * libc/stdlib/msize.c: Ditto.
9039
        * libc/stdlib/mtrim.c: Ditto.
9040
        * libc/stdlib/valloc.c: Ditto.
9041
 
9042
2002-11-12  Jeff Johnston  
9043
 
9044
        * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
9045
        for inf/nan, make sure that the check ignores the sign bit.
9046
 
9047
2002-11-07  Joel Sherrill 
9048
 
9049
        * libc/sys/rtems/machine: New directory.
9050
        * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
9051
        libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
9052
        libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
9053
        targets more BSD like when installed without requiring files to
9054
        be overwritten at install point when RTEMS itself is installed.
9055
        * Makefile.am: Pick up system dependent machine .h files such as
9056
        might be found on a BSD-ish system.
9057
        * Makefile.in: Regenerate.
9058
        * libc/include/machine/types.h: When on an RTEMS target, define a
9059
        few BSD flavor types.
9060
 
9061
2002-11-06  Sergey Okhapkin  
9062
 
9063
        * include/utmp.h: Define WTMP_FILE.  Define and use UT_IDLEN.
9064
 
9065
2002-11-06  Kazuhiro Fujieda  
9066
 
9067
        * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
9068
        * libc/include/wctype.h: Ditto.
9069
 
9070
2002-11-04  Jeff Johnston  
9071
 
9072
        * libc/include/wchar.h: Add extern "C" specifier if C++.
9073
        * libc/include/wctype.h: Ditto.
9074
 
9075
2002-10-18  Jeff Johnston  
9076
 
9077
        * testsuite/newlib.wctype/tiswctype.c: New test case.
9078
        * testsuite/newlib.wctype/twctrans.c: Ditto.
9079
 
9080
2002-10-18  Jeff Johnston  
9081
 
9082
        * libc/sys/linux/machine/i386/include/endian.h: New file.
9083
        * libc/sys/linux/machine/i386/include/param.h: Ditto.
9084
 
9085
2002-10-18  Jeff Johnston  
9086
 
9087
        * libm/machine/i386/aclocal.m4: Regenerated.
9088
        * libm/machine/i386/configure: Ditto.
9089
 
9090
2002-10-18  Jeff Johnston  
9091
 
9092
        * testsuite/include/check.h: New header file to use with
9093
        test cases.
9094
        * testsuite/lib/newlib.exp: Add testsuite/include directory
9095
        to list of header files to use.
9096
        * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
9097
        * testsuite/newlib.wctype/wctype.exp: New file.
9098
 
9099
2002-10-11  Graham Stott  
9100
            Richard Sandiford  
9101
 
9102
        * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
9103
        * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
9104
        doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
9105
 
9106
2002-10-07      Joel Sherrill 
9107
 
9108
        * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
9109
        dummy programs.
9110
 
9111
2002-10-07      Joel Sherrill 
9112
 
9113
        * libc/include/pthread.h: Define PTHREAD_CANCELED.
9114
 
9115
2002-10-07      Joel Sherrill 
9116
 
9117
        * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
9118
        libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
9119
        compile with current GNU tools.
9120
 
9121
2002-10-07  Jeff Johnston  
9122
 
9123
        * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
9124
        the build library.
9125
        * configure.in: Ditto.
9126
        * Makefile.in: Regenerated.
9127
        * configure: Ditto.
9128
        * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
9129
        for specifying configured libraries/directories.
9130
        * libc/sys/linux/configure.in: Ditto.
9131
        * libc/sys/linux/Makefile.in: Regenerated.
9132
        * libc/sys/linux/configure: Ditto.
9133
 
9134
2002-10-03  Jeff Johnston  
9135
 
9136
        * libc/include/reent.h: Update documentation at start of file.
9137
 
9138
2002-09-27  Jim Wilson  
9139
 
9140
        * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
9141
        the ctbp register.
9142
 
9143
2002-09-27  Jeff Johnston  
9144
 
9145
        * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
9146
        Also convert to EUCJP before using arrays.  For values not in
9147
        the conversion arrays, return WEOF.
9148
        * libc/ctype/jp2uc.h: Change from one array to a number of
9149
        arrays to account for the fact that the originating table
9150
        is not contiguous for the input values since some are invalid.
9151
 
9152
2002-09-24  Jeff Johnston  
9153
 
9154
        * libc/time/ctime.c: Fix prototype documentation.
9155
 
9156
2002-09-24  Corinna Vinschen  
9157
 
9158
        * libc/include/sys/errno.h: Add EOVERFLOW.
9159
 
9160
2002-09-20  Jeff Johnston  
9161
 
9162
        * libc/include/wctype.h: New file.
9163
 
9164
2002-09-20  Jeff Johnston  
9165
 
9166
        * libc/ctype/Makefile.am: Add new files.
9167
        * libc/ctype/Makefile.in: Regenerated.
9168
        * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
9169
        and wctrans functions to documentation index.
9170
        * libc/ctype/iswalnum.c: New file.
9171
        * libc/ctype/iswalpha.c: Ditto.
9172
        * libc/ctype/iswblank.c: Ditto.
9173
        * libc/ctype/iswcntrl.c: Ditto.
9174
        * libc/ctype/iswctype.c: Ditto.
9175
        * libc/ctype/iswdigit.c: Ditto.
9176
        * libc/ctype/iswgraph.c: Ditto.
9177
        * libc/ctype/iswlower.c: Ditto.
9178
        * libc/ctype/iswprint.c: Ditto.
9179
        * libc/ctype/iswpunct.c: Ditto.
9180
        * libc/ctype/iswspace.c: Ditto.
9181
        * libc/ctype/iswupper.c: Ditto.
9182
        * libc/ctype/iswxdigit.c: Ditto.
9183
        * libc/ctype/jp2uc.c: Ditto.
9184
        * libc/ctype/jp2uc.h: Ditto.
9185
        * libc/ctype/local.h: Ditto.
9186
        * libc/ctype/towctrans.c: Ditto.
9187
        * libc/ctype/towlower.c: Ditto.
9188
        * libc/ctype/towupper.c: Ditto.
9189
        * libc/ctype/utf8alpha.h: Ditto.
9190
        * libc/ctype/utf8print.h: Ditto.
9191
        * libc/ctype/utf8punct.h: Ditto.
9192
        * libc/ctype/wctrans.c: Ditto.
9193
        * libc/ctype/wctype.c: Ditto.
9194
        * libc/locale/locale.c (__lc_ctype): New external array to
9195
        replace static lc_ctype array.
9196
        * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
9197
        rather than reentrancy structure's _current_locale field.
9198
        * libc/stdlib/wctomb_r.c: Ditto.
9199
 
9200
2002-09-20  Jeff Johnston  
9201
 
9202
        * configure.host: Minor comment and formatting changes.
9203
        * libc/Makefile.am: Add libc_la_DEPENDENCIES.
9204
        * libc/Makefile.in: Regenerated.
9205
        * libc/include/sys/config.h: Minor format change.
9206
 
9207
2002-09-19  Jeff Johnston  
9208
 
9209
        * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
9210
        statement comment.
9211
 
9212
2002-09-19  Jeff Johnston  
9213
 
9214
        * libc/posix/opendir.c (opendir): Change code to check
9215
        for HAVE_FCNTL before calling fcntl.
9216
        * libc/search/hash.c (hash_open): Ditto.
9217
        * libc/search/hash_page.c (open_tmp): Ditto.
9218
        * libc/reent/Makefile.am: Add fcntlr.c.
9219
        * libc/reent/Makefile.in: Regenerated.
9220
        * libc/reent/fcntlr.c: New file.
9221
        * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
9222
        instead of _fcntl when HAVE_FCNTL flag is set.
9223
        * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
9224
        to see if _fcntl or _fcntl_r should be called.  If flag is not
9225
        set, default to ENOSYS stub.
9226
 
9227
2002-09-16  Jeff Johnston  
9228
 
9229
        * libc/include/wchar.h (mbstate_t): Change protective flag to
9230
        be _MBSTATE_T.
9231
        * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
9232
        [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
9233
        for Cygwin.
9234
        * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
9235
 
9236
2002-09-11  Jeff Johnston  
9237
 
9238
        * acinclude.m4 (enable-newlib-mb): Change check to
9239
        default newlib_mb variable to empty string rather than "no".
9240
        * configure.host: Remove hard-coding of -DMB_CAPABLE for
9241
        x86-linux and Cygwin.  Add code to check for newlib_mb
9242
        being unset in which case set to "yes" for x86-linux and
9243
        Cygwin.  Change check for newlib_mb being "yes" to allow
9244
        for an empty string.
9245
        * configure.in (_MB_LEN_MAX): New AC_DEFINE.
9246
        * newlib.hin (_MB_LEN_MAX): New define to configure.
9247
        * aclocal.m4: Regenerated.
9248
        * configure: Ditto.
9249
        * libc/include/limits.h: New file.
9250
        * libc/sys/linux/include/limits.h: Ditto.
9251
        * doc/aclocal.m4 doc/configure libc/aclocal.m4
9252
          libc/configure libc/machine/aclocal.m4
9253
          libc/machine/configure libc/machine/a29k/aclocal.m4
9254
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
9255
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
9256
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
9257
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
9258
          libc/machine/fr30/configure libc/machine/frv/aclocal.m4
9259
          libc/machine/frv/configure libc/machine/h8300/aclocal.m4
9260
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
9261
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
9262
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
9263
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
9264
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
9265
          libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
9266
          libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
9267
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
9268
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
9269
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
9270
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
9271
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
9272
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
9273
          libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
9274
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
9275
          libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
9276
          libc/machine/tic80/configure libc/machine/v850/aclocal.m4
9277
          libc/machine/v850/configure libc/machine/w65/aclocal.m4
9278
          libc/machine/w65/configure libc/machine/xscale/aclocal.m4
9279
          libc/machine/xscale/configure
9280
          libc/machine/xstormy16/aclocal.m4
9281
          libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
9282
          libc/machine/z8k/configure libc/sys/aclocal.m4
9283
          libc/sys/configure libc/sys/a29khif/aclocal.m4
9284
          libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
9285
          libc/sys/arc/configure libc/sys/arm/aclocal.m4
9286
          libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
9287
          libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
9288
          libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
9289
          libc/sys/decstation/configure libc/sys/go32/aclocal.m4
9290
          libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
9291
          libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
9292
          libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
9293
          libc/sys/idt/configure libc/sys/linux/aclocal.m4
9294
          libc/sys/linux/configure
9295
          libc/sys/linux/machine/aclocal.m4
9296
          libc/sys/linux/machine/configure
9297
          libc/sys/linux/machine/i386/aclocal.m4
9298
          libc/sys/linux/machine/i386/configure
9299
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9300
          libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
9301
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9302
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9303
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
9304
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
9305
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
9306
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
9307
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
9308
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
9309
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
9310
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
9311
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
9312
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
9313
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
9314
          libm/aclocal.m4 libm/configure: Regenerated.
9315
 
9316
2002-09-09  Jeff Johnston  
9317
 
9318
        * libc/sys/linux/machine/i386/crt0.c (_start): Remove
9319
        code that clears the .bss section.
9320
 
9321
2002-09-09  Jeff Johnston  
9322
 
9323
        * libc/include/sys/_types.h (_mbstate_t): Changed to use
9324
        unsigned char internally.
9325
        * libc/sys/linux/sys/_types.h: Ditto.
9326
        * libc/include/sys/reent.h
9327
        * libc/stdlib/mblen.c (mblen): Use function-specific state
9328
        value from default reentrancy structure.
9329
        * libc/stdlib/mblen_r.c (_mblen_r):  If return code from
9330
        _mbtowc_r is less than 0, reset state __count value and
9331
        return -1.
9332
        * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
9333
        is NULL, use the function-specific pointer provided in the
9334
        default reentrancy structure.
9335
        * libc/stdlib/mbrtowc.c: Add reentrant form of function.
9336
        If input state pointer is NULL, use function-specific area
9337
        provided in reentrancy structure.
9338
        * libc/stdlib/mbsrtowcs.c: Ditto.
9339
        * libc/stdlib/wcrtomb.c: Ditto.
9340
        * libc/stdlib/wcsrtombs.c: Ditto.
9341
        * libc/stdlib/mbstowcs.c: Reformat.
9342
        * libc/stdlib/wcstombs.c: Ditto.
9343
        * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
9344
        reset the state's __count value and return -1.
9345
        * libc/stdlib/mbtowc.c: Ditto.
9346
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
9347
        If number of bytes is used up before completing a valid multibyte
9348
        character, return -2 and save the state.
9349
        * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
9350
        and change some __count references to __state for clarity.
9351
 
9352
2002-09-06  Jeff Johnston  
9353
 
9354
        * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
9355
        is defined by .
9356
 
9357
2002-09-05  Kazuhiro Fujieda  
9358
 
9359
        * libc/include/wchar.h (WCHAR_MAX): Only define if not already
9360
        defined.
9361
 
9362
2002-09-04  Kazuhiro Fujieda  
9363
 
9364
        * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
9365
        * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
9366
        __WCHAR_MAX__ or 0x7fffffffu.
9367
        * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
9368
        * libc/string/wcsncmp.c: Ditto.
9369
 
9370
2002-09-03  Jeff Johnston  
9371
 
9372
        * libc/string/wcschr.c: Add include of .
9373
        * libc/string/wcspbrk.c: Ditto.
9374
        * libc/string/wcsrchr.c: Ditto.
9375
        * libc/string/wcsstr.c: Ditto.
9376
 
9377
2002-09-03  Jeff Johnston  
9378
 
9379
        * libc/include/sys/_types.h (_flock_t): Added.
9380
        * libc/include/sys/lock.h (__lock_try_acquire): New interface.
9381
        (__lock_try_acquire_recursive): Ditto.
9382
        * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
9383
        _lock field.
9384
        * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
9385
        field.
9386
        * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
9387
        * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
9388
        * libc/sys/linux/include/time.h (struct timespec): Moved from
9389
         and added check for __need_timespec flag so type
9390
        can be defined by itself.
9391
        * libc/sys/linux/sys/_types.h (_flock_t): New type.
9392
        * libc/sys/linux/sys/types.h (struct timespec): Moved to
9393
        .
9394
 
9395
2002-08-29  Thomas Fitzsimmons  
9396
 
9397
        * libc/sys/linux/argp: New directory.
9398
        * libc/sys/linux/getopt.c: New file.
9399
        * libc/sys/linux/getopt1.c: New file.
9400
        * libc/sys/linux/getoptlong.c: Remove file.
9401
        * libc/sys/linux/include/argp.h: New file.
9402
        * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
9403
        based on ELIX level.
9404
        (SUBDIRS): Add argp_dir.
9405
        (SUBLIBS): Add ARGP_LIB.
9406
        (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
9407
        getopt_long.$(oext).
9408
        * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
9409
 
9410
2002-08-29  Jeff Johnston  
9411
 
9412
        * libc/libc.texinfo: Add node reference to wide-character strings.
9413
        * libc/string/wcstrings.tex: New file.
9414
        * libc/string/strtok_r.c: Remove outdated advertising clause.
9415
        * libc/string/Makefile.am (doc): Add wide-character string
9416
        chapter to documentation.
9417
        * libc/string/Makefile.in: Regenerated.
9418
 
9419
2002-08-29  Kazuhiro Fujieda  
9420
 
9421
        * libc/include/wchar.h: Define NULL. Define WEOF more general
9422
        way. Declare functions in newlib manner.
9423
        * libc/stdlib/Makefile.am: Delete wmem*.c
9424
        * libc/stdlib/Makefile.in: Regenerated.
9425
        * libc/stdlib/wmemchr.c: Delete.
9426
        * libc/stdlib/wmemcmp.c: Ditto.
9427
        * libc/stdlib/wmemcpy.c: Ditto.
9428
        * libc/stdlib/wmemmove.c: Ditto.
9429
        * libc/stdlib/wmemset.c: Ditto.
9430
        * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
9431
        * libc/string/Makefile.in: Regenerated.
9432
        * libc/string/wcscat.c: New file derived from the NetBSD C Library.
9433
        * libc/string/wcschr.c: Ditto.
9434
        * libc/string/wcscmp.c: Ditto.
9435
        * libc/string/wcscpy.c: Ditto.
9436
        * libc/string/wcscspn.c: Ditto.
9437
        * libc/string/wcslcat.c: Ditto.
9438
        * libc/string/wcslcpy.c: Ditto.
9439
        * libc/string/wcslen.c: Ditto.
9440
        * libc/string/wcsncat.c: Ditto.
9441
        * libc/string/wcsncmp.c: Ditto.
9442
        * libc/string/wcsncpy.c: Ditto.
9443
        * libc/string/wcspbrk.c: Ditto.
9444
        * libc/string/wcsrchr.c: Ditto.
9445
        * libc/string/wcsspn.c: Ditto.
9446
        * libc/string/wcsstr.c: Ditto.
9447
        * libc/string/wmemchr.c: Ditto.
9448
        * libc/string/wmemcmp.c: Ditto.
9449
        * libc/string/wmemcpy.c: Ditto.
9450
        * libc/string/wmemmove.c: Ditto.
9451
        * libc/string/wmemset.c: Ditto.
9452
 
9453
2002-08-29  Jeff Johnston  
9454
 
9455
        * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
9456
        default locale "" is accepted for LC_CTYPE or LC_MESSAGES
9457
        and is treated as if "C" was specified.
9458
 
9459
2002-08-28  Jeff Johnston  
9460
 
9461
        * Makefile.am (install-data-local): Move install of build
9462
        newlib.h after installing headers in libc/include so as to
9463
        overwrite default newlib.h.
9464
        * Makefile.in: Regenerated.
9465
 
9466
2002-08-28  Jeff Johnston  
9467
 
9468
        * libc/include/newlib.h: New file for tools that use newlib
9469
        headers but don't build newlib first (e.g. gcc).
9470
 
9471
2002-08-28  Jeff Johnston  
9472
 
9473
        * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
9474
        * libc/stdlib/wmemcmp.c: Ditto.
9475
        * libc/stdlib/wmemcpy.c: Ditto.
9476
        * libc/stdlib/wmemmove.c: Ditto.
9477
        * libc/stdlib/wmemset.c: Ditto.
9478
 
9479
2002-08-27  Egor Duda  
9480
 
9481
        * libc/stdlib/wmemchr.c: New file.
9482
        * libc/stdlib/wmemcmp.c: Ditto.
9483
        * libc/stdlib/wmemcpy.c: Ditto.
9484
        * libc/stdlib/wmemmove.c: Ditto.
9485
        * libc/stdlib/wmemset.c: Ditto.
9486
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
9487
        * configure.host: Default -DMB_CAPABLE for cygwin.
9488
        * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
9489
        wmemmove() and wmemset().  Add include of <_ansi.h>.
9490
        * libc/stdlib/Makefile.in: Regenerate.
9491
 
9492
2002-08-27  Jeff Johnston  
9493
 
9494
        * configure.host: Remove _ELIX_LEVEL flag setting.
9495
        * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
9496
        (install-data-local): Install newlib.h.
9497
        * Makefile.in: Regenerated.
9498
        * aclocal.m4: Ditto.
9499
        * configure: Ditto.
9500
        * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
9501
        newlib.hin.  Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
9502
        and _NEWLIB_VERSION to fill in newlib.h header file entries.
9503
        In AC_OUTPUT statement, unset ac_file so multilib support does
9504
        not use last ac_file temporary used in newlib.h configuration.
9505
        * libc/include/_ansi.h: Include .
9506
        * newlib.hin: New template file for newlib.h.
9507
        * stamp-h.in: New file.
9508
 
9509
2002-08-26  Wu Yongwei 
9510
 
9511
        * time.h (timezonevar): Change "#if" to "#ifdef".
9512
 
9513
2002-08-26  Jeff Johnston  
9514
 
9515
        * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
9516
        * Makefile.in: Regenerated.
9517
        * acinclude.m4: Add support for --enable-newlib-elix-level option.
9518
        * aclocal.m4: Regenerated.
9519
        * configure: Ditto.
9520
        * configure.host: Add code to define _ELIX_LEVEL if
9521
        --enable-newlib-elix-level option is used.
9522
        * configure.in:
9523
        * libc/aclocal.m4: Regenerated.
9524
        * libc/configure: Ditto.
9525
        * libc/argz/Makefile.am: Add EL/IX level checking.
9526
        * libc/argz/Makefile.in: Regenerated.
9527
        * libc/argz/dummy.c: New file.
9528
        * libc/ctype/Makefile.am: Add EL/IX level checking.
9529
        * libc/ctype/Makefile.in: Regenerated.
9530
        * libc/locale/Makefile.am: Add EL/IX level checking.
9531
        * libc/locale/Makefile.in: Regenerated.
9532
        * libc/posix/Makefile.am: Add EL/IX level checking.
9533
        * libc/posix/Makefile.in: Regenerated.
9534
        * libc/posix/telldir.c: Add EL/IX level checking.
9535
        * libc/reent/Makefile.am: Ditto.
9536
        * libc/reent/fstat64r.c: Ditto.
9537
        * libc/reent/lseek64r.c: Ditto.
9538
        * libc/reent/open64r.c: Ditto.
9539
        * libc/reent/Makefile.in: Regenerated.
9540
        * libc/search/Makefile.am: Add EL/IX level checking.
9541
        * libc/search/Makefile.in: Regenerated.
9542
        * libc/stdio/Makefile.am: Add EL/IX level checking.
9543
        * libc/stdio/Makefile.in: Regenerated.
9544
        * libc/stdio64/Makefile.am: Add EL/IX level checking.
9545
        * libc/stdio64/Makefile.in: Regenerated.
9546
        * libc/stdio64/dummy.c: New file.
9547
        * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
9548
        after first include.
9549
        * libc/stdio64/fopen64.c: Ditto.
9550
        * libc/stdio64/freopen64.c: Ditto.
9551
        * libc/stdio64/fseeko64.c: Ditto.
9552
        * libc/stdio64/fsetpos64.c: Ditto.
9553
        * libc/stdio64/ftello64.c: Ditto.
9554
        * libc/stdio64/tmpfile64.c: Ditto.
9555
        * libc/stdlib/Makefile.am: Add EL/IX level checking.
9556
        * libc/stdlib/Makefile.in: Regenerated.
9557
        * libc/stdlib/mstats.c: Add EL/IX level checking.
9558
        * libc/string/Makefile.am: Ditto.
9559
        * libc/string/Makefile.in: Regenerated.
9560
        * libc/sys/linux/Makefile.am: Add EL/IX level checking.
9561
        * libc/sys/linux/Makefile.in: Regenerated.
9562
        * libc/sys/linux/aclocal.m4: Ditto.
9563
        * libc/sys/linux/configure: Ditto.
9564
        * libc/sys/linux/aio.c: Add EL/IX level checking.
9565
        * libc/sys/linux/ftok.c: Ditto.
9566
        * libc/sys/linux/getdate.c: Ditto.
9567
        * libc/sys/linux/ids.c: Ditto.
9568
        * libc/sys/linux/inode.c: Ditto.
9569
        * libc/sys/linux/io.c: Ditto.
9570
        * libc/sys/linux/process.c: Ditto.
9571
        * libc/sys/linux/resource.c: Ditto.
9572
        * libc/sys/linux/sched.c: Ditto.
9573
        * libc/sys/linux/sig.c: Ditto.
9574
        * libc/sys/linux/termios.c: Ditto.
9575
        * libc/sys/linux/wait.c: Ditto plus add __waitpid and
9576
        __libc___waitpid weak aliases.
9577
        * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
9578
        that generate the code for a syscall, but do not create a
9579
        weak alias.
9580
        * libc/syscalls/Makefile.am: Add EL/IX level checking.
9581
        * libc/syscalls/Makefile.in: Regenerated.
9582
        * libc/time/tzset_r.c: Change to replace strdup with equivalent
9583
        functionality.
9584
        * libc/unix/Makefile.am: Add EL/IX level checking.
9585
        * libc/unix/Makefile.in: Regenerated.
9586
 
9587
2002-08-26  Christopher Faylor  
9588
 
9589
        * libc/include/malloc.h: On cygwin, define malloc _r functions as
9590
        wrapper macros to standard malloc functions.
9591
        * libc/include/stdlib.h: Ditto.
9592
        * configure.host: Always define MALLOC_PROVIDED on cygwin.
9593
 
9594
2002-08-22  Thomas Fitzsimmons  
9595
 
9596
        * libc/include/langinfo.h: New file.
9597
        * libc/include/wchar.h: Likewise.
9598
        * libc/include/sys/syslimits.h: Likewise.
9599
        * libc/locale/fix_grouping.c: Likewise.
9600
        * libc/locale/ldpart.c: Likewise.
9601
        * libc/locale/ldpart.h: Likewise.
9602
        * libc/locale/lmessages.c: Likewise.
9603
        * libc/locale/lmessages.h: Likewise.
9604
        * libc/locale/lmonetary.c: Likewise.
9605
        * libc/locale/lmonetary.h: Likewise.
9606
        * libc/locale/lnumeric.c: Likewise.
9607
        * libc/locale/lnumeric.h: Likewise.
9608
        * libc/locale/nl_langinfo.3: Likewise.
9609
        * libc/locale/nl_langinfo.c: Likewise.
9610
        * libc/locale/timelocal.c: Likewise.
9611
        * libc/locale/timelocal.h: Likewise.
9612
        * libc/stdlib/btowc.c: Likewise.
9613
        * libc/stdlib/mbrlen.c: Likewise.
9614
        * libc/stdlib/mbrtowc.c: Likewise.
9615
        * libc/stdlib/mbsinit.c: Likewise.
9616
        * libc/stdlib/mbsrtowcs.c: Likewise.
9617
        * libc/stdlib/wcrtomb.c: Likewise.
9618
        * libc/stdlib/wcsrtombs.c: Likewise.
9619
        * libc/stdlib/wctob.c: Likewise.
9620
        * libc/sys/linux/prof-freq.c: Likewise.
9621
        * libc/sys/linux/profile.c: Likewise.
9622
        * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
9623
        * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
9624
        * libc/include/stdlib.h: Change re-entrant functions to take
9625
        mbstate_t pointers.
9626
        * libc/include/sys/_types.h: Define _mbstate_t.
9627
        * libc/include/sys/config.h (MB_LEN_MAX): New macro.
9628
        * libc/include/sys/errno.h (EILSEQ): New error code.
9629
        * libc/include/sys/reent.h: Include wchar.h.  Change reentrant
9630
        structure to use mbstate_t.
9631
        * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
9632
        * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
9633
        * libc/machine/powerpc/vfscanf.c: Likewise.
9634
        * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
9635
        * libc/stdio/vfprintf.c: Likewise.
9636
        * libc/stdio/vfscanf.c: Likewise.
9637
        * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
9638
        * libc/stdlib/mblen.c: Use mbstate_t.
9639
        * libc/stdlib/mblen_r.c: Likewise.
9640
        * libc/stdlib/mbstowcs.c: Likewise.
9641
        * libc/stdlib/mbstowcs_r.c: Likewise.
9642
        * libc/stdlib/mbtowc.c: Likewise.
9643
        * libc/stdlib/mbtowc_r.c: Likewise.
9644
        * libc/stdlib/wcstombs.c: Likewise.
9645
        * libc/stdlib/wcstombs_r.c: Likewise.
9646
        * libc/stdlib/wctomb_r.c: Likewise.
9647
        * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
9648
        profile.c.
9649
        * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
9650
        dl-procinfo.c.
9651
        * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
9652
        * libc/sys/linux/sys/types.h (off_t): Define type.
9653
        * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
9654
        to C-UTF-8.
9655
        * testsuite/newlib.locale/UTF-8.exp: Likewise.
9656
 
9657
2002-08-20  Casper S. Hornstrup  
9658
 
9659
        * libc/stdlib/mallocr.c: #include windows.h on Win32.
9660
          (AlignPage): Continue macro on next line.
9661
 
9662
2002-08-19  Jeff Johnston  
9663
 
9664
        * libc/sys/linux/include/pthread.h: New file.
9665
 
9666
2002-08-19  Jeff Johnston  
9667
 
9668
        * libc/include/sys/types.h: Support __need_inttypes macro
9669
        that only sets the __intxx and __uintxx types.
9670
        * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
9671
        to get mprec.h.
9672
        * libc/machine/powerpc/Makefile.in: Regenerated.
9673
        * libc/machine/powerpc/vfprintf.c: Fix state variable type.
9674
        * libc/machine/powerpc/vfscanf.c: Fix state variable type.  Remove
9675
        redundant fixed-point conversion prototypes.
9676
        * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include 
9677
        after setting __need_inttypes.
9678
 
9679
2002-08-18  Christopher Faylor  
9680
 
9681
        * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
9682
 
9683
2002-08-17  Jeff Johnston  
9684
 
9685
        * libc/include/sys/config.h[__PPC__][__SPE__]: Set
9686
        _LONG_DOUBLE to double.
9687
 
9688
2002-08-17  Jeff Johnston  
9689
 
9690
        * configure.host: Add powerpc*-*-eabispe* configuration.
9691
        * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
9692
        * libc/machine/powerpc/atosfix32.c: Ditto.
9693
        * libc/machine/powerpc/atosfix64.c: Ditto.
9694
        * libc/machine/powerpc/atoufix16.c: Ditto.
9695
        * libc/machine/powerpc/atoufix32.c: Ditto.
9696
        * libc/machine/powerpc/atoufix64.c: Ditto.
9697
        * libc/machine/powerpc/fix64.h: Ditto.
9698
        * libc/machine/powerpc/simdldtoa.c: Ditto.
9699
        * libc/machine/powerpc/strtosfix16.c: Ditto.
9700
        * libc/machine/powerpc/strtosfix32.c: Ditto.
9701
        * libc/machine/powerpc/strtosfix64.c: Ditto.
9702
        * libc/machine/powerpc/strtoufix16.c: Ditto.
9703
        * libc/machine/powerpc/strtoufix32.c: Ditto.
9704
        * libc/machine/powerpc/strtoufix64.c: Ditto.
9705
        * libc/machine/powerpc/ufix64toa.c: Ditto.
9706
        * libc/machine/powerpc/configure.in: Add check for
9707
        powerpc*-eabispe and add fixed-point conversion functions.
9708
        * libc/machine/powerpc/configure: Regenerated.
9709
        * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
9710
        %r and %R format specifiers which handle fixed-point data.
9711
        * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
9712
        * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
9713
        function prototypes.
9714
 
9715
2002-08-17  Jeff Johnston  
9716
 
9717
        *  Makefile.am: Move cmath stuff into libc/sys/linux.
9718
        *  Makefile.in: Regenerated.
9719
        *  configure.host: Default -DMB_CAPABLE for x86-linux.
9720
        *  libc/include/reent.h: Define _sbrk to take signed int argument.
9721
        *  libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
9722
        *  libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
9723
        make locale name checking more efficient.  Also allow "C-ISO-8859-1"
9724
        locale for LC_CTYPE and LC_MESSAGES.
9725
        *  libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
9726
        *  libc/sys/linux/brk.c: Change sbrk prototype.
9727
        *  libc/sys/linux/include/time.h: Remove Cygwin stuff and
9728
        include .
9729
        (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
9730
        (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
9731
        *  libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
9732
        with a few local additions.
9733
        *  libc/sys/linux/sys/features.h: New file.
9734
        *  libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
9735
        to take signed argument.
9736
        *  libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
9737
        prototypes to take signed size argument.
9738
 
9739
2002-08-16  Thomas Fitzsimmons  
9740
 
9741
        * libc/sys/linux/cmath: New directory.
9742
        * libc/sys/linux/include/cmathcalls.h: New file.
9743
        * libc/sys/linux/include/complex.h: New file.
9744
        * libc/sys/linux/machine/i386/huge_val.h: New file
9745
        * libm/math/w_sincos.c: New file
9746
        * libm/math/wf_sincos.c: New file
9747
        * libm/mathfp/s_sincos.c: New file
9748
        * libm/mathfp/sf_sincos.c: New file
9749
        * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
9750
        * libc/include/math.h: Add sincos and sincosf declarations.
9751
        * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
9752
        (SUBLIBS): Likewise.
9753
        * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
9754
        * libm/math/Makefile.am (src): Add w_sincos.c.
9755
        (fsrc): Add wf_sincos.c.
9756
        * libm/mathfp/Makefile.am (src): Add s_sincos.c
9757
        (fsrc): Add sf_sincos.c.
9758
 
9759
2002-08-12  Jeff Johnston  
9760
 
9761
        * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
9762
        Declare as extern chars and use the address operator to
9763
        properly use values set in linker script.
9764
 
9765
2002-08-09  Jason Tishler  
9766
 
9767
        * libc/stdlib/mallocr.c: Include .
9768
        (request2size): Change macro to do
9769
        unsigned long comparisons and avoid signed overflow.
9770
        (mALLOc): Add overflow check for the number of bytes to allocate.
9771
        (rEALLOc): Ditto.
9772
 
9773
2002-08-09  Jeff Johnston  
9774
 
9775
        * configure.host: Add check for --enable-newlib-io-pos-args
9776
        and define WANT_IO_POS_ARGS flag if enabled.  Define
9777
        the flag by default for x86-linux configurations.
9778
        * configure.in: Add support for --enable-newlib-io-pos-args.
9779
        * libc/configure.in: Ditto.
9780
        * configure: Regenerated.
9781
        * libc/configure: Ditto.
9782
        * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
9783
        vfprintf.c and vfiprintf.c.
9784
        * libc/stdio/Makefile.in: Regenerated.
9785
        * libc/stdio/vfprintf.c: Add positional argument support that
9786
        is enabled by compiling with -DWANT_IO_POS_ARGS.
9787
 
9788
2002-08-07  Richard Sandiford  
9789
 
9790
        * libc/include/machine/setjmp.h: For mips, define _JBLEN based
9791
        based on __mips_soft_float rather than __mips64.
9792
        * libc/machine/mips/setjmp.S: Provide hard and soft float versions
9793
        of both 32-bit and 64-bit code.
9794
 
9795
2002-08-04  Christopher Faylor  
9796
 
9797
        * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
9798
        arguments for popen to match similar functionality in fopen.
9799
 
9800
2002-07-29  Pierre Humblet  
9801
 
9802
        * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
9803
 
9804
2002-07-29  Jeff Johnston  
9805
 
9806
        * libc/sys/linux/Makefile.am: Add aio64.c.
9807
        * libc/sys/linux/Makefile.in: Regenerated.
9808
        * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
9809
        * libc/sys/linux/aio64.c: New file.
9810
 
9811
2002-07-26  Jeff Johnston  
9812
 
9813
        *  libc/include/sys/param.h (MAX, MIN): Added macros.
9814
        *  libc/sys/linux/Makefile.am: Add new files.
9815
        *  libc/sys/linux/Makefile.in: Regenerated.
9816
        *  libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
9817
        *  libc/sys/linux/inode.c (fchdir): Added syscall.
9818
        *  libc/sys/linux/ftw.c: New file.
9819
        *  libc/sys/linux/ftw64.c: Ditto.
9820
        *  libc/sys/linux/getwd.c: Ditto.
9821
        *  libc/sys/linux/scandir64.c: Ditto.
9822
        *  libc/sys/linux/strverscmp.c: Ditto.
9823
        *  libc/sys/linux/versionsort.c: Ditto.
9824
        *  libc/sys/linux/versionsort64.c: Ditto.
9825
 
9826
2002-07-26  Jeff Johnston  
9827
 
9828
        * libc/string/strings.tex: Fix typo for memccpy.
9829
 
9830
2002-07-25  Jeff Johnston  
9831
 
9832
        * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
9833
        * libc/sys/linux/sys/types.h (off64_t): Definition added.
9834
 
9835
2002-07-25  Jeff Johnston  
9836
 
9837
        * libc/sys/linux/Makefile.am: Add fclean.c.
9838
        * libc/sys/linux/Makefile.in: Regenerated.
9839
        * libc/sys/linux/fclean.c: New file.
9840
 
9841
2002-07-25  Jeff Johnston  
9842
 
9843
        * libc/sys/linux/Makefile.am: Add confstr.c.
9844
        * libc/sys/linux/Makefile.in: Regenerated.
9845
        * libc/sys/linux/confstr.c: New file.
9846
        * libc/sys/linux/confstr.h: Ditto.
9847
        * libc/sys/linux/sys/unistd.h: Include  and
9848
        .
9849
 
9850
2002-07-25  Jeff Johnston  
9851
 
9852
        * libc/sys/linux/config.h (__set_errno): Macro definition removed.
9853
        * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
9854
        * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
9855
        * libc/sys/linux/pathconf.c (__set_errno): Ditto.
9856
        * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
9857
        * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
9858
 
9859
2002-07-24  Jeff Johnston  
9860
 
9861
        * libc/sys/linux/Makefile.am: Add new files.
9862
        * libc/sys/linux/Makefile.in: Regenerated.
9863
        * libc/sys/linux/fstab.c: New file.
9864
        * libc/sys/linux/fstatvfs.c: Ditto.
9865
        * libc/sys/linux/fstatvfs64.c: Ditto.
9866
        * libc/sys/linux/internal_statvfs.c: Ditto.
9867
        * libc/sys/linux/mntent.c: Ditto.
9868
        * libc/sys/linux/mntent_r.c: Ditto.
9869
        * libc/sys/linux/statvfs.c: Ditto.
9870
        * libc/sys/linux/statvfs64.c: Ditto.
9871
        * libc/sys/linux/include/paths.h: Ditto.
9872
        * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
9873
        with double-underscore weak-aliases.
9874
        * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
9875
 
9876
2002-07-24  Jeff Johnston  
9877
 
9878
        * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
9879
        to use _sig_func_ptr type casted constants.
9880
        (_sig_func_ptr): Typedef moved to sys/signal.h.
9881
        * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
9882
        For __rtems, use POSIX definition, otherwise default to ANSI.
9883
        * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
9884
 
9885
2002-07-24  Stephane Carrez  
9886
 
9887
        * configure.host: Recognize m6811-elf and m6812-elf targets.
9888
        * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
9889
        * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
9890
        (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
9891
        * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
9892
        according to __INT_MAX__.
9893
        (_POINTER_INT): Define to short.
9894
        * libc/machine/m68hc11/Makefile.am: New file.
9895
        * libc/machine/m68hc11/Makefile.in: New file.
9896
        * libc/machine/m68hc11/configure.in: New file.
9897
        * libc/machine/m68hc11/configure: New file.
9898
        * libc/machine/m68hc11/aclocal.m4: New file.
9899
        * libc/machine/m68hc11/setjmp.S: New file.
9900
 
9901
2002-07-23  Jeff Johnston  
9902
 
9903
        * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
9904
        prototypes.
9905
        * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
9906
        * libc/stdlib/Makefile.in: Regenerated.
9907
        * libc/stdlib/strdup.c: Removed.
9908
        * libc/stdlib/strdup_r.c: Removed.
9909
        * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
9910
        mempcpy.c, strndup.c, and strndup_r.c.
9911
        * libc/string/Makefile.in: Regenerated.
9912
        * libc/string/memccpy.c: New file.
9913
        * libc/string/mempcpy.c: Ditto.
9914
        * libc/string/strndup.c: Ditto.
9915
        * libc/string/strndup_r.c: Ditto.
9916
        * libc/string/strdup.c: New file moved from stdlib.
9917
        * libc/string/strdup_r.c: Ditto.
9918
        * libc/string/strings.tex: Add memccpy and mempcpy documentation.
9919
 
9920
2002-07-23  Jeff Johnston  
9921
 
9922
        * libc/include/stdio.h: Move fcloseall prototype within
9923
        #ifndef _REENT_ONLY section.
9924
        * libc/sys/linux/Makefile.am: Add new files.
9925
        * libc/sys/linux/Makefile.in: Regenerated.
9926
        * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
9927
        * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
9928
        * libc/sys/linux/sys/types.h: Add ino64_t type.
9929
        * libc/sys/linux/ctermid.c: New file.
9930
        * libc/sys/linux/ttyname_r.c: Ditto.
9931
        * libc/sys/linux/readdir64.c: Ditto.
9932
 
9933
2002-07-22  Jeff Johnston  
9934
 
9935
        * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
9936
        * libc/stdio/Makefile.am: Added fcloseall.c support.
9937
        * libc/stdio/Makefile.in: Regenerated.
9938
        * libc/stdio/fcloseall.c: New file.
9939
        * libc/stdio64/Makefile.am: Remove missing .def references.
9940
        * libc/stdio64/Makefile.in: Regenerated.
9941
 
9942
2002-07-22  Jeff Johnston  
9943
 
9944
        * libc/machine/powerpc/time.c: Removed..renamed to times.c.
9945
        * libc/machine/powerpc/times.c: New file.
9946
        * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
9947
        * libc/machine/powerpc/Makefile.in: Regenerated.
9948
 
9949
2002-07-22  Aldy Hernandez  
9950
 
9951
        * libc/machine/powerpc/time.c: New file.
9952
        * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
9953
        time.c.
9954
        * libc/machine/powerpc/Makefile.in: Regenerated.
9955
 
9956
2002-07-22  Thomas Fitzsimmons  
9957
 
9958
        * libc/libc.texinfo: Change copyright notices to Red Hat from
9959
        Cygnus.
9960
        * libm/libm.texinfo: Likewise.
9961
        * README: Change docs URL to
9962
        http://sources.redhat.com/newlib/docs.html.
9963
 
9964
2002-07-19  Jeff Johnston  
9965
 
9966
        * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
9967
        * libc/sys/linux/Makefile.in: Regenerated.
9968
        * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
9969
        * libc/sys/linux/io.c: Add ftruncate syscall.
9970
        * libc/sys/linux/fpathconf.c: New file.
9971
        * libc/sys/linux/pathconf.c: Ditto.
9972
        * libc/sys/linux/linux_fsinfo.h: Ditto.
9973
        * libc/sys/linux/sys/unistd.h: Ditto.
9974
 
9975
2002-07-19  Jeff Johnston  
9976
 
9977
        * libc/stdio64/Makefile.am: Remove missing files.
9978
        * libc/stdio64/Makefile.in: Regenerated.
9979
 
9980
2002-07-19  Jeff Johnston  
9981
 
9982
        * libc/include/sys/config.h[__i386__][__linux__]: Define
9983
        _LARGE64FILE_SOURCE to 1.
9984
        * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
9985
        * libc/sys/linux/Makefile.in: Regenerated.
9986
        * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
9987
        * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
9988
        * libc/sys/linux/sys/resource.h: Include  instead
9989
        of .
9990
        * libc/sys/linux/getrlimit64.c: New file.
9991
        * libc/sys/linux/setrlimit64.c: Ditto.
9992
 
9993
2002-07-19  Thomas Fitzsimmons  
9994
 
9995
        * libc/argz/argz_replace.c: Include buf_findstr.h.
9996
        * libc/argz/buf_findstr.c: Likewise.
9997
        * libc/argz/envz_entry.c: Include buf_findstr.h.  Cast return
9998
        value to (char *).
9999
        * libc/argz/envz_get.c: Likewise.
10000
        * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
10001
        * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
10002
        * libc/stdlib/getsubopt.3: New file.
10003
        * libc/stdlib/getsubopt.c: New file.
10004
        * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
10005
        Change esp to ebp.
10006
 
10007
2002-07-17  Jeff Johnston  
10008
 
10009
        * configure.host(stdio64_dir): New setting that is used to
10010
        enable building of new stdio64 directory.
10011
        * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
10012
        large files.
10013
        (stmp-stdio64,stdio64.texi): New targets to optionally add in
10014
        stdio64 info to info files.
10015
        * libc/Makefile.in: Regenerated.
10016
        * libc/configure: Ditto.
10017
        * libc/configure.in: Add configuration variables that are set
10018
        when stdio64 is selected as subdir in configure.host.
10019
        * libc/libc.texinfo: Add optional menu item for Stdio64, based
10020
        on whether STDIO64 flag is set or not.
10021
        * libc/sys.tex: Add optional stdio64 syscalls based on whether
10022
        STDIO64 flag is set or not.
10023
        * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
10024
        _r sycall routines.
10025
        * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
10026
        (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
10027
        (__SL64): New file flag indicating file is opened via fopen64.
10028
        * libc/include/sys/_types.h(_off64_t): Added.
10029
        * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
10030
        * libc/include/sys/reent.h(struct __sFILE64): New file structure
10031
        for 64-bit offset large file support.
10032
        (__FILE): New intermediate type either set to struct __sFILE64 or
10033
        struct __sFILE, depending on whether __LARGE64_FILES is set or not.
10034
        * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
10035
        * libc/reent/Makefile.in: Regenerated.
10036
        * libc/reent/fstat64r.c: New file.
10037
        * libc/reent/lseek64r.c: Ditto.
10038
        * libc/reent/open64r.c: Ditto.
10039
        * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
10040
        based on whether STDIO64 flag is set.
10041
        * libc/stdio/stdio.tex: Add blank line.
10042
        * libc/stdio64/Makefile.am: New file.
10043
        * libc/stdio64/Makefile.in: Ditto.
10044
        * libc/stdio64/fgetpos64.c: Ditto.
10045
        * libc/stdio64/fopen64.: Ditto.
10046
        * libc/stdio64/freopen64.c: Ditto.
10047
        * libc/stdio64/fseeko64.c: Ditto.
10048
        * libc/stdio64/fsetpos64.c: Ditto.
10049
        * libc/stdio64/ftello64.c: Ditto.
10050
        * libc/stdio64/local64.h: Ditto.
10051
        * libc/stdio64/stdio64.c: Ditto.
10052
        * libc/stdio64/stdio64.tex: Ditto.
10053
        * libc/stdio64/tmpfile64.c: Ditto.
10054
        * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
10055
        open64.
10056
 
10057
2002-07-16  Jeff Johnston  
10058
 
10059
        * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
10060
        if LIBC_EXTRA_LIB is present.
10061
        * libc/Makefile.in: Regenerated.
10062
        * libc/libc.texinfo: Add blank line.
10063
        * libc/argz/Makefile.am: Add doc support.
10064
        * libc/search/Makefile.am: Ditto.
10065
        * libc/argz/Makefile.in: Regenerated.
10066
        * libc/search/Makefile.in: Ditto.
10067
        * libc/misc/misc.tex: Add ffs function.
10068
        * libc/stdio/ftell.c: Fix missing doc delimeter in description.
10069
 
10070
2002-07-15  Jeff Johnston  
10071
 
10072
        * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
10073
        definition that was removed in error.
10074
 
10075
2002-07-15  Jeff Johnston  
10076
 
10077
        * libc/include/machine/ieeefp.h: Change to only define
10078
        floating point defines (e.g one of __IEEE_BIG_ENDIAN or
10079
        __IEEE_LITTLE_ENDIAN must be defined for each platform).
10080
        * libc/include/sys/config.h: Include  and
10081
        remove redundant floating point definitions.
10082
 
10083
2002-07-15  Jeff Johnston  
10084
 
10085
        * libc/sys/linux/callocr.c: Fix so code references
10086
        calloc.
10087
 
10088
2002-07-15  Jeff Johnston  
10089
 
10090
        * libc/sys/linux/Makefile.am: Add new files.
10091
        * libc/sys/linux/Makefile.in: Regenerated.
10092
        * libc/sys/linux/bp-sym.h: Moved to include directory.
10093
        * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
10094
        * libc/sys/linux/inode.c: Set _LIBC to 1.
10095
        * libc/sys/linux/mq_close.c: Ditto.
10096
        * libc/sys/linux/mq_getattr.c: Ditto.
10097
        * libc/sys/linux/mq_open.c: Ditto.
10098
        * libc/sys/linux/mq_receive.c: Ditto.
10099
        * libc/sys/linux/mq_send.c: Ditto.
10100
        * libc/sys/linux/mq_setattr.c: Ditto.
10101
        * libc/sys/linux/mq_unlink.c: Ditto.
10102
        * libc/sys/linux/calloc.c: New file.
10103
        * libc/sys/linux/callocr.c: Ditto.
10104
        * libc/sys/linux/cfreer.c: Ditto.
10105
        * libc/sys/linux/config.h: Ditto.
10106
        * libc/sys/linux/free.c: Ditto.
10107
        * libc/sys/linux/freer.c: Ditto.
10108
        * libc/sys/linux/msize.c: Ditto.
10109
        * libc/sys/linux/msizer.c: Ditto.
10110
        * libc/sys/linux/mstats.c: Ditto.
10111
        * libc/sys/linux/mtrim.c: Ditto.
10112
        * libc/sys/linux/mtrimr.c: Ditto.
10113
        * libc/sys/linux/pvallocr.c: Ditto.
10114
        * libc/sys/linux/realloc.c: Ditto.
10115
        * libc/sys/linux/reallocr.c: Ditto.
10116
        * libc/sys/linux/thread-m.h: Ditto.
10117
        * libc/sys/linux/vallocr.c: Ditto.
10118
        * libc/sys/linux/bp-checks.h: Ditto.
10119
        * libc/sys/linux/libc-symbols.h: Ditto.
10120
        * libc/sys/linux/libc-tsd.h: Ditto.
10121
        * libc/sys/linux/libintl.h: Ditto.
10122
        * libc/sys/linux/malign.c: Ditto.
10123
        * libc/sys/linux/malignr.c: Ditto.
10124
        * libc/sys/linux/mallinfor.c: Ditto.
10125
        * libc/sys/linux/malloc.c: Ditto.
10126
        * libc/sys/linux/mallocr.c: Ditto.
10127
        * libc/sys/linux/malloptr.c: Ditto.
10128
        * libc/sys/linux/mallstatsr.c: Ditto.
10129
        * libc/sys/linux/mcheck.c: Ditto.
10130
        * libc/sys/linux/mhooks.h: Ditto.
10131
        * libc/sys/linux/include/bp-sym.h: Ditto.
10132
        * libc/sys/linux/include/malloc.h: Ditto.
10133
        * libc/sys/linux/include/mcheck.h: Ditto.
10134
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
10135
        getpagesize.c.
10136
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
10137
        * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
10138
        * libc/sys/linux/machine/i386/getpagesize.c: New file.
10139
        * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
10140
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10141
        * libc/sys/linux/machine/i386/sysdep.h: New file.
10142
        * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
10143
        * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
10144
        * libc/sys/linux/sys/lock.h: Include .
10145
 
10146
2002-07-12  Jeff Johnston  
10147
 
10148
        * libc/sys/linux/include/mqueue.h: Change to use 
10149
        instead of .
10150
        * libc/sys/linux/sys/signal.h: Change to include various linux
10151
         header files, rather than  so as
10152
        to work with multiple releases of glibc header files.
10153
 
10154
2002-07-11  Chris Demetriou  
10155
 
10156
        * testsuite/newlib.search/hsearchtest.c: New file to test
10157
        newlib/libc/search.
10158
        * testsuite/newlib.search/hsearchtest.exp: Likewise.
10159
 
10160
2002-07-10  Florian Schrack  
10161
 
10162
        * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
10163
        a terminal.
10164
        * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
10165
 
10166
2002-07-08  Jeff Johnston  
10167
 
10168
        * libc/include/math.h (MAXFLOAT): Added.
10169
 
10170
Mon Jul  8 13:55:23 2002  J"orn Rennecke 
10171
 
10172
        * libc/machine/sh/Makefile.am (lib_a_SOURCES):
10173
        Make strcmp.S unconditional.
10174
        * libc/machine/sh/Makefile.in: Regenerate.
10175
        * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
10176
        * strcmp.S (strcmp): Add SHmedia variant.  Use different registers
10177
        for SHcompact.
10178
 
10179
2002-07-04  Jeff Johnston  
10180
 
10181
        * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
10182
        define before including .
10183
 
10184
2002-07-04  Jeff Johnston  
10185
 
10186
        * libc/include/utime.h: Add include of <_ansi.h>.
10187
        * libc/sys/linux/Makefile.am: Add utimes.c.
10188
        * libc/sys/linux/Makefile.in: Regenerated.
10189
        * libc/sys/linux/inode.c(__umask): New static routine.
10190
        (umask): Written to use __umask and attempt to thread lock.
10191
        (getumask): New function written to use __umask and thread lock.
10192
        * libc/sys/linux/utimes.c: New file.
10193
        * libc/sys/linux/sys/time.h: Fix utimes prototype.
10194
        * libc/sys/linux/sys/utime.h: New file.
10195
 
10196
2002-07-04  Thomas Fitzsimmons  
10197
 
10198
        * libtool.m4: New file.
10199
        * libc/sys/linux/process.c: Implement vfork in terms of fork,
10200
        rather than as a syscall.
10201
 
10202
2002-07-04  Jeff Johnston  
10203
 
10204
        * libc/include/stdio.h: Add new prototypes.
10205
        * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
10206
        * libc/stdio/Makefile.in: Regenerated.
10207
        * libc/stdio/fseek.c: Add fseeko documentation.
10208
        * libc/stdio/ftell.c: Add ftello documentation.
10209
        * libc/stdio/fseeko.c: New file.
10210
        * libc/stdio/ftello.c: New file.
10211
 
10212
2002-07-04  Jeff Johnston  
10213
 
10214
        * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
10215
        * libc/stdio/Makefile.in: Regenerated.
10216
        * libc/stdio/asprintf.c: New file.
10217
        * libc/stdio/vasprintf.c: Ditto.
10218
        * libc/stdio/fvwrite.c: Add code to dynamically reallocate
10219
        the buffer for asprintf support.
10220
        * libc/stdio/sprintf.c: Add asprintf documentation.
10221
        * libc/stdio/vfprintf.c: Add vasprintf documentation.
10222
        * libc/include/stdio.h: Add new prototypes.
10223
 
10224
2002-07-02  Thomas Fitzsimmons  
10225
 
10226
        * libc/search/hcreate.c: Remove advertising clause from license.
10227
        * libc/search/hcreate_r.c: Likewise.
10228
 
10229
2002-07-02  Chris Demetriou  
10230
 
10231
        * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
10232
        (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
10233
        Check that one of them is defined and error out if not.
10234
        Add any platforms defined in  that are missing.
10235
        * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
10236
        (DB_LITTLE_ENDIAN): New defines.
10237
        * libc/search/hash.c: Replace all incorrect checks for
10238
        _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
10239
        BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
10240
        * libc/search/hash_page.c: Likewise.
10241
 
10242
2002-06-28  Thomas Fitzsimmons  
10243
 
10244
        * libm/mathfp/sf_pow.c (powf): Change k from int to float.
10245
 
10246
2002-06-27  Benjamin Kosnik  
10247
 
10248
        * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
10249
        * libc/include/time.h: Same.
10250
        * libc/include/string.h: Same.
10251
        * libc/include/stdlib.h: Same.
10252
        * libc/include/signal.h: Same.
10253
        * libc/include/setjmp.h: Same.
10254
        * libc/include/math.h: Same.
10255
        * libc/include/locale.h: Same.
10256
        * libc/include/ctype.h: Same.
10257
        * libc/include/machine/setjmp.h: Same.
10258
        * libc/include/_ansi.h (_BEGIN_STD_C): Add.
10259
        (_END_STD_C): Add.
10260
 
10261
2002-06-27  Jeff Johnston  
10262
 
10263
        * libc/include/sys/_types.h: Define _ssize_t as int if int is
10264
        32-bits, otherwise define it as long.
10265
        * libc/include/sys/types.h: Include <_ansi.h> and 
10266
        and define ssize_t as _ssize_t.
10267
        * libc/reent/readr.c: Change return type to _ssize_t.
10268
        * libc/reent/writer.c: Ditto.
10269
        * libc/sys/linux/Makefile.am: Add aio.c.
10270
        * libc/sys/linux/Makefile.in: Regenerated.
10271
        * libc/sys/linux/aio.c: New file.
10272
        * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
10273
        * libm/common/fdlibm.h: Undef __P before defining it.
10274
 
10275
2002-06-27  Thomas Fitzsimmons  
10276
 
10277
        * libm/mathfp/s_pow.c (pow): Fix checks on variable k.  Add
10278
        exponent_is_even_int variable.  Handle case where x is
10279
        negative, and y is an odd integer.
10280
        * libm/mathfp/sf_pow.c (powf): Likewise.
10281
 
10282
        * libm/mathfp/er_lgamma.c: Remove __kernel references.
10283
        * libm/mathfp/erf_lgamma.c: Likewise.
10284
        * libm/mathfp/s_tgamma.c: Likewise.
10285
        * libm/mathfp/sf_tgamma.c: Likewise.
10286
 
10287
2002-06-27  Jeff Johnston  
10288
 
10289
        * libc/sys/linux/Makefile.am: Add new clock routines.
10290
        * libc/sys/linux/Makefile.in: Regenerated.
10291
        * libc/sys/linux/clock_getres.c: New file.
10292
        * libc/sys/linux/clock_gettime.c: Ditto.
10293
        * libc/sys/linux/clock_settime.c: Ditto.
10294
        * libc/sys/linux/hp-timing.h: Ditto.
10295
        * libc/sys/linux/libc-internal.h: Ditto.
10296
        * libc/sys/linux/sysconf.c: Fix typo.
10297
        * libc/sys/linux/include/time.h: Add include of .
10298
        * libc/sys/linux/machine/hp-timing.h: New file.
10299
        * libc/sys/linux/machine/i386/Makefile.am: Add new files.
10300
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10301
        * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
10302
        * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
10303
        * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
10304
        * libc/sys/linux/sys/linux_time.h: New file.
10305
        * libc/sys/linux/sys/time.h: Remove include of  and
10306
        replace with .
10307
 
10308
Wed Jun 26 16:33:25 2002  J"orn Rennecke 
10309
 
10310
        * libc/sys/sh/crt0.S: Remove vestigial .section directive.
10311
 
10312
2002-06-25  Jeff Johnston  
10313
 
10314
        * libc/sys/linux/Makefile.am: Consolidate additional items under
10315
        ADD_OBJS.
10316
        * libc/sys/linux/Makefile.in: Regenerated.
10317
 
10318
2002-06-25  Jeff Johnston  
10319
 
10320
        * libc/sys/linux/sethostname.c: New file.
10321
        * libc/sys/linux/Makefile.am: Add sethostname.c support.
10322
        * libc/sys/linux/Makefile.in: Regenerated.
10323
 
10324
2002-06-24  Thomas Fitzsimmons  
10325
 
10326
        * libc/search/db_local.h: New file.
10327
        * libc/include/db.h: Remove.
10328
        * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
10329
        * libc/search/hash.c (MIN,MAX): Add macros.  Change  to
10330
        "db_local.h".
10331
        * libc/search/hash_bigkey.c: Likewise.
10332
        * libc/search/hash_buf.c: Likewise.
10333
        * libc/search/hash_func.c: Likewise.
10334
        * libc/search/hash_log2.c: Likewise.
10335
        * libc/search/hash_page.c: Likewise.
10336
 
10337
2002-06-24  J"orn Rennecke 
10338
 
10339
        * libc/machine/sh/strlen.S: New file.
10340
        * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
10341
        * libc/machine/sh/Makefile.am: Regenerate.
10342
 
10343
2002-06-24  Jeff Johnston  
10344
 
10345
        * libc/sys/linux/gethostname.c: Change name to __gethostname and
10346
        add gethostname alias.
10347
 
10348
2002-06-24  Jeff Johnston  
10349
 
10350
        * libc/include/math.h: Remove .
10351
        (__dmath): Use __ULong instead of __uint32_t.
10352
        * libc/include/sys/reent.h: If long or int is not 32-bits,
10353
        include  to get definitions for __int32_t and __uint32_t.
10354
        * libc/stdlib/mprec.h: Include  to get integer defs.
10355
        * libm/common/fdlibm.h: Ditto.
10356
 
10357
2002-06-24  Thomas Fitzsimmons  
10358
 
10359
        * libc/include/ndbm.h: Remove.
10360
        * libc/search/ndbm.c: Remove.
10361
 
10362
2002-06-24  WATANABE Hirofumi 
10363
 
10364
        * libc/stdio/fseek.c (fseek): Fix braces.
10365
 
10366
2002-06-21  Corinna Vinschen  
10367
 
10368
        * libc/time/strftime.c (strftime): Add %e format specifier.
10369
 
10370
2002-06-21  Thomas Fitzsimmons  
10371
 
10372
        * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
10373
        previously defined.
10374
 
10375
2002-06-21  Richard Earnshaw  (rearnsha@arm.com)
10376
 
10377
        * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
10378
        (BYTE_ORDER): Define as appropriate for the target.
10379
 
10380
2002-06-21  Jeff Johnston  
10381
 
10382
        * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
10383
        to _ssize_t.
10384
        * libc/sys/linux/io.c (read, write): Change to return ssize_t.
10385
 
10386
2002-06-21  Jeff Johnston  
10387
 
10388
        * libc/include/stdio.h (__getline, __getdelim): New prototypes.
10389
        * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
10390
        [HAVE_GETDATE](getdate_err): New error code.
10391
        * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
10392
        * libc/stdio/Makefile.in: Regenerated.
10393
        * libc/stdio/getdelim.c: New file.
10394
        * libc/stdio/getline.c: Ditto.
10395
        * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
10396
        and ntp_gettime.c.  Also add AM_CFLAGS to point to libc/stdio.
10397
        * libc/sys/linux/Makefile.in: Regenerated.
10398
        * libc/sys/linux/getdate.c: New file.
10399
        * libc/sys/linux/getdate_err.c: Ditto.
10400
        * libc/sys/linux/ntp_gettime.c: Ditto.
10401
        * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
10402
        * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
10403
 
10404
2002-06-21  Jeff Johnston  
10405
 
10406
        * libc/include/math.h: Add  to get _uint32_t definition.
10407
        * libc/include/machine/types.h: Skip __off_t, __pid_t, and
10408
        __loff_t definitions if special _HAVE_SYSTYPES macro defined.
10409
        * libc/include/sys/config.h: Removed _uint*, _int* definitions.
10410
        * libc/include/sys/param.h: Remove i386 case which is handled
10411
        by default case.
10412
        (BIG_ENDIAN, LITTLE_ENDIAN): Protect
10413
        definitions in case they are already defined.
10414
        (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
10415
        _IEEE_LITTLE_ENDIAN flags.
10416
        * libc/include/sys/reent.h: Change __uint32_t references to
10417
        use _ULong instead.
10418
        (_REENT_GETDATE_REENT_P): New macro.
10419
        * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
10420
        (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
10421
        * libc/search/hash.h: Add default setting of BYTE_ORDER,
10422
        LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
10423
        * libc/sys/linux/sys/types.h: Include .  Define
10424
        ssize_t based on _ssize_t.  Remove __socklen_t, __uintptr_t,
10425
        pid_t, off_t, loff_t, caddr_t, and daddr_t type
10426
        definitions which are done by subsequent glibc headers.
10427
        Add macro definitions to prevent subsequent header files from
10428
        defining pid_t, off_t, ssize_t, and key_t.  Move uintptr_t and
10429
        intptr_t to after glibc definitions of types they are based on.
10430
 
10431
2002-06-21  Jeff Johnston  
10432
 
10433
        * libc/include/errno.h: Protect from multiple inclusion.
10434
 
10435
2002-06-21  Nick Clifton  
10436
 
10437
        * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
10438
 
10439
2002-06-20  Thomas Fitzsimmons  
10440
 
10441
        * Makefile.am (LIB_OBJECTLISTS): Add
10442
        libc/search/objectlist.awk.in.
10443
        * libc/Makefile.am (SUBDIRS): Add search.
10444
        (SUBLIBS): Add search/libsearch.la.
10445
        * libc/configure.in (AC_OUTPUT): Add search/Makefile.
10446
        * libc/search: New directory.
10447
        * libc/search/Makefile.am: New file.
10448
        * libc/search/extern.h: New file.
10449
        * libc/search/hash.c: New file.
10450
        * libc/search/hash.h: New file.
10451
        * libc/search/hash_bigkey.c: New file.
10452
        * libc/search/hash_buf.c: New file.
10453
        * libc/search/hash_func.c: New file.
10454
        * libc/search/hash_log2.c: New file.
10455
        * libc/search/hash_page.c: New file.
10456
        * libc/search/hcreate.3: New file.
10457
        * libc/search/hcreate.c: New file.
10458
        * libc/search/hcreate_r.c: New file.
10459
        * libc/search/ndbm.c: New file.
10460
        * libc/search/page.h: New file.
10461
        * libc/search/tdelete.c: New file.
10462
        * libc/search/tdestroy.c: New file.
10463
        * libc/search/tfind.c: New file.
10464
        * libc/search/tsearch.3: New file.
10465
        * libc/search/tsearch.c: New file.
10466
        * libc/search/twalk.c: New file.
10467
        * libc/include/db.h: New file.
10468
        * libc/include/ndbm.h: New file.
10469
        * libc/include/search.h: New file.
10470
        * libc/include/sys/queue.h: New file.
10471
        * libc/include/sys/cdefs.h: New file.
10472
        * libc/include/sys/param.h
10473
        [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
10474
        LITTLE_ENDIAN or BIG_ENDIAN.
10475
        * libc/include/sys/errno.h (EFTYPE): New macro.
10476
        * libc/search/bsearch.c: Move from libc/stdlib.
10477
        * libc/search/qsort.c: Likewise.
10478
        * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
10479
        qsort.c.
10480
        (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
10481
        * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
10482
 
10483
2002-06-19  Jeff Johnston  
10484
 
10485
        * libc/sys/linux/Makefile.am: Add support for message queue routines,
10486
        ipc routines, and ftok.
10487
        * libc/sys/linux/Makefile.in: Regenerated.
10488
        * libc/sys/linux/ftok.c: New file.
10489
        * libc/sys/linux/ipc.c: Ditto.
10490
        * libc/sys/linux/mq_close.c: Ditto.
10491
        * libc/sys/linux/mq_getattr.c: Ditto.
10492
        * libc/sys/linux/mq_notify.c: Ditto.
10493
        * libc/sys/linux/mq_open.c: Ditto.
10494
        * libc/sys/linux/mq_receive.c: Ditto.
10495
        * libc/sys/linux/mq_send.c: Ditto.
10496
        * libc/sys/linux/mq_setattr.c: Ditto.
10497
        * libc/sys/linux/mq_unlink.c: Ditto.
10498
        * libc/sys/linux/mqlocal.h: Ditto.
10499
        * libc/sys/linux/include/mqueue.h: Ditto.
10500
        * libc/sys/linux/sys/types.h: Define __gid_t_defined and
10501
        __uid_t_defined.
10502
 
10503
2002-06-19  J"orn Rennecke 
10504
 
10505
        * libm/common/sf_lround.c (round): Change name to: (lround).
10506
        * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
10507
        remquof.
10508
 
10509
2002-06-18  Thomas Fitzsimmons  
10510
 
10511
        * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
10512
        procedure.
10513
        (newlib_pass_fail): Change to compile and run only one file.
10514
        * testsuite/newlib.locale/locale.exp: Use new
10515
        newlib_pass_fail_all procedure.
10516
        * testsuite/newlib.string/string.exp: Likewise.
10517
 
10518
2002-06-18  Dave Brolley  
10519
 
10520
        From Catherine Moore, Michael Meissner, Richard Sandiford:
10521
        * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
10522
        (_JBTYPE): Ditto.
10523
        * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
10524
        (__ATTRIBUTE_IMPURE_PTR__): Ditto.
10525
        * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
10526
        * configure.host: Support frv-*-*.
10527
        * libc/machine/frv/Makefile.am: New file.
10528
        * libc/machine/frv/configure.in: New file.
10529
        * libc/machine/frv/setjmp.S: New file.
10530
 
10531
2002-06-18  Thomas Fitzsimmons  
10532
 
10533
        * libc/include/ctype.h: Remove isblank macro.
10534
 
10535
        * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
10536
        * libc/ctype/isblank.c: New file.
10537
        * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
10538
        declaration.  Add isblank macro.
10539
 
10540
2002-06-18  Jeff Johnston  
10541
 
10542
        * testsuite/newlib.stdlib/atexit.c: New file.
10543
        * testsuite/newlib.stdlib/atexit.exp: Ditto.
10544
        * testsuite/newlib.string/tstring.c: Change default start size
10545
        to something more reasonable for embedded platforms.
10546
 
10547
2002-06-14  Thomas Fitzsimmons  
10548
 
10549
        * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
10550
 
10551
        * libc/argz: New directory.
10552
        * libc/argz/*: New files.
10553
        * libc/argz/argz_add.c: New file.
10554
        * libc/argz/argz_add_sep.c: New file.
10555
        * libc/argz/argz_append.c: New file.
10556
        * libc/argz/argz_count.c: New file.
10557
        * libc/argz/argz_create.c: New file.
10558
        * libc/argz/argz_create_sep.c: New file.
10559
        * libc/argz/argz_delete.c: New file.
10560
        * libc/argz/argz_extract.c: New file.
10561
        * libc/argz/argz_insert.c: New file.
10562
        * libc/argz/argz_next.c: New file.
10563
        * libc/argz/argz_replace.c: New file.
10564
        * libc/argz/argz_stringify.c: New file.
10565
        * libc/argz/buf_findstr.c: New file.
10566
        * libc/argz/envz_add.c: New file.
10567
        * libc/argz/envz_entry.c: New file.
10568
        * libc/argz/envz_get.c: New file.
10569
        * libc/argz/envz_merge.c: New file.
10570
        * libc/argz/envz_remove.c: New file.
10571
        * libc/argz/envz_strip.c: New file.
10572
        * libc/include/argz.h: New file.
10573
        * libc/include/envz.h: New file.
10574
        * Makefile.am (LIBC_OBJECTLISTS): Add
10575
        libc/argz/objectlist.awk.in.
10576
        * libc/Makefile.am (SUBDIRS): Add argz.
10577
        (SUBLIBS): Add argz/libargz.la.
10578
        * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
10579
        * libc/include/errno.h: Add error_t typedef.
10580
 
10581
2002-06-13  Jeff Johnston  
10582
 
10583
        * libc/include/stdlib.h: Add _Exit prototype.
10584
        * libc/stdlib/Makefile.am: Add _Exit.c support.
10585
        * libc/stdlib/Makefile.in: Ditto.
10586
        * libc/stdlib/_Exit.c: New file.
10587
 
10588
2002-06-13  Stephen L. Moshier  
10589
 
10590
        * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
10591
        x is close to -1.0 and y is very large to use ax (absolute value)
10592
        instead of x.
10593
        * libm/math/ef_pow.c (__ieee754_powf): Ditto.
10594
 
10595
Thu Jun 13 19:23:40 2002  J"orn Rennecke 
10596
 
10597
        * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
10598
        Fix clobbering bytes before destination if src and dst have same
10599
        non-zero misalignment.
10600
 
10601
        * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
10602
        Fixed bug in writing end of set region.
10603
 
10604
2002-06-10  Christopher Faylor  
10605
 
10606
        * libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix
10607
        spawnve declaration.
10608
 
10609
2002-06-06  Thomas Fitzsimmons  
10610
 
10611
        * libm/common/s_fdim.c: New file.
10612
        * libm/common/s_fma.c: Likewise.
10613
        * libm/common/s_fmax.c: Likewise.
10614
        * libm/common/s_fmin.c: Likewise.
10615
        * libm/common/s_fpclassify.c: Likewise.
10616
        * libm/common/s_lrint.c: Likewise.
10617
        * libm/common/s_lround.c: Likewise.
10618
        * libm/common/s_nearbyint.c: Likewise.
10619
        * libm/common/s_remquo.c: Likewise.
10620
        * libm/common/s_round.c: Likewise.
10621
        * libm/common/s_scalbln.c: Likewise.
10622
        * libm/common/s_signbit.c: Likewise.
10623
        * libm/common/s_trunc.c: Likewise.
10624
        * libm/common/sf_fdim.c: Likewise.
10625
        * libm/common/sf_fma.c: Likewise.
10626
        * libm/common/sf_fmax.c: Likewise.
10627
        * libm/common/sf_fmin.c: Likewise.
10628
        * libm/common/sf_lrint.c: Likewise.
10629
        * libm/common/sf_lround.c: Likewise.
10630
        * libm/common/sf_nearbyint.c: Likewise.
10631
        * libm/common/sf_remquo.c: Likewise.
10632
        * libm/common/sf_round.c: Likewise.
10633
        * libm/common/sf_scalbln.c: Likewise.
10634
        * libm/common/sf_trunc.c: Likewise.
10635
        * libm/math/w_exp2.c: Likewise.
10636
        * libm/math/w_tgamma.c: Likewise.
10637
        * libm/math/wf_exp2.c: Likewise.
10638
        * libm/math/wf_tgamma.c: Likewise.
10639
        * libm/mathfp/s_exp2.c: Likewise.
10640
        * libm/mathfp/s_tgamma.c: Likewise.
10641
        * libm/mathfp/sf_exp2.c: Likewise.
10642
        * libm/mathfp/sf_tgamma.c: Likewise.
10643
        * libm/math/er_gamma.c: Fix return value.
10644
        * libm/math/erf_gamma.c: Likewise.
10645
        * libm/mathfp/er_gamma.c: Likewise.
10646
        * libm/mathfp/erf_gamma.c: Likewise.
10647
        * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
10648
        declarations and macros.
10649
        Regenerated all Makefile.in, aclocal.m4 and configure files to
10650
        use new libtool macros in top-level libtool.m4
10651
 
10652
2002-06-05  Jeff Johnston  
10653
 
10654
        * libc/include/string.h[__linux__]: Add strsignal prototype.
10655
        * libc/include/sys/lock.h: New file with default locking support.
10656
        * libc/include/sys/reent.h: Add signal buffer support for strsignal
10657
        and psignal.
10658
        * libc/posix/Makefile.am: Add support for readdir_r.c.
10659
        * libc/posix/Makefile.in: Regenerated.
10660
        * libc/posix/closedir.c: Add locking support and hash table cleanup.
10661
        * libc/posix/opendir.c: Add lock support.
10662
        * libc/posix/readdir.c: Ditto.
10663
        * libc/posix/rewinddir.c: Ditto.
10664
        * libc/posix/scandir.c: Ditto.
10665
        * libc/posix/seekdir.c: Ditto.
10666
        * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
10667
        clean up leftover hash table entries.
10668
        * libc/posix/readdir_r.c: New file.
10669
        * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
10670
        * libc/sys/linux/Makefile.in: Regenerated.
10671
        * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
10672
        * libc/sys/linux/sys/signal.h: Add psignal prototype.
10673
        * libc/sys/linux/psignal.c: New file.
10674
        * libc/sys/linux/strsignal.c: Ditto.
10675
 
10676
2002-06-03  Corinna Vinschen  
10677
 
10678
        * libc/include/sys/types.h: Don't define dev_t when compiling for
10679
        Cygwin.
10680
 
10681
2002-05-31  Jeff Johnston  
10682
 
10683
        * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c.  Also
10684
        make siglist.inc dependent on sig.c instead of signal.c.
10685
        * libc/sys/linux/Makefile.in: Regenerated.
10686
        * libc/sys/linux/sig.c: Rename from signal.c and change code to
10687
        use NSIG instead of _NSIG.
10688
        * libc/sys/linux/sigaction.c: New file.
10689
        * libc/sys/linux/signal.c: Changed to be linux signal() function
10690
        so as to override regular newlib default signal.c.
10691
        * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
10692
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10693
        * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
10694
        * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
10695
        * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
10696
        default linux sigset_t typedef by defining it equal to __sigset_t.
10697
        * libc/unix/sigset.c: Add check so code isn't compiled on systems
10698
        with a sigset_t that isn't implemented with a single int.
10699
 
10700
2002-05-30  Jeff Johnston  
10701
 
10702
        * libc/sys/linux/Makefile.am: Add support for new files.
10703
        * libc/sys/linux/Makefile.in: Regenerated.
10704
        * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
10705
        * libc/sys/linux/signal.c: Change to use real-time syscalls for
10706
        sigsuspend, sigprocmask, and sigpending.  Also remove sigaction as
10707
        it is in a separate file now.
10708
        * libc/sys/linux/machine/i386/Makefile.am
10709
        * libc/sys/linux/machine/i386/Makefile.in
10710
        * libc/sys/linux/sys/signal.h: Add include of .
10711
        * libc/sys/linux/sigaction.c: New file.
10712
        * libc/sys/linux/sigqueue.c: Ditto.
10713
        * libc/sys/linux/sigwait.c: Ditto.
10714
        * libc/sys/linux/machine/i386/sigaction.c: Ditto.
10715
        * libc/sys/linux/kernel_sigaction.h: Ditto.
10716
 
10717
2002-05-28  Jeff Johnston  
10718
 
10719
        * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
10720
        tcsendbrk.c.
10721
        * libc/sys/linux/Makefile.in: Regenerated.
10722
        * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
10723
        tcgetpgrp(), and tcsetpgrp() functions.
10724
        * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
10725
        to get __MAX_BAUD rate.
10726
        * libc/sys/linux/machine/i386/include/termios.h: New file.
10727
        * libc/include/machine/termios.h: Ditto.
10728
        * libc/sys/linux/cfspeed.c: Ditto.
10729
        * libc/sys/linux/tcsendbrk.c: Ditto.
10730
 
10731
2002-05-24  Jeff Johnston  
10732
 
10733
        * libc/include/string.h: Add strnlen and strerror_r prototypes.
10734
        * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
10735
        * libc/string/Makefile.in: Regenerated.
10736
        * libc/string/strerror_r.c: New file.
10737
        * libc/string/strnlen.c: New file.
10738
        * libc/sys/linux/Makefile.am: Add rename.c.
10739
        * libc/sys/linux/Makefile.in: Regenerated.
10740
        * libc/sys/linux/rename.c: New file to override default rename.
10741
 
10742
2002-05-24  Thomas Fitzsimmons  
10743
 
10744
        * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
10745
        * libc/sys/linux/sys/time.h: Add conversion macros.
10746
        * libc/sys/linux/sys/types.h: Add FD_ macros.  Include .
10747
        * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
10748
        * libc/sys/linux/gethostname.c: New file.
10749
        * libc/sys/linux/seteuid.c: New file.
10750
        * libc/sys/linux/sysctl.c: New file.
10751
 
10752
2002-05-23  Jeff Johnston  
10753
 
10754
        * libc/string/Makefile.am: Add support for strsep.c.
10755
        * libc/string/Makefile.in: Regenerated.
10756
        * libc/string/strsep.c: New file.
10757
        * libc/string/strtok.c: Change to call __strtok_r service routine.
10758
        * libc/string/strtok_r.c: Add __strtok_r routine which takes
10759
        additional flag parameter regarding whether to skip leading delimeters.
10760
        Change strtok_r to call __strtok_r.
10761
 
10762
2002-05-23  Gareth Pearce  
10763
 
10764
        * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
10765
        * libc/stdio/Makefile.in: Regenerated.
10766
        * libc/stdio/setbuffer.c: New file.
10767
        * libc/stdio/setlinebuf.c: New file.
10768
 
10769
2002-05-23  Jeff Johnston  
10770
 
10771
        * libc/sys/linux/Makefile.am: Add resource.c.
10772
        * libc/sys/linux/Makefile.in: Regenerated.
10773
        * libc/sys/linux/resource.c: New file.
10774
        * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
10775
        * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
10776
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10777
        * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
10778
        are now found in libc/sys/linux/resource.c.
10779
 
10780
2002-05-23  Jeff Johnston  
10781
 
10782
        * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
10783
        to use void * pointers and comply with Single Unix spec.
10784
        * libc/string/bcmp.c: Change to use void * instead of char *.
10785
        * libc/string/bcopy.c: Ditto.
10786
        * libc/string/bzero.c: Ditto.
10787
 
10788
2002-05-22  Jeff Johnston  
10789
 
10790
        * libc/sys/linux/shm_open.c: New file.
10791
        * libc/sys/linux/shm_unlink.c: Ditto.
10792
        * libc/sys/linux/Makefile.am: Add support for shm_open.c and
10793
        shm_unlink.c.
10794
        * libc/sys/linux/Makefile.in: Regenerated.
10795
        * libc/sys/linux/sys/types.h: Add some additional checks to see
10796
        if clock_t or time_t is already defined.
10797
 
10798
2002-05-22  Jeff Johnston  
10799
 
10800
        * Makefile.am: Don't pass $toollibdir down directly in
10801
        AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
10802
        Pass it under the name: top_toollibdir.
10803
        * Makefile.in: Regenerated.
10804
 
10805
2002-05-22  Corinna Vinschen  
10806
 
10807
        * libc/include/sys/types.h: Revert previous patch.
10808
 
10809
2002-05-22  Corinna Vinschen  
10810
 
10811
        * libc/include/sys/types.h: Include cygwin/types.h always under
10812
        Cygwin, not only if _POSIX_THREADS is defined.
10813
 
10814
2002-05-21 Dhananjay Deshpande 
10815
 
10816
        * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
10817
 
10818
2002-05-17  Jeff Johnston  
10819
 
10820
        * Makefile.am: Copy and install headers from sys/machine/include
10821
        directory.  Also pass $toollibdir to lower-level directories.
10822
        * Makefile.in: Regenerated.
10823
        * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
10824
        stderr to use _REENT macro instead of _impure_ptr directly.
10825
        * libc/include/sys/config.h[__i386__][__linux__]: Define
10826
        __DYNAMIC_REENT__.
10827
        * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
10828
        call to __getreent() function if !__SINGLE_THREAD__ and
10829
        __DYNAMIC_REENT__ is set.
10830
        * libc/reent/Makefile.am: Add support for getreent.c.
10831
        * libc/reent/Makefile.in: Regenerated.
10832
        * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
10833
        * libc/sys/linux/Makefile.am: Add support for new files.
10834
        * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
10835
        * libc/sys/linux/Makefile.in: Regenerated.
10836
        * libc/sys/linux/configure: Ditto.
10837
        * libc/sys/linux/io.c: Add poll syscall.  Also weak-alias
10838
        __close, __read, __write, __poll, __open, __lseek, __fcntl from
10839
        their __libc_ counterparts.
10840
        * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
10841
        and weak-alias to regular names.
10842
        * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
10843
        to pread64 and __pread64.
10844
        * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
10845
        * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
10846
        weak-alias to pwrite64.
10847
        * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
10848
        __libc_sched_getscheduler, __libc_sched_get_priority_max,
10849
        __libc_sched_get_priority_min, and __libc_sched_setschedule to
10850
        name with __ instead of __libc_.
10851
        * libc/sys/linux/siglongjmp.c: Include .
10852
        Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
10853
        Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
10854
        * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
10855
        to raise.
10856
        * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
10857
        __libc_send to __send.
10858
        * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
10859
        __gettimeofday.
10860
        * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
10861
        it to wait.  Rename wait3 to __libc_wait3 and weak-alias it to wait3.
10862
        * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
10863
        type and typedef __jmp_buf to jmp_buf.
10864
        * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
10865
        setjmp.S.
10866
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10867
        * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
10868
        section.
10869
        * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
10870
        prefix for function macros and then use weak_alias() to regular names.
10871
        * libc/sys/linux/machine/i386/syscall.h: Ditto.
10872
        * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
10873
        * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
10874
        to be flockfile() and funlockfile() respectively.
10875
        * libc/sys/linux/sys/types.h
10876
        * libc/reent/getreent.c: New file.
10877
        * libc/sys/linux/flockfile.c: Ditto.
10878
        * libc/sys/linux/funlockfile.c: Ditto.
10879
        * libc/sys/linux/getreent.c: Ditto.
10880
        * libc/sys/linux/pread.c: Ditto.
10881
        * libc/sys/linux/pwrite.c: Ditto.
10882
        * libc/sys/linux/raise.c: Ditto.
10883
        * libc/sys/linux/system.c: Ditto.
10884
        * libc/sys/linux/tcdrain.c: Ditto.
10885
        * libc/sys/linux/machine/i386/i386mach.h: Ditto.
10886
        * libc/sys/linux/machine/i386/setjmp.S: Ditto.
10887
        * libc/sys/linux/machine/i386/syscalls.c: Ditto.
10888
        * libc/sys/linux/machine/i386/weakalias.h: Ditto.
10889
        * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
10890
 
10891
2002-05-14 Dhananjay Deshpande 
10892
 
10893
        * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
10894
        * newlib/libc/sys/h8300hms/read.c: New file.  Magic trap 0xC8 for sim.
10895
        * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
10896
        * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
10897
 
10898
Thu May 16 17:24:57 2002  J"orn Rennecke 
10899
 
10900
        * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
10901
        __LITTLE_ENDIAN__.  make sure r0 has right value at first loop
10902
        exit point.
10903
 
10904
2002-05-15  Thomas Fitzsimmons  
10905
 
10906
        * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
10907
        options when testing natively on i[3456]86-*-linux.
10908
 
10909
        * testsuite/lib/checkoutput.exp (newlib_check_output): Output
10910
        only one pass or fail per test file.  Trim \r's from output
10911
        values received from test programs.  Remove support for named
10912
        tests.
10913
        * testsuite/newlib.locale/UTF-8.exp: Update to support new
10914
        newlib_check_output behaviour.
10915
        * testsuite/newlib.locale/UTF-8.c: Likewise.
10916
 
10917
2002-05-15  Jeff Johnston  
10918
 
10919
        * libc/include/stdlib.h: Add on_exit prototype.
10920
        * libc/include/sys/reent.h (struct _atexit): Add argument array
10921
        and bits to track type of exit routine to support both on_exit
10922
        and atexit.
10923
        (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
10924
        by default and change the setting of the atexit structure.
10925
        (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
10926
        * libc/stdlib/on_exit.c: New file.
10927
        * libc/stdlib/Makefile.am: Add support for on_exit.
10928
        * libc/stdlib/Makefile.in: Regenerated.
10929
        * libc/stdlib/atexit.c: Change to initialize types field.
10930
        * libc/stdlib/exit.c: Change to look at types field for each
10931
        exit routine and either call an atexit-style or an on_exit-style
10932
        routine accordingly.
10933
 
10934
2002-05-13  Jeff Johnston  
10935
 
10936
        * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
10937
        allow v specifier with n or L specifiers.  For vector c format,
10938
        move tmp declaration to the top.
10939
 
10940
2002-05-13  Jeff Johnston  
10941
 
10942
        * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
10943
        the original format specifier when looping for vectors to compensate
10944
        for any changes made in vector %g format processing.
10945
        Also add syntax checking for various invalid scenarios
10946
        involving vector format extensions.
10947
        * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
10948
        return code setting for vector formats.  Also treat vector
10949
        separator mismatch as a match error instead of an input error.
10950
        Perform some syntax checking for vector formats.
10951
 
10952
2002-05-10  Mark Bradshaw  
10953
 
10954
        * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
10955
        * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
10956
        * libc/string/strlcat.c: New file.
10957
        * libc/string/strlcpy.c: New file.
10958
 
10959
2002-05-10  Jeff Johnston  
10960
 
10961
        * libc/string/strchr.c: Fix comment typo.
10962
 
10963
2002-05-08  Thomas Fitzsimmons  
10964
 
10965
        * acinclude.m4: Add support for --enable-newlib-multithread.
10966
        * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
10967
        --enable-newlib-multithread=no.
10968
 
10969
        * libc/stdio/getc_u.c: New file.
10970
        * libc/stdio/getchar_u.c: New file.
10971
        * libc/stdio/putc_u.c: New file.
10972
        * libc/stdio/putchar_u.c: New file.
10973
        * libc/include/stdio.h: Add declarations for getc_unlocked,
10974
        getchar_unlocked, putc_unlocked and putchar_unlocked.
10975
        * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
10976
        (CHEWOUT_FILES): Add new files' .def's.
10977
        * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
10978
 
10979
Wed May  8 17:47:35 2002  J"orn Rennecke 
10980
 
10981
        * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
10982
        Also handle as single quad word when destination ends at last
10983
        byte of first quad word.  Fix byte selection in single quad code.
10984
 
10985
2002-05-07  Thomas Fitzsimmons  
10986
 
10987
        * libc/include/sys/stdio.h: New file.
10988
        * libc/sys/linux/sys/stdio.h: New file.
10989
        * libc/include/stdio.h: Add declarations for flockfile,
10990
        ftrylockfile, and funlockfile.  Include .
10991
        * libc/stdio/clearerr.c: Add file locking.
10992
        * libc/stdio/fclose.c: Likewise.
10993
        * libc/stdio/feof.c: Likewise.
10994
        * libc/stdio/ferror.c: Likewise.
10995
        * libc/stdio/fflush.c: Likewise.
10996
        * libc/stdio/fgetc.c: Likewise.
10997
        * libc/stdio/fgetpos.c: Likewise.
10998
        * libc/stdio/fgets.c: Likewise.
10999
        * libc/stdio/fileno.c: Likewise.
11000
        * libc/stdio/fputc.c: Likewise.
11001
        * libc/stdio/fputs.c: Likewise.
11002
        * libc/stdio/fread.c: Likewise.
11003
        * libc/stdio/freopen.c: Likewise.
11004
        * libc/stdio/fseek.c: Likewise.
11005
        * libc/stdio/ftell.c: Likewise.
11006
        * libc/stdio/fwrite.c: Likewise.
11007
        * libc/stdio/getc.c: Likewise.
11008
        * libc/stdio/putc.c: Likewise.
11009
        * libc/stdio/setvbuf.c: Likewise.
11010
        * libc/stdio/ungetc.c: Likewise.
11011
        * libc/stdio/vfprintf.c: Likewise.
11012
 
11013
2002-05-06  Jeff Johnston  
11014
 
11015
        * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
11016
        support for 'p' format.  Fix code to print bytes for vector
11017
        integer formats that do not specify 'h' or 'l'.
11018
        * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
11019
        for 'p' specifier.  Fix code to scan 16 bytes for vector integer
11020
        formats that do not specify 'h' or 'l'.
11021
 
11022
        * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
11023
 
11024
2002-05-06  Nick Clifton  
11025
 
11026
        * libc/sys/arm/syscalls.c (_rename): Add parameter names.
11027
        (_sbrk): Add cast of return value.
11028
 
11029
2002-05-06  Jeff Johnston  
11030
 
11031
        *  libc/include/sys/reent.h (_l64a_buf): New reentrant area.
11032
        (_REENT_L64A_BUF): New macro for accessing area.
11033
        *  libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
11034
        *  libc/stdlib/Makefile.in: Regenerated.
11035
        *  libc/stdlib/a64l.c: New file.
11036
        *  libc/stdlib/l64a.c: New file.
11037
 
11038
2002-05-06  Jeff Johnston  
11039
 
11040
        * libc/unix/pread.c: Fix typo for _pread_r.
11041
        * libc/unix/pwrite.c: Fix type for _pwrite_r.
11042
        * libc/sys/linux/pread64.c: Fix typo for read syscall.
11043
        * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
11044
 
11045
2002-05-03  Christopher Faylor  
11046
 
11047
        * libc/include/sys/unistd.h: Define getdomainname under cygwin.
11048
 
11049
2002-05-03  Thomas Fitzsimmons  
11050
 
11051
        * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
11052
 
11053
2002-05-01  Christopher Faylor  
11054
 
11055
        * utmp.h: Define more UNIX constants.
11056
 
11057
2002-05-01  Thomas Fitzsimmons  
11058
 
11059
        * Makefile.am: Add support for checking multilibs.
11060
 
11061
        * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
11062
        (SUBDEFS): Add LIBC_EXTRA_DEF.
11063
        * libc/configure.in (LIBC_EXTRA_LIB): New variable.
11064
        (LIBC_EXTRA_DEF): Likewise.
11065
        (extra_dir): Likewise.
11066
        * libc/machine/xscale/machine: New directory.
11067
        * libc/machine/xscale/machine/profile.h: New file.
11068
 
11069
        * Makefile.am (site.exp): Remove newlib_cflags.  Add
11070
        multibuildtop.
11071
        * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
11072
        * testsuite/lib/flags.exp: New file.
11073
        * testsuite/lib/newlib.exp: Load flags.exp.
11074
        (newlib_target_compile): Remove libgloss directory references.
11075
        (newlib_init): Remove newlib_cflags references.
11076
 
11077
2002-04-30  Thomas Fitzsimmons  
11078
 
11079
        * testsuite/lib/newlib.exp (newlib_target_compile): Change
11080
        method of finding libgloss_target_dir.
11081
 
11082
        * Makefile.am (site.exp): Change host_alias, host_triplet,
11083
        target_alias, target_triplet to refer to gcc's host and target
11084
        variables (newlib's build and host variables).
11085
        * testsuite/lib/newlib.exp (newlib_init): Change build
11086
        references to host references, host references to target
11087
        references to reflect Makefile.am changes.
11088
        (newlib_target_compile): Likewise.
11089
        (newlib_finish): Likewise.
11090
 
11091
2002-04-29  Jeff Johnston  
11092
 
11093
        * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
11094
 
11095
2002-04-29  Jonathan Larmour  
11096
 
11097
        * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
11098
        (_system): New function. Ditto.
11099
        * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
11100
        * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
11101
        targets.
11102
 
11103
2002-04-29  Jeff Johnston  
11104
 
11105
        *  libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
11106
        *  libc/unix/Makefile.am: Add pread.c and pwrite.c.
11107
        *  libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
11108
        *  libc/sys/linux/Makefile.in: Regenerated.
11109
        *  libc/unix/Makefile.in: Ditto.
11110
        *  libc/sys/linux/pread64.c: New file.
11111
        *  libc/sys/linux/pwrite64.c: Ditto.
11112
        *  libc/unix/pread.c: Ditto.
11113
        *  libc/unix/pwrite.c: Ditto.
11114
 
11115
2002-04-26  Jeff Johnston  
11116
 
11117
        *  libc/sys/linux/Makefile.am: Add io64.c.
11118
        *  libc/sys/linux/Makefile.in: Regenerated.
11119
        *  libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
11120
        *  libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
11121
        *  libc/sys/linux/io64.c: New file.
11122
 
11123
2002-04-26  Jeff Johnston  
11124
 
11125
        * configure.in (CC_FOR_NEWLIB): New variable that
11126
        bases on $(CC) and adds targ-include and libc/include as
11127
        -isystem directives if they are not already part of $(CC).
11128
        * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
11129
        $(CC_FOR_NEWLIB).
11130
        * configure: Regenerated.
11131
        * Makefile.in: Ditto.
11132
 
11133
2002-04-25  Jeff Johnston  
11134
 
11135
        *  libc/sys/linux/Makefile.am: Add support for sched.c.
11136
        *  libc/sys/linux/Makefile.in: Regenerated.
11137
        *  libc/sys/linux/sched.c: New file.
11138
        *  libc/sys/linux/sys/types.h: Add struct timespec.
11139
 
11140
2002-04-25  Thomas Fitzsimmons  
11141
 
11142
        * configure.in (CC_FOR_BUILD): Set to gcc whether
11143
        cross-compiling or not.
11144
        (CC): Add -isystem's for targ-include and libc/include when they
11145
        do not already appear in CC.
11146
 
11147
2002-04-24  Thomas Fitzsimmons  
11148
 
11149
        * Makefile.am (check-DEJAGNU): New target.
11150
        (site.exp): Likewise.
11151
        * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
11152
        with AC_CANONICAL_SYSTEM.  Remove AC_CANONICAL_BUILD.
11153
        * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
11154
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
11155
        * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
11156
        * testsuite: New directory.
11157
        * testsuite/config: Likewise.
11158
        * testsuite/lib: Likewise.
11159
        * testsuite/newlib.locale: Likewise.
11160
        * testsuite/newlib.string: Likewise.
11161
        * testsuite/config/default.exp: New file.
11162
        * testsuite/lib/checkoutput.exp: New file.
11163
        * testsuite/lib/newlib.exp: New file.
11164
        * testsuite/lib/passfail.exp: New file.
11165
        * testsuite/newlib.locale/UTF-8.c: New file.
11166
        * testsuite/newlib.locale/UTF-8.exp: New file.
11167
        * testsuite/newlib.locale/locale.exp: New file.
11168
        * testsuite/newlib.string/string.exp: New file.
11169
        * testsuite/newlib.string/tstring.c: New file.
11170
 
11171
2002-04-23  Jeff Johnston  
11172
 
11173
        *  libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
11174
        *  libc/sys/linux/Makefile.am: Add support for mmap.c.
11175
        *  libc/sys/linux/Makefile.in: Regenerated.
11176
        *  libc/sys/linux/mmap.c: New file.
11177
        *  libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
11178
        *  libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
11179
 
11180
2002-04-22  Thomas Fitzsimmons  
11181
 
11182
        * acinclude.m4 (newlib_cflags): Remove include directories that
11183
        are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
11184
 
11185
2002-04-19  Bill Siegmund  
11186
 
11187
        * libc/machine/xscale/memchr.c: Don't use multi-line strings.
11188
        * libc/machine/xscale/memcmp.c: Ditto.
11189
        * libc/machine/xscale/memcpy.c: Ditto.
11190
        * libc/machine/xscale/memmove.c: Ditto.
11191
        * libc/machine/xscale/memset.c: Ditto.
11192
        * libc/machine/xscale/strchr.c: Ditto.
11193
        * libc/machine/xscale/strcmp.c: Ditto.
11194
        * libc/machine/xscale/strcpy.c: Ditto.
11195
        * libc/machine/xscale/strlen.c: Ditto.
11196
 
11197
2002-04-19  Alexandre Oliva  
11198
 
11199
        * libc/include/sys/config.h: Remove include of .
11200
        (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
11201
        define INT_MAX and LONG_MAX.  Use them in tests.
11202
 
11203
2002-04-19  Jeff Johnston  
11204
 
11205
        *  configure.host: Add support for powerpc-eabialtivec*.
11206
        *  libc/include/malloc.h: Add include of .
11207
        *  libc/include/stdlib.h: Add include of .
11208
        *  libc/include/machine/malloc.h: New file.
11209
        *  libc/include/machine/stdlib.h: Ditto.
11210
        *  libc/include/machine/setjmp.h: Add support for powerpc altivec.
11211
        *  libc/machine/powerpc/Makefile.am: Add conditional objects and
11212
        sources based on configuration.
11213
        *  libc/machine/powerpc/Makefile.in: Regenerated.
11214
        *  libc/machine/powerpc/configure: Ditto.
11215
        *  libc/machine/powerpc/configure.in: Add check for
11216
        powerpc-eabialtivec* in which case add in additional source files.
11217
        *  libc/machine/powerpc/setjmp.S: Add altivec support.
11218
        *  libc/machine/powerpc/vec_calloc.c: New file.
11219
        *  libc/machine/powerpc/vec_free.c: Ditto.
11220
        *  libc/machine/powerpc/vec_malloc.c: Ditto.
11221
        *  libc/machine/powerpc/vec_mallocr.c: Ditto.
11222
        *  libc/machine/powerpc/vec_realloc.c: Ditto.
11223
        *  libc/machine/powerpc/machine/malloc.h: Ditto.
11224
        *  libc/machine/powerpc/machine/stdlib.h: Ditto.
11225
        *  libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
11226
        with added altivec format specifiers.
11227
        *  libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
11228
        added altivec format specifiers.
11229
 
11230
2002-04-19      Joel Sherrill 
11231
 
11232
        * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
11233
        while autoconf is trying to link main(){}.
11234
 
11235
2002-04-17  Jeff Johnston  
11236
 
11237
        * libc/sys/linux/signal.c: Remove include of .
11238
        * libc/sys/linux/sys/signal.h: Add include of .
11239
 
11240
2002-04-17  Jeff Johnston  
11241
 
11242
        * libc/time/time.tex: Add tzset info.
11243
 
11244
2002-04-17  Jeff Johnston  
11245
 
11246
        * libc/include/time.h (tzset, _tzset_r): Added prototypes.
11247
        (strptime): Moved prototype to be within !__STRICT_ANSI__.
11248
        (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
11249
        (tzname): Defined for all platforms.
11250
        (daylight, timezone): Defined only for CYGWIN.
11251
        * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
11252
        environment set up.
11253
        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
11254
        environment variable is set.
11255
        * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
11256
        tzset_r.c.
11257
        * libc/time/Makefile.in: Regenerated.
11258
        * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
11259
        * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
11260
        * libc/time/lcltime_r.c (lcltime_r): Ditto.
11261
        * libc/time/local.h: New local header file.
11262
        * libc/time/mktime.c (mktime): Add timezone support.
11263
        * libc/time/mktm_r.c: New file which is the common engine
11264
        for gmtime_r and lcltime_r.  This code has timezone support.
11265
        * libc/time/strftime.c (strftime): Add %Z timezone support.
11266
        * libc/time/tzlock.c: New file containing timezone lock stubs.
11267
        * libc/time/tzset.c: New file containing tzset() routine.
11268
        * libc/time/tzset_r.c: New file containing _tzset_r and
11269
        internal routine for calculating timezone changes for specified year.
11270
 
11271
2002-04-17  Thomas Fitzsimmons  
11272
 
11273
        * configure.in (CRT0_DIR): Set to libc/.
11274
        (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
11275
        * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
11276
        $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
11277
        $(CRT1_DIR)/$(CRT1).
11278
        * libc/machine/xstormy16/Makefile.in: Regenerated.
11279
        * libc/machine/xstormy16/aclocal.m4: Regenerated.
11280
        * libc/machine/xstormy16/configure: Regenerated.
11281
 
11282
2002-04-13  Alexandre Oliva  
11283
 
11284
        * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
11285
        fails, don't bail out, and try to correct next time.
11286
 
11287
        * libc/include/sys/config.h: Include limits.h.
11288
 
11289
2002-04-12  Eric Norum  
11290
 
11291
        * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
11292
        routine to allow autoconf to determine that building executables
11293
        for rtems works.
11294
        (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
11295
        (rtems_gxx_mutex_once): Ditto.
11296
 
11297
2002-04-09  Tom Rix  
11298
 
11299
        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
11300
 
11301
2002-04-09  Mark Bradshaw  
11302
 
11303
        * libc/include/time.h: Fix strptime declaration.
11304
        * libc/time/Makefile.am: Add strptime.c.
11305
        * libc/time/Makefile.in: Regenerated.
11306
        * libc/time/strptime.c: New file.
11307
 
11308
2002-04-08  Jeff Johnston  
11309
 
11310
        * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
11311
        siglongjmp prototype, and sigsetjmp macro definition.
11312
        * libc/sys/linux/siglongjmp.c: New file.
11313
        * libc/sys/linux/Makefile.am: Add support for siglongjmp.
11314
        * libc/sys/linux/Makefile.in: Regenerated.
11315
 
11316
2002-04-04  Jeff Johnston  
11317
 
11318
        * Makefile.am: Add support for installing crt1.o if one exists.
11319
        * configure.host: Specify crt1.o for linux.
11320
        * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
11321
        * Makefile.in: Regenerated.
11322
        * configure: Ditto.
11323
        * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
11324
        Added for non-Cygwin, non-RTEMS configurations.
11325
        * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
11326
        * libc/sys/linux/Makefile.in: Regenerated.
11327
        * libc/sys/linux/crt1.c: New empty file to override one defaulted
11328
        by gcc.  This fixes problem with reconfiguring linux newlib build.
11329
        * libc/sys/linux/sysconf.c: New file.
11330
 
11331
2002-04-03  Jeff Johnston  
11332
 
11333
        * configure.host: Add support for machine subdirectory of
11334
        sys subdirectory.
11335
        * configure.in: Add check for sys machine subdirectory.
11336
        * Makefile.am: Ditto.
11337
        * configure: Regenerated.
11338
        * Makefile.in: Ditto.
11339
        * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
11340
        * libc/sys/linux/sys/syscall.h: Ditto.
11341
        * libc/sys/linux/sleep.c: New file.
11342
        * libc/sys/linux/socket.c: Ditto.
11343
        * libc/sys/linux/sockops.h: Ditto.
11344
        * libc/sys/linux/stack.c: Ditto.
11345
        * libc/sys/linux/usleep.c: Ditto.
11346
        * libc/sys/linux/machine/Makefile.am: Ditto.
11347
        * libc/sys/linux/machine/Makefile.in: Ditto.
11348
        * libc/sys/linux/machine/aclocal.m4: Ditto.
11349
        * libc/sys/linux/machine/configure: Ditto.
11350
        * libc/sys/linux/machine/configure.in: Ditto.
11351
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
11352
        * libc/sys/linux/machine/i386/Makefile.in: Ditto.
11353
        * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
11354
        * libc/sys/linux/machine/i386/configure: Ditto.
11355
        * libc/sys/linux/machine/i386/configure.in: Ditto.
11356
        * libc/sys/linux/machine/i386/crt0.c: Ditto.
11357
        * libc/sys/linux/machine/i386/sigset.c: Ditto.
11358
        * libc/sys/linux/machine/i386/sigstack.h: Ditto.
11359
        * libc/sys/linux/machine/i386/socketcall.h: Ditto.
11360
        * libc/sys/linux/machine/i386/syscall.h: Ditto.
11361
        * libc/sys/linux/sys/select.h: Ditto.
11362
        * libc/sys/linux/configure.in: Add support for machine directory.
11363
        * libc/sys/linux/Makefile.am: Ditto plus add new files above.
11364
        * libc/sys/linux/Makefile.in: Regenerated.
11365
        * libc/sys/linux/configure: Ditto.
11366
        * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
11367
        * libc/sys/linux/inode.c: Ditto.
11368
        * libc/sys/linux/linux.c: Ditto.
11369
        * libc/sys/linux/process.c: Ditto.
11370
        * libc/sys/linux/systat.c: Ditto.
11371
        * libc/sys/linux/time.c: Ditto.
11372
        * libc/sys/linux/wait.c: Ditto.
11373
        * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
11374
        * libc/sys/linux/io.c: Change header plus add readv/writev.
11375
        * libc/sys/linux/signal.c: Change header plus change sigsuspend to
11376
        use __sigsuspend syscall.
11377
        * libc/sys/linux/select.c: Change header plus change select to
11378
        use _newselect syscall.
11379
        * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
11380
        used by glibc header files.
11381
        * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
11382
        types.
11383
 
11384
2002-04-01  Jeff Johnston  
11385
 
11386
        * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
11387
        initializing a struct _reent that has been dynamically allocated.
11388
        (_REENT_CHECK_MISC): New macro that checks _misc struct for
11389
        _REENT_SMALL and does nothing otherwise.
11390
        (_REENT_STRTOK_LAST): New macro for reentrant strtok.
11391
        (_REENT_MBLEN_STATE): New macro for reentrant mblen.
11392
        (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
11393
        (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
11394
        [_REENT_SMALL](struct _misc_reent): New structure containing
11395
        miscellaneous reentrant areas needed by newlib.
11396
        [_REENT_SMALL](struct _reent): Add _misc pointer.
11397
        [_REENT_SMALL](_REENT_INIT_MISC): New macro.
11398
        * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
11399
        and _REENT_STRTOK_LAST macros.
11400
        * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
11401
        and _REENT_MBLEN_STATE macros.
11402
        * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
11403
        and _REENT_MBTOWC_STATE macros.
11404
        * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
11405
        and _REENT_WCTOMB_STATE macros.
11406
 
11407
2002-04-01  Till Straumann 
11408
 
11409
        * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
11410
 
11411
Wed Mar 27 07:34:44 2002  Jason Tishler 
11412
 
11413
        * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
11414
 
11415
Tue Mar 26 17:17:10 2002  J"orn Rennecke 
11416
 
11417
        * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
11418
        Store high part of leading bytes too.
11419
 
11420
2002-03-22  Richard Sandiford  
11421
 
11422
        * libm/math/ef_hypot.c: Increase scale factor to 68.
11423
 
11424
2002-03-13  Alexandre Oliva  
11425
 
11426
        * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
11427
        error.
11428
 
11429
2002-03-12  Jeff Johnston  
11430
 
11431
        * libc/sys/go32/access.c: Change license to relaxed license
11432
        used in identical file throughout newlib/libgloss.
11433
 
11434
2002-03-12  Richard Earnshaw  
11435
 
11436
        * libc/sys/arm/access.c: New file.
11437
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
11438
        * libc/sys/arm/Makefile.in: Regenerate.
11439
        * libc/sys/arm/syscalls.c (_stat): New function.
11440
 
11441
2002-03-11  Michael Meissner  
11442
 
11443
        * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
11444
        variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
11445
        * libc/machine/mips/Makefile.in: Regenerate.
11446
        * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
11447
        * libc/machine/mips/memset.c: Dito.
11448
        * libc/machine/mips/strcmp.c: Dito.
11449
        * libc/machine/mips/strlen.c: Dito.
11450
        * libc/machine/mips/strncmp.c: Dito.
11451
 
11452
2002-03-06  Jeff Johnston  
11453
 
11454
        * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
11455
        object so it works for shared library or statici library.
11456
2002-04-17  Jeff Johnston  
11457
 
11458
        *  libc/include/time.h (tzset, _tzset_r): Added prototypes.
11459
        (strptime): Moved prototype to be within !__STRICT_ANSI__.
11460
        (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
11461
        (tzname): Defined for all platforms.
11462
        (daylight, timezone): Defined only for CYGWIN.
11463
        *  libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
11464
        environment set up.
11465
        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
11466
        environment variable is set.
11467
        *  libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
11468
        tzset_r.c.
11469
        *  libc/time/Makefile.in: Regenerated.
11470
        *  libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
11471
        *  libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
11472
        *  libc/time/lcltime_r.c (lcltime_r): Ditto.
11473
        *  libc/time/local.h: New local header file.
11474
        *  libc/time/mktime.c (mktime): Add timezone support.
11475
        *  libc/time/mktm_r.c: New file which is the common engine
11476
        for gmtime_r and lcltime_r.  This code has timezone support.
11477
        *  libc/time/strftime.c (strftime): Add %Z timezone support.
11478
        *  libc/time/tzlock.c: New file containing timezone lock stubs.
11479
        *  libc/time/tzset.c: New file containing tzset() routine.
11480
        *  libc/time/tzset_r.c: New file containing _tzset_r and
11481
        internal routine for calculating timezone changes for specified year.
11482
 
11483
2002-04-17  Thomas Fitzsimmons  
11484
 
11485
        * configure.in (CRT0_DIR): Set to libc/.
11486
        (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
11487
        * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
11488
        $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
11489
        $(CRT1_DIR)/$(CRT1).
11490
        * libc/machine/xstormy16/Makefile.in: Regenerated.
11491
        * libc/machine/xstormy16/aclocal.m4: Regenerated.
11492
        * libc/machine/xstormy16/configure: Regenerated.
11493
 
11494
2002-04-13  Alexandre Oliva  
11495
 
11496
        * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
11497
        fails, don't bail out, and try to correct next time.
11498
 
11499
        * libc/include/sys/config.h: Include limits.h.
11500
 
11501
2002-04-12  Eric Norum  
11502
 
11503
        * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
11504
        routine to allow autoconf to determine that building executables
11505
        for rtems works.
11506
        (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
11507
        (rtems_gxx_mutex_once): Ditto.
11508
 
11509
2002-04-09  Tom Rix  
11510
 
11511
        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
11512
 
11513
2002-04-09  Mark Bradshaw  
11514
 
11515
        * libc/include/time.h: Fix strptime declaration.
11516
        * libc/time/Makefile.am: Add strptime.c.
11517
        * libc/time/Makefile.in: Regenerated.
11518
        * libc/time/strptime.c: New file.
11519
 
11520
2002-04-08  Jeff Johnston  
11521
 
11522
        * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
11523
        siglongjmp prototype, and sigsetjmp macro definition.
11524
        * libc/sys/linux/siglongjmp.c: New file.
11525
        * libc/sys/linux/Makefile.am: Add support for siglongjmp.
11526
        * libc/sys/linux/Makefile.in: Regenerated.
11527
 
11528
2002-04-04  Jeff Johnston  
11529
 
11530
        * Makefile.am: Add support for installing crt1.o if one exists.
11531
        * configure.host: Specify crt1.o for linux.
11532
        * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
11533
        * Makefile.in: Regenerated.
11534
        * configure: Ditto.
11535
        * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
11536
        Added for non-Cygwin, non-RTEMS configurations.
11537
        * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
11538
        * libc/sys/linux/Makefile.in: Regenerated.
11539
        * libc/sys/linux/crt1.c: New empty file to override one defaulted
11540
        by gcc.  This fixes problem with reconfiguring linux newlib build.
11541
        * libc/sys/linux/sysconf.c: New file.
11542
 
11543
2002-04-03  Jeff Johnston  
11544
 
11545
        * configure.host: Add support for machine subdirectory of
11546
        sys subdirectory.
11547
        * configure.in: Add check for sys machine subdirectory.
11548
        * Makefile.am: Ditto.
11549
        * configure: Regenerated.
11550
        * Makefile.in: Ditto.
11551
        * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
11552
        * libc/sys/linux/sys/syscall.h: Ditto.
11553
        * libc/sys/linux/sleep.c: New file.
11554
        * libc/sys/linux/socket.c: Ditto.
11555
        * libc/sys/linux/sockops.h: Ditto.
11556
        * libc/sys/linux/stack.c: Ditto.
11557
        * libc/sys/linux/usleep.c: Ditto.
11558
        * libc/sys/linux/machine/Makefile.am: Ditto.
11559
        * libc/sys/linux/machine/Makefile.in: Ditto.
11560
        * libc/sys/linux/machine/aclocal.m4: Ditto.
11561
        * libc/sys/linux/machine/configure: Ditto.
11562
        * libc/sys/linux/machine/configure.in: Ditto.
11563
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
11564
        * libc/sys/linux/machine/i386/Makefile.in: Ditto.
11565
        * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
11566
        * libc/sys/linux/machine/i386/configure: Ditto.
11567
        * libc/sys/linux/machine/i386/configure.in: Ditto.
11568
        * libc/sys/linux/machine/i386/crt0.c: Ditto.
11569
        * libc/sys/linux/machine/i386/sigset.c: Ditto.
11570
        * libc/sys/linux/machine/i386/sigstack.h: Ditto.
11571
        * libc/sys/linux/machine/i386/socketcall.h: Ditto.
11572
        * libc/sys/linux/machine/i386/syscall.h: Ditto.
11573
        * libc/sys/linux/sys/select.h: Ditto.
11574
        * libc/sys/linux/configure.in: Add support for machine directory.
11575
        * libc/sys/linux/Makefile.am: Ditto plus add new files above.
11576
        * libc/sys/linux/Makefile.in: Regenerated.
11577
        * libc/sys/linux/configure: Ditto.
11578
        * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
11579
        * libc/sys/linux/inode.c: Ditto.
11580
        * libc/sys/linux/linux.c: Ditto.
11581
        * libc/sys/linux/process.c: Ditto.
11582
        * libc/sys/linux/systat.c: Ditto.
11583
        * libc/sys/linux/time.c: Ditto.
11584
        * libc/sys/linux/wait.c: Ditto.
11585
        * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
11586
        * libc/sys/linux/io.c: Change header plus add readv/writev.
11587
        * libc/sys/linux/signal.c: Change header plus change sigsuspend to
11588
        use __sigsuspend syscall.
11589
        * libc/sys/linux/select.c: Change header plus change select to
11590
        use _newselect syscall.
11591
        * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
11592
        used by glibc header files.
11593
        * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
11594
        types.
11595
 
11596
2002-04-01  Jeff Johnston  
11597
 
11598
        * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
11599
        initializing a struct _reent that has been dynamically allocated.
11600
        (_REENT_CHECK_MISC): New macro that checks _misc struct for
11601
        _REENT_SMALL and does nothing otherwise.
11602
        (_REENT_STRTOK_LAST): New macro for reentrant strtok.
11603
        (_REENT_MBLEN_STATE): New macro for reentrant mblen.
11604
        (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
11605
        (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
11606
        [_REENT_SMALL](struct _misc_reent): New structure containing
11607
        miscellaneous reentrant areas needed by newlib.
11608
        [_REENT_SMALL](struct _reent): Add _misc pointer.
11609
        [_REENT_SMALL](_REENT_INIT_MISC): New macro.
11610
        * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
11611
        and _REENT_STRTOK_LAST macros.
11612
        * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
11613
        and _REENT_MBLEN_STATE macros.
11614
        * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
11615
        and _REENT_MBTOWC_STATE macros.
11616
        * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
11617
        and _REENT_WCTOMB_STATE macros.
11618
 
11619
2002-04-01  Till Straumann 
11620
 
11621
        * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
11622
 
11623
Wed Mar 27 07:34:44 2002  Jason Tishler 
11624
 
11625
        * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
11626
 
11627
Tue Mar 26 17:17:10 2002  J"orn Rennecke 
11628
 
11629
        * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
11630
        Store high part of leading bytes too.
11631
 
11632
2002-03-22  Richard Sandiford  
11633
 
11634
        * libm/math/ef_hypot.c: Increase scale factor to 68.
11635
 
11636
2002-03-13  Alexandre Oliva  
11637
 
11638
        * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
11639
        error.
11640
 
11641
2002-03-12  Jeff Johnston  
11642
 
11643
        * libc/sys/go32/access.c: Change license to relaxed license
11644
        used in identical file throughout newlib/libgloss.
11645
 
11646
2002-03-12  Richard Earnshaw  
11647
 
11648
        * libc/sys/arm/access.c: New file.
11649
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
11650
        * libc/sys/arm/Makefile.in: Regenerate.
11651
        * libc/sys/arm/syscalls.c (_stat): New function.
11652
 
11653
2002-03-11  Michael Meissner  
11654
 
11655
        * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
11656
        variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
11657
        * libc/machine/mips/Makefile.in: Regenerate.
11658
        * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
11659
        * libc/machine/mips/memset.c: Dito.
11660
        * libc/machine/mips/strcmp.c: Dito.
11661
        * libc/machine/mips/strlen.c: Dito.
11662
        * libc/machine/mips/strncmp.c: Dito.
11663
 
11664
2002-03-06  Jeff Johnston  
11665
 
11666
        * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
11667
        object so it works for shared library or statici library.
11668
        * libc/machine/i386/Makefile.in: Regenerated.
11669
 
11670
Wed Mar  6 10:24:26 2002  J"orn Rennecke 
11671
 
11672
        * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
11673
        Add memcpy.S, memset.S and strcpy.S.
11674
        * libc/machine/sh/Makefile.in: Regenerate.
11675
        * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
11676
        (SHHI, SHLO): Define.
11677
        * libc/machine/sh/memset.S: Add code for SH5.
11678
        * libc/machine/sh/memset.S: Likewise.
11679
        * libc/machine/sh/strcpy.S: Likewise.
11680
 
11681
2002-02-27  Jeff Johnston  
11682
 
11683
        * configure.host: Add check for --disable-newlib-io-float
11684
        configuration option and add -DNO_FLOATING_POINT to newlib cflags
11685
        if appropriate.
11686
        * acinclude.m4: Added --disable-newlib-io-float option.
11687
        * aclocal.m4: Regenerated.
11688
        * configure: Ditto.
11689
        * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11690
        * libc/*/aclocal.m4 libc/*/configure
11691
        * libm/*/aclocal.m4 libm/*/configure: Ditto.
11692
        * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
11693
        if NO_FLOATING_POINT flag is not defined.
11694
 
11695
2002-02-25  Jeff Johnston  
11696
 
11697
        * libc/include/sys/config.h: Add __extension__ in front of
11698
        long long references.
11699
 
11700
2002-02-23  Corinna Vinschen  
11701
 
11702
        * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
11703
        (_stat): Ditto.
11704
 
11705
2002-02-23  Corinna Vinschen  
11706
 
11707
        * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
11708
        of off_t.
11709
 
11710
2002-02-20  Nick Clifton  
11711
 
11712
        * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
11713
        clobbered registers.
11714
 
11715
2002-02-19  Thomas Fitzsimmons  
11716
 
11717
        * configure.host (newlib_cflags): When host is in m68* add
11718
        -DCOMPACT_CTYPE.
11719
 
11720
2002-02-15  Jeff Johnston  
11721
 
11722
        * libc/include/sys/config.h: Add definitions for
11723
        __int16_t, __uint16_t, __int64_t, and __uint64_t.
11724
 
11725
2002-02-12  Hans-Peter Nilsson  
11726
 
11727
        * libc/sys/mmixware/link.c: New.
11728
        * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
11729
        volatile.
11730
        * libc/sys/mmixware/times.c (_times): Renamed from times.
11731
        * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
11732
        properly by reading previous contents, not through BinaryReadWrite.
11733
        * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
11734
        * libc/sys/mmixware/Makefile.in: Regenerate.
11735
 
11736
2002-02-10  Corinna Vinschen  
11737
 
11738
        * libc/include/grp.h: Don't declare group functions when compiling
11739
        Cygwin.
11740
 
11741
2002-02-09  Corinna Vinschen  
11742
 
11743
        * libc/include/grp.h: Include Cygwin specific header.
11744
        * libc/include/sys/stat.h: Ditto.  Don't define `struct stat'
11745
        when compiling for Cygwin.
11746
        * libc/include/sys/types.h: Don't define off_t, uid_t
11747
        and gid_t when compiling for Cygwin.
11748
 
11749
2002-02-08  matthew green  
11750
 
11751
        * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
11752
        _REENT_EMERGENCY_SIZE, not sizeof(char *).
11753
 
11754
2002-02-08  Alexandre Oliva  
11755
 
11756
        Contribute sh64-elf.
11757
        2001-03-13  Alexandre Oliva  
11758
        * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
11759
        support in printf.
11760
        2001-01-29  Alexandre Oliva  
11761
        * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
11762
        any labels.
11763
        2001-01-24  Alexandre Oliva  
11764
        * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
11765
        2000-12-16  Alexandre Oliva  
11766
        * libc/machine/sh/configure.in: Rework conditionals.
11767
        * libc/machine/sh/Makefile.am: Likewise.
11768
        * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
11769
        2000-12-01  Alexandre Oliva  
11770
        * configure.host: Match `sh*'.
11771
        * libc/include/machine/setjmp.h: Define for SH5.
11772
        * libc/machine/sh/configure.in: Detect SH5.
11773
        * libc/machine/sh/configure: Rebuilt.
11774
        * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
11775
        * libc/machine/sh/Makefile.in: Rebuilt.
11776
        * libc/machine/sh/asm.h: Adjust for SH5.
11777
        * libc/machine/sh/setjmp.S: Implement in SHmedia.
11778
        * libc/sys/sh/crt0.S: Likewise.
11779
        * libc/sys/sh/trap.S: Likewise.
11780
 
11781
2002-02-07  Jeff Johnston  
11782
 
11783
        * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
11784
        (mach_add_obj): Conditionally set to setjmp.o or nothing.
11785
        (LIB_SOURCES): Remove $(mach_add_src).
11786
        (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
11787
        (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
11788
        * libc/machine/i386/Makefile.in: Regenerate.
11789
 
11790
2002-02-05  Manik Raina 
11791
 
11792
        * libc/misc/dprintf.c (parse_number): #if 0 unused function.
11793
        * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
11794
        s, p, k, and outstr.
11795
        * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
11796
 
11797
2002-02-04  Jeff Johnston  
11798
 
11799
        * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
11800
        _REENT_CHECK_EMERGENCY macro.
11801
 
11802
2002-02-03  matthew green  
11803
 
11804
        * libc/reent/signgam.c (__signgam): Fix error in previous.
11805
 
11806
2002-02-02  matthew green  
11807
 
11808
        * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
11809
 
11810
        * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
11811
        * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
11812
        * libc/include/sys/reent.h (struct _reent): Completely new version
11813
        for _REENT_SMALL.
11814
        (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
11815
        (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
11816
        (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
11817
        (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
11818
        (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
11819
        (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
11820
        (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
11821
        (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
11822
        (_REENT_EMERGENCY): Likewise.
11823
 
11824
        * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
11825
        the start of the real __sFILE, used for stdin, stdout and stderr until
11826
        they are setup properly.
11827
        (struct __sFILE): Move location of _data in _REENT_SMALL case.
11828
        * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
11829
        allocated stdin, stdout and stderr.
11830
        * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
11831
        * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
11832
        * libc/stdio/perror.c (_perror_r): Likewise.
11833
        * libc/stdio/printf.c (printf, _printf_r): Likewise.
11834
        * libc/stdio/putchar.c (_putchar_r): Likewise.
11835
        * libc/stdio/puts.c (_puts_r): Likewise.
11836
        * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
11837
        * libc/stdio/vprintf.c (vprintf): Likewise.
11838
        * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
11839
 
11840
        * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
11841
 
11842
        * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
11843
        * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
11844
        for _REENT_SMALL.
11845
        * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
11846
        * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
11847
 
11848
        * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
11849
        _REENT_SMALL.
11850
        * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
11851
        * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
11852
        * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
11853
        * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
11854
        * libc/stdlib/rand48.c (__dorand48): Likewise.
11855
        * libc/stdlib/seed48.c (_seed48_r): Likewise.
11856
        * libc/stdlib/srand48.c (_srand48_r): Likewise.
11857
        * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
11858
        as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
11859
        * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP().  Use
11860
        _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
11861
        * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
11862
        * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
11863
        * libc/stdlib/rand.c (rand): Likewise.
11864
 
11865
        * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
11866
        * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
11867
 
11868
        * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP.  Use
11869
        _REENT_MP_FREELIST() and _REENT_MP_P5S.
11870
        * libc/include/sys/reent.h (struct _mprec): New structure.
11871
 
11872
        * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
11873
        _unused_strtok_last.
11874
        * libc/string/strtok.c (strtok): Use a local static variable.
11875
 
11876
        * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
11877
        (_REENT_EMERGENCY_SIZE): Likewise.
11878
        * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF().  Use
11879
        _REENT_ASCTIME_BUF().
11880
        * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM().  Use
11881
        _REENT_TM().
11882
 
11883
        * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
11884
        * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
11885
        * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
11886
        * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
11887
        * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
11888
        * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
11889
 
11890
2002-02-01  Geoffrey Keating  
11891
 
11892
        * configure.host (xstormy16): Don't use the generic malloc.
11893
        * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
11894
        * libc/machine/xstormy16/Makefile.in: Regenerate.
11895
        * libc/machine/xstormy16/mallocr.c: New file.
11896
        * libc/machine/xstormy16/tiny-malloc.c: New file.
11897
 
11898
2002-01-28  Thomas Fitzsimmons  
11899
 
11900
        * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
11901
        when _CYGWIN_TYPES_H is not defined.
11902
 
11903
2002-01-24  Thomas Fitzsimmons  
11904
 
11905
        * libc/include/sys/signal.h: Revert 2002-01-23 change.
11906
 
11907
2002-01-23  Thomas Fitzsimmons  
11908
 
11909
        * libc/include/sys/signal.h: Remove pthread_kill declaration
11910
        when __CYGWIN__ is defined.
11911
 
11912
2002-01-18  Mark Bradshaw  
11913
 
11914
        * libc/include/time.h: Add prototype for strptime for Cygwin.
11915
 
11916
2002-01-17  Nick Clifton  
11917
 
11918
        * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
11919
        dst was not word aligned.
11920
 
11921
        * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
11922
        if too much memory is requested.
11923
 
11924
2002-01-11 Jeff Johnston  
11925
 
11926
        * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
11927
        reads blanks from the input file to break if EOF reached
11928
        rather than end processing.
11929
 
11930
2002-01-07 Jeff Johnston  
11931
 
11932
        * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
11933
 
11934
2002-01-07 Alan Matsuoka 
11935
 
11936
        * libc/include/machine/ieeefp.h: Configure d10v doubles to
11937
        be 32 bits if __DOUBLE__ == 32  otherwise doubles are 64 bits.
11938
        libc/include/sys/config.h: Ditto.
11939
 
11940
2001-12-28  Corinna Vinschen  
11941
 
11942
        * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
11943
 
11944
2001-12-22  Geoffrey Keating  
11945
            Catherine Moore  
11946
            Richard Henderson  
11947
            Corinna Vinschen  
11948
 
11949
        * configure.host: Add support for xstormy16.
11950
        * libc/include/machine/ieeefp.h: Add support for xstormy16.
11951
        * libc/include/machine/setjmp.h: Add support for xstormy16.
11952
        * libc/include/sys/config.h: Add support for xstormy16.
11953
        * libc/machine/xstormy16/Makefile.am: New file.
11954
        * libc/machine/xstormy16/Makefile.in: New file.
11955
        * libc/machine/xstormy16/aclocal.m4: New file.
11956
        * libc/machine/xstormy16/configure: New file.
11957
        * libc/machine/xstormy16/configure.in: New file.
11958
        * libc/machine/xstormy16/setjmp.S: New file.
11959
 
11960
2001-12-19  Thomas Fitzsimmons  
11961
 
11962
        * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
11963
        * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
11964
 
11965
2001-12-19  Corinna Vinschen  
11966
 
11967
        * libm/machine/Makefile.am: Change rules to create correct lib.a.
11968
        * libm/machine/Makefile.in: Regenerated through automake.
11969
 
11970
2001-12-18  Thomas Fitzsimmons  
11971
 
11972
        * Makefile.am (DOCDIR): Force to empty string when doc
11973
        directory is not present.
11974
 
11975
2001-12-18  Thomas Fitzsimmons  
11976
 
11977
        * libc/machine/i386/f_*: Move to libm/machine/i386.
11978
 
11979
2001-12-18      Joel Sherrill 
11980
 
11981
        * libm/machine/Makefile.am: Add dummy doc stub so
11982
        "make info" works.
11983
 
11984
2001-12-17      Joel Sherrill 
11985
 
11986
        * libc/include/sys/types.h (ino_t): RTEMS uses long also.
11987
 
11988
2001-12-17  Thomas Fitzsimmons  
11989
 
11990
        * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
11991
        $(COMPILE) rather than $(CC).
11992
        * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
11993
        (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
11994
        $(LIB_COMPILE) change.
11995
        (vfiprintf.$(oext)): Likewise.
11996
 
11997
2001-12-17  Corinna Vinschen  
11998
 
11999
        * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
12000
        conditionalized including of getopt stuff.
12001
 
12002
2001-12-14  Thomas Fitzsimmons  
12003
 
12004
        * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
12005
        compile line.
12006
        (vfiprintf.$(oext)): Likewise.
12007
 
12008
2001-12-13  Thomas Fitzsimmons  
12009
 
12010
        * Makefile.shared: New file.
12011
        * libc/sys/linux/shared.ld: New file.
12012
        * libm/machine/*: New files.
12013
        * libm/machine/i386/*: New files.
12014
        * Makefile.am: Add libtool support.  Change math and mathfp
12015
        references to variables.
12016
        * configure.host: Add variables for libtool support.  Add
12017
        libm_machine_dir variable.
12018
        * configure.in: Add objectlist variables, for libtool
12019
        support.  Add CC_FOR_BUILD tests.
12020
        * libc/Makefile.am: Add libtool support.  Change crt0.o
12021
        reference to be a variable reference.
12022
        * libc/configure.in: Add libtool support.  Change sublib
12023
        names to be lib${subdir}.la when using libtool.
12024
        * libc/ctype/Makefile.am: Add libtool support.
12025
        * libc/errno/Makefile.am: Likewise.
12026
        * libc/locale/Makefile.am: Likewise.
12027
        * libc/machine/Makefile.am: Likewise.
12028
        * libc/machine/configure.in: Likewise.
12029
        * libc/machine/i386/Makefile.am: Likewise.
12030
        * libc/machine/i386/configure.in: Likewise.
12031
        * libc/misc/Makefile.am: Likewise.
12032
        * libc/posix/Makefile.am: Likewise.
12033
        * libc/reent/Makefile.am: Likewise.
12034
        * libc/signal/Makefile.am: Likewise.
12035
        * libc/stdio/Makefile.am: Likewise.
12036
        * libc/stdlib/Makefile.am: Likewise.
12037
        * libc/string/Makefile.am: Likewise.
12038
        * libc/sys/Makefile.am: Likewise.
12039
        * libc/sys/configure.in: Likewise.
12040
        * libc/sys/linux/Makefile.am: Add libtool support.  Change
12041
        awk reference to a variable reference.  Change signal.h
12042
        reference to a variable reference.
12043
        * libc/sys/linux/configure.in: Add libtool support.
12044
        * libc/syscalls/Makefile.am: Likewise.
12045
        * libc/time/Makefile.am: Likewise.
12046
        * libc/unix/Makefile.am: Likewise.
12047
        * libm/Makefile.am: Add libtool support.  Change math and
12048
        mathfp references to variables.
12049
        * libm/configure.in: Add libtool support.  Add
12050
        LIBM_MACHINE_LIB variable.
12051
        * libm/common/Makefile.am: Add libtool support.
12052
        * libm/math/Makefile.am: Likewise.
12053
        * libm/mathfp/Makefile.am: Likewise.
12054
        Regenerate all Makefile.in, aclocal.m4, and configure.
12055
 
12056
2001-12-13 Anita Kulkarni 
12057
 
12058
        * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
12059
 
12060
2001-12-06  John Peacock 
12061
 
12062
        * libc/include/sys/unistd.h: Correct ualarm declaration.
12063
 
12064
2001-12-05  Nick Clifton  
12065
 
12066
        * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
12067
        vector before calling the initialisation functions.
12068
 
12069
2001-11-29  Christopher Faylor  
12070
 
12071
        * libc/include/dirent.h: Protect against multiple inclusion.
12072
 
12073
2001-11-27  Christopher Faylor  
12074
 
12075
        * libc/include/sys/types.h: Define useconds_t.
12076
        * libc/include/sys/ulimit.h: Declare ualarm.
12077
 
12078
2001-11-21  Christopher Faylor  
12079
 
12080
        * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
12081
 
12082
2001-11-19  Hans-Peter Nilsson  
12083
 
12084
        * libc/sys/mmixware/*: Tweak license header in all source files.
12085
 
12086
2001-11-12  Corinna Vinschen  
12087
 
12088
        * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
12089
        to here.  Rearrange for general inclusion by stdlib.h.
12090
        * libc/include/stdlib.h: Include  if __STRICT_ANSI__
12091
        isn't defined.
12092
        * libc/sys/linux/include/alloca.h: Move to libc/include.
12093
 
12094
2001-11-12  Anthony Green  
12095
 
12096
        * libc/sys/arm/crt0.S (__stack_base__): New symbol.
12097
 
12098
2001-11-13  Hans-Peter Nilsson  
12099
 
12100
        * libc/sys/mmixware/*: Correct spacing in all source files.
12101
        * libc/sys/mmixware/syscall.h: Move misplaced file...
12102
        * libc/sys/mmixware/sys/syscall.h: ...here.
12103
 
12104
2001-11-12  Hans-Peter Nilsson  
12105
 
12106
        * libc/include/machine/ieeefp.h: Add support for mmix target.
12107
        * libc/include/machine/setjmp.h: Ditto.
12108
        * configure.host: Ditto.
12109
        * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
12110
        libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
12111
        libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
12112
        libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
12113
        libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
12114
        libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
12115
        libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
12116
        libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
12117
        libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
12118
        libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
12119
        libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
12120
        libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
12121
        libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
12122
        libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
12123
        libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
12124
        libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
12125
        * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
12126
        libc/sys/mmixware/aclocal.m4: Generate.
12127
 
12128
2001-11-05  Corinna Vinschen  
12129
 
12130
        * libc/include/sys/unistd.h: Add prototypes for endusershell(),
12131
        getusershell(), iruserok(), revoke(), ruserok() and setusershell()
12132
        when __CYGWIN__ is defined.
12133
        * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
12134
        logwtmp().
12135
 
12136
2001-11-01  Arati Dikey  
12137
 
12138
        * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
12139
        [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
12140
        * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
12141
        [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
12142
 
12143
2001-10-24  Christopher Faylor  
12144
 
12145
        * libc/stdio/fseek.c: Reset pointer to buffer base
12146
        when forced to seek outside of current buffer contents.
12147
        This prevents the code from erroneously thinking there is
12148
        anything in the current buffer.
12149
 
12150
2001-10-22  Geoffrey Keating  
12151
 
12152
        * libc/include/math.h: The C++ standard adds the single-precision
12153
        versions of the elementary functions.
12154
 
12155
2001-10-22  Christopher Faylor  
12156
 
12157
        * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
12158
        throughout.
12159
        * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
12160
        * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
12161
        * system.c (_system_r): Ditto.
12162
 
12163
2001-10-17  Corinna Vinschen  
12164
 
12165
        * libc/include/sys/unistd.h: Add prototype for fchdir() when
12166
        __CYGWIN__ or __rtems__ is defined.
12167
 
12168
2001-10-01  Charles Wilson  
12169
 
12170
        * libc/include/stdlib.h: add declarations for
12171
        _strtoull_r, _strtoll_r, strtoull, and strtoll.
12172
        * libc/stdio/local.h: remove declarations of
12173
        __strtoull_r and __strtoll_r.
12174
        * libc/stdio/vfscanf.c(__svfscanf_r): call
12175
        _strtoull_r instead of __strtoull_r. Ditto
12176
        _strtoll_r vs. __strtoll_r.
12177
        * libc/stdlib/Makefile.am: add new files to
12178
        .c list and .def list
12179
        * libc/stdlib/Makefile.in: regenerate
12180
        * libc/stdlib/strtoll_r.c: rename __strtoll_r
12181
        as _strtoll_r
12182
        * libc/stdlib/strtoull_r.c: rename __strtoull_r
12183
        as _strtoull_r
12184
        * libc/stdlib/strtoull.c: new file
12185
        * libc/stdlib/strtoll.c: new file
12186
 
12187
Mon Sep 17 17:29:47 2001  Christopher Faylor 
12188
 
12189
        * libc/include/process.h: Add getpid() declaration.
12190
 
12191
2001-09-14  Nick Clifton  
12192
 
12193
        * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
12194
        for new style arm/elf ctor/dtor handling.
12195
        Minor formatting tidy up.
12196
 
12197
2001-09-13  Jeff Johnston  
12198
 
12199
        * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
12200
        and strtoull_r.c.
12201
        * libc/stdlib/Makefile.in: Regenerated.
12202
        * libc/stdlib/strtoll_r.c: New file.
12203
        * libc/stdlib/strtoull_r.c: New file.
12204
        * libc/stdio/local.h: Add prototypes for long long string
12205
        conversion routines.
12206
        * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
12207
        tied to %L integer conversion specifier.
12208
 
12209
Thu Sep 13 08:49:49 2001  Jason Tishler 
12210
 
12211
        * strftime.c (strftime): Fix "%W" implementation to properly handle
12212
        Mondays too.
12213
 
12214
2001-09-07  Jeff Law  
12215
 
12216
        * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
12217
        __fini with "mov.l" instead of "mov.w".
12218
 
12219
2001-09-05  Corinna Vinschen  
12220
 
12221
        * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
12222
        and getopt.h.
12223
 
12224
2001-09-04  Jason Merrill  
12225
 
12226
        * libc/sys/h8300hms/crt0.S: Support ELF initialization.
12227
 
12228
2001-09-03  Corinna Vinschen  
12229
 
12230
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
12231
        field.
12232
        (__DIRENT_VERSION): New define.
12233
 
12234
2001-09-03  Corinna Vinschen  
12235
 
12236
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
12237
        Shrink __d_reserved accordingly to keep structure size.
12238
        (dirfd): Declare external.
12239
 
12240
2001-08-29  Joel Sherrill 
12241
 
12242
        * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
12243
 
12244
2001-08-29  Ralf Corsepius 
12245
 
12246
        * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
12247
          libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
12248
          libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
12249
          libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
12250
          libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
12251
          libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
12252
          libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
12253
          libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
12254
        Add conditional compilation to avoid HW FPU instructions
12255
        when compiled for soft-float.
12256
 
12257
2001-08-29  Jeff Johnston  
12258
 
12259
        * Makefile.am: Add check for ln failing when creating libg.a
12260
        so that cp gets used as a backup.
12261
        * Makefile.in: Regenerated.
12262
 
12263
2001-08-29  Jeff Johnston  
12264
 
12265
        * libc/include/sys/reent.h: Add include of .
12266
        No longer include time.h.  Add struct __tm to use for
12267
        _localtime_buf in the reentrant structure.  Add a
12268
        _NULL definition to use in initializing the reentrant struct.
12269
        * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
12270
        the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
12271
        .
12272
        * libc/include/sys/unistd.h: Include .
12273
        * libc/time/lcltime.c (localtime): Cast the reentrant struct
12274
        _localtime_buf to be struct tm *.
12275
 
12276
Wed Aug 29 14:17:38 2001  J"orn Rennecke 
12277
 
12278
        * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
12279
        * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
12280
        __ctors_end.
12281
        * libc/sys/h8300hms/syscalls.c: Include errno.h.
12282
        (_unlink): New stub function.
12283
 
12284
Sat Aug 25 22:22:25 2001  Christopher Faylor 
12285
 
12286
        * libc/include/sys/errno.h: Add a cautionary comment.
12287
 
12288
2001-08-21  Jeff Johnston  
12289
 
12290
        * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
12291
        for SIZE_SZ so that alignment ends up a minimum of 8.
12292
 
12293
Mon Aug 13 22:26:01 2001  Christopher Faylor 
12294
 
12295
        * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
12296
        arguments.
12297
 
12298
        * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
12299
        Cygwin.
12300
 
12301
2001-08-13  Jeff Johnston  
12302
 
12303
        * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
12304
        macro constants for mallopt options.
12305
        (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
12306
 
12307
2001-08-02  Jeff Johnston  
12308
 
12309
        * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
12310
        otherwise default.
12311
 
12312
2001-07-12  Aldy Hernandez  
12313
 
12314
        * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
12315
 
12316
2001-06-27  Nick Clifton  
12317
 
12318
        * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
12319
        Define for little endian ARMs.
12320
 
12321
        * libc/stdlib/mprec.h (Storeinc): Use little endian version if
12322
        __IEEE_BYTES_LITTLE_ENDIAN is defined.
12323
 
12324
2001-06-11  Danny Smith  
12325
 
12326
        * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
12327
 
12328
2001-06-11  Egor Duda  
12329
 
12330
        * libc/ctype/ctype_.c: When compiled with gcc on platforms
12331
        with signed char, make _ctype_[-128] ... _ctype[-1] refer to
12332
        initialized memory region. Platform can define COMPACT_CTYPE
12333
        to avoid allocation of the additional 128 bytes of data.
12334
        Add pointer to _ctype_ array. Always initialize all _ctype_
12335
        array elements.
12336
 
12337
2001-06-08  Jonathan Larmour  
12338
 
12339
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
12340
        NULL pointer.
12341
 
12342
2001-05-28  Nick Clifton  
12343
 
12344
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
12345
 
12346
2001-05-25  Nick Clifton  
12347
 
12348
        * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
12349
        matching, non-word alignment, and the length is <= 4 but more than
12350
        enough to move them over a word boundary.
12351
        Add comments explaining what each instruction does.
12352
 
12353
Mon May  7 20:39:25 2001  Christopher Faylor 
12354
 
12355
        * libc/include/sys/stat.h: Revert March 3, Cygwin change.
12356
        * libc/include/sys/unistd.h: Ditto.
12357
 
12358
2001-05-04  Earnie Boyd  
12359
 
12360
        * libc/string/strrchr.c: Use strchr for the speed improvements.
12361
 
12362
2001-05-01  Jeff Johnston  
12363
 
12364
        * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
12365
        real file systems, let __smakebuf() determine if line buffering
12366
        should be used for stdout.
12367
 
12368
2001-04-27  Jeff Johnston  
12369
 
12370
        * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
12371
 
12372
2001-04-27  Jeff Johnston  
12373
 
12374
        * libc/include/stdlib.h: Add prototype for _strtod_r.
12375
 
12376
2001-04-24  Charles Wilson  
12377
 
12378
        * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
12379
        * libc/stdio/vprintf.c (_vprintf_r): new function
12380
        * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
12381
        * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
12382
        _DEFUN, and call _vfprintf_r, not vfprintf.
12383
        * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
12384
        * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
12385
        _DEFUN, and call _vfprintf_r, not vfprintf.
12386
 
12387
2001-04-22  Earnie Boyd  
12388
 
12389
        * libc/include/sys/unistd.h [X_OK]: Use better protection against
12390
        Cygwin X_OK definitions in sys/file.h.
12391
 
12392
Fri Apr 20 23:17:51 2001  Christopher Faylor 
12393
 
12394
        * libc/include/sys/time.h: Define timercmp and other macros for
12395
        __CYGWIN__, too.
12396
 
12397
2001-04-20  Jeff Johnston  
12398
 
12399
        * acinclude.m4: Added --enable-malloc-debugging configure flag.
12400
        * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
12401
        --enable-malloc-debugging selected.
12402
        * aclocal.m4 configure: Regenerated.
12403
          libm/aclocal.m4 libm/configure: Ditto.
12404
        * libc/aclocal.m4 libc/configure: Ditto.
12405
        * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
12406
        * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
12407
        * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
12408
        * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
12409
        * doc/aclocal.m4 doc/configure: Ditto.
12410
 
12411
2001-04-20  Jeff Johnston  
12412
 
12413
        * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
12414
        into one list.
12415
        [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
12416
        (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
12417
        function prototypes.
12418
        (_fscanf_r, _sscanf_r): Ditto.
12419
        * libc/include/stdlib.h: Added _strtod_r prototype.
12420
        * libc/stdio/Makefile.am: Add new v*scanf functions.
12421
        * libc/stdio/Makefile.in: Regenerate.
12422
        * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
12423
        and code is shared.  Added reentrant _fscanf_r which calls __svfscanf_r.
12424
        * libc/stdio/scanf.c: Changed to call __svfscanf_r.
12425
        * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
12426
        (sscanf): Changed to call __svfscanf_r with _REENT argument.
12427
        (_sscanf_r): New routine.
12428
        * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
12429
        with __svfscanf_r prototype.
12430
        * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
12431
        routines.
12432
        (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
12433
        structure as argument as calls reentrant versions of helper functions
12434
        (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
12435
        to _strtol_r and _strtod_r respectively.
12436
        * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
12437
        * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
12438
        _REENT argument.
12439
        * libc/stdio/vscanf.c: New file.
12440
        * libc/stdio/vsscanf.c: Ditto.
12441
 
12442
2001-04-19  Robert Collins  
12443
 
12444
        * include/time.h[__CYGWIN__]:  Define tzname to _tzname if not defined.
12445
        Define daylight to _daylight if it is not defined
12446
        Prepare a variable export of timezone based on timezonevariable.
12447
        (Cannot be used with the timezone() function.)
12448
 
12449
2001-04-17  Stephen L. Moshier  
12450
 
12451
        * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
12452
         Correct the numerical values.
12453
 
12454
2001-04-13  Robert Collins 
12455
 
12456
        * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
12457
 
12458
Thu Apr 12 23:11:00 2001  Corinna Vinschen 
12459
 
12460
        * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
12461
        on case insensitve file systems.
12462
 
12463
2001-04-12  Robert Collins 
12464
 
12465
        * libc/include/sys/features.h: Add appropriate defines for Cygwin
12466
        pthread support.
12467
        * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
12468
        * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
12469
        types.  Include  for the cygwin specific typedefs.
12470
 
12471
2001-04-04  Richard Sandiford  
12472
 
12473
        * libc/include/machine/ieeefp.h: Comment about new configuration
12474
        macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
12475
        * libm/common/fdlib.h: Define new macros for testing floats.
12476
        * libm/common/sf_*: Use them.
12477
        * libm/math/ef_*: Likewise.
12478
        * libm/math/sf_*: Likewise.
12479
 
12480
2001-03-29  Jeff Johnston  
12481
 
12482
        * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
12483
        prolog to by-pass possible assembler error.
12484
 
12485
2001-03-21  Egor Duda  
12486
 
12487
        Allow building internal stubs for non-reentrant syscalls
12488
        if target provides its own malloc
12489
        * libc/reent/reent.c (errno): Move definition here.
12490
        * libc/reent/sbrkr.c: From here.
12491
 
12492
2001-03-20  Danny Smith 
12493
 
12494
        * libc/include/sys/types.h (BSD int typedefs): Guard with
12495
        _BSDTYPES_DEFINED rather than _WINSOCK_H.
12496
        (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
12497
        _SYS_TYPES_FD_SET.
12498
        * libc/include/sys/unistd.h (gethostname): Don't declare if defined
12499
        (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
12500
 
12501
Sat Mar 17 18:30:00 2001  Corinna Vinschen 
12502
 
12503
        * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
12504
        _PC_POSIX_SECURITY constants for Cygwin.
12505
 
12506
Wed Mar 14  9:34:00 2001  Corinna Vinschen 
12507
 
12508
        * libc/sys/cygwin/crt0.c: Add copyright hint.
12509
        * libc/sys/cygwin/sys/dirent.h: Ditto.
12510
        * libc/sys/cygwin/sys/param.h: Ditto.
12511
        * libc/sys/cygwin/sys/utime.h: Ditto.
12512
        * libc/sys/cygwin/sys/utmp.h: Ditto.
12513
 
12514
2001-03-13  Alexandre Oliva  
12515
 
12516
        * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
12517
        equivalent to LONGINT.
12518
 
12519
2001-03-08  Richard Sandiford  
12520
 
12521
        * (libc/include/machine/setjmp.h): Use 23 long long ints for a
12522
        jmpbuf on MIPS64 targets.
12523
        * (libc/machine/mips/setjmp.S): Add MIPS64 version.
12524
 
12525
Wed Mar  7 16:02:07 2001  Christopher Faylor 
12526
 
12527
        * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
12528
          declarations.
12529
 
12530
Mon Mar  5 21:48:54 2001  J"orn Rennecke 
12531
 
12532
        * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
12533
        For RTEMS, define to be ssize_t.  Default to int if not defined.
12534
        * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
12535
        * libc/stdio/stdio.c (__sread, __swrite): Likewise.
12536
        * libc/stdio/local.h (__sread, __swrite): Likewise.
12537
        * libc/include/sys/reent.h (_read, _write): Likewise.
12538
        * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
12539
        * libc/syscalls/sysread.c (read): Likewise.
12540
        * libc/syscalls/syswrite.c (write): Likewise.
12541
 
12542
2001-03-05  Jeff Johnston  
12543
 
12544
        * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
12545
 
12546
Sat Mar  3 00:34:14 2001  Christopher Faylor 
12547
 
12548
        * libc/include/sys/stat.h: Use special defines for executable stat bits
12549
        when compiling for Cygwin.
12550
        * libc/include/sys/unistd.h: Use special define for X_OK when compiling
12551
        for Cygwin.
12552
 
12553
2001-03-02  Jeff Johnston  
12554
 
12555
        * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
12556
        of strtok_r is always defined.
12557
 
12558
2001-03-02  Jeff Johnston  
12559
 
12560
        * libc/include/machine/ansi.h: New dummy header file.
12561
 
12562
2001-02-22  Jeff Johnston  
12563
 
12564
        * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
12565
        changed the copyright information to allow free modification of the
12566
        file with no reference to "copying.dj".
12567
        * libc/include/sys/stat-dj.h: Ditto.
12568
        * libc/machine/i386/setjmp.S: Ditto.
12569
        * libc/sys/h8300hms/sys/file.h: Ditto.
12570
        * libc/sys/sysmec/access.c: Ditto.
12571
        * libc/sys/sysnecv850/access.c: Ditto.
12572
        * libc/stdio/mktemp.c: Fixed typo for the word copyright.
12573
        * libc/stdlib/getenv_r.c: Ditto.
12574
        * libc/stdlib/putenv_r.c: Ditto.
12575
        * libc/stdlib/setenv_r.c: Ditto.
12576
        * libc/stdlib/getenv.c: Removed DJ reference since any possible
12577
        modifications will now be in the _r version of this file.
12578
        * libc/stdlib/putenv.c: Ditto.
12579
        * libc/stdlib/setenv.c: Ditto.
12580
        * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
12581
        valid.  Added a reference to DJ's web page that contains his address.
12582
        * libc/sys/go32/*.s: Removed references to DJ's old address.
12583
        * libc/sys/go32/*.c: Ditto.
12584
        * libc/sys/go32/*.h: Ditto.
12585
        * libc/sys/go32/*.S: Ditto.
12586
        * libc/sys/go32/sys/*.h: Ditto.
12587
 
12588
2001-02-21  Jeff Johnston  
12589
 
12590
        * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
12591
        HAVE_FCNTL flag check.
12592
        * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
12593
        powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
12594
 
12595
Thu Feb 15 01:39:51 2001  Christopher Faylor 
12596
 
12597
        * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
12598
 
12599
2001-02-14  Kazuhiro Fujieda  
12600
 
12601
        * libc/include/stdlib.h: Add declarations of rand48 functions and
12602
        their reentrant versions.
12603
        * libc/include/sys/reent.h: Move macros from rand48.h. Add
12604
        struct _rand48 for shared parameters of rand48 functions.
12605
        (struct _reent): Add a variable _r48 of struct _rand48.
12606
        (_REENT_INIT): Add _r48 initialization.
12607
        * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
12608
        (CHEWOUT_FILES): Add rand48.def.
12609
        * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
12610
        * libc/stdlib/Makefile.in: Regenerated.
12611
        * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
12612
        NetBSD C library.
12613
        * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
12614
        * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
12615
        * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
12616
        * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
12617
        * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
12618
        * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
12619
        * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
12620
        * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
12621
        * libc/stdlib/rand48.c (__dorand48): Ditto.
12622
        * libc/stdlib/rand48.h: Ditto, and modify declarations of global
12623
        parameters into macros referring them in the reentrant structure.
12624
 
12625
2001-02-12  Jeff Johnston  
12626
 
12627
        * libc/include/sys/stat.h: Add mknod for Cygwin now that
12628
        Cygwin definition has correct prototype.
12629
 
12630
2001-02-08  Jeff Johnston  
12631
 
12632
        * libc/include/sys/stat.h: Must revert change for mknod
12633
        for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
12634
        prototype.
12635
 
12636
2001-02-08  Jeff Johnston  
12637
 
12638
        * libc/include/stdio.h: Revert putw prototype.
12639
 
12640
2001-02-08  Edward M. Lee  
12641
 
12642
        * libc/include/grp.h: add prototype for initgroups.
12643
        * libc/include/stdio.h: fix prototype for putw.
12644
        * libc/include/sys/signal.h: add prototype for killpg.
12645
        * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
12646
        * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
12647
        vhangup and remove duplicate sysconf prototype.
12648
 
12649
2001-02-07  Jeff Johnston  
12650
 
12651
        * libc/sys/rtems/sys/types.h: Removed.
12652
 
12653
2001-02-05  Charles Wilson  
12654
 
12655
        * libc/include/locale.h: add LC_MESSAGES definition
12656
 
12657
2001-02-01  Alexandre Oliva  
12658
 
12659
        * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
12660
        SYS_get_argN):
12661
        * libc/sys/sh/syscalls.c (__setup_argv_for_main,
12662
        __setup_argv_and_call_main): New.
12663
 
12664
2001-01-31  Jeff Johnston  
12665
 
12666
        * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
12667
        if defined.
12668
        (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
12669
        (L_tmpnam): Changed to use __L_tmpnam__ if defined.
12670
        * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
12671
        appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
12672
 
12673
Mon Jan 29 23:03:06 2001  Christopher Faylor 
12674
 
12675
        * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
12676
        compiling under Cygwin.
12677
 
12678
2001-01-29  Jeff Johnston  
12679
 
12680
        * libc/include/math.h (signgam): Change to errno-like solution
12681
        using a function to return the address of the real signgam.
12682
        * libc/reent/signgam.c: New file containing __signgam().
12683
        * libc/reent/Makefile.am: Added signgam.c to list of files.
12684
        * libc/reent/Makefile.in: Regenerated.
12685
 
12686
2001-01-25  Alexandre Oliva  
12687
 
12688
        * libc/sys/sh/syscalls.c (_times): New.
12689
 
12690
        * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
12691
        * libc/sys/sh/syscalls.c (_gettimeofday): New.
12692
 
12693
2001-01-23  Jeff Johnston  
12694
 
12695
        * libc/include/math.h (signgam): Regress previous fix as
12696
        it does not handle programs with extern int signgam in them.
12697
 
12698
2001-01-23  Jeff Johnston  
12699
 
12700
        * libc/include/math.h (signgam): Changed to a macro refering to
12701
        its location in the reentrant structure.
12702
 
12703
2001-01-23  Jeff Johnston  
12704
 
12705
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
12706
        that suppressed . for %.0f, 0.1.  Check now looks if there
12707
        are padding zeroes (expt) in addition to any digits (ndig) to
12708
        print.
12709
 
12710
2001-01-18  Jeff Johnston  
12711
 
12712
        * libc/sys/arc/Makefile.am: New file.
12713
        * libc/sys/arc/Makefile.in: Ditto.
12714
        * libc/sys/arc/aclocal.m4: Ditto.
12715
        * libc/sys/arc/configure: Ditto.
12716
        * libc/sys/arc/configure.in: Ditto.
12717
        * libc/sys/arc/crt0.S: Ditto.
12718
        * libc/sys/arc/isatty.c: Ditto.
12719
        * libc/sys/arc/mem-layout.c: Ditto.
12720
        * libc/sys/arc/sbrk.c: Ditto.
12721
        * libc/sys/arc/syscalls.c: Ditto.
12722
        * libc/sys/arc/sys/syscall.h: Ditto.
12723
 
12724
Wed Jan 17 23:20:56 2001  Christopher Faylor 
12725
 
12726
        * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
12727
 
12728
Fri Jan 12 00:34:31 2001  Christopher Faylor 
12729
 
12730
        * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
12731
 
12732
Thu Jan 11 20:42:06  2001  Earnie Boyd  
12733
 
12734
        * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
12735
 
12736
2001-01-09  Nick Clifton  
12737
 
12738
        * configure.host (v859): Remove unsupported compiler options.
12739
 
12740
Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  
12741
 
12742
        * src/newlib/configure.host (*-*-rtems*): add printf long long
12743
        support for RTEMS.
12744
 
12745
2000-12-19  Graham Stott 
12746
 
12747
        * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
12748
 
12749
Wed Dec 14  Jeff Johnston  
12750
 
12751
        * configure.host: Turn on long double I/O for Cygwin.
12752
 
12753
Wed Dec 14  Jeff Johnston  
12754
 
12755
        * MAINTAINERS: Removed Ranjith.
12756
        * NEWS: Updated for 1.9.0.
12757
        * README: Updated.
12758
        * acinclude.m4: Updated to release 1.9.0.
12759
        * aclocal.m4 configure
12760
          doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
12761
          libc/machine/aclocal.m4 libc/machine/configure
12762
          libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
12763
          libc/machine/arm/aclocal.m4 libc/machine/arm/configure
12764
          libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
12765
          libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
12766
          libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
12767
          libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
12768
          libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
12769
          libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
12770
          libc/machine/i386/aclocal.m4 libc/machine/i386/configure
12771
          libc/machine/i960/aclocal.m4 libc/machine/i960/configure
12772
          libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
12773
          libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
12774
          libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
12775
          libc/machine/mips/aclocal.m4 libc/machine/mips/configure
12776
          libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
12777
          libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
12778
          libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
12779
          libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
12780
          libc/machine/sh/aclocal.m4 libc/machine/sh/configure
12781
          libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
12782
          libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12783
          libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12784
          libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12785
          libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
12786
          libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12787
          libc/sys/aclocal.m4 libc/sys/configure
12788
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12789
          libc/sys/arm/aclocal.m4 libc/sys/arm/configure
12790
          libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
12791
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12792
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12793
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12794
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12795
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12796
          libc/sys/linux/aclocal.m4 libc/sys/linux/configure
12797
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12798
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12799
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12800
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
12801
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
12802
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
12803
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
12804
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
12805
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
12806
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
12807
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
12808
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
12809
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
12810
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
12811
          libm/aclocal.m4 libm/configure: Regenerated.
12812
 
12813
Wed Dec 13 11:52:00 2000  Corinna Vinschen 
12814
 
12815
        * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
12816
        when __CYGWIN__ is defined.
12817
 
12818
2000-12-13  Jeff Johnston  
12819
 
12820
        * libc/stdlib/ldtoa.c (_ldcheck): New routine
12821
        that categorizes a long double as NaN, Infinity, or other.
12822
        * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
12823
        isinfl and isnanl static routines which were i386-specific.  Changed
12824
        calls to the two removed routines to a single _ldcheck call.
12825
        * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
12826
 
12827
2000-12-13  Jeff Johnston  
12828
 
12829
        * Makefile.am: Fixed install-data-local target to use
12830
        $(mkinstalldirs) for the installed header files to ensure
12831
        the directories exist before copying.
12832
        * Makefile.in: Regenerated.
12833
 
12834
2000-12-12  Jeff Johnston  
12835
 
12836
        * libc/include/sys/unistd.h: Restored Cygwin _SC
12837
        constants and moved new constants appropriately
12838
        so Cygwin will build.
12839
 
12840
2000-12-11  Joel Sherrill 
12841
 
12842
        * Merge RTEMS specific .h files into main libc/include.
12843
        * libc/sys/rtems/include/signal.h: Removed.
12844
        * libc/sys/rtems/include/time.h: Removed.
12845
        * libc/sys/rtems/sys/features.h: Removed.
12846
        * libc/sys/rtems/sys/sched.h: Removed.
12847
        * libc/sys/rtems/sys/siginfo.h: Removed.
12848
        * libc/sys/rtems/sys/signal.h: Removed.
12849
        * libc/sys/rtems/sys/time.h: Removed.
12850
        * libc/sys/rtems/sys/times.h: Removed.
12851
        definitions for time_t and clock_t since these are
12852
        no longer in time.h.
12853
        * libc/include/pthread.h: New file.
12854
        * libc/include/sys/sched.h: New file.
12855
        * libc/include/sys/features.h: New file.
12856
        * libc/include/time.h: Removed duplicate definition of clock_t
12857
        and time_t, get them from  instead.  Add prototypes
12858
        for POSIX clock and timer functionality.
12859
        * libc/sys/linux/sys/types.h: Changed to include
12860
        * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
12861
        * libc/include/sys/signal.h: Add more complete set of POSIX
12862
        signal functionality including real-time and threaded signals.
12863
        * libc/include/sys/types.h: Add clock_t, time_t, struct
12864
        timespec, and struct itimerspec.  Centralizing these makes
12865
        things cleaner.  RTEMS uses 64-bit dev_t.
12866
        Added numerous primitive definitions
12867
        for pthreads including macros, pthread_attr_t,
12868
        pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
12869
        pthread_once_t, and pthread_t.
12870
        * libc/include/sys/unistd.h: Added getlogin_r() prototype.
12871
        If RTEMS follow POSIX on read(), write() and sbrk() prototype.
12872
        Feature flags removed and moved to new file .
12873
        Full set of POSIX sysconf() constants
12874
 
12875
2000-12-08  Werner Almesberger  
12876
 
12877
        * configure.host: Added x86 linux target.
12878
        * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
12879
        definitions provided if not already defined.
12880
        * libc/sys/linux/crt0.c: New file.
12881
        * libc/sys/linux/Makefile.am: Ditto.
12882
        * libc/sys/linux/Makefile.in: Ditto.
12883
        * libc/sys/linux/aclocal.m4: Ditto.
12884
        * libc/sys/linux/brk.c: Ditto.
12885
        * libc/sys/linux/configure: Ditto.
12886
        * libc/sys/linux/configure.in: Ditto.
12887
        * libc/sys/linux/getoptlong.c: Ditto.
12888
        * libc/sys/linux/ids.c: Ditto.
12889
        * libc/sys/linux/inode.c: Ditto.
12890
        * libc/sys/linux/io.c: Ditto.
12891
        * libc/sys/linux/linux.c: Ditto.
12892
        * libc/sys/linux/process.c: Ditto.
12893
        * libc/sys/linux/realpath.c: Ditto.
12894
        * libc/sys/linux/select.c: Ditto.
12895
        * libc/sys/linux/signal.c: Ditto.
12896
        * libc/sys/linux/systat.c: Ditto.
12897
        * libc/sys/linux/termios.c: Ditto.
12898
        * libc/sys/linux/time.c: Ditto.
12899
        * libc/sys/linux/wait.c: Ditto.
12900
        * libc/sys/linux/include/alloca.h: Ditto.
12901
        * libc/sys/linux/include/getopt.h: Ditto.
12902
        * libc/sys/linux/include/stdint.h: Ditto.
12903
        * libc/sys/linux/include/unistd.h: Ditto.
12904
        * libc/sys/linux/sys/cdefs.h: Ditto.
12905
        * libc/sys/linux/sys/dirent.h: Ditto.
12906
        * libc/sys/linux/sys/errno.h: Ditto.
12907
        * libc/sys/linux/sys/fcntl.h: Ditto.
12908
        * libc/sys/linux/sys/file.h: Ditto.
12909
        * libc/sys/linux/sys/ioctl.h: Ditto.
12910
        * libc/sys/linux/sys/resource.h: Ditto.
12911
        * libc/sys/linux/sys/signal.h: Ditto.
12912
        * libc/sys/linux/sys/stat.h: Ditto.
12913
        * libc/sys/linux/sys/syscall.h: Ditto.
12914
        * libc/sys/linux/sys/termios.h: Ditto.
12915
        * libc/sys/linux/sys/time.h: Ditto.
12916
        * libc/sys/linux/sys/types.h: Ditto.
12917
        * libc/sys/linux/sys/utmp.h: Ditto.
12918
        * libc/sys/linux/sys/utsname.h: Ditto.
12919
        * libc/sys/linux/sys/wait.h: Ditto.
12920
 
12921
2000-12-08  Ralf Corsepius 
12922
 
12923
        * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
12924
        can be a relative path to $(top_srcdir)/install.sh so ensure the
12925
        autoconf detected settings are properly passed recursively.
12926
        Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
12927
        properly to subdirectories.
12928
        * Makefile.in: Regenerated.
12929
 
12930
2000-12-07  Jay Kulpinski 
12931
 
12932
        * libc/stdio/vfprintf.c: Minor modification to avoid requiring
12933
        a floating point register unless really printing a floating
12934
        point number.
12935
 
12936
2000-12-07  Jeff Johnston  
12937
 
12938
        * libc/stdlib/ldtoa.c: Removed include of alloca.h.
12939
        Also removed \r's.
12940
        (asctoeg): Replaced alloca call with stack array and malloc
12941
        when storage exceeds reasonable limit.
12942
        (e53toe): Fixed einfin calls missing ldp parameter.
12943
        (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
12944
 
12945
2000-12-06  Jeff Johnston  
12946
 
12947
 
12948
        * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
12949
 
12950
2000-12-06  Jeff Johnston  
12951
 
12952
        * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
12953
        * libc/stdlib/Makefile.in: Regenerated.
12954
        * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
12955
        * libc/stdio/vfieeefp.h: Added long double bit structures.
12956
        * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
12957
        [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
12958
        (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
12959
        * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
12960
        * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
12961
        _strtold routines used for conversions between character
12962
        and long double.
12963
 
12964
Wed Dec  6 12:01:00 2000  Corinna Vinschen 
12965
 
12966
        * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
12967
 
12968
2000-12-04  Joel Sherrill 
12969
 
12970
        * libc/include/machine/time.h: RTEMS systems can configure clock
12971
        tick rate so use sysconf() to ask.
12972
 
12973
2000-12-04  Joel Sherrill 
12974
 
12975
        * libc/include/sys/times.h: Add reference to POSIX standard.
12976
 
12977
2000-12-04  Joel Sherrill 
12978
 
12979
        * libc/include/sys/time.h: Added BSD timer manipulation macros
12980
        used by RTEMS code.
12981
 
12982
2000-12-04  Joel Sherrill 
12983
 
12984
        * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
12985
        referenced by code generated by gcc 2.8.1.
12986
        (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
12987
        satisfy gcc.
12988
 
12989
2000-12-04  Joel Sherrill 
12990
 
12991
        * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
12992
 
12993
2000-12-04  Joel Sherrill 
12994
 
12995
        * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
12996
 
12997
2000-12-04  Joel Sherrill 
12998
 
12999
        * configure.host (or16, or32): New entries for OpenCores
13000
        OpenRisc CPUs.
13001
        (*-*-rtems*): Add -DNO_EXEC.
13002
 
13003
2000-12-04  Keith Outwater 
13004
 
13005
        * libc/include/sys/errno.h: Added comments on many error numbers.
13006
        * libc/string/strerror.c: Added some more strings.
13007
 
13008
2000-11-30  Jeff Johnston 
13009
 
13010
        * libc/sys/sh/syscalls.c (_link): New stub.
13011
 
13012
2000-11-29  Nick Clifton  
13013
 
13014
        * configure.host: Add xscale target.
13015
        * libc/machine/xscale: New directory.
13016
        * libc/machine/xscale/Makefile.am: New file.
13017
        * libc/machine/xscale/Makefile.in: New file.
13018
        * libc/machine/xscale/aclocal.m4: New file.
13019
        * libc/machine/xscale/configure: New file.
13020
        * libc/machine/xscale/configure.in: New file.
13021
        * libc/machine/xscale/memchr.S: New file.
13022
        * libc/machine/xscale/memcmp.S: New file.
13023
        * libc/machine/xscale/memcpy.S: New file.
13024
        * libc/machine/xscale/memmove.S: New file.
13025
        * libc/machine/xscale/memset.S: New file.
13026
        * libc/machine/xscale/strchr.S: New file.
13027
        * libc/machine/xscale/strcmp.S: New file.
13028
        * libc/machine/xscale/strcpy.S: New file.
13029
        * libc/machine/xscale/strlen.S: New file.
13030
 
13031
Sat Nov 25 11:24:00 2000  Corinna Vinschen 
13032
 
13033
        * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
13034
        avoid compiler warnings.
13035
 
13036
2000-11-22  Michael Meissner  
13037
 
13038
        * libc/posix/execl.c (execl): Don't reference environ directly,
13039
        reference it only via a static pointer to avoid problems with some
13040
        shared library systems and with different uses of small data where
13041
        the user specifies his own version of environ.
13042
        * libc/posix/execv.c (execv): Ditto.
13043
        * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
13044
        * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
13045
        * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
13046
 
13047
        * libc/stdlib/getenv.c (environ): Delete unused reference to
13048
        environ.
13049
 
13050
        * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
13051
        colorization.
13052
        * libc/stdlib/system.c: Ditto.
13053
 
13054
Tue Nov 21 20:32:21 2000  Christopher Faylor 
13055
 
13056
        * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
13057
        including windows headers.
13058
 
13059
2000-11-20  Jeff Johnston  
13060
 
13061
        * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
13062
        * libc/include/dirent.h: Added definition of MAXNAMLEN if
13063
        not defined by sys/dirent.h.
13064
        * libc/posix/execvp.c: Added include of dirent.h to get
13065
        MAXNAMLEN value which used to be in unistd.h.
13066
 
13067
Mon Nov  6 12:56:00 2000  Corinna Vinschen 
13068
 
13069
        * libc/include/sys/types.h: Change type of i to `size_t' in
13070
        FD_ZERO macro to avoid compiler warnings.
13071
 
13072
Sun Oct 29 20:06:41 2000  Christopher Faylor 
13073
 
13074
        * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
13075
        * libc/include/malloc.h: Ditto.  Also remove obsolete declaration.
13076
 
13077
Tue Oct 24 20:16:00 2000  Corinna Vinschen 
13078
 
13079
        * libc/include/sys/unistd.h: Add defines for sysconf values
13080
        _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
13081
        _SC_AVPHYS_PAGES.
13082
 
13083
Mon Oct  9 20:26:33 2000  Christopher Faylor 
13084
 
13085
        * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
13086
        declarations for __CYGWIN__.
13087
 
13088
2000-09-19  Geoffrey Keating  
13089
 
13090
        * libc/signal/signal.c (__sigtramp_r): ISO C requires
13091
        case labels to be integral constant expressions, so
13092
        use an if/else tree instead.
13093
        (_raise_r): Likewise.
13094
 
13095
2000-09-13  Jeff Johnston  
13096
 
13097
        * libc/machine/v850/setjmp.S: Fixed tab problems caused by
13098
        clipping patch from e-mail reader.
13099
 
13100
2000-09-13  Will Cohen  
13101
 
13102
        * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
13103
        Added return value 0.
13104
        (_longjmp): Allow longjmp to return value of second argument
13105
        passed to it.
13106
 
13107
2000-09-06  Jeff Johnston 
13108
 
13109
        * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
13110
        inline code to prevent having to include another header file.
13111
 
13112
Wed Sep  6 15:06:40 2000  Christopher Faylor 
13113
 
13114
        * Makefile.am: Fix space vs. tab problem in install-data-local.
13115
        * Makefile.in: Regenerate.
13116
 
13117
Wed Sep  6 13:49:51 2000  Christopher Faylor 
13118
 
13119
        * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
13120
        (_EXPARM): New macro for defining a function parameter.
13121
        * libc/include/stdlib.h: Use _EXPARM.
13122
        * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
13123
 
13124
2000-09-05  Manfred Hollstein  
13125
 
13126
        * Makefile.am (install-data-local): Use optional $(DESTDIR) where
13127
        required, as documented in the gnu coding standards.
13128
        * Makefile.in: Regenerate.
13129
 
13130
2000-09-05  Jeff Johnston 
13131
 
13132
        * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
13133
        make O_NDELAY and O_NONBLOCK have the same value.
13134
 
13135
2000-08-30  Kazu Hirata  
13136
 
13137
        * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
13138
 
13139
2000-08-30  Werner Almesberger  
13140
 
13141
        * libc/posix/execve.c: included unistd.h for "_execve" prototype.
13142
        * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
13143
        "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
13144
        everywhere else.
13145
 
13146
2000-08-30  Geoffrey Keating  
13147
 
13148
        * libc/string/swab.c: Specify that it's defined in .
13149
        * libc/include/string.h: Don't include ,
13150
        as it causes really bad namespace pollution.  Don't declare
13151
        swab(), it is properly declared in unistd.h.
13152
 
13153
2000-08-29  Werner Almesberger  
13154
 
13155
        * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
13156
        (broken) support for non-existent /etc/passwd field "comment".
13157
 
13158
2000-08-27  Werner Almesberger  
13159
 
13160
        * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
13161
        only if _DIRENT_HAVE_D_NAMLEN is defined.
13162
        (alphasort): aligned prototype with
13163
        libc/sys/cygwin/sys/dirent.h and simplified function body.
13164
        * libc/posix/telldir.c (telldir): changed "telldir" prototype to
13165
        long telldir (DIR *) as mentioned in annex B of POSIX.1
13166
 
13167
2000-08-27  Werner Almesberger  
13168
 
13169
        * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
13170
        of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
13171
        Added __CLI and __STI macros (controlled via
13172
        _I386MACH_ALLOW_HW_INTERRUPTS macro).
13173
        * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
13174
        libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
13175
        libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
13176
        libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
13177
        libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
13178
        libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
13179
        libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
13180
        libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
13181
        libc/machine/i386/memset.S libc/machine/i386/setjmp.S
13182
        libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
13183
        (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
13184
        for all global entry points.
13185
        * libc/machine/i386/setjmp.S: removed code replicated in
13186
        libc/machine/i386/i386mach.h and included i386mach.h instead;
13187
        Use __CLI and __STI instead of cli and sti.
13188
 
13189
2000-08-25  DJ Delorie  
13190
 
13191
        * libc/include/sys/unistd.h (environ): this one isn't from the
13192
        DLL, no __IMPORT
13193
 
13194
Fri Aug 25 13:37:11 2000  Christopher Faylor 
13195
 
13196
        * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
13197
        environ when compiling under cygwin since it is already declared in
13198
        unistd.h.
13199
 
13200
2000-08-23  Werner Almesberger  
13201
 
13202
        * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
13203
        like  x << y-z  to the equivalent  x << (y-z).
13204
        (d2b): changed if statements with assignment to perform the
13205
        assignment prior to the if check.
13206
        * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
13207
        * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
13208
        * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
13209
        * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
13210
        precedence.
13211
        * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
13212
        Added "_execve" prototype (for execl.c, execle.c, execv.c, and
13213
        execve.c).
13214
        * libc/posix/popen.c (popen): added parentheses to clarify && and ||
13215
        precedence.
13216
        * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
13217
        clarify && and || precendence (and to remove pascalism).
13218
        * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
13219
        * libm/math/s_infconst.c: added another pair of braces to all
13220
        initializers for __infinity (need three: for __infinity[1] array,
13221
        for union __dmath, and for i[2]).
13222
 
13223
2000-08-23  Werner Almesberger  
13224
 
13225
        * libc/stdlib/abort.c: changed description: uses "raise" instead of
13226
        "getpid" and "kill"; added: uses "write" and "_exit".
13227
        Also included unistd.h for "_exit" prototype.
13228
        * libc/stdlib/system.c: included unistd.h for "execve" prototype,
13229
        reent.h for "_fork_r" and "_wait_r" prototypes.
13230
        (do_system): changed  extern char *environ[] to POSIX-friendly
13231
        extern char **environ.
13232
        * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
13233
        prototypes.
13234
        * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
13235
        * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
13236
        * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
13237
        * libc/reent/openr.c: included fcntl.h for "open" prototype.
13238
        * libc/reent/signalr.c: included signal.h for "kill" prototype,
13239
        unistd.h for "getpid" prototype.
13240
        * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
13241
        * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
13242
        * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
13243
        prototype.  Also included stdlib.h for "abort", string.h for
13244
        "strdup" and "strncmp" prototypes.
13245
        * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
13246
        "strncpy", unistd.h for "read" and "close" prototypes.
13247
        * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
13248
        "strcat" prototypes.
13249
 
13250
2000-08-23  Werner Almesberger  
13251
 
13252
        * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
13253
        used later (ifdef __SCLE)
13254
        * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
13255
        used later (ifdef MB_CAPABLE)
13256
        * libc/string/memset.c (memset): removed unused variables "count"
13257
        and "unaligned_addr"
13258
        * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
13259
        "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
13260
        * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
13261
        and "gid"
13262
 
13263
2000-08-23  Werner Almesberger  
13264
 
13265
        * libc/stdlib/envlock.c: changed documented "__env_lock" and
13266
        "__env_unlock" prototype from "void *" or "char *" to
13267
        "struct _reent *" to match real function.  Also added include
13268
        of envlock.h.
13269
        * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
13270
        "__malloc_unlock" prototype from "void *" or "char *" to
13271
        "struct _reent *" to match real function.
13272
        * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
13273
        prototypes (for getenv_r.c and setenv_r.c).
13274
 
13275
2000-08-22  Werner Almesberger  
13276
 
13277
        * libc/unix/getut.c (utmpname): added _CONST to reflect common use
13278
        and prototype in cygwin's utmp.h
13279
 
13280
2000-08-16  Eric Fifer  
13281
 
13282
        * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
13283
 
13284
2000-08-09  Nick Clifton  
13285
 
13286
        * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
13287
        epilogue and to allow the functions to be used in a Thumb based
13288
        toolchain.
13289
 
13290
2000-08-08  Jeff Johnston 
13291
 
13292
        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
13293
        so size of 0 results in nothing being written to string.
13294
        Also fixed code so that when size is non-zero, there is only
13295
        a maximum of size - 1 characters written to the array and
13296
        a nul terminator is appended at the end.
13297
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
13298
 
13299
2000-08-01  DJ Delorie  
13300
 
13301
        * libc/include/sys/config.h: define __IMPORT appropriately
13302
        * libc/include/ctype.h (_ctype_): use __IMPORT
13303
        * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
13304
        * libc/include/math.h (__mb_cur_max): ditto
13305
        * libc/include/time.h (_timezone, _daylight, _tzname): ditto
13306
        * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
13307
        * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
13308
        * libc/include/unistd.h (environ): ditto
13309
 
13310
2000-07-28  Michael Meissner  
13311
 
13312
        * libc/include/math.h (__infinity): Declare as an array without
13313
        bounds to get around small data support.  Rewrite Cygwin support
13314
        to be more general.
13315
        * libm/math/s_infconst.c (__infinity): Ditto.
13316
        * libm/mathfp/s_infconst.c (__infinity): Ditto.
13317
 
13318
Thu Jul 27 10:46:01 2000  Christopher Faylor 
13319
 
13320
        * libc/include/math.h: Use appropriate dll import linkage for
13321
        __infinity under Cygwin.
13322
 
13323
2000-07-13  DJ Delorie  
13324
 
13325
        * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
13326
 
13327
Wed Jun 28 14:08:00 2000  Keith Walker  
13328
 
13329
        * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
13330
        to argument list for AngelSWI_Reason_GetCmdLine.
13331
 
13332
Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  
13333
 
13334
        * configure.host: Add support for AVR target.
13335
        * libc/include/machine/ieeefp.h: Likewise.
13336
        * libc/include/sys/config.h: Likewise.
13337
 
13338
Thu Jun 22 18:35:00 2000  Ranjith Kumaran  
13339
 
13340
        * README: Newlib 1.8.2 must be built in a separate directory
13341
        than the sources.
13342
 
13343
Tue Jun 20 14:30:00 2000  Jeff Johnston  
13344
 
13345
        * libc/include/sys/reent.h (_rand_next): Added __extension__
13346
        qualifier as long long type is not strict ANSI.
13347
        * libc/stdlib/rand.c (rand): Added __extension__ qualifier
13348
        to long long constant.
13349
 
13350
Fri Jun 16 23:02:00 2000  Corinna Vinschen 
13351
 
13352
        * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
13353
        `setegid' provided by Cygwin.
13354
 
13355
Thu Jun 15  0:21:00 2000  Corinna Vinschen 
13356
 
13357
        * libc/stdio/fdopen.c: Take explicit given bin/textmode into
13358
        account for Cygwin.
13359
 
13360
Fri Jun  9 14:28:00 2000  Jeff Johnston  
13361
 
13362
        * libc/include/sys/reent.h (_rand_next): Changed to
13363
        unsigned long long and moved to end of _reent struct in _new union.
13364
        (_REENT_INIT): Changed to move _rand_next initialization.
13365
        * libc/stdlib/rand.c (rand): Changed to use unsigned long long
13366
        linear congruential algorithm that is used by DJGPP.
13367
 
13368
Thu Jun  8 21:18:00 2000  Ranjith Kumaran  
13369
 
13370
        * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
13371
        * libc/include/sys/config.h: Define __RAND_MAX.
13372
 
13373
Thu Jun  8 17:54:00 2000  Jeff Johnston  
13374
 
13375
        * libc/stdlib/rand_r.c: New algorithm that meets minimal
13376
        standard.
13377
 
13378
Fri Jun  2 23:02:11 2000  Christopher Faylor 
13379
 
13380
        * libc/include/string.h: Work around problem with strsignal and gdb.
13381
 
13382
Tue May 30 13:13:01 2000  Christopher Faylor 
13383
 
13384
        * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
13385
        * libc/include/malloc.h: Ditto.
13386
        * libc/include/process.h: Ditto.
13387
        * libc/include/stdio.h: Ditto.
13388
        * libc/include/stdlib.h: Ditto.
13389
        * libc/include/time.h: Ditto.
13390
        * libc/include/machine/setjmp.h: Ditto.
13391
        * libc/include/sys/errno.h: Ditto.
13392
        * libc/include/sys/signal.h: Ditto.
13393
        * libc/include/sys/stat.h: Ditto.
13394
        * libc/include/sys/time.h: Ditto.
13395
        * libc/include/sys/unistd.h: Ditto.
13396
        * libc/include/string.h: Ditto.  strsignal should return a const char *.
13397
 
13398
2000-05-26  Marek Michalkiewicz  
13399
 
13400
        * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
13401
        * libm/common/s_log1p.c (log1p): Likewise.
13402
        * libm/common/s_scalbn.c (scalbn): Likewise.
13403
        * libm/math/e_log.c: Likewise.
13404
        * libm/math/e_asin.c: Likewise.
13405
        * libm/math/ef_asin.c: Likewise.
13406
        * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
13407
        * libm/math/e_j1.c (pone, qone): Likewise.
13408
        * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
13409
        * libm/math/ef_j1.c (ponef, qonef): Likewise.
13410
        * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
13411
        * libm/mathfp/e_j1.c (pone, qone): Likewise.
13412
        * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
13413
        * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
13414
 
13415
2000-05-19  DJ Delorie  
13416
 
13417
        * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
13418
        (__sread): always read in binary mode
13419
        (__swrite): always write in binary mode
13420
        * libc/include/stdio.h: no getc/putc macros for cygwin; causes
13421
        compatibility issues with different dll versions
13422
        * libc/stdio/fopen.c: use __stextmode
13423
        * libc/stdio/fdopen.c: ditto
13424
        * libc/stdio/freopen.c: ditto
13425
        * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
13426
        * libc/stdio/local.h: declare __stextmode
13427
 
13428
2000-05-18  DJ Delorie  
13429
 
13430
        * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
13431
 
13432
Mon May 15 18:54:00 2000  Jeff Johnston  
13433
 
13434
        * libc/include/ctype.h: Changed tolower and toupper macros
13435
        to use __extension__ to prevent pedantic warnings.
13436
 
13437
Mon May 15 14:26:00 2000  Joel Sherrill  
13438
 
13439
        * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
13440
        structures.
13441
 
13442
Wed May 10 19:24:53 2000  Jim Wilson  
13443
 
13444
        * libc/include/machine/ieeefp.h: Add ia64 support.
13445
        * configure.host: Likewise.
13446
 
13447
Wed May 10 13:52:24 2000  Egor Duda 
13448
 
13449
        * libc/time/asctime_r.c (asctime_r): Change output format. Day of
13450
        month is now padded with space, not zero.  This now conforms to
13451
        ANSI standard.
13452
 
13453
Wed May 03 17:57:00 2000  Corinna Vinschen 
13454
 
13455
        * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
13456
        host or network path") used by cygwin. Add some comments.
13457
 
13458
Tue May 02 23:45:48 2000  DJ Delorie  
13459
 
13460
        * libc/include/stdio.h (FILE): define __SCLE for "convert line
13461
        endings" for Cygwin.
13462
        (__sgetc): convert line endings if needed
13463
        (__sputc): ditto
13464
        * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
13465
        * libc/stdio/fopen.c (_fopen_r): ditto
13466
        * libc/stdio/freopen.c (freopen): ditto
13467
        * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
13468
        * libc/stdio/fvwrite.c (__sfvwrite): ditto
13469
 
13470
Thu Apr 27 07:45:48 2000  Alexandre Oliva  
13471
 
13472
        * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
13473
        post-increment when it is worth it, spacewise.
13474
 
13475
Mon Apr 17 12:46:00 2000  Marek Michalkiewicz 
13476
 
13477
        * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
13478
        * libc/stdio/findfp.c (std): Added declaration of flags and file.
13479
        * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
13480
        return type.
13481
        * libc/stdio/putchar.c (putchar): Added return statement.
13482
        * libc/stdio/refill.c (lflush): Added correct parentheses.
13483
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
13484
        * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
13485
        prints long value to use l qualifier.
13486
        * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
13487
        messages and initialized local values: ilim, ilim1, and spec_case.
13488
        * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
13489
        * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
13490
        * libc/stdlib/mprec.c: Ditto.
13491
        * libc/stdlib/setenv_r.c: Ditto.
13492
        * libc/stdlib/strtod.c: Ditto.
13493
        * libc/stdlib/strtol.c: Ditto.
13494
        * libc/stdlib/strtoul.c: Ditto.
13495
        * libm/common/sf_expm1.c: Added curly braces to if else clauses.
13496
        * libm/common/sf_log1p.c: Ditto.
13497
        * libm/common/sf_scalbn.c: Ditto.
13498
        * libm/math/ef_log.c: Ditto.
13499
 
13500
Sun Apr 16 12:45:00 2000  Corinna Vinschen 
13501
 
13502
        * libc/posix/execvp.c (execvp): Check path for
13503
        trailing slash.
13504
 
13505
Fri Mar 31 20:39:00 2000  Corinna Vinschen 
13506
 
13507
        * libc/include/sys/unistd.h: Add prototypes for
13508
        fchmod, fchown, lchown.
13509
 
13510
Fri Mar 24 15:34:00 2000  Jeff Johnston  
13511
 
13512
        * acinclude.m4: Changed release to 1.8.2.
13513
        * aclocal.m4 configure doc/aclocal.m4 doc/configure
13514
          libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
13515
          libc/machine/configure libc/machine/a29k/aclocal.m4
13516
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
13517
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
13518
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
13519
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
13520
          libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
13521
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
13522
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
13523
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
13524
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
13525
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
13526
          libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
13527
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
13528
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
13529
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
13530
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
13531
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
13532
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
13533
          libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
13534
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
13535
          libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
13536
          libc/machine/tic80/configure libc/machine/v850/aclocal.m4
13537
          libc/machine/v850/configure libc/machine/w65/aclocal.m4
13538
          libc/machine/w65/configure libc/machine/z8k/aclocal.m4
13539
          libc/machine/z8k/configure libc/sys/aclocal.m4
13540
          libc/sys/aclocal.m4 libc/sys/configure
13541
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
13542
          libc/sys/arm/aclocal.m4 libc/sys/arm/configure
13543
          libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
13544
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
13545
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
13546
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
13547
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
13548
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
13549
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
13550
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
13551
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
13552
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
13553
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
13554
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
13555
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
13556
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
13557
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
13558
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
13559
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
13560
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
13561
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
13562
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
13563
          libm/aclocal.m4 libm/configure: Regenerated.
13564
 
13565
2000-03-24  Nick Clifton  
13566
 
13567
        * libc/sys/arm/syscalls.c: Fix compile time warnings.
13568
        (do_AngelSWI): Add "cc" to list o registers clobbered.
13569
 
13570
Thu Mar 22 14:57:00 2000  Fernando Nasser 
13571
 
13572
        * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
13573
        information to be clobbered by an Angel C library support syscall.
13574
 
13575
Tue Mar 21 19:08:00 2000  Jeff Johnston 
13576
 
13577
        * libc/stdlib/envlock.c: Fixed comment typo.
13578
 
13579
Fri Mar 17 15:37:00 2000  Jeff Johnston 
13580
 
13581
        * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
13582
        code to update nread as each character is processed instead
13583
        of using buffer contents which throw away leading zeroes.
13584
 
13585
Mon Mar 13 15:22:00 2000  Sergei Organov 
13586
 
13587
        * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
13588
 
13589
Fri Mar 10 16:09:20 2000  Jeff Johnston 
13590
 
13591
        * libc/include/string.h: Include .
13592
 
13593
Fri Mar 10 14:53:50 2000  Alexandre Oliva  
13594
 
13595
        * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
13596
        with XSH5, not SVID.
13597
 
13598
Thu Mar  9 17:20:41 2000  Jeff Johnston 
13599
 
13600
        * libc/include/string.h: Changed last argument back to ssize_t
13601
        to make it compatible with XPG4 definition which is
13602
        defined in .  There is a conflict in the SVID 3
13603
        and XPG4 definitions and newlib will settle with XPG4.
13604
        * libc/string/swab.c: Ditto.
13605
 
13606
Wed Mar  8 17:11:41 2000  Jeff Johnston 
13607
 
13608
        * libc/include/string.h: Changed last argument to size_t.
13609
        * libc/string/swab.c: Changed last argument to size_t.
13610
 
13611
Wed Mar  8 00:46:41 2000  Alexandre Oliva  
13612
 
13613
        * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
13614
        (CHEWOUT_FILES): Added unlinkr.def.
13615
        * libc/reent/Makefile.in: Rebuilt.
13616
        * libc/sys.tex: Include unlinkr.def.
13617
        * libc/reent/linkr.c (_unlink_r): Moved to...
13618
        * libc/reent/unlinkr.c: ... new file.
13619
 
13620
Wed Mar  8 00:43:07 2000  Alexandre Oliva  
13621
 
13622
        * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
13623
        (CHEWOUT_FILES): Added swab.def.
13624
        * libc/string/Makefile.in: Rebuilt.
13625
        * libc/string/string.tex: Include swab.def.
13626
        * libc/include/string.h (swab): Declare.
13627
        * libc/string/swab.c: New file.
13628
 
13629
Wed Mar  8 00:38:35 2000  Alexandre Oliva  
13630
 
13631
        * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
13632
        (CHEWOUT_FILES): Added getw.def and putw.def.
13633
        * libc/stdio/Makefile.in: Rebuilt.
13634
        * libc/stdio/stdio.tex: Include getw.def and putw.def.
13635
        * libc/stdio/getw.c: New file.
13636
        * libc/stdio/putw.c: New file.
13637
 
13638
Fri Feb 25 14:50:50 2000  Jeff Johnston 
13639
 
13640
        * libc/stdio/flags.c (__sflags): Added check that mode[1]
13641
        is non-null before looking at mode[2].
13642
 
13643
Thu Feb 24 11:43:00 2000  Ran Cabell 
13644
 
13645
        * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
13646
        * libm/mathfp/sf_atan.c: Ditto.
13647
 
13648
Thu Feb 24 11:39:00 2000  Joel Sherrill 
13649
 
13650
        * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
13651
 
13652
Tue Feb 22 14:37:00 2000  Ran Cabell 
13653
 
13654
        * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
13655
        _DOUBLE_IS_32BITS.
13656
 
13657
Mon Feb 21 11:43:50 2000  Jeff Johnston 
13658
 
13659
        * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
13660
        call prior to calling _VFPRINTF_R so reentrant data area is set.
13661
        (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
13662
 
13663
Thu Feb 17 01:42:50 2000  J"orn Rennecke 
13664
 
13665
        * libc/stdio/vfscanf.c (limits.h): #include.
13666
        (MAX_LONG_LEN): #define.
13667
        (__svfscanf): Handle floating point numbers with arbitrary amounts
13668
        of leading zeroes.
13669
 
13670
2000-02-15  Nick Clifton  
13671
 
13672
        * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
13673
        zero.  Set the blocksize to 1024/
13674
 
13675
Thu Jan 20 18:57:00 2000  Fernando Nasser 
13676
 
13677
        * setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
13678
        with line buffering.
13679
 
13680
Mon Jan 10 18:43:00 2000  Jeff Johnston 
13681
 
13682
        * acinclude.m4: Changed include directory for winsup headers.
13683
        * aclocal.m4 configure libc/aclocal.m4
13684
          libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
13685
          libc/locale/Makefile.in libc/machine/aclocal.m4
13686
          libc/machine/configure libc/machine/a29k/aclocal.m4
13687
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
13688
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
13689
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
13690
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
13691
          libc/machine/fr30/configure
13692
          libc/machine/h8300/aclocal.m4
13693
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
13694
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
13695
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
13696
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
13697
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
13698
          libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
13699
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
13700
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
13701
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
13702
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
13703
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
13704
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
13705
          libc/machine/powerpc/configure
13706
          libc/machine/sh/aclocal.m4
13707
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
13708
          libc/machine/sparc/configure
13709
          libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
13710
          libc/machine/v850/aclocal.m4 libc/machine/v850/configure
13711
          libc/machine/w65/aclocal.m4 libc/machine/w65/configure
13712
          libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
13713
          libc/misc/Makefile.in libc/posix/Makefile.in
13714
          libc/reent/Makefile.in
13715
          libc/signal/Makefile.in
13716
          libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
13717
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
13718
          libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
13719
          libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
13720
          libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
13721
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
13722
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
13723
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
13724
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
13725
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
13726
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
13727
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
13728
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
13729
          libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
13730
          libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
13731
          libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
13732
          libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
13733
          libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
13734
          libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
13735
          libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
13736
          libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
13737
          libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
13738
          libc/sys/tic80/configure libc/sys/w65/aclocal.m4
13739
          libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
13740
          libc/sys/z8ksim/configure libc/syscalls/Makefile.in
13741
          libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
13742
          libm/configure: Regenerated.
13743
 
13744
Mon Jan 10 18:43:46 2000  Jeff Johnston 
13745
 
13746
        * libc/stdlib/putenv_r.c (_putenv_r): New file.
13747
        * libc/stdlib/strdup_r.c (_strdup_r): New file.
13748
        * libc/include/string.h: Added _strdup_r.
13749
        * libc/stdlib/putenv.c: Added call to reentrant version.
13750
        * libc/stdlib/strdup.c: Ditto.
13751
        * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
13752
        * libc/include/stdlib.h: Ditto.
13753
        * libc/stdlib/Makefile.in: Regenerated.
13754
        * libc/string/Makefile.in: Regenerated.
13755
        * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
13756
        * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
13757
        management calls to reentrant versions.
13758
        * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
13759
        * libc/stdlib/wctomb.c: Ditto.
13760
        * libc/stdlib/mblen.c: Ditto.
13761
        * libc/stdlib/mbstowcs.c: Ditto.
13762
        * libc/stdlib/mbtowc.c: Ditto.
13763
        * libc/stdlib/getenv.c: Ditto.
13764
        * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
13765
        and _strdup_r.
13766
 
13767
Thu Jan  6 15:33:46 2000  Christopher Faylor 
13768
 
13769
        patch from Corinna Vinschen 
13770
        * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
13771
 
13772
Mon Jan 03 14:36:00 2000  Sergei Organov 
13773
 
13774
        * libm/mathfp/s_atangent.c: Fix exponent calculation.
13775
        * libm/mathfp/s_ldexp.c: Ditto.
13776
        * libm/mathfp/sf_atangent.c: Ditto.
13777
        * libm/mathfp/sf_ldexp.c: Ditto.
13778
 
13779
Tue Dec 14 5:42:00 1999  Ranjith Kumaran 
13780
 
13781
        * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
13782
        * libc/include/locale.h: define NULL to be 0.
13783
 
13784
Tue Dec  7 15:41:45 1999  Jim Wilson  
13785
 
13786
        * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
13787
        function.
13788
 
13789
Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
13790
 
13791
        * libc/machine/mn10300/setjmp.S: Handle am33.
13792
 
13793
1999-11-26  Nick Clifton  
13794
 
13795
        * libc/sys/arm/syscalls.c: Add function prototypes.
13796
        (stack_ptr): Move declaration before function definitions.
13797
 
13798
Sat Nov 20 17:13:00 1999  Ranjith Kumaran 
13799
 
13800
        * NEWS: Updated version information.
13801
        * README: Ditto.
13802
 
13803
Tue Nov 09 12:19:21 1999  Jeff Johnston 
13804
 
13805
        * libc/machine/i386/strchr.S: Fixed alignment test.
13806
 
13807
Thu Oct 28 05:30:46 1999  Andrew Cagney  
13808
 
13809
        * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
13810
 
13811
Thu Oct 28 15:29:11 1999  Andrew Cagney  
13812
 
13813
        * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
13814
        ensuring that there is space between the two.
13815
 
13816
Thu Oct 14 13:39:21 1999  Christopher Faylor 
13817
 
13818
        * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
13819
        only.
13820
 
13821
1999-10-08  Vadim Egorov  
13822
 
13823
        * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
13824
        section
13825
 
13826
Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius 
13827
 
13828
        * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
13829
        * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
13830
 
13831
Fri Oct  1 13:17:59 CDT 1999  
13832
        * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
13833
          per POSIX 1003.1b.
13834
        * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
13835
          per POSIX 1003.1b.
13836
 
13837
1999-09-13  DJ Delorie  
13838
 
13839
        * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
13840
        also.
13841
 
13842
Thu Sep  9 15:31:00 1999  Jeff Johnston 
13843
 
13844
        * setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
13845
        also note BUFSIZ as its size.
13846
 
13847
Tue Sep  7 17:15:00 1999  Joel Sherrill 
13848
 
13849
        * configure.host: Corrected feature defines for RTEMS.
13850
        * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
13851
        * libc/include/sys/stat.h: mkfifo() should take const path arg.
13852
        * libc/include/sys/unistd.h: pathconf() should take const path arg.
13853
          Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
13854
          Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
13855
          _POSIX_VERSION for RTEMS.  Added defines for _PC_ASYNC_IO,
13856
          _PC_PRIO_IO, and _PC_SYNC_IO.
13857
        * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
13858
        * libc/machine/m68k/Makefile.in: Regenerated.
13859
        * libc/machine/m68k/strcpy.c: New file.
13860
        * libc/machine/m68k/strlen.c: New file.
13861
        * libc/stdio/tmpnam.c: Always make the returned name usable.
13862
        * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
13863
        * libc/sys/rtems/sys/dirent.h: New file.
13864
        * libc/sys/rtems/sys/types.h: Added dev_t.
13865
 
13866
Tue Sep  7 17:15:00 1999   Jay Kulpinski 
13867
 
13868
        * libc/stdlib/mprec.c: Fixed unitialized variable problem.
13869
 
13870
Fri Sep  3 12:35:20 1999  Jeff Johnston 
13871
 
13872
        * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
13873
        my patch.
13874
 
13875
Thu Sep  2 22:05:20 1999  Christopher Faylor 
13876
 
13877
        patch from Jeff Johnston 
13878
        * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
13879
        buffer is not in a useful state.
13880
 
13881
1999-09-01  Nick Clifton  
13882
 
13883
        * libc/sys/arm/syscalls.c (_link): Add stub.
13884
 
13885
Fri Aug 27 23:09:09 1999  J"orn Rennecke 
13886
 
13887
        * ftell.c (ftell): Use actual position within buffer for text mode.
13888
        * findfp.c (std): Initialize ptr->_bf._size.
13889
 
13890
Wed Aug 18 18:48:02 1999  Christopher Faylor 
13891
 
13892
        * libc/include/sys/unistd.h: Add nice() declaration.
13893
 
13894
1999-08-09  Nick Clifton  
13895
 
13896
        * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
13897
        declare as a thumb function so that the disassembler will see the
13898
        mode change.
13899
 
13900
Thu Aug  5 17:37:00 1999  Ranjith Kumaran 
13901
 
13902
        * libc/reent/reent.tex: Updated list of reentrant functions.
13903
 
13904
1999-07-09  Michael Meissner  
13905
 
13906
        * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
13907
 
13908
Tue Jul  6 10:46:24 1999  Jeff Johnston 
13909
 
13910
        * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
13911
        separate file.
13912
        * libc/stdio/snprintf.c: New file.
13913
        * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
13914
        separate file.
13915
        * libc/stdio/vsnprintf.c: New file.
13916
        * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
13917
        * libc/stdio/Makefile.in: Regenerated.
13918
 
13919
Mon Jul  5 14:43:24 1999  Christopher Faylor 
13920
 
13921
        Patch submitted by Egor Duda :
13922
        * libc/include/stdio.h: Add declarations for *nprintf.
13923
        * libc/stdio/sprintf.c (snprintf): New function.
13924
        (_snprintf_r): New function.
13925
        * libc/stdio/vsprintf.c (vsnprintf): New function.
13926
        (_vnsprintf_r): New function.
13927
 
13928
Wed Jun 30 16:36:27 1999  Jeff Johnston  
13929
 
13930
        * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
13931
        * libm/Makefile.am (stmp-targetdep): Ditto.
13932
        * libc/Makefile.in: Regenerated.
13933
        * libm/Makefile.in: Ditto.
13934
 
13935
Fri Jun 25 10:49:27 1999  Jeff Johnston  
13936
 
13937
        * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
13938
        * libm/Makefile.am (stmp-targetdep): Ditto.
13939
        * libc/Makefile.in: Regenerated.
13940
        * libm/Makefile.in: Ditto.
13941
 
13942
Thu June 03 16:25:00 1999  Jeff Johnston 
13943
 
13944
        * Makefile.am: Removed dependencies on all-recursive and added "."
13945
        to the SUBDIRS list to prevent infinite recursion from occurring.
13946
        Also removed any references to EXTRA_DATA.
13947
        * libc/Makefile.am: Ditto.
13948
        * libc/machine/Makefile.am: Ditto.
13949
        * libc/machine/i386/Makefile.am: Ditto.
13950
        * libm/Makefile.am: Ditto.
13951
        * libc/sys/Makefile.am: Ditto.
13952
        * Makefile.in: Regenerated.
13953
        * aclocal.m4: Ditto.
13954
        * configure: Ditto.
13955
        * doc/Makefile.in: Ditto.
13956
        * doc/aclocal.m4: Ditto.
13957
        * doc/configure: Ditto.
13958
        * libc/Makefile.in: Ditto.
13959
        * libc/aclocal.m4: Ditto.
13960
        * libc/configure: Ditto.
13961
        * libc/machine/Makefile.in: Ditto.
13962
        * libc/machine/aclocal.m4: Ditto.
13963
        * libc/machine/configure: Ditto.
13964
        * libc/machine/mn10300/Makefile.in: Ditto.
13965
        * libc/machine/mn10300/aclocal.m4: Ditto.
13966
        * libc/machine/mn10300/configure: Ditto.
13967
        * libc/sys/Makefile.in: Ditto.
13968
        * libc/sys/aclocal.m4: Ditto.
13969
        * libc/sys/configure: Ditto.
13970
        * libm/Makefile.in: Ditto.
13971
        * libm/aclocal.m4: Ditto.
13972
        * libm/configure: Ditto.
13973
 
13974
Thu June 03 16:20:00 1999  Ranjith Kumaran 
13975
 
13976
        * libc/include/stdlib/stdlib.tex: Add link to env_lock.
13977
 
13978
Fri May 28 17:09:00 1999  Ranjith Kumaran 
13979
 
13980
        * libc/include/stdlib.h: Add reentrant routines.
13981
        * libc/stdlib/Makefile.am: Add reentrant routines.
13982
        * libc/stdlib/Makefile.in: Ditto.
13983
        * libc/stdlib/envlock.c: New file.
13984
        * libc/stdlib/envlock.h: New file.
13985
        * libc/stdlib/getenv.c: Modify to call reentrant routine.
13986
        * libc/stdlib/getenv_r.c: New file.
13987
        * libc/stdlib/mblen.c: Modify to call reentrant routine.
13988
        * libc/stdlib/mblen_r.c: New file.
13989
        * libc/stdlib/setenv.c: Modify to call reentrant routine.
13990
        * libc/stdlib/setenv_r.c: New file.
13991
        * libc/stdlib/stdlib.tex: Add reentrant routines.
13992
 
13993
Mon May 17 22:01:38 1999  Christopher Faylor 
13994
 
13995
        * libc/include/sys/types.h: Define __MS_types__ whenever
13996
        cygwin or win32.
13997
 
13998
Sun May 16 16:02:41 1999  Christopher Faylor 
13999
 
14000
        * libc/include/machine/ieeefp.h: Always default to little
14001
        endian if Windows, regardless of architecture.
14002
        * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
14003
        regardless of architecture.
14004
 
14005
Mon May  3 11:49:18 1999  Geoffrey Noer  
14006
 
14007
        * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
14008
        _WIN32 isn't defined.
14009
 
14010
Mon May  3 11:41:51 1999  Jeff Johnston  
14011
 
14012
        * libm/common/s_rint.c (rint): Add volatile qualifier for
14013
        intermediate value w.
14014
        * libm/common/sf_rint.c (rintf): Ditto.
14015
 
14016
Thu Apr 29 20:34:27 1999  Jeff Johnston  
14017
 
14018
        * libc/sys/arm/syscalls.c (remap_handle): Added check to
14019
        ensure that std streams are initialized before being referenced.
14020
 
14021
1999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
14022
 
14023
        * README: Update reference to newlib@cygnus.com new
14024
        newlib@sourceware.cygnus.com address.
14025
 
14026
Mon Apr 26 18:17:33 1999  Geoffrey Noer  
14027
 
14028
        * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
14029
        * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
14030
        defined, even if _WIN32 isn't defined.
14031
 
14032
Sat Apr 24 19:59:55 1999  Christopher Faylor 
14033
 
14034
        * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
14035
 
14036
Wed Apr 21 18:01:00 1999  Ranjith Kumaran  
14037
 
14038
        * libc/include/sys/reent.h: Change Long and ULong to __Long and
14039
        __ULong.
14040
        * libc/stdlib/dtoa.c: Ditto.
14041
        * libc/stdlib/mprec.c: Ditto.
14042
        * libc/stdlib/mprec.h: Ditto.
14043
        * libc/stdlib/strtod.c: Ditto.
14044
 
14045
1999-04-21  Nick Clifton  
14046
 
14047
        * configure.host (mcore): Remove mcore machine directory.
14048
 
14049
1999-04-18  Nick Clifton  
14050
 
14051
        * libc/include/machine/ieeefp.h: Add support for mcore target.
14052
        * libc/include/machine/setjmp.h: Add support for mcore target.
14053
        * configure.host: Add support for mcore target.
14054
 
14055
1999-04-13  Mark Salter  
14056
 
14057
        * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
14058
        * libc/sys/arm/syscalls.c: Added isatty.
14059
 
14060
Wed Apr 07 16:06:04 1999  Jeff Johnston  
14061
 
14062
        * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
14063
        insert zeroes after significant digits.
14064
 
14065
Wed Mar 17 22:06:04 1999  Jeff Johnston  
14066
 
14067
        * libc/stdio/vfprintf.c (cvt): Changed floating point
14068
        cvt routine to use union used by dtoa to properly determine
14069
        if the sign bit is on or not.
14070
        * libc/stdio/vfieeefp.h: New file
14071
 
14072
Wed Mar 17 17:35:04 1999  Jeff Johnston  
14073
 
14074
        * aclocal.m4: Regenerated.
14075
        * configure: Regenerated.
14076
 
14077
Wed Mar 17 16:35:04 1999  Jeff Johnston  
14078
 
14079
        * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
14080
        f_tanf reference.
14081
        * libc/machine/i386/Makefile.in: Regenerated.
14082
 
14083
Tue Mar 16 14:56:36 1999  Jeff Johnston  
14084
 
14085
        * acinclude.m4: Changed to work with new automake.
14086
        * configure: Regenerated.
14087
        * libc/machine/i386/aclocal.m4: Regenerated.
14088
        * libc/machine/i386/configure: Regenerated.
14089
 
14090
Tue Mar 16 13:55:36 1999  Corinna Vinschen  
14091
 
14092
        * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
14093
        for telldir() and seekdir().  Rename unused structure element
14094
        for use with these two routines.
14095
 
14096
Fri Mar 12 19:11:58 1999  Jeff Johnston  
14097
 
14098
        * libc/time/mktime.c (validate_structure): Multiple fixes to
14099
        code to handle cases where input fields are outside valid ranges.
14100
        * libc/stdlib/div.c (div): Modified invalid rounding check.
14101
        * libc/stdlib/ldiv.c (ldiv): Ditto.
14102
 
14103
Thu Mar 11 21:32:13 1999  Jeff Johnston  
14104
 
14105
        * libc/machine/i386/memcpy.S: Performance rewrite.
14106
        * libc/machine/i386/memmove.S: Ditto.
14107
        * libc/machine/i386/i386mach.h: Added more register definitions.
14108
        * libc/include/math.h: Include  if -ffast-math
14109
        option used.
14110
        * libc/include/machine/fastmath.h: Add definitions for x86
14111
        fast-math routines.
14112
 
14113
Wed Mar 10 17:56:00 1999 Ranjith Kumaran  
14114
 
14115
        * libc/stdlib/strtod.c: Change from unsigned long to ULong.
14116
 
14117
Tue Mar  9 14:31:58 1999  Geoffrey Noer  
14118
 
14119
        Adjust newlib headers for new Cygwin Win32 API header files:
14120
        * libc/include/sys/time.h: Check _WINSOCK_H rather than
14121
        _GNU_H_WINDOWS32_SOCKETS.
14122
        * libc/include/sys/types.h: Ditto.
14123
 
14124
Tue Mar 09 15:55:00 1999 Ranjith Kumaran  
14125
 
14126
        *include/sys/reent.h: Add checks for size of Bigint element Long.
14127
        *libc/dtoa.c: Change routines to use generic Long type.
14128
        *libc/mprec.c: Change routines to use generic Long type.
14129
        *libc/mprec.h: Change routines to use generic Long type.
14130
 
14131
Tue Mar 02 18:07:49 1999 Ranjith Kumaran  
14132
 
14133
        * libc/Makefile.am: Add .def files.
14134
        * libc/Makefile.in: Regenerate.
14135
        * libc/e_acosh.c: Documentation update.
14136
        * libc/e_atanh.c: Documentation update.
14137
        * libc/e_hypot.c: Documentation update.
14138
        * libc/e_remainder.c: Documentation update.
14139
        * libc/er_lgamma.c: Documentation update.
14140
        * libc/mathfp.tex: Documentation update.
14141
        * libc/s_acos.c: Documentation update.
14142
        * libc/s_atan.c: Documentation update.
14143
        * libc/s_atan2.c: Documentation update.
14144
        * libc/s_cosh.c: Documentation update.
14145
        * libc/s_fmod.c: Documentation update.
14146
        * libc/s_isnan.c: Documentation update.
14147
        * libc/s_log10.c: Documentation update.
14148
        * libc/s_pow.c: Documentation update.
14149
        * libc/w_jn.c: Documentation update.
14150
 
14151
Sun Feb 28 23:18:49 1999  Geoffrey Noer  
14152
 
14153
        * aclocal.m4: Regenerate.
14154
        * configure: Regenerate.
14155
 
14156
Tue Feb 23 13:57:26 1999  Jeff Johnston  
14157
 
14158
        * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
14159
        to return 1 if user specified return code is 0.
14160
        * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
14161
 
14162
Thu Feb 18 11:13:28 1999  Jeff Johnston  
14163
 
14164
        * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
14165
        to save the return address.  Fixed longjmp to return to the original
14166
        calling address of setjmp and to return the user specified return code
14167
        rather than default to 1.
14168
        * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
14169
 
14170
Mon Feb 15 17:48:17 1999  Jeff Johnston  
14171
 
14172
        * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
14173
 
14174
1999-02-10  Nick Clifton  
14175
 
14176
        * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
14177
        volatile so that its assignments will not be discarded.
14178
 
14179
Wed Feb 10 17:19:40 1999  Jeff Johnston  
14180
 
14181
        * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
14182
        be __STRICT_ANSI__ which is generated by compiler.
14183
        * libc/include/ctype.h: Ditto.
14184
        * libc/include/math.h: Ditto.
14185
        * libc/include/stdio.h: Ditto.
14186
        * libc/include/stdlib.h: Ditto.
14187
        * libc/include/string.h: Ditto.
14188
        * libc/include/sys/signal.h: Ditto.
14189
 
14190
1999-02-08  Nick Clifton  
14191
 
14192
        * configure.host: Add support for StrongARM target.
14193
 
14194
Fri Feb  5 11:13:14 1999  Jeff Johnston  
14195
 
14196
        * libc/string/strncpy.c (strncpy): Removed redundant code
14197
        that was copying bytes if data unaligned.
14198
 
14199
1999-02-02  Brendan Kehoe  
14200
 
14201
        * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
14202
        mbstowcs.def, and wcstombs.def.
14203
 
14204
Sat Jan 30 02:36:33 1999  Christopher Faylor 
14205
 
14206
        * libc/include/sys/errno.h: Add Cygwin errno.
14207
        * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
14208
        is specified.
14209
 
14210
1999-01-29  Nick Clifton  
14211
 
14212
        * libc/sys/arm/syscalls.c: Move C library functions into seperate
14213
        file.
14214
 
14215
        * libc/sys/arm/libcfunc.c: New file containing C library functions
14216
        from syscalls.c
14217
 
14218
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
14219
        * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
14220
 
14221
 
14222
1999-01-27  Michael Meissner  
14223
 
14224
        * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
14225
        type, and cut size in half so that the jmp_buf array is guaranteed
14226
        to be aligned on a 64-bit boundary.
14227
 
14228
Mon Jan 25 12:05:38 1999  Jeff Johnston  
14229
 
14230
        * libc/string/strings.tex: Added information about
14231
        strcasecmp and strncasecmp.
14232
        * libc/stdlib/stdlib.tex: Added missing information
14233
        about mblen, mbstowcs, and wcstombs.
14234
        * libc/string/strchr.c: Changed how mask is built to use
14235
        shift operators so register will be used instead of storage.
14236
 
14237
1999-01-22  DJ Delorie  
14238
 
14239
        * libc/include/stdlib.h: don't use dllimport if we're building
14240
        newlib, since it's inside cygwin.dll
14241
 
14242
Fri Jan 22 14:57:18 1999  Christopher Faylor 
14243
 
14244
        * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
14245
        _ctype_ under cygwin.
14246
 
14247
Fri Jan 22 09:50:19 1999  Christopher Faylor 
14248
 
14249
        * include/stdlib.h: Fix typo from previous checkin.
14250
 
14251
Thu Jan 21 22:42:21 1999  Christopher Faylor 
14252
 
14253
        * include/ctype.h: Use __declspec(dllimport) method for exporting
14254
        variable from cygwin DLL.
14255
        * include/time.h: Ditto.
14256
        * sys/errno.h: Ditto.
14257
        * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
14258
        * libc/locale/locale.c: Use __declspec(dllexport) method for
14259
        exporting variable from cygwin DLL.
14260
 
14261
Sat Jan 16 13:29:54 1999  Christopher Faylor 
14262
 
14263
        * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
14264
        access of bogus pointer will result in SIGSEGV.
14265
 
14266
1999-01-07  Nick Clifton  
14267
 
14268
        * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
14269
        of an underscore prefix to function names.
14270
 
14271
Fri Jan  8 19:00:07 1999  Jeff Johnston  
14272
 
14273
        * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
14274
        define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
14275
 
14276
1998-12-31  Michael Meissner  
14277
 
14278
        * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
14279
        to `%' if not already defined.
14280
 
14281
1998-12-30  Michael Meissner  
14282
 
14283
        * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
14284
        arguments const char *, not char *.
14285
        * libc/include/stdio.h (_tempnam_r): Ditto.
14286
 
14287
        * libc/include/sys/reent.h (struct _reent): The _sig_func type
14288
        points to a function taking an integer, not void.
14289
 
14290
Tue Dec 29 14:35:53 1998  Christopher Faylor 
14291
 
14292
        * configure.host: Add a define for Cygwin builds.
14293
        * libc/include/ctype.h: Don't use dll imported variables in newlib.
14294
 
14295
Mon Dec 28 09:19:56 1998  Christopher Faylor 
14296
 
14297
        * libc/include/ctype.h: Define _ctype_ as dll imported variable
14298
        for use with Cygwin.
14299
        * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
14300
        dll imported variables for use with Cygwin.
14301
        * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
14302
        as a dll imported variable for Cygwin.
14303
 
14304
Sat Dec 26 00:13:53 1998  Christopher Faylor 
14305
 
14306
        * libc/include/sys/unistd.h: Add proto for getpass.
14307
 
14308
Fri Dec 18 19:28:19 1998  Geoffrey Noer  
14309
 
14310
        * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
14311
        alphasort.
14312
 
14313
Fri Dec 18 16:33:25 1998  Geoffrey Noer  
14314
 
14315
        * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
14316
        not posix_path_list_p.
14317
 
14318
1998-12-15  Nick Clifton  
14319
 
14320
        * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
14321
        a signed int.
14322
 
14323
1998-12-13  Nick Clifton  
14324
 
14325
        * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
14326
 
14327
1998-12-12  Nick Clifton  
14328
 
14329
        * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
14330
        
14331
        * libc/machine/fr30/Makefile.am: Add build of setjmp.S
14332
        * libc/machine/fr30/Makefile.in: Regenerated.
14333
 
14334
1998-12-11  Nick Clifton  
14335
 
14336
        * configure.host: Remove use of libc/sys for FR30 port.
14337
        * libc/sys/fr30: Remove directory (replaced by libgloss).
14338
 
14339
1998-12-10  Ken Raeburn  
14340
 
14341
        * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
14342
        * libc/string/strncat.c (ALIGNED): Ditto.
14343
 
14344
Wed Dec  9 14:37:57 1998  Geoffrey Noer  
14345
 
14346
        * libc/include/sys/time.h: include sys/types.h
14347
 
14348
Tue Dec  8 15:53:18 1998  Jeff Johnston  
14349
 
14350
        * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
14351
        comparison found when checking word at a time.
14352
 
14353
1998-12-04  Nick Clifton  
14354
 
14355
        * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
14356
 
14357
1998-12-03  Nick Clifton  
14358
 
14359
        * libc/sys/fr30/syscalls.c (_times): New function stub.
14360
 
14361
Thu Dec  3 15:59:19 1998  Jeff Johnston  
14362
 
14363
        * configure.host (mach_add_setjmp): Replaced mach_add_objs
14364
        with mach_add_setjmp flag which indicates if setjmp should
14365
        be added to the machine directory objects.
14366
        * acinclude.m4: Removed reference to mach_add_objs.
14367
        * aclocal.m4: Regenerated.
14368
        * Makefile.in: Regenerated.
14369
        * configure: Regenerated.
14370
        * libc/aclocal.m4: Regenerated.
14371
        * libc/Makefile.in: Regenerated.
14372
        * libc/configure: Regenerated.
14373
        * libc/machine/aclocal.m4: Regenerated.
14374
        * libc/machine/Makefile.in: Regenerated.
14375
        * libc/machine/configure: Regenerated.
14376
        * libc/machine/i386/aclocal.m4: Regenerated.
14377
        * libc/machine/i386/Makefile.am: Altered to selectively add
14378
        setjmp.S to the src files list.
14379
        * libc/machine/i386/Makefile.in: Regenerated.
14380
        * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
14381
        * libc/machine/i386/configure: Regenerated.
14382
 
14383
1998-12-02  Nick Clifton  
14384
 
14385
        * libc/sys/fr30/crt0.s (_start): Fix function names.
14386
 
14387
        * libc/machine/fr30: New directory
14388
        * libc/machine/fr30/Makefile.am: New file.
14389
        * libc/machine/fr30/Makefile.in: New generated file.
14390
        * libc/machine/fr30/configure.in: New file.
14391
        * libc/machine/fr30/configure: New generated file.
14392
        * libc/machine/fr30/aclocal.m4: New generated file.
14393
        * libc/sys/fr30/Makefile.am: New file.
14394
        * libc/sys/fr30/Makefile.in: New generated file.
14395
        * libc/sys/fr30/configure.in: New file.
14396
        * libc/sys/fr30/configure: New generated file.
14397
        * libc/sys/fr30/syscalls.c: New file.
14398
 
14399
Tue Dec  1 16:28:56 1998  Geoffrey Noer  
14400
 
14401
        * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
14402
 
14403
1998-12-01  Ken Raeburn  
14404
 
14405
        * libc/time/strftime.c (strftime): Also handle %y for years before
14406
        1900.
14407
 
14408
Tue Dec  1 13:26:07 1998  Christopher Faylor 
14409
 
14410
        * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
14411
        UNIX convention.  Perform tolower on characters before comparing
14412
        them rather than use toupper.
14413
        * libc/string/strncasecmp.c (strncasecmp): Ditto.
14414
 
14415
Mon Nov 30 16:24:19 1998  Jeff Johnston  
14416
 
14417
        * configure.host: Added using i386 machine directory
14418
        for all x86 cross-compiler and configuring
14419
        which added object files to use via new "mach_add_objs" variable.
14420
        * configure: Regenerated.
14421
        * libc/configure: Regenerated.
14422
        * libc/Makefile.in: Regenerated.
14423
        * libc/aclocal.m4: Regenerated.
14424
        * libc/ctype/Makefile.in: Regenerated.
14425
        * libc/errno/Makefile.in: Regenerated.
14426
        * libc/locale/Makefile.in: Regenerated.
14427
        * libc/machine/Makefile.in: Regenerated.
14428
        * libc/machine/aclocal.m4: Regenerated.
14429
        * libc/machine/configure: Regenerated.
14430
        * libc/posix/Makefile.in: Regenerated.
14431
        * libc/reent/Makefile.in: Regenerated.
14432
        * libc/signal/Makefile.in: Regenerated.
14433
        * libc/stdio/Makefile.in: Regenerated.
14434
        * libc/stdlib/Makefile.in: Regenerated.
14435
        * libc/string/Makefile.in: Regenerated.
14436
        * libc/string/memmove.c: Optimized code to use memcpy
14437
        logic when performing a non-destructive copy.
14438
        * libc/string/strncmp.c: Altered code to allow building
14439
        optimized for size or speed.
14440
        * libc/syscalls/Makefile.in: Regenerated.
14441
        * libc/time/Makefile.in: Regenerated.
14442
        * libc/unix/Makefile.in: Regenerated.
14443
        * libc/machine/i386/Makefile.am: Added new files and reference
14444
        to "mach_add_objs" to indicate optional object files.
14445
        * libc/machine/i386/Makefile.in: Regenerated.
14446
        * libc/machine/i386/aclocal.m4: Regenerated.
14447
        * libc/machine/i386/configure: Regenerated.
14448
        * libc/machine/i386/memchr.S: New file that implements
14449
        function in Intel assembler.
14450
        * libc/machine/i386/memcmp.S: ditto.
14451
        * libc/machine/i386/memcpy.S: ditto.
14452
        * libc/machine/i386/memmove.S: ditto.
14453
        * libc/machine/i386/memset.S: ditto.
14454
        * libc/machine/i386/strchr.S: ditto.
14455
        * libc/machine/i386/strlen.S: ditto.
14456
        * libc/machine/i386/f_atan2.S: New file that implements
14457
        fast version of math function to be used by compiler when
14458
        --ffast_math compile option is used.
14459
        * libc/machine/i386/f_atan2f.S: ditto.
14460
        * libc/machine/i386/f_exp.c: ditto.
14461
        * libc/machine/i386/f_expf.c: ditto.
14462
        * libc/machine/i386/f_frexp.S: ditto.
14463
        * libc/machine/i386/f_frexpf.S: ditto.
14464
        * libc/machine/i386/f_ldexp.S: ditto.
14465
        * libc/machine/i386/f_ldexpf.S: ditto.
14466
        * libc/machine/i386/f_log.S: ditto.
14467
        * libc/machine/i386/f_logf.S: ditto.
14468
        * libc/machine/i386/f_log10.S: ditto.
14469
        * libc/machine/i386/f_log10f.S: ditto.
14470
        * libc/machine/i386/f_math.h: New file.
14471
        * libc/machine/i386/f_pow.c: ditto.
14472
        * libc/machine/i386/f_powf.S: ditto.
14473
        * libc/machine/i386/f_tan.S: ditto.
14474
        * libc/machine/i386/f_tan.S: ditto.
14475
        * libc/machine/i386/i386mach.h: New file.
14476
 
14477
Mon Nov 30 13:02:17 1998  Christopher Faylor 
14478
 
14479
        patch from Mumit Khan 
14480
        * libc/include/stdio.h (tempnam): Add prototype.
14481
        * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
14482
        (tempnam): Adhere to prototype.
14483
 
14484
Thu Nov 26 00:21:32 1998  Christopher Faylor 
14485
 
14486
        * Makefile.am: Add default for AR_FLAGS.
14487
        * Makefile.in: Regenerate.
14488
 
14489
Tue Nov 24 18:48:56 1998  Geoffrey Noer  
14490
 
14491
        * libc/include/time.h: move __cplusplus wrapper after includes
14492
        * libc/include/sys/time.h: ditto.  If Cygwin, include
14493
        sys/select.h.
14494
        * libc/include/sys/types.h: lose "32" in comment about Cygwin.
14495
 
14496
1998-11-23  Ken Raeburn  
14497
 
14498
        * libc/time/strftime.c (strftime): Handle %y after year 2000.
14499
 
14500
Wed Nov 18 12:22:41 1998  Nick Clifton  
14501
 
14502
        * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
14503
        abnormnal end-of-crt0 marker.
14504
 
14505
Tue Nov 17 16:27:58 1998  Nick Clifton  
14506
 
14507
        * libc/sys/fr30/crt0.s: New file/directory.
14508
        * libc/include/machine/setjmp.h: Add FR30 target.
14509
        * libc/include/machine/ieeefp.h: Add FR30 target.
14510
        * configure.host: Add FR30 target.
14511
 
14512
Mon Nov  16 23:15:00 1998  Ranjith Kumaran 
14513
 
14514
        * libm/math: Files that are duplicated in common directory removed.
14515
        * libm/math/fdlibm.h: Removed.
14516
        * libm/math/s_cbrt.c: Removed.
14517
        * libm/math/s_copysign.c: Removed.
14518
        * libm/math/s_expm1.c: Removed.
14519
        * libm/math/s_finite.c: Removed.
14520
        * libm/math/s_ilogb.c: Removed.
14521
        * libm/math/s_infinity.c: Removed.
14522
        * libm/math/s_lib_ver.c: Removed.
14523
        * libm/math/s_log1p.c: Removed.
14524
        * libm/math/s_logb.c: Removed.
14525
        * libm/math/s_matherr.c: Removed.
14526
        * libm/math/s_modf.c: Removed.
14527
        * libm/math/s_nan.c: Removed.
14528
        * libm/math/s_nextafter.c: Removed.
14529
        * libm/math/s_rint.c: Removed.
14530
        * libm/math/s_scalbn.c: Removed.
14531
        * libm/math/sf_cbrt.c: Removed.
14532
        * libm/math/sf_copysign.c: Removed.
14533
        * libm/math/sf_expm1.c: Removed.
14534
        * libm/math/sf_finite.c: Removed.
14535
        * libm/math/sf_ilogb.c: Removed.
14536
        * libm/math/sf_infinity.c: Removed.
14537
        * libm/math/sf_log1p.c: Removed.
14538
        * libm/math/sf_logb.c: Removed.
14539
        * libm/math/sf_modf.c: Removed.
14540
        * libm/math/sf_nan.c: Removed.
14541
        * libm/math/sf_nextafter.c: Removed.
14542
        * libm/math/sf_rint.c: Removed.
14543
        * libm/math/sf_scalbn.c: Removed.
14544
        * libm/math/Makefile.am: Removed references to deleted files (above).
14545
        * libm/math/Makefile.in: Regenerated.
14546
        * libm/Makefile.am: Added common directory to math.
14547
        * libm/Makefile.in: Regenerated.
14548
 
14549
Mon Nov  2 23:12:00 1998  Ranjith Kumaran 
14550
 
14551
        * libm/mathfp: Add non-ANSI functions.
14552
        * libm/mathfp/e_acosh.c acosh(): New file.
14553
        * libm/mathfp/e_atanh.c atanh(): New file.
14554
        * libm/mathfp/e_hypot.c hypot(): New file.
14555
        * libm/mathfp/e_j0.c j0(): New file.
14556
        * libm/mathfp/e_j1.c j1(): New file.
14557
        * libm/mathfp/e_remainder.c remainder(): New file.
14558
        * libm/mathfp/e_scalb.c scalb(): New file.
14559
        * libm/mathfp/ef_acosh.c acoshf(): New file.
14560
        * libm/mathfp/ef_atanh.c atanhf(): New file.
14561
        * libm/mathfp/ef_hypot.c hypotf(): New file.
14562
        * libm/mathfp/ef_j0.c j0f(): New file.
14563
        * libm/mathfp/ef_j1.c j1f(): New file.
14564
        * libm/mathfp/ef_remainder.c remainderf(): New file.
14565
        * libm/mathfp/ef_scalb.c scalbf(): New file.
14566
        * libm/mathfp/er_gamma.c gamma_r: New file.
14567
        * libm/mathfp/er_lgamma.c lgamma_r(): New file.
14568
        * libm/mathfp/erf_gamma.c gamma_rf(): New file.
14569
        * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
14570
        * libm/mathfp/w_cabs.c cabs(): New file.
14571
        * libm/mathfp/w_drem.c drem(): New file.
14572
        * libm/mathfp/w_jn.c jn(): New file.
14573
        * libm/mathfp/wf_cabs.c cabsf(): New file.
14574
        * libm/mathfp/wf_drem.c dremf(): New file.
14575
        * libm/mathfp/wf_jn.c jnf(): New file.
14576
 
14577
Mon Nov  2 16:43:18 1998  Geoffrey Noer  
14578
 
14579
        * libc/sys/cygwin32: remove directory and contents
14580
        * libc/sys/cygwin: and add back, losing the "32".
14581
        * configure.host: check for cygwin* instead of cygwin32.
14582
        * acinclude.m4: ditto.
14583
        * aclocal.m4: regenerate with aclocal
14584
        * configure: regenerate with autoconf
14585
 
14586
Tue Oct 20 17:28:28 1998  Geoffrey Noer  
14587
 
14588
        * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
14589
        for length
14590
 
14591
Tue Oct 20 18:49:05 1998  Jeff Johnston  
14592
 
14593
        * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
14594
        _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
14595
        to make rand/srand, strtok, asctime, localtime, w_gamma,
14596
        w_lgamma, wf_gamma, and wf_lgamma reentrant.  Included
14597
        time.h to bring in struct tm definition.
14598
        * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
14599
        '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
14600
        * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
14601
        instead of static variable.
14602
        * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
14603
        struct reent instead of static variable.
14604
        * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
14605
        struct reent instead of static variable.
14606
        * libm/math/Makefile.am: Removed s_signgam.o.
14607
        * libm/math/Makefile.in: Regenerated.
14608
        * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
14609
        struct reent instead of global variable 'signgam'.
14610
        * libm/math/w_lgamma.c (lgamma): Likewise.
14611
        * libm/math/wf_gamma.c (gammaf): Likewise.
14612
        * libm/math/wf_lgamma.c (lgammaf): Likewise.
14613
        * libm/math/s_signgam.c: Removed.
14614
        * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
14615
        to be const.
14616
        * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
14617
        to be const.
14618
        * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
14619
        libc/include/reent.h.
14620
        * libc/reent/Makefile.in: Regenerated.
14621
        * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
14622
        to be const.
14623
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
14624
        'JIS_action_table' to be const.
14625
        * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
14626
 
14627
Mon Oct 12 00:26:33 1998  Christopher Faylor 
14628
 
14629
        * acinclude.m4:  $with_target_subdir should default to '.'
14630
        or confusion results when configuring in same directory as sources.
14631
        * Regenerate all aclocal.m4 and configure files.
14632
 
14633
Fri Oct  9 16:27:36 1998  Jeff Johnston  
14634
 
14635
        * libc/stdlib/mallocr.c: Added 16 byte alignment support which
14636
        can be set by defining MALLOC_ALIGNMENT=16.  Also added support
14637
        for platforms where sizeof(size_t) < sizeof(long) via
14638
        SIZE_T_SMALLER_THAN_LONG macro.
14639
 
14640
Wed Oct  7 14:02:40 1998  Jeff Johnston  
14641
 
14642
        * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
14643
        to refer to _CLOCKS_PER_SEC_ and added including 
14644
        which sets _CLOCKS_PER_SEC_ for selected machines.
14645
        * libc/include/machine/time.h: New file.
14646
 
14647
Tue Oct  6 16:08:05 1998  Jeff Johnston  
14648
 
14649
        * libc/syscalls/sysexecve.c: New file.
14650
        * libc/syscalls/sysgettod.c: New file.
14651
        * libc/syscalls/systimes.c: New file.
14652
        * libc/syscalls/Makefile.am: Added new objects.
14653
        * libc/syscalls/Makefile.in: Regenerated.
14654
        * libc/include/_syslist.h (_execve): Moved define in file.
14655
        * libc/include/reent.h:  Added _execve_r declaration.
14656
        * libc/Makefile.in: Regenerated.
14657
        * libc/ctype/Makefile.in: Regenerated.
14658
        * libc/errno/Makefile.in: Regenerated.
14659
        * libc/locale/Makefile.in: Regenerated.
14660
        * libc/machine/Makefile.in: Regenerated.
14661
        * libc/misc/Makefile.in: Regenerated.
14662
        * libc/posix/Makefile.in: Regenerated.
14663
        * libc/reent/Makefile.in: Regenerated.
14664
        * libc/reent/execr.c (_execve_r): Added _execve_r function.
14665
        * libc/signal/Makefile.in: Regenerated.
14666
        * libc/stdio/Makefile.in: Regenerated.
14667
        * libc/time/Makefile.in: Regenerated.
14668
        * libc/unix/Makefile.in: Regenerated.
14669
        * libm/mathfp/Makefile.in: Regenerated.
14670
 
14671
Tue Oct  6 14:14:05 1998  Jeff Johnston  
14672
 
14673
        * libc/string/Makefile.in: Regenerated.
14674
        * libc/string/memchr.c (memchr): Moved code to reduce object size.
14675
        * libc/string/memcpy.c (memcpy): Ditto.
14676
        * libc/string/memcmp.c (memcmp): Ditto.
14677
        * libc/string/memset.c (memset): Ditto.
14678
        * libc/string/strchr.c (strchr): Ditto.
14679
        * libc/string/strcmp.c (strcmp): Ditto.
14680
        * libc/string/strcpy.c (strcpy): Ditto.
14681
        * libc/string/strlen.c (strlen): Ditto.
14682
 
14683
Tue Oct  6 13:58:05 1998  Jeff Johnston  
14684
 
14685
        * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
14686
        to generate aclocal.m4.
14687
        * libm/Makefile.in: Regenerated.
14688
        * libm/aclocal.m4: Regenerated.
14689
        * libm/configure: Regenerated.
14690
        * libm/math/Makefile.in: Regenerated.
14691
        * libm/mathfp/Makefile.in: Regenerated.
14692
 
14693
1998-09-25  Mark Salter  
14694
 
14695
        * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
14696
        by adding leading and trailing underscores to symbol names.
14697
 
14698
Tue Sep 22 15:33:41 1998  Christopher Faylor 
14699
 
14700
        * Makefile.in: Add default for AR_FLAGS.
14701
 
14702
Tue Sep 22 15:02:49 1998  Christopher Faylor 
14703
 
14704
        patch from ian@airs.com (Ian Taylor):
14705
        * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
14706
        NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
14707
        is needed for detecting the build machine.  Required for
14708
        cygwin native builds.
14709
 
14710
        * Regenerate all aclocal.m4 and configure files.
14711
 
14712
Mon Sep 21 14:44:16 1998  Nick Clifton  
14713
 
14714
        * libc/sys/arm/crt0.S: Prepend a period to all local labels that
14715
        used to start with LC.
14716
 
14717
Thu Sep 17 18:18:11 1998  J"orn Rennecke 
14718
 
14719
        * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
14720
        (longjmp): Likewise.
14721
 
14722
Thu Sep 17 16:25:33 1998  J"orn Rennecke 
14723
 
14724
        * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
14725
        the test for small number of bytes.
14726
 
14727
Thu Sep 10 11:40:00 1998  Ranjith Kumaran 
14728
 
14729
        * Makefile.am: Add --enable-newlib-hw-fp check.  This builds the new
14730
        math library that uses floating point algorithms instead of the old
14731
        libm.
14732
        * Makefile.in: Regenerate with automake version 1.3b.
14733
        * configure: Rebuild.
14734
        * libm/Makefile.in: Regenerate with automake version 1.3b.
14735
        * libm/aclocal.m4: Regenerate.
14736
        * libm/configure: Rebuild.
14737
        * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
14738
        * libm/acinclude.m4: Define macros for configure.in.
14739
        * libm/config.h.in: Generate.
14740
        * libm/mathfp/Makefile.am: New file.
14741
        * libm/mathfp/Makefile.in: Generate.
14742
        * libm/mathfp/s_acos.c (acos): New file.
14743
        * libm/mathfp/s_asin.c (asin): New file.
14744
        * libm/mathfp/s_asine.c (asine): New file.
14745
        * libm/mathfp/s_atan.c (atan): New file.
14746
        * libm/mathfp/s_atan2.c (atan2): New file.
14747
        * libm/mathfp/s_atangent.c (atangent): New file.
14748
        * libm/mathfp/s_ceil.c (ceil): New file.
14749
        * libm/mathfp/s_copysign.c (copysign): New file.
14750
        * libm/mathfp/s_cos.c (cos): New file.
14751
        * libm/mathfp/s_cosh.c (cosh): New file.
14752
        * libm/mathfp/s_exp.c (exp): New file.
14753
        * libm/mathfp/s_fabs.c (fabs): New file.
14754
        * libm/mathfp/s_finite.c (finite): New file.
14755
        * libm/mathfp/s_floor.c (floor): New file.
14756
        * libm/mathfp/s_fmod.c (fmod): New file.
14757
        * libm/mathfp/s_frexp.c (frexp): New file.
14758
        * libm/mathfp/s_infconst.c: New file.
14759
        * libm/mathfp/s_isinf (isinf).c: New file.
14760
        * libm/mathfp/s_isnan.c (isnan): New file.
14761
        * libm/mathfp/s_ispos.c (ispos): New file.
14762
        * libm/mathfp/s_ldexp.c (ldexp): New file.
14763
        * libm/mathfp/s_log.c (log): New file.
14764
        * libm/mathfp/s_log10.c (log10): New file.
14765
        * libm/mathfp/s_logarithm.c (logarithm): New file.
14766
        * libm/mathfp/s_mathcnst.c: New file.
14767
        * libm/mathfp/s_modf (modf).c: New file.
14768
        * libm/mathfp/s_numtest.c (numtest): New file.
14769
        * libm/mathfp/s_pow.c (pow): New file.
14770
        * libm/mathfp/s_scalbn.c (scalbn): New file.
14771
        * libm/mathfp/s_sin (sin).c: New file.
14772
        * libm/mathfp/s_sine.c (sine): New file.
14773
        * libm/mathfp/s_sineh.c (sineh): New file.
14774
        * libm/mathfp/s_sinf.c (sinf): New file.
14775
        * libm/mathfp/s_sinh.c (sinh): New file.
14776
        * libm/mathfp/s_sqrt.c (sqrt): New file.
14777
        * libm/mathfp/s_tan.c (tan): New file.
14778
        * libm/mathfp/s_tanh.c (tanh): New file.
14779
        * libm/mathfp/sf_acos.c (acosf): New file.
14780
        * libm/mathfp/sf_asin.c (asinf): New file.
14781
        * libm/mathfp/sf_asine.c (asinef): New file.
14782
        * libm/mathfp/sf_atan.c (atanf): New file.
14783
        * libm/mathfp/sf_atan2.c (atan2f): New file.
14784
        * libm/mathfp/sf_atangent.c (atangent): New file.
14785
        * libm/mathfp/sf_ceil.c (ceilf): New file.
14786
        * libm/mathfp/sf_copysign.c (copysignf): New file.
14787
        * libm/mathfp/sf_cos.c (cosf): New file.
14788
        * libm/mathfp/sf_cosh.c (coshf): New file.
14789
        * libm/mathfp/sf_exp.c (expf): New file.
14790
        * libm/mathfp/sf_fabs.c (fabsf): New file.
14791
        * libm/mathfp/sf_finite.c (finitef): New file.
14792
        * libm/mathfp/sf_floor.c (floorf): New file.
14793
        * libm/mathfp/sf_fmod.c (fmodf): New file.
14794
        * libm/mathfp/sf_frexp.c (frexpf): New file.
14795
        * libm/mathfp/sf_isinf.c (isinff): New file.
14796
        * libm/mathfp/sf_isnan.c (isnanf): New file.
14797
        * libm/mathfp/sf_ispos.c (isposf): New file.
14798
        * libm/mathfp/sf_ldexp.c (ldexpf): New file.
14799
        * libm/mathfp/sf_log.c (logf): New file.
14800
        * libm/mathfp/sf_log10.c (log10f): New file.
14801
        * libm/mathfp/sf_logarithm.c (logarithmf): New file.
14802
        * libm/mathfp/sf_modf.c (modff): New file.
14803
        * libm/mathfp/sf_numtest.c (numtestf): New file.
14804
        * libm/mathfp/sf_pow.c (powf): New file.
14805
        * libm/mathfp/sf_scalbn.c (scalbnf): New file.
14806
        * libm/mathfp/sf_sin.c (sinf): New file.
14807
        * libm/mathfp/sf_sine.c (sinef): New file.
14808
        * libm/mathfp/sf_sineh.c (sinehf): New file.
14809
        * libm/mathfp/sf_sinh.c (sinhf): New file.
14810
        * libm/mathfp/sf_sqrt.c (sqrtf): New file.
14811
        * libm/mathfp/sf_tan.c (tanf): New file.
14812
        * libm/mathfp/sf_tanh.c (tanhf): New file.
14813
        * libm/mathfp/zmath.h: New file.
14814
 
14815
Wed Sep  2 02:49:03 1998  J"orn Rennecke 
14816
 
14817
        * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
14818
        exit if it has been overwritten by pre-fetching in delay slot.
14819
 
14820
1998-09-01  Michael Meissner  
14821
 
14822
        * Makefile.am (tooldir): Add in host_alias, so that multilib
14823
        libraries are installed in the directory the compiler looks in.
14824
        * Makefile.in: Regenerate.
14825
 
14826
        * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
14827
 
14828
Mon Aug 31 11:39:31 1998  Jeff Johnston  
14829
 
14830
        * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
14831
        ahead of test for number of bytes being moved.
14832
 
14833
Thu Aug 27 14:07:53 1998  Christopher Faylor 
14834
 
14835
        * libc/include/sys/unistd.h: Nothing special needed for
14836
        _exit under cygwin.
14837
 
14838
Wed Aug 26 15:05:21 1998  Nick Clifton  
14839
 
14840
        * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
14841
        conform to user label naming conventions.
14842
 
14843
Mon Aug 24 14:46:19 1998  Geoffrey Noer 
14844
 
14845
        * libc/sys/cygwin32/sys/utime.h: variable names in
14846
        protos should start with two leading underscores
14847
        * libc/include/string.h: ditto
14848
        * libc/include/sys/signal.h: ditto
14849
        * libc/include/sys/stat.h: ditto
14850
        * libc/include/sys/time.h: ditto
14851
        * libc/include/sys/unistd.h: ditto
14852
        * libc/include/ctype.h: ditto
14853
        * libc/include/stdlib.h: ditto
14854
        * libc/include/sys/reent.h: struct _atexit function ptr takes a
14855
        void, same with _sig_func.
14856
 
14857
Fri Aug 21 14:44:14 1998  Jeff Johnston  
14858
 
14859
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
14860
        for MB_CAPABLE to reduce code size when newlib is not configured
14861
        with --enable-newlib-mb.
14862
        * libc/stdlib/Makefile.am: Specified -fshort-enums when building
14863
        mbtowc_r.o to minimize size.
14864
        * libc/stdlib/Makefile.in: Rebuild.
14865
 
14866
Wed Aug 19 16:20:13 1998  Jim Wilson  
14867
 
14868
        * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
14869
        to -DREENT.
14870
        * libc/sys/sparc64/Makefile.in: Rebuild.
14871
 
14872
Tue Aug 18 22:38:29 1998  Ian Lance Taylor  
14873
 
14874
        * Makefile.am (MAKEOVERRIDES): Define.
14875
        * Makefile.in: Rebuild.
14876
 
14877
Tue Aug 18 12:38:47 1998  Jim Wilson  
14878
 
14879
        * libc/sys/sparc64/sys/stat.h (stat): Add const.
14880
 
14881
Mon Aug 17 22:27:06 1998  Ian Lance Taylor  
14882
 
14883
        * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
14884
        newlib_cflags when looking for targ-include.
14885
        * */aclocal.m4, */configure: Rebuild.
14886
 
14887
Fri Jul 31 10:57:42 1998  Catherine Moore  
14888
 
14889
        * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
14890
        to "_end".
14891
 
14892
Wed Jul 29 00:02:01 1998  Mark Alexander  
14893
 
14894
        * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
14895
        on SPARCs with little-endian data.
14896
        * libc/include/machine/ieeefp.h: Ditto.
14897
 
14898
Wed Jul 22 18:00:10 1998  Ian Lance Taylor  
14899
 
14900
        * acinclude.m4: Handle a relative srcdir correctly when setting
14901
        newlib_cflags.
14902
        * */aclocal.m4, */configure: Rebuild.
14903
 
14904
Wed Jul 22 17:11:33 1998  Jeff Johnston  
14905
 
14906
        * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
14907
        also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
14908
        * libm/math/wrf_gamma.c (gammaf_r): ditto
14909
        * libm/math/wr_lgamma.c (lgamma_r): ditto
14910
        * libm/math/wr_gamma.c (gamma_r): ditto
14911
        * libm/math/wf_sqrt.c (sqrtf): ditto
14912
        * libm/math/wf_sinh.c (sinhf): ditto
14913
        * libm/math/wf_scalb.c (scalbf): ditto
14914
        * libm/math/wf_remainder.c (remainderf): ditto
14915
        * libm/math/wf_pow.c (powf): ditto
14916
        * libm/math/wf_log10.c (log10f): ditto
14917
        * libm/math/wf_log.c (logf): ditto
14918
        * libm/math/wf_lgamma.c (lgammaf): ditto
14919
        * libm/math/wf_jn.c (jnf, ynf): ditto
14920
        * libm/math/wf_j1.c (j1f, y1f): ditto
14921
        * libm/math/wf_j0.c (j0f, y0f): ditto
14922
        * libm/math/wf_hypot.c (hypotf): ditto
14923
        * libm/math/wf_gamma.c (gammaf): ditto
14924
        * libm/math/wf_fmod.c (fmodf): ditto
14925
        * libm/math/wf_exp.c (expf): ditto
14926
        * libm/math/wf_cosh.c (coshf): ditto
14927
        * libm/math/wf_atanh.c (atanhf): ditto
14928
        * libm/math/wf_atan2f.c (atan2f): ditto
14929
        * libm/math/wf_asin.c (asinf): ditto
14930
        * libm/math/wf_acosh.c (acoshf): ditto
14931
        * libm/math/wf_acos.c (acosf): ditto
14932
        * libm/math/w_sqrt.c (sqrt): ditto
14933
        * libm/math/w_sinh.c (sinh): ditto
14934
        * libm/math/w_scalb.c (scalb): ditto
14935
        * libm/math/w_remainder.c (remainder): ditto
14936
        * libm/math/w_pow.c (pow): ditto
14937
        * libm/math/w_log10.c (log10): ditto
14938
        * libm/math/w_log.c (log): ditto
14939
        * libm/math/w_lgamma.c (lgamma): ditto
14940
        * libm/math/w_jn.c (jn, yn): ditto
14941
        * libm/math/w_j1.c (j1, y1): ditto
14942
        * libm/math/w_j0.c (j0, y0): ditto
14943
        * libm/math/w_hypot.c (hypot): ditto
14944
        * libm/math/w_gamma.c (gamma): ditto
14945
        * libm/math/w_fmod.c (fmod): ditto
14946
        * libm/math/w_exp.c (exp): ditto
14947
        * libm/math/w_cosh.c (cosh): ditto
14948
        * libm/math/w_atanh.c (atanh): ditto
14949
        * libm/math/w_atan2f.c (atan2): ditto
14950
        * libm/math/w_asin.c (asin): ditto
14951
        * libm/math/w_acosh.c (acosh): ditto
14952
        * libm/math/w_acos.c (acos): ditto
14953
 
14954
Tue Jul 21 12:34:54 1998  Ian Lance Taylor  
14955
 
14956
        * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
14957
        (fsrc): Add wf_cabs.c and wf_drem.c.
14958
        * libm/math/Makefile.in: Rebuild.
14959
 
14960
        * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
14961
        unused directory variables.  Remove duplicate CFLAGS.
14962
        * Makefile.in: Rebuild.
14963
 
14964
        * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
14965
        with $(CC_FOR_BUILD).
14966
        (makedoc.o): Likewise.
14967
        * doc/Makefile.in: Rebuild.
14968
 
14969
        * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
14970
        force a definition of COMPILE.
14971
        (libfoo_a_SOURCES): Define.
14972
        * libc/sys/cygwin32/Makefile.in: Rebuild.
14973
        * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
14974
        force a definition of COMPILE.
14975
        (libfoo_a_SOURCES): Define.
14976
        * libc/sys/tic80/Makefile.in: Rebuild.
14977
 
14978
Mon Jul 20 20:49:24 1998  Christopher Faylor 
14979
 
14980
        * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
14981
        flag.
14982
 
14983
Fri Jul 17 16:13:16 1998  Ian Lance Taylor  
14984
 
14985
        * Build using autoconf and automake.  Added many Makefile.am and
14986
        configure.in files, plus generated files.  Old configure.in files
14987
        and all old Makefile.in files completely replaced.  Removed
14988
        host/any.  Added acinclude.m4 and configure.host.
14989
 
14990
Sat Jul 11 18:14:49 1998  Felix Lee  
14991
 
14992
        * libc/stdio/vfprintf.c: enable long long support, sometimes.
14993
        * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
14994
 
14995
Tue Jul  7 01:51:55 1998  J"orn Rennecke 
14996
 
14997
        * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
14998
        * libc/machine/sh/Makefile.in: Add rules for new files.
14999
 
15000
Tue Jul  7 01:40:55 1998  J"orn Rennecke 
15001
 
15002
        * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
15003
        * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
15004
        * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
15005
 
15006
Thu Jul  2 10:33:16 1998  Nick Clifton  
15007
 
15008
        * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
15009
        code is ignored.
15010
 
15011
Wed Jun 24 13:56:54 1998  Jeff Johnston  
15012
 
15013
        * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
15014
        internal static buffer when s is NULL, as prescribed by ANSI.
15015
 
15016
1998-06-22  Vladimir N. Makarov  
15017
 
15018
        * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
15019
        removed.
15020
        * libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
15021
        libc/stdlib will be used for h8300hms.
15022
 
15023
Thu Jun 18 16:56:05 1998  Jeff Johnston  
15024
 
15025
        * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
15026
        version that can be built either for speed or size.
15027
        * libc/machine/mn10300/memset.S (_memset): ditto
15028
        * libc/machine/mn10300/memchr.S (_memchr): ditto
15029
        * libc/machine/mn10300/memcpy.S (_memcpy): ditto
15030
        * libc/machine/mn10300/memcmp.S (_memcmp): ditto
15031
        * libc/machine/mn10300/strchr.S (_strchr): ditto
15032
        * libc/machine/mn10300/strcmp.S (_strcmp): ditto
15033
        * libc/machine/mn10300/strcpy.S (_strcpy): ditto
15034
        * libc/machine/mn10300/Makefile.in: Added entries for
15035
        memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
15036
        strcmp.o, strcpy.o, and strlen.o.
15037
 
15038
Wed Jun 17 12:50:26 1998  Mark Alexander  
15039
 
15040
        * configure.in: Don't use libc/sys/sysmec for MN10200; it's
15041
        been replaced with libgloss/mn10200.
15042
 
15043
Fri Jun 12 14:34:39 1998  Michael Meissner  
15044
 
15045
        * libc/string/strchr.c (strchr): Make s a constant pointer to
15046
        avoid warning.
15047
 
15048
Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
15049
 
15050
        * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
15051
        instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
15052
        board SWIs instead of Demon board SWIs).
15053
 
15054
Thu Jun  4 12:16:46 1998  Michael Meissner  
15055
 
15056
        * libc/string/strncat.c (strncat):  Make -Os act the same as
15057
        PREFER_SIZE_OVER_SPEED being defined.
15058
 
15059
Wed Jun  3 17:52:33 1998  Michael Meissner  
15060
 
15061
        * libc/string/memchr.c (memchr): Make -Os act the same as
15062
        PREFER_SIZE_OVER_SPEED being defined.
15063
        * libc/string/memcmp.c (memcmp): Ditto.
15064
        * libc/string/memcpy.c (memcpy): Ditto.
15065
        * libc/string/memset.c (memset): Ditto.
15066
        * libc/string/strcat.c (strcat): Ditto.
15067
        * libc/string/strchr.c (strchr): Ditto.
15068
        * libc/string/strcmp.c (strcmp): Ditto.
15069
        * libc/string/strcpy.c (strcpy): Ditto.
15070
        * libc/string/strlen.c (strlen): Ditto.
15071
        * libc/string/strncat.c (strncat): Ditto.
15072
        * libc/string/strncmp.c (strncmp): Ditto.
15073
        * libc/string/strncpy.c (strncpy): Ditto.
15074
 
15075
Mon Jun  1 15:25:07 1998  Geoffrey Noer  
15076
 
15077
        * libc/include/sys/itimer.h: remove
15078
        * libc/include/sys/time.h: itimer stuff should be here
15079
 
15080
Mon Jun  1 16:31:29 1998  Jeff Johnston  
15081
 
15082
        * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
15083
        bit instead of comparing to 0 so -0.0 can be printed correctly.
15084
 
15085
Sat May 30 09:33:51 1998  J"orn Rennecke 
15086
 
15087
        * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
15088
 
15089
Fri May 29 22:25:10 1998  Geoffrey Noer  
15090
 
15091
        * libc/include/sys/unistd.h: fix sync() proto
15092
        * libc/include/sys/fcntl.h: remove _close which is already
15093
        defined in unistd.h.
15094
        * libc/include/sys/time.h: add getitimer proto
15095
 
15096
Fri May 29 16:10:28 1998  Geoffrey Noer  
15097
 
15098
        * libc/string/strchr.c: convert arg to unsigned char
15099
        * libc/include/stdlib.h: add protos for random, srandom
15100
        * libc/include/sys/stat.h: add lstat proto
15101
        * libc/include/sys/time.h: add setitimer proto
15102
        * libc/include/sys/unistd.h: add readlink, symlink protos
15103
        * libc/include/process.h: instead of including windows.h and using
15104
        HANDLEs in sexec protos, just use void *s.  Need to include
15105
        sys/types.h.
15106
 
15107
Fri May 29 03:04:29 1998  Geoffrey Noer  
15108
 
15109
        * libc/include/sys/fcntl.h: add _close proto for Cygwin32
15110
 
15111
Thu May 28 16:34:21 1998  Geoffrey Noer  
15112
 
15113
        * libc/include/process.h: add secure exec protos
15114
 
15115
Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
15116
 
15117
        * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
15118
        which are accessed as both doubles and integers.
15119
        * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
15120
        * libc/stdlib/strtod.c (_strtod_r): Likewise.
15121
        * libc/stdlib/mprec.h: Add "union double_union" and change
15122
        word0/word1 macros to use it.
15123
 
15124
Tue May 26 18:04:21 1998  Geoffrey Noer  
15125
 
15126
        * libc/include/sys/signal.h: add __cplusplus wrapper
15127
 
15128
Tue May 26 15:10:22 1998  Geoffrey Noer  
15129
 
15130
        * libc/include/sys/utime.h: new generic file that gets replaced by
15131
        libc/sys/SYSDIR/sys/utime.h on systems that support the utime
15132
        function.
15133
        * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
15134
        * libc/include/time.h: remove duplicate utime proto
15135
        * libc/include/utime.h: add comment
15136
 
15137
Sun May 24 23:56:20 1998  Christopher Faylor 
15138
 
15139
        * libc/include/sys/time.h: Add missing include to
15140
        allow use of _EXFUN.  Remove times function that is
15141
        already defined in times.h.
15142
 
15143
Sun May 24 01:32:14 1998  Christopher Faylor 
15144
 
15145
        * libc/include/time.h: Fix typo in tzset.
15146
 
15147
Fri May 22 17:00:48 1998  Geoffrey Noer  
15148
 
15149
        * libc/include/sys/time.h: add missing Cygwin32 function protos
15150
        * libc/include/sys/unistd.h: ditto
15151
        * libc/include/time.h: ditto
15152
 
15153
Wed May 20 20:35:11 1998  Geoffrey Noer  
15154
 
15155
        * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
15156
        FIXME.
15157
        * libc/include/sys/types.h: add a new __MS_types__ section
15158
        to define vm_offset_t, vm_size_t, int32_t et al, register_t,
15159
        __BIT_TYPES_DEFINED__.
15160
 
15161
Wed May 20 18:49:21 1998  Geoffrey Noer  
15162
 
15163
        * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
15164
        since it overrides the one in libc/include/sys.  Also, start
15165
        including types.h.
15166
 
15167
Wed May 20 14:45:40 1998  Geoffrey Noer  
15168
 
15169
        * libm/math/Makefile.in: add s_signgam.o to obj list
15170
 
15171
Tue May 19 11:57:11 1998  Jeff Johnston  
15172
 
15173
        * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
15174
 
15175
Mon May 18 22:36:12 1998  Christopher Faylor 
15176
 
15177
        * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
15178
        so don't use defines.
15179
 
15180
Mon May 18 19:01:02 1998  Michael Meissner  
15181
 
15182
        * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
15183
 
15184
Sun May 17 18:40:32 1998  Frank Ch. Eigler  
15185
 
15186
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
15187
        _current_locale as default locale.
15188
 
15189
Sat May 16 21:59:59 1998  Bob Manson  
15190
 
15191
        * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
15192
        insufficient space in a chunk.
15193
 
15194
Tue May 12 14:41:01 1998  Jeff Johnston  
15195
 
15196
        * configure.in (links): Added check for --enable-newlib-mb configure
15197
        option which defines the MB_CAPABLE macro.
15198
        * libc/locale/locale.c (_setlocale_r): Added support for setting
15199
        LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
15200
        defined.
15201
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
15202
        implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
15203
        * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
15204
        implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
15205
        * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
15206
        implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
15207
        * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
15208
        wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
15209
        * libc/stdlib/Makefile.in: Added new multibyte
15210
        routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
15211
        * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
15212
        _mbstowcs_r(), and _wcstombs_r().
15213
        * libc/stdlib/mbctype.h: New internal header file that contains macros to test
15214
        for JIS, SJIS, and EUC-JP characters.
15215
        * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
15216
        MB_CAPABLE defined.
15217
        * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
15218
        MB_CAPABLE defined.
15219
        * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
15220
        MB_CAPABLE defined.
15221
        * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
15222
        if MB_CAPABLE defined.
15223
        * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
15224
        if MB_CAPABLE defined.
15225
        * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
15226
        to the format string processing when MB_CAPABLE.
15227
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
15228
        call _mbtowc_r().
15229
 
15230
Tue May  5 16:07:23 1998  Nick Clifton  
15231
 
15232
        The following modifications are courtesy of Anthony Thompson,
15233
        athompson@cambridge.arm.com:
15234
        * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
15235
        boith RDI and RDP monitors.
15236
        * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
15237
        RDI and RDP monitors.
15238
 
15239
Wed Apr 29 15:22:15 1998  Jeff Johnston  
15240
 
15241
        * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
15242
        * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
15243
        (_swiopen): Fixed open flags to treat write with append as just append.
15244
        (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
15245
        * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
15246
 
15247
Fri Apr 24 18:00:09 1998  J"orn Rennecke 
15248
 
15249
        * libc/machine/sh/memcpy.S (L_odddst, big endian version):
15250
        When needing to transfer an initial 2-byte-word, store as
15251
        two single bytes.
15252
 
15253
Wed Apr 22 17:56:03 1998  J"orn Rennecke 
15254
 
15255
        * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
15256
        __SH3E__ .
15257
        * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
15258
        * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
15259
 
15260
Wed Apr 22 12:28:03 1998  Michael Meissner  
15261
 
15262
        * configure.in (target_cflags): If --enable-target-optspace, use
15263
        -Os to compile newlib rather than -O2.  Default to using -Os for
15264
        d10v, d30v and m32r if --{enable,disable}-target-optspace is not
15265
        used.
15266
 
15267
Tue Apr 21 23:13:34 1998  Geoffrey Noer  
15268
 
15269
        * libc/include/machine/setjmp.h: change sigsetjmp and
15270
        siglongjmp definitions to use an array instead of a struct
15271
        for __CYGWIN32__
15272
 
15273
Tue Apr 14 11:47:47 1998  Doug Evans  
15274
 
15275
        * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
15276
 
15277
Mon Apr  6 15:05:08 1998  Jonathan Larmour  
15278
 
15279
        * libc/string/strxfrm.c: fix to get correct return value
15280
 
15281
Wed Apr  1 16:09:05 1998  Nick Clifton  
15282
 
15283
        * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
15284
        builds.  Make mode change labels global so that they will be seen
15285
        by the debugger.
15286
 
15287
Wed Mar 18 09:45:10 1998  Nick Clifton  
15288
 
15289
        * configure.in (links): Do not use ARM debiugging protocols for PE
15290
        builds.
15291
 
15292
        * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
15293
        message.
15294
 
15295
Fri Mar 13 11:24:34 1998  Jeff Johnston  
15296
 
15297
        * libc/stdio/findfp.c (__sinit): Made stdout default to
15298
        line buffered mode as defined by ANSI.
15299
 
15300
Tue Mar 10 11:41:26 1997  Bob Manson  
15301
 
15302
        * libc/include/sys/itimer.h: New file.
15303
 
15304
        * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
15305
 
15306
Mon Mar  9 14:19:26 1998  J"orn Rennecke 
15307
 
15308
        * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
15309
        failure.
15310
 
15311
Fri Feb 27 13:56:10 1998  Michael Meissner  
15312
 
15313
        * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
15314
        insns.
15315
 
15316
Wed Feb 25 09:29:54 1998  Nick Clifton  
15317
 
15318
        * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
15319
 
15320
Tue Feb 24 18:00:13 1998  Michael Meissner  
15321
 
15322
        * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
15323
        support.
15324
 
15325
        * libc/include/machine/setjmp.h: Add D30V support.
15326
 
15327
        * configure.in (d30v-*): Add d30v machine directory.
15328
 
15329
Mon Feb 23 09:32:58 1998  Mark Alexander  
15330
 
15331
        * configure.in: Don't use libc/sys/sysmec for MN10300; it's
15332
        been replaced with libgloss/mn10300.
15333
 
15334
Sat Feb 21 17:44:43 1998  Geoffrey Noer  
15335
 
15336
        * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
15337
        it is no longer needed.
15338
 
15339
Thu Feb 19 16:15:10 1998  Geoffrey Noer  
15340
 
15341
        * libc/include/sys/signal.h: add sigpause proto for Cygwin32
15342
 
15343
Wed Feb 18 23:51:08 1998  Geoffrey Noer  
15344
 
15345
        * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
15346
        the file when O_APPEND is set, wherever the EOF happens to be at
15347
        that time.
15348
 
15349
Wed Feb 18 23:25:02 1998  Geoffrey Noer  
15350
 
15351
        patch from cgf@bbc.com (Christopher Faylor):
15352
        * libc/stdio/freopen.c (freopen): Conform to standard UNIX
15353
        convention of closing fp prior to attempting to open the file
15354
        argument.  This allows correct operation when reopening
15355
        stdin/stdout/stderr.  Replaces last freopen.c patch.
15356
 
15357
Wed Feb 18 16:27:40 1998  Geoffrey Noer  
15358
 
15359
        patch from cgf@bbc.com (Christopher Faylor):
15360
        * libc/stdio/freopen.c: freopen was not preserving the fd
15361
        of the stream being operated on.  This confuses programs that
15362
        expect that the handles for stdout and stderr will be 1 and 2.
15363
 
15364
Mon Feb 16 23:34:07 1998  Andrew Cagney  
15365
 
15366
        * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
15367
 
15368
Thu Feb 12 15:09:20 1998  Ranjith Kumaran 
15369
 
15370
        * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
15371
 
15372
Wed Feb 11 17:50:45 1998  Jeff Johnston  
15373
 
15374
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
15375
        altered to not use a branch.  Also added hint that last
15376
        bclr in longjmp will likely result in branch.
15377
 
15378
 
15379
Mon Feb  9 03:44:02 1998  Geoffrey Noer  
15380
 
15381
        * libc/sys/cygwin32/crt0.c: add missing args to main() extern
15382
 
15383
Fri Feb  6 16:32:32 1998  Nick Clifton  
15384
 
15385
        * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
15386
        v850 builds.
15387
 
15388
        * configure.in: Add -msmall-sld to target_cflags for v850 builds.
15389
 
15390
Wed Feb  4 16:56:20 1998  Jeff Johnston  
15391
 
15392
        * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
15393
        that loads FR14 to specify offset of 8 rather than 4
15394
        so it loads from offset 96 (where setjmp stored it).
15395
 
15396
Tue Feb  3 18:08:34 1998  Jeff Johnston  
15397
 
15398
        * libc/machine/sh/memcpy.S: (_memcpy): Update to
15399
        latest version supplied by customer.
15400
        * libc/machine/sh/memset.S (_memset): Ditto.
15401
 
15402
Mon Feb  2 16:20:39 1998  Nick Clifton  
15403
 
15404
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
15405
        PR14730).
15406
 
15407
Mon Feb  2 15:13:26 1998  Geoffrey Noer  
15408
 
15409
        * libc/include/string.h: remove redefinition of ffs
15410
 
15411
Wed Jan 28 13:30:14 1998  Geoffrey Noer  
15412
 
15413
        * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
15414
        defined
15415
 
15416
Wed Jan 28 10:38:34 1998  Jeff Johnston  
15417
 
15418
        * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
15419
        TI Libraries to link to libc.a
15420
 
15421
Sat Jan 24 10:15:56 1998  Michael Meissner  
15422
 
15423
        * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
15424
        * libc/include/sys/stat.h (_{,f}stat): Ditto.
15425
        * libc/include/sys/wait.h (_wait): Ditto.
15426
        * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
15427
        (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
15428
 
15429
Fri Jan 23 11:32:10 1998  Michael Meissner  
15430
 
15431
        * libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
15432
        minded stabs so function name shows up when running the simulator
15433
        with -t.
15434
        * libc/sys/d10v/{crt0,trap}.S: Ditto.
15435
 
15436
Thu Jan 22 15:57:14 1998  Fred Fish  
15437
 
15438
        * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
15439
        * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
15440
        Use R5 where we used to use R3.
15441
 
15442
Wed Jan 21 14:22:23 1998  Bill Moyer 
15443
 
15444
        * libc/stdlib/getopt.c (getopt): replaced __progname
15445
        with nargv[0] to improve portability to imbedded systems.
15446
 
15447
Thu Jan 15 12:32:38 1998  Nick Clifton  
15448
 
15449
        * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
15450
        patch supplied by Tont.Thompson@arm.com to fix the creation of the
15451
        stdout file.
15452
 
15453
Wed Jan 14 13:00:19 1998  Ian Lance Taylor  
15454
 
15455
        * libc/stdio/tmpnam.c (worker): Generate a different file name
15456
        each time.
15457
 
15458
        * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
15459
        fails, try an execlp for sh.
15460
 
15461
        * host/any (INCLUDES): If target_os is cygwin32, then add a -I
15462
        option for the winsup include directory.
15463
 
15464
Wed Jan  7 17:02:58 1998  Nick Clifton  
15465
 
15466
        * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
15467
        debugging interface from Tony.Thompson@arm.com.
15468
 
15469
        * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
15470
        * libc/sys/arm/swi.h: ditto.
15471
 
15472
Tue Jan  6 14:15:10 1998  Geoffrey Noer  
15473
 
15474
        * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
15475
        DIR struct used for readdir hashes.
15476
 
15477
Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
15478
 
15479
        * libc/string/strchr.c: Use "unsigned chars" as necessary.
15480
 
15481
Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
15482
 
15483
        * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
15484
        integer targets.
15485
 
15486
Sat Dec 13 15:11:06 1997  Ian Lance Taylor  
15487
 
15488
        * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
15489
        INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
15490
        * libc/include/malloc.h: Add extern "C" if __cplusplus.
15491
        (__malloc_copy): Declare.
15492
 
15493
Wed Dec 10 12:15:54 1997  Ian Lance Taylor  
15494
 
15495
        * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
15496
        .
15497
        (POINTER_UINT): Define.
15498
        (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
15499
        (MALLOC_ALIGNMENT): Don't define if already defined.
15500
        (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
15501
        long.
15502
 
15503
Tue Dec  9 19:23:42 1997  Michael Meissner  
15504
 
15505
        * libc/string/memset.c (memset): Fiddle with code so that the long
15506
        value being stored is not a stack value.  Unroll storing longs 4
15507
        times.
15508
 
15509
Tue Dec  9 14:13:18 1997  Jeff Johnston  
15510
 
15511
        * Reduce code size for libm modules.
15512
        * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
15513
        and simply move code into sqrt.
15514
        * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
15515
        * libm/math/wr_lgamma.c (lgamma_r): Likewise.
15516
        * libm/math/wrf_gamma.c (gammaf_r): Likewise.
15517
        * libm/math/wr_gamma.c (gamma_r): Likewise.
15518
        * libm/math/wf_sinh.c (sinfh): Likewise.
15519
        * libm/math/w_sinh.c (sinh): Likewise.
15520
        * libm/math/wf_scalb.c (scalbf): Likewise.
15521
        * libm/math/w_scalb.c (scalb): Likewise.
15522
        * libm/math/wf_remainder.c (remainderf): Likewise.
15523
        * libm/math/w_remainder.c (remainder): Likewise.
15524
        * libm/math/wf_pow.c (powf): Likewise.
15525
        * libm/math/w_pow.c (pow): Likewise.
15526
        * libm/math/wf_log10.c (log10f): Likewise.
15527
        * libm/math/w_log10.c (log10): Likewise.
15528
        * libm/math/wf_log.c (logf): Likewise.
15529
        * libm/math/w_log.c (log): Likewise.
15530
        * libm/math/w_lgamma.c (lgamma): Likewise.
15531
        * libm/math/wf_lgamma.c (lgammaf): Likewise.
15532
        * libm/math/wf_jn.c (jnf): Likewise.
15533
        * libm/math/w_jn.c (jn): Likewise.
15534
        * libm/math/wf_j1.c (j1f): Likewise.
15535
        * libm/math/w_j1.c (j1): Likewise.
15536
        * libm/math/wf_j0.c (j0f): Likewise.
15537
        * libm/math/w_j0.c (j0): Likewise.
15538
        * libm/math/wf_hypot.c (hypotf): Likewise.
15539
        * libm/math/w_hypot.c (hypot): Likewise.
15540
        * libm/math/wf_gamma.c (gammaf): Likewise.
15541
        * libm/math/w_gamma.c (gamma): Likewise.
15542
        * libm/math/wf_fmod.c (fmodf): Likewise.
15543
        * libm/math/w_fmod.c (fmod): Likewise.
15544
        * libm/math/wf_exp.c (expf): Likewise.
15545
        * libm/math/w_exp.c (exp): Likewise.
15546
        * libm/math/wf_cosh.c (coshf): Likewise.
15547
        * libm/math/w_cosh.c (cosh): Likewise.
15548
        * libm/math/wf_atanh.c (atanhf): Likewise.
15549
        * libm/math/w_atanh.c (atanh): Likewise.
15550
        * libm/math/wf_atan2.c (atan2f): Likewise.
15551
        * libm/math/w_atan2.c (atan2): Likewise.
15552
        * libm/math/wf_asin.c (asinf): Likewise.
15553
        * libm/math/w_asin.c (asin): Likewise.
15554
        * libm/math/wf_acosh.c (acoshf): Likewise.
15555
        * libm/math/w_acosh.c (acosh): Likewise.
15556
        * libm/math/wf_acos.c (asocf): Likewise.
15557
        * libm/math/w_acos.c (acos): Likewise.
15558
        * libm/math/wf_sqrt.c (sqrtf): Likewise.
15559
        * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
15560
        for embedded systems.
15561
 
15562
Mon Dec  8 12:12:58 1997  Ian Lance Taylor  
15563
 
15564
        * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
15565
        Lea in case of a foreign sbrk.
15566
 
15567
Fri Dec  5 23:27:28 1997  Ian Lance Taylor  
15568
 
15569
        Incorporate Doug Lea's malloc:
15570
        * libc/stdlib/mallocr.c: Completely replaced.
15571
        * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
15572
        (realloc): Remove.
15573
        * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
15574
        * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
15575
        mallopt.
15576
        (mallinfo, malloc_stats, mallopt): New functions.
15577
        (_mstats_r): Just call _malloc_stats_r.
15578
        * libc/stdlib/malign.c: New file.
15579
        * libc/stdlib/mlock.c: New file.
15580
        * libc/stdlib/msize.c: New file.
15581
        * libc/stdlib/mtrim.c: New file.
15582
        * libc/stdlib/realloc.c: New file.
15583
        * libc/stdlib/valloc.c: New file.
15584
        * libc/stdlib/malloc.h: Remove.
15585
        * libc/stdlib/callocr.c: Remove.
15586
        * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
15587
        malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
15588
        mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
15589
        reallocr.o, valloc.o, vallocr.o.
15590
        (CHEWOUT_FILES): Add mlock.def, mstats.def.
15591
        (MALLOC_CFLAGS): New variable.
15592
        (mallocr.o): New target, build from mallocr.c.
15593
        (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
15594
        (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
15595
        (msizer.o, malloptr.o): Likewise.
15596
        (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
15597
        (valloc.o): New target.
15598
        * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
15599
        * libc/include/malloc.h: Declare struct mallinfo, and new
15600
        routines.
15601
        * libc/include/stdlib.h (cfree): Correct declaration.
15602
 
15603
Tue Dec  2 10:12:16 1997  Nick Clifton  
15604
 
15605
        * libc/include/machine/setjmp.h: Add support for Thumb target.
15606
 
15607
        * libc/include/machine/ieeefp.h: Add support for Thumb target.
15608
 
15609
        * configure.in (links): Add support for Thumb target.
15610
 
15611
Wed Nov 26 09:56:17 1997  Nick Clifton  
15612
 
15613
        * libc/sys/arm/setjmp.S: Updated with version from branch.
15614
 
15615
Thu Nov 20 01:21:43 1997  Geoffrey Noer  
15616
 
15617
        * libc/include/stdio.h: add POSIX-required define L_ctermid
15618
        for ctermid
15619
 
15620
Wed Nov 19 16:11:40 1997  Michael Meissner  
15621
 
15622
        * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
15623
        addition to MISSING_SYSCALL_NAMES.
15624
 
15625
Mon Nov 17 20:05:05 1997  J"orn Rennecke 
15626
 
15627
        * libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
15628
 
15629
Mon Nov 10 22:26:55 1997  Geoffrey Noer  
15630
 
15631
        * libc/include/string.h: change strsignal proto to return
15632
        a char *.  This eliminates compile problems in gdb resulting
15633
        from gdb's definition of strsignal in defs.h.
15634
 
15635
Mon Nov 10 17:11:08 1997  Geoffrey Noer  
15636
 
15637
        * libc/sys/cygwin32/sys/utime.h: new (moved here from
15638
        winsup/include) so as not to conflict with the one in
15639
        libc/include.
15640
        * libc/include/string.h: add protos for strsignal, strtosigno
15641
 
15642
Mon Nov 10 13:49:54 1997  Michael Meissner  
15643
 
15644
        * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
15645
 
15646
        * configure.in (d30v-*-*): Add configuration.
15647
 
15648
Thu Oct 30 14:01:23 1997  Nick Clifton  
15649
 
15650
        * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
15651
        to select which kind of debug monitor is in use for an ARM target.
15652
 
15653
        * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
15654
        Angel and Demon debug monitors.  Part of this code was supplied by
15655
        Tony Thompson at ARM: athompso@arm.com.
15656
 
15657
Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
15658
 
15659
        * strncat.c (strncat): Don't call strncpy; strncay has the wrong
15660
        semantics when the count is greater than the length of the second
15661
        source string.
15662
 
15663
Thu Oct 23 01:37:41 1997  Geoffrey Noer  
15664
 
15665
        * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
15666
        * libc/include/sys/unistd.h: add protos for usleep, truncate,
15667
        truncate and ftruncate take off_t, not size_t
15668
 
15669
Tue Oct 21 18:42:00 1997  Jim Wilson  
15670
 
15671
        * libc/string/strcat.c (strcat): Add missing comment end.
15672
        * libc/string/strncat.c (strncat): Likewise.
15673
 
15674
Tue Oct 21 17:23:34 1997  Nick Clifton  
15675
 
15676
        * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
15677
        targets.
15678
        * libc/string/{memchr.c, memcmp.c, memcpy.c}:   Add space
15679
        optimised version which is selected if PREFER_SIZE_OVER_SPEED is
15680
        defined.
15681
        * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
15682
        * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
15683
        * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
15684
 
15685
Mon Oct 13 15:12:35 1997  Ian Lance Taylor  
15686
 
15687
        * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
15688
        (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
15689
 
15690
Thu Oct  9 13:54:44 1997  Doug Evans  
15691
 
15692
        * libc/machine/i386/setjmp.S: New file.
15693
        * libc/machine/i386/Makefile.in: Delete COPYOFILES.
15694
        (OFILES): Add setjmp.o.
15695
        (setjmp.o): Add rule for.
15696
        * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
15697
 
15698
Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
15699
                         Jeffrey A Law  (law@cygnus.com)
15700
 
15701
        * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
15702
        * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
15703
        * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
15704
        * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
15705
 
15706
Mon Oct  6 14:07:59 1997  Nick Clifton  
15707
 
15708
        * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
15709
        rules.
15710
 
15711
        * libc/include/sys/config.h: Use __v850 to select v850
15712
        endianness.
15713
 
15714
        * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
15715
        buffer size.
15716
 
15717
        * libc/include/machine/ieeefp.h: Use __v850 to select v850
15718
        endianness.
15719
 
15720
Thu Sep 25 14:11:37 1997  Geoffrey Noer  
15721
 
15722
        * libc/stdlib/setenv.c: change unsetenv definition to match
15723
        style of setenv (with _DEFUN).  The string should be a const.
15724
        * libc/include/stdlib.h: unsetenv proto should return void.
15725
 
15726
Tue Sep 23 18:17:20 1997  Geoffrey Noer  
15727
 
15728
        * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
15729
 
15730
Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
15731
 
15732
        * libc/stdio/glue.h: remove.
15733
        * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
15734
        * libc/stdio/Makefile.in: remove glue.h dependencies
15735
 
15736
Wed Sep 17 17:42:27 1997  Nick Clifton  
15737
 
15738
        * libc/sys/sysnecv850/crt0.S: Created V850e version.
15739
 
15740
Tue Sep  9 10:40:57 1997  Doug Evans  
15741
 
15742
        * configure.in (target_cpu): Add `arc'.
15743
 
15744
Tue Sep  9 10:40:42 1997  Joel Sherrill  
15745
 
15746
        * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
15747
          -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
15748
        * newlib/libc/include/sys/errno.h: Add ENOTSUP.
15749
        * newlib/libc/reent/reent.c: Add _wrapup_reent.
15750
        * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
15751
 
15752
Sun Sep  7 16:41:41 1997  Gavin Koch  
15753
 
15754
        * libc/machine/mips/setjmp.S: Handle mips16 builds.
15755
 
15756
Thu Aug 21 20:05:38 1997  Ian Lance Taylor  
15757
 
15758
        * libc/include/stdio.h (siprintf): Declare.
15759
 
15760
Mon Aug 18 11:19:13 1997  Nick Clifton  
15761
 
15762
        * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
15763
        TARGET_CFLAGS and NEWLIB_FLAGS.
15764
 
15765
Mon Aug 18 11:15:43 1997  Nick Clifton  
15766
 
15767
        * configure.in (links): Add support for v850ea target.
15768
 
15769
Mon Aug 18 11:15:43 1997  Nick Clifton  
15770
 
15771
        * configure.in (links): Add support for v850e target.
15772
 
15773
Wed Aug 13 19:16:54 1997  Nick Clifton  
15774
 
15775
        * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
15776
 
15777
Mon Aug 11 15:49:54 1997  Doug Evans  
15778
 
15779
        * configure.in (arc-*-*): Add support for.
15780
        * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
15781
 
15782
Fri Jul 25 17:37:41 1997  J"orn Rennecke 
15783
 
15784
        * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
15785
 
15786
Thu Jul 24 18:32:17 1997  Geoffrey Noer  
15787
 
15788
        * libc/stdlib/bsearch.c (bsearch): remove last unneeded
15789
        comparison which accesses invalid memory when the key is
15790
        larger than the last member of the array.
15791
        * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
15792
        for CYGWIN32
15793
        * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
15794
 
15795
Tue Jul 22 16:03:06 1997  Ian Lance Taylor  
15796
 
15797
        * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
15798
        not _STRICT_ANSI.
15799
 
15800
Thu Jul 10 15:11:52 1997  Doug Evans  
15801
 
15802
        * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
15803
        ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
15804
 
15805
Thu Jul 10 16:00:09 1997  Mike Meissner  
15806
 
15807
        * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
15808
        to load/store memory.
15809
 
15810
Mon Jul  7 17:38:17 1997  Ian Lance Taylor  
15811
 
15812
        * libc/include/sys/fcntl.h: Define _O_* symbols with leading
15813
        underscores if _WIN32.
15814
 
15815
Wed Jul  2 10:07:20 1997  Doug Evans  
15816
 
15817
        * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
15818
        support ifdef _USE_WRITE missed in last change.
15819
        From Anders Blomdell .
15820
 
15821
Wed Jun 25 10:18:49 1997  Doug Evans  
15822
 
15823
        * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
15824
        (_tmpnam_r, _tempnam_r): Update.
15825
 
15826
Wed Jun 25 00:16:55 1997  Mark Alexander  
15827
 
15828
        * libc/machine/sparc/setjmp.S: New file.
15829
        * libc/machine/sparc/Makefile.in: Add setjmp.
15830
        * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
15831
 
15832
Tue Jun 24 23:27:38 1997  Mark Alexander  
15833
 
15834
        * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
15835
 
15836
Tue Jun 24 14:53:40 1997  Doug Evans  
15837
 
15838
        From Joel Sherrill .
15839
        * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
15840
 
15841
        Add rtems support.  From Joel Sherrill .
15842
        * configure.in: Recognize *-*-rtems*.
15843
        * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
15844
        * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
15845
        time.h,times.h,types.h}: New files.
15846
        * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
15847
 
15848
Fri Jun 20 11:13:16 1997  Geoffrey Noer  
15849
 
15850
        patch from sos@prospect.com.ru (Sergey Okhapkin):
15851
        * include/sys/wait.h: correct operator precidence bug
15852
        in WIFSIGNALED
15853
 
15854
Wed Jun 18 22:08:27 1997  Geoffrey Noer  
15855
 
15856
        * libc/include/stdlib.h: remove unsetenv proto since it conflicts
15857
        with newlib's unsetenv function
15858
        * libc/sys/cygwin32/sys: new directory for includes
15859
        * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
15860
        here from winsup/include/sys
15861
 
15862
Mon Jun 16 21:02:22 1997  Geoffrey Noer  
15863
 
15864
        * libc/include/sys/unistd.h: _exit should only be
15865
        labelled noreturn when not __CYGWIN32__
15866
        * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
15867
        * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
15868
        increment NSIG
15869
 
15870
Thu Jun 12 18:52:41 1997  Ian Lance Taylor  
15871
 
15872
        * libc/include/sys/time.h: Only define timeval and timezone if
15873
        _GNU_H_WINDOWS32_SOCKETS is not defined.
15874
        * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
15875
 
15876
Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
15877
 
15878
        * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
15879
        * libc/machine/mn10300/setjmp.S: Likewise.
15880
 
15881
        * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
15882
        the mn10300 (more relaxing opportunities).
15883
 
15884
Tue Jun 10 17:24:45 1997  Mike Meissner  
15885
 
15886
        * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
15887
        Build libraries with -mstrict-align.
15888
 
15889
Fri Jun  6 14:07:59 1997  Ian Lance Taylor  
15890
 
15891
        * libc/string/strlwr.c: New file.
15892
        * libc/string/strupr.c: New file.
15893
        * libc/include/string.h: Declare strlwr and strupr.
15894
        * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
15895
        (CHEWOUT_FILES): Add strlwr.def and strupr.def.
15896
        (strlwr.o, strupr.o): New targets.
15897
        * libc/string/strings.tex: Include strlwr and strupr docs.
15898
 
15899
        * libc/include/sys/types.h: Don't define u_char, et. al., if
15900
        _GNU_H_WINDOWS32_SOCKETS is defined.  Likewise for fd_set,
15901
        et. al.  Make FD_SETSIZE default 64 rather than 60.  Define
15902
        _types_fd_set rather than fd_set, and define fd_set as a macro.
15903
 
15904
        * libc/include/malloc.h: New file.
15905
 
15906
        * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
15907
        strnicmp if they are not already defined.
15908
 
15909
        * libc/include/time.h: If __CYGWIN32__, declare tzset and define
15910
        _timezone, _daylight, and _tzname.
15911
 
15912
Wed Jun  4 12:51:16 1997  Doug Evans  
15913
 
15914
        * configure.in: Sort all configuration tables.
15915
 
15916
        From Joel Sherrill 
15917
        * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
15918
 
15919
Tue Jun  3 14:47:46 1997  Ian Lance Taylor  
15920
 
15921
        * libc/include/sys/signal.h: Don't include .  Just
15922
        use int when declaring kill.
15923
 
15924
        * libc/include/sys/timeb.h: New file.
15925
 
15926
Mon Jun  2 12:06:58 1997  Geoffrey Noer  
15927
 
15928
        * libc/include/sys/time.h: add itimer support for Cygwin32
15929
 
15930
Mon May 19 11:56:46 1997  Mike Meissner  
15931
 
15932
        * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
15933
        out a message that abort was called to stderr.
15934
 
15935
Fri May 16 15:02:59 1997  Bob Manson  
15936
 
15937
        * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
15938
        so that libio doesn't freak.
15939
 
15940
        * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
15941
        int.
15942
 
15943
        * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
15944
        memory sizes, not int.
15945
 
15946
Wed May 14 21:16:58 1997  Bob Manson  
15947
 
15948
        * libm/math/ef_hypot.c: Use long constants where
15949
        appropriate.
15950
        * libm/math/ef_sqrt.c: Ditto.
15951
 
15952
        * libc/sys/sysmec/times.c(_times): Change to times.
15953
 
15954
        * libc/sys/sysmec/read.c(_read): The third argument is
15955
        size_t.
15956
        * libc/sys/sysmec/write.c (_write): Ditto.
15957
 
15958
        * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
15959
        (_lseek): It's off_t for the second argument.
15960
 
15961
Wed May 14 15:23:36 1997  Mike Meissner  
15962
 
15963
        * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
15964
        as well as machine/ieeefp.h.
15965
 
15966
Thu May  8 15:47:25 1997  Geoffrey Noer  
15967
 
15968
        * libc/include/sys/signal.h: add signal protos for winsup
15969
        functions (when __CYGWIN32__), include types.h
15970
        * libc/include/sys/types.h: Change __go32_types__ internal
15971
        define to __MS_types__ since it's used for more than just
15972
        GO32 configs.  Define this if GO32, __MSDOS__, or _WIN32 are
15973
        defined.
15974
        * libc/include/sys/unistd.h: add ftruncate proto for
15975
        winsup functions (when __CYGWIN32__)
15976
 
15977
Fri Apr 25 10:10:16 1997  Doug Evans  
15978
 
15979
        * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
15980
 
15981
Thu Apr 24 15:46:51 1997  Mike Stump  
15982
 
15983
        * libc/include/machine/setjmp.h: Add tic80 support.
15984
        * libc/machine/tic80/setjmp.S: Likewise.
15985
 
15986
Tue Apr 22 16:54:40 1997  Geoffrey Noer  
15987
 
15988
        * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
15989
        link programs from libraries only (such as in the X11
15990
        distribution)
15991
 
15992
Mon Apr 21 15:02:12 1997  Fred Fish  
15993
 
15994
        * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
15995
        supplied elsewhere in newlib.
15996
 
15997
Mon Apr 14 16:25:55 1997  Ian Lance Taylor  
15998
 
15999
        * Makefile.in (INSTALL): Change install.sh to install-sh.
16000
 
16001
Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
16002
 
16003
        * README: update WWW address for on-line documentation.
16004
 
16005
Wed Apr  9 00:38:13 1997  Geoffrey Noer  
16006
 
16007
        * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
16008
        increment NSIG
16009
 
16010
Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
16011
 
16012
        * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
16013
        mn10300.
16014
        * libc/sys/sysmec/trap.S: Don't compare a register to itself.
16015
 
16016
Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
16017
 
16018
        * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
16019
        * libc/sys/d10v/syscalls.c: Likewise.
16020
        * libc/sys/h8300hms/sbrk.c: Likewise.
16021
        * libc/sys/h8500hms/syscalls.c: Likewise.
16022
        * libc/sys/m88kbug/syscalls.c: Likewise.
16023
        * libc/sys/sh/syscalls.c: Likewise.
16024
        * libc/sys/sysmec/sbrk.c: Likewise.
16025
        * libc/sys/sysnecv850/sbrk.c: Likewise.
16026
        * libc/sys/w65/syscalls.c: Likewise.
16027
        * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
16028
 
16029
Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
16030
 
16031
        * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
16032
        emulated syscall instead of "trap".
16033
 
16034
Fri Mar 14 11:26:13 1997  Michael Meissner  
16035
 
16036
        * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
16037
        not trap 0.
16038
 
16039
Sun Mar  9 23:27:04 1997  Doug Evans  
16040
 
16041
        * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
16042
 
16043
Sat Mar  8 09:05:01 1997  Fred Fish  
16044
 
16045
        * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
16046
        not "sh".
16047
        * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
16048
        not "d10v".
16049
        * libc/sys/tic80/crt0.c: New file for TIc80.
16050
        * libc/sys/tic80/Makefile.in: New file for TIc80.
16051
        * libc/machine/tic80/Makefile.in: New file for TIc80.
16052
 
16053
Wed Mar  5 11:32:12 1997  J.T. Conklin  
16054
 
16055
        * libc/machine/sh/memcpy.S: New file.
16056
        * libc/machine/sh/memset.S: New file.
16057
        * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
16058
 
16059
Thu Feb 27 16:27:55 1997  Fred Fish  
16060
 
16061
        * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
16062
        for TIc80.
16063
 
16064
Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
16065
 
16066
        * libc/sys/sysmec/crt0.S: Handle new calling conventions for
16067
        the mn10200.
16068
 
16069
Wed Feb 26 07:11:03 1997  Michael Meissner  
16070
 
16071
        * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
16072
        (patch from andrew@pogo.WV.TEK.COM).
16073
 
16074
Fri Feb 14 11:49:28 1997  Doug Evans  
16075
 
16076
        * libc/machine/m32r/setjmp.S (setjmp): Save r12.
16077
        (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
16078
 
16079
Mon Feb 10 10:02:34 1997  Fred Fish  
16080
 
16081
        * configure.in:  Add cases for "tic80" to set machine_dir,
16082
        sys_dir, and syscall_dir.
16083
 
16084
Sun Feb  2 17:57:15 1997  Geoffrey Noer  
16085
 
16086
        * libc/sys/cygwin32/crt0.c: initialize floating pt registers
16087
 
16088
Wed Jan 29 15:57:38 1997  Geoffrey Noer  
16089
 
16090
        * libc/include/math.h: avoid conflicts with ANSI C++ 
16091
 
16092
Mon Jan 27 12:50:01 1997  Doug Evans  
16093
 
16094
        * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
16095
        Use proper constant prefix.
16096
 
16097
Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
16098
 
16099
        * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
16100
        that loses on the mn10200 where ints and pointers are different
16101
        sizes.
16102
 
16103
Tue Jan 14 13:29:55 PST 1997  Jeremy Allison 
16104
 
16105
        * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
16106
        target as signal is provided in winsup.
16107
 
16108
Tue Jan 14 11:10:13 1997  Jeremy Allison 
16109
 
16110
        * libc/include/sys/process.h: Corrected const definitions
16111
        in spawn functions. Added cwait.
16112
 
16113
Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
16114
 
16115
        * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
16116
        doubles.
16117
        * libc/include/sys/config.h: Similarly.
16118
 
16119
Tue Dec 31 18:36:14 1996  Michael Meissner  
16120
 
16121
        * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
16122
        target_cflags.
16123
        (i[3456]86-*-sco*): Ditto.
16124
 
16125
        * libc/signal/Makefile.in (OFILES): Add signal.o.
16126
        (CFILES): Add signal.c.
16127
 
16128
        * libc/signal/raise.c (_raise_r): Only compile code if
16129
        SIGNAL_PROVIDED is defined.
16130
 
16131
        * libc/signal/signal.c: Redo whole file so that it works with
16132
        current newlib.  Use _kill_r if no signal handler provided.
16133
 
16134
        * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
16135
        signal stubs.
16136
        * libc/sys/sysvnecv70/Makefile.in: Ditto.
16137
        * libc/sys/sysnecv850/Makefile.in: Ditto.
16138
 
16139
        * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
16140
        * libc/sys/sysmec/{raise,signal}.c: Ditto.
16141
        * libc/sys/sysvnecv70/signal.s: Ditto.
16142
        * libc/sys/sysnecv850/raise.c: Ditto.
16143
 
16144
        * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
16145
        simulator and debugger can tell the difference between a signal
16146
        being raised and an exit system call.
16147
 
16148
        * NEWS: Document software signals being provided.
16149
 
16150
Mon Dec 23 11:54:19 1996  Michael Meissner  
16151
 
16152
        * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
16153
        __ATTRIBUTE_IMPURE_PTR__.  Move PowerPC definition to
16154
        include/sys/config.h.
16155
        (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
16156
        Change from 'inpure_data'.
16157
        (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes.  Use
16158
        &impure_data, not &inpure_data.
16159
 
16160
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
16161
        and and System V ABI, define so that _impure_ptr lives in the
16162
        .sdata section.
16163
 
16164
Sun Dec 22 23:33:05 1996  Michael Meissner  
16165
 
16166
        * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
16167
        nothing if not defined.
16168
        (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
16169
        its attributes.
16170
 
16171
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
16172
 
16173
Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
16174
 
16175
        * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
16176
        * libc/sys/sysmec/trap.s: Handle mn10200 too.
16177
        * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
16178
 
16179
Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
16180
 
16181
        * libc/sys/sysmec/crt0.S: Handle mn10200 too.
16182
 
16183
Fri Dec 13 11:05:20 1996  Jeremy Allison 
16184
 
16185
        * libc/include/sys/errno.h: Added net errno's.
16186
 
16187
Wed Dec 11 16:24:25 1996  Michael Meissner  
16188
 
16189
        * libc/misc/ffs.c: New file to support ffs function for GCC test
16190
        gcc.c-torture/execute/960909-1.c.
16191
 
16192
        * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
16193
 
16194
Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
16195
 
16196
        * libc/sys/sysmec/crt0.S: Handle underscore prefix.
16197
        * libc/sys/sysmec/trap.S: Likewise.
16198
 
16199
Fri Dec  6 15:08:49 1996  Jim Wilson  
16200
 
16201
        * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
16202
        * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
16203
 
16204
Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
16205
 
16206
        * libc/sys/sysmec/signal.c: Dummy file.
16207
        * libc/sys/sysmec/Makefile.in: Build it.
16208
 
16209
Wed Nov 27 13:10:18 1996  Ian Lance Taylor  
16210
 
16211
        * libc/machine/mips/machine/regdef.h: Define pc as $pc for
16212
        mips16.
16213
 
16214
Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
16215
 
16216
        * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
16217
        c-startup and simulator traps.
16218
 
16219
 
16220
        * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
16221
        * libc/sys/sysmec/trap0.S: Likewise.
16222
 
16223
Sat Nov 23 09:01:03 1996  Michael Meissner  
16224
 
16225
        * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
16226
        round to double word alignment.
16227
        (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
16228
        byte alignment.
16229
 
16230
        * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
16231
 
16232
        * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
16233
        out of memory.
16234
 
16235
Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
16236
 
16237
        * configure.in: Handle mn10200 and mn10300.
16238
        * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
16239
        * libc/include/sys/config.h: Likewise.
16240
        * libc/sys/sysmec: New directory for mec stuff.
16241
        * libc/machine/mn10300: New directory for mn10300 stuff.
16242
        * libc/machine/mn10200: Similarly for mn10200 stuff.
16243
 
16244
Fri Nov 15 16:41:41 1996  Doug Evans  
16245
 
16246
        * libc/sys/arm/crt0.S: Use .text, not .section .text.
16247
        * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
16248
 
16249
        * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
16250
        (nlink_t): Change type from unsigned int to unsigned short.
16251
        (mode_t): Ensure size is 32 bits even if int is 16.
16252
        * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
16253
        (st_spare[123]): Change type from int to long.
16254
 
16255
Fri Nov 15 11:41:50 1996  Michael Meissner  
16256
 
16257
        * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
16258
        byte boundary.
16259
 
16260
        * configure.in (d10v*): Define SMALL_MEMORY.
16261
 
16262
Mon Nov 11 10:30:44 1996  Michael Meissner  
16263
 
16264
        * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
16265
        -mrelocatable-lib and -mno-eabi flags.
16266
 
16267
Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
16268
 
16269
        * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
16270
        Fix handling of mis-aligned source operand when both the
16271
        destination & length are properly aligned.
16272
 
16273
Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
16274
 
16275
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add
16276
        times.o, time.o and gettime.o
16277
        * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
16278
        * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
16279
        SYS_gettimeofday.
16280
 
16281
Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
16282
 
16283
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
16284
        * libc/sys/sysnecv850/access.c: New file.
16285
 
16286
Mon Oct 21 19:47:02 1996  Ian Lance Taylor  
16287
 
16288
        * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
16289
 
16290
        * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
16291
        long.
16292
 
16293
Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
16294
 
16295
        * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
16296
 
16297
Thu Oct 17 11:47:16 1996  Doug Evans  
16298
 
16299
        * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
16300
        * libc/include/sys/config.h: Add m32r support.
16301
 
16302
Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
16303
 
16304
        * libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
16305
        here.
16306
 
16307
Wed Oct 16 21:18:07 1996  Mark Alexander  
16308
 
16309
        * libc/include/machine/setjmp.h: Add D10v support.
16310
 
16311
Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
16312
 
16313
        * configure.in: Configure the "libc/syscalls" directory for
16314
        the v850.
16315
 
16316
        * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
16317
        * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
16318
        * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
16319
        * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
16320
        * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
16321
 
16322
Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
16323
 
16324
        * libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
16325
        stack for args for main and other routines.  Zero out args for
16326
        main.
16327
 
16328
        * libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
16329
        correctly.
16330
 
16331
Tue Oct 15 11:51:42 1996  Michael Meissner  
16332
 
16333
        * libc/stdio/findfp.c (std): Remove extraneous ';' after
16334
        function.
16335
 
16336
        * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
16337
 
16338
        * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
16339
        real system calls now.
16340
 
16341
        * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
16342
        before casting them to int.
16343
        * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
16344
 
16345
        * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
16346
        aligning pointer.
16347
        * libc/string/memset.c (memset): Ditto.
16348
 
16349
        * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
16350
        first convert ints to _POINTER_INT to eliminate GCC warning.
16351
 
16352
        * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
16353
        processing %p.
16354
 
16355
        * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
16356
        from 65000 if ints are only 16 bits.
16357
 
16358
        * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
16359
        from 50000 if ints are only 16 bits.
16360
 
16361
        * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
16362
        int type that is the same size as a pointer.
16363
 
16364
        * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
16365
        processing %p.
16366
        (get_number): Explicitly cast number to long before shifting by 16
16367
        or 24, in case ints are short.
16368
 
16369
        * libc/include/sys/config.h (_POINTER_INT): Define as short.
16370
 
16371
Wed Oct  9 16:54:32 1996  Jeremy Allison 
16372
 
16373
        * libc/string.h: Added ffs, removed swab.
16374
        * libc/sys/errno.h: Added EOPNOTSUPP.
16375
        * libc/sys/unistd.h: Added swab.
16376
 
16377
Thu Oct  3 17:08:50 1996  Jeremy Allison 
16378
 
16379
        * libc/include/sys/stat.h: Added fchmod.
16380
        * libc/include/sys/unistd.h: Added fsync.
16381
 
16382
Tue Oct  1 17:34:08 1996  Jeremy Allison 
16383
 
16384
        * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
16385
        and ECONNRESET (104) for cygwin32.
16386
 
16387
Tue Oct  1 16:24:05 1996  Gavin Koch  
16388
 
16389
        * libc/sys/sysnecv850/_exit.c: added _do_dtors to
16390
        do the static destructors.
16391
 
16392
Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
16393
 
16394
        * libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
16395
 
16396
Mon Sep 30 12:02:50 1996  Doug Evans  
16397
 
16398
        * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
16399
        * configure.in: Recognize m32r-*-*.
16400
 
16401
Mon Sep 30 00:34:41 1996  James G. Smith  
16402
 
16403
        * libc/sys/arm/trap.S (__rt_stkovf_split_big,
16404
        __rt_stkovf_split_small): Added default software stack overflow
16405
        handlers, which just call SWI_Exit.
16406
        * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
16407
        limit initialisation.
16408
 
16409
Fri Sep 27 13:08:03 1996  Mark Alexander  
16410
 
16411
        * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
16412
 
16413
Fri Sep 27 12:32:00 1996  Jeremy Allison 
16414
 
16415
        * libc/include/sys/types.h: Added ssize_t definition.
16416
 
16417
Wed Sep 25 14:52:18 1996  Michael Meissner  
16418
 
16419
        * libc/machine/d10v/setjmp.S: Use ';' for comments.
16420
        * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
16421
 
16422
        * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
16423
        branch around a single ldi instruction.
16424
 
16425
        * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
16426
        Call exit, instead of just issuing a stop instruction.
16427
 
16428
Sun Sep 22 17:26:55 1996  Michael Meissner  
16429
 
16430
        * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
16431
 
16432
Fri Sep 20 13:23:12 1996  Michael Meissner  
16433
 
16434
        * libc/stdlib/mprec.h: Explicitly declare all large constants as
16435
        longs, and then cast them to __uint32_t.
16436
 
16437
        * libc/include/sys/config.h: Protect against multiple inclusions.
16438
 
16439
Tue Sep 17 13:10:33 1996  Mark Alexander  
16440
 
16441
        * configure.in (d10v*): Set syscall_dir.
16442
 
16443
Sun Sep 15 10:41:59 1996  Mark Alexander  
16444
 
16445
        * libc/sys/d10v/crt0.S: Set stack pointer.
16446
 
16447
Thu Sep 12 13:02:38 1996  Mark Alexander  
16448
 
16449
        * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
16450
        in assembly for efficiency.  Change calling convention to allow
16451
        long ints to be returned.
16452
 
16453
Wed Sep 11 10:28:18 1996  Michael Meissner  
16454
 
16455
        * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
16456
 
16457
Thu Sep  5 19:23:06 1996  Doug Evans  
16458
 
16459
        * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
16460
        Handle empty entries in $PATH.
16461
 
16462
Tue Sep 03 18:15:02 1996  Mark Alexander  
16463
 
16464
        * libc/machine/d10v/setjmp.S: Make it really work.
16465
 
16466
Tue Sep  3 12:16:26 1996  Ian Lance Taylor  
16467
 
16468
        * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
16469
        the .stack section.
16470
 
16471
Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
16472
 
16473
        * sys/sysnecv850/sys/file.h: Remove.
16474
        * sys/sysnecv850/sys/syscall.h: New file.
16475
        * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
16476
        * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
16477
        * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
16478
        * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
16479
        * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
16480
        * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
16481
        * sys/sysnec850/trap.S: New file.
16482
        * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
16483
        syscalls.
16484
        * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
16485
        * sys/sysnec850/sbrk.c: New version.
16486
 
16487
Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
16488
 
16489
        * sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
16490
        as long as r6 is less than r7.
16491
 
16492
Sun Sep  1 13:54:19 1996  Ian Lance Taylor  
16493
 
16494
        * Makefile.in (mostlyclean): Separate from clean target.  Don't
16495
        remove *.a or targ-include.
16496
        * libc/machine/sparc/Makefile.in (mostlyclean): New target.
16497
 
16498
Sun Sep  1 11:35:26 1996  Michael Meissner  
16499
 
16500
        * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
16501
        d10v.
16502
        (__SMALL_BITFIELDS): Ditto.
16503
 
16504
        * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
16505
 
16506
Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
16507
 
16508
        * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
16509
        prefix.
16510
 
16511
        * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
16512
        * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
16513
        * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
16514
        * libc/sys/sysnecv850/write.c (write): Likewise.
16515
 
16516
        * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
16517
        .bss.
16518
 
16519
Fri Aug 30 11:18:45 1996  Michael Meissner  
16520
 
16521
        * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
16522
        appropriately for D10V, depending on -mint16/-mint32.
16523
 
16524
Thu Aug 29 16:09:37 1996  Mark Alexander  
16525
 
16526
        * configure.in: Add cases for D10V.
16527
 
16528
Thu Aug 29 17:03:23 1996  Michael Meissner  
16529
 
16530
        * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
16531
 
16532
Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
16533
 
16534
        * libc/include/machine/ieeefp.h: Fix typo.
16535
 
16536
Wed Aug 28 19:47:55 1996  Mark Alexander  
16537
 
16538
        * libc/sys/d10v: New directory for D10V stuff.
16539
        * libc/include/machine/ieeefp.h: Add D10V defines.
16540
 
16541
Mon Aug 26 13:34:58 1996  Doug Evans  
16542
 
16543
        * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
16544
        ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
16545
        ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
16546
        * libc/string/strerror.c (strerror): Add them.
16547
 
16548
Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
16549
 
16550
        * libc/sys/sysnecv850: New directory for v850 stuff.
16551
 
16552
        * libc/machine/v850: New directory for v850 stuff.
16553
        * libc/machine/v850/setjmp.S: setjmp/longjmp support.
16554
 
16555
        * configure.in: Add support for the v850.
16556
 
16557
        * libc/include/machine/ieeefp.h: Add v850 defines.
16558
        * libc/include/machine/setjmp.h: Likewise.
16559
        * libc/include/sys/config.h: Add v850 defines.
16560
 
16561
Sat Aug 17 04:06:36 1996  Geoffrey Noer  
16562
 
16563
        * libc/include/machine/ieeefp.h
16564
        * libc/include/machine/setjmp.h
16565
        * libc/include/sys/fcntl.h
16566
        * libc/include/sys/signal.h
16567
        * libc/include/sys/types.h
16568
        * libc/stdlib/system.c:
16569
        Fix preprocessor defines to match new scheme (_WIN32 for WIN32
16570
        API availability, __CYGWIN32__ for cygwin32 environment specific).
16571
 
16572
Thu Aug 15 17:09:21 1996  Geoffrey Noer  
16573
 
16574
        * libc/include/stdlib.h: add multibyte character functions.  Add
16575
        __eprintf for assert.
16576
 
16577
Thu Aug 15 11:15:40 1996  Michael Meissner  
16578
 
16579
        * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
16580
        arithmetic or __alignof__ to properly get the alignment, instead
16581
        of hardwiring it to 4.
16582
 
16583
Wed Aug 14 23:43:28 1996  Geoffrey Noer  
16584
 
16585
        * libc/stdio/fseek.c: add fflush call to adjust seek offset
16586
        on append stream (fix from NetBSD sources), adjust curoff offset
16587
        for ungetc's benefit.
16588
        * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
16589
        * libc/stdio/rewind.c: replace code with up to date NetBSD
16590
        code to undo hacks made to work around above problem of not
16591
        having fflush call mentioned above
16592
 
16593
Fri Aug  2 18:28:07 1996  J.T. Conklin  
16594
 
16595
        * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
16596
        openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
16597
        Partially revert last changes.  The thread specific errno is set
16598
        iff if the underlying syscall fails and the global errno is not
16599
        zero.
16600
 
16601
Fri Jul 19 11:41:52 1996  J.T. Conklin  
16602
 
16603
        * libc/reent/filer.c: Removed files, all functions have split out
16604
        into their own files.
16605
        * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
16606
        New files containing functions formally in filer.c
16607
        * libc/reent/Makefile.in: Updated for above change.
16608
 
16609
        * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
16610
        syscall fails, not if errno is changed.
16611
        * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
16612
        _write_r): Likewise.
16613
        * libc/reent/fstatr.c (_fstat_r): Likewise.
16614
        * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
16615
        * libc/reent/sbrkr.c (_sbrk_r): Likewise.
16616
        * libc/reent/signalr.c (_kill_r): Likewise.
16617
        * libc/reent/statr.c (_stat_r): Likewise.
16618
        * libc/reent/timer.c (_gettimeofday_r): Likewise.
16619
 
16620
        * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
16621
        signalr.c, statr.c, timer.c} (errno): declare extern rather
16622
        than as a common.
16623
 
16624
        * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
16625
        instead of calling vfprintf so that i*printf will not require
16626
        floating point support code.
16627
 
16628
Mon Jul 15 16:50:59 1996  Doug Evans  
16629
 
16630
        * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
16631
        path delimiter.
16632
        * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
16633
        (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
16634
 
16635
Thu Jul 11 14:34:14 1996  Geoffrey Noer  
16636
 
16637
        * libc/include/signal.h: _sig_func_ptr function takes an int
16638
        * libc/include/sys/signal.h: sa_handler function takes an int
16639
 
16640
Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
16641
 
16642
        * libc/include/machine/ieeefp.h: Simplify H8/S support.
16643
        * libc/include/sys/config.h: Add missing H8/S conditional.
16644
 
16645
Sun Jun 30 12:05:46 1996  Doug Evans  
16646
 
16647
        * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
16648
 
16649
Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
16650
 
16651
        * libc/include/machine/setjmp.h: Handle H8/S.
16652
        * libc/include/machine/ieeefp.h: Likewise.
16653
        * libc/include/sys/config.h: Likewise.
16654
        * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
16655
        * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
16656
        * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
16657
        * libc/sys/h8300hms/crt0.S: Likewise.
16658
 
16659
Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
16660
 
16661
        * Makefile.in (datadir): Set to $(prefix)/share.
16662
        (oldincludedir, docdir): Removed.
16663
        * doc/Makefile.in (datadir): Set to $(prefix)/share.
16664
        (oldincludedir, docdir): Removed.
16665
        * libc/Makefile.in (datadir): Set to $(prefix)/share.
16666
        (oldincludedir, docdir): Removed.
16667
        * libm/Makefile.in (datadir): Set to $(prefix)/share.
16668
        (oldincludedir, docdir): Removed.
16669
 
16670
Fri Jun 21 19:24:41 1996  Ian Lance Taylor  
16671
 
16672
        * libc/include/sys/reent.h (_REENT_INIT): Update for change to
16673
        _reent struct.
16674
 
16675
Wed Jun 19 14:00:09 1996  Doug Evans  
16676
 
16677
        * libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
16678
        fetch current path rules with sysconf and handler posix/win32
16679
        appropriately.
16680
 
16681
        * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
16682
 
16683
        * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
16684
        (WAIT_CHILD): Always define.
16685
 
16686
Sat Jun 15 17:50:42 1996  Ian Lance Taylor  
16687
 
16688
        * libc/stdlib/eprintf.c: New file.
16689
        * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
16690
        (eprintf.o): New target.
16691
 
16692
Thu Jun 13 16:44:32 1996  Doug Evans  
16693
 
16694
        * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
16695
        (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
16696
 
16697
Thu Jun 13 17:45:17 1996  Mike Meissner  
16698
 
16699
        * libc/include/machine/ieeefp.h: Add support for AIX and Windows
16700
        NT in PowerPC endianess cases.
16701
 
16702
Tue Jun 11 12:26:28 1996  Michael Meissner  
16703
 
16704
        * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
16705
 
16706
Thu Jun  6 11:34:20 1996  Michael Meissner  
16707
 
16708
        * libc/string/strtok.c: Fix doc typo.
16709
 
16710
Mon Jun  3 11:30:00 1996  J.T. Conklin  
16711
 
16712
        * libc/include/sys/reent.h (struct _reent): Removed _asctime,
16713
        _next, _scanpoint, _signgam fields.
16714
 
16715
        * libc/include/stdlib.h (rand_r): Added new declaration.
16716
        (_rand_r, _srand_r): Removed declarations.
16717
        * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
16718
        have been made obsolete by rand_r.
16719
        * libc/stdlib/rand_r.c: New file, rand_r function as specified
16720
        by POSIX.1c.
16721
 
16722
        * libc/string/strtok.c: Update documentation to describe
16723
        strtok_r().
16724
 
16725
Sat Jun  1 23:50:39 1996  Michael Meissner  
16726
 
16727
        * libc/include/sys/stat.h (stat structure): Use the expanded stat
16728
        structure on Solaris, and PowerPC systems even though __svr4__ is
16729
        defined.
16730
 
16731
Tue May 28 13:02:42 1996  Doug Evans  
16732
 
16733
        * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
16734
 
16735
Fri May 17 10:34:44 1996  Ian Lance Taylor  
16736
 
16737
        * host/any: Use ../.. rather than .. to get to the main build
16738
        directory.  This matches the current layout of the build
16739
        directory.
16740
 
16741
Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
16742
 
16743
        * libc/machine/h8300/__main.S: Delete.  No longer needed.
16744
        * libc/machine/h8300/Makefile.in: Corresponding changes.
16745
        * libc/sys/h8300hms/crt1.c: New file.
16746
        * libc/sys/h8300hms/Makefile.in: Corresponding changes.
16747
        * libc/sys/h8300hms/crt0.s: Call __main.
16748
 
16749
        * libc/sys/h8300hms/crt0.S: Use temporary label names
16750
        for branch targets.
16751
 
16752
Mon May 13 14:26:30 1996  Doug Evans  
16753
 
16754
        * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
16755
 
16756
Fri May  3 16:38:23 1996  Michael Meissner  
16757
 
16758
        * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
16759
        .sdata on the PowerPC so that we can link newlib with code
16760
        compiled with -msdata.
16761
 
16762
Mon Apr 29 21:38:02 1996  Doug Evans  
16763
 
16764
        * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
16765
 
16766
Thu Apr 25 06:38:59 1996  Michael Meissner  
16767
 
16768
        * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
16769
        exception handler to __cygwin_exception_handler.
16770
 
16771
Tue Apr 23 15:14:20 1996  Ian Lance Taylor  
16772
 
16773
        * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
16774
 
16775
Sun Apr 21 12:11:51 1996  Doug Evans  
16776
 
16777
        * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
16778
        SunOS VPATH.
16779
        * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
16780
        wcstombs.o): Likewise.
16781
 
16782
Thu Apr 18 12:37:01 1996  Doug Evans  
16783
 
16784
        * libc/stdlib/environ.c (initial_env): New static local.
16785
        (environ): Point to `initial_env'.
16786
 
16787
        * libc/include/machine/setjmp.h: Clean up.
16788
        (__H8300H__,__PPC__): Define _JBTYPE.
16789
        (__arm__): Provide entry for.
16790
        (sigjmp_buf): Delete.
16791
        (jmp_buf): Use _JBTYPE if defined, otherwise int.
16792
 
16793
Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
16794
 
16795
        * libc/machine/h8300/strcmp.S: Sign extend the result to
16796
        32bits so we don't lose with -mint32.
16797
 
16798
Sun Apr 14 19:59:52 1996  Doug Evans  
16799
 
16800
        * libc/sys/go32/sys/errno.h: New file.
16801
        * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
16802
        * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
16803
        errno's address (make compatible with rest of newlib).
16804
        * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
16805
        * libc/string/strerror.c (strerror): Surround each case with #ifdef.
16806
 
16807
Thu Mar 28 13:44:42 1996  Doug Evans  
16808
 
16809
        * libc/machine/sparc/{scan.c,shuffle.c}: New files.
16810
        * libc/machine/sparc/Makefile.in: Build them.
16811
        * libc/machine/sparc/machine/sparclet.h: New file.
16812
 
16813
Mon Mar 25 15:29:14 1996  J.T. Conklin  
16814
 
16815
        * libc/machine/sh/asm.h: New file.
16816
        * libc/machine/sh/setjmp.S: Only save clobbered registers.  Added
16817
        support for SH3e's FP registers.  Use asm.h.
16818
 
16819
Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
16820
 
16821
        * libc/stdio/vfprintf.c (cvt): Accept a reent structure
16822
        as first argument.  Call _dtoa_r and pass the reent structure
16823
        instead of calling __dtoa.
16824
 
16825
Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
16826
 
16827
        * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
16828
        the h8300, h8500, and others.  Add comments for some rather
16829
        dubious code.
16830
 
16831
Thu Mar 14 18:04:43 1996  Ian Lance Taylor  
16832
 
16833
        * Makefile.in (check): Check that testsuite exists before cd.
16834
 
16835
Tue Mar 12 11:46:47 1996  Michael Meissner  
16836
 
16837
        * libc/include/string.h (strsep): Correct prototype.
16838
 
16839
Mon Mar 11 09:55:19 1996  Doug Evans  
16840
 
16841
        * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
16842
        * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
16843
        * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
16844
 
16845
Wed Mar  6 11:51:55 1996  Doug Evans  
16846
 
16847
        * libc/posix/{creat.c,isatty.c}: New files.
16848
        * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
16849
 
16850
        * libc/sys/sparc64/crt0.S (environ): Delete.
16851
        (.LHaveBias): Renamed from HaveBias.
16852
 
16853
Thu Feb 15 10:48:37 1996  Doug Evans  
16854
 
16855
        * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
16856
        (_morecore_r): Delete SBRK_IS_ALLOC support.
16857
 
16858
Tue Feb 13 09:44:09 1996  Michael Meissner  
16859
 
16860
        * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
16861
        module rather than touch, so we don't get warning messages when
16862
        all of the libraries are combined into libc.a.
16863
 
16864
Tue Feb 13 06:32:07 1996  Doug Evans  
16865
 
16866
        * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
16867
        crt0.s replaced by version in libgloss.
16868
 
16869
Mon Feb  5 15:17:51 1996  J.T. Conklin  
16870
 
16871
        * libc/reent/Makefile.in (OFILES): Add impure.o.
16872
        * libc/reent/impure.o: New file, define initial reentrancy struct.
16873
        * libc/reent/reent.c: Remove above definition.
16874
 
16875
        * libm/math/sf_asinh.c: Fix typo.
16876
 
16877
        * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
16878
        srf_ldexp.o.
16879
 
16880
        * libm/libm.texinfo: Change documentation to reflect changes
16881
        in reentrancy model.
16882
        * libm/math/w_gamma.c: Likewise.
16883
 
16884
Wed Jan 31 18:49:45 1996  Steve Chamberlain  
16885
 
16886
        * configure.in (*-*-cygwin32): New.
16887
        (*-*-win32): Deleted.
16888
        * libc/sys/win32 renamed libc/sys/cygwin32.
16889
 
16890
Tue Jan 30 22:09:03 1996  Michael Meissner  
16891
 
16892
        * libc/include/sys/file.h: New include file.
16893
 
16894
Fri Jan 26 15:52:54 1996  Steve Chamberlain  
16895
 
16896
        * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
16897
 
16898
Tue Jan 23 17:49:16 1996  Steve Chamberlain  
16899
 
16900
        * libc/include/sys/wait.h (WIFSIGNALED): Fix.
16901
 
16902
Tue Jan 16 09:28:10 1996  Michael Meissner  
16903
 
16904
        * doc/makedoc.c (realloc): Declare at file scope.
16905
        (catchar): Not here.
16906
 
16907
Wed Dec 27 15:45:23 1995  Doug Evans  
16908
 
16909
        * Makefile.in (VERSION): Update to 1.7.0.
16910
        * {libc,libm}/Makefile.in (VERSION): Likewise.
16911
        * configure.in: Minor clean up of multilib stuff.
16912
 
16913
        From David Johnson 
16914
        * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
16915
 
16916
        * libc/stdlib/environ.c: New file.
16917
        * libc/stdlib/Makefile.in (OFILES): Build it.
16918
        * libc/sys/h8500hms/crt0.c (environ): Deleted.
16919
        * libc/sys/m88kbug/crt0.c (environ): Deleted.
16920
        * libc/sys/z8ksim/crt0.c (environ): Deleted.
16921
        * libc/sys/netware/environ.c: Deleted.
16922
 
16923
Tue Dec 19 15:24:46 1995  Kim Knuttila  
16924
 
16925
        * configure.in (links): set sys_dir, posix_dir, syscall_dir
16926
 
16927
Wed Dec 13 04:16:25 1995  Michael Meissner  
16928
 
16929
        * doc/makedoc.c (init_string_with_size,nextword): Move malloc
16930
        declaration out to external scope and declare it PTR, not char *.
16931
 
16932
Mon Dec 11 17:35:12 1995  steve chamberlain  
16933
 
16934
        * libc/include/sys/unistd.h (getpagesize): New declaration.
16935
        (_SC_PAGESIZE): New definition.
16936
        * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
16937
        * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
16938
 
16939
Fri Dec  1 16:48:46 1995  James G. Smith  
16940
 
16941
        * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
16942
        addressing. System call returns size, not (last address + 1).
16943
 
16944
Thu Nov 30 15:05:26 1995  J.T. Conklin  
16945
 
16946
        * libm/math/*.c: Removed _foo_r() reentrancy API.
16947
        * libc/include/math.h: Removed _foo_r prototypes and macros.
16948
 
16949
        * libm/math/*.c: On systems with IEEE single precision "doubles"
16950
        move foo() -> foof() wrapper code from the files that implement
16951
        the standard IEEE double precision functions to the files that
16952
        implement IEEE single precision functions. (ie. On those systems
16953
        sin is moved from s_sin.c to sf_sin.c).  There should eventually
16954
        be use of a C extension (like gcc's alias attribute) so that the
16955
        wrappers are not needed at all.
16956
 
16957
        * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
16958
        strict NEC V810 compiler.
16959
        * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
16960
        for same reason.
16961
 
16962
Wed Nov 29 14:25:05 1995  J.T. Conklin  
16963
 
16964
        * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
16965
        from NetBSD C library.
16966
        * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
16967
 
16968
        * libc/stdlib/assert.c (__assert): Renamed from __assertfail
16969
        and adapted from implementation I wrote for NetBSD C library.
16970
        The difference is __assert doesn't take a format argument,
16971
        so that there won't be multiple copies of the same string
16972
        constant in the executable if assertions are enabled in
16973
        more than one source module.
16974
        * libc/include/assert.h (assert): Changed to call __assert.
16975
 
16976
Tue Nov 28 16:54:26 1995  J.T. Conklin  
16977
 
16978
        * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
16979
        word1 on systems with 32 bit doubles.
16980
        * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
16981
        so that we can do arithmetic on them.
16982
        * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
16983
        compilers.
16984
 
16985
Tue Nov 28 16:03:32 1995  Doug Evans  
16986
 
16987
        * libc/sys/arm/crt0.S: Zero bss.
16988
 
16989
Fri Nov 24 16:09:23 1995  Doug Evans  
16990
 
16991
        * libc/include/unctrl.h: New file.
16992
        * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
16993
        * configure.in (subdirs): Add libc/misc.
16994
        * libc/Makefile.in (SUBDIRS): Add misc.
16995
        (SUBLIBS): Add misc/lib.a.
16996
 
16997
        * libc/include/sys/reent.h (struct _reent): Make __sf last member.
16998
 
16999
Wed Nov 22 19:49:47 1995  Doug Evans  
17000
 
17001
        * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
17002
        (_vfprintf_r): Call CHECK_INIT.
17003
 
17004
Tue Nov 14 02:52:12 1995  Doug Evans  
17005
 
17006
        * Makefile.in (MULTITOP): Delete.
17007
        (MULTISRCTOP, MULTIBUILDTOP): Add.
17008
        * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
17009
        instead of cfg-ml-pos.in.
17010
 
17011
Wed Nov  8 01:24:08 1995  James G. Smith  
17012
 
17013
        * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
17014
        * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
17015
        presence.
17016
 
17017
Thu Nov  2 22:25:06 1995  Michael Meissner  
17018
 
17019
        * libc/string/strtok.c: Include string.h to pick up strtok_r
17020
        prototype.
17021
 
17022
Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17023
 
17024
        * libc/string/strtok.c: include <_ansi.h>.
17025
        * libc/time/asctime_r.c: `reresult' -> `result'.
17026
 
17027
Wed Nov  1 14:35:52 1995  J.T. Conklin  
17028
 
17029
        * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
17030
        in #ifndef _REENT_ONLY ... #endif conditional.
17031
 
17032
        * libc/include/string.h (_strtok_r): Remove declaration.
17033
        * libc/include/time.h (_asctime_r): Remove declaration.
17034
        * libc/string/strtok.c (_strtok_r): Removed.
17035
        * libc/time/asctime.c (_asctime_r): Removed.
17036
 
17037
        * libc/string/Makefile.in (OFILES): Add new object.
17038
        * libc/string/strtok_r.c: New file.  strtok_r function as
17039
        specified by POSIX.1c, adapted from strtok implementation
17040
        from NetBSD C library.
17041
        * libc/string/strtok.c (strtok): Reimplemented in terms of
17042
        strtok_r.
17043
 
17044
        * libc/time/Makefile.in (OFILES): Add new objects.
17045
        * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
17046
        New files, reentrant time functions specified by POSIX.1c.
17047
        * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
17048
        reentrant time functions re-written in terms of reentrant
17049
        functions.
17050
        * libc/time/lcltime.c: Renamed from localtime.c
17051
 
17052
        * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
17053
        gmtime_r, and localtime_r.
17054
 
17055
Sat Oct 28 14:34:31 1995  steve chamberlain  
17056
 
17057
        * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
17058
        * libc/include/sys/unistd.h (getlogin): Revert change of
17059
        Oct 19.
17060
        * libc/include/sys/signal.h (sigprocmask): Change prototype
17061
        so it compiles with c++.
17062
 
17063
Wed Oct 25 15:43:18 1995  Michael Meissner  
17064
 
17065
        * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
17066
        PowerPC if __PPC__ is defined.  Bump jump_buf length to 62 ints,
17067
        to give some room in case we need to align the jmp_buf.
17068
 
17069
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
17070
        the new ppc-asm.h include file the compiler provides to specify
17071
        function prologue/epilogue.  Eliminate saves of the xer and ctr
17072
        registers, which are volatile.  Before starting to save registers,
17073
        align to 8 byte boundary.
17074
 
17075
Mon Oct 23 11:20:51 1995  James G. Smith  
17076
 
17077
        * libc/sys/vr4300/syscalls.c: Added empty kill() function,
17078
        referenced by standard libraries.
17079
 
17080
Thu Oct 19 21:39:47 1995  Fred Fish  
17081
 
17082
        * libc/unix/Makefile.in, libc/string/Makefile.in,
17083
        libc/stdio/Makefile.in, libc/reent/Makefile.in,
17084
        libc/posix/Makefile.in:
17085
        Remove tabs from otherwise empty line.  Confuses some
17086
        older non-GNU versions of "make".
17087
 
17088
Thu Oct 19 16:32:17 1995  steve chamberlain  
17089
 
17090
        * libc/sys/unistd.h (getlogin): Returns const char *.
17091
 
17092
Wed Oct 18 12:57:50 1995  steve chamberlain  
17093
 
17094
        * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
17095
        * libc/include/errno.h: Moved into and include...
17096
        * libc/include/sys/errno.h: New file.
17097
        * libc/include/sys/wait.h: New file.
17098
        * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
17099
        * libc/sys/win32/*: Moved out.
17100
        * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
17101
        * configure.in (i[345]86-*-win32): HAVE_RENAME
17102
 
17103
Wed Oct 18 09:58:27 1995  Brendan Kehoe  
17104
 
17105
        * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
17106
        avoid macro expansion for these two names.
17107
 
17108
Tue Oct 17 08:45:33 1995  Doug Evans  
17109
 
17110
        * libc/machine/h8500/psi.S: r6 renamed to fp.
17111
 
17112
Sun Oct 15 12:58:10 1995  Michael Meissner  
17113
 
17114
        * configure.in (powerpc*): No longer need to define
17115
        NO_LONGLONG_POINTERS to supress warnings.
17116
 
17117
Sat Oct 14 12:55:08 1995  Jim Wilson  
17118
 
17119
        * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
17120
        through PTR instead of directly.
17121
 
17122
        * libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
17123
        non-standard constructor support.
17124
 
17125
Thu Oct 12 11:39:42 1995  J.T. Conklin  
17126
 
17127
        * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
17128
        address of the Bigint instead of the address of its _x field,
17129
        as the size the result buffer was calculated accordingly.
17130
        Fix from Jim Wilson .
17131
 
17132
        * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
17133
        from NetBSD C library.  No longer special cases division by
17134
        zero (which needs to be done by the application anyway), but
17135
        it doesn't need to call abs() (or labs()) four times either.
17136
 
17137
        * libc/stdlib/qsort.c: Replaced with implementation from
17138
        NetBSD C library.
17139
 
17140
Tue Oct 10 14:01:10 1995  J.T. Conklin  
17141
 
17142
        * libc/stdio/vfprintf.c: Replaced with implementation from
17143
        NetBSD C library (which is derived from the 4.4BSD C library).
17144
        * libc/stdio/cvt.c: Removed.
17145
        * libc/stdio/Makefile: Updated.
17146
 
17147
Tue Oct 10 12:15:23 1995  steve chamberlain  
17148
 
17149
        * libc/sys/win32/syscalls.c (rename): New.
17150
        * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
17151
 
17152
Fri Oct  6 12:18:43 1995  Jim Wilson  
17153
 
17154
        * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
17155
        * libc/machine/sh/setjmp.S: Rename from setjmp.s.
17156
 
17157
        * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
17158
        (setjmp.o): Delete rule to build setjmp.o.
17159
        * libc/sys/sh/setjmp.S: Delete file.
17160
 
17161
Fri Oct  6 11:19:05 1995  J.T. Conklin  
17162
 
17163
        * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
17164
        * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
17165
        format.  Added #defines to map d2b, i2b, low0bits, lshift, mult,
17166
        pow5mult and s2b to identifiers with leading underscores.
17167
        * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
17168
        ecvtbuf.o, mprec.o and strtod.o.  Sort dependencies.
17169
 
17170
Thu Oct  5 17:27:30 1995  steve chamberlain  
17171
 
17172
        * libc/sys/posix/popen.c (sys/types.h): Include.
17173
 
17174
Thu Oct  5 16:33:01 1995  Doug Evans  
17175
 
17176
        * libc/sys/win32/syscalls.h (fhandler): New struct.
17177
        (__lookup_fhandler, __lookup_fhandler_hook): Declare.
17178
        (__fhandler_normal): Declare.
17179
        (hinfo): New member op_handlers.
17180
        * libc/sys/win32/syscalls.c (__read): Don't validate fd.
17181
        (__write): Likewise.
17182
        (_read, _write, _open, _close, _lseek): Validate fd here.
17183
        Move file type specific stuff to foo_normal.
17184
        (read_normal, write_normal, open_normal, close_normal, lseek_normal):
17185
        New functions.
17186
        (__lookup_fhandler): New function.
17187
        (__lookup_fhandler_hook, __fhandler_normal): New variables.
17188
 
17189
        From anders.blomdell@control.lth.se (Anders Blomdell)
17190
        * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
17191
        Don't touch standard handles.
17192
        * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
17193
        (_execve): Only create __FD_TABLE__ if necessary.
17194
        * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
17195
 
17196
Thu Oct  5 14:25:14 1995  steve chamberlain  
17197
 
17198
        * libc/sys/win32/sys/termios.h (FLUSHO): New.
17199
        * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
17200
        * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
17201
        * libc/sys/win32/exception.c (ehandler3): set strace when a signal
17202
        without a handler is received.
17203
        * libc/sys/win32/Makefile.in: Remove --nodelete.
17204
        * libc/sys/win32/resouce.c (gettimeofday): New.
17205
        * libc/sys/win32/syscalls.c (path_to_real_path): New.
17206
        * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
17207
 
17208
Wed Oct  4 13:10:35 1995  Doug Evans  
17209
 
17210
        * libc/sys/win32/dirsearch.c (opendir): stat real path name.
17211
        Don't append "/*" to search pattern if trailing '/' already there,
17212
        append "*".
17213
        * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
17214
        like /'s, convert them to \'s.  Handle /// path names.
17215
        Add space for quoted \'s in arg string.  Print translated prog name
17216
        and original prog name.
17217
        (_execve): Handle parent doing exec a teensy bit better.
17218
        * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
17219
        * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
17220
        path needs conversion, handle both cases.  Delete `const' from result.
17221
        (hash_path_name): New function.
17222
        (_open): Call it.
17223
        (_stat): Likewise.  Fill in more fields for directories.
17224
        * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
17225
        (wait_for_any): Fix trace message.
17226
        (waitpid): Explicitly test for intpid == 0.
17227
 
17228
        From anders.blomdell@control.lth.se (Anders Blomdell)
17229
        * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
17230
        so `next' is valid.
17231
 
17232
Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
17233
 
17234
        * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
17235
        complicated.
17236
 
17237
Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
17238
 
17239
        * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
17240
        at all, not just == 1.
17241
        * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
17242
 
17243
Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17244
 
17245
        * libc/sys/win32/include/winbase.h: include  and 
17246
        * libc/sys/win32/include/wintypes.h: include 
17247
        * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
17248
        file.
17249
 
17250
Fri Sep 29 01:49:17 1995  steve chamberlain  
17251
 
17252
        * libc/sys/syscalls.c (getcwd): Fix off by one error.
17253
 
17254
        * libc/sys/signal.c (sleep): Fill it in.
17255
        * libc/sys/termios.c (tcflush): Use PurgeComm
17256
        (tcsetattr): Set some more of the bits.
17257
        * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
17258
 
17259
Fri Sep 29 04:33:53 1995  Doug Evans  
17260
 
17261
        * libc/sys/arm/crt0.S (fp): Initialize to 0.
17262
        Conditionally include .idata$3 stuff ifdef __pe__.
17263
 
17264
Fri Sep 29 01:49:17 1995  steve chamberlain  
17265
 
17266
        * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
17267
        * libc/sys/win32/pipe.c (pipe): Ditto.
17268
        * libc/sys/win32/syscalls.c (__read):  Use new vtime and vmin fields.
17269
        * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
17270
        * libc/sys/win32/termios.c (tcsetattr): Init new fields.
17271
        (tcgetattr): Contents are new.
17272
        * libc/sys/win32/include/winkernel.h (DCB): New.
17273
        (GetCommState, SetCommState): New.
17274
 
17275
Thu Sep 28 16:29:09 1995  Doug Evans  
17276
 
17277
        * libc/sys/arm/crt0.S (_start): Define.
17278
 
17279
Thu Sep 28 12:26:45 1995  steve chamberlain  
17280
 
17281
        * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
17282
        * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
17283
 
17284
        * libc/sys/win32/sysconf.c: New
17285
        * libc/sys/win32/sys/winadvapi.h: New
17286
        * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
17287
        * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
17288
        * libc/sys/win32/pipe.c (pipe): Ditto.
17289
        * libc/sys/win32/signal.c (_raise): New.
17290
        (_kill): Moved from spawn.c
17291
        * libc/sys/win32/spawn.c (kill): Moved to signal.c
17292
        * libc/sys/win32/syscalls.c (__read): Use new fields.
17293
        (_open): Ditto.
17294
        * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
17295
        * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
17296
        * libc/include/sys/unistd.h (rmdir): Takes const path.
17297
        * libc/include/sys/stat.h (mkdir): Takes const path.
17298
        * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
17299
 
17300
Thu Sep 28 10:11:27 1995  Doug Evans  
17301
 
17302
        * libc/sys/win32/spawn.c (_spawn): Fix quoting.
17303
 
17304
        Add support for specifying paths as ///foo/bar.
17305
        * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
17306
        (__path_to_real_path): Declare.
17307
        (PATH_TO_REAL_PATH): New macro.
17308
        * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
17309
        (__path_needs_conversion_p, __path_to_real_path): New functions.
17310
        (_open): Fix test for error return from CreateFileA.
17311
        Handle new path syntax.
17312
        (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
17313
        * libc/sys/win32/dirsearch.c (opendir): Likewise.
17314
 
17315
Wed Sep 27 16:36:46 1995  steve chamberlain  
17316
 
17317
        * libc/sys/win32/include/*.h: Reorganized
17318
        * libc/sys/win32/include/WINREADME: New.
17319
        * libc/sys/win32/Makefile.in (DLLS): Build version.a.
17320
        * libc/sys/win32/*.c: Fix for new include scheme.
17321
        * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
17322
        * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
17323
        * libc/sys/win32/passwd.c (*): Fix.
17324
        * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
17325
        (_stat): Get directory owner and permissions right.
17326
        * libc/sys/win32/syscalls.h (uinfo): New.
17327
        * libc/sys/win32/version.def: Remove leading underscores.
17328
 
17329
Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17330
 
17331
        * libc/sys/win32/key.c: include "include/wincon.h".
17332
 
17333
Tue Sep 26 07:21:48 1995  steve chamberlain  
17334
 
17335
        * libc/sys/win32/{key, stubs}.c: New.
17336
        * libc/sys/win32/Makefile: Adjust to cope.
17337
        * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
17338
        (environ_init): Change env names to upper case.
17339
        * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
17340
        * libc/sys/win32/passwd.c (*): Fill in the functions.
17341
        * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
17342
        * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
17343
        * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
17344
        (_open): Initialze hmap->execable_p too.
17345
        * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
17346
        (_fstat): Fill in permissions.
17347
        * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
17348
 
17349
Fri Sep 22 13:47:27 1995  Doug Evans  
17350
 
17351
        * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
17352
        if defined.
17353
        (cfg-ml-pos.in invocation): Likewise.
17354
 
17355
Fri Sep 22 11:43:44 1995  J.T. Conklin  
17356
 
17357
        * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
17358
        s_isnan.o and sf_isnan.o.
17359
 
17360
Wed Sep 20 14:50:19 1995  Ian Lance Taylor  
17361
 
17362
        * All Makefile.in files: added maintainer-clean target as a
17363
        synonym for realclean.
17364
 
17365
Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
17366
 
17367
        * libc/include/machine/setjmp.h: Add hppa support.
17368
        * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
17369
        support.
17370
        * libc/machine/hppa/Makefile.in: Related changes.
17371
 
17372
Tue Sep 19 12:09:01 1995  J.T. Conklin  
17373
 
17374
        * configure.in (machine_dir): Don't set for v810-*-*.
17375
 
17376
Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17377
 
17378
        * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
17379
        conventions correctly.
17380
 
17381
Thu Sep 14 13:37:22 1995  J.T. Conklin  
17382
 
17383
        * libc/stdio/puts.c: Update documentation of return value to match
17384
        ANSI standard.
17385
 
17386
Thu Sep 14 01:52:37 1995  Doug Evans  
17387
 
17388
        Fix file descriptor inheritance.
17389
        * libc/sys/win32/syscalls.h (CHILD_P): Define again.
17390
        (NOT_OPEN_FD): Fix.
17391
        * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
17392
        close-on-exec flag not set.  Initialize child's entire fd table.
17393
        * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
17394
        CHILD_P.
17395
        * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
17396
        if CHILD_P.  Initialize entire hmap entry.
17397
        (dup): Only create new handle as inheritable if CHILD_P.
17398
        (dup2): Likewise.  Properly initialize hmap entry.
17399
 
17400
        * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
17401
        _spawn.
17402
        (_exit): Use CHILD_P.
17403
        * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
17404
        (_stat): Likewise.
17405
 
17406
Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17407
 
17408
        * libc/sys/win32/crt0.c (passover): fix up the state table.
17409
        * libc/posix/popen.c: Added.
17410
        * libc/posix/Makefile.in: compile popen.c.
17411
 
17412
Mon Sep 11 11:43:38 1995  J.T. Conklin  
17413
 
17414
        * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
17415
        h8/500 define _DOUBLE_IS_32BITS.
17416
 
17417
Sat Sep  9 17:55:54 1995  Doug Evans  
17418
 
17419
        Get vfork/exec/spawn/cwait/wait working again.
17420
        * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
17421
        (procinfo): New member vfork_level.
17422
        * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
17423
        (vfork_init_first): Use GetCurrentProcessId to get pid.
17424
        Initialize vfork_level.
17425
        (vfork_init): Delete __PID__.
17426
        (environ_init): New function.  Undo patch of Aug 19, Posix says
17427
        environment variables are case sensitive.
17428
        (mainCRTStartup): Call it.
17429
        * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
17430
        (my_longjump: Make static.
17431
        (_spawn): New argument `h'.  Delete setting of __PID__.
17432
        Delete local `idx'.  Look for chars that need quotes, rather than
17433
        ones that don't.  Set handle of created process in `h'.
17434
        Result is process id if created task.
17435
        (allocate_spawn_entry): New function.
17436
        (spawnvp, spawnv): Call it.  Store handle and pid in procinfo entry.
17437
        (_execve): Set __FD_TABLE__ before spawning child.
17438
        Scan our fd table when passing fds, not our parent's.
17439
        Store handle and pid in procinfo entry.
17440
        (vfork0): Ensure strace message always printed.
17441
        Set child pid to VFORK_NEWBORN_PSEUDO_PID.
17442
        (vfork): Don't clobber result of vfork0.
17443
        * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
17444
        (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
17445
 
17446
        * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
17447
        and `exit_code'.
17448
        * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
17449
        (vfork0): Likewise.  Distinguish children, grandchildren, etc. by
17450
        adding vfork level to pseudo-pid.
17451
        (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
17452
        (spawnvp, spawnv, _execve): Set handle_valid_p if success.
17453
        (_exit): If child, set exit code.
17454
        (__vfork_record_death): Only close process handle if valid.
17455
        * libc/sys/win32/wait.c (wait_for_single): Watch for children that
17456
        didn't exec.
17457
        (wait_for_any): Likewise.  Start scan after root entry.
17458
 
17459
Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17460
 
17461
        * libc/include/sys/types.h (off_t): off_t back to 32 bits.
17462
        * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
17463
        * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
17464
        of actual file length.
17465
 
17466
        * libc/sys/win32/sys/wait.h: include .
17467
        * libc/include/paths.h: _PATH_BSHELL added.
17468
        * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
17469
        and STDERR_FILENO.
17470
 
17471
Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17472
 
17473
        * libc/include/ar.h: Added.
17474
        * libc/include/sys/types.h: ino_t goes back to 32-bits.
17475
        * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
17476
        * libc/sys/win32/syscalls.c (_open): compute .namehash based
17477
        on filename.
17478
        (_fstat): use .namehash for inode number of the fd.
17479
 
17480
Thu Sep  7 12:57:19 1995  steve chamberlain  
17481
 
17482
        * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
17483
         Change hinfo to __this_procinfo.
17484
        * libc/sys/win32/crt0.c: Remove procinfo_list.
17485
 
17486
Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17487
 
17488
        * libc/include/sys/types.h (ino_t): Define ino_t correctly for
17489
        win32 environment.
17490
 
17491
Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17492
 
17493
        * libc/sys/win32/include/grp.h: Removed.
17494
        * libc/sys/include/grp.h: Added.
17495
        * libc/sys/win32/grp.c: Include .
17496
 
17497
Wed Sep  6 16:52:48 1995  steve chamberlain  
17498
 
17499
        * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
17500
        (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
17501
        Defined for all but strict ANSI.
17502
        * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
17503
        * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
17504
        * libc/signal/signal.c (_signal_r): Changed from using
17505
        _MAX_SIGNALS to NSIG.
17506
        * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
17507
         __hmap): Deleted.
17508
        (__strace, __vfork_next_pid): New.
17509
        (__exe_suffix): Default to 1.
17510
        (passover, table): Understand quoted arguments.
17511
        (vfork_init_first): New.
17512
        (vfork_init): Initialize new process structure.
17513
        (mainCRTStartup): Pass environ to main.
17514
        * exceptions.c (__sig_mask): New
17515
        (ehandler3): Ignore signals in mask.
17516
        (really_exit): Remove CHILD_P test.
17517
        * pipe.c (pipe, dup, dup2): Use new process and file structure.
17518
        * resource.c (getrusage): Ditto.
17519
        * signal.c (sigprocmask): New.
17520
        * spawn.c (*): Rewritten.
17521
        * syscalls.c (*): Use new process and file structure.
17522
        (find_unused_handle): New.
17523
        * syscalls.h (MAX_HANDLES): Deleted.
17524
        (hinfo): Removed child_created_p.
17525
        (MAX_CHILDREN): Deleted.
17526
        (vfork_jmp_info, procinfo): New.
17527
        * wait.c (*): Mostly new.
17528
        * sys/strace.h (_STRACE_PARANOID): New.
17529
        * sys/param.h: New file.
17530
 
17531
Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17532
 
17533
        * libc/include/sys/stat.h: add S_BLKSIZE.
17534
        * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
17535
        * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
17536
        types under win32.
17537
        (mode_t): add a #else to avoid multiple definitons.
17538
 
17539
        * libc/sys/win32/Makefile.in: add grp.c.
17540
        * libc/sys/win32/grp.c: include grp.h correctly.
17541
        * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
17542
        of the st structure with real information.
17543
        * libc/sys/win32 (dirent): d_ino is of type ino_t.
17544
 
17545
Wed Sep  6 10:41:34 1995  Doug Evans  
17546
 
17547
        * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
17548
        and (maybe) sparc64.
17549
        (nlink_t): Provide typedef.
17550
 
17551
Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17552
 
17553
        * libc/sys/win32/grp.c: New file.
17554
        * libc/sys/win32/include/grp.h: New file.
17555
 
17556
Tue Sep  5 13:47:27 1995  J.T. Conklin  
17557
 
17558
        * libc/include/machine/ieeefp.h: Added whitespace to make this
17559
        file easier to maintain.
17560
        On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
17561
        depending on the value of __LITTLE_ENDIAN__.
17562
        On the sh3e, define _DOUBLE_IS_32BITS.
17563
 
17564
Fri Sep  1 15:35:18 1995  James G. Smith  
17565
 
17566
        * libc/sys/vr4300/syscalls.c: Added missing support
17567
        routines. _raise() and getpid().
17568
 
17569
Fri Sep  1 14:12:48 1995  James G. Smith  
17570
 
17571
        * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
17572
 
17573
Fri Sep  1 08:42:11 1995  James G. Smith  
17574
 
17575
        * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
17576
        and VR4300 processor.
17577
        * libc/sys/vr4300: Add directory.
17578
        * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
17579
        monitor run-time support.
17580
 
17581
Thu Aug 31 09:16:52 1995  J.T. Conklin  
17582
 
17583
        * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
17584
        * libc/stdlib/stdlib.tex: Don't include atol.def.
17585
 
17586
Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17587
 
17588
        * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
17589
 
17590
Wed Aug 30 10:48:08 1995  steve chamberlain  
17591
 
17592
        * libc/ctype/Makefile.in: Fill in _to* dependencies.
17593
 
17594
Tue Aug 29 17:14:29 1995  steve chamberlain  
17595
 
17596
        * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
17597
        * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
17598
        * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
17599
        * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
17600
        * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
17601
 
17602
Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17603
 
17604
        * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
17605
 
17606
Tue Aug 29 16:08:09 1995  J.T. Conklin  
17607
 
17608
        * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
17609
        * libc/stdlib/atoff.c: New file.
17610
        * libc/stdlib/atof.c (atoff): Moved to atoff.c.
17611
        * libc/stdlib/atoi.c (atol): Removed.
17612
        * libc/stdlib/atol.c: Removed duplicate documentation.
17613
 
17614
        * libc/include/ctype.h (_tolower, _toupper): Moved inside
17615
        #ifndef _STRICT_ANSI conditional.
17616
        * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
17617
        * libc/ctype/_tolower.c: New file.
17618
        * libc/ctype/_toupper.c: New file.
17619
        * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
17620
        * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
17621
        * libc/ctype/toascii.c (_toascii): Removed.
17622
 
17623
Tue Aug 29 12:17:32 1995  Doug Evans  
17624
 
17625
        * libc/sys/sparc64/sys/types.h: Deleted.
17626
 
17627
Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17628
 
17629
        * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
17630
        and recognize Windows_95 systems.
17631
 
17632
Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17633
 
17634
        * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
17635
        and passed fds should be opened in text mode.
17636
 
17637
Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17638
 
17639
        * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
17640
        in __hmap, set to binary mode by default.
17641
 
17642
Tue Aug 22 14:12:37 1995  J.T. Conklin  
17643
 
17644
        * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
17645
        * libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
17646
        vector 34.
17647
 
17648
Sat Aug 19 18:25:37 1995  steve chamberlain  
17649
 
17650
        * Makefile.in (install): Install all libraries found in the
17651
        top level.  If there's a sys//include directory,
17652
        install those headers into include.
17653
 
17654
        * libc/sys/win32/kernel.def351: Delete
17655
        * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
17656
        glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
17657
        lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
17658
        nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
17659
        ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
17660
        rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
17661
        uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
17662
        winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
17663
 
17664
        * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
17665
        * libc/sys/win32/crt0.c: Force all env names to upper case.
17666
        * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
17667
        * libc/sys/win32/*.c: Headers have moved.
17668
        * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
17669
        __vfork_child_idx is now __vfork_child_ptr.
17670
 
17671
        * posix/execvp (execvp): Don't crash if no PATH envname.
17672
 
17673
Fri Aug 18 12:22:59 1995  J.T. Conklin  
17674
 
17675
        * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
17676
        * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
17677
        through the _freelist instead of through the _reclaim list.
17678
        * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
17679
        * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
17680
        sources.
17681
 
17682
Thu Aug 17 11:03:27 1995  J.T. Conklin  
17683
 
17684
        * libc/machine/h8500/setjmp.S: New file.
17685
        * libc/include/machine/setjmp.h: Updated for H8/500.
17686
 
17687
Wed Aug 16 16:19:11 1995  steve chamberlain  
17688
 
17689
        * libc/sys/win32/syscalls.c (_open): More stracing.
17690
        (_stat): Open the file in O_BINARY.
17691
 
17692
Wed Aug 16 15:49:01 1995  J.T. Conklin  
17693
 
17694
        * libc/machine/h8300/setjmp.S: New file.
17695
        * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
17696
 
17697
Tue Aug 15 10:31:09 1995  Doug Evans  
17698
 
17699
        * libc/sys/win32/crt0.c (__exe_suffix): New global.
17700
        (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
17701
        * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
17702
        __exe_suffix.  Free fd_tab after setting env variable.
17703
        (spawnv,_execve): Update.
17704
        * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
17705
        * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
17706
        (__small_vfprintf): New function.
17707
        * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
17708
        * libc/sys/win32/wait.c (cwait): Validate argument.
17709
 
17710
        * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
17711
        (process_deletion_queue): Likewise.
17712
 
17713
        * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
17714
 
17715
Mon Aug 14 10:14:10 1995  steve chamberlain  
17716
 
17717
        * libc/sys/win32: Copyrights and gratuitous indenting.
17718
 
17719
Mon Aug 14 01:32:58 1995  Doug Evans  
17720
 
17721
        * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
17722
        (process_deletion_queue): Likewise.
17723
        (__close_all_files): New function.
17724
        (_close): Only queue file deletion if really a file.
17725
        * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
17726
        _P_APPEND_EXE.
17727
        (_exit): Call __close_all_files.
17728
 
17729
        * libc/stdlib/system.c: #include .
17730
        (_system_r): Fix results in -DNO_EXEC case.
17731
 
17732
        * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
17733
        Reorganize structure.
17734
        * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
17735
        if argument is valid.  Save directory name in DIR.  malloc space
17736
        for dirent struct separately.
17737
        * libc/sys/win32/syscalls.c (stat): Fix test for directory.
17738
 
17739
        * libc/include/errno.h (ENAMETOOLONG): Define.
17740
        * libc/string/strerror.c (strerror): Reword ENFILE.
17741
        Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
17742
 
17743
Sun Aug 13 22:42:25 1995  Doug Evans  
17744
 
17745
        * libc/sys/win32/crt0.c (__progname): New global.
17746
        (mainCRTStartup): Support strace=bitmask,filename.
17747
        * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
17748
        * libc/sys/win32/syscalls.c (_write): Print parent trace message
17749
        if error.
17750
        (getcwd): Handle len too small.  Convert '\\' to '/'.
17751
        * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
17752
        Add prototypes for open, creat, fcntl.
17753
        (O_APPEND): Change value to conform to Microsoft's value.
17754
        * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
17755
 
17756
        * libc/stdlib/getopt.c: New file.
17757
        * libc/stdlib/Makefile.in: Build it.
17758
 
17759
Sat Aug 12 12:17:14 1995  Doug Evans  
17760
 
17761
        * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
17762
        Fix scanning of $PATH.
17763
        * libc/posix/exec*.c: Call _execve, not execve.
17764
        * libc/posix/execve.c: New file.
17765
        * libc/posix/Makefile.in (OFILES): Add execve.o.
17766
 
17767
        * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
17768
        _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
17769
        (_STRACE): If level==0, always print.  Handle new bit mask scheme.
17770
        * libc/sys/win32/crt0.c: Update _STRACE calls.
17771
        * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
17772
 
17773
        * libc/sys/win32/smallprint.c (rn): Fix digit list.
17774
 
17775
        * libc/sys/win32/syscalls.c (__really_exit): Move from here,
17776
        * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
17777
        * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
17778
        Print __seterrno trace message first.
17779
        (_execve): Renamed from execve.
17780
        (vfork): Update __strace usage.
17781
        (__vfork_child_pid): Deleted.
17782
        (__vfork_children, __vfork_child_idx): New globals.
17783
        (_spawnvp): New function.
17784
        (spawnvp, spawnv, _execve): Call _spawnvp.
17785
        (init_child): Record child in __vfork_children.
17786
        (__vfork_get_entry, __vfork_record_death): New functions.
17787
        * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
17788
        * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
17789
        * libc/sys/win32/syscalls.h (CHILD_P): New macro.  All files updated.
17790
        (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
17791
        (children): New typedef.
17792
        (__vfork_children,__vfork_child_idx): Declare.
17793
        (__vfork_get_entry,__vfork_record_death): Declare.
17794
        * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
17795
        (waitpid): Handle pid == -1.
17796
        * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
17797
        * configure.in (i386-win32): Add -DNO_FORK.
17798
        * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
17799
        * libc/reent/execr.c (_fork_r): Likewise.
17800
        * libc/stdlib/system.c (do_system): New function.
17801
        If WIN32, try to get shell path from $SH_PATH, use vfork.
17802
        (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
17803
        otherwise return 0.
17804
 
17805
Sat Aug 12 11:08:00 1995  steve chamberlain  
17806
 
17807
        * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
17808
        * libc/sys/win32/fcntl.h: Don't include self.
17809
        * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
17810
        * libc/sys/win32/sys/winbase.h: (GetUserName) New.
17811
        * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
17812
        * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
17813
        SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
17814
        Correct prototypes.
17815
        * libc/sys/win32/strace.c: New file.
17816
        * libc/sys/win32/smallprint.c: New file.
17817
        * libc/sys/win32/crt0.c (func): Delete.
17818
        (mainCRTStartup): Fix alloca usage.  Set handles explictly.
17819
        * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
17820
        * libc/sys/win32/exceptions.c: Lint.
17821
        * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
17822
        Clean up handle usage.
17823
        * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
17824
        (open.c): Default file type is text.
17825
        * libc/sys/win32/uname.c (uname): Use __small_sprintf.
17826
        * libc/sys/win32/advapi32.def: New
17827
 
17828
Fri Aug 11 17:11:52 1995  Doug Evans  
17829
 
17830
        * configure.in (posix_dir, libc_posix_lib): New variables.
17831
        Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
17832
        (i[345]86-*-win32): Define posix_dir.
17833
        Delete -DNO_EXEC.  Define -DHAVE_OPENDIR.
17834
        (if unix_dir): Fix typo.
17835
        * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
17836
        scandir,seekdir,telldir}: New files.
17837
        * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
17838
        from libc/unix.
17839
        * libc/Makefile.in (LIBC_POSIX_LIB): Define.
17840
        (SUBDIRS): Add posix.
17841
        (SUBLIBS): Add $(LIBC_POSIX_LIB).
17842
 
17843
        * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
17844
        (NSIG): Increase to 21.
17845
        * libc/include/sys/unistd.h (pid_t): Move from here,
17846
        * libc/include/sys/types.h (pid_t): to here.
17847
 
17848
        * libc/sys/win32/syscalls.h: #include "sys/strace.h".
17849
        (__ptrace): Delete.
17850
        (hinfo): New members close_exec_p, child_created_p.
17851
        (struct exception_list): Define.
17852
        (__hmap): Redefine as pointer to table.
17853
        (__parent_hmap, __child_hmap): New globals.
17854
        (__set_errno, __really_exit): Declare.
17855
        (__vfork_child_pid): Declare.
17856
        * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
17857
        (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
17858
        (__parent_hmap, __child_hmap): New globals.
17859
        (__hmap): Redefine as pointer to active map.
17860
        (__get_console): New function.
17861
        (mainCRTStartup): Change leading '=' in environ vars to '!'.
17862
        (env __FD_TABLE__): Watch for this and initialize our fd/handle
17863
        mapping table from it if defined.
17864
        (argv, envp): Dump if __strace >= 4.
17865
        (main): Call here.
17866
        * libc/sys/win32/exceptions.c (myp): Redefine.
17867
        (__syscalls_b): Delete.
17868
        (__stack_trace): New function.
17869
        (ehandler3): Update to use _STRACE.  Print stack trace.
17870
        Call __really_exit instead of exit.
17871
        (init_exceptions): Delete args argc,argv.  New arg mine.
17872
        * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
17873
        FindFirstFileA, FindNextFileA, GetComputerNameA,
17874
        GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
17875
        * libc/sys/win32/signal.c (signal): Validate arg.
17876
        (alarm, sleep): Define as stubs for now.
17877
        * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
17878
        (__syscalls_b, errno): Delete.
17879
        (__vfork_child_pid, __vfork_jmp_buf): New globals.
17880
        (__seterrno): Handle more errors.
17881
        (__sys_printf): Renamed from _ptrace.
17882
        (__really_exit): New function.
17883
        (queue_file_deletion, process_deletion_queue): New functions.
17884
        (__resume_parent): New function.
17885
        (_unlink): Handle trying to delete open file.
17886
        (__totime_t): Renamed from totime_t.
17887
        (setsid, __read, __write): New functions.
17888
        (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
17889
        * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
17890
        times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
17891
        * libc/sys/win32/console.c: Update to new definition of __hmap.
17892
        * libc/sys/win32/Makefile.in: Build new files.
17893
        * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
17894
        * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
17895
        * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
17896
        * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
17897
 
17898
Thu Aug 10 16:32:52 1995  Doug Evans  
17899
 
17900
        * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
17901
 
17902
Thu Aug 10 12:07:38 1995  J.T. Conklin  
17903
 
17904
        * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
17905
        have been made to the master dtoa.c sources (from netlib.att.com)
17906
        since they were integrated into newlib in early 1992.  Fixes
17907
        problems with storage leaks and handling of numbers with very
17908
        negative exponents.
17909
 
17910
Wed Aug  9 14:18:39 1995  J.T. Conklin  
17911
 
17912
        * Makefile.in (all): set rootpre and srcrootpre before calling
17913
        sub-makes.
17914
 
17915
Tue Aug  8 17:20:45 1995  steve chamberlain  
17916
 
17917
        * libc/sys/win32/crt0.c: Change __hmap usage.
17918
        * libc/sys/win32/exceptions.c: Use _ptrace call.
17919
        * libc/sys/win32/syscalls.c: Use _ptrace call.
17920
        (read, write): Cope with DOS style CRLF when in TEXT mode.
17921
        * libc/sys/win32/syscalls.h: Declare hinfo struct.
17922
        * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
17923
        * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
17924
        * libc/sys/win32/sys/windows.h: Fill in rest of messages.
17925
        * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
17926
 
17927
Mon Aug  7 13:04:54 1995  J.T. Conklin  
17928
 
17929
        * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
17930
 
17931
        * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
17932
        wrappers for hypot() and remainder() for BSD libm compatibility.
17933
        These are public domain implementations written by me for the
17934
        NetBSD libm some time ago.  Note cabs() is required by ucbtest.
17935
        * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
17936
        (fobj): Added wf_cabs.o and wf_drem.o.
17937
 
17938
Thu Aug  3 08:13:05 1995  J.T. Conklin  
17939
 
17940
        * libc/sys/h8500hms/misc.c: New file.
17941
        * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
17942
 
17943
Wed Aug  2 16:46:27 1995  J.T. Conklin  
17944
 
17945
        * libc/time/localtime.c (localtime): Fix problem with leap year
17946
        handling.  Stole algorithm from Arthur David Olson's tz code.
17947
 
17948
Mon Jul 31 10:21:54 1995  steve chamberlain  
17949
 
17950
        * configure.in: (z8k-*sim): Renamed z8k-*-coff.
17951
 
17952
        * libc/sys/z8ksim/glue.c (_getpid, _kill): New
17953
        (_exit): Use argument.
17954
 
17955
Fri Jul 28 15:17:04 1995  Doug Evans  
17956
 
17957
        * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
17958
 
17959
Wed Jul 26 16:24:19 1995  steve chamberlain  
17960
 
17961
        * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
17962
 
17963
Mon Jul 24 13:42:52 1995  J.T. Conklin  
17964
 
17965
        * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
17966
        target_cflags.
17967
 
17968
Mon Jul 24 11:42:07 1995  steve chamberlain  
17969
 
17970
        * libc/sys/win32/crt0.c (mainCRTStartup):  Look for
17971
        ptrace with case insensitivity
17972
        * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
17973
        sys/winbase.h,  sys/windows.h, sys/wintypes.h, sys/winuser.h}:
17974
        New files.
17975
 
17976
Fri Jul 21 11:22:26 1995  Doug Evans  
17977
 
17978
        * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
17979
        (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
17980
        (all, install, *clean): Use new multilib support.
17981
        * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
17982
 
17983
Fri Jul 21 07:11:42 1995  steve chamberlain  
17984
 
17985
        * libc/include/sys/signal.h (__WIN32__): New.
17986
 
17987
        * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
17988
 
17989
        * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
17990
        (ulp, b2d): Handle 32 bit doubles.
17991
        * libc/stdlib/mprec.h:  Handle 32 bit doubles.
17992
        * libc/stdlib/strtod.c (_strtod_r): Ditto.
17993
 
17994
Fri Jul 14 08:24:58 1995  steve chamberlain  
17995
 
17996
        from medp@primag.co.uk:
17997
        * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
17998
        dynamically allocated buffers.
17999
 
18000
Thu Jul 20 10:11:03 1995  Fred Fish  
18001
 
18002
        * libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
18003
        * libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
18004
 
18005
Thu Jul 20 10:16:25 1995  Michael Meissner  
18006
 
18007
        * configure.in (powerpc): Fix previous fix.
18008
 
18009
Wed Jul 19 14:08:55 1995  Michael Meissner  
18010
 
18011
        * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
18012
        directories for this target.
18013
 
18014
Wed Jul 19 00:34:30 1995  Jeffrey A. Law  
18015
 
18016
        * configure.in (hppa): Add machine_dir definition.
18017
        * libc/machine/hppa: New directory with PA specific implementations
18018
        of the basic memory/string functions.
18019
 
18020
Tue Jul 18 21:16:00 1995  Michael Meissner  
18021
 
18022
        * configure.in: Update current PowerPC multilib directories.
18023
        Split big and little endian configurations.
18024
 
18025
Tue Jul 18 11:55:33 1995  Ian Lance Taylor  
18026
 
18027
        * configure.in: Add --enable-single-float option to configure to
18028
        control use of MIPS single-float directories.  Default to yes.
18029
 
18030
        * Makefile.in (all): Don't recurse into multilib directory if it
18031
        does not exist.
18032
 
18033
Mon Jul 17 15:51:30 1995  J.T. Conklin  
18034
 
18035
        * libc/sys/sh/syscalls.c: Fix typo.
18036
 
18037
Mon Jul  3 14:38:52 1995  Steve Chamberlain  
18038
 
18039
        * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
18040
        Pass down DLLTOOL.
18041
        * libc/include/process.h: Define WAIT_CHILD.
18042
        * libc/include/types.h: Get sizes right for win32.
18043
        * configure.in (i386-*-pe): Becomes i386-win32.
18044
        * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
18045
        wintypes.h,sys/file.h,sys/resource.h}: Second pass.
18046
        * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
18047
        is defined.
18048
 
18049
Wed Jun 28 18:34:54 1995  Steve Chamberlain  
18050
 
18051
        * configure.in (i[345]86-*-pe):  New target (NT).
18052
        * host/any: DLLTOOL new.
18053
        * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
18054
        wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
18055
        WIN32 (just enough to cross host the comp-tools).
18056
 
18057
Thu Jun 22 11:45:18 1995  Doug Evans  
18058
 
18059
        * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
18060
        Deleted.  These files live in gcc/config/h8300/lib1funcs.asm now.
18061
 
18062
Mon Jun 19 11:40:40 1995  Doug Evans  
18063
 
18064
        * libc/include/machine/ieeefp.h (arm): Change to always be
18065
        __IEEE_BIG_ENDIAN (even on little endian ARM's).
18066
 
18067
Thu Jun  8 14:22:28 1995  Steve Chamberlain  
18068
 
18069
        * libc/sys/crt0.S: Initialze sp, and call exit after main.
18070
        * libc/sys/syscalls.c (abort): New.
18071
        * configure.in (arm): Define ABORT_PROVIDED.
18072
 
18073
Wed Jun  7 14:04:35 1995  J.T. Conklin  
18074
 
18075
        * configure.in (powerpc): Define multidirs.
18076
 
18077
Mon Jun  5 16:10:13 1995  Doug Evans  
18078
 
18079
        * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
18080
 
18081
Thu Jun  1 10:51:47 1995  Sean Eric Fagan 
18082
 
18083
        * configure.in (sparclite): Delete target_cflags.  Define multidirs.
18084
 
18085
Wed May 24 14:23:25 1995  Steve Chamberlain  
18086
 
18087
        * configure.in, libc/include/machine/ieeefp.h: Modified
18088
        for arm:
18089
        libc/machine/arm/*, libc/sys/arm/*: New
18090
 
18091
Tue May 23 13:53:07 1995  J.T. Conklin  
18092
 
18093
        * libc/include/machine/ieeefp.h: Use __PPC__ instead of
18094
          __powerpc__ when determining endianness.
18095
 
18096
Wed May 10 07:55:56 1995  J.T. Conklin  
18097
 
18098
        * configure.in (m68*): Add multidir for the m68332.
18099
 
18100
        * host/any (CC): Fix typo in last change.
18101
 
18102
Fri Apr 14 22:20:31 1995  Ken Raeburn  
18103
 
18104
        * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
18105
        when determining endianness.
18106
        * libc/include/machine/ieeefp.h: Ditto.
18107
        * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
18108
        operands.
18109
 
18110
Fri Apr 14 14:14:29 1995  Doug Evans  
18111
 
18112
        * libc/include/errno.h (ENOTEMPTY): Define.
18113
 
18114
Thu Apr  6 12:21:20 1995  J.T. Conklin  
18115
 
18116
        * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
18117
          target_cflags.
18118
 
18119
        * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
18120
          and umultiply.o.
18121
 
18122
        * libc/stdio/tmpnam.c (worker): Unconditionally increment count
18123
          instead of only when open succeeds.  ANSI requires that multiple
18124
          calls to tmpnam() result in different files.
18125
 
18126
        * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
18127
          objects pulled in from /lib/libc.a that must be renamed before
18128
          being pulled into newlib.  /lib/libc.a's div.o conflicted with
18129
          newlib's file with the same name.
18130
 
18131
        * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
18132
 
18133
        * host/any (CC, AS, AR, RANLIB): Changed so that executables in
18134
          the build tree will only be used if the executables are present
18135
          (instead of just the Makefiles).
18136
 
18137
        * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
18138
          wcstombs): Define.
18139
        * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
18140
          versions of these functions that I orignally wrote for the
18141
          NetBSD C library.
18142
        * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
18143
          versions I wrote for NetBSD.
18144
 
18145
Wed Mar 29 12:42:42 1995  Kung Hsu  
18146
 
18147
        * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
18148
        * libc/sys/sparclite/crt0.s: ditto.
18149
 
18150
Tue Mar 28 20:28:03 1995  Rob Savoye  
18151
 
18152
        * configure.in: Add soft-float for proelf.
18153
 
18154
Mon Mar 27 12:07:56 1995  Steve Chamberlain  
18155
 
18156
        * libc/stdlib/mprec.h (Bcopy): Copy the right number
18157
        of bytes.
18158
 
18159
Mon Mar 27 11:24:22 1995  Doug Evans  
18160
 
18161
        * Makefile.in (all): Depend on `force'.
18162
        * configure.in (syscall_dir): Renamed from fake_sys_dir.
18163
        (libc_syscall_lib): Renamed from libc_fake_sys_lib.
18164
        (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
18165
        * libc/Makefile.in: Likewise.
18166
        * libc/include/reent.h: Update syscall references.
18167
        (_fcntl_r): Add prototype.
18168
        * libc/syscalls/*.c #include .
18169
        (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
18170
 
18171
Mon Mar 20 16:57:39 1995  Doug Evans  
18172
 
18173
        * libc/include/sys/stat-dj.h (S_ISBLK): Define.
18174
        (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
18175
        * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
18176
        (time.h, sys/types.h): Always include (even if MSDOS).
18177
        (stat): Fix prototype.
18178
 
18179
Fri Mar 10 11:30:38 1995  Ian Lance Taylor  
18180
 
18181
        * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
18182
 
18183
Mon Feb 27 18:00:39 1995  Jim Wilson  
18184
 
18185
        * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
18186
 
18187
Mon Feb 13 16:10:03 1995  Ian Lance Taylor  
18188
 
18189
        * libc/include/regdef.h: New file.
18190
        * libc/machine/mips/machine/regdef.h: New file.
18191
 
18192
Mon Feb  6 15:24:29 1995  Doug Evans  
18193
 
18194
        * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
18195
 
18196
Fri Jan 27 13:52:10 1995  Steve Chamberlain  
18197
 
18198
        * libc/sys/sh/crt0.S: Pass main's return to exit.
18199
        * libc/sys/sh/trap.S: Put errno in the right place.
18200
 
18201
Tue Jan 24 18:57:56 1995  Ian Lance Taylor  
18202
 
18203
        * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
18204
        from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
18205
        * libm/math/ef_rem_pio2.c: Likewise.
18206
        * libm/math/e_log10.c: Remove unused static one.
18207
        * libm/math/ef_log10.c: Likewise.
18208
        * libm/math/s_frexp.c: Likewise.
18209
        * libm/math/sf_frexp.c: Likewise.
18210
 
18211
Sun Jan 22 21:26:14 1995  Steve Chamberlain  
18212
 
18213
        * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
18214
        longjmp.S: Upgraded.
18215
        * libc/sys/go32/sys/setjmp.h: Upgraded.
18216
        * libc/sys/go32/sys/go32.h, dpmi.h: New files.
18217
 
18218
Fri Jan 20 18:33:18 1995  Ian Lance Taylor  
18219
 
18220
        * configure.in: Add many entries to multidirs for mips targets.
18221
 
18222
Wed Jan 18 10:19:25 1995  J.T. Conklin  
18223
 
18224
        * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
18225
          5.2 which fixes bug where jn(-1,x) is three times larger than
18226
          the actual answer.
18227
        * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
18228
 
18229
Sun Jan 15 21:48:58 1995  Steve Chamberlain  
18230
 
18231
        * libc/sys/w65/sys/syscalls.h: New file
18232
        * libc/include/machine/ieeefp.h: W65 support.
18233
        * libc/include/sys/config.h: Ditto.
18234
        * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
18235
        sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
18236
        * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
18237
 
18238
Wed Jan 11 15:59:01 1995  Ian Lance Taylor  
18239
 
18240
        * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
18241
 
18242
Tue Jan  3 15:57:03 1995  Rob Savoye  
18243
 
18244
        * Makefile.in, configure.in: Remove any references to the old
18245
        "stub" dir.
18246
 
18247
Thu Dec 22 10:42:08 1994  Ian Lance Taylor  
18248
 
18249
        * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
18250
        uses ... in prototype.
18251
 
18252
 
18253
Wed Nov 30 08:39:42 1994  Ian Lance Taylor  
18254
 
18255
        * libc/sys/a29khif/sys/libconfig.h: Remove.
18256
        * libc/sys/go32/sys/libconfig.h: Remove.
18257
        * libc/sys/sun4/sys/libconfig.h: Remove.
18258
        * libc/sys/sysvi386/sys/libconfig.h: Remove.
18259
        * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
18260
        * libc/sys/sparc64/sys/libconfig.h: Remove.
18261
 
18262
        * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
18263
        * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
18264
        * libc/include/math.h: Change all uses of _FLOAT_RET and
18265
        _FLOAT_ARG to float.
18266
        * libm/test/math.c: Likewise.
18267
        * testsuite/libm.sac/math.c: Likewise.
18268
        * testsuite/libm.sac/working/math.c: Likewise.
18269
 
18270
Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
18271
 
18272
        * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
18273
        gcc calls gas with endian option.
18274
        * configure.in (sh): Build little endian version too.
18275
 
18276
Wed Nov 16 18:21:45 1994  Ian Lance Taylor  
18277
 
18278
        * configure.in: Configure big and little endian versions for MIPS
18279
        targets.
18280
 
18281
Sat Nov 12 21:12:51 1994  Doug Evans  
18282
 
18283
        * libc/include/limits.h: Deleted.
18284
        * libc/include/machine/limits.h: Deleted.
18285
 
18286
Thu Nov 10 15:32:44 1994  Rob Savoye  
18287
 
18288
        * ChangeLog: Remove stub directory. This has all been rewritten
18289
        and moved to devo/libgloss.
18290
 
18291
Thu Sep 29 18:31:04 1994  Ian Lance Taylor  
18292
 
18293
        * Makefile.in (dvi): Add to info target, use $@ in sub make.
18294
        (docs): Merge into info target.
18295
        * libm/Makefile.in (dvi): Add $(srcdir).
18296
        * libm/math/Makefile.in (chobjs): Remove underscores from file
18297
        names.  Texinfo doesn't like them.
18298
        (wacos.def, ...): Add explicit targets for all .def files.
18299
        * libm/math/math.tex: Remove underscores from @include file names.
18300
        * doc/Makefile.in (dvi): Add dummy target.
18301
        * testsuite/Makefile.in (dvi): Add dummy target.
18302
 
18303
Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
18304
 
18305
        * Makefile.in (VERSION): Define.  For net newlib releases.
18306
 
18307
Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
18308
 
18309
        * README: New file.
18310
 
18311
Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
18312
 
18313
        * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
18314
 
18315
Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18316
 
18317
        * libc/stdlib/setenv.c (_findenv): Declare.
18318
 
18319
        * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
18320
        fcntl to not use _EXFUN, and change string parameters to open and
18321
        creat to be ``const char *''.
18322
        * libc/sys/sparc64/sys/fcntl.h: Likewise.
18323
        * libc/sys/sparc64/creat.c (creat): Make PATH const.
18324
        * libc/syscalls/sysopen.c: Include .
18325
        (open) Make _FILE const.
18326
        * libc/sys/z8ksim/glue.c (_open): Make BUF const.
18327
        (_creat): Make PATH const.
18328
        * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
18329
        * libc/sys/h8500hms/syscalls.c (_open): Likewise.
18330
        * libc/sys/m88kbug/syscalls.c (open): Likewise.
18331
        * libc/sys/sh/syscalls.c (_open): Likewise.
18332
        * stub/shared/glue.c (open): Make BUF const.
18333
        * stub/ex93x/syscalls.c (open): Make FILENAME const.
18334
 
18335
Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
18336
 
18337
        * libc/include/errno.h: Add ENMFILE
18338
        * libc/include/sys/config.h: Support Z8000.
18339
        * libc/include/sys/signal.h: New signals for go32.
18340
        * libc/machine/h8500/psi.S (__addpsir0r0): New function
18341
        * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
18342
        * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
18343
        * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
18344
        size is variable, depending upon CHUNK_POWER.
18345
        * libc/sys/go32/*.c: Upgrade to new go32 stuff.
18346
 
18347
Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
18348
 
18349
        * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
18350
 
18351
Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18352
 
18353
        * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
18354
 
18355
Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18356
 
18357
        * configure.in: Change i[34]86 to i[345]86.
18358
 
18359
        * libc/include/math.h: Don't define HUGE_VAL if it is already
18360
        defined.
18361
 
18362
Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18363
 
18364
        * testsuite/libm.sac/test_erfc.c: Correct some result values.
18365
        * testsuite/libm.sac/test_gammaf.c: Likewise.
18366
        * testsuite/libm.sac/test_sin.c: Likewise.
18367
        * testsuite/libm.sac/test_tanh.c: Likewise.
18368
 
18369
Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18370
 
18371
        * libc/include/machine/ieeefp.h: Don't try set endianness if it is
18372
        already set.  Define typedefs __int32_t and __uint32_t.
18373
        * libc/include/math.h: Include .
18374
        (union __dmath): Use __uint32_t.
18375
        * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
18376
        instead of int and unsigned int.
18377
 
18378
Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18379
 
18380
        Replace the math library with the SunPRO fdlibm package.
18381
        * libm/math: Completely changed all files.
18382
        * libm/ieeefp: Remove contents and directory.
18383
        * libm/Makefile.in (LIBM_FP_LIB): Remove.
18384
        (SUBDIRS): Just set to math/lib.a.
18385
        * libm/libm.texinfo: Updated for new library.
18386
        * libc/include/math.h: Extensive changes for new math library.
18387
        * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
18388
        from _FLOAT_ARG to float.
18389
        (maxpowtwo, maxpowtwof): Don't declare.
18390
        * configure.in (fp_dir): Removed; was always ieeefp anyhow.
18391
        (libm_fp_lib): Removed.
18392
        * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
18393
        * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
18394
        argument to ${RUNTEST}.
18395
        * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
18396
        (.c.o): New rule.
18397
        (RUNTESTFLAGS): Set CC and CFLAGS.
18398
        (TESTS): Remove test_log2 and test_log2f.
18399
        (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
18400
        * testsuite/libm.sac/math.c (run_vector_1): Use float, not
18401
        _FLOAT_ARG, for single precision argument type.
18402
        * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
18403
        expected failure.  Close the input pipe.
18404
        * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
18405
        Correct misspelling of inaccurate.
18406
        (test_mok): Use ``inaccurate'', not ``wrong''.
18407
        * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
18408
        test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
18409
        test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
18410
        test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
18411
        test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
18412
        test_yn.c): Correct many result values.  Many are still wrong.
18413
 
18414
        * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
18415
        just copy the string.
18416
        (_gcvt): Always return the buffer.
18417
 
18418
Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
18419
 
18420
        * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
18421
 
18422
Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
18423
 
18424
        * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
18425
        structure.
18426
        (struct _reent): add _p5s, _cvtlen, _cvtbuf.
18427
        (_reclaim_reent): declare new entry point.
18428
        * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
18429
        functions.
18430
 
18431
        * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
18432
        ever allocated, so that we can later reclaim them all.
18433
        (pow5mult): make reentrant.
18434
 
18435
        * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
18436
        so that when given NULL as a buffer, return a pointer to static
18437
        space in the rent structure.  This is not documented behaviour;
18438
        it's only to support ecvt and fcvt, which aren't ANSI anyway.
18439
        * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
18440
        therefore become reentrant).
18441
 
18442
        * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
18443
 
18444
Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18445
 
18446
        * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
18447
 
18448
Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
18449
 
18450
        * Makefile.in: Make link to libg.a after libc.a; this is needed
18451
          for the testsuites to build executables when everything comes
18452
          from the tree.
18453
 
18454
Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
18455
 
18456
        * libc/Makefile.in: Add a VERSION variable so we can keep track.
18457
        * libm/Makefile.in: Add a VERSION variable so we can keep track.
18458
 
18459
Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18460
 
18461
        * libc/include/stdio.h: Use __VALIST, not va_list.
18462
 
18463
Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
18464
 
18465
        * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
18466
        testsuite/libm.sac/execute.exp:
18467
          Replace error proc calls with perror calls.
18468
 
18469
Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
18470
 
18471
        * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
18472
        * libc/include/time.h: #define NULL as 0L.
18473
 
18474
Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
18475
 
18476
        * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
18477
        care of it.
18478
 
18479
Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18480
 
18481
        * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
18482
        not __unix__.
18483
 
18484
Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
18485
 
18486
        * configure.in (TARGET_CFLAGS): Set -O2 as default.
18487
        (z8k-*-*): Use syscalls fake sys dir.
18488
        * libc/sys/z8k/glue.c: Rename syscalls.
18489
        * libc/sys/go32/Makefile.in: Use new routines.
18490
        * libc/machine/Makefile.in: Fix typo in ln stuff.
18491
 
18492
Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18493
 
18494
        * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
18495
        * libc/Makefile.in (crt0.o): Likewise.
18496
        * libc/machine/Makefile.in (lib.a): Likewise.
18497
        * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
18498
 
18499
        All Makefile.in files: Added mostlyclean, realclean and distclean
18500
        targets.
18501
 
18502
        * Makefile.in: Don't bother to unexport XTRAFLAGS or
18503
        XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
18504
        the top level Makefile.
18505
 
18506
Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
18507
 
18508
        * libc/sys/sparc64/sys/stat.h: New file.
18509
        * libc/sys/sparc64/sys/time.h: New file.
18510
        * libc/sys/sparc64/sys/types.h: New file.
18511
 
18512
Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
18513
 
18514
        * stub/ex93x/crt0.s (start): Add code to clear bss.
18515
 
18516
Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
18517
 
18518
        * libc/include/sys/types.h (time_t): Properly protect inside
18519
        #ifndef __time_t_defined.
18520
 
18521
        * libc/stdio/fileno.c: New file.
18522
        * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
18523
        (fileno.o): Add dependency.
18524
        * libc/include/stdio.h (__sgetc): Rename never to _never.
18525
        (fileno macro): Disable, needs to do CHECK_INIT first.
18526
 
18527
Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
18528
 
18529
        * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
18530
        goal.
18531
 
18532
        * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
18533
        * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
18534
        runtest.
18535
        * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
18536
        runtest.
18537
 
18538
Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
18539
 
18540
        * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
18541
        of the various constants.
18542
 
18543
Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
18544
 
18545
        * libc/include/math.h: #ifndef __math_68881 around things which
18546
        conflict with the (gcc-provided) inline functions in
18547
        gcc/ginclude/math-68881.h.
18548
 
18549
Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
18550
 
18551
        * libc/include/_syslist.h (_gettimeofday): Define.
18552
        (_times): Ditto.
18553
        * libc/include/reent.h: #include  to get _CLOCK_T_.
18554
        (struct tms, timeval, timezone): Declare.
18555
        (_gettimeofday_r, _times_r): Declare.
18556
        * libc/include/time.h (_CLOCK_T_): Don't #undef.  Remove
18557
        #ifdef _CLOCK_T_ surrounding definition of clock_t.
18558
        (time_t): Add multiple definition protection, __time_t_defined.
18559
        * libc/include/sys/time.h: Don't #include .
18560
        Always define struct timezone (remove #ifndef _TIME_H_).
18561
        * libc/include/sys/times.h (_CLOCK_T_): Don't #undef.  Remove
18562
        #ifdef _CLOCK_T_ surrounding definition of clock_t.
18563
        * libc/reent/Makefile.in (OFILES): Add timer.o.
18564
        (CHEWOUT_FILES): Add timer.def.  Add timer.o/timer.c dependence.
18565
        * libc/reent/timer.c: New file.
18566
        * libc/time/clock.c: #include .
18567
        (clock): Call _times_r instead of times.
18568
        * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
18569
        HAVE_GET_TIME_OF_DAY.
18570
        Add comment regarding supporting OS routine(s) required (for docs).
18571
        #include .
18572
        (time): Call _gettimeofday_r instead of gettimeofday.
18573
        * libc/time/asctime.c: Fix comment regarding supporting OS routines.
18574
        * libc/time/ctime.c: Ditto.
18575
        * libc/time/strftime.c: Ditto.
18576
        * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
18577
        (TEMPLATE_SFILES_R): Define here.  Also define times.
18578
        Add times_r.o/times.S dependence.
18579
        (time2.c, junk.c): Deleted.
18580
        * libc/sys/sparc64/time2.c: Deleted.
18581
        * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
18582
 
18583
        * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
18584
        * libc/stdio/tmpnam.c (_getpid_r): Ditto.
18585
        * libc/sys/sparc64/junk.c: Deleted.
18586
 
18587
Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
18588
 
18589
        * libc/sys/sparc64/Makefile.in: Add times syscall.
18590
        * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
18591
        be used with and without it.  Add comment clarifying Medium/Anywhere
18592
        model requirements.
18593
        * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
18594
        * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
18595
        even if obsolete.
18596
 
18597
Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
18598
 
18599
        * configure.in (target_cflags): Move init.
18600
        (sparc64-*-*): Define HAVE_BLKSIZE.
18601
 
18602
Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
18603
 
18604
        * libc/include/sys/_types.h: New file.
18605
        * libc/include/reent.h: #include it.
18606
        Add comment describing REENTRANT_SYSCALLS_PROVIDED and
18607
        MISSING_SYSCALL_NAMES.
18608
        Sort syscalls.
18609
        * libc/include/_syslist.h: Remove _raise.
18610
        * libc/reent/signalr.c: New file.
18611
        * libc/reent/Makefile.in: Compile it.
18612
        * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
18613
        Add doc for raise and _raise_r.
18614
        * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
18615
        (raise): Call _raise_r.
18616
        (_raise_r): Call _getpid_r and _kill_r.
18617
        * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
18618
        (abort): Loop forever calling raise and _exit.
18619
 
18620
Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18621
 
18622
        * configure.in: Remove extraneous echo.
18623
 
18624
Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
18625
 
18626
        * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
18627
        collision with unistd.h, and fix for svr4.
18628
 
18629
Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
18630
 
18631
        * libc/stdio/local.h (_llicvt): Declare.
18632
        (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
18633
        * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
18634
        (_llicvt): Define.
18635
        (_sicvt): Fix function header (`value' is short).
18636
        * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
18637
        Add printing of long long's support.
18638
        Add printing of 8 byte pointer support.
18639
 
18640
Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
18641
 
18642
        * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
18643
        stat, chmod): New hooks.
18644
        (sbrk): Abort if stack and heap collide.
18645
        * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
18646
        shortcut when given small args.
18647
        * libc/machine/sh/setjmp.s: Rewritten.
18648
        * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
18649
        of cmp/str instruction.
18650
 
18651
Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18652
 
18653
        * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
18654
        and machine_dir powerpc.
18655
        * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
18656
        Add cases for __powerpc__.
18657
        * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
18658
        New files.
18659
 
18660
        * libc/include/stdio.h (_iprintf_r): Declare correctly.
18661
 
18662
Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
18663
 
18664
        * libc/stdlib/callocr.c: New file with _calloc_r in it.
18665
        * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
18666
 
18667
Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
18668
 
18669
        * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
18670
        (print_e): More comments to describe args, etc.
18671
        "type" arg may now be 'g' or 'G' for %g/G format --> remove
18672
        trailing blanks.
18673
        (_gcvt): Remove locals decpt, sign, end, p, done.
18674
        More comments for print_e invocation.
18675
        Pass "type" to print_e as is (g/G).
18676
 
18677
Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
18678
 
18679
        * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
18680
        stock m68000.
18681
 
18682
Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
18683
 
18684
        * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
18685
        works with any sized pointer, including ones bigger than ints and
18686
        longs.
18687
 
18688
Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
18689
 
18690
        * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
18691
 
18692
Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
18693
 
18694
        * libc/include/stdlib.h (_calloc_r): Add prototype.
18695
        * libc/machine/h8500/negsi2.c: New file.
18696
        * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
18697
        large unsigned numbers.
18698
        * libc/machine/h8500/cmpsi.c: Add cmppsi.
18699
        * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
18700
        works when sizeof(size_t) != sizeof(char *).
18701
        * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
18702
        get play area
18703
        * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
18704
 
18705
Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
18706
 
18707
        * libc/include/assert.h (assert): Handle -traditional.
18708
 
18709
Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
18710
 
18711
        * Makefile.in: added ; after every "fi" and "done" that wasn't at
18712
        the end of a line (ie. anything before a backslash continuation)
18713
        so that bash handles them.
18714
 
18715
Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
18716
 
18717
        * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
18718
        stat to lstat
18719
 
18720
Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
18721
 
18722
        * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
18723
        libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
18724
        libc/machine/sh/udivsi3.s: Use new calling convention.
18725
 
18726
Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
18727
 
18728
        * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
18729
        chmod, access, chdir, chown by making _path const. Also fix _amode
18730
        param of access.
18731
 
18732
Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
18733
 
18734
        * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
18735
        _khif_tmpnam, because it doesn't comply with ANSI but may be
18736
        useful anyway. Real tmpnam was already in libc/stdio, and was
18737
        colliding with this one (pr 2176.)
18738
        * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
18739
        the wrong idea anyhow.
18740
 
18741
Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
18742
 
18743
        * configure.in: Remove h8300h, we have multilib now.
18744
 
18745
Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
18746
 
18747
        * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
18748
        functions, to get preference over the ones in libiberty (since we
18749
        provide correct declarations in .
18750
        * libc/string/Makefile.in: add support for strncasecmp,
18751
        strcasecmp.
18752
 
18753
Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
18754
 
18755
        * Change netware config not to look for cpu explicitly.
18756
 
18757
Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
18758
 
18759
        * libc/sys/sparc64/{creat.c,junk.c}: New files.
18760
        * libc/sys/sparc64/Makefile.in: Add dependencies.
18761
 
18762
Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
18763
 
18764
        * configure.in: Clean up v9 a bit, new "os" aoutv8.
18765
 
18766
Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
18767
 
18768
        * libc/include/sys/reent.h: make structure smaller by allocating
18769
        some stuff when needed.
18770
        * libc/signal/signal.c: allocate as needed
18771
        * libc/stdio/findfp.c,stdio/local.h: ditto
18772
        * libc/stdlib/mprec.c: ditto
18773
 
18774
        * libc/time/localtime.c: don't return a dangling stack ptr.
18775
 
18776
Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
18777
 
18778
        * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
18779
 
18780
Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18781
 
18782
        * libc/include/stdio.h (__sputc): comment out static inline which
18783
          confuses coff toolchains.
18784
 
18785
Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
18786
 
18787
        * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
18788
        _write.s, getpid.c, kill.c, read.s}:
18789
        * libc/sys/a29khif/stubs.s: eliminated stubs that already go
18790
        through the syscalls directory.
18791
 
18792
Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
18793
 
18794
        * configure.in: fixed double quote gotcha.
18795
 
18796
Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
18797
 
18798
        * stub/ex931: stub library for sparclite board.
18799
        * stub/idp: Renamed from mc68ec. Added contructor table
18800
        stuff to linker script.
18801
        * stub/mvme135: Renamed from m68kmvme. Added contructor table
18802
        stuff to linker script.
18803
 
18804
Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18805
 
18806
        * configure.in: Configure testsuites only if they exist.
18807
 
18808
Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18809
 
18810
        * configure.in: Don't set machine_dir for i386 until there is
18811
        something in libc/machine/i386 to compile.  For i[34]86-*-netware*
18812
        use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
18813
        CLOCK_PROVIDED and MALLOC_PROVIDED.
18814
 
18815
        * libc/sys/netware: New directory.  Contains simplistic and
18816
        probably incorrect stubs for NetWare.  Should be enough to load
18817
        the library.
18818
        * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
18819
        libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
18820
        stub files.
18821
 
18822
        * libc/reent/execr.c: Don't use if NO_EXEC is defined.
18823
        * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
18824
        * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
18825
        * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
18826
 
18827
Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
18828
 
18829
        * testsuite/Makefile.in: add "docs" dummy target for consistency
18830
        with rest of newlib; turn "info" and "install-info" into dummy
18831
        targets, since they wouldn't have worked.  (Depended on
18832
        nonexistent "doc" subdir.)
18833
 
18834
Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
18835
 
18836
        * configure.in: handle mips* instead of mips
18837
 
18838
Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
18839
 
18840
        * libc/include/sys/dirent.h: New file.  If it is not overridden by
18841
        a version of libc/sys/*/sys/dirent.h, it includes the next
18842
         file in case there is one lurking somewhere.
18843
 
18844
Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18845
 
18846
        * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
18847
        compliance, namely: Accept a minus sign.  Consider a single 0 with
18848
        a radix of 0 as being a conversion.  Determine overflow correctly.
18849
        If an overflow occurs, set *ptr to the end of the number, not the
18850
        middle.
18851
        * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
18852
 
18853
Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
18854
 
18855
        * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
18856
 
18857
Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
18858
 
18859
        * Makefile.in (INSTALL): Use $srcrootpre.
18860
        (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
18861
        can't handle it.
18862
        * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
18863
        it.
18864
        * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
18865
        * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
18866
        * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
18867
        * libm/math/Makefile.in (matherr.o): Ditto.
18868
 
18869
Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
18870
 
18871
        * configure.in: Build multidirs for z8k.
18872
        * libc/include/stdlib.h (_strtoul_r): add prototype.
18873
        * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
18874
        * libc/include/machine/setjmp.h: Add for z8k.
18875
        * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
18876
        * libc/sys/z8ksim/glue.c: tidy up.
18877
 
18878
Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
18879
 
18880
        * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
18881
        New files.  Requires execve system call.
18882
        * libc/unix/Makefile.in: Use them.
18883
        * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
18884
        Deleted, moved to libc/unix.
18885
        * libc/sys/sparc64/Makefile.in: Remove them.
18886
 
18887
Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
18888
 
18889
        * libc/sys/sparc64/{template.S template_r.S}: New files.
18890
        * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
18891
        from templates.
18892
        * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
18893
        fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
18894
        umask.S unlink.S wait4.S write.S}: Removed, now built from
18895
        templates.
18896
 
18897
Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
18898
 
18899
        * libc/time/time.c: #include <_ansi.h>.
18900
 
18901
Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
18902
 
18903
        * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
18904
 
18905
Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18906
 
18907
        * configure.in: match m8* rather than m88k so that m88110 is
18908
          recognized as well.
18909
 
18910
Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
18911
 
18912
        * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
18913
        Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
18914
        misc.c: New file.
18915
 
18916
        * configure.in: Add multilib support to h8300.
18917
 
18918
Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
18919
 
18920
        * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
18921
        * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
18922
        * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
18923
 
18924
Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18925
 
18926
        * configure.in: Corrected multidirs for sparc target.
18927
 
18928
Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18929
 
18930
        Support for building newlib multiple times with different
18931
        compilation flags.
18932
        * configure.in: Only configure doc at top level.  Set multidirs
18933
        when appropriate for target, unless not at top level.  If
18934
        multidirs is set, independently configure each subdirectory.
18935
        Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
18936
        * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
18937
        automagically set by configure.in.
18938
        (all): If MULTIDIRS is set, build multiple copies of libraries.
18939
        (install): If MULTIDIRS is set, install multiple copies of
18940
        libraries.  Install in $(tooldir)/lib/$(MULTISUBDIR).  If
18941
        MULTISUBDIR is set, don't bother to install header files.
18942
        * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
18943
        ${srcrootpre}.
18944
        * stub/configure.in: Set MULTISUBDIR appropriately.
18945
        * stub/Makefile.in (install): Install in
18946
        $(tooldir)/lib/$(MULTISUBDIR).
18947
        * All Makefile.in files: Define SRCTOP as well as TOP.
18948
 
18949
Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
18950
 
18951
        * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
18952
        * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
18953
 
18954
Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
18955
 
18956
        * libc/sys/h8300hms/exit.c (_exit): New function.
18957
 
18958
Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18959
 
18960
        * configure.in: recognize m88110.
18961
 
18962
Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18963
 
18964
        * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
18965
          prototype main and call with args.
18966
 
18967
Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
18968
 
18969
        First real try at system traps for m88k-bug.
18970
        * libc/sys/m88kbug/syscalls.c: many changes.  Convert from stubs
18971
          to real trap calls.
18972
        * libc/sys/m88kbug/sys/systraps.h: new file.
18973
 
18974
Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18975
 
18976
        Patches to fix info building when target does not use sys
18977
        directory.
18978
        * libc/Makefile.in (targetdep.tex): add sys.tex separately.
18979
        * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
18980
          libc/sys.tex.
18981
        * libc/sys/Makefile.in (doc): do nothing.
18982
 
18983
Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18984
 
18985
        * libc/Makefile.in (CRT0): new macro.
18986
          (all): depend on $(CRT0) rather than crt0.o.
18987
 
18988
        * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
18989
          do not default crt0, instead, set crt0 and crt0_dir based on
18990
          sys_dir and stub_dir.
18991
 
18992
        * Makefile.in (CRT0_DIR): new macro.
18993
          (all): depend on $(CRT0) rather than crt0.o which may not exist.
18994
          (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
18995
          $(CRT0).
18996
          ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
18997
 
18998
Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
18999
 
19000
        * testsuite/lib/libm.exp:
19001
                added code to support compiling and linking of tests for
19002
                libm.sac (paranoia to be added next) and processing the
19003
                pass or failure of the tests.
19004
 
19005
        * testsuite/config/unix-libm.exp:
19006
                platform specific proc's for dealing with compiler, linker
19007
                and the way we execute and process the test results.
19008
 
19009
        * testsuite/libm.sac/execute.exp:
19010
                generic framework for the sac tests. the config and lib
19011
                expect code for specific platforms tie it all together.
19012
 
19013
        * testsuite/libm.sac/test_is.c:
19014
                changed the output of the test to be consistant with the
19015
                other tests. parsing of pass nad fail messages is now fixed.
19016
 
19017
Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
19018
 
19019
        * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
19020
        locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
19021
        stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
19022
        #ifdef __cplusplus, surround by extern ""C { ... }.
19023
        * libc/include/assert.h:  Do *not* protect assert.h against
19024
        multiple inclusion!  Also, #undef it before #define, to allow
19025
        redefinition.
19026
        * libc/include/stdio.h (getlogin, cuserid):  Removed.  These
19027
        should be only in unistd.h.
19028
 
19029
        * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
19030
        unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
19031
        ... }.
19032
 
19033
Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
19034
 
19035
        * libc/machine/sparc/Makefile.in: Must create a library, even
19036
        if empty.
19037
 
19038
Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
19039
 
19040
        * configure.in: set machine_dir for m88k.  edit crt0 definition
19041
          into makefiles.
19042
 
19043
        * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
19044
 
19045
        * libc/Makefile.in (all): also build crt0.o.
19046
 
19047
        * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
19048
          libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
19049
          to remove CRT0.
19050
 
19051
        * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
19052
          (all): reworked to build in place.
19053
          (clean): remove lib.a
19054
          (Makefile): remove redundant ./, call $(SHELL) rather than sh.
19055
 
19056
        * libc/sys/m88kbug/crt0.c (start): renamed to _start.
19057
          (_start): key off edata rather than _start_bss.
19058
 
19059
Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
19060
 
19061
        * libc/include/sys/unistd.h, libc/include/reent.h,
19062
        libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
19063
 
19064
Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
19065
 
19066
        * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
19067
 
19068
        * Makefile.in (libc.a): break into two rules, one for libc.a and
19069
          one for libc/libc.a.  Force subdirs current before rebuilding
19070
          library.
19071
          (libm.a): break into two rules, one for libm.a and one for
19072
          libm/libm.a.  Force subdirs current before rebuilding library.
19073
 
19074
        * libc/Makefile.in (SUBLIBS): fix typo.
19075
 
19076
        * libc/sys/Makefile.in (all): force descent into subdirs, then
19077
          rebuild library iff out of of date.
19078
 
19079
Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
19080
 
19081
        Rework so that library is built and then finished rather than
19082
        being built on each invocation of make.
19083
 
19084
        * host/any (machine_dir, sys_dir, signal_dir): these are not
19085
          shared and have been moved to their associated Makefile.in's.
19086
          (AR_FLAGS): switch to qc which is faster.
19087
        * configure.in: no longer assign machine_dir for m88k.  set
19088
          stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}.  If
19089
          stub_dir set, then add to configdirs.  add comment about silly
19090
          configuration.
19091
          (configdirs): drop stub.  It will be added only
19092
          when needed.
19093
          (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
19094
          libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
19095
          stub_lib, crt0): new variables for tailoring lower level
19096
          makefiles.  Assign accordingly and edit into makefiles.
19097
        * libm/Makefile.in: updated copyright.
19098
          (TARGETLIB): removed.
19099
          (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
19100
          (SUBDIRS): removed TARGETDEP_DIRS.
19101
          (LIBM_FP_LIB, SUBLIBS): new macros.
19102
          (all): reworked.
19103
          (force): new target to force rebuilds.
19104
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
19105
        * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
19106
          libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
19107
          libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
19108
          libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
19109
          libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
19110
          libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
19111
          stub/m68kmvme/Makefile.in: updated copyright.
19112
          (TARGETLIB, TARGETCRT0, CRT0): macros removed.
19113
          (all): reworked.  made this the default rule.
19114
          (clean): also remove lib.a.
19115
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
19116
        * stub/Makefile.in: updated copyright.
19117
          (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
19118
          (stub_lib): new macro.
19119
          (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0.  Added
19120
          RANLIB.
19121
          (all): reworked.
19122
          (clean, install): assume stub_dir exists.
19123
          (Makefile): depend on configure.in.  call $(SHELL) rather than
19124
          sh.  drop redundant ./
19125
        * stub/configure.in (stublib): new macro, assign it, edit it into
19126
          makefiles.
19127
        * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
19128
          updated copyright.
19129
          (all): reworked.
19130
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
19131
        * libc/Makefile.in (TARGETCRT0): removed.
19132
          (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
19133
          TARGETCRT0.
19134
          (SUBDIRS): drop TARGETDEP_DIRS.
19135
          (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
19136
          LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
19137
          (force): new target to force rebuilds.
19138
        * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
19139
          (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
19140
          removed.
19141
          (clean): assume sys_dir always exists.
19142
        * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
19143
          drop redundant ./
19144
        * libc/ctype/Makefile.in, libc/errno/Makefile.in,
19145
          libc/locale/Makefile.in, libc/machine/Makefile.in,
19146
          libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
19147
          libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
19148
          libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
19149
          libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
19150
          libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
19151
          libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
19152
          libc/signal/Makefile.in, libc/stdio/Makefile.in,
19153
          libc/stdlib/Makefile.in, libc/string/Makefile.in,
19154
          libc/sys/Makefile.in, libc/syscalls/Makefile.in,
19155
          libc/time/Makefile.in, libc/unix/Makefile.in,
19156
          libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
19157
          (TARGETLIB): removed.
19158
          (all): reworked.
19159
          (clean): also remove lib.a.
19160
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
19161
        * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
19162
          new macros.
19163
          (SUBDIRS): moved to follow frag inclusion, change stub to
19164
          stub_dir.
19165
          (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
19166
          are now set in the libc Makefile.
19167
        * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
19168
          (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
19169
          TARGETCRT0.
19170
          (force): new target to force rebuilds.
19171
        * stub/configure.in: determine and set stub_lib for for Makefile.
19172
 
19173
Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
19174
 
19175
        * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
19176
        crt0.s renamed to crt0.S.
19177
        * libc/sys/h8300hms/crt0.S: Add h8/300h support.
19178
 
19179
        * libc/machine/h8300/Makefile.in: Make `all' the default target.
19180
        * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
19181
        h8300h.
19182
        * libc/machine/h8300/defines.h: Add macros to handle pointers for
19183
        h8300 (16 bits) and h8300h (32 bits).
19184
        * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
19185
        reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
19186
 
19187
Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
19188
 
19189
        * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
19190
        implementation of setjmp and longjmp for the m88k.
19191
        * libc/include/machine/setjmp.h: Added __m88000__ case.
19192
 
19193
Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
19194
 
19195
        * configure.in: Recognize h8300h as variant of h8300.
19196
 
19197
Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
19198
 
19199
        * libc/include/sys/unistd.h (read, write): get prototypes right.
19200
        (sbrk): New prototype.
19201
        * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
19202
        * libc/stdio/local.h: Include unistd.h.
19203
        * libc/machine/h8300/syscalls.c: Names have changed.
19204
 
19205
Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
19206
 
19207
        * configure.in: add sys_dir assignment for m88k-bug.
19208
 
19209
Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
19210
 
19211
        * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
19212
        a.out or elf.
19213
        * libc/sys/sparc64: all *.S files: Use new macros.
19214
        * libc/sys/sparc64/isatty.c: New file.
19215
        * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
19216
        functions beyond what newlib provides.
19217
 
19218
Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
19219
 
19220
        * libc/include/sys/stat.h: Move st_atime so not doubly defined for
19221
        svr4.
19222
 
19223
Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
19224
 
19225
        * libc/include/machine/ieeefp.h: Add support for h8/300h.
19226
 
19227
Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
19228
 
19229
        * configure.in: add m88k.
19230
        * libc/include/machine/ieeefp.h: add case for m88k.  Also add
19231
        sanity check so no one else need ever chase what I did to find
19232
        this.
19233
 
19234
        * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
19235
 
19236
Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
19237
 
19238
        * doc/makedoc.c: Include .
19239
 
19240
Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
19241
 
19242
        * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
19243
        * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
19244
        * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
19245
 
19246
        * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
19247
 
19248
Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
19249
 
19250
        * libc/include/errno.h (ENOSYS): Added.
19251
 
19252
        * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
19253
 
19254
Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
19255
 
19256
        * libc/stdio/fflush.c (fflush): Check for reent struct
19257
        initialization.
19258
        * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
19259
 
19260
Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
19261
 
19262
        * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
19263
        out of dtoa.c so it doesn't pollute the namespace.
19264
        * libc/include/_syslist.h: new file -- mappings from _function to
19265
        function, for systems where we can't win (by default, all of them,
19266
        until we start updating system calls.)
19267
        * libc/syscalls: new directory -- stubs for exporting _function
19268
        names as unmodified function names.
19269
        * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
19270
        _syslist.h on all platforms by default, but put hooks in for
19271
        fake_sys_dir so we can include it when we've renamed the system
19272
        calls.
19273
        * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
19274
        libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
19275
        libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
19276
        libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
19277
        libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
19278
        libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
19279
        non ANSI functions to call _function.
19280
 
19281
Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
19282
 
19283
        * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
19284
        when base 16 is specified.  Don't accept non-digits if radix > 10.
19285
 
19286
Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
19287
 
19288
        * libc/include/math.h: Rename xxx_r fns to _xxx_r.
19289
 
19290
Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
19291
 
19292
        * libc/include/sys/stat.h: Surround text after #endif with
19293
        comments.
19294
 
19295
Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
19296
 
19297
        * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
19298
        _malloc_r, _realloc_r, and free_r call the corresponding
19299
        non-reentrant functions.
19300
 
19301
        * libm/math/modf.c (modf): We now take the address of ipart, so
19302
        don't make it a register variable.
19303
 
19304
Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
19305
 
19306
        * libm/math/*: Rename all xxx_r fns to _xxx_r.
19307
 
19308
Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
19309
 
19310
        * libc/libc.texinfo and embedded docn throughout: formatting
19311
        improvements, minor rephrasing for clarity, and improved
19312
        reentrancy docn.
19313
 
19314
Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19315
 
19316
        * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
19317
 
19318
        * libc/stdio/cvt.c (_licvt): Print the right value on machines
19319
        where sizeof(int) != sizeof(long).
19320
 
19321
Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
19322
 
19323
        * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
19324
        libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
19325
        libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
19326
        libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
19327
        libm/math/matherr.c: changes for better docn formatting (info).
19328
 
19329
        * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
19330
        libc/reent/reent.tex, libc/signal/signal.tex,
19331
        libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
19332
        libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
19333
        libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
19334
        makeinfo node defaulting to get better Info file node structure.
19335
        (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
19336
        Also include a few formerly missing sections (subroutines).
19337
 
19338
        * doc/doc.str: delete fossil expansion for "func"
19339
 
19340
        * default.menu, no-signal.menu: delete.
19341
 
19342
        * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
19343
        method used to adjust doc for missing "signals" chapter when
19344
        signal_dir is empty.
19345
 
19346
Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
19347
 
19348
        * configure.in: added testsuite/libm.sac
19349
 
19350
Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
19351
 
19352
        * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
19353
        code model).
19354
 
19355
Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
19356
 
19357
        * libm/Makefile.in: Use $(MAKE) rather than make, and define
19358
        MAKEOVERRIDES to be empty.
19359
 
19360
Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
19361
 
19362
        * configure.in: Don't build mips-*-* with -msoft-float, since that
19363
        makes it incompatible with hard floating point.
19364
 
19365
Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
19366
 
19367
        * Makefile.in: added recursive 'make check'
19368
 
19369
Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
19370
 
19371
        * configure.in: added ./testsuite ./testsuite/libm.paranoia
19372
        * ./testsuite/Makefile.in: created
19373
        * ./testsuite/libm.paranoia: paranoia tests added
19374
 
19375
Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
19376
 
19377
        * configure.in: For mips-*-* set machine_dir to mips.
19378
 
19379
        * libc/machine/mips: New directory.
19380
        * libc/machine/mips/Makefile.in: New file.
19381
        * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
19382
        setjmp and longjmp.
19383
        * libc/include/machine/setjmp.h: Added __mips__ case.
19384
 
19385
        * libc/machine/lmips: Removed unused and useless directory.
19386
 
19387
Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
19388
 
19389
        * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
19390
 
19391
Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
19392
 
19393
        * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
19394
        start up).
19395
 
19396
Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
19397
 
19398
        * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
19399
        SETJMP_H.
19400
 
19401
Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
19402
 
19403
        * libm/test/convert.c: structure member errno -> errno_val.
19404
        Must include  to use errno, it's a macro now.
19405
        * libm/test/math.c: Ditto.
19406
        * libm/test/math2.c: Include errno.h.
19407
        * libm/test/string.c: Ditto.
19408
        * libm/test/test.h: structure member errno -> errno_val.
19409
        Remove extern int errno decl.
19410
 
19411
Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
19412
 
19413
        * libc/stdio/Makefile.in: Added dependencies on local header
19414
        files.
19415
        * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
19416
        files.
19417
 
19418
Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
19419
 
19420
        * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
19421
 
19422
Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
19423
 
19424
        * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
19425
        Initialize _data.
19426
 
19427
        * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
19428
        * libc/stdio/local.h: Add prototype for _licvt.
19429
 
19430
        * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
19431
        instead of malloc,reealloc.
19432
 
19433
        * libc/stdlib/local.h: New file.
19434
        * libc/stdlib/efgcvt.c: #include local.h.
19435
        (gcvt): Fix call to _gcvt.
19436
        * libc/stdlib/ecvtbuf.c: #include local.h.
19437
 
19438
        * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
19439
        * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
19440
        * libc/stdlib/malloc.c: main routines moved to mallocr.c.
19441
 
19442
        * libc/stdlib/atexit.c: moved global data to struct _reent.
19443
        * libc/stdlib/exit.c: use struct _atexit in struct _reent.
19444
 
19445
        * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
19446
 
19447
Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
19448
 
19449
        * libc/include/sys/reent.h: Stuff required by ANSI headers moved
19450
        here from ../reent.h.
19451
 
19452
Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
19453
 
19454
        * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
19455
        should be provided in both libc.a and libm.a.
19456
        (libc.a): Depend on targ-include and libm.a.  Copy
19457
        $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
19458
        (libm.a): Depend on targ-include.
19459
        * configure.in (subdirs): Removed libc/math.
19460
 
19461
Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19462
 
19463
        * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
19464
 
19465
Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
19466
 
19467
        * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
19468
        sys/reent.h instead of reent.h.
19469
        * libc/include/reent.h: Split into two parts: stuff needed by ANSI
19470
        headers moved to sys/reent.h.
19471
        * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
19472
        * libc/include/sys/signal.h: Define _MAX_SIGNALS if
19473
        __need__MAX_SIGNALS defined.
19474
        * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
19475
        std{in,out,err} refer to new _std{in,out,err} members.
19476
 
19477
Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
19478
 
19479
        * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
19480
        case.
19481
 
19482
Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
19483
 
19484
        * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
19485
        rather than whatever macro seterrno() has.
19486
 
19487
Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
19488
 
19489
        * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
19490
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
19491
 
19492
        * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
19493
        __STDC__.
19494
 
19495
        * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
19496
        reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
19497
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
19498
 
19499
        * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
19500
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
19501
 
19502
        * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
19503
        fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
19504
        fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
19505
        mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
19506
        remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
19507
        sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
19508
        vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
19509
        renamed to _xxx_r.  struct reent_struct renamed to struct _reent
19510
        for ANSI.  structure members given leading "_" for ANSI.  Use
19511
        _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
19512
 
19513
        * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
19514
        mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
19515
        system.c}: Reentrant routines _r_xxx renamed to _xxx_r.  struct
19516
        reent_struct renamed to struct _reent for ANSI.
19517
        Structure members given leading "_" for ANSI.
19518
        _CONST --> const in prototypes.
19519
        Use _HAVE_STDC instead of __STDC__.
19520
 
19521
        * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
19522
        _xxx_r.
19523
        struct reent_struct renamed to struct _reent for ANSI.
19524
        Structure members given leading "_" for ANSI.
19525
 
19526
        * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
19527
        _xxx_r.
19528
        struct reent_struct renamed to struct _reent for ANSI.
19529
 
19530
        * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
19531
        cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
19532
        gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
19533
        mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
19534
        tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
19535
 
19536
        * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
19537
        signal.h, stdio.h, stdlib.h, string.h, time.h}:
19538
        Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
19539
        #ifndef _STRICT_ANSI non-ANSI routines.
19540
        Reentrant routines renamed from _r_xxx to _xxx_r.
19541
        No need to use _STRICT_ANSI on _xxx_r reentrant routines.
19542
        Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
19543
        Clean up namespace (structure members have leading "_").
19544
        struct reent_struct renamed to struct _reent for ANSI compliance.
19545
        _CONST --> const in function prototypes.
19546
 
19547
        * libc/include/string.h: Add NULL and size_t.
19548
 
19549
        * libc/sys/sparc64/Makefile.in: New syscall routines for link,
19550
        unlink, wait, wait4. Reentrant syscall routines close, fork,
19551
        fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
19552
        write.
19553
        * libc/sys/sparc64/cerror.S (cerror_r): New routine.
19554
        * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
19555
        open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
19556
        write.S}: Define reentrant versions.
19557
        * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
19558
        reentrant syscalls.
19559
 
19560
        * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
19561
 
19562
        * libc/include/stdlib.h (RAND_MAX): Fix value.
19563
 
19564
Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
19565
 
19566
        * libc/sys/a29khif/_main.c: Removed unnecessary file.
19567
        * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
19568
        VPATH support targets after all: target.
19569
 
19570
        * stub/mvme135/mvme.S: Renamed exceptionhandler to
19571
        exceptionHandler, which is what mvme135-stub.c expects.
19572
 
19573
Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
19574
 
19575
        * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
19576
 
19577
        * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
19578
        def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
19579
        compliant).
19580
 
19581
Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
19582
 
19583
        * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
19584
        first.
19585
        libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
19586
        _r_write): Ditto.
19587
        libc/reent/fstatr.c (_r_fstat): Ditto.
19588
        libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
19589
        libc/reent/sbrkr.c (_r_sbrk): Ditto.
19590
        libc/reent/statr.c (_r_stat): Ditto.
19591
 
19592
        * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
19593
        * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
19594
        * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
19595
        * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
19596
        * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
19597
        * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
19598
        * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
19599
        * libc/stdio/stdio.c (__sread): Ditto for _r_read.
19600
        (__swrite): Ditto for _r_lseek, _r_write.
19601
        (__sseek): Ditto for _r_lseek.
19602
        (__close): Ditto for _r_close.
19603
        * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
19604
 
19605
        * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
19606
        * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
19607
 
19608
        * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
19609
        to make reent_struct the first argument (and thus consistent with
19610
        the rest of newlib).
19611
 
19612
        * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
19613
        reference to __STDC__.
19614
 
19615
Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
19616
 
19617
        * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
19618
        global __cleanup.
19619
 
19620
Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
19621
 
19622
        * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
19623
        first.
19624
        libc/stdio/fclose.c (fclose): Ditto.
19625
 
19626
Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
19627
 
19628
        * Run through indent and rename reentrant routines for ANSI.
19629
        libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
19630
        fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
19631
        fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
19632
        fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
19633
        getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
19634
        putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
19635
        scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
19636
        tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
19637
        vsprintf.c wbuf.c wsetup.c local.h}
19638
 
19639
        * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
19640
 
19641
        * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
19642
        libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
19643
        assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
19644
        dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
19645
        mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
19646
        strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
19647
 
19648
        * Run through indent.
19649
        libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
19650
        memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
19651
        strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
19652
        strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
19653
        strxfrm.c}
19654
 
19655
        * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
19656
        localtime.c mktime.c strftime.c time.c}:
19657
        Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
19658
 
19659
        * Reformatting + renaming (for ANSI, GNU style, consistency).
19660
        libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
19661
        ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
19662
        signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
19663
 
19664
Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
19665
 
19666
        * libc/include/stdio.h (stdin_r): Fix.
19667
 
19668
Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
19669
 
19670
        * Makefile.in: Unexport some variables to keep GNU make from
19671
        putting them in the environment and using up needed ARG_MAX space
19672
        (a hack is used to let this work with older makes as well).
19673
 
19674
Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
19675
 
19676
        * Makefile.in: Use $(MAKE) rather than make.
19677
        (MAKEOVERRIDES): Define to be empty.
19678
        (FLAGS_TO_PASS): Don't pass down LD (it's not used).
19679
        (libc.a, libm.a): Depend on targ-include.
19680
        * host/any (LD): Don't define.
19681
        (INCLUDES): Use targ-include.
19682
        * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
19683
        (FLAGS_TO_PASS): Don't pass down LD (it's not used).
19684
        * libc/Makefile.in: Use $(MAKE) rather than make.
19685
        (MAKEOVERRIDES): Define to be empty.
19686
        (FLAGS_TO_PASS): Don't pass LD (it's not used).
19687
        (all): Rewrote to be slightly smaller.
19688
        * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
19689
        Define to be empty.
19690
        (FLAGS_TO_PASS): Don't pass LD (it's not used).
19691
        * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
19692
 
19693
Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
19694
 
19695
        * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
19696
        with errno/errno.c.
19697
 
19698
Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
19699
 
19700
        * Changes for reentrancy.
19701
        libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
19702
        Use ptr->_errno, not errno.
19703
        libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
19704
        libc/stdio/remove.c (remove_r): New function.
19705
        libc/stdio/rename.c (rename_r): New function.
19706
        libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
19707
        libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
19708
        libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
19709
        reentrant versions of system calls.
19710
        libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
19711
        libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
19712
        libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
19713
        libc/stdio/findfp.c: Include .
19714
        libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
19715
        "local.h".
19716
        libc/stdio/wbuf.c: Include "fvwrite.h"
19717
 
19718
        * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
19719
        .
19720
        libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
19721
        (NULL): Don't define if already defined.
19722
        libc/stdlib/system.c: Call reentrant versions of system calls.
19723
        (system_r): New function.
19724
 
19725
        * Changes for reentrancy.
19726
        libc/include/_ansi.h (_PARAMS): New macro.
19727
        libc/include/errno.h: Define errno as a macro that calls __errno.
19728
        (__errno_r): New macro for reentrant code.
19729
        libc/include/math.h: Include reent.h.  Declare many reentrant
19730
        functions.
19731
        (signgam): Now a macro, not a variable.
19732
        (struct exception): Added err field.
19733
        libc/include/reent.h: Don't declare __sglue.  Added function
19734
        declarations.
19735
        (struct reent_struct): Moved errno to beginning.  Added _signgam.
19736
        libc/include/stdio.h, libc/include/stdlib.h: Added function
19737
        declarations.
19738
 
19739
        * More reentrancy hacking.
19740
        libc/errno/errno.c (__errno): New function.
19741
        libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
19742
        libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
19743
        files.
19744
 
19745
        * Added many new reentrant functions to libm/math/*.
19746
        libm/math/error.c (__matherror): Added reent_struct pointer
19747
        argument. Changed all callers.
19748
        libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
19749
        libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
19750
        libm/math/tan.h: Removed obsolete unused header files.
19751
 
19752
        * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
19753
 
19754
        * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
19755
 
19756
Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19757
 
19758
        * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
19759
        delay slots.
19760
 
19761
Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
19762
 
19763
        * libc/libc.texinfo:  comment out reentrancy chapter (duh)
19764
 
19765
Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
19766
 
19767
        * libc/reent/reent.tex:  New file.  (text from
19768
        newlib/libc/libc.texinfo)
19769
        * libc/stdio/tmpnam.c:  fixed doc typo
19770
        * libc/stdlib/rand.c:   fixed doc typo
19771
 
19772
Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
19773
 
19774
        * libc/reent/reent.tex:  New file.  (text from
19775
        newlib/libc/libc.texinfo)
19776
 
19777
Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19778
 
19779
        support for reentrancy
19780
        * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
19781
        new files
19782
        * libc/errno/errno.c, libc/include/ieeefp.h,
19783
        libc/include/locale.h, libc/include/reent.h,
19784
        libc/include/signal.h, libc/include/stdio.h,
19785
        libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
19786
        libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
19787
        libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
19788
        libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
19789
        libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
19790
        libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
19791
        libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
19792
        libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
19793
        libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
19794
        libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
19795
        libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
19796
        libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
19797
        libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
19798
        libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
19799
        libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
19800
        libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
19801
        libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
19802
        libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
19803
        libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
19804
        libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
19805
        libc/time/strftime.c: modify to provide reentracy.
19806
 
19807
        new routines:
19808
        strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
19809
        perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
19810
        tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
19811
        srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
19812
        mstats_r, realloc_r, localeconv_r, setlocale_r
19813
 
19814
Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
19815
 
19816
        * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
19817
        libc/include/sys/config.h, libc/include/sys/signal.h,
19818
        libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
19819
        provided macros (such as m68000), use the ansi version
19820
        (__m68000__) so that the library can be used with code compiled
19821
        -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
19822
        and sparc.
19823
 
19824
Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
19825
 
19826
        * configure.in (sparc*): Don't set -fsoft-float for sparc
19827
        configurations.  Do set -fsoft-float for sparclite configurations.
19828
 
19829
Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
19830
 
19831
        * default.menu, no-signal.menu: alternate forms of libc main menu
19832
          (in newlib rather than newlib/libc due to configuration restrictions)
19833
 
19834
        * configure.in: select one of the two menus above, link to
19835
        libc.menu
19836
 
19837
        * libc/libc.texinfo: include menu from separate file
19838
 
19839
Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
19840
 
19841
        * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
19842
        (info): Split long shell command in half.
19843
        * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
19844
        sub-makes, just CHEW and TARGETDOC.
19845
        (targetdep.tex): Removed now special handling of sys and machine
19846
        subdirectories, made obsolete some time ago.
19847
        * libc/machine/Makefile.in (doc): Don't pass everything to
19848
        sub-make, just CHEW and TARGETDOC.
19849
        (Makefile): New target.
19850
        * libc/sys/Makefile.in (Makefile): New target.
19851
 
19852
Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
19853
 
19854
        * Makefile.in (here and most subdirectories): Only pass down CHEW
19855
        and TARGETDOC when making info, not for other targets.
19856
 
19857
        * Makefile.in (here and most subdirectories), host/any: Use $(AR)
19858
        $(AR_FLAGS) rather than $(ARUPDATE).
19859
 
19860
Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
19861
 
19862
        * Try to reduce command line length:
19863
        * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
19864
        CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
19865
        (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
19866
        (info): Pass CHEW to other subdirs.
19867
 
19868
Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
19869
 
19870
        * configure.in: add signal_dir, like unix_dir, but by default it
19871
        is set to "signal" so that a29khif can turn it off (since a29khif
19872
        has raise() as part of machine-specific signal.s.)
19873
 
19874
Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19875
 
19876
        * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
19877
        * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
19878
        correctly.
19879
        * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
19880
        libc/stdio/vfprintf: type lint.
19881
        * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
19882
        initialzation code.
19883
        * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
19884
 
19885
Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
19886
 
19887
        * stub/mvme135/mvme135-asm.S: new file.
19888
        stub/mvme135mvme135-stub.c: moved all assembler routines into
19889
        mvme135-asm.S.
19890
        stub/mvme135/Makefile.in: build mvme135-stub.o.
19891
 
19892
Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
19893
 
19894
        * Makefile.in: don't pass down $(CPP); use $(CC) -E in
19895
        sub-Makefiles instead, to try to avoid line length limitations.
19896
 
19897
Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
19898
 
19899
        * libc/include/unistd.h (read, write):  Use void* instead of
19900
        char*.
19901
 
19902
Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
19903
 
19904
        * stub/go32/resetpc: sample script to send a reset packet to the
19905
        stub
19906
 
19907
        * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
19908
        DOS environment, which compiles with Turbo C.
19909
 
19910
        * stub/go32/DSER32.LNK: new file, linker commands for serial
19911
        remote stub.
19912
 
19913
        * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
19914
        start up message to identify version; call set_debug_traps.
19915
 
19916
        * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
19917
        keyboard interaction); call handle_exception() in go_til_stop,
19918
        rather than return, so that the remote stub gets control.
19919
 
19920
        * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
19921
        rename, rather than mv), set flags that work with current Turbo C,
19922
        including using the /3 flag; also, add commands to build dser32.
19923
 
19924
        * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
19925
        default Turbo C installation (\tc rather than \usr)
19926
 
19927
        * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
19928
        "&..."
19929
 
19930
Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
19931
 
19932
        * libc/include/math.h: added _DOUBLE_IS_32BITS checks
19933
 
19934
Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
19935
 
19936
        * libc/stdio/cvt.c (licvt): new function to convert ints when
19937
        sizeof(int) != sizeof(long).
19938
 
19939
        * libc/include/stdio.h: added prototype for iprintf.
19940
        * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
19941
 
19942
Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
19943
 
19944
        * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
19945
        __REGISTER_PREFIX__.
19946
 
19947
Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
19948
 
19949
        * libc/sys/m68kbare: moved into stub directory.
19950
 
19951
Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
19952
 
19953
        * configure.in, Makefile.in: created new directory stub, to hold
19954
        sample code for specific targets.
19955
 
19956
Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
19957
 
19958
        * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
19959
        in the unified libc/include/sys/fcntl.h.
19960
 
19961
Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
19962
 
19963
        * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
19964
        printed .01, not 0.01.
19965
 
19966
Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
19967
 
19968
        * configure.in: compile with -m68000 for m68* targets.
19969
 
19970
Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
19971
 
19972
        * libm/math/remainder.c (remainder): document the svr4 and sunos
19973
        references used to construct the function.
19974
 
19975
Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
19976
 
19977
        * libm/math/remainder.c (rint, remainder): fix old typos.
19978
        * libm/math/Makefile.in: actually build remainder.c (functions
19979
        rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
19980
        page.)
19981
 
19982
Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
19983
 
19984
        * libc/string/bcopy.c: BSD version works on overlapping strings,
19985
        so ours should too.
19986
 
19987
        * libc/stdlib/system.c: always invoke /bin/sh, not getenv
19988
        ("SHELL").
19989
 
19990
Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
19991
 
19992
        * Makefile.in (docs): new target.
19993
 
19994
Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
19995
 
19996
        * libc/include/sys/times.h: define clock_t as required by POSIX.
19997
        libc/include/time.h: protect clock_t from multiple definitions.
19998
 
19999
Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
20000
 
20001
        * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
20002
        does not need more than the original three iterations to get
20003
        within 1 ulp. (Paranoia tests for rounding to better than that,
20004
        but further iterations *don't* help, only more subtle changes
20005
        can.)
20006
 
20007
Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
20008
 
20009
        * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
20010
        were doing nothing useful.
20011
 
20012
Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
20013
 
20014
        * configure.in: define MALLOC_PROVIDED for vxworks targets;
20015
        removed sys_dir settings of vxworks68 and vxworks960.
20016
        host/any: don't pass -nostdinc to gcc, since newlib no longer
20017
        provides all required header files.
20018
 
20019
        * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
20020
        is not defined; this provides a hook for VxWorks.
20021
 
20022
Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
20023
 
20024
        * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
20025
        buffer if buf is NULL, don't do it here -- it is already being
20026
        done by makebuf elsewhere in stdio.
20027
 
20028
Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
20029
 
20030
        * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
20031
        that C programs can call functions without using initial
20032
        underscores.
20033
 
20034
Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
20035
 
20036
        * libc/stdlib/abort.c (abort): call exit, in case kill returns.
20037
 
20038
Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
20039
 
20040
        * configure.in: set TARGET_CFLAGS for certain CPU types to
20041
        -msoft-float.
20042
 
20043
Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
20044
 
20045
        * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of 
20046
 
20047
Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
20048
 
20049
        * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
20050
        m68k*-unknown-coff.
20051
 
20052
Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
20053
 
20054
        * libc/include/stdio.h: define __need___va_list before including
20055
        , to avoid defining va_arg, et. al.
20056
 
20057
Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
20058
 
20059
        * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
20060
        (don't cd to the user's home directory).
20061
 
20062
        * libc/Makefile.in: replaced all instances of $(MAKE) with make.
20063
        In general this is the wrong thing to do, but I can't get around
20064
        GNU make's insistence on passing command line arguments any other
20065
        way.
20066
 
20067
Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
20068
 
20069
        * configure.in: always configure the libc/sys directory, since it
20070
        now provides a required documentation file.
20071
 
20072
        * Makefile.in: replaced all instances of $(MAKE) with make.  In
20073
        general this is the wrong thing to do, but I can't get around GNU
20074
        make's insistence on passing command line arguments any other way.
20075
 
20076
Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
20077
 
20078
        * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
20079
        terminated.
20080
 
20081
        * libc/stdio/local.h: include  to define va_list.
20082
        libc/stdio/vsprintf.c: include  rather than .
20083
 
20084
        * libc/include/float.h, libc/include/stdarg.h,
20085
        libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
20086
        versions instead.
20087
        libc/include/stdio.h: get size_t from , and va_list from
20088
        , not from .  Protect definition of
20089
        NULL.
20090
        libc/include/time.h: get size_t from stddef.h.  Protect definition
20091
        of NULL.
20092
        libc/include/machine/limits.h: override gcc  by defining
20093
        _LIMITS_H___.  Don't define CLK_TCK.  Copied in gcc  to
20094
        get correct INT_MIN and LONG_LONG values.
20095
        libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
20096
        size_t or va_list at all; they're now gotten from stddef.h
20097
        instead.
20098
        libc/include/machine/varargs.h: removed; use gcc version instead.
20099
        libc/include/sys/types.h: explicitly include .
20100
 
20101
        * libm/math/sqrt.h: using the fp-bit routines appears to require
20102
        more iterations.
20103
 
20104
        * Makefile.in, host/any: let system include files override machine
20105
        include files.
20106
 
20107
Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
20108
 
20109
        * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
20110
        override _*_T_ definitions defaulted here.
20111
 
20112
Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
20113
 
20114
        * Makefile.in (install): install the include files in
20115
        $(tooldir)/include, not $(exec_prefix)/include.
20116
 
20117
Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
20118
 
20119
        * Makefile.in (install): fixed typo, and changed install to not
20120
        force rebuild of libc.a and libm.a.
20121
 
20122
Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
20123
 
20124
        * libc/sys/a29khif/*: Changed all .include's to include
20125
        sys/sysmac.h, not plain sysmac.h.  The header files live in sys so
20126
        that they will be installed for the user.
20127
 
20128
        * Makefile.in (all): create targ-include, a directory holding the
20129
        machine and system specific header files during the build.
20130
        (install): fixed installation of machine and system specific
20131
        header files.
20132
 
20133
        * Makefile.in: fixed comment.
20134
        host/any: change .s.o rule to use $(AS) rather than $(CC), so that
20135
        we can pass $(INCLUDES) to it.
20136
 
20137
Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
20138
 
20139
        * libc/include/sys/param.h: new generic file, which may be
20140
        overridden for specific systems.
20141
 
20142
        * libc/include/sys/signal.h: define all ANSI signal names, and
20143
        NSIG (which is not ANSI) for a29k.
20144
 
20145
Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
20146
 
20147
        * Makefile.in: don't pass down arguments the lower level makes
20148
        will not need.
20149
        * libc/Makefile.in: recurse directly, rather than using subdir_do,
20150
        in hopes of avoiding argument length limits.
20151
        * libm/Makefile.in: recurse directly, rather using subdir_do, in
20152
        hopes of avoiding argument length limits.
20153
 
20154
Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
20155
 
20156
        * libc/include/sys/fcntl.h: include  to ensure that
20157
        mode_t is defined.
20158
 
20159
Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
20160
 
20161
        * Fixed make info and make install-info for newlib, changing most
20162
        Makefile.in and several *.tex files.  Moved doc directory from
20163
        libc to top level.
20164
 
20165
        * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
20166
        Should be rewritten.
20167
 
20168
        * libc/string/strings.tex: renamed node index to node index
20169
        function, so that it does not conflict with the top level index
20170
        node.
20171
 
20172
        * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
20173
 
20174
Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
20175
 
20176
        * Overhauled general configuration for newlib.  Eliminated all
20177
        target dependent Makefile fragments.  Create libraries in newlib
20178
        rather than newlib/libc and newlib/libm.  Use CC, et. al., rather
20179
        than CROSS_CC, et. al.  Broke make docs; will fix later.
20180
 
20181
        * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
20182
        Should be rewritten.
20183
 
20184
Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
20185
 
20186
        * libc/configure.in: cleaned up somewhat; switch on ${target}
20187
        rather than ${target_alias}.
20188
        * libm/configure.in: cleaned up somewhat; switch on ${target}
20189
        rather than ${target_alias}.
20190
 
20191
        * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
20192
        * libc/include/ctype.h: marked _ctype_ as _CONST.
20193
 
20194
        * libc/locale/locale.c (lconv, localeconv): marked static lconv as
20195
        _CONST.
20196
 
20197
        * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
20198
        libc/stdio/vfscanf.c (__svfscanf): made static variables const.
20199
        libc/stdio/gets.c (gets): removed non-ANSI warning message.
20200
        libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
20201
 
20202
        * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
20203
        bigtens, tinytens): marked arrays _CONST.
20204
        libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
20205
        rather than a static variable.
20206
 
20207
        * libc/time/asctime.c (asctime), libc/time/localtime.c
20208
        (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
20209
        _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
20210
        mname_len, mname): Marked static arrays _CONST.
20211
 
20212
        * libm/math/gamma.h: made local variables non-static.
20213
 
20214
        * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
20215
        libm/math/exp.c, libm/math/gamma.h: marked static arrays as
20216
        _CONST.
20217
 
20218
        * libm/math/constants.c: removed file, because the constants it
20219
        defined were never referenced.
20220
        libm/math/Makefile.in: removed references to constants.c.
20221
        libm/math/mathimpl.h: removed declarations of constants.
20222
 
20223
Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
20224
 
20225
        * libc/include/machine/varargs.h: only call __builtin_saveregs if
20226
        it is sensibly defined in libgcc2.  Checks preprocessor defines,
20227
        which is not a good solution.
20228
 
20229
        * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
20230
 
20231
        * libm/frexp.c: handle denormalized numbers as arguments.
20232
 
20233
        * libm/math/Makefile.in: added some dependencies for .c files
20234
        which include local .h files.
20235
 
20236
Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
20237
 
20238
        * libc/configure.in: set target_alias for OSE*.  Replace
20239
        target_makefile_frag if it is blank.
20240
 
20241
        * libc/Makefile.in: make sure everything is passed to subsidiary
20242
        makes; create all directories when installing.
20243
 
20244
        * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
20245
        CROSS_ARUPDATE instead of AR.
20246
 
20247
        * libm/configure.in: set target_alias for OSE*.  Replace
20248
        target_makefile_frag if it is blank.
20249
 
20250
        * libm/Makefile.in: make sure everything is passed to subsidiary
20251
        makes; create all directories when installing.
20252
 
20253
Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
20254
 
20255
        * add following change from libc copy.
20256
 
20257
Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20258
 
20259
        * libc/libc.texinfo: make copyright disclaimers appear on back of
20260
        title page; make format of same slightly less ugly; avoid using
20261
        underbars in section headings (avoids nasty texinfo bug in table
20262
        of contents).
20263
 
20264
        * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
20265
          comments only) avoid using underbars in section headings
20266
 
20267
        * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
20268
          isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
20269
          changes in comments only): shorten headings ieeefp/infinity.c,
20270
          ieeefp/isnan.c: (doc, comments only) more informative headings
20271
 
20272
        * libc/math/bessel.c: (doc, comments only) shorten heading
20273
 
20274
        * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
20275
        (doc, comments only) shorten headings
20276
 
20277
        * libc/time/localtime.c (doc, comments only): shorten headings
20278
 
20279
        * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
20280
          isnan
20281
          libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
20282
          libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
20283
          headings
20284
          libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
20285
          only) more informative headings
20286
        * libm/math/bessel.c: (doc, comments only) shorten heading
20287
 
20288
Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
20289
 
20290
        * .../Makefile.in: use CROSS_ARUPDATE consistently.
20291
        * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
20292
        * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
20293
        * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
20294
        defined, the one from the .mt file will be correct.
20295
        * libc/include/machine, libc/include/sys: created, and populated
20296
        with common files from machine/*/machine. ifdefs were used for
20297
        most, typically by handling exceptions first and then filling in
20298
        defaults. Files with D.J. Delorie copyright #included rather than
20299
        copied. Most files in include/sys really were the same in the
20300
        original.
20301
        * libc/include/...: cleaned up use of _EXFUN.
20302
        * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
20303
        it with double quotes, not angles.
20304
 
20305
Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
20306
 
20307
        * libc/Makefile.in: always create installation directories.
20308
 
20309
Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
20310
 
20311
        * libc/configure.in: handle host properly (using canonical
20312
        triples), better error message for the case of target not found
20313
 
20314
Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
20315
 
20316
        * libc/Makefile.in (insincdir): Ensure this directory exists
20317
        before attempting installation.
20318
 
20319
Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20320
 
20321
        * libc/stdlib/assert.c: now calls abort like it should
20322
        * libc/sys/a29khif: many many patches for 29khif work
20323
        * libc/machine/i386: gnulib2 expanded there.
20324
 
20325
Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20326
 
20327
        Added accurate fp conversion routines to stdlib, moved dcvt from
20328
        stdio to stdlib and called it ecvtbuf:
20329
        * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
20330
        * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
20331
        routines
20332
        * libc/libc.texinfo: Modifed to include the copyright info from
20333
        the mprec files
20334
        * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
20335
        * libc/test/ : many vector which tested for the implementation
20336
        defined returns of strange conversion requests have been updated
20337
        to relflect the new implementation
20338
 
20339
Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20340
 
20341
        * libc/libc.texinfo: new chapter on variable arg lists
20342
        (stdarg.h/varargs.h)
20343
        * libc/libc.texinfo: new title
20344
        * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
20345
        (doc only) shorter headings for better formatting.
20346
 
20347
Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20348
 
20349
        * libc/libc.texinfo: three more info menu entries
20350
        * libc/locale/locale.tex: new chapter
20351
        * libc/locale/locale.c: new doc for setlocale, localeconv
20352
        * libc/locale/Makefile.in: use new locale doc
20353
        * libc/signal/signal.tex: new chapter
20354
        * libc/signal/raise.c, libc/signal/signal.c: new doc
20355
        * libc/signal/Makefile.in: use new doc
20356
        * libc/time/time.tex: new chapter
20357
        * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
20358
        libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
20359
        libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
20360
        * libc/time/Makefile.in: use new doc
20361
 
20362
Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20363
 
20364
        * libm/math/log1p.c: split to use the new function way of float
20365
        function definition. math/log1p.h deleted
20366
        * libm/math/scalb.c: obsolete and deleted
20367
        * libm/math/scalbn.c: created from part log1p.c
20368
        * libm/math/Makefile.in: know about log1p and scalbn
20369
 
20370
Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20371
 
20372
        * libc/ctype/isupper.c: revise doc;
20373
          libc/ctype/ctype.tex: use doc from isupper.c
20374
 
20375
        * libc/string/bzero.c: new doc
20376
 
20377
Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20378
 
20379
        * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
20380
        new doc
20381
        * libc/stdlib/Makefile.in: extract new doc
20382
        * libc/stdlib/stdlib.tex: use new doc
20383
 
20384
        * libc/string/strerror.c: expanded doc.
20385
 
20386
        * libc/stdio/Makefile.in: extract doc from more files
20387
        * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
20388
        libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
20389
        libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
20390
        libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
20391
        libc/stdio/vsprintf.c: new doc
20392
        * libc/stdio/stdio.tex: use new doc
20393
 
20394
Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20395
 
20396
        * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
20397
        * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
20398
        finitef functions.
20399
        * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
20400
        time ago.
20401
 
20402
        * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
20403
        * libc/stdio/setbuf.c: added ansi style definition.
20404
        * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
20405
        buffer if none provided.
20406
        * libc/stdio/tmpfile.c: lint
20407
        * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
20408
        rather than using static, also make sure file isn't already
20409
        present.  Uses P_tmpdir. (tempnam): rewritten to use new
20410
        subroutine, and uses P_tmpdir.
20411
        * libc/stdio/siprintf.c: created
20412
 
20413
Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20414
 
20415
        Release 1.03 for NEC, major mods. Main differences from release
20416
        1.02::
20417
 
20418
        More tests in test/:
20419
        * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
20420
        log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
20421
        * test_ieee.c: tests for ieee flags & masks - get/set rounding,
20422
        get/set mask, get/set sticky and get/set roundtoi.  Tests
20423
        that setting the bits changes the way arithmetic is done.
20424
        * string.c: added test to make sure memcmp does it with unsigned
20425
        chars.
20426
        * test.c: cleaned up and removed lint.
20427
        * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
20428
        dvec.c: tests for string to value conversions,  sprintf, scanf,
20429
        atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
20430
        ecvtf,  fcvtbuf, fcvt, fcvtf, gcvt, gcvtf.  Some attention paid to
20431
        rounding in sprintf too.
20432
        * test_is.c: tests for  isalnum, isalpha, isascii, iscntrl,
20433
        isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
20434
        isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
20435
        and function form.
20436
        * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
20437
        powf
20438
 
20439
        In the library:
20440
        * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
20441
        libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
20442
        libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
20443
        libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
20444
        * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
20445
        than sprintf.
20446
        * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
20447
        * Method of producting float versions of double functions has
20448
        changed, functions will be modified gradually. So far:
20449
        libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
20450
        libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
20451
        altered
20452
        * libc/string/memcmp.c: now uses unsigned chars
20453
        * libc/string/bcmp.c, libc/string/strcpy.c,
20454
        libc/stsring/strxfrm.c: fixed doc
20455
        * libc/sys/sysvnecv70.tex: fix example of sbrk code
20456
 
20457
Local Variables:
20458
version-control: never
20459
End:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.