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 180

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

Line No. Rev Author Line
1 180 jeremybenn
2010-07-07  Jeremy Bennett 
2
 
3
        * configure.host: Updated for OpenRISC to use namespace clean
4
        functions.
5
 
6 148 jeremybenn
2008-12-19  Jeff Johnston  
7
 
8
        * NEWS: Update with 1.17.0 info.
9
        * README: Ditto.
10
        * acinclude.m4: Change version number to 1.17.0.
11
        * aclocal.m4: Regenerated.
12
        * configure: Ditto.
13
        * doc/aclocal.m4: Ditto.
14
        * doc/configure: Ditto.
15
        * libc/*/aclocal.m4: Ditto.
16
        * libc/*/configure: Ditto.
17
        * libc/libc.texinfo: Ditto.
18
        * libm/*/aclocal.m4: Ditto.
19
        * libm/*/configure: Ditto.
20
        * libm/libm.texinfo: Ditto.
21
        * libc/sys/linux/shared.ld: Add VERS_1.17
22
 
23
2008-12-17  Jon Beniston 
24
 
25
        * configure.host: Set syscall_dir for lm32 target.
26
 
27
2008-12-15  Jeff Johnston  
28
 
29
        * libc/stdio/stdio.tex: Remove putwc and getwc references as they
30
        are included as part of fputwc and fgetwc, respectively.
31
 
32
2008-12-12  Craig Howland 
33
 
34
        * libc/include/wchar.h:  Added wcstok() declaration.
35
        * libc/string/wcstok.c: New file, implementing wcstok.
36
        * libc/string/Makefile.am: Add wcstok support.
37
        * libc/string/wcstrings.tex: Ditto.
38
        * libc/string/Makefile.in: Regenerated.
39
 
40
2008-12-12  Ralf Corsepius  
41
 
42
        * libc/stdio/fputws.c: Fix documentation.
43
        * libc/stdio/getwchar.c: Ditto.
44
        * libc/stdio/putwchar.c: Ditto.
45
 
46
2008-12-12  Ralf Corsepius  
47
 
48
        * libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to
49
        200112L (SUSv3 compliance).
50
        Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported).
51
 
52
2008-12-12  Ralf Corsepius  
53
 
54
        * libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(),
55
        _execve(), _exit().
56
 
57
2008-12-12  Ralf Corsepius  
58
 
59
        * configure.host: Let *rtems* default to c99-formats.
60
 
61
2008-12-12  Craig Howland  
62
 
63
        * libc/stdio/freopen.c:  Add  for memset prototype.
64
        * libc/stdio/fseek.c:  Ditto.
65
        * libc/stdio/fwide.c:  Add  for fwide prototype.
66
 
67
2008-12-11 Jeff Johnston  
68
 
69
        * libc/include/sys/time.h (gettimeofday): Change prototype so
70
        2nd parameter is void *, matching SUSV2.
71
        * libc/syscalls/sysgettod.c (gettimeofday): Ditto.
72
 
73
2008-12-11 Jukka Pietarinen 
74
 
75
        * configure.host: Add lm32
76
        * libc/include/machine/ieeefp.h: Add __lm32__
77
        * libc/include/machine/setjmp.h: Add __lm32__
78
        * libc/machine/configure.in: Add lm32
79
        * libc/machine/configure: Regenerated.
80
        * libc/machine/lm32/aclocal.m4: New file.
81
        * libc/machine/lm32/configure.in: Ditto.
82
        * libc/machine/lm32/configure: Ditto.
83
        * libc/machine/lm32/Makefile.am: Ditto.
84
        * libc/machine/lm32/Makefile.in: Ditto.
85
        * libc/machine/lm32/setjmp.s: Ditto.
86
 
87
2008-12-11  Craig Howland  
88
 
89
        * libc/include/sys/lock.h:  Add void cast to avoid "statement has no
90
        effect" warnings from gcc.
91
        * libc/include/sys/stdio.h:  Ditto.
92
        * libc/include/sys/time.h:  Correct gettimeofday() prototype.
93
        * libc/stdlib/__exp10.c:  Add #include "std.h" for function prototype.
94
        * libc/stdlib/__ten_mu.c:  Ditto.
95
        * libc/stdlib/std.h:  Correct __exp10's ANSI prototype.
96
        * libc/stdlib/ldtoa.c:  Change eiisinf definition to ANSI form.  (Are
97
        already others in file without _ansi method, so did not bother.)
98
        * libc/stdlib/system.c:  Use _ansi forms for function prototypes and
99
        definitions.
100
        * libc/time/mktime.c:  Ditto.
101
        * libc/misc/__dprintf.c:  Ditto.
102
        * libc/include/stdio.h:  Add function prototypes for _fgetc_r,
103
        _fgetpos_r, _fsetpos_r, _freopen_r, _rewind_r, freopen64, _freopen64_r,
104
        _funopen_r, and _fopencookie_r.
105
        * libc/include/reent.h:  Add function prototype for _stat64_r, align
106
        _execve_r prototype with POSIX definition for execve.
107
        * libc/reent/execr.c:  Align function prototype with POSIX definition.
108
        * libc/stdio/asniprintf.c:  Add #include "local.h".
109
        * libc/stdio/vasniprintf.c:  Ditto.
110
        * libc/stdio/fread.c:  Remove unused variable newcount.
111
        * libc/stdio/local.h:  Add function prototype for __sccl.
112
        * libc/stdio/open_memstream.c:  Remove unused variable flags.
113
        * libc/stdio/vfscanf.c:  Proper prototyping for ccfn, remove prototype
114
        for __sccl since now in local.h.
115
        * libc/string/memcpy.c:  Add #include  (for real and for
116
        traditional synopsis), remove extraneous stddef.h and limits.h.
117
        * libc/syscalls/sysclose.c:  Add #include .
118
        * libc/syscalls/sysfork.c:  Ditto.
119
        * libc/syscalls/sysgetpid.c:  Ditto.
120
        * libc/syscalls/sysexecve.c:  Add #include , align function
121
        prototype with POSIX definition.
122
        * libc/syscalls/sysfstat.c:  Add #include .
123
        * libc/syscalls/sysgettod.c:  Correct sys/times.h to sys/time.h.
124
        * libc/syscalls/syskill.c:  Add #include .
125
        * libc/syscalls/syslink.c:  Add #include , fix prototype.
126
        * libc/syscalls/sysunlink.c:  Ditto.
127
        * libc/syscalls/sysstat.c:  Add #include , fix prototype.
128
        * libc/syscalls/syswait.c:  Add #include , fix prototype.
129
 
130
2008-12-10  Corinna Vinschen  
131
 
132
        Implement basic wide char stdio functionality, based on FreeBSD.
133
        * libc/include/stdio.h (__SORD): Define.
134
        (__SWID): Define.
135
        * libc/include/wchar.h: Add declarations for new wide char functions.
136
        (getwc): Define as macro.
137
        (getwchar): Ditto.
138
        (putwc): Ditto.
139
        (putwchar): Ditto.
140
        * libc/include/sys/reent.h (struct __sFILE): Add _mbstate member.
141
        (struct __sFILE64): Ditto.
142
        * libc/stdio/Makefile.am (ELIX_4_SOURCES): Add fgetwc.c, fgetws.c,
143
        fputwc.c, fputws.c, fwide.c, getwc.c, getwchar.c, putwc.c, putwchar.c
144
        and ungetwc.c.
145
        (CHEWOUT_FILES): Add fgetwc.def, fgetws.def, fputwc.def, fputws.def,
146
        fwide.def, getwc.def, getwchar.def, putwc.def, putwchar.def and
147
        ungetwc.def.
148
        Add header dependency rules for the new files.
149
        * libc/stdio/Makefile.in: Regenerate.
150
        * libc/stdio/fgetwc.c: New file, implementing fgetwc and _fgetwc_r.
151
        * libc/stdio/fgetws.c: New file, implementing fgetws and _fgetws_r.
152
        * libc/stdio/findfp.c (std): Initialize FILE's _mbstate member.
153
        (__sfmoreglue): Ditto.
154
        * libc/stdio/fputs.c (_fputs_r): Set stream orientation.
155
        * libc/stdio/fputwc.c: New file, implementing fputwc and _fputwc_r.
156
        * libc/stdio/fputws.c: New file, implementing fputws and _fputws_r.
157
        * libc/stdio/fread.c (_fread_r): Set stream orientation.
158
        * libc/stdio/freopen.c (_freopen_r): Reset stream orientation.  Reset
159
        _mbstate.
160
        * libc/stdio/fseek.c (_fseek_r): Reset _mbstate.
161
        * libc/stdio/fwide.c: New file, implementing fwide and _fwide_r.
162
        * libc/stdio/fwrite.c (_fwrite_r): Set stream orientation.
163
        * libc/stdio/getwc.c: New file, implementing getwc and _getwc_r.
164
        * libc/stdio/getwchar.c: New file, implementing getwchar and
165
        _getwchar_r.
166
        * libc/stdio/local.h (ORIENT): New macro.
167
        * libc/stdio/puts.c (_puts_r): Set stream orientation.
168
        * libc/stdio/putwc.c: New file, implementing putwc and _putwc_r.
169
        * libc/stdio/putwchar.c: New file, implementing putwchar and
170
        _putwchar_r.
171
        * libc/stdio/refill.c (__srefill_r): Set stream orientation.
172
        * libc/stdio/stdio.tex: Add documentation for new functions.
173
        * libc/stdio/ungetc.c (_ungetc_r): Set stream orientation.
174
        * libc/stdio/ungetwc.c: New file, implementing ungetwc and _ungetwc_r.
175
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Set stream orientation.
176
        * libc/stdio/wbuf.c (__swbuf_r): Ditto.
177
 
178
2008-12-10  Joseph Myers  
179
 
180
        * libc/include/stdint.h (INT32_MIN, INT32_MAX, UINT32_MAX,
181
        INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX): Define to
182
        constants with "long" types where appropriate.
183
        (INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN,
184
        INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX,
185
        UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX):
186
        Correct to match logic for defining corresponding types.
187
        (INTMAX_MAX, INTMAX_MIN, UINTMAX_MAX): Define.
188
        (SIZE_MAX): Define using __SIZE_MAX__ if available.
189
        (PTRDIFF_MAX): Define using __PTRDIFF_MAX__ if available.
190
        (PTRDIFF_MIN): Define in terms of PTRDIFF_MAX.
191
        (WCHAR_MAX, WCHAR_MIN, WINT_MAX, WINT_MIN): Define.
192
        (UINT8_C, UINT16_C): Define to give signed values if corresponding
193
        types would promote to int.
194
 
195
2008-12-04  Corinna Vinschen  
196
 
197
        * libc/include/sys/features.h (_POSIX_V6_ILP32_OFF32): Always define.
198
        (_POSIX_V6_LP64_OFF64): Ditto.
199
        (_POSIX_V6_LPBIG_OFFBIG): Ditto.
200
 
201
2008-11-28  Jeff Johnston  
202
 
203
        * libc/sys/linux/inode.c: Include  instead of
204
        .
205
        * libc/sys/linux/io64.c: Add weak alias for _stat64.
206
 
207
2008-11-27  Ralf Corsepius 
208
 
209
        * libc/posix/telldir.c: Use #if !defined() instead of #ifndef
210
        to fix GCC warning.
211
 
212
2008-11-27  Ken Werner  
213
 
214
        * libc/machine/spu/Makefile.am: Add spu-mcount.S spu-gmon.c.
215
        * libc/machine/spu/Makefile.in: Regenerated.
216
        * libc/machine/spu/spu-gmon.c: New file.
217
        * libc/machine/spu/spu-mcount.S: New file.
218
 
219
2008-11-27  Joel Sherrill 
220
 
221
        * configure.host (*-rtems*): Turn on using portion of unix subdirectory.
222
 
223
2008-11-27  Craig Howland 
224
 
225
        * libc/argz/argz_add.c:  Added #include  to get function
226
        prototypes.
227
        * libc/argz/argz_append.c: Ditto.
228
        * libc/argz/argz_count.c: Ditto.
229
        * libc/argz/argz_create.c: Ditto.
230
        * libc/argz/argz_create_sep.c: Ditto.
231
        * libc/argz/argz_delete.c: Ditto.
232
        * libc/argz/argz_next.c: Ditto.
233
        * libc/argz/argz_stringify.c: Ditto
234
        * libc/stdlib/strtod.c: Added #include  to get function
235
        prototypes.
236
        * libc/stdlib/wcstoul.c: Added #include  to get function
237
        prototypes, corrected traditional usage comment.
238
        * libc/include/wchar.h: Added _mbsrtowcs_r() prototype.
239
 
240
2008-11-26 Ken Werner 
241
 
242
        * libm/machine/spu/headers/acosd2.h: Rebase against current simdmath.
243
        * libm/machine/spu/headers/asind2.h: Likewise.
244
        * libm/machine/spu/headers/asinhf4.h: Likewise.
245
        * libm/machine/spu/headers/divd2.h: Likewise.
246
        * libm/machine/spu/headers/erf_utils.h: Likewise.
247
        * libm/machine/spu/headers/erfcd2.h: Likewise.
248
        * libm/machine/spu/headers/erfcf4.h: Likewise.
249
        * libm/machine/spu/headers/erfd2.h: Likewise.
250
        * libm/machine/spu/headers/recipd2.h: Likewise.
251
 
252
2008-11-25  Corinna Vinschen  
253
 
254
        * libc/stdio/gets.c (_gets_r): Lock stdin here and call
255
        __sgetc_r instead of _getchar_r.
256
 
257
2008-11-24  Craig Howland  
258
 
259
        * libc/stdlib/wcstoull_r.c:  Add EINVAL return for bad base value,
260
        include wchar.h for prototype, remove extraneous includes, use
261
        C99/POSIX ULLONG_MAX (but allow for poor limits.h).
262
        * libc/stdlib/wcstoull.c:  Fix usage comments (mistakes and to add
263
        base value check noted above), remove extraneous includes.
264
        * libc/stdio/asnprintf.c:  Add #include "local.h" to get function
265
        prototype for _svfprintf_r().
266
        * libc/stdio/vasnprintf.c:  Ditto.
267
        * libc/stdio/local.h:  Add function prototype for __submore().
268
        * libc/include/stdio.h:  Add function prototypes for _fseeko_r and
269
        _ftello_r.
270
        * libc/posix/namespace.h:  Commented out define for write to
271
        eliminate write() prototype being missing for collate.c (which is
272
        the only file that presently includes namespace.h).
273
        * libc/include/reent.h:  Added _rename_r.
274
        * libc/reent/renamer.c:  Corrected function prototypes in synopses.
275
        * libc/locale/ldpart.c:  Use struct stat64 when calling fstat64.
276
 
277
2008-11-24  Jeff Johnston  
278
 
279
        * libc/search/hash_func.c: Comment out unused static hash functions.
280
        * libc/reent/stat64r.c: New file.
281
        * libc/reent/Makefile.am: Add stat64r.c support.
282
        * libc/reent/Makefile.in: Regenerated.
283
 
284
2008-11-24  Joel Sherrill 
285
 
286
        * libc/posix/scandir.c: Fix memory leaks.
287
 
288
2008-11-24  Joel Sherrill 
289
 
290
        * libc/posix/Makefile.am: Compile readdir_r.c not readdir.c twice.
291
        * libc/posix/Makefile.in: Regenerated.
292
 
293
2008-11-24  Corinna Vinschen  
294
 
295
        * libc/include/stdio.h (__SMOD): Remove definition of unused flag.
296
        * libc/include/sys/reent.h (struct __sFILE): Add _flags2 member.
297
        * libc/stdio/findfp.c (std): Initialize _flags2.
298
        (__sfp): Ditto.
299
        * libc/stdio/refill.c (__srefill_r): Drop resetting __SMOD flag.
300
        * libc/stdio/vfscanf.c (__ssrefill_r): Ditto.
301
        * libc/stdio/fseek.c (_fseek_r): Drop checking __SMOD flag.
302
        * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
303
 
304
2008-11-20  Ken Werner  
305
 
306
        * libc/machine/spu/sys/linux_syscalls.h: Additional syscall defines to
307
        be in sync with current kernels.
308
 
309
2008-11-20  Ken Werner  
310
            Patrick Mansfield  
311
            Joel Schopp   
312
 
313
        * libc/machine/spu/configure.in: Add __ea detection.
314
        * libc/machine/spu/Makefile.am: Add new files.
315
        * libc/machine/spu/include/ea.h: New file.
316
        * libc/machine/spu/ea_internal.h: Likewise.
317
        * libc/machine/spu/sys/mman.h: Likewise.
318
        * libc/machine/spu/mmap_ea.c: Likewise.
319
        * libc/machine/spu/munmap_ea.c: Likewise.
320
        * libc/machine/spu/mremap_ea.c: Likewise.
321
        * libc/machine/spu/msync_ea.c: Likewise.
322
        * libc/machine/spu/memchr_ea.c: Likewise.
323
        * libc/machine/spu/memcmp_ea.c: Likewise.
324
        * libc/machine/spu/memcpy_ea.c: Likewise.
325
        * libc/machine/spu/memmove_ea.c: Likewise.
326
        * libc/machine/spu/memset_ea.c: Likewise.
327
        * libc/machine/spu/malloc_ea.c: Likewise.
328
        * libc/machine/spu/realloc_ea.c: Likewise.
329
        * libc/machine/spu/calloc_ea.c: Likewise.
330
        * libc/machine/spu/free_ea.c: Likewise.
331
        * libc/machine/spu/posix_memalign_ea.c: Likewise.
332
        * libc/machine/spu/strcat_ea.c: Likewise.
333
        * libc/machine/spu/strchr_ea.c: Likewise.
334
        * libc/machine/spu/strcmp_ea.c: Likewise.
335
        * libc/machine/spu/strcpy_ea.c: Likewise.
336
        * libc/machine/spu/strcspn_ea.c: Likewise.
337
        * libc/machine/spu/strlen_ea.c: Likewise.
338
        * libc/machine/spu/strncat_ea.c: Likewise.
339
        * libc/machine/spu/strncmp_ea.c: Likewise.
340
        * libc/machine/spu/strncpy_ea.c: Likewise.
341
        * libc/machine/spu/strpbrk_ea.c: Likewise.
342
        * libc/machine/spu/strrchr_ea.c: Likewise.
343
        * libc/machine/spu/strspn_ea.c: Likewise.
344
        * libc/machine/spu/strstr_ea.c: Likewise.
345
        * libc/machine/spu/read_ea.c: Likewise.
346
        * libc/machine/spu/pread_ea.c: Likewise.
347
        * libc/machine/spu/readv_ea.c: Likewise.
348
        * libc/machine/spu/write_ea.c: Likewise.
349
        * libc/machine/spu/pwrite_ea.c: Likewise.
350
        * libc/machine/spu/writev_ea.c: Likewise.
351
 
352
2008-11-19  Joel Sherrill 
353
 
354
        * libc/include/sys/config.h[__mips__]: Don't bother
355
        setting __ATTRIBUTE_IMPURE_PTR__ here.
356
        [__rtems__][__mips__]: No need to undef the __ATTRIBUTE_IMPURE_PTR__
357
        macro anymore.
358
 
359
2008-11-19  Jeff Johnston  
360
 
361
        * libc/sys/linux/bits/dirent.h: New header file.
362
        * libc/sys/linux/sys/dirent.h: Include  instead of
363
        .
364
        * libc/posix/Makefile.am: Remove reallocf.
365
        * libc/posix/Makefile.in: Regenerated.
366
        * libc/posix/reallocf.c: Moved to...
367
        * libc/stdlib/reallocf.c: Here
368
        * libc/stdlib/malloc.c: Add reallocf documentation.
369
        * libc/include/stdlib.h: Add reallocf and _reallocf_r prototypes.
370
        * libc/stdlib/Makefile.am: Add reallocf.
371
        * libc/stdlib/Makefile.in: Regenerated.
372
        * libc/posix/_isatty.c: Set errno.
373
 
374
2008-11-19  Craig Howland  
375
 
376
        * libc/unix/collate.c (__collate_err): simplify to remove unnecessary
377
        strdup() and strlen() calls, also getting rid of a compiler warning.
378
 
379
2008-11-19  Ralf Corsepius 
380
 
381
        * libc/include/sys/config.h: Don't put
382
        __ATTRIBUTE_IMPURE_PTR__ into .sdata section for mips-rtems.
383
 
384
2008-11-19  Ralf Corsepius  
385
 
386
        * libc/posix/runetype.h: Add include of stddef.h and remove
387
        defining standard types: size_t and wchar_t.
388
 
389
2008-11-19  Ralf Corsepius  
390
 
391
        * libc/include/pthread.h: Remove prototypes for
392
        pthread_attr_getcputime and pthread_attr_setcputime which
393
        were proposed but never approved by the POSIX standard.
394
 
395
2008-11-18  Joel Sherrill 
396
 
397
        * libc/unix/ttyname.c: Use isatty() instead of tcgetattr().
398
 
399
2008-11-18  Jeff Johnston  
400
 
401
        * libc/unix/basename.c: Add !_NO_BASENAME flag check so code can be
402
        ignored if desired by a platform.
403
        * libc/unix/dirname.c: Ditto except replace BASENAME with file name.
404
        * libc/unix/getcwd.c: Ditto.
405
        * libc/unix/getlogin.c: Ditto.
406
        * libc/unix/getpass.c: Ditto.
407
        * libc/unix/getpwent.c: Ditto.
408
        * libc/unix/getut.c: Ditto.
409
        * libc/unix/pread.c: Ditto.
410
        * libc/unix/pwrite.c: Ditto.
411
        * libc/unix/sigset.c: Ditto.
412
 
413
2008-11-18  Craig Howland  
414
 
415
        * libc/unix/ttyname.c: Add ttyname_r and change ttyname to use
416
        ttyname_r.
417
 
418
2008-11-17  Joel Sherrill 
419
 
420
        * configure.host: RTEMS now uses posix subdirectory.
421
 
422
2008-11-17  Joel Sherrill 
423
 
424
        * sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX.
425
        * sys/rtems/sys/param.h: sys/rtprio.h not needed.
426
 
427
2008-10-31  Jeff Johnston  
428
 
429
        * libc/stdio/diprintf.c: Modify documentation so eclipse newlib
430
        libhover docs generate properly.
431
        * libc/stdio/dprintf.c: Ditto.
432
        * libc/stdio/fflush.c: Ditto.
433
        * libc/stdio/fopencookie.c: Ditto.
434
        * libc/stdio/fread.c: Ditto.
435
        * libc/stdio/fsetpos.c: Ditto.
436
        * libc/stdio/getc_u.c: Ditto.
437
        * libc/stdio/getchar_u.c: Ditto.
438
        * libc/stdio/putc_u.c: Ditto.
439
        * libc/stdio/putchar_u.c: Ditto.
440
        * libc/stdio/remove.c: Ditto.
441
        * libc/stdio/siprintf.c: Ditto.
442
        * libc/stdio/siscanf.c: Ditto.
443
        * libc/stdio/sprintf.c: Ditto.
444
        * libc/stdio/sscanf.c: Ditto.
445
        * libc/stdio/vfprintf.c: Ditto.
446
        * libc/stdio/vfscanf.c: Ditto.
447
        * libc/stdio/viprintf.c: Ditto.
448
        * libc/stdio/viscanf.c: Ditto.
449
        * libc/stdlib/calloc.c: Ditto.
450
        * libc/stdlib/efgcvt.c: Ditto.
451
        * libc/stdlib/envlock.c: Ditto.
452
        * libc/time/asctime.c: Ditto.
453
        * libc/time/ctime.c: Ditto.
454
        * libc/time/gmtime.c: Ditto.
455
        * libc/time/lcltime.c: Ditto.
456
        * libc/time/tzset.c: Ditto.
457
        * libc/stdlib/envlock.h: Moved to libc/include.
458
 
459
2008-10-31  Jeff Johnston  
460
 
461
        * libc/include/limits.h: Add ARG_MAX, PATH_MAX, and _POSIX2_RE_DUP_MAX.
462
        * libc/include/envlock.h: New file.
463
        * libc/include/fnmatch.h: Ditto.
464
        * libc/include/glob.h: Ditto.
465
        * libc/include/regex.h: Ditto.
466
        * libc/include/wordexp.h: Ditto.
467
        * libc/posix/Makefile.am: Add new files moved from
468
        libc/sys/linux/stdlib.
469
        * libc/posix/Makefile.in: Regenerated.
470
        * libc/posix/COPYRIGHT: New file moved from libc/sys/linux/stdlib.
471
        * libc/posix/cclass.h: Ditto.
472
        * libc/posix/cname.h: Ditto.
473
        * libc/posix/collate.c: Ditto.
474
        * libc/posix/collate.h: Ditto.
475
        * libc/posix/collcmp.c: Ditto.
476
        * libc/posix/engine.c: Ditto.
477
        * libc/posix/fnmatch.3: Ditto.
478
        * libc/posix/glob.3: Ditto.
479
        * libc/posix/fnmatch.c: Ditto.
480
        * libc/posix/glob.c: Ditto.
481
        * libc/posix/namespace.h: Ditto.
482
        * libc/posix/reallocf.c: Ditto.
483
        * libc/posix/regcomp.c: Ditto.
484
        * libc/posix/regerror.c: Ditto.
485
        * libc/posix/regex.3: Ditto.
486
        * libc/posix/regex2.h: Ditto.
487
        * libc/posix/regexec.c: Ditto.
488
        * libc/posix/regfree.c: Ditto.
489
        * libc/posix/rune.h: Ditto.
490
        * libc/posix/runetype.h: Ditto.
491
        * libc/posix/scandir.c: Remove advertising clause which is not in
492
        effect.
493
        * libc/posix/sysexits.h: Ditto.
494
        * libc/posix/un-namespace.h: Ditto.
495
        * libc/posix/utils.h: Ditto.
496
        * libc/posix/wordexp.c: Ditto.
497
        * libc/posix/wordfree.c: Ditto.
498
        * libc/posix/execl.c: Add !_NO_EXECVE flag check.
499
        * libc/posix/execle.c: Ditto.
500
        * libc/posix/execlp.c: Ditto.
501
        * libc/posix/execv.c: Ditto.
502
        * libc/posix/execve.c: Ditto.
503
        * libc/posix/execvp.c: Ditto.
504
        * libc/posix/popen.c: Add !_NO_POPEN flag check.
505
        * libc/sys/linux/configure: Regenerated.
506
        * libc/sys/linux/configure.in: Remove stdlib.
507
        * libc/sys/linux/include/limits.h: Add include of linux/limits.h.
508
        * libc/sys/linux/stdlib/Makefile.am: Removed.
509
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
510
        * libc/sys/linux/stdlib/COPYRIGHT: Moved to libc/posix.
511
        * libc/sys/linux/stdlib/cclass.h: Ditto.
512
        * libc/sys/linux/stdlib/cname.h: Ditto.
513
        * libc/sys/linux/stdlib/collate.c: Ditto.
514
        * libc/sys/linux/stdlib/collate.h: Ditto.
515
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
516
        * libc/sys/linux/stdlib/engine.c: Ditto.
517
        * libc/sys/linux/stdlib/fnmatch.3: Ditto.
518
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
519
        * libc/sys/linux/stdlib/glob.3: Ditto.
520
        * libc/sys/linux/stdlib/glob.c: Ditto.
521
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
522
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
523
        * libc/sys/linux/stdlib/regerror.c: Ditto.
524
        * libc/sys/linux/stdlib/regex.3: Ditto.
525
        * libc/sys/linux/stdlib/regex2.h: Ditto.
526
        * libc/sys/linux/stdlib/regexec.c: Ditto.
527
        * libc/sys/linux/stdlib/regfree.c: Ditto.
528
        * libc/sys/linux/stdlib/utils.h: Ditto.
529
        * libc/sys/linux/stdlib/wordexp.c: Ditto.
530
        * libc/sys/linux/stdlib/wordfree.c: Ditto.
531
 
532
2008-10-16  Joel Sherrill 
533
 
534
        * libc/include/sys/unistd.h: RTEMS follows standard for sync().
535
 
536
2008-10-16  Joel Sherrill 
537
 
538
        * libc/include/time.h: Add CLOCK_MONOTONIC.
539
        * libc/include/sys/features.h: Define
540
        _POSIX_MONOTONIC_CLOCK for RTEMS.
541
 
542
2008-10-15  Jeff Johnston  
543
 
544
        * newlib.hin: Restore to previous 1.14 version which has no
545
        PACKAGE_ macros.
546
 
547
2008-10-15  Joel Sherrill 
548
 
549
        * libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
550
 
551
2008-10-15  Craig Howland  
552
 
553
        * libc/include/ctype.h (isblank):  isblank is C99.
554
        * libc/ctype/isblank.c (isblank comments):  ditto.  isblank does not
555
        have a macro version (as was claimed in the description).
556
 
557
2008-10-15  Jeff Johnston  
558
 
559
        * libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or
560
        %S conversions when the EL/IX level is 1.
561
 
562
2008-10-06  Eric Blake  
563
 
564
        * libc/stdlib/ldtoa.c (etoasc): Fix rounding to even when fraction
565
        is 0.5 or 0.75.
566
 
567
2008-10-06  Craig Howland  
568
 
569
        * libc/time/tzset_r.c (_tzset_r):  Change US default start/end dates to
570
        2007 law revision of start in 2nd Sunday in March, end 1st Sun in Nov.
571
 
572
2008-10-02  Jeff Johnston  
573
 
574
        * libc/string/str-two-way.h (critical_factorization): Cast the index
575
        operation to ensure unsigned rollover occurs when adding to SIZE_MAX.
576
 
577
2008-10-02  Jeff Johnston  
578
 
579
        * libc/sys/linux/include/stdint.h (SIZE_MAX): Fix value which should
580
        be size of size_t, not int.
581
        (SIZE_MIN): Remove.
582
        * libc/sys/linux/sys/stdint.h: Ditto.
583
 
584
2008-10-02  Jeff Johnston  
585
 
586
        * libc/include/sys/reent.h[_REENT_SMALL](_REENT_INIT_RAND48): Add
587
        initialization of _rand_next to 1.
588
 
589
2008-09-29  Peter O'Gorman  
590
            Steve Ellcey  
591
 
592
        * configure: Regenerate for new libtool.
593
        * aclocal.m4: Ditto.
594
        * Makefile.in: Ditto.
595
        * newlib.hin: Ditto.
596
        * doc/Makefile.in: Ditto.
597
        * doc/configure: Ditto.
598
        * iconvdata/Makefile.in: Ditto.
599
        * iconvdata/aclocal.m4: Ditto.
600
        * iconvdata/configure: Ditto.
601
        * libc/Makefile.in: Ditto.
602
        * libc/aclocal.m4: Ditto.
603
        * libc/configure: Ditto.
604
        * libc/argz/Makefile.in: Ditto.
605
        * libc/ctype/Makefile.in: Ditto.
606
        * libc/errno/Makefile.in: Ditto.
607
        * libc/iconv/Makefile.in: Ditto.
608
        * libc/iconv/ccs/Makefile.in: Ditto.
609
        * libc/iconv/ccs/binary/Makefile.in: Ditto.
610
        * libc/iconv/ces/Makefile.in: Ditto.
611
        * libc/iconv/lib/Makefile.in: Ditto.
612
        * libc/locale/Makefile.in: Ditto.
613
        * libc/machine/Makefile.in: Ditto.
614
        * libc/machine/aclocal.m4: Ditto.
615
        * libc/machine/configure: Ditto.
616
        * libc/machine/a29k/Makefile.in: Ditto.
617
        * libc/machine/a29k/configure: Ditto.
618
        * libc/machine/arm/Makefile.in: Ditto.
619
        * libc/machine/arm/configure: Ditto.
620
        * libc/machine/bfin/Makefile.in: Ditto.
621
        * libc/machine/bfin/configure: Ditto.
622
        * libc/machine/cris/Makefile.in: Ditto.
623
        * libc/machine/cris/configure: Ditto.
624
        * libc/machine/crx/Makefile.in: Ditto.
625
        * libc/machine/crx/configure: Ditto.
626
        * libc/machine/d10v/Makefile.in: Ditto.
627
        * libc/machine/d10v/configure: Ditto.
628
        * libc/machine/d30v/Makefile.in: Ditto.
629
        * libc/machine/d30v/configure: Ditto.
630
        * libc/machine/fr30/Makefile.in: Ditto.
631
        * libc/machine/fr30/configure: Ditto.
632
        * libc/machine/frv/Makefile.in: Ditto.
633
        * libc/machine/frv/configure: Ditto.
634
        * libc/machine/h8300/Makefile.in: Ditto.
635
        * libc/machine/h8300/configure: Ditto.
636
        * libc/machine/h8500/Makefile.in: Ditto.
637
        * libc/machine/h8500/configure: Ditto.
638
        * libc/machine/hppa/Makefile.in: Ditto.
639
        * libc/machine/hppa/configure: Ditto.
640
        * libc/machine/i386/Makefile.in: Ditto.
641
        * libc/machine/i386/aclocal.m4: Ditto.
642
        * libc/machine/i386/configure: Ditto.
643
        * libc/machine/i960/Makefile.in: Ditto.
644
        * libc/machine/i960/configure: Ditto.
645
        * libc/machine/iq2000/Makefile.in: Ditto.
646
        * libc/machine/iq2000/configure: Ditto.
647
        * libc/machine/m32c/Makefile.in: Ditto.
648
        * libc/machine/m32c/configure: Ditto.
649
        * libc/machine/m32r/Makefile.in: Ditto.
650
        * libc/machine/m32r/configure: Ditto.
651
        * libc/machine/m68hc11/Makefile.in: Ditto.
652
        * libc/machine/m68hc11/configure: Ditto.
653
        * libc/machine/m68k/Makefile.in: Ditto.
654
        * libc/machine/m68k/configure: Ditto.
655
        * libc/machine/m88k/Makefile.in: Ditto.
656
        * libc/machine/m88k/configure: Ditto.
657
        * libc/machine/mep/Makefile.in: Ditto.
658
        * libc/machine/mep/configure: Ditto.
659
        * libc/machine/mips/Makefile.in: Ditto.
660
        * libc/machine/mips/configure: Ditto.
661
        * libc/machine/mn10200/Makefile.in: Ditto.
662
        * libc/machine/mn10200/configure: Ditto.
663
        * libc/machine/mn10300/Makefile.in: Ditto.
664
        * libc/machine/mn10300/configure: Ditto.
665
        * libc/machine/mt/Makefile.in: Ditto.
666
        * libc/machine/mt/configure: Ditto.
667
        * libc/machine/necv70/Makefile.in: Ditto.
668
        * libc/machine/necv70/configure: Ditto.
669
        * libc/machine/powerpc/Makefile.in: Ditto.
670
        * libc/machine/powerpc/configure: Ditto.
671
        * libc/machine/sh/Makefile.in: Ditto.
672
        * libc/machine/sh/configure: Ditto.
673
        * libc/machine/sparc/Makefile.in: Ditto.
674
        * libc/machine/sparc/configure: Ditto.
675
        * libc/machine/spu/Makefile.in: Ditto.
676
        * libc/machine/spu/configure: Ditto.
677
        * libc/machine/tic4x/Makefile.in: Ditto.
678
        * libc/machine/tic4x/configure: Ditto.
679
        * libc/machine/tic80/Makefile.in: Ditto.
680
        * libc/machine/tic80/configure: Ditto.
681
        * libc/machine/v850/Makefile.in: Ditto.
682
        * libc/machine/v850/configure: Ditto.
683
        * libc/machine/w65/Makefile.in: Ditto.
684
        * libc/machine/w65/configure: Ditto.
685
        * libc/machine/x86_64/Makefile.in: Ditto.
686
        * libc/machine/x86_64/configure: Ditto.
687
        * libc/machine/xscale/Makefile.in: Ditto.
688
        * libc/machine/xscale/configure: Ditto.
689
        * libc/machine/xstormy16/Makefile.in: Ditto.
690
        * libc/machine/xstormy16/configure: Ditto.
691
        * libc/machine/z8k/Makefile.in: Ditto.
692
        * libc/machine/z8k/configure: Ditto.
693
        * libc/misc/Makefile.in: Ditto.
694
        * libc/posix/Makefile.in: Ditto.
695
        * libc/reent/Makefile.in: Ditto.
696
        * libc/search/Makefile.in: Ditto.
697
        * libc/signal/Makefile.in: Ditto.
698
        * libc/stdio/Makefile.in: Ditto.
699
        * libc/stdio64/Makefile.in: Ditto.
700
        * libc/stdlib/Makefile.in: Ditto.
701
        * libc/string/Makefile.in: Ditto.
702
        * libc/sys/Makefile.in: Ditto.
703
        * libc/sys/aclocal.m4: Ditto.
704
        * libc/sys/configure: Ditto.
705
        * libc/sys/a29khif/Makefile.in: Ditto.
706
        * libc/sys/a29khif/configure: Ditto.
707
        * libc/sys/arc/Makefile.in: Ditto.
708
        * libc/sys/arc/configure: Ditto.
709
        * libc/sys/arm/Makefile.in: Ditto.
710
        * libc/sys/arm/configure: Ditto.
711
        * libc/sys/d10v/Makefile.in: Ditto.
712
        * libc/sys/d10v/configure: Ditto.
713
        * libc/sys/decstation/Makefile.in: Ditto.
714
        * libc/sys/decstation/configure: Ditto.
715
        * libc/sys/h8300hms/Makefile.in: Ditto.
716
        * libc/sys/h8300hms/configure: Ditto.
717
        * libc/sys/h8500hms/Makefile.in: Ditto.
718
        * libc/sys/h8500hms/configure: Ditto.
719
        * libc/sys/linux/Makefile.in: Ditto.
720
        * libc/sys/linux/aclocal.m4: Ditto.
721
        * libc/sys/linux/configure: Ditto.
722
        * libc/sys/linux/argp/Makefile.in: Ditto.
723
        * libc/sys/linux/cmath/Makefile.in: Ditto.
724
        * libc/sys/linux/dl/Makefile.in: Ditto.
725
        * libc/sys/linux/iconv/Makefile.in: Ditto.
726
        * libc/sys/linux/intl/Makefile.in: Ditto.
727
        * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
728
        * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
729
        * libc/sys/linux/linuxthreads/configure: Ditto.
730
        * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
731
        * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
732
        * libc/sys/linux/linuxthreads/machine/configure: Ditto.
733
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
734
        * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
735
        * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
736
        * libc/sys/linux/machine/Makefile.in: Ditto.
737
        * libc/sys/linux/machine/aclocal.m4: Ditto.
738
        * libc/sys/linux/machine/configure: Ditto.
739
        * libc/sys/linux/machine/i386/Makefile.in: Ditto.
740
        * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
741
        * libc/sys/linux/machine/i386/configure: Ditto.
742
        * libc/sys/linux/net/Makefile.in: Ditto.
743
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
744
        * libc/sys/m88kbug/Makefile.in: Ditto.
745
        * libc/sys/m88kbug/configure: Ditto.
746
        * libc/sys/mmixware/Makefile.in: Ditto.
747
        * libc/sys/mmixware/configure: Ditto.
748
        * libc/sys/netware/Makefile.in: Ditto.
749
        * libc/sys/netware/configure: Ditto.
750
        * libc/sys/rdos/Makefile.in: Ditto.
751
        * libc/sys/rdos/configure: Ditto.
752
        * libc/sys/rtems/Makefile.in: Ditto.
753
        * libc/sys/rtems/configure: Ditto.
754
        * libc/sys/sh/Makefile.in: Ditto.
755
        * libc/sys/sh/configure: Ditto.
756
        * libc/sys/sparc64/Makefile.in: Ditto.
757
        * libc/sys/sparc64/configure: Ditto.
758
        * libc/sys/sun4/Makefile.in: Ditto.
759
        * libc/sys/sun4/configure: Ditto.
760
        * libc/sys/sysmec/Makefile.in: Ditto.
761
        * libc/sys/sysmec/configure: Ditto.
762
        * libc/sys/sysnec810/Makefile.in: Ditto.
763
        * libc/sys/sysnec810/configure: Ditto.
764
        * libc/sys/sysnecv850/Makefile.in: Ditto.
765
        * libc/sys/sysnecv850/configure: Ditto.
766
        * libc/sys/sysvi386/Makefile.in: Ditto.
767
        * libc/sys/sysvi386/configure: Ditto.
768
        * libc/sys/sysvnecv70/Makefile.in: Ditto.
769
        * libc/sys/sysvnecv70/configure: Ditto.
770
        * libc/sys/tic80/Makefile.in: Ditto.
771
        * libc/sys/tic80/configure: Ditto.
772
        * libc/sys/w65/Makefile.in: Ditto.
773
        * libc/sys/w65/configure: Ditto.
774
        * libc/sys/z8ksim/Makefile.in: Ditto.
775
        * libc/sys/z8ksim/configure: Ditto.
776
        * libc/syscalls/Makefile.in: Ditto.
777
        * libc/time/Makefile.in: Ditto.
778
        * libc/unix/Makefile.in: Ditto.
779
        * libm/Makefile.in: Ditto.
780
        * libm/aclocal.m4: Ditto.
781
        * libm/configure: Ditto.
782
        * libm/common/Makefile.in: Ditto.
783
        * libm/machine/Makefile.in: Ditto.
784
        * libm/machine/aclocal.m4: Ditto.
785
        * libm/machine/configure: Ditto.
786
        * libm/machine/i386/Makefile.in: Ditto.
787
        * libm/machine/i386/aclocal.m4: Ditto.
788
        * libm/machine/i386/configure: Ditto.
789
        * libm/machine/spu/Makefile.in: Ditto.
790
        * libm/machine/spu/configure: Ditto.
791
        * libm/math/Makefile.in: Ditto.
792
        * libm/mathfp/Makefile.in: Ditto.
793
 
794
2008-09-26  Craig Howland  
795
 
796
        * libc/stdlib/getenv_r.c (_getenv_r): Modify to not match if name
797
        contains an equal sign.
798
 
799
2008-09-25  Raphael Derossa Pereira  
800
 
801
        * libc/include/pthread.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
802
        new pthread_mutexattr_gettype and pthread_mutexattr_settype
803
        prototypes.
804
        * libc/include/sys/types.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
805
        new mutex type values.
806
        (pthread_mutexattr_t)[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add type
807
        field.
808
 
809
2008-09-24  Jeff Johnston  
810
 
811
        * libc/stdlib/setenv_r.c (_unsetenv_r): Modify to return -1 only if
812
        name is NULL, empty, or contains equal sign.
813
 
814
2008-09-24  Pawel Veselov  
815
 
816
        Fix setenv/getenv/unsetenv to be OpenGroup compliant:
817
        * libc/include/stdlib.h (unsetenv, _unsetenv_r): Redefine with integer
818
        return types.
819
        * libc/stdlib/getenv_r.c (_findenv_r): Do no special processing with
820
        names that contain equal chars.
821
        * libc/stdlib/setenv.c: Redefine _unsetenv_r as returning int.
822
        * libc/stdlib/setenv_r.c (_setenv_r): Return -1 and set errno to
823
        EINVAL if name contains an equal sign.  Do not remove any equal signs
824
        from the value.
825
        (_unsetenv_r): Modified to return int.  Return -1 and set EINVAL
826
        if name contains equal sign.  Return -1 if no variable(s) were found
827
        and return 0 otherwise.
828
 
829
2008-09-19  Eric Blake  
830
 
831
        Supply missing POSIX errno values.
832
        * libc/include/sys/errno.h (ENOTRECOVERABLE, EOWNERDEAD): Define.
833
        * libc/string/strerror.c (strerror): Decode them, and ECANCELED.
834
 
835
2008-09-10  Ken Werner  
836
 
837
        * libc/machine/spu/strcpy.h: Add missing header.
838
        * libc/machine/spu/spu_timer_slih.c: Remove unused Variable.
839
        * libm/machine/spu/headers/lgammaf4.h: Add type cast.
840
 
841
2008-09-08  Jeff Johnston  
842
 
843
        * libc/sys/linux/dl/atomicity.h (exchange_and_add): Fix asm
844
        statement to use "m" instead of "0".
845
        (atomic_add): Ditto.
846
        * libc/sys/linux/linuxthreads/spinlock.c (__pthread_release): Ditto.
847
        * libc/sys/linux/net/getaddrinfo.c: Add limit.h include.
848
        * libc/sys/linux/stdlib/glob.c: Ditto.
849
 
850
2008-09-04  Ken Werner  
851
 
852
        * libm/machine/spu/headers/acosd2.h: Duplicated preamble text removed.
853
        * libm/machine/spu/headers/acosf4.h: Likewise.
854
        * libm/machine/spu/headers/acoshd2.h: Likewise.
855
        * libm/machine/spu/headers/acoshf4.h: Likewise.
856
        * libm/machine/spu/headers/asind2.h: Likewise.
857
        * libm/machine/spu/headers/asinf4.h: Likewise.
858
        * libm/machine/spu/headers/asinhd2.h: Likewise.
859
        * libm/machine/spu/headers/asinhf4.h: Likewise.
860
        * libm/machine/spu/headers/atan2d2.h: Likewise.
861
        * libm/machine/spu/headers/atan2f4.h: Likewise.
862
        * libm/machine/spu/headers/atand2.h: Likewise.
863
        * libm/machine/spu/headers/atanf4.h: Likewise.
864
        * libm/machine/spu/headers/atanhd2.h: Likewise.
865
        * libm/machine/spu/headers/atanhf4.h: Likewise.
866
        * libm/machine/spu/headers/cos_sin.h: Likewise.
867
        * libm/machine/spu/headers/cosd2.h: Likewise.
868
        * libm/machine/spu/headers/cosf4.h: Likewise.
869
        * libm/machine/spu/headers/coshd2.h: Likewise.
870
        * libm/machine/spu/headers/coshf4.h: Likewise.
871
        * libm/machine/spu/headers/divd2.h: Likewise.
872
        * libm/machine/spu/headers/divf4.h: Likewise.
873
        * libm/machine/spu/headers/erf_utils.h: Likewise.
874
        * libm/machine/spu/headers/erfcd2.h: Likewise.
875
        * libm/machine/spu/headers/erfcf4.h: Likewise.
876
        * libm/machine/spu/headers/erfd2.h: Likewise.
877
        * libm/machine/spu/headers/erff4.h: Likewise.
878
        * libm/machine/spu/headers/exp2d2.h: Likewise.
879
        * libm/machine/spu/headers/exp2f4.h: Likewise.
880
        * libm/machine/spu/headers/expd2.h: Likewise.
881
        * libm/machine/spu/headers/expf4.h: Likewise.
882
        * libm/machine/spu/headers/expm1d2.h: Likewise.
883
        * libm/machine/spu/headers/expm1f4.h: Likewise.
884
        * libm/machine/spu/headers/floord2.h: Likewise.
885
        * libm/machine/spu/headers/floorf4.h: Likewise.
886
        * libm/machine/spu/headers/hypotd2.h: Likewise.
887
        * libm/machine/spu/headers/hypotf4.h: Likewise.
888
        * libm/machine/spu/headers/isnand2.h: Likewise.
889
        * libm/machine/spu/headers/isnanf4.h: Likewise.
890
        * libm/machine/spu/headers/ldexpd2.h: Likewise.
891
        * libm/machine/spu/headers/ldexpf4.h: Likewise.
892
        * libm/machine/spu/headers/lgammad2.h: Likewise.
893
        * libm/machine/spu/headers/lgammaf4.h: Likewise.
894
        * libm/machine/spu/headers/log10d2.h: Likewise.
895
        * libm/machine/spu/headers/log1pd2.h: Likewise.
896
        * libm/machine/spu/headers/log1pf4.h: Likewise.
897
        * libm/machine/spu/headers/log2d2.h: Likewise.
898
        * libm/machine/spu/headers/log2f4.h: Likewise.
899
        * libm/machine/spu/headers/logbf4.h: Likewise.
900
        * libm/machine/spu/headers/logd2.h: Likewise.
901
        * libm/machine/spu/headers/logf4.h: Likewise.
902
        * libm/machine/spu/headers/nearbyintf4.h: Likewise.
903
        * libm/machine/spu/headers/nextafterd2.h: Likewise.
904
        * libm/machine/spu/headers/nextafterf4.h: Likewise.
905
        * libm/machine/spu/headers/powd2.h: Likewise.
906
        * libm/machine/spu/headers/powf4.h: Likewise.
907
        * libm/machine/spu/headers/recipd2.h: Likewise.
908
        * libm/machine/spu/headers/recipf4.h: Likewise.
909
        * libm/machine/spu/headers/rintf4.h: Likewise.
910
        * libm/machine/spu/headers/scalbnf4.h: Likewise.
911
        * libm/machine/spu/headers/signbitd2.h: Likewise.
912
        * libm/machine/spu/headers/sincosd2.h: Likewise.
913
        * libm/machine/spu/headers/sincosf4.h: Likewise.
914
        * libm/machine/spu/headers/sind2.h: Likewise.
915
        * libm/machine/spu/headers/sinf4.h: Likewise.
916
        * libm/machine/spu/headers/sinhd2.h: Likewise.
917
        * libm/machine/spu/headers/sinhf4.h: Likewise.
918
        * libm/machine/spu/headers/sqrtd2.h: Likewise.
919
        * libm/machine/spu/headers/sqrtf4.h: Likewise.
920
        * libm/machine/spu/headers/tand2.h: Likewise.
921
        * libm/machine/spu/headers/tanf4.h: Likewise.
922
        * libm/machine/spu/headers/tanhd2.h: Likewise.
923
        * libm/machine/spu/headers/tanhf4.h: Likewise.
924
        * libm/machine/spu/headers/tgammad2.h: Likewise.
925
        * libm/machine/spu/headers/tgammaf4.h: Likewise.
926
        * libm/machine/spu/headers/truncd2.h: Likewise.
927
        * libm/machine/spu/headers/truncf4.h: Likewise.
928
        * libm/machine/spu/headers/simdmath.h: Likewise.
929
 
930
2008-09-04  Ken Werner  
931
 
932
        * libm/machine/spu/headers/acoshf4.h: Rebase against current simdmath.
933
        * libm/machine/spu/headers/asinhd2.h: Likewise.
934
        * libm/machine/spu/headers/atanhd2.h: Likewise.
935
        * libm/machine/spu/headers/atanhf4.h: Likewise.
936
        * libm/machine/spu/headers/erff4.h: Likewise.
937
        * libm/machine/spu/headers/expd2.h: Likewise.
938
        * libm/machine/spu/headers/ldexpd2.h: Likewise.
939
        * libm/machine/spu/headers/lgammaf4.h: Likewise.
940
        * libm/machine/spu/headers/logbf4.h: Likewise.
941
        * libm/machine/spu/headers/nextafterd2.h: Likewise.
942
        * libm/machine/spu/headers/nextafterf4.h: Likewise.
943
        * libm/machine/spu/headers/recipd2.h: Likewise.
944
        * libm/machine/spu/headers/simdmath.h: Likewise.
945
        * libm/machine/spu/headers/acoshd2.: Likewise.
946
 
947
2008-09-04  Ken Werner  
948
 
949
        * libm/machine/spu/headers/cbrt.h: cbrt_factors[] declared.
950
        * libm/machine/spu/headers/cbrtf.h: Likewise.
951
 
952
2008-09-01  Ken Werner  
953
 
954
        * libc/machine/spu/include/spu_timer.h: spu_timebase function added.
955
        * libc/machine/spu/spu_timebase.c: New file.
956
        * libc/machine/spu/Makefile.am: Add new file.
957
        * libc/machine/spu/Makefile.in: Regenerated.
958
 
959
2008-08-28  Craig Howland  
960
 
961
        * libc/time/mktime.c (mktime): Fix tm_isdst value usage (allowing
962
        any positive value from user (per std) rather than depending
963
        upon 1).
964
 
965
2008-08-28  Corinna Vinschen  
966
 
967
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Optimize condition
968
        for accepting a converted character.
969
 
970
2008-08-27  Sandra Loosemore  
971
 
972
        * libc/libc.texinfo: Remove "LOCAL KLUGE" that prevents it
973
        from building pdfs.
974
        * libm/libm.texinfo: Likewise.
975
 
976
2008-08-27  Corinna Vinschen  
977
 
978
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Fix condition for
979
        accepting a converted character and continuing the loop.
980
 
981
2008-07-24  Jeff Johnston  
982
 
983
        * libc/include/ctype.h (_ctype_): Restore for C++ backward
984
        compatability only.
985
 
986
2008-07-21  Jeff Johnston  
987
 
988
        * libc/ctype/ctype_.c: Add new pointer __ctype_ptr__ which is one
989
        less than the old __ctype_ptr.
990
        * libc/ctype/isalnum.c: Use __ctype_ptr__.
991
        * libc/ctype/isalpha.c: Ditto.
992
        * libc/ctype/iscntrl.c: Ditto.
993
        * libc/ctype/isdigit.c: Ditto.
994
        * libc/ctype/islower.c: Ditto.
995
        * libc/ctype/isprint.c: Ditto.
996
        * libc/ctype/ispunct.c: Ditto.
997
        * libc/ctype/isspace.c: Ditto.
998
        * libc/ctype/isupper.c: Ditto.
999
        * libc/ctype/isxdigit.c: Ditto.
1000
        * libc/include/ctype.h: Change ctype macros to use new __ctype_ptr__
1001
        and add declaration of __ctype_ptr__.  Remove older ctype table pointers
1002
        from here even though they can still work.
1003
 
1004
2008-07-18  Ken Werner  
1005
 
1006
        * libc/machine/spu/strcpy.h: Fix error in previous patch.
1007
 
1008
2008-07-17  Jeff Johnston  
1009
 
1010
        * libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
1011
        __STDC_VERSION__ < 199901L and __GNUC__ >= 2.
1012
 
1013
2008-07-17  Ken Werner  
1014
 
1015
        * libc/machine/spu/strcpy.h: Pad null bytes if necessary.
1016
 
1017
2008-07-08  Kenji Tanaka  
1018
 
1019
        * libc/machine/mn10300/memset.S: Fix bug where return value is
1020
        incorrectly set if number of bytes set is a multiple of 4.
1021
 
1022
2008-07-07  Hans-Peter Nilsson  
1023
 
1024
        * libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
1025
        (strncpy): Cast src to uintptr_t before checking alignment with "&".
1026
 
1027
2008-07-02  Jeff Johnston  
1028
 
1029
        * libc/argz/argz_count.c: Include stddef.h to get size_t.
1030
        * libc/argz/argz_extract.c: Ditto.
1031
        * libc/argz/argz_stringify.c: Ditto.
1032
        * libc/search/hash.h: Ditto.
1033
        * libc/sys/linux/include/sched.h: Ditto.
1034
        * libc/sys/linux/sys/types.h: Ditto.
1035
 
1036
2008-07-02  Jeff Johnston  
1037
 
1038
        * libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
1039
        source data is taken care of before loop unrolling.
1040
 
1041
2008-06-25  Hans-Peter Nilsson  
1042
 
1043
        Fix strict-aliasing issues with _strtod_r and Storeinc.
1044
        * libc/stdlib/strtod.c (_strtod_r): Change local variables aadj,
1045
        rv, rv0 from double to type U.  Use accessor macros dval, dword0
1046
        and dword1 for all accesses except for the ULtod call, where rv.i
1047
        replaces the pointer cast.
1048
        * libc/stdlib/mprec.h (U): Rename member L to i for easier re-use
1049
        of access macros.  Tweak comment.
1050
        Remove #ifdef'd YES_ALIAS code.
1051
        (dword0, dword1, dval): Define in terms of uncast union member
1052
        access.  Ditto for _DOUBLE_IS_32BITS variants.
1053
        (Storeinc): Replace aliasing-flawed microoptimized definition with
1054
        alternative suggested in comment.  Remove now stale comment.
1055
 
1056
2008-06-21  Corinna Vinschen  
1057
 
1058
        * libc/include/machine/setjmp.h (_longjmp): Define as function on
1059
        Cygwin.
1060
        (_setjmp): Ditto.
1061
 
1062
2008-06-18  Eric Blake  
1063
 
1064
        Per Posix, strsignal returns non-const char*.
1065
        * libc/include/string.h (strsignal): Fix return type.
1066
 
1067
2008-06-17  Ken Werner  
1068
 
1069
        * libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall
1070
        support.
1071
 
1072
2008-06-16  Ken Werner  
1073
 
1074
        * libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
1075
        * libc/machine/spu/sys/sched.h: Likewise.
1076
        * libc/machine/spu/sys/syscall.h: Likewise.
1077
 
1078
2008-06-16  Ken Werner  
1079
 
1080
        * libc/machine/spu/mk_syscalls: Provide .type and .size directives
1081
        in generated assembler files.
1082
        * libc/machine/spu/fprintf.S: Regenerate.
1083
        * libc/machine/spu/fscanf.S: Regenerate.
1084
        * libc/machine/spu/printf.S: Regenerate.
1085
        * libc/machine/spu/scanf.S: Regenerate.
1086
        * libc/machine/spu/snprintf.S: Regenerate.
1087
        * libc/machine/spu/sprintf.S: Regenerate.
1088
        * libc/machine/spu/sscanf.S: Regenerate.
1089
        * libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type
1090
        and .size directives.
1091
        * libc/machine/spu/setjmp.S (setjmp): Likewise.
1092
        (longjmp): Likewise.
1093
 
1094
2008-06-11  Jeff Johnston  
1095
 
1096
        * libc/include/machine/_default_types.h: Fix GNUC check to
1097
        handle 4.0 and greater.
1098
 
1099
2008-06-09  Ken Werner  
1100
 
1101
        * libc/machine/spu/Makefile.am: Add new files.
1102
        * libc/machine/spu/Makefile.in: Likewise.
1103
        * libc/machine/spu/include/spu_timer.h: New file to add timer support
1104
        using interrupts.
1105
        * libc/machine/spu/spu_clock_stop.c: Likewise.
1106
        * libc/machine/spu/spu_clock_svcs.c: Likewise.
1107
        * libc/machine/spu/spu_timer_flih.S: Likewise.
1108
        * libc/machine/spu/spu_timer_free.c: Likewise.
1109
        * libc/machine/spu/spu_timer_internal.h: Likewise.
1110
        * libc/machine/spu/spu_timer_slih.c: Likewise.
1111
        * libc/machine/spu/spu_timer_slih_reg.c: Likewise.
1112
        * libc/machine/spu/spu_timer_stop.c: Likewise.
1113
        * libc/machine/spu/spu_timer_svcs.c: Likewise.
1114
 
1115
2008-06-09  Ken Werner  
1116
 
1117
        * libc/machine/spu/strcat.c: Return value fixed.
1118
        * libc/machine/spu/strncat.c: Likewise.
1119
 
1120
2008-05-28  Eric Blake  
1121
 
1122
        Fix bug in previous patch.
1123
        * libc/machine/i386/memset.S (memset): Mask second arg correctly.
1124
 
1125
2008-05-27  Jeff Johnston  
1126
 
1127
        * libc/string/memset.c: Fix documented prototype to remove
1128
        erroneous const attribute on first parameter.
1129
 
1130
2008-05-26  Eric Blake  
1131
 
1132
        Optimize the generic and x86 memchr.
1133
        * libc/string/memchr.c (memchr) [!__OPTIMIZE_SIZE__]:
1134
        Pre-align pointer so unaligned searches aren't penalized.
1135
        * libc/machine/i386/memchr.S (memchr) [!__OPTIMIZE_SIZE__]: Word
1136
        operations are faster than repnz byte searches.
1137
 
1138
2008-05-26  Eric Blake  
1139
 
1140
        Optimize the generic and x86 memset.
1141
        * libc/string/memset.c (memset) [!__OPTIMIZE_SIZE__]:
1142
        Pre-align pointer so unaligned stores aren't penalized.
1143
        * libc/machine/i386/memset.S (memset) [!__OPTIMIZE_SIZE__]:
1144
        Pre-align pointer so unaligned stores aren't penalized.  Prefer
1145
        8-byte over 4-byte alignment.  Reduce register pressure.
1146
 
1147
2008-05-26  Eric Blake  
1148
 
1149
        Optimize the generic and x86 strlen.
1150
        * libc/string/strlen.c (strlen) [!__OPTIMIZE_SIZE__]: Pre-align
1151
        data so unaligned searches aren't penalized.
1152
        * libc/machine/i386/strlen.S (strlen) [!__OPTIMIZE_SIZE__]:
1153
        Word operations are faster than repnz byte searches.
1154
 
1155
2008-05-23  Corinna Vinschen  
1156
 
1157
        * libc/include/sys/_default_fcntl.h: Include  on Cygwin.
1158
 
1159
2008-05-22  Jeff Johnston  
1160
 
1161
        * libc/include/sys/reent.h: Add _h_errno field.
1162
        * libc/sys/linux/libc-symbols.h: Add default stubs for new libc macros
1163
        now used in net directory.
1164
        * libc/sys/linux/bits/libc-lock.h: Always define _IO_MTSAFE_IO.
1165
        * libc/sys/linux/include/hesiod.h: Add needed macros for new code
1166
        in net directory.
1167
        * libc/sys/linux/include/netdb.h: Ditto.
1168
        * libc/sys/linux/include/resolv.h: Ditto.
1169
        * libc/sys/linux/include/stdint.h: Ditto.
1170
        * libc/sys/linux/include/arpa/nameser.h: Ditto.
1171
        * libc/sys/linux/include/net/ethernet.h: Ditto.
1172
        * libc/sys/linux/include/net/if_ppp.h: Ditto.
1173
        * libc/sys/linux/include/netinet/if_ether.h: Ditto.
1174
        * libc/sys/linux/machine/i386/get_clockfreq.c: Remove static memmem.
1175
        * libc/sys/linux/machine/i386/include/endian.h: Protect macros with
1176
        flags to avoid duplicate definition.
1177
        * libc/sys/linux/machine/i386/include/param.h: Ditto.
1178
        * libc/sys/linux/net/Makefile.am: Modified to account for removed and
1179
        added files.
1180
        * libc/sys/linux/net/Makefile.in: Regenerated.
1181
        * libc/sys/linux/net/base64.c: Replaced with glibc version of code.
1182
        * libc/sys/linux/net/getaddrinfo.c: Ditto.
1183
        * libc/sys/linux/net/getnameinfo.c: Ditto.
1184
        * libc/sys/linux/net/getproto.c: Ditto.
1185
        * libc/sys/linux/net/getservent.c: Ditto.
1186
        * libc/sys/linux/net/inet_netof.c: Ditto.
1187
        * libc/sys/linux/net/inet_lnaof.c: Ditto.
1188
        * libc/sys/linux/net/ns_name.c: Ditto.
1189
        * libc/sys/linux/net/ns_netint.c: Ditto.
1190
        * libc/sys/linux/net/inet_ntoa.c: Ditto.
1191
        * libc/sys/linux/net/ns_parse.c: Ditto.
1192
        * libc/sys/linux/net/ns_print.c: Ditto.
1193
        * libc/sys/linux/net/ns_ttl.c: Ditto.
1194
        * libc/sys/linux/net/nsap_addr.c: Ditto.
1195
        * libc/sys/linux/net/rcmd.c: Ditto.
1196
        * libc/sys/linux/net/res_comp.c: Ditto.
1197
        * libc/sys/linux/net/res_data.c: Ditto.
1198
        * libc/sys/linux/net/res_debug.c: Ditto.
1199
        * libc/sys/linux/net/res_init.c: Ditto.
1200
        * libc/sys/linux/net/res_mkquery.c: Ditto.
1201
        * libc/sys/linux/net/res_query.c: Ditto.
1202
        * libc/sys/linux/net/res_send.c: Ditto.
1203
        * libc/sys/linux/net/send.c: Ditto.
1204
        * libc/sys/linux/stdlib/collate.c: Ditto.
1205
        * libc/sys/linux/sys/ioctl.h: Ditto.
1206
        * libc/sys/linux/sys/socket.h: Ditto.
1207
        * libc/sys/linux/sys/unistd.h: Ditto.
1208
        * libc/sys/linux/iconv/iconvconfig.c: Removed either because no longer
1209
        used or because licensing includes advertising clause that cannot be
1210
        ignored.
1211
        * libc/sys/linux/iconv/strtab.c: Ditto.
1212
        * libc/sys/linux/include/libc_private.h: Ditto.
1213
        * libc/sys/linux/include/nsswitch.h: Ditto.
1214
        * libc/sys/linux/include/net/if_atm.h: Ditto.
1215
        * libc/sys/linux/include/net/if_media.h: Ditto.
1216
        * libc/sys/linux/include/net/if_pppvar.h: Ditto.
1217
        * libc/sys/linux/include/netinet/if_atm.h: Ditto.
1218
        * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
1219
        * libc/sys/linux/intl/locale.alias: Ditto.
1220
        * libc/sys/linux/net/addr2ascii.3: Ditto.
1221
        * libc/sys/linux/net/bindresvport.c: Ditto.
1222
        * libc/sys/linux/net/byteorder.3: Ditto.
1223
        * libc/sys/linux/net/res_config.h: Ditto.
1224
        * libc/sys/linux/net/ether_addr.c: Ditto.
1225
        * libc/sys/linux/net/ethers.3: Ditto.
1226
        * libc/sys/linux/net/getaddrinfo.3: Ditto.
1227
        * libc/sys/linux/net/gethostbydns.c: Ditto.
1228
        * libc/sys/linux/net/gethostbyht.c: Ditto.
1229
        * libc/sys/linux/net/gethostbyname.3: Ditto.
1230
        * libc/sys/linux/net/gethostbynis.c: Ditto.
1231
        * libc/sys/linux/net/gethostnamadr.c: Ditto.
1232
        * libc/sys/linux/net/getifaddrs.3: Ditto.
1233
        * libc/sys/linux/net/getifaddrs.c: Ditto.
1234
        * libc/sys/linux/net/getipnodebyname.3: Ditto.
1235
        * libc/sys/linux/net/getnameinfo.3: Ditto.
1236
        * libc/sys/linux/net/getnetbydns.c: Ditto.
1237
        * libc/sys/linux/net/getnetbyht.c: Ditto.
1238
        * libc/sys/linux/net/getnetbynis.c: Ditto.
1239
        * libc/sys/linux/net/getnetent.3: Ditto.
1240
        * libc/sys/linux/net/getnetnamadr.c: Ditto.
1241
        * libc/sys/linux/net/getprotoent.3: Ditto.
1242
        * libc/sys/linux/net/getprotoent.c: Ditto.
1243
        * libc/sys/linux/net/getprotoname.c: Ditto.
1244
        * libc/sys/linux/net/getservbyname.c: Ditto.
1245
        * libc/sys/linux/net/getservbyport.c: Ditto.
1246
        * libc/sys/linux/net/getservent.3: Ditto.
1247
        * libc/sys/linux/net/herror.c: Ditto.
1248
        * libc/sys/linux/net/hesiod.3: Ditto.
1249
        * libc/sys/linux/net/hesiod.c: Ditto.
1250
        * libc/sys/linux/net/if_indextoname.3: Ditto.
1251
        * libc/sys/linux/net/inet.3: Ditto.
1252
        * libc/sys/linux/net/inet6_option_space.3: Ditto.
1253
        * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
1254
        * libc/sys/linux/net/inet_makeaddr.c: Ditto.
1255
        * libc/sys/linux/net/inet_net.3: Ditto.
1256
        * libc/sys/linux/net/inet_network.c: Ditto.
1257
        * libc/sys/linux/net/innetgr-stub.c: Ditto.
1258
        * libc/sys/linux/net/ip6opt.c: Ditto.
1259
        * libc/sys/linux/net/iso_addr.3: Ditto.
1260
        * libc/sys/linux/net/iso_addr.c: Ditto.
1261
        * libc/sys/linux/net/linkaddr.3: Ditto.
1262
        * libc/sys/linux/net/linkaddr.c: Ditto.
1263
        * libc/sys/linux/net/map_v4v6.c: Ditto.
1264
        * libc/sys/linux/net/name6.c: Ditto.
1265
        * libc/sys/linux/net/namespace.h: Ditto.
1266
        * libc/sys/linux/net/ns.3: Ditto.
1267
        * libc/sys/linux/net/ns_addr.c: Ditto.
1268
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
1269
        * libc/sys/linux/net/nsdispatch.3: Ditto.
1270
        * libc/sys/linux/net/nsdispatch.c: Ditto.
1271
        * libc/sys/linux/net/nslexer.c: Ditto.
1272
        * libc/sys/linux/net/nslexer.l: Ditto.
1273
        * libc/sys/linux/net/nsparser.c: Ditto.
1274
        * libc/sys/linux/net/nsparser.h: Ditto.
1275
        * libc/sys/linux/net/nsparser.y: Ditto.
1276
        * libc/sys/linux/net/rcmd.3: Ditto.
1277
        * libc/sys/linux/net/rcmdsh.3: Ditto.
1278
        * libc/sys/linux/net/res_mkupdate.c: Ditto.
1279
        * libc/sys/linux/net/res_update.c: Ditto.
1280
        * libc/sys/linux/net/resolver.3: Ditto.
1281
        * libc/sys/linux/net/rthdr.c: Ditto.
1282
        * libc/sys/linux/net/vars.c: Ditto.
1283
        * libc/sys/linux/shlib-compat.h: New file.
1284
        * libc/sys/linux/machine/i386/atomic.h: Ditto.
1285
        * libc/sys/linux/net/XXX-lookup.c: Ditto.
1286
        * libc/sys/linux/net/alias-lookup.c: Ditto.
1287
        * libc/sys/linux/net/res_libc.c: Ditto.
1288
        * libc/sys/linux/net/aliases.h: Ditto.
1289
        * libc/sys/linux/net/check_pf.c: Ditto.
1290
        * libc/sys/linux/net/databases.def: Ditto.
1291
        * libc/sys/linux/net/digits_dots.c: Ditto.
1292
        * libc/sys/linux/net/ether_aton.c: Ditto.
1293
        * libc/sys/linux/net/ether_aton_r.c: Ditto.
1294
        * libc/sys/linux/net/ether_hton.c: Ditto.
1295
        * libc/sys/linux/net/ether_line.c: Ditto.
1296
        * libc/sys/linux/net/ether_ntoa.c: Ditto.
1297
        * libc/sys/linux/net/ether_ntoa_r.c: Ditto.
1298
        * libc/sys/linux/net/ether_ntoh.c: Ditto.
1299
        * libc/sys/linux/net/etherent.h: Ditto.
1300
        * libc/sys/linux/net/ethers-lookup.c: Ditto.
1301
        * libc/sys/linux/net/function.def: Ditto.
1302
        * libc/sys/linux/net/getXXbyYY.c: Ditto.
1303
        * libc/sys/linux/net/getXXbyYY_r.c: Ditto.
1304
        * libc/sys/linux/net/getXXent.c: Ditto.
1305
        * libc/sys/linux/net/getXXent_r.c: Ditto.
1306
        * libc/sys/linux/net/getaliasent.c: Ditto.
1307
        * libc/sys/linux/net/getaliasent_r.c: Ditto.
1308
        * libc/sys/linux/net/getaliasname.c: Ditto.
1309
        * libc/sys/linux/net/getaliasname_r.c: Ditto.
1310
        * libc/sys/linux/net/gethstbyad.c: Ditto.
1311
        * libc/sys/linux/net/gethstbyad_r.c: Ditto.
1312
        * libc/sys/linux/net/gethstbynm.c: Ditto.
1313
        * libc/sys/linux/net/gethstbynm2.c: Ditto.
1314
        * libc/sys/linux/net/gethstbynm2_r.c: Ditto.
1315
        * libc/sys/linux/net/gethstbynm_r.c: Ditto.
1316
        * libc/sys/linux/net/gethstent.c: Ditto.
1317
        * libc/sys/linux/net/gethstent_r.c: Ditto.
1318
        * libc/sys/linux/net/getnetbyad.c: Ditto.
1319
        * libc/sys/linux/net/getnetbyad_r.c: Ditto.
1320
        * libc/sys/linux/net/getnetbynm.c: Ditto.
1321
        * libc/sys/linux/net/getnetbynm_r.c: Ditto.
1322
        * libc/sys/linux/net/getnetent.c: Ditto.
1323
        * libc/sys/linux/net/getnetent_r.c: Ditto.
1324
        * libc/sys/linux/net/getnetgrent.c: Ditto.
1325
        * libc/sys/linux/net/getnetgrent_r.c: Ditto.
1326
        * libc/sys/linux/net/getnssent.c: Ditto.
1327
        * libc/sys/linux/net/getnssent_r.c: Ditto.
1328
        * libc/sys/linux/net/getproto_r.c: Ditto.
1329
        * libc/sys/linux/net/getprtent.c: Ditto.
1330
        * libc/sys/linux/net/getprtent_r.c: Ditto.
1331
        * libc/sys/linux/net/getprtname.c: Ditto.
1332
        * libc/sys/linux/net/getprtname_r.c: Ditto.
1333
        * libc/sys/linux/net/getrpcbyname.c: Ditto.
1334
        * libc/sys/linux/net/getrpcbyname_r.c: Ditto.
1335
        * libc/sys/linux/net/getrpcbynumber.c: Ditto.
1336
        * libc/sys/linux/net/getrpcbynumber_r.c: Ditto.
1337
        * libc/sys/linux/net/getrpcent.c: Ditto.
1338
        * libc/sys/linux/net/getrpcent_r.c: Ditto.
1339
        * libc/sys/linux/net/getservent_r.c: Ditto.
1340
        * libc/sys/linux/net/getsrvbynm.c: Ditto.
1341
        * libc/sys/linux/net/getsrvbynm_r.c: Ditto.
1342
        * libc/sys/linux/net/getsrvbypt.c: Ditto.
1343
        * libc/sys/linux/net/getsrvbypt_r.c: Ditto.
1344
        * libc/sys/linux/net/grp-lookup.c: Ditto.
1345
        * libc/sys/linux/net/herrno.c: Ditto.
1346
        * libc/sys/linux/net/hosts-lookup.c: Ditto.
1347
        * libc/sys/linux/net/ifaddrs.h: Ditto.
1348
        * libc/sys/linux/net/ifreq.c: Ditto.
1349
        * libc/sys/linux/net/ifreq.h: Ditto.
1350
        * libc/sys/linux/net/in6_addr.c: Ditto.
1351
        * libc/sys/linux/net/inet6_option.c: Ditto.
1352
        * libc/sys/linux/net/inet_mkadr.c: Ditto.
1353
        * libc/sys/linux/net/inet_net.c: Ditto.
1354
        * libc/sys/linux/net/key-lookup.c: Ditto.
1355
        * libc/sys/linux/net/local.h: Ditto.
1356
        * libc/sys/linux/net/netgroup.h: Ditto.
1357
        * libc/sys/linux/net/netgrp-lookup.c: Ditto.
1358
        * libc/sys/linux/net/network-lookup.c: Ditto.
1359
        * libc/sys/linux/net/not-cancel.h: Ditto.
1360
        * libc/sys/linux/net/ns_samedomain.c: Ditto.
1361
        * libc/sys/linux/net/nscd-types.h: Ditto.
1362
        * libc/sys/linux/net/nss.h: Ditto.
1363
        * libc/sys/linux/net/nsswitch.c: Ditto.
1364
        * libc/sys/linux/net/nsswitch.h: Ditto.
1365
        * libc/sys/linux/net/opensock.c: Ditto.
1366
        * libc/sys/linux/net/proto-lookup.c: Ditto.
1367
        * libc/sys/linux/net/pwd-lookup.c: Ditto.
1368
        * libc/sys/linux/net/res_debug.h: Ditto.
1369
        * libc/sys/linux/net/res_hconf.c: Ditto.
1370
        * libc/sys/linux/net/res_hconf.h: Ditto.
1371
        * libc/sys/linux/net/rexec.c: Ditto.
1372
        * libc/sys/linux/net/rpc-lookup.c: Ditto.
1373
        * libc/sys/linux/net/ruserpass.c: Ditto.
1374
        * libc/sys/linux/net/service-lookup.c: Ditto.
1375
        * libc/sys/linux/net/spwd-lookup.c: Ditto.
1376
        * libc/sys/linux/net/nscd/nscd-client.h: Ditto.
1377
        * libc/sys/linux/net/nscd/nscd_proto.h: Ditto.
1378
 
1379
2008-05-21  Eric Blake  
1380
 
1381
        Optimize the generic strchr.
1382
        * libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
1383
        data so unaligned searches aren't penalized.  Special-case
1384
        searching for 0.
1385
 
1386
        Optimize strchr for x86.
1387
        * libc/machine/i386/strchr.S (strchr) [!__OPTIMIZE_SIZE__]:
1388
        Pre-align data so unaligned searches aren't penalized.
1389
        Special-case searching for 0.
1390
 
1391
2008-05-20  Nick Clifton  
1392
 
1393
        * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
1394
 
1395
2008-05-20  DJ Delorie  
1396
 
1397
        * libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.
1398
 
1399
2008-05-14  Jeff Johnston  
1400
 
1401
        * libc/include/sys/reent.h: Change _REENT_INIT... macros to
1402
        access macro parameter with parentheses around it.
1403
 
1404
2008-04-26  Mark Mitchell  
1405
 
1406
        * libc/include/stdint.h (SIZE_MIN): Remove.
1407
        (SIZE_MAX): Define.
1408
        * testsuite/newlib.stdlib/stdlib.exp: New.
1409
        * testsuite/newlib.stdlib/size_max.c: Likewise.
1410
 
1411
2008-04-29  Eric Blake  
1412
 
1413
        Fix 2008-04-14 regression in asprintf(ptr,"").
1414
        * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): Avoid stdio
1415
        baggage.
1416
        * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): Likewise.
1417
        * libc/stdio/asiprintf.c (asiprintf, _asiprintf_r): Likewise.
1418
        * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1419
        * libc/stdio/vsnprintf.c (_vsnprintf_r): Likewise.
1420
        * libc/stdio/vfprintf.c (_VFPRINTF_R) [STRING_ONLY]: Always malloc
1421
        an initial buffer for asprintf.
1422
 
1423
2008-04-24  Corinna Vinschen  
1424
 
1425
        * libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
1426
        (fstatat): Fix type of third parameter.
1427
 
1428
2008-04-25  Nick Clifton  
1429
 
1430
        * libc/machine/arm/setjmp.S: Fix thumb2 support.
1431
 
1432
2008-04-24  Nick Clifton  
1433
 
1434
        * libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
1435
        should be _DOUBLE_IS_32BITS.
1436
 
1437
2008-04-24  Corinna Vinschen  
1438
 
1439
        * libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
1440
        (UTIME_OMIT): Ditto.
1441
        (utimensat): Declare for Cygwin.
1442
        (futimens): Ditto.
1443
 
1444
2008-04-23  Ken Werner  
1445
 
1446
        * libc/include/_ansi.h: _LONG_LONG renamed to _LONG_LONG_TYPE.
1447
        * libc/include/math.h: Likewise.
1448
 
1449
2008-04-23  Corinna Vinschen  
1450
 
1451
        * libc/include/stdio.h (renameat): Declare for Cygwin.
1452
        (symlinkat): Ditto.
1453
        * libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
1454
        (faccessat): Declare for Cygwin.
1455
        (fchownat): Ditto.
1456
        (linkat): Ditto.
1457
        (readlinkat): Ditto.
1458
        * libc/include/sys/_default_fcntl.h (AT_FDCWD): Define for Cygwin.
1459
        (AT_EACCESS): Ditto.
1460
        (AT_SYMLINK_NOFOLLOW): Ditto.
1461
        (AT_SYMLINK_FOLLOW): Ditto.
1462
        (AT_REMOVEDIR): Ditto.
1463
        (futimesat): Declare for Cygwin.
1464
        (openat): Ditto.
1465
        (unlinkat): Ditto.
1466
        * libc/include/sys/stat.h (fchmodat): Ditto.
1467
        (fstatat): Ditto.
1468
        (mkdirat): Ditto.
1469
        (mkfifoat): Ditto.
1470
        (mknodat): Ditto.
1471
 
1472
2008-04-22  Nick Clifton  
1473
 
1474
        * libc/machine/arm/setjmp.S: Add support for thumb2 multiple
1475
        register load/store instructions.
1476
 
1477
2008-04-16  Patrick Mansfield  
1478
 
1479
        * libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
1480
 
1481
2008-04-16  Patrick Mansfield  
1482
 
1483
        * libc/machine/spu/impure.c: Add missing underscore to impure_data.
1484
 
1485
2008-04-14  Patrick Mansfield  
1486
 
1487
        * libc/machine/spu/impure.c: New file, supply a non-static _impure_data.
1488
        * libc/machine/spu/Makefile.am: Add new file impure.c.
1489
        * libc/machine/spu/Makefile.in: Regenerate.
1490
        * libc/machine/spu/sys/errno.h: Define errno to be _reent_data._errno.
1491
 
1492
2008-04-14  Jeff Johnston  
1493
 
1494
        * libc/stdio/Makefile.am: Build vfprintf.c and vfscanf.c with
1495
        -DSTRING_ONLY defined with and without -DINTEGER_ONLY defined
1496
        to build special versions for sprintf/sscanf family functions.
1497
        * libc/stdio/Makefile.in: Regenerated.
1498
        * libc/stdio/vfprintf.c[STRING_ONLY][INTEGER_ONLY](_VFPRINTF_R):
1499
        Redefine to be _svfiprintf_r which is optimized to work with siprintf
1500
        family of functions (i.e. no I/O) and does not support floating-point.
1501
        [STRING_ONLY][!INTEGER_ONLY](_VFPRINTF_R): Redefine to be
1502
        _svfprintf_r which is optimized to work with sprintf family of
1503
        functions and not use I/O.
1504
        [STRING_ONLY](__sprint_r): New string only version of static function.
1505
        designed to work with sprintf family of functions.
1506
        * libc/stdio/vfscanf.c[STRING_ONLY][INTEGER_ONLY](_SVFSCANF_R):
1507
        Redefine to be _ssvfiscanf_r which is optimized to work with siscanf
1508
        family of functions (i.e. no I/O) and no float-point support.
1509
        [STRING_ONLY][!INTEGER_ONLY](_SVFSCANF_R): Redefine to be
1510
        __ssvfscanf_r which is optimized to work with sscanf family of
1511
        functions and does not require I/O functions.
1512
        * libc/stdio/asprintf.c: Call _svfprintf_r instead of _vfprintf_r.
1513
        * libc/stdio/snprintf.c: Ditto.
1514
        * libc/stdio/sprintf.c: Ditto.
1515
        * libc/stdio/vasnprintf.c: Ditto.
1516
        * libc/stdio/vasprintf.c: Ditto.
1517
        * libc/stdio/siprintf.c: Call _svfiprintf_r instead of _vfiprintf_r.
1518
        * libc/stdio/sniprintf.c: Ditto.
1519
        * libc/stdio/vasiprintf.c: Ditto.
1520
        * libc/stdio/vsiprintf.c: Ditto.
1521
        * libc/stdio/vsniprintf.c: Ditto.
1522
        * libc/stdio/vsprintf.c: Ditto.
1523
        * libc/stdio/local.h: Add prototypes for _svfprintf_r, _svfiprintf_r,
1524
        _ssvfscanf_r, and _ssvfiscanf_r.
1525
        * libc/stdio/sscanf.c: Call _ssvfscanf_r instead of _svfscanf_r.
1526
        * libc/stdio/vsscanf.c: Ditto.
1527
        * libc/stdio/siscanf.c: Call _ssvfiscanf_r instead of _svfiscanf_r.
1528
        * libc/stdio/vsiscanf.c: Ditto.
1529
 
1530
2008-04-04  DJ Delorie  
1531
 
1532
        * libm/machine/spu/configure: Regenerate with autoconf 2.61.
1533
        * libc/sys/configure: Regenerate with autoconf 2.61.
1534
        * libc/machine/configure: Regenerate with autoconf 2.61.
1535
 
1536
2008-04-01 Patrick Mansfield 
1537
 
1538
        * libc/machine/spu/memcmp.c: New file for SPU optimized memcmp.
1539
        * libc/machine/spu/strncmp.h: New file supply _strncmp_internal.
1540
        * libc/machine/spu/Makefile.am: Add memcmp.c.
1541
        * libc/machine/spu/Makefile.in: Rebuild.
1542
        * libc/machine/spu/strncmp.c: Use _strncmp_internal.
1543
 
1544
2008-04-01 Patrick Mansfield 
1545
 
1546
        * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
1547
          -DMISSING_SYSCALL_NAMES.
1548
 
1549
2008-04-01 Patrick Mansfield 
1550
 
1551
        * libc/machine/spu/Makefile.am: Add assert.c.
1552
        * libc/machine/spu/Makefile.in: Regenerate.
1553
        * libc/machine/spu/assert.c: New file.
1554
 
1555
2008-03-27 Patrick Mansfield 
1556
 
1557
        * libc/include/reent.h: Define _func_r functions in this file to
1558
        func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
1559
        defined.
1560
 
1561
2008-03-27  Corinna Vinschen  
1562
 
1563
        * libc/include/sys/unistd.h: Declare lockf(2) and define lockf
1564
        constants when building for Cygwin.
1565
 
1566
2008-03-11  Jeff Johnston  
1567
 
1568
        * libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
1569
        stdin gets resolved properly before refilling.
1570
 
1571
2008-03-07  Jeff Johnston  
1572
 
1573
        * libc/include/getopt.h: Hide newlib extensions under
1574
        the __need_getopt_newlib flag.
1575
        * libc/stdlib/getopt.c: #define __need_getopt_newlib before including
1576
        getopt.h.  Put entire code under !HAVE_GETOPT to support platforms
1577
        with their own getopt implementation.
1578
        * configure.host: Specify HAVE_GETOPT for x86-linux.
1579
 
1580
2008-03-07  Jeff Johnston  
1581
 
1582
        * libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
1583
        this macro completely instead of referring to CHECK_STD_INIT which
1584
        is only found in libc/stdio/local.h.
1585
        * libc/stdio/dprintf.c: Add include of local.h.
1586
        * libc/stdio/vdprintf.c: Ditto.
1587
        * libc/stdio/vdiprintf.c: Ditto.
1588
 
1589
2008-03-04  Eric Blake  
1590
 
1591
        Fix strtod("nan()", ptr).
1592
        * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
1593
        n-char-sequence is omitted, still parse the ().
1594
 
1595
2008-03-03  Eric Blake  
1596
 
1597
        Fix ftell bug after ungetc.
1598
        * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
1599
        ftell.
1600
        * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1601
        * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
1602
        repositioning underlying fd offset.
1603
 
1604
2008-03-02  Jeff Johnston  
1605
 
1606
        * libc/include/getopt.h (no_argument): Added for glibc compatibility.
1607
        (required_argument, optional_argument): Ditto.
1608
 
1609
2008-02-29  Gregory Pietsch  
1610
 
1611
        * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
1612
        data area so as to support reentrant calls.  Change all callers
1613
        to fill in data area with global values and restore any changes
1614
        to the global values after call.
1615
        (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
1616
        to support reentrancy that add a data area argument.
1617
        * libc/include/getopt.h: Add new _r routines and provide macros
1618
        so they can be called with using double-underscores.
1619
 
1620
2008-02-21  Eric Blake  
1621
 
1622
        Fix strtod("-0x", NULL).
1623
        * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
1624
        fails.
1625
 
1626
2008-02-12  Jeff Johnston  
1627
 
1628
        * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
1629
        for user specifying --disable-newlib-io-long-long on configure.
1630
        Call _fflush_r instead of fflush.  For _mbtowc_r, pass the
1631
        reentrant pointer passed in rather than _REENT.
1632
 
1633
2008-02-12  Peter Rosin  
1634
 
1635
        * libc/stdlib/getopt.c (getopt_internal): Handle optional
1636
        arguments better for long options and short options not
1637
        appearing as the first option in a sequence.
1638
 
1639
2008-02-11  Patrick Mansfield  
1640
 
1641
        * libc/machine/spu/straddr.h: New file, supplies _straddr.
1642
        * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
1643
        * libc/machine/spu/strcpy.c: Use _strcpy.
1644
        * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
1645
        str[n]cpy and str[n]cat.
1646
        * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
1647
        * libc/machine/spu/strncpy.c: Use _strcpy.
1648
 
1649
2008-02-11  Patrick Mansfield  
1650
 
1651
        * libc/machine/spu/strlen.c: Remove the len variable and unneeded
1652
        calculation of its value.
1653
 
1654
2008-01-25  Hans-Peter Nilsson  
1655
 
1656
        * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
1657
        Make ISO C.
1658
 
1659
2008-01-21  DJ Delorie  
1660
 
1661
        * libc/sys/sh/syscalls.c (_isatty): New.
1662
 
1663
2008-01-21  Neal H. Walfield  
1664
 
1665
        * Makefile.am (crt1.o): Use correct source.
1666
        * Makefile.in: Regenerated.
1667
 
1668
2008-01-15  Eric Blake  
1669
 
1670
        * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
1671
        * libc/string/Makefile: Regenerate.
1672
 
1673
2008-01-15  Corinna Vinschen  
1674
 
1675
        * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
1676
        pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
1677
        (sigsetjmp): Use __SIGMASK_FUNC.
1678
        (siglongjmp): Ditto.
1679
        (_setjmp): Define as macro.
1680
        (_longjmp): Ditto.
1681
 
1682
2008-01-11  Eric Blake  
1683
 
1684
        Make strstr and strcasestr O(n), not O(n^2); add memmem.
1685
        * libc/string/str-two-way.h: New file.
1686
        * libc/string/memmem.c (memmem): New file.
1687
        * libc/include/string.h (memmem): Declare for all platforms.
1688
        * libc/string/strstr.c (strstr): Provide O(n) implementation when
1689
        not optimizing for space.
1690
        * libc/string/strcasestr.c (strcasestr): Likewise.
1691
        * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
1692
        (ELIX_2_SOURCES): ...this.
1693
        (ELIX_4_SOURCES): New category, for memmem.
1694
        (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
1695
        (CHEWOUT_FILES): Build documentation for memmem.
1696
        * libc/string/strings.tex: Include new docs.
1697
 
1698
2008-01-08  Jeff Johnston  
1699
 
1700
        * libc/machine/m68k/memcpy.S: Remove % from register references
1701
        as this is already handled by m68kasm.h.
1702
        * libc/machine/m68k/memset.S: Ditto.
1703
 
1704
2008-01-07  Jeff Johnston  
1705
 
1706
        * libc/machine/m68k/m68kasm.h: New file.
1707
        * libc/machine/m68k/setjmp.S: Remove common definitions and
1708
        place in m68kasm.h.  Include "m68kasm.h".
1709
        * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
1710
        SYM() macro when referencing function name.
1711
        * libc/machine/m68k/memset.S: Ditto.
1712
 
1713
2008-01-03  Jeff Johnston  
1714
 
1715
        Make isatty syscall handling consistent with other newlib syscalls.
1716
 
1717
        * libc/include/_syslist.h: Add _isatty.
1718
        * libc/include/reent.h: Add _isatty_r.
1719
        * libc/include/sys/unistd.h: Add _isatty.
1720
        * libc/posix/Makefile.am: Add new _isatty.c file.
1721
        * libc/posix/Makefile.in: Regenerated.
1722
        * libc/posix/_isatty.c: New file.
1723
        * libc/posix/isatty.c: Changed to call _isatty().
1724
        * libc/reent/Makefile.am: Add new isattyr.c file.
1725
        * libc/reent/Makefile.in: Regenerated.
1726
        * libc/reent/isattyr.c: New file.
1727
        * libc/stdio/freopen.c: Changed to call _isatty_r().
1728
        * libc/stdio/makebuf.c: Ditto.
1729
        * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
1730
        * libc/sys/arc/isatty.c: Ditto.
1731
        * libc/sys/arm/syscalls.c: Ditto.
1732
        * libc/sys/d10v/syscalls.c: Ditto.
1733
        * libc/sys/h8300hms/syscalls.c: Ditto.
1734
        * libc/sys/h8500hms/syscalls.c: Ditto.
1735
        * libc/sys/linux/Makefile.am: Add new isatty.c file.
1736
        * libc/sys/linux/Makefile.in: Regenerated.
1737
        * libc/sys/linux/isatty.c: New file.
1738
        * libc/syscalls/Makefile.am: Add new sysisatty.c file.
1739
        * libc/syscalls/Makefile.in: Regenerated.
1740
        * libc/syscalls/sysisatty.c: New file.
1741
 
1742
2008-01-02  Jeff Johnston  
1743
 
1744
        * libc/syscalls/sysclose.c: Always call reentrant version of the
1745
        underlying syscall since one is guaranteed to exist in libc/reent.
1746
        * libc/syscalls/sysexecve.c: Ditto.
1747
        * libc/syscalls/sysfcntl.c: Ditto.
1748
        * libc/syscalls/sysfork.c: Ditto.
1749
        * libc/syscalls/sysfstat.c: Ditto.
1750
        * libc/syscalls/sysgetpid.c: Ditto.
1751
        * libc/syscalls/sysgettod.c: Ditto.
1752
        * libc/syscalls/syskill.c: Ditto.
1753
        * libc/syscalls/syslink.c: Ditto.
1754
        * libc/syscalls/syslseek.c: Ditto.
1755
        * libc/syscalls/sysopen.c: Ditto.
1756
        * libc/syscalls/sysread.c: Ditto.
1757
        * libc/syscalls/syssbrk.c: Ditto.
1758
        * libc/syscalls/sysstat.c: Ditto.
1759
        * libc/syscalls/systimes.c: Ditto.
1760
        * libc/syscalls/sysunlink.c: Ditto.
1761
        * libc/syscalls/syswait.c: Ditto.
1762
        * libc/syscalls/syswrite.c: Ditto.
1763
 
1764
2007-12-19  Jeff Johnston  
1765
 
1766
        * NEWS: Update with 1.16.0 info.
1767
        * README: Ditto.
1768
        * acinclude.m4: Change version number to 1.16.0.
1769
        * aclocal.m4: Regenerated.
1770
        * configure: Ditto.
1771
        * doc/aclocal.m4: Ditto.
1772
        * doc/configure: Ditto.
1773
        * libc/*/aclocal.m4: Ditto.
1774
        * libc/*/configure: Ditto.
1775
        * libc/libc.texinfo: Ditto.
1776
        * libm/*/aclocal.m4: Ditto.
1777
        * libm/*/configure: Ditto.
1778
        * libm/libm.texinfo: Ditto.
1779
        * libc/sys/linux/shared.ld: Add VERS_1.16.
1780
 
1781
2007-12-19  Jeff Johnston  
1782
 
1783
        * libc/string/strcasestr.c: Remove id macro.
1784
        * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
1785
        field reference to be __sched_priority.
1786
        * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
1787
        * libc/sys/linux/linuxthreads/manager.c: Ditto.
1788
        * libc/sys/linux/stdlib/collate.c: Remove id macro.
1789
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
1790
        * libc/sys/linux/stdlib/engine.c: Ditto.
1791
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
1792
        * libc/sys/linux/stdlib/glob.c: Ditto.
1793
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
1794
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
1795
        * libc/sys/linux/stdlib/regerror.c: Ditto.
1796
        * libc/sys/linux/stdlib/regexec.c: Ditto.
1797
        * libc/sys/linux/stdlib/regfree.c: Ditto.
1798
        * libc/sys/linux/sys/cdefs.h: Replace with latest version.
1799
        * libc/sys/linux/include/argp.h: Ditto.
1800
        * libc/sys/linux/sys/libc-lock.h: New file.
1801
        * libc/sys/linux/sys/stdint.h: Ditto.
1802
        * libc/sys/linux/include/sched.h: New file.
1803
 
1804
2007-12-19  Dave Korn  
1805
            Jeff Johnston  
1806
 
1807
        * libc/include/_ansi.h: Add _LONG_LONG definition.
1808
        * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
1809
        prototypes.
1810
        * libc/machine/i386/machine/fastmath.h: Add support for new i386
1811
        fast math versions of rint, lrint, and llrint family functions.
1812
        * libm/machine/i386/Makefile.am: Add new files.
1813
        * libm/machine/i386/Makefile.in: Regenerated.
1814
        * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
1815
        libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
1816
        libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
1817
        libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
1818
        libm/machine/i386/f_rintl.c:  New files with fast math implementations.
1819
 
1820
2007-12-19  Jeff Johnston  
1821
 
1822
        * libc/include/sys/features.h: Add checks for C90 compilers using
1823
        -ansi.
1824
 
1825
2007-12-19  Corinna Vinschen  
1826
 
1827
        * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
1828
        * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
1829
        wcpncpy.c.
1830
        (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
1831
        * libc/string/Makefile.in: Regenerate.
1832
        * libc/string/wcpcpy.c: New file.
1833
        * libc/string/wcpncpy.c: New file.
1834
        * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
1835
 
1836
2007-12-19  Corinna Vinschen  
1837
 
1838
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
1839
        _wcsrtombs_r.
1840
 
1841
2007-11-19  Nick Clifton  
1842
 
1843
        * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
1844
        * libc/machine/mn10300/Makefile.in: Regenerate.
1845
        * libc/machine/mn10300/memchar.S: Remove redundant labels.  Add
1846
        .debug_frame section.
1847
        * libc/machine/mn10300/memcmp.S: Likewise.
1848
        * libc/machine/mn10300/memcpy.S: Likewise.
1849
        * libc/machine/mn10300/memset.S: Likewise.
1850
        * libc/machine/mn10300/strchr.S: Likewise.
1851
        * libc/machine/mn10300/strcmp.S: Likewise.
1852
        * libc/machine/mn10300/strcpy.S: Likewise.
1853
        * libc/machine/mn10300/strlen.S: Likewise.
1854
 
1855
2007-11-15  Jeff Johnston  
1856
 
1857
        * libc/include/sys/_default_fcntl.h: New header file that
1858
        is the default version of sys/fcntl.h.
1859
        * libc/include/sys/fcntl.h: Changed to simply include
1860
        sys/_default_fcntl.h.
1861
        * libc/sys/arm/sys/fcntl.h: New file that includes
1862
        sys/_default_fcntl.h and defines O_BINARY.
1863
 
1864
2007-11-08  Corinna Vinschen  
1865
 
1866
        * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
1867
 
1868
2007-11-07  Dave Brolley  
1869
 
1870
        * libc/machine/configure: Regenerated to pick up mep-elf changes.
1871
 
1872
        * Contribute mep-elf from Red Hat
1873
        2006-10-27  DJ Delorie  
1874
 
1875
        * libc/include/machine/setjmp.h: Add MeP support.
1876
 
1877
        2003-04-17  DJ Delorie  
1878
 
1879
        * configure.host (mep-*-*): Support "long long" type.
1880
 
1881
        2001-06-06  DJ Delorie  
1882
 
1883
        * libc/include/machine/ieeefp.h (mep): Support little endian too.
1884
 
1885
        2001-05-14  DJ Delorie  
1886
 
1887
        * configure.host: Add mep's machine_dir.
1888
        * libc/include/setjmp.h: Add mep support.
1889
        * libc/machine/mep: New.
1890
        * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
1891
 
1892
        2001-05-04  DJ Delorie  
1893
 
1894
        * configure.host: Add mep.
1895
        * libc/include/machine/ieeefp.h: Ditto.
1896
 
1897
2007-10-31  DJ Delorie  
1898
 
1899
        * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
1900
        signal table, just use a default, in case initialization cause
1901
        recursion.
1902
 
1903
2007-10-23  Jeff Johnston  
1904
 
1905
        * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
1906
        size if output buffer is NULL.
1907
 
1908
2007-10-17  Jeff Johnston  
1909
 
1910
        * libm/mathfp/s_logarithm.c: Fix error introduced by previous
1911
        fix when handling negative input values.  Make function
1912
        consistent with math directory and glibc version such that
1913
        inf and nan values return inf and nan respectively with no
1914
        errno setting.
1915
        * libm/mathfp/sf_logarithm.c: Ditto.
1916
        * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
1917
        * libm/math/wf_log.c: Ditto.
1918
        * libm/math/w_log10.c: Ditto.
1919
        * libm/math/wf_log10.c: Ditto.
1920
 
1921
2007-10-17  Jeff Johnston  
1922
 
1923
        * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
1924
        return -inf.
1925
        * libm/mathfp/sf_logarithm.c: Ditto.
1926
 
1927
2007-10-17  Jeff Johnston  
1928
 
1929
        * libc/machine/i386/machine/fastmath.h: New file.
1930
 
1931
2007-10-13  Eric Blake  
1932
 
1933
        * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
1934
        Correctly nest else within conditionals.
1935
        Reported by Artur Lipowski.
1936
 
1937
2007-10-09  Nick Clifton  
1938
 
1939
        * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
1940
        the STT_COMMON type.
1941
 
1942
2007-10-09  Ben Elliston  
1943
 
1944
        * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
1945
        before simdmath.h to get a definition for `vector'.
1946
        * libm/machine/spu/headers/asind2.h: Likewise.
1947
 
1948
2007-09-28  Patrick Mansfield  
1949
 
1950
        * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
1951
        * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
1952
        * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
1953
        * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
1954
        * libm/machine/spu/headers/acos.h: Add domain check.
1955
        * libm/machine/spu/headers/acosf.h: Ditto.
1956
        * libm/machine/spu/headers/acosh.h: Ditto.
1957
        * libm/machine/spu/headers/acoshf.h: Ditto.
1958
        * libm/machine/spu/headers/asin.h: Ditto.
1959
        * libm/machine/spu/headers/asinf.h: Ditto.
1960
        * libm/machine/spu/headers/atanh.h: Ditto.
1961
        * libm/machine/spu/headers/atanhf.h: Ditto.
1962
        * libm/machine/spu/headers/fmod.h: Ditto.
1963
        * libm/machine/spu/headers/fmodf.h: Ditto.
1964
        * libm/machine/spu/headers/log.h: Ditto.
1965
        * libm/machine/spu/headers/log10.h: Ditto.
1966
        * libm/machine/spu/headers/log1p.h: Ditto.
1967
        * libm/machine/spu/headers/log1pf.h: Ditto.
1968
        * libm/machine/spu/headers/log2.h: Ditto.
1969
        * libm/machine/spu/headers/log2f.h: Ditto.
1970
        * libm/machine/spu/headers/sqrt.h: Ditto.
1971
        * libm/machine/spu/headers/sqrtf.h: Ditto.
1972
        * libm/machine/spu/headers/tgamma.h: Ditto.
1973
        * libm/machine/spu/headers/tgammaf.h: Ditto.
1974
 
1975
2007-09-28  Patrick Mansfield  
1976
 
1977
        * libm/machine/spu/Makefile.am: Add new C files.
1978
        * libm/machine/spu/Makefile.in: Regenerate.
1979
        * libm/machine/spu/headers/acos.h: New file.
1980
        * libm/machine/spu/headers/acosd2.h: Ditto.
1981
        * libm/machine/spu/headers/acosf.h: Ditto.
1982
        * libm/machine/spu/headers/acosf4.h: Ditto.
1983
        * libm/machine/spu/headers/acosh.h: Ditto.
1984
        * libm/machine/spu/headers/acoshd2.h: Ditto.
1985
        * libm/machine/spu/headers/acoshf.h: Ditto.
1986
        * libm/machine/spu/headers/acoshf4.h: Ditto.
1987
        * libm/machine/spu/headers/asin.h: Ditto.
1988
        * libm/machine/spu/headers/asind2.h: Ditto.
1989
        * libm/machine/spu/headers/asinf.h: Ditto.
1990
        * libm/machine/spu/headers/asinf4.h: Ditto.
1991
        * libm/machine/spu/headers/asinh.h: Ditto.
1992
        * libm/machine/spu/headers/asinhd2.h: Ditto.
1993
        * libm/machine/spu/headers/asinhf.h: Ditto.
1994
        * libm/machine/spu/headers/asinhf4.h: Ditto.
1995
        * libm/machine/spu/headers/atan.h: Ditto.
1996
        * libm/machine/spu/headers/atan2.h: Ditto.
1997
        * libm/machine/spu/headers/atan2d2.h: Ditto.
1998
        * libm/machine/spu/headers/atan2f.h: Ditto.
1999
        * libm/machine/spu/headers/atan2f4.h: Ditto.
2000
        * libm/machine/spu/headers/atand2.h: Ditto.
2001
        * libm/machine/spu/headers/atanf4.h: Ditto.
2002
        * libm/machine/spu/headers/atanh.h: Ditto.
2003
        * libm/machine/spu/headers/atanhd2.h: Ditto.
2004
        * libm/machine/spu/headers/atanhf.h: Ditto.
2005
        * libm/machine/spu/headers/atanhf4.h: Ditto.
2006
        * libm/machine/spu/headers/cos.h: Ditto.
2007
        * libm/machine/spu/headers/cos_sin.h: Ditto.
2008
        * libm/machine/spu/headers/cosd2.h: Ditto.
2009
        * libm/machine/spu/headers/cosf.h: Ditto.
2010
        * libm/machine/spu/headers/cosf4.h: Ditto.
2011
        * libm/machine/spu/headers/cosh.h: Ditto.
2012
        * libm/machine/spu/headers/coshd2.h: Ditto.
2013
        * libm/machine/spu/headers/coshf.h: Ditto.
2014
        * libm/machine/spu/headers/coshf4.h: Ditto.
2015
        * libm/machine/spu/headers/divd2.h: Ditto.
2016
        * libm/machine/spu/headers/divf4.h: Ditto.
2017
        * libm/machine/spu/headers/erf.h: Ditto.
2018
        * libm/machine/spu/headers/erf_utils.h: Ditto.
2019
        * libm/machine/spu/headers/erfc.h: Ditto.
2020
        * libm/machine/spu/headers/erfcd2.h: Ditto.
2021
        * libm/machine/spu/headers/erfcf.h: Ditto.
2022
        * libm/machine/spu/headers/erfcf4.h: Ditto.
2023
        * libm/machine/spu/headers/erfd2.h: Ditto.
2024
        * libm/machine/spu/headers/erff.h: Ditto.
2025
        * libm/machine/spu/headers/erff4.h: Ditto.
2026
        * libm/machine/spu/headers/exp.h: Ditto.
2027
        * libm/machine/spu/headers/exp2.h: Ditto.
2028
        * libm/machine/spu/headers/exp2d2.h: Ditto.
2029
        * libm/machine/spu/headers/exp2f4.h: Ditto.
2030
        * libm/machine/spu/headers/expd2.h: Ditto.
2031
        * libm/machine/spu/headers/expf4.h: Ditto.
2032
        * libm/machine/spu/headers/expm1.h: Ditto.
2033
        * libm/machine/spu/headers/expm1d2.h: Ditto.
2034
        * libm/machine/spu/headers/expm1f.h: Ditto.
2035
        * libm/machine/spu/headers/expm1f4.h: Ditto.
2036
        * libm/machine/spu/headers/floord2.h: Ditto.
2037
        * libm/machine/spu/headers/floorf4.h: Ditto.
2038
        * libm/machine/spu/headers/hypot.h: Ditto.
2039
        * libm/machine/spu/headers/hypotd2.h: Ditto.
2040
        * libm/machine/spu/headers/hypotf.h: Ditto.
2041
        * libm/machine/spu/headers/hypotf4.h: Ditto.
2042
        * libm/machine/spu/headers/isnan.h: Ditto.
2043
        * libm/machine/spu/headers/isnand2.h: Ditto.
2044
        * libm/machine/spu/headers/isnanf.h: Ditto.
2045
        * libm/machine/spu/headers/isnanf4.h: Ditto.
2046
        * libm/machine/spu/headers/ldexpd2.h: Ditto.
2047
        * libm/machine/spu/headers/ldexpf4.h: Ditto.
2048
        * libm/machine/spu/headers/lgamma.h: Ditto.
2049
        * libm/machine/spu/headers/lgammad2.h: Ditto.
2050
        * libm/machine/spu/headers/lgammaf.h: Ditto.
2051
        * libm/machine/spu/headers/lgammaf4.h: Ditto.
2052
        * libm/machine/spu/headers/log.h: Ditto.
2053
        * libm/machine/spu/headers/log10.h: Ditto.
2054
        * libm/machine/spu/headers/log10d2.h: Ditto.
2055
        * libm/machine/spu/headers/log1p.h: Ditto.
2056
        * libm/machine/spu/headers/log1pd2.h: Ditto.
2057
        * libm/machine/spu/headers/log1pf.h: Ditto.
2058
        * libm/machine/spu/headers/log1pf4.h: Ditto.
2059
        * libm/machine/spu/headers/log2.h: Ditto.
2060
        * libm/machine/spu/headers/log2d2.h: Ditto.
2061
        * libm/machine/spu/headers/log2f4.h: Ditto.
2062
        * libm/machine/spu/headers/logbf.h: Ditto.
2063
        * libm/machine/spu/headers/logbf4.h: Ditto.
2064
        * libm/machine/spu/headers/logd2.h: Ditto.
2065
        * libm/machine/spu/headers/logf4.h: Ditto.
2066
        * libm/machine/spu/headers/nearbyintf.h: Ditto.
2067
        * libm/machine/spu/headers/nearbyintf4.h: Ditto.
2068
        * libm/machine/spu/headers/nextafter.h: Ditto.
2069
        * libm/machine/spu/headers/nextafterd2.h: Ditto.
2070
        * libm/machine/spu/headers/nextafterf.h: Ditto.
2071
        * libm/machine/spu/headers/nextafterf4.h: Ditto.
2072
        * libm/machine/spu/headers/pow.h: Ditto.
2073
        * libm/machine/spu/headers/powd2.h: Ditto.
2074
        * libm/machine/spu/headers/powf.h: Ditto.
2075
        * libm/machine/spu/headers/powf4.h: Ditto.
2076
        * libm/machine/spu/headers/recipd2.h: Ditto.
2077
        * libm/machine/spu/headers/recipf4.h: Ditto.
2078
        * libm/machine/spu/headers/rintf.h: Ditto.
2079
        * libm/machine/spu/headers/rintf4.h: Ditto.
2080
        * libm/machine/spu/headers/scalbnf4.h: Ditto.
2081
        * libm/machine/spu/headers/signbit.h: Ditto.
2082
        * libm/machine/spu/headers/signbitd2.h: Ditto.
2083
        * libm/machine/spu/headers/simdmath.h: Ditto.
2084
        * libm/machine/spu/headers/sin.h: Ditto.
2085
        * libm/machine/spu/headers/sincos.h: Ditto.
2086
        * libm/machine/spu/headers/sincosd2.h: Ditto.
2087
        * libm/machine/spu/headers/sincosf.h: Ditto.
2088
        * libm/machine/spu/headers/sincosf4.h: Ditto.
2089
        * libm/machine/spu/headers/sind2.h: Ditto.
2090
        * libm/machine/spu/headers/sinf.h: Ditto.
2091
        * libm/machine/spu/headers/sinf4.h: Ditto.
2092
        * libm/machine/spu/headers/sinh.h: Ditto.
2093
        * libm/machine/spu/headers/sinhd2.h: Ditto.
2094
        * libm/machine/spu/headers/sinhf.h: Ditto.
2095
        * libm/machine/spu/headers/sinhf4.h: Ditto.
2096
        * libm/machine/spu/headers/sqrtd2.h: Ditto.
2097
        * libm/machine/spu/headers/sqrtf.h: Ditto.
2098
        * libm/machine/spu/headers/sqrtf4.h: Ditto.
2099
        * libm/machine/spu/headers/tan.h: Ditto.
2100
        * libm/machine/spu/headers/tand2.h: Ditto.
2101
        * libm/machine/spu/headers/tanf.h: Ditto.
2102
        * libm/machine/spu/headers/tanf4.h: Ditto.
2103
        * libm/machine/spu/headers/tanh.h: Ditto.
2104
        * libm/machine/spu/headers/tanhd2.h: Ditto.
2105
        * libm/machine/spu/headers/tanhf.h: Ditto.
2106
        * libm/machine/spu/headers/tanhf4.h: Ditto.
2107
        * libm/machine/spu/headers/tgamma.h: Ditto.
2108
        * libm/machine/spu/headers/tgammad2.h: Ditto.
2109
        * libm/machine/spu/headers/tgammaf.h: Ditto.
2110
        * libm/machine/spu/headers/tgammaf4.h: Ditto.
2111
        * libm/machine/spu/headers/truncd2.h: Ditto.
2112
        * libm/machine/spu/headers/truncf4.h: Ditto.
2113
        * libm/machine/spu/log2.c: Ditto.
2114
        * libm/machine/spu/s_asinh.c: Ditto.
2115
        * libm/machine/spu/s_atan.c: Ditto.
2116
        * libm/machine/spu/s_cos.c: Ditto.
2117
        * libm/machine/spu/s_erf.c: Ditto.
2118
        * libm/machine/spu/s_expm1.c: Ditto.
2119
        * libm/machine/spu/s_isnan.c: Ditto.
2120
        * libm/machine/spu/s_log1p.c: Ditto.
2121
        * libm/machine/spu/s_nextafter.c: Ditto.
2122
        * libm/machine/spu/s_sin.c: Ditto.
2123
        * libm/machine/spu/s_tan.c: Ditto.
2124
        * libm/machine/spu/s_tanh.c: Ditto.
2125
        * libm/machine/spu/sf_asinh.c: Ditto.
2126
        * libm/machine/spu/sf_cos.c: Ditto.
2127
        * libm/machine/spu/sf_erf.c: Ditto.
2128
        * libm/machine/spu/sf_expm1.c: Ditto.
2129
        * libm/machine/spu/sf_log1p.c: Ditto.
2130
        * libm/machine/spu/sf_logb.c: Ditto.
2131
        * libm/machine/spu/sf_nearbyint.c: Ditto.
2132
        * libm/machine/spu/sf_nextafter.c: Ditto.
2133
        * libm/machine/spu/sf_rint.c: Ditto.
2134
        * libm/machine/spu/sf_sin.c: Ditto.
2135
        * libm/machine/spu/sf_tan.c: Ditto.
2136
        * libm/machine/spu/sf_tanh.c: Ditto.
2137
        * libm/machine/spu/w_acos.c: Ditto.
2138
        * libm/machine/spu/w_acosh.c: Ditto.
2139
        * libm/machine/spu/w_asin.c: Ditto.
2140
        * libm/machine/spu/w_atan2.c: Ditto.
2141
        * libm/machine/spu/w_atanh.c: Ditto.
2142
        * libm/machine/spu/w_cosh.c: Ditto.
2143
        * libm/machine/spu/w_exp.c: Ditto.
2144
        * libm/machine/spu/w_exp2.c: Ditto.
2145
        * libm/machine/spu/w_hypot.c: Ditto.
2146
        * libm/machine/spu/w_lgamma.c: Ditto.
2147
        * libm/machine/spu/w_log.c: Ditto.
2148
        * libm/machine/spu/w_log10.c: Ditto.
2149
        * libm/machine/spu/w_pow.c: Ditto.
2150
        * libm/machine/spu/w_sincos.c: Ditto.
2151
        * libm/machine/spu/w_sinh.c: Ditto.
2152
        * libm/machine/spu/w_tgamma.c: Ditto.
2153
        * libm/machine/spu/wf_acos.c: Ditto.
2154
        * libm/machine/spu/wf_acosh.c: Ditto.
2155
        * libm/machine/spu/wf_asin.c: Ditto.
2156
        * libm/machine/spu/wf_atan2.c: Ditto.
2157
        * libm/machine/spu/wf_atanh.c: Ditto.
2158
        * libm/machine/spu/wf_cosh.c: Ditto.
2159
        * libm/machine/spu/wf_hypot.c: Ditto.
2160
        * libm/machine/spu/wf_lgamma.c: Ditto.
2161
        * libm/machine/spu/wf_pow.c: Ditto.
2162
        * libm/machine/spu/wf_sincos.c: Ditto.
2163
        * libm/machine/spu/wf_sinh.c: Ditto.
2164
        * libm/machine/spu/wf_sqrt.c: Ditto.
2165
        * libm/machine/spu/wf_tgamma.c: Ditto.
2166
 
2167
2007-09-28  Patrick Mansfield  
2168
 
2169
        * configure.host: Define _POSIX_MODE to match the existing vector
2170
        math code, as we don't support the matherr callout.
2171
        * libm/machine/spu/Makefile.am: New file.
2172
        * libm/machine/spu/Makefile.in: Auto-generated.
2173
        * libm/machine/spu/headers/atanf.h: New file.
2174
        * libm/machine/spu/headers/cbrt.h: Ditto.
2175
        * libm/machine/spu/headers/cbrtf.h: Ditto.
2176
        * libm/machine/spu/headers/ceil.h: Ditto.
2177
        * libm/machine/spu/headers/ceilf.h: Ditto.
2178
        * libm/machine/spu/headers/copysign.h: Ditto.
2179
        * libm/machine/spu/headers/copysignf.h: Ditto.
2180
        * libm/machine/spu/headers/exp2f.h: Ditto.
2181
        * libm/machine/spu/headers/expf.h: Ditto.
2182
        * libm/machine/spu/headers/fabs.h: Ditto.
2183
        * libm/machine/spu/headers/fabsf.h: Ditto.
2184
        * libm/machine/spu/headers/fdim.h: Ditto.
2185
        * libm/machine/spu/headers/fdimf.h: Ditto.
2186
        * libm/machine/spu/headers/floor.h: Ditto.
2187
        * libm/machine/spu/headers/floorf.h: Ditto.
2188
        * libm/machine/spu/headers/fma.h: Ditto.
2189
        * libm/machine/spu/headers/fmaf.h: Ditto.
2190
        * libm/machine/spu/headers/fmax.h: Ditto.
2191
        * libm/machine/spu/headers/fmaxf.h: Ditto.
2192
        * libm/machine/spu/headers/fmin.h: Ditto.
2193
        * libm/machine/spu/headers/fminf.h: Ditto.
2194
        * libm/machine/spu/headers/fmod.h: Ditto.
2195
        * libm/machine/spu/headers/fmodf.h: Ditto.
2196
        * libm/machine/spu/headers/frexp.h: Ditto.
2197
        * libm/machine/spu/headers/frexpf.h: Ditto.
2198
        * libm/machine/spu/headers/ilogb.h: Ditto.
2199
        * libm/machine/spu/headers/ilogbf.h: Ditto.
2200
        * libm/machine/spu/headers/ldexp.h: Ditto.
2201
        * libm/machine/spu/headers/ldexpf.h: Ditto.
2202
        * libm/machine/spu/headers/llrint.h: Ditto.
2203
        * libm/machine/spu/headers/llrintf.h: Ditto.
2204
        * libm/machine/spu/headers/llround.h: Ditto.
2205
        * libm/machine/spu/headers/llroundf.h: Ditto.
2206
        * libm/machine/spu/headers/log10f.h: Ditto.
2207
        * libm/machine/spu/headers/log2f.h: Ditto.
2208
        * libm/machine/spu/headers/logf.h: Ditto.
2209
        * libm/machine/spu/headers/lrint.h: Ditto.
2210
        * libm/machine/spu/headers/lrintf.h: Ditto.
2211
        * libm/machine/spu/headers/lround.h: Ditto.
2212
        * libm/machine/spu/headers/lroundf.h: Ditto.
2213
        * libm/machine/spu/headers/nearbyint.h: Ditto.
2214
        * libm/machine/spu/headers/remainder.h: Ditto.
2215
        * libm/machine/spu/headers/remainderf.h: Ditto.
2216
        * libm/machine/spu/headers/remquo.h: Ditto.
2217
        * libm/machine/spu/headers/remquof.h: Ditto.
2218
        * libm/machine/spu/headers/rint.h: Ditto.
2219
        * libm/machine/spu/headers/round.h: Ditto.
2220
        * libm/machine/spu/headers/roundf.h: Ditto.
2221
        * libm/machine/spu/headers/scalbn.h: Ditto.
2222
        * libm/machine/spu/headers/scalbnf.h: Ditto.
2223
        * libm/machine/spu/headers/sqrt.h: Ditto.
2224
        * libm/machine/spu/headers/trunc.h: Ditto.
2225
        * libm/machine/spu/headers/truncf.h: Ditto.
2226
        * libm/machine/spu/headers/vec_literal.h: Ditto.
2227
        * libm/machine/spu/llrint.c: Ditto.
2228
        * libm/machine/spu/llrintf.c: Ditto.
2229
        * libm/machine/spu/llround.c: Ditto.
2230
        * libm/machine/spu/llroundf.c: Ditto.
2231
        * libm/machine/spu/log2f.c: Ditto.
2232
        * libm/machine/spu/s_cbrt.c: Ditto.
2233
        * libm/machine/spu/s_ceil.c: Ditto.
2234
        * libm/machine/spu/s_copysign.c: Ditto.
2235
        * libm/machine/spu/s_fabs.c: Ditto.
2236
        * libm/machine/spu/s_fdim.c: Ditto.
2237
        * libm/machine/spu/s_floor.c: Ditto.
2238
        * libm/machine/spu/s_fma.c: Ditto.
2239
        * libm/machine/spu/s_fmax.c: Ditto.
2240
        * libm/machine/spu/s_fmin.c: Ditto.
2241
        * libm/machine/spu/s_frexp.c: Ditto.
2242
        * libm/machine/spu/s_ilogb.c: Ditto.
2243
        * libm/machine/spu/s_ldexp.c: Ditto.
2244
        * libm/machine/spu/s_lrint.c: Ditto.
2245
        * libm/machine/spu/s_lround.c: Ditto.
2246
        * libm/machine/spu/s_nearbyint.c: Ditto.
2247
        * libm/machine/spu/s_remquo.c: Ditto.
2248
        * libm/machine/spu/s_rint.c: Ditto.
2249
        * libm/machine/spu/s_round.c: Ditto.
2250
        * libm/machine/spu/s_scalbn.c: Ditto.
2251
        * libm/machine/spu/s_trunc.c: Ditto.
2252
        * libm/machine/spu/sf_atan.c: Ditto.
2253
        * libm/machine/spu/sf_cbrt.c: Ditto.
2254
        * libm/machine/spu/sf_ceil.c: Ditto.
2255
        * libm/machine/spu/sf_copysign.c: Ditto.
2256
        * libm/machine/spu/sf_fabs.c: Ditto.
2257
        * libm/machine/spu/sf_fdim.c: Ditto.
2258
        * libm/machine/spu/sf_floor.c: Ditto.
2259
        * libm/machine/spu/sf_fma.c: Ditto.
2260
        * libm/machine/spu/sf_fmax.c: Ditto.
2261
        * libm/machine/spu/sf_fmin.c: Ditto.
2262
        * libm/machine/spu/sf_frexp.c: Ditto.
2263
        * libm/machine/spu/sf_ilogb.c: Ditto.
2264
        * libm/machine/spu/sf_ldexp.c: Ditto.
2265
        * libm/machine/spu/sf_lrint.c: Ditto.
2266
        * libm/machine/spu/sf_lround.c: Ditto.
2267
        * libm/machine/spu/sf_remquo.c: Ditto.
2268
        * libm/machine/spu/sf_round.c: Ditto.
2269
        * libm/machine/spu/sf_scalbn.c: Ditto.
2270
        * libm/machine/spu/sf_trunc.c: Ditto.
2271
        * libm/machine/spu/w_fmod.c: Ditto.
2272
        * libm/machine/spu/w_remainder.c: Ditto.
2273
        * libm/machine/spu/w_sqrt.c: Ditto.
2274
        * libm/machine/spu/wf_exp.c: Ditto.
2275
        * libm/machine/spu/wf_exp2.c: Ditto.
2276
        * libm/machine/spu/wf_fmod.c: Ditto.
2277
        * libm/machine/spu/wf_log.c: Ditto.
2278
        * libm/machine/spu/wf_log10.c: Ditto.
2279
        * libm/machine/spu/wf_remainder.c: Ditto.
2280
 
2281
2007-09-21  Patrick Mansfield  
2282
 
2283
        * libc/machine/spu/sys/uio.h: New file for readv and writev use.
2284
 
2285
2007-09-21  Patrick Mansfield  
2286
 
2287
        * libc/include/sched.h: New file, just include sys/sched.h.
2288
        * libc/machine/spu/sys/sched.h: New file, has just sched_yield
2289
        prototype.
2290
        * libc/machine/spu/sys/utime.h: New file, has utime prototype and
2291
        struct utimbuf definition.
2292
 
2293
2007-09-21  Patrick Mansfield  
2294
 
2295
        * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
2296
        specific struct and typedef.
2297
 
2298
2007-09-18  Patrick Mansfield  
2299
 
2300
        * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
2301
        typedef dev_t, gid_t, and uid_t.
2302
        * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
2303
        types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
2304
        Change to lower case for all __foo_t_defined names.
2305
        * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
2306
        __uid_t, and __gid_t making them all four bytes. Change to lower case
2307
        for all __foo_t_defined names.
2308
 
2309
2007-09-18  Jeff Johnston  
2310
 
2311
        * libc/reent/renamer.c: New file.
2312
        * libc/reent/Makefile.am: Add new file.
2313
        * libc/reent/Makefile.in: Regenerated.
2314
        * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
2315
        and add check for rename syscall.
2316
 
2317
2007-09-17  Eric Blake  
2318
 
2319
        Obey POSIX on printf("%.s", (char*)NULL).
2320
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
2321
        for %s on NULL.  Skip NULL check when optimizing for size.
2322
 
2323
2007-09-07  Jeff Johnston  
2324
 
2325
        * libc/include/sys/_types.h: Protect all types with flag
2326
        checks to allow definition in machine/_types.h.
2327
 
2328
2007-09-07  Jeff Johnston  
2329
 
2330
        * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
2331
        definitions in light of the previous change.
2332
 
2333
2007-09-07  Patrick Mansfield  
2334
 
2335
        * libc/include/machine/_default_types.h: New file, contains what
2336
        was previously in libc/include/machine/_types.h.
2337
        * libc/include/machine/_types.h: Now only includes
2338
        machine/_default_types.h.
2339
        * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
2340
        * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
2341
        with conditional declarations.
2342
        * libc/machine/spu/machine/_types.h: New file, add SPU specific
2343
        typedefs for _fpos_t and _fpos64_t.
2344
 
2345
2007-09-07  Jeff Johnston  
2346
 
2347
        * libc/include/math.h (_M_LOG2E): Replace with..
2348
        (_M_LOG2_E): New macro.
2349
        (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
2350
 
2351
2007-09-06  Brian Dessent  
2352
 
2353
        * libc/reent/getreent.c: Allow for case where __getreent is
2354
        defined as a macro.
2355
 
2356
2007-09-06  Jeff Johnston  
2357
 
2358
        * libc/include/math.h (_M_LOG2E): New log2 of e macro.
2359
        (log2): Use _M_LOG2E instead of M_LOG2E.
2360
        (log2f): Ditto.
2361
        (M_LOG2E): Define to be _M_LOG2E.
2362
 
2363
2007-09-04  Kazunori Asayama 
2364
 
2365
        * libm/math/wf_tgamma.c: Add missing include.
2366
 
2367
2007-08-31  Antony King  
2368
 
2369
        * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
2370
        bits and redefine associated dword0 macro (rvalue issue).
2371
        * libc/stdio/vfieeefp.h: Ditto.
2372
        * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2373
        to prevent setting dword1 which is an rvalue only.
2374
 
2375
2007-08-28  Hans Kester  
2376
 
2377
        * configure.host: Added support for x86_64.
2378
        * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
2379
        * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
2380
        * libc/machine/x86_64/aclocal.m4: Generated.
2381
        * libc/machine/x86_64/configure.in: New.
2382
        * libc/machine/x86_64/configure: Generated.
2383
        * libc/machine/x86_64/Makefile.am: New.
2384
        * libc/machine/x86_64/Makefile.in: Generated.
2385
        * libc/machine/x86_64/setjmp.S: New.
2386
        * libc/machine/x86_64/memcpy.S: New.
2387
        * libc/machine/x86_64/memset.S: New.
2388
        * libc/machine/configure.in: Added support for x86_64.
2389
        * libc/machine/configure: Regenerated.
2390
 
2391
2007-08-24  Jeff Johnston  
2392
 
2393
        * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
2394
        to int before comparing it to a signed int value.
2395
 
2396
2007-08-24  Hans-Peter Nilsson  
2397
 
2398
        * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
2399
        (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
2400
        Define.
2401
 
2402
2007-08-23  Hidetaka Takano  
2403
 
2404
        Reduce the memory consumption of variable argument functions
2405
        for SPU (cell):
2406
        * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
2407
          to assembler sources.
2408
        * libc/machine/spu/Makefile.in: Regenerated.
2409
        * libc/machine/spu/stdio.c: Add __check_init function wrapping
2410
          CHECK_INIT macro to use from assembler routines.
2411
        * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
2412
        * libc/machine/spu/fiprintf.S: New file.
2413
        * libc/machine/spu/fiscanf.S: Ditto.
2414
        * libc/machine/spu/fprintf.S: Ditto.
2415
        * libc/machine/spu/fscanf.S: Ditto.
2416
        * libc/machine/spu/iprintf.S: Ditto.
2417
        * libc/machine/spu/iscanf.S: Ditto.
2418
        * libc/machine/spu/printf.S: Ditto.
2419
        * libc/machine/spu/scanf.S: Ditto.
2420
        * libc/machine/spu/siprintf.S: Ditto.
2421
        * libc/machine/spu/siscanf.S: Ditto.
2422
        * libc/machine/spu/sniprintf.S: Ditto.
2423
        * libc/machine/spu/snprintf.S: Ditto.
2424
        * libc/machine/spu/sprintf.S: Ditto.
2425
        * libc/machine/spu/sscanf.S: Ditto.
2426
        * libc/machine/spu/stack_reg_va.S: Ditto.
2427
        * libc/machine/spu/syscall.def: Ditto. (for maintenance)
2428
        * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
2429
        * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
2430
        * libc/machine/spu/fiscanf.c: Ditto.
2431
        * libc/machine/spu/fprintf.c: Ditto.
2432
        * libc/machine/spu/fscanf.c: Ditto.
2433
        * libc/machine/spu/iprintf.c: Ditto.
2434
        * libc/machine/spu/iscanf.c: Ditto.
2435
        * libc/machine/spu/printf.c: Ditto.
2436
        * libc/machine/spu/scanf.c: Ditto.
2437
        * libc/machine/spu/siprintf.c: Ditto.
2438
        * libc/machine/spu/siscanf.c: Ditto.
2439
        * libc/machine/spu/sniprintf.c: Ditto.
2440
        * libc/machine/spu/snprintf.c: Ditto.
2441
        * libc/machine/spu/sprintf.c: Ditto.
2442
        * libc/machine/spu/sscanf.c: Ditto.
2443
 
2444
2007-08-03  Ralf Corsepius  
2445
 
2446
        * libc/include/tar.h: New.
2447
 
2448
2007-08-03  Jeff Johnston  
2449
 
2450
        * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
2451
        lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
2452
        * libc/sys/linux/intl/Makefile.in: Regenerated.
2453
        * libc/sys/linux/intl/stpcpy.c: Renamed to...
2454
        * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
2455
 
2456
2007-08-02  Eric Blake  
2457
 
2458
        Implement fmemopen and open_memstream.
2459
        * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
2460
        * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
2461
        New file.
2462
        * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
2463
        * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
2464
        functions together.
2465
        (fmemopen, open_memstream): Declare new functions.
2466
        * libc/stdio/stdio.tex: Document them.
2467
        * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
2468
        fmemopen and open_memstream.
2469
        * libc/stdio/Makefile.in: Regenerate.
2470
 
2471
2007-07-31  Eric Blake  
2472
 
2473
        More POSIX stream corner cases.
2474
        * libc/stdio/findfp.c (__sinit): Open stderr read/write.
2475
        * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
2476
        requested.
2477
        * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
2478
 
2479
2007-07-18  Eric Blake  
2480
 
2481
        Fix 'make info'.
2482
        * libc/stdio/stdio.tex: Add missing include.
2483
        * libc/stdio/vfprintf.c: Use expected node name.
2484
        * libc/stdio/vfscanf.c: Likewise.
2485
        * libc/stdio/sscanf.c: Likewise.
2486
        * libc/stdio/sprintf.c: Likewise.
2487
        * libc/stdio/siscanf.c: Likewise.
2488
        * libc/stdio/siprintf.c: Likewise.
2489
        * libc/stdio/fopencookie.c: Quote raw {}.
2490
        Reported by DJ Delorie.
2491
 
2492
2007-07-13  Eric Blake  
2493
 
2494
        Fix fflush issues.
2495
        * libc/stdio/fflush.c (_fflush_r): New function.
2496
        (fflush): Fix reentrancy and large offset behavior.
2497
        * libc/include/stdio.h (_fflush_r): Add prototype.
2498
        * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
2499
        * libc/stdio/freopen.c (_freopen_r): Likewise.
2500
        * libc/stdio/fseek.c (_fseek_r): Likewise.
2501
        * libc/stdio/ftell.c (_ftell_r): Likewise.
2502
        * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
2503
        * libc/stdio/refill.c (__srefill_r): Likewise.
2504
        * libc/stdio/setvbuf.c (setvbuf): Likewise.
2505
        * libc/stdio/ungetc.c (_ungetc_r): Likewise.
2506
        * libc/stdio/vfprintf.c (__sbprintf): Likewise.
2507
        * libc/stdio/wbuf.c (__swbuf_r): Likewise.
2508
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2509
        * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.  Defer to
2510
        32-bit version if not large file.
2511
        * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
2512
        * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
2513
 
2514
        Documentation updates.
2515
        * libc/stdio/ungetc.c: Document ungetc.
2516
        * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
2517
        of files with documentation.
2518
        * libc/stdio/Makefile.in: Regenerate.
2519
        * libc/stdio/stdio.tex: Sort and update stdio documentation index.
2520
 
2521
2007-07-11  Jeff Johnston  
2522
 
2523
        * libc/include/math.h: Fix so C99 functions/macros are accessible
2524
        when -std=c99 is used when compiling and not when using C89.
2525
 
2526
2007-07-06  Corinna Vinschen  
2527
 
2528
        * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
2529
        wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
2530
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
2531
        (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
2532
        wcstoull_r.c.
2533
        (CHEWOUT_FILES): Add .def files accordingly.
2534
        * libc/stdlib/Makefile.in: Regenerate.
2535
        * libc/stdlib/stdlib.tex: Add documentation links for above functions.
2536
        * libc/stdlib/strtoll.c: Fix portability note.
2537
        * libc/stdlib/strtoull.c: Ditto.
2538
        * libc/stdlib/wcstol.c: New file.
2539
        * libc/stdlib/wcstoll.c: New file.
2540
        * libc/stdlib/wcstoll_r.c: New file.
2541
        * libc/stdlib/wcstoul.c: New file.
2542
        * libc/stdlib/wcstoull.c: New file.
2543
        * libc/stdlib/wcstoull_r.c: New file.
2544
 
2545
2007-07-06  Jeff Johnston  
2546
 
2547
        * libc/include/sys/time.h (gettimeofday): Change to proper
2548
        prototype where second parameter is void *.
2549
        * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
2550
        accordingly.
2551
        * libc/include/reent.h: Fix prototype for _gettimeofday_r.
2552
        * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
2553
        * libc/sys/rdos/gettod.c: Ditto.
2554
        * libc/sys/sh/syscalls.c: Ditto.
2555
        * libc/time/time.c (time): Change call to _gettimeofday_r
2556
        to pass NULL as 2nd argument.
2557
 
2558
2007-07-06  Jeff Johnston  
2559
 
2560
        * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
2561
        * libc/sys/linux/intl/l10nflist.c: Ditto.
2562
 
2563
2007-07-04  Corinna Vinschen  
2564
 
2565
        * libc/include/wchar.h: Add prototype for wcsxfrm.
2566
        * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
2567
        (CHEWOUT_FILES): Add wcsxfrm.def.
2568
        * libc/string/Makefile.in: Regenerate.
2569
        * libc/string/wcsxfrm.c: New file.
2570
        * libc/string/wcstrings.tex: Add wcsxfrm.
2571
 
2572
2007-06-28  Corinna Vinschen  
2573
 
2574
        * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
2575
        * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
2576
        stpncpy.c.
2577
        (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
2578
        * libc/string/Makefile.in: Regenerate.
2579
        * libc/string/stpcpy.c: New file.
2580
        * libc/string/stpncpy.c: New file.
2581
        * libc/string/strings.tex: Add stpcpy and stpncpy.
2582
 
2583
2007-06-27  Eric Blake  
2584
 
2585
        Support __func__ in assert, as required by C99.
2586
        * libc/stdlib/assert.c (__assert_func): New function.
2587
        (__assert): Use __assert_func.
2588
        * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
2589
        possible.
2590
 
2591
2007-06-20  Patrick Mansfield  
2592
 
2593
        * libc/machine/spu/perror.c: Pass errno as the second argument to
2594
        the assist call.
2595
 
2596
2007-06-20  Patrick Mansfield  
2597
 
2598
        * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
2599
        defines; expose ftruncate, truncate and sync prototypes.
2600
 
2601
2007-06-20  Patrick Mansfield  
2602
 
2603
        * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
2604
        * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
2605
        visible.
2606
 
2607
2007-06-15  Patrick Mansfield  
2608
 
2609
        * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
2610
        from a dropped patch.
2611
        * libc/machine/spu/Makefile.in: Regenerate.
2612
 
2613
2007-06-13  Patrick Mansfield  
2614
 
2615
        * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
2616
        it just calls open with appropriate arguments.
2617
        * libc/machine/spu/Makefile.am: Add creat.c.
2618
        * libc/machine/spu/Makefile.in: Regenerate.
2619
 
2620
2007-06-13  Jeff Johnston  
2621
 
2622
        * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
2623
        I accidentally dropped.
2624
        * libc/machine/spu/Makefile.in: Regenerated.
2625
 
2626
2007-06-13  Patrick Mansfield  
2627
 
2628
        * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
2629
        * libc/include/sys/unistd.h: Change usleep prototype to Posix
2630
        form and move outside of OS flag checks.
2631
        * libc/machine/spu/Makefile.am: Add sleep and usleep.
2632
        * libc/machine/spu/Makefile.in: Regenerate.
2633
        * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
2634
        * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
2635
 
2636
2007-06-11  Corinna Vinschen  
2637
 
2638
        * libc/include/sys/unistd.h: Declare confstr for Cygwin.
2639
        Define confstr constants for Cygwin.  Add comment.
2640
 
2641
2007-06-10  Hans-Peter Nilsson  
2642
 
2643
        * libc/sys/mmixware/access.c (access): Do not try to use a magic
2644
        file-handle and a direct syscall, just use _open.
2645
        * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
2646
        file-handle.
2647
 
2648
        * libc/sys/mmixware/_exit.c (_exit): Update comment about
2649
        passing on the exit value.
2650
 
2651
2007-06-08  Jeff Johnston  
2652
 
2653
        * libc/string/strcasestr.c: New file.
2654
        * libc/include/string.h: Add strcasestr.
2655
        * libc/string/strings.tex: Add strcasestr.
2656
        * libc/string/Makefile.am: Ditto.
2657
        * libc/string/Makefile.in: Regenerated.
2658
 
2659
2007-06-06  Christian Groessler  
2660
 
2661
        * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
2662
        rnd is done after the last local variable declaration.
2663
 
2664
2007-06-06  Jeff Johnston  
2665
 
2666
        * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
2667
 
2668
2007-06-05  Christian Groessler  
2669
 
2670
        * libc/argz/argz_insert.c (argz_insert): Move delta variable
2671
        declaration to top of function in keeping with C89 standard.
2672
 
2673
2007-06-04  Eric Blake  
2674
 
2675
        Implement funopen, fopencookie.
2676
        * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
2677
        Switch to reentrant callbacks.
2678
        * libc/include/stdio.h (funopen): Fix declaration.
2679
        (fopencookie): Declare.
2680
        * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
2681
        (__sseek64, __swrite64): Fix prototypes.
2682
        [__SCLE]: Pull in setmode declaration.
2683
        * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
2684
        reentrancy.
2685
        * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
2686
        (__sseek64, __swrite64): Fix reentrancy.
2687
        * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
2688
        reentrancy.
2689
        * libc/stdio/ftell.c (_ftell_r): Likewise.
2690
        * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
2691
        * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
2692
        * libc/stdio/freopen.c (_freopen_r): Likewise.
2693
        * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
2694
        * libc/stdio/refill.c (__srefill_r): Likewise.
2695
        * libc/stdio/siscanf.c (eofread): Likewise.
2696
        * libc/stdio/sscanf.c (eofread): Likewise.
2697
        * libc/stdio/vsiscanf.c (eofread1): Likewise.
2698
        * libc/stdio/vsscanf.c (eofread1): Likewise.
2699
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2700
        * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
2701
        * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
2702
        * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
2703
        could be fixed.
2704
        * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
2705
        * libc/stdio/funopen.c (_funopen_r, funopen): New file.
2706
        * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
2707
        new files.
2708
        * libc/stdio/Makefile.in: Regenerate.
2709
 
2710
2007-05-29  Eric Blake  
2711
 
2712
        Avoid more compiler warnings.
2713
        * libc/stdlib/btowc.c: Add missing header.
2714
        * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
2715
        * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
2716
        * libc/stdlib/wctob.c: Add missing header.
2717
        * libc/string/strcpy.c (strcpy): Avoid warnings.
2718
        * libc/string/strrchr.c (strrchr): Likewise.
2719
 
2720
2007-05-29  Corinna Vinschen  
2721
 
2722
        * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
2723
        argument.
2724
        * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
2725
        * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
2726
        on empty input strings.
2727
        * libc/argz/argz_extract.c (argz_extract): Check argz_len before
2728
        looping through argz.
2729
        * libc/argz/argz_stringify.c (argz_stringify): Ditto.
2730
 
2731
2007-05-27  Brian Dessent  
2732
 
2733
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
2734
        handling %p.
2735
 
2736
2007-05-25  Eric Blake  
2737
 
2738
        * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
2739
 
2740
2007-05-24  Steve Ellcey  
2741
            Charles Wilson  
2742
 
2743
        * libtool.m4: removed
2744
        * configure.in: invoke _LD_DECL_SED before conditionally initializing
2745
        libtool.  Move AC_PROG_AWK outside conditional.
2746
        * libc/sys/linux/configure.in: Ditto.
2747
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
2748
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2749
        * libc/sys/linux/machine/i386/configure.in: Ditto.
2750
 
2751
        * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
2752
        initializing libtool.
2753
        * libc/configure.in: Ditto.
2754
        * libc/machine/configure.in: Ditto.
2755
        * libc/machine/i386/configure.in: Ditto.
2756
        * libc/sys/configure.in: Ditto.
2757
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2758
        * libc/sys/linux/machine/configure.in: Ditto.
2759
        * libm/configure.in: Ditto.
2760
        * libm/machine/configure.in: Ditto.
2761
 
2762
        * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
2763
        * doc/Makefile.am: Ditto.
2764
        * iconvdata/Makefile.am: Ditto.
2765
        * libc/Makefile.am: Ditto.
2766
        * libc/machine/Makefile.am: Ditto.
2767
        * libc/machine/a29k/Makefile.am: Ditto.
2768
        * libc/machine/arm/Makefile.am: Ditto.
2769
        * libc/machine/bfin/Makefile.am: Ditto.
2770
        * libc/machine/cris/Makefile.am: Ditto.
2771
        * libc/machine/crx/Makefile.am: Ditto.
2772
        * libc/machine/d10v/Makefile.am: Ditto.
2773
        * libc/machine/d30v/Makefile.am: Ditto.
2774
        * libc/machine/fr30/Makefile.am: Ditto.
2775
        * libc/machine/frv/Makefile.am: Ditto.
2776
        * libc/machine/h8300/Makefile.am: Ditto.
2777
        * libc/machine/h8500/Makefile.am: Ditto.
2778
        * libc/machine/hppa/Makefile.am: Ditto.
2779
        * libc/machine/i386/Makefile.am: Ditto.
2780
        * libc/machine/i960/Makefile.am: Ditto.
2781
        * libc/machine/iq2000/Makefile.am: Ditto.
2782
        * libc/machine/m32c/Makefile.am: Ditto.
2783
        * libc/machine/m32r/Makefile.am: Ditto.
2784
        * libc/machine/m68hc11/Makefile.am: Ditto.
2785
        * libc/machine/m68k/Makefile.am: Ditto.
2786
        * libc/machine/m88k/Makefile.am: Ditto.
2787
        * libc/machine/mips/Makefile.am: Ditto.
2788
        * libc/machine/mn10200/Makefile.am: Ditto.
2789
        * libc/machine/mn10300/Makefile.am: Ditto.
2790
        * libc/machine/mt/Makefile.am: Ditto.
2791
        * libc/machine/necv70/Makefile.am: Ditto.
2792
        * libc/machine/powerpc/Makefile.am: Ditto.
2793
        * libc/machine/sh/Makefile.am: Ditto.
2794
        * libc/machine/sparc/Makefile.am: Ditto.
2795
        * libc/machine/spu/Makefile.am: Ditto.
2796
        * libc/machine/tic4x/Makefile.am: Ditto.
2797
        * libc/machine/tic80/Makefile.am: Ditto.
2798
        * libc/machine/v850/Makefile.am: Ditto.
2799
        * libc/machine/w65/Makefile.am: Ditto.
2800
        * libc/machine/xscale/Makefile.am: Ditto.
2801
        * libc/machine/xstormy16/Makefile.am: Ditto.
2802
        * libc/machine/z8k/Makefile.am: Ditto.
2803
        * libc/sys/Makefile.am: Ditto.
2804
        * libc/sys/a29khif/Makefile.am: Ditto.
2805
        * libc/sys/arc/Makefile.am: Ditto.
2806
        * libc/sys/arm/Makefile.am: Ditto.
2807
        * libc/sys/d10v/Makefile.am: Ditto.
2808
        * libc/sys/decstation/Makefile.am: Ditto.
2809
        * libc/sys/h8300hms/Makefile.am: Ditto.
2810
        * libc/sys/h8500hms/Makefile.am: Ditto.
2811
        * libc/sys/linux/Makefile.am: Ditto.
2812
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2813
        * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
2814
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2815
        * libc/sys/linux/machine/Makefile.am: Ditto.
2816
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2817
        * libc/sys/m88kbug/Makefile.am: Ditto.
2818
        * libc/sys/mmixware/Makefile.am: Ditto.
2819
        * libc/sys/netware/Makefile.am: Ditto.
2820
        * libc/sys/rdos/Makefile.am: Ditto.
2821
        * libc/sys/rtems/Makefile.am: Ditto.
2822
        * libc/sys/sh/Makefile.am: Ditto.
2823
        * libc/sys/sparc64/Makefile.am: Ditto.
2824
        * libc/sys/sun4/Makefile.am: Ditto.
2825
        * libc/sys/sysmec/Makefile.am: Ditto.
2826
        * libc/sys/sysnec810/Makefile.am: Ditto.
2827
        * libc/sys/sysnecv850/Makefile.am: Ditto.
2828
        * libc/sys/sysvi386/Makefile.am: Ditto.
2829
        * libc/sys/sysvnecv70/Makefile.am: Ditto.
2830
        * libc/sys/tic80/Makefile.am: Ditto.
2831
        * libc/sys/w65/Makefile.am: Ditto.
2832
        * libc/sys/z8ksim/Makefile.am: Ditto.
2833
        * libm/Makefile.am: Ditto.
2834
        * libm/machine/Makefile.am: Ditto.
2835
        * libm/machine/i386/Makefile.am: Ditto.
2836
        * libm/machine/spu/Makefile.am: Ditto.
2837
 
2838
        * aclocal.m4: Regenerate.
2839
        * iconvdata/aclocal.m4: Regenerate.
2840
        * libc/aclocal.m4: Regenerate.
2841
        * libc/machine/aclocal.m4: Regenerate.
2842
        * libc/machine/i386/aclocal.m4: Regenerate.
2843
        * libc/sys/aclocal.m4: Regenerate.
2844
        * libc/sys/linux/aclocal.m4: Regenerate.
2845
        * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
2846
        * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
2847
        * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
2848
        * libc/sys/linux/machine/aclocal.m4: Regenerate.
2849
        * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
2850
        * libm/aclocal.m4: Regenerate.
2851
        * libm/machine/aclocal.m4: Regenerate.
2852
        * libm/machine/i386/aclocal.m4: Regenerate.
2853
 
2854
        * Makefile.in: Regenerate.
2855
        * doc/Makefile.in: Regenerate.
2856
        * iconvdata/Makefile.in: Regenerate.
2857
        * libc/Makefile.in: Regenerate.
2858
        * libc/argz/Makefile.in: Regenerate.
2859
        * libc/ctype/Makefile.in: Regenerate.
2860
        * libc/errno/Makefile.in: Regenerate.
2861
        * libc/iconv/Makefile.in: Regenerate.
2862
        * libc/iconv/ccs/Makefile.in: Regenerate.
2863
        * libc/iconv/ccs/binary/Makefile.in: Regenerate.
2864
        * libc/iconv/ces/Makefile.in: Regenerate.
2865
        * libc/iconv/lib/Makefile.in: Regenerate.
2866
        * libc/locale/Makefile.in: Regenerate.
2867
        * libc/machine/Makefile.in: Regenerate.
2868
        * libc/machine/a29k/Makefile.in: Regenerate.
2869
        * libc/machine/arm/Makefile.in: Regenerate.
2870
        * libc/machine/bfin/Makefile.in: Regenerate.
2871
        * libc/machine/cris/Makefile.in: Regenerate.
2872
        * libc/machine/crx/Makefile.in: Regenerate.
2873
        * libc/machine/d10v/Makefile.in: Regenerate.
2874
        * libc/machine/d30v/Makefile.in: Regenerate.
2875
        * libc/machine/fr30/Makefile.in: Regenerate.
2876
        * libc/machine/frv/Makefile.in: Regenerate.
2877
        * libc/machine/h8300/Makefile.in: Regenerate.
2878
        * libc/machine/h8500/Makefile.in: Regenerate.
2879
        * libc/machine/hppa/Makefile.in: Regenerate.
2880
        * libc/machine/i386/Makefile.in: Regenerate.
2881
        * libc/machine/i960/Makefile.in: Regenerate.
2882
        * libc/machine/iq2000/Makefile.in: Regenerate.
2883
        * libc/machine/m32c/Makefile.in: Regenerate.
2884
        * libc/machine/m32r/Makefile.in: Regenerate.
2885
        * libc/machine/m68hc11/Makefile.in: Regenerate.
2886
        * libc/machine/m68k/Makefile.in: Regenerate.
2887
        * libc/machine/m88k/Makefile.in: Regenerate.
2888
        * libc/machine/mips/Makefile.in: Regenerate.
2889
        * libc/machine/mn10200/Makefile.in: Regenerate.
2890
        * libc/machine/mn10300/Makefile.in: Regenerate.
2891
        * libc/machine/mt/Makefile.in: Regenerate.
2892
        * libc/machine/necv70/Makefile.in: Regenerate.
2893
        * libc/machine/powerpc/Makefile.in: Regenerate.
2894
        * libc/machine/sh/Makefile.in: Regenerate.
2895
        * libc/machine/sparc/Makefile.in: Regenerate.
2896
        * libc/machine/spu/Makefile.in: Regenerate.
2897
        * libc/machine/tic4x/Makefile.in: Regenerate.
2898
        * libc/machine/tic80/Makefile.in: Regenerate.
2899
        * libc/machine/v850/Makefile.in: Regenerate.
2900
        * libc/machine/w65/Makefile.in: Regenerate.
2901
        * libc/machine/xscale/Makefile.in: Regenerate.
2902
        * libc/machine/xstormy16/Makefile.in: Regenerate.
2903
        * libc/machine/z8k/Makefile.in: Regenerate.
2904
        * libc/misc/Makefile.in: Regenerate.
2905
        * libc/posix/Makefile.in: Regenerate.
2906
        * libc/reent/Makefile.in: Regenerate.
2907
        * libc/search/Makefile.in: Regenerate.
2908
        * libc/signal/Makefile.in: Regenerate.
2909
        * libc/stdio/Makefile.in: Regenerate.
2910
        * libc/stdio64/Makefile.in: Regenerate.
2911
        * libc/stdlib/Makefile.in: Regenerate.
2912
        * libc/string/Makefile.in: Regenerate.
2913
        * libc/sys/Makefile.in: Regenerate.
2914
        * libc/sys/a29khif/Makefile.in: Regenerate.
2915
        * libc/sys/arc/Makefile.in: Regenerate.
2916
        * libc/sys/arm/Makefile.in: Regenerate.
2917
        * libc/sys/d10v/Makefile.in: Regenerate.
2918
        * libc/sys/decstation/Makefile.in: Regenerate.
2919
        * libc/sys/h8300hms/Makefile.in: Regenerate.
2920
        * libc/sys/h8500hms/Makefile.in: Regenerate.
2921
        * libc/sys/linux/Makefile.in: Regenerate.
2922
        * libc/sys/linux/argp/Makefile.in: Regenerate.
2923
        * libc/sys/linux/cmath/Makefile.in: Regenerate.
2924
        * libc/sys/linux/dl/Makefile.in: Regenerate.
2925
        * libc/sys/linux/iconv/Makefile.in: Regenerate.
2926
        * libc/sys/linux/intl/Makefile.in: Regenerate.
2927
        * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
2928
        * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
2929
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
2930
        * libc/sys/linux/machine/Makefile.in: Regenerate.
2931
        * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
2932
        * libc/sys/linux/net/Makefile.in: Regenerate.
2933
        * libc/sys/linux/stdlib/Makefile.in: Regenerate.
2934
        * libc/sys/m88kbug/Makefile.in: Regenerate.
2935
        * libc/sys/mmixware/Makefile.in: Regenerate.
2936
        * libc/sys/netware/Makefile.in: Regenerate.
2937
        * libc/sys/rdos/Makefile.in: Regenerate.
2938
        * libc/sys/rtems/Makefile.in: Regenerate.
2939
        * libc/sys/sh/Makefile.in: Regenerate.
2940
        * libc/sys/sparc64/Makefile.in: Regenerate.
2941
        * libc/sys/sun4/Makefile.in: Regenerate.
2942
        * libc/sys/sysmec/Makefile.in: Regenerate.
2943
        * libc/sys/sysnec810/Makefile.in: Regenerate.
2944
        * libc/sys/sysnecv850/Makefile.in: Regenerate.
2945
        * libc/sys/sysvi386/Makefile.in: Regenerate.
2946
        * libc/sys/sysvnecv70/Makefile.in: Regenerate.
2947
        * libc/sys/tic80/Makefile.in: Regenerate.
2948
        * libc/sys/w65/Makefile.in: Regenerate.
2949
        * libc/sys/z8ksim/Makefile.in: Regenerate.
2950
        * libc/syscalls/Makefile.in: Regenerate.
2951
        * libc/time/Makefile.in: Regenerate.
2952
        * libc/unix/Makefile.in: Regenerate.
2953
        * libm/Makefile.in: Regenerate.
2954
        * libm/common/Makefile.in: Regenerate.
2955
        * libm/machine/Makefile.in: Regenerate.
2956
        * libm/machine/i386/Makefile.in: Regenerate.
2957
        * libm/machine/spu/Makefile.in: Regenerate.
2958
        * libm/math/Makefile.in: Regenerate.
2959
        * libm/mathfp/Makefile.in: Regenerate.
2960
 
2961
        * configure: Regenerate.
2962
        * iconvdata/configure: Regenerate.
2963
        * libc/configure: Regenerate.
2964
        * libc/machine/configure: Regenerate.
2965
        * libc/machine/i386/configure: Regenerate.
2966
        * libc/sys/configure: Regenerate.
2967
        * libc/sys/linux/configure: Regenerate.
2968
        * libc/sys/linux/linuxthreads/configure: Regenerate.
2969
        * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
2970
        * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
2971
        * libc/sys/linux/machine/configure: Regenerate.
2972
        * libc/sys/linux/machine/i386/configure: Regenerate.
2973
        * libm/configure: Regenerate.
2974
        * libm/machine/configure: Regenerate.
2975
        * libm/machine/i386/configure: Regenerate.
2976
 
2977
2007-05-23  Eric Blake  
2978
 
2979
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
2980
        sizeof(void*) is 8 but sizeof(long) is 4.
2981
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise.  Fix %i scanning
2982
        of "-0x".  Support "-nan" and "inf" for %e.  Audit usage of ungetc
2983
        to fix reentrancy and bug on encoding error in multibyte locales.
2984
        Always return EOF on read error.
2985
 
2986
2007-05-23 Patrick Mansfield 
2987
 
2988
        * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
2989
        prototype.
2990
        * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
2991
        instead of the slot 0 value, remove any now unused variables, and
2992
        for some cases, now store the result in an int vs int*.
2993
        * libc/machine/spu/feof.c: Ditto.
2994
        * libc/machine/spu/ferror.c: Ditto.
2995
        * libc/machine/spu/fflush.c: Ditto.
2996
        * libc/machine/spu/fgetc.c: Ditto.
2997
        * libc/machine/spu/fgetpos.c: Ditto.
2998
        * libc/machine/spu/fgets.c: Ditto.
2999
        * libc/machine/spu/fileno.c: Ditto.
3000
        * libc/machine/spu/fopen.c: Ditto.
3001
        * libc/machine/spu/fprintf.c: Ditto.
3002
        * libc/machine/spu/fputc.c: Ditto.
3003
        * libc/machine/spu/fputs.c: Ditto.
3004
        * libc/machine/spu/fread.c: Ditto.
3005
        * libc/machine/spu/freopen.c: Ditto.
3006
        * libc/machine/spu/fscanf.c: Ditto.
3007
        * libc/machine/spu/fseek.c: Ditto.
3008
        * libc/machine/spu/fsetpos.c: Ditto.
3009
        * libc/machine/spu/ftell.c: Ditto.
3010
        * libc/machine/spu/fwrite.c: Ditto.
3011
        * libc/machine/spu/getc.c: Ditto.
3012
        * libc/machine/spu/getchar.c: Ditto.
3013
        * libc/machine/spu/gets.c: Ditto.
3014
        * libc/machine/spu/printf.c: Ditto.
3015
        * libc/machine/spu/putc.c: Ditto.
3016
        * libc/machine/spu/putchar.c: Ditto.
3017
        * libc/machine/spu/puts.c: Ditto.
3018
        * libc/machine/spu/remove.c: Ditto.
3019
        * libc/machine/spu/rename.c: Ditto.
3020
        * libc/machine/spu/scanf.c: Ditto.
3021
        * libc/machine/spu/setvbuf.c: Ditto.
3022
        * libc/machine/spu/snprintf.c: Ditto.
3023
        * libc/machine/spu/sprintf.c: Ditto.
3024
        * libc/machine/spu/sscanf.c: Ditto.
3025
        * libc/machine/spu/tmpfile.c: Ditto.
3026
        * libc/machine/spu/tmpnam.c: Ditto.
3027
        * libc/machine/spu/ungetc.c: Ditto.
3028
        * libc/machine/spu/vfprintf.c: Ditto.
3029
        * libc/machine/spu/vfscanf.c: Ditto.
3030
        * libc/machine/spu/vprintf.c: Ditto.
3031
        * libc/machine/spu/vscanf.c: Ditto.
3032
        * libc/machine/spu/vsnprintf.c: Ditto.
3033
        * libc/machine/spu/vsprintf.c: Ditto.
3034
        * libc/machine/spu/vsscanf.c: Ditto.
3035
 
3036
2007-05-23  Eric Blake  
3037
 
3038
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
3039
        Avoid warning when !FLOATING_POINT.
3040
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
3041
        slightly.
3042
 
3043
2007-05-23  Corinna Vinschen  
3044
 
3045
        * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
3046
        to zero.
3047
        * libc/include/argz.h: Guard against multiple inclusion.  Guard for
3048
        use with C++.
3049
 
3050
2007-05-18  Eric Blake  
3051
 
3052
        * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
3053
        compilers.
3054
        * libc/stdio/vfscanf.c: Likewise.
3055
 
3056
2007-05-17  Cary R.   yahoo.com>
3057
 
3058
        * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
3059
        (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
3060
        * libm/math/wf_atan2.c: Ditto.
3061
 
3062
2007-05-17  Yaakov Selkowitz   users.sourceforge.net>
3063
 
3064
        * libm/common/Makefile.am: Add support for exp10, exp10f,
3065
        pow10, and pow10f functions.
3066
        * libm/common/Makefile.in: Regenerated.
3067
        * libm/common/s_pow10.c: New file.
3068
        * libm/common/sf_pow10.c: Ditto.
3069
        * libm/common/s_exp10.c: Ditto.
3070
        * libm/common/sf_exp10.c: Ditto.
3071
        * libc/include/math.h [!pow10]: New pow10 prototype.
3072
        [!pow10f]: New pow10f prototype.
3073
        [!exp10]: New exp10 prototype.
3074
        [!exp10f]: New exp10f prototype.
3075
 
3076
2007-05-17  Charles Wilson  
3077
 
3078
        * stdio/tmpfile.c: Include .
3079
        * stdio64/tmpfile64.c: Ditto.
3080
 
3081
2007-05-16  Eric Blake  
3082
 
3083
        Close security hole in tmpfile.
3084
        * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
3085
        generation and opening the fd.
3086
        * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
3087
 
3088
        * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
3089
        (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
3090
        required by POSIX.
3091
        * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
3092
        avoid clash with .
3093
 
3094
        * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
3095
        * libc/search/hash.c (__hash_open): Likewise.
3096
 
3097
2007-05-14 Eric Blake 
3098
 
3099
        Reduce stack size of *printf.
3100
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
3101
        in %f.  Avoid malloc when possible for %S.
3102
        (BUF): Improve stack locality by using smaller size.
3103
        (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
3104
        (exponent): Use smaller stack size.
3105
 
3106
2007-05-11  Eric Blake  
3107
 
3108
        Minimize printf/scanf size on platforms that don't need C99.
3109
        * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
3110
        * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
3111
        * configure.in (newlib-io-c99-formats): New configure option.
3112
        (_WANT_IO_C99_FORMATS): Define appropriately.
3113
        * configure.host (*-linux*, cygwin): Default c99-formats to yes.
3114
        * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
3115
        Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
3116
        * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
3117
        Likewise.
3118
        * configure: Regenerate.
3119
 
3120
        * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
3121
        (get_arg): Support '%a' and '%A'.
3122
 
3123
2007-05-09  Eric Blake  
3124
 
3125
        Allow zero size with non-null buf in *asnprintf.
3126
        * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
3127
        user's buf.
3128
        * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
3129
        * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
3130
        * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
3131
 
3132
2007-05-07  Charles Wilson  
3133
 
3134
        * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
3135
 
3136
2007-05-03  Eric Blake  
3137
 
3138
        Add support for asnprintf, and improve *printf documentation.
3139
        * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
3140
        (ELIX_2_SOURCES): ...to this.
3141
        (ELIX_4_SOURCES): Add new variable.  Build asnprintf.
3142
        (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
3143
        (CHEWOUT_FILES): Include diprintf in documentation.
3144
        * libc/stdio/Makefile.in: Regenerate.
3145
        * libc/stdio/diprintf.c: Improve documentation.
3146
        * libc/stdio/dprintf.c: Likewise.
3147
        * libc/stdio/siprintf.c: Likewise.
3148
        * libc/stdio/sprintf.c: Likewise.
3149
        * libc/stdio/vfprintf.c: Likewise.
3150
        * libc/stdio/viprintf.c: Likewise.
3151
        * libc/stdio/vsniprintf.c: Consolidate documentation.
3152
        * libc/stdio/asiprintf.c: Refer to documentation.
3153
        * libc/stdio/asprintf.c: Likewise.
3154
        * libc/stdio/fiprintf.c: Likewise.
3155
        * libc/stdio/fprintf.c: Likewise.
3156
        * libc/stdio/iprintf.c: Likewise.
3157
        * libc/stdio/printf.c: Likewise.
3158
        * libc/stdio/sniprintf.c: Likewise.
3159
        * libc/stdio/vdiprintf.c: Likewise.
3160
        * libc/stdio/vdprintf.c: Likewise.
3161
        * libc/stdio/vsiprintf.c: Likewise.
3162
        * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
3163
        * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
3164
        * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
3165
        * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
3166
        file.
3167
        * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
3168
        * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
3169
        typical case.
3170
        * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
3171
        * libc/include/stdio.h: Add prototypes for new functions; sort
3172
        existing functions.
3173
 
3174
2007-05-03  Kazu Hirata  
3175
 
3176
        * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
3177
        and memset.S.
3178
        * libc/machine/m68k/Makefile.in: Regenerate.
3179
        * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
3180
        * libc/machine/m68k/memset.S: Likewise.
3181
 
3182
2007-05-01  Eric Blake  
3183
 
3184
        * libc/stdio64/local64.h: Delete, move contents to...
3185
        * libc/stdio/local.h: ...here.
3186
        * libc/stdio64/fdopen64.c: Update includes.
3187
        * libc/stdio64/fopen64.c: Likewise.
3188
        * libc/stdio64/freopen64.c: Likewise.
3189
        * libc/stdio64/fseeko64.c: Likewise.
3190
        * libc/stdio64/ftello64.c: Likewise.
3191
        * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
3192
        and stderr with 64-bit offset.
3193
        * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
3194
        * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
3195
        * libc/stdio/mktemp.c (_gettemp): Likewise.
3196
 
3197
2007-05-01  Cary R.   yahoo.com>
3198
 
3199
        * libm/math/e_pow.c: Fix to be consistent with glibc with regards
3200
        to treatment of NaN and +-inf arguments.
3201
        * libm/math/ef_pow.c: Ditto.
3202
        * libm/math/w_pow.c: Ditto.
3203
        * libm/math/wf_pow.c: Ditto.
3204
        * libm/math/w_acos.c: Fix domain errors to return NaN.
3205
        * libm/math/w_asin.c: Ditto.
3206
        * libm/math/wf_acos.c: Ditto.
3207
        * libm/math/wf_asin.c: Ditto.
3208
        * libm/math/w_log.c: Fix to return NaN for negative number inputs.
3209
        * libm/math/wf_log.c: Ditto.
3210
        * libm/math/wf_log10.c: Ditto.
3211
        * libm/math/w_log10.c: Ditto.
3212
 
3213
2007-04-27  Jeff Johnston  
3214
 
3215
        * libc/machine/m68k/Makefile.am: Temporarily remove
3216
        memcpy.S and memset.S until logic can be confirmed for
3217
        !(__mcoldfile__) case.
3218
        * libc/machine/m68k/Makefile.in: Regenerated.
3219
 
3220
2007-04-27  Kazu Hirata  
3221
 
3222
        * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
3223
        and memset.S.
3224
        * libc/machine/m68k/Makefile.in: Regenerate.
3225
        * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
3226
 
3227
2007-04-26  Patrick Mansfield 
3228
 
3229
        * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
3230
        overridden via machine/ieeefp.h.
3231
        * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
3232
        macros for isnan and related macros.
3233
        * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
3234
        overridden via machine/ieeefp.h.
3235
        * libm/machine/spu/Makefile.am: Add new files.
3236
        * libm/machine/spu/Makefile.in: Autogenerate with new files.
3237
        * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
3238
        * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
3239
        * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
3240
        * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
3241
        * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
3242
        * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
3243
        * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
3244
 
3245
2007-04-25  Jeff Johnston  
3246
 
3247
        * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
3248
        * libm/common/sf_fpclassify.c: ...here.  New file.
3249
        * libm/common/Makefile.am: Add sf_fpclassify.c.
3250
        * libm/common/Makefile.in: Regenerated.
3251
 
3252
2007-04-25  Patrick Mansfield 
3253
 
3254
        * libc/machine/spu/sys/errno.h: New file, so spu errno values match
3255
        ppu linux values. This file is a copy of the cris/sys/errno.h plus
3256
        a few changes (see spu errno.h comments).
3257
 
3258
2007-04-25  Eric Blake  
3259
 
3260
        * libc/stdio/vfprintf.c (get_arg): Support %1$lc.  Simplify types
3261
        that promote to int.
3262
 
3263
2007-04-25  Patrick Mansfield 
3264
 
3265
        * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
3266
        we clear the proper bits in the fpscr, and don't set some random ones.
3267
 
3268
2007-04-24  Eric Blake  
3269
 
3270
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
3271
        or NaN with %05f.
3272
 
3273
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
3274
        _MB_CAPABLE.
3275
 
3276
        * libc/include/limits.h (NL_ARGMAX): Define a default value.
3277
        * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
3278
        NL_ARGMAX, if present.
3279
 
3280
2007-04-23  Brian Dessent  
3281
 
3282
        * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
3283
        has been specified with types 'f', 'F', 'g', or 'G', ensure the
3284
        trailing decimal is printed.
3285
 
3286
2007-04-23  Ralf Wildenhues   gmx.de>
3287
 
3288
        * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
3289
        file.  Override Autoconf-2.59's version of these macros with
3290
        fixed handling of multiple adjacent whitespace in arguments.
3291
        * aclocal.m4: Regenerated forcefully.
3292
        * configure: Ditto.
3293
        * Makefile.in: Ditto.
3294
        * libc/*Makefile.in: Ditto.
3295
        * libc/*aclocal.m4: Ditto.
3296
        * libc/*configure: Ditto.
3297
        * libm/*Makefile.in: Ditto.
3298
        * libm/*aclocal.m4: Ditto.
3299
        * libm/*configure: Ditto.
3300
 
3301
2007-04-23  Jeff Johnston  
3302
 
3303
        * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
3304
        * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
3305
        and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
3306
        * libc/sys/arc/Makefile.in: Regenerated.
3307
 
3308
2007-04-17  Brian Dessent  
3309
 
3310
        * libc/stdio/sscanf.c: Update documentation comments.
3311
        * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
3312
 
3313
2007-04-12  Eric Blake  
3314
 
3315
        * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
3316
        (chclass): Recognize 'F', 'X', 'n', and not 'W'.
3317
        (get_arg): Handle %1$F, %1$n.
3318
 
3319
2007-04-10  Eric Blake  
3320
 
3321
        * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
3322
        CFLAGS=-O0.
3323
 
3324
2007-04-09  Eric Blake  
3325
 
3326
        * libc/include/stdio.h: Add gcc format attributes to printf and
3327
        scanf families.
3328
 
3329
2007-04-09  Joel Schopp 
3330
 
3331
        * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
3332
        even if the passed in length n is shorter than the source string.
3333
        This matches both the non-spu specific and the glibc strxfrm
3334
        behaviour.
3335
 
3336
2007-04-04  Mark Mitchell  
3337
 
3338
        * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
3339
        functions registering additional atexit functions.
3340
 
3341
        * testsuite/lib/flags.exp (newlib_include_flags): Drop
3342
        -I${newlib_dir}.
3343
 
3344
2007-04-04  Patrick Mansfield 
3345
 
3346
        * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
3347
        prototype.
3348
        * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
3349
        * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
3350
        * libc/machine/spu/fclose.c: Ditto.
3351
        * libc/machine/spu/feof.c: Ditto.
3352
        * libc/machine/spu/ferror.c: Ditto.
3353
        * libc/machine/spu/fflush.c: Ditto.
3354
        * libc/machine/spu/fgetc.c: Ditto.
3355
        * libc/machine/spu/fgetpos.c: Ditto.
3356
        * libc/machine/spu/fgets.c: Ditto.
3357
        * libc/machine/spu/fileno.c: Ditto.
3358
        * libc/machine/spu/fopen.c: Ditto.
3359
        * libc/machine/spu/fprintf.c: Ditto.
3360
        * libc/machine/spu/fputc.c: Ditto.
3361
        * libc/machine/spu/fputs.c: Ditto.
3362
        * libc/machine/spu/fread.c: Ditto.
3363
        * libc/machine/spu/freopen.c: Ditto.
3364
        * libc/machine/spu/fscanf.c: Ditto.
3365
        * libc/machine/spu/fseek.c: Ditto.
3366
        * libc/machine/spu/fsetpos.c: Ditto.
3367
        * libc/machine/spu/ftell.c: Ditto.
3368
        * libc/machine/spu/fwrite.c: Ditto.
3369
        * libc/machine/spu/getc.c: Ditto.
3370
        * libc/machine/spu/getchar.c: Ditto.
3371
        * libc/machine/spu/gets.c: Ditto.
3372
        * libc/machine/spu/perror.c: Ditto.
3373
        * libc/machine/spu/printf.c: Ditto.
3374
        * libc/machine/spu/putc.c: Ditto.
3375
        * libc/machine/spu/putchar.c: Ditto.
3376
        * libc/machine/spu/puts.c: Ditto.
3377
        * libc/machine/spu/remove.c: Ditto.
3378
        * libc/machine/spu/rename.c: Ditto.
3379
        * libc/machine/spu/rewind.c: Ditto.
3380
        * libc/machine/spu/scanf.c: Ditto.
3381
        * libc/machine/spu/setbuf.c: Ditto.
3382
        * libc/machine/spu/setvbuf.c: Ditto.
3383
        * libc/machine/spu/snprintf.c: Ditto.
3384
        * libc/machine/spu/sprintf.c: Ditto.
3385
        * libc/machine/spu/sscanf.c: Ditto.
3386
        * libc/machine/spu/tmpfile.c: Ditto.
3387
        * libc/machine/spu/tmpnam.c: Ditto.
3388
        * libc/machine/spu/ungetc.c: Ditto.
3389
        * libc/machine/spu/vfprintf.c: Ditto.
3390
        * libc/machine/spu/vfscanf.c: Ditto.
3391
        * libc/machine/spu/vprintf.c: Ditto.
3392
        * libc/machine/spu/vscanf.c: Ditto.
3393
        * libc/machine/spu/vsnprintf.c: Ditto.
3394
        * libc/machine/spu/vsprintf.c: Ditto.
3395
        * libc/machine/spu/vsscanf.c: Ditto.
3396
 
3397
2007-04-04  Jeff Johnston  
3398
 
3399
        * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
3400
 
3401
2007-04-04  Eric Blake  
3402
 
3403
        * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
3404
        (asiprintf): Avoid overhead.
3405
        * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
3406
        (asprintf): Avoid overhead.
3407
        * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
3408
        * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
3409
        * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
3410
        (fiprintf): Avoid overhead.
3411
        * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
3412
        (fprintf): Avoid overhead.
3413
        * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
3414
        (iprintf): Avoid overhead.
3415
        * libc/stdio/printf.c (_printf_r): Use _DEFUN.
3416
        (printf): Avoid overhead.
3417
        * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
3418
        * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
3419
        * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
3420
        * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
3421
        * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
3422
        * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
3423
        * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
3424
        * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
3425
        * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
3426
        vdiprintf.c.
3427
        * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
3428
        (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
3429
 
3430
2007-03-30  Dave Korn  
3431
 
3432
        * libc/include/stdio.h (_ELIDABLE_INLINE):  New macro to conceal
3433
        conflicting inline semantics between C99 and GNU89.
3434
        (__sgetc_r):  Replace static inline with _ELIDABLE_INLINE to be
3435
        compatible with -fkeep-inline-functions usage.
3436
        (__sputc_r):  Likewise for consistency even though disabled.
3437
 
3438
2007-03-29  Nick Clifton  
3439
 
3440
        Reflect changes made to generic vfprintf.c:
3441
        * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
3442
        and add a "struct reent *" argument.
3443
        (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
3444
        argument and call _VFPRINTF_R instead of VFPRINTF.
3445
        (_VFPRINTF_R): Add data pointer to call to cantwrite().
3446
        Fix uses of __sprint() and __sbprintf.
3447
 
3448
2007-03-20  Nick Clifton  
3449
 
3450
        Reflect changes made to generic vfprintf.c:
3451
        * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
3452
        and add a "struct reent *" argument.
3453
        (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
3454
        argument and call _VFPRINTF_R instead of VFPRINTF.
3455
        (_VFPRINTF_R): Add data pointer to call to cantwrite().
3456
        Fix uses of __sprint() and __sbprintf.
3457
 
3458
2007-03-16  Charles Wilson  
3459
 
3460
        * libc/argz/argz_insert.c: "before" pointer is
3461
        invalid after *argz realloc.  Compute offset
3462
        between "before" and *argz, and use it after
3463
        reallocation instead.
3464
 
3465
2007-03-16  Eric Blake  
3466
 
3467
        * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
3468
        * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3469
 
3470
2007-03-15  Jeff Johnston  
3471
 
3472
        * configure.in: Add new --enable-newlib-reent-small option.
3473
        * configure: Regenerated.
3474
        * acconfig.h: Add _WANT_REENT_SMALL.
3475
        * newlib.hin: Regenerated minus PACKAGE macros to add
3476
        _WANT_REENT_SMALL macro.
3477
        * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
3478
        if not already set.
3479
        * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
3480
        there is no buffer.
3481
        * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
3482
        use reentrant pointer passed in when resetting the file
3483
        pointer to one of the std streams.
3484
 
3485
2007-03-15  Eric Blake  
3486
 
3487
        * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
3488
        (__smakebuf): Rename...
3489
        (__smakebuf_r): to this.
3490
        * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
3491
        * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
3492
        allocation, then rename...
3493
        (__smakebuf_r): ...to this and fix reentrancy.
3494
        * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
3495
        allocation, then rename...
3496
        (__swsetup_r): ...to this and fix reentrancy.
3497
        * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
3498
        * libc/stdio/refill.c (__srefill_r): Likewise.
3499
        * libc/stdio/fclose.c (_fclose_r): Likewise.
3500
        * libc/stdio/fread.c (_fread_r): Likewise.
3501
        * libc/stdio/freopen.c (_freopen_r): Likewise.
3502
        * libc/stdio/wbuf.c (__swbuf_r): Likewise.
3503
        * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
3504
        * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
3505
        failed asprintf allocation, and fix reentrancy.
3506
        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
3507
        as required by POSIX.
3508
        * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
3509
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
3510
        * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
3511
 
3512
2007-03-12  Eric Blake  
3513
 
3514
        * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
3515
        * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
3516
        allocation to caller.
3517
        * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
3518
        * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
3519
        * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
3520
 
3521
2007-02-23  Jeff Johnston  
3522
 
3523
        * libm/math/w_pow.c: Fix typo in documentation comment.
3524
 
3525
2007-02-21  Patrick Mansfield 
3526
 
3527
        * libc/reent/timer.c: Removed (split into two new files).
3528
        * libc/reent/timesr.c: New file for _times_r.
3529
        * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
3530
        * reent/Makefile.in: Remove timer.c, add timesr.c and
3531
        gettimeofdayr.c.
3532
        * libc/reent/Makefile.am: Regenerate.
3533
 
3534
2007-02-20  Patrick Mansfield 
3535
 
3536
        * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
3537
 
3538
2007-02-20  Kazunori Asayama 
3539
 
3540
        * libc/machine/spu/Makefile.am: Add new objects.
3541
        * libc/machine/spu/Makefile.in: Regenerated.
3542
        * libc/machine/spu/fiprintf.c: New file. Add implementation of
3543
        integer-only version.
3544
        * libc/machine/spu/fiscanf.c: Ditto.
3545
        * libc/machine/spu/iprintf.c: Ditto.
3546
        * libc/machine/spu/iscanf.c: Ditto.
3547
        * libc/machine/spu/siprintf.c: Ditto.
3548
        * libc/machine/spu/siscanf.c: Ditto.
3549
        * libc/machine/spu/sniprintf.c: Ditto.
3550
        * libc/machine/spu/vfiprintf.c: Ditto.
3551
        * libc/machine/spu/vfiscanf.c: Ditto.
3552
        * libc/machine/spu/viprintf.c: Ditto.
3553
        * libc/machine/spu/viscanf.c: Ditto.
3554
        * libc/machine/spu/vsiprintf.c: Ditto.
3555
        * libc/machine/spu/vsiscanf.c: Ditto.
3556
        * libc/machine/spu/vsniprintf.c: Ditto.
3557
        * libc/machine/spu/fprintf.c: Add support for integer-only
3558
        version.
3559
        * libc/machine/spu/fscanf.c: Ditto.
3560
        * libc/machine/spu/printf.c: Ditto.
3561
        * libc/machine/spu/scanf.c: Ditto.
3562
        * libc/machine/spu/snprintf.c: Ditto.
3563
        * libc/machine/spu/sprintf.c: Ditto.
3564
        * libc/machine/spu/sscanf.c: Ditto.
3565
        * libc/machine/spu/vfprintf.c: Ditto.
3566
        * libc/machine/spu/vfscanf.c: Ditto.
3567
        * libc/machine/spu/vprintf.c: Ditto.
3568
        * libc/machine/spu/vscanf.c: Ditto.
3569
        * libc/machine/spu/vsnprintf.c: Ditto.
3570
        * libc/machine/spu/vsprintf.c: Ditto.
3571
        * libc/machine/spu/vsscanf.c: Ditto.
3572
 
3573
2007-02-20  Kazunori Asayama 
3574
 
3575
        * libc/include/stdio.h: Add declaration for vsiprintf.
3576
 
3577
2007-02-14  Patrick Mansfield 
3578
 
3579
        Add a floating point environment for SPU (cell):
3580
 
3581
        * configure.host: add libm_machine_dir=spu.
3582
        * libm/machine/configure: Add spu.
3583
        * libm/machine/configure.in: regenerated with spu added.
3584
        * libc/machine/spu/include/fenv.h: New file.
3585
        * libc/machine/spu/sys/fenv.h: Ditto.
3586
        * libm/machine/spu/Makefile.am: Ditto.
3587
        * libm/machine/spu/Makefile.in: Ditto.
3588
        * libm/machine/spu/aclocal.m4: Ditto.
3589
        * libm/machine/spu/configure: Ditto.
3590
        * libm/machine/spu/configure.in: Ditto.
3591
        * libm/machine/spu/fe_dfl_env.c: Ditto.
3592
        * libm/machine/spu/feclearexcept.c: Ditto.
3593
        * libm/machine/spu/fegetenv.c: Ditto.
3594
        * libm/machine/spu/fegetexceptflag.c: Ditto.
3595
        * libm/machine/spu/fegetround.c: Ditto.
3596
        * libm/machine/spu/feholdexcept.c: Ditto.
3597
        * libm/machine/spu/feraiseexcept.c: Ditto.
3598
        * libm/machine/spu/fesetenv.c: Ditto.
3599
        * libm/machine/spu/fesetexceptflag.c: Ditto.
3600
        * libm/machine/spu/fesetround.c: Ditto.
3601
        * libm/machine/spu/fetestexcept.c: Ditto.
3602
        * libm/machine/spu/feupdateenv.c: Ditto.
3603
        * libm/machine/spu/headers/feclearexcept.h: Ditto.
3604
        * libm/machine/spu/headers/fefpscr.h: Ditto.
3605
        * libm/machine/spu/headers/fegetenv.h: Ditto.
3606
        * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
3607
        * libm/machine/spu/headers/fegetround.h: Ditto.
3608
        * libm/machine/spu/headers/feholdexcept.h: Ditto.
3609
        * libm/machine/spu/headers/feraiseexcept.h: Ditto.
3610
        * libm/machine/spu/headers/fesetenv.h: Ditto.
3611
        * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
3612
        * libm/machine/spu/headers/fesetround.h: Ditto.
3613
        * libm/machine/spu/headers/fetestexcept.h: Ditto.
3614
        * libm/machine/spu/headers/feupdateenv.h: Ditto.
3615
 
3616
2007-02-14  Corinna Vinschen  
3617
 
3618
        * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
3619
        Cygwin.
3620
 
3621
2007-02-08  Corinna Vinschen  
3622
 
3623
        * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
3624
        Cygwin.  Fix value of _POSIX_SEMAPHORES.  Fix formatting.
3625
 
3626
2007-02-07  Corinna Vinschen  
3627
 
3628
        * libc/include/sys/features.h: Add definition of all supported
3629
        _POSIX_xxx values for Cygwin.
3630
        * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
3631
        on Cygwin.
3632
        (pthread_rwlockattr_t): Ditto.
3633
        * libc/include/sys/unistd.h: Define all _SC_xxx values as
3634
        required by SUSv3.  Unify formatting.
3635
 
3636
2007-02-02  Ralf Corsépius 
3637
 
3638
        * libc/include/sys/errno.h: Add ECANCELED.
3639
 
3640
2007-02-01  Joel Schopp 
3641
            Kazunori Asayama 
3642
 
3643
        * libc/machine/spu/Makefile.am: Add objects.
3644
        * libc/machine/spu/Makefile.in: Regenerated.
3645
        * libc/machine/spu/vsscanf.c: New file. Add a stdio function
3646
        implementation.
3647
        * libc/machine/spu/snprintf.c: Ditto.
3648
        * libc/machine/spu/sprintf.c: Ditto.
3649
        * libc/machine/spu/sscanf.c: Ditto.
3650
        * libc/machine/spu/remove.c: Ditto.
3651
        * libc/machine/spu/rename.c: Ditto.
3652
        * libc/machine/spu/tmpnam.c: Ditto.
3653
        * libc/machine/spu/vsnprintf.c: Add initialization routine of
3654
        stdio stuffs.
3655
        * libc/machine/spu/vsprintf.c: Ditto.
3656
 
3657
2007-02-01  Joel Schopp 
3658
            Kazunori Asayama 
3659
 
3660
        * configure.host: Enable SPU specific stdio directory.
3661
        * libc/machine/spu/Makefile.am: Add objects.
3662
        * libc/machine/spu/Makefile.in: Regenerated.
3663
        * libc/machine/spu/c99ppe.h: Add macros and function
3664
        declarations to initialize SPU specific stdio stuffs.
3665
        * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
3666
        specific FILE structures.
3667
        * libc/machine/spu/perror.c: Add initialization routine of
3668
        stdio stuffs.
3669
        * libc/machine/spu/printf.c: Ditto.
3670
        * libc/machine/spu/putchar.c: Ditto.
3671
        * libc/machine/spu/puts.c: Ditto.
3672
        * libc/machine/spu/vprintf.c: Ditto.
3673
        * libc/machine/spu/clearerr.c: New file. Add a stdio function
3674
        implementation.
3675
        * libc/machine/spu/feof.c: Ditto.
3676
        * libc/machine/spu/ferror.c: Ditto.
3677
        * libc/machine/spu/fileno.c: Ditto.
3678
        * libc/machine/spu/fopen.c: Ditto.
3679
        * libc/machine/spu/fclose.c: Ditto.
3680
        * libc/machine/spu/freopen.c: Ditto.
3681
        * libc/machine/spu/fflush.c: Ditto.
3682
        * libc/machine/spu/fseek.c: Ditto.
3683
        * libc/machine/spu/ftell.c: Ditto.
3684
        * libc/machine/spu/rewind.c: Ditto.
3685
        * libc/machine/spu/fgetpos.c: Ditto.
3686
        * libc/machine/spu/fsetpos.c: Ditto.
3687
        * libc/machine/spu/fread.c: Ditto.
3688
        * libc/machine/spu/fwrite.c: Ditto.
3689
        * libc/machine/spu/getc.c: Ditto.
3690
        * libc/machine/spu/getchar.c: Ditto.
3691
        * libc/machine/spu/gets.c: Ditto.
3692
        * libc/machine/spu/fgetc.c: Ditto.
3693
        * libc/machine/spu/fgets.c: Ditto.
3694
        * libc/machine/spu/ungetc.c: Ditto.
3695
        * libc/machine/spu/putc.c: Ditto.
3696
        * libc/machine/spu/fputc.c: Ditto.
3697
        * libc/machine/spu/fputs.c: Ditto.
3698
        * libc/machine/spu/vfprintf.c: Ditto.
3699
        * libc/machine/spu/vfscanf.c: Ditto.
3700
        * libc/machine/spu/fprintf.c: Ditto.
3701
        * libc/machine/spu/fscanf.c: Ditto.
3702
        * libc/machine/spu/scanf.c: Ditto.
3703
        * libc/machine/spu/vscanf.c: Ditto.
3704
        * libc/machine/spu/setbuf.c: Ditto.
3705
        * libc/machine/spu/setvbuf.c: Ditto.
3706
        * libc/machine/spu/tmpfile.c: Ditto.
3707
 
3708
2007-02-01  Jeff Johnston  
3709
 
3710
        * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
3711
        * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
3712
        around stdio macros that manipulate fields in the normal file
3713
        structure.
3714
        * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
3715
         to define custom FILE structure.
3716
        * libc/include/sys/custom_file.h: New default header file
3717
        that generates error if not overridden when __CUSTOM_FILE_IO__ set.
3718
        * libc/machine/spu/sys/custom_file.h: New file.
3719
 
3720
2007-01-31  Kazunori Asayama 
3721
 
3722
        * configure.host: Define stdio directory as a variable.
3723
        * libc/Makefile.am: Define stdio related names
3724
        as macros.
3725
        * libc/configure.in: Add detection routine of stdio directory.
3726
        * libc/Makefile.in: Regenerated.
3727
        * libc/configure: Ditto.
3728
        * libc/argz/Makefile.in: Ditto.
3729
        * libc/ctype/Makefile.in: Ditto.
3730
        * libc/errno/Makefile.in: Ditto.
3731
        * libc/iconv/Makefile.in: Ditto.
3732
        * libc/iconv/ccs/Makefile.in: Ditto.
3733
        * libc/iconv/ccs/binary/Makefile.in: Ditto.
3734
        * libc/iconv/ces/Makefile.in: Ditto.
3735
        * libc/iconv/lib/Makefile.in: Ditto.
3736
        * libc/locale/Makefile.in: Ditto.
3737
        * libc/misc/Makefile.in: Ditto.
3738
        * libc/posix/Makefile.in: Ditto.
3739
        * libc/reent/Makefile.in: Ditto.
3740
        * libc/search/Makefile.in: Ditto.
3741
        * libc/signal/Makefile.in: Ditto.
3742
        * libc/stdio/Makefile.in: Ditto.
3743
        * libc/stdio64/Makefile.in: Ditto.
3744
        * libc/stdlib/Makefile.in: Ditto.
3745
        * libc/string/Makefile.in: Ditto.
3746
        * libc/syscalls/Makefile.in: Ditto.
3747
        * libc/time/Makefile.in: Ditto.
3748
        * libc/unix/Makefile.in: Ditto.
3749
 
3750
2007-01-30  Ben Elliston  
3751
 
3752
        * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
3753
        fmt member.
3754
        * libc/machine/spu/printf.c (c99_printf_t): Likewise.
3755
        (printf): Pass fmt to va_start to suppress a warning.
3756
 
3757
        * libc/search/hash.c (init_hash): Make `info' parameter const.
3758
 
3759
2007-01-19  Kazunori Asayama 
3760
 
3761
        * libc/machine/spu/c99ppe.h: Replace vector with __vector.
3762
        * libc/machine/spu/vec_literal.h: Ditto.
3763
        * libc/machine/spu/strncmp.c: Ditto.
3764
 
3765
2007-01-15  Joseph Myers  
3766
            Kazu Hirata  
3767
 
3768
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
3769
        for E500V1 and E500V2.
3770
 
3771
2007-01-11  Jeff Johnston  
3772
 
3773
        * libm/configure.in: Always configure machine directory.
3774
        * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
3775
        unconditionally.
3776
        * libm/configure: Regenerated.
3777
        * libm/Makefile.in: Ditto.
3778
        * libm/*/Makefile.in: Ditto.
3779
 
3780
2007-01-05  Brian Ford  
3781
 
3782
        * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
3783
 
3784
2007-01-02  Ben Elliston  
3785
 
3786
        * doc/makedoc.c: Include .
3787
        (malloc, realloc): Remove extern declarations.
3788
 
3789
2006-12-18  Jeff Johnston  
3790
 
3791
        * NEWS: Update with 1.15.0 info.
3792
        * README: Ditto.
3793
        * acinclude.m4: Change version number to 1.15.0.
3794
        * aclocal.m4: Regenerated.
3795
        * configure: Ditto.
3796
        * doc/aclocal.m4: Ditto.
3797
        * doc/configure: Ditto.
3798
        * libc/*/aclocal.m4: Ditto.
3799
        * libc/*/configure: Ditto.
3800
        * libc/libc.texinfo: Ditto.
3801
        * libm/*/aclocal.m4: Ditto.
3802
        * libm/*/configure: Ditto.
3803
        * libm/libm.texinfo: Ditto.
3804
        * libc/sys/linux/shared.ld: Add VERS_1.15.
3805
 
3806
2006-12-18  Kazu Hirata  
3807
 
3808
        Merge from newlib-csl-20060320-branch:
3809
        2006-12-01  Nathan Sidwell  
3810
                    Kazu Hirata  
3811
 
3812
        * configure.host: Recognize fido.
3813
 
3814
2006-12-18  Joel Schopp 
3815
 
3816
        * libc/machine/spu/c99ppe.h: New file
3817
        * libc/machine/spu/perror.c: New file to override libc/stdio version.
3818
        * libc/machine/spu/printf.c: New file
3819
        * libc/machine/spu/putchar.c: New file
3820
        * libc/machine/spu/puts.c: New file
3821
        * libc/machine/spu/vprintf.c: New file
3822
        * libc/machine/spu/vsnprintf.c: New file
3823
        * libc/machine/spu/vsprintf.c: New file
3824
        * libc/machine/spu/Makefile.am: Add new targets.
3825
        * libc/machine/spu/Makefile.in: Regenerated.
3826
 
3827
2006-12-18  Jeff Johnston  
3828
 
3829
        * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
3830
        * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
3831
 
3832
2006-12-18  Jeff Johnston  
3833
 
3834
        * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
3835
        2.6.5 version of Doug Lea's malloc which is the basis of
3836
        this code.
3837
 
3838
2006-12-18  Kazunori Asayama 
3839
 
3840
        * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
3841
 
3842
2006-12-14  Jeff Johnston  
3843
            Eric Blake  
3844
 
3845
        * libc/stdio/fflush.c (fflush): On seekable streams, always flush
3846
        read but unused data.
3847
        * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
3848
        even read streams may have side effects that must happen.
3849
 
3850
2006-12-13  Joel Schopp 
3851
 
3852
        * libc/machine/spu/setjmp.S: Fix to handle registers past 115
3853
        correctly.
3854
 
3855
2006-12-13  Joel Schopp 
3856
 
3857
        * libc/include/alloca.h: Add undef alloca to work with xlc.
3858
 
3859
2006-12-12  Joel Schopp 
3860
 
3861
        * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
3862
        cell spu.
3863
 
3864
2006-12-04  Kazunori Asayama  
3865
 
3866
        * libc/machine/spu/strncpy.c: Add padding.
3867
 
3868
2006-12-04  Kazunori Asayama  
3869
 
3870
        * testsuite/newlib.string/tstring.c:
3871
 
3872
2006-12-01  Kazunori Asayama  
3873
 
3874
        * libc/machine/spu/strchr.c: Fix mask for misaligned string.
3875
        * libc/machine/spu/strrchr.c: Ditto.
3876
 
3877
2006-11-30  Lev Bishop  
3878
 
3879
        * libc/include/math.h: Allow C99 functions/macros to be
3880
        defined for C++ even when __STRICT_ANSI__.
3881
 
3882
2006-11-29  Jeff Johnston  
3883
 
3884
        * libc/stdio/makebuf.c (__smakebuf): If dealing with
3885
        an asprintf-family buffer, make the default initial size 64.
3886
 
3887
2006-11-29  Eric Blake  
3888
 
3889
        * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
3890
        asprintf, as well as quadratic realloc behavior.
3891
 
3892
2006-11-29  Kazunori Asayama  
3893
 
3894
        * libc/machine/spu/memset.c: Fix type of explicit cast.
3895
        * libc/machine/spu/strncmp.c: Add explicit cast.
3896
        * libc/machine/spu/strrchr.c: Ditto.
3897
        * libc/machine/spu/strspn.c: Ditto.
3898
 
3899
2006-11-22  Luca Barbato  
3900
 
3901
        * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
3902
        * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
3903
        * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
3904
        * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
3905
        * libc/machine/spu/strncat.c: Explicit cast.
3906
        * libc/machine/spu/strncmp.c: Use spu_splats.
3907
        * libc/machine/spu/strncpy.c: Explicit cast.
3908
        * libc/machine/spu/strrchr.c: Use spu_splats.
3909
        * libc/machine/spu/strspn.c: Use spu_splats.
3910
 
3911
2006-11-15  Till Straumann  
3912
 
3913
        * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
3914
 
3915
2006-11-14  Eric Blake  
3916
 
3917
        * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
3918
        (chclass): ' is a flag.  j, t, and z are modifiers.
3919
 
3920
2006-11-08  Jie Zhang  
3921
 
3922
        * configure.host: Add support for bfin.
3923
        * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
3924
        * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
3925
        * libc/machine/bfin/aclocal.m4: Generate.
3926
        * libc/machine/bfin/configure.in: New.
3927
        * libc/machine/bfin/configure: Generate.
3928
        * libc/machine/bfin/Makefile.am: New.
3929
        * libc/machine/bfin/Makefile.in: Generate.
3930
        * libc/machine/bfin/setjmp.S: New.
3931
        * libc/machine/bfin/longjmp.S: New.
3932
        * libc/machine/configure.in: Add bfin support.
3933
        * libc/machine/configure: Generate.
3934
 
3935
2006-11-07  Corinna Vinschen  
3936
 
3937
        * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
3938
        (_PC_FILESIZEBITS): Add definition.
3939
        (_PC_2_SYMLINKS): Ditto.
3940
        (_PC_SYMLINK_MAX): Ditto.
3941
 
3942
2006-10-27  Joel Schopp  
3943
 
3944
        * libc/machine/spu/memcpy.c: Override generic function with vectorized
3945
        version optimized for the cell spu.
3946
        * libc/machine/spu/memmove.c: Ditto.
3947
        * libc/machine/spu/memset.c: Ditto.
3948
        * libc/machine/spu/strcat.c: Ditto.
3949
        * libc/machine/spu/strchr.c: Ditto.
3950
        * libc/machine/spu/strcmp.c: Ditto.
3951
        * libc/machine/spu/strcpy.c: Ditto.
3952
        * libc/machine/spu/strcspn.c: Ditto.
3953
        * libc/machine/spu/strlen.c: Ditto.
3954
        * libc/machine/spu/strncat.c: Ditto.
3955
        * libc/machine/spu/strncmp.c: Ditto.
3956
        * libc/machine/spu/strncpy.c: Ditto.
3957
        * libc/machine/spu/strpbrk.c: Ditto.
3958
        * libc/machine/spu/strrchr.c: Ditto.
3959
        * libc/machine/spu/strspn.c: Ditto.
3960
        * libc/machine/spu/strxfrm.c: Ditto.
3961
        * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
3962
        removing altivec style initializers.
3963
        * libc/machine/spu/Makefile.am: Add new files to list so they build
3964
        * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
3965
 
3966
2006-10-27  Jeff Johnston  
3967
 
3968
        * README: Add a brief section on how to regenerate
3969
        configuration files in newlib.
3970
 
3971
2006-10-25  Vladimir Prus  
3972
 
3973
        * libc/include/math.h: (exception): Add a comment
3974
        telling fixincludes that we handle C vs. C++ issue.
3975
 
3976
2006-10-11  Yang Tse  
3977
 
3978
        * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
3979
        braced-groups.
3980
 
3981
2006-10-11  Corinna Vinschen  
3982
 
3983
        * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
3984
 
3985
2006-09-26  Jeff Johnston  
3986
 
3987
        * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
3988
        for clearerr, feof, or fileno.
3989
        * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
3990
        the dummy std stream scheme to use pointers to const external
3991
        fake files, one for each standard stream.
3992
        * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
3993
        argument.  For _REENT_SMALL, reset the file pointer if it
3994
        matches one of the fake std stream pointers.
3995
        * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
3996
        argument.
3997
        * libc/stdio/fclose.c: Ditto.
3998
        * libc/stdio/feof.c: Ditto.
3999
        * libc/stdio/ferror.c: Ditto.
4000
        * libc/stdio/fflush.c: Ditto.
4001
        * libc/stdio/fgetc.c: Ditto.
4002
        * libc/stdio/fgets.c: Ditto.
4003
        * libc/stdio/fileno.c: Ditto.
4004
        * libc/stdio/findfp.c: Ditto.
4005
        * libc/stdio/fputc.c: Ditto.
4006
        * libc/stdio/fputs.c: Ditto.
4007
        * libc/stdio/fread.c: Ditto.
4008
        * libc/stdio/freopen.c: Ditto.
4009
        * libc/stdio/fseek.c: Ditto.
4010
        * libc/stdio/ftell.c: Ditto.
4011
        * libc/stdio/fwrite.c: Ditto.
4012
        * libc/stdio/getc.c: Ditto.
4013
        * libc/stdio/getdelim.c: Ditto.
4014
        * libc/stdio/putc.c: Ditto.
4015
        * libc/stdio/refill.c: Ditto.
4016
        * libc/stdio/setvbuf.c: Ditto.
4017
        * libc/stdio/ungetc.c: Ditto.
4018
        * libc/stdio/vfprintf.c: Ditto.
4019
        * libc/stdio/vfscanf.c: Ditto.
4020
        * libc/stdio/wbuf.c: Ditto.: Ditto.
4021
        * libc/stdio/wsetup.c: Ditto.
4022
        * libc/stdio64/freopen64.c: Ditto.
4023
        * libc/stdio64/fseeko64.c: Ditto.
4024
        * libc/stdio64/ftello64.c: Ditto.
4025
        * libc/machine/powerpc/vfprintf.c: Ditto.
4026
        * libc/machine/powerpc/vfscanf.c: Ditto.
4027
 
4028
2006-09-22  Paul Brook  
4029
 
4030
        * libc/include/sys/reent.h: Define and use __reent_assert.
4031
 
4032
2006-09-13  Joel Sherrill 
4033
 
4034
        * libc/include/pthread.h: Add pthread barriers,
4035
        rwlocks, and spinlocks.  Change const to
4036
        _CONST and prefix parameter names with
4037
        an underscore.
4038
        * libc/include/sys/types.h: Add id and attribute
4039
        types for barriers, wrlocks, and spinlocks.
4040
        * libc/include/sys/features.h: Enable barriers,
4041
        wrlocks, and spinlocks for RTEMS.
4042
 
4043
2006-09-13  Patrick Mansfield 
4044
 
4045
        * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
4046
        supposed to be writable.
4047
        * libm/common/s_lib_ver.c: Ditto.
4048
 
4049
2006-09-12  Paul Brook  
4050
 
4051
        * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
4052
 
4053
2006-09-07  Masaki Muranaka  
4054
 
4055
 
4056
        * libc/machine/xstormy16/Makefile.am:
4057
        Add $(lpfx) prefix to LIBADD objects.
4058
        lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
4059
        * libc/machine/xstormy16/Makefile.in: Regenerated.
4060
 
4061
2006-09-06  Eric Blake  
4062
 
4063
        * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
4064
        't', and 'z' modifiers.
4065
 
4066
2006-09-01  Kazu Hirata  
4067
 
4068
        Merge from newlib-csl-20060320-branch:
4069
        2006-05-22  Sandra Loosemore 
4070
 
4071
        * configure.host: Tell it we have _rename and _system when
4072
        building m68k-unknown-elf.
4073
 
4074
2006-08-29  Paul Brook  
4075
 
4076
        * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
4077
 
4078
2006-08-27  Joel Sherrill 
4079
 
4080
        * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
4081
        BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
4082
        This is needed to build all AVR and H8300 RTEMS multilib variants.
4083
 
4084
2006-08-23  Kazunori Asayama  
4085
 
4086
        * libc/machine/configure.in: Add configuration for SPU.
4087
        * libc/machine/configure: Regenerated.
4088
        * libc/machine/spu/memcpy.c: Include string.h.
4089
 
4090
2006-08-22  Eric Blake  
4091
 
4092
        * libc/posix/popen.c (popen): Don't close output end of pipe in
4093
        child if stdout was closed on entry.
4094
        [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
4095
 
4096
2006-08-19  Ramana Radhakrishnan  
4097
 
4098
        * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
4099
        line.
4100
 
4101
2006-08-17  Brian Ford  
4102
 
4103
        * libc/time/gmtime.c: Correct man page; clock is not a
4104
        local time and no conversion occurs.
4105
 
4106
2006-08-16  Joel Schopp  
4107
 
4108
        * configure.host (newlib_cflags) [spu]: Add special compiler
4109
        options to reduce size.
4110
 
4111
2006-08-16  Joel Schopp  
4112
 
4113
        * configure.host: Add spu support.
4114
        * libc/include/stdint.h: Ditto.
4115
        * libc/include/machine/ieeefp.h: Ditto.
4116
        * libc/include/machine/setjmp.h: Ditto.
4117
        * libc/include/sys/config.h: Ditto.
4118
        * libc/include/sys/types.h: Ditto.
4119
        * libc/machine/spu/Makefile.am: New file.
4120
        * libc/machine/spu/Makefile.in: Ditto.
4121
        * libc/machine/spu/aclocal.m4: Ditto.
4122
        * libc/machine/spu/configure: Ditto.
4123
        * libc/machine/spu/configure.in: Ditto.
4124
        * libc/machine/spu/memcpy.c: Ditto.
4125
        * libc/machine/spu/setjmp.S: Ditto.
4126
 
4127
2006-08-03  J"orn Rennecke  
4128
 
4129
        * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
4130
        properly.
4131
 
4132
2006-08-01  Jeff Johnston  
4133
 
4134
        * libc/Makefile.am: Add libc_TEXINFOS dependency on
4135
        generated .texi files.
4136
        * libm/Makefile.am: Add libm_TEXINFOS dependency on
4137
        generated .texi files.
4138
        * libc/Makefile.in: Regenerated.
4139
        * libm/Makefile.in: Ditto.
4140
 
4141
2006-08-01  Thiemo Seufer  
4142
            Nigel Stephens  
4143
 
4144
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
4145
        define this to force _impure_ptr to live in the .sdata section.
4146
 
4147
2006-07-31  Jeff Johnston  
4148
 
4149
        * acinclude.m4: Check for readelf tool.
4150
        * configure.in: Use ${READELF} instead of hard-coding.
4151
        * Regenerate all aclocal.m4, Makefile.in, and configure files.
4152
 
4153
2006-07-31  Jeff Johnston  
4154
 
4155
        * libc/sys/linux/mmap.c: Remove include of sys/mman.h
4156
        to avoid conflict with newer glibc's revision of mremap.
4157
 
4158
2006-07-05  Jeff Johnston  
4159
 
4160
        * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
4161
        floating-point format support.  Also redefine
4162
        dword0 and dword1 macros.
4163
        * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
4164
        to prevent setting dword1 which is an rvalue only.
4165
 
4166
2006-06-22  Jeff Johnston  
4167
 
4168
        * libc/stdlib/Makefile.am: Add new gdtoa routines.
4169
        * libc/stdlib/Makefile.in: Regenerated.
4170
        * libc/stdlib/gd_qnan.h: New file.
4171
        * libc/stdlib/gdtoa-gethex.c: Ditto.
4172
        * libc/stdlib/gdtoa-hexnan.c: Ditto.
4173
        * libc/stdlib/gdtoa.h: Ditto.
4174
        * libc/stdlib/mprec.c: Add new helper routines needed by
4175
        the new gdtoa code.
4176
        * libc/stdlib/mprec.h: Integrate some defines and prototypes
4177
        used by gdtoa routines here.
4178
        * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
4179
        which adds C99 support such as nan, inf, and hexadecimal input
4180
        format.
4181
 
4182
2006-06-15  Corinna Vinschen  
4183
 
4184
        * libc/include/stdio.h (__sgetc_r): Fix typo.
4185
        * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
4186
        * libc/stdio/rget.c (__srbuf): Reinstantiate.
4187
        * libc/stdio/wbuf.c (__swbuf): Ditto.
4188
 
4189
2006-06-14  Jeff Johnston  
4190
 
4191
        * libc/include/stdio.h: Add new reentrant I/O prototypes for
4192
        read/write functions.  Change getc/putc macros to have reentrant underlying
4193
        macros/functions.  This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
4194
        * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
4195
        new reentrant I/O functions/macros for reading/writing.
4196
        * libc/stdio/fgets.c: Ditto.
4197
        * libc/stdio/fputc.c: Ditto.
4198
        * libc/stdio/fputs.c: Ditto.
4199
        * libc/stdio/fread.c: Ditto.
4200
        * libc/stdio/fseek.c: Ditto.
4201
        * libc/stdio64/fseeko64.c: Ditto.
4202
        * libc/stdio/fwrite.c: Ditto.
4203
        * libc/stdio/getc.c: Ditto.
4204
        * libc/stdio/getc_u.c: Ditto.
4205
        * libc/stdio/getchar.c: Ditto.
4206
        * libc/stdio/getchar_u.c: Ditto.
4207
        * libc/stdio/putc.c: Ditto.
4208
        * libc/stdio/putc_u.c: Ditto.
4209
        * libc/stdio/putchar.c: Ditto.
4210
        * libc/stdio/puts.c: Ditto.
4211
        * libc/stdio/vfprintf.c: Ditto.
4212
        * libc/stdio/vfscanf.c: Ditto.
4213
        * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
4214
        Change all previous callers of __sfvwrite.  Set errno to EBADF and
4215
        set error flag on if attempt is made to write to file that does not
4216
        allow writing.
4217
        * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
4218
        * libc/stdio/local.h: Ditto.
4219
        * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
4220
        Set errno to EBADF and the error flag on if attempt is made to
4221
        read unreadable file.  Change all previous callers of __srefill.
4222
        * libc/stdio/rget.c
4223
        * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r.  Change
4224
        all previous callers of __swbuf.
4225
        * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
4226
        huge value macros are already defined correctly for i386 by .
4227
 
4228
2006-06-13  Sandra Loosemore 
4229
 
4230
        * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
4231
        Make them do something useful in the ARM_RDI_MONITOR case.
4232
 
4233
2006-06-07  Fred Fish  
4234
 
4235
        * libc/search/hash_bigkey.c (MIN,MAX): Remove
4236
        defines that are already supplied by .
4237
 
4238
2006-06-07  Fred Fish  
4239
 
4240
        * configure.host: Remove references to HAVE_GETTIMEOFDAY.
4241
 
4242
2006-06-05  Shaun Jackman  
4243
 
4244
        * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
4245
        usleep.c.
4246
        * libc/posix/Makefile.in: Regenerate.
4247
        * libc/posix/sleep.c: New file.
4248
        * libc/posix/usleep.c: Ditto.
4249
 
4250
2006-06-05  Shaun Jackman  
4251
 
4252
        * configure.host (newlib_cflags) [arm, thumb, xscale]:  Remove
4253
        -DABORT_PROVIDED flag.
4254
        * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
4255
        * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
4256
 
4257
2006-06-05  Jeff Johnston  
4258
 
4259
        * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
4260
        * Makefile.in: Regenerated.
4261
        * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
4262
        extraneous CFLAGS reference now that CCASFLAGS are being extended
4263
        properly via multilib.
4264
        * libc/machine/sh/Makefile.in: Regenerated.
4265
 
4266
2006-06-02  Shaun Jackman  
4267
 
4268
        * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
4269
        sigismember.
4270
 
4271
2006-05-23  Jeff Johnston  
4272
 
4273
        * libc/misc/dprintf.c: Removed.
4274
        * libc/misc/__dprintf.c: Renamed from dprintf.c.
4275
        * libc/misc/Makefile.am: Changed appropriately for rename.
4276
        * libc/misc/Makefile.in: Regenerated.
4277
 
4278
2006-05-23  Jeff Johnston  
4279
 
4280
        * libc/include/stdio.h: Protect dprintf prototype
4281
        with #ifndef dprintf so as to not interfere with
4282
        historical code defining their own dprintf macro.
4283
 
4284
2006-05-18  Jeff Johnston  
4285
 
4286
        * libc/include/stdio.h: Add prototypes for fiscanf,
4287
        iscanf, and siscanf.
4288
 
4289
2006-05-11  J"orn Rennecke 
4290
 
4291
        * acinclude.m4 (_NEWLIB_VERSION): Rename to:
4292
        (DEF_NEWLIB_VERSION).
4293
        * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
4294
        * configure: Regenerate.
4295
 
4296
2006-05-09  Jeff Johnston  
4297
 
4298
        * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
4299
        lib_a_SOURCES.
4300
        * libc/ctype/Makefile.in: Regenerated.
4301
 
4302
2006-05-09  Kazu Hirata  
4303
 
4304
        * libc/machine/arm/Makefile.am: Fix a typo.
4305
        * libc/machine/arm/Makefile.in: Regenerated.
4306
 
4307
2006-05-08  J"orn Rennecke 
4308
 
4309
        * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
4310
        * libc/machine/sh/Makefile.in: Regenerate.
4311
 
4312
2006-05-03  J"orn Rennecke 
4313
 
4314
        * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
4315
        * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
4316
 
4317
2006-05-02  Jeff Johnston  
4318
 
4319
        * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
4320
        .s.
4321
        * libc/sys/sysnec810/Makefile.in: Regenerated.
4322
        * libc/sys/sysnec810/crt0.S: Renamed from .s file.
4323
        * libc/sys/sysnec810/io.S: Ditto.
4324
        * libc/sys/sysnec810/crt0.s: Renamed to .S file.
4325
        * libc/sys/sysnec810/io.s: Ditto.
4326
 
4327
2006-05-01  Jeff Johnston  
4328
 
4329
        * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx).  If source file can
4330
        be specified instead of object, do so.
4331
        * libc/ctype/Makefile.am: Ditto.
4332
        * libc/iconv/ccs/Makefile.am: Ditto.
4333
        * libc/iconv/ces/Makefile.am: Ditto.
4334
        * libc/iconv/lib/Makefile.am: Ditto.
4335
        * libc/locale/Makefile.am: Ditto.
4336
        * libc/posix/Makefile.am: Ditto.
4337
        * libc/reent/Makefile.am: Ditto.
4338
        * libc/search/Makefile.am: Ditto.
4339
        * libc/stdio/Makefile.am: Ditto.
4340
        * libc/stdio64/Makefile.am: Ditto.
4341
        * libc/stdlib/Makefile.am: Ditto.
4342
        * libc/string/Makefile.am: Ditto.
4343
        * libc/syscalls/Makefile.am: Ditto.
4344
        * libc/unix/Makefile.am: Ditto.
4345
        * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
4346
        prefix added automatically.  Any specified rules must use $(lpfx) for
4347
        object file names.
4348
        * libc/machine/arm/Makefile.am: Ditto.
4349
        * libc/machine/cris/Makefile.am: Ditto.
4350
        * libc/machine/crx/Makefile.am: Ditto.
4351
        * libc/machine/d10v/Makefile.am: Ditto.
4352
        * libc/machine/d30v/Makefile.am: Ditto.
4353
        * libc/machine/fr30/Makefile.am: Ditto.
4354
        * libc/machine/frv/Makefile.am: Ditto.
4355
        * libc/machine/h8300/Makefile.am: Ditto.
4356
        * libc/machine/h8500/Makefile.am: Ditto.
4357
        * libc/machine/hppa/Makefile.am: Ditto.
4358
        * libc/machine/i386/Makefile.am: Ditto.
4359
        * libc/machine/i960/Makefile.am: Ditto.
4360
        * libc/machine/iq2000/Makefile.am: Ditto.
4361
        * libc/machine/m32c/Makefile.am: Ditto.
4362
        * libc/machine/m32r/Makefile.am: Ditto.
4363
        * libc/machine/m68hc11/Makefile.am: Ditto.
4364
        * libc/machine/m68k/Makefile.am: Ditto.
4365
        * libc/machine/m88k/Makefile.am: Ditto.
4366
        * libc/machine/mips/Makefile.am: Ditto.
4367
        * libc/machine/mn10200/Makefile.am: Ditto.
4368
        * libc/machine/mn10300/Makefile.am: Ditto.
4369
        * libc/machine/mt/Makefile.am: Ditto.
4370
        * libc/machine/necv70/Makefile.am: Ditto.
4371
        * libc/machine/powerpc/Makefile.am: Ditto.
4372
        * libc/machine/sh/Makefile.am: Ditto.
4373
        * libc/machine/sh/Makefile.in: Ditto.
4374
        * libc/machine/sparc/Makefile.am: Ditto.
4375
        * libc/machine/tic4x/Makefile.am: Ditto.
4376
        * libc/machine/tic80/Makefile.am: Ditto.
4377
        * libc/machine/v850/Makefile.am: Ditto.
4378
        * libc/machine/w65/Makefile.am: Ditto.
4379
        * libc/machine/xscale/Makefile.am: Ditto.
4380
        * libc/machine/xstormy16/Makefile.am: Ditto.
4381
        * libc/machine/z8k/Makefile.am: Ditto.
4382
        * libc/sys/a29khif/Makefile.am: Ditto.
4383
        * libc/sys/arm/Makefile.am: Ditto.
4384
        * libc/sys/d10v/Makefile.am: Ditto.
4385
        * libc/sys/h8300hms/Makefile.am: Ditto.
4386
        * libc/sys/h8500hms/Makefile.am: Ditto.
4387
        * libc/sys/linux/Makefile.am: Ditto.
4388
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
4389
        * libc/sys/linux/net/Makefile.am: Ditto.
4390
        * libc/sys/linux/stdlib/Makefile.am: Ditto.
4391
        * libc/sys/m88kbug/Makefile.am: Ditto.
4392
        * libc/sys/mmixware/Makefile.am: Ditto.
4393
        * libc/sys/rdos/Makefile.am: Ditto.
4394
        * libc/sys/rtems/Makefile.am: Ditto.
4395
        * libc/sys/sh/Makefile.am: Ditto.
4396
        * libc/sys/sun4/Makefile.am: Ditto.
4397
        * libc/sys/sysmec/Makefile.am: Ditto.
4398
        * libc/sys/sysnec810/Makefile.am: Ditto.
4399
        * libc/sys/sysnecv850/Makefile.am: Ditto.
4400
        * libc/sys/sysvi386/Makefile.am: Ditto.
4401
        * libc/sys/sysvnecv70/Makefile.am: Ditto.
4402
        * libc/sys/tic80/Makefile.am: Ditto.
4403
        * libc/sys/w65/Makefile.am: Ditto.
4404
        * libc/sys/z8ksim/Makefile.am: Ditto.
4405
        * libc/machine/necv70/fastmath.S: Renamed from .s file.
4406
        * libc/machine/necv70/setjmp.S: Ditto.
4407
        * libc/machine/necv70/fastmath.s: Removed.
4408
        * libc/machine/necv70/setjmp.s: Ditto.
4409
        * libc/machine/w65/*.S: New files renamed from .s files.
4410
        * libc/machine/w65/*.s: Renamed and removed.
4411
        * libc/sys/a29khif/*.S: New files renamed from .s files.
4412
        * libc/sys/a29khif/*.s: Renamed and removed.
4413
        * libc/sys/sysvi386/*.S: New files renamed from .s files.
4414
        * libc/sys/sysvi386/*.s: Renamed and removed.
4415
        * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
4416
        * libc/sys/sysvnecv70/*.s: Renamed and removed.
4417
        * libc/*Makefile.in: Regenerated as appropriate.
4418
 
4419
2006-04-24  DJ Delorie  
4420
 
4421
        * libc/machine/sh/configure.in: Avoid link tests.
4422
        * libc/machine/sh/configure: Regenerate.
4423
 
4424
2006-04-18  Jeff Johnston  
4425
 
4426
        * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
4427
        (sigaddset, sigemptyset): Add return code.
4428
 
4429
2006-04-13  Ralf Corsepius  
4430
 
4431
        * acinclude.m4: New _NEWLIB_VERSION.
4432
        * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
4433
        Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
4434
        Use new form of AC_INIT_AUTOMAKE.
4435
        * configure.in: AC_PREREQ(2.59).
4436
        Use autoconf-2.5.x version of AC_INIT.
4437
        Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
4438
        autoconf-2.13's AC_OUTPUT.
4439
        * libm/configure.in: Ditto.
4440
        * libm/machine/configure.in: Ditto.
4441
        * libm/machine/i386/configure.in: Ditto.
4442
        * libc/configure.in: Ditto.
4443
        * libc/machine/a29k/configure.in: Ditto.
4444
        * libc/machine/arm/configure.in: Ditto.
4445
        * libc/machine/configure.in: Ditto.
4446
        * libc/machine/mn10300/configure.in: Ditto.
4447
        * libc/machine/powerpc/configure.in: Ditto.
4448
        * libc/machine/z8k/configure.in: Ditto.
4449
        * libc/machine/h8300/configure.in: Ditto.
4450
        * libc/machine/mips/configure.in: Ditto.
4451
        * libc/machine/crx/configure.in: Ditto.
4452
        * libc/machine/m68hc11/configure.in: Ditto.
4453
        * libc/machine/h8500/configure.in: Ditto.
4454
        * libc/machine/xscale/configure.in: Ditto.
4455
        * libc/machine/d10v/configure.in: Ditto.
4456
        * libc/machine/fr30/configure.in: Ditto.
4457
        * libc/machine/sh/configure.in: Ditto.
4458
        * libc/machine/tic80/configure.in: Ditto.
4459
        * libc/machine/m32r/configure.in: Ditto.
4460
        * libc/machine/xstormy16/configure.in: Ditto.
4461
        * libc/machine/i386/configure.in: Ditto.
4462
        * libc/machine/d30v/configure.in: Ditto.
4463
        * libc/machine/mn10200/configure.in: Ditto.
4464
        * libc/machine/frv/configure.in: Ditto.
4465
        * libc/machine/mt/configure.in: Ditto.
4466
        * libc/machine/i960/configure.in: Ditto.
4467
        * libc/machine/v850/configure.in: Ditto.
4468
        * libc/machine/necv70/configure.in: Ditto.
4469
        * libc/machine/tic4x/configure.in: Ditto.
4470
        * libc/machine/cris/configure.in: Ditto.
4471
        * libc/machine/m68k/configure.in: Ditto.
4472
        * libc/machine/m32c/configure.in: Ditto.
4473
        * libc/machine/hppa/configure.in: Ditto.
4474
        * libc/machine/w65/configure.in: Ditto.
4475
        * libc/machine/iq2000/configure.in: Ditto.
4476
        * libc/machine/sparc/configure.in: Ditto.
4477
        * libc/machine/m88k/configure.in: Ditto.
4478
        * libc/sys/linux/configure.in: Ditto.
4479
        * libc/sys/linux/machine/configure.in: Ditto.
4480
        * libc/sys/linux/machine/i386/configure.in: Ditto.
4481
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
4482
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
4483
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
4484
        * libc/sys/arm/configure.in: Ditto.
4485
        * libc/sys/configure.in: Ditto.
4486
        * libc/sys/decstation/configure.in: Ditto.
4487
        * libc/sys/a29khif/configure.in: Ditto.
4488
        * libc/sys/sysnecv850/configure.in: Ditto.
4489
        * libc/sys/d10v/configure.in: Ditto.
4490
        * libc/sys/netware/configure.in: Ditto.
4491
        * libc/sys/mmixware/configure.in: Ditto.
4492
        * libc/sys/h8500hms/configure.in: Ditto.
4493
        * libc/sys/sh/configure.in: Ditto.
4494
        * libc/sys/tic80/configure.in: Ditto.
4495
        * libc/sys/rdos/configure.in: Ditto.
4496
        * libc/sys/sysmec/configure.in: Ditto.
4497
        * libc/sys/sysvi386/configure.in: Ditto.
4498
        * libc/sys/h8300hms/configure.in: Ditto.
4499
        * libc/sys/sparc64/configure.in: Ditto.
4500
        * libc/sys/arc/configure.in: Ditto.
4501
        * libc/sys/sysnec810/configure.in: Ditto.
4502
        * libc/sys/m88kbug/configure.in: Ditto.
4503
        * libc/sys/sysvnecv70/configure.in: Ditto.
4504
        * libc/sys/z8ksim/configure.in: Ditto.
4505
        * libc/sys/rtems/configure.in: Ditto.
4506
        * libc/sys/w65/configure.in: Ditto.
4507
        * libc/sys/sun4/configure.in: Ditto.
4508
        * doc/configure.in: Ditto.
4509
        * iconvdata/configure.in: Ditto.
4510
        * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
4511
 
4512
2006-04-11  Jeff Johnston  
4513
 
4514
        * acinclude.m4: Properly add square brackets for
4515
        AC_DEFUN macros.  Rewrite LIB_AC_PROG_CC to remove
4516
        macros no longer available.  Add LIB_AM_PROG_AS to
4517
        remove prereq of AC_PROG_CC.  Add LIB_AC_PROG_CC_GNU
4518
        macro.  Substitute lpfx (library object prefix).
4519
        * configure.host: Set lpfx depending on whether
4520
        libtool is used or not.
4521
        * configure.in: Individually specify libc and libm
4522
        to AC_CONFIG_SUBDIRS.  Add square bracket quoting as
4523
        necessary.
4524
        * Makefile.am: Use $(lpfx) to get object names for
4525
        math-library functions that should also be in libc.
4526
        * libc/machine/configure.in: Use case statement to determine
4527
        AC_CONFIG_SUBDIRS statement.
4528
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
4529
        * libc/sys/linux/machine/configure.in: Ditto.
4530
        * libc/sys/configure.in: Ditto.
4531
        * libm/machine/configure.in: Ditto.
4532
        * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
4533
        * libm/configure.in: Add AM_CONDITIONAL statement
4534
        for HAVE_LIBM_MACHINE_DIR.
4535
        * libc/machine/a29k/Makefile.am: Modified to work with
4536
        latest automake.  Change includes setting AM_CCASFLAGS
4537
        so building .S files will properly pick up flags used
4538
        to build C files.
4539
        * libc/machine/arm/Makefile.am: Ditto.
4540
        * libc/machine/crx/Makefile.am: Ditto.
4541
        * libc/machine/d10v/Makefile.am: Ditto.
4542
        * libc/machine/d30v/Makefile.am: Ditto.
4543
        * libc/machine/fr30/Makefile.am: Ditto.
4544
        * libc/machine/frv/Makefile.am: Ditto.
4545
        * libc/machine/h8300/Makefile.am: Ditto.
4546
        * libc/machine/h8500/Makefile.am: Ditto.
4547
        * libc/machine/hppa/Makefile.am: Ditto.
4548
        * libc/machine/i386/Makefile.am: Ditto.
4549
        * libc/machine/iq2000/Makefile.am: Ditto.
4550
        * libc/machine/m32c/Makefile.am: Ditto.
4551
        * libc/machine/m32r/Makefile.am: Ditto.
4552
        * libc/machine/m68hc11/Makefile.am: Ditto.
4553
        * libc/machine/m68k/Makefile.am: Ditto.
4554
        * libc/machine/m88k/Makefile.am: Ditto.
4555
        * libc/machine/mips/Makefile.am: Ditto.
4556
        * libc/machine/mn10200/Makefile.am: Ditto.
4557
        * libc/machine/mn10300/Makefile.am: Ditto.
4558
        * libc/machine/mt/Makefile.am: Ditto.
4559
        * libc/machine/necv70/Makefile.am: Ditto.
4560
        * libc/machine/powerpc/Makefile.am: Ditto.
4561
        * libc/machine/sh/Makefile.am: Ditto.
4562
        * libc/machine/sparc/Makefile.am: Ditto.
4563
        * libc/machine/tic4x/Makefile.am: Ditto.
4564
        * libc/machine/tic80/Makefile.am: Ditto.
4565
        * libc/machine/v850/Makefile.am: Ditto.
4566
        * libc/machine/w65/Makefile.am: Ditto.
4567
        * libc/machine/xscale/Makefile.am: Ditto.
4568
        * libc/machine/xstormy16/Makefile.am: Ditto.
4569
        * libc/machine/z8k/Makefile.am: Ditto.
4570
        * libc/sys/a29khif/Makefile.am: Ditto.
4571
        * libc/sys/arc/Makefile.am: Ditto.
4572
        * libc/sys/arm/Makefile.am: Ditto.
4573
        * libc/sys/d10v/Makefile.am: Ditto.
4574
        * libc/sys/decstation/Makefile.am: Ditto.
4575
        * libc/sys/h8300hms/Makefile.am: Ditto.
4576
        * libc/sys/h8500hms/Makefile.am: Ditto.
4577
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
4578
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
4579
        * libc/sys/m88kbug/Makefile.am: Ditto.
4580
        * libc/sys/mmixware/Makefile.am: Ditto.
4581
        * libc/sys/netware/Makefile.am: Ditto.
4582
        * libc/sys/rdos/Makefile.am: Ditto.
4583
        * libc/sys/rtems/Makefile.am: Ditto.
4584
        * libc/sys/sh/Makefile.am: Ditto.
4585
        * libc/sys/sparc64/Makefile.am: Ditto.
4586
        * libc/sys/sysmec/Makefile.am: Ditto.
4587
        * libc/sys/sysnec810/Makefile.am: Ditto.
4588
        * libc/sys/sysnecv850/Makefile.am: Ditto.
4589
        * libc/sys/sysvi386/Makefile.am: Ditto.
4590
        * libc/sys/sysvnecv70/Makefile.am: Ditto.
4591
        * libc/sys/tic80/Makefile.am: Ditto.
4592
        * libc/sys/w65/Makefile.am: Ditto.
4593
        * libc/sys/z8ksim/Makefile.am: Ditto.
4594
        * libm/machine/i386/Makefile.am: Ditto.
4595
        * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
4596
        trap.S so that automake will generate a .S.o suffix rule.
4597
        * libc/argz/Makefile.am: Modified to work with
4598
        latest automake.  Change includes adding lib_a_CFLAGS
4599
        so automake doesn't complain about libtool and non-libtool
4600
        libraries sharing objects.
4601
        * libc/ctype/Makefile.am: Ditto.
4602
        * libc/errno/Makefile.am: Ditto.
4603
        * libc/iconv/ccs/Makefile.am: Ditto.
4604
        * libc/iconv/ces/Makefile.am: Ditto.
4605
        * libc/iconv/lib/Makefile.am: Ditto.
4606
        * libc/locale/Makefile.am: Ditto.
4607
        * libc/misc/Makefile.am: Ditto.
4608
        * libc/posix/Makefile.am: Ditto.
4609
        * libc/reent/Makefile.am: Ditto.
4610
        * libc/search/Makefile.am: Ditto.
4611
        * libc/signal/Makefile.am: Ditto.
4612
        * libc/stdio/Makefile.am: Ditto.
4613
        * libc/stdio64/Makefile.am: Ditto.
4614
        * libc/stdlib/Makefile.am: Ditto.
4615
        * libc/string/Makefile.am: Ditto.
4616
        * libc/sys/linux/Makefile.am: Ditto.
4617
        * libc/sys/linux/argp/Makefile.am: Ditto.
4618
        * libc/sys/linux/cmath/Makefile.am: Ditto.
4619
        * libc/sys/linux/dl/Makefile.am: Ditto.
4620
        * libc/sys/linux/iconv/Makefile.am: Ditto.
4621
        * libc/sys/linux/intl/Makefile.am: Ditto.
4622
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
4623
        * libc/sys/linux/net/Makefile.am: Ditto.
4624
        * libc/sys/linux/stdlib/Makefile.am: Ditto.
4625
        * libc/syscalls/Makefile.am: Ditto.
4626
        * libc/time/Makefile.am: Ditto.
4627
        * libc/unix/Makefile.am: Ditto.
4628
        * libm/Makefile.am: Ditto.
4629
        * libm/common/Makefile.am: Ditto.
4630
        * libm/math/Makefile.am: Ditto.
4631
        * libm/mathfp/Makefile.am: Ditto.
4632
        * Regenerate all aclocal.m4, Makefile.in, and configure files.
4633
 
4634
2006-04-07  Jeff Johnston  
4635
 
4636
        * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
4637
        anymore.  Assume there is a gettimeofday syscall.
4638
 
4639
2006-03-29  Shaun Jackman  
4640
 
4641
        * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
4642
        for the declaration of n_long.
4643
 
4644
2006-03-29  Shaun Jackman  
4645
 
4646
        * libc/sys/linux/include/net/if.h: Include sys/socket.h for
4647
        struct sockaddr.
4648
        (IFF_SMART): Replace this define with IFF_NOTRAILERS.
4649
        (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
4650
        (IFF_NOTRAILERS): New define.
4651
        (struct ifreq): Add ifru_netmask.
4652
        (ifr_netmask): New define.
4653
 
4654
2006-03-29  Shaun Jackman  
4655
 
4656
        * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
4657
        match sys/ioctl.h.
4658
 
4659
2006-03-29  Shaun Jackman  
4660
 
4661
        * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
4662
        linux-newlib libc implementations.
4663
 
4664
2006-03-29  Eric Blake  
4665
 
4666
        * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
4667
        * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
4668
 
4669
2006-03-29  Jeff Johnston  
4670
 
4671
        * libc/sys/linux/io.c (__mknod): Fix declaration of
4672
        syscall to pass a dev_t as third argument rather than
4673
        a pointer to dev_t.
4674
 
4675
2006-03-29  Jeff Johnston  
4676
 
4677
        * libc/sys/linux/net/name6.c: Fix struct references.
4678
 
4679
2006-03-22  Mark Mitchell  
4680
 
4681
        * configure.host: Allow hosts to set the default
4682
        newlib_atexit_dynamic_alloc value.
4683
        * configure.in: Likewise.
4684
        * configure: Regenerated.
4685
 
4686
2006-03-20  Mark Mitchell  
4687
 
4688
        * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
4689
        * configure.in (--disable-newlib-atexit-dynamic-alloc): New
4690
        option.
4691
        * configure: Regenerated.
4692
        * newlib.hin: Regenerated.
4693
        * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
4694
        if _ATEXIT_DYNAMIC_ALLOC is undefined.
4695
        * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
4696
        if _ATEXIT_DYNAMIC_ALLOC is undefined.
4697
 
4698
2006-03-17  Jeff Johnston  
4699
 
4700
        * libc/sys/linux/linuxthreads/config.h: Remove definition
4701
        of UINT32_C.
4702
 
4703
2006-03-15  Jeff Johnston  
4704
 
4705
        * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
4706
        for a string I/O file that isn't using the asprintf family.
4707
 
4708
2006-03-07  Eric Blake  
4709
 
4710
        * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
4711
        filename, allow read-only or write-only FILE atop O_RDWR file
4712
        descriptor.
4713
        * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
4714
 
4715
2006-03-07  Jeff Johnston  
4716
 
4717
        * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
4718
        * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
4719
 
4720
2006-03-02  Jeff Johnston  
4721
 
4722
        * libm/math/math.tex: Fix reference to sisnan.def which
4723
        is now in common subdirectory.
4724
        * libm/mathfp/mathfp.tex: Ditto.
4725
 
4726
2006-02-27  Jeff Johnston  
4727
 
4728
        * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
4729
        s_isnand, and sf_isnanf object files.
4730
        * Makefile.in: Regenerated.
4731
        * libc/include/ieeefp.h: Undef isnan and isinf to avoid
4732
        conflict if  has previously been included.
4733
        * libc/include/math.h
4734
        * libc/include/math.h: Make isnan and isinf macros to
4735
        conform to C99.
4736
        (__isinfd, __isinff, __isnand, __isnanf): New functions.
4737
        * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
4738
        and sf_isnanf files.  Also support s_isnan, sf_isnan, s_isinf, and
4739
        sf_isinf files which have been moved from math/mathfp directories.
4740
        * libm/common/Makefile.in: Regenerated.
4741
        * libm/common/s_isinfd.c: New file.
4742
        * libm/common/s_isnand.c: Ditto.
4743
        * libm/common/sf_isinff.c: Ditto.
4744
        * libm/common/sf_isnanf.c: Ditto.
4745
        * libm/common/s_isinf.c: Moved from libm/math directory.
4746
        * libm/common/s_isnan.c: Ditto.
4747
        * libm/common/sf_isinf.c: Ditto.
4748
        * libm/common/sf_isnan.c: Ditto.
4749
        * libm/math/Makefile.am: Remove isinf and isnan family functions
4750
        which have been moved into common directory.
4751
        * libm/mathfp/Makefile.am: Ditto.
4752
        * libm/math/Makefile.in: Regenerated.
4753
        * libm/mathfp/Makefile.in: Ditto.
4754
        * libm/math/s_isinf.c: Removed.
4755
        * libm/math/s_isnan.c: Ditto.
4756
        * libm/math/sf_isinf.c: Ditto.
4757
        * libm/math/sf_isnan.c: Ditto.
4758
        * libm/mathfp/s_isinf.c: Ditto.
4759
        * libm/mathfp/s_isnan.c: Ditto.
4760
        * libm/mathfp/sf_isinf.c: Ditto.
4761
        * libm/mathfp/sf_isnan.c: Ditto.
4762
 
4763
2006-02-20  Jeff Johnston  
4764
 
4765
        * libc/stdio/fflush.c (fflush): For an fflush on a read-only
4766
        stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
4767
        * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
4768
        seek, turn off the __SNPT no-optimization flag.
4769
 
4770
2006-02-16  Jeff Johnston  
4771
 
4772
        * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
4773
        will be defined.
4774
        * libc/sys/linux/sys/types.h: Move  ahead of
4775
         to preset special flags.
4776
 
4777
2006-02-15  Corinna Vinschen  
4778
 
4779
        * libc/include/sys/time.h (struct timeval): Change member types
4780
        according to SUSv3.
4781
        * libc/include/sys/types.h (useconds_t): Change to unsigned
4782
        according to SUSv3.
4783
        (suseconds_t): Define type.
4784
 
4785
2006-02-13  Jeff Johnston  
4786
            David Carne  
4787
 
4788
        * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
4789
        instead of strlen to determine number of bytes to copy.
4790
        * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
4791
        before looking at storage location.
4792
 
4793
2006-02-07  Paul Brook  
4794
 
4795
        * libc/machine/arm/setjmp.S: Add Thumb-2 support.
4796
        * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
4797
        * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
4798
        * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
4799
        * libc/sys/arm/trap.S: Disable for Thumb-2.
4800
 
4801
2006-01-31  Leif Ekblad  
4802
 
4803
        * configure.host: RDOS support added
4804
        * libc/include/sys/config.h: Ditto.
4805
        * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
4806
        * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
4807
        * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
4808
        * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
4809
        * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
4810
        * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
4811
        * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
4812
        * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
4813
        * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
4814
        * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
4815
        * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
4816
        * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
4817
        * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
4818
        * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
4819
        * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
4820
        * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
4821
        * libc/sys/rdos/write.c: Ditto.
4822
 
4823
2006-01-24  Jeff Johnston  
4824
 
4825
        * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
4826
        so as not to define PACKAGE and VERSION in newlib.h.
4827
        * aclocal.m4: Regenerated.
4828
        * configure: Ditto.
4829
        * newlib.hin: Ditto.
4830
 
4831
2006-01-20  Jeff Johnston  
4832
 
4833
        * acconfig.h: New file to generate newlib.hin from.
4834
        * newlib.hin: Regenerated.
4835
        * stamp-h.in: Regenerated.
4836
        * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
4837
        called automatically.
4838
        * Makefile.in: Regenerated.
4839
        * acinclude.m4: Add proper comment for hack in previous change.
4840
        * aclocal.m4 */aclocal.m4: Regenerated.
4841
        * configure */configure: Regenerated.
4842
 
4843
2006-01-11  Jeff Johnston  
4844
 
4845
        * acinclude.m4: Add hack to prevent INSTALL in subdirs
4846
        from being set to "../".
4847
        * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
4848
        * aclocal.m4: Regenerated.
4849
        * configure: Ditto.
4850
        * Makefile.in: Ditto.
4851
        * doc/aclocal.m4: Ditto.
4852
        * doc/configure: Ditto.
4853
        * iconvdata/aclocal.m4: Ditto.
4854
        * iconvdata/configure: Ditto.
4855
        * libc/*/aclocal.m4: Ditto.
4856
        * libc/*/configure: Ditto.
4857
        * libc/libc.texinfo: Ditto.
4858
        * libm/*/aclocal.m4: Ditto.
4859
        * libm/*/configure: Ditto.
4860
 
4861
2006-01-10  Eric Blake  
4862
 
4863
        * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
4864
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
4865
 
4866
2006-01-10  Jeff Johnston  
4867
 
4868
        * libm/mathfp/s_frexp.c: Check for special values on
4869
        the original input, not the manipulated output value.
4870
        * libm/mathfp/sf_frexp.c: Ditto.
4871
        * libm/mathfp/s_atangent.c: Don't use local value branch
4872
        when checking for quadrant.
4873
        * libm/mathfp/sf_atangent.c: Ditto.
4874
 
4875
2006-01-09  Jeff Johnston  
4876
 
4877
        * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
4878
        * libc/stdio64/freopen64.c: Ditto.
4879
 
4880
2006-01-09  Eric Blake  
4881
 
4882
        * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
4883
        * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
4884
 
4885
2006-01-06  Jeff Johnston  
4886
 
4887
        * libc/sys/linux/include/getopt.h: Add macros needed by
4888
        new version of getopt.c in libc/stdlib.
4889
 
4890
2006-01-04  Gregory Pietsch  
4891
 
4892
        * libc/stdlib/getopt.c: Replaced with version
4893
        that adds getopt_long and getopt_long_only support.
4894
        * libc/include/getopt.h: New file.
4895
 
4896
2005-12-16  Jeff Johnston  
4897
 
4898
        * NEWS: Update with 1.14.0 info.
4899
        * README: Ditto.
4900
        * acinclude.m4: Change version number to 1.14.0.
4901
        * aclocal.m4: Regenerated.
4902
        * configure: Ditto.
4903
        * doc/aclocal.m4: Ditto.
4904
        * doc/configure: Ditto.
4905
        * libc/*/aclocal.m4: Ditto.
4906
        * libc/*/configure: Ditto.
4907
        * libc/libc.texinfo: Ditto.
4908
        * libm/*/aclocal.m4: Ditto.
4909
        * libm/*/configure: Ditto.
4910
        * libm/libm.texinfo: Ditto.
4911
        * libc/sys/linux/shared.ld: Add VERS_1.14.
4912
 
4913
2005-12-16  Jeff Johnston  
4914
 
4915
        * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
4916
        take a pointer to struct stat64 rather than struct stat.
4917
 
4918
2005-12-16  Ralf Corsepius 
4919
 
4920
        * libc/include/stdint.h: Prefer long over int for int32_t.
4921
        Use __have_long32 to set up int32_t.
4922
        * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
4923
        (Sync with stdint.h).
4924
 
4925
2005-12-14  Corinna Vinschen  
4926
 
4927
        * libc/include/sys/fcntl.h: Define O_SYNC unconditionally.  Fix
4928
        typo in O_NDELAY comment.
4929
 
4930
2005-12-13  Nathan Sidwell  
4931
 
4932
        * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
4933
        * libc/include/machine/setjmp.h (__mt__): Likewise.
4934
        * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
4935
        * libc/machine/configure.in: Ditto.
4936
 
4937
2005-12-12  Nathan Sidwell  
4938
 
4939
        * configure.host: Replace ms1 arch with mt arch.
4940
        * libc/machine/mt: Renamed from ms1 dir.
4941
 
4942
2005-12-08  Shaun Jackman  
4943
 
4944
        * libc/include/sys/types.h: Remove the ifdef armour around
4945
        standard POSIX types.
4946
 
4947
2005-12-06  Ralf Corsepius 
4948
 
4949
        * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
4950
        rtems_gxx_key_delete, rtems_gxx_getspecific,
4951
        rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
4952
        rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
4953
        rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
4954
 
4955
2005-12-05  Christopher Faylor  
4956
 
4957
        * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
4958
        file.  Declare unsetenv and _unsetenv_r when not cygwin.
4959
 
4960
2005-11-18  Jeff Johnston  
4961
 
4962
        * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
4963
        Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
4964
 
4965
2005-11-18  Christopher Faylor  
4966
 
4967
        * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
4968
 
4969
2005-11-18  Christopher Faylor  
4970
 
4971
        * include/time.h: Remove more cygwin-specific stuff.
4972
 
4973
2005-11-18  Christopher Faylor  
4974
 
4975
        * include/time.h: Move cygwin declarations to cygwin-specific header.
4976
        * include/sys/time.h: Rename cygwin include to "sys_time.h".
4977
 
4978
2005-11-17  Jeff Johnston  
4979
 
4980
        * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
4981
        in libc/sys/linux/include.
4982
        * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
4983
        * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
4984
        * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
4985
        in libc/sys/linux/dl.
4986
 
4987
2005-11-11  Christopher Faylor  
4988
 
4989
        * libc/include/sys/time.h: For cygwin, use general header rather than
4990
        specific "sys/select.h".
4991
 
4992
2005-11-08  Tom Walsh  
4993
 
4994
        * libc/time/tzvars.c: New file.
4995
        * libc/time/tzset_r.c: Moved globals into tzvars.c
4996
        so other time functions needn't link in __tzset_r and its
4997
        dependencies.
4998
        * libc/time/Makefile.am: Add the new file.
4999
        * libc/time/Makefile.in: Regenerated.
5000
 
5001
2005-11-08  Christopher Faylor  
5002
 
5003
        * libc/include/string.h: Add cygwin-specific function declaration.
5004
 
5005
2005-11-07  Corinna Vinschen  
5006
 
5007
        * libc/include/ieeefp.h: Add C++ guards.
5008
 
5009
2005-11-03  Jeff Johnston  
5010
 
5011
        * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
5012
        * libc/unix/getlogin.c: Ditto.
5013
        * libc/unix/getpass.c: Ditto.
5014
        * libc/unix/getut.c: Ditto.
5015
        * libc/unix/ttyname.c: Ditto.
5016
 
5017
2005-11-03  Shaun Jackman  
5018
 
5019
        * libc/include/sys/unistd.h (readlink, symlink): Provide these
5020
        prototypes by default.
5021
        * libc/sys/linux/include/unistd.h (readlink): Remove this
5022
        prototype.
5023
        * libc/sys/linux/sys/unistd.h (readlink, symlink): New
5024
        prototypes.
5025
 
5026
2005-11-01  Ralf Corsepius 
5027
 
5028
        * libc/include/stdint.h: Cleanup #if vs. #ifdef.
5029
 
5030
2005-10-31  Darin Johnson  
5031
 
5032
        * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
5033
        correct for constants.
5034
 
5035
2005-10-28  Bob Wilson  
5036
 
5037
        * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
5038
        * libc/stdio/siscanf.c: Likewise.
5039
        * libc/stdio/sprintf.c: Likewise.
5040
        * libc/stdio/sscanf.c: Likewise.
5041
        * libc/stdio/vfprintf.c: Likewise.
5042
        * libc/stdio/vfscanf.c: Likewise.
5043
        * libc/stdio/viprintf.c: Likewise.
5044
        * libc/stdio/viscanf.c: Likewise.
5045
 
5046
2005-10-28  Bob Wilson  
5047
 
5048
        * libc/sys.tex (Stubs): Format examples consistently.   Change sbrk
5049
        example to use "_end" symbol instead of "end".  Change write  example
5050
        to use "outbyte" instead of "writechar".
5051
 
5052
2005-10-28  Bob Wilson  
5053
 
5054
        * libc/ctype/ctype.tex: Use hyphens as appropriate, but not  otherwise.
5055
        * libc/ctype/islower.c: Likewise.
5056
        * libc/ctype/isupper.c: Likewise.
5057
        * libc/ctype/iswalnum.c: Likewise.
5058
        * libc/ctype/iswalpha.c: Likewise.
5059
        * libc/ctype/iswblank.c: Likewise.
5060
        * libc/ctype/iswcntrl.c: Likewise.
5061
        * libc/ctype/iswdigit.c: Likewise.
5062
        * libc/ctype/iswgraph.c: Likewise.
5063
        * libc/ctype/iswlower.c: Likewise.
5064
        * libc/ctype/iswprint.c: Likewise.
5065
        * libc/ctype/iswpunct.c: Likewise.
5066
        * libc/ctype/iswspace.c: Likewise.
5067
        * libc/ctype/iswupper.c: Likewise.
5068
        * libc/ctype/iswxdigit.c: Likewise.
5069
        * libc/ctype/tolower.c: Likewise.
5070
        * libc/ctype/toupper.c: Likewise.
5071
        * libc/ctype/towctrans.c: Likewise.
5072
        * libc/ctype/towlower.c: Likewise.
5073
        * libc/ctype/towupper.c: Likewise.
5074
        * libc/string/strcasecmp.c: Likewise.
5075
        * libc/string/strcoll.c: Likewise.
5076
        * libc/string/strings.tex: Likewise.
5077
        * libc/string/strlwr.c: Likewise.
5078
        * libc/string/strncasecmp.c: Likewise.
5079
        * libc/string/strupr.c: Likewise.
5080
        * libc/string/wcscoll.c: Likewise.
5081
        * libc/string/wcslcat.c: Likewise.
5082
        * libc/string/wcslcpy.c: Likewise.
5083
        * libc/string/wcsnlen.c: Likewise.
5084
        * libc/string/wcsstr.c: Likewise.
5085
        * libc/string/wcstrings.tex: Likewise.
5086
        * libc/string/wmemchr.c: Likewise.
5087
        * libc/string/wmemcmp.c: Likewise.
5088
        * libc/string/wmemcpy.c: Likewise.
5089
        * libc/string/wmemmove.c: Likewise.
5090
        * libc/string/wmemset.c: Likewise.
5091
 
5092
2005-10-28  Bob Wilson  
5093
 
5094
        * libc/misc/unctrl.c: Replace FUNCTION description.
5095
        * libc/signal/signal.c: Remove documentation for raise and  _raise_r.
5096
        * libc/stdio/getdelim.c: Fix spelling errors.
5097
        * libc/stdio/getw.c: Put RETURNS on a separate line.  Fix  punctuation.
5098
        * libc/stdio/putw.c: Likewise.
5099
        * libc/stdlib/a64l.c: Fix formatting, spelling and  punctuation in
5100
        documentation.
5101
        * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
5102
        * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
5103
        * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
5104
        * libc/stdlib/mlock.c: Likewise.
5105
        * libc/stdlib/mstats.c: Likewise.
5106
        * libc/time/tzlock.c: Likewise.
5107
        * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe"  in NOTES.
5108
        * libc/stdlib/rand48.c: Remove extra space in FUNCTION  description
5109
        and hyphenate "pseudo-random".
5110
        * libc/string/bcmp.c: Remove extra blank lines in  documentation.
5111
        * libc/string/strncat.c: Likewise.
5112
        * libc/string/memchr.c: Remove extra ">" character in  documentation.
5113
        * libc/string/strcspn.c: Use "characters" instead of "chars".
5114
        * libc/string/strpbrk.c: Likewise.
5115
        * libc/string/strerror_r.c: Capitalize "GNU".
5116
        * libc/string/strnlen.c: Likewise.
5117
        * libc/string/strtok.c: Fix formatting, spelling and  punctuation in
5118
        documentation.  Use "multi-threaded" and "thread-safe" in  NOTES.
5119
        * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
5120
        * libc/string/wcschr.c: Likewise.
5121
        * libc/string/wcscmp.c: Likewise.
5122
        * libc/string/wcscpy.c: Likewise.
5123
        * libc/string/wcscspn.c: Likewise.
5124
        * libc/string/wcslen.c: Likewise.
5125
        * libc/string/wcsncat.c: Likewise.
5126
        * libc/string/wcsncmp.c: Likewise.
5127
        * libc/string/wcsncpy.c: Likewise.
5128
        * libc/string/wcsnlen.c: Likewise.
5129
        * libc/string/wcspbrk.c: Likewise.
5130
        * libc/string/wcsrchr.c: Likewise.
5131
        * libc/string/wcsspn.c: Likewise.
5132
        * libc/string/wmemchr.c: Likewise.
5133
        * libc/string/wmemcmp.c: Likewise.
5134
        * libc/string/wmemcpy.c: Likewise.
5135
        * libc/string/wmemset.c: Likewise.
5136
        * libc/string/wmemmove.c: Likewise.  Also fix FUNCTION  description.
5137
        * libc/string/wcswidth.c: Formatting and punctuation in  documentation.
5138
        * libc/string/wcwidth.c: Likewise.
5139
        * libm/common/s_modf.c: Remove extra period from documentation.
5140
        * libm/math/s_isnan.c: Fix formatting, grammar and  punctuation in
5141
        documentation.
5142
        * libm/mathfp/s_isnan.c: Likewise.
5143
        * libm/math/s_ldexp.c: Fix punctuation.
5144
        * libm/mathfp/s_ldexp.c: Likewise.
5145
        * libm/math/w_log.c: Likewise.
5146
        * libm/mathfp/s_logarithm.c: Likewise.
5147
        * libm/math/w_j0.c: Add spaces to FUNCTION description.
5148
        * libm/mathfp/w_jn.c: Likewise.
5149
 
5150
2005-10-26  Shaun Jackman  
5151
 
5152
        * libc/posix/scandir.c (scandir): Update the function
5153
        prototype to match the header.
5154
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
5155
        extraneous #endif.
5156
        * libc/sys/linux/sys/lock.h: Do not include
5157
        machine/weakalias.h, since it's not used by this file.
5158
 
5159
2005-10-26  Jeff Johnston  
5160
 
5161
        * libc/Makefile.am: Reorder SUBLIBS so machine and sys
5162
        directories can override properly.
5163
 
5164
2005-10-20  Jeff Johnston  
5165
 
5166
        * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
5167
        gcc is 3.3 or greater, use special gcc builtins.
5168
 
5169
2005-10-20  Corinna Vinschen 
5170
 
5171
        * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
5172
 
5173
2005-10-18  Corinna Vinschen 
5174
 
5175
        * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
5176
 
5177
2005-10-14  Jeff Johnston  
5178
 
5179
        * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
5180
        * libm/common/Makefile.am: Add s_infconst.c support.
5181
        * libm/common/Makefile.in: Regenerated.
5182
        * libm/common/s_infconst.c: New file with float and
5183
        long double infinity support added.
5184
        * libm/math/Makefile.am: Remove s_infconst.c support.
5185
        * libm/math/Makefile.in: Regenerated.
5186
        * libm/math/s_infconst.c: Moved to common directory.
5187
        * libm/mathfp/Makefile.am: Remove s_infconst.c support.
5188
        * libm/mathfp/Makefile.in: Regenerated.
5189
        * libm/mathfp/s_infconst.c: Moved to common directory.
5190
 
5191
2005-10-14  Jeff Johnston  
5192
 
5193
        * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
5194
        dbgprintf to prevent conflict with new dprintf function.
5195
 
5196
2005-10-14  Jeff Johnston  
5197
 
5198
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
5199
        "nan" processing for systems that have long double support.
5200
 
5201
2005-10-14  Jeff Johnston  
5202
 
5203
        * libc/sys/linux/sys/types.h (int8_t): Add type.
5204
 
5205
2005-10-14  Bob Wilson  
5206
 
5207
        * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
5208
        * libm/common/Makefile.in: Regenerate.
5209
        * libm/common/common.tex: Delete file.
5210
        * libm/math/math.tex: Include .def files from common/.
5211
        * libm/mathfp/mathfp.tex: Likewise.
5212
 
5213
2005-10-14  Bob Wilson  
5214
 
5215
        * libc/libc.texinfo (Top): Surround this node with @ifnottex
5216
        instead of @ifinfo.  Update menu to add Introduction and match
5217
        SUBDIRS order.
5218
        (Introduction): New section.
5219
 
5220
2005-10-14  Bob Wilson  
5221
 
5222
        * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
5223
        with "Red Hat newlib C Library".
5224
        * libc/sys.tex (Stubs): Likewise.
5225
        * libm/math/math.tex (Math): Likewise.
5226
        * libm/mathfp/mathfp.tex (Math): Likewise.
5227
 
5228
2005-10-11  Shaun Jackman  
5229
 
5230
        * libc/include/stdio.h (dprintf): New declaration.
5231
        (vdprintf): Ditto.
5232
        * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
5233
        and vdprintf.c.
5234
        * libc/stdio/Makefile.in: Regenerate.
5235
        * libc/stdio/dprintf.c: New file.
5236
        * libc/stdio/vdprintf.c: New file.
5237
        * libc/stdio/stdio.tex (dprintf): New entry.
5238
 
5239
2005-10-11  David Weatherford  
5240
 
5241
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
5242
        Print "inf" and "nan" in lowercase for e/f/g formats and in
5243
        uppercase for E/F/G formats.
5244
 
5245
2005-10-07  Bob Wilson  
5246
 
5247
        * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
5248
        to ENOMEM on failure.
5249
 
5250
2005-10-06  Ralf Corsepius 
5251
 
5252
        * libc/include/stdint.h: Add [u]int_fast_t types.
5253
 
5254
2005-10-04  Ralf Corsepius 
5255
 
5256
        * libc/include/stdint.h: Move magic to set __have_long* to the
5257
        beginning.  Use #if __have* instead of #if defined(__have*).
5258
        Minor typo fixes.
5259
 
5260
2005-10-04  James E Wilson  
5261
 
5262
        * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next.  Add
5263
        #error.
5264
 
5265
2005-10-03  Jeff Johnston  
5266
 
5267
        * libc/sys/linux/include/stdint.h: Include  and
5268
        incorporate Ralf's change below.
5269
 
5270
2005-10-03  Ralf Corsepius 
5271
 
5272
        * libc/include/stdint.h:
5273
        Use __INTMAX_TYPE__ to derive intmax_t.
5274
        Use __UINTMAX_TYPE__ to derive uintmax_t.
5275
        Fix minor typo.
5276
 
5277
2005-09-27  Ralf Corsepius 
5278
 
5279
        * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
5280
        handling GCC >= 4.
5281
 
5282
2005-09-20  Jeff Johnston  
5283
 
5284
        * libc/sys/linux/include/stdint.h: Update to match functionality
5285
        of generic newlib stdint.h.
5286
 
5287
2005-09-20  Jeff Johnston  
5288
 
5289
        * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
5290
        and do not #undef the macro after it is used.  Fix typos.
5291
        Also change 64-bit constants to use the __have_long64 and
5292
        __have_longlong64 flags to determine if long or long long
5293
        constants should be used.
5294
        * libc/include/inttypes.h: Include stddef.h to get wchar_t
5295
        type defined.
5296
 
5297
2005-09-20  Shaun Jackman  
5298
 
5299
        * libc/include/stdint.h: Fix typo in names of
5300
        LEAST macros.
5301
 
5302
2005-09-20  Jeff Johnston  
5303
 
5304
        * libc/sys/rtems/include/inttypes.h: Moved to...
5305
        * libc/include/inttypes.h: ...here.
5306
 
5307
2005-09-19  Jeff Johnston  
5308
 
5309
        * libc/sys/rtems/include/stdint.h: Moved to...
5310
        * libc/include/stdint.h: ...here.
5311
 
5312
2005-09-08  Jeff Johnston  
5313
 
5314
        * Makefile.am: Add include files under bits sub-directory.
5315
        * Makefile.in: Regenerated.
5316
        * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
5317
        actual value of 1 to be compatible with newer glibc headers.
5318
        * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
5319
        glibc headers.
5320
        * libc/sys/linux/sys/dirent.h: Ditto.
5321
        * libc/sys/linux/argp/argp-xinl.c: Ditto.
5322
        * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
5323
        profile_fixup routines are marked used so they won't be
5324
        optimized away.
5325
        * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
5326
        to mark functions as weak.
5327
        * libc/sys/linux/dl/dl-open.c: Ditto.
5328
        * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
5329
        rules about lvalues.
5330
        * libc/sys/linux/iconv/gconv_simple.c: Ditto.
5331
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
5332
        weak_extern macro to mark functions as weak.  Instead always
5333
        use #pragma weak.
5334
        * iconvdata/jis0208.h: Fix to work with gcc4.
5335
        * libc/sys/linux/dl/dl-load.c: Ditto.
5336
        * libc/sys/linux/dl/dl-reloc.c: Ditto.
5337
        * libc/sys/linux/dl/do-rel.h: Ditto.
5338
        * libc/sys/linux/dl/dynamic-link.h: Ditto.
5339
        * libc/sys/linux/include/ltdl.h: Ditto.
5340
        * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
5341
        * libc/sys/linux/machine/i386/weakalias.h: Ditto.
5342
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
5343
        * libc/sys/linux/bits/initspin.h: New file.
5344
        * libc/sys/linux/bits/libc-lock.h: Ditto.
5345
        * libc/sys/linux/bits/pthreadtypes.h: Ditto.
5346
        * libc/sys/linux/bits/typesizes.h: Ditto.
5347
 
5348
2005-09-08  Eric Blake  
5349
 
5350
        * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
5351
        before is NULL.
5352
 
5353
2005-09-08  Brian Dessent  
5354
 
5355
        * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
5356
        mantissa.
5357
        * s_lrint.c: Ditto.
5358
 
5359
2005-09-02  Jeff Johnston  
5360
 
5361
        * libc/include/stdio.h: Add prototype for viprintf.
5362
 
5363
2005-09-01  Jeff Johnston  
5364
 
5365
        * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
5366
        any positive power results in 0.
5367
        * libm/mathfp/sf_pow.c (powf): Ditto.
5368
 
5369
2005-08-31  Paul Brook  
5370
 
5371
        * configure.host: Set have_crt0 to no for Arm targts when not
5372
        providing syscalls.  Set sys_dir=arm unconditionally.
5373
        Default have_crt0 based on sys_dir.
5374
        * configure.in: Use have_crt0.
5375
        * libc/configure.in: Ditto.
5376
        * libc/sys/configure.in: Ditto.
5377
        * configure: Regenerate.
5378
        * libc/configure: Regenerate.
5379
        * libc/sys/configure: Regenerate.
5380
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
5381
        Only build other files when providing syscalls.
5382
        * libc/sys/arm/Makefile.in: Regenerate.
5383
        * libc/sys/arm/aeabi_atexit.c: New file.
5384
 
5385
2005-08-26  Christopher Faylor  
5386
 
5387
        * libc/include/string.h: Revert previous change.
5388
 
5389
2005-08-25  Christopher Faylor  
5390
 
5391
        * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
5392
 
5393
2005-08-22  Shaun Jackman  
5394
 
5395
        * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
5396
        define _opendir as opendir, _readdir as readdir, and
5397
        _closedir as closedir so that the implementations in
5398
        libc/posix will be used.
5399
 
5400
2005-08-10  DJ Delorie  
5401
 
5402
        * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
5403
 
5404
2005-08-10  Stephen Huw Clarke  
5405
 
5406
        * libm/common/sf_fmax.c: Fix to properly handle NaNs.
5407
        * libm/common/s_max.c: Ditto.
5408
        * libm/common/sf_fmin.c: Ditto.
5409
        * libm/common/s_min.c: Ditto.
5410
 
5411
2005-08-10  DJ Delorie  
5412
 
5413
        * configure.host: Add m32c support.
5414
        * libc/include/machine/ieeefp.h: Likewise.
5415
        * libc/include/machine/setjmp.h: Likewise.
5416
        * libc/include/sys/config.h: Likewise.
5417
        * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
5418
        * libc/machine/m32c/aclocal.m4: New file.
5419
        * libc/machine/m32c/configure: Ditto.
5420
        * libc/machine/m32c/configure.in: Ditto.
5421
        * libc/machine/m32c/Makefile.am: Ditto.
5422
        * libc/machine/m32c/Makefile.in: Ditto.
5423
        * libc/machine/m32c/setjmp.S: Ditto.
5424
 
5425
2005-08-02  Bob Wilson  
5426
 
5427
        * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
5428
        to the value for 2^126.
5429
 
5430
2005-07-26  Hans-Peter Nilsson  
5431
 
5432
        * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
5433
        used.
5434
 
5435
2005-07-20  Bob Wilson  
5436
           Darin Petkov 
5437
 
5438
       * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
5439
 
5440
2005-07-19  Paul Brook  
5441
 
5442
        * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
5443
 
5444
2005-07-18  Joseph S. Myers  
5445
 
5446
        * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
5447
        names after PASS and FAIL which do not depend on source directory
5448
        name or on whether test passed or failed.
5449
        * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
5450
 
5451
2005-07-08  Ola Hugosson   
5452
 
5453
        * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
5454
 
5455
2005-07-07  Shaun Jackman  
5456
 
5457
        * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
5458
        twice for the same directory. _closedir calls free, and freeing
5459
        the same pointer twice may cause a crash.
5460
 
5461
2005-07-06  Aldy Hernandez  
5462
 
5463
        * configure.host: Added entry for ms1*.
5464
        * libc/include/machine/ieeefp.h: Handle ms1.
5465
        * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
5466
        * libc/machine/ms1/aclocal.m4: New.
5467
        * libc/machine/ms1/configure: New.
5468
        * libc/machine/ms1/configure.in: New.
5469
        * libc/machine/ms1/Makefile.am: New.
5470
        * libc/machine/ms1/Makefile.in: New.
5471
        * libc/machine/ms1/setjmp.S: New.
5472
 
5473
2005-07-04  Mark Mitchell  
5474
 
5475
        * Makefile.am (site.exp): Set tmpdir.
5476
        * Makefile.in: Regenerated.
5477
        * testsuite/lib/checkoutput.exp (newlib_check_output): Put
5478
        executables in $tmpdir.
5479
        * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
5480
        libgloss version if not running in the build directory.
5481
        * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
5482
        $tmpdir.
5483
        * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
5484
        in $tmpdir.
5485
 
5486
2005-06-28  Dave Korn  
5487
 
5488
        * libm/common/s_lrint.c (lrint):  Fix signed-vs-unsigned comparison
5489
        and miscalculation caused by fp representation of zero.
5490
        * libm/common/sf_lrint.c (lrintf):  Likewise.
5491
 
5492
2005-06-16  Christopher Faylor  
5493
 
5494
        * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
5495
        determine characteristics of long double.  Use a union instead.
5496
        * ldtoa.c (_ldtoa_r): Ditto.
5497
        (_ldcheck): Ditto.
5498
        (_strtold): Ditto.
5499
        (union uconv): New union.
5500
 
5501
2005-06-03  Jeff Johnston  
5502
 
5503
        * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
5504
        instead of memcpy.
5505
 
5506
2005-05-12  Jeff Johnston  
5507
 
5508
        * configure.host (mn10300-*): Add long long I/O support by default.
5509
 
5510
2005-05-12  Jeff Johnston  
5511
 
5512
        * libc/sys/linux/getpwuid.c: Removed.
5513
        * libc/sys/linux/getpwnam.c: Removed.
5514
        * libc/sys/linux/getpwent.c: New file containing logic
5515
        from files removed above.  This allows overriding of file
5516
        in libc/unix.
5517
        * libc/sys/linux/Makefile.am: Support changes above.
5518
        * libc/sys/linux/Makefile.in: Regenerated.
5519
 
5520
2005-04-28  Jeff Johnston  
5521
 
5522
        * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
5523
        when checking for multiple flags.
5524
 
5525
2005-04-18  Hans-Peter Nilsson  
5526
 
5527
        * configure.host : Set
5528
        default_newlib_io_long_long="yes".
5529
 
5530
2005-04-08  Jeff Johnston  
5531
 
5532
        * libc/include/libgen.h: New file.
5533
 
5534
2005-04-08  Shaun Jackman  
5535
 
5536
        * libc/unix/Makefile.am: Add support for basename and dirname.
5537
        * libc/unix/Makefile.in: Regenerated.
5538
        * libc/unix/basename.c: New file.
5539
        * libc/unix/dirname.c: New file.
5540
 
5541
2005-04-07  Shaun Jackman  
5542
 
5543
        * libc/sys/linux/inode.c (lchown): New function.
5544
 
5545
2005-04-07  Shaun Jackman  
5546
 
5547
        * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
5548
        ELIX level is defined.
5549
        * libc/unix/Makefile.in: Regenerated.
5550
 
5551
2005-04-05  Dave Korn  
5552
 
5553
        * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
5554
        something that looks like a "NaN", put back the characters processed.
5555
 
5556
2005-04-01  Corinna Vinschen  
5557
 
5558
        * libc/stdlib/strtod.c (_strtod_r): Never change s00.
5559
 
5560
2005-03-23  Christopher Faylor  
5561
 
5562
        * configure.host: For cygwin, redefine CC with cygwin include directory
5563
        first to mimic the behavior of the top-level configury.  Move include
5564
        directory out of newlib_cflags.
5565
 
5566
2005-03-22  Jeff Johnston  
5567
 
5568
        * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
5569
        * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
5570
        than errno.
5571
 
5572
2005-03-22  Christopher Faylor  
5573
 
5574
        * libc/include/machine/_types.h: Make trivial change to comment to
5575
        avoid a spurious warning from gcc.
5576
 
5577
2005-03-21  Nicholas Wourms  
5578
 
5579
        * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
5580
        since _WANT_IO_POS_ARGS is now defined in there.  Remove duplicate
5581
        reent.h include.
5582
 
5583
2005-03-18  Hans-Peter Nilsson  
5584
            Corinna Vinschen  
5585
 
5586
        * libc/include/ctype.h: Remove invalid +1 offset from
5587
        ctype macro references to __ctype_ptr.
5588
        (_ctype_): Move declaration outside #ifndef __cplusplus.
5589
 
5590
2005-03-18  Corinna Vinschen  
5591
 
5592
        * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
5593
        evaluate first parameter only once.
5594
        (siglongjmp): Ditto.
5595
 
5596
2005-03-17  Jeff Johnston  
5597
 
5598
        * configure.in: Add new check to see if compiler supports
5599
        aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
5600
        * configure: Regenerated.
5601
        * Makefile.in: Ditto.
5602
        * newlib.hin: Add _HAVE_ARRAY_ALIASING.
5603
        * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
5604
        aliasing the _ctype_ array to _ctype_b.
5605
        * libc/include/ctype.h: Change macros to use __ctype_ptr.  Mark
5606
        _ctype_ as deprecated.
5607
 
5608
2005-03-17  Hans-Peter Nilsson  
5609
 
5610
        * configure.host (newlib_cflags) : Add
5611
        -DCOMPACT_CTYPE.
5612
 
5613
2005-03-06  Ralf Corsepious  
5614
 
5615
        * libc/sys/rtems/include/inttypes.h: New file.
5616
        * libc/sys/rtems/include/stdint.h: Ditto.
5617
 
5618
2005-03-06  Ralf Corsepious  
5619
 
5620
        * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
5621
 
5622
2005-03-06  Ralf Corsepious  
5623
 
5624
        * libc/include/machine/_types.h: New file.
5625
        * libc/include/sys/types.h: Do not check for __rtems__
5626
        when including .  Remove some redundant
5627
        declarations now that  is included.
5628
        * libc/sys/rtems/machine/_types.h: Removed.  Replaced with
5629
        shared header file.
5630
 
5631
2005-02-25  Ralf Corsepious  
5632
 
5633
        * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
5634
        L qualifier for these long constants.
5635
 
5636
2005-02-25  Eric Blake  
5637
 
5638
        * libc/include/time.h (__tzrule_struct): Make offset long, since
5639
        a 16-bit int overflows on a 12-hour offset.
5640
        * libc/sys/linux/include/time.h: Ditto.
5641
        * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
5642
        * libc/time/mktm_r.c: Ditto.
5643
        * libc/time/gettzinfo.c: Ditto.
5644
        * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
5645
        years.  Fix '%z' to use long, not int.
5646
 
5647
2005-02-24  Ralf Corsepious  
5648
 
5649
        * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
5650
        manipulate float values in integer form.
5651
        * libm/common/sf_round.c: Ditto.
5652
 
5653
2005-02-24  Ralf Corsepious  
5654
 
5655
        * libc/include/sys/types.h [__rtems__]: Include new
5656
        header file machine/_types.h.
5657
        * libc/include/machine/types.h: Ditto.
5658
        * libc/sys/rtems/machine/_types.h: New file.
5659
 
5660
2005-02-23  Corinna Vinschen  
5661
 
5662
        * libc/include/time.h (_timezone): Change to long also for Cygwin.
5663
        (timezone): Drop cast from definition.
5664
 
5665
2005-02-23  Jeff Johnston  
5666
 
5667
        * libc/include/time.h [!CYGWIN](_timezone): Change to long.
5668
        (__tzrule_type, __tzinfo_type): New types.
5669
        (__gettzinfo): New function.
5670
        * libc/sys/linux/include/time.h: Ditto.
5671
        * libc/time/Makefile.am: Add gettzinfo.c.
5672
        * libc/time/Makefile.in: Regenerated.
5673
        * libc/time/local.h: Moved __tzrule_type to time.h.
5674
        * libc/time/mktime.c: Call __gettzinfo to reference
5675
        __tznorth, __tzyear, and __tzrule array.
5676
        * libc/time/mktm_r.c: Ditto.
5677
        * libc/time/strftime.c: Ditto.
5678
        * libc/time/tzset_r.c: Ditto.  Also remove definition
5679
        of __tzrule which is now in gettzinfo.c.  Change _timezone
5680
        references to not cast to time_t.
5681
        * libc/time/gettzinfo.c: New file.
5682
 
5683
2005-02-23  Corinna Vinschen  
5684
 
5685
        * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
5686
 
5687
2005-02-22  Corinna Vinschen  
5688
 
5689
        * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
5690
 
5691
2005-02-16  Eric Blake  
5692
 
5693
        * libc/time/time.tex: Improve the documentation.
5694
        * libc/time/strftime.c: Improve the documentation.
5695
        (iso_year_adjust): New helper function.
5696
        (strftime): Simplify '%E' and '%O'. Change '%c' to use
5697
        recursion. Fix '%C', '%y', and '%Y' to deal with years with more
5698
        than 4 characters.  Combine '%d' and '%e'. Implement '%D', '%F',
5699
        '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
5700
        Avoid core dumps on valid inputs (maxsize == 0, or
5701
        tim_p->tm_isdst > 1).
5702
 
5703
2005-02-08  Corinna Vinschen  
5704
 
5705
        * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
5706
        members to uid_t and gid_t according to SUSv3.
5707
        * libc/include/sys/time.h (utimes):  Change second parameter
5708
        to const according to SUSv3.
5709
 
5710
2005-02-07  Antony King  
5711
 
5712
        * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
5713
        called before _flockfile to prevent lock object use before
5714
        initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
5715
        take a struct _reent * instead of a FILE *.
5716
        * libc/stdio/fclose.c (_fclose_r): Ditto.
5717
        * libc/stdio/feof.c (feof): Ditto.
5718
        * libc/stdio/ferror.c (ferror): Ditto.
5719
        * libc/stdio/fflush.c (fflush): Ditto.
5720
        * libc/stdio/fgetc.c (fgetc): Ditto.
5721
        * libc/stdio/fgets.c (fgets): Ditto.
5722
        * libc/stdio/fileno.c (fileno): Ditto.
5723
        * libc/stdio/fputc.c (fputc): Ditto.
5724
        * libc/stdio/fputs.c (fputs): Ditto.
5725
        * libc/stdio/fread.c (fread): Ditto.
5726
        * libc/stdio/freopen.c (_freopen_r): Ditto.
5727
        * libc/stdio/fseek.c (_fseek_r): Ditto.
5728
        * libc/stdio/ftell.c (_ftell_r): Ditto.
5729
        * libc/stdio/fwrite.c (fwrite): Ditto.
5730
        * libc/stdio/getc.c (getc): Ditto.
5731
        * libc/stdio/getdelim.c (__getdelim): Ditto.
5732
        * libc/stdio/putc.c (putc): Ditto.
5733
        * libc/stdio/setvbuf.c (setvbuf): Ditto.
5734
        * libc/stdio/ungetc.c (_ungetc_r): Ditto.
5735
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
5736
        * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
5737
        * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
5738
        * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
5739
        * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
5740
        _reent * instead of a FILE * and so replace incorrect use of
5741
        _REENT with argument.
5742
        * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
5743
        * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
5744
        CHECK_INIT() take a struct _reent * instead of a FILE *.
5745
        * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
5746
        * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
5747
        * libc/stdio/perror.c (perror): Ditto.
5748
        * libc/stdio/printf.c (printf, _printf_r): Ditto.
5749
        * libc/stdio/putchar.c (putchar): Ditto.
5750
        * libc/stdio/puts.c (puts): Ditto.
5751
        * libc/stdio/refill.c (__srefill): Ditto.
5752
        * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
5753
        * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
5754
        * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
5755
        * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
5756
        * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
5757
        * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
5758
        * libc/stdio/wbuf.c (__swbuf): Ditto.
5759
        * libc/stdio/wsetup.c (__swsetup): Ditto.
5760
        * libc/stdlib/mallocr.c (malloc_stats): Ditto.
5761
        * libc/stdlib/mstats.c (_mstats_r): Ditto.
5762
        * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
5763
        * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
5764
        * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
5765
        to _flockfile and _funlockfile; rely on locking in _ftell_r.
5766
        * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
5767
        * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
5768
        initialision of _data field in FILE structure.
5769
        * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
5770
 
5771
2005-02-07  Jeff Johnston  
5772
 
5773
        * libc/stdio/findfp.c (__sinit): Protect with new lock.
5774
        (__sinit_lock): New lock.
5775
        (__sinit_lock_acquire, __sinit_lock_release): New functions.
5776
        * libc/stdio/local.h: Add reference to new __sinit locking
5777
        functions.
5778
 
5779
2005-02-07  Jeff Johnston  
5780
 
5781
        * libc/include/math.h (isfinite, isnormal, isunordered): Change
5782
        input variable names to avoid mixups with nesting macros.
5783
 
5784
2005-01-27  Hans-Peter Nilsson  
5785
 
5786
        * configure.host: Add support for cris-*-* and crisv32-*-*.
5787
        * libc/include/machine/ieeefp.h: Ditto.
5788
        * libc/include/machine/setjmp.h: Ditto.
5789
        * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
5790
        libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
5791
        libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
5792
        libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
5793
        libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
5794
        libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
5795
        libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
5796
        files.
5797
 
5798
2005-01-27  Hans-Peter Nilsson  
5799
 
5800
        * testsuite/newlib.string/memmove1.c: New test.
5801
 
5802
2005-01-27  Hans-Peter Nilsson  
5803
 
5804
        * testsuite/include/check.h: Include stdlib.h.
5805
 
5806
2005-01-27  Hans-Peter Nilsson  
5807
 
5808
        * Makefile.am (stmp-targ-include): Support include header files
5809
        from machine directories.
5810
        (install-data-local): Ditto.
5811
        * Makefile.in: Regenerate.
5812
 
5813
2005-01-24  Jeff Johnston  
5814
 
5815
        * libc/include/string.h: Remove Linux-specific declaration of
5816
        strsignal and add #include .
5817
        * libc/include/sys/string.h: New file.
5818
        * libc/include/sys/linux/sys/string.h: New file with strsignal
5819
        declaration deleted above.
5820
 
5821
2005-01-20  Jeff Johnston  
5822
 
5823
        * libc/time/strftime.c (strftime): Change %r and %x to be compliant
5824
        to POSIX standard for "C" locale.  Allow %E and %O modifiers
5825
        to be ignored as long as they precede valid specifiers according
5826
        to POSIX.
5827
 
5828
2005-01-19  Shaun Jackman  
5829
 
5830
        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
5831
        environment variable is set.
5832
 
5833
2005-01-19  Shaun Jackman  
5834
 
5835
        * tzset_r.c (_tzname): Add a comma.
5836
 
5837
2005-01-18  Aldy Hernandez  
5838
 
5839
        * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
5840
        _VFPRINTF_R.
5841
 
5842
2005-01-07  Paul Brook  
5843
 
5844
        * configure.in: Add test for .init_array.
5845
        * configure: Regenerate.
5846
        * newlib.hin: Add HAVE_INITFINI_ARRAY.
5847
        * libc/misc/Makefile.am: Add init.c
5848
        * libc/misc/Makefile.in: Regenerate.
5849
        * libc/misc/init.c: New file.
5850
        * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
5851
        _init/_fini if they exist.
5852
 
5853
2005-01-06  Jeff Johnston  
5854
 
5855
        * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
5856
        * (strtof): Ditto.
5857
        * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
5858
        * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
5859
        functions for use by strtod and strtof.
5860
        * Makefile.in: Regenerated.
5861
 
5862
2005-01-06  Hans-Peter Nilsson  
5863
 
5864
        * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
5865
        bit-test in combination with NULL test.
5866
 
5867
2005-01-06  Hans-Peter Nilsson  
5868
 
5869
        * README: Fix typo of LGPL.  Change "license" to "copyright".
5870
 
5871
2004-12-17  Jeff Johnston  
5872
 
5873
        * NEWS: Update with 1.13.0 info.
5874
        * README: Ditto.
5875
        * acinclude.m4: Change version number to 1.13.0.
5876
        * aclocal.m4: Regenerated.
5877
        * configure: Ditto.
5878
        * doc/aclocal.m4: Ditto.
5879
        * doc/configure: Ditto.
5880
        * libc/*/aclocal.m4: Ditto.
5881
        * libc/*/configure: Ditto.
5882
        * libc/libc.texinfo: Ditto.
5883
        * libm/*/aclocal.m4: Ditto.
5884
        * libm/*/configure: Ditto.
5885
        * libm/libm.texinfo: Ditto.
5886
        * libc/sys/linux/shared.ld: Add VERS_1.13.
5887
 
5888
2004-12-17  Christian Groessler  
5889
 
5890
        * libc/machine/z8k/memcmp.S: New file.
5891
        * libc/machine/z8k/memcpy.S: Ditto.
5892
        * libc/machine/z8k/memmove.S: Ditto.
5893
        * libc/machine/z8k/memset.S: Ditto.
5894
        * libc/machine/z8k/Makefile.am: Add new files.
5895
        * libc/machine/z8k/Makefile.in: Regenerated.
5896
        * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
5897
        part.  Implement Z8002 stdcall version.
5898
 
5899
2004-12-13  Jeff Johnston  
5900
 
5901
        * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
5902
        a low-level read if we don't get the full amount of bytes so
5903
        EOF or error flags will be set.
5904
 
5905
2004-12-09  Alex Mogilnikov  
5906
 
5907
        * libc/time/tzset_r (_tzset_r): Properly skip over
5908
        '/' when it is detected.
5909
 
5910
2004-12-08  Alex Mogilnikov  
5911
 
5912
        * libc/time/tzset_r (_tzset_r): Fix loop.
5913
 
5914
2004-12-08  Alex Mogilnikov  
5915
 
5916
        * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
5917
        m_day.
5918
        (__tzcalc_limits): Fix reference to month array to be zero-based.
5919
 
5920
2004-12-07  Jeff Johnston  
5921
 
5922
        * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
5923
        and usleep.
5924
 
5925
2004-12-03  Jeff Johnston  
5926
 
5927
        * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
5928
        libgcc dependencies.
5929
        (libm_la_LDFLAGS): Ditto.
5930
        * Makefile.in: Regenerated.
5931
 
5932
2004-12-03  Shaun Jackman  
5933
 
5934
        * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
5935
        our link to use readlink so as to preserve any relative link created
5936
        by install-toollibLIBRARIES.
5937
        * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
5938
 
5939
2004-12-02  Shaun Jackman  
5940
 
5941
        * libc/sys/linux/stdlib/glob.c: Include  which defines
5942
        time_t before including sys/stat.h, which uses it.
5943
        * libc/sys/linux/sys/stat.h: Include  and
5944
         just prior to definition of __KERNEL__ so as to
5945
        allow building on Debian Linux where otherwise, mktime would
5946
        be redefined.
5947
 
5948
2004-11-26  Paul Brook  
5949
 
5950
        * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
5951
 
5952
2004-11-24  Jeff Johnston  
5953
 
5954
        * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
5955
        const for value string parameter to match Single Unix and glibc.
5956
        * libc/stdlib/putenv.c: Ditto.
5957
        * libc/stdlib/putenv_r.c: Ditto.
5958
 
5959
2004-11-24  Jeff Johnston  
5960
 
5961
        * libc/stdio/Makefile.am: Fix missing vfscanf.
5962
        * libc/stdio/Makefile.in: Regenerated.
5963
 
5964
2004-11-23  Jeff Johnston  
5965
 
5966
        * libc/include/stdio.h: Add new iprintf and iscanf variants.  Also
5967
        do some reordering.
5968
        * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
5969
        * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
5970
        family functions.
5971
        * libc/stdio/Makefile.in: Regenerated.
5972
        * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
5973
        * libc/stdio/iprintf.c: Ditto.
5974
        * libc/stdio/local.h (__svfiscanf_r): New prototype.
5975
        * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
5976
        * libc/stdio/sniprintf.c: Move docs to siprintf.c.
5977
        * libc/stdio/stdio.tex: Add new functions.
5978
        * libc/stdio/vfscanf.c: Split out __sccl function to separate
5979
        file and add special name defines so this file can be used
5980
        to build vfiscanf.o.
5981
        * libc/stdio/asiprintf.c: New file.
5982
        * libc/stdio/fiscanf.c: Ditto.
5983
        * libc/stdio/iscanf.c: Ditto.
5984
        * libc/stdio/sccl.c: Ditto.
5985
        * libc/stdio/siscanf.c: Ditto.
5986
        * libc/stdio/vasiprintf.c: Ditto.
5987
        * libc/stdio/viprintf.c: Ditto.
5988
        * libc/stdio/viscanf.c: Ditto.
5989
        * libc/stdio/vsiprintf.c: Ditto.
5990
        * libc/stdio/vsiscanf.c: Ditto.
5991
        * libc/stdio/vsniprintf.c: Ditto.
5992
 
5993
2004-11-19  Shaun Jackman  
5994
 
5995
        * libc/include/stdio.h: Add sniprintf.
5996
        * libc/stdio/Makefile.am: Add sniprintf.c.
5997
        * libc/stdio/Makefile.in: Regenerated.
5998
        * libc/stdio/sniprintf.c: New file.
5999
        * libc/stdio/stdio.tex: Add sniprintf.
6000
 
6001
2004-11-17  Christopher Faylor  
6002
 
6003
        * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin.  Clear
6004
        EOF flag if successful.
6005
 
6006
2004-10-28  Christopher Faylor  
6007
 
6008
        * libc/include/sys/signal.h: Move  include to bottom of file
6009
        so that all relevant definitions have been performed for use in the
6010
        include.
6011
 
6012
2004-10-26  Jason Tishler  
6013
 
6014
        * libc/stdio/fread.c (fread): Fix return value for unbuffered
6015
        fread.
6016
 
6017
2004-10-25  Ralf Corsepius 
6018
 
6019
        * libc/include/machine/setjmp.h: Add AVR support.
6020
        * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
6021
 
6022
2004-10-08  Jeff Johnston  
6023
 
6024
        * libc/include/sys/signal.h: If  didn't include
6025
        this header file, include  to account for
6026
        applications that take advantage that the two header
6027
        files are the same in glibc.
6028
 
6029
2004-10-05  Tomer Levi  
6030
 
6031
        * configure.host: Add support for crx.
6032
        * libc/include/machine/ieeefp.h: Ditto.
6033
        * libc/include/machine/setjmp.h: Ditto.
6034
        * libc/machine/crx/Makefile.am: New file.
6035
        * libc/machine/crx/configure.in: Ditto.
6036
        * libc/machine/crx/setjmp.S: Ditto.
6037
        * libc/machine/crx/getenv.c: Ditto.
6038
        * libc/machine/crx/aclocal.m4: Generate.
6039
        * libc/machine/crx/configure: Ditto.
6040
        * libc/machine/crx/Makefile.in: Ditto.
6041
        * libc/machine/crx/sys/asm.h: New file.
6042
        * libc/machine/crx/sys/libh.h: Ditto.
6043
        * libc/machine/crx/sys/syscall.h: Ditto.
6044
 
6045
2004-10-05  Jeff Johnston  
6046
 
6047
        * Makefile.am (stmp-targ-include): Support sys header files
6048
        from machine directories.
6049
        * Makefile.in: Regenerated.
6050
 
6051
2004-10-04  Jeff Johnston  
6052
 
6053
        * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
6054
        count skipped zero characters as part of the nread count for %n.
6055
        * libc/machine/powerpc/vfscanf.c: Ditto.
6056
 
6057
2004-09-24  Jeff Johnston  
6058
 
6059
        * libc/stdio/local.h: Include .
6060
 
6061
2004-09-24  Corinna Vinschen  
6062
 
6063
        * libc/stdio/fread.c (fread): Include .
6064
 
6065
2004-09-22  Jeff Johnston  
6066
 
6067
        * libc/stdio/fread.c (fread):  For non-space-optimized case,
6068
        add special code for unbuffered files to use user buffer and
6069
        only require one low-level system read.
6070
 
6071
2004-09-21  Ian Lance Taylor  
6072
 
6073
        * libc/machine/xscale/setjmp.S: New file, copied from
6074
        libc/machine/arm/setjmp.S.
6075
        * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
6076
        * libc/machine/xscale/Makefile.in: Regenerate.
6077
 
6078
2004-09-16  Antony King  
6079
 
6080
        * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
6081
        with locking API.
6082
        * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
6083
        check for__SSTR in _flags and if set, skip lock request.
6084
        (_funlockfile)[!SINGLE_THREAD]: Ditto.
6085
        * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
6086
        not NULL.
6087
        * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
6088
        initialisation of _file to -1 in local FILE.
6089
        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
6090
        * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
6091
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
6092
        * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
6093
        * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
6094
        _flags in local FILE to prevent locking.
6095
        * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
6096
 
6097
2004-09-16  Antony King  
6098
 
6099
        * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
6100
        and only walk the reentrancy parameter.
6101
        (_fwalk_reent): Ditto.
6102
        * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
6103
 
6104
2004-09-16  Antony King  
6105
 
6106
        * libc/stdio64/freopen64.c: Remove casting of fp lock to
6107
        _LOCK_RECURSIVE_T.
6108
 
6109
2004-09-16  Antony King  
6110
 
6111
        * libc/time/tzlock.c: Add default stubs that use generic
6112
        locking code.
6113
 
6114
2004-09-16  Antony King  
6115
 
6116
        * libc/ctype/ctype.tex: Added missing documentation.
6117
        * libc/stdio/stdio.tex Ditto.
6118
        * libc/stdlib/stdlib.tex Ditto.
6119
        * libc/string/strings.tex Ditto.
6120
        * libc/time/time.tex: Ditto.
6121
        * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
6122
 
6123
2004-09-15  Corinna Vinschen  
6124
 
6125
        * libc/reent/impure.c (reent_data): Define as alias to impure_data
6126
        when building for Cygwin.
6127
        * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
6128
        _global_impure_ptr.
6129
 
6130
2004-09-15  Jeff Johnston  
6131
 
6132
        * configure.host: Reverting 2004-09-14 change as fix has occurred on
6133
        Cygwin side.
6134
        * configure.in: Ditto.
6135
        * libc/configure.in: Ditto.
6136
        * libc/sys/configure.in: Ditto.
6137
        * configure: Ditto.
6138
        * libc/configure: Ditto.
6139
        * libc/sys/configure: Ditto.
6140
        * libc/include/sys/reent.h: Ditto.
6141
        * libc/stdlib/__atexit.c: Ditto.
6142
        * libc/stdlib/__call_atexit.c: Ditto.
6143
        * libc/stdlib/cxa_atexit.c: Ditto.
6144
        * libc/stdlib/cxa_finalize.c: Ditto.
6145
        * libc/sys/cygwin/Makefile.am: Removed again.
6146
        * libc/sys/cygwin/Makefile.in: Ditto.
6147
        * libc/sys/cygwin/aclocal.m4: Ditto.
6148
        * libc/sys/cygwin/configure: Ditto.
6149
        * libc/sys/cygwin/configure.in: Ditto.
6150
        * libc/sys/cygwin/dummy.c: Ditto.
6151
        * libc/sys/cygwin/sys/reent.h: Ditto.
6152
 
6153
2004-09-14  Jeff Johnston  
6154
 
6155
        * configure.host: Add Cygwin sys directory.
6156
        * configure.in: Do not set CRT0 for cygwin.
6157
        * libc/configure.in: Ditto.
6158
        * libc/sys/configure.in: Ditto.
6159
        * configure: Regenerated.
6160
        * libc/configure: Ditto.
6161
        * libc/sys/configure: Ditto.
6162
        * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
6163
        * libc/stdlib/__atexit.c: Keep cxa support protected by new
6164
        __REENT_HAS_CXA_SUPPORT flag.
6165
        * libc/stdlib/__call_atexit.c: Ditto.
6166
        * libc/stdlib/cxa_atexit.c: Ditto.
6167
        * libc/stdlib/cxa_finalize.c: Ditto.
6168
        * libc/sys/cygwin/Makefile.am: New file.
6169
        * libc/sys/cygwin/Makefile.in: Ditto.
6170
        * libc/sys/cygwin/aclocal.m4: Ditto.
6171
        * libc/sys/cygwin/configure: Ditto.
6172
        * libc/sys/cygwin/configure.in: Ditto.
6173
        * libc/sys/cygwin/dummy.c: Ditto.
6174
        * libc/sys/cygwin/sys/reent.h: Ditto.  This file is stabilized
6175
        version of reent.h.
6176
 
6177
2004-09-13 Artem B. Bityuckiy  
6178
 
6179
        * libc/iconv/iconv.tex: Updated with new content.
6180
        * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
6181
        instead of NLS_DEFAULT_NLSPATH.
6182
        * libc/iconv/lib/iconvnls.h: Fix typo.
6183
        * libc/include/sys/iconvnls.h: New file.
6184
 
6185
2004-09-09  Paul Brook  
6186
 
6187
        * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
6188
        and _is_cxa.
6189
        (struct _atexit): Add _next when _REENT_SMALL.
6190
        (struct _reent): Add _atexit0 when _REENT_SMALL.
6191
        (_REENT_INIT_PTR): Adjust.
6192
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
6193
        __call_exit.c.
6194
        (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
6195
        * libc/stdlib/Makefile.in: Regenerate.
6196
        * libc/stdlib/__atexit.c: New file.
6197
        * libc/stdlib/__call_atexit.c: New file.
6198
        * libc/stdlib/atexit.h: Remove old definitions.  Add new.
6199
        * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
6200
        * libc/stdlib/cxa_atexit.c: New file.
6201
        * libc/stdlib/cxa_finalize.c: New file.
6202
        * libc/stdlib/exit.c (exit): Use __call_exitprocs.
6203
        * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
6204
        2004-09-09  Jeff Johnston  
6205
        * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
6206
        _on_exit_args_ptr.
6207
 
6208
2004-08-23  Jeff Johnston  
6209
 
6210
        * libc/include/sys/unistd.h (getpass): Change prototype to use
6211
        const instead of __const.
6212
 
6213
2004-08-16  Nathan Sidwell  
6214
 
6215
        * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
6216
        #if.
6217
 
6218
2004-08-12  Jeff Johnston  
6219
 
6220
        * libc/sys/linux/sys/types.h (u64): New typedef to allow building
6221
        on linux systems with glibc 2.3.3 installed.
6222
        * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
6223
        profile_fixup so newlib can build on fc3 system.
6224
 
6225
2004-07-30  Alexandre Oliva  
6226
 
6227
        Introduce SH2a support.
6228
        2004-03-16  Corinna Vinschen  
6229
        * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
6230
        __SH2A_SINGLE_ONLY__, too.
6231
        * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
6232
        2004-02-24  Corinna Vinschen  
6233
        * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu.  Fix comments.
6234
        2004-02-10  DJ Delorie  
6235
        * libc/sys/sh/crt0.S (start_l): Support sh2a.
6236
 
6237
2004-07-29  Jeff Johnston  
6238
 
6239
        * libc/time/strptime.c: Correct full-name of "March" typo.
6240
 
6241
2004-07-16  Anil Paranjpe  
6242
 
6243
        * configure.host (h8300*-*-*): Default long long printing support.
6244
 
6245
2004-07-16  Jeff Johnston  
6246
 
6247
        * libc/stdio/fvwrite.c (_sfvwrite):  For asprintf family
6248
        calls, if realloc fails, free up buffer as it is no longer
6249
        used.
6250
 
6251
2004-07-07  Artem B. Bityuckiy  
6252
 
6253
        * libc/iconv/iconv.tex: Updated to represent recent changes.
6254
        * libc/iconv/lib/iconv.c: Documentation updated.
6255
 
6256
2004-07-07  Nick Clifton  
6257
 
6258
        * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
6259
        for xStormy16.
6260
 
6261
2004-07-06  Chris Demetriou  
6262
 
6263
        * configure.host (mips*-*-elf*): Default long long printing
6264
        support.
6265
 
6266
2004-07-05  Jeff Johnston  
6267
 
6268
        * libc/Makefile.am (libc.dvi): Add target and specify
6269
        same dependencies as libc.info.
6270
        * libc/Makefile.in: Regenerated.
6271
        * libm/Makefile.am (libm.dvi): Add target and specify
6272
        same dependencies as libm.info.
6273
        * libm/Makefile.in: Regenerated.
6274
 
6275
2004-06-29  Artem B. Bityuckiy  
6276
 
6277
        * acinclude.m4: Move --enable-newlib-iconv option back here.
6278
        * configure.in: Remove --enable-newlib-iconv option.  Don't
6279
        tie iconv support to --enable-newlib-mb.
6280
        * aclocal.m4: Regenerated.
6281
        * configure: Ditto.
6282
        * doc/aclocal.m4, doc/configure: Ditto.
6283
        * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
6284
        * libm/*/aclocal.m4: Ditto.
6285
        * libm/*/configure: Ditto.
6286
        * libc/*/aclocal.m4: Ditto.
6287
        * libc/*/configure: Ditto.
6288
 
6289
2004-06-25  Artem B. Bityuckiy  
6290
 
6291
        * acinclude.m4: Move iconv options into configure.in.
6292
        * aclocal.m4: Regenerated.
6293
        * configure: Ditto.
6294
        * configure.in: Add iconv options.
6295
        * newlib.hin: Add new iconv encodings and remove deleted ones.
6296
        * doc/aclocal.m4: Regenerated.
6297
        * doc/configure: Ditto.
6298
        * iconvdata/aclocal.m4: Ditto.
6299
        * iconvdata/configure: Ditto.
6300
        * libc/iconv: Design change.  New size-optimized ccs format.
6301
        * libc/iconv/AUTHORS: Removed.
6302
        * libc/iconv/COPYING: Ditto.
6303
        * libc/iconv/README.ORIGINAL: Ditto.
6304
        * libc/iconv/README.TODO: Ditto.
6305
        * libc/iconv/charset.aliases: Ditto.
6306
        * libc/iconv/encoding.aliases: New file.
6307
        * libc/iconv/Makefile.am: Updated.
6308
        * libc/iconv/Makefile.in: Regenerated.
6309
        * libc/iconv/iconv.tex: Updated.
6310
        * libc/iconv/ccs/Makefile.am: Ditto.
6311
        * libc/iconv/ccs/Makefile.in: Regenerated.
6312
        * libc/iconv/ccs/big5.c: Updated.
6313
        * libc/iconv/ccs/cns11643_plane1.c: Ditto.
6314
        * libc/iconv/ccs/cns11643_plane14.c: Ditto.
6315
        * libc/iconv/ccs/cns11643_plane2.c: Ditto.
6316
        * libc/iconv/ccs/cp775.c: Ditto.
6317
        * libc/iconv/ccs/cp850.c: Ditto.
6318
        * libc/iconv/ccs/cp852.c: Ditto.
6319
        * libc/iconv/ccs/cp855.c: Ditto.
6320
        * libc/iconv/ccs/cp866.c: Ditto.
6321
        * libc/iconv/ccs/iso_8859_1.c: Ditto.
6322
        * libc/iconv/ccs/README.CCS.SOURCES: Removed.
6323
        * libc/iconv/ccs/gb_2312_80.c: Ditto.
6324
        * libc/iconv/ccs/iconv_mktbl: Ditto.
6325
        * libc/iconv/ccs/jis_x0201.c: Ditto.
6326
        * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
6327
        * libc/iconv/ccs/shift_jis.c: Ditto.
6328
        * libc/iconv/ccs/us_ascii.c: Ditto.
6329
        * libc/iconv/ccs/ccs.h: New file.
6330
        * libc/iconv/ccs/ccsbi.c: Ditto.
6331
        * libc/iconv/ccs/ccsbi.h: Ditto.
6332
        * libc/iconv/ccs/ccsnames.h: Ditto.
6333
        * libc/iconv/ccs/iso_8859_10.c: Ditto.
6334
        * libc/iconv/ccs/iso_8859_11.c: Ditto.
6335
        * libc/iconv/ccs/iso_8859_13.c: Ditto.
6336
        * libc/iconv/ccs/iso_8859_14.c: Ditto.
6337
        * libc/iconv/ccs/iso_8859_3.c: Ditto.
6338
        * libc/iconv/ccs/iso_8859_6.c: Ditto.
6339
        * libc/iconv/ccs/iso_8859_7.c: Ditto.
6340
        * libc/iconv/ccs/iso_8859_8.c: Ditto.
6341
        * libc/iconv/ccs/iso_8859_9.c: Ditto.
6342
        * libc/iconv/ccs/iso_ir_111.c: Ditto.
6343
        * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
6344
        * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
6345
        * libc/iconv/ccs/koi8_ru.c: Ditto.
6346
        * libc/iconv/ccs/koi8_uni.c: Ditto.
6347
        * libc/iconv/ccs/mktbl.pl: Ditto.
6348
        * libc/iconv/ccs/win_1250.c: Ditto.
6349
        * libc/iconv/ccs/win_1251.c: Ditto.
6350
        * libc/iconv/ccs/win_1252.c: Ditto.
6351
        * libc/iconv/ccs/win_1253.c: Ditto.
6352
        * libc/iconv/ccs/win_1254.c: Ditto.
6353
        * libc/iconv/ccs/win_1255.c: Ditto.
6354
        * libc/iconv/ccs/win_1256.c: Ditto.
6355
        * libc/iconv/ccs/win_1257.c: Ditto.
6356
        * libc/iconv/ccs/win_1258.c: Ditto.
6357
        * libc/iconv/ccs/iso_8859_15.c: Updated.
6358
        * libc/iconv/ccs/iso_8859_2.c: Ditto.
6359
        * libc/iconv/ccs/iso_8859_4.c: Ditto.
6360
        * libc/iconv/ccs/iso_8859_5.c: Ditto.
6361
        * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
6362
        * libc/iconv/ccs/koi8_r.c: Ditto.
6363
        * libc/iconv/ccs/koi8_u.c: Ditto.
6364
        * libc/iconv/ccs/ksx1001.c: Ditto.
6365
        * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
6366
        * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
6367
        * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
6368
        * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
6369
        * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
6370
        * libc/iconv/ccs/binary/Makefile.am: Updated.
6371
        * libc/iconv/ccs/binary/Makefile.in: Regenerated.
6372
        * libc/iconv/ccs/binary/big5.cct: Updated.
6373
        * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
6374
        * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
6375
        * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
6376
        * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
6377
        * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
6378
        * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
6379
        * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
6380
        * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
6381
        * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
6382
        * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
6383
        * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
6384
        * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
6385
        * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
6386
        * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
6387
        * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
6388
        * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
6389
        * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
6390
        * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
6391
        * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
6392
        * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
6393
        * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
6394
        * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
6395
        * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
6396
        * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
6397
        * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
6398
        * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
6399
        * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
6400
        * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
6401
        * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
6402
        * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
6403
        * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
6404
        * libc/iconv/ccs/binary/win_1250.cct: Ditto.
6405
        * libc/iconv/ccs/binary/win_1251.cct: Ditto.
6406
        * libc/iconv/ccs/binary/win_1252.cct: Ditto.
6407
        * libc/iconv/ccs/binary/win_1253.cct: Ditto.
6408
        * libc/iconv/ccs/binary/win_1254.cct: Ditto.
6409
        * libc/iconv/ccs/binary/win_1255.cct: Ditto.
6410
        * libc/iconv/ccs/binary/win_1256.cct: Ditto.
6411
        * libc/iconv/ccs/binary/win_1257.cct: Ditto.
6412
        * libc/iconv/ccs/binary/win_1258.cct: Ditto.
6413
        * libc/iconv/ces/Makefile.am: Updated.
6414
        * libc/iconv/ces/Makefile.in: Regenerated.
6415
        * libc/iconv/ces/ucs-2-internal.c: Updated.
6416
        * libc/iconv/ces/ucs-4-internal.c: Ditto.
6417
        * libc/iconv/ces/utf-16.c: Ditto.
6418
        * libc/iconv/ces/utf-8.c: Ditto.
6419
        * libc/iconv/ces/cesbi.c: New file.
6420
        * libc/iconv/ces/cesbi.h: Ditto.
6421
        * libc/iconv/ces/cesdeps.h: Ditto.
6422
        * libc/iconv/ces/euc.c: Ditto.
6423
        * libc/iconv/ces/mkdeps.pl: Ditto.
6424
        * libc/iconv/ces/table-pcs.c: Ditto.
6425
        * libc/iconv/ces/table.c: Ditto.
6426
        * libc/iconv/ces/ucs-2.c: Ditto.
6427
        * libc/iconv/ces/ucs-4.c: Ditto.
6428
        * libc/iconv/ces/us-ascii.c: Ditto.
6429
        * libc/iconv/ces/euc-jp.c: Removed.
6430
        * libc/iconv/ces/euc-kr.c: Ditto.
6431
        * libc/iconv/ces/euc-tw.c: Ditto.
6432
        * libc/iconv/ces/gb2312.c: Ditto.
6433
        * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
6434
        * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
6435
        * libc/iconv/lib/Makefile.am: Updated.
6436
        * libc/iconv/lib/Makefile.in: Regenerated.
6437
        * libc/iconv/lib/endian.h: Updated.
6438
        * libc/iconv/lib/iconv.c: Ditto.
6439
        * libc/iconv/lib/local.h: Ditto.
6440
        * libc/iconv/lib/aliases.c: Removed.
6441
        * libc/iconv/lib/bialiasesi.c: Ditto.
6442
        * libc/iconv/lib/biccs.c: Ditto.
6443
        * libc/iconv/lib/bices.c: Ditto.
6444
        * libc/iconv/lib/ccs.c: Ditto.
6445
        * libc/iconv/lib/ces.c: Ditto.
6446
        * libc/iconv/lib/ces_euc.c: Ditto.
6447
        * libc/iconv/lib/ces_iso2022.c: Ditto.
6448
        * libc/iconv/lib/ces_table.c: Ditto.
6449
        * libc/iconv/lib/converter.c: Ditto.
6450
        * libc/iconv/lib/deps.h: Ditto.
6451
        * libc/iconv/lib/loaddata.c: Ditto.
6452
        * libc/iconv/lib/aliasesbi.c: New file.
6453
        * libc/iconv/lib/aliasesi.c: Ditto.
6454
        * libc/iconv/lib/conv.h: Ditto.
6455
        * libc/iconv/lib/encnames.h: Ditto.
6456
        * libc/iconv/lib/encoding.deps: Ditto.
6457
        * libc/iconv/lib/iconvnls.c: Ditto.
6458
        * libc/iconv/lib/iconvnls.h: Ditto.
6459
        * libc/iconv/lib/nullconv.c: Ditto.
6460
        * libc/iconv/lib/ucsconv.c: Ditto.
6461
        * libc/iconv/lib/ucsconv.h: Ditto.
6462
        * libc/include/iconv.h: Update copyright.
6463
        * libc/*/aclocal.m4: Regenerated.
6464
        * libc/*/configure: Ditto.
6465
        * libm/*/aclocal.m4: Ditto.
6466
        * libm/*/configure: Ditto.
6467
 
6468
2004-06-22  Alexandre Oliva  
6469
 
6470
        * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
6471
        instead of typedefing jmp_buf.
6472
 
6473
        2003-07-02  Richard Sandiford  
6474
        * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
6475
        * libc/machine/h8300/defines.h (LEN): New macro.
6476
        * libc/machine/h8300/memcpy.S: Add h8sx version.
6477
        * libc/machine/h8300/memset.S: Likewise.
6478
        * libc/machine/h8300/strcmp.S: Likewise.
6479
        * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
6480
        * libc/machine/h8300/h8sx_strcpy.S: New file.
6481
        2003-06-30  Richard Sandiford  
6482
        * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
6483
        __H8300SX__.
6484
        * libc/include/machine/setjmp.h: Likewise.
6485
        * libc/include/sys/config.h: Likewise.
6486
        * libc/machine/h8300/defines.h: Likewise.
6487
        * libc/machine/h8300/setjmp.S: Likewise.
6488
        * libc/machine/h8300/strcmp.S: Likewise.
6489
        * libc/sys/h8300hms/close.S: Likewise.
6490
        * libc/sys/h8300hms/fstat.S: Likewise.
6491
        * libc/sys/h8300hms/lseek.S: Likewise.
6492
        * libc/sys/h8300hms/read.S: Likewise.
6493
        * libc/sys/h8300hms/write.S: Likewise.
6494
        * libc/sys/h8300hms/crt0.S: Likewise.
6495
        * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
6496
        __H8300SX__ is defined.
6497
        * libc/sys/h8300hms/setarch.h: Likewise.
6498
 
6499
2004-06-17  Jeff Johnston  
6500
 
6501
        * libc/include/sys/reent.h (_GLOBAL_REENT): Back
6502
        out change which set _GLOBAL_REENT to _global_impure_ptr until
6503
        we understand why Cygwin breaks because of it.
6504
 
6505
2004-06-14  Jeff Johnston  
6506
 
6507
        * libc/sys/linux/machine/i386/syscall.h: For now, set up
6508
        __syscall_return macro for systems with vsyscall.
6509
 
6510
2004-06-11  Antony King  
6511
 
6512
        * libc/include/sys/_types.h: Include  and change
6513
        _flock_t to be of type _LOCK_RECURSIVE_T.
6514
        * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
6515
        (_REENT_INIT_PTR): Ditto.  Use memset where appropriate.
6516
        (_global_impure_ptr): New declaration.
6517
        (_GLOBAL_REENT): Change to be _global_impure_ptr.
6518
        * libc/include/sys/stdio.h: Include  and
6519
        .
6520
        (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
6521
        (_funlockfile)[!SINGLE_THREAD]: Ditto.
6522
        * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
6523
        * libc/stdio/fclose.c: Remove casting of fp lock to
6524
        _LOCK_RECURSIVE_T.
6525
        * libc/stdio/findfp.c: Ditto.
6526
        * libc/stdio/fopen.c: Ditto.
6527
        * libc/stdio/freopen.c: Ditto.
6528
        * libc/stdio/vfprintf.c: Ditto.
6529
        * libc/stdio64/fopen64.c: Ditto.
6530
        * libc/stdlib/envlock.c: Add default stubs that use generic
6531
        locking code.
6532
        * libc/stdlib/mlock.c: Ditto.
6533
 
6534
        Jeff Johnston  
6535
        * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
6536
        (_flock_t): Change to be a struct containing a single member
6537
        named mutex which is of type __flock_mutex_t.
6538
 
6539
2004-06-09  Jeff Johnston  
6540
 
6541
        * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
6542
        from /usr/include/asm/signal.h instead of kernel sources.  Also
6543
        default max to 32 if not found in header file.
6544
        * libc/sys/linux/Makefile.in: Regenerated.
6545
        * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
6546
        systems where __syscall_return is not defined.
6547
        * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
6548
        systems to use syscall() function instead of assembler interrupt.
6549
 
6550
2004-06-09  Toralf Lund  
6551
 
6552
        * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
6553
        files from libc/sys/arm to libc/machine/arm.
6554
        * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
6555
        library build support for files moved from libc/sys/arm.
6556
        * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in:  Remove
6557
        references to access and setjmp.
6558
        * configure.host: Add checks for newlib_may_supply_syscalls to
6559
        determine whether or not to use sys/arm directory and use
6560
        special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
6561
 
6562
2004-06-02  Jeff Johnston  
6563
 
6564
        * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
6565
        reset digit flags appropriately after we have discovered "0x".
6566
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6567
 
6568
2004-05-27  Jeff Johnston  
6569
 
6570
        * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
6571
        from here ...
6572
        (_VFPRINTF_R): ... to here so all I/O printf routines
6573
        are covered.
6574
 
6575
2004-05-26  Jeff Johnston  
6576
 
6577
        * libc/search/hash_buf.c: Protect MAX and MIN macros from
6578
        redefinition.
6579
        * libc/search/hash.c: Ditto.
6580
 
6581
2004-05-25  Artem B. Bityuckiy  
6582
 
6583
        * newlib.hin: (_WANT_IO_POS_ARGS): New define.
6584
        (_WANT_IO_LONG_LONG): Ditto.
6585
        (_WANT_IO_LONG_DOUBLE): Ditto.
6586
        * configure.in: Add new configuration options
6587
        --enable-newlib-io-long-long and --enable-newlib-io-long-double
6588
        which tie to new defines in newlib.hin.
6589
        * configure: Regenerated.
6590
        * configure.host: Add checks for new configuration options.  Also
6591
        fix up check for --enable-newlib-io-pos-args so configuration
6592
        option will override any default for a given platform.
6593
        Remove defining compiler flags for the _WANT_IO* options.
6594
        * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
6595
        instead of looking for old compiler flags.
6596
        * libc/stdio/vfscanf.c: Ditto.
6597
        * libc/stdio/vfieeefp.h: Ditto.
6598
        * libc/machine/powerpc/vfprintf.c: Ditto.
6599
        * libc/machine/powerpc/vfscanf.c: Ditto.
6600
 
6601
2004-05-25  Jeff Johnston  
6602
 
6603
        * testsuite/include/check.h: Add include of .
6604
 
6605
2004-05-17  Corinna Vinschen  
6606
 
6607
        * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
6608
 
6609
2004-05-11  Artem B. Bityuckiy  
6610
 
6611
        * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
6612
        of free.
6613
 
6614
2004-05-07  Artem B. Bityuckiy  
6615
 
6616
        * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
6617
        list for reentrant pointer.  Call _vfiprintf_r.
6618
        * libc/stdio/siprintf.c (_siprintf_r): New function.
6619
        * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
6620
        pointer argument.  Change all callers.  Call _VFPRINTF_R.
6621
        * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
6622
        prototypes.
6623
 
6624
2004-05-07  Jeff Johnston  
6625
 
6626
        * libc/include/sys/param.h: Remove endian info and include
6627
         instead.
6628
        * libc/include/machine/endian.h: New file.
6629
        * libc/include/machine/param.h: Ditto.
6630
        * libc/machine/arm/machine/endian.h: Ditto.
6631
        * libc/machine/arm/machine/param.h: Ditto.
6632
        * libc/sys/arm/sys/param.h: Removed.
6633
        * libc/sys/sysvi386/sys/param.h: Ditto.
6634
        * libc/sys/rtems/sys/param.h: Modified to include .
6635
 
6636
2004-05-03  Artem B. Bityuckiy  
6637
 
6638
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
6639
        multibyte functions return failure for %C, %S, %lc, and %ls
6640
        format specifiers.
6641
 
6642
2004-05-03  Artem B. Bityuckiy  
6643
 
6644
        * testsuite/include/check.h (CHECK): Add flush of stdout.
6645
 
6646
2004-05-03  Artem B. Bityuckiy  
6647
 
6648
        * libc/include/stdio.h (_ungetc_r): New prototype.
6649
        * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
6650
        (__submore): Add reentrant struct pointer argument.
6651
        (ungetc): Change to call _ungetc_r.
6652
 
6653
2004-04-28  Artem B. Bityuckiy  
6654
 
6655
        * libc/stdio/local.h (_fwalk_reent): Specify prototype of
6656
        function pointer argument.
6657
        * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
6658
        to specify function pointer arguments.
6659
        (__fwalk, __fwalk_reent): Ditto.
6660
 
6661
2004-04-26  Aldy Hernandez  
6662
 
6663
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
6664
        CT_INT case.
6665
 
6666
2004-04-23  Artem B. Bityuckiy  
6667
 
6668
        * configure.in: Define _MB_CAPABLE if mb supported.
6669
        * configure: Regenerated.
6670
        * configure.host: Remove manual setting of MB_CAPABLE compiler
6671
        flag.
6672
        * newlib.hin: Add _MB_CAPABLE flag.
6673
        * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include 
6674
        and check for _MB_CAPABLE flag instead of MB_CAPABLE.
6675
        * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
6676
        * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
6677
        * libc/ctype/jp2uc.c: Ditto.
6678
        * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
6679
        * libc/locale/locale.c: Ditto
6680
        * libc/machine/powerpc/vfscanf.c: Ditto
6681
        * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
6682
        * libc/stdlib/mblen.c: Ditto
6683
        * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
6684
        * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
6685
        * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
6686
        * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
6687
        * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
6688
        * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
6689
        * libc/sys/linux/intl/explodename.c: Ditto
6690
        * libc/sys/linux/intl/finddomain.c: Ditto
6691
        * libc/sys/linux/intl/l10nflist.c: Ditto
6692
        * libc/sys/linux/intl/loadmsgcat.c: Ditto
6693
        * libc/sys/linux/intl/localealias.c: Ditto
6694
 
6695
2004-04-23  Jeff Johnston  
6696
 
6697
        * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
6698
        (__svfscanf_r): In integer conversions, leave out leading zeroes
6699
        which are not part of a base prefix.
6700
        Keep track of width truncation to fit into buf, not counting left-out
6701
        zeroes against width till the truncation has been compensated for.
6702
        This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
6703
 
6704
2004-04-23  Jeff Johnston  
6705
 
6706
        * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
6707
 
6708
2004-04-23  Artem B. Bityuckiy  
6709
 
6710
        * libc/stdio/asprintf.c libc/stdio/clearerr.c,
6711
        libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
6712
        libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
6713
        libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
6714
        libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
6715
        libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
6716
        libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
6717
        libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
6718
        libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
6719
        libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
6720
        libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
6721
        libc/stdio/getchar.c libc/stdio/getchar_u.c,
6722
        libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
6723
        libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
6724
        libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
6725
        libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
6726
        libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
6727
        libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
6728
        libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
6729
        libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
6730
        libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
6731
        libc/stdio/siprintf.c libc/stdio/snprintf.c,
6732
        libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
6733
        libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
6734
        libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
6735
        libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
6736
        libc/stdio/vprintf.c libc/stdio/vscanf.c,
6737
        libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
6738
        libc/stdio/vsscanf.c libc/stdio/wbuf.c,
6739
        libc/stdio/wsetup.c: Perform minor formatting changes.  Move
6740
        copyright notices to top of file, ensure that <_ansi.h> is
6741
        included, be consistent with open parentheses, use _DEFUN macro,
6742
        include "local.h" where needed, and remove various compiler
6743
        warnings.
6744
 
6745
2004-04-21  J"orn Rennecke 
6746
 
6747
        * libc/stdio/vfscanf.c (NNZDIGITS): New define.
6748
        (__svfscanf_r): In integer conversions, leave out leading zeroes
6749
        which are not part of a base prefix.
6750
        Keep track of width truncation to fit into buf, not counting left-out
6751
        zeroes against width till the truncation has been compensated for.
6752
 
6753
2004-04-20  Corinna Vinschen  
6754
 
6755
        * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
6756
 
6757
2004-04-20  Corinna Vinschen  
6758
 
6759
        * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
6760
 
6761
2004-04-10  Corinna Vinschen  
6762
 
6763
        * libc/include/sys/unistd.h (sync): Define void on Cygwin according
6764
        to SUSv3.
6765
 
6766
2004-04-08  Artem B. Bityuckiy  
6767
 
6768
        * libc/stdio/fclose.c (_fclose_r): New function.
6769
        * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
6770
        * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
6771
        * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
6772
        * libc/include/stdio.h (_fclose_r): New prototype.
6773
        * libc/stdio/fopen.c: Fix typo in comment.
6774
 
6775
2004-04-08  Jeff Johnston  
6776
 
6777
        * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
6778
        to handle _r reentrant functions.
6779
 
6780
2004-04-08  Eric Christopher  
6781
 
6782
        * libc/include/machine/setjmp.h: Fix endif locations.
6783
 
6784
2004-04-01  Artem B. Bityuckiy  
6785
 
6786
        * libc/time/strptime.c: Add standard includes to avoid
6787
        warning messages at compilation time.
6788
 
6789
2004-04-01  Jeff Johnston  
6790
 
6791
        * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
6792
        of file.
6793
 
6794
2004-03-30  Jeff Johnston  
6795
 
6796
        * libc/machine/h8300/Makefile.am: Reformat slightly.
6797
        * libc/machine/h8300/Makefile.in: Regenerate.
6798
 
6799
2004-03-30  Thomas Pfaff  
6800
 
6801
        * libc/stdio/findfp.c (__fp_lock_all): Add call to
6802
        __sfp_lock_acquire.
6803
        (__fp_unlock_all): Add call to __sfp_lock_release.
6804
 
6805
2004-03-25  Thomas Pfaff  
6806
 
6807
        * libc/stdio/fclose.c (fclose): Protect file pointer list when
6808
        releasing a file.
6809
         * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
6810
        fwalk.
6811
        * libc/stdio/fdopen.c (_fdopen_r): Add calls to
6812
        _flockfile/_funlockfile.
6813
        * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
6814
        to recursive.
6815
        Change __lock_acquire/__lock_release calls for __sfp_lock to
6816
        __sfp_lock_acquire/__sfp_lock_release throughout.
6817
        (std): Make sure that file lock is only initialized once.
6818
        (__sfp): Move _file initialization. Initialize file lock.
6819
        (__sfp_lock_acquire): New function.
6820
        (__sfp_lock_release): Ditto.
6821
        (__fp_lock_all): Remove __sfp_lock_acquire call.
6822
        (__fp_unlock_all): Remove __sfp_lock_release call.
6823
        * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
6824
        Add calls to _flockfile/_funlockfile. Remove
6825
        __lock_init_recursive call.
6826
        * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
6827
        * libc/stdio/fwalk.c (__fwalk): New static function.
6828
        (_fwalk): Protect file pointer list. Use __fwalk to walk through
6829
        file pointers.
6830
        * libc/stdio/local.h: Add defines for
6831
        __sfp_lock_acquire/__sfp_lock_release when
6832
        single threaded. Add function prototypes otherwise.
6833
        * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
6834
        _flockfile/_funlockfile.
6835
        * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
6836
        Add calls to _flockfile/_funlockfile. Remove
6837
         __lock_init_recursive call.
6838
        * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
6839
        list.
6840
 
6841
2004-03-25  Jeff Johnston  
6842
 
6843
        * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
6844
        defined.  Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
6845
        * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
6846
        to be __LOCK_INIT_RECURSIVE.
6847
 
6848
2004-03-11  Kazu Hirata  
6849
 
6850
        * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
6851
        _exit.c with _exit.S.
6852
        * libc/sys/h8300hms/Makefile.in: Regenerate.
6853
        * libc/sys/h8300hms/_exit.c: Remove.
6854
        * libc/sys/h8300hms/_exit.S: New.
6855
 
6856
2004-03-09  Thomas Pfaff  
6857
 
6858
        * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
6859
        Change __sfp_lock to static global.
6860
        (__fp_lock): New static function.
6861
        (__fp_unlock): Ditto.
6862
        (__fp_lock_all): New function.
6863
        (__fp_unlock_all): Ditto.
6864
 
6865
2004-02-10  Christopher Faylor  
6866
 
6867
        * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
6868
        * libm/mathfp/er_lgamma.c (lgamma): Ditto.
6869
        * libm/mathfp/erf_gamma.c (gammaf): Ditto.
6870
        * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
6871
 
6872
2004-02-09  Christopher Faylor  
6873
 
6874
        * libc/include/time.h (TIMER_RELTIME): New define.
6875
 
6876
2004-02-09  Jeff Johnston  
6877
 
6878
        * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
6879
        * libc/stdlib/Makefile.in: Regenerated.
6880
 
6881
2004-02-08  Christopher Faylor  
6882
 
6883
        * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
6884
        * libc/include/sys/reent.h (__getreent): Protect against possibly being
6885
        defined.
6886
        * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
6887
 
6888
2004-02-05  Paul Brook  
6889
 
6890
        * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
6891
        IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
6892
 
6893
2004-02-02  Jeff Johnston  
6894
 
6895
        * NEWS: Update with 1.12.0 info.
6896
        * README: Ditto.
6897
        * acinclude.m4: Change version number to 1.12.0.
6898
        * aclocal.m4: Regenerated.
6899
        * configure: Ditto.
6900
        * doc/aclocal.m4: Ditto.
6901
        * doc/configure: Ditto.
6902
        * libc/*/aclocal.m4: Ditto.
6903
        * libc/*/configure: Ditto.
6904
        * libc/libc.texinfo: Ditto.
6905
        * libm/*/aclocal.m4: Ditto.
6906
        * libm/*/configure: Ditto.
6907
        * libm/libm.texinfo: Ditto.
6908
        * libc/sys/linux/shared.ld: Add VERS_1.12.
6909
 
6910
2004-02-02  Joel Sherrill  
6911
 
6912
        * configure.host: Add support for tic4x.
6913
        * libc/include/machine/ieeefp.h: Ditto.
6914
        * libc/include/machine/setjmp.h: Ditto.
6915
        * libc/machine/tic4x/Makefile.am: New file.
6916
        * libc/machine/tic4x/configure.in: Ditto.
6917
        * libc/machine/tic4x/setjmp.S: Ditto.
6918
        * libc/machine/tic4x/aclocal.m4: Generated.
6919
        * libc/machine/tic4x/configure: Ditto.
6920
        * libc/machine/tic4x/Makefile.in: Ditto.
6921
 
6922
2004-01-30  Jeff Johnston  
6923
 
6924
        * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
6925
        file chain on the passed in reentrancy struct if it
6926
        is _GLOBAL_REENT.
6927
 
6928
2004-01-30  Artem B. Bityuckiy  
6929
            Jeff Johnston  
6930
 
6931
        * libc/iconv/iconv.tex: Updated with more information.
6932
 
6933
2004-01-30  Thomas Pfaff  
6934
            Jeff Johnston  
6935
 
6936
        * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
6937
        struct for std streams and traverse the global reeentrancy
6938
        struct for all other streams.
6939
 
6940
2004-01-27  Jeff Johnston  
6941
 
6942
        * libc/stdlib/atexit.c: Protect global atexit list with a
6943
        lock when newlib is multithreaded.
6944
 
6945
2004-01-27  Artem B. Bityuckiy  
6946
 
6947
        * configure.in: Add support to generate iconv converter flags
6948
        for newlib.h
6949
        * newlib.hin: Add iconv converter flags.
6950
        * configure: Regenerated.
6951
        * libc/Makefile.in: Ditto.
6952
        * libc/configure.in: Moved iconv converter parsing logic to
6953
        top level newlib configure.in.
6954
        * libc/configure: Regenerated.
6955
        * libc/iconv/Makefile.in: Ditto.
6956
        * libc/iconv/README.TODO
6957
        * libc/iconv/charset.aliases: Remove wrong BE aliases for
6958
        UCS2/UCS4/UTF8.
6959
        * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
6960
        newlib.h can be used.
6961
        * libc/iconv/ces/Makefile.am: Ditto.
6962
        * libc/iconv/lib/Makefile.am: Ditto.
6963
        * libc/iconv/ccs/Makefile.in: Regenerated.
6964
        * libc/iconv/ces/Makefile.in: Ditto.
6965
        * libc/iconv/lib/Makefile.in: Ditto.
6966
        * libc/iconv/ccs/README.CCS.SOURCES: Updated.
6967
        * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
6968
        * libc/iconv/ccs/big5.c: Switch to use new underscored flags
6969
        defined in newlib.h.
6970
        * libc/iconv/ccs/cns11643_plane1.c: Ditto.
6971
        * libc/iconv/ccs/cns11643_plane14.c: Ditto.
6972
        * libc/iconv/ccs/cns11643_plane2.c: Ditto.
6973
        * libc/iconv/ccs/cp775.c: Ditto.
6974
        * libc/iconv/ccs/cp850.c: Ditto.
6975
        * libc/iconv/ccs/cp852.c: Ditto.
6976
        * libc/iconv/ccs/cp855.c: Ditto.
6977
        * libc/iconv/ccs/cp866.c: Ditto.
6978
        * libc/iconv/ccs/gb_2312_80.c: Ditto.
6979
        * libc/iconv/ccs/iso_8859_1.c: Ditto.
6980
        * libc/iconv/ccs/iso_8859_15.c: Ditto.
6981
        * libc/iconv/ccs/iso_8859_2.c: Ditto.
6982
        * libc/iconv/ccs/iso_8859_4.c: Ditto.
6983
        * libc/iconv/ccs/iso_8859_5.c: Ditto.
6984
        * libc/iconv/ccs/jis_x0201.c: Ditto.
6985
        * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
6986
        * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
6987
        * libc/iconv/ccs/koi8_r.c: Ditto.
6988
        * libc/iconv/ccs/koi8_u.c: Ditto.
6989
        * libc/iconv/ccs/ksx1001.c: Ditto.
6990
        * libc/iconv/ccs/shift_jis.c: Ditto.
6991
        * libc/iconv/ccs/us_ascii.c: Ditto.
6992
        * libc/iconv/ccs/binary/big5.cct: Newly generated.
6993
        * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
6994
        * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
6995
        * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
6996
        * libc/iconv/ccs/binary/cp775.cct: Ditto.
6997
        * libc/iconv/ccs/binary/cp850.cct: Ditto.
6998
        * libc/iconv/ccs/binary/cp852.cct: Ditto.
6999
        * libc/iconv/ccs/binary/cp855.cct: Ditto.
7000
        * libc/iconv/ccs/binary/cp866.cct: Ditto.
7001
        * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
7002
        * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
7003
        * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
7004
        * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
7005
        * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
7006
        * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
7007
        * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
7008
        * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
7009
        * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
7010
        * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
7011
        * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
7012
        * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
7013
        * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
7014
        * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
7015
        * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
7016
        * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
7017
        * libc/iconv/ces/euc-kr.c: Ditto.
7018
        * libc/iconv/ces/euc-tw.c: Ditto.
7019
        * libc/iconv/ces/gb2312.c: Ditto.
7020
        * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
7021
        * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
7022
        * libc/iconv/ces/ucs-2-internal.c: Ditto.
7023
        * libc/iconv/ces/ucs-4-internal.c: Ditto.
7024
        * libc/iconv/ces/utf-16.c: Ditto.
7025
        * libc/iconv/ces/utf-8.c: Ditto.
7026
        * libc/iconv/lib/aliases.c: Ditto.
7027
        * libc/iconv/lib/biccs.c: Ditto.
7028
        * libc/iconv/lib/bices.c: Ditto.
7029
        * libc/iconv/lib/ccs.c: Ditto.
7030
        * libc/iconv/lib/ces.c: Ditto.
7031
        * libc/iconv/lib/ces_euc.c: Ditto.
7032
        * libc/iconv/lib/ces_iso2022.c: Ditto.
7033
        * libc/iconv/lib/ces_table.c: Ditto.
7034
        * libc/iconv/lib/converter.c: Ditto.
7035
        * libc/iconv/lib/deps.h: Ditto.
7036
        * libc/iconv/lib/endian.h: Ditto.
7037
        * libc/iconv/lib/iconv.c: Ditto.
7038
        * libc/iconv/lib/loaddata.c: Ditto.
7039
        * libc/iconv/lib/local.h: Include newlib.h.
7040
        * libc/argz/Makefile.in: Regenerated.
7041
        * libc/ctype/Makefile.in: Ditto.
7042
        * libc/errno/Makefile.in: Ditto.
7043
        * libc/iconv/ccs/binary/Makefile.in: Ditto.
7044
        * libc/locale/Makefile.in: Ditto.
7045
        * libc/misc/Makefile.in: Ditto.
7046
        * libc/posix/Makefile.in: Ditto.
7047
        * libc/reent/Makefile.in: Ditto.
7048
        * libc/search/Makefile.in: Ditto.
7049
        * libc/signal/Makefile.in: Ditto.
7050
        * libc/stdio/Makefile.in: Ditto.
7051
        * libc/stdio64/Makefile.in: Ditto.
7052
        * libc/stdlib/Makefile.in: Ditto.
7053
        * libc/string/Makefile.in: Ditto.
7054
        * libc/syscalls/Makefile.in: Ditto.
7055
        * libc/time/Makefile.in: Ditto.
7056
        * libc/unix/Makefile.in: Ditto.
7057
        * testsuite/newlib.iconv/iconv.exp: New file.
7058
        * testsuite/newlib.iconv/iconvjp.c: Ditto.
7059
        * testsuite/newlib.iconv/iconvnm.c: Ditto.
7060
        * testsuite/newlib.iconv/iconvru.c: Ditto.
7061
 
7062
2004-01-23  Artem B. Bityuckiy  
7063
 
7064
        * acinclude.m4 (--enable-newlib-iconv): New configuration option.
7065
        (--enable-newlib-builtin-converters): Ditto.
7066
        * configure.in: Add code to set _ICONV_ENABLED flag.
7067
        Set _MB_LEN_MAX to 1 if not mb enabled.
7068
        * configure: Regenerated.
7069
        * aclocal.m4: Ditto.
7070
        * Makefile.in: Ditto.
7071
        * newlib.hin: Add _ICONV_ENABLED flag.
7072
        * libc/Makefile.am: Add support for iconv.
7073
        * libc/configure.in: Ditto.
7074
        * libc/Makefile.in: Regenerated.
7075
        * libc/aclocal.m4: Ditto.
7076
        * libc/configure: Ditto.
7077
        * libc/libc.texinfo: Add iconv documentation.
7078
        * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
7079
        libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
7080
        libc/iconv/README.TODO, libc/iconv/charset.aliases,
7081
        libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
7082
        libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
7083
        libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
7084
        libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
7085
        libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
7086
        libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
7087
        libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
7088
        libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
7089
        libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
7090
        libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
7091
        libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
7092
        libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
7093
        libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
7094
        libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
7095
        libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
7096
        libc/iconv/ccs/binary/big5.cct,
7097
        libc/iconv/ccs/binary/cns11643_plane1.cct,
7098
        libc/iconv/ccs/binary/cns11643_plane14.cct,
7099
        libc/iconv/ccs/binary/cns11643_plane2.cct,
7100
        libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
7101
        libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
7102
        libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
7103
        libc/iconv/ccs/binary/iso_8859_1.cct,
7104
        libc/iconv/ccs/binary/iso_8859_15.cct,
7105
        libc/iconv/ccs/binary/iso_8859_2.cct,
7106
        libc/iconv/ccs/binary/iso_8859_4.cct,
7107
        libc/iconv/ccs/binary/iso_8859_5.cct,
7108
        libc/iconv/ccs/binary/jis_x0201.cct,
7109
        libc/iconv/ccs/binary/jis_x0208_1983.cct,
7110
        libc/iconv/ccs/binary/jis_x0212_1990.cct,
7111
        libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
7112
        libc/iconv/ccs/binary/ksx1001.cct,
7113
        libc/iconv/ccs/binary/shift_jis.cct,
7114
        libc/iconv/ccs/binary/us_ascii.cct,
7115
        libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
7116
        libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
7117
        libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
7118
        libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
7119
        libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
7120
        libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
7121
        libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
7122
        libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
7123
        libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
7124
        libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
7125
        libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
7126
        libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
7127
        libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
7128
        libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
7129
        libc/iconv/lib/local.h, libc/include/iconv.h: New files.
7130
        * libc/sys/linux/include/iconv.h: Ditto.
7131
        * libc/include/sys/_types.h (_iconv_t): Added.
7132
        * doc/aclocal.m4: Regenerated.
7133
        * doc/configure: Ditto.
7134
        * doc/Makefile.in: Ditto.
7135
        * iconvdata/Makefile.in: Ditto.
7136
        * iconvdata/aclocal.m4: Ditto.
7137
        * iconvdata/configure: Ditto.
7138
        * libc/*aclocal.m4: Ditto.
7139
        * libc/*Makefile.in: Ditto.
7140
        * libc/*configure: Ditto.
7141
        * libm/*aclocal.m4: Ditto.
7142
        * libm/*Makefile.in: Ditto.
7143
        * libm/*configure: Ditto.
7144
 
7145
2004-01-22  Thomas Pfaff  
7146
 
7147
        * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
7148
        by a lock when newlib is multithreaded.
7149
 
7150
2004-01-21  Jeff Johnston  
7151
 
7152
        * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
7153
        pointer to match C99 spec.
7154
        * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
7155
        dst is NULL.  Also fix to not alter src pointer when dst is NULL
7156
        and call _mbrtowc_r instead of _mbtowc_r.
7157
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
7158
        of _wctomb_r.
7159
 
7160
2004-01-19  Thomas Pfaff  
7161
 
7162
        * libc/stdio/fclose.c (fclose): Release FILE as the last step.
7163
        * libc/stdio/freopen.c (freopen): Ditto.
7164
 
7165
2004-01-16  Christopher Faylor  
7166
 
7167
        * libc/stdio/vfprintf.c: Add sys/lock.h include.
7168
 
7169
2004-01-16  Thomas Pfaff  
7170
 
7171
        * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
7172
        * libc/stdio/vfprintf.c (__sbprintf): Ditto.
7173
        Add calls to __lock_init_recursive and __lock_close_recursive
7174
        instead.
7175
 
7176
2004-01-15  Thomas Pfaff  
7177
 
7178
        * libc/stdio/fclose.c: Include sys/lock.h.
7179
        (fclose): Destroy lock when file is closed.
7180
        * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
7181
        member.
7182
        * libc/stdio/freopen.c: Include sys/lock.h.
7183
        (_freopen_r): Destroy lock when file is closed.
7184
        * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
7185
        _lock member.
7186
 
7187
2004-01-08  Joel Sherrill  
7188
 
7189
        * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
7190
        Remove warnings.
7191
 
7192
2004-01-08  Joel Sherrill  
7193
 
7194
        * libc/sys/rtems/sys/queue.h: New file.
7195
        * libc/include/sys/signal.h: Reflect renumbering of signals to
7196
        fit into 32-bit mask.
7197
        * libc/include/sys/unistd.h: Add fdatasync() prototype.
7198
        * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
7199
        required.  In particular, add the reentrant variants of libc calls.
7200
        * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
7201
 
7202
2004-01-06  Mark Mitchell  
7203
 
7204
        * libc/sys/arm/syscalls.c (unistd.h): Include it.
7205
        (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
7206
        Similarly for stdout and stderr.
7207
 
7208
2004-01-06  Jeff Johnston  
7209
 
7210
        * libc/libc.texinfo: Correct escape character for @ sign
7211
        so file will be processed by make info.  Update copyright years.
7212
        * libm/libm.texinfo: Ditto.
7213
 
7214
2003-12-05  Jeff Johnston  
7215
 
7216
        * libc/include/sys/stat.h: No longer include stat-dj.h.
7217
        * libc/include/sys/stat-dj.h: Removed.
7218
 
7219
2003-12-05  Jeff Johnston  
7220
 
7221
        * libc/include/wchar.h: Include .
7222
 
7223
2003-12-05  Christopher Faylor  
7224
 
7225
        * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
7226
        when defining _mbrtowc.
7227
        * libc/stdlib/mbsinit.c: Ditto.
7228
        * libc/stdlib/mbsrtowcs.c: Ditto.
7229
        * libc/stdlib/wcrtomb.c: Ditto.
7230
        * libc/stdlib/wcsrtombs.c: Ditto.
7231
        * libc/stdlib/wctob.c: Ditto.
7232
 
7233
2003-12-05  Christopher Faylor  
7234
 
7235
        * libc/stdlib/mbrlen.c: Change include order to prevent compiler
7236
        errors when defining _mbrtowc.
7237
        * libc/stdlib/mbsinit.c: Ditto.
7238
        * libc/stdlib/mbsrtowcs.c: Ditto.
7239
 
7240
2003-12-05  Christopher Faylor  
7241
 
7242
        * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
7243
        errors when defining _mbrtowc.
7244
 
7245
2003-12-04  Artem B. Bityuckiy  
7246
 
7247
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
7248
        of mb routines for %lc and %ls support.
7249
        * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
7250
        %ls, and %S support.  Remove CYGNUS_NEC markers and
7251
        code within.
7252
 
7253
2003-12-04  Jeff Johnston  
7254
 
7255
        * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
7256
        _wcrtomb_r, and _wcsrtombs_r.
7257
 
7258
2003-12-01  Corinna Vinschen  
7259
 
7260
        * libc/include/sys/fcntl.h: Don't define struct flock when on
7261
        Cygwin.  This is done in winsup/cygwin/include/cygwin/types.h now.
7262
 
7263
2003-11-28  Christopher Faylor  
7264
 
7265
        * libc/include/sys/signal.h: Use system specific signal file when
7266
        building on cygwin.
7267
 
7268
2003-11-27  Jeff Johnston  
7269
 
7270
        * libc/include/stdlib.h (_atoi_r): New prototype.
7271
        * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
7272
 
7273
2003-11-27  Jeff Johnston  
7274
 
7275
        * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
7276
        * libc/stdlib/atol.c (_atol_r): New reentrant function.
7277
        * libc/stdlib/atoll.c (_atoll_r): Ditto.
7278
 
7279
2003-11-27  Artem B. Bityuckiy  
7280
            Jeff Johnston  
7281
 
7282
        * libc/include/stdlib.h (lldiv_t): New type.
7283
        (atoll, llabs, lldiv): New prototypes.
7284
        * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
7285
        * libc/stdlib/stdlib.tex: Ditto.
7286
        * libc/stdlib/Makefile.in: Regenerated.
7287
        * libc/stdlib/atoll.c: New file.
7288
        * libc/stdlib/llabs.c: Ditto.
7289
        * libc/stdlib/lldiv.c: Ditto.
7290
 
7291
2003-11-26  Corinna Vinschen  
7292
 
7293
        * libc/include/fcntl.h: Declare syscalls only when building newlib.
7294
        * libc/include/unistd.h: Ditto.
7295
        * libc/include/stat.h: Ditto.  Also declare struct stat64.
7296
 
7297
2003-11-24  Artem B. Bityuckiy  
7298
 
7299
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
7300
        specifier to use ch instead of *fmt.
7301
 
7302
2003-11-21  Artem B. Bityuckiy  
7303
 
7304
        * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
7305
        code within checks for MB_CAPABLE.  For non-mb-capable platforms,
7306
        use simple byte logic.
7307
 
7308
2003-11-21  Jeff Johnston  
7309
 
7310
        * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
7311
        _strtold routine for processing floats and doubles since it
7312
        is not as fast as _strtod_r.
7313
 
7314
2003-11-20 Dhananjay Deshpande 
7315
 
7316
        * libc/machine/h8300/defines.h : Correct pointer register defines
7317
        for normal mode.
7318
        * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
7319
        for normal mode.
7320
        * libc/machine/h8300/reg_memcpy.S : Likewise.
7321
        * libc/machine/h8300/reg_memset.S : Likewise.
7322
        * libc/machine/h8300/strcmp.S : Likewise.
7323
 
7324
2003-11-19  Nicholas Wourms  
7325
 
7326
        * configure.host: Enable positional arguments for printf
7327
        family for Cygwin.
7328
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
7329
        pointer reference for quad_ptr_t.
7330
 
7331
2003-11-19  Jeff Johnston  
7332
 
7333
        * libc/stdio/scanf.c: Don't include local.h more than once.
7334
 
7335
2003-11-18  Corinna Vinschen  
7336
 
7337
        * libc/include/sys/fcntl.h: Declare _open64.
7338
        * libc/include/sys/stat.h: Declare _fstat64.
7339
        * libc/include/sys/unistd.h: Declare _lseek64.
7340
 
7341
2003-11-17  Corinna Vinschen  
7342
 
7343
        * libc/include/stdlib.h (getprogname): Declare for Cygwin.
7344
        (setprogname): Ditto.
7345
 
7346
2003-11-10  Jeff Johnston  
7347
 
7348
        * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
7349
        to use (Ebits + 1) which accounts for the sign-bit.
7350
 
7351
2003-11-07  Jeff Johnston  
7352
 
7353
        * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
7354
        x86 build.
7355
        * iconvdata/Makefile.am: Make dependent on newlib's configure.host
7356
        and set up default flags to pass to aclocal.
7357
        * iconvdata/Makefile.in: Regenerated.
7358
        * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
7359
        and getpwuid routines.
7360
        * libc/sys/linux/Makefile.in: Regenerated.
7361
        * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
7362
        applications to link with newlib's shared libc library.
7363
        * libc/sys/linux/getpwnam.c: Ditto.
7364
        * libc/sys/linux/getpwuid.c: Ditto.
7365
        * libc/sys/linux/sys/types.h: Include  and supply types
7366
        that were formerly supplied by /usr/include/linux/types.h with
7367
        kernel types.
7368
        * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
7369
        test _ELIX_LEVEL macro.
7370
 
7371
2003-11-07  Jeff Johnston  
7372
 
7373
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
7374
        referring to _NO_LONGLONG macro.
7375
 
7376
2003-11-06  Jeff Johnston  
7377
 
7378
        * libc/sys/linux/linuxthreads/td_init.c: Replace function name
7379
        in LOG() macro so this will compile on gcc 3.4 and up.
7380
        * libc/sys/linux/linuxthreads/td_log.c: Ditto.
7381
        * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
7382
        * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
7383
        * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
7384
        * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
7385
        * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
7386
        * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
7387
        * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
7388
        * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
7389
        * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
7390
        * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
7391
        * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
7392
        * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
7393
        * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
7394
        * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
7395
        * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
7396
        * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
7397
        * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
7398
        * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
7399
        * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
7400
        * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
7401
        * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
7402
        * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
7403
        * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
7404
        * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
7405
        * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
7406
        * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
7407
        * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
7408
        * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
7409
        * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
7410
        * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
7411
        * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
7412
        * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
7413
        * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
7414
        * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
7415
        * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
7416
 
7417
2003-11-05  Jeff Johnston  
7418
            Artem B. Bityuckiy  
7419
 
7420
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
7421
        %ls, %S, %lc, and %C format specifiers.
7422
        (get_arg): Ditto.
7423
        * libc/stdio/sprintf.c: Add documentation regarding new
7424
        format specifiers added in vfprintf.c.
7425
 
7426
2003-11-05  Jeff Johnston  
7427
 
7428
        * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
7429
        to make code work as specified in standard.
7430
 
7431
2003-10-23  Jeff Johnston  
7432
 
7433
        * configure.in: Use absolute newlib basedir when forming
7434
        CC_FOR_NEWLIB include options.
7435
        * configure: Regenerated.
7436
 
7437
2003-10-23  Artem B. Bityuckiy  
7438
 
7439
        * libc/string/wcsnlen.c: New file.
7440
        * libc/include/wchar.h: Add wcsnlen prototype.
7441
        * libc/string/Makefile.am: Add wcsnlen support.
7442
        * libc/string/Makefile.in: Regenerated.
7443
        * libc/string/wcstrings.tex: Add wcsnlen documentation.
7444
 
7445
2003-10-22  Richard Sandiford  
7446
 
7447
        * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
7448
 
7449
2003-10-20  Bob Wilson  
7450
 
7451
        * libc/locale/locale.c: Use double quotes in code.
7452
        * libc/locale/locale.tex: Likewise.
7453
        * libc/libc.texinfo: Hyphenate "floating-point".
7454
        * libc/machine/necv70/necv70.tex: Likewise.
7455
        * libc/stdio/sprintf.c: Likewise.
7456
        * libc/stdio/sscanf.c: Likewise.
7457
        * libc/stdlib/atof.c: Likewise.
7458
        * libc/stdlib/ldtoa.c: Fix comment typo.
7459
        * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
7460
        * libc/stdlib/ldiv.c: Likewise.
7461
        * libm/common/s_expm1.c: Likewise.
7462
        * libm/common/s_ilogb.c: Hyphenate "floating-point".  Use "nonzero".
7463
        * libm/common/s_infinity: Hyphenate "double- and single-precision".
7464
        * libm/common/s_nan.c: Likewise.  Also correct the FUNCTION summary.
7465
        * libm/common/s_nextafter.c: Fix typo.  Hyphenate "double-precision"
7466
        and "floating-point".
7467
        * libm/common/s_scalbn.c: Correct the FUNCTION summary.
7468
        * libm/math/e_pow.c: Fix comment typo.
7469
        * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
7470
        * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
7471
        * libm/math/s_atan.c: Likewise.
7472
        * libm/math/s_frexp.c: Likewise.  Also use "nonzero".
7473
        * libm/math/s_isnan.c: Hyphenate "single-precision" and
7474
        "floating-point".  Use "nonzero".
7475
        * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
7476
        * libm/math/w_acos.c: Likewise.
7477
        * libm/math/w_acosh.c: Likewise.
7478
        * libm/math/w_asin.c: Likewise.
7479
        * libm/math/w_atan2.c: Likewise.
7480
        * libm/math/w_atanh.c: Likewise.
7481
        * libm/math/w_cosh.c: Likewise.
7482
        * libm/math/w_exp.c: Likewise.
7483
        * libm/math/w_exp2.c: Likewise.  Add missing @end and missing @tex
7484
        version of 2^x in the description.
7485
        * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
7486
        * libm/math/w_gamma.c: Likewise.
7487
        * libm/math/w_hypot.c: Likewise.
7488
        * libm/math/w_j0.c: Likewise.
7489
        * libm/math/w_sinh.c: Likewise.
7490
        * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
7491
        * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
7492
        "floating-point".
7493
        * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
7494
        * libm/mathfp/e_atanh.c: Likewise.
7495
        * libm/mathfp/e_hypot.c: Likewise.
7496
        * libm/mathfp/er_lgamma.c: Likewise.
7497
        * libm/mathfp/s_acos.c: Likewise.
7498
        * libm/mathfp/s_asine.c: Likewise.
7499
        * libm/mathfp/s_asinh.c: Likewise.
7500
        * libm/mathfp/s_atan.c: Likewise.
7501
        * libm/mathfp/s_atan2.c: Likewise.
7502
        * libm/mathfp/s_atangent.c: Likewise.
7503
        * libm/mathfp/s_cosh.c: Likewise.
7504
        * libm/mathfp/s_exp.c: Likewise.
7505
        * libm/mathfp/s_fmod.c: Likewise.
7506
        * libm/mathfp/s_frexp.c: Likewise.  Also use "nonzero".
7507
        * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
7508
        "floating-point".  Use "nonzero".
7509
        * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
7510
        * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
7511
        * libm/mathfp/s_sineh.c: Likewise.
7512
        * libm/mathfp/w_jn.c: Likewise.
7513
 
7514
2003-10-15  Alexandre Oliva  
7515
 
7516
        * Makefile.am: Add $(MAKE) comments to multido and multiclean
7517
        lines, to enable parallel make.
7518
        * Makefile.in: Rebuilt.
7519
 
7520
2003-10-14  Christopher Faylor  
7521
 
7522
        * libc/time/clock.c: Clarify documentation of return value when no
7523
        measurement is available.
7524
 
7525
2003-09-29  Ian Lance Taylor  
7526
 
7527
        * libm/configure.in: Check libm_machine_dir, not machine_dir.
7528
        * libm/configure: Regenerate.
7529
        * libm/Makefile.in: Ditto.
7530
 
7531
2003-09-29  J"orn Rennecke 
7532
 
7533
        * libc/machine/sh/strncpy.S: New file.
7534
        * libc/machine/sh/Makefile.am: Add entry & rule for new file.
7535
        * libc/machine/sh/Makefile.in: Regenerate.
7536
 
7537
2003-09-11  James E Wilson  
7538
 
7539
        * MAINTAINERS: Update my e-mail address.
7540
 
7541
2003-09-10  Corinna Vinschen  
7542
 
7543
        * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
7544
 
7545
2003-09-09  Jeff Johnston  
7546
 
7547
        * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
7548
        prototype.
7549
        * libc/machine/powerpc/simdldtoa.c: Remove prototype for
7550
        _simdldcheck().  Also add unsigned cast for index variable in
7551
        for loop using sizeof operators.
7552
        * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
7553
        * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
7554
        * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
7555
        plus fix shift calculation for determining if there is a
7556
        carry from word2.
7557
 
7558
2003-09-09  Corinna Vinschen  
7559
 
7560
        * libc/include/grp.h: Don't define setgrfile, group_from_gid and
7561
        setgroupent for Cygwin.
7562
 
7563
2003-09-05  Jeff Johnston  
7564
 
7565
        * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
7566
        is different for _REENT_SMALL than when using regular reent
7567
        struct.
7568
 
7569
2003-09-05  Ben Elliston  
7570
 
7571
        * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
7572
        modern versions of GCC issue a warning.
7573
 
7574
        * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
7575
        after continuation characters that induces a warning from modern
7576
        versions of GCC.
7577
 
7578
2003-09-04  Ben Elliston  
7579
 
7580
        * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards.  #ifndef FOO ||
7581
        FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
7582
 
7583
2003-09-02  Thomas Pfaff  
7584
 
7585
        * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
7586
        * libc/stdlib/exit.c : Ditto.
7587
        * libc/stdlib/on_exit.c: Ditto.
7588
 
7589
2003-08-27  Corinna Vinschen  
7590
 
7591
        * libc/include/reent.h: Define stat64 as __stat64 when
7592
        compiling newlib for Cygwin.
7593
 
7594
2003-08-26  Jeff Johnston  
7595
 
7596
        * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
7597
        __stat64 when compiling newlib.
7598
 
7599
2003-08-26  Jeff Johnston  
7600
 
7601
        * libc/include/stdio.h: Allow the io64 function prototypes for
7602
        Cygwin when compiling newlib.
7603
        * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
7604
        to expose the Cygwin struct __stat64 type.
7605
        * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
7606
        pointer.
7607
        * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
7608
 
7609
2003-08-23  Christopher Faylor  
7610
 
7611
        * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
7612
        definition to fseeko64.
7613
 
7614
2003-08-22  Jeff Johnston  
7615
 
7616
        * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
7617
        * libc/stdio: Globally remove/replace all references to fp->_data.
7618
        Replace with _REENT or _GLOBAL_REENT where appropriate.
7619
        * libc/stdio/asprintf.c: Ditto.
7620
        * libc/stdio/fclose.c: Ditto.
7621
        * libc/stdio/fvwrite.c: Ditto.
7622
        * libc/stdio/makebuf.c: Ditto.
7623
        * libc/stdio/refill.c: Ditto.
7624
        * libc/stdio/local.h: Ditto.
7625
        * libc/stdio/setvbuf.c: Ditto.
7626
        * libc/stdio/sscanf.c: Ditto.
7627
        * libc/stdio/stdio.c: Ditto.
7628
        * libc/stdio/ungetc.c: Ditto.
7629
        * libc/stdio/vfscanf.c: Ditto.
7630
        * libc/stdio/vsscanf.c: Ditto.
7631
        * libc/stdio/fopen.c: Ditto.  Also use _fseek_r in _fopen_r.
7632
        * libc/stdio/vasprintf.c: Ditto.  Also call _vfprintf_r directly.
7633
        * libc/stdio/vsnprintf.c: Ditto.
7634
        * libc/stdio/vsprintf.c: Ditto.
7635
        * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
7636
        instead of _REENT to walk file list.
7637
        * libc/stdio/fflush.c: Ditto.
7638
        * libc/stdio/fgetpos.c: Add reentrant version and have regular
7639
        version call reentrant version with _REENT argument.
7640
        * libc/stdio/fsetpos.c: Ditto.
7641
        * libc/stdio/fseek.c: Ditto.
7642
        * libc/stdio/fseeko.c: Ditto.
7643
        * libc/stdio/ftell.c: Ditto.
7644
        * libc/stdio/ftello.c: Ditto.
7645
        * libc/stdio/freopen.c: Ditto.
7646
        * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
7647
        new files to chain.  Also use _GLOBAL_REENT pointer for
7648
        cleaning up.
7649
        * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
7650
        * libc/stdio/siprintf.c: Ditto.
7651
        * libc/stdio/iprintf.c: Ditto.
7652
        * libc/stdio/fprintf.c: Ditto.
7653
        * libc/stdio/printf.c: Ditto.
7654
        * libc/stdio/snprintf.c: Call _vfprintf_r directly.
7655
        * libc/stdio/sprintf.c: Ditto.
7656
        * libc/stdio/vprintf.c: Ditto.  Also add _REENT_ONLY check.
7657
        * libc/stdio/rewind.c: Call _fseek_r directly.
7658
        * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
7659
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
7660
        data pointer.
7661
        (get_arg): Add extra struct _reent pointer argument.
7662
        * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
7663
        to fp->_data.
7664
        * libc/stdio64/fopen64.c: Ditto.
7665
        * libc/stdio64/freopen64.c: Ditto.
7666
        * libc/stdio64/fsetpos64.c: Ditto.
7667
        * libc/stdio64/ftello64.c: Ditto.
7668
        * libc/stdio64/local64.h: Ditto.
7669
        * libc/stdio64/stdio64.c: Ditto.
7670
        * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
7671
        _fstat64_r for the meantime.
7672
 
7673
2003-08-19  Jeff Johnston  
7674
 
7675
        * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
7676
        overflow detection.
7677
 
7678
2003-08-13  Aldy Hernandez  
7679
 
7680
        * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
7681
        extern "C".
7682
 
7683
2003-08-13  Jeff Johnston  
7684
 
7685
        * libc/include/math.h: Add prototypes for __signbitf and
7686
        __signbitd.
7687
 
7688
2003-07-31  Jeff Johnston  
7689
 
7690
        * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
7691
        correct type of conversion when dealing with EUCJP or SJIS.
7692
        * libc/ctype/iswblank.c: Ditto.
7693
        * libc/ctype/iswcntrl.c: Ditto.
7694
        * libc/ctype/iswprint.c: Ditto.
7695
        * libc/ctype/iswpunct.c: Ditto.
7696
        * libc/ctype/iswspace.c: Ditto.
7697
        * libc/ctype/towlower.c: Ditto.
7698
        * libc/ctype/towupper.c: Ditto.
7699
 
7700
2003-07-31  Nick Clifton  
7701
 
7702
        * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
7703
        before calling main, in case it saves its argument registers.
7704
        Remove reference to deleted v850ea port.
7705
        * configure.host: Remove reference to deleted v850ea port.
7706
        Do not use -mv850 when building for v850e target.  This
7707
        prevents the ctbp system register from being initialised.
7708
 
7709
2003-07-29  Honda Hiroki  
7710
 
7711
        * libc/stdio/vfprintf.c: Set output size to 1 when
7712
        we have %f format with precision 0 and # flag not specified.
7713
 
7714
2003-07-29  Alexandre Oliva  
7715
 
7716
        * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
7717
        .am33_2.
7718
 
7719
2003-07-25  Christopher Faylor  
7720
 
7721
        * libc/stdio64/fdopen64.c: Include sys/lock.h.
7722
 
7723
2003-07-25  Christopher Faylor  
7724
 
7725
        * configure.host: Find cygwin include directory, when appropriate.
7726
 
7727
2003-07-24  Christopher Faylor  
7728
 
7729
        * libc/stdio64/fdopen64.c: New file.
7730
        * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
7731
        * libc/stdio64/Makefile.in: Regenerate.
7732
        * libc/include/stdio.h (fdopen64): Define.
7733
        * libc/include/stdio.h (_fdopen64_r): Ditto.
7734
 
7735
2003-07-10  Alexandre Oliva  
7736
 
7737
        2000-04-27  Alexandre Oliva  
7738
        * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
7739
        * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
7740
        restore callee-saved FP registers.
7741
 
7742
2003-07-10  J"orn Rennecke 
7743
 
7744
        * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
7745
        for __sh__.
7746
        * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
7747
        truncate.c.
7748
        * libc/sys/sh/Makefile.in: Regenerate.
7749
        * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
7750
        * libc/sys/sh/ftruncate.c: New file.
7751
        * libc/sys/sh/truncate.c: Likewise.
7752
 
7753
2003-07-09  Alexandre Oliva  
7754
 
7755
        * libc/include/math.h (nan, nanf): Update prototype to C99.
7756
        * libm/common/s_nan.c (nan): Likewise.
7757
        * libm/common/s_nanf.c (nanf, nan): Likewise.
7758
        * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
7759
 
7760
2003-07-07  Jeff Johnston  
7761
 
7762
        * libc/include/stdbool.h: Removed as this is defined by gcc.
7763
 
7764
2003-07-03  Shaun Jackman  
7765
 
7766
        * libc/include/stdbool.h: New header file defined by C99.
7767
 
7768
2003-07-02  Jeff Johnston  
7769
 
7770
        * libc/include/sys/types.h (int8_t): Make signed.
7771
 
7772
2003-07-02  Jeff Johnston  
7773
 
7774
        * libc/sys/linux/include/mqueue.h: Add include of .
7775
 
7776
2003-06-27  Jose Goncalves  
7777
 
7778
        * libc/sys/linux/mq_open.c (mq_open): Only set created flag
7779
        on if we actually created the shared memory file exclusively.
7780
 
7781
2003-06-27  Joe Vornehm  
7782
 
7783
        * libm/common/s_fpclassify.c (__fpclassifyf): Fix
7784
        comparisons to account for unsigned internal value w.
7785
 
7786
2003-06-26  Jeff Johnston  
7787
 
7788
        * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
7789
        wrbuf for a non-creating open.
7790
 
7791
2003-06-24  Kazu Hirata  
7792
 
7793
        * libc/machine/h8300/setarch.h: New.
7794
        * libc/machine/h8300/memcpy.S: Use it.
7795
        * libc/machine/h8300/memset.S: Likewise.
7796
        * libc/machine/h8300/reg_memcpy.S: Likewise.
7797
        * libc/machine/h8300/reg_memset.S: Likewise.
7798
        * libc/machine/h8300/setjmp.S: Likewise.
7799
        * libc/machine/h8300/strcmp.S: Likewise.
7800
 
7801
2003-06-24  Richard Sandiford  
7802
 
7803
        * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
7804
        to atexit().
7805
 
7806
2003-06-20  Jeff Johnston  
7807
 
7808
        * configure.host (iq2000): Add tabs.
7809
 
7810
2003-06-20  Jeff Johnston  
7811
 
7812
        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
7813
        to handle latest on_exit change.
7814
        * libc/sys/linux/Makefile.am: Remove special compilation
7815
        for malloc.c and mcheck.c.
7816
        * libc/sys/linux/Makefile.in: Regenerated.
7817
        * libc/sys/linux/mntent.c: Add definition of _LIBC flag
7818
        after including .
7819
        * libc/sys/linux/mcheck.c: Ditto.
7820
        * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
7821
        for .
7822
        * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
7823
        add -DNOT_IN_libc to C flags.
7824
        * libc/sys/linux/intl/Makefile.in: Regenerated.
7825
        * libc/sys/linux/intl/config.h: Add definition of _LIBC.
7826
        * libc/sys/linux/linuxthreads/semaphore.h: Include
7827
        .
7828
        * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
7829
        including .
7830
        * libc/sys/linux/sys/lock.h: Ditto.
7831
 
7832
2003-06-11  Nick Clifton  
7833
 
7834
        * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
7835
        _on_exit_args_ptr.
7836
 
7837
2003-06-10  Stan Cox  
7838
            Anthony Green  
7839
 
7840
        * configure.host: Add iq2000 support.
7841
        * newlib/libc/include/machine/ieeefp.h: Ditto.
7842
        * newlib/libc/include/machine/setjmp.h: Ditto.
7843
        * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
7844
        libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
7845
        libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
7846
        libc/machine/iq2000/Makefile.in: New files.
7847
 
7848
2003-06-10  Richard Sandiford  
7849
 
7850
        * libc/sys/h8300hms/setarch.h: New file.
7851
        * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
7852
        libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
7853
        libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
7854
        libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
7855
 
7856
2003-06-06  Jeff Johnston  
7857
 
7858
        * libc/argz/argz_add.c: Change to use _DEFUN macro for function
7859
        definition.
7860
        * libc/argz/argz_add_sep.c: Ditto.
7861
        * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
7862
        * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
7863
        * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
7864
        * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
7865
        * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
7866
        * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
7867
        * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
7868
        * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
7869
        * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
7870
        * libc/posix/closedir.c libc/posix/creat.c: Ditto.
7871
        * libc/posix/execl.c libc/posix/execle.c: Ditto.
7872
        * libc/posix/execlp.c libc/posix/execve.c: Ditto.
7873
        * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
7874
        * libc/posix/popen.c libc/posix/readdir.c: Ditto.
7875
        * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
7876
        * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
7877
        * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
7878
        * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
7879
        * libc/search/tfind.c libc/search/tsearch.c: Ditto.
7880
        * libc/search/twalk.c libc/signal/signal.c: Ditto.
7881
 
7882
2003-06-05  Nick Clifton  
7883
 
7884
        * libc/include/sys/reent.h (struct _on_exit_args): New
7885
        structure containing fields used by the on_exit() function.
7886
        (struct _atexit): Include struct _on_exit_args.  For
7887
        _REENT_SMALL do his via a pointer that is initialised when
7888
        needed.
7889
        * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
7890
        structure, if one has been allocated.
7891
        * libc/stdlib/atexit.c (atexit): Update indirection to
7892
        _fntypes field.
7893
        * libc/stdlib/on_exit.c (on_exit): Indirect via the
7894
        _on_exit_args structure.  For _REENT_SMALL, allocate a
7895
        structure if one does not exist.
7896
        * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
7897
        structure.
7898
 
7899
2003-06-04  Jeff Johnston  
7900
 
7901
        * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
7902
        * libc/sys/linux/net/Makefile.in: Regenerated.
7903
 
7904
2003-06-03  Jeff Johnston  
7905
 
7906
        * libc/reent/execr.c: Use _DEFUN macro for function declaration.
7907
        * libc/reent/fcntlr.c: Ditto.
7908
        * libc/reent/fstat64r.c: Ditto.
7909
        * libc/reent/linkr.c: Ditto.
7910
        * libc/reent/lseek64r.c: Ditto.
7911
        * libc/reent/lseekr.c: Ditto.
7912
        * libc/reent/openr.c: Ditto.
7913
        * libc/reent/readr.c: Ditto.
7914
        * libc/reent/reent.c: Ditto.
7915
        * libc/reent/sbrkr.c: Ditto.
7916
        * libc/reent/signalr.c: Ditto.
7917
        * libc/reent/signgam.c: Ditto.
7918
        * libc/reent/statr.c: Ditto.
7919
        * libc/reent/timer.c: Ditto.
7920
        * libc/reent/unlinkr.c: Ditto.
7921
        * libc/reent/writer.c: Ditto.
7922
        * libc/syscalls/sysclose.c: Ditto.
7923
        * libc/syscalls/sysexecve.c: Ditto.
7924
        * libc/syscalls/sysfcntl.c: Ditto.
7925
        * libc/syscalls/sysfork.c: Ditto.
7926
        * libc/syscalls/sysfstat.c: Ditto.
7927
        * libc/syscalls/sysgetpid.c: Ditto.
7928
        * libc/syscalls/sysgettod.c: Ditto.
7929
        * libc/syscalls/syskill.c: Ditto.
7930
        * libc/syscalls/syslink.c: Ditto.
7931
        * libc/syscalls/syslseek.c: Ditto.
7932
        * libc/syscalls/sysopen.c: Ditto.
7933
        * libc/syscalls/sysread.c: Ditto.
7934
        * libc/syscalls/syssbrk.c: Ditto.
7935
        * libc/syscalls/sysstat.c: Ditto.
7936
        * libc/syscalls/systimes.c: Ditto.
7937
        * libc/syscalls/sysunlink.c: Ditto.
7938
        * libc/syscalls/syswait.c: Ditto.
7939
        * libc/syscalls/syswrite.c: Ditto.
7940
 
7941
2003-06-03  Till Straumann  
7942
 
7943
        * libc/time/tzset_r.c: Change local variables that are
7944
        set via sscanf using the %h format specifier to be unsigned short
7945
        instead of int.
7946
 
7947
2003-05-30  Kelley Cook  
7948
 
7949
        * configure.host:  Allow i[34567]86 variant.
7950
        * configure.in: Likewise.
7951
        * README: Likewise to the docs.
7952
        * configure: Regenerated.
7953
        * Makefile.in: Ditto.
7954
 
7955
2003-05-28  Jeff Johnston  
7956
            Tom Fitzsimmons  
7957
 
7958
        * configure.in: Add iconvdata support for x86 linux.
7959
        * configure: Regenerated.
7960
        * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
7961
        library, iconv, and linuxthreads support.
7962
        * libc/sys/linux/configure.in: Ditto.
7963
        * libc/sys/linux/Makefile.in: Regenerated.
7964
        * libc/sys/linux/configure: Ditto.
7965
        * iconvdata/EUC-JP.irreversible: New file.
7966
        * iconvdata/Makefile.am: Ditto.
7967
        * iconvdata/Makefile.in: Ditto.
7968
        * iconvdata/SJIS.irreversible: Ditto.
7969
        * iconvdata/aclocal.m4: Ditto.
7970
        * iconvdata/configure: Ditto.
7971
        * iconvdata/configure.in: Ditto.
7972
        * iconvdata/dummy.c: Ditto.
7973
        * iconvdata/euc-jp.c: Ditto.
7974
        * iconvdata/gconv-modules: Ditto.
7975
        * iconvdata/jis0201.c: Ditto.
7976
        * iconvdata/jis0201.h: Ditto.
7977
        * iconvdata/jis0208.c: Ditto.
7978
        * iconvdata/jis0208.h: Ditto.
7979
        * iconvdata/jis0212.c: Ditto.
7980
        * iconvdata/jis0212.h: Ditto.
7981
        * iconvdata/sjis.c: Ditto.
7982
        * libc/include/errno.h: Protect definition of error_t.
7983
        * libc/sys/linux/gethostid.c: New file.
7984
        * libc/sys/linux/sethostid.c: Ditto.
7985
        * libc/sys/linux/dl/Makefile.am: Ditto.
7986
        * libc/sys/linux/dl/Makefile.in: Ditto.
7987
        * libc/sys/linux/dl/abi-tag.h: Ditto.
7988
        * libc/sys/linux/dl/atomicity.h: Ditto.
7989
        * libc/sys/linux/dl/dl-addr.c: Ditto.
7990
        * libc/sys/linux/dl/dl-cache.c: Ditto.
7991
        * libc/sys/linux/dl/dl-cache.h: Ditto.
7992
        * libc/sys/linux/dl/dl-close.c: Ditto.
7993
        * libc/sys/linux/dl/dl-debug.c: Ditto.
7994
        * libc/sys/linux/dl/dl-deps.c: Ditto.
7995
        * libc/sys/linux/dl/dl-dst.h: Ditto.
7996
        * libc/sys/linux/dl/dl-error.c: Ditto.
7997
        * libc/sys/linux/dl/dl-fini.c: Ditto.
7998
        * libc/sys/linux/dl/dl-init.c: Ditto.
7999
        * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
8000
        * libc/sys/linux/dl/dl-libc.c: Ditto.
8001
        * libc/sys/linux/dl/dl-librecon.h: Ditto.
8002
        * libc/sys/linux/dl/dl-load.c: Ditto.
8003
        * libc/sys/linux/dl/dl-lookup.c: Ditto.
8004
        * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
8005
        * libc/sys/linux/dl/dl-minimal.c: Ditto.
8006
        * libc/sys/linux/dl/dl-misc.c: Ditto.
8007
        * libc/sys/linux/dl/dl-object.c: Ditto.
8008
        * libc/sys/linux/dl/dl-open.c: Ditto.
8009
        * libc/sys/linux/dl/dl-osinfo.h: Ditto.
8010
        * libc/sys/linux/dl/dl-profile.c: Ditto.
8011
        * libc/sys/linux/dl/dl-profstub.c: Ditto.
8012
        * libc/sys/linux/dl/dl-reloc.c: Ditto.
8013
        * libc/sys/linux/dl/dl-runtime.c: Ditto.
8014
        * libc/sys/linux/dl/dl-support.c: Ditto.
8015
        * libc/sys/linux/dl/dl-sym.c: Ditto.
8016
        * libc/sys/linux/dl/dl-version.c: Ditto.
8017
        * libc/sys/linux/dl/dlfcn.h: Ditto.
8018
        * libc/sys/linux/dl/do-lookup.h: Ditto.
8019
        * libc/sys/linux/dl/do-rel.h: Ditto.
8020
        * libc/sys/linux/dl/dynamic-link.h: Ditto.
8021
        * libc/sys/linux/dl/kernel-features.h: Ditto.
8022
        * libc/sys/linux/dl/ldsodefs.h: Ditto.
8023
        * libc/sys/linux/dl/libintl.h: Ditto.
8024
        * libc/sys/linux/dl/trusted-dirs.h: Ditto.
8025
        * libc/sys/linux/dl/unsecvars.h: Ditto.
8026
        * libc/sys/linux/iconv/Makefile.am: Ditto.
8027
        * libc/sys/linux/iconv/Makefile.in: Ditto.
8028
        * libc/sys/linux/iconv/categories.def: Ditto.
8029
        * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
8030
        * libc/sys/linux/iconv/gconv.c: Ditto.
8031
        * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
8032
        * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
8033
        * libc/sys/linux/iconv/gconv_cache.c: Ditto.
8034
        * libc/sys/linux/iconv/gconv_charset.h: Ditto.
8035
        * libc/sys/linux/iconv/gconv_close.c: Ditto.
8036
        * libc/sys/linux/iconv/gconv_conf.c: Ditto.
8037
        * libc/sys/linux/iconv/gconv_db.c: Ditto.
8038
        * libc/sys/linux/iconv/gconv_dl.c: Ditto.
8039
        * libc/sys/linux/iconv/gconv_int.h: Ditto.
8040
        * libc/sys/linux/iconv/gconv_open.c: Ditto.
8041
        * libc/sys/linux/iconv/gconv_simple.c: Ditto.
8042
        * libc/sys/linux/iconv/gconv_trans.c: Ditto.
8043
        * libc/sys/linux/iconv/hash-string.h: Ditto.
8044
        * libc/sys/linux/iconv/iconv.c: Ditto.
8045
        * libc/sys/linux/iconv/iconv.h: Ditto.
8046
        * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
8047
        * libc/sys/linux/iconv/iconv_close.c: Ditto.
8048
        * libc/sys/linux/iconv/iconv_open.c: Ditto.
8049
        * libc/sys/linux/iconv/iconvconfig.c: Ditto.
8050
        * libc/sys/linux/iconv/iconvconfig.h: Ditto.
8051
        * libc/sys/linux/iconv/loadinfo.h: Ditto.
8052
        * libc/sys/linux/iconv/localeinfo.h: Ditto.
8053
        * libc/sys/linux/iconv/loop.c: Ditto.
8054
        * libc/sys/linux/iconv/skeleton.c: Ditto.
8055
        * libc/sys/linux/iconv/strtab.c: Ditto.
8056
        * libc/sys/linux/include/dl-hash.h: Ditto.
8057
        * libc/sys/linux/include/dlfcn.h: Ditto.
8058
        * libc/sys/linux/include/fnmatch.h: Ditto.
8059
        * libc/sys/linux/include/gconv.h: Ditto.
8060
        * libc/sys/linux/include/glob.h: Ditto.
8061
        * libc/sys/linux/include/hesiod.h: Ditto.
8062
        * libc/sys/linux/include/ifaddrs.h: Ditto.
8063
        * libc/sys/linux/include/libc_private.h: Ditto.
8064
        * libc/sys/linux/include/link.h: Ditto.
8065
        * libc/sys/linux/include/namespace.h: Ditto.
8066
        * libc/sys/linux/include/netconfig.h: Ditto.
8067
        * libc/sys/linux/include/netdb.h: Ditto.
8068
        * libc/sys/linux/include/nsswitch.h: Ditto.
8069
        * libc/sys/linux/include/regex.h: Ditto.
8070
        * libc/sys/linux/include/resolv.h: Ditto.
8071
        * libc/sys/linux/include/rune.h: Ditto.
8072
        * libc/sys/linux/include/runetype.h: Ditto.
8073
        * libc/sys/linux/include/semaphore.h: Ditto.
8074
        * libc/sys/linux/include/setlocale.h: Ditto.
8075
        * libc/sys/linux/include/un-namespace.h: Ditto.
8076
        * libc/sys/linux/include/wordexp.h: Ditto.
8077
        * libc/sys/linux/include/arpa/ftp.h: Ditto.
8078
        * libc/sys/linux/include/arpa/inet.h: Ditto.
8079
        * libc/sys/linux/include/arpa/nameser.h: Ditto.
8080
        * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
8081
        * libc/sys/linux/include/arpa/telnet.h: Ditto.
8082
        * libc/sys/linux/include/arpa/tftp.h: Ditto.
8083
        * libc/sys/linux/include/net/bpf.h: Ditto.
8084
        * libc/sys/linux/include/net/bpf_compat.h: Ditto.
8085
        * libc/sys/linux/include/net/bpfdesc.h: Ditto.
8086
        * libc/sys/linux/include/net/bridge.h: Ditto.
8087
        * libc/sys/linux/include/net/ethernet.h: Ditto.
8088
        * libc/sys/linux/include/net/fddi.h: Ditto.
8089
        * libc/sys/linux/include/net/if.h: Ditto.
8090
        * libc/sys/linux/include/net/if_arc.h: Ditto.
8091
        * libc/sys/linux/include/net/if_arp.h: Ditto.
8092
        * libc/sys/linux/include/net/if_atm.h: Ditto.
8093
        * libc/sys/linux/include/net/if_dl.h: Ditto.
8094
        * libc/sys/linux/include/net/if_gif.h: Ditto.
8095
        * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
8096
        * libc/sys/linux/include/net/if_llc.h: Ditto.
8097
        * libc/sys/linux/include/net/if_media.h: Ditto.
8098
        * libc/sys/linux/include/net/if_mib.h: Ditto.
8099
        * libc/sys/linux/include/net/if_ppp.h: Ditto.
8100
        * libc/sys/linux/include/net/if_pppvar.h: Ditto.
8101
        * libc/sys/linux/include/net/if_slvar.h: Ditto.
8102
        * libc/sys/linux/include/net/if_sppp.h: Ditto.
8103
        * libc/sys/linux/include/net/if_stf.h: Ditto.
8104
        * libc/sys/linux/include/net/if_tap.h: Ditto.
8105
        * libc/sys/linux/include/net/if_tapvar.h: Ditto.
8106
        * libc/sys/linux/include/net/if_tun.h: Ditto.
8107
        * libc/sys/linux/include/net/if_tunvar.h: Ditto.
8108
        * libc/sys/linux/include/net/if_types.h: Ditto.
8109
        * libc/sys/linux/include/net/if_var.h: Ditto.
8110
        * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
8111
        * libc/sys/linux/include/net/intrq.h: Ditto.
8112
        * libc/sys/linux/include/net/iso88025.h: Ditto.
8113
        * libc/sys/linux/include/net/net_osdep.h: Ditto.
8114
        * libc/sys/linux/include/net/netisr.h: Ditto.
8115
        * libc/sys/linux/include/net/pfil.h: Ditto.
8116
        * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
8117
        * libc/sys/linux/include/net/ppp_comp.h: Ditto.
8118
        * libc/sys/linux/include/net/ppp_defs.h: Ditto.
8119
        * libc/sys/linux/include/net/radix.h: Ditto.
8120
        * libc/sys/linux/include/net/raw_cb.h: Ditto.
8121
        * libc/sys/linux/include/net/route.h: Ditto.
8122
        * libc/sys/linux/include/net/slcompress.h: Ditto.
8123
        * libc/sys/linux/include/net/slip.h: Ditto.
8124
        * libc/sys/linux/include/net/zlib.h: Ditto.
8125
        * libc/sys/linux/include/netinet/icmp6.h: Ditto.
8126
        * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
8127
        * libc/sys/linux/include/netinet/if_atm.h: Ditto.
8128
        * libc/sys/linux/include/netinet/if_ether.h: Ditto.
8129
        * libc/sys/linux/include/netinet/igmp.h: Ditto.
8130
        * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
8131
        * libc/sys/linux/include/netinet/in.h: Ditto.
8132
        * libc/sys/linux/include/netinet/in_gif.h: Ditto.
8133
        * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
8134
        * libc/sys/linux/include/netinet/in_systm.h: Ditto.
8135
        * libc/sys/linux/include/netinet/in_var.h: Ditto.
8136
        * libc/sys/linux/include/netinet/ip.h: Ditto.
8137
        * libc/sys/linux/include/netinet/ip6.h: Ditto.
8138
        * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
8139
        * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
8140
        * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
8141
        * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
8142
        * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
8143
        * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
8144
        * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
8145
        * libc/sys/linux/include/netinet/ip_var.h: Ditto.
8146
        * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
8147
        * libc/sys/linux/include/netinet/tcp.h: Ditto.
8148
        * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
8149
        * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
8150
        * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
8151
        * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
8152
        * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
8153
        * libc/sys/linux/include/netinet/tcpip.h: Ditto.
8154
        * libc/sys/linux/include/netinet/udp.h: Ditto.
8155
        * libc/sys/linux/include/netinet/udp_var.h: Ditto.
8156
        * libc/sys/linux/include/netinet6/ah.h: Ditto.
8157
        * libc/sys/linux/include/netinet6/ah6.h: Ditto.
8158
        * libc/sys/linux/include/netinet6/esp.h: Ditto.
8159
        * libc/sys/linux/include/netinet6/esp6.h: Ditto.
8160
        * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
8161
        * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
8162
        * libc/sys/linux/include/netinet6/in6.h: Ditto.
8163
        * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
8164
        * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
8165
        * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
8166
        * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
8167
        * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
8168
        * libc/sys/linux/include/netinet6/ip6.h: Ditto.
8169
        * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
8170
        * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
8171
        * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
8172
        * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
8173
        * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
8174
        * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
8175
        * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
8176
        * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
8177
        * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
8178
        * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
8179
        * libc/sys/linux/include/netinet6/nd6.h: Ditto.
8180
        * libc/sys/linux/include/netinet6/pim6.h: Ditto.
8181
        * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
8182
        * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
8183
        * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
8184
        * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
8185
        * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
8186
        * libc/sys/linux/include/netns/idp.h: Ditto.
8187
        * libc/sys/linux/include/netns/idp_var.h: Ditto.
8188
        * libc/sys/linux/include/netns/ns.h: Ditto.
8189
        * libc/sys/linux/include/netns/ns_error.h: Ditto.
8190
        * libc/sys/linux/include/netns/ns_if.h: Ditto.
8191
        * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
8192
        * libc/sys/linux/include/netns/sp.h: Ditto.
8193
        * libc/sys/linux/include/netns/spidp.h: Ditto.
8194
        * libc/sys/linux/include/netns/spp_debug.h: Ditto.
8195
        * libc/sys/linux/include/netns/spp_timer.h: Ditto.
8196
        * libc/sys/linux/include/netns/spp_var.h: Ditto.
8197
        * libc/sys/linux/include/rpc/Makefile: Ditto.
8198
        * libc/sys/linux/include/rpc/auth.h: Ditto.
8199
        * libc/sys/linux/include/rpc/auth_des.h: Ditto.
8200
        * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
8201
        * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
8202
        * libc/sys/linux/include/rpc/clnt.h: Ditto.
8203
        * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
8204
        * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
8205
        * libc/sys/linux/include/rpc/des.h: Ditto.
8206
        * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
8207
        * libc/sys/linux/include/rpc/nettype.h: Ditto.
8208
        * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
8209
        * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
8210
        * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
8211
        * libc/sys/linux/include/rpc/raw.h: Ditto.
8212
        * libc/sys/linux/include/rpc/rpc.h: Ditto.
8213
        * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
8214
        * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
8215
        * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
8216
        * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
8217
        * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
8218
        * libc/sys/linux/include/rpc/rpcent.h: Ditto.
8219
        * libc/sys/linux/include/rpc/svc.h: Ditto.
8220
        * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
8221
        * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
8222
        * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
8223
        * libc/sys/linux/include/rpc/types.h: Ditto.
8224
        * libc/sys/linux/include/rpc/xdr.h: Ditto.
8225
        * libc/sys/linux/intl/Makefile.am: Ditto.
8226
        * libc/sys/linux/intl/Makefile.in: Ditto.
8227
        * libc/sys/linux/intl/bindtextdom.c: Ditto.
8228
        * libc/sys/linux/intl/catgets.c: Ditto.
8229
        * libc/sys/linux/intl/catgetsinfo.h: Ditto.
8230
        * libc/sys/linux/intl/config.h: Ditto.
8231
        * libc/sys/linux/intl/dcgettext.c: Ditto.
8232
        * libc/sys/linux/intl/dcigettext.c: Ditto.
8233
        * libc/sys/linux/intl/dcngettext.c: Ditto.
8234
        * libc/sys/linux/intl/dgettext.c: Ditto.
8235
        * libc/sys/linux/intl/dngettext.c: Ditto.
8236
        * libc/sys/linux/intl/explodename.c: Ditto.
8237
        * libc/sys/linux/intl/finddomain.c: Ditto.
8238
        * libc/sys/linux/intl/gettext.c: Ditto.
8239
        * libc/sys/linux/intl/gettext.h: Ditto.
8240
        * libc/sys/linux/intl/gettextP.h: Ditto.
8241
        * libc/sys/linux/intl/hash-string.h: Ditto.
8242
        * libc/sys/linux/intl/l10nflist.c: Ditto.
8243
        * libc/sys/linux/intl/loadinfo.h: Ditto.
8244
        * libc/sys/linux/intl/loadmsgcat.c: Ditto.
8245
        * libc/sys/linux/intl/locale.alias: Ditto.
8246
        * libc/sys/linux/intl/localealias.c: Ditto.
8247
        * libc/sys/linux/intl/ngettext.c: Ditto.
8248
        * libc/sys/linux/intl/open_catalog.c: Ditto.
8249
        * libc/sys/linux/intl/plural.c: Ditto.
8250
        * libc/sys/linux/intl/plural.y: Ditto.
8251
        * libc/sys/linux/intl/stpcpy.c: Ditto.
8252
        * libc/sys/linux/intl/textdomain.c: Ditto.
8253
        * libc/sys/linux/linuxthreads/LICENSE: Ditto.
8254
        * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
8255
        * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
8256
        * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
8257
        * libc/sys/linux/linuxthreads/attr.c: Ditto.
8258
        * libc/sys/linux/linuxthreads/barrier.c: Ditto.
8259
        * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
8260
        * libc/sys/linux/linuxthreads/cancel.c: Ditto.
8261
        * libc/sys/linux/linuxthreads/condvar.c: Ditto.
8262
        * libc/sys/linux/linuxthreads/config.h: Ditto.
8263
        * libc/sys/linux/linuxthreads/configure: Ditto.
8264
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
8265
        * libc/sys/linux/linuxthreads/defs.awk: Ditto.
8266
        * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
8267
        * libc/sys/linux/linuxthreads/events.c: Ditto.
8268
        * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
8269
        * libc/sys/linux/linuxthreads/getreent.c: Ditto.
8270
        * libc/sys/linux/linuxthreads/internals.h: Ditto.
8271
        * libc/sys/linux/linuxthreads/join.c: Ditto.
8272
        * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
8273
        * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
8274
        * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
8275
        * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
8276
        * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
8277
        * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
8278
        * libc/sys/linux/linuxthreads/manager.c: Ditto.
8279
        * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
8280
        * libc/sys/linux/linuxthreads/mutex.c: Ditto.
8281
        * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
8282
        * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
8283
        * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
8284
        * libc/sys/linux/linuxthreads/prio.c: Ditto.
8285
        * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
8286
        * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
8287
        * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
8288
        * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
8289
        * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
8290
        * libc/sys/linux/linuxthreads/pthread.c: Ditto.
8291
        * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
8292
        * libc/sys/linux/linuxthreads/queue.h: Ditto.
8293
        * libc/sys/linux/linuxthreads/reent.c: Ditto.
8294
        * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
8295
        * libc/sys/linux/linuxthreads/restart.h: Ditto.
8296
        * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
8297
        * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
8298
        * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
8299
        * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
8300
        * libc/sys/linux/linuxthreads/signals.c: Ditto.
8301
        * libc/sys/linux/linuxthreads/specific.c: Ditto.
8302
        * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
8303
        * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
8304
        * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
8305
        * libc/sys/linux/linuxthreads/td_init.c: Ditto.
8306
        * libc/sys/linux/linuxthreads/td_log.c: Ditto.
8307
        * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
8308
        * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
8309
        * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
8310
        * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
8311
        * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
8312
        * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
8313
        * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
8314
        * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
8315
        * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
8316
        * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
8317
        * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
8318
        * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
8319
        * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
8320
        * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
8321
        * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
8322
        * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
8323
        * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
8324
        * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
8325
        * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
8326
        * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
8327
        * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
8328
        * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
8329
        * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
8330
        * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
8331
        * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
8332
        * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
8333
        * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
8334
        * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
8335
        * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
8336
        * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
8337
        * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
8338
        * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
8339
        * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
8340
        * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
8341
        * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
8342
        * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
8343
        * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
8344
        * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
8345
        * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
8346
        * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
8347
        * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
8348
        * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
8349
        * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
8350
        * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
8351
        * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
8352
        * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
8353
        * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
8354
        * libc/sys/linux/linuxthreads/tststack.c: Ditto.
8355
        * libc/sys/linux/linuxthreads/unload.c: Ditto.
8356
        * libc/sys/linux/linuxthreads/weaks.c: Ditto.
8357
        * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
8358
        * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
8359
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
8360
        * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
8361
        * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
8362
        * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
8363
        * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
8364
        * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
8365
        * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
8366
        * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
8367
        * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
8368
        * libc/sys/linux/linuxthreads/machine/configure: Ditto.
8369
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
8370
        * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
8371
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
8372
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
8373
        * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
8374
        * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
8375
        * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
8376
        * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
8377
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
8378
        * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
8379
        * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
8380
        * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
8381
        * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
8382
        * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
8383
        * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
8384
        * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
8385
        * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
8386
        * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
8387
        * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
8388
        * libc/sys/linux/net/Makefile.am: Ditto.
8389
        * libc/sys/linux/net/Makefile.in: Ditto.
8390
        * libc/sys/linux/net/addr2ascii.3: Ditto.
8391
        * libc/sys/linux/net/addr2ascii.c: Ditto.
8392
        * libc/sys/linux/net/ascii2addr.c: Ditto.
8393
        * libc/sys/linux/net/base64.c: Ditto.
8394
        * libc/sys/linux/net/bindresvport.c: Ditto.
8395
        * libc/sys/linux/net/byteorder.3: Ditto.
8396
        * libc/sys/linux/net/ether_addr.c: Ditto.
8397
        * libc/sys/linux/net/ethers.3: Ditto.
8398
        * libc/sys/linux/net/getaddrinfo.3: Ditto.
8399
        * libc/sys/linux/net/getaddrinfo.c: Ditto.
8400
        * libc/sys/linux/net/gethostbydns.c: Ditto.
8401
        * libc/sys/linux/net/gethostbyht.c: Ditto.
8402
        * libc/sys/linux/net/gethostbyname.3: Ditto.
8403
        * libc/sys/linux/net/gethostbynis.c: Ditto.
8404
        * libc/sys/linux/net/gethostnamadr.c: Ditto.
8405
        * libc/sys/linux/net/getifaddrs.3: Ditto.
8406
        * libc/sys/linux/net/getifaddrs.c: Ditto.
8407
        * libc/sys/linux/net/getipnodebyname.3: Ditto.
8408
        * libc/sys/linux/net/getnameinfo.3: Ditto.
8409
        * libc/sys/linux/net/getnameinfo.c: Ditto.
8410
        * libc/sys/linux/net/getnetbydns.c: Ditto.
8411
        * libc/sys/linux/net/getnetbyht.c: Ditto.
8412
        * libc/sys/linux/net/getnetbynis.c: Ditto.
8413
        * libc/sys/linux/net/getnetent.3: Ditto.
8414
        * libc/sys/linux/net/getnetnamadr.c: Ditto.
8415
        * libc/sys/linux/net/getproto.c: Ditto.
8416
        * libc/sys/linux/net/getprotoent.3: Ditto.
8417
        * libc/sys/linux/net/getprotoent.c: Ditto.
8418
        * libc/sys/linux/net/getprotoname.c: Ditto.
8419
        * libc/sys/linux/net/getservbyname.c: Ditto.
8420
        * libc/sys/linux/net/getservbyport.c: Ditto.
8421
        * libc/sys/linux/net/getservent.3: Ditto.
8422
        * libc/sys/linux/net/getservent.c: Ditto.
8423
        * libc/sys/linux/net/herror.c: Ditto.
8424
        * libc/sys/linux/net/hesiod.3: Ditto.
8425
        * libc/sys/linux/net/hesiod.c: Ditto.
8426
        * libc/sys/linux/net/if_indextoname.3: Ditto.
8427
        * libc/sys/linux/net/ifname.c: Ditto.
8428
        * libc/sys/linux/net/inet.3: Ditto.
8429
        * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
8430
        * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
8431
        * libc/sys/linux/net/inet_addr.c: Ditto.
8432
        * libc/sys/linux/net/inet_lnaof.c: Ditto.
8433
        * libc/sys/linux/net/inet_makeaddr.c: Ditto.
8434
        * libc/sys/linux/net/inet_net.3: Ditto.
8435
        * libc/sys/linux/net/inet_net_ntop.c: Ditto.
8436
        * libc/sys/linux/net/inet_net_pton.c: Ditto.
8437
        * libc/sys/linux/net/inet_neta.c: Ditto.
8438
        * libc/sys/linux/net/inet_netof.c: Ditto.
8439
        * libc/sys/linux/net/inet_network.c: Ditto.
8440
        * libc/sys/linux/net/inet_ntoa.c: Ditto.
8441
        * libc/sys/linux/net/inet_ntop.c: Ditto.
8442
        * libc/sys/linux/net/inet_pton.c: Ditto.
8443
        * libc/sys/linux/net/innetgr-stub.c: Ditto.
8444
        * libc/sys/linux/net/ip6opt.c: Ditto.
8445
        * libc/sys/linux/net/iso_addr.3: Ditto.
8446
        * libc/sys/linux/net/iso_addr.c: Ditto.
8447
        * libc/sys/linux/net/issetugid-stub.c: Ditto.
8448
        * libc/sys/linux/net/linkaddr.3: Ditto.
8449
        * libc/sys/linux/net/linkaddr.c: Ditto.
8450
        * libc/sys/linux/net/map_v4v6.c: Ditto.
8451
        * libc/sys/linux/net/name6.c: Ditto.
8452
        * libc/sys/linux/net/namespace.h: Ditto.
8453
        * libc/sys/linux/net/ns.3: Ditto.
8454
        * libc/sys/linux/net/ns_addr.c: Ditto.
8455
        * libc/sys/linux/net/ns_name.c: Ditto.
8456
        * libc/sys/linux/net/ns_netint.c: Ditto.
8457
        * libc/sys/linux/net/ns_ntoa.c: Ditto.
8458
        * libc/sys/linux/net/ns_parse.c: Ditto.
8459
        * libc/sys/linux/net/ns_print.c: Ditto.
8460
        * libc/sys/linux/net/ns_ttl.c: Ditto.
8461
        * libc/sys/linux/net/nsap_addr.c: Ditto.
8462
        * libc/sys/linux/net/nsdispatch.3: Ditto.
8463
        * libc/sys/linux/net/nsdispatch.c: Ditto.
8464
        * libc/sys/linux/net/nslexer.c: Ditto.
8465
        * libc/sys/linux/net/nslexer.l: Ditto.
8466
        * libc/sys/linux/net/nsparser.c: Ditto.
8467
        * libc/sys/linux/net/nsparser.h: Ditto.
8468
        * libc/sys/linux/net/nsparser.y: Ditto.
8469
        * libc/sys/linux/net/rcmd.3: Ditto.
8470
        * libc/sys/linux/net/rcmd.c: Ditto.
8471
        * libc/sys/linux/net/rcmdsh.3: Ditto.
8472
        * libc/sys/linux/net/rcmdsh.c: Ditto.
8473
        * libc/sys/linux/net/recv.c: Ditto.
8474
        * libc/sys/linux/net/res_comp.c: Ditto.
8475
        * libc/sys/linux/net/res_config.h: Ditto.
8476
        * libc/sys/linux/net/res_data.c: Ditto.
8477
        * libc/sys/linux/net/res_debug.c: Ditto.
8478
        * libc/sys/linux/net/res_init.c: Ditto.
8479
        * libc/sys/linux/net/res_mkquery.c: Ditto.
8480
        * libc/sys/linux/net/res_mkupdate.c: Ditto.
8481
        * libc/sys/linux/net/res_query.c: Ditto.
8482
        * libc/sys/linux/net/res_send.c: Ditto.
8483
        * libc/sys/linux/net/res_update.c: Ditto.
8484
        * libc/sys/linux/net/resolver.3: Ditto.
8485
        * libc/sys/linux/net/rthdr.c: Ditto.
8486
        * libc/sys/linux/net/send.c: Ditto.
8487
        * libc/sys/linux/net/un-namespace.h: Ditto.
8488
        * libc/sys/linux/net/vars.c: Ditto.
8489
        * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
8490
        * libc/sys/linux/stdlib/Makefile.am: Ditto.
8491
        * libc/sys/linux/stdlib/Makefile.in: Ditto.
8492
        * libc/sys/linux/stdlib/cclass.h: Ditto.
8493
        * libc/sys/linux/stdlib/cname.h: Ditto.
8494
        * libc/sys/linux/stdlib/collate.c: Ditto.
8495
        * libc/sys/linux/stdlib/collate.h: Ditto.
8496
        * libc/sys/linux/stdlib/collcmp.c: Ditto.
8497
        * libc/sys/linux/stdlib/engine.c: Ditto.
8498
        * libc/sys/linux/stdlib/fnmatch.3: Ditto.
8499
        * libc/sys/linux/stdlib/fnmatch.c: Ditto.
8500
        * libc/sys/linux/stdlib/glob.3: Ditto.
8501
        * libc/sys/linux/stdlib/glob.c: Ditto.
8502
        * libc/sys/linux/stdlib/reallocf.c: Ditto.
8503
        * libc/sys/linux/stdlib/regcomp.c: Ditto.
8504
        * libc/sys/linux/stdlib/regerror.c: Ditto.
8505
        * libc/sys/linux/stdlib/regex.3: Ditto.
8506
        * libc/sys/linux/stdlib/regex2.h: Ditto.
8507
        * libc/sys/linux/stdlib/regexec.c: Ditto.
8508
        * libc/sys/linux/stdlib/regfree.c: Ditto.
8509
        * libc/sys/linux/stdlib/utils.h: Ditto.
8510
        * libc/sys/linux/stdlib/wordexp.c: Ditto.
8511
        * libc/sys/linux/stdlib/wordfree.c: Ditto.
8512
        * libc/sys/linux/sys/dlfcn.h: Ditto.
8513
        * libc/sys/linux/sys/elfclass.h: Ditto.
8514
        * libc/sys/linux/sys/event.h: Ditto.
8515
        * libc/sys/linux/sys/ioccom.h: Ditto.
8516
        * libc/sys/linux/sys/libc-tsd.h: Ditto.
8517
        * libc/sys/linux/sys/link.h: Ditto.
8518
        * libc/sys/linux/sys/lock.h: Ditto.
8519
        * libc/sys/linux/sys/param.h: Ditto.
8520
        * libc/sys/linux/sys/socket.h: Ditto.
8521
        * libc/sys/linux/sys/sockio.h: Ditto.
8522
 
8523
2003-05-28  Dhananjay Deshpande  
8524
 
8525
        * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
8526
        normal mode
8527
        * newlib/libc/machine/h8300/memset.S: Likewise
8528
        * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
8529
        * newlib/lib/machine/h8300/reg_memset.S: Likewise
8530
        * newlib/lib/machine/h8300/setjmp.S: Likewise
8531
        * newlib/lib/machine/h8300/strcmp.S: Likewise
8532
        * newlib/lib/sys/h8300hms/crt0.S: Likewise
8533
 
8534
2003-05-13  Corinna Vinschen  
8535
 
8536
        * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
8537
        * libc/include/stdio.h: Ditto.
8538
        * libc/include/sys/config.h: Ditto.
8539
        * libc/stdio/mktemp.c: Ditto.
8540
 
8541
2003-05-13  Corinna Vinschen  
8542
 
8543
        * libc/locale/ldpart.c (__part_load_locale): Substitute
8544
        __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
8545
        * libc/search/hash.c (__hash_open): Ditto.
8546
        (init_hash): Ditto.
8547
        * libc/stdio/fseek.c (fseek): Ditto.
8548
        * libc/stdio/makebuf.c (__smakebuf): Ditto.
8549
        * libc/stdio/mktemp.c (_gettemp): Ditto.
8550
 
8551
2003-05-12  Corinna Vinschen  
8552
 
8553
        * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
8554
 
8555
2003-05-12  Corinna Vinschen  
8556
 
8557
        * configure.host: Accomodate removing the libc/sys/cygwin dir.
8558
        * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
8559
        if __CYGWIN_USE_BIG_TYPES__ is set.
8560
        * libc/search/hash.c (__hash_open): Ditto.
8561
        (init_hash): Ditto.
8562
        * libc/stdio/fseek.c (fseek): Ditto.
8563
        * libc/stdio/makebuf.c (__smakebuf): Ditto.
8564
        * libc/stdio/mktemp.c (_gettemp): Ditto.
8565
        * libc/sys/cygwin/Makefile.am: Remove.
8566
        * libc/sys/cygwin/Makefile.in: Remove.
8567
        * libc/sys/cygwin/aclocal.m4: Remove.
8568
        * libc/sys/cygwin/configure: Remove.
8569
        * libc/sys/cygwin/configure.in: Remove.
8570
        * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
8571
        * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
8572
        directory.
8573
        * libc/sys/cygwin/sys/param.h: Ditto.
8574
        * libc/sys/cygwin/sys/utime.h: Ditto.
8575
        * libc/sys/cygwin/sys/utmp.h: Ditto.
8576
 
8577
2003-05-11  Corinna Vinschen  
8578
 
8579
        * libc/include/sys/types.h: Don't define key_t for Cygwin.
8580
 
8581
2003-05-10  Christopher Faylor  
8582
 
8583
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
8584
        64 bit inodes.
8585
 
8586
2003-05-09  Corinna Vinschen  
8587
 
8588
        * libc/include/sys/config.h: Remove all Cygwin specific configuration.
8589
        Include cygwin/config.h instead.
8590
 
8591
2003-04-16  Jeff Johnston  
8592
 
8593
        * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
8594
        all code with #ifdef __SPE__ test.
8595
        * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
8596
 
8597
2003-04-15  Chris January 
8598
 
8599
        * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
8600
        Cygwin.
8601
 
8602
2003-04-09  J"orn Rennecke 
8603
 
8604
        * libc/machine/sh/memset.S: Avoid clobbering volatile
8605
        objects following a tiny to-be-set array in the same quadword.
8606
 
8607
2001-04-09  Corinna Vinschen  
8608
 
8609
        * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
8610
        * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
8611
        * libc/string/Makefile.in: Regenerated.
8612
        * libc/string/wcswidth.c: New file.
8613
        * libc/string/wcwidth.c: New file.
8614
        * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
8615
 
8616
Thu Apr  3 14:01:16 2003  J"orn Rennecke 
8617
 
8618
        * libc/machine/sh/memset.S: Fix problem with alloco region
8619
        exceeding destination region for length >= 88 bytes, start
8620
        & 0x16 == 0, end & 0x1f == 18.
8621
 
8622
2001-04-03  Corinna Vinschen  
8623
 
8624
        * libc/string/wcscoll.c: Fix comment.
8625
 
8626
2001-04-02  Corinna Vinschen  
8627
 
8628
        * libc/include/wchar.h: Add definition for wcscoll.
8629
        * libc/string/Makefile.am: Add wcscoll.c.
8630
        * libc/string/Makefile.in: Regenerated.
8631
        * libc/string/wcscoll.c: New file.
8632
        * libc/string/wcstrings.tex: Add wcscoll.
8633
 
8634
2003-04-01  Corinna Vinschen  
8635
 
8636
        * libc/stdio/sscanf.c: Update flags description.
8637
        * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
8638
        type.
8639
        (__svfscanf_r): Add 'hh' and 'll' handling.
8640
 
8641
2003-04-01  Corinna Vinschen  
8642
 
8643
        * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
8644
        __d_position member to _off_t.
8645
 
8646
2003-03-20  Jeff Johnston  
8647
 
8648
        * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
8649
        count all characters used to create number against maximum width.
8650
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
8651
 
8652
2003-03-18  D.Venkatasubramanian  
8653
 
8654
        * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
8655
        support.
8656
        * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
8657
        flag to support simulator only extensions.
8658
 
8659
2003-03-17  Bob Cassels  
8660
 
8661
        * libc/string/wcschr.c: (wcschr): Look for character first,
8662
        then for end of string, so you can do wcschr(x, '\0').
8663
 
8664
2003-03-10  Corinna Vinschen  
8665
 
8666
        * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
8667
        with internal (_fpos_t and _off_t) datatypes when compiling newlib.
8668
        * libc/include/sys/unistd.h: Declare _lseek using _off_t.
8669
        * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
8670
        * libc/stdio/fseeko.c (fseeko): Ditto.
8671
        * libc/stdio/ftello.c (ftello): Ditto.
8672
        * libc/stdio/stdio.c (__swrite): Ditto.
8673
        (__sseek): Ditto.
8674
        * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
8675
        * libc/stdio/fseek.c (fseek): Ditto.
8676
        * libc/stdio/fsetpos.c (fsetpos): Ditto.
8677
        * libc/stdio/ftell.c (ftell): Ditto.
8678
        * libc/stdio/local.h: Declare __sseek using _off_t.
8679
 
8680
2003-03-09  Corinna Vinschen  
8681
 
8682
        * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
8683
 
8684
2003-03-09  Corinna Vinschen  
8685
 
8686
        * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
8687
        Cygwin.
8688
 
8689
2003-03-09  Corinna Vinschen  
8690
 
8691
        * libc/include/pwd.h: Add guards to avoid type clashes when compiling
8692
        Cygwin.
8693
        * libc/include/sys/stat.h: Ditto.
8694
        * libc/include/sys/unistd.h: Ditto.
8695
        * libc/sys/cygwin/sys/dirent.h: Ditto.
8696
 
8697
2003-03-07  Christopher Faylor  
8698
 
8699
        * libc/include/sys/unistd.h: Guard getopt.h call to force only
8700
        declaration of getopt and avoid getopt_long declaration.
8701
        * libc/sys/cygwin/include/unistd.h: Remove.
8702
 
8703
2003-03-07  Corinna Vinschen  
8704
 
8705
        * configure.host: Define stdio64_dir for Cygwin.
8706
        * libc/include/stdio.h: Change definition of fpos_t to fulfill
8707
        Cygwin 64bit file access requirements.
8708
        Drop definition of f*64() functions when compiled for Cygwin.
8709
        * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
8710
        * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
8711
        * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
8712
 
8713
2003-03-07   Jeff Johnston  
8714
 
8715
        * libc/include/sys/reent.h: Remove extraneous _sig_func
8716
        declaration.
8717
 
8718
2003-02-25   D.Venkatasubramanian 
8719
 
8720
        * libc/sys/h8300hms/Makefile.am: Add support for new files.
8721
        * libc/sys/h8300hms/Makefile.in: Regenerated.
8722
        * libc/sys/h8300hms/close.S: New file.
8723
        * libc/sys/h8300hms/fstat.S: Ditto.
8724
        * libc/sys/h8300hms/lseek.S: Ditto.
8725
        * libc/sys/h8300hms/open.S: Ditto.
8726
        * libc/sys/h8300hms/stat.S: Ditto.
8727
        * libc/sys/h8300hms/read.S: New file to replace read.c.
8728
        * libc/sys/h8300hms/read.c: Removed.
8729
        * libc/sys/h8300hms/syscalls.c: Removed functions _open,
8730
        _lseek, _close, _stat, _fstat.
8731
        * libc/sys/h8300hms/write.S: New file to replace write.c.
8732
        * libc/sys/h8300hms/write.c: Removed.
8733
 
8734
2003-02-20  Nick Clifton  
8735
 
8736
        * Add support for Cirrus Maverick ARM co-processor:
8737
 
8738
        2000-09-13  Aldy Hernandez  
8739
 
8740
                * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
8741
                IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
8742
 
8743
        2000-08-11  Aldy Hernandez  
8744
 
8745
                * configure.host: set sys_dir, syscall_dir, and
8746
                newlib_cflags for ep9312 host.
8747
 
8748
        * configure.host: Restore alpha sorting of entries in case
8749
        statements.
8750
 
8751
2003-02-19  Jeff Johnston  
8752
 
8753
        * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
8754
 
8755
2003-02-18  Christian Groessler  
8756
 
8757
        * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
8758
        support z8001 segmented mode.
8759
 
8760
2003-02-18  Earnie Boyd  
8761
 
8762
        * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
8763
        with a NULL value.
8764
 
8765
2003-02-10  Christopher Faylor  
8766
 
8767
        * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
8768
        Don't define some types under cygwin.
8769
 
8770
2003-02-07  Jeff Johnston  
8771
 
8772
        * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
8773
        option to allow disabling of syscalls being supplied in newlib.
8774
        * aclocal.m4: Regenerated.
8775
        * configure: Ditto.
8776
        * configure.host: Add support of new configuration option and add
8777
        -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
8778
        * doc/aclocal.m4: Regenerated.
8779
        * doc/configure: Ditto.
8780
        * libc/*aclocal.m4: Ditto.
8781
        * libc/*configure: Ditto.
8782
        * libm/*aclocal.m4: Ditto.
8783
        * libm/*configure: Ditto.
8784
        * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
8785
        is disabled.
8786
        * libc/sys/arm/Makefile.in: Regenerated.
8787
 
8788
2003-02-05  Jonathan Larmour  
8789
 
8790
        * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
8791
        -1 to be sure it cannot later match a valid file fd causing
8792
        isatty() to return 1.
8793
        * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
8794
        * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
8795
        * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
8796
 
8797
2003-02-03  Jeff Johnston  
8798
 
8799
        * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
8800
        buffer based on the precision, after we have processed the input value
8801
        in a local buffer and know its relative magnitude.
8802
 
8803
2003-01-31  Michael Snyder  
8804
 
8805
        * libc/sys/h8300hms/_exit.c (_exit, __exit):  Slip a magic cookie
8806
        into registers r1 and r2, so that the simulator can distinguish
8807
        this trap from a breakpoint trap.  Copied from libgloss.
8808
 
8809
2003-01-31  Michael Snyder  
8810
 
8811
        * libc/sys/h8300hms/crt0.S (_start): Change local label
8812
        from .loop to .Loop, so that ld and gdb will ignore it.
8813
 
8814
2003-01-29  Jason Tishler  
8815
 
8816
        * libc/include/time.h: Declare nanosleep() under Cygwin.
8817
 
8818
2003-01-24  Nick Clifton  
8819
 
8820
        * Add sh2e support:
8821
 
8822
        2002-04-02  Alexandre Oliva  
8823
 
8824
                * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
8825
                * libc/machine/sh/setjmp.S: Likewise.
8826
                * libc/include/machine/ieeefp.h: Likewise.
8827
 
8828
2003-01-24  Corinna Vinschen  
8829
 
8830
        * libc/include/sys/unistd.h: Add setregid and setreuid declarations
8831
        for Cygwin.
8832
 
8833
2003-01-21 Anita Kulkarni  
8834
 
8835
        * libc/time/difftime.c : Typecast the result to double.
8836
 
8837
2003-01-20  Christopher Faylor  
8838
 
8839
        * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
8840
 
8841
2003-01-18  Nick Clifton  
8842
 
8843
        * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
8844
        __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
8845
 
8846
2003-01-16  Joel Sherrill 
8847
 
8848
        * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
8849
        libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
8850
        constants are defined in each file in the shared versions in
8851
        libc/include.
8852
        * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
8853
        autoconf can link programs.
8854
        * libc/include/machine/types.h: Explicitly specify signed on
8855
        intXX_t types to ensure they are signed.
8856
 
8857
2003-01-14  Christopher Faylor  
8858
 
8859
        * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
8860
        extensions.
8861
 
8862
2003-01-08  Richard Sandiford  
8863
 
8864
        * configure.host (mips64vr-elf, mips64vrel-elf): New config.
8865
 
8866
2003-01-07  Charles Wilson  
8867
 
8868
        * libc/stdio/sprintf.c: fix typo
8869
        * libc/stdio/vfprintf.c: fix typo
8870
 
8871
2003-01-07  Jeff Johnston  
8872
 
8873
        * configure.host: Support long double I/O for x86-linux.
8874
        * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
8875
        large enough to hold formatted result.
8876
        * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
8877
 
8878
2003-01-06  Charles Wilson  
8879
 
8880
        * Makefile.am: Add vasprintf.
8881
        * Makefile.in: Regenerated.
8882
 
8883
2003-01-06  Charles Wilson  
8884
 
8885
        * asprintf.c (_asprintf_r): insure both declarations
8886
        are the same.
8887
 
8888
2002-12-28  Christopher Faylor  
8889
 
8890
        * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
8891
        than defining getopt directly.
8892
 
8893
2002-12-20  Jeff Johnston  
8894
 
8895
        * NEWS: Update with 1.11.0 info.
8896
        * README: Ditto.
8897
        * acinclude.m4: Change version number to 1.11.0.
8898
        * aclocal.m4: Regenerated.
8899
        * configure: Ditto.
8900
        * doc/aclocal.m4: Ditto.
8901
        * doc/configure: Ditto.
8902
        * libc/*/aclocal.m4: Ditto.
8903
        * libc/*/configure: Ditto.
8904
        * libc/libc.texinfo: Ditto.
8905
        * libm/*/aclocal.m4: Ditto.
8906
        * libm/*/configure: Ditto.
8907
        * libm/libm.texinfo: Ditto.
8908
        * libc/sys/linux/shared.ld: Add VERS_1.11.
8909
 
8910
2002-12-20  Jeff Johnston  
8911
 
8912
        * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
8913
        Solutions to Red Hat Inc.
8914
        * libc/machine/i386/f_atan2f.S: Ditto.
8915
        * libc/machine/i386/f_exp.c: Ditto.
8916
        * libc/machine/i386/f_expf.c: Ditto.
8917
        * libc/machine/i386/f_frexp.S: Ditto.
8918
        * libc/machine/i386/f_frexpf.S: Ditto.
8919
        * libc/machine/i386/f_ldexp.S: Ditto.
8920
        * libc/machine/i386/f_ldexpf.S: Ditto.
8921
        * libc/machine/i386/f_log.S: Ditto.
8922
        * libc/machine/i386/f_log10.S: Ditto.
8923
        * libc/machine/i386/f_log10f.S: Ditto.
8924
        * libc/machine/i386/f_logf.S: Ditto.
8925
        * libc/machine/i386/f_pow.c: Ditto.
8926
        * libc/machine/i386/f_powf.c: Ditto.
8927
        * libc/machine/i386/f_tan.S: Ditto.
8928
        * libc/machine/i386/f_tanf.S: Ditto.
8929
        * libc/machine/i386/memchr.S: Ditto.
8930
        * libc/machine/i386/memcmp.S: Ditto.
8931
        * libc/machine/i386/memcpy.S: Ditto.
8932
        * libc/machine/i386/memmove.S: Ditto.
8933
        * libc/machine/i386/memset.S: Ditto.
8934
        * libc/machine/i386/strchr.S: Ditto.
8935
        * libc/machine/i386/strlen.S: Ditto.
8936
        * libm/machine/i386/f_atan2.S: Ditto.
8937
        * libm/machine/i386/f_atan2f.S: Ditto.
8938
        * libm/machine/i386/f_exp.c: Ditto.
8939
        * libm/machine/i386/f_expf.c: Ditto.
8940
        * libm/machine/i386/f_frexp.S: Ditto.
8941
        * libm/machine/i386/f_frexpf.S: Ditto.
8942
        * libm/machine/i386/f_ldexp.S: Ditto.
8943
        * libm/machine/i386/f_ldexpf.S: Ditto.
8944
        * libm/machine/i386/f_log.S: Ditto.
8945
        * libm/machine/i386/f_log10.S: Ditto.
8946
        * libm/machine/i386/f_log10f.S: Ditto.
8947
        * libm/machine/i386/f_logf.S: Ditto.
8948
        * libm/machine/i386/f_pow.c: Ditto.
8949
        * libm/machine/i386/f_powf.c: Ditto.
8950
        * libm/machine/i386/f_tan.S: Ditto.
8951
        * libm/machine/i386/f_tanf.S: Ditto.
8952
 
8953
2002-12-20  Jeff Johnston  
8954
 
8955
        * libc/stdlib/environ.c: Update license to Red Hat.
8956
        * libc/machine/hppa/setjmp.S: Ditto.
8957
        * libm/test/Makefile.in: Ditto.
8958
 
8959
2002-12-19  Jeff Johnston  
8960
 
8961
        * configure.host: Remove references to go32.
8962
        * libc/sys/go32/*: Removed.
8963
 
8964
2002-12-16  Kazu Hirata  
8965
 
8966
        * libc/include/sys/config.h: Change setting of INT_MAX
8967
        and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
8968
        __H8300S__.  Also consolidate flag settings for these
8969
        platforms.
8970
 
8971
2002-12-10  Joel Sherrill  
8972
 
8973
        * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
8974
        for i386-rtems targets.
8975
 
8976
2002-12-06  Jeff Johnston  
8977
 
8978
        * libc/include/stdlib.h (strtof): New prototype (from C99).
8979
        (strtodf): Changed from prototype to macro which redefines
8980
        to strtof.
8981
        * libc/stdlib/atof.c: Change documentation to refer to strtof
8982
        instead of strtodf.
8983
        * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
8984
        strtodf.
8985
        * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
8986
        (strtof): New function.
8987
        * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
8988
        calls strtof.
8989
 
8990
2002-11-27  Christopher Faylor  
8991
 
8992
        * libc/string/memset.c (memset): Fix comment.
8993
 
8994
2002-11-26  Christopher Faylor  
8995
 
8996
        * libc/string/memset.c (memset): Move initialization of 'd' earlier in
8997
        function.
8998
 
8999
2002-11-25  Christopher Faylor  
9000
 
9001
        * libc/string/memset.c (memset): Minor optimization: Use new 'd'
9002
        variable, introduced below, everywhere.
9003
 
9004
2002-11-25  Kazu Hirata  
9005
 
9006
        * libc/string/memset.c (memset): Make it safe even if
9007
        sizeof (int) = 2.
9008
 
9009
2002-11-22  Joe Buehler  
9010
 
9011
        * configure.in: Change check for libc/include in ${CC} to
9012
        use an intermediate value so as to work with different shells.
9013
        * configure: Regenerated.
9014
        * Makefile.in: Ditto.
9015
 
9016
2002-11-22  Vijay L. Khuspe  
9017
 
9018
        * libc/sys/h8300hms/read.c: Add support for normal mode
9019
        architecture.
9020
 
9021
2002-11-20  Ryo Tsuruta  
9022
 
9023
        * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
9024
        code for __H8300H__ and __H8300S__.  Also return 32-bit return code
9025
        when -mint32 is used.
9026
 
9027
2002-11-18  Nick Clifton  
9028
 
9029
        * libc/sys/arm/crt0.S: Add NULL to end of argv array.
9030
 
9031
2002-11-14  Jeff Johnston  
9032
 
9033
        * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
9034
        only issue one pass/fail message for a compile/link/execute.
9035
        * testsuite/newlib.elix/elix.exp: New file.
9036
        * testsuite/newlib.elix/tmmap.c: Ditto.
9037
 
9038
2002-11-06  Christopher Faylor  
9039
 
9040
        * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
9041
        * libc/stdlib/mlock.c: Ditto.
9042
        * libc/stdlib/msize.c: Ditto.
9043
        * libc/stdlib/msize.c: Ditto.
9044
        * libc/stdlib/mtrim.c: Ditto.
9045
        * libc/stdlib/valloc.c: Ditto.
9046
 
9047
2002-11-12  Jeff Johnston  
9048
 
9049
        * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
9050
        for inf/nan, make sure that the check ignores the sign bit.
9051
 
9052
2002-11-07  Joel Sherrill 
9053
 
9054
        * libc/sys/rtems/machine: New directory.
9055
        * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
9056
        libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
9057
        libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
9058
        targets more BSD like when installed without requiring files to
9059
        be overwritten at install point when RTEMS itself is installed.
9060
        * Makefile.am: Pick up system dependent machine .h files such as
9061
        might be found on a BSD-ish system.
9062
        * Makefile.in: Regenerate.
9063
        * libc/include/machine/types.h: When on an RTEMS target, define a
9064
        few BSD flavor types.
9065
 
9066
2002-11-06  Sergey Okhapkin  
9067
 
9068
        * include/utmp.h: Define WTMP_FILE.  Define and use UT_IDLEN.
9069
 
9070
2002-11-06  Kazuhiro Fujieda  
9071
 
9072
        * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
9073
        * libc/include/wctype.h: Ditto.
9074
 
9075
2002-11-04  Jeff Johnston  
9076
 
9077
        * libc/include/wchar.h: Add extern "C" specifier if C++.
9078
        * libc/include/wctype.h: Ditto.
9079
 
9080
2002-10-18  Jeff Johnston  
9081
 
9082
        * testsuite/newlib.wctype/tiswctype.c: New test case.
9083
        * testsuite/newlib.wctype/twctrans.c: Ditto.
9084
 
9085
2002-10-18  Jeff Johnston  
9086
 
9087
        * libc/sys/linux/machine/i386/include/endian.h: New file.
9088
        * libc/sys/linux/machine/i386/include/param.h: Ditto.
9089
 
9090
2002-10-18  Jeff Johnston  
9091
 
9092
        * libm/machine/i386/aclocal.m4: Regenerated.
9093
        * libm/machine/i386/configure: Ditto.
9094
 
9095
2002-10-18  Jeff Johnston  
9096
 
9097
        * testsuite/include/check.h: New header file to use with
9098
        test cases.
9099
        * testsuite/lib/newlib.exp: Add testsuite/include directory
9100
        to list of header files to use.
9101
        * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
9102
        * testsuite/newlib.wctype/wctype.exp: New file.
9103
 
9104
2002-10-11  Graham Stott  
9105
            Richard Sandiford  
9106
 
9107
        * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
9108
        * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
9109
        doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
9110
 
9111
2002-10-07      Joel Sherrill 
9112
 
9113
        * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
9114
        dummy programs.
9115
 
9116
2002-10-07      Joel Sherrill 
9117
 
9118
        * libc/include/pthread.h: Define PTHREAD_CANCELED.
9119
 
9120
2002-10-07      Joel Sherrill 
9121
 
9122
        * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
9123
        libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
9124
        compile with current GNU tools.
9125
 
9126
2002-10-07  Jeff Johnston  
9127
 
9128
        * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
9129
        the build library.
9130
        * configure.in: Ditto.
9131
        * Makefile.in: Regenerated.
9132
        * configure: Ditto.
9133
        * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
9134
        for specifying configured libraries/directories.
9135
        * libc/sys/linux/configure.in: Ditto.
9136
        * libc/sys/linux/Makefile.in: Regenerated.
9137
        * libc/sys/linux/configure: Ditto.
9138
 
9139
2002-10-03  Jeff Johnston  
9140
 
9141
        * libc/include/reent.h: Update documentation at start of file.
9142
 
9143
2002-09-27  Jim Wilson  
9144
 
9145
        * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
9146
        the ctbp register.
9147
 
9148
2002-09-27  Jeff Johnston  
9149
 
9150
        * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
9151
        Also convert to EUCJP before using arrays.  For values not in
9152
        the conversion arrays, return WEOF.
9153
        * libc/ctype/jp2uc.h: Change from one array to a number of
9154
        arrays to account for the fact that the originating table
9155
        is not contiguous for the input values since some are invalid.
9156
 
9157
2002-09-24  Jeff Johnston  
9158
 
9159
        * libc/time/ctime.c: Fix prototype documentation.
9160
 
9161
2002-09-24  Corinna Vinschen  
9162
 
9163
        * libc/include/sys/errno.h: Add EOVERFLOW.
9164
 
9165
2002-09-20  Jeff Johnston  
9166
 
9167
        * libc/include/wctype.h: New file.
9168
 
9169
2002-09-20  Jeff Johnston  
9170
 
9171
        * libc/ctype/Makefile.am: Add new files.
9172
        * libc/ctype/Makefile.in: Regenerated.
9173
        * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
9174
        and wctrans functions to documentation index.
9175
        * libc/ctype/iswalnum.c: New file.
9176
        * libc/ctype/iswalpha.c: Ditto.
9177
        * libc/ctype/iswblank.c: Ditto.
9178
        * libc/ctype/iswcntrl.c: Ditto.
9179
        * libc/ctype/iswctype.c: Ditto.
9180
        * libc/ctype/iswdigit.c: Ditto.
9181
        * libc/ctype/iswgraph.c: Ditto.
9182
        * libc/ctype/iswlower.c: Ditto.
9183
        * libc/ctype/iswprint.c: Ditto.
9184
        * libc/ctype/iswpunct.c: Ditto.
9185
        * libc/ctype/iswspace.c: Ditto.
9186
        * libc/ctype/iswupper.c: Ditto.
9187
        * libc/ctype/iswxdigit.c: Ditto.
9188
        * libc/ctype/jp2uc.c: Ditto.
9189
        * libc/ctype/jp2uc.h: Ditto.
9190
        * libc/ctype/local.h: Ditto.
9191
        * libc/ctype/towctrans.c: Ditto.
9192
        * libc/ctype/towlower.c: Ditto.
9193
        * libc/ctype/towupper.c: Ditto.
9194
        * libc/ctype/utf8alpha.h: Ditto.
9195
        * libc/ctype/utf8print.h: Ditto.
9196
        * libc/ctype/utf8punct.h: Ditto.
9197
        * libc/ctype/wctrans.c: Ditto.
9198
        * libc/ctype/wctype.c: Ditto.
9199
        * libc/locale/locale.c (__lc_ctype): New external array to
9200
        replace static lc_ctype array.
9201
        * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
9202
        rather than reentrancy structure's _current_locale field.
9203
        * libc/stdlib/wctomb_r.c: Ditto.
9204
 
9205
2002-09-20  Jeff Johnston  
9206
 
9207
        * configure.host: Minor comment and formatting changes.
9208
        * libc/Makefile.am: Add libc_la_DEPENDENCIES.
9209
        * libc/Makefile.in: Regenerated.
9210
        * libc/include/sys/config.h: Minor format change.
9211
 
9212
2002-09-19  Jeff Johnston  
9213
 
9214
        * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
9215
        statement comment.
9216
 
9217
2002-09-19  Jeff Johnston  
9218
 
9219
        * libc/posix/opendir.c (opendir): Change code to check
9220
        for HAVE_FCNTL before calling fcntl.
9221
        * libc/search/hash.c (hash_open): Ditto.
9222
        * libc/search/hash_page.c (open_tmp): Ditto.
9223
        * libc/reent/Makefile.am: Add fcntlr.c.
9224
        * libc/reent/Makefile.in: Regenerated.
9225
        * libc/reent/fcntlr.c: New file.
9226
        * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
9227
        instead of _fcntl when HAVE_FCNTL flag is set.
9228
        * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
9229
        to see if _fcntl or _fcntl_r should be called.  If flag is not
9230
        set, default to ENOSYS stub.
9231
 
9232
2002-09-16  Jeff Johnston  
9233
 
9234
        * libc/include/wchar.h (mbstate_t): Change protective flag to
9235
        be _MBSTATE_T.
9236
        * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
9237
        [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
9238
        for Cygwin.
9239
        * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
9240
 
9241
2002-09-11  Jeff Johnston  
9242
 
9243
        * acinclude.m4 (enable-newlib-mb): Change check to
9244
        default newlib_mb variable to empty string rather than "no".
9245
        * configure.host: Remove hard-coding of -DMB_CAPABLE for
9246
        x86-linux and Cygwin.  Add code to check for newlib_mb
9247
        being unset in which case set to "yes" for x86-linux and
9248
        Cygwin.  Change check for newlib_mb being "yes" to allow
9249
        for an empty string.
9250
        * configure.in (_MB_LEN_MAX): New AC_DEFINE.
9251
        * newlib.hin (_MB_LEN_MAX): New define to configure.
9252
        * aclocal.m4: Regenerated.
9253
        * configure: Ditto.
9254
        * libc/include/limits.h: New file.
9255
        * libc/sys/linux/include/limits.h: Ditto.
9256
        * doc/aclocal.m4 doc/configure libc/aclocal.m4
9257
          libc/configure libc/machine/aclocal.m4
9258
          libc/machine/configure libc/machine/a29k/aclocal.m4
9259
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
9260
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
9261
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
9262
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
9263
          libc/machine/fr30/configure libc/machine/frv/aclocal.m4
9264
          libc/machine/frv/configure libc/machine/h8300/aclocal.m4
9265
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
9266
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
9267
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
9268
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
9269
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
9270
          libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
9271
          libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
9272
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
9273
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
9274
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
9275
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
9276
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
9277
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
9278
          libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
9279
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
9280
          libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
9281
          libc/machine/tic80/configure libc/machine/v850/aclocal.m4
9282
          libc/machine/v850/configure libc/machine/w65/aclocal.m4
9283
          libc/machine/w65/configure libc/machine/xscale/aclocal.m4
9284
          libc/machine/xscale/configure
9285
          libc/machine/xstormy16/aclocal.m4
9286
          libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
9287
          libc/machine/z8k/configure libc/sys/aclocal.m4
9288
          libc/sys/configure libc/sys/a29khif/aclocal.m4
9289
          libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
9290
          libc/sys/arc/configure libc/sys/arm/aclocal.m4
9291
          libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
9292
          libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
9293
          libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
9294
          libc/sys/decstation/configure libc/sys/go32/aclocal.m4
9295
          libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
9296
          libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
9297
          libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
9298
          libc/sys/idt/configure libc/sys/linux/aclocal.m4
9299
          libc/sys/linux/configure
9300
          libc/sys/linux/machine/aclocal.m4
9301
          libc/sys/linux/machine/configure
9302
          libc/sys/linux/machine/i386/aclocal.m4
9303
          libc/sys/linux/machine/i386/configure
9304
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9305
          libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
9306
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9307
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9308
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
9309
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
9310
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
9311
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
9312
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
9313
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
9314
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
9315
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
9316
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
9317
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
9318
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
9319
          libm/aclocal.m4 libm/configure: Regenerated.
9320
 
9321
2002-09-09  Jeff Johnston  
9322
 
9323
        * libc/sys/linux/machine/i386/crt0.c (_start): Remove
9324
        code that clears the .bss section.
9325
 
9326
2002-09-09  Jeff Johnston  
9327
 
9328
        * libc/include/sys/_types.h (_mbstate_t): Changed to use
9329
        unsigned char internally.
9330
        * libc/sys/linux/sys/_types.h: Ditto.
9331
        * libc/include/sys/reent.h
9332
        * libc/stdlib/mblen.c (mblen): Use function-specific state
9333
        value from default reentrancy structure.
9334
        * libc/stdlib/mblen_r.c (_mblen_r):  If return code from
9335
        _mbtowc_r is less than 0, reset state __count value and
9336
        return -1.
9337
        * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
9338
        is NULL, use the function-specific pointer provided in the
9339
        default reentrancy structure.
9340
        * libc/stdlib/mbrtowc.c: Add reentrant form of function.
9341
        If input state pointer is NULL, use function-specific area
9342
        provided in reentrancy structure.
9343
        * libc/stdlib/mbsrtowcs.c: Ditto.
9344
        * libc/stdlib/wcrtomb.c: Ditto.
9345
        * libc/stdlib/wcsrtombs.c: Ditto.
9346
        * libc/stdlib/mbstowcs.c: Reformat.
9347
        * libc/stdlib/wcstombs.c: Ditto.
9348
        * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
9349
        reset the state's __count value and return -1.
9350
        * libc/stdlib/mbtowc.c: Ditto.
9351
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
9352
        If number of bytes is used up before completing a valid multibyte
9353
        character, return -2 and save the state.
9354
        * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
9355
        and change some __count references to __state for clarity.
9356
 
9357
2002-09-06  Jeff Johnston  
9358
 
9359
        * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
9360
        is defined by .
9361
 
9362
2002-09-05  Kazuhiro Fujieda  
9363
 
9364
        * libc/include/wchar.h (WCHAR_MAX): Only define if not already
9365
        defined.
9366
 
9367
2002-09-04  Kazuhiro Fujieda  
9368
 
9369
        * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
9370
        * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
9371
        __WCHAR_MAX__ or 0x7fffffffu.
9372
        * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
9373
        * libc/string/wcsncmp.c: Ditto.
9374
 
9375
2002-09-03  Jeff Johnston  
9376
 
9377
        * libc/string/wcschr.c: Add include of .
9378
        * libc/string/wcspbrk.c: Ditto.
9379
        * libc/string/wcsrchr.c: Ditto.
9380
        * libc/string/wcsstr.c: Ditto.
9381
 
9382
2002-09-03  Jeff Johnston  
9383
 
9384
        * libc/include/sys/_types.h (_flock_t): Added.
9385
        * libc/include/sys/lock.h (__lock_try_acquire): New interface.
9386
        (__lock_try_acquire_recursive): Ditto.
9387
        * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
9388
        _lock field.
9389
        * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
9390
        field.
9391
        * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
9392
        * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
9393
        * libc/sys/linux/include/time.h (struct timespec): Moved from
9394
         and added check for __need_timespec flag so type
9395
        can be defined by itself.
9396
        * libc/sys/linux/sys/_types.h (_flock_t): New type.
9397
        * libc/sys/linux/sys/types.h (struct timespec): Moved to
9398
        .
9399
 
9400
2002-08-29  Thomas Fitzsimmons  
9401
 
9402
        * libc/sys/linux/argp: New directory.
9403
        * libc/sys/linux/getopt.c: New file.
9404
        * libc/sys/linux/getopt1.c: New file.
9405
        * libc/sys/linux/getoptlong.c: Remove file.
9406
        * libc/sys/linux/include/argp.h: New file.
9407
        * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
9408
        based on ELIX level.
9409
        (SUBDIRS): Add argp_dir.
9410
        (SUBLIBS): Add ARGP_LIB.
9411
        (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
9412
        getopt_long.$(oext).
9413
        * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
9414
 
9415
2002-08-29  Jeff Johnston  
9416
 
9417
        * libc/libc.texinfo: Add node reference to wide-character strings.
9418
        * libc/string/wcstrings.tex: New file.
9419
        * libc/string/strtok_r.c: Remove outdated advertising clause.
9420
        * libc/string/Makefile.am (doc): Add wide-character string
9421
        chapter to documentation.
9422
        * libc/string/Makefile.in: Regenerated.
9423
 
9424
2002-08-29  Kazuhiro Fujieda  
9425
 
9426
        * libc/include/wchar.h: Define NULL. Define WEOF more general
9427
        way. Declare functions in newlib manner.
9428
        * libc/stdlib/Makefile.am: Delete wmem*.c
9429
        * libc/stdlib/Makefile.in: Regenerated.
9430
        * libc/stdlib/wmemchr.c: Delete.
9431
        * libc/stdlib/wmemcmp.c: Ditto.
9432
        * libc/stdlib/wmemcpy.c: Ditto.
9433
        * libc/stdlib/wmemmove.c: Ditto.
9434
        * libc/stdlib/wmemset.c: Ditto.
9435
        * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
9436
        * libc/string/Makefile.in: Regenerated.
9437
        * libc/string/wcscat.c: New file derived from the NetBSD C Library.
9438
        * libc/string/wcschr.c: Ditto.
9439
        * libc/string/wcscmp.c: Ditto.
9440
        * libc/string/wcscpy.c: Ditto.
9441
        * libc/string/wcscspn.c: Ditto.
9442
        * libc/string/wcslcat.c: Ditto.
9443
        * libc/string/wcslcpy.c: Ditto.
9444
        * libc/string/wcslen.c: Ditto.
9445
        * libc/string/wcsncat.c: Ditto.
9446
        * libc/string/wcsncmp.c: Ditto.
9447
        * libc/string/wcsncpy.c: Ditto.
9448
        * libc/string/wcspbrk.c: Ditto.
9449
        * libc/string/wcsrchr.c: Ditto.
9450
        * libc/string/wcsspn.c: Ditto.
9451
        * libc/string/wcsstr.c: Ditto.
9452
        * libc/string/wmemchr.c: Ditto.
9453
        * libc/string/wmemcmp.c: Ditto.
9454
        * libc/string/wmemcpy.c: Ditto.
9455
        * libc/string/wmemmove.c: Ditto.
9456
        * libc/string/wmemset.c: Ditto.
9457
 
9458
2002-08-29  Jeff Johnston  
9459
 
9460
        * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
9461
        default locale "" is accepted for LC_CTYPE or LC_MESSAGES
9462
        and is treated as if "C" was specified.
9463
 
9464
2002-08-28  Jeff Johnston  
9465
 
9466
        * Makefile.am (install-data-local): Move install of build
9467
        newlib.h after installing headers in libc/include so as to
9468
        overwrite default newlib.h.
9469
        * Makefile.in: Regenerated.
9470
 
9471
2002-08-28  Jeff Johnston  
9472
 
9473
        * libc/include/newlib.h: New file for tools that use newlib
9474
        headers but don't build newlib first (e.g. gcc).
9475
 
9476
2002-08-28  Jeff Johnston  
9477
 
9478
        * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
9479
        * libc/stdlib/wmemcmp.c: Ditto.
9480
        * libc/stdlib/wmemcpy.c: Ditto.
9481
        * libc/stdlib/wmemmove.c: Ditto.
9482
        * libc/stdlib/wmemset.c: Ditto.
9483
 
9484
2002-08-27  Egor Duda  
9485
 
9486
        * libc/stdlib/wmemchr.c: New file.
9487
        * libc/stdlib/wmemcmp.c: Ditto.
9488
        * libc/stdlib/wmemcpy.c: Ditto.
9489
        * libc/stdlib/wmemmove.c: Ditto.
9490
        * libc/stdlib/wmemset.c: Ditto.
9491
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
9492
        * configure.host: Default -DMB_CAPABLE for cygwin.
9493
        * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
9494
        wmemmove() and wmemset().  Add include of <_ansi.h>.
9495
        * libc/stdlib/Makefile.in: Regenerate.
9496
 
9497
2002-08-27  Jeff Johnston  
9498
 
9499
        * configure.host: Remove _ELIX_LEVEL flag setting.
9500
        * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
9501
        (install-data-local): Install newlib.h.
9502
        * Makefile.in: Regenerated.
9503
        * aclocal.m4: Ditto.
9504
        * configure: Ditto.
9505
        * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
9506
        newlib.hin.  Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
9507
        and _NEWLIB_VERSION to fill in newlib.h header file entries.
9508
        In AC_OUTPUT statement, unset ac_file so multilib support does
9509
        not use last ac_file temporary used in newlib.h configuration.
9510
        * libc/include/_ansi.h: Include .
9511
        * newlib.hin: New template file for newlib.h.
9512
        * stamp-h.in: New file.
9513
 
9514
2002-08-26  Wu Yongwei 
9515
 
9516
        * time.h (timezonevar): Change "#if" to "#ifdef".
9517
 
9518
2002-08-26  Jeff Johnston  
9519
 
9520
        * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
9521
        * Makefile.in: Regenerated.
9522
        * acinclude.m4: Add support for --enable-newlib-elix-level option.
9523
        * aclocal.m4: Regenerated.
9524
        * configure: Ditto.
9525
        * configure.host: Add code to define _ELIX_LEVEL if
9526
        --enable-newlib-elix-level option is used.
9527
        * configure.in:
9528
        * libc/aclocal.m4: Regenerated.
9529
        * libc/configure: Ditto.
9530
        * libc/argz/Makefile.am: Add EL/IX level checking.
9531
        * libc/argz/Makefile.in: Regenerated.
9532
        * libc/argz/dummy.c: New file.
9533
        * libc/ctype/Makefile.am: Add EL/IX level checking.
9534
        * libc/ctype/Makefile.in: Regenerated.
9535
        * libc/locale/Makefile.am: Add EL/IX level checking.
9536
        * libc/locale/Makefile.in: Regenerated.
9537
        * libc/posix/Makefile.am: Add EL/IX level checking.
9538
        * libc/posix/Makefile.in: Regenerated.
9539
        * libc/posix/telldir.c: Add EL/IX level checking.
9540
        * libc/reent/Makefile.am: Ditto.
9541
        * libc/reent/fstat64r.c: Ditto.
9542
        * libc/reent/lseek64r.c: Ditto.
9543
        * libc/reent/open64r.c: Ditto.
9544
        * libc/reent/Makefile.in: Regenerated.
9545
        * libc/search/Makefile.am: Add EL/IX level checking.
9546
        * libc/search/Makefile.in: Regenerated.
9547
        * libc/stdio/Makefile.am: Add EL/IX level checking.
9548
        * libc/stdio/Makefile.in: Regenerated.
9549
        * libc/stdio64/Makefile.am: Add EL/IX level checking.
9550
        * libc/stdio64/Makefile.in: Regenerated.
9551
        * libc/stdio64/dummy.c: New file.
9552
        * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
9553
        after first include.
9554
        * libc/stdio64/fopen64.c: Ditto.
9555
        * libc/stdio64/freopen64.c: Ditto.
9556
        * libc/stdio64/fseeko64.c: Ditto.
9557
        * libc/stdio64/fsetpos64.c: Ditto.
9558
        * libc/stdio64/ftello64.c: Ditto.
9559
        * libc/stdio64/tmpfile64.c: Ditto.
9560
        * libc/stdlib/Makefile.am: Add EL/IX level checking.
9561
        * libc/stdlib/Makefile.in: Regenerated.
9562
        * libc/stdlib/mstats.c: Add EL/IX level checking.
9563
        * libc/string/Makefile.am: Ditto.
9564
        * libc/string/Makefile.in: Regenerated.
9565
        * libc/sys/linux/Makefile.am: Add EL/IX level checking.
9566
        * libc/sys/linux/Makefile.in: Regenerated.
9567
        * libc/sys/linux/aclocal.m4: Ditto.
9568
        * libc/sys/linux/configure: Ditto.
9569
        * libc/sys/linux/aio.c: Add EL/IX level checking.
9570
        * libc/sys/linux/ftok.c: Ditto.
9571
        * libc/sys/linux/getdate.c: Ditto.
9572
        * libc/sys/linux/ids.c: Ditto.
9573
        * libc/sys/linux/inode.c: Ditto.
9574
        * libc/sys/linux/io.c: Ditto.
9575
        * libc/sys/linux/process.c: Ditto.
9576
        * libc/sys/linux/resource.c: Ditto.
9577
        * libc/sys/linux/sched.c: Ditto.
9578
        * libc/sys/linux/sig.c: Ditto.
9579
        * libc/sys/linux/termios.c: Ditto.
9580
        * libc/sys/linux/wait.c: Ditto plus add __waitpid and
9581
        __libc___waitpid weak aliases.
9582
        * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
9583
        that generate the code for a syscall, but do not create a
9584
        weak alias.
9585
        * libc/syscalls/Makefile.am: Add EL/IX level checking.
9586
        * libc/syscalls/Makefile.in: Regenerated.
9587
        * libc/time/tzset_r.c: Change to replace strdup with equivalent
9588
        functionality.
9589
        * libc/unix/Makefile.am: Add EL/IX level checking.
9590
        * libc/unix/Makefile.in: Regenerated.
9591
 
9592
2002-08-26  Christopher Faylor  
9593
 
9594
        * libc/include/malloc.h: On cygwin, define malloc _r functions as
9595
        wrapper macros to standard malloc functions.
9596
        * libc/include/stdlib.h: Ditto.
9597
        * configure.host: Always define MALLOC_PROVIDED on cygwin.
9598
 
9599
2002-08-22  Thomas Fitzsimmons  
9600
 
9601
        * libc/include/langinfo.h: New file.
9602
        * libc/include/wchar.h: Likewise.
9603
        * libc/include/sys/syslimits.h: Likewise.
9604
        * libc/locale/fix_grouping.c: Likewise.
9605
        * libc/locale/ldpart.c: Likewise.
9606
        * libc/locale/ldpart.h: Likewise.
9607
        * libc/locale/lmessages.c: Likewise.
9608
        * libc/locale/lmessages.h: Likewise.
9609
        * libc/locale/lmonetary.c: Likewise.
9610
        * libc/locale/lmonetary.h: Likewise.
9611
        * libc/locale/lnumeric.c: Likewise.
9612
        * libc/locale/lnumeric.h: Likewise.
9613
        * libc/locale/nl_langinfo.3: Likewise.
9614
        * libc/locale/nl_langinfo.c: Likewise.
9615
        * libc/locale/timelocal.c: Likewise.
9616
        * libc/locale/timelocal.h: Likewise.
9617
        * libc/stdlib/btowc.c: Likewise.
9618
        * libc/stdlib/mbrlen.c: Likewise.
9619
        * libc/stdlib/mbrtowc.c: Likewise.
9620
        * libc/stdlib/mbsinit.c: Likewise.
9621
        * libc/stdlib/mbsrtowcs.c: Likewise.
9622
        * libc/stdlib/wcrtomb.c: Likewise.
9623
        * libc/stdlib/wcsrtombs.c: Likewise.
9624
        * libc/stdlib/wctob.c: Likewise.
9625
        * libc/sys/linux/prof-freq.c: Likewise.
9626
        * libc/sys/linux/profile.c: Likewise.
9627
        * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
9628
        * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
9629
        * libc/include/stdlib.h: Change re-entrant functions to take
9630
        mbstate_t pointers.
9631
        * libc/include/sys/_types.h: Define _mbstate_t.
9632
        * libc/include/sys/config.h (MB_LEN_MAX): New macro.
9633
        * libc/include/sys/errno.h (EILSEQ): New error code.
9634
        * libc/include/sys/reent.h: Include wchar.h.  Change reentrant
9635
        structure to use mbstate_t.
9636
        * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
9637
        * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
9638
        * libc/machine/powerpc/vfscanf.c: Likewise.
9639
        * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
9640
        * libc/stdio/vfprintf.c: Likewise.
9641
        * libc/stdio/vfscanf.c: Likewise.
9642
        * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
9643
        * libc/stdlib/mblen.c: Use mbstate_t.
9644
        * libc/stdlib/mblen_r.c: Likewise.
9645
        * libc/stdlib/mbstowcs.c: Likewise.
9646
        * libc/stdlib/mbstowcs_r.c: Likewise.
9647
        * libc/stdlib/mbtowc.c: Likewise.
9648
        * libc/stdlib/mbtowc_r.c: Likewise.
9649
        * libc/stdlib/wcstombs.c: Likewise.
9650
        * libc/stdlib/wcstombs_r.c: Likewise.
9651
        * libc/stdlib/wctomb_r.c: Likewise.
9652
        * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
9653
        profile.c.
9654
        * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
9655
        dl-procinfo.c.
9656
        * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
9657
        * libc/sys/linux/sys/types.h (off_t): Define type.
9658
        * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
9659
        to C-UTF-8.
9660
        * testsuite/newlib.locale/UTF-8.exp: Likewise.
9661
 
9662
2002-08-20  Casper S. Hornstrup  
9663
 
9664
        * libc/stdlib/mallocr.c: #include windows.h on Win32.
9665
          (AlignPage): Continue macro on next line.
9666
 
9667
2002-08-19  Jeff Johnston  
9668
 
9669
        * libc/sys/linux/include/pthread.h: New file.
9670
 
9671
2002-08-19  Jeff Johnston  
9672
 
9673
        * libc/include/sys/types.h: Support __need_inttypes macro
9674
        that only sets the __intxx and __uintxx types.
9675
        * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
9676
        to get mprec.h.
9677
        * libc/machine/powerpc/Makefile.in: Regenerated.
9678
        * libc/machine/powerpc/vfprintf.c: Fix state variable type.
9679
        * libc/machine/powerpc/vfscanf.c: Fix state variable type.  Remove
9680
        redundant fixed-point conversion prototypes.
9681
        * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include 
9682
        after setting __need_inttypes.
9683
 
9684
2002-08-18  Christopher Faylor  
9685
 
9686
        * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
9687
 
9688
2002-08-17  Jeff Johnston  
9689
 
9690
        * libc/include/sys/config.h[__PPC__][__SPE__]: Set
9691
        _LONG_DOUBLE to double.
9692
 
9693
2002-08-17  Jeff Johnston  
9694
 
9695
        * configure.host: Add powerpc*-*-eabispe* configuration.
9696
        * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
9697
        * libc/machine/powerpc/atosfix32.c: Ditto.
9698
        * libc/machine/powerpc/atosfix64.c: Ditto.
9699
        * libc/machine/powerpc/atoufix16.c: Ditto.
9700
        * libc/machine/powerpc/atoufix32.c: Ditto.
9701
        * libc/machine/powerpc/atoufix64.c: Ditto.
9702
        * libc/machine/powerpc/fix64.h: Ditto.
9703
        * libc/machine/powerpc/simdldtoa.c: Ditto.
9704
        * libc/machine/powerpc/strtosfix16.c: Ditto.
9705
        * libc/machine/powerpc/strtosfix32.c: Ditto.
9706
        * libc/machine/powerpc/strtosfix64.c: Ditto.
9707
        * libc/machine/powerpc/strtoufix16.c: Ditto.
9708
        * libc/machine/powerpc/strtoufix32.c: Ditto.
9709
        * libc/machine/powerpc/strtoufix64.c: Ditto.
9710
        * libc/machine/powerpc/ufix64toa.c: Ditto.
9711
        * libc/machine/powerpc/configure.in: Add check for
9712
        powerpc*-eabispe and add fixed-point conversion functions.
9713
        * libc/machine/powerpc/configure: Regenerated.
9714
        * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
9715
        %r and %R format specifiers which handle fixed-point data.
9716
        * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
9717
        * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
9718
        function prototypes.
9719
 
9720
2002-08-17  Jeff Johnston  
9721
 
9722
        *  Makefile.am: Move cmath stuff into libc/sys/linux.
9723
        *  Makefile.in: Regenerated.
9724
        *  configure.host: Default -DMB_CAPABLE for x86-linux.
9725
        *  libc/include/reent.h: Define _sbrk to take signed int argument.
9726
        *  libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
9727
        *  libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
9728
        make locale name checking more efficient.  Also allow "C-ISO-8859-1"
9729
        locale for LC_CTYPE and LC_MESSAGES.
9730
        *  libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
9731
        *  libc/sys/linux/brk.c: Change sbrk prototype.
9732
        *  libc/sys/linux/include/time.h: Remove Cygwin stuff and
9733
        include .
9734
        (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
9735
        (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
9736
        *  libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
9737
        with a few local additions.
9738
        *  libc/sys/linux/sys/features.h: New file.
9739
        *  libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
9740
        to take signed argument.
9741
        *  libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
9742
        prototypes to take signed size argument.
9743
 
9744
2002-08-16  Thomas Fitzsimmons  
9745
 
9746
        * libc/sys/linux/cmath: New directory.
9747
        * libc/sys/linux/include/cmathcalls.h: New file.
9748
        * libc/sys/linux/include/complex.h: New file.
9749
        * libc/sys/linux/machine/i386/huge_val.h: New file
9750
        * libm/math/w_sincos.c: New file
9751
        * libm/math/wf_sincos.c: New file
9752
        * libm/mathfp/s_sincos.c: New file
9753
        * libm/mathfp/sf_sincos.c: New file
9754
        * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
9755
        * libc/include/math.h: Add sincos and sincosf declarations.
9756
        * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
9757
        (SUBLIBS): Likewise.
9758
        * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
9759
        * libm/math/Makefile.am (src): Add w_sincos.c.
9760
        (fsrc): Add wf_sincos.c.
9761
        * libm/mathfp/Makefile.am (src): Add s_sincos.c
9762
        (fsrc): Add sf_sincos.c.
9763
 
9764
2002-08-12  Jeff Johnston  
9765
 
9766
        * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
9767
        Declare as extern chars and use the address operator to
9768
        properly use values set in linker script.
9769
 
9770
2002-08-09  Jason Tishler  
9771
 
9772
        * libc/stdlib/mallocr.c: Include .
9773
        (request2size): Change macro to do
9774
        unsigned long comparisons and avoid signed overflow.
9775
        (mALLOc): Add overflow check for the number of bytes to allocate.
9776
        (rEALLOc): Ditto.
9777
 
9778
2002-08-09  Jeff Johnston  
9779
 
9780
        * configure.host: Add check for --enable-newlib-io-pos-args
9781
        and define WANT_IO_POS_ARGS flag if enabled.  Define
9782
        the flag by default for x86-linux configurations.
9783
        * configure.in: Add support for --enable-newlib-io-pos-args.
9784
        * libc/configure.in: Ditto.
9785
        * configure: Regenerated.
9786
        * libc/configure: Ditto.
9787
        * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
9788
        vfprintf.c and vfiprintf.c.
9789
        * libc/stdio/Makefile.in: Regenerated.
9790
        * libc/stdio/vfprintf.c: Add positional argument support that
9791
        is enabled by compiling with -DWANT_IO_POS_ARGS.
9792
 
9793
2002-08-07  Richard Sandiford  
9794
 
9795
        * libc/include/machine/setjmp.h: For mips, define _JBLEN based
9796
        based on __mips_soft_float rather than __mips64.
9797
        * libc/machine/mips/setjmp.S: Provide hard and soft float versions
9798
        of both 32-bit and 64-bit code.
9799
 
9800
2002-08-04  Christopher Faylor  
9801
 
9802
        * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
9803
        arguments for popen to match similar functionality in fopen.
9804
 
9805
2002-07-29  Pierre Humblet  
9806
 
9807
        * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
9808
 
9809
2002-07-29  Jeff Johnston  
9810
 
9811
        * libc/sys/linux/Makefile.am: Add aio64.c.
9812
        * libc/sys/linux/Makefile.in: Regenerated.
9813
        * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
9814
        * libc/sys/linux/aio64.c: New file.
9815
 
9816
2002-07-26  Jeff Johnston  
9817
 
9818
        *  libc/include/sys/param.h (MAX, MIN): Added macros.
9819
        *  libc/sys/linux/Makefile.am: Add new files.
9820
        *  libc/sys/linux/Makefile.in: Regenerated.
9821
        *  libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
9822
        *  libc/sys/linux/inode.c (fchdir): Added syscall.
9823
        *  libc/sys/linux/ftw.c: New file.
9824
        *  libc/sys/linux/ftw64.c: Ditto.
9825
        *  libc/sys/linux/getwd.c: Ditto.
9826
        *  libc/sys/linux/scandir64.c: Ditto.
9827
        *  libc/sys/linux/strverscmp.c: Ditto.
9828
        *  libc/sys/linux/versionsort.c: Ditto.
9829
        *  libc/sys/linux/versionsort64.c: Ditto.
9830
 
9831
2002-07-26  Jeff Johnston  
9832
 
9833
        * libc/string/strings.tex: Fix typo for memccpy.
9834
 
9835
2002-07-25  Jeff Johnston  
9836
 
9837
        * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
9838
        * libc/sys/linux/sys/types.h (off64_t): Definition added.
9839
 
9840
2002-07-25  Jeff Johnston  
9841
 
9842
        * libc/sys/linux/Makefile.am: Add fclean.c.
9843
        * libc/sys/linux/Makefile.in: Regenerated.
9844
        * libc/sys/linux/fclean.c: New file.
9845
 
9846
2002-07-25  Jeff Johnston  
9847
 
9848
        * libc/sys/linux/Makefile.am: Add confstr.c.
9849
        * libc/sys/linux/Makefile.in: Regenerated.
9850
        * libc/sys/linux/confstr.c: New file.
9851
        * libc/sys/linux/confstr.h: Ditto.
9852
        * libc/sys/linux/sys/unistd.h: Include  and
9853
        .
9854
 
9855
2002-07-25  Jeff Johnston  
9856
 
9857
        * libc/sys/linux/config.h (__set_errno): Macro definition removed.
9858
        * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
9859
        * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
9860
        * libc/sys/linux/pathconf.c (__set_errno): Ditto.
9861
        * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
9862
        * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
9863
 
9864
2002-07-24  Jeff Johnston  
9865
 
9866
        * libc/sys/linux/Makefile.am: Add new files.
9867
        * libc/sys/linux/Makefile.in: Regenerated.
9868
        * libc/sys/linux/fstab.c: New file.
9869
        * libc/sys/linux/fstatvfs.c: Ditto.
9870
        * libc/sys/linux/fstatvfs64.c: Ditto.
9871
        * libc/sys/linux/internal_statvfs.c: Ditto.
9872
        * libc/sys/linux/mntent.c: Ditto.
9873
        * libc/sys/linux/mntent_r.c: Ditto.
9874
        * libc/sys/linux/statvfs.c: Ditto.
9875
        * libc/sys/linux/statvfs64.c: Ditto.
9876
        * libc/sys/linux/include/paths.h: Ditto.
9877
        * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
9878
        with double-underscore weak-aliases.
9879
        * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
9880
 
9881
2002-07-24  Jeff Johnston  
9882
 
9883
        * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
9884
        to use _sig_func_ptr type casted constants.
9885
        (_sig_func_ptr): Typedef moved to sys/signal.h.
9886
        * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
9887
        For __rtems, use POSIX definition, otherwise default to ANSI.
9888
        * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
9889
 
9890
2002-07-24  Stephane Carrez  
9891
 
9892
        * configure.host: Recognize m6811-elf and m6812-elf targets.
9893
        * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
9894
        * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
9895
        (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
9896
        * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
9897
        according to __INT_MAX__.
9898
        (_POINTER_INT): Define to short.
9899
        * libc/machine/m68hc11/Makefile.am: New file.
9900
        * libc/machine/m68hc11/Makefile.in: New file.
9901
        * libc/machine/m68hc11/configure.in: New file.
9902
        * libc/machine/m68hc11/configure: New file.
9903
        * libc/machine/m68hc11/aclocal.m4: New file.
9904
        * libc/machine/m68hc11/setjmp.S: New file.
9905
 
9906
2002-07-23  Jeff Johnston  
9907
 
9908
        * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
9909
        prototypes.
9910
        * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
9911
        * libc/stdlib/Makefile.in: Regenerated.
9912
        * libc/stdlib/strdup.c: Removed.
9913
        * libc/stdlib/strdup_r.c: Removed.
9914
        * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
9915
        mempcpy.c, strndup.c, and strndup_r.c.
9916
        * libc/string/Makefile.in: Regenerated.
9917
        * libc/string/memccpy.c: New file.
9918
        * libc/string/mempcpy.c: Ditto.
9919
        * libc/string/strndup.c: Ditto.
9920
        * libc/string/strndup_r.c: Ditto.
9921
        * libc/string/strdup.c: New file moved from stdlib.
9922
        * libc/string/strdup_r.c: Ditto.
9923
        * libc/string/strings.tex: Add memccpy and mempcpy documentation.
9924
 
9925
2002-07-23  Jeff Johnston  
9926
 
9927
        * libc/include/stdio.h: Move fcloseall prototype within
9928
        #ifndef _REENT_ONLY section.
9929
        * libc/sys/linux/Makefile.am: Add new files.
9930
        * libc/sys/linux/Makefile.in: Regenerated.
9931
        * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
9932
        * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
9933
        * libc/sys/linux/sys/types.h: Add ino64_t type.
9934
        * libc/sys/linux/ctermid.c: New file.
9935
        * libc/sys/linux/ttyname_r.c: Ditto.
9936
        * libc/sys/linux/readdir64.c: Ditto.
9937
 
9938
2002-07-22  Jeff Johnston  
9939
 
9940
        * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
9941
        * libc/stdio/Makefile.am: Added fcloseall.c support.
9942
        * libc/stdio/Makefile.in: Regenerated.
9943
        * libc/stdio/fcloseall.c: New file.
9944
        * libc/stdio64/Makefile.am: Remove missing .def references.
9945
        * libc/stdio64/Makefile.in: Regenerated.
9946
 
9947
2002-07-22  Jeff Johnston  
9948
 
9949
        * libc/machine/powerpc/time.c: Removed..renamed to times.c.
9950
        * libc/machine/powerpc/times.c: New file.
9951
        * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
9952
        * libc/machine/powerpc/Makefile.in: Regenerated.
9953
 
9954
2002-07-22  Aldy Hernandez  
9955
 
9956
        * libc/machine/powerpc/time.c: New file.
9957
        * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
9958
        time.c.
9959
        * libc/machine/powerpc/Makefile.in: Regenerated.
9960
 
9961
2002-07-22  Thomas Fitzsimmons  
9962
 
9963
        * libc/libc.texinfo: Change copyright notices to Red Hat from
9964
        Cygnus.
9965
        * libm/libm.texinfo: Likewise.
9966
        * README: Change docs URL to
9967
        http://sources.redhat.com/newlib/docs.html.
9968
 
9969
2002-07-19  Jeff Johnston  
9970
 
9971
        * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
9972
        * libc/sys/linux/Makefile.in: Regenerated.
9973
        * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
9974
        * libc/sys/linux/io.c: Add ftruncate syscall.
9975
        * libc/sys/linux/fpathconf.c: New file.
9976
        * libc/sys/linux/pathconf.c: Ditto.
9977
        * libc/sys/linux/linux_fsinfo.h: Ditto.
9978
        * libc/sys/linux/sys/unistd.h: Ditto.
9979
 
9980
2002-07-19  Jeff Johnston  
9981
 
9982
        * libc/stdio64/Makefile.am: Remove missing files.
9983
        * libc/stdio64/Makefile.in: Regenerated.
9984
 
9985
2002-07-19  Jeff Johnston  
9986
 
9987
        * libc/include/sys/config.h[__i386__][__linux__]: Define
9988
        _LARGE64FILE_SOURCE to 1.
9989
        * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
9990
        * libc/sys/linux/Makefile.in: Regenerated.
9991
        * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
9992
        * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
9993
        * libc/sys/linux/sys/resource.h: Include  instead
9994
        of .
9995
        * libc/sys/linux/getrlimit64.c: New file.
9996
        * libc/sys/linux/setrlimit64.c: Ditto.
9997
 
9998
2002-07-19  Thomas Fitzsimmons  
9999
 
10000
        * libc/argz/argz_replace.c: Include buf_findstr.h.
10001
        * libc/argz/buf_findstr.c: Likewise.
10002
        * libc/argz/envz_entry.c: Include buf_findstr.h.  Cast return
10003
        value to (char *).
10004
        * libc/argz/envz_get.c: Likewise.
10005
        * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
10006
        * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
10007
        * libc/stdlib/getsubopt.3: New file.
10008
        * libc/stdlib/getsubopt.c: New file.
10009
        * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
10010
        Change esp to ebp.
10011
 
10012
2002-07-17  Jeff Johnston  
10013
 
10014
        * configure.host(stdio64_dir): New setting that is used to
10015
        enable building of new stdio64 directory.
10016
        * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
10017
        large files.
10018
        (stmp-stdio64,stdio64.texi): New targets to optionally add in
10019
        stdio64 info to info files.
10020
        * libc/Makefile.in: Regenerated.
10021
        * libc/configure: Ditto.
10022
        * libc/configure.in: Add configuration variables that are set
10023
        when stdio64 is selected as subdir in configure.host.
10024
        * libc/libc.texinfo: Add optional menu item for Stdio64, based
10025
        on whether STDIO64 flag is set or not.
10026
        * libc/sys.tex: Add optional stdio64 syscalls based on whether
10027
        STDIO64 flag is set or not.
10028
        * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
10029
        _r sycall routines.
10030
        * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
10031
        (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
10032
        (__SL64): New file flag indicating file is opened via fopen64.
10033
        * libc/include/sys/_types.h(_off64_t): Added.
10034
        * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
10035
        * libc/include/sys/reent.h(struct __sFILE64): New file structure
10036
        for 64-bit offset large file support.
10037
        (__FILE): New intermediate type either set to struct __sFILE64 or
10038
        struct __sFILE, depending on whether __LARGE64_FILES is set or not.
10039
        * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
10040
        * libc/reent/Makefile.in: Regenerated.
10041
        * libc/reent/fstat64r.c: New file.
10042
        * libc/reent/lseek64r.c: Ditto.
10043
        * libc/reent/open64r.c: Ditto.
10044
        * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
10045
        based on whether STDIO64 flag is set.
10046
        * libc/stdio/stdio.tex: Add blank line.
10047
        * libc/stdio64/Makefile.am: New file.
10048
        * libc/stdio64/Makefile.in: Ditto.
10049
        * libc/stdio64/fgetpos64.c: Ditto.
10050
        * libc/stdio64/fopen64.: Ditto.
10051
        * libc/stdio64/freopen64.c: Ditto.
10052
        * libc/stdio64/fseeko64.c: Ditto.
10053
        * libc/stdio64/fsetpos64.c: Ditto.
10054
        * libc/stdio64/ftello64.c: Ditto.
10055
        * libc/stdio64/local64.h: Ditto.
10056
        * libc/stdio64/stdio64.c: Ditto.
10057
        * libc/stdio64/stdio64.tex: Ditto.
10058
        * libc/stdio64/tmpfile64.c: Ditto.
10059
        * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
10060
        open64.
10061
 
10062
2002-07-16  Jeff Johnston  
10063
 
10064
        * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
10065
        if LIBC_EXTRA_LIB is present.
10066
        * libc/Makefile.in: Regenerated.
10067
        * libc/libc.texinfo: Add blank line.
10068
        * libc/argz/Makefile.am: Add doc support.
10069
        * libc/search/Makefile.am: Ditto.
10070
        * libc/argz/Makefile.in: Regenerated.
10071
        * libc/search/Makefile.in: Ditto.
10072
        * libc/misc/misc.tex: Add ffs function.
10073
        * libc/stdio/ftell.c: Fix missing doc delimeter in description.
10074
 
10075
2002-07-15  Jeff Johnston  
10076
 
10077
        * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
10078
        definition that was removed in error.
10079
 
10080
2002-07-15  Jeff Johnston  
10081
 
10082
        * libc/include/machine/ieeefp.h: Change to only define
10083
        floating point defines (e.g one of __IEEE_BIG_ENDIAN or
10084
        __IEEE_LITTLE_ENDIAN must be defined for each platform).
10085
        * libc/include/sys/config.h: Include  and
10086
        remove redundant floating point definitions.
10087
 
10088
2002-07-15  Jeff Johnston  
10089
 
10090
        * libc/sys/linux/callocr.c: Fix so code references
10091
        calloc.
10092
 
10093
2002-07-15  Jeff Johnston  
10094
 
10095
        * libc/sys/linux/Makefile.am: Add new files.
10096
        * libc/sys/linux/Makefile.in: Regenerated.
10097
        * libc/sys/linux/bp-sym.h: Moved to include directory.
10098
        * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
10099
        * libc/sys/linux/inode.c: Set _LIBC to 1.
10100
        * libc/sys/linux/mq_close.c: Ditto.
10101
        * libc/sys/linux/mq_getattr.c: Ditto.
10102
        * libc/sys/linux/mq_open.c: Ditto.
10103
        * libc/sys/linux/mq_receive.c: Ditto.
10104
        * libc/sys/linux/mq_send.c: Ditto.
10105
        * libc/sys/linux/mq_setattr.c: Ditto.
10106
        * libc/sys/linux/mq_unlink.c: Ditto.
10107
        * libc/sys/linux/calloc.c: New file.
10108
        * libc/sys/linux/callocr.c: Ditto.
10109
        * libc/sys/linux/cfreer.c: Ditto.
10110
        * libc/sys/linux/config.h: Ditto.
10111
        * libc/sys/linux/free.c: Ditto.
10112
        * libc/sys/linux/freer.c: Ditto.
10113
        * libc/sys/linux/msize.c: Ditto.
10114
        * libc/sys/linux/msizer.c: Ditto.
10115
        * libc/sys/linux/mstats.c: Ditto.
10116
        * libc/sys/linux/mtrim.c: Ditto.
10117
        * libc/sys/linux/mtrimr.c: Ditto.
10118
        * libc/sys/linux/pvallocr.c: Ditto.
10119
        * libc/sys/linux/realloc.c: Ditto.
10120
        * libc/sys/linux/reallocr.c: Ditto.
10121
        * libc/sys/linux/thread-m.h: Ditto.
10122
        * libc/sys/linux/vallocr.c: Ditto.
10123
        * libc/sys/linux/bp-checks.h: Ditto.
10124
        * libc/sys/linux/libc-symbols.h: Ditto.
10125
        * libc/sys/linux/libc-tsd.h: Ditto.
10126
        * libc/sys/linux/libintl.h: Ditto.
10127
        * libc/sys/linux/malign.c: Ditto.
10128
        * libc/sys/linux/malignr.c: Ditto.
10129
        * libc/sys/linux/mallinfor.c: Ditto.
10130
        * libc/sys/linux/malloc.c: Ditto.
10131
        * libc/sys/linux/mallocr.c: Ditto.
10132
        * libc/sys/linux/malloptr.c: Ditto.
10133
        * libc/sys/linux/mallstatsr.c: Ditto.
10134
        * libc/sys/linux/mcheck.c: Ditto.
10135
        * libc/sys/linux/mhooks.h: Ditto.
10136
        * libc/sys/linux/include/bp-sym.h: Ditto.
10137
        * libc/sys/linux/include/malloc.h: Ditto.
10138
        * libc/sys/linux/include/mcheck.h: Ditto.
10139
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
10140
        getpagesize.c.
10141
        * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
10142
        * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
10143
        * libc/sys/linux/machine/i386/getpagesize.c: New file.
10144
        * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
10145
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10146
        * libc/sys/linux/machine/i386/sysdep.h: New file.
10147
        * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
10148
        * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
10149
        * libc/sys/linux/sys/lock.h: Include .
10150
 
10151
2002-07-12  Jeff Johnston  
10152
 
10153
        * libc/sys/linux/include/mqueue.h: Change to use 
10154
        instead of .
10155
        * libc/sys/linux/sys/signal.h: Change to include various linux
10156
         header files, rather than  so as
10157
        to work with multiple releases of glibc header files.
10158
 
10159
2002-07-11  Chris Demetriou  
10160
 
10161
        * testsuite/newlib.search/hsearchtest.c: New file to test
10162
        newlib/libc/search.
10163
        * testsuite/newlib.search/hsearchtest.exp: Likewise.
10164
 
10165
2002-07-10  Florian Schrack  
10166
 
10167
        * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
10168
        a terminal.
10169
        * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
10170
 
10171
2002-07-08  Jeff Johnston  
10172
 
10173
        * libc/include/math.h (MAXFLOAT): Added.
10174
 
10175
Mon Jul  8 13:55:23 2002  J"orn Rennecke 
10176
 
10177
        * libc/machine/sh/Makefile.am (lib_a_SOURCES):
10178
        Make strcmp.S unconditional.
10179
        * libc/machine/sh/Makefile.in: Regenerate.
10180
        * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
10181
        * strcmp.S (strcmp): Add SHmedia variant.  Use different registers
10182
        for SHcompact.
10183
 
10184
2002-07-04  Jeff Johnston  
10185
 
10186
        * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
10187
        define before including .
10188
 
10189
2002-07-04  Jeff Johnston  
10190
 
10191
        * libc/include/utime.h: Add include of <_ansi.h>.
10192
        * libc/sys/linux/Makefile.am: Add utimes.c.
10193
        * libc/sys/linux/Makefile.in: Regenerated.
10194
        * libc/sys/linux/inode.c(__umask): New static routine.
10195
        (umask): Written to use __umask and attempt to thread lock.
10196
        (getumask): New function written to use __umask and thread lock.
10197
        * libc/sys/linux/utimes.c: New file.
10198
        * libc/sys/linux/sys/time.h: Fix utimes prototype.
10199
        * libc/sys/linux/sys/utime.h: New file.
10200
 
10201
2002-07-04  Thomas Fitzsimmons  
10202
 
10203
        * libtool.m4: New file.
10204
        * libc/sys/linux/process.c: Implement vfork in terms of fork,
10205
        rather than as a syscall.
10206
 
10207
2002-07-04  Jeff Johnston  
10208
 
10209
        * libc/include/stdio.h: Add new prototypes.
10210
        * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
10211
        * libc/stdio/Makefile.in: Regenerated.
10212
        * libc/stdio/fseek.c: Add fseeko documentation.
10213
        * libc/stdio/ftell.c: Add ftello documentation.
10214
        * libc/stdio/fseeko.c: New file.
10215
        * libc/stdio/ftello.c: New file.
10216
 
10217
2002-07-04  Jeff Johnston  
10218
 
10219
        * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
10220
        * libc/stdio/Makefile.in: Regenerated.
10221
        * libc/stdio/asprintf.c: New file.
10222
        * libc/stdio/vasprintf.c: Ditto.
10223
        * libc/stdio/fvwrite.c: Add code to dynamically reallocate
10224
        the buffer for asprintf support.
10225
        * libc/stdio/sprintf.c: Add asprintf documentation.
10226
        * libc/stdio/vfprintf.c: Add vasprintf documentation.
10227
        * libc/include/stdio.h: Add new prototypes.
10228
 
10229
2002-07-02  Thomas Fitzsimmons  
10230
 
10231
        * libc/search/hcreate.c: Remove advertising clause from license.
10232
        * libc/search/hcreate_r.c: Likewise.
10233
 
10234
2002-07-02  Chris Demetriou  
10235
 
10236
        * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
10237
        (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
10238
        Check that one of them is defined and error out if not.
10239
        Add any platforms defined in  that are missing.
10240
        * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
10241
        (DB_LITTLE_ENDIAN): New defines.
10242
        * libc/search/hash.c: Replace all incorrect checks for
10243
        _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
10244
        BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
10245
        * libc/search/hash_page.c: Likewise.
10246
 
10247
2002-06-28  Thomas Fitzsimmons  
10248
 
10249
        * libm/mathfp/sf_pow.c (powf): Change k from int to float.
10250
 
10251
2002-06-27  Benjamin Kosnik  
10252
 
10253
        * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
10254
        * libc/include/time.h: Same.
10255
        * libc/include/string.h: Same.
10256
        * libc/include/stdlib.h: Same.
10257
        * libc/include/signal.h: Same.
10258
        * libc/include/setjmp.h: Same.
10259
        * libc/include/math.h: Same.
10260
        * libc/include/locale.h: Same.
10261
        * libc/include/ctype.h: Same.
10262
        * libc/include/machine/setjmp.h: Same.
10263
        * libc/include/_ansi.h (_BEGIN_STD_C): Add.
10264
        (_END_STD_C): Add.
10265
 
10266
2002-06-27  Jeff Johnston  
10267
 
10268
        * libc/include/sys/_types.h: Define _ssize_t as int if int is
10269
        32-bits, otherwise define it as long.
10270
        * libc/include/sys/types.h: Include <_ansi.h> and 
10271
        and define ssize_t as _ssize_t.
10272
        * libc/reent/readr.c: Change return type to _ssize_t.
10273
        * libc/reent/writer.c: Ditto.
10274
        * libc/sys/linux/Makefile.am: Add aio.c.
10275
        * libc/sys/linux/Makefile.in: Regenerated.
10276
        * libc/sys/linux/aio.c: New file.
10277
        * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
10278
        * libm/common/fdlibm.h: Undef __P before defining it.
10279
 
10280
2002-06-27  Thomas Fitzsimmons  
10281
 
10282
        * libm/mathfp/s_pow.c (pow): Fix checks on variable k.  Add
10283
        exponent_is_even_int variable.  Handle case where x is
10284
        negative, and y is an odd integer.
10285
        * libm/mathfp/sf_pow.c (powf): Likewise.
10286
 
10287
        * libm/mathfp/er_lgamma.c: Remove __kernel references.
10288
        * libm/mathfp/erf_lgamma.c: Likewise.
10289
        * libm/mathfp/s_tgamma.c: Likewise.
10290
        * libm/mathfp/sf_tgamma.c: Likewise.
10291
 
10292
2002-06-27  Jeff Johnston  
10293
 
10294
        * libc/sys/linux/Makefile.am: Add new clock routines.
10295
        * libc/sys/linux/Makefile.in: Regenerated.
10296
        * libc/sys/linux/clock_getres.c: New file.
10297
        * libc/sys/linux/clock_gettime.c: Ditto.
10298
        * libc/sys/linux/clock_settime.c: Ditto.
10299
        * libc/sys/linux/hp-timing.h: Ditto.
10300
        * libc/sys/linux/libc-internal.h: Ditto.
10301
        * libc/sys/linux/sysconf.c: Fix typo.
10302
        * libc/sys/linux/include/time.h: Add include of .
10303
        * libc/sys/linux/machine/hp-timing.h: New file.
10304
        * libc/sys/linux/machine/i386/Makefile.am: Add new files.
10305
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10306
        * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
10307
        * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
10308
        * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
10309
        * libc/sys/linux/sys/linux_time.h: New file.
10310
        * libc/sys/linux/sys/time.h: Remove include of  and
10311
        replace with .
10312
 
10313
Wed Jun 26 16:33:25 2002  J"orn Rennecke 
10314
 
10315
        * libc/sys/sh/crt0.S: Remove vestigial .section directive.
10316
 
10317
2002-06-25  Jeff Johnston  
10318
 
10319
        * libc/sys/linux/Makefile.am: Consolidate additional items under
10320
        ADD_OBJS.
10321
        * libc/sys/linux/Makefile.in: Regenerated.
10322
 
10323
2002-06-25  Jeff Johnston  
10324
 
10325
        * libc/sys/linux/sethostname.c: New file.
10326
        * libc/sys/linux/Makefile.am: Add sethostname.c support.
10327
        * libc/sys/linux/Makefile.in: Regenerated.
10328
 
10329
2002-06-24  Thomas Fitzsimmons  
10330
 
10331
        * libc/search/db_local.h: New file.
10332
        * libc/include/db.h: Remove.
10333
        * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
10334
        * libc/search/hash.c (MIN,MAX): Add macros.  Change  to
10335
        "db_local.h".
10336
        * libc/search/hash_bigkey.c: Likewise.
10337
        * libc/search/hash_buf.c: Likewise.
10338
        * libc/search/hash_func.c: Likewise.
10339
        * libc/search/hash_log2.c: Likewise.
10340
        * libc/search/hash_page.c: Likewise.
10341
 
10342
2002-06-24  J"orn Rennecke 
10343
 
10344
        * libc/machine/sh/strlen.S: New file.
10345
        * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
10346
        * libc/machine/sh/Makefile.am: Regenerate.
10347
 
10348
2002-06-24  Jeff Johnston  
10349
 
10350
        * libc/sys/linux/gethostname.c: Change name to __gethostname and
10351
        add gethostname alias.
10352
 
10353
2002-06-24  Jeff Johnston  
10354
 
10355
        * libc/include/math.h: Remove .
10356
        (__dmath): Use __ULong instead of __uint32_t.
10357
        * libc/include/sys/reent.h: If long or int is not 32-bits,
10358
        include  to get definitions for __int32_t and __uint32_t.
10359
        * libc/stdlib/mprec.h: Include  to get integer defs.
10360
        * libm/common/fdlibm.h: Ditto.
10361
 
10362
2002-06-24  Thomas Fitzsimmons  
10363
 
10364
        * libc/include/ndbm.h: Remove.
10365
        * libc/search/ndbm.c: Remove.
10366
 
10367
2002-06-24  WATANABE Hirofumi 
10368
 
10369
        * libc/stdio/fseek.c (fseek): Fix braces.
10370
 
10371
2002-06-21  Corinna Vinschen  
10372
 
10373
        * libc/time/strftime.c (strftime): Add %e format specifier.
10374
 
10375
2002-06-21  Thomas Fitzsimmons  
10376
 
10377
        * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
10378
        previously defined.
10379
 
10380
2002-06-21  Richard Earnshaw  (rearnsha@arm.com)
10381
 
10382
        * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
10383
        (BYTE_ORDER): Define as appropriate for the target.
10384
 
10385
2002-06-21  Jeff Johnston  
10386
 
10387
        * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
10388
        to _ssize_t.
10389
        * libc/sys/linux/io.c (read, write): Change to return ssize_t.
10390
 
10391
2002-06-21  Jeff Johnston  
10392
 
10393
        * libc/include/stdio.h (__getline, __getdelim): New prototypes.
10394
        * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
10395
        [HAVE_GETDATE](getdate_err): New error code.
10396
        * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
10397
        * libc/stdio/Makefile.in: Regenerated.
10398
        * libc/stdio/getdelim.c: New file.
10399
        * libc/stdio/getline.c: Ditto.
10400
        * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
10401
        and ntp_gettime.c.  Also add AM_CFLAGS to point to libc/stdio.
10402
        * libc/sys/linux/Makefile.in: Regenerated.
10403
        * libc/sys/linux/getdate.c: New file.
10404
        * libc/sys/linux/getdate_err.c: Ditto.
10405
        * libc/sys/linux/ntp_gettime.c: Ditto.
10406
        * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
10407
        * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
10408
 
10409
2002-06-21  Jeff Johnston  
10410
 
10411
        * libc/include/math.h: Add  to get _uint32_t definition.
10412
        * libc/include/machine/types.h: Skip __off_t, __pid_t, and
10413
        __loff_t definitions if special _HAVE_SYSTYPES macro defined.
10414
        * libc/include/sys/config.h: Removed _uint*, _int* definitions.
10415
        * libc/include/sys/param.h: Remove i386 case which is handled
10416
        by default case.
10417
        (BIG_ENDIAN, LITTLE_ENDIAN): Protect
10418
        definitions in case they are already defined.
10419
        (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
10420
        _IEEE_LITTLE_ENDIAN flags.
10421
        * libc/include/sys/reent.h: Change __uint32_t references to
10422
        use _ULong instead.
10423
        (_REENT_GETDATE_REENT_P): New macro.
10424
        * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
10425
        (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
10426
        * libc/search/hash.h: Add default setting of BYTE_ORDER,
10427
        LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
10428
        * libc/sys/linux/sys/types.h: Include .  Define
10429
        ssize_t based on _ssize_t.  Remove __socklen_t, __uintptr_t,
10430
        pid_t, off_t, loff_t, caddr_t, and daddr_t type
10431
        definitions which are done by subsequent glibc headers.
10432
        Add macro definitions to prevent subsequent header files from
10433
        defining pid_t, off_t, ssize_t, and key_t.  Move uintptr_t and
10434
        intptr_t to after glibc definitions of types they are based on.
10435
 
10436
2002-06-21  Jeff Johnston  
10437
 
10438
        * libc/include/errno.h: Protect from multiple inclusion.
10439
 
10440
2002-06-21  Nick Clifton  
10441
 
10442
        * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
10443
 
10444
2002-06-20  Thomas Fitzsimmons  
10445
 
10446
        * Makefile.am (LIB_OBJECTLISTS): Add
10447
        libc/search/objectlist.awk.in.
10448
        * libc/Makefile.am (SUBDIRS): Add search.
10449
        (SUBLIBS): Add search/libsearch.la.
10450
        * libc/configure.in (AC_OUTPUT): Add search/Makefile.
10451
        * libc/search: New directory.
10452
        * libc/search/Makefile.am: New file.
10453
        * libc/search/extern.h: New file.
10454
        * libc/search/hash.c: New file.
10455
        * libc/search/hash.h: New file.
10456
        * libc/search/hash_bigkey.c: New file.
10457
        * libc/search/hash_buf.c: New file.
10458
        * libc/search/hash_func.c: New file.
10459
        * libc/search/hash_log2.c: New file.
10460
        * libc/search/hash_page.c: New file.
10461
        * libc/search/hcreate.3: New file.
10462
        * libc/search/hcreate.c: New file.
10463
        * libc/search/hcreate_r.c: New file.
10464
        * libc/search/ndbm.c: New file.
10465
        * libc/search/page.h: New file.
10466
        * libc/search/tdelete.c: New file.
10467
        * libc/search/tdestroy.c: New file.
10468
        * libc/search/tfind.c: New file.
10469
        * libc/search/tsearch.3: New file.
10470
        * libc/search/tsearch.c: New file.
10471
        * libc/search/twalk.c: New file.
10472
        * libc/include/db.h: New file.
10473
        * libc/include/ndbm.h: New file.
10474
        * libc/include/search.h: New file.
10475
        * libc/include/sys/queue.h: New file.
10476
        * libc/include/sys/cdefs.h: New file.
10477
        * libc/include/sys/param.h
10478
        [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
10479
        LITTLE_ENDIAN or BIG_ENDIAN.
10480
        * libc/include/sys/errno.h (EFTYPE): New macro.
10481
        * libc/search/bsearch.c: Move from libc/stdlib.
10482
        * libc/search/qsort.c: Likewise.
10483
        * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
10484
        qsort.c.
10485
        (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
10486
        * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
10487
 
10488
2002-06-19  Jeff Johnston  
10489
 
10490
        * libc/sys/linux/Makefile.am: Add support for message queue routines,
10491
        ipc routines, and ftok.
10492
        * libc/sys/linux/Makefile.in: Regenerated.
10493
        * libc/sys/linux/ftok.c: New file.
10494
        * libc/sys/linux/ipc.c: Ditto.
10495
        * libc/sys/linux/mq_close.c: Ditto.
10496
        * libc/sys/linux/mq_getattr.c: Ditto.
10497
        * libc/sys/linux/mq_notify.c: Ditto.
10498
        * libc/sys/linux/mq_open.c: Ditto.
10499
        * libc/sys/linux/mq_receive.c: Ditto.
10500
        * libc/sys/linux/mq_send.c: Ditto.
10501
        * libc/sys/linux/mq_setattr.c: Ditto.
10502
        * libc/sys/linux/mq_unlink.c: Ditto.
10503
        * libc/sys/linux/mqlocal.h: Ditto.
10504
        * libc/sys/linux/include/mqueue.h: Ditto.
10505
        * libc/sys/linux/sys/types.h: Define __gid_t_defined and
10506
        __uid_t_defined.
10507
 
10508
2002-06-19  J"orn Rennecke 
10509
 
10510
        * libm/common/sf_lround.c (round): Change name to: (lround).
10511
        * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
10512
        remquof.
10513
 
10514
2002-06-18  Thomas Fitzsimmons  
10515
 
10516
        * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
10517
        procedure.
10518
        (newlib_pass_fail): Change to compile and run only one file.
10519
        * testsuite/newlib.locale/locale.exp: Use new
10520
        newlib_pass_fail_all procedure.
10521
        * testsuite/newlib.string/string.exp: Likewise.
10522
 
10523
2002-06-18  Dave Brolley  
10524
 
10525
        From Catherine Moore, Michael Meissner, Richard Sandiford:
10526
        * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
10527
        (_JBTYPE): Ditto.
10528
        * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
10529
        (__ATTRIBUTE_IMPURE_PTR__): Ditto.
10530
        * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
10531
        * configure.host: Support frv-*-*.
10532
        * libc/machine/frv/Makefile.am: New file.
10533
        * libc/machine/frv/configure.in: New file.
10534
        * libc/machine/frv/setjmp.S: New file.
10535
 
10536
2002-06-18  Thomas Fitzsimmons  
10537
 
10538
        * libc/include/ctype.h: Remove isblank macro.
10539
 
10540
        * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
10541
        * libc/ctype/isblank.c: New file.
10542
        * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
10543
        declaration.  Add isblank macro.
10544
 
10545
2002-06-18  Jeff Johnston  
10546
 
10547
        * testsuite/newlib.stdlib/atexit.c: New file.
10548
        * testsuite/newlib.stdlib/atexit.exp: Ditto.
10549
        * testsuite/newlib.string/tstring.c: Change default start size
10550
        to something more reasonable for embedded platforms.
10551
 
10552
2002-06-14  Thomas Fitzsimmons  
10553
 
10554
        * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
10555
 
10556
        * libc/argz: New directory.
10557
        * libc/argz/*: New files.
10558
        * libc/argz/argz_add.c: New file.
10559
        * libc/argz/argz_add_sep.c: New file.
10560
        * libc/argz/argz_append.c: New file.
10561
        * libc/argz/argz_count.c: New file.
10562
        * libc/argz/argz_create.c: New file.
10563
        * libc/argz/argz_create_sep.c: New file.
10564
        * libc/argz/argz_delete.c: New file.
10565
        * libc/argz/argz_extract.c: New file.
10566
        * libc/argz/argz_insert.c: New file.
10567
        * libc/argz/argz_next.c: New file.
10568
        * libc/argz/argz_replace.c: New file.
10569
        * libc/argz/argz_stringify.c: New file.
10570
        * libc/argz/buf_findstr.c: New file.
10571
        * libc/argz/envz_add.c: New file.
10572
        * libc/argz/envz_entry.c: New file.
10573
        * libc/argz/envz_get.c: New file.
10574
        * libc/argz/envz_merge.c: New file.
10575
        * libc/argz/envz_remove.c: New file.
10576
        * libc/argz/envz_strip.c: New file.
10577
        * libc/include/argz.h: New file.
10578
        * libc/include/envz.h: New file.
10579
        * Makefile.am (LIBC_OBJECTLISTS): Add
10580
        libc/argz/objectlist.awk.in.
10581
        * libc/Makefile.am (SUBDIRS): Add argz.
10582
        (SUBLIBS): Add argz/libargz.la.
10583
        * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
10584
        * libc/include/errno.h: Add error_t typedef.
10585
 
10586
2002-06-13  Jeff Johnston  
10587
 
10588
        * libc/include/stdlib.h: Add _Exit prototype.
10589
        * libc/stdlib/Makefile.am: Add _Exit.c support.
10590
        * libc/stdlib/Makefile.in: Ditto.
10591
        * libc/stdlib/_Exit.c: New file.
10592
 
10593
2002-06-13  Stephen L. Moshier  
10594
 
10595
        * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
10596
        x is close to -1.0 and y is very large to use ax (absolute value)
10597
        instead of x.
10598
        * libm/math/ef_pow.c (__ieee754_powf): Ditto.
10599
 
10600
Thu Jun 13 19:23:40 2002  J"orn Rennecke 
10601
 
10602
        * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
10603
        Fix clobbering bytes before destination if src and dst have same
10604
        non-zero misalignment.
10605
 
10606
        * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
10607
        Fixed bug in writing end of set region.
10608
 
10609
2002-06-10  Christopher Faylor  
10610
 
10611
        * libc/include/process.h: Remove cygwin-only sexec* declarations.  Fix
10612
        spawnve declaration.
10613
 
10614
2002-06-06  Thomas Fitzsimmons  
10615
 
10616
        * libm/common/s_fdim.c: New file.
10617
        * libm/common/s_fma.c: Likewise.
10618
        * libm/common/s_fmax.c: Likewise.
10619
        * libm/common/s_fmin.c: Likewise.
10620
        * libm/common/s_fpclassify.c: Likewise.
10621
        * libm/common/s_lrint.c: Likewise.
10622
        * libm/common/s_lround.c: Likewise.
10623
        * libm/common/s_nearbyint.c: Likewise.
10624
        * libm/common/s_remquo.c: Likewise.
10625
        * libm/common/s_round.c: Likewise.
10626
        * libm/common/s_scalbln.c: Likewise.
10627
        * libm/common/s_signbit.c: Likewise.
10628
        * libm/common/s_trunc.c: Likewise.
10629
        * libm/common/sf_fdim.c: Likewise.
10630
        * libm/common/sf_fma.c: Likewise.
10631
        * libm/common/sf_fmax.c: Likewise.
10632
        * libm/common/sf_fmin.c: Likewise.
10633
        * libm/common/sf_lrint.c: Likewise.
10634
        * libm/common/sf_lround.c: Likewise.
10635
        * libm/common/sf_nearbyint.c: Likewise.
10636
        * libm/common/sf_remquo.c: Likewise.
10637
        * libm/common/sf_round.c: Likewise.
10638
        * libm/common/sf_scalbln.c: Likewise.
10639
        * libm/common/sf_trunc.c: Likewise.
10640
        * libm/math/w_exp2.c: Likewise.
10641
        * libm/math/w_tgamma.c: Likewise.
10642
        * libm/math/wf_exp2.c: Likewise.
10643
        * libm/math/wf_tgamma.c: Likewise.
10644
        * libm/mathfp/s_exp2.c: Likewise.
10645
        * libm/mathfp/s_tgamma.c: Likewise.
10646
        * libm/mathfp/sf_exp2.c: Likewise.
10647
        * libm/mathfp/sf_tgamma.c: Likewise.
10648
        * libm/math/er_gamma.c: Fix return value.
10649
        * libm/math/erf_gamma.c: Likewise.
10650
        * libm/mathfp/er_gamma.c: Likewise.
10651
        * libm/mathfp/erf_gamma.c: Likewise.
10652
        * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
10653
        declarations and macros.
10654
        Regenerated all Makefile.in, aclocal.m4 and configure files to
10655
        use new libtool macros in top-level libtool.m4
10656
 
10657
2002-06-05  Jeff Johnston  
10658
 
10659
        * libc/include/string.h[__linux__]: Add strsignal prototype.
10660
        * libc/include/sys/lock.h: New file with default locking support.
10661
        * libc/include/sys/reent.h: Add signal buffer support for strsignal
10662
        and psignal.
10663
        * libc/posix/Makefile.am: Add support for readdir_r.c.
10664
        * libc/posix/Makefile.in: Regenerated.
10665
        * libc/posix/closedir.c: Add locking support and hash table cleanup.
10666
        * libc/posix/opendir.c: Add lock support.
10667
        * libc/posix/readdir.c: Ditto.
10668
        * libc/posix/rewinddir.c: Ditto.
10669
        * libc/posix/scandir.c: Ditto.
10670
        * libc/posix/seekdir.c: Ditto.
10671
        * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
10672
        clean up leftover hash table entries.
10673
        * libc/posix/readdir_r.c: New file.
10674
        * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
10675
        * libc/sys/linux/Makefile.in: Regenerated.
10676
        * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
10677
        * libc/sys/linux/sys/signal.h: Add psignal prototype.
10678
        * libc/sys/linux/psignal.c: New file.
10679
        * libc/sys/linux/strsignal.c: Ditto.
10680
 
10681
2002-06-03  Corinna Vinschen  
10682
 
10683
        * libc/include/sys/types.h: Don't define dev_t when compiling for
10684
        Cygwin.
10685
 
10686
2002-05-31  Jeff Johnston  
10687
 
10688
        * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c.  Also
10689
        make siglist.inc dependent on sig.c instead of signal.c.
10690
        * libc/sys/linux/Makefile.in: Regenerated.
10691
        * libc/sys/linux/sig.c: Rename from signal.c and change code to
10692
        use NSIG instead of _NSIG.
10693
        * libc/sys/linux/sigaction.c: New file.
10694
        * libc/sys/linux/signal.c: Changed to be linux signal() function
10695
        so as to override regular newlib default signal.c.
10696
        * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
10697
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10698
        * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
10699
        * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
10700
        * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
10701
        default linux sigset_t typedef by defining it equal to __sigset_t.
10702
        * libc/unix/sigset.c: Add check so code isn't compiled on systems
10703
        with a sigset_t that isn't implemented with a single int.
10704
 
10705
2002-05-30  Jeff Johnston  
10706
 
10707
        * libc/sys/linux/Makefile.am: Add support for new files.
10708
        * libc/sys/linux/Makefile.in: Regenerated.
10709
        * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
10710
        * libc/sys/linux/signal.c: Change to use real-time syscalls for
10711
        sigsuspend, sigprocmask, and sigpending.  Also remove sigaction as
10712
        it is in a separate file now.
10713
        * libc/sys/linux/machine/i386/Makefile.am
10714
        * libc/sys/linux/machine/i386/Makefile.in
10715
        * libc/sys/linux/sys/signal.h: Add include of .
10716
        * libc/sys/linux/sigaction.c: New file.
10717
        * libc/sys/linux/sigqueue.c: Ditto.
10718
        * libc/sys/linux/sigwait.c: Ditto.
10719
        * libc/sys/linux/machine/i386/sigaction.c: Ditto.
10720
        * libc/sys/linux/kernel_sigaction.h: Ditto.
10721
 
10722
2002-05-28  Jeff Johnston  
10723
 
10724
        * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
10725
        tcsendbrk.c.
10726
        * libc/sys/linux/Makefile.in: Regenerated.
10727
        * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
10728
        tcgetpgrp(), and tcsetpgrp() functions.
10729
        * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
10730
        to get __MAX_BAUD rate.
10731
        * libc/sys/linux/machine/i386/include/termios.h: New file.
10732
        * libc/include/machine/termios.h: Ditto.
10733
        * libc/sys/linux/cfspeed.c: Ditto.
10734
        * libc/sys/linux/tcsendbrk.c: Ditto.
10735
 
10736
2002-05-24  Jeff Johnston  
10737
 
10738
        * libc/include/string.h: Add strnlen and strerror_r prototypes.
10739
        * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
10740
        * libc/string/Makefile.in: Regenerated.
10741
        * libc/string/strerror_r.c: New file.
10742
        * libc/string/strnlen.c: New file.
10743
        * libc/sys/linux/Makefile.am: Add rename.c.
10744
        * libc/sys/linux/Makefile.in: Regenerated.
10745
        * libc/sys/linux/rename.c: New file to override default rename.
10746
 
10747
2002-05-24  Thomas Fitzsimmons  
10748
 
10749
        * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
10750
        * libc/sys/linux/sys/time.h: Add conversion macros.
10751
        * libc/sys/linux/sys/types.h: Add FD_ macros.  Include .
10752
        * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
10753
        * libc/sys/linux/gethostname.c: New file.
10754
        * libc/sys/linux/seteuid.c: New file.
10755
        * libc/sys/linux/sysctl.c: New file.
10756
 
10757
2002-05-23  Jeff Johnston  
10758
 
10759
        * libc/string/Makefile.am: Add support for strsep.c.
10760
        * libc/string/Makefile.in: Regenerated.
10761
        * libc/string/strsep.c: New file.
10762
        * libc/string/strtok.c: Change to call __strtok_r service routine.
10763
        * libc/string/strtok_r.c: Add __strtok_r routine which takes
10764
        additional flag parameter regarding whether to skip leading delimeters.
10765
        Change strtok_r to call __strtok_r.
10766
 
10767
2002-05-23  Gareth Pearce  
10768
 
10769
        * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
10770
        * libc/stdio/Makefile.in: Regenerated.
10771
        * libc/stdio/setbuffer.c: New file.
10772
        * libc/stdio/setlinebuf.c: New file.
10773
 
10774
2002-05-23  Jeff Johnston  
10775
 
10776
        * libc/sys/linux/Makefile.am: Add resource.c.
10777
        * libc/sys/linux/Makefile.in: Regenerated.
10778
        * libc/sys/linux/resource.c: New file.
10779
        * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
10780
        * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
10781
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10782
        * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
10783
        are now found in libc/sys/linux/resource.c.
10784
 
10785
2002-05-23  Jeff Johnston  
10786
 
10787
        * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
10788
        to use void * pointers and comply with Single Unix spec.
10789
        * libc/string/bcmp.c: Change to use void * instead of char *.
10790
        * libc/string/bcopy.c: Ditto.
10791
        * libc/string/bzero.c: Ditto.
10792
 
10793
2002-05-22  Jeff Johnston  
10794
 
10795
        * libc/sys/linux/shm_open.c: New file.
10796
        * libc/sys/linux/shm_unlink.c: Ditto.
10797
        * libc/sys/linux/Makefile.am: Add support for shm_open.c and
10798
        shm_unlink.c.
10799
        * libc/sys/linux/Makefile.in: Regenerated.
10800
        * libc/sys/linux/sys/types.h: Add some additional checks to see
10801
        if clock_t or time_t is already defined.
10802
 
10803
2002-05-22  Jeff Johnston  
10804
 
10805
        * Makefile.am: Don't pass $toollibdir down directly in
10806
        AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
10807
        Pass it under the name: top_toollibdir.
10808
        * Makefile.in: Regenerated.
10809
 
10810
2002-05-22  Corinna Vinschen  
10811
 
10812
        * libc/include/sys/types.h: Revert previous patch.
10813
 
10814
2002-05-22  Corinna Vinschen  
10815
 
10816
        * libc/include/sys/types.h: Include cygwin/types.h always under
10817
        Cygwin, not only if _POSIX_THREADS is defined.
10818
 
10819
2002-05-21 Dhananjay Deshpande 
10820
 
10821
        * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
10822
 
10823
2002-05-17  Jeff Johnston  
10824
 
10825
        * Makefile.am: Copy and install headers from sys/machine/include
10826
        directory.  Also pass $toollibdir to lower-level directories.
10827
        * Makefile.in: Regenerated.
10828
        * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
10829
        stderr to use _REENT macro instead of _impure_ptr directly.
10830
        * libc/include/sys/config.h[__i386__][__linux__]: Define
10831
        __DYNAMIC_REENT__.
10832
        * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
10833
        call to __getreent() function if !__SINGLE_THREAD__ and
10834
        __DYNAMIC_REENT__ is set.
10835
        * libc/reent/Makefile.am: Add support for getreent.c.
10836
        * libc/reent/Makefile.in: Regenerated.
10837
        * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
10838
        * libc/sys/linux/Makefile.am: Add support for new files.
10839
        * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
10840
        * libc/sys/linux/Makefile.in: Regenerated.
10841
        * libc/sys/linux/configure: Ditto.
10842
        * libc/sys/linux/io.c: Add poll syscall.  Also weak-alias
10843
        __close, __read, __write, __poll, __open, __lseek, __fcntl from
10844
        their __libc_ counterparts.
10845
        * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
10846
        and weak-alias to regular names.
10847
        * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
10848
        to pread64 and __pread64.
10849
        * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
10850
        * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
10851
        weak-alias to pwrite64.
10852
        * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
10853
        __libc_sched_getscheduler, __libc_sched_get_priority_max,
10854
        __libc_sched_get_priority_min, and __libc_sched_setschedule to
10855
        name with __ instead of __libc_.
10856
        * libc/sys/linux/siglongjmp.c: Include .
10857
        Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
10858
        Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
10859
        * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
10860
        to raise.
10861
        * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
10862
        __libc_send to __send.
10863
        * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
10864
        __gettimeofday.
10865
        * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
10866
        it to wait.  Rename wait3 to __libc_wait3 and weak-alias it to wait3.
10867
        * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
10868
        type and typedef __jmp_buf to jmp_buf.
10869
        * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
10870
        setjmp.S.
10871
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
10872
        * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
10873
        section.
10874
        * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
10875
        prefix for function macros and then use weak_alias() to regular names.
10876
        * libc/sys/linux/machine/i386/syscall.h: Ditto.
10877
        * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
10878
        * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
10879
        to be flockfile() and funlockfile() respectively.
10880
        * libc/sys/linux/sys/types.h
10881
        * libc/reent/getreent.c: New file.
10882
        * libc/sys/linux/flockfile.c: Ditto.
10883
        * libc/sys/linux/funlockfile.c: Ditto.
10884
        * libc/sys/linux/getreent.c: Ditto.
10885
        * libc/sys/linux/pread.c: Ditto.
10886
        * libc/sys/linux/pwrite.c: Ditto.
10887
        * libc/sys/linux/raise.c: Ditto.
10888
        * libc/sys/linux/system.c: Ditto.
10889
        * libc/sys/linux/tcdrain.c: Ditto.
10890
        * libc/sys/linux/machine/i386/i386mach.h: Ditto.
10891
        * libc/sys/linux/machine/i386/setjmp.S: Ditto.
10892
        * libc/sys/linux/machine/i386/syscalls.c: Ditto.
10893
        * libc/sys/linux/machine/i386/weakalias.h: Ditto.
10894
        * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
10895
 
10896
2002-05-14 Dhananjay Deshpande 
10897
 
10898
        * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
10899
        * newlib/libc/sys/h8300hms/read.c: New file.  Magic trap 0xC8 for sim.
10900
        * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
10901
        * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
10902
 
10903
Thu May 16 17:24:57 2002  J"orn Rennecke 
10904
 
10905
        * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
10906
        __LITTLE_ENDIAN__.  make sure r0 has right value at first loop
10907
        exit point.
10908
 
10909
2002-05-15  Thomas Fitzsimmons  
10910
 
10911
        * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
10912
        options when testing natively on i[3456]86-*-linux.
10913
 
10914
        * testsuite/lib/checkoutput.exp (newlib_check_output): Output
10915
        only one pass or fail per test file.  Trim \r's from output
10916
        values received from test programs.  Remove support for named
10917
        tests.
10918
        * testsuite/newlib.locale/UTF-8.exp: Update to support new
10919
        newlib_check_output behaviour.
10920
        * testsuite/newlib.locale/UTF-8.c: Likewise.
10921
 
10922
2002-05-15  Jeff Johnston  
10923
 
10924
        * libc/include/stdlib.h: Add on_exit prototype.
10925
        * libc/include/sys/reent.h (struct _atexit): Add argument array
10926
        and bits to track type of exit routine to support both on_exit
10927
        and atexit.
10928
        (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
10929
        by default and change the setting of the atexit structure.
10930
        (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
10931
        * libc/stdlib/on_exit.c: New file.
10932
        * libc/stdlib/Makefile.am: Add support for on_exit.
10933
        * libc/stdlib/Makefile.in: Regenerated.
10934
        * libc/stdlib/atexit.c: Change to initialize types field.
10935
        * libc/stdlib/exit.c: Change to look at types field for each
10936
        exit routine and either call an atexit-style or an on_exit-style
10937
        routine accordingly.
10938
 
10939
2002-05-13  Jeff Johnston  
10940
 
10941
        * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
10942
        allow v specifier with n or L specifiers.  For vector c format,
10943
        move tmp declaration to the top.
10944
 
10945
2002-05-13  Jeff Johnston  
10946
 
10947
        * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
10948
        the original format specifier when looping for vectors to compensate
10949
        for any changes made in vector %g format processing.
10950
        Also add syntax checking for various invalid scenarios
10951
        involving vector format extensions.
10952
        * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
10953
        return code setting for vector formats.  Also treat vector
10954
        separator mismatch as a match error instead of an input error.
10955
        Perform some syntax checking for vector formats.
10956
 
10957
2002-05-10  Mark Bradshaw  
10958
 
10959
        * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
10960
        * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
10961
        * libc/string/strlcat.c: New file.
10962
        * libc/string/strlcpy.c: New file.
10963
 
10964
2002-05-10  Jeff Johnston  
10965
 
10966
        * libc/string/strchr.c: Fix comment typo.
10967
 
10968
2002-05-08  Thomas Fitzsimmons  
10969
 
10970
        * acinclude.m4: Add support for --enable-newlib-multithread.
10971
        * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
10972
        --enable-newlib-multithread=no.
10973
 
10974
        * libc/stdio/getc_u.c: New file.
10975
        * libc/stdio/getchar_u.c: New file.
10976
        * libc/stdio/putc_u.c: New file.
10977
        * libc/stdio/putchar_u.c: New file.
10978
        * libc/include/stdio.h: Add declarations for getc_unlocked,
10979
        getchar_unlocked, putc_unlocked and putchar_unlocked.
10980
        * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
10981
        (CHEWOUT_FILES): Add new files' .def's.
10982
        * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
10983
 
10984
Wed May  8 17:47:35 2002  J"orn Rennecke 
10985
 
10986
        * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
10987
        Also handle as single quad word when destination ends at last
10988
        byte of first quad word.  Fix byte selection in single quad code.
10989
 
10990
2002-05-07  Thomas Fitzsimmons  
10991
 
10992
        * libc/include/sys/stdio.h: New file.
10993
        * libc/sys/linux/sys/stdio.h: New file.
10994
        * libc/include/stdio.h: Add declarations for flockfile,
10995
        ftrylockfile, and funlockfile.  Include .
10996
        * libc/stdio/clearerr.c: Add file locking.
10997
        * libc/stdio/fclose.c: Likewise.
10998
        * libc/stdio/feof.c: Likewise.
10999
        * libc/stdio/ferror.c: Likewise.
11000
        * libc/stdio/fflush.c: Likewise.
11001
        * libc/stdio/fgetc.c: Likewise.
11002
        * libc/stdio/fgetpos.c: Likewise.
11003
        * libc/stdio/fgets.c: Likewise.
11004
        * libc/stdio/fileno.c: Likewise.
11005
        * libc/stdio/fputc.c: Likewise.
11006
        * libc/stdio/fputs.c: Likewise.
11007
        * libc/stdio/fread.c: Likewise.
11008
        * libc/stdio/freopen.c: Likewise.
11009
        * libc/stdio/fseek.c: Likewise.
11010
        * libc/stdio/ftell.c: Likewise.
11011
        * libc/stdio/fwrite.c: Likewise.
11012
        * libc/stdio/getc.c: Likewise.
11013
        * libc/stdio/putc.c: Likewise.
11014
        * libc/stdio/setvbuf.c: Likewise.
11015
        * libc/stdio/ungetc.c: Likewise.
11016
        * libc/stdio/vfprintf.c: Likewise.
11017
 
11018
2002-05-06  Jeff Johnston  
11019
 
11020
        * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
11021
        support for 'p' format.  Fix code to print bytes for vector
11022
        integer formats that do not specify 'h' or 'l'.
11023
        * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
11024
        for 'p' specifier.  Fix code to scan 16 bytes for vector integer
11025
        formats that do not specify 'h' or 'l'.
11026
 
11027
        * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
11028
 
11029
2002-05-06  Nick Clifton  
11030
 
11031
        * libc/sys/arm/syscalls.c (_rename): Add parameter names.
11032
        (_sbrk): Add cast of return value.
11033
 
11034
2002-05-06  Jeff Johnston  
11035
 
11036
        *  libc/include/sys/reent.h (_l64a_buf): New reentrant area.
11037
        (_REENT_L64A_BUF): New macro for accessing area.
11038
        *  libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
11039
        *  libc/stdlib/Makefile.in: Regenerated.
11040
        *  libc/stdlib/a64l.c: New file.
11041
        *  libc/stdlib/l64a.c: New file.
11042
 
11043
2002-05-06  Jeff Johnston  
11044
 
11045
        * libc/unix/pread.c: Fix typo for _pread_r.
11046
        * libc/unix/pwrite.c: Fix type for _pwrite_r.
11047
        * libc/sys/linux/pread64.c: Fix typo for read syscall.
11048
        * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
11049
 
11050
2002-05-03  Christopher Faylor  
11051
 
11052
        * libc/include/sys/unistd.h: Define getdomainname under cygwin.
11053
 
11054
2002-05-03  Thomas Fitzsimmons  
11055
 
11056
        * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
11057
 
11058
2002-05-01  Christopher Faylor  
11059
 
11060
        * utmp.h: Define more UNIX constants.
11061
 
11062
2002-05-01  Thomas Fitzsimmons  
11063
 
11064
        * Makefile.am: Add support for checking multilibs.
11065
 
11066
        * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
11067
        (SUBDEFS): Add LIBC_EXTRA_DEF.
11068
        * libc/configure.in (LIBC_EXTRA_LIB): New variable.
11069
        (LIBC_EXTRA_DEF): Likewise.
11070
        (extra_dir): Likewise.
11071
        * libc/machine/xscale/machine: New directory.
11072
        * libc/machine/xscale/machine/profile.h: New file.
11073
 
11074
        * Makefile.am (site.exp): Remove newlib_cflags.  Add
11075
        multibuildtop.
11076
        * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
11077
        * testsuite/lib/flags.exp: New file.
11078
        * testsuite/lib/newlib.exp: Load flags.exp.
11079
        (newlib_target_compile): Remove libgloss directory references.
11080
        (newlib_init): Remove newlib_cflags references.
11081
 
11082
2002-04-30  Thomas Fitzsimmons  
11083
 
11084
        * testsuite/lib/newlib.exp (newlib_target_compile): Change
11085
        method of finding libgloss_target_dir.
11086
 
11087
        * Makefile.am (site.exp): Change host_alias, host_triplet,
11088
        target_alias, target_triplet to refer to gcc's host and target
11089
        variables (newlib's build and host variables).
11090
        * testsuite/lib/newlib.exp (newlib_init): Change build
11091
        references to host references, host references to target
11092
        references to reflect Makefile.am changes.
11093
        (newlib_target_compile): Likewise.
11094
        (newlib_finish): Likewise.
11095
 
11096
2002-04-29  Jeff Johnston  
11097
 
11098
        * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
11099
 
11100
2002-04-29  Jonathan Larmour  
11101
 
11102
        * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
11103
        (_system): New function. Ditto.
11104
        * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
11105
        * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
11106
        targets.
11107
 
11108
2002-04-29  Jeff Johnston  
11109
 
11110
        *  libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
11111
        *  libc/unix/Makefile.am: Add pread.c and pwrite.c.
11112
        *  libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
11113
        *  libc/sys/linux/Makefile.in: Regenerated.
11114
        *  libc/unix/Makefile.in: Ditto.
11115
        *  libc/sys/linux/pread64.c: New file.
11116
        *  libc/sys/linux/pwrite64.c: Ditto.
11117
        *  libc/unix/pread.c: Ditto.
11118
        *  libc/unix/pwrite.c: Ditto.
11119
 
11120
2002-04-26  Jeff Johnston  
11121
 
11122
        *  libc/sys/linux/Makefile.am: Add io64.c.
11123
        *  libc/sys/linux/Makefile.in: Regenerated.
11124
        *  libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
11125
        *  libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
11126
        *  libc/sys/linux/io64.c: New file.
11127
 
11128
2002-04-26  Jeff Johnston  
11129
 
11130
        * configure.in (CC_FOR_NEWLIB): New variable that
11131
        bases on $(CC) and adds targ-include and libc/include as
11132
        -isystem directives if they are not already part of $(CC).
11133
        * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
11134
        $(CC_FOR_NEWLIB).
11135
        * configure: Regenerated.
11136
        * Makefile.in: Ditto.
11137
 
11138
2002-04-25  Jeff Johnston  
11139
 
11140
        *  libc/sys/linux/Makefile.am: Add support for sched.c.
11141
        *  libc/sys/linux/Makefile.in: Regenerated.
11142
        *  libc/sys/linux/sched.c: New file.
11143
        *  libc/sys/linux/sys/types.h: Add struct timespec.
11144
 
11145
2002-04-25  Thomas Fitzsimmons  
11146
 
11147
        * configure.in (CC_FOR_BUILD): Set to gcc whether
11148
        cross-compiling or not.
11149
        (CC): Add -isystem's for targ-include and libc/include when they
11150
        do not already appear in CC.
11151
 
11152
2002-04-24  Thomas Fitzsimmons  
11153
 
11154
        * Makefile.am (check-DEJAGNU): New target.
11155
        (site.exp): Likewise.
11156
        * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
11157
        with AC_CANONICAL_SYSTEM.  Remove AC_CANONICAL_BUILD.
11158
        * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
11159
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
11160
        * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
11161
        * testsuite: New directory.
11162
        * testsuite/config: Likewise.
11163
        * testsuite/lib: Likewise.
11164
        * testsuite/newlib.locale: Likewise.
11165
        * testsuite/newlib.string: Likewise.
11166
        * testsuite/config/default.exp: New file.
11167
        * testsuite/lib/checkoutput.exp: New file.
11168
        * testsuite/lib/newlib.exp: New file.
11169
        * testsuite/lib/passfail.exp: New file.
11170
        * testsuite/newlib.locale/UTF-8.c: New file.
11171
        * testsuite/newlib.locale/UTF-8.exp: New file.
11172
        * testsuite/newlib.locale/locale.exp: New file.
11173
        * testsuite/newlib.string/string.exp: New file.
11174
        * testsuite/newlib.string/tstring.c: New file.
11175
 
11176
2002-04-23  Jeff Johnston  
11177
 
11178
        *  libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
11179
        *  libc/sys/linux/Makefile.am: Add support for mmap.c.
11180
        *  libc/sys/linux/Makefile.in: Regenerated.
11181
        *  libc/sys/linux/mmap.c: New file.
11182
        *  libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
11183
        *  libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
11184
 
11185
2002-04-22  Thomas Fitzsimmons  
11186
 
11187
        * acinclude.m4 (newlib_cflags): Remove include directories that
11188
        are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
11189
 
11190
2002-04-19  Bill Siegmund  
11191
 
11192
        * libc/machine/xscale/memchr.c: Don't use multi-line strings.
11193
        * libc/machine/xscale/memcmp.c: Ditto.
11194
        * libc/machine/xscale/memcpy.c: Ditto.
11195
        * libc/machine/xscale/memmove.c: Ditto.
11196
        * libc/machine/xscale/memset.c: Ditto.
11197
        * libc/machine/xscale/strchr.c: Ditto.
11198
        * libc/machine/xscale/strcmp.c: Ditto.
11199
        * libc/machine/xscale/strcpy.c: Ditto.
11200
        * libc/machine/xscale/strlen.c: Ditto.
11201
 
11202
2002-04-19  Alexandre Oliva  
11203
 
11204
        * libc/include/sys/config.h: Remove include of .
11205
        (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
11206
        define INT_MAX and LONG_MAX.  Use them in tests.
11207
 
11208
2002-04-19  Jeff Johnston  
11209
 
11210
        *  configure.host: Add support for powerpc-eabialtivec*.
11211
        *  libc/include/malloc.h: Add include of .
11212
        *  libc/include/stdlib.h: Add include of .
11213
        *  libc/include/machine/malloc.h: New file.
11214
        *  libc/include/machine/stdlib.h: Ditto.
11215
        *  libc/include/machine/setjmp.h: Add support for powerpc altivec.
11216
        *  libc/machine/powerpc/Makefile.am: Add conditional objects and
11217
        sources based on configuration.
11218
        *  libc/machine/powerpc/Makefile.in: Regenerated.
11219
        *  libc/machine/powerpc/configure: Ditto.
11220
        *  libc/machine/powerpc/configure.in: Add check for
11221
        powerpc-eabialtivec* in which case add in additional source files.
11222
        *  libc/machine/powerpc/setjmp.S: Add altivec support.
11223
        *  libc/machine/powerpc/vec_calloc.c: New file.
11224
        *  libc/machine/powerpc/vec_free.c: Ditto.
11225
        *  libc/machine/powerpc/vec_malloc.c: Ditto.
11226
        *  libc/machine/powerpc/vec_mallocr.c: Ditto.
11227
        *  libc/machine/powerpc/vec_realloc.c: Ditto.
11228
        *  libc/machine/powerpc/machine/malloc.h: Ditto.
11229
        *  libc/machine/powerpc/machine/stdlib.h: Ditto.
11230
        *  libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
11231
        with added altivec format specifiers.
11232
        *  libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
11233
        added altivec format specifiers.
11234
 
11235
2002-04-19      Joel Sherrill 
11236
 
11237
        * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
11238
        while autoconf is trying to link main(){}.
11239
 
11240
2002-04-17  Jeff Johnston  
11241
 
11242
        * libc/sys/linux/signal.c: Remove include of .
11243
        * libc/sys/linux/sys/signal.h: Add include of .
11244
 
11245
2002-04-17  Jeff Johnston  
11246
 
11247
        * libc/time/time.tex: Add tzset info.
11248
 
11249
2002-04-17  Jeff Johnston  
11250
 
11251
        * libc/include/time.h (tzset, _tzset_r): Added prototypes.
11252
        (strptime): Moved prototype to be within !__STRICT_ANSI__.
11253
        (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
11254
        (tzname): Defined for all platforms.
11255
        (daylight, timezone): Defined only for CYGWIN.
11256
        * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
11257
        environment set up.
11258
        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
11259
        environment variable is set.
11260
        * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
11261
        tzset_r.c.
11262
        * libc/time/Makefile.in: Regenerated.
11263
        * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
11264
        * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
11265
        * libc/time/lcltime_r.c (lcltime_r): Ditto.
11266
        * libc/time/local.h: New local header file.
11267
        * libc/time/mktime.c (mktime): Add timezone support.
11268
        * libc/time/mktm_r.c: New file which is the common engine
11269
        for gmtime_r and lcltime_r.  This code has timezone support.
11270
        * libc/time/strftime.c (strftime): Add %Z timezone support.
11271
        * libc/time/tzlock.c: New file containing timezone lock stubs.
11272
        * libc/time/tzset.c: New file containing tzset() routine.
11273
        * libc/time/tzset_r.c: New file containing _tzset_r and
11274
        internal routine for calculating timezone changes for specified year.
11275
 
11276
2002-04-17  Thomas Fitzsimmons  
11277
 
11278
        * configure.in (CRT0_DIR): Set to libc/.
11279
        (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
11280
        * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
11281
        $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
11282
        $(CRT1_DIR)/$(CRT1).
11283
        * libc/machine/xstormy16/Makefile.in: Regenerated.
11284
        * libc/machine/xstormy16/aclocal.m4: Regenerated.
11285
        * libc/machine/xstormy16/configure: Regenerated.
11286
 
11287
2002-04-13  Alexandre Oliva  
11288
 
11289
        * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
11290
        fails, don't bail out, and try to correct next time.
11291
 
11292
        * libc/include/sys/config.h: Include limits.h.
11293
 
11294
2002-04-12  Eric Norum  
11295
 
11296
        * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
11297
        routine to allow autoconf to determine that building executables
11298
        for rtems works.
11299
        (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
11300
        (rtems_gxx_mutex_once): Ditto.
11301
 
11302
2002-04-09  Tom Rix  
11303
 
11304
        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
11305
 
11306
2002-04-09  Mark Bradshaw  
11307
 
11308
        * libc/include/time.h: Fix strptime declaration.
11309
        * libc/time/Makefile.am: Add strptime.c.
11310
        * libc/time/Makefile.in: Regenerated.
11311
        * libc/time/strptime.c: New file.
11312
 
11313
2002-04-08  Jeff Johnston  
11314
 
11315
        * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
11316
        siglongjmp prototype, and sigsetjmp macro definition.
11317
        * libc/sys/linux/siglongjmp.c: New file.
11318
        * libc/sys/linux/Makefile.am: Add support for siglongjmp.
11319
        * libc/sys/linux/Makefile.in: Regenerated.
11320
 
11321
2002-04-04  Jeff Johnston  
11322
 
11323
        * Makefile.am: Add support for installing crt1.o if one exists.
11324
        * configure.host: Specify crt1.o for linux.
11325
        * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
11326
        * Makefile.in: Regenerated.
11327
        * configure: Ditto.
11328
        * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
11329
        Added for non-Cygwin, non-RTEMS configurations.
11330
        * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
11331
        * libc/sys/linux/Makefile.in: Regenerated.
11332
        * libc/sys/linux/crt1.c: New empty file to override one defaulted
11333
        by gcc.  This fixes problem with reconfiguring linux newlib build.
11334
        * libc/sys/linux/sysconf.c: New file.
11335
 
11336
2002-04-03  Jeff Johnston  
11337
 
11338
        * configure.host: Add support for machine subdirectory of
11339
        sys subdirectory.
11340
        * configure.in: Add check for sys machine subdirectory.
11341
        * Makefile.am: Ditto.
11342
        * configure: Regenerated.
11343
        * Makefile.in: Ditto.
11344
        * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
11345
        * libc/sys/linux/sys/syscall.h: Ditto.
11346
        * libc/sys/linux/sleep.c: New file.
11347
        * libc/sys/linux/socket.c: Ditto.
11348
        * libc/sys/linux/sockops.h: Ditto.
11349
        * libc/sys/linux/stack.c: Ditto.
11350
        * libc/sys/linux/usleep.c: Ditto.
11351
        * libc/sys/linux/machine/Makefile.am: Ditto.
11352
        * libc/sys/linux/machine/Makefile.in: Ditto.
11353
        * libc/sys/linux/machine/aclocal.m4: Ditto.
11354
        * libc/sys/linux/machine/configure: Ditto.
11355
        * libc/sys/linux/machine/configure.in: Ditto.
11356
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
11357
        * libc/sys/linux/machine/i386/Makefile.in: Ditto.
11358
        * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
11359
        * libc/sys/linux/machine/i386/configure: Ditto.
11360
        * libc/sys/linux/machine/i386/configure.in: Ditto.
11361
        * libc/sys/linux/machine/i386/crt0.c: Ditto.
11362
        * libc/sys/linux/machine/i386/sigset.c: Ditto.
11363
        * libc/sys/linux/machine/i386/sigstack.h: Ditto.
11364
        * libc/sys/linux/machine/i386/socketcall.h: Ditto.
11365
        * libc/sys/linux/machine/i386/syscall.h: Ditto.
11366
        * libc/sys/linux/sys/select.h: Ditto.
11367
        * libc/sys/linux/configure.in: Add support for machine directory.
11368
        * libc/sys/linux/Makefile.am: Ditto plus add new files above.
11369
        * libc/sys/linux/Makefile.in: Regenerated.
11370
        * libc/sys/linux/configure: Ditto.
11371
        * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
11372
        * libc/sys/linux/inode.c: Ditto.
11373
        * libc/sys/linux/linux.c: Ditto.
11374
        * libc/sys/linux/process.c: Ditto.
11375
        * libc/sys/linux/systat.c: Ditto.
11376
        * libc/sys/linux/time.c: Ditto.
11377
        * libc/sys/linux/wait.c: Ditto.
11378
        * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
11379
        * libc/sys/linux/io.c: Change header plus add readv/writev.
11380
        * libc/sys/linux/signal.c: Change header plus change sigsuspend to
11381
        use __sigsuspend syscall.
11382
        * libc/sys/linux/select.c: Change header plus change select to
11383
        use _newselect syscall.
11384
        * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
11385
        used by glibc header files.
11386
        * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
11387
        types.
11388
 
11389
2002-04-01  Jeff Johnston  
11390
 
11391
        * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
11392
        initializing a struct _reent that has been dynamically allocated.
11393
        (_REENT_CHECK_MISC): New macro that checks _misc struct for
11394
        _REENT_SMALL and does nothing otherwise.
11395
        (_REENT_STRTOK_LAST): New macro for reentrant strtok.
11396
        (_REENT_MBLEN_STATE): New macro for reentrant mblen.
11397
        (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
11398
        (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
11399
        [_REENT_SMALL](struct _misc_reent): New structure containing
11400
        miscellaneous reentrant areas needed by newlib.
11401
        [_REENT_SMALL](struct _reent): Add _misc pointer.
11402
        [_REENT_SMALL](_REENT_INIT_MISC): New macro.
11403
        * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
11404
        and _REENT_STRTOK_LAST macros.
11405
        * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
11406
        and _REENT_MBLEN_STATE macros.
11407
        * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
11408
        and _REENT_MBTOWC_STATE macros.
11409
        * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
11410
        and _REENT_WCTOMB_STATE macros.
11411
 
11412
2002-04-01  Till Straumann 
11413
 
11414
        * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
11415
 
11416
Wed Mar 27 07:34:44 2002  Jason Tishler 
11417
 
11418
        * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
11419
 
11420
Tue Mar 26 17:17:10 2002  J"orn Rennecke 
11421
 
11422
        * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
11423
        Store high part of leading bytes too.
11424
 
11425
2002-03-22  Richard Sandiford  
11426
 
11427
        * libm/math/ef_hypot.c: Increase scale factor to 68.
11428
 
11429
2002-03-13  Alexandre Oliva  
11430
 
11431
        * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
11432
        error.
11433
 
11434
2002-03-12  Jeff Johnston  
11435
 
11436
        * libc/sys/go32/access.c: Change license to relaxed license
11437
        used in identical file throughout newlib/libgloss.
11438
 
11439
2002-03-12  Richard Earnshaw  
11440
 
11441
        * libc/sys/arm/access.c: New file.
11442
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
11443
        * libc/sys/arm/Makefile.in: Regenerate.
11444
        * libc/sys/arm/syscalls.c (_stat): New function.
11445
 
11446
2002-03-11  Michael Meissner  
11447
 
11448
        * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
11449
        variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
11450
        * libc/machine/mips/Makefile.in: Regenerate.
11451
        * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
11452
        * libc/machine/mips/memset.c: Dito.
11453
        * libc/machine/mips/strcmp.c: Dito.
11454
        * libc/machine/mips/strlen.c: Dito.
11455
        * libc/machine/mips/strncmp.c: Dito.
11456
 
11457
2002-03-06  Jeff Johnston  
11458
 
11459
        * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
11460
        object so it works for shared library or statici library.
11461
2002-04-17  Jeff Johnston  
11462
 
11463
        *  libc/include/time.h (tzset, _tzset_r): Added prototypes.
11464
        (strptime): Moved prototype to be within !__STRICT_ANSI__.
11465
        (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
11466
        (tzname): Defined for all platforms.
11467
        (daylight, timezone): Defined only for CYGWIN.
11468
        *  libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
11469
        environment set up.
11470
        * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
11471
        environment variable is set.
11472
        *  libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
11473
        tzset_r.c.
11474
        *  libc/time/Makefile.in: Regenerated.
11475
        *  libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
11476
        *  libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
11477
        *  libc/time/lcltime_r.c (lcltime_r): Ditto.
11478
        *  libc/time/local.h: New local header file.
11479
        *  libc/time/mktime.c (mktime): Add timezone support.
11480
        *  libc/time/mktm_r.c: New file which is the common engine
11481
        for gmtime_r and lcltime_r.  This code has timezone support.
11482
        *  libc/time/strftime.c (strftime): Add %Z timezone support.
11483
        *  libc/time/tzlock.c: New file containing timezone lock stubs.
11484
        *  libc/time/tzset.c: New file containing tzset() routine.
11485
        *  libc/time/tzset_r.c: New file containing _tzset_r and
11486
        internal routine for calculating timezone changes for specified year.
11487
 
11488
2002-04-17  Thomas Fitzsimmons  
11489
 
11490
        * configure.in (CRT0_DIR): Set to libc/.
11491
        (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
11492
        * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
11493
        $(CRT0_DIR)$(CRT0) to prevent make warnings.  Likewise for
11494
        $(CRT1_DIR)/$(CRT1).
11495
        * libc/machine/xstormy16/Makefile.in: Regenerated.
11496
        * libc/machine/xstormy16/aclocal.m4: Regenerated.
11497
        * libc/machine/xstormy16/configure: Regenerated.
11498
 
11499
2002-04-13  Alexandre Oliva  
11500
 
11501
        * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
11502
        fails, don't bail out, and try to correct next time.
11503
 
11504
        * libc/include/sys/config.h: Include limits.h.
11505
 
11506
2002-04-12  Eric Norum  
11507
 
11508
        * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
11509
        routine to allow autoconf to determine that building executables
11510
        for rtems works.
11511
        (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
11512
        (rtems_gxx_mutex_once): Ditto.
11513
 
11514
2002-04-09  Tom Rix  
11515
 
11516
        * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
11517
 
11518
2002-04-09  Mark Bradshaw  
11519
 
11520
        * libc/include/time.h: Fix strptime declaration.
11521
        * libc/time/Makefile.am: Add strptime.c.
11522
        * libc/time/Makefile.in: Regenerated.
11523
        * libc/time/strptime.c: New file.
11524
 
11525
2002-04-08  Jeff Johnston  
11526
 
11527
        * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
11528
        siglongjmp prototype, and sigsetjmp macro definition.
11529
        * libc/sys/linux/siglongjmp.c: New file.
11530
        * libc/sys/linux/Makefile.am: Add support for siglongjmp.
11531
        * libc/sys/linux/Makefile.in: Regenerated.
11532
 
11533
2002-04-04  Jeff Johnston  
11534
 
11535
        * Makefile.am: Add support for installing crt1.o if one exists.
11536
        * configure.host: Specify crt1.o for linux.
11537
        * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
11538
        * Makefile.in: Regenerated.
11539
        * configure: Ditto.
11540
        * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
11541
        Added for non-Cygwin, non-RTEMS configurations.
11542
        * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
11543
        * libc/sys/linux/Makefile.in: Regenerated.
11544
        * libc/sys/linux/crt1.c: New empty file to override one defaulted
11545
        by gcc.  This fixes problem with reconfiguring linux newlib build.
11546
        * libc/sys/linux/sysconf.c: New file.
11547
 
11548
2002-04-03  Jeff Johnston  
11549
 
11550
        * configure.host: Add support for machine subdirectory of
11551
        sys subdirectory.
11552
        * configure.in: Add check for sys machine subdirectory.
11553
        * Makefile.am: Ditto.
11554
        * configure: Regenerated.
11555
        * Makefile.in: Ditto.
11556
        * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
11557
        * libc/sys/linux/sys/syscall.h: Ditto.
11558
        * libc/sys/linux/sleep.c: New file.
11559
        * libc/sys/linux/socket.c: Ditto.
11560
        * libc/sys/linux/sockops.h: Ditto.
11561
        * libc/sys/linux/stack.c: Ditto.
11562
        * libc/sys/linux/usleep.c: Ditto.
11563
        * libc/sys/linux/machine/Makefile.am: Ditto.
11564
        * libc/sys/linux/machine/Makefile.in: Ditto.
11565
        * libc/sys/linux/machine/aclocal.m4: Ditto.
11566
        * libc/sys/linux/machine/configure: Ditto.
11567
        * libc/sys/linux/machine/configure.in: Ditto.
11568
        * libc/sys/linux/machine/i386/Makefile.am: Ditto.
11569
        * libc/sys/linux/machine/i386/Makefile.in: Ditto.
11570
        * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
11571
        * libc/sys/linux/machine/i386/configure: Ditto.
11572
        * libc/sys/linux/machine/i386/configure.in: Ditto.
11573
        * libc/sys/linux/machine/i386/crt0.c: Ditto.
11574
        * libc/sys/linux/machine/i386/sigset.c: Ditto.
11575
        * libc/sys/linux/machine/i386/sigstack.h: Ditto.
11576
        * libc/sys/linux/machine/i386/socketcall.h: Ditto.
11577
        * libc/sys/linux/machine/i386/syscall.h: Ditto.
11578
        * libc/sys/linux/sys/select.h: Ditto.
11579
        * libc/sys/linux/configure.in: Add support for machine directory.
11580
        * libc/sys/linux/Makefile.am: Ditto plus add new files above.
11581
        * libc/sys/linux/Makefile.in: Regenerated.
11582
        * libc/sys/linux/configure: Ditto.
11583
        * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
11584
        * libc/sys/linux/inode.c: Ditto.
11585
        * libc/sys/linux/linux.c: Ditto.
11586
        * libc/sys/linux/process.c: Ditto.
11587
        * libc/sys/linux/systat.c: Ditto.
11588
        * libc/sys/linux/time.c: Ditto.
11589
        * libc/sys/linux/wait.c: Ditto.
11590
        * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
11591
        * libc/sys/linux/io.c: Change header plus add readv/writev.
11592
        * libc/sys/linux/signal.c: Change header plus change sigsuspend to
11593
        use __sigsuspend syscall.
11594
        * libc/sys/linux/select.c: Change header plus change select to
11595
        use _newselect syscall.
11596
        * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
11597
        used by glibc header files.
11598
        * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
11599
        types.
11600
 
11601
2002-04-01  Jeff Johnston  
11602
 
11603
        * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
11604
        initializing a struct _reent that has been dynamically allocated.
11605
        (_REENT_CHECK_MISC): New macro that checks _misc struct for
11606
        _REENT_SMALL and does nothing otherwise.
11607
        (_REENT_STRTOK_LAST): New macro for reentrant strtok.
11608
        (_REENT_MBLEN_STATE): New macro for reentrant mblen.
11609
        (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
11610
        (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
11611
        [_REENT_SMALL](struct _misc_reent): New structure containing
11612
        miscellaneous reentrant areas needed by newlib.
11613
        [_REENT_SMALL](struct _reent): Add _misc pointer.
11614
        [_REENT_SMALL](_REENT_INIT_MISC): New macro.
11615
        * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
11616
        and _REENT_STRTOK_LAST macros.
11617
        * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
11618
        and _REENT_MBLEN_STATE macros.
11619
        * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
11620
        and _REENT_MBTOWC_STATE macros.
11621
        * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
11622
        and _REENT_WCTOMB_STATE macros.
11623
 
11624
2002-04-01  Till Straumann 
11625
 
11626
        * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
11627
 
11628
Wed Mar 27 07:34:44 2002  Jason Tishler 
11629
 
11630
        * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
11631
 
11632
Tue Mar 26 17:17:10 2002  J"orn Rennecke 
11633
 
11634
        * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
11635
        Store high part of leading bytes too.
11636
 
11637
2002-03-22  Richard Sandiford  
11638
 
11639
        * libm/math/ef_hypot.c: Increase scale factor to 68.
11640
 
11641
2002-03-13  Alexandre Oliva  
11642
 
11643
        * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
11644
        error.
11645
 
11646
2002-03-12  Jeff Johnston  
11647
 
11648
        * libc/sys/go32/access.c: Change license to relaxed license
11649
        used in identical file throughout newlib/libgloss.
11650
 
11651
2002-03-12  Richard Earnshaw  
11652
 
11653
        * libc/sys/arm/access.c: New file.
11654
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
11655
        * libc/sys/arm/Makefile.in: Regenerate.
11656
        * libc/sys/arm/syscalls.c (_stat): New function.
11657
 
11658
2002-03-11  Michael Meissner  
11659
 
11660
        * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
11661
        variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
11662
        * libc/machine/mips/Makefile.in: Regenerate.
11663
        * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
11664
        * libc/machine/mips/memset.c: Dito.
11665
        * libc/machine/mips/strcmp.c: Dito.
11666
        * libc/machine/mips/strlen.c: Dito.
11667
        * libc/machine/mips/strncmp.c: Dito.
11668
 
11669
2002-03-06  Jeff Johnston  
11670
 
11671
        * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
11672
        object so it works for shared library or statici library.
11673
        * libc/machine/i386/Makefile.in: Regenerated.
11674
 
11675
Wed Mar  6 10:24:26 2002  J"orn Rennecke 
11676
 
11677
        * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
11678
        Add memcpy.S, memset.S and strcpy.S.
11679
        * libc/machine/sh/Makefile.in: Regenerate.
11680
        * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
11681
        (SHHI, SHLO): Define.
11682
        * libc/machine/sh/memset.S: Add code for SH5.
11683
        * libc/machine/sh/memset.S: Likewise.
11684
        * libc/machine/sh/strcpy.S: Likewise.
11685
 
11686
2002-02-27  Jeff Johnston  
11687
 
11688
        * configure.host: Add check for --disable-newlib-io-float
11689
        configuration option and add -DNO_FLOATING_POINT to newlib cflags
11690
        if appropriate.
11691
        * acinclude.m4: Added --disable-newlib-io-float option.
11692
        * aclocal.m4: Regenerated.
11693
        * configure: Ditto.
11694
        * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11695
        * libc/*/aclocal.m4 libc/*/configure
11696
        * libm/*/aclocal.m4 libm/*/configure: Ditto.
11697
        * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
11698
        if NO_FLOATING_POINT flag is not defined.
11699
 
11700
2002-02-25  Jeff Johnston  
11701
 
11702
        * libc/include/sys/config.h: Add __extension__ in front of
11703
        long long references.
11704
 
11705
2002-02-23  Corinna Vinschen  
11706
 
11707
        * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
11708
        (_stat): Ditto.
11709
 
11710
2002-02-23  Corinna Vinschen  
11711
 
11712
        * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
11713
        of off_t.
11714
 
11715
2002-02-20  Nick Clifton  
11716
 
11717
        * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
11718
        clobbered registers.
11719
 
11720
2002-02-19  Thomas Fitzsimmons  
11721
 
11722
        * configure.host (newlib_cflags): When host is in m68* add
11723
        -DCOMPACT_CTYPE.
11724
 
11725
2002-02-15  Jeff Johnston  
11726
 
11727
        * libc/include/sys/config.h: Add definitions for
11728
        __int16_t, __uint16_t, __int64_t, and __uint64_t.
11729
 
11730
2002-02-12  Hans-Peter Nilsson  
11731
 
11732
        * libc/sys/mmixware/link.c: New.
11733
        * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
11734
        volatile.
11735
        * libc/sys/mmixware/times.c (_times): Renamed from times.
11736
        * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
11737
        properly by reading previous contents, not through BinaryReadWrite.
11738
        * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
11739
        * libc/sys/mmixware/Makefile.in: Regenerate.
11740
 
11741
2002-02-10  Corinna Vinschen  
11742
 
11743
        * libc/include/grp.h: Don't declare group functions when compiling
11744
        Cygwin.
11745
 
11746
2002-02-09  Corinna Vinschen  
11747
 
11748
        * libc/include/grp.h: Include Cygwin specific header.
11749
        * libc/include/sys/stat.h: Ditto.  Don't define `struct stat'
11750
        when compiling for Cygwin.
11751
        * libc/include/sys/types.h: Don't define off_t, uid_t
11752
        and gid_t when compiling for Cygwin.
11753
 
11754
2002-02-08  matthew green  
11755
 
11756
        * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
11757
        _REENT_EMERGENCY_SIZE, not sizeof(char *).
11758
 
11759
2002-02-08  Alexandre Oliva  
11760
 
11761
        Contribute sh64-elf.
11762
        2001-03-13  Alexandre Oliva  
11763
        * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
11764
        support in printf.
11765
        2001-01-29  Alexandre Oliva  
11766
        * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
11767
        any labels.
11768
        2001-01-24  Alexandre Oliva  
11769
        * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
11770
        2000-12-16  Alexandre Oliva  
11771
        * libc/machine/sh/configure.in: Rework conditionals.
11772
        * libc/machine/sh/Makefile.am: Likewise.
11773
        * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
11774
        2000-12-01  Alexandre Oliva  
11775
        * configure.host: Match `sh*'.
11776
        * libc/include/machine/setjmp.h: Define for SH5.
11777
        * libc/machine/sh/configure.in: Detect SH5.
11778
        * libc/machine/sh/configure: Rebuilt.
11779
        * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
11780
        * libc/machine/sh/Makefile.in: Rebuilt.
11781
        * libc/machine/sh/asm.h: Adjust for SH5.
11782
        * libc/machine/sh/setjmp.S: Implement in SHmedia.
11783
        * libc/sys/sh/crt0.S: Likewise.
11784
        * libc/sys/sh/trap.S: Likewise.
11785
 
11786
2002-02-07  Jeff Johnston  
11787
 
11788
        * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
11789
        (mach_add_obj): Conditionally set to setjmp.o or nothing.
11790
        (LIB_SOURCES): Remove $(mach_add_src).
11791
        (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
11792
        (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
11793
        * libc/machine/i386/Makefile.in: Regenerate.
11794
 
11795
2002-02-05  Manik Raina 
11796
 
11797
        * libc/misc/dprintf.c (parse_number): #if 0 unused function.
11798
        * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
11799
        s, p, k, and outstr.
11800
        * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
11801
 
11802
2002-02-04  Jeff Johnston  
11803
 
11804
        * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
11805
        _REENT_CHECK_EMERGENCY macro.
11806
 
11807
2002-02-03  matthew green  
11808
 
11809
        * libc/reent/signgam.c (__signgam): Fix error in previous.
11810
 
11811
2002-02-02  matthew green  
11812
 
11813
        * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
11814
 
11815
        * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
11816
        * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
11817
        * libc/include/sys/reent.h (struct _reent): Completely new version
11818
        for _REENT_SMALL.
11819
        (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
11820
        (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
11821
        (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
11822
        (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
11823
        (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
11824
        (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
11825
        (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
11826
        (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
11827
        (_REENT_EMERGENCY): Likewise.
11828
 
11829
        * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
11830
        the start of the real __sFILE, used for stdin, stdout and stderr until
11831
        they are setup properly.
11832
        (struct __sFILE): Move location of _data in _REENT_SMALL case.
11833
        * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
11834
        allocated stdin, stdout and stderr.
11835
        * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
11836
        * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
11837
        * libc/stdio/perror.c (_perror_r): Likewise.
11838
        * libc/stdio/printf.c (printf, _printf_r): Likewise.
11839
        * libc/stdio/putchar.c (_putchar_r): Likewise.
11840
        * libc/stdio/puts.c (_puts_r): Likewise.
11841
        * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
11842
        * libc/stdio/vprintf.c (vprintf): Likewise.
11843
        * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
11844
 
11845
        * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
11846
 
11847
        * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
11848
        * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
11849
        for _REENT_SMALL.
11850
        * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
11851
        * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
11852
 
11853
        * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
11854
        _REENT_SMALL.
11855
        * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
11856
        * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
11857
        * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
11858
        * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
11859
        * libc/stdlib/rand48.c (__dorand48): Likewise.
11860
        * libc/stdlib/seed48.c (_seed48_r): Likewise.
11861
        * libc/stdlib/srand48.c (_srand48_r): Likewise.
11862
        * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
11863
        as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
11864
        * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP().  Use
11865
        _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
11866
        * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
11867
        * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
11868
        * libc/stdlib/rand.c (rand): Likewise.
11869
 
11870
        * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
11871
        * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
11872
 
11873
        * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP.  Use
11874
        _REENT_MP_FREELIST() and _REENT_MP_P5S.
11875
        * libc/include/sys/reent.h (struct _mprec): New structure.
11876
 
11877
        * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
11878
        _unused_strtok_last.
11879
        * libc/string/strtok.c (strtok): Use a local static variable.
11880
 
11881
        * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
11882
        (_REENT_EMERGENCY_SIZE): Likewise.
11883
        * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF().  Use
11884
        _REENT_ASCTIME_BUF().
11885
        * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM().  Use
11886
        _REENT_TM().
11887
 
11888
        * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
11889
        * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
11890
        * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
11891
        * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
11892
        * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
11893
        * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
11894
 
11895
2002-02-01  Geoffrey Keating  
11896
 
11897
        * configure.host (xstormy16): Don't use the generic malloc.
11898
        * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
11899
        * libc/machine/xstormy16/Makefile.in: Regenerate.
11900
        * libc/machine/xstormy16/mallocr.c: New file.
11901
        * libc/machine/xstormy16/tiny-malloc.c: New file.
11902
 
11903
2002-01-28  Thomas Fitzsimmons  
11904
 
11905
        * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
11906
        when _CYGWIN_TYPES_H is not defined.
11907
 
11908
2002-01-24  Thomas Fitzsimmons  
11909
 
11910
        * libc/include/sys/signal.h: Revert 2002-01-23 change.
11911
 
11912
2002-01-23  Thomas Fitzsimmons  
11913
 
11914
        * libc/include/sys/signal.h: Remove pthread_kill declaration
11915
        when __CYGWIN__ is defined.
11916
 
11917
2002-01-18  Mark Bradshaw  
11918
 
11919
        * libc/include/time.h: Add prototype for strptime for Cygwin.
11920
 
11921
2002-01-17  Nick Clifton  
11922
 
11923
        * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
11924
        dst was not word aligned.
11925
 
11926
        * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
11927
        if too much memory is requested.
11928
 
11929
2002-01-11 Jeff Johnston  
11930
 
11931
        * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
11932
        reads blanks from the input file to break if EOF reached
11933
        rather than end processing.
11934
 
11935
2002-01-07 Jeff Johnston  
11936
 
11937
        * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
11938
 
11939
2002-01-07 Alan Matsuoka 
11940
 
11941
        * libc/include/machine/ieeefp.h: Configure d10v doubles to
11942
        be 32 bits if __DOUBLE__ == 32  otherwise doubles are 64 bits.
11943
        libc/include/sys/config.h: Ditto.
11944
 
11945
2001-12-28  Corinna Vinschen  
11946
 
11947
        * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
11948
 
11949
2001-12-22  Geoffrey Keating  
11950
            Catherine Moore  
11951
            Richard Henderson  
11952
            Corinna Vinschen  
11953
 
11954
        * configure.host: Add support for xstormy16.
11955
        * libc/include/machine/ieeefp.h: Add support for xstormy16.
11956
        * libc/include/machine/setjmp.h: Add support for xstormy16.
11957
        * libc/include/sys/config.h: Add support for xstormy16.
11958
        * libc/machine/xstormy16/Makefile.am: New file.
11959
        * libc/machine/xstormy16/Makefile.in: New file.
11960
        * libc/machine/xstormy16/aclocal.m4: New file.
11961
        * libc/machine/xstormy16/configure: New file.
11962
        * libc/machine/xstormy16/configure.in: New file.
11963
        * libc/machine/xstormy16/setjmp.S: New file.
11964
 
11965
2001-12-19  Thomas Fitzsimmons  
11966
 
11967
        * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
11968
        * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
11969
 
11970
2001-12-19  Corinna Vinschen  
11971
 
11972
        * libm/machine/Makefile.am: Change rules to create correct lib.a.
11973
        * libm/machine/Makefile.in: Regenerated through automake.
11974
 
11975
2001-12-18  Thomas Fitzsimmons  
11976
 
11977
        * Makefile.am (DOCDIR): Force to empty string when doc
11978
        directory is not present.
11979
 
11980
2001-12-18  Thomas Fitzsimmons  
11981
 
11982
        * libc/machine/i386/f_*: Move to libm/machine/i386.
11983
 
11984
2001-12-18      Joel Sherrill 
11985
 
11986
        * libm/machine/Makefile.am: Add dummy doc stub so
11987
        "make info" works.
11988
 
11989
2001-12-17      Joel Sherrill 
11990
 
11991
        * libc/include/sys/types.h (ino_t): RTEMS uses long also.
11992
 
11993
2001-12-17  Thomas Fitzsimmons  
11994
 
11995
        * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
11996
        $(COMPILE) rather than $(CC).
11997
        * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
11998
        (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
11999
        $(LIB_COMPILE) change.
12000
        (vfiprintf.$(oext)): Likewise.
12001
 
12002
2001-12-17  Corinna Vinschen  
12003
 
12004
        * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
12005
        conditionalized including of getopt stuff.
12006
 
12007
2001-12-14  Thomas Fitzsimmons  
12008
 
12009
        * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
12010
        compile line.
12011
        (vfiprintf.$(oext)): Likewise.
12012
 
12013
2001-12-13  Thomas Fitzsimmons  
12014
 
12015
        * Makefile.shared: New file.
12016
        * libc/sys/linux/shared.ld: New file.
12017
        * libm/machine/*: New files.
12018
        * libm/machine/i386/*: New files.
12019
        * Makefile.am: Add libtool support.  Change math and mathfp
12020
        references to variables.
12021
        * configure.host: Add variables for libtool support.  Add
12022
        libm_machine_dir variable.
12023
        * configure.in: Add objectlist variables, for libtool
12024
        support.  Add CC_FOR_BUILD tests.
12025
        * libc/Makefile.am: Add libtool support.  Change crt0.o
12026
        reference to be a variable reference.
12027
        * libc/configure.in: Add libtool support.  Change sublib
12028
        names to be lib${subdir}.la when using libtool.
12029
        * libc/ctype/Makefile.am: Add libtool support.
12030
        * libc/errno/Makefile.am: Likewise.
12031
        * libc/locale/Makefile.am: Likewise.
12032
        * libc/machine/Makefile.am: Likewise.
12033
        * libc/machine/configure.in: Likewise.
12034
        * libc/machine/i386/Makefile.am: Likewise.
12035
        * libc/machine/i386/configure.in: Likewise.
12036
        * libc/misc/Makefile.am: Likewise.
12037
        * libc/posix/Makefile.am: Likewise.
12038
        * libc/reent/Makefile.am: Likewise.
12039
        * libc/signal/Makefile.am: Likewise.
12040
        * libc/stdio/Makefile.am: Likewise.
12041
        * libc/stdlib/Makefile.am: Likewise.
12042
        * libc/string/Makefile.am: Likewise.
12043
        * libc/sys/Makefile.am: Likewise.
12044
        * libc/sys/configure.in: Likewise.
12045
        * libc/sys/linux/Makefile.am: Add libtool support.  Change
12046
        awk reference to a variable reference.  Change signal.h
12047
        reference to a variable reference.
12048
        * libc/sys/linux/configure.in: Add libtool support.
12049
        * libc/syscalls/Makefile.am: Likewise.
12050
        * libc/time/Makefile.am: Likewise.
12051
        * libc/unix/Makefile.am: Likewise.
12052
        * libm/Makefile.am: Add libtool support.  Change math and
12053
        mathfp references to variables.
12054
        * libm/configure.in: Add libtool support.  Add
12055
        LIBM_MACHINE_LIB variable.
12056
        * libm/common/Makefile.am: Add libtool support.
12057
        * libm/math/Makefile.am: Likewise.
12058
        * libm/mathfp/Makefile.am: Likewise.
12059
        Regenerate all Makefile.in, aclocal.m4, and configure.
12060
 
12061
2001-12-13 Anita Kulkarni 
12062
 
12063
        * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
12064
 
12065
2001-12-06  John Peacock 
12066
 
12067
        * libc/include/sys/unistd.h: Correct ualarm declaration.
12068
 
12069
2001-12-05  Nick Clifton  
12070
 
12071
        * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
12072
        vector before calling the initialisation functions.
12073
 
12074
2001-11-29  Christopher Faylor  
12075
 
12076
        * libc/include/dirent.h: Protect against multiple inclusion.
12077
 
12078
2001-11-27  Christopher Faylor  
12079
 
12080
        * libc/include/sys/types.h: Define useconds_t.
12081
        * libc/include/sys/ulimit.h: Declare ualarm.
12082
 
12083
2001-11-21  Christopher Faylor  
12084
 
12085
        * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
12086
 
12087
2001-11-19  Hans-Peter Nilsson  
12088
 
12089
        * libc/sys/mmixware/*: Tweak license header in all source files.
12090
 
12091
2001-11-12  Corinna Vinschen  
12092
 
12093
        * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
12094
        to here.  Rearrange for general inclusion by stdlib.h.
12095
        * libc/include/stdlib.h: Include  if __STRICT_ANSI__
12096
        isn't defined.
12097
        * libc/sys/linux/include/alloca.h: Move to libc/include.
12098
 
12099
2001-11-12  Anthony Green  
12100
 
12101
        * libc/sys/arm/crt0.S (__stack_base__): New symbol.
12102
 
12103
2001-11-13  Hans-Peter Nilsson  
12104
 
12105
        * libc/sys/mmixware/*: Correct spacing in all source files.
12106
        * libc/sys/mmixware/syscall.h: Move misplaced file...
12107
        * libc/sys/mmixware/sys/syscall.h: ...here.
12108
 
12109
2001-11-12  Hans-Peter Nilsson  
12110
 
12111
        * libc/include/machine/ieeefp.h: Add support for mmix target.
12112
        * libc/include/machine/setjmp.h: Ditto.
12113
        * configure.host: Ditto.
12114
        * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
12115
        libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
12116
        libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
12117
        libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
12118
        libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
12119
        libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
12120
        libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
12121
        libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
12122
        libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
12123
        libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
12124
        libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
12125
        libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
12126
        libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
12127
        libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
12128
        libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
12129
        libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
12130
        * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
12131
        libc/sys/mmixware/aclocal.m4: Generate.
12132
 
12133
2001-11-05  Corinna Vinschen  
12134
 
12135
        * libc/include/sys/unistd.h: Add prototypes for endusershell(),
12136
        getusershell(), iruserok(), revoke(), ruserok() and setusershell()
12137
        when __CYGWIN__ is defined.
12138
        * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
12139
        logwtmp().
12140
 
12141
2001-11-01  Arati Dikey  
12142
 
12143
        * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
12144
        [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
12145
        * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
12146
        [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
12147
 
12148
2001-10-24  Christopher Faylor  
12149
 
12150
        * libc/stdio/fseek.c: Reset pointer to buffer base
12151
        when forced to seek outside of current buffer contents.
12152
        This prevents the code from erroneously thinking there is
12153
        anything in the current buffer.
12154
 
12155
2001-10-22  Geoffrey Keating  
12156
 
12157
        * libc/include/math.h: The C++ standard adds the single-precision
12158
        versions of the elementary functions.
12159
 
12160
2001-10-22  Christopher Faylor  
12161
 
12162
        * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
12163
        throughout.
12164
        * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
12165
        * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
12166
        * system.c (_system_r): Ditto.
12167
 
12168
2001-10-17  Corinna Vinschen  
12169
 
12170
        * libc/include/sys/unistd.h: Add prototype for fchdir() when
12171
        __CYGWIN__ or __rtems__ is defined.
12172
 
12173
2001-10-01  Charles Wilson  
12174
 
12175
        * libc/include/stdlib.h: add declarations for
12176
        _strtoull_r, _strtoll_r, strtoull, and strtoll.
12177
        * libc/stdio/local.h: remove declarations of
12178
        __strtoull_r and __strtoll_r.
12179
        * libc/stdio/vfscanf.c(__svfscanf_r): call
12180
        _strtoull_r instead of __strtoull_r. Ditto
12181
        _strtoll_r vs. __strtoll_r.
12182
        * libc/stdlib/Makefile.am: add new files to
12183
        .c list and .def list
12184
        * libc/stdlib/Makefile.in: regenerate
12185
        * libc/stdlib/strtoll_r.c: rename __strtoll_r
12186
        as _strtoll_r
12187
        * libc/stdlib/strtoull_r.c: rename __strtoull_r
12188
        as _strtoull_r
12189
        * libc/stdlib/strtoull.c: new file
12190
        * libc/stdlib/strtoll.c: new file
12191
 
12192
Mon Sep 17 17:29:47 2001  Christopher Faylor 
12193
 
12194
        * libc/include/process.h: Add getpid() declaration.
12195
 
12196
2001-09-14  Nick Clifton  
12197
 
12198
        * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
12199
        for new style arm/elf ctor/dtor handling.
12200
        Minor formatting tidy up.
12201
 
12202
2001-09-13  Jeff Johnston  
12203
 
12204
        * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
12205
        and strtoull_r.c.
12206
        * libc/stdlib/Makefile.in: Regenerated.
12207
        * libc/stdlib/strtoll_r.c: New file.
12208
        * libc/stdlib/strtoull_r.c: New file.
12209
        * libc/stdio/local.h: Add prototypes for long long string
12210
        conversion routines.
12211
        * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
12212
        tied to %L integer conversion specifier.
12213
 
12214
Thu Sep 13 08:49:49 2001  Jason Tishler 
12215
 
12216
        * strftime.c (strftime): Fix "%W" implementation to properly handle
12217
        Mondays too.
12218
 
12219
2001-09-07  Jeff Law  
12220
 
12221
        * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
12222
        __fini with "mov.l" instead of "mov.w".
12223
 
12224
2001-09-05  Corinna Vinschen  
12225
 
12226
        * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
12227
        and getopt.h.
12228
 
12229
2001-09-04  Jason Merrill  
12230
 
12231
        * libc/sys/h8300hms/crt0.S: Support ELF initialization.
12232
 
12233
2001-09-03  Corinna Vinschen  
12234
 
12235
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
12236
        field.
12237
        (__DIRENT_VERSION): New define.
12238
 
12239
2001-09-03  Corinna Vinschen  
12240
 
12241
        * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
12242
        Shrink __d_reserved accordingly to keep structure size.
12243
        (dirfd): Declare external.
12244
 
12245
2001-08-29  Joel Sherrill 
12246
 
12247
        * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
12248
 
12249
2001-08-29  Ralf Corsepius 
12250
 
12251
        * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
12252
          libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
12253
          libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
12254
          libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
12255
          libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
12256
          libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
12257
          libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
12258
          libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
12259
        Add conditional compilation to avoid HW FPU instructions
12260
        when compiled for soft-float.
12261
 
12262
2001-08-29  Jeff Johnston  
12263
 
12264
        * Makefile.am: Add check for ln failing when creating libg.a
12265
        so that cp gets used as a backup.
12266
        * Makefile.in: Regenerated.
12267
 
12268
2001-08-29  Jeff Johnston  
12269
 
12270
        * libc/include/sys/reent.h: Add include of .
12271
        No longer include time.h.  Add struct __tm to use for
12272
        _localtime_buf in the reentrant structure.  Add a
12273
        _NULL definition to use in initializing the reentrant struct.
12274
        * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
12275
        the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
12276
        .
12277
        * libc/include/sys/unistd.h: Include .
12278
        * libc/time/lcltime.c (localtime): Cast the reentrant struct
12279
        _localtime_buf to be struct tm *.
12280
 
12281
Wed Aug 29 14:17:38 2001  J"orn Rennecke 
12282
 
12283
        * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
12284
        * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
12285
        __ctors_end.
12286
        * libc/sys/h8300hms/syscalls.c: Include errno.h.
12287
        (_unlink): New stub function.
12288
 
12289
Sat Aug 25 22:22:25 2001  Christopher Faylor 
12290
 
12291
        * libc/include/sys/errno.h: Add a cautionary comment.
12292
 
12293
2001-08-21  Jeff Johnston  
12294
 
12295
        * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
12296
        for SIZE_SZ so that alignment ends up a minimum of 8.
12297
 
12298
Mon Aug 13 22:26:01 2001  Christopher Faylor 
12299
 
12300
        * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
12301
        arguments.
12302
 
12303
        * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
12304
        Cygwin.
12305
 
12306
2001-08-13  Jeff Johnston  
12307
 
12308
        * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
12309
        macro constants for mallopt options.
12310
        (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
12311
 
12312
2001-08-02  Jeff Johnston  
12313
 
12314
        * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
12315
        otherwise default.
12316
 
12317
2001-07-12  Aldy Hernandez  
12318
 
12319
        * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
12320
 
12321
2001-06-27  Nick Clifton  
12322
 
12323
        * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
12324
        Define for little endian ARMs.
12325
 
12326
        * libc/stdlib/mprec.h (Storeinc): Use little endian version if
12327
        __IEEE_BYTES_LITTLE_ENDIAN is defined.
12328
 
12329
2001-06-11  Danny Smith  
12330
 
12331
        * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
12332
 
12333
2001-06-11  Egor Duda  
12334
 
12335
        * libc/ctype/ctype_.c: When compiled with gcc on platforms
12336
        with signed char, make _ctype_[-128] ... _ctype[-1] refer to
12337
        initialized memory region. Platform can define COMPACT_CTYPE
12338
        to avoid allocation of the additional 128 bytes of data.
12339
        Add pointer to _ctype_ array. Always initialize all _ctype_
12340
        array elements.
12341
 
12342
2001-06-08  Jonathan Larmour  
12343
 
12344
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
12345
        NULL pointer.
12346
 
12347
2001-05-28  Nick Clifton  
12348
 
12349
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
12350
 
12351
2001-05-25  Nick Clifton  
12352
 
12353
        * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
12354
        matching, non-word alignment, and the length is <= 4 but more than
12355
        enough to move them over a word boundary.
12356
        Add comments explaining what each instruction does.
12357
 
12358
Mon May  7 20:39:25 2001  Christopher Faylor 
12359
 
12360
        * libc/include/sys/stat.h: Revert March 3, Cygwin change.
12361
        * libc/include/sys/unistd.h: Ditto.
12362
 
12363
2001-05-04  Earnie Boyd  
12364
 
12365
        * libc/string/strrchr.c: Use strchr for the speed improvements.
12366
 
12367
2001-05-01  Jeff Johnston  
12368
 
12369
        * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
12370
        real file systems, let __smakebuf() determine if line buffering
12371
        should be used for stdout.
12372
 
12373
2001-04-27  Jeff Johnston  
12374
 
12375
        * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
12376
 
12377
2001-04-27  Jeff Johnston  
12378
 
12379
        * libc/include/stdlib.h: Add prototype for _strtod_r.
12380
 
12381
2001-04-24  Charles Wilson  
12382
 
12383
        * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
12384
        * libc/stdio/vprintf.c (_vprintf_r): new function
12385
        * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
12386
        * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
12387
        _DEFUN, and call _vfprintf_r, not vfprintf.
12388
        * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
12389
        * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
12390
        _DEFUN, and call _vfprintf_r, not vfprintf.
12391
 
12392
2001-04-22  Earnie Boyd  
12393
 
12394
        * libc/include/sys/unistd.h [X_OK]: Use better protection against
12395
        Cygwin X_OK definitions in sys/file.h.
12396
 
12397
Fri Apr 20 23:17:51 2001  Christopher Faylor 
12398
 
12399
        * libc/include/sys/time.h: Define timercmp and other macros for
12400
        __CYGWIN__, too.
12401
 
12402
2001-04-20  Jeff Johnston  
12403
 
12404
        * acinclude.m4: Added --enable-malloc-debugging configure flag.
12405
        * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
12406
        --enable-malloc-debugging selected.
12407
        * aclocal.m4 configure: Regenerated.
12408
          libm/aclocal.m4 libm/configure: Ditto.
12409
        * libc/aclocal.m4 libc/configure: Ditto.
12410
        * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
12411
        * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
12412
        * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
12413
        * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
12414
        * doc/aclocal.m4 doc/configure: Ditto.
12415
 
12416
2001-04-20  Jeff Johnston  
12417
 
12418
        * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
12419
        into one list.
12420
        [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
12421
        (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
12422
        function prototypes.
12423
        (_fscanf_r, _sscanf_r): Ditto.
12424
        * libc/include/stdlib.h: Added _strtod_r prototype.
12425
        * libc/stdio/Makefile.am: Add new v*scanf functions.
12426
        * libc/stdio/Makefile.in: Regenerate.
12427
        * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
12428
        and code is shared.  Added reentrant _fscanf_r which calls __svfscanf_r.
12429
        * libc/stdio/scanf.c: Changed to call __svfscanf_r.
12430
        * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
12431
        (sscanf): Changed to call __svfscanf_r with _REENT argument.
12432
        (_sscanf_r): New routine.
12433
        * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
12434
        with __svfscanf_r prototype.
12435
        * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
12436
        routines.
12437
        (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
12438
        structure as argument as calls reentrant versions of helper functions
12439
        (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
12440
        to _strtol_r and _strtod_r respectively.
12441
        * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
12442
        * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
12443
        _REENT argument.
12444
        * libc/stdio/vscanf.c: New file.
12445
        * libc/stdio/vsscanf.c: Ditto.
12446
 
12447
2001-04-19  Robert Collins  
12448
 
12449
        * include/time.h[__CYGWIN__]:  Define tzname to _tzname if not defined.
12450
        Define daylight to _daylight if it is not defined
12451
        Prepare a variable export of timezone based on timezonevariable.
12452
        (Cannot be used with the timezone() function.)
12453
 
12454
2001-04-17  Stephen L. Moshier  
12455
 
12456
        * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
12457
         Correct the numerical values.
12458
 
12459
2001-04-13  Robert Collins 
12460
 
12461
        * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
12462
 
12463
Thu Apr 12 23:11:00 2001  Corinna Vinschen 
12464
 
12465
        * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
12466
        on case insensitve file systems.
12467
 
12468
2001-04-12  Robert Collins 
12469
 
12470
        * libc/include/sys/features.h: Add appropriate defines for Cygwin
12471
        pthread support.
12472
        * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
12473
        * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
12474
        types.  Include  for the cygwin specific typedefs.
12475
 
12476
2001-04-04  Richard Sandiford  
12477
 
12478
        * libc/include/machine/ieeefp.h: Comment about new configuration
12479
        macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
12480
        * libm/common/fdlib.h: Define new macros for testing floats.
12481
        * libm/common/sf_*: Use them.
12482
        * libm/math/ef_*: Likewise.
12483
        * libm/math/sf_*: Likewise.
12484
 
12485
2001-03-29  Jeff Johnston  
12486
 
12487
        * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
12488
        prolog to by-pass possible assembler error.
12489
 
12490
2001-03-21  Egor Duda  
12491
 
12492
        Allow building internal stubs for non-reentrant syscalls
12493
        if target provides its own malloc
12494
        * libc/reent/reent.c (errno): Move definition here.
12495
        * libc/reent/sbrkr.c: From here.
12496
 
12497
2001-03-20  Danny Smith 
12498
 
12499
        * libc/include/sys/types.h (BSD int typedefs): Guard with
12500
        _BSDTYPES_DEFINED rather than _WINSOCK_H.
12501
        (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
12502
        _SYS_TYPES_FD_SET.
12503
        * libc/include/sys/unistd.h (gethostname): Don't declare if defined
12504
        (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
12505
 
12506
Sat Mar 17 18:30:00 2001  Corinna Vinschen 
12507
 
12508
        * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
12509
        _PC_POSIX_SECURITY constants for Cygwin.
12510
 
12511
Wed Mar 14  9:34:00 2001  Corinna Vinschen 
12512
 
12513
        * libc/sys/cygwin/crt0.c: Add copyright hint.
12514
        * libc/sys/cygwin/sys/dirent.h: Ditto.
12515
        * libc/sys/cygwin/sys/param.h: Ditto.
12516
        * libc/sys/cygwin/sys/utime.h: Ditto.
12517
        * libc/sys/cygwin/sys/utmp.h: Ditto.
12518
 
12519
2001-03-13  Alexandre Oliva  
12520
 
12521
        * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
12522
        equivalent to LONGINT.
12523
 
12524
2001-03-08  Richard Sandiford  
12525
 
12526
        * (libc/include/machine/setjmp.h): Use 23 long long ints for a
12527
        jmpbuf on MIPS64 targets.
12528
        * (libc/machine/mips/setjmp.S): Add MIPS64 version.
12529
 
12530
Wed Mar  7 16:02:07 2001  Christopher Faylor 
12531
 
12532
        * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
12533
          declarations.
12534
 
12535
Mon Mar  5 21:48:54 2001  J"orn Rennecke 
12536
 
12537
        * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
12538
        For RTEMS, define to be ssize_t.  Default to int if not defined.
12539
        * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
12540
        * libc/stdio/stdio.c (__sread, __swrite): Likewise.
12541
        * libc/stdio/local.h (__sread, __swrite): Likewise.
12542
        * libc/include/sys/reent.h (_read, _write): Likewise.
12543
        * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
12544
        * libc/syscalls/sysread.c (read): Likewise.
12545
        * libc/syscalls/syswrite.c (write): Likewise.
12546
 
12547
2001-03-05  Jeff Johnston  
12548
 
12549
        * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
12550
 
12551
Sat Mar  3 00:34:14 2001  Christopher Faylor 
12552
 
12553
        * libc/include/sys/stat.h: Use special defines for executable stat bits
12554
        when compiling for Cygwin.
12555
        * libc/include/sys/unistd.h: Use special define for X_OK when compiling
12556
        for Cygwin.
12557
 
12558
2001-03-02  Jeff Johnston  
12559
 
12560
        * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
12561
        of strtok_r is always defined.
12562
 
12563
2001-03-02  Jeff Johnston  
12564
 
12565
        * libc/include/machine/ansi.h: New dummy header file.
12566
 
12567
2001-02-22  Jeff Johnston  
12568
 
12569
        * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
12570
        changed the copyright information to allow free modification of the
12571
        file with no reference to "copying.dj".
12572
        * libc/include/sys/stat-dj.h: Ditto.
12573
        * libc/machine/i386/setjmp.S: Ditto.
12574
        * libc/sys/h8300hms/sys/file.h: Ditto.
12575
        * libc/sys/sysmec/access.c: Ditto.
12576
        * libc/sys/sysnecv850/access.c: Ditto.
12577
        * libc/stdio/mktemp.c: Fixed typo for the word copyright.
12578
        * libc/stdlib/getenv_r.c: Ditto.
12579
        * libc/stdlib/putenv_r.c: Ditto.
12580
        * libc/stdlib/setenv_r.c: Ditto.
12581
        * libc/stdlib/getenv.c: Removed DJ reference since any possible
12582
        modifications will now be in the _r version of this file.
12583
        * libc/stdlib/putenv.c: Ditto.
12584
        * libc/stdlib/setenv.c: Ditto.
12585
        * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
12586
        valid.  Added a reference to DJ's web page that contains his address.
12587
        * libc/sys/go32/*.s: Removed references to DJ's old address.
12588
        * libc/sys/go32/*.c: Ditto.
12589
        * libc/sys/go32/*.h: Ditto.
12590
        * libc/sys/go32/*.S: Ditto.
12591
        * libc/sys/go32/sys/*.h: Ditto.
12592
 
12593
2001-02-21  Jeff Johnston  
12594
 
12595
        * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
12596
        HAVE_FCNTL flag check.
12597
        * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
12598
        powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
12599
 
12600
Thu Feb 15 01:39:51 2001  Christopher Faylor 
12601
 
12602
        * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
12603
 
12604
2001-02-14  Kazuhiro Fujieda  
12605
 
12606
        * libc/include/stdlib.h: Add declarations of rand48 functions and
12607
        their reentrant versions.
12608
        * libc/include/sys/reent.h: Move macros from rand48.h. Add
12609
        struct _rand48 for shared parameters of rand48 functions.
12610
        (struct _reent): Add a variable _r48 of struct _rand48.
12611
        (_REENT_INIT): Add _r48 initialization.
12612
        * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
12613
        (CHEWOUT_FILES): Add rand48.def.
12614
        * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
12615
        * libc/stdlib/Makefile.in: Regenerated.
12616
        * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
12617
        NetBSD C library.
12618
        * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
12619
        * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
12620
        * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
12621
        * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
12622
        * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
12623
        * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
12624
        * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
12625
        * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
12626
        * libc/stdlib/rand48.c (__dorand48): Ditto.
12627
        * libc/stdlib/rand48.h: Ditto, and modify declarations of global
12628
        parameters into macros referring them in the reentrant structure.
12629
 
12630
2001-02-12  Jeff Johnston  
12631
 
12632
        * libc/include/sys/stat.h: Add mknod for Cygwin now that
12633
        Cygwin definition has correct prototype.
12634
 
12635
2001-02-08  Jeff Johnston  
12636
 
12637
        * libc/include/sys/stat.h: Must revert change for mknod
12638
        for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
12639
        prototype.
12640
 
12641
2001-02-08  Jeff Johnston  
12642
 
12643
        * libc/include/stdio.h: Revert putw prototype.
12644
 
12645
2001-02-08  Edward M. Lee  
12646
 
12647
        * libc/include/grp.h: add prototype for initgroups.
12648
        * libc/include/stdio.h: fix prototype for putw.
12649
        * libc/include/sys/signal.h: add prototype for killpg.
12650
        * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
12651
        * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
12652
        vhangup and remove duplicate sysconf prototype.
12653
 
12654
2001-02-07  Jeff Johnston  
12655
 
12656
        * libc/sys/rtems/sys/types.h: Removed.
12657
 
12658
2001-02-05  Charles Wilson  
12659
 
12660
        * libc/include/locale.h: add LC_MESSAGES definition
12661
 
12662
2001-02-01  Alexandre Oliva  
12663
 
12664
        * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
12665
        SYS_get_argN):
12666
        * libc/sys/sh/syscalls.c (__setup_argv_for_main,
12667
        __setup_argv_and_call_main): New.
12668
 
12669
2001-01-31  Jeff Johnston  
12670
 
12671
        * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
12672
        if defined.
12673
        (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
12674
        (L_tmpnam): Changed to use __L_tmpnam__ if defined.
12675
        * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
12676
        appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
12677
 
12678
Mon Jan 29 23:03:06 2001  Christopher Faylor 
12679
 
12680
        * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
12681
        compiling under Cygwin.
12682
 
12683
2001-01-29  Jeff Johnston  
12684
 
12685
        * libc/include/math.h (signgam): Change to errno-like solution
12686
        using a function to return the address of the real signgam.
12687
        * libc/reent/signgam.c: New file containing __signgam().
12688
        * libc/reent/Makefile.am: Added signgam.c to list of files.
12689
        * libc/reent/Makefile.in: Regenerated.
12690
 
12691
2001-01-25  Alexandre Oliva  
12692
 
12693
        * libc/sys/sh/syscalls.c (_times): New.
12694
 
12695
        * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
12696
        * libc/sys/sh/syscalls.c (_gettimeofday): New.
12697
 
12698
2001-01-23  Jeff Johnston  
12699
 
12700
        * libc/include/math.h (signgam): Regress previous fix as
12701
        it does not handle programs with extern int signgam in them.
12702
 
12703
2001-01-23  Jeff Johnston  
12704
 
12705
        * libc/include/math.h (signgam): Changed to a macro refering to
12706
        its location in the reentrant structure.
12707
 
12708
2001-01-23  Jeff Johnston  
12709
 
12710
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
12711
        that suppressed . for %.0f, 0.1.  Check now looks if there
12712
        are padding zeroes (expt) in addition to any digits (ndig) to
12713
        print.
12714
 
12715
2001-01-18  Jeff Johnston  
12716
 
12717
        * libc/sys/arc/Makefile.am: New file.
12718
        * libc/sys/arc/Makefile.in: Ditto.
12719
        * libc/sys/arc/aclocal.m4: Ditto.
12720
        * libc/sys/arc/configure: Ditto.
12721
        * libc/sys/arc/configure.in: Ditto.
12722
        * libc/sys/arc/crt0.S: Ditto.
12723
        * libc/sys/arc/isatty.c: Ditto.
12724
        * libc/sys/arc/mem-layout.c: Ditto.
12725
        * libc/sys/arc/sbrk.c: Ditto.
12726
        * libc/sys/arc/syscalls.c: Ditto.
12727
        * libc/sys/arc/sys/syscall.h: Ditto.
12728
 
12729
Wed Jan 17 23:20:56 2001  Christopher Faylor 
12730
 
12731
        * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
12732
 
12733
Fri Jan 12 00:34:31 2001  Christopher Faylor 
12734
 
12735
        * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
12736
 
12737
Thu Jan 11 20:42:06  2001  Earnie Boyd  
12738
 
12739
        * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
12740
 
12741
2001-01-09  Nick Clifton  
12742
 
12743
        * configure.host (v859): Remove unsupported compiler options.
12744
 
12745
Fri Jan  5 19:57:00 EST 2001  Aaron J. Grier  
12746
 
12747
        * src/newlib/configure.host (*-*-rtems*): add printf long long
12748
        support for RTEMS.
12749
 
12750
2000-12-19  Graham Stott 
12751
 
12752
        * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
12753
 
12754
Wed Dec 14  Jeff Johnston  
12755
 
12756
        * configure.host: Turn on long double I/O for Cygwin.
12757
 
12758
Wed Dec 14  Jeff Johnston  
12759
 
12760
        * MAINTAINERS: Removed Ranjith.
12761
        * NEWS: Updated for 1.9.0.
12762
        * README: Updated.
12763
        * acinclude.m4: Updated to release 1.9.0.
12764
        * aclocal.m4 configure
12765
          doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
12766
          libc/machine/aclocal.m4 libc/machine/configure
12767
          libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
12768
          libc/machine/arm/aclocal.m4 libc/machine/arm/configure
12769
          libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
12770
          libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
12771
          libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
12772
          libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
12773
          libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
12774
          libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
12775
          libc/machine/i386/aclocal.m4 libc/machine/i386/configure
12776
          libc/machine/i960/aclocal.m4 libc/machine/i960/configure
12777
          libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
12778
          libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
12779
          libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
12780
          libc/machine/mips/aclocal.m4 libc/machine/mips/configure
12781
          libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
12782
          libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
12783
          libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
12784
          libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
12785
          libc/machine/sh/aclocal.m4 libc/machine/sh/configure
12786
          libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
12787
          libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12788
          libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12789
          libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12790
          libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
12791
          libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12792
          libc/sys/aclocal.m4 libc/sys/configure
12793
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12794
          libc/sys/arm/aclocal.m4 libc/sys/arm/configure
12795
          libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
12796
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12797
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12798
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12799
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12800
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12801
          libc/sys/linux/aclocal.m4 libc/sys/linux/configure
12802
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12803
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12804
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12805
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
12806
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
12807
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
12808
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
12809
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
12810
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
12811
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
12812
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
12813
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
12814
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
12815
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
12816
          libm/aclocal.m4 libm/configure: Regenerated.
12817
 
12818
Wed Dec 13 11:52:00 2000  Corinna Vinschen 
12819
 
12820
        * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
12821
        when __CYGWIN__ is defined.
12822
 
12823
2000-12-13  Jeff Johnston  
12824
 
12825
        * libc/stdlib/ldtoa.c (_ldcheck): New routine
12826
        that categorizes a long double as NaN, Infinity, or other.
12827
        * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
12828
        isinfl and isnanl static routines which were i386-specific.  Changed
12829
        calls to the two removed routines to a single _ldcheck call.
12830
        * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
12831
 
12832
2000-12-13  Jeff Johnston  
12833
 
12834
        * Makefile.am: Fixed install-data-local target to use
12835
        $(mkinstalldirs) for the installed header files to ensure
12836
        the directories exist before copying.
12837
        * Makefile.in: Regenerated.
12838
 
12839
2000-12-12  Jeff Johnston  
12840
 
12841
        * libc/include/sys/unistd.h: Restored Cygwin _SC
12842
        constants and moved new constants appropriately
12843
        so Cygwin will build.
12844
 
12845
2000-12-11  Joel Sherrill 
12846
 
12847
        * Merge RTEMS specific .h files into main libc/include.
12848
        * libc/sys/rtems/include/signal.h: Removed.
12849
        * libc/sys/rtems/include/time.h: Removed.
12850
        * libc/sys/rtems/sys/features.h: Removed.
12851
        * libc/sys/rtems/sys/sched.h: Removed.
12852
        * libc/sys/rtems/sys/siginfo.h: Removed.
12853
        * libc/sys/rtems/sys/signal.h: Removed.
12854
        * libc/sys/rtems/sys/time.h: Removed.
12855
        * libc/sys/rtems/sys/times.h: Removed.
12856
        definitions for time_t and clock_t since these are
12857
        no longer in time.h.
12858
        * libc/include/pthread.h: New file.
12859
        * libc/include/sys/sched.h: New file.
12860
        * libc/include/sys/features.h: New file.
12861
        * libc/include/time.h: Removed duplicate definition of clock_t
12862
        and time_t, get them from  instead.  Add prototypes
12863
        for POSIX clock and timer functionality.
12864
        * libc/sys/linux/sys/types.h: Changed to include
12865
        * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
12866
        * libc/include/sys/signal.h: Add more complete set of POSIX
12867
        signal functionality including real-time and threaded signals.
12868
        * libc/include/sys/types.h: Add clock_t, time_t, struct
12869
        timespec, and struct itimerspec.  Centralizing these makes
12870
        things cleaner.  RTEMS uses 64-bit dev_t.
12871
        Added numerous primitive definitions
12872
        for pthreads including macros, pthread_attr_t,
12873
        pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
12874
        pthread_once_t, and pthread_t.
12875
        * libc/include/sys/unistd.h: Added getlogin_r() prototype.
12876
        If RTEMS follow POSIX on read(), write() and sbrk() prototype.
12877
        Feature flags removed and moved to new file .
12878
        Full set of POSIX sysconf() constants
12879
 
12880
2000-12-08  Werner Almesberger  
12881
 
12882
        * configure.host: Added x86 linux target.
12883
        * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
12884
        definitions provided if not already defined.
12885
        * libc/sys/linux/crt0.c: New file.
12886
        * libc/sys/linux/Makefile.am: Ditto.
12887
        * libc/sys/linux/Makefile.in: Ditto.
12888
        * libc/sys/linux/aclocal.m4: Ditto.
12889
        * libc/sys/linux/brk.c: Ditto.
12890
        * libc/sys/linux/configure: Ditto.
12891
        * libc/sys/linux/configure.in: Ditto.
12892
        * libc/sys/linux/getoptlong.c: Ditto.
12893
        * libc/sys/linux/ids.c: Ditto.
12894
        * libc/sys/linux/inode.c: Ditto.
12895
        * libc/sys/linux/io.c: Ditto.
12896
        * libc/sys/linux/linux.c: Ditto.
12897
        * libc/sys/linux/process.c: Ditto.
12898
        * libc/sys/linux/realpath.c: Ditto.
12899
        * libc/sys/linux/select.c: Ditto.
12900
        * libc/sys/linux/signal.c: Ditto.
12901
        * libc/sys/linux/systat.c: Ditto.
12902
        * libc/sys/linux/termios.c: Ditto.
12903
        * libc/sys/linux/time.c: Ditto.
12904
        * libc/sys/linux/wait.c: Ditto.
12905
        * libc/sys/linux/include/alloca.h: Ditto.
12906
        * libc/sys/linux/include/getopt.h: Ditto.
12907
        * libc/sys/linux/include/stdint.h: Ditto.
12908
        * libc/sys/linux/include/unistd.h: Ditto.
12909
        * libc/sys/linux/sys/cdefs.h: Ditto.
12910
        * libc/sys/linux/sys/dirent.h: Ditto.
12911
        * libc/sys/linux/sys/errno.h: Ditto.
12912
        * libc/sys/linux/sys/fcntl.h: Ditto.
12913
        * libc/sys/linux/sys/file.h: Ditto.
12914
        * libc/sys/linux/sys/ioctl.h: Ditto.
12915
        * libc/sys/linux/sys/resource.h: Ditto.
12916
        * libc/sys/linux/sys/signal.h: Ditto.
12917
        * libc/sys/linux/sys/stat.h: Ditto.
12918
        * libc/sys/linux/sys/syscall.h: Ditto.
12919
        * libc/sys/linux/sys/termios.h: Ditto.
12920
        * libc/sys/linux/sys/time.h: Ditto.
12921
        * libc/sys/linux/sys/types.h: Ditto.
12922
        * libc/sys/linux/sys/utmp.h: Ditto.
12923
        * libc/sys/linux/sys/utsname.h: Ditto.
12924
        * libc/sys/linux/sys/wait.h: Ditto.
12925
 
12926
2000-12-08  Ralf Corsepius 
12927
 
12928
        * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
12929
        can be a relative path to $(top_srcdir)/install.sh so ensure the
12930
        autoconf detected settings are properly passed recursively.
12931
        Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
12932
        properly to subdirectories.
12933
        * Makefile.in: Regenerated.
12934
 
12935
2000-12-07  Jay Kulpinski 
12936
 
12937
        * libc/stdio/vfprintf.c: Minor modification to avoid requiring
12938
        a floating point register unless really printing a floating
12939
        point number.
12940
 
12941
2000-12-07  Jeff Johnston  
12942
 
12943
        * libc/stdlib/ldtoa.c: Removed include of alloca.h.
12944
        Also removed \r's.
12945
        (asctoeg): Replaced alloca call with stack array and malloc
12946
        when storage exceeds reasonable limit.
12947
        (e53toe): Fixed einfin calls missing ldp parameter.
12948
        (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
12949
 
12950
2000-12-06  Jeff Johnston  
12951
 
12952
 
12953
        * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
12954
 
12955
2000-12-06  Jeff Johnston  
12956
 
12957
        * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
12958
        * libc/stdlib/Makefile.in: Regenerated.
12959
        * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
12960
        * libc/stdio/vfieeefp.h: Added long double bit structures.
12961
        * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
12962
        [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
12963
        (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
12964
        * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
12965
        * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
12966
        _strtold routines used for conversions between character
12967
        and long double.
12968
 
12969
Wed Dec  6 12:01:00 2000  Corinna Vinschen 
12970
 
12971
        * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
12972
 
12973
2000-12-04  Joel Sherrill 
12974
 
12975
        * libc/include/machine/time.h: RTEMS systems can configure clock
12976
        tick rate so use sysconf() to ask.
12977
 
12978
2000-12-04  Joel Sherrill 
12979
 
12980
        * libc/include/sys/times.h: Add reference to POSIX standard.
12981
 
12982
2000-12-04  Joel Sherrill 
12983
 
12984
        * libc/include/sys/time.h: Added BSD timer manipulation macros
12985
        used by RTEMS code.
12986
 
12987
2000-12-04  Joel Sherrill 
12988
 
12989
        * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
12990
        referenced by code generated by gcc 2.8.1.
12991
        (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
12992
        satisfy gcc.
12993
 
12994
2000-12-04  Joel Sherrill 
12995
 
12996
        * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
12997
 
12998
2000-12-04  Joel Sherrill 
12999
 
13000
        * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
13001
 
13002
2000-12-04  Joel Sherrill 
13003
 
13004
        * configure.host (or16, or32): New entries for OpenCores
13005
        OpenRisc CPUs.
13006
        (*-*-rtems*): Add -DNO_EXEC.
13007
 
13008
2000-12-04  Keith Outwater 
13009
 
13010
        * libc/include/sys/errno.h: Added comments on many error numbers.
13011
        * libc/string/strerror.c: Added some more strings.
13012
 
13013
2000-11-30  Jeff Johnston 
13014
 
13015
        * libc/sys/sh/syscalls.c (_link): New stub.
13016
 
13017
2000-11-29  Nick Clifton  
13018
 
13019
        * configure.host: Add xscale target.
13020
        * libc/machine/xscale: New directory.
13021
        * libc/machine/xscale/Makefile.am: New file.
13022
        * libc/machine/xscale/Makefile.in: New file.
13023
        * libc/machine/xscale/aclocal.m4: New file.
13024
        * libc/machine/xscale/configure: New file.
13025
        * libc/machine/xscale/configure.in: New file.
13026
        * libc/machine/xscale/memchr.S: New file.
13027
        * libc/machine/xscale/memcmp.S: New file.
13028
        * libc/machine/xscale/memcpy.S: New file.
13029
        * libc/machine/xscale/memmove.S: New file.
13030
        * libc/machine/xscale/memset.S: New file.
13031
        * libc/machine/xscale/strchr.S: New file.
13032
        * libc/machine/xscale/strcmp.S: New file.
13033
        * libc/machine/xscale/strcpy.S: New file.
13034
        * libc/machine/xscale/strlen.S: New file.
13035
 
13036
Sat Nov 25 11:24:00 2000  Corinna Vinschen 
13037
 
13038
        * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
13039
        avoid compiler warnings.
13040
 
13041
2000-11-22  Michael Meissner  
13042
 
13043
        * libc/posix/execl.c (execl): Don't reference environ directly,
13044
        reference it only via a static pointer to avoid problems with some
13045
        shared library systems and with different uses of small data where
13046
        the user specifies his own version of environ.
13047
        * libc/posix/execv.c (execv): Ditto.
13048
        * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
13049
        * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
13050
        * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
13051
 
13052
        * libc/stdlib/getenv.c (environ): Delete unused reference to
13053
        environ.
13054
 
13055
        * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
13056
        colorization.
13057
        * libc/stdlib/system.c: Ditto.
13058
 
13059
Tue Nov 21 20:32:21 2000  Christopher Faylor 
13060
 
13061
        * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
13062
        including windows headers.
13063
 
13064
2000-11-20  Jeff Johnston  
13065
 
13066
        * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
13067
        * libc/include/dirent.h: Added definition of MAXNAMLEN if
13068
        not defined by sys/dirent.h.
13069
        * libc/posix/execvp.c: Added include of dirent.h to get
13070
        MAXNAMLEN value which used to be in unistd.h.
13071
 
13072
Mon Nov  6 12:56:00 2000  Corinna Vinschen 
13073
 
13074
        * libc/include/sys/types.h: Change type of i to `size_t' in
13075
        FD_ZERO macro to avoid compiler warnings.
13076
 
13077
Sun Oct 29 20:06:41 2000  Christopher Faylor 
13078
 
13079
        * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
13080
        * libc/include/malloc.h: Ditto.  Also remove obsolete declaration.
13081
 
13082
Tue Oct 24 20:16:00 2000  Corinna Vinschen 
13083
 
13084
        * libc/include/sys/unistd.h: Add defines for sysconf values
13085
        _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
13086
        _SC_AVPHYS_PAGES.
13087
 
13088
Mon Oct  9 20:26:33 2000  Christopher Faylor 
13089
 
13090
        * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
13091
        declarations for __CYGWIN__.
13092
 
13093
2000-09-19  Geoffrey Keating  
13094
 
13095
        * libc/signal/signal.c (__sigtramp_r): ISO C requires
13096
        case labels to be integral constant expressions, so
13097
        use an if/else tree instead.
13098
        (_raise_r): Likewise.
13099
 
13100
2000-09-13  Jeff Johnston  
13101
 
13102
        * libc/machine/v850/setjmp.S: Fixed tab problems caused by
13103
        clipping patch from e-mail reader.
13104
 
13105
2000-09-13  Will Cohen  
13106
 
13107
        * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
13108
        Added return value 0.
13109
        (_longjmp): Allow longjmp to return value of second argument
13110
        passed to it.
13111
 
13112
2000-09-06  Jeff Johnston 
13113
 
13114
        * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
13115
        inline code to prevent having to include another header file.
13116
 
13117
Wed Sep  6 15:06:40 2000  Christopher Faylor 
13118
 
13119
        * Makefile.am: Fix space vs. tab problem in install-data-local.
13120
        * Makefile.in: Regenerate.
13121
 
13122
Wed Sep  6 13:49:51 2000  Christopher Faylor 
13123
 
13124
        * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
13125
        (_EXPARM): New macro for defining a function parameter.
13126
        * libc/include/stdlib.h: Use _EXPARM.
13127
        * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
13128
 
13129
2000-09-05  Manfred Hollstein  
13130
 
13131
        * Makefile.am (install-data-local): Use optional $(DESTDIR) where
13132
        required, as documented in the gnu coding standards.
13133
        * Makefile.in: Regenerate.
13134
 
13135
2000-09-05  Jeff Johnston 
13136
 
13137
        * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
13138
        make O_NDELAY and O_NONBLOCK have the same value.
13139
 
13140
2000-08-30  Kazu Hirata  
13141
 
13142
        * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
13143
 
13144
2000-08-30  Werner Almesberger  
13145
 
13146
        * libc/posix/execve.c: included unistd.h for "_execve" prototype.
13147
        * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
13148
        "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
13149
        everywhere else.
13150
 
13151
2000-08-30  Geoffrey Keating  
13152
 
13153
        * libc/string/swab.c: Specify that it's defined in .
13154
        * libc/include/string.h: Don't include ,
13155
        as it causes really bad namespace pollution.  Don't declare
13156
        swab(), it is properly declared in unistd.h.
13157
 
13158
2000-08-29  Werner Almesberger  
13159
 
13160
        * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
13161
        (broken) support for non-existent /etc/passwd field "comment".
13162
 
13163
2000-08-27  Werner Almesberger  
13164
 
13165
        * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
13166
        only if _DIRENT_HAVE_D_NAMLEN is defined.
13167
        (alphasort): aligned prototype with
13168
        libc/sys/cygwin/sys/dirent.h and simplified function body.
13169
        * libc/posix/telldir.c (telldir): changed "telldir" prototype to
13170
        long telldir (DIR *) as mentioned in annex B of POSIX.1
13171
 
13172
2000-08-27  Werner Almesberger  
13173
 
13174
        * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
13175
        of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
13176
        Added __CLI and __STI macros (controlled via
13177
        _I386MACH_ALLOW_HW_INTERRUPTS macro).
13178
        * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
13179
        libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
13180
        libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
13181
        libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
13182
        libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
13183
        libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
13184
        libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
13185
        libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
13186
        libc/machine/i386/memset.S libc/machine/i386/setjmp.S
13187
        libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
13188
        (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
13189
        for all global entry points.
13190
        * libc/machine/i386/setjmp.S: removed code replicated in
13191
        libc/machine/i386/i386mach.h and included i386mach.h instead;
13192
        Use __CLI and __STI instead of cli and sti.
13193
 
13194
2000-08-25  DJ Delorie  
13195
 
13196
        * libc/include/sys/unistd.h (environ): this one isn't from the
13197
        DLL, no __IMPORT
13198
 
13199
Fri Aug 25 13:37:11 2000  Christopher Faylor 
13200
 
13201
        * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
13202
        environ when compiling under cygwin since it is already declared in
13203
        unistd.h.
13204
 
13205
2000-08-23  Werner Almesberger  
13206
 
13207
        * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
13208
        like  x << y-z  to the equivalent  x << (y-z).
13209
        (d2b): changed if statements with assignment to perform the
13210
        assignment prior to the if check.
13211
        * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
13212
        * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
13213
        * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
13214
        * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
13215
        precedence.
13216
        * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
13217
        Added "_execve" prototype (for execl.c, execle.c, execv.c, and
13218
        execve.c).
13219
        * libc/posix/popen.c (popen): added parentheses to clarify && and ||
13220
        precedence.
13221
        * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
13222
        clarify && and || precendence (and to remove pascalism).
13223
        * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
13224
        * libm/math/s_infconst.c: added another pair of braces to all
13225
        initializers for __infinity (need three: for __infinity[1] array,
13226
        for union __dmath, and for i[2]).
13227
 
13228
2000-08-23  Werner Almesberger  
13229
 
13230
        * libc/stdlib/abort.c: changed description: uses "raise" instead of
13231
        "getpid" and "kill"; added: uses "write" and "_exit".
13232
        Also included unistd.h for "_exit" prototype.
13233
        * libc/stdlib/system.c: included unistd.h for "execve" prototype,
13234
        reent.h for "_fork_r" and "_wait_r" prototypes.
13235
        (do_system): changed  extern char *environ[] to POSIX-friendly
13236
        extern char **environ.
13237
        * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
13238
        prototypes.
13239
        * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
13240
        * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
13241
        * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
13242
        * libc/reent/openr.c: included fcntl.h for "open" prototype.
13243
        * libc/reent/signalr.c: included signal.h for "kill" prototype,
13244
        unistd.h for "getpid" prototype.
13245
        * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
13246
        * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
13247
        * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
13248
        prototype.  Also included stdlib.h for "abort", string.h for
13249
        "strdup" and "strncmp" prototypes.
13250
        * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
13251
        "strncpy", unistd.h for "read" and "close" prototypes.
13252
        * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
13253
        "strcat" prototypes.
13254
 
13255
2000-08-23  Werner Almesberger  
13256
 
13257
        * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
13258
        used later (ifdef __SCLE)
13259
        * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
13260
        used later (ifdef MB_CAPABLE)
13261
        * libc/string/memset.c (memset): removed unused variables "count"
13262
        and "unaligned_addr"
13263
        * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
13264
        "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
13265
        * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
13266
        and "gid"
13267
 
13268
2000-08-23  Werner Almesberger  
13269
 
13270
        * libc/stdlib/envlock.c: changed documented "__env_lock" and
13271
        "__env_unlock" prototype from "void *" or "char *" to
13272
        "struct _reent *" to match real function.  Also added include
13273
        of envlock.h.
13274
        * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
13275
        "__malloc_unlock" prototype from "void *" or "char *" to
13276
        "struct _reent *" to match real function.
13277
        * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
13278
        prototypes (for getenv_r.c and setenv_r.c).
13279
 
13280
2000-08-22  Werner Almesberger  
13281
 
13282
        * libc/unix/getut.c (utmpname): added _CONST to reflect common use
13283
        and prototype in cygwin's utmp.h
13284
 
13285
2000-08-16  Eric Fifer  
13286
 
13287
        * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
13288
 
13289
2000-08-09  Nick Clifton  
13290
 
13291
        * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
13292
        epilogue and to allow the functions to be used in a Thumb based
13293
        toolchain.
13294
 
13295
2000-08-08  Jeff Johnston 
13296
 
13297
        * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
13298
        so size of 0 results in nothing being written to string.
13299
        Also fixed code so that when size is non-zero, there is only
13300
        a maximum of size - 1 characters written to the array and
13301
        a nul terminator is appended at the end.
13302
        * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
13303
 
13304
2000-08-01  DJ Delorie  
13305
 
13306
        * libc/include/sys/config.h: define __IMPORT appropriately
13307
        * libc/include/ctype.h (_ctype_): use __IMPORT
13308
        * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
13309
        * libc/include/math.h (__mb_cur_max): ditto
13310
        * libc/include/time.h (_timezone, _daylight, _tzname): ditto
13311
        * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
13312
        * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
13313
        * libc/include/unistd.h (environ): ditto
13314
 
13315
2000-07-28  Michael Meissner  
13316
 
13317
        * libc/include/math.h (__infinity): Declare as an array without
13318
        bounds to get around small data support.  Rewrite Cygwin support
13319
        to be more general.
13320
        * libm/math/s_infconst.c (__infinity): Ditto.
13321
        * libm/mathfp/s_infconst.c (__infinity): Ditto.
13322
 
13323
Thu Jul 27 10:46:01 2000  Christopher Faylor 
13324
 
13325
        * libc/include/math.h: Use appropriate dll import linkage for
13326
        __infinity under Cygwin.
13327
 
13328
2000-07-13  DJ Delorie  
13329
 
13330
        * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
13331
 
13332
Wed Jun 28 14:08:00 2000  Keith Walker  
13333
 
13334
        * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
13335
        to argument list for AngelSWI_Reason_GetCmdLine.
13336
 
13337
Tue Jun 27 15:49:00 2000  Marek Michalkiewicz  
13338
 
13339
        * configure.host: Add support for AVR target.
13340
        * libc/include/machine/ieeefp.h: Likewise.
13341
        * libc/include/sys/config.h: Likewise.
13342
 
13343
Thu Jun 22 18:35:00 2000  Ranjith Kumaran  
13344
 
13345
        * README: Newlib 1.8.2 must be built in a separate directory
13346
        than the sources.
13347
 
13348
Tue Jun 20 14:30:00 2000  Jeff Johnston  
13349
 
13350
        * libc/include/sys/reent.h (_rand_next): Added __extension__
13351
        qualifier as long long type is not strict ANSI.
13352
        * libc/stdlib/rand.c (rand): Added __extension__ qualifier
13353
        to long long constant.
13354
 
13355
Fri Jun 16 23:02:00 2000  Corinna Vinschen 
13356
 
13357
        * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
13358
        `setegid' provided by Cygwin.
13359
 
13360
Thu Jun 15  0:21:00 2000  Corinna Vinschen 
13361
 
13362
        * libc/stdio/fdopen.c: Take explicit given bin/textmode into
13363
        account for Cygwin.
13364
 
13365
Fri Jun  9 14:28:00 2000  Jeff Johnston  
13366
 
13367
        * libc/include/sys/reent.h (_rand_next): Changed to
13368
        unsigned long long and moved to end of _reent struct in _new union.
13369
        (_REENT_INIT): Changed to move _rand_next initialization.
13370
        * libc/stdlib/rand.c (rand): Changed to use unsigned long long
13371
        linear congruential algorithm that is used by DJGPP.
13372
 
13373
Thu Jun  8 21:18:00 2000  Ranjith Kumaran  
13374
 
13375
        * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
13376
        * libc/include/sys/config.h: Define __RAND_MAX.
13377
 
13378
Thu Jun  8 17:54:00 2000  Jeff Johnston  
13379
 
13380
        * libc/stdlib/rand_r.c: New algorithm that meets minimal
13381
        standard.
13382
 
13383
Fri Jun  2 23:02:11 2000  Christopher Faylor 
13384
 
13385
        * libc/include/string.h: Work around problem with strsignal and gdb.
13386
 
13387
Tue May 30 13:13:01 2000  Christopher Faylor 
13388
 
13389
        * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
13390
        * libc/include/malloc.h: Ditto.
13391
        * libc/include/process.h: Ditto.
13392
        * libc/include/stdio.h: Ditto.
13393
        * libc/include/stdlib.h: Ditto.
13394
        * libc/include/time.h: Ditto.
13395
        * libc/include/machine/setjmp.h: Ditto.
13396
        * libc/include/sys/errno.h: Ditto.
13397
        * libc/include/sys/signal.h: Ditto.
13398
        * libc/include/sys/stat.h: Ditto.
13399
        * libc/include/sys/time.h: Ditto.
13400
        * libc/include/sys/unistd.h: Ditto.
13401
        * libc/include/string.h: Ditto.  strsignal should return a const char *.
13402
 
13403
2000-05-26  Marek Michalkiewicz  
13404
 
13405
        * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
13406
        * libm/common/s_log1p.c (log1p): Likewise.
13407
        * libm/common/s_scalbn.c (scalbn): Likewise.
13408
        * libm/math/e_log.c: Likewise.
13409
        * libm/math/e_asin.c: Likewise.
13410
        * libm/math/ef_asin.c: Likewise.
13411
        * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
13412
        * libm/math/e_j1.c (pone, qone): Likewise.
13413
        * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
13414
        * libm/math/ef_j1.c (ponef, qonef): Likewise.
13415
        * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
13416
        * libm/mathfp/e_j1.c (pone, qone): Likewise.
13417
        * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
13418
        * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
13419
 
13420
2000-05-19  DJ Delorie  
13421
 
13422
        * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
13423
        (__sread): always read in binary mode
13424
        (__swrite): always write in binary mode
13425
        * libc/include/stdio.h: no getc/putc macros for cygwin; causes
13426
        compatibility issues with different dll versions
13427
        * libc/stdio/fopen.c: use __stextmode
13428
        * libc/stdio/fdopen.c: ditto
13429
        * libc/stdio/freopen.c: ditto
13430
        * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
13431
        * libc/stdio/local.h: declare __stextmode
13432
 
13433
2000-05-18  DJ Delorie  
13434
 
13435
        * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
13436
 
13437
Mon May 15 18:54:00 2000  Jeff Johnston  
13438
 
13439
        * libc/include/ctype.h: Changed tolower and toupper macros
13440
        to use __extension__ to prevent pedantic warnings.
13441
 
13442
Mon May 15 14:26:00 2000  Joel Sherrill  
13443
 
13444
        * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
13445
        structures.
13446
 
13447
Wed May 10 19:24:53 2000  Jim Wilson  
13448
 
13449
        * libc/include/machine/ieeefp.h: Add ia64 support.
13450
        * configure.host: Likewise.
13451
 
13452
Wed May 10 13:52:24 2000  Egor Duda 
13453
 
13454
        * libc/time/asctime_r.c (asctime_r): Change output format. Day of
13455
        month is now padded with space, not zero.  This now conforms to
13456
        ANSI standard.
13457
 
13458
Wed May 03 17:57:00 2000  Corinna Vinschen 
13459
 
13460
        * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
13461
        host or network path") used by cygwin. Add some comments.
13462
 
13463
Tue May 02 23:45:48 2000  DJ Delorie  
13464
 
13465
        * libc/include/stdio.h (FILE): define __SCLE for "convert line
13466
        endings" for Cygwin.
13467
        (__sgetc): convert line endings if needed
13468
        (__sputc): ditto
13469
        * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
13470
        * libc/stdio/fopen.c (_fopen_r): ditto
13471
        * libc/stdio/freopen.c (freopen): ditto
13472
        * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
13473
        * libc/stdio/fvwrite.c (__sfvwrite): ditto
13474
 
13475
Thu Apr 27 07:45:48 2000  Alexandre Oliva  
13476
 
13477
        * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
13478
        post-increment when it is worth it, spacewise.
13479
 
13480
Mon Apr 17 12:46:00 2000  Marek Michalkiewicz 
13481
 
13482
        * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
13483
        * libc/stdio/findfp.c (std): Added declaration of flags and file.
13484
        * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
13485
        return type.
13486
        * libc/stdio/putchar.c (putchar): Added return statement.
13487
        * libc/stdio/refill.c (lflush): Added correct parentheses.
13488
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
13489
        * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
13490
        prints long value to use l qualifier.
13491
        * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
13492
        messages and initialized local values: ilim, ilim1, and spec_case.
13493
        * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
13494
        * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
13495
        * libc/stdlib/mprec.c: Ditto.
13496
        * libc/stdlib/setenv_r.c: Ditto.
13497
        * libc/stdlib/strtod.c: Ditto.
13498
        * libc/stdlib/strtol.c: Ditto.
13499
        * libc/stdlib/strtoul.c: Ditto.
13500
        * libm/common/sf_expm1.c: Added curly braces to if else clauses.
13501
        * libm/common/sf_log1p.c: Ditto.
13502
        * libm/common/sf_scalbn.c: Ditto.
13503
        * libm/math/ef_log.c: Ditto.
13504
 
13505
Sun Apr 16 12:45:00 2000  Corinna Vinschen 
13506
 
13507
        * libc/posix/execvp.c (execvp): Check path for
13508
        trailing slash.
13509
 
13510
Fri Mar 31 20:39:00 2000  Corinna Vinschen 
13511
 
13512
        * libc/include/sys/unistd.h: Add prototypes for
13513
        fchmod, fchown, lchown.
13514
 
13515
Fri Mar 24 15:34:00 2000  Jeff Johnston  
13516
 
13517
        * acinclude.m4: Changed release to 1.8.2.
13518
        * aclocal.m4 configure doc/aclocal.m4 doc/configure
13519
          libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
13520
          libc/machine/configure libc/machine/a29k/aclocal.m4
13521
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
13522
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
13523
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
13524
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
13525
          libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
13526
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
13527
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
13528
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
13529
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
13530
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
13531
          libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
13532
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
13533
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
13534
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
13535
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
13536
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
13537
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
13538
          libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
13539
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
13540
          libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
13541
          libc/machine/tic80/configure libc/machine/v850/aclocal.m4
13542
          libc/machine/v850/configure libc/machine/w65/aclocal.m4
13543
          libc/machine/w65/configure libc/machine/z8k/aclocal.m4
13544
          libc/machine/z8k/configure libc/sys/aclocal.m4
13545
          libc/sys/aclocal.m4 libc/sys/configure
13546
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
13547
          libc/sys/arm/aclocal.m4 libc/sys/arm/configure
13548
          libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
13549
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
13550
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
13551
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
13552
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
13553
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
13554
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
13555
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
13556
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
13557
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
13558
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
13559
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
13560
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
13561
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
13562
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
13563
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
13564
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
13565
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
13566
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
13567
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
13568
          libm/aclocal.m4 libm/configure: Regenerated.
13569
 
13570
2000-03-24  Nick Clifton  
13571
 
13572
        * libc/sys/arm/syscalls.c: Fix compile time warnings.
13573
        (do_AngelSWI): Add "cc" to list o registers clobbered.
13574
 
13575
Thu Mar 22 14:57:00 2000  Fernando Nasser 
13576
 
13577
        * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
13578
        information to be clobbered by an Angel C library support syscall.
13579
 
13580
Tue Mar 21 19:08:00 2000  Jeff Johnston 
13581
 
13582
        * libc/stdlib/envlock.c: Fixed comment typo.
13583
 
13584
Fri Mar 17 15:37:00 2000  Jeff Johnston 
13585
 
13586
        * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
13587
        code to update nread as each character is processed instead
13588
        of using buffer contents which throw away leading zeroes.
13589
 
13590
Mon Mar 13 15:22:00 2000  Sergei Organov 
13591
 
13592
        * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
13593
 
13594
Fri Mar 10 16:09:20 2000  Jeff Johnston 
13595
 
13596
        * libc/include/string.h: Include .
13597
 
13598
Fri Mar 10 14:53:50 2000  Alexandre Oliva  
13599
 
13600
        * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
13601
        with XSH5, not SVID.
13602
 
13603
Thu Mar  9 17:20:41 2000  Jeff Johnston 
13604
 
13605
        * libc/include/string.h: Changed last argument back to ssize_t
13606
        to make it compatible with XPG4 definition which is
13607
        defined in .  There is a conflict in the SVID 3
13608
        and XPG4 definitions and newlib will settle with XPG4.
13609
        * libc/string/swab.c: Ditto.
13610
 
13611
Wed Mar  8 17:11:41 2000  Jeff Johnston 
13612
 
13613
        * libc/include/string.h: Changed last argument to size_t.
13614
        * libc/string/swab.c: Changed last argument to size_t.
13615
 
13616
Wed Mar  8 00:46:41 2000  Alexandre Oliva  
13617
 
13618
        * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
13619
        (CHEWOUT_FILES): Added unlinkr.def.
13620
        * libc/reent/Makefile.in: Rebuilt.
13621
        * libc/sys.tex: Include unlinkr.def.
13622
        * libc/reent/linkr.c (_unlink_r): Moved to...
13623
        * libc/reent/unlinkr.c: ... new file.
13624
 
13625
Wed Mar  8 00:43:07 2000  Alexandre Oliva  
13626
 
13627
        * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
13628
        (CHEWOUT_FILES): Added swab.def.
13629
        * libc/string/Makefile.in: Rebuilt.
13630
        * libc/string/string.tex: Include swab.def.
13631
        * libc/include/string.h (swab): Declare.
13632
        * libc/string/swab.c: New file.
13633
 
13634
Wed Mar  8 00:38:35 2000  Alexandre Oliva  
13635
 
13636
        * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
13637
        (CHEWOUT_FILES): Added getw.def and putw.def.
13638
        * libc/stdio/Makefile.in: Rebuilt.
13639
        * libc/stdio/stdio.tex: Include getw.def and putw.def.
13640
        * libc/stdio/getw.c: New file.
13641
        * libc/stdio/putw.c: New file.
13642
 
13643
Fri Feb 25 14:50:50 2000  Jeff Johnston 
13644
 
13645
        * libc/stdio/flags.c (__sflags): Added check that mode[1]
13646
        is non-null before looking at mode[2].
13647
 
13648
Thu Feb 24 11:43:00 2000  Ran Cabell 
13649
 
13650
        * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
13651
        * libm/mathfp/sf_atan.c: Ditto.
13652
 
13653
Thu Feb 24 11:39:00 2000  Joel Sherrill 
13654
 
13655
        * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
13656
 
13657
Tue Feb 22 14:37:00 2000  Ran Cabell 
13658
 
13659
        * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
13660
        _DOUBLE_IS_32BITS.
13661
 
13662
Mon Feb 21 11:43:50 2000  Jeff Johnston 
13663
 
13664
        * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
13665
        call prior to calling _VFPRINTF_R so reentrant data area is set.
13666
        (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
13667
 
13668
Thu Feb 17 01:42:50 2000  J"orn Rennecke 
13669
 
13670
        * libc/stdio/vfscanf.c (limits.h): #include.
13671
        (MAX_LONG_LEN): #define.
13672
        (__svfscanf): Handle floating point numbers with arbitrary amounts
13673
        of leading zeroes.
13674
 
13675
2000-02-15  Nick Clifton  
13676
 
13677
        * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
13678
        zero.  Set the blocksize to 1024/
13679
 
13680
Thu Jan 20 18:57:00 2000  Fernando Nasser 
13681
 
13682
        * setvbuf.c (setvbuf):  Set size to BUFSIZ when passed a zero size
13683
        with line buffering.
13684
 
13685
Mon Jan 10 18:43:00 2000  Jeff Johnston 
13686
 
13687
        * acinclude.m4: Changed include directory for winsup headers.
13688
        * aclocal.m4 configure libc/aclocal.m4
13689
          libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
13690
          libc/locale/Makefile.in libc/machine/aclocal.m4
13691
          libc/machine/configure libc/machine/a29k/aclocal.m4
13692
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
13693
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
13694
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
13695
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
13696
          libc/machine/fr30/configure
13697
          libc/machine/h8300/aclocal.m4
13698
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
13699
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
13700
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
13701
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
13702
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
13703
          libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
13704
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
13705
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
13706
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
13707
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
13708
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
13709
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
13710
          libc/machine/powerpc/configure
13711
          libc/machine/sh/aclocal.m4
13712
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
13713
          libc/machine/sparc/configure
13714
          libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
13715
          libc/machine/v850/aclocal.m4 libc/machine/v850/configure
13716
          libc/machine/w65/aclocal.m4 libc/machine/w65/configure
13717
          libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
13718
          libc/misc/Makefile.in libc/posix/Makefile.in
13719
          libc/reent/Makefile.in
13720
          libc/signal/Makefile.in
13721
          libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
13722
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
13723
          libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
13724
          libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
13725
          libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
13726
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
13727
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
13728
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
13729
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
13730
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
13731
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
13732
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
13733
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
13734
          libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
13735
          libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
13736
          libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
13737
          libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
13738
          libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
13739
          libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
13740
          libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
13741
          libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
13742
          libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
13743
          libc/sys/tic80/configure libc/sys/w65/aclocal.m4
13744
          libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
13745
          libc/sys/z8ksim/configure libc/syscalls/Makefile.in
13746
          libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
13747
          libm/configure: Regenerated.
13748
 
13749
Mon Jan 10 18:43:46 2000  Jeff Johnston 
13750
 
13751
        * libc/stdlib/putenv_r.c (_putenv_r): New file.
13752
        * libc/stdlib/strdup_r.c (_strdup_r): New file.
13753
        * libc/include/string.h: Added _strdup_r.
13754
        * libc/stdlib/putenv.c: Added call to reentrant version.
13755
        * libc/stdlib/strdup.c: Ditto.
13756
        * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
13757
        * libc/include/stdlib.h: Ditto.
13758
        * libc/stdlib/Makefile.in: Regenerated.
13759
        * libc/string/Makefile.in: Regenerated.
13760
        * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
13761
        * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
13762
        management calls to reentrant versions.
13763
        * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
13764
        * libc/stdlib/wctomb.c: Ditto.
13765
        * libc/stdlib/mblen.c: Ditto.
13766
        * libc/stdlib/mbstowcs.c: Ditto.
13767
        * libc/stdlib/mbtowc.c: Ditto.
13768
        * libc/stdlib/getenv.c: Ditto.
13769
        * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
13770
        and _strdup_r.
13771
 
13772
Thu Jan  6 15:33:46 2000  Christopher Faylor 
13773
 
13774
        patch from Corinna Vinschen 
13775
        * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
13776
 
13777
Mon Jan 03 14:36:00 2000  Sergei Organov 
13778
 
13779
        * libm/mathfp/s_atangent.c: Fix exponent calculation.
13780
        * libm/mathfp/s_ldexp.c: Ditto.
13781
        * libm/mathfp/sf_atangent.c: Ditto.
13782
        * libm/mathfp/sf_ldexp.c: Ditto.
13783
 
13784
Tue Dec 14 5:42:00 1999  Ranjith Kumaran 
13785
 
13786
        * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
13787
        * libc/include/locale.h: define NULL to be 0.
13788
 
13789
Tue Dec  7 15:41:45 1999  Jim Wilson  
13790
 
13791
        * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
13792
        function.
13793
 
13794
Wed Dec  1 17:39:29 1999  Jeffrey A Law  (law@cygnus.com)
13795
 
13796
        * libc/machine/mn10300/setjmp.S: Handle am33.
13797
 
13798
1999-11-26  Nick Clifton  
13799
 
13800
        * libc/sys/arm/syscalls.c: Add function prototypes.
13801
        (stack_ptr): Move declaration before function definitions.
13802
 
13803
Sat Nov 20 17:13:00 1999  Ranjith Kumaran 
13804
 
13805
        * NEWS: Updated version information.
13806
        * README: Ditto.
13807
 
13808
Tue Nov 09 12:19:21 1999  Jeff Johnston 
13809
 
13810
        * libc/machine/i386/strchr.S: Fixed alignment test.
13811
 
13812
Thu Oct 28 05:30:46 1999  Andrew Cagney  
13813
 
13814
        * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
13815
 
13816
Thu Oct 28 15:29:11 1999  Andrew Cagney  
13817
 
13818
        * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
13819
        ensuring that there is space between the two.
13820
 
13821
Thu Oct 14 13:39:21 1999  Christopher Faylor 
13822
 
13823
        * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
13824
        only.
13825
 
13826
1999-10-08  Vadim Egorov  
13827
 
13828
        * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
13829
        section
13830
 
13831
Sat Oct  2 02:02:00 MEST 1999  Ralf Corsepius 
13832
 
13833
        * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
13834
        * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
13835
 
13836
Fri Oct  1 13:17:59 CDT 1999  
13837
        * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
13838
          per POSIX 1003.1b.
13839
        * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
13840
          per POSIX 1003.1b.
13841
 
13842
1999-09-13  DJ Delorie  
13843
 
13844
        * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
13845
        also.
13846
 
13847
Thu Sep  9 15:31:00 1999  Jeff Johnston 
13848
 
13849
        * setvbuf.c (setvbuf):  When mallocing a buffer of size BUFSIZ,
13850
        also note BUFSIZ as its size.
13851
 
13852
Tue Sep  7 17:15:00 1999  Joel Sherrill 
13853
 
13854
        * configure.host: Corrected feature defines for RTEMS.
13855
        * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
13856
        * libc/include/sys/stat.h: mkfifo() should take const path arg.
13857
        * libc/include/sys/unistd.h: pathconf() should take const path arg.
13858
          Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
13859
          Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
13860
          _POSIX_VERSION for RTEMS.  Added defines for _PC_ASYNC_IO,
13861
          _PC_PRIO_IO, and _PC_SYNC_IO.
13862
        * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
13863
        * libc/machine/m68k/Makefile.in: Regenerated.
13864
        * libc/machine/m68k/strcpy.c: New file.
13865
        * libc/machine/m68k/strlen.c: New file.
13866
        * libc/stdio/tmpnam.c: Always make the returned name usable.
13867
        * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
13868
        * libc/sys/rtems/sys/dirent.h: New file.
13869
        * libc/sys/rtems/sys/types.h: Added dev_t.
13870
 
13871
Tue Sep  7 17:15:00 1999   Jay Kulpinski 
13872
 
13873
        * libc/stdlib/mprec.c: Fixed unitialized variable problem.
13874
 
13875
Fri Sep  3 12:35:20 1999  Jeff Johnston 
13876
 
13877
        * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
13878
        my patch.
13879
 
13880
Thu Sep  2 22:05:20 1999  Christopher Faylor 
13881
 
13882
        patch from Jeff Johnston 
13883
        * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
13884
        buffer is not in a useful state.
13885
 
13886
1999-09-01  Nick Clifton  
13887
 
13888
        * libc/sys/arm/syscalls.c (_link): Add stub.
13889
 
13890
Fri Aug 27 23:09:09 1999  J"orn Rennecke 
13891
 
13892
        * ftell.c (ftell): Use actual position within buffer for text mode.
13893
        * findfp.c (std): Initialize ptr->_bf._size.
13894
 
13895
Wed Aug 18 18:48:02 1999  Christopher Faylor 
13896
 
13897
        * libc/include/sys/unistd.h: Add nice() declaration.
13898
 
13899
1999-08-09  Nick Clifton  
13900
 
13901
        * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
13902
        declare as a thumb function so that the disassembler will see the
13903
        mode change.
13904
 
13905
Thu Aug  5 17:37:00 1999  Ranjith Kumaran 
13906
 
13907
        * libc/reent/reent.tex: Updated list of reentrant functions.
13908
 
13909
1999-07-09  Michael Meissner  
13910
 
13911
        * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
13912
 
13913
Tue Jul  6 10:46:24 1999  Jeff Johnston 
13914
 
13915
        * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
13916
        separate file.
13917
        * libc/stdio/snprintf.c: New file.
13918
        * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
13919
        separate file.
13920
        * libc/stdio/vsnprintf.c: New file.
13921
        * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
13922
        * libc/stdio/Makefile.in: Regenerated.
13923
 
13924
Mon Jul  5 14:43:24 1999  Christopher Faylor 
13925
 
13926
        Patch submitted by Egor Duda :
13927
        * libc/include/stdio.h: Add declarations for *nprintf.
13928
        * libc/stdio/sprintf.c (snprintf): New function.
13929
        (_snprintf_r): New function.
13930
        * libc/stdio/vsprintf.c (vsnprintf): New function.
13931
        (_vnsprintf_r): New function.
13932
 
13933
Wed Jun 30 16:36:27 1999  Jeff Johnston  
13934
 
13935
        * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
13936
        * libm/Makefile.am (stmp-targetdep): Ditto.
13937
        * libc/Makefile.in: Regenerated.
13938
        * libm/Makefile.in: Ditto.
13939
 
13940
Fri Jun 25 10:49:27 1999  Jeff Johnston  
13941
 
13942
        * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
13943
        * libm/Makefile.am (stmp-targetdep): Ditto.
13944
        * libc/Makefile.in: Regenerated.
13945
        * libm/Makefile.in: Ditto.
13946
 
13947
Thu June 03 16:25:00 1999  Jeff Johnston 
13948
 
13949
        * Makefile.am: Removed dependencies on all-recursive and added "."
13950
        to the SUBDIRS list to prevent infinite recursion from occurring.
13951
        Also removed any references to EXTRA_DATA.
13952
        * libc/Makefile.am: Ditto.
13953
        * libc/machine/Makefile.am: Ditto.
13954
        * libc/machine/i386/Makefile.am: Ditto.
13955
        * libm/Makefile.am: Ditto.
13956
        * libc/sys/Makefile.am: Ditto.
13957
        * Makefile.in: Regenerated.
13958
        * aclocal.m4: Ditto.
13959
        * configure: Ditto.
13960
        * doc/Makefile.in: Ditto.
13961
        * doc/aclocal.m4: Ditto.
13962
        * doc/configure: Ditto.
13963
        * libc/Makefile.in: Ditto.
13964
        * libc/aclocal.m4: Ditto.
13965
        * libc/configure: Ditto.
13966
        * libc/machine/Makefile.in: Ditto.
13967
        * libc/machine/aclocal.m4: Ditto.
13968
        * libc/machine/configure: Ditto.
13969
        * libc/machine/mn10300/Makefile.in: Ditto.
13970
        * libc/machine/mn10300/aclocal.m4: Ditto.
13971
        * libc/machine/mn10300/configure: Ditto.
13972
        * libc/sys/Makefile.in: Ditto.
13973
        * libc/sys/aclocal.m4: Ditto.
13974
        * libc/sys/configure: Ditto.
13975
        * libm/Makefile.in: Ditto.
13976
        * libm/aclocal.m4: Ditto.
13977
        * libm/configure: Ditto.
13978
 
13979
Thu June 03 16:20:00 1999  Ranjith Kumaran 
13980
 
13981
        * libc/include/stdlib/stdlib.tex: Add link to env_lock.
13982
 
13983
Fri May 28 17:09:00 1999  Ranjith Kumaran 
13984
 
13985
        * libc/include/stdlib.h: Add reentrant routines.
13986
        * libc/stdlib/Makefile.am: Add reentrant routines.
13987
        * libc/stdlib/Makefile.in: Ditto.
13988
        * libc/stdlib/envlock.c: New file.
13989
        * libc/stdlib/envlock.h: New file.
13990
        * libc/stdlib/getenv.c: Modify to call reentrant routine.
13991
        * libc/stdlib/getenv_r.c: New file.
13992
        * libc/stdlib/mblen.c: Modify to call reentrant routine.
13993
        * libc/stdlib/mblen_r.c: New file.
13994
        * libc/stdlib/setenv.c: Modify to call reentrant routine.
13995
        * libc/stdlib/setenv_r.c: New file.
13996
        * libc/stdlib/stdlib.tex: Add reentrant routines.
13997
 
13998
Mon May 17 22:01:38 1999  Christopher Faylor 
13999
 
14000
        * libc/include/sys/types.h: Define __MS_types__ whenever
14001
        cygwin or win32.
14002
 
14003
Sun May 16 16:02:41 1999  Christopher Faylor 
14004
 
14005
        * libc/include/machine/ieeefp.h: Always default to little
14006
        endian if Windows, regardless of architecture.
14007
        * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
14008
        regardless of architecture.
14009
 
14010
Mon May  3 11:49:18 1999  Geoffrey Noer  
14011
 
14012
        * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
14013
        _WIN32 isn't defined.
14014
 
14015
Mon May  3 11:41:51 1999  Jeff Johnston  
14016
 
14017
        * libm/common/s_rint.c (rint): Add volatile qualifier for
14018
        intermediate value w.
14019
        * libm/common/sf_rint.c (rintf): Ditto.
14020
 
14021
Thu Apr 29 20:34:27 1999  Jeff Johnston  
14022
 
14023
        * libc/sys/arm/syscalls.c (remap_handle): Added check to
14024
        ensure that std streams are initialized before being referenced.
14025
 
14026
1999-04-27  Jason Molenda  (jsm@bugshack.cygnus.com)
14027
 
14028
        * README: Update reference to newlib@cygnus.com new
14029
        newlib@sourceware.cygnus.com address.
14030
 
14031
Mon Apr 26 18:17:33 1999  Geoffrey Noer  
14032
 
14033
        * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
14034
        * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
14035
        defined, even if _WIN32 isn't defined.
14036
 
14037
Sat Apr 24 19:59:55 1999  Christopher Faylor 
14038
 
14039
        * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
14040
 
14041
Wed Apr 21 18:01:00 1999  Ranjith Kumaran  
14042
 
14043
        * libc/include/sys/reent.h: Change Long and ULong to __Long and
14044
        __ULong.
14045
        * libc/stdlib/dtoa.c: Ditto.
14046
        * libc/stdlib/mprec.c: Ditto.
14047
        * libc/stdlib/mprec.h: Ditto.
14048
        * libc/stdlib/strtod.c: Ditto.
14049
 
14050
1999-04-21  Nick Clifton  
14051
 
14052
        * configure.host (mcore): Remove mcore machine directory.
14053
 
14054
1999-04-18  Nick Clifton  
14055
 
14056
        * libc/include/machine/ieeefp.h: Add support for mcore target.
14057
        * libc/include/machine/setjmp.h: Add support for mcore target.
14058
        * configure.host: Add support for mcore target.
14059
 
14060
1999-04-13  Mark Salter  
14061
 
14062
        * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
14063
        * libc/sys/arm/syscalls.c: Added isatty.
14064
 
14065
Wed Apr 07 16:06:04 1999  Jeff Johnston  
14066
 
14067
        * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
14068
        insert zeroes after significant digits.
14069
 
14070
Wed Mar 17 22:06:04 1999  Jeff Johnston  
14071
 
14072
        * libc/stdio/vfprintf.c (cvt): Changed floating point
14073
        cvt routine to use union used by dtoa to properly determine
14074
        if the sign bit is on or not.
14075
        * libc/stdio/vfieeefp.h: New file
14076
 
14077
Wed Mar 17 17:35:04 1999  Jeff Johnston  
14078
 
14079
        * aclocal.m4: Regenerated.
14080
        * configure: Regenerated.
14081
 
14082
Wed Mar 17 16:35:04 1999  Jeff Johnston  
14083
 
14084
        * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
14085
        f_tanf reference.
14086
        * libc/machine/i386/Makefile.in: Regenerated.
14087
 
14088
Tue Mar 16 14:56:36 1999  Jeff Johnston  
14089
 
14090
        * acinclude.m4: Changed to work with new automake.
14091
        * configure: Regenerated.
14092
        * libc/machine/i386/aclocal.m4: Regenerated.
14093
        * libc/machine/i386/configure: Regenerated.
14094
 
14095
Tue Mar 16 13:55:36 1999  Corinna Vinschen  
14096
 
14097
        * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
14098
        for telldir() and seekdir().  Rename unused structure element
14099
        for use with these two routines.
14100
 
14101
Fri Mar 12 19:11:58 1999  Jeff Johnston  
14102
 
14103
        * libc/time/mktime.c (validate_structure): Multiple fixes to
14104
        code to handle cases where input fields are outside valid ranges.
14105
        * libc/stdlib/div.c (div): Modified invalid rounding check.
14106
        * libc/stdlib/ldiv.c (ldiv): Ditto.
14107
 
14108
Thu Mar 11 21:32:13 1999  Jeff Johnston  
14109
 
14110
        * libc/machine/i386/memcpy.S: Performance rewrite.
14111
        * libc/machine/i386/memmove.S: Ditto.
14112
        * libc/machine/i386/i386mach.h: Added more register definitions.
14113
        * libc/include/math.h: Include  if -ffast-math
14114
        option used.
14115
        * libc/include/machine/fastmath.h: Add definitions for x86
14116
        fast-math routines.
14117
 
14118
Wed Mar 10 17:56:00 1999 Ranjith Kumaran  
14119
 
14120
        * libc/stdlib/strtod.c: Change from unsigned long to ULong.
14121
 
14122
Tue Mar  9 14:31:58 1999  Geoffrey Noer  
14123
 
14124
        Adjust newlib headers for new Cygwin Win32 API header files:
14125
        * libc/include/sys/time.h: Check _WINSOCK_H rather than
14126
        _GNU_H_WINDOWS32_SOCKETS.
14127
        * libc/include/sys/types.h: Ditto.
14128
 
14129
Tue Mar 09 15:55:00 1999 Ranjith Kumaran  
14130
 
14131
        *include/sys/reent.h: Add checks for size of Bigint element Long.
14132
        *libc/dtoa.c: Change routines to use generic Long type.
14133
        *libc/mprec.c: Change routines to use generic Long type.
14134
        *libc/mprec.h: Change routines to use generic Long type.
14135
 
14136
Tue Mar 02 18:07:49 1999 Ranjith Kumaran  
14137
 
14138
        * libc/Makefile.am: Add .def files.
14139
        * libc/Makefile.in: Regenerate.
14140
        * libc/e_acosh.c: Documentation update.
14141
        * libc/e_atanh.c: Documentation update.
14142
        * libc/e_hypot.c: Documentation update.
14143
        * libc/e_remainder.c: Documentation update.
14144
        * libc/er_lgamma.c: Documentation update.
14145
        * libc/mathfp.tex: Documentation update.
14146
        * libc/s_acos.c: Documentation update.
14147
        * libc/s_atan.c: Documentation update.
14148
        * libc/s_atan2.c: Documentation update.
14149
        * libc/s_cosh.c: Documentation update.
14150
        * libc/s_fmod.c: Documentation update.
14151
        * libc/s_isnan.c: Documentation update.
14152
        * libc/s_log10.c: Documentation update.
14153
        * libc/s_pow.c: Documentation update.
14154
        * libc/w_jn.c: Documentation update.
14155
 
14156
Sun Feb 28 23:18:49 1999  Geoffrey Noer  
14157
 
14158
        * aclocal.m4: Regenerate.
14159
        * configure: Regenerate.
14160
 
14161
Tue Feb 23 13:57:26 1999  Jeff Johnston  
14162
 
14163
        * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
14164
        to return 1 if user specified return code is 0.
14165
        * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
14166
 
14167
Thu Feb 18 11:13:28 1999  Jeff Johnston  
14168
 
14169
        * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
14170
        to save the return address.  Fixed longjmp to return to the original
14171
        calling address of setjmp and to return the user specified return code
14172
        rather than default to 1.
14173
        * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
14174
 
14175
Mon Feb 15 17:48:17 1999  Jeff Johnston  
14176
 
14177
        * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
14178
 
14179
1999-02-10  Nick Clifton  
14180
 
14181
        * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
14182
        volatile so that its assignments will not be discarded.
14183
 
14184
Wed Feb 10 17:19:40 1999  Jeff Johnston  
14185
 
14186
        * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
14187
        be __STRICT_ANSI__ which is generated by compiler.
14188
        * libc/include/ctype.h: Ditto.
14189
        * libc/include/math.h: Ditto.
14190
        * libc/include/stdio.h: Ditto.
14191
        * libc/include/stdlib.h: Ditto.
14192
        * libc/include/string.h: Ditto.
14193
        * libc/include/sys/signal.h: Ditto.
14194
 
14195
1999-02-08  Nick Clifton  
14196
 
14197
        * configure.host: Add support for StrongARM target.
14198
 
14199
Fri Feb  5 11:13:14 1999  Jeff Johnston  
14200
 
14201
        * libc/string/strncpy.c (strncpy): Removed redundant code
14202
        that was copying bytes if data unaligned.
14203
 
14204
1999-02-02  Brendan Kehoe  
14205
 
14206
        * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
14207
        mbstowcs.def, and wcstombs.def.
14208
 
14209
Sat Jan 30 02:36:33 1999  Christopher Faylor 
14210
 
14211
        * libc/include/sys/errno.h: Add Cygwin errno.
14212
        * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
14213
        is specified.
14214
 
14215
1999-01-29  Nick Clifton  
14216
 
14217
        * libc/sys/arm/syscalls.c: Move C library functions into seperate
14218
        file.
14219
 
14220
        * libc/sys/arm/libcfunc.c: New file containing C library functions
14221
        from syscalls.c
14222
 
14223
        * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
14224
        * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
14225
 
14226
 
14227
1999-01-27  Michael Meissner  
14228
 
14229
        * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
14230
        type, and cut size in half so that the jmp_buf array is guaranteed
14231
        to be aligned on a 64-bit boundary.
14232
 
14233
Mon Jan 25 12:05:38 1999  Jeff Johnston  
14234
 
14235
        * libc/string/strings.tex: Added information about
14236
        strcasecmp and strncasecmp.
14237
        * libc/stdlib/stdlib.tex: Added missing information
14238
        about mblen, mbstowcs, and wcstombs.
14239
        * libc/string/strchr.c: Changed how mask is built to use
14240
        shift operators so register will be used instead of storage.
14241
 
14242
1999-01-22  DJ Delorie  
14243
 
14244
        * libc/include/stdlib.h: don't use dllimport if we're building
14245
        newlib, since it's inside cygwin.dll
14246
 
14247
Fri Jan 22 14:57:18 1999  Christopher Faylor 
14248
 
14249
        * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
14250
        _ctype_ under cygwin.
14251
 
14252
Fri Jan 22 09:50:19 1999  Christopher Faylor 
14253
 
14254
        * include/stdlib.h: Fix typo from previous checkin.
14255
 
14256
Thu Jan 21 22:42:21 1999  Christopher Faylor 
14257
 
14258
        * include/ctype.h: Use __declspec(dllimport) method for exporting
14259
        variable from cygwin DLL.
14260
        * include/time.h: Ditto.
14261
        * sys/errno.h: Ditto.
14262
        * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
14263
        * libc/locale/locale.c: Use __declspec(dllexport) method for
14264
        exporting variable from cygwin DLL.
14265
 
14266
Sat Jan 16 13:29:54 1999  Christopher Faylor 
14267
 
14268
        * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
14269
        access of bogus pointer will result in SIGSEGV.
14270
 
14271
1999-01-07  Nick Clifton  
14272
 
14273
        * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
14274
        of an underscore prefix to function names.
14275
 
14276
Fri Jan  8 19:00:07 1999  Jeff Johnston  
14277
 
14278
        * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
14279
        define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
14280
 
14281
1998-12-31  Michael Meissner  
14282
 
14283
        * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
14284
        to `%' if not already defined.
14285
 
14286
1998-12-30  Michael Meissner  
14287
 
14288
        * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
14289
        arguments const char *, not char *.
14290
        * libc/include/stdio.h (_tempnam_r): Ditto.
14291
 
14292
        * libc/include/sys/reent.h (struct _reent): The _sig_func type
14293
        points to a function taking an integer, not void.
14294
 
14295
Tue Dec 29 14:35:53 1998  Christopher Faylor 
14296
 
14297
        * configure.host: Add a define for Cygwin builds.
14298
        * libc/include/ctype.h: Don't use dll imported variables in newlib.
14299
 
14300
Mon Dec 28 09:19:56 1998  Christopher Faylor 
14301
 
14302
        * libc/include/ctype.h: Define _ctype_ as dll imported variable
14303
        for use with Cygwin.
14304
        * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
14305
        dll imported variables for use with Cygwin.
14306
        * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
14307
        as a dll imported variable for Cygwin.
14308
 
14309
Sat Dec 26 00:13:53 1998  Christopher Faylor 
14310
 
14311
        * libc/include/sys/unistd.h: Add proto for getpass.
14312
 
14313
Fri Dec 18 19:28:19 1998  Geoffrey Noer  
14314
 
14315
        * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
14316
        alphasort.
14317
 
14318
Fri Dec 18 16:33:25 1998  Geoffrey Noer  
14319
 
14320
        * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
14321
        not posix_path_list_p.
14322
 
14323
1998-12-15  Nick Clifton  
14324
 
14325
        * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
14326
        a signed int.
14327
 
14328
1998-12-13  Nick Clifton  
14329
 
14330
        * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
14331
 
14332
1998-12-12  Nick Clifton  
14333
 
14334
        * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
14335
        
14336
        * libc/machine/fr30/Makefile.am: Add build of setjmp.S
14337
        * libc/machine/fr30/Makefile.in: Regenerated.
14338
 
14339
1998-12-11  Nick Clifton  
14340
 
14341
        * configure.host: Remove use of libc/sys for FR30 port.
14342
        * libc/sys/fr30: Remove directory (replaced by libgloss).
14343
 
14344
1998-12-10  Ken Raeburn  
14345
 
14346
        * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
14347
        * libc/string/strncat.c (ALIGNED): Ditto.
14348
 
14349
Wed Dec  9 14:37:57 1998  Geoffrey Noer  
14350
 
14351
        * libc/include/sys/time.h: include sys/types.h
14352
 
14353
Tue Dec  8 15:53:18 1998  Jeff Johnston  
14354
 
14355
        * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
14356
        comparison found when checking word at a time.
14357
 
14358
1998-12-04  Nick Clifton  
14359
 
14360
        * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
14361
 
14362
1998-12-03  Nick Clifton  
14363
 
14364
        * libc/sys/fr30/syscalls.c (_times): New function stub.
14365
 
14366
Thu Dec  3 15:59:19 1998  Jeff Johnston  
14367
 
14368
        * configure.host (mach_add_setjmp): Replaced mach_add_objs
14369
        with mach_add_setjmp flag which indicates if setjmp should
14370
        be added to the machine directory objects.
14371
        * acinclude.m4: Removed reference to mach_add_objs.
14372
        * aclocal.m4: Regenerated.
14373
        * Makefile.in: Regenerated.
14374
        * configure: Regenerated.
14375
        * libc/aclocal.m4: Regenerated.
14376
        * libc/Makefile.in: Regenerated.
14377
        * libc/configure: Regenerated.
14378
        * libc/machine/aclocal.m4: Regenerated.
14379
        * libc/machine/Makefile.in: Regenerated.
14380
        * libc/machine/configure: Regenerated.
14381
        * libc/machine/i386/aclocal.m4: Regenerated.
14382
        * libc/machine/i386/Makefile.am: Altered to selectively add
14383
        setjmp.S to the src files list.
14384
        * libc/machine/i386/Makefile.in: Regenerated.
14385
        * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
14386
        * libc/machine/i386/configure: Regenerated.
14387
 
14388
1998-12-02  Nick Clifton  
14389
 
14390
        * libc/sys/fr30/crt0.s (_start): Fix function names.
14391
 
14392
        * libc/machine/fr30: New directory
14393
        * libc/machine/fr30/Makefile.am: New file.
14394
        * libc/machine/fr30/Makefile.in: New generated file.
14395
        * libc/machine/fr30/configure.in: New file.
14396
        * libc/machine/fr30/configure: New generated file.
14397
        * libc/machine/fr30/aclocal.m4: New generated file.
14398
        * libc/sys/fr30/Makefile.am: New file.
14399
        * libc/sys/fr30/Makefile.in: New generated file.
14400
        * libc/sys/fr30/configure.in: New file.
14401
        * libc/sys/fr30/configure: New generated file.
14402
        * libc/sys/fr30/syscalls.c: New file.
14403
 
14404
Tue Dec  1 16:28:56 1998  Geoffrey Noer  
14405
 
14406
        * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
14407
 
14408
1998-12-01  Ken Raeburn  
14409
 
14410
        * libc/time/strftime.c (strftime): Also handle %y for years before
14411
        1900.
14412
 
14413
Tue Dec  1 13:26:07 1998  Christopher Faylor 
14414
 
14415
        * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
14416
        UNIX convention.  Perform tolower on characters before comparing
14417
        them rather than use toupper.
14418
        * libc/string/strncasecmp.c (strncasecmp): Ditto.
14419
 
14420
Mon Nov 30 16:24:19 1998  Jeff Johnston  
14421
 
14422
        * configure.host: Added using i386 machine directory
14423
        for all x86 cross-compiler and configuring
14424
        which added object files to use via new "mach_add_objs" variable.
14425
        * configure: Regenerated.
14426
        * libc/configure: Regenerated.
14427
        * libc/Makefile.in: Regenerated.
14428
        * libc/aclocal.m4: Regenerated.
14429
        * libc/ctype/Makefile.in: Regenerated.
14430
        * libc/errno/Makefile.in: Regenerated.
14431
        * libc/locale/Makefile.in: Regenerated.
14432
        * libc/machine/Makefile.in: Regenerated.
14433
        * libc/machine/aclocal.m4: Regenerated.
14434
        * libc/machine/configure: Regenerated.
14435
        * libc/posix/Makefile.in: Regenerated.
14436
        * libc/reent/Makefile.in: Regenerated.
14437
        * libc/signal/Makefile.in: Regenerated.
14438
        * libc/stdio/Makefile.in: Regenerated.
14439
        * libc/stdlib/Makefile.in: Regenerated.
14440
        * libc/string/Makefile.in: Regenerated.
14441
        * libc/string/memmove.c: Optimized code to use memcpy
14442
        logic when performing a non-destructive copy.
14443
        * libc/string/strncmp.c: Altered code to allow building
14444
        optimized for size or speed.
14445
        * libc/syscalls/Makefile.in: Regenerated.
14446
        * libc/time/Makefile.in: Regenerated.
14447
        * libc/unix/Makefile.in: Regenerated.
14448
        * libc/machine/i386/Makefile.am: Added new files and reference
14449
        to "mach_add_objs" to indicate optional object files.
14450
        * libc/machine/i386/Makefile.in: Regenerated.
14451
        * libc/machine/i386/aclocal.m4: Regenerated.
14452
        * libc/machine/i386/configure: Regenerated.
14453
        * libc/machine/i386/memchr.S: New file that implements
14454
        function in Intel assembler.
14455
        * libc/machine/i386/memcmp.S: ditto.
14456
        * libc/machine/i386/memcpy.S: ditto.
14457
        * libc/machine/i386/memmove.S: ditto.
14458
        * libc/machine/i386/memset.S: ditto.
14459
        * libc/machine/i386/strchr.S: ditto.
14460
        * libc/machine/i386/strlen.S: ditto.
14461
        * libc/machine/i386/f_atan2.S: New file that implements
14462
        fast version of math function to be used by compiler when
14463
        --ffast_math compile option is used.
14464
        * libc/machine/i386/f_atan2f.S: ditto.
14465
        * libc/machine/i386/f_exp.c: ditto.
14466
        * libc/machine/i386/f_expf.c: ditto.
14467
        * libc/machine/i386/f_frexp.S: ditto.
14468
        * libc/machine/i386/f_frexpf.S: ditto.
14469
        * libc/machine/i386/f_ldexp.S: ditto.
14470
        * libc/machine/i386/f_ldexpf.S: ditto.
14471
        * libc/machine/i386/f_log.S: ditto.
14472
        * libc/machine/i386/f_logf.S: ditto.
14473
        * libc/machine/i386/f_log10.S: ditto.
14474
        * libc/machine/i386/f_log10f.S: ditto.
14475
        * libc/machine/i386/f_math.h: New file.
14476
        * libc/machine/i386/f_pow.c: ditto.
14477
        * libc/machine/i386/f_powf.S: ditto.
14478
        * libc/machine/i386/f_tan.S: ditto.
14479
        * libc/machine/i386/f_tan.S: ditto.
14480
        * libc/machine/i386/i386mach.h: New file.
14481
 
14482
Mon Nov 30 13:02:17 1998  Christopher Faylor 
14483
 
14484
        patch from Mumit Khan 
14485
        * libc/include/stdio.h (tempnam): Add prototype.
14486
        * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
14487
        (tempnam): Adhere to prototype.
14488
 
14489
Thu Nov 26 00:21:32 1998  Christopher Faylor 
14490
 
14491
        * Makefile.am: Add default for AR_FLAGS.
14492
        * Makefile.in: Regenerate.
14493
 
14494
Tue Nov 24 18:48:56 1998  Geoffrey Noer  
14495
 
14496
        * libc/include/time.h: move __cplusplus wrapper after includes
14497
        * libc/include/sys/time.h: ditto.  If Cygwin, include
14498
        sys/select.h.
14499
        * libc/include/sys/types.h: lose "32" in comment about Cygwin.
14500
 
14501
1998-11-23  Ken Raeburn  
14502
 
14503
        * libc/time/strftime.c (strftime): Handle %y after year 2000.
14504
 
14505
Wed Nov 18 12:22:41 1998  Nick Clifton  
14506
 
14507
        * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
14508
        abnormnal end-of-crt0 marker.
14509
 
14510
Tue Nov 17 16:27:58 1998  Nick Clifton  
14511
 
14512
        * libc/sys/fr30/crt0.s: New file/directory.
14513
        * libc/include/machine/setjmp.h: Add FR30 target.
14514
        * libc/include/machine/ieeefp.h: Add FR30 target.
14515
        * configure.host: Add FR30 target.
14516
 
14517
Mon Nov  16 23:15:00 1998  Ranjith Kumaran 
14518
 
14519
        * libm/math: Files that are duplicated in common directory removed.
14520
        * libm/math/fdlibm.h: Removed.
14521
        * libm/math/s_cbrt.c: Removed.
14522
        * libm/math/s_copysign.c: Removed.
14523
        * libm/math/s_expm1.c: Removed.
14524
        * libm/math/s_finite.c: Removed.
14525
        * libm/math/s_ilogb.c: Removed.
14526
        * libm/math/s_infinity.c: Removed.
14527
        * libm/math/s_lib_ver.c: Removed.
14528
        * libm/math/s_log1p.c: Removed.
14529
        * libm/math/s_logb.c: Removed.
14530
        * libm/math/s_matherr.c: Removed.
14531
        * libm/math/s_modf.c: Removed.
14532
        * libm/math/s_nan.c: Removed.
14533
        * libm/math/s_nextafter.c: Removed.
14534
        * libm/math/s_rint.c: Removed.
14535
        * libm/math/s_scalbn.c: Removed.
14536
        * libm/math/sf_cbrt.c: Removed.
14537
        * libm/math/sf_copysign.c: Removed.
14538
        * libm/math/sf_expm1.c: Removed.
14539
        * libm/math/sf_finite.c: Removed.
14540
        * libm/math/sf_ilogb.c: Removed.
14541
        * libm/math/sf_infinity.c: Removed.
14542
        * libm/math/sf_log1p.c: Removed.
14543
        * libm/math/sf_logb.c: Removed.
14544
        * libm/math/sf_modf.c: Removed.
14545
        * libm/math/sf_nan.c: Removed.
14546
        * libm/math/sf_nextafter.c: Removed.
14547
        * libm/math/sf_rint.c: Removed.
14548
        * libm/math/sf_scalbn.c: Removed.
14549
        * libm/math/Makefile.am: Removed references to deleted files (above).
14550
        * libm/math/Makefile.in: Regenerated.
14551
        * libm/Makefile.am: Added common directory to math.
14552
        * libm/Makefile.in: Regenerated.
14553
 
14554
Mon Nov  2 23:12:00 1998  Ranjith Kumaran 
14555
 
14556
        * libm/mathfp: Add non-ANSI functions.
14557
        * libm/mathfp/e_acosh.c acosh(): New file.
14558
        * libm/mathfp/e_atanh.c atanh(): New file.
14559
        * libm/mathfp/e_hypot.c hypot(): New file.
14560
        * libm/mathfp/e_j0.c j0(): New file.
14561
        * libm/mathfp/e_j1.c j1(): New file.
14562
        * libm/mathfp/e_remainder.c remainder(): New file.
14563
        * libm/mathfp/e_scalb.c scalb(): New file.
14564
        * libm/mathfp/ef_acosh.c acoshf(): New file.
14565
        * libm/mathfp/ef_atanh.c atanhf(): New file.
14566
        * libm/mathfp/ef_hypot.c hypotf(): New file.
14567
        * libm/mathfp/ef_j0.c j0f(): New file.
14568
        * libm/mathfp/ef_j1.c j1f(): New file.
14569
        * libm/mathfp/ef_remainder.c remainderf(): New file.
14570
        * libm/mathfp/ef_scalb.c scalbf(): New file.
14571
        * libm/mathfp/er_gamma.c gamma_r: New file.
14572
        * libm/mathfp/er_lgamma.c lgamma_r(): New file.
14573
        * libm/mathfp/erf_gamma.c gamma_rf(): New file.
14574
        * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
14575
        * libm/mathfp/w_cabs.c cabs(): New file.
14576
        * libm/mathfp/w_drem.c drem(): New file.
14577
        * libm/mathfp/w_jn.c jn(): New file.
14578
        * libm/mathfp/wf_cabs.c cabsf(): New file.
14579
        * libm/mathfp/wf_drem.c dremf(): New file.
14580
        * libm/mathfp/wf_jn.c jnf(): New file.
14581
 
14582
Mon Nov  2 16:43:18 1998  Geoffrey Noer  
14583
 
14584
        * libc/sys/cygwin32: remove directory and contents
14585
        * libc/sys/cygwin: and add back, losing the "32".
14586
        * configure.host: check for cygwin* instead of cygwin32.
14587
        * acinclude.m4: ditto.
14588
        * aclocal.m4: regenerate with aclocal
14589
        * configure: regenerate with autoconf
14590
 
14591
Tue Oct 20 17:28:28 1998  Geoffrey Noer  
14592
 
14593
        * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
14594
        for length
14595
 
14596
Tue Oct 20 18:49:05 1998  Jeff Johnston  
14597
 
14598
        * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
14599
        _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
14600
        to make rand/srand, strtok, asctime, localtime, w_gamma,
14601
        w_lgamma, wf_gamma, and wf_lgamma reentrant.  Included
14602
        time.h to bring in struct tm definition.
14603
        * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
14604
        '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
14605
        * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
14606
        instead of static variable.
14607
        * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
14608
        struct reent instead of static variable.
14609
        * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
14610
        struct reent instead of static variable.
14611
        * libm/math/Makefile.am: Removed s_signgam.o.
14612
        * libm/math/Makefile.in: Regenerated.
14613
        * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
14614
        struct reent instead of global variable 'signgam'.
14615
        * libm/math/w_lgamma.c (lgamma): Likewise.
14616
        * libm/math/wf_gamma.c (gammaf): Likewise.
14617
        * libm/math/wf_lgamma.c (lgammaf): Likewise.
14618
        * libm/math/s_signgam.c: Removed.
14619
        * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
14620
        to be const.
14621
        * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
14622
        to be const.
14623
        * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
14624
        libc/include/reent.h.
14625
        * libc/reent/Makefile.in: Regenerated.
14626
        * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
14627
        to be const.
14628
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
14629
        'JIS_action_table' to be const.
14630
        * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
14631
 
14632
Mon Oct 12 00:26:33 1998  Christopher Faylor 
14633
 
14634
        * acinclude.m4:  $with_target_subdir should default to '.'
14635
        or confusion results when configuring in same directory as sources.
14636
        * Regenerate all aclocal.m4 and configure files.
14637
 
14638
Fri Oct  9 16:27:36 1998  Jeff Johnston  
14639
 
14640
        * libc/stdlib/mallocr.c: Added 16 byte alignment support which
14641
        can be set by defining MALLOC_ALIGNMENT=16.  Also added support
14642
        for platforms where sizeof(size_t) < sizeof(long) via
14643
        SIZE_T_SMALLER_THAN_LONG macro.
14644
 
14645
Wed Oct  7 14:02:40 1998  Jeff Johnston  
14646
 
14647
        * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
14648
        to refer to _CLOCKS_PER_SEC_ and added including 
14649
        which sets _CLOCKS_PER_SEC_ for selected machines.
14650
        * libc/include/machine/time.h: New file.
14651
 
14652
Tue Oct  6 16:08:05 1998  Jeff Johnston  
14653
 
14654
        * libc/syscalls/sysexecve.c: New file.
14655
        * libc/syscalls/sysgettod.c: New file.
14656
        * libc/syscalls/systimes.c: New file.
14657
        * libc/syscalls/Makefile.am: Added new objects.
14658
        * libc/syscalls/Makefile.in: Regenerated.
14659
        * libc/include/_syslist.h (_execve): Moved define in file.
14660
        * libc/include/reent.h:  Added _execve_r declaration.
14661
        * libc/Makefile.in: Regenerated.
14662
        * libc/ctype/Makefile.in: Regenerated.
14663
        * libc/errno/Makefile.in: Regenerated.
14664
        * libc/locale/Makefile.in: Regenerated.
14665
        * libc/machine/Makefile.in: Regenerated.
14666
        * libc/misc/Makefile.in: Regenerated.
14667
        * libc/posix/Makefile.in: Regenerated.
14668
        * libc/reent/Makefile.in: Regenerated.
14669
        * libc/reent/execr.c (_execve_r): Added _execve_r function.
14670
        * libc/signal/Makefile.in: Regenerated.
14671
        * libc/stdio/Makefile.in: Regenerated.
14672
        * libc/time/Makefile.in: Regenerated.
14673
        * libc/unix/Makefile.in: Regenerated.
14674
        * libm/mathfp/Makefile.in: Regenerated.
14675
 
14676
Tue Oct  6 14:14:05 1998  Jeff Johnston  
14677
 
14678
        * libc/string/Makefile.in: Regenerated.
14679
        * libc/string/memchr.c (memchr): Moved code to reduce object size.
14680
        * libc/string/memcpy.c (memcpy): Ditto.
14681
        * libc/string/memcmp.c (memcmp): Ditto.
14682
        * libc/string/memset.c (memset): Ditto.
14683
        * libc/string/strchr.c (strchr): Ditto.
14684
        * libc/string/strcmp.c (strcmp): Ditto.
14685
        * libc/string/strcpy.c (strcpy): Ditto.
14686
        * libc/string/strlen.c (strlen): Ditto.
14687
 
14688
Tue Oct  6 13:58:05 1998  Jeff Johnston  
14689
 
14690
        * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
14691
        to generate aclocal.m4.
14692
        * libm/Makefile.in: Regenerated.
14693
        * libm/aclocal.m4: Regenerated.
14694
        * libm/configure: Regenerated.
14695
        * libm/math/Makefile.in: Regenerated.
14696
        * libm/mathfp/Makefile.in: Regenerated.
14697
 
14698
1998-09-25  Mark Salter  
14699
 
14700
        * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
14701
        by adding leading and trailing underscores to symbol names.
14702
 
14703
Tue Sep 22 15:33:41 1998  Christopher Faylor 
14704
 
14705
        * Makefile.in: Add default for AR_FLAGS.
14706
 
14707
Tue Sep 22 15:02:49 1998  Christopher Faylor 
14708
 
14709
        patch from ian@airs.com (Ian Taylor):
14710
        * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
14711
        NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
14712
        is needed for detecting the build machine.  Required for
14713
        cygwin native builds.
14714
 
14715
        * Regenerate all aclocal.m4 and configure files.
14716
 
14717
Mon Sep 21 14:44:16 1998  Nick Clifton  
14718
 
14719
        * libc/sys/arm/crt0.S: Prepend a period to all local labels that
14720
        used to start with LC.
14721
 
14722
Thu Sep 17 18:18:11 1998  J"orn Rennecke 
14723
 
14724
        * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
14725
        (longjmp): Likewise.
14726
 
14727
Thu Sep 17 16:25:33 1998  J"orn Rennecke 
14728
 
14729
        * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
14730
        the test for small number of bytes.
14731
 
14732
Thu Sep 10 11:40:00 1998  Ranjith Kumaran 
14733
 
14734
        * Makefile.am: Add --enable-newlib-hw-fp check.  This builds the new
14735
        math library that uses floating point algorithms instead of the old
14736
        libm.
14737
        * Makefile.in: Regenerate with automake version 1.3b.
14738
        * configure: Rebuild.
14739
        * libm/Makefile.in: Regenerate with automake version 1.3b.
14740
        * libm/aclocal.m4: Regenerate.
14741
        * libm/configure: Rebuild.
14742
        * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
14743
        * libm/acinclude.m4: Define macros for configure.in.
14744
        * libm/config.h.in: Generate.
14745
        * libm/mathfp/Makefile.am: New file.
14746
        * libm/mathfp/Makefile.in: Generate.
14747
        * libm/mathfp/s_acos.c (acos): New file.
14748
        * libm/mathfp/s_asin.c (asin): New file.
14749
        * libm/mathfp/s_asine.c (asine): New file.
14750
        * libm/mathfp/s_atan.c (atan): New file.
14751
        * libm/mathfp/s_atan2.c (atan2): New file.
14752
        * libm/mathfp/s_atangent.c (atangent): New file.
14753
        * libm/mathfp/s_ceil.c (ceil): New file.
14754
        * libm/mathfp/s_copysign.c (copysign): New file.
14755
        * libm/mathfp/s_cos.c (cos): New file.
14756
        * libm/mathfp/s_cosh.c (cosh): New file.
14757
        * libm/mathfp/s_exp.c (exp): New file.
14758
        * libm/mathfp/s_fabs.c (fabs): New file.
14759
        * libm/mathfp/s_finite.c (finite): New file.
14760
        * libm/mathfp/s_floor.c (floor): New file.
14761
        * libm/mathfp/s_fmod.c (fmod): New file.
14762
        * libm/mathfp/s_frexp.c (frexp): New file.
14763
        * libm/mathfp/s_infconst.c: New file.
14764
        * libm/mathfp/s_isinf (isinf).c: New file.
14765
        * libm/mathfp/s_isnan.c (isnan): New file.
14766
        * libm/mathfp/s_ispos.c (ispos): New file.
14767
        * libm/mathfp/s_ldexp.c (ldexp): New file.
14768
        * libm/mathfp/s_log.c (log): New file.
14769
        * libm/mathfp/s_log10.c (log10): New file.
14770
        * libm/mathfp/s_logarithm.c (logarithm): New file.
14771
        * libm/mathfp/s_mathcnst.c: New file.
14772
        * libm/mathfp/s_modf (modf).c: New file.
14773
        * libm/mathfp/s_numtest.c (numtest): New file.
14774
        * libm/mathfp/s_pow.c (pow): New file.
14775
        * libm/mathfp/s_scalbn.c (scalbn): New file.
14776
        * libm/mathfp/s_sin (sin).c: New file.
14777
        * libm/mathfp/s_sine.c (sine): New file.
14778
        * libm/mathfp/s_sineh.c (sineh): New file.
14779
        * libm/mathfp/s_sinf.c (sinf): New file.
14780
        * libm/mathfp/s_sinh.c (sinh): New file.
14781
        * libm/mathfp/s_sqrt.c (sqrt): New file.
14782
        * libm/mathfp/s_tan.c (tan): New file.
14783
        * libm/mathfp/s_tanh.c (tanh): New file.
14784
        * libm/mathfp/sf_acos.c (acosf): New file.
14785
        * libm/mathfp/sf_asin.c (asinf): New file.
14786
        * libm/mathfp/sf_asine.c (asinef): New file.
14787
        * libm/mathfp/sf_atan.c (atanf): New file.
14788
        * libm/mathfp/sf_atan2.c (atan2f): New file.
14789
        * libm/mathfp/sf_atangent.c (atangent): New file.
14790
        * libm/mathfp/sf_ceil.c (ceilf): New file.
14791
        * libm/mathfp/sf_copysign.c (copysignf): New file.
14792
        * libm/mathfp/sf_cos.c (cosf): New file.
14793
        * libm/mathfp/sf_cosh.c (coshf): New file.
14794
        * libm/mathfp/sf_exp.c (expf): New file.
14795
        * libm/mathfp/sf_fabs.c (fabsf): New file.
14796
        * libm/mathfp/sf_finite.c (finitef): New file.
14797
        * libm/mathfp/sf_floor.c (floorf): New file.
14798
        * libm/mathfp/sf_fmod.c (fmodf): New file.
14799
        * libm/mathfp/sf_frexp.c (frexpf): New file.
14800
        * libm/mathfp/sf_isinf.c (isinff): New file.
14801
        * libm/mathfp/sf_isnan.c (isnanf): New file.
14802
        * libm/mathfp/sf_ispos.c (isposf): New file.
14803
        * libm/mathfp/sf_ldexp.c (ldexpf): New file.
14804
        * libm/mathfp/sf_log.c (logf): New file.
14805
        * libm/mathfp/sf_log10.c (log10f): New file.
14806
        * libm/mathfp/sf_logarithm.c (logarithmf): New file.
14807
        * libm/mathfp/sf_modf.c (modff): New file.
14808
        * libm/mathfp/sf_numtest.c (numtestf): New file.
14809
        * libm/mathfp/sf_pow.c (powf): New file.
14810
        * libm/mathfp/sf_scalbn.c (scalbnf): New file.
14811
        * libm/mathfp/sf_sin.c (sinf): New file.
14812
        * libm/mathfp/sf_sine.c (sinef): New file.
14813
        * libm/mathfp/sf_sineh.c (sinehf): New file.
14814
        * libm/mathfp/sf_sinh.c (sinhf): New file.
14815
        * libm/mathfp/sf_sqrt.c (sqrtf): New file.
14816
        * libm/mathfp/sf_tan.c (tanf): New file.
14817
        * libm/mathfp/sf_tanh.c (tanhf): New file.
14818
        * libm/mathfp/zmath.h: New file.
14819
 
14820
Wed Sep  2 02:49:03 1998  J"orn Rennecke 
14821
 
14822
        * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
14823
        exit if it has been overwritten by pre-fetching in delay slot.
14824
 
14825
1998-09-01  Michael Meissner  
14826
 
14827
        * Makefile.am (tooldir): Add in host_alias, so that multilib
14828
        libraries are installed in the directory the compiler looks in.
14829
        * Makefile.in: Regenerate.
14830
 
14831
        * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
14832
 
14833
Mon Aug 31 11:39:31 1998  Jeff Johnston  
14834
 
14835
        * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
14836
        ahead of test for number of bytes being moved.
14837
 
14838
Thu Aug 27 14:07:53 1998  Christopher Faylor 
14839
 
14840
        * libc/include/sys/unistd.h: Nothing special needed for
14841
        _exit under cygwin.
14842
 
14843
Wed Aug 26 15:05:21 1998  Nick Clifton  
14844
 
14845
        * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
14846
        conform to user label naming conventions.
14847
 
14848
Mon Aug 24 14:46:19 1998  Geoffrey Noer 
14849
 
14850
        * libc/sys/cygwin32/sys/utime.h: variable names in
14851
        protos should start with two leading underscores
14852
        * libc/include/string.h: ditto
14853
        * libc/include/sys/signal.h: ditto
14854
        * libc/include/sys/stat.h: ditto
14855
        * libc/include/sys/time.h: ditto
14856
        * libc/include/sys/unistd.h: ditto
14857
        * libc/include/ctype.h: ditto
14858
        * libc/include/stdlib.h: ditto
14859
        * libc/include/sys/reent.h: struct _atexit function ptr takes a
14860
        void, same with _sig_func.
14861
 
14862
Fri Aug 21 14:44:14 1998  Jeff Johnston  
14863
 
14864
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
14865
        for MB_CAPABLE to reduce code size when newlib is not configured
14866
        with --enable-newlib-mb.
14867
        * libc/stdlib/Makefile.am: Specified -fshort-enums when building
14868
        mbtowc_r.o to minimize size.
14869
        * libc/stdlib/Makefile.in: Rebuild.
14870
 
14871
Wed Aug 19 16:20:13 1998  Jim Wilson  
14872
 
14873
        * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
14874
        to -DREENT.
14875
        * libc/sys/sparc64/Makefile.in: Rebuild.
14876
 
14877
Tue Aug 18 22:38:29 1998  Ian Lance Taylor  
14878
 
14879
        * Makefile.am (MAKEOVERRIDES): Define.
14880
        * Makefile.in: Rebuild.
14881
 
14882
Tue Aug 18 12:38:47 1998  Jim Wilson  
14883
 
14884
        * libc/sys/sparc64/sys/stat.h (stat): Add const.
14885
 
14886
Mon Aug 17 22:27:06 1998  Ian Lance Taylor  
14887
 
14888
        * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
14889
        newlib_cflags when looking for targ-include.
14890
        * */aclocal.m4, */configure: Rebuild.
14891
 
14892
Fri Jul 31 10:57:42 1998  Catherine Moore  
14893
 
14894
        * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
14895
        to "_end".
14896
 
14897
Wed Jul 29 00:02:01 1998  Mark Alexander  
14898
 
14899
        * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
14900
        on SPARCs with little-endian data.
14901
        * libc/include/machine/ieeefp.h: Ditto.
14902
 
14903
Wed Jul 22 18:00:10 1998  Ian Lance Taylor  
14904
 
14905
        * acinclude.m4: Handle a relative srcdir correctly when setting
14906
        newlib_cflags.
14907
        * */aclocal.m4, */configure: Rebuild.
14908
 
14909
Wed Jul 22 17:11:33 1998  Jeff Johnston  
14910
 
14911
        * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
14912
        also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
14913
        * libm/math/wrf_gamma.c (gammaf_r): ditto
14914
        * libm/math/wr_lgamma.c (lgamma_r): ditto
14915
        * libm/math/wr_gamma.c (gamma_r): ditto
14916
        * libm/math/wf_sqrt.c (sqrtf): ditto
14917
        * libm/math/wf_sinh.c (sinhf): ditto
14918
        * libm/math/wf_scalb.c (scalbf): ditto
14919
        * libm/math/wf_remainder.c (remainderf): ditto
14920
        * libm/math/wf_pow.c (powf): ditto
14921
        * libm/math/wf_log10.c (log10f): ditto
14922
        * libm/math/wf_log.c (logf): ditto
14923
        * libm/math/wf_lgamma.c (lgammaf): ditto
14924
        * libm/math/wf_jn.c (jnf, ynf): ditto
14925
        * libm/math/wf_j1.c (j1f, y1f): ditto
14926
        * libm/math/wf_j0.c (j0f, y0f): ditto
14927
        * libm/math/wf_hypot.c (hypotf): ditto
14928
        * libm/math/wf_gamma.c (gammaf): ditto
14929
        * libm/math/wf_fmod.c (fmodf): ditto
14930
        * libm/math/wf_exp.c (expf): ditto
14931
        * libm/math/wf_cosh.c (coshf): ditto
14932
        * libm/math/wf_atanh.c (atanhf): ditto
14933
        * libm/math/wf_atan2f.c (atan2f): ditto
14934
        * libm/math/wf_asin.c (asinf): ditto
14935
        * libm/math/wf_acosh.c (acoshf): ditto
14936
        * libm/math/wf_acos.c (acosf): ditto
14937
        * libm/math/w_sqrt.c (sqrt): ditto
14938
        * libm/math/w_sinh.c (sinh): ditto
14939
        * libm/math/w_scalb.c (scalb): ditto
14940
        * libm/math/w_remainder.c (remainder): ditto
14941
        * libm/math/w_pow.c (pow): ditto
14942
        * libm/math/w_log10.c (log10): ditto
14943
        * libm/math/w_log.c (log): ditto
14944
        * libm/math/w_lgamma.c (lgamma): ditto
14945
        * libm/math/w_jn.c (jn, yn): ditto
14946
        * libm/math/w_j1.c (j1, y1): ditto
14947
        * libm/math/w_j0.c (j0, y0): ditto
14948
        * libm/math/w_hypot.c (hypot): ditto
14949
        * libm/math/w_gamma.c (gamma): ditto
14950
        * libm/math/w_fmod.c (fmod): ditto
14951
        * libm/math/w_exp.c (exp): ditto
14952
        * libm/math/w_cosh.c (cosh): ditto
14953
        * libm/math/w_atanh.c (atanh): ditto
14954
        * libm/math/w_atan2f.c (atan2): ditto
14955
        * libm/math/w_asin.c (asin): ditto
14956
        * libm/math/w_acosh.c (acosh): ditto
14957
        * libm/math/w_acos.c (acos): ditto
14958
 
14959
Tue Jul 21 12:34:54 1998  Ian Lance Taylor  
14960
 
14961
        * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
14962
        (fsrc): Add wf_cabs.c and wf_drem.c.
14963
        * libm/math/Makefile.in: Rebuild.
14964
 
14965
        * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD.  Remove some
14966
        unused directory variables.  Remove duplicate CFLAGS.
14967
        * Makefile.in: Rebuild.
14968
 
14969
        * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
14970
        with $(CC_FOR_BUILD).
14971
        (makedoc.o): Likewise.
14972
        * doc/Makefile.in: Rebuild.
14973
 
14974
        * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
14975
        force a definition of COMPILE.
14976
        (libfoo_a_SOURCES): Define.
14977
        * libc/sys/cygwin32/Makefile.in: Rebuild.
14978
        * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
14979
        force a definition of COMPILE.
14980
        (libfoo_a_SOURCES): Define.
14981
        * libc/sys/tic80/Makefile.in: Rebuild.
14982
 
14983
Mon Jul 20 20:49:24 1998  Christopher Faylor 
14984
 
14985
        * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
14986
        flag.
14987
 
14988
Fri Jul 17 16:13:16 1998  Ian Lance Taylor  
14989
 
14990
        * Build using autoconf and automake.  Added many Makefile.am and
14991
        configure.in files, plus generated files.  Old configure.in files
14992
        and all old Makefile.in files completely replaced.  Removed
14993
        host/any.  Added acinclude.m4 and configure.host.
14994
 
14995
Sat Jul 11 18:14:49 1998  Felix Lee  
14996
 
14997
        * libc/stdio/vfprintf.c: enable long long support, sometimes.
14998
        * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
14999
 
15000
Tue Jul  7 01:51:55 1998  J"orn Rennecke 
15001
 
15002
        * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
15003
        * libc/machine/sh/Makefile.in: Add rules for new files.
15004
 
15005
Tue Jul  7 01:40:55 1998  J"orn Rennecke 
15006
 
15007
        * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
15008
        * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
15009
        * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
15010
 
15011
Thu Jul  2 10:33:16 1998  Nick Clifton  
15012
 
15013
        * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
15014
        code is ignored.
15015
 
15016
Wed Jun 24 13:56:54 1998  Jeff Johnston  
15017
 
15018
        * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
15019
        internal static buffer when s is NULL, as prescribed by ANSI.
15020
 
15021
1998-06-22  Vladimir N. Makarov  
15022
 
15023
        * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
15024
        removed.
15025
        * libc/sys/h8300hms/malloc.c: has been removed.  Now malloc.c from
15026
        libc/stdlib will be used for h8300hms.
15027
 
15028
Thu Jun 18 16:56:05 1998  Jeff Johnston  
15029
 
15030
        * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
15031
        version that can be built either for speed or size.
15032
        * libc/machine/mn10300/memset.S (_memset): ditto
15033
        * libc/machine/mn10300/memchr.S (_memchr): ditto
15034
        * libc/machine/mn10300/memcpy.S (_memcpy): ditto
15035
        * libc/machine/mn10300/memcmp.S (_memcmp): ditto
15036
        * libc/machine/mn10300/strchr.S (_strchr): ditto
15037
        * libc/machine/mn10300/strcmp.S (_strcmp): ditto
15038
        * libc/machine/mn10300/strcpy.S (_strcpy): ditto
15039
        * libc/machine/mn10300/Makefile.in: Added entries for
15040
        memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
15041
        strcmp.o, strcpy.o, and strlen.o.
15042
 
15043
Wed Jun 17 12:50:26 1998  Mark Alexander  
15044
 
15045
        * configure.in: Don't use libc/sys/sysmec for MN10200; it's
15046
        been replaced with libgloss/mn10200.
15047
 
15048
Fri Jun 12 14:34:39 1998  Michael Meissner  
15049
 
15050
        * libc/string/strchr.c (strchr): Make s a constant pointer to
15051
        avoid warning.
15052
 
15053
Tue Jun  9 16:29:30 1998  Jason Molenda  (crash@bugshack.cygnus.com)
15054
 
15055
        * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
15056
        instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
15057
        board SWIs instead of Demon board SWIs).
15058
 
15059
Thu Jun  4 12:16:46 1998  Michael Meissner  
15060
 
15061
        * libc/string/strncat.c (strncat):  Make -Os act the same as
15062
        PREFER_SIZE_OVER_SPEED being defined.
15063
 
15064
Wed Jun  3 17:52:33 1998  Michael Meissner  
15065
 
15066
        * libc/string/memchr.c (memchr): Make -Os act the same as
15067
        PREFER_SIZE_OVER_SPEED being defined.
15068
        * libc/string/memcmp.c (memcmp): Ditto.
15069
        * libc/string/memcpy.c (memcpy): Ditto.
15070
        * libc/string/memset.c (memset): Ditto.
15071
        * libc/string/strcat.c (strcat): Ditto.
15072
        * libc/string/strchr.c (strchr): Ditto.
15073
        * libc/string/strcmp.c (strcmp): Ditto.
15074
        * libc/string/strcpy.c (strcpy): Ditto.
15075
        * libc/string/strlen.c (strlen): Ditto.
15076
        * libc/string/strncat.c (strncat): Ditto.
15077
        * libc/string/strncmp.c (strncmp): Ditto.
15078
        * libc/string/strncpy.c (strncpy): Ditto.
15079
 
15080
Mon Jun  1 15:25:07 1998  Geoffrey Noer  
15081
 
15082
        * libc/include/sys/itimer.h: remove
15083
        * libc/include/sys/time.h: itimer stuff should be here
15084
 
15085
Mon Jun  1 16:31:29 1998  Jeff Johnston  
15086
 
15087
        * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
15088
        bit instead of comparing to 0 so -0.0 can be printed correctly.
15089
 
15090
Sat May 30 09:33:51 1998  J"orn Rennecke 
15091
 
15092
        * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
15093
 
15094
Fri May 29 22:25:10 1998  Geoffrey Noer  
15095
 
15096
        * libc/include/sys/unistd.h: fix sync() proto
15097
        * libc/include/sys/fcntl.h: remove _close which is already
15098
        defined in unistd.h.
15099
        * libc/include/sys/time.h: add getitimer proto
15100
 
15101
Fri May 29 16:10:28 1998  Geoffrey Noer  
15102
 
15103
        * libc/string/strchr.c: convert arg to unsigned char
15104
        * libc/include/stdlib.h: add protos for random, srandom
15105
        * libc/include/sys/stat.h: add lstat proto
15106
        * libc/include/sys/time.h: add setitimer proto
15107
        * libc/include/sys/unistd.h: add readlink, symlink protos
15108
        * libc/include/process.h: instead of including windows.h and using
15109
        HANDLEs in sexec protos, just use void *s.  Need to include
15110
        sys/types.h.
15111
 
15112
Fri May 29 03:04:29 1998  Geoffrey Noer  
15113
 
15114
        * libc/include/sys/fcntl.h: add _close proto for Cygwin32
15115
 
15116
Thu May 28 16:34:21 1998  Geoffrey Noer  
15117
 
15118
        * libc/include/process.h: add secure exec protos
15119
 
15120
Wed May 27 13:54:51 1998  Jeffrey A Law  (law@cygnus.com)
15121
 
15122
        * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
15123
        which are accessed as both doubles and integers.
15124
        * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
15125
        * libc/stdlib/strtod.c (_strtod_r): Likewise.
15126
        * libc/stdlib/mprec.h: Add "union double_union" and change
15127
        word0/word1 macros to use it.
15128
 
15129
Tue May 26 18:04:21 1998  Geoffrey Noer  
15130
 
15131
        * libc/include/sys/signal.h: add __cplusplus wrapper
15132
 
15133
Tue May 26 15:10:22 1998  Geoffrey Noer  
15134
 
15135
        * libc/include/sys/utime.h: new generic file that gets replaced by
15136
        libc/sys/SYSDIR/sys/utime.h on systems that support the utime
15137
        function.
15138
        * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
15139
        * libc/include/time.h: remove duplicate utime proto
15140
        * libc/include/utime.h: add comment
15141
 
15142
Sun May 24 23:56:20 1998  Christopher Faylor 
15143
 
15144
        * libc/include/sys/time.h: Add missing include to
15145
        allow use of _EXFUN.  Remove times function that is
15146
        already defined in times.h.
15147
 
15148
Sun May 24 01:32:14 1998  Christopher Faylor 
15149
 
15150
        * libc/include/time.h: Fix typo in tzset.
15151
 
15152
Fri May 22 17:00:48 1998  Geoffrey Noer  
15153
 
15154
        * libc/include/sys/time.h: add missing Cygwin32 function protos
15155
        * libc/include/sys/unistd.h: ditto
15156
        * libc/include/time.h: ditto
15157
 
15158
Wed May 20 20:35:11 1998  Geoffrey Noer  
15159
 
15160
        * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
15161
        FIXME.
15162
        * libc/include/sys/types.h: add a new __MS_types__ section
15163
        to define vm_offset_t, vm_size_t, int32_t et al, register_t,
15164
        __BIT_TYPES_DEFINED__.
15165
 
15166
Wed May 20 18:49:21 1998  Geoffrey Noer  
15167
 
15168
        * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
15169
        since it overrides the one in libc/include/sys.  Also, start
15170
        including types.h.
15171
 
15172
Wed May 20 14:45:40 1998  Geoffrey Noer  
15173
 
15174
        * libm/math/Makefile.in: add s_signgam.o to obj list
15175
 
15176
Tue May 19 11:57:11 1998  Jeff Johnston  
15177
 
15178
        * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
15179
 
15180
Mon May 18 22:36:12 1998  Christopher Faylor 
15181
 
15182
        * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
15183
        so don't use defines.
15184
 
15185
Mon May 18 19:01:02 1998  Michael Meissner  
15186
 
15187
        * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
15188
 
15189
Sun May 17 18:40:32 1998  Frank Ch. Eigler  
15190
 
15191
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
15192
        _current_locale as default locale.
15193
 
15194
Sat May 16 21:59:59 1998  Bob Manson  
15195
 
15196
        * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
15197
        insufficient space in a chunk.
15198
 
15199
Tue May 12 14:41:01 1998  Jeff Johnston  
15200
 
15201
        * configure.in (links): Added check for --enable-newlib-mb configure
15202
        option which defines the MB_CAPABLE macro.
15203
        * libc/locale/locale.c (_setlocale_r): Added support for setting
15204
        LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
15205
        defined.
15206
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
15207
        implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
15208
        * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
15209
        implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
15210
        * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
15211
        implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
15212
        * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
15213
        wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
15214
        * libc/stdlib/Makefile.in: Added new multibyte
15215
        routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
15216
        * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
15217
        _mbstowcs_r(), and _wcstombs_r().
15218
        * libc/stdlib/mbctype.h: New internal header file that contains macros to test
15219
        for JIS, SJIS, and EUC-JP characters.
15220
        * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
15221
        MB_CAPABLE defined.
15222
        * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
15223
        MB_CAPABLE defined.
15224
        * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
15225
        MB_CAPABLE defined.
15226
        * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
15227
        if MB_CAPABLE defined.
15228
        * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
15229
        if MB_CAPABLE defined.
15230
        * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
15231
        to the format string processing when MB_CAPABLE.
15232
        * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
15233
        call _mbtowc_r().
15234
 
15235
Tue May  5 16:07:23 1998  Nick Clifton  
15236
 
15237
        The following modifications are courtesy of Anthony Thompson,
15238
        athompson@cambridge.arm.com:
15239
        * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
15240
        boith RDI and RDP monitors.
15241
        * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
15242
        RDI and RDP monitors.
15243
 
15244
Wed Apr 29 15:22:15 1998  Jeff Johnston  
15245
 
15246
        * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
15247
        * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
15248
        (_swiopen): Fixed open flags to treat write with append as just append.
15249
        (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
15250
        * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
15251
 
15252
Fri Apr 24 18:00:09 1998  J"orn Rennecke 
15253
 
15254
        * libc/machine/sh/memcpy.S (L_odddst, big endian version):
15255
        When needing to transfer an initial 2-byte-word, store as
15256
        two single bytes.
15257
 
15258
Wed Apr 22 17:56:03 1998  J"orn Rennecke 
15259
 
15260
        * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
15261
        __SH3E__ .
15262
        * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
15263
        * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
15264
 
15265
Wed Apr 22 12:28:03 1998  Michael Meissner  
15266
 
15267
        * configure.in (target_cflags): If --enable-target-optspace, use
15268
        -Os to compile newlib rather than -O2.  Default to using -Os for
15269
        d10v, d30v and m32r if --{enable,disable}-target-optspace is not
15270
        used.
15271
 
15272
Tue Apr 21 23:13:34 1998  Geoffrey Noer  
15273
 
15274
        * libc/include/machine/setjmp.h: change sigsetjmp and
15275
        siglongjmp definitions to use an array instead of a struct
15276
        for __CYGWIN32__
15277
 
15278
Tue Apr 14 11:47:47 1998  Doug Evans  
15279
 
15280
        * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
15281
 
15282
Mon Apr  6 15:05:08 1998  Jonathan Larmour  
15283
 
15284
        * libc/string/strxfrm.c: fix to get correct return value
15285
 
15286
Wed Apr  1 16:09:05 1998  Nick Clifton  
15287
 
15288
        * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
15289
        builds.  Make mode change labels global so that they will be seen
15290
        by the debugger.
15291
 
15292
Wed Mar 18 09:45:10 1998  Nick Clifton  
15293
 
15294
        * configure.in (links): Do not use ARM debiugging protocols for PE
15295
        builds.
15296
 
15297
        * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
15298
        message.
15299
 
15300
Fri Mar 13 11:24:34 1998  Jeff Johnston  
15301
 
15302
        * libc/stdio/findfp.c (__sinit): Made stdout default to
15303
        line buffered mode as defined by ANSI.
15304
 
15305
Tue Mar 10 11:41:26 1997  Bob Manson  
15306
 
15307
        * libc/include/sys/itimer.h: New file.
15308
 
15309
        * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
15310
 
15311
Mon Mar  9 14:19:26 1998  J"orn Rennecke 
15312
 
15313
        * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
15314
        failure.
15315
 
15316
Fri Feb 27 13:56:10 1998  Michael Meissner  
15317
 
15318
        * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
15319
        insns.
15320
 
15321
Wed Feb 25 09:29:54 1998  Nick Clifton  
15322
 
15323
        * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
15324
 
15325
Tue Feb 24 18:00:13 1998  Michael Meissner  
15326
 
15327
        * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
15328
        support.
15329
 
15330
        * libc/include/machine/setjmp.h: Add D30V support.
15331
 
15332
        * configure.in (d30v-*): Add d30v machine directory.
15333
 
15334
Mon Feb 23 09:32:58 1998  Mark Alexander  
15335
 
15336
        * configure.in: Don't use libc/sys/sysmec for MN10300; it's
15337
        been replaced with libgloss/mn10300.
15338
 
15339
Sat Feb 21 17:44:43 1998  Geoffrey Noer  
15340
 
15341
        * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
15342
        it is no longer needed.
15343
 
15344
Thu Feb 19 16:15:10 1998  Geoffrey Noer  
15345
 
15346
        * libc/include/sys/signal.h: add sigpause proto for Cygwin32
15347
 
15348
Wed Feb 18 23:51:08 1998  Geoffrey Noer  
15349
 
15350
        * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
15351
        the file when O_APPEND is set, wherever the EOF happens to be at
15352
        that time.
15353
 
15354
Wed Feb 18 23:25:02 1998  Geoffrey Noer  
15355
 
15356
        patch from cgf@bbc.com (Christopher Faylor):
15357
        * libc/stdio/freopen.c (freopen): Conform to standard UNIX
15358
        convention of closing fp prior to attempting to open the file
15359
        argument.  This allows correct operation when reopening
15360
        stdin/stdout/stderr.  Replaces last freopen.c patch.
15361
 
15362
Wed Feb 18 16:27:40 1998  Geoffrey Noer  
15363
 
15364
        patch from cgf@bbc.com (Christopher Faylor):
15365
        * libc/stdio/freopen.c: freopen was not preserving the fd
15366
        of the stream being operated on.  This confuses programs that
15367
        expect that the handles for stdout and stderr will be 1 and 2.
15368
 
15369
Mon Feb 16 23:34:07 1998  Andrew Cagney  
15370
 
15371
        * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
15372
 
15373
Thu Feb 12 15:09:20 1998  Ranjith Kumaran 
15374
 
15375
        * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
15376
 
15377
Wed Feb 11 17:50:45 1998  Jeff Johnston  
15378
 
15379
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
15380
        altered to not use a branch.  Also added hint that last
15381
        bclr in longjmp will likely result in branch.
15382
 
15383
 
15384
Mon Feb  9 03:44:02 1998  Geoffrey Noer  
15385
 
15386
        * libc/sys/cygwin32/crt0.c: add missing args to main() extern
15387
 
15388
Fri Feb  6 16:32:32 1998  Nick Clifton  
15389
 
15390
        * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
15391
        v850 builds.
15392
 
15393
        * configure.in: Add -msmall-sld to target_cflags for v850 builds.
15394
 
15395
Wed Feb  4 16:56:20 1998  Jeff Johnston  
15396
 
15397
        * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
15398
        that loads FR14 to specify offset of 8 rather than 4
15399
        so it loads from offset 96 (where setjmp stored it).
15400
 
15401
Tue Feb  3 18:08:34 1998  Jeff Johnston  
15402
 
15403
        * libc/machine/sh/memcpy.S: (_memcpy): Update to
15404
        latest version supplied by customer.
15405
        * libc/machine/sh/memset.S (_memset): Ditto.
15406
 
15407
Mon Feb  2 16:20:39 1998  Nick Clifton  
15408
 
15409
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
15410
        PR14730).
15411
 
15412
Mon Feb  2 15:13:26 1998  Geoffrey Noer  
15413
 
15414
        * libc/include/string.h: remove redefinition of ffs
15415
 
15416
Wed Jan 28 13:30:14 1998  Geoffrey Noer  
15417
 
15418
        * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
15419
        defined
15420
 
15421
Wed Jan 28 10:38:34 1998  Jeff Johnston  
15422
 
15423
        * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
15424
        TI Libraries to link to libc.a
15425
 
15426
Sat Jan 24 10:15:56 1998  Michael Meissner  
15427
 
15428
        * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
15429
        * libc/include/sys/stat.h (_{,f}stat): Ditto.
15430
        * libc/include/sys/wait.h (_wait): Ditto.
15431
        * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
15432
        (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
15433
 
15434
Fri Jan 23 11:32:10 1998  Michael Meissner  
15435
 
15436
        * libc/machine/d10v/setjmp.S: Change to new ABI.  Add simple
15437
        minded stabs so function name shows up when running the simulator
15438
        with -t.
15439
        * libc/sys/d10v/{crt0,trap}.S: Ditto.
15440
 
15441
Thu Jan 22 15:57:14 1998  Fred Fish  
15442
 
15443
        * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
15444
        * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
15445
        Use R5 where we used to use R3.
15446
 
15447
Wed Jan 21 14:22:23 1998  Bill Moyer 
15448
 
15449
        * libc/stdlib/getopt.c (getopt): replaced __progname
15450
        with nargv[0] to improve portability to imbedded systems.
15451
 
15452
Thu Jan 15 12:32:38 1998  Nick Clifton  
15453
 
15454
        * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
15455
        patch supplied by Tont.Thompson@arm.com to fix the creation of the
15456
        stdout file.
15457
 
15458
Wed Jan 14 13:00:19 1998  Ian Lance Taylor  
15459
 
15460
        * libc/stdio/tmpnam.c (worker): Generate a different file name
15461
        each time.
15462
 
15463
        * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
15464
        fails, try an execlp for sh.
15465
 
15466
        * host/any (INCLUDES): If target_os is cygwin32, then add a -I
15467
        option for the winsup include directory.
15468
 
15469
Wed Jan  7 17:02:58 1998  Nick Clifton  
15470
 
15471
        * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
15472
        debugging interface from Tony.Thompson@arm.com.
15473
 
15474
        * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
15475
        * libc/sys/arm/swi.h: ditto.
15476
 
15477
Tue Jan  6 14:15:10 1998  Geoffrey Noer  
15478
 
15479
        * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
15480
        DIR struct used for readdir hashes.
15481
 
15482
Thu Jan  1 11:22:22 1998  Jeffrey A Law  (law@cygnus.com)
15483
 
15484
        * libc/string/strchr.c: Use "unsigned chars" as necessary.
15485
 
15486
Wed Dec 31 04:25:30 1997  Jeffrey A Law  (law@cygnus.com)
15487
 
15488
        * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
15489
        integer targets.
15490
 
15491
Sat Dec 13 15:11:06 1997  Ian Lance Taylor  
15492
 
15493
        * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
15494
        INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
15495
        * libc/include/malloc.h: Add extern "C" if __cplusplus.
15496
        (__malloc_copy): Declare.
15497
 
15498
Wed Dec 10 12:15:54 1997  Ian Lance Taylor  
15499
 
15500
        * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
15501
        .
15502
        (POINTER_UINT): Define.
15503
        (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
15504
        (MALLOC_ALIGNMENT): Don't define if already defined.
15505
        (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
15506
        long.
15507
 
15508
Tue Dec  9 19:23:42 1997  Michael Meissner  
15509
 
15510
        * libc/string/memset.c (memset): Fiddle with code so that the long
15511
        value being stored is not a stack value.  Unroll storing longs 4
15512
        times.
15513
 
15514
Tue Dec  9 14:13:18 1997  Jeff Johnston  
15515
 
15516
        * Reduce code size for libm modules.
15517
        * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
15518
        and simply move code into sqrt.
15519
        * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
15520
        * libm/math/wr_lgamma.c (lgamma_r): Likewise.
15521
        * libm/math/wrf_gamma.c (gammaf_r): Likewise.
15522
        * libm/math/wr_gamma.c (gamma_r): Likewise.
15523
        * libm/math/wf_sinh.c (sinfh): Likewise.
15524
        * libm/math/w_sinh.c (sinh): Likewise.
15525
        * libm/math/wf_scalb.c (scalbf): Likewise.
15526
        * libm/math/w_scalb.c (scalb): Likewise.
15527
        * libm/math/wf_remainder.c (remainderf): Likewise.
15528
        * libm/math/w_remainder.c (remainder): Likewise.
15529
        * libm/math/wf_pow.c (powf): Likewise.
15530
        * libm/math/w_pow.c (pow): Likewise.
15531
        * libm/math/wf_log10.c (log10f): Likewise.
15532
        * libm/math/w_log10.c (log10): Likewise.
15533
        * libm/math/wf_log.c (logf): Likewise.
15534
        * libm/math/w_log.c (log): Likewise.
15535
        * libm/math/w_lgamma.c (lgamma): Likewise.
15536
        * libm/math/wf_lgamma.c (lgammaf): Likewise.
15537
        * libm/math/wf_jn.c (jnf): Likewise.
15538
        * libm/math/w_jn.c (jn): Likewise.
15539
        * libm/math/wf_j1.c (j1f): Likewise.
15540
        * libm/math/w_j1.c (j1): Likewise.
15541
        * libm/math/wf_j0.c (j0f): Likewise.
15542
        * libm/math/w_j0.c (j0): Likewise.
15543
        * libm/math/wf_hypot.c (hypotf): Likewise.
15544
        * libm/math/w_hypot.c (hypot): Likewise.
15545
        * libm/math/wf_gamma.c (gammaf): Likewise.
15546
        * libm/math/w_gamma.c (gamma): Likewise.
15547
        * libm/math/wf_fmod.c (fmodf): Likewise.
15548
        * libm/math/w_fmod.c (fmod): Likewise.
15549
        * libm/math/wf_exp.c (expf): Likewise.
15550
        * libm/math/w_exp.c (exp): Likewise.
15551
        * libm/math/wf_cosh.c (coshf): Likewise.
15552
        * libm/math/w_cosh.c (cosh): Likewise.
15553
        * libm/math/wf_atanh.c (atanhf): Likewise.
15554
        * libm/math/w_atanh.c (atanh): Likewise.
15555
        * libm/math/wf_atan2.c (atan2f): Likewise.
15556
        * libm/math/w_atan2.c (atan2): Likewise.
15557
        * libm/math/wf_asin.c (asinf): Likewise.
15558
        * libm/math/w_asin.c (asin): Likewise.
15559
        * libm/math/wf_acosh.c (acoshf): Likewise.
15560
        * libm/math/w_acosh.c (acosh): Likewise.
15561
        * libm/math/wf_acos.c (asocf): Likewise.
15562
        * libm/math/w_acos.c (acos): Likewise.
15563
        * libm/math/wf_sqrt.c (sqrtf): Likewise.
15564
        * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
15565
        for embedded systems.
15566
 
15567
Mon Dec  8 12:12:58 1997  Ian Lance Taylor  
15568
 
15569
        * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
15570
        Lea in case of a foreign sbrk.
15571
 
15572
Fri Dec  5 23:27:28 1997  Ian Lance Taylor  
15573
 
15574
        Incorporate Doug Lea's malloc:
15575
        * libc/stdlib/mallocr.c: Completely replaced.
15576
        * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
15577
        (realloc): Remove.
15578
        * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
15579
        * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
15580
        mallopt.
15581
        (mallinfo, malloc_stats, mallopt): New functions.
15582
        (_mstats_r): Just call _malloc_stats_r.
15583
        * libc/stdlib/malign.c: New file.
15584
        * libc/stdlib/mlock.c: New file.
15585
        * libc/stdlib/msize.c: New file.
15586
        * libc/stdlib/mtrim.c: New file.
15587
        * libc/stdlib/realloc.c: New file.
15588
        * libc/stdlib/valloc.c: New file.
15589
        * libc/stdlib/malloc.h: Remove.
15590
        * libc/stdlib/callocr.c: Remove.
15591
        * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
15592
        malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
15593
        mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
15594
        reallocr.o, valloc.o, vallocr.o.
15595
        (CHEWOUT_FILES): Add mlock.def, mstats.def.
15596
        (MALLOC_CFLAGS): New variable.
15597
        (mallocr.o): New target, build from mallocr.c.
15598
        (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
15599
        (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
15600
        (msizer.o, malloptr.o): Likewise.
15601
        (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
15602
        (valloc.o): New target.
15603
        * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
15604
        * libc/include/malloc.h: Declare struct mallinfo, and new
15605
        routines.
15606
        * libc/include/stdlib.h (cfree): Correct declaration.
15607
 
15608
Tue Dec  2 10:12:16 1997  Nick Clifton  
15609
 
15610
        * libc/include/machine/setjmp.h: Add support for Thumb target.
15611
 
15612
        * libc/include/machine/ieeefp.h: Add support for Thumb target.
15613
 
15614
        * configure.in (links): Add support for Thumb target.
15615
 
15616
Wed Nov 26 09:56:17 1997  Nick Clifton  
15617
 
15618
        * libc/sys/arm/setjmp.S: Updated with version from branch.
15619
 
15620
Thu Nov 20 01:21:43 1997  Geoffrey Noer  
15621
 
15622
        * libc/include/stdio.h: add POSIX-required define L_ctermid
15623
        for ctermid
15624
 
15625
Wed Nov 19 16:11:40 1997  Michael Meissner  
15626
 
15627
        * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
15628
        addition to MISSING_SYSCALL_NAMES.
15629
 
15630
Mon Nov 17 20:05:05 1997  J"orn Rennecke 
15631
 
15632
        * libc/include/sys/config.h: (UINT_MAX, for D10V):  Make unsigned.
15633
 
15634
Mon Nov 10 22:26:55 1997  Geoffrey Noer  
15635
 
15636
        * libc/include/string.h: change strsignal proto to return
15637
        a char *.  This eliminates compile problems in gdb resulting
15638
        from gdb's definition of strsignal in defs.h.
15639
 
15640
Mon Nov 10 17:11:08 1997  Geoffrey Noer  
15641
 
15642
        * libc/sys/cygwin32/sys/utime.h: new (moved here from
15643
        winsup/include) so as not to conflict with the one in
15644
        libc/include.
15645
        * libc/include/string.h: add protos for strsignal, strtosigno
15646
 
15647
Mon Nov 10 13:49:54 1997  Michael Meissner  
15648
 
15649
        * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
15650
 
15651
        * configure.in (d30v-*-*): Add configuration.
15652
 
15653
Thu Oct 30 14:01:23 1997  Nick Clifton  
15654
 
15655
        * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
15656
        to select which kind of debug monitor is in use for an ARM target.
15657
 
15658
        * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
15659
        Angel and Demon debug monitors.  Part of this code was supplied by
15660
        Tony Thompson at ARM: athompso@arm.com.
15661
 
15662
Fri Oct 24 18:57:05 1997  Jeffrey A Law  (law@cygnus.com)
15663
 
15664
        * strncat.c (strncat): Don't call strncpy; strncay has the wrong
15665
        semantics when the count is greater than the length of the second
15666
        source string.
15667
 
15668
Thu Oct 23 01:37:41 1997  Geoffrey Noer  
15669
 
15670
        * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
15671
        * libc/include/sys/unistd.h: add protos for usleep, truncate,
15672
        truncate and ftruncate take off_t, not size_t
15673
 
15674
Tue Oct 21 18:42:00 1997  Jim Wilson  
15675
 
15676
        * libc/string/strcat.c (strcat): Add missing comment end.
15677
        * libc/string/strncat.c (strncat): Likewise.
15678
 
15679
Tue Oct 21 17:23:34 1997  Nick Clifton  
15680
 
15681
        * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
15682
        targets.
15683
        * libc/string/{memchr.c, memcmp.c, memcpy.c}:   Add space
15684
        optimised version which is selected if PREFER_SIZE_OVER_SPEED is
15685
        defined.
15686
        * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
15687
        * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
15688
        * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
15689
 
15690
Mon Oct 13 15:12:35 1997  Ian Lance Taylor  
15691
 
15692
        * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
15693
        (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
15694
 
15695
Thu Oct  9 13:54:44 1997  Doug Evans  
15696
 
15697
        * libc/machine/i386/setjmp.S: New file.
15698
        * libc/machine/i386/Makefile.in: Delete COPYOFILES.
15699
        (OFILES): Add setjmp.o.
15700
        (setjmp.o): Add rule for.
15701
        * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
15702
 
15703
Tue Oct  7 14:01:29 1997 Bill Moyer     (billm@cygnus.com)
15704
                         Jeffrey A Law  (law@cygnus.com)
15705
 
15706
        * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
15707
        * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
15708
        * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
15709
        * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
15710
 
15711
Mon Oct  6 14:07:59 1997  Nick Clifton  
15712
 
15713
        * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
15714
        rules.
15715
 
15716
        * libc/include/sys/config.h: Use __v850 to select v850
15717
        endianness.
15718
 
15719
        * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
15720
        buffer size.
15721
 
15722
        * libc/include/machine/ieeefp.h: Use __v850 to select v850
15723
        endianness.
15724
 
15725
Thu Sep 25 14:11:37 1997  Geoffrey Noer  
15726
 
15727
        * libc/stdlib/setenv.c: change unsetenv definition to match
15728
        style of setenv (with _DEFUN).  The string should be a const.
15729
        * libc/include/stdlib.h: unsetenv proto should return void.
15730
 
15731
Tue Sep 23 18:17:20 1997  Geoffrey Noer  
15732
 
15733
        * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
15734
 
15735
Thu Sep 18 12:50:15 1997  Angela Marie Thomas (angela@cygnus.com)
15736
 
15737
        * libc/stdio/glue.h: remove.
15738
        * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
15739
        * libc/stdio/Makefile.in: remove glue.h dependencies
15740
 
15741
Wed Sep 17 17:42:27 1997  Nick Clifton  
15742
 
15743
        * libc/sys/sysnecv850/crt0.S: Created V850e version.
15744
 
15745
Tue Sep  9 10:40:57 1997  Doug Evans  
15746
 
15747
        * configure.in (target_cpu): Add `arc'.
15748
 
15749
Tue Sep  9 10:40:42 1997  Joel Sherrill  
15750
 
15751
        * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
15752
          -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
15753
        * newlib/libc/include/sys/errno.h: Add ENOTSUP.
15754
        * newlib/libc/reent/reent.c: Add _wrapup_reent.
15755
        * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
15756
 
15757
Sun Sep  7 16:41:41 1997  Gavin Koch  
15758
 
15759
        * libc/machine/mips/setjmp.S: Handle mips16 builds.
15760
 
15761
Thu Aug 21 20:05:38 1997  Ian Lance Taylor  
15762
 
15763
        * libc/include/stdio.h (siprintf): Declare.
15764
 
15765
Mon Aug 18 11:19:13 1997  Nick Clifton  
15766
 
15767
        * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
15768
        TARGET_CFLAGS and NEWLIB_FLAGS.
15769
 
15770
Mon Aug 18 11:15:43 1997  Nick Clifton  
15771
 
15772
        * configure.in (links): Add support for v850ea target.
15773
 
15774
Mon Aug 18 11:15:43 1997  Nick Clifton  
15775
 
15776
        * configure.in (links): Add support for v850e target.
15777
 
15778
Wed Aug 13 19:16:54 1997  Nick Clifton  
15779
 
15780
        * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
15781
 
15782
Mon Aug 11 15:49:54 1997  Doug Evans  
15783
 
15784
        * configure.in (arc-*-*): Add support for.
15785
        * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
15786
 
15787
Fri Jul 25 17:37:41 1997  J"orn Rennecke 
15788
 
15789
        * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
15790
 
15791
Thu Jul 24 18:32:17 1997  Geoffrey Noer  
15792
 
15793
        * libc/stdlib/bsearch.c (bsearch): remove last unneeded
15794
        comparison which accesses invalid memory when the key is
15795
        larger than the last member of the array.
15796
        * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
15797
        for CYGWIN32
15798
        * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
15799
 
15800
Tue Jul 22 16:03:06 1997  Ian Lance Taylor  
15801
 
15802
        * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
15803
        not _STRICT_ANSI.
15804
 
15805
Thu Jul 10 15:11:52 1997  Doug Evans  
15806
 
15807
        * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
15808
        ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
15809
 
15810
Thu Jul 10 16:00:09 1997  Mike Meissner  
15811
 
15812
        * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
15813
        to load/store memory.
15814
 
15815
Mon Jul  7 17:38:17 1997  Ian Lance Taylor  
15816
 
15817
        * libc/include/sys/fcntl.h: Define _O_* symbols with leading
15818
        underscores if _WIN32.
15819
 
15820
Wed Jul  2 10:07:20 1997  Doug Evans  
15821
 
15822
        * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
15823
        support ifdef _USE_WRITE missed in last change.
15824
        From Anders Blomdell .
15825
 
15826
Wed Jun 25 10:18:49 1997  Doug Evans  
15827
 
15828
        * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
15829
        (_tmpnam_r, _tempnam_r): Update.
15830
 
15831
Wed Jun 25 00:16:55 1997  Mark Alexander  
15832
 
15833
        * libc/machine/sparc/setjmp.S: New file.
15834
        * libc/machine/sparc/Makefile.in: Add setjmp.
15835
        * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
15836
 
15837
Tue Jun 24 23:27:38 1997  Mark Alexander  
15838
 
15839
        * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
15840
 
15841
Tue Jun 24 14:53:40 1997  Doug Evans  
15842
 
15843
        From Joel Sherrill .
15844
        * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
15845
 
15846
        Add rtems support.  From Joel Sherrill .
15847
        * configure.in: Recognize *-*-rtems*.
15848
        * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
15849
        * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
15850
        time.h,times.h,types.h}: New files.
15851
        * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
15852
 
15853
Fri Jun 20 11:13:16 1997  Geoffrey Noer  
15854
 
15855
        patch from sos@prospect.com.ru (Sergey Okhapkin):
15856
        * include/sys/wait.h: correct operator precidence bug
15857
        in WIFSIGNALED
15858
 
15859
Wed Jun 18 22:08:27 1997  Geoffrey Noer  
15860
 
15861
        * libc/include/stdlib.h: remove unsetenv proto since it conflicts
15862
        with newlib's unsetenv function
15863
        * libc/sys/cygwin32/sys: new directory for includes
15864
        * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
15865
        here from winsup/include/sys
15866
 
15867
Mon Jun 16 21:02:22 1997  Geoffrey Noer  
15868
 
15869
        * libc/include/sys/unistd.h: _exit should only be
15870
        labelled noreturn when not __CYGWIN32__
15871
        * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
15872
        * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
15873
        increment NSIG
15874
 
15875
Thu Jun 12 18:52:41 1997  Ian Lance Taylor  
15876
 
15877
        * libc/include/sys/time.h: Only define timeval and timezone if
15878
        _GNU_H_WINDOWS32_SOCKETS is not defined.
15879
        * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
15880
 
15881
Wed Jun 11 09:46:26 1997  Jeffrey A Law  (law@cygnus.com)
15882
 
15883
        * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
15884
        * libc/machine/mn10300/setjmp.S: Likewise.
15885
 
15886
        * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
15887
        the mn10300 (more relaxing opportunities).
15888
 
15889
Tue Jun 10 17:24:45 1997  Mike Meissner  
15890
 
15891
        * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
15892
        Build libraries with -mstrict-align.
15893
 
15894
Fri Jun  6 14:07:59 1997  Ian Lance Taylor  
15895
 
15896
        * libc/string/strlwr.c: New file.
15897
        * libc/string/strupr.c: New file.
15898
        * libc/include/string.h: Declare strlwr and strupr.
15899
        * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
15900
        (CHEWOUT_FILES): Add strlwr.def and strupr.def.
15901
        (strlwr.o, strupr.o): New targets.
15902
        * libc/string/strings.tex: Include strlwr and strupr docs.
15903
 
15904
        * libc/include/sys/types.h: Don't define u_char, et. al., if
15905
        _GNU_H_WINDOWS32_SOCKETS is defined.  Likewise for fd_set,
15906
        et. al.  Make FD_SETSIZE default 64 rather than 60.  Define
15907
        _types_fd_set rather than fd_set, and define fd_set as a macro.
15908
 
15909
        * libc/include/malloc.h: New file.
15910
 
15911
        * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
15912
        strnicmp if they are not already defined.
15913
 
15914
        * libc/include/time.h: If __CYGWIN32__, declare tzset and define
15915
        _timezone, _daylight, and _tzname.
15916
 
15917
Wed Jun  4 12:51:16 1997  Doug Evans  
15918
 
15919
        * configure.in: Sort all configuration tables.
15920
 
15921
        From Joel Sherrill 
15922
        * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
15923
 
15924
Tue Jun  3 14:47:46 1997  Ian Lance Taylor  
15925
 
15926
        * libc/include/sys/signal.h: Don't include .  Just
15927
        use int when declaring kill.
15928
 
15929
        * libc/include/sys/timeb.h: New file.
15930
 
15931
Mon Jun  2 12:06:58 1997  Geoffrey Noer  
15932
 
15933
        * libc/include/sys/time.h: add itimer support for Cygwin32
15934
 
15935
Mon May 19 11:56:46 1997  Mike Meissner  
15936
 
15937
        * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
15938
        out a message that abort was called to stderr.
15939
 
15940
Fri May 16 15:02:59 1997  Bob Manson  
15941
 
15942
        * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
15943
        so that libio doesn't freak.
15944
 
15945
        * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
15946
        int.
15947
 
15948
        * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
15949
        memory sizes, not int.
15950
 
15951
Wed May 14 21:16:58 1997  Bob Manson  
15952
 
15953
        * libm/math/ef_hypot.c: Use long constants where
15954
        appropriate.
15955
        * libm/math/ef_sqrt.c: Ditto.
15956
 
15957
        * libc/sys/sysmec/times.c(_times): Change to times.
15958
 
15959
        * libc/sys/sysmec/read.c(_read): The third argument is
15960
        size_t.
15961
        * libc/sys/sysmec/write.c (_write): Ditto.
15962
 
15963
        * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
15964
        (_lseek): It's off_t for the second argument.
15965
 
15966
Wed May 14 15:23:36 1997  Mike Meissner  
15967
 
15968
        * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
15969
        as well as machine/ieeefp.h.
15970
 
15971
Thu May  8 15:47:25 1997  Geoffrey Noer  
15972
 
15973
        * libc/include/sys/signal.h: add signal protos for winsup
15974
        functions (when __CYGWIN32__), include types.h
15975
        * libc/include/sys/types.h: Change __go32_types__ internal
15976
        define to __MS_types__ since it's used for more than just
15977
        GO32 configs.  Define this if GO32, __MSDOS__, or _WIN32 are
15978
        defined.
15979
        * libc/include/sys/unistd.h: add ftruncate proto for
15980
        winsup functions (when __CYGWIN32__)
15981
 
15982
Fri Apr 25 10:10:16 1997  Doug Evans  
15983
 
15984
        * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
15985
 
15986
Thu Apr 24 15:46:51 1997  Mike Stump  
15987
 
15988
        * libc/include/machine/setjmp.h: Add tic80 support.
15989
        * libc/machine/tic80/setjmp.S: Likewise.
15990
 
15991
Tue Apr 22 16:54:40 1997  Geoffrey Noer  
15992
 
15993
        * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
15994
        link programs from libraries only (such as in the X11
15995
        distribution)
15996
 
15997
Mon Apr 21 15:02:12 1997  Fred Fish  
15998
 
15999
        * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
16000
        supplied elsewhere in newlib.
16001
 
16002
Mon Apr 14 16:25:55 1997  Ian Lance Taylor  
16003
 
16004
        * Makefile.in (INSTALL): Change install.sh to install-sh.
16005
 
16006
Fri Apr 11 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
16007
 
16008
        * README: update WWW address for on-line documentation.
16009
 
16010
Wed Apr  9 00:38:13 1997  Geoffrey Noer  
16011
 
16012
        * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
16013
        increment NSIG
16014
 
16015
Mon Apr  7 23:54:00 1997  Jeffrey A Law  (law@cygnus.com)
16016
 
16017
        * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
16018
        mn10300.
16019
        * libc/sys/sysmec/trap.S: Don't compare a register to itself.
16020
 
16021
Tue Mar 25 08:47:43 1997  Jeffrey A Law  (law@cygnus.com)
16022
 
16023
        * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
16024
        * libc/sys/d10v/syscalls.c: Likewise.
16025
        * libc/sys/h8300hms/sbrk.c: Likewise.
16026
        * libc/sys/h8500hms/syscalls.c: Likewise.
16027
        * libc/sys/m88kbug/syscalls.c: Likewise.
16028
        * libc/sys/sh/syscalls.c: Likewise.
16029
        * libc/sys/sysmec/sbrk.c: Likewise.
16030
        * libc/sys/sysnecv850/sbrk.c: Likewise.
16031
        * libc/sys/w65/syscalls.c: Likewise.
16032
        * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
16033
 
16034
Tue Mar 18 14:14:34 1997  Jeffrey A Law  (law@cygnus.com)
16035
 
16036
        * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
16037
        emulated syscall instead of "trap".
16038
 
16039
Fri Mar 14 11:26:13 1997  Michael Meissner  
16040
 
16041
        * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
16042
        not trap 0.
16043
 
16044
Sun Mar  9 23:27:04 1997  Doug Evans  
16045
 
16046
        * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
16047
 
16048
Sat Mar  8 09:05:01 1997  Fred Fish  
16049
 
16050
        * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
16051
        not "sh".
16052
        * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
16053
        not "d10v".
16054
        * libc/sys/tic80/crt0.c: New file for TIc80.
16055
        * libc/sys/tic80/Makefile.in: New file for TIc80.
16056
        * libc/machine/tic80/Makefile.in: New file for TIc80.
16057
 
16058
Wed Mar  5 11:32:12 1997  J.T. Conklin  
16059
 
16060
        * libc/machine/sh/memcpy.S: New file.
16061
        * libc/machine/sh/memset.S: New file.
16062
        * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
16063
 
16064
Thu Feb 27 16:27:55 1997  Fred Fish  
16065
 
16066
        * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
16067
        for TIc80.
16068
 
16069
Wed Feb 26 13:43:39 1997  Jeffrey A Law  (law@cygnus.com)
16070
 
16071
        * libc/sys/sysmec/crt0.S: Handle new calling conventions for
16072
        the mn10200.
16073
 
16074
Wed Feb 26 07:11:03 1997  Michael Meissner  
16075
 
16076
        * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
16077
        (patch from andrew@pogo.WV.TEK.COM).
16078
 
16079
Fri Feb 14 11:49:28 1997  Doug Evans  
16080
 
16081
        * libc/machine/m32r/setjmp.S (setjmp): Save r12.
16082
        (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
16083
 
16084
Mon Feb 10 10:02:34 1997  Fred Fish  
16085
 
16086
        * configure.in:  Add cases for "tic80" to set machine_dir,
16087
        sys_dir, and syscall_dir.
16088
 
16089
Sun Feb  2 17:57:15 1997  Geoffrey Noer  
16090
 
16091
        * libc/sys/cygwin32/crt0.c: initialize floating pt registers
16092
 
16093
Wed Jan 29 15:57:38 1997  Geoffrey Noer  
16094
 
16095
        * libc/include/math.h: avoid conflicts with ANSI C++ 
16096
 
16097
Mon Jan 27 12:50:01 1997  Doug Evans  
16098
 
16099
        * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
16100
        Use proper constant prefix.
16101
 
16102
Fri Jan 24 10:59:04 1997  Jeffrey A Law  (law@cygnus.com)
16103
 
16104
        * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
16105
        that loses on the mn10200 where ints and pointers are different
16106
        sizes.
16107
 
16108
Tue Jan 14 13:29:55 PST 1997  Jeremy Allison 
16109
 
16110
        * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
16111
        target as signal is provided in winsup.
16112
 
16113
Tue Jan 14 11:10:13 1997  Jeremy Allison 
16114
 
16115
        * libc/include/sys/process.h: Corrected const definitions
16116
        in spawn functions. Added cwait.
16117
 
16118
Thu Jan  2 12:22:41 1997  Jeffrey A Law  (law@cygnus.com)
16119
 
16120
        * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
16121
        doubles.
16122
        * libc/include/sys/config.h: Similarly.
16123
 
16124
Tue Dec 31 18:36:14 1996  Michael Meissner  
16125
 
16126
        * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
16127
        target_cflags.
16128
        (i[3456]86-*-sco*): Ditto.
16129
 
16130
        * libc/signal/Makefile.in (OFILES): Add signal.o.
16131
        (CFILES): Add signal.c.
16132
 
16133
        * libc/signal/raise.c (_raise_r): Only compile code if
16134
        SIGNAL_PROVIDED is defined.
16135
 
16136
        * libc/signal/signal.c: Redo whole file so that it works with
16137
        current newlib.  Use _kill_r if no signal handler provided.
16138
 
16139
        * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
16140
        signal stubs.
16141
        * libc/sys/sysvnecv70/Makefile.in: Ditto.
16142
        * libc/sys/sysnecv850/Makefile.in: Ditto.
16143
 
16144
        * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
16145
        * libc/sys/sysmec/{raise,signal}.c: Ditto.
16146
        * libc/sys/sysvnecv70/signal.s: Ditto.
16147
        * libc/sys/sysnecv850/raise.c: Ditto.
16148
 
16149
        * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
16150
        simulator and debugger can tell the difference between a signal
16151
        being raised and an exit system call.
16152
 
16153
        * NEWS: Document software signals being provided.
16154
 
16155
Mon Dec 23 11:54:19 1996  Michael Meissner  
16156
 
16157
        * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
16158
        __ATTRIBUTE_IMPURE_PTR__.  Move PowerPC definition to
16159
        include/sys/config.h.
16160
        (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
16161
        Change from 'inpure_data'.
16162
        (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes.  Use
16163
        &impure_data, not &inpure_data.
16164
 
16165
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
16166
        and and System V ABI, define so that _impure_ptr lives in the
16167
        .sdata section.
16168
 
16169
Sun Dec 22 23:33:05 1996  Michael Meissner  
16170
 
16171
        * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
16172
        nothing if not defined.
16173
        (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
16174
        its attributes.
16175
 
16176
        * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
16177
 
16178
Wed Dec 18 10:12:04 1996  Jeffrey A Law  (law@cygnus.com)
16179
 
16180
        * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
16181
        * libc/sys/sysmec/trap.s: Handle mn10200 too.
16182
        * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
16183
 
16184
Mon Dec 16 10:05:36 1996  Jeffrey A Law  (law@cygnus.com)
16185
 
16186
        * libc/sys/sysmec/crt0.S: Handle mn10200 too.
16187
 
16188
Fri Dec 13 11:05:20 1996  Jeremy Allison 
16189
 
16190
        * libc/include/sys/errno.h: Added net errno's.
16191
 
16192
Wed Dec 11 16:24:25 1996  Michael Meissner  
16193
 
16194
        * libc/misc/ffs.c: New file to support ffs function for GCC test
16195
        gcc.c-torture/execute/960909-1.c.
16196
 
16197
        * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
16198
 
16199
Sat Dec  7 10:12:37 1996  Jeffrey A Law  (law@cygnus.com)
16200
 
16201
        * libc/sys/sysmec/crt0.S: Handle underscore prefix.
16202
        * libc/sys/sysmec/trap.S: Likewise.
16203
 
16204
Fri Dec  6 15:08:49 1996  Jim Wilson  
16205
 
16206
        * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
16207
        * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
16208
 
16209
Wed Dec  4 16:25:27 1996  Jeffrey A Law  (law@cygnus.com)
16210
 
16211
        * libc/sys/sysmec/signal.c: Dummy file.
16212
        * libc/sys/sysmec/Makefile.in: Build it.
16213
 
16214
Wed Nov 27 13:10:18 1996  Ian Lance Taylor  
16215
 
16216
        * libc/machine/mips/machine/regdef.h: Define pc as $pc for
16217
        mips16.
16218
 
16219
Mon Nov 25 09:58:28 1996  Jeffrey A Law  (law@cygnus.com)
16220
 
16221
        * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
16222
        c-startup and simulator traps.
16223
 
16224
 
16225
        * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
16226
        * libc/sys/sysmec/trap0.S: Likewise.
16227
 
16228
Sat Nov 23 09:01:03 1996  Michael Meissner  
16229
 
16230
        * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
16231
        round to double word alignment.
16232
        (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
16233
        byte alignment.
16234
 
16235
        * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
16236
 
16237
        * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
16238
        out of memory.
16239
 
16240
Mon Nov 18 13:08:26 1996  Jeffrey A Law  (law@cygnus.com)
16241
 
16242
        * configure.in: Handle mn10200 and mn10300.
16243
        * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
16244
        * libc/include/sys/config.h: Likewise.
16245
        * libc/sys/sysmec: New directory for mec stuff.
16246
        * libc/machine/mn10300: New directory for mn10300 stuff.
16247
        * libc/machine/mn10200: Similarly for mn10200 stuff.
16248
 
16249
Fri Nov 15 16:41:41 1996  Doug Evans  
16250
 
16251
        * libc/sys/arm/crt0.S: Use .text, not .section .text.
16252
        * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
16253
 
16254
        * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
16255
        (nlink_t): Change type from unsigned int to unsigned short.
16256
        (mode_t): Ensure size is 32 bits even if int is 16.
16257
        * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
16258
        (st_spare[123]): Change type from int to long.
16259
 
16260
Fri Nov 15 11:41:50 1996  Michael Meissner  
16261
 
16262
        * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
16263
        byte boundary.
16264
 
16265
        * configure.in (d10v*): Define SMALL_MEMORY.
16266
 
16267
Mon Nov 11 10:30:44 1996  Michael Meissner  
16268
 
16269
        * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
16270
        -mrelocatable-lib and -mno-eabi flags.
16271
 
16272
Mon Nov 11 09:01:39 1996  Jeffrey A Law  (law@cygnus.com)
16273
 
16274
        * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
16275
        Fix handling of mis-aligned source operand when both the
16276
        destination & length are properly aligned.
16277
 
16278
Wed Oct 30 09:41:11 1996  Jeffrey A Law  (law@cygnus.com)
16279
 
16280
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add
16281
        times.o, time.o and gettime.o
16282
        * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
16283
        * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
16284
        SYS_gettimeofday.
16285
 
16286
Tue Oct 29 13:40:09 1996  Jeffrey A Law  (law@cygnus.com)
16287
 
16288
        * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
16289
        * libc/sys/sysnecv850/access.c: New file.
16290
 
16291
Mon Oct 21 19:47:02 1996  Ian Lance Taylor  
16292
 
16293
        * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
16294
 
16295
        * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
16296
        long.
16297
 
16298
Mon Oct 21 14:43:07 1996  Jeffrey A Law  (law@cygnus.com)
16299
 
16300
        * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
16301
 
16302
Thu Oct 17 11:47:16 1996  Doug Evans  
16303
 
16304
        * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
16305
        * libc/include/sys/config.h: Add m32r support.
16306
 
16307
Wed Oct 16 23:08:05 1996  Jeffrey A Law  (law@cygnus.com)
16308
 
16309
        * libc/sys/sysnecv850/v850.ld: Remove.  It doesn't belong
16310
        here.
16311
 
16312
Wed Oct 16 21:18:07 1996  Mark Alexander  
16313
 
16314
        * libc/include/machine/setjmp.h: Add D10v support.
16315
 
16316
Tue Oct 15 22:28:26 1996  Jeffrey A Law  (law@cygnus.com)
16317
 
16318
        * configure.in: Configure the "libc/syscalls" directory for
16319
        the v850.
16320
 
16321
        * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
16322
        * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
16323
        * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
16324
        * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
16325
        * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
16326
 
16327
Tue Oct 15 16:24:39 1996  Stu Grossman  (grossman@critters.cygnus.com)
16328
 
16329
        * libc/sys/sysnecv850/crt0.S (start):  Allocate spill space on
16330
        stack for args for main and other routines.  Zero out args for
16331
        main.
16332
 
16333
        * libc/sys/sysnecv850/v850.ld:  New.  Linker script to layout memory
16334
        correctly.
16335
 
16336
Tue Oct 15 11:51:42 1996  Michael Meissner  
16337
 
16338
        * libc/stdio/findfp.c (std): Remove extraneous ';' after
16339
        function.
16340
 
16341
        * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
16342
 
16343
        * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
16344
        real system calls now.
16345
 
16346
        * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
16347
        before casting them to int.
16348
        * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
16349
 
16350
        * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
16351
        aligning pointer.
16352
        * libc/string/memset.c (memset): Ditto.
16353
 
16354
        * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
16355
        first convert ints to _POINTER_INT to eliminate GCC warning.
16356
 
16357
        * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
16358
        processing %p.
16359
 
16360
        * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
16361
        from 65000 if ints are only 16 bits.
16362
 
16363
        * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
16364
        from 50000 if ints are only 16 bits.
16365
 
16366
        * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
16367
        int type that is the same size as a pointer.
16368
 
16369
        * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
16370
        processing %p.
16371
        (get_number): Explicitly cast number to long before shifting by 16
16372
        or 24, in case ints are short.
16373
 
16374
        * libc/include/sys/config.h (_POINTER_INT): Define as short.
16375
 
16376
Wed Oct  9 16:54:32 1996  Jeremy Allison 
16377
 
16378
        * libc/string.h: Added ffs, removed swab.
16379
        * libc/sys/errno.h: Added EOPNOTSUPP.
16380
        * libc/sys/unistd.h: Added swab.
16381
 
16382
Thu Oct  3 17:08:50 1996  Jeremy Allison 
16383
 
16384
        * libc/include/sys/stat.h: Added fchmod.
16385
        * libc/include/sys/unistd.h: Added fsync.
16386
 
16387
Tue Oct  1 17:34:08 1996  Jeremy Allison 
16388
 
16389
        * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
16390
        and ECONNRESET (104) for cygwin32.
16391
 
16392
Tue Oct  1 16:24:05 1996  Gavin Koch  
16393
 
16394
        * libc/sys/sysnecv850/_exit.c: added _do_dtors to
16395
        do the static destructors.
16396
 
16397
Mon Sep 30 15:59:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
16398
 
16399
        * libc/sys/sysnecv850/trap.S:  Change I/O to use trap 31.
16400
 
16401
Mon Sep 30 12:02:50 1996  Doug Evans  
16402
 
16403
        * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
16404
        * configure.in: Recognize m32r-*-*.
16405
 
16406
Mon Sep 30 00:34:41 1996  James G. Smith  
16407
 
16408
        * libc/sys/arm/trap.S (__rt_stkovf_split_big,
16409
        __rt_stkovf_split_small): Added default software stack overflow
16410
        handlers, which just call SWI_Exit.
16411
        * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
16412
        limit initialisation.
16413
 
16414
Fri Sep 27 13:08:03 1996  Mark Alexander  
16415
 
16416
        * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
16417
 
16418
Fri Sep 27 12:32:00 1996  Jeremy Allison 
16419
 
16420
        * libc/include/sys/types.h: Added ssize_t definition.
16421
 
16422
Wed Sep 25 14:52:18 1996  Michael Meissner  
16423
 
16424
        * libc/machine/d10v/setjmp.S: Use ';' for comments.
16425
        * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
16426
 
16427
        * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
16428
        branch around a single ldi instruction.
16429
 
16430
        * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
16431
        Call exit, instead of just issuing a stop instruction.
16432
 
16433
Sun Sep 22 17:26:55 1996  Michael Meissner  
16434
 
16435
        * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
16436
 
16437
Fri Sep 20 13:23:12 1996  Michael Meissner  
16438
 
16439
        * libc/stdlib/mprec.h: Explicitly declare all large constants as
16440
        longs, and then cast them to __uint32_t.
16441
 
16442
        * libc/include/sys/config.h: Protect against multiple inclusions.
16443
 
16444
Tue Sep 17 13:10:33 1996  Mark Alexander  
16445
 
16446
        * configure.in (d10v*): Set syscall_dir.
16447
 
16448
Sun Sep 15 10:41:59 1996  Mark Alexander  
16449
 
16450
        * libc/sys/d10v/crt0.S: Set stack pointer.
16451
 
16452
Thu Sep 12 13:02:38 1996  Mark Alexander  
16453
 
16454
        * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
16455
        in assembly for efficiency.  Change calling convention to allow
16456
        long ints to be returned.
16457
 
16458
Wed Sep 11 10:28:18 1996  Michael Meissner  
16459
 
16460
        * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
16461
 
16462
Thu Sep  5 19:23:06 1996  Doug Evans  
16463
 
16464
        * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
16465
        Handle empty entries in $PATH.
16466
 
16467
Tue Sep 03 18:15:02 1996  Mark Alexander  
16468
 
16469
        * libc/machine/d10v/setjmp.S: Make it really work.
16470
 
16471
Tue Sep  3 12:16:26 1996  Ian Lance Taylor  
16472
 
16473
        * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
16474
        the .stack section.
16475
 
16476
Tue Sep  3 10:08:45 1996  Jeffrey A Law  (law@cygnus.com)
16477
 
16478
        * sys/sysnecv850/sys/file.h: Remove.
16479
        * sys/sysnecv850/sys/syscall.h: New file.
16480
        * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
16481
        * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
16482
        * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
16483
        * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
16484
        * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
16485
        * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
16486
        * sys/sysnec850/trap.S: New file.
16487
        * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
16488
        syscalls.
16489
        * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
16490
        * sys/sysnec850/sbrk.c: New version.
16491
 
16492
Sun Sep  1 20:08:27 1996  Jeffrey A Law  (law@cygnus.com)
16493
 
16494
        * sys/sysnecv850/crt0.S: Fix order of comparison args.  Loop
16495
        as long as r6 is less than r7.
16496
 
16497
Sun Sep  1 13:54:19 1996  Ian Lance Taylor  
16498
 
16499
        * Makefile.in (mostlyclean): Separate from clean target.  Don't
16500
        remove *.a or targ-include.
16501
        * libc/machine/sparc/Makefile.in (mostlyclean): New target.
16502
 
16503
Sun Sep  1 11:35:26 1996  Michael Meissner  
16504
 
16505
        * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
16506
        d10v.
16507
        (__SMALL_BITFIELDS): Ditto.
16508
 
16509
        * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
16510
 
16511
Sat Aug 31 16:42:36 1996  Jeffrey A Law  (law@cygnus.com)
16512
 
16513
        * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
16514
        prefix.
16515
 
16516
        * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
16517
        * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
16518
        * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
16519
        * libc/sys/sysnecv850/write.c (write): Likewise.
16520
 
16521
        * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
16522
        .bss.
16523
 
16524
Fri Aug 30 11:18:45 1996  Michael Meissner  
16525
 
16526
        * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
16527
        appropriately for D10V, depending on -mint16/-mint32.
16528
 
16529
Thu Aug 29 16:09:37 1996  Mark Alexander  
16530
 
16531
        * configure.in: Add cases for D10V.
16532
 
16533
Thu Aug 29 17:03:23 1996  Michael Meissner  
16534
 
16535
        * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
16536
 
16537
Wed Aug 28 21:05:52 1996  Jeffrey A Law  (law@cygnus.com)
16538
 
16539
        * libc/include/machine/ieeefp.h: Fix typo.
16540
 
16541
Wed Aug 28 19:47:55 1996  Mark Alexander  
16542
 
16543
        * libc/sys/d10v: New directory for D10V stuff.
16544
        * libc/include/machine/ieeefp.h: Add D10V defines.
16545
 
16546
Mon Aug 26 13:34:58 1996  Doug Evans  
16547
 
16548
        * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
16549
        ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
16550
        ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
16551
        * libc/string/strerror.c (strerror): Add them.
16552
 
16553
Thu Aug 22 16:38:19 1996  Jeffrey A Law  (law@cygnus.com)
16554
 
16555
        * libc/sys/sysnecv850: New directory for v850 stuff.
16556
 
16557
        * libc/machine/v850: New directory for v850 stuff.
16558
        * libc/machine/v850/setjmp.S: setjmp/longjmp support.
16559
 
16560
        * configure.in: Add support for the v850.
16561
 
16562
        * libc/include/machine/ieeefp.h: Add v850 defines.
16563
        * libc/include/machine/setjmp.h: Likewise.
16564
        * libc/include/sys/config.h: Add v850 defines.
16565
 
16566
Sat Aug 17 04:06:36 1996  Geoffrey Noer  
16567
 
16568
        * libc/include/machine/ieeefp.h
16569
        * libc/include/machine/setjmp.h
16570
        * libc/include/sys/fcntl.h
16571
        * libc/include/sys/signal.h
16572
        * libc/include/sys/types.h
16573
        * libc/stdlib/system.c:
16574
        Fix preprocessor defines to match new scheme (_WIN32 for WIN32
16575
        API availability, __CYGWIN32__ for cygwin32 environment specific).
16576
 
16577
Thu Aug 15 17:09:21 1996  Geoffrey Noer  
16578
 
16579
        * libc/include/stdlib.h: add multibyte character functions.  Add
16580
        __eprintf for assert.
16581
 
16582
Thu Aug 15 11:15:40 1996  Michael Meissner  
16583
 
16584
        * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
16585
        arithmetic or __alignof__ to properly get the alignment, instead
16586
        of hardwiring it to 4.
16587
 
16588
Wed Aug 14 23:43:28 1996  Geoffrey Noer  
16589
 
16590
        * libc/stdio/fseek.c: add fflush call to adjust seek offset
16591
        on append stream (fix from NetBSD sources), adjust curoff offset
16592
        for ungetc's benefit.
16593
        * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
16594
        * libc/stdio/rewind.c: replace code with up to date NetBSD
16595
        code to undo hacks made to work around above problem of not
16596
        having fflush call mentioned above
16597
 
16598
Fri Aug  2 18:28:07 1996  J.T. Conklin  
16599
 
16600
        * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
16601
        openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
16602
        Partially revert last changes.  The thread specific errno is set
16603
        iff if the underlying syscall fails and the global errno is not
16604
        zero.
16605
 
16606
Fri Jul 19 11:41:52 1996  J.T. Conklin  
16607
 
16608
        * libc/reent/filer.c: Removed files, all functions have split out
16609
        into their own files.
16610
        * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
16611
        New files containing functions formally in filer.c
16612
        * libc/reent/Makefile.in: Updated for above change.
16613
 
16614
        * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
16615
        syscall fails, not if errno is changed.
16616
        * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
16617
        _write_r): Likewise.
16618
        * libc/reent/fstatr.c (_fstat_r): Likewise.
16619
        * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
16620
        * libc/reent/sbrkr.c (_sbrk_r): Likewise.
16621
        * libc/reent/signalr.c (_kill_r): Likewise.
16622
        * libc/reent/statr.c (_stat_r): Likewise.
16623
        * libc/reent/timer.c (_gettimeofday_r): Likewise.
16624
 
16625
        * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
16626
        signalr.c, statr.c, timer.c} (errno): declare extern rather
16627
        than as a common.
16628
 
16629
        * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
16630
        instead of calling vfprintf so that i*printf will not require
16631
        floating point support code.
16632
 
16633
Mon Jul 15 16:50:59 1996  Doug Evans  
16634
 
16635
        * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
16636
        path delimiter.
16637
        * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
16638
        (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
16639
 
16640
Thu Jul 11 14:34:14 1996  Geoffrey Noer  
16641
 
16642
        * libc/include/signal.h: _sig_func_ptr function takes an int
16643
        * libc/include/sys/signal.h: sa_handler function takes an int
16644
 
16645
Tue Jul  9 21:22:32 1996  Jeffrey A Law  (law@cygnus.com)
16646
 
16647
        * libc/include/machine/ieeefp.h: Simplify H8/S support.
16648
        * libc/include/sys/config.h: Add missing H8/S conditional.
16649
 
16650
Sun Jun 30 12:05:46 1996  Doug Evans  
16651
 
16652
        * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
16653
 
16654
Wed Jun 26 09:57:54 1996  Jeffrey A Law  (law@cygnus.com)
16655
 
16656
        * libc/include/machine/setjmp.h: Handle H8/S.
16657
        * libc/include/machine/ieeefp.h: Likewise.
16658
        * libc/include/sys/config.h: Likewise.
16659
        * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
16660
        * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
16661
        * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
16662
        * libc/sys/h8300hms/crt0.S: Likewise.
16663
 
16664
Tue Jun 25 23:15:45 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
16665
 
16666
        * Makefile.in (datadir): Set to $(prefix)/share.
16667
        (oldincludedir, docdir): Removed.
16668
        * doc/Makefile.in (datadir): Set to $(prefix)/share.
16669
        (oldincludedir, docdir): Removed.
16670
        * libc/Makefile.in (datadir): Set to $(prefix)/share.
16671
        (oldincludedir, docdir): Removed.
16672
        * libm/Makefile.in (datadir): Set to $(prefix)/share.
16673
        (oldincludedir, docdir): Removed.
16674
 
16675
Fri Jun 21 19:24:41 1996  Ian Lance Taylor  
16676
 
16677
        * libc/include/sys/reent.h (_REENT_INIT): Update for change to
16678
        _reent struct.
16679
 
16680
Wed Jun 19 14:00:09 1996  Doug Evans  
16681
 
16682
        * libc/posix/execvp.c: Delete _WIN32 support.  For __CYGWIN32__
16683
        fetch current path rules with sysconf and handler posix/win32
16684
        appropriately.
16685
 
16686
        * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
16687
 
16688
        * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
16689
        (WAIT_CHILD): Always define.
16690
 
16691
Sat Jun 15 17:50:42 1996  Ian Lance Taylor  
16692
 
16693
        * libc/stdlib/eprintf.c: New file.
16694
        * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
16695
        (eprintf.o): New target.
16696
 
16697
Thu Jun 13 16:44:32 1996  Doug Evans  
16698
 
16699
        * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
16700
        (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
16701
 
16702
Thu Jun 13 17:45:17 1996  Mike Meissner  
16703
 
16704
        * libc/include/machine/ieeefp.h: Add support for AIX and Windows
16705
        NT in PowerPC endianess cases.
16706
 
16707
Tue Jun 11 12:26:28 1996  Michael Meissner  
16708
 
16709
        * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
16710
 
16711
Thu Jun  6 11:34:20 1996  Michael Meissner  
16712
 
16713
        * libc/string/strtok.c: Fix doc typo.
16714
 
16715
Mon Jun  3 11:30:00 1996  J.T. Conklin  
16716
 
16717
        * libc/include/sys/reent.h (struct _reent): Removed _asctime,
16718
        _next, _scanpoint, _signgam fields.
16719
 
16720
        * libc/include/stdlib.h (rand_r): Added new declaration.
16721
        (_rand_r, _srand_r): Removed declarations.
16722
        * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
16723
        have been made obsolete by rand_r.
16724
        * libc/stdlib/rand_r.c: New file, rand_r function as specified
16725
        by POSIX.1c.
16726
 
16727
        * libc/string/strtok.c: Update documentation to describe
16728
        strtok_r().
16729
 
16730
Sat Jun  1 23:50:39 1996  Michael Meissner  
16731
 
16732
        * libc/include/sys/stat.h (stat structure): Use the expanded stat
16733
        structure on Solaris, and PowerPC systems even though __svr4__ is
16734
        defined.
16735
 
16736
Tue May 28 13:02:42 1996  Doug Evans  
16737
 
16738
        * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
16739
 
16740
Fri May 17 10:34:44 1996  Ian Lance Taylor  
16741
 
16742
        * host/any: Use ../.. rather than .. to get to the main build
16743
        directory.  This matches the current layout of the build
16744
        directory.
16745
 
16746
Wed May 15 15:52:27 1996  Jeffrey A Law  (law@cygnus.com)
16747
 
16748
        * libc/machine/h8300/__main.S: Delete.  No longer needed.
16749
        * libc/machine/h8300/Makefile.in: Corresponding changes.
16750
        * libc/sys/h8300hms/crt1.c: New file.
16751
        * libc/sys/h8300hms/Makefile.in: Corresponding changes.
16752
        * libc/sys/h8300hms/crt0.s: Call __main.
16753
 
16754
        * libc/sys/h8300hms/crt0.S: Use temporary label names
16755
        for branch targets.
16756
 
16757
Mon May 13 14:26:30 1996  Doug Evans  
16758
 
16759
        * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
16760
 
16761
Fri May  3 16:38:23 1996  Michael Meissner  
16762
 
16763
        * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
16764
        .sdata on the PowerPC so that we can link newlib with code
16765
        compiled with -msdata.
16766
 
16767
Mon Apr 29 21:38:02 1996  Doug Evans  
16768
 
16769
        * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
16770
 
16771
Thu Apr 25 06:38:59 1996  Michael Meissner  
16772
 
16773
        * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
16774
        exception handler to __cygwin_exception_handler.
16775
 
16776
Tue Apr 23 15:14:20 1996  Ian Lance Taylor  
16777
 
16778
        * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
16779
 
16780
Sun Apr 21 12:11:51 1996  Doug Evans  
16781
 
16782
        * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
16783
        SunOS VPATH.
16784
        * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
16785
        wcstombs.o): Likewise.
16786
 
16787
Thu Apr 18 12:37:01 1996  Doug Evans  
16788
 
16789
        * libc/stdlib/environ.c (initial_env): New static local.
16790
        (environ): Point to `initial_env'.
16791
 
16792
        * libc/include/machine/setjmp.h: Clean up.
16793
        (__H8300H__,__PPC__): Define _JBTYPE.
16794
        (__arm__): Provide entry for.
16795
        (sigjmp_buf): Delete.
16796
        (jmp_buf): Use _JBTYPE if defined, otherwise int.
16797
 
16798
Thu Apr 18 12:10:52 1996  Jeffrey A Law  (law@cygnus.com)
16799
 
16800
        * libc/machine/h8300/strcmp.S: Sign extend the result to
16801
        32bits so we don't lose with -mint32.
16802
 
16803
Sun Apr 14 19:59:52 1996  Doug Evans  
16804
 
16805
        * libc/sys/go32/sys/errno.h: New file.
16806
        * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
16807
        * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
16808
        errno's address (make compatible with rest of newlib).
16809
        * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
16810
        * libc/string/strerror.c (strerror): Surround each case with #ifdef.
16811
 
16812
Thu Mar 28 13:44:42 1996  Doug Evans  
16813
 
16814
        * libc/machine/sparc/{scan.c,shuffle.c}: New files.
16815
        * libc/machine/sparc/Makefile.in: Build them.
16816
        * libc/machine/sparc/machine/sparclet.h: New file.
16817
 
16818
Mon Mar 25 15:29:14 1996  J.T. Conklin  
16819
 
16820
        * libc/machine/sh/asm.h: New file.
16821
        * libc/machine/sh/setjmp.S: Only save clobbered registers.  Added
16822
        support for SH3e's FP registers.  Use asm.h.
16823
 
16824
Mon Mar 25 11:59:23 1996  Jeffrey A Law  (law@cygnus.com)
16825
 
16826
        * libc/stdio/vfprintf.c (cvt): Accept a reent structure
16827
        as first argument.  Call _dtoa_r and pass the reent structure
16828
        instead of calling __dtoa.
16829
 
16830
Fri Mar 22 13:59:37 1996  Jeffrey A Law  (law@cygnus.com)
16831
 
16832
        * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
16833
        the h8300, h8500, and others.  Add comments for some rather
16834
        dubious code.
16835
 
16836
Thu Mar 14 18:04:43 1996  Ian Lance Taylor  
16837
 
16838
        * Makefile.in (check): Check that testsuite exists before cd.
16839
 
16840
Tue Mar 12 11:46:47 1996  Michael Meissner  
16841
 
16842
        * libc/include/string.h (strsep): Correct prototype.
16843
 
16844
Mon Mar 11 09:55:19 1996  Doug Evans  
16845
 
16846
        * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
16847
        * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
16848
        * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
16849
 
16850
Wed Mar  6 11:51:55 1996  Doug Evans  
16851
 
16852
        * libc/posix/{creat.c,isatty.c}: New files.
16853
        * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
16854
 
16855
        * libc/sys/sparc64/crt0.S (environ): Delete.
16856
        (.LHaveBias): Renamed from HaveBias.
16857
 
16858
Thu Feb 15 10:48:37 1996  Doug Evans  
16859
 
16860
        * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
16861
        (_morecore_r): Delete SBRK_IS_ALLOC support.
16862
 
16863
Tue Feb 13 09:44:09 1996  Michael Meissner  
16864
 
16865
        * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
16866
        module rather than touch, so we don't get warning messages when
16867
        all of the libraries are combined into libc.a.
16868
 
16869
Tue Feb 13 06:32:07 1996  Doug Evans  
16870
 
16871
        * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
16872
        crt0.s replaced by version in libgloss.
16873
 
16874
Mon Feb  5 15:17:51 1996  J.T. Conklin  
16875
 
16876
        * libc/reent/Makefile.in (OFILES): Add impure.o.
16877
        * libc/reent/impure.o: New file, define initial reentrancy struct.
16878
        * libc/reent/reent.c: Remove above definition.
16879
 
16880
        * libm/math/sf_asinh.c: Fix typo.
16881
 
16882
        * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
16883
        srf_ldexp.o.
16884
 
16885
        * libm/libm.texinfo: Change documentation to reflect changes
16886
        in reentrancy model.
16887
        * libm/math/w_gamma.c: Likewise.
16888
 
16889
Wed Jan 31 18:49:45 1996  Steve Chamberlain  
16890
 
16891
        * configure.in (*-*-cygwin32): New.
16892
        (*-*-win32): Deleted.
16893
        * libc/sys/win32 renamed libc/sys/cygwin32.
16894
 
16895
Tue Jan 30 22:09:03 1996  Michael Meissner  
16896
 
16897
        * libc/include/sys/file.h: New include file.
16898
 
16899
Fri Jan 26 15:52:54 1996  Steve Chamberlain  
16900
 
16901
        * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
16902
 
16903
Tue Jan 23 17:49:16 1996  Steve Chamberlain  
16904
 
16905
        * libc/include/sys/wait.h (WIFSIGNALED): Fix.
16906
 
16907
Tue Jan 16 09:28:10 1996  Michael Meissner  
16908
 
16909
        * doc/makedoc.c (realloc): Declare at file scope.
16910
        (catchar): Not here.
16911
 
16912
Wed Dec 27 15:45:23 1995  Doug Evans  
16913
 
16914
        * Makefile.in (VERSION): Update to 1.7.0.
16915
        * {libc,libm}/Makefile.in (VERSION): Likewise.
16916
        * configure.in: Minor clean up of multilib stuff.
16917
 
16918
        From David Johnson 
16919
        * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
16920
 
16921
        * libc/stdlib/environ.c: New file.
16922
        * libc/stdlib/Makefile.in (OFILES): Build it.
16923
        * libc/sys/h8500hms/crt0.c (environ): Deleted.
16924
        * libc/sys/m88kbug/crt0.c (environ): Deleted.
16925
        * libc/sys/z8ksim/crt0.c (environ): Deleted.
16926
        * libc/sys/netware/environ.c: Deleted.
16927
 
16928
Tue Dec 19 15:24:46 1995  Kim Knuttila  
16929
 
16930
        * configure.in (links): set sys_dir, posix_dir, syscall_dir
16931
 
16932
Wed Dec 13 04:16:25 1995  Michael Meissner  
16933
 
16934
        * doc/makedoc.c (init_string_with_size,nextword): Move malloc
16935
        declaration out to external scope and declare it PTR, not char *.
16936
 
16937
Mon Dec 11 17:35:12 1995  steve chamberlain  
16938
 
16939
        * libc/include/sys/unistd.h (getpagesize): New declaration.
16940
        (_SC_PAGESIZE): New definition.
16941
        * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
16942
        * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
16943
 
16944
Fri Dec  1 16:48:46 1995  James G. Smith  
16945
 
16946
        * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
16947
        addressing. System call returns size, not (last address + 1).
16948
 
16949
Thu Nov 30 15:05:26 1995  J.T. Conklin  
16950
 
16951
        * libm/math/*.c: Removed _foo_r() reentrancy API.
16952
        * libc/include/math.h: Removed _foo_r prototypes and macros.
16953
 
16954
        * libm/math/*.c: On systems with IEEE single precision "doubles"
16955
        move foo() -> foof() wrapper code from the files that implement
16956
        the standard IEEE double precision functions to the files that
16957
        implement IEEE single precision functions. (ie. On those systems
16958
        sin is moved from s_sin.c to sf_sin.c).  There should eventually
16959
        be use of a C extension (like gcc's alias attribute) so that the
16960
        wrappers are not needed at all.
16961
 
16962
        * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
16963
        strict NEC V810 compiler.
16964
        * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
16965
        for same reason.
16966
 
16967
Wed Nov 29 14:25:05 1995  J.T. Conklin  
16968
 
16969
        * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
16970
        from NetBSD C library.
16971
        * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
16972
 
16973
        * libc/stdlib/assert.c (__assert): Renamed from __assertfail
16974
        and adapted from implementation I wrote for NetBSD C library.
16975
        The difference is __assert doesn't take a format argument,
16976
        so that there won't be multiple copies of the same string
16977
        constant in the executable if assertions are enabled in
16978
        more than one source module.
16979
        * libc/include/assert.h (assert): Changed to call __assert.
16980
 
16981
Tue Nov 28 16:54:26 1995  J.T. Conklin  
16982
 
16983
        * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
16984
        word1 on systems with 32 bit doubles.
16985
        * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
16986
        so that we can do arithmetic on them.
16987
        * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
16988
        compilers.
16989
 
16990
Tue Nov 28 16:03:32 1995  Doug Evans  
16991
 
16992
        * libc/sys/arm/crt0.S: Zero bss.
16993
 
16994
Fri Nov 24 16:09:23 1995  Doug Evans  
16995
 
16996
        * libc/include/unctrl.h: New file.
16997
        * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
16998
        * configure.in (subdirs): Add libc/misc.
16999
        * libc/Makefile.in (SUBDIRS): Add misc.
17000
        (SUBLIBS): Add misc/lib.a.
17001
 
17002
        * libc/include/sys/reent.h (struct _reent): Make __sf last member.
17003
 
17004
Wed Nov 22 19:49:47 1995  Doug Evans  
17005
 
17006
        * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
17007
        (_vfprintf_r): Call CHECK_INIT.
17008
 
17009
Tue Nov 14 02:52:12 1995  Doug Evans  
17010
 
17011
        * Makefile.in (MULTITOP): Delete.
17012
        (MULTISRCTOP, MULTIBUILDTOP): Add.
17013
        * configure.in: Delete call to cfg-ml-com.in.  Call config-ml.in
17014
        instead of cfg-ml-pos.in.
17015
 
17016
Wed Nov  8 01:24:08 1995  James G. Smith  
17017
 
17018
        * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
17019
        * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
17020
        presence.
17021
 
17022
Thu Nov  2 22:25:06 1995  Michael Meissner  
17023
 
17024
        * libc/string/strtok.c: Include string.h to pick up strtok_r
17025
        prototype.
17026
 
17027
Wed Nov  1 18:54:11 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17028
 
17029
        * libc/string/strtok.c: include <_ansi.h>.
17030
        * libc/time/asctime_r.c: `reresult' -> `result'.
17031
 
17032
Wed Nov  1 14:35:52 1995  J.T. Conklin  
17033
 
17034
        * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
17035
        in #ifndef _REENT_ONLY ... #endif conditional.
17036
 
17037
        * libc/include/string.h (_strtok_r): Remove declaration.
17038
        * libc/include/time.h (_asctime_r): Remove declaration.
17039
        * libc/string/strtok.c (_strtok_r): Removed.
17040
        * libc/time/asctime.c (_asctime_r): Removed.
17041
 
17042
        * libc/string/Makefile.in (OFILES): Add new object.
17043
        * libc/string/strtok_r.c: New file.  strtok_r function as
17044
        specified by POSIX.1c, adapted from strtok implementation
17045
        from NetBSD C library.
17046
        * libc/string/strtok.c (strtok): Reimplemented in terms of
17047
        strtok_r.
17048
 
17049
        * libc/time/Makefile.in (OFILES): Add new objects.
17050
        * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
17051
        New files, reentrant time functions specified by POSIX.1c.
17052
        * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
17053
        reentrant time functions re-written in terms of reentrant
17054
        functions.
17055
        * libc/time/lcltime.c: Renamed from localtime.c
17056
 
17057
        * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
17058
        gmtime_r, and localtime_r.
17059
 
17060
Sat Oct 28 14:34:31 1995  steve chamberlain  
17061
 
17062
        * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
17063
        * libc/include/sys/unistd.h (getlogin): Revert change of
17064
        Oct 19.
17065
        * libc/include/sys/signal.h (sigprocmask): Change prototype
17066
        so it compiles with c++.
17067
 
17068
Wed Oct 25 15:43:18 1995  Michael Meissner  
17069
 
17070
        * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
17071
        PowerPC if __PPC__ is defined.  Bump jump_buf length to 62 ints,
17072
        to give some room in case we need to align the jmp_buf.
17073
 
17074
        * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
17075
        the new ppc-asm.h include file the compiler provides to specify
17076
        function prologue/epilogue.  Eliminate saves of the xer and ctr
17077
        registers, which are volatile.  Before starting to save registers,
17078
        align to 8 byte boundary.
17079
 
17080
Mon Oct 23 11:20:51 1995  James G. Smith  
17081
 
17082
        * libc/sys/vr4300/syscalls.c: Added empty kill() function,
17083
        referenced by standard libraries.
17084
 
17085
Thu Oct 19 21:39:47 1995  Fred Fish  
17086
 
17087
        * libc/unix/Makefile.in, libc/string/Makefile.in,
17088
        libc/stdio/Makefile.in, libc/reent/Makefile.in,
17089
        libc/posix/Makefile.in:
17090
        Remove tabs from otherwise empty line.  Confuses some
17091
        older non-GNU versions of "make".
17092
 
17093
Thu Oct 19 16:32:17 1995  steve chamberlain  
17094
 
17095
        * libc/sys/unistd.h (getlogin): Returns const char *.
17096
 
17097
Wed Oct 18 12:57:50 1995  steve chamberlain  
17098
 
17099
        * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
17100
        * libc/include/errno.h: Moved into and include...
17101
        * libc/include/sys/errno.h: New file.
17102
        * libc/include/sys/wait.h: New file.
17103
        * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
17104
        * libc/sys/win32/*: Moved out.
17105
        * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
17106
        * configure.in (i[345]86-*-win32): HAVE_RENAME
17107
 
17108
Wed Oct 18 09:58:27 1995  Brendan Kehoe  
17109
 
17110
        * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
17111
        avoid macro expansion for these two names.
17112
 
17113
Tue Oct 17 08:45:33 1995  Doug Evans  
17114
 
17115
        * libc/machine/h8500/psi.S: r6 renamed to fp.
17116
 
17117
Sun Oct 15 12:58:10 1995  Michael Meissner  
17118
 
17119
        * configure.in (powerpc*): No longer need to define
17120
        NO_LONGLONG_POINTERS to supress warnings.
17121
 
17122
Sat Oct 14 12:55:08 1995  Jim Wilson  
17123
 
17124
        * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
17125
        through PTR instead of directly.
17126
 
17127
        * libc/sys/sh/crt0.S: Clean up formatting.  Delete unused
17128
        non-standard constructor support.
17129
 
17130
Thu Oct 12 11:39:42 1995  J.T. Conklin  
17131
 
17132
        * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
17133
        address of the Bigint instead of the address of its _x field,
17134
        as the size the result buffer was calculated accordingly.
17135
        Fix from Jim Wilson .
17136
 
17137
        * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
17138
        from NetBSD C library.  No longer special cases division by
17139
        zero (which needs to be done by the application anyway), but
17140
        it doesn't need to call abs() (or labs()) four times either.
17141
 
17142
        * libc/stdlib/qsort.c: Replaced with implementation from
17143
        NetBSD C library.
17144
 
17145
Tue Oct 10 14:01:10 1995  J.T. Conklin  
17146
 
17147
        * libc/stdio/vfprintf.c: Replaced with implementation from
17148
        NetBSD C library (which is derived from the 4.4BSD C library).
17149
        * libc/stdio/cvt.c: Removed.
17150
        * libc/stdio/Makefile: Updated.
17151
 
17152
Tue Oct 10 12:15:23 1995  steve chamberlain  
17153
 
17154
        * libc/sys/win32/syscalls.c (rename): New.
17155
        * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
17156
 
17157
Fri Oct  6 12:18:43 1995  Jim Wilson  
17158
 
17159
        * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
17160
        * libc/machine/sh/setjmp.S: Rename from setjmp.s.
17161
 
17162
        * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
17163
        (setjmp.o): Delete rule to build setjmp.o.
17164
        * libc/sys/sh/setjmp.S: Delete file.
17165
 
17166
Fri Oct  6 11:19:05 1995  J.T. Conklin  
17167
 
17168
        * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
17169
        * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
17170
        format.  Added #defines to map d2b, i2b, low0bits, lshift, mult,
17171
        pow5mult and s2b to identifiers with leading underscores.
17172
        * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
17173
        ecvtbuf.o, mprec.o and strtod.o.  Sort dependencies.
17174
 
17175
Thu Oct  5 17:27:30 1995  steve chamberlain  
17176
 
17177
        * libc/sys/posix/popen.c (sys/types.h): Include.
17178
 
17179
Thu Oct  5 16:33:01 1995  Doug Evans  
17180
 
17181
        * libc/sys/win32/syscalls.h (fhandler): New struct.
17182
        (__lookup_fhandler, __lookup_fhandler_hook): Declare.
17183
        (__fhandler_normal): Declare.
17184
        (hinfo): New member op_handlers.
17185
        * libc/sys/win32/syscalls.c (__read): Don't validate fd.
17186
        (__write): Likewise.
17187
        (_read, _write, _open, _close, _lseek): Validate fd here.
17188
        Move file type specific stuff to foo_normal.
17189
        (read_normal, write_normal, open_normal, close_normal, lseek_normal):
17190
        New functions.
17191
        (__lookup_fhandler): New function.
17192
        (__lookup_fhandler_hook, __fhandler_normal): New variables.
17193
 
17194
        From anders.blomdell@control.lth.se (Anders Blomdell)
17195
        * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
17196
        Don't touch standard handles.
17197
        * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
17198
        (_execve): Only create __FD_TABLE__ if necessary.
17199
        * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
17200
 
17201
Thu Oct  5 14:25:14 1995  steve chamberlain  
17202
 
17203
        * libc/sys/win32/sys/termios.h (FLUSHO): New.
17204
        * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
17205
        * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
17206
        * libc/sys/win32/exception.c (ehandler3): set strace when a signal
17207
        without a handler is received.
17208
        * libc/sys/win32/Makefile.in: Remove --nodelete.
17209
        * libc/sys/win32/resouce.c (gettimeofday): New.
17210
        * libc/sys/win32/syscalls.c (path_to_real_path): New.
17211
        * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
17212
 
17213
Wed Oct  4 13:10:35 1995  Doug Evans  
17214
 
17215
        * libc/sys/win32/dirsearch.c (opendir): stat real path name.
17216
        Don't append "/*" to search pattern if trailing '/' already there,
17217
        append "*".
17218
        * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
17219
        like /'s, convert them to \'s.  Handle /// path names.
17220
        Add space for quoted \'s in arg string.  Print translated prog name
17221
        and original prog name.
17222
        (_execve): Handle parent doing exec a teensy bit better.
17223
        * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
17224
        * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
17225
        path needs conversion, handle both cases.  Delete `const' from result.
17226
        (hash_path_name): New function.
17227
        (_open): Call it.
17228
        (_stat): Likewise.  Fill in more fields for directories.
17229
        * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
17230
        (wait_for_any): Fix trace message.
17231
        (waitpid): Explicitly test for intpid == 0.
17232
 
17233
        From anders.blomdell@control.lth.se (Anders Blomdell)
17234
        * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
17235
        so `next' is valid.
17236
 
17237
Sat Sep 30 15:00:15 1995  Jason Molenda  (crash@phyeaux.cygnus.com)
17238
 
17239
        * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
17240
        complicated.
17241
 
17242
Sat Sep 30 10:25:57 1995  Jason Molenda    (crash@phydeaux.cygnus.com)
17243
 
17244
        * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
17245
        at all, not just == 1.
17246
        * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
17247
 
17248
Sat Sep 30 04:30:09 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17249
 
17250
        * libc/sys/win32/include/winbase.h: include  and 
17251
        * libc/sys/win32/include/wintypes.h: include 
17252
        * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
17253
        file.
17254
 
17255
Fri Sep 29 01:49:17 1995  steve chamberlain  
17256
 
17257
        * libc/sys/syscalls.c (getcwd): Fix off by one error.
17258
 
17259
        * libc/sys/signal.c (sleep): Fill it in.
17260
        * libc/sys/termios.c (tcflush): Use PurgeComm
17261
        (tcsetattr): Set some more of the bits.
17262
        * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
17263
 
17264
Fri Sep 29 04:33:53 1995  Doug Evans  
17265
 
17266
        * libc/sys/arm/crt0.S (fp): Initialize to 0.
17267
        Conditionally include .idata$3 stuff ifdef __pe__.
17268
 
17269
Fri Sep 29 01:49:17 1995  steve chamberlain  
17270
 
17271
        * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
17272
        * libc/sys/win32/pipe.c (pipe): Ditto.
17273
        * libc/sys/win32/syscalls.c (__read):  Use new vtime and vmin fields.
17274
        * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
17275
        * libc/sys/win32/termios.c (tcsetattr): Init new fields.
17276
        (tcgetattr): Contents are new.
17277
        * libc/sys/win32/include/winkernel.h (DCB): New.
17278
        (GetCommState, SetCommState): New.
17279
 
17280
Thu Sep 28 16:29:09 1995  Doug Evans  
17281
 
17282
        * libc/sys/arm/crt0.S (_start): Define.
17283
 
17284
Thu Sep 28 12:26:45 1995  steve chamberlain  
17285
 
17286
        * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
17287
        * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
17288
 
17289
        * libc/sys/win32/sysconf.c: New
17290
        * libc/sys/win32/sys/winadvapi.h: New
17291
        * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
17292
        * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
17293
        * libc/sys/win32/pipe.c (pipe): Ditto.
17294
        * libc/sys/win32/signal.c (_raise): New.
17295
        (_kill): Moved from spawn.c
17296
        * libc/sys/win32/spawn.c (kill): Moved to signal.c
17297
        * libc/sys/win32/syscalls.c (__read): Use new fields.
17298
        (_open): Ditto.
17299
        * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
17300
        * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
17301
        * libc/include/sys/unistd.h (rmdir): Takes const path.
17302
        * libc/include/sys/stat.h (mkdir): Takes const path.
17303
        * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
17304
 
17305
Thu Sep 28 10:11:27 1995  Doug Evans  
17306
 
17307
        * libc/sys/win32/spawn.c (_spawn): Fix quoting.
17308
 
17309
        Add support for specifying paths as ///foo/bar.
17310
        * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
17311
        (__path_to_real_path): Declare.
17312
        (PATH_TO_REAL_PATH): New macro.
17313
        * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
17314
        (__path_needs_conversion_p, __path_to_real_path): New functions.
17315
        (_open): Fix test for error return from CreateFileA.
17316
        Handle new path syntax.
17317
        (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
17318
        * libc/sys/win32/dirsearch.c (opendir): Likewise.
17319
 
17320
Wed Sep 27 16:36:46 1995  steve chamberlain  
17321
 
17322
        * libc/sys/win32/include/*.h: Reorganized
17323
        * libc/sys/win32/include/WINREADME: New.
17324
        * libc/sys/win32/Makefile.in (DLLS): Build version.a.
17325
        * libc/sys/win32/*.c: Fix for new include scheme.
17326
        * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
17327
        * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
17328
        * libc/sys/win32/passwd.c (*): Fix.
17329
        * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
17330
        (_stat): Get directory owner and permissions right.
17331
        * libc/sys/win32/syscalls.h (uinfo): New.
17332
        * libc/sys/win32/version.def: Remove leading underscores.
17333
 
17334
Tue Sep 26 18:18:47 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17335
 
17336
        * libc/sys/win32/key.c: include "include/wincon.h".
17337
 
17338
Tue Sep 26 07:21:48 1995  steve chamberlain  
17339
 
17340
        * libc/sys/win32/{key, stubs}.c: New.
17341
        * libc/sys/win32/Makefile: Adjust to cope.
17342
        * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
17343
        (environ_init): Change env names to upper case.
17344
        * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
17345
        * libc/sys/win32/passwd.c (*): Fill in the functions.
17346
        * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
17347
        * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
17348
        * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
17349
        (_open): Initialze hmap->execable_p too.
17350
        * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
17351
        (_fstat): Fill in permissions.
17352
        * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
17353
 
17354
Fri Sep 22 13:47:27 1995  Doug Evans  
17355
 
17356
        * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
17357
        if defined.
17358
        (cfg-ml-pos.in invocation): Likewise.
17359
 
17360
Fri Sep 22 11:43:44 1995  J.T. Conklin  
17361
 
17362
        * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
17363
        s_isnan.o and sf_isnan.o.
17364
 
17365
Wed Sep 20 14:50:19 1995  Ian Lance Taylor  
17366
 
17367
        * All Makefile.in files: added maintainer-clean target as a
17368
        synonym for realclean.
17369
 
17370
Wed Sep 20 11:02:50 1995  Jeff Law  (law@snake.cs.utah.edu)
17371
 
17372
        * libc/include/machine/setjmp.h: Add hppa support.
17373
        * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
17374
        support.
17375
        * libc/machine/hppa/Makefile.in: Related changes.
17376
 
17377
Tue Sep 19 12:09:01 1995  J.T. Conklin  
17378
 
17379
        * configure.in (machine_dir): Don't set for v810-*-*.
17380
 
17381
Fri Sep 15 20:22:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17382
 
17383
        * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
17384
        conventions correctly.
17385
 
17386
Thu Sep 14 13:37:22 1995  J.T. Conklin  
17387
 
17388
        * libc/stdio/puts.c: Update documentation of return value to match
17389
        ANSI standard.
17390
 
17391
Thu Sep 14 01:52:37 1995  Doug Evans  
17392
 
17393
        Fix file descriptor inheritance.
17394
        * libc/sys/win32/syscalls.h (CHILD_P): Define again.
17395
        (NOT_OPEN_FD): Fix.
17396
        * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
17397
        close-on-exec flag not set.  Initialize child's entire fd table.
17398
        * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
17399
        CHILD_P.
17400
        * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
17401
        if CHILD_P.  Initialize entire hmap entry.
17402
        (dup): Only create new handle as inheritable if CHILD_P.
17403
        (dup2): Likewise.  Properly initialize hmap entry.
17404
 
17405
        * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
17406
        _spawn.
17407
        (_exit): Use CHILD_P.
17408
        * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
17409
        (_stat): Likewise.
17410
 
17411
Mon Sep 11 23:09:39 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17412
 
17413
        * libc/sys/win32/crt0.c (passover): fix up the state table.
17414
        * libc/posix/popen.c: Added.
17415
        * libc/posix/Makefile.in: compile popen.c.
17416
 
17417
Mon Sep 11 11:43:38 1995  J.T. Conklin  
17418
 
17419
        * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
17420
        h8/500 define _DOUBLE_IS_32BITS.
17421
 
17422
Sat Sep  9 17:55:54 1995  Doug Evans  
17423
 
17424
        Get vfork/exec/spawn/cwait/wait working again.
17425
        * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
17426
        (procinfo): New member vfork_level.
17427
        * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
17428
        (vfork_init_first): Use GetCurrentProcessId to get pid.
17429
        Initialize vfork_level.
17430
        (vfork_init): Delete __PID__.
17431
        (environ_init): New function.  Undo patch of Aug 19, Posix says
17432
        environment variables are case sensitive.
17433
        (mainCRTStartup): Call it.
17434
        * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
17435
        (my_longjump: Make static.
17436
        (_spawn): New argument `h'.  Delete setting of __PID__.
17437
        Delete local `idx'.  Look for chars that need quotes, rather than
17438
        ones that don't.  Set handle of created process in `h'.
17439
        Result is process id if created task.
17440
        (allocate_spawn_entry): New function.
17441
        (spawnvp, spawnv): Call it.  Store handle and pid in procinfo entry.
17442
        (_execve): Set __FD_TABLE__ before spawning child.
17443
        Scan our fd table when passing fds, not our parent's.
17444
        Store handle and pid in procinfo entry.
17445
        (vfork0): Ensure strace message always printed.
17446
        Set child pid to VFORK_NEWBORN_PSEUDO_PID.
17447
        (vfork): Don't clobber result of vfork0.
17448
        * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
17449
        (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
17450
 
17451
        * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
17452
        and `exit_code'.
17453
        * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
17454
        (vfork0): Likewise.  Distinguish children, grandchildren, etc. by
17455
        adding vfork level to pseudo-pid.
17456
        (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
17457
        (spawnvp, spawnv, _execve): Set handle_valid_p if success.
17458
        (_exit): If child, set exit code.
17459
        (__vfork_record_death): Only close process handle if valid.
17460
        * libc/sys/win32/wait.c (wait_for_single): Watch for children that
17461
        didn't exec.
17462
        (wait_for_any): Likewise.  Start scan after root entry.
17463
 
17464
Fri Sep  8 18:48:02 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17465
 
17466
        * libc/include/sys/types.h (off_t): off_t back to 32 bits.
17467
        * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
17468
        * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
17469
        of actual file length.
17470
 
17471
        * libc/sys/win32/sys/wait.h: include .
17472
        * libc/include/paths.h: _PATH_BSHELL added.
17473
        * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
17474
        and STDERR_FILENO.
17475
 
17476
Thu Sep  7 21:02:22 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17477
 
17478
        * libc/include/ar.h: Added.
17479
        * libc/include/sys/types.h: ino_t goes back to 32-bits.
17480
        * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
17481
        * libc/sys/win32/syscalls.c (_open): compute .namehash based
17482
        on filename.
17483
        (_fstat): use .namehash for inode number of the fd.
17484
 
17485
Thu Sep  7 12:57:19 1995  steve chamberlain  
17486
 
17487
        * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
17488
         Change hinfo to __this_procinfo.
17489
        * libc/sys/win32/crt0.c: Remove procinfo_list.
17490
 
17491
Wed Sep  6 18:38:26 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17492
 
17493
        * libc/include/sys/types.h (ino_t): Define ino_t correctly for
17494
        win32 environment.
17495
 
17496
Wed Sep  6 18:09:29 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17497
 
17498
        * libc/sys/win32/include/grp.h: Removed.
17499
        * libc/sys/include/grp.h: Added.
17500
        * libc/sys/win32/grp.c: Include .
17501
 
17502
Wed Sep  6 16:52:48 1995  steve chamberlain  
17503
 
17504
        * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
17505
        (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
17506
        Defined for all but strict ANSI.
17507
        * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
17508
        * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
17509
        * libc/signal/signal.c (_signal_r): Changed from using
17510
        _MAX_SIGNALS to NSIG.
17511
        * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
17512
         __hmap): Deleted.
17513
        (__strace, __vfork_next_pid): New.
17514
        (__exe_suffix): Default to 1.
17515
        (passover, table): Understand quoted arguments.
17516
        (vfork_init_first): New.
17517
        (vfork_init): Initialize new process structure.
17518
        (mainCRTStartup): Pass environ to main.
17519
        * exceptions.c (__sig_mask): New
17520
        (ehandler3): Ignore signals in mask.
17521
        (really_exit): Remove CHILD_P test.
17522
        * pipe.c (pipe, dup, dup2): Use new process and file structure.
17523
        * resource.c (getrusage): Ditto.
17524
        * signal.c (sigprocmask): New.
17525
        * spawn.c (*): Rewritten.
17526
        * syscalls.c (*): Use new process and file structure.
17527
        (find_unused_handle): New.
17528
        * syscalls.h (MAX_HANDLES): Deleted.
17529
        (hinfo): Removed child_created_p.
17530
        (MAX_CHILDREN): Deleted.
17531
        (vfork_jmp_info, procinfo): New.
17532
        * wait.c (*): Mostly new.
17533
        * sys/strace.h (_STRACE_PARANOID): New.
17534
        * sys/param.h: New file.
17535
 
17536
Wed Sep  6 17:03:53 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17537
 
17538
        * libc/include/sys/stat.h: add S_BLKSIZE.
17539
        * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
17540
        * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
17541
        types under win32.
17542
        (mode_t): add a #else to avoid multiple definitons.
17543
 
17544
        * libc/sys/win32/Makefile.in: add grp.c.
17545
        * libc/sys/win32/grp.c: include grp.h correctly.
17546
        * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
17547
        of the st structure with real information.
17548
        * libc/sys/win32 (dirent): d_ino is of type ino_t.
17549
 
17550
Wed Sep  6 10:41:34 1995  Doug Evans  
17551
 
17552
        * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
17553
        and (maybe) sparc64.
17554
        (nlink_t): Provide typedef.
17555
 
17556
Tue Sep  5 18:46:05 1995  Jason Molenda   (crash@phydeaux.cygnus.com)
17557
 
17558
        * libc/sys/win32/grp.c: New file.
17559
        * libc/sys/win32/include/grp.h: New file.
17560
 
17561
Tue Sep  5 13:47:27 1995  J.T. Conklin  
17562
 
17563
        * libc/include/machine/ieeefp.h: Added whitespace to make this
17564
        file easier to maintain.
17565
        On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
17566
        depending on the value of __LITTLE_ENDIAN__.
17567
        On the sh3e, define _DOUBLE_IS_32BITS.
17568
 
17569
Fri Sep  1 15:35:18 1995  James G. Smith  
17570
 
17571
        * libc/sys/vr4300/syscalls.c: Added missing support
17572
        routines. _raise() and getpid().
17573
 
17574
Fri Sep  1 14:12:48 1995  James G. Smith  
17575
 
17576
        * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
17577
 
17578
Fri Sep  1 08:42:11 1995  James G. Smith  
17579
 
17580
        * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
17581
        and VR4300 processor.
17582
        * libc/sys/vr4300: Add directory.
17583
        * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
17584
        monitor run-time support.
17585
 
17586
Thu Aug 31 09:16:52 1995  J.T. Conklin  
17587
 
17588
        * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
17589
        * libc/stdlib/stdlib.tex: Don't include atol.def.
17590
 
17591
Wed Aug 30 20:38:28 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17592
 
17593
        * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
17594
 
17595
Wed Aug 30 10:48:08 1995  steve chamberlain  
17596
 
17597
        * libc/ctype/Makefile.in: Fill in _to* dependencies.
17598
 
17599
Tue Aug 29 17:14:29 1995  steve chamberlain  
17600
 
17601
        * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
17602
        * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
17603
        * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
17604
        * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
17605
        * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
17606
 
17607
Tue Aug 29 19:00:09 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17608
 
17609
        * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
17610
 
17611
Tue Aug 29 16:08:09 1995  J.T. Conklin  
17612
 
17613
        * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
17614
        * libc/stdlib/atoff.c: New file.
17615
        * libc/stdlib/atof.c (atoff): Moved to atoff.c.
17616
        * libc/stdlib/atoi.c (atol): Removed.
17617
        * libc/stdlib/atol.c: Removed duplicate documentation.
17618
 
17619
        * libc/include/ctype.h (_tolower, _toupper): Moved inside
17620
        #ifndef _STRICT_ANSI conditional.
17621
        * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
17622
        * libc/ctype/_tolower.c: New file.
17623
        * libc/ctype/_toupper.c: New file.
17624
        * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
17625
        * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
17626
        * libc/ctype/toascii.c (_toascii): Removed.
17627
 
17628
Tue Aug 29 12:17:32 1995  Doug Evans  
17629
 
17630
        * libc/sys/sparc64/sys/types.h: Deleted.
17631
 
17632
Mon Aug 28 22:06:08 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17633
 
17634
        * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
17635
        and recognize Windows_95 systems.
17636
 
17637
Mon Aug 28 19:50:54 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17638
 
17639
        * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
17640
        and passed fds should be opened in text mode.
17641
 
17642
Mon Aug 28 18:51:22 1995  Jason Molenda  (crash@phydeaux.cygnus.com)
17643
 
17644
        * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
17645
        in __hmap, set to binary mode by default.
17646
 
17647
Tue Aug 22 14:12:37 1995  J.T. Conklin  
17648
 
17649
        * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
17650
        * libc/sys/sh/trap.S (__trap34): Renamed from __trap3.  Use trap
17651
        vector 34.
17652
 
17653
Sat Aug 19 18:25:37 1995  steve chamberlain  
17654
 
17655
        * Makefile.in (install): Install all libraries found in the
17656
        top level.  If there's a sys//include directory,
17657
        install those headers into include.
17658
 
17659
        * libc/sys/win32/kernel.def351: Delete
17660
        * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
17661
        glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
17662
        lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
17663
        nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
17664
        ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
17665
        rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
17666
        uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
17667
        winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
17668
 
17669
        * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
17670
        * libc/sys/win32/crt0.c: Force all env names to upper case.
17671
        * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
17672
        * libc/sys/win32/*.c: Headers have moved.
17673
        * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
17674
        __vfork_child_idx is now __vfork_child_ptr.
17675
 
17676
        * posix/execvp (execvp): Don't crash if no PATH envname.
17677
 
17678
Fri Aug 18 12:22:59 1995  J.T. Conklin  
17679
 
17680
        * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
17681
        * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
17682
        through the _freelist instead of through the _reclaim list.
17683
        * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
17684
        * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
17685
        sources.
17686
 
17687
Thu Aug 17 11:03:27 1995  J.T. Conklin  
17688
 
17689
        * libc/machine/h8500/setjmp.S: New file.
17690
        * libc/include/machine/setjmp.h: Updated for H8/500.
17691
 
17692
Wed Aug 16 16:19:11 1995  steve chamberlain  
17693
 
17694
        * libc/sys/win32/syscalls.c (_open): More stracing.
17695
        (_stat): Open the file in O_BINARY.
17696
 
17697
Wed Aug 16 15:49:01 1995  J.T. Conklin  
17698
 
17699
        * libc/machine/h8300/setjmp.S: New file.
17700
        * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
17701
 
17702
Tue Aug 15 10:31:09 1995  Doug Evans  
17703
 
17704
        * libc/sys/win32/crt0.c (__exe_suffix): New global.
17705
        (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
17706
        * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
17707
        __exe_suffix.  Free fd_tab after setting env variable.
17708
        (spawnv,_execve): Update.
17709
        * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
17710
        * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
17711
        (__small_vfprintf): New function.
17712
        * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
17713
        * libc/sys/win32/wait.c (cwait): Validate argument.
17714
 
17715
        * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
17716
        (process_deletion_queue): Likewise.
17717
 
17718
        * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
17719
 
17720
Mon Aug 14 10:14:10 1995  steve chamberlain  
17721
 
17722
        * libc/sys/win32: Copyrights and gratuitous indenting.
17723
 
17724
Mon Aug 14 01:32:58 1995  Doug Evans  
17725
 
17726
        * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
17727
        (process_deletion_queue): Likewise.
17728
        (__close_all_files): New function.
17729
        (_close): Only queue file deletion if really a file.
17730
        * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
17731
        _P_APPEND_EXE.
17732
        (_exit): Call __close_all_files.
17733
 
17734
        * libc/stdlib/system.c: #include .
17735
        (_system_r): Fix results in -DNO_EXEC case.
17736
 
17737
        * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
17738
        Reorganize structure.
17739
        * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
17740
        if argument is valid.  Save directory name in DIR.  malloc space
17741
        for dirent struct separately.
17742
        * libc/sys/win32/syscalls.c (stat): Fix test for directory.
17743
 
17744
        * libc/include/errno.h (ENAMETOOLONG): Define.
17745
        * libc/string/strerror.c (strerror): Reword ENFILE.
17746
        Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
17747
 
17748
Sun Aug 13 22:42:25 1995  Doug Evans  
17749
 
17750
        * libc/sys/win32/crt0.c (__progname): New global.
17751
        (mainCRTStartup): Support strace=bitmask,filename.
17752
        * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
17753
        * libc/sys/win32/syscalls.c (_write): Print parent trace message
17754
        if error.
17755
        (getcwd): Handle len too small.  Convert '\\' to '/'.
17756
        * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
17757
        Add prototypes for open, creat, fcntl.
17758
        (O_APPEND): Change value to conform to Microsoft's value.
17759
        * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
17760
 
17761
        * libc/stdlib/getopt.c: New file.
17762
        * libc/stdlib/Makefile.in: Build it.
17763
 
17764
Sat Aug 12 12:17:14 1995  Doug Evans  
17765
 
17766
        * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
17767
        Fix scanning of $PATH.
17768
        * libc/posix/exec*.c: Call _execve, not execve.
17769
        * libc/posix/execve.c: New file.
17770
        * libc/posix/Makefile.in (OFILES): Add execve.o.
17771
 
17772
        * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
17773
        _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
17774
        (_STRACE): If level==0, always print.  Handle new bit mask scheme.
17775
        * libc/sys/win32/crt0.c: Update _STRACE calls.
17776
        * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
17777
 
17778
        * libc/sys/win32/smallprint.c (rn): Fix digit list.
17779
 
17780
        * libc/sys/win32/syscalls.c (__really_exit): Move from here,
17781
        * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
17782
        * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
17783
        Print __seterrno trace message first.
17784
        (_execve): Renamed from execve.
17785
        (vfork): Update __strace usage.
17786
        (__vfork_child_pid): Deleted.
17787
        (__vfork_children, __vfork_child_idx): New globals.
17788
        (_spawnvp): New function.
17789
        (spawnvp, spawnv, _execve): Call _spawnvp.
17790
        (init_child): Record child in __vfork_children.
17791
        (__vfork_get_entry, __vfork_record_death): New functions.
17792
        * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
17793
        * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
17794
        * libc/sys/win32/syscalls.h (CHILD_P): New macro.  All files updated.
17795
        (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
17796
        (children): New typedef.
17797
        (__vfork_children,__vfork_child_idx): Declare.
17798
        (__vfork_get_entry,__vfork_record_death): Declare.
17799
        * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
17800
        (waitpid): Handle pid == -1.
17801
        * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
17802
        * configure.in (i386-win32): Add -DNO_FORK.
17803
        * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
17804
        * libc/reent/execr.c (_fork_r): Likewise.
17805
        * libc/stdlib/system.c (do_system): New function.
17806
        If WIN32, try to get shell path from $SH_PATH, use vfork.
17807
        (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
17808
        otherwise return 0.
17809
 
17810
Sat Aug 12 11:08:00 1995  steve chamberlain  
17811
 
17812
        * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
17813
        * libc/sys/win32/fcntl.h: Don't include self.
17814
        * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
17815
        * libc/sys/win32/sys/winbase.h: (GetUserName) New.
17816
        * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
17817
        * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
17818
        SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
17819
        Correct prototypes.
17820
        * libc/sys/win32/strace.c: New file.
17821
        * libc/sys/win32/smallprint.c: New file.
17822
        * libc/sys/win32/crt0.c (func): Delete.
17823
        (mainCRTStartup): Fix alloca usage.  Set handles explictly.
17824
        * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
17825
        * libc/sys/win32/exceptions.c: Lint.
17826
        * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
17827
        Clean up handle usage.
17828
        * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
17829
        (open.c): Default file type is text.
17830
        * libc/sys/win32/uname.c (uname): Use __small_sprintf.
17831
        * libc/sys/win32/advapi32.def: New
17832
 
17833
Fri Aug 11 17:11:52 1995  Doug Evans  
17834
 
17835
        * configure.in (posix_dir, libc_posix_lib): New variables.
17836
        Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
17837
        (i[345]86-*-win32): Define posix_dir.
17838
        Delete -DNO_EXEC.  Define -DHAVE_OPENDIR.
17839
        (if unix_dir): Fix typo.
17840
        * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
17841
        scandir,seekdir,telldir}: New files.
17842
        * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
17843
        from libc/unix.
17844
        * libc/Makefile.in (LIBC_POSIX_LIB): Define.
17845
        (SUBDIRS): Add posix.
17846
        (SUBLIBS): Add $(LIBC_POSIX_LIB).
17847
 
17848
        * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
17849
        (NSIG): Increase to 21.
17850
        * libc/include/sys/unistd.h (pid_t): Move from here,
17851
        * libc/include/sys/types.h (pid_t): to here.
17852
 
17853
        * libc/sys/win32/syscalls.h: #include "sys/strace.h".
17854
        (__ptrace): Delete.
17855
        (hinfo): New members close_exec_p, child_created_p.
17856
        (struct exception_list): Define.
17857
        (__hmap): Redefine as pointer to table.
17858
        (__parent_hmap, __child_hmap): New globals.
17859
        (__set_errno, __really_exit): Declare.
17860
        (__vfork_child_pid): Declare.
17861
        * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
17862
        (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
17863
        (__parent_hmap, __child_hmap): New globals.
17864
        (__hmap): Redefine as pointer to active map.
17865
        (__get_console): New function.
17866
        (mainCRTStartup): Change leading '=' in environ vars to '!'.
17867
        (env __FD_TABLE__): Watch for this and initialize our fd/handle
17868
        mapping table from it if defined.
17869
        (argv, envp): Dump if __strace >= 4.
17870
        (main): Call here.
17871
        * libc/sys/win32/exceptions.c (myp): Redefine.
17872
        (__syscalls_b): Delete.
17873
        (__stack_trace): New function.
17874
        (ehandler3): Update to use _STRACE.  Print stack trace.
17875
        Call __really_exit instead of exit.
17876
        (init_exceptions): Delete args argc,argv.  New arg mine.
17877
        * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
17878
        FindFirstFileA, FindNextFileA, GetComputerNameA,
17879
        GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
17880
        * libc/sys/win32/signal.c (signal): Validate arg.
17881
        (alarm, sleep): Define as stubs for now.
17882
        * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
17883
        (__syscalls_b, errno): Delete.
17884
        (__vfork_child_pid, __vfork_jmp_buf): New globals.
17885
        (__seterrno): Handle more errors.
17886
        (__sys_printf): Renamed from _ptrace.
17887
        (__really_exit): New function.
17888
        (queue_file_deletion, process_deletion_queue): New functions.
17889
        (__resume_parent): New function.
17890
        (_unlink): Handle trying to delete open file.
17891
        (__totime_t): Renamed from totime_t.
17892
        (setsid, __read, __write): New functions.
17893
        (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
17894
        * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
17895
        times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
17896
        * libc/sys/win32/console.c: Update to new definition of __hmap.
17897
        * libc/sys/win32/Makefile.in: Build new files.
17898
        * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
17899
        * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
17900
        * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
17901
        * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
17902
 
17903
Thu Aug 10 16:32:52 1995  Doug Evans  
17904
 
17905
        * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
17906
 
17907
Thu Aug 10 12:07:38 1995  J.T. Conklin  
17908
 
17909
        * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
17910
        have been made to the master dtoa.c sources (from netlib.att.com)
17911
        since they were integrated into newlib in early 1992.  Fixes
17912
        problems with storage leaks and handling of numbers with very
17913
        negative exponents.
17914
 
17915
Wed Aug  9 14:18:39 1995  J.T. Conklin  
17916
 
17917
        * Makefile.in (all): set rootpre and srcrootpre before calling
17918
        sub-makes.
17919
 
17920
Tue Aug  8 17:20:45 1995  steve chamberlain  
17921
 
17922
        * libc/sys/win32/crt0.c: Change __hmap usage.
17923
        * libc/sys/win32/exceptions.c: Use _ptrace call.
17924
        * libc/sys/win32/syscalls.c: Use _ptrace call.
17925
        (read, write): Cope with DOS style CRLF when in TEXT mode.
17926
        * libc/sys/win32/syscalls.h: Declare hinfo struct.
17927
        * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
17928
        * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
17929
        * libc/sys/win32/sys/windows.h: Fill in rest of messages.
17930
        * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
17931
 
17932
Mon Aug  7 13:04:54 1995  J.T. Conklin  
17933
 
17934
        * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
17935
 
17936
        * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
17937
        wrappers for hypot() and remainder() for BSD libm compatibility.
17938
        These are public domain implementations written by me for the
17939
        NetBSD libm some time ago.  Note cabs() is required by ucbtest.
17940
        * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
17941
        (fobj): Added wf_cabs.o and wf_drem.o.
17942
 
17943
Thu Aug  3 08:13:05 1995  J.T. Conklin  
17944
 
17945
        * libc/sys/h8500hms/misc.c: New file.
17946
        * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
17947
 
17948
Wed Aug  2 16:46:27 1995  J.T. Conklin  
17949
 
17950
        * libc/time/localtime.c (localtime): Fix problem with leap year
17951
        handling.  Stole algorithm from Arthur David Olson's tz code.
17952
 
17953
Mon Jul 31 10:21:54 1995  steve chamberlain  
17954
 
17955
        * configure.in: (z8k-*sim): Renamed z8k-*-coff.
17956
 
17957
        * libc/sys/z8ksim/glue.c (_getpid, _kill): New
17958
        (_exit): Use argument.
17959
 
17960
Fri Jul 28 15:17:04 1995  Doug Evans  
17961
 
17962
        * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
17963
 
17964
Wed Jul 26 16:24:19 1995  steve chamberlain  
17965
 
17966
        * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
17967
 
17968
Mon Jul 24 13:42:52 1995  J.T. Conklin  
17969
 
17970
        * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
17971
        target_cflags.
17972
 
17973
Mon Jul 24 11:42:07 1995  steve chamberlain  
17974
 
17975
        * libc/sys/win32/crt0.c (mainCRTStartup):  Look for
17976
        ptrace with case insensitivity
17977
        * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
17978
        sys/winbase.h,  sys/windows.h, sys/wintypes.h, sys/winuser.h}:
17979
        New files.
17980
 
17981
Fri Jul 21 11:22:26 1995  Doug Evans  
17982
 
17983
        * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
17984
        (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
17985
        (all, install, *clean): Use new multilib support.
17986
        * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
17987
 
17988
Fri Jul 21 07:11:42 1995  steve chamberlain  
17989
 
17990
        * libc/include/sys/signal.h (__WIN32__): New.
17991
 
17992
        * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
17993
 
17994
        * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
17995
        (ulp, b2d): Handle 32 bit doubles.
17996
        * libc/stdlib/mprec.h:  Handle 32 bit doubles.
17997
        * libc/stdlib/strtod.c (_strtod_r): Ditto.
17998
 
17999
Fri Jul 14 08:24:58 1995  steve chamberlain  
18000
 
18001
        from medp@primag.co.uk:
18002
        * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
18003
        dynamically allocated buffers.
18004
 
18005
Thu Jul 20 10:11:03 1995  Fred Fish  
18006
 
18007
        * libc/include/sys/unistd.h (_exit):  Add _ATTRIBUTE ((noreturn)).
18008
        * libc/stdlib/exit.c (unistd.h):  Include to pick up _exit() declaration.
18009
 
18010
Thu Jul 20 10:16:25 1995  Michael Meissner  
18011
 
18012
        * configure.in (powerpc): Fix previous fix.
18013
 
18014
Wed Jul 19 14:08:55 1995  Michael Meissner  
18015
 
18016
        * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
18017
        directories for this target.
18018
 
18019
Wed Jul 19 00:34:30 1995  Jeffrey A. Law  
18020
 
18021
        * configure.in (hppa): Add machine_dir definition.
18022
        * libc/machine/hppa: New directory with PA specific implementations
18023
        of the basic memory/string functions.
18024
 
18025
Tue Jul 18 21:16:00 1995  Michael Meissner  
18026
 
18027
        * configure.in: Update current PowerPC multilib directories.
18028
        Split big and little endian configurations.
18029
 
18030
Tue Jul 18 11:55:33 1995  Ian Lance Taylor  
18031
 
18032
        * configure.in: Add --enable-single-float option to configure to
18033
        control use of MIPS single-float directories.  Default to yes.
18034
 
18035
        * Makefile.in (all): Don't recurse into multilib directory if it
18036
        does not exist.
18037
 
18038
Mon Jul 17 15:51:30 1995  J.T. Conklin  
18039
 
18040
        * libc/sys/sh/syscalls.c: Fix typo.
18041
 
18042
Mon Jul  3 14:38:52 1995  Steve Chamberlain  
18043
 
18044
        * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
18045
        Pass down DLLTOOL.
18046
        * libc/include/process.h: Define WAIT_CHILD.
18047
        * libc/include/types.h: Get sizes right for win32.
18048
        * configure.in (i386-*-pe): Becomes i386-win32.
18049
        * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
18050
        wintypes.h,sys/file.h,sys/resource.h}: Second pass.
18051
        * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
18052
        is defined.
18053
 
18054
Wed Jun 28 18:34:54 1995  Steve Chamberlain  
18055
 
18056
        * configure.in (i[345]86-*-pe):  New target (NT).
18057
        * host/any: DLLTOOL new.
18058
        * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
18059
        wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
18060
        WIN32 (just enough to cross host the comp-tools).
18061
 
18062
Thu Jun 22 11:45:18 1995  Doug Evans  
18063
 
18064
        * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
18065
        Deleted.  These files live in gcc/config/h8300/lib1funcs.asm now.
18066
 
18067
Mon Jun 19 11:40:40 1995  Doug Evans  
18068
 
18069
        * libc/include/machine/ieeefp.h (arm): Change to always be
18070
        __IEEE_BIG_ENDIAN (even on little endian ARM's).
18071
 
18072
Thu Jun  8 14:22:28 1995  Steve Chamberlain  
18073
 
18074
        * libc/sys/crt0.S: Initialze sp, and call exit after main.
18075
        * libc/sys/syscalls.c (abort): New.
18076
        * configure.in (arm): Define ABORT_PROVIDED.
18077
 
18078
Wed Jun  7 14:04:35 1995  J.T. Conklin  
18079
 
18080
        * configure.in (powerpc): Define multidirs.
18081
 
18082
Mon Jun  5 16:10:13 1995  Doug Evans  
18083
 
18084
        * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
18085
 
18086
Thu Jun  1 10:51:47 1995  Sean Eric Fagan 
18087
 
18088
        * configure.in (sparclite): Delete target_cflags.  Define multidirs.
18089
 
18090
Wed May 24 14:23:25 1995  Steve Chamberlain  
18091
 
18092
        * configure.in, libc/include/machine/ieeefp.h: Modified
18093
        for arm:
18094
        libc/machine/arm/*, libc/sys/arm/*: New
18095
 
18096
Tue May 23 13:53:07 1995  J.T. Conklin  
18097
 
18098
        * libc/include/machine/ieeefp.h: Use __PPC__ instead of
18099
          __powerpc__ when determining endianness.
18100
 
18101
Wed May 10 07:55:56 1995  J.T. Conklin  
18102
 
18103
        * configure.in (m68*): Add multidir for the m68332.
18104
 
18105
        * host/any (CC): Fix typo in last change.
18106
 
18107
Fri Apr 14 22:20:31 1995  Ken Raeburn  
18108
 
18109
        * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
18110
        when determining endianness.
18111
        * libc/include/machine/ieeefp.h: Ditto.
18112
        * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
18113
        operands.
18114
 
18115
Fri Apr 14 14:14:29 1995  Doug Evans  
18116
 
18117
        * libc/include/errno.h (ENOTEMPTY): Define.
18118
 
18119
Thu Apr  6 12:21:20 1995  J.T. Conklin  
18120
 
18121
        * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
18122
          target_cflags.
18123
 
18124
        * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
18125
          and umultiply.o.
18126
 
18127
        * libc/stdio/tmpnam.c (worker): Unconditionally increment count
18128
          instead of only when open succeeds.  ANSI requires that multiple
18129
          calls to tmpnam() result in different files.
18130
 
18131
        * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
18132
          objects pulled in from /lib/libc.a that must be renamed before
18133
          being pulled into newlib.  /lib/libc.a's div.o conflicted with
18134
          newlib's file with the same name.
18135
 
18136
        * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
18137
 
18138
        * host/any (CC, AS, AR, RANLIB): Changed so that executables in
18139
          the build tree will only be used if the executables are present
18140
          (instead of just the Makefiles).
18141
 
18142
        * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
18143
          wcstombs): Define.
18144
        * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
18145
          versions of these functions that I orignally wrote for the
18146
          NetBSD C library.
18147
        * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
18148
          versions I wrote for NetBSD.
18149
 
18150
Wed Mar 29 12:42:42 1995  Kung Hsu  
18151
 
18152
        * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
18153
        * libc/sys/sparclite/crt0.s: ditto.
18154
 
18155
Tue Mar 28 20:28:03 1995  Rob Savoye  
18156
 
18157
        * configure.in: Add soft-float for proelf.
18158
 
18159
Mon Mar 27 12:07:56 1995  Steve Chamberlain  
18160
 
18161
        * libc/stdlib/mprec.h (Bcopy): Copy the right number
18162
        of bytes.
18163
 
18164
Mon Mar 27 11:24:22 1995  Doug Evans  
18165
 
18166
        * Makefile.in (all): Depend on `force'.
18167
        * configure.in (syscall_dir): Renamed from fake_sys_dir.
18168
        (libc_syscall_lib): Renamed from libc_fake_sys_lib.
18169
        (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
18170
        * libc/Makefile.in: Likewise.
18171
        * libc/include/reent.h: Update syscall references.
18172
        (_fcntl_r): Add prototype.
18173
        * libc/syscalls/*.c #include .
18174
        (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
18175
 
18176
Mon Mar 20 16:57:39 1995  Doug Evans  
18177
 
18178
        * libc/include/sys/stat-dj.h (S_ISBLK): Define.
18179
        (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
18180
        * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
18181
        (time.h, sys/types.h): Always include (even if MSDOS).
18182
        (stat): Fix prototype.
18183
 
18184
Fri Mar 10 11:30:38 1995  Ian Lance Taylor  
18185
 
18186
        * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
18187
 
18188
Mon Feb 27 18:00:39 1995  Jim Wilson  
18189
 
18190
        * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
18191
 
18192
Mon Feb 13 16:10:03 1995  Ian Lance Taylor  
18193
 
18194
        * libc/include/regdef.h: New file.
18195
        * libc/machine/mips/machine/regdef.h: New file.
18196
 
18197
Mon Feb  6 15:24:29 1995  Doug Evans  
18198
 
18199
        * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
18200
 
18201
Fri Jan 27 13:52:10 1995  Steve Chamberlain  
18202
 
18203
        * libc/sys/sh/crt0.S: Pass main's return to exit.
18204
        * libc/sys/sh/trap.S: Put errno in the right place.
18205
 
18206
Tue Jan 24 18:57:56 1995  Ian Lance Taylor  
18207
 
18208
        * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
18209
        from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
18210
        * libm/math/ef_rem_pio2.c: Likewise.
18211
        * libm/math/e_log10.c: Remove unused static one.
18212
        * libm/math/ef_log10.c: Likewise.
18213
        * libm/math/s_frexp.c: Likewise.
18214
        * libm/math/sf_frexp.c: Likewise.
18215
 
18216
Sun Jan 22 21:26:14 1995  Steve Chamberlain  
18217
 
18218
        * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
18219
        longjmp.S: Upgraded.
18220
        * libc/sys/go32/sys/setjmp.h: Upgraded.
18221
        * libc/sys/go32/sys/go32.h, dpmi.h: New files.
18222
 
18223
Fri Jan 20 18:33:18 1995  Ian Lance Taylor  
18224
 
18225
        * configure.in: Add many entries to multidirs for mips targets.
18226
 
18227
Wed Jan 18 10:19:25 1995  J.T. Conklin  
18228
 
18229
        * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
18230
          5.2 which fixes bug where jn(-1,x) is three times larger than
18231
          the actual answer.
18232
        * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
18233
 
18234
Sun Jan 15 21:48:58 1995  Steve Chamberlain  
18235
 
18236
        * libc/sys/w65/sys/syscalls.h: New file
18237
        * libc/include/machine/ieeefp.h: W65 support.
18238
        * libc/include/sys/config.h: Ditto.
18239
        * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
18240
        sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
18241
        * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
18242
 
18243
Wed Jan 11 15:59:01 1995  Ian Lance Taylor  
18244
 
18245
        * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
18246
 
18247
Tue Jan  3 15:57:03 1995  Rob Savoye  
18248
 
18249
        * Makefile.in, configure.in: Remove any references to the old
18250
        "stub" dir.
18251
 
18252
Thu Dec 22 10:42:08 1994  Ian Lance Taylor  
18253
 
18254
        * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
18255
        uses ... in prototype.
18256
 
18257
 
18258
Wed Nov 30 08:39:42 1994  Ian Lance Taylor  
18259
 
18260
        * libc/sys/a29khif/sys/libconfig.h: Remove.
18261
        * libc/sys/go32/sys/libconfig.h: Remove.
18262
        * libc/sys/sun4/sys/libconfig.h: Remove.
18263
        * libc/sys/sysvi386/sys/libconfig.h: Remove.
18264
        * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
18265
        * libc/sys/sparc64/sys/libconfig.h: Remove.
18266
 
18267
        * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
18268
        * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
18269
        * libc/include/math.h: Change all uses of _FLOAT_RET and
18270
        _FLOAT_ARG to float.
18271
        * libm/test/math.c: Likewise.
18272
        * testsuite/libm.sac/math.c: Likewise.
18273
        * testsuite/libm.sac/working/math.c: Likewise.
18274
 
18275
Wed Nov 23 22:39:28 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
18276
 
18277
        * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
18278
        gcc calls gas with endian option.
18279
        * configure.in (sh): Build little endian version too.
18280
 
18281
Wed Nov 16 18:21:45 1994  Ian Lance Taylor  
18282
 
18283
        * configure.in: Configure big and little endian versions for MIPS
18284
        targets.
18285
 
18286
Sat Nov 12 21:12:51 1994  Doug Evans  
18287
 
18288
        * libc/include/limits.h: Deleted.
18289
        * libc/include/machine/limits.h: Deleted.
18290
 
18291
Thu Nov 10 15:32:44 1994  Rob Savoye  
18292
 
18293
        * ChangeLog: Remove stub directory. This has all been rewritten
18294
        and moved to devo/libgloss.
18295
 
18296
Thu Sep 29 18:31:04 1994  Ian Lance Taylor  
18297
 
18298
        * Makefile.in (dvi): Add to info target, use $@ in sub make.
18299
        (docs): Merge into info target.
18300
        * libm/Makefile.in (dvi): Add $(srcdir).
18301
        * libm/math/Makefile.in (chobjs): Remove underscores from file
18302
        names.  Texinfo doesn't like them.
18303
        (wacos.def, ...): Add explicit targets for all .def files.
18304
        * libm/math/math.tex: Remove underscores from @include file names.
18305
        * doc/Makefile.in (dvi): Add dummy target.
18306
        * testsuite/Makefile.in (dvi): Add dummy target.
18307
 
18308
Mon Sep 26 21:17:46 1994  Doug Evans  (dje@canuck.cygnus.com)
18309
 
18310
        * Makefile.in (VERSION): Define.  For net newlib releases.
18311
 
18312
Thu Sep 22 19:01:26 1994  Doug Evans  (dje@canuck.cygnus.com)
18313
 
18314
        * README: New file.
18315
 
18316
Mon Sep 19 16:35:23 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
18317
 
18318
        * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
18319
 
18320
Mon Sep 19 11:44:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18321
 
18322
        * libc/stdlib/setenv.c (_findenv): Declare.
18323
 
18324
        * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
18325
        fcntl to not use _EXFUN, and change string parameters to open and
18326
        creat to be ``const char *''.
18327
        * libc/sys/sparc64/sys/fcntl.h: Likewise.
18328
        * libc/sys/sparc64/creat.c (creat): Make PATH const.
18329
        * libc/syscalls/sysopen.c: Include .
18330
        (open) Make _FILE const.
18331
        * libc/sys/z8ksim/glue.c (_open): Make BUF const.
18332
        (_creat): Make PATH const.
18333
        * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
18334
        * libc/sys/h8500hms/syscalls.c (_open): Likewise.
18335
        * libc/sys/m88kbug/syscalls.c (open): Likewise.
18336
        * libc/sys/sh/syscalls.c (_open): Likewise.
18337
        * stub/shared/glue.c (open): Make BUF const.
18338
        * stub/ex93x/syscalls.c (open): Make FILENAME const.
18339
 
18340
Thu Sep  8 16:39:12 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
18341
 
18342
        * libc/include/errno.h: Add ENMFILE
18343
        * libc/include/sys/config.h: Support Z8000.
18344
        * libc/include/sys/signal.h: New signals for go32.
18345
        * libc/machine/h8500/psi.S (__addpsir0r0): New function
18346
        * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
18347
        * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
18348
        * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
18349
        size is variable, depending upon CHUNK_POWER.
18350
        * libc/sys/go32/*.c: Upgrade to new go32 stuff.
18351
 
18352
Sun Sep  4 17:42:43 1994  Jim Wilson  (wilson@sphagnum.cygnus.com)
18353
 
18354
        * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
18355
 
18356
Fri Sep  2 10:56:01 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18357
 
18358
        * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
18359
 
18360
Wed Aug 24 11:11:03 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18361
 
18362
        * configure.in: Change i[34]86 to i[345]86.
18363
 
18364
        * libc/include/math.h: Don't define HUGE_VAL if it is already
18365
        defined.
18366
 
18367
Wed Aug 17 15:18:02 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18368
 
18369
        * testsuite/libm.sac/test_erfc.c: Correct some result values.
18370
        * testsuite/libm.sac/test_gammaf.c: Likewise.
18371
        * testsuite/libm.sac/test_sin.c: Likewise.
18372
        * testsuite/libm.sac/test_tanh.c: Likewise.
18373
 
18374
Tue Aug 16 16:12:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18375
 
18376
        * libc/include/machine/ieeefp.h: Don't try set endianness if it is
18377
        already set.  Define typedefs __int32_t and __uint32_t.
18378
        * libc/include/math.h: Include .
18379
        (union __dmath): Use __uint32_t.
18380
        * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
18381
        instead of int and unsigned int.
18382
 
18383
Thu Aug 11 15:16:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18384
 
18385
        Replace the math library with the SunPRO fdlibm package.
18386
        * libm/math: Completely changed all files.
18387
        * libm/ieeefp: Remove contents and directory.
18388
        * libm/Makefile.in (LIBM_FP_LIB): Remove.
18389
        (SUBDIRS): Just set to math/lib.a.
18390
        * libm/libm.texinfo: Updated for new library.
18391
        * libc/include/math.h: Extensive changes for new math library.
18392
        * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
18393
        from _FLOAT_ARG to float.
18394
        (maxpowtwo, maxpowtwof): Don't declare.
18395
        * configure.in (fp_dir): Removed; was always ieeefp anyhow.
18396
        (libm_fp_lib): Removed.
18397
        * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
18398
        * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
18399
        argument to ${RUNTEST}.
18400
        * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
18401
        (.c.o): New rule.
18402
        (RUNTESTFLAGS): Set CC and CFLAGS.
18403
        (TESTS): Remove test_log2 and test_log2f.
18404
        (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
18405
        * testsuite/libm.sac/math.c (run_vector_1): Use float, not
18406
        _FLOAT_ARG, for single precision argument type.
18407
        * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
18408
        expected failure.  Close the input pipe.
18409
        * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
18410
        Correct misspelling of inaccurate.
18411
        (test_mok): Use ``inaccurate'', not ``wrong''.
18412
        * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
18413
        test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
18414
        test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
18415
        test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
18416
        test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
18417
        test_yn.c): Correct many result values.  Many are still wrong.
18418
 
18419
        * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
18420
        just copy the string.
18421
        (_gcvt): Always return the buffer.
18422
 
18423
Tue Aug  9 13:43:23 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
18424
 
18425
        * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
18426
 
18427
Wed Aug  3 05:39:41 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)
18428
 
18429
        * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
18430
        structure.
18431
        (struct _reent): add _p5s, _cvtlen, _cvtbuf.
18432
        (_reclaim_reent): declare new entry point.
18433
        * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
18434
        functions.
18435
 
18436
        * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
18437
        ever allocated, so that we can later reclaim them all.
18438
        (pow5mult): make reentrant.
18439
 
18440
        * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
18441
        so that when given NULL as a buffer, return a pointer to static
18442
        space in the rent structure.  This is not documented behaviour;
18443
        it's only to support ecvt and fcvt, which aren't ANSI anyway.
18444
        * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
18445
        therefore become reentrant).
18446
 
18447
        * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
18448
 
18449
Mon Aug  1 16:52:24 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18450
 
18451
        * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
18452
 
18453
Thu Jul 28 15:40:21 1994  J.T. Conklin  (jtc@phishhead.cygnus.com)
18454
 
18455
        * Makefile.in: Make link to libg.a after libc.a; this is needed
18456
          for the testsuites to build executables when everything comes
18457
          from the tree.
18458
 
18459
Mon Jun 27 17:14:29 1994  Bill Cox  (bill@rtl.cygnus.com)
18460
 
18461
        * libc/Makefile.in: Add a VERSION variable so we can keep track.
18462
        * libm/Makefile.in: Add a VERSION variable so we can keep track.
18463
 
18464
Wed Jun 22 10:26:00 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
18465
 
18466
        * libc/include/stdio.h: Use __VALIST, not va_list.
18467
 
18468
Tue May 17 15:43:28 1994  Bill Cox  (bill@rtl.cygnus.com)
18469
 
18470
        * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
18471
        testsuite/libm.sac/execute.exp:
18472
          Replace error proc calls with perror calls.
18473
 
18474
Wed May 11 09:25:28 1994  Doug Evans  (dje@canuck.cygnus.com)
18475
 
18476
        * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
18477
        * libc/include/time.h: #define NULL as 0L.
18478
 
18479
Mon May  9 18:41:20 1994  Doug Evans  (dje@canuck.cygnus.com)
18480
 
18481
        * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
18482
        care of it.
18483
 
18484
Mon May  9 18:39:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18485
 
18486
        * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
18487
        not __unix__.
18488
 
18489
Sat May  7 17:07:36 1994  Steve Chamberlain  (sac@cygnus.com)
18490
 
18491
        * configure.in (TARGET_CFLAGS): Set -O2 as default.
18492
        (z8k-*-*): Use syscalls fake sys dir.
18493
        * libc/sys/z8k/glue.c: Rename syscalls.
18494
        * libc/sys/go32/Makefile.in: Use new routines.
18495
        * libc/machine/Makefile.in: Fix typo in ln stuff.
18496
 
18497
Thu May  5 13:47:48 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18498
 
18499
        * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
18500
        * libc/Makefile.in (crt0.o): Likewise.
18501
        * libc/machine/Makefile.in (lib.a): Likewise.
18502
        * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
18503
 
18504
        All Makefile.in files: Added mostlyclean, realclean and distclean
18505
        targets.
18506
 
18507
        * Makefile.in: Don't bother to unexport XTRAFLAGS or
18508
        XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
18509
        the top level Makefile.
18510
 
18511
Tue Apr 26 15:10:34 1994  Doug Evans  (dje@canuck.cygnus.com)
18512
 
18513
        * libc/sys/sparc64/sys/stat.h: New file.
18514
        * libc/sys/sparc64/sys/time.h: New file.
18515
        * libc/sys/sparc64/sys/types.h: New file.
18516
 
18517
Fri Apr 22 12:58:24 1994  Stan Shebs  (shebs@andros.cygnus.com)
18518
 
18519
        * stub/ex93x/crt0.s (start): Add code to clear bss.
18520
 
18521
Wed Apr 13 10:34:58 1994  Doug Evans  (dje@canuck.cygnus.com)
18522
 
18523
        * libc/include/sys/types.h (time_t): Properly protect inside
18524
        #ifndef __time_t_defined.
18525
 
18526
        * libc/stdio/fileno.c: New file.
18527
        * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
18528
        (fileno.o): Add dependency.
18529
        * libc/include/stdio.h (__sgetc): Rename never to _never.
18530
        (fileno macro): Disable, needs to do CHECK_INIT first.
18531
 
18532
Mon Apr 11 17:37:09 1994  Bill Cox  (bill@rtl.cygnus.com)
18533
 
18534
        * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
18535
        goal.
18536
 
18537
        * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
18538
        * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
18539
        runtest.
18540
        * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
18541
        runtest.
18542
 
18543
Sat Apr  9 16:18:09 1994  Doug Evans  (dje@cygnus.com)
18544
 
18545
        * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
18546
        of the various constants.
18547
 
18548
Thu Apr  7 21:19:07 1994  Mark Eichin  (eichin@cygnus.com)
18549
 
18550
        * libc/include/math.h: #ifndef __math_68881 around things which
18551
        conflict with the (gcc-provided) inline functions in
18552
        gcc/ginclude/math-68881.h.
18553
 
18554
Thu Apr  7 02:50:43 1994  Doug Evans  (dje@cygnus.com)
18555
 
18556
        * libc/include/_syslist.h (_gettimeofday): Define.
18557
        (_times): Ditto.
18558
        * libc/include/reent.h: #include  to get _CLOCK_T_.
18559
        (struct tms, timeval, timezone): Declare.
18560
        (_gettimeofday_r, _times_r): Declare.
18561
        * libc/include/time.h (_CLOCK_T_): Don't #undef.  Remove
18562
        #ifdef _CLOCK_T_ surrounding definition of clock_t.
18563
        (time_t): Add multiple definition protection, __time_t_defined.
18564
        * libc/include/sys/time.h: Don't #include .
18565
        Always define struct timezone (remove #ifndef _TIME_H_).
18566
        * libc/include/sys/times.h (_CLOCK_T_): Don't #undef.  Remove
18567
        #ifdef _CLOCK_T_ surrounding definition of clock_t.
18568
        * libc/reent/Makefile.in (OFILES): Add timer.o.
18569
        (CHEWOUT_FILES): Add timer.def.  Add timer.o/timer.c dependence.
18570
        * libc/reent/timer.c: New file.
18571
        * libc/time/clock.c: #include .
18572
        (clock): Call _times_r instead of times.
18573
        * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
18574
        HAVE_GET_TIME_OF_DAY.
18575
        Add comment regarding supporting OS routine(s) required (for docs).
18576
        #include .
18577
        (time): Call _gettimeofday_r instead of gettimeofday.
18578
        * libc/time/asctime.c: Fix comment regarding supporting OS routines.
18579
        * libc/time/ctime.c: Ditto.
18580
        * libc/time/strftime.c: Ditto.
18581
        * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
18582
        (TEMPLATE_SFILES_R): Define here.  Also define times.
18583
        Add times_r.o/times.S dependence.
18584
        (time2.c, junk.c): Deleted.
18585
        * libc/sys/sparc64/time2.c: Deleted.
18586
        * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
18587
 
18588
        * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
18589
        * libc/stdio/tmpnam.c (_getpid_r): Ditto.
18590
        * libc/sys/sparc64/junk.c: Deleted.
18591
 
18592
Mon Mar 21 16:51:03 1994  Doug Evans  (dje@canuck.cygnus.com)
18593
 
18594
        * libc/sys/sparc64/Makefile.in: Add times syscall.
18595
        * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
18596
        be used with and without it.  Add comment clarifying Medium/Anywhere
18597
        model requirements.
18598
        * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
18599
        * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
18600
        even if obsolete.
18601
 
18602
Sun Mar 20 15:51:47 1994  Doug Evans  (dje@cygnus.com)
18603
 
18604
        * configure.in (target_cflags): Move init.
18605
        (sparc64-*-*): Define HAVE_BLKSIZE.
18606
 
18607
Wed Mar  9 10:44:52 1994  Doug Evans  (dje@canuck.cygnus.com)
18608
 
18609
        * libc/include/sys/_types.h: New file.
18610
        * libc/include/reent.h: #include it.
18611
        Add comment describing REENTRANT_SYSCALLS_PROVIDED and
18612
        MISSING_SYSCALL_NAMES.
18613
        Sort syscalls.
18614
        * libc/include/_syslist.h: Remove _raise.
18615
        * libc/reent/signalr.c: New file.
18616
        * libc/reent/Makefile.in: Compile it.
18617
        * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
18618
        Add doc for raise and _raise_r.
18619
        * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
18620
        (raise): Call _raise_r.
18621
        (_raise_r): Call _getpid_r and _kill_r.
18622
        * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
18623
        (abort): Loop forever calling raise and _exit.
18624
 
18625
Mon Mar  7 14:40:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18626
 
18627
        * configure.in: Remove extraneous echo.
18628
 
18629
Thu Mar  3 12:14:22 1994  Doug Evans  (dje@canuck.cygnus.com)
18630
 
18631
        * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
18632
        collision with unistd.h, and fix for svr4.
18633
 
18634
Wed Mar  2 13:55:25 1994  Doug Evans  (dje@canuck.cygnus.com)
18635
 
18636
        * libc/stdio/local.h (_llicvt): Declare.
18637
        (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
18638
        * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
18639
        (_llicvt): Define.
18640
        (_sicvt): Fix function header (`value' is short).
18641
        * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
18642
        Add printing of long long's support.
18643
        Add printing of 8 byte pointer support.
18644
 
18645
Fri Feb 11 21:52:11 1994  Steve Chamberlain  (sac@sphagnum.cygnus.com)
18646
 
18647
        * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
18648
        stat, chmod): New hooks.
18649
        (sbrk): Abort if stack and heap collide.
18650
        * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
18651
        shortcut when given small args.
18652
        * libc/machine/sh/setjmp.s: Rewritten.
18653
        * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
18654
        of cmp/str instruction.
18655
 
18656
Wed Feb  9 15:12:35 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18657
 
18658
        * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
18659
        and machine_dir powerpc.
18660
        * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
18661
        Add cases for __powerpc__.
18662
        * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
18663
        New files.
18664
 
18665
        * libc/include/stdio.h (_iprintf_r): Declare correctly.
18666
 
18667
Thu Jan 27 10:36:27 1994  Steve Chamberlain  (sac@cygnus.com)
18668
 
18669
        * libc/stdlib/callocr.c: New file with _calloc_r in it.
18670
        * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
18671
 
18672
Thu Jan 20 15:14:37 1994  Doug Evans  (dje@canuck.cygnus.com)
18673
 
18674
        * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
18675
        (print_e): More comments to describe args, etc.
18676
        "type" arg may now be 'g' or 'G' for %g/G format --> remove
18677
        trailing blanks.
18678
        (_gcvt): Remove locals decpt, sign, end, p, done.
18679
        More comments for print_e invocation.
18680
        Pass "type" to print_e as is (g/G).
18681
 
18682
Wed Jan 19 16:34:18 1994  Rob Savoye  (rob@darkstar.cygnus.com)
18683
 
18684
        * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
18685
        stock m68000.
18686
 
18687
Mon Jan 17 15:41:53 1994  Doug Evans  (dje@canuck.cygnus.com)
18688
 
18689
        * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
18690
        works with any sized pointer, including ones bigger than ints and
18691
        longs.
18692
 
18693
Thu Jan  6 14:53:21 1994  Doug Evans  (dje@canuck.cygnus.com)
18694
 
18695
        * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
18696
 
18697
Sat Dec 11 16:17:20 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
18698
 
18699
        * libc/include/stdlib.h (_calloc_r): Add prototype.
18700
        * libc/machine/h8500/negsi2.c: New file.
18701
        * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
18702
        large unsigned numbers.
18703
        * libc/machine/h8500/cmpsi.c: Add cmppsi.
18704
        * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
18705
        works when sizeof(size_t) != sizeof(char *).
18706
        * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
18707
        get play area
18708
        * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
18709
 
18710
Mon Dec  6 15:59:53 1993  Doug Evans  (dje@rtl.cygnus.com)
18711
 
18712
        * libc/include/assert.h (assert): Handle -traditional.
18713
 
18714
Tue Nov 16 15:49:24 1993  Mark Eichin  (eichin@cygnus.com)
18715
 
18716
        * Makefile.in: added ; after every "fi" and "done" that wasn't at
18717
        the end of a line (ie. anything before a backslash continuation)
18718
        so that bash handles them.
18719
 
18720
Tue Nov 16 12:31:57 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
18721
 
18722
        * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
18723
        stat to lstat
18724
 
18725
Mon Nov 15 15:50:43 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
18726
 
18727
        * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
18728
        libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
18729
        libc/machine/sh/udivsi3.s: Use new calling convention.
18730
 
18731
Mon Nov 15 15:25:38 1993  Mark Eichin  (eichin@cygnus.com)
18732
 
18733
        * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
18734
        chmod, access, chdir, chown by making _path const. Also fix _amode
18735
        param of access.
18736
 
18737
Fri Nov 12 20:25:28 1993  Mark Eichin  (eichin@cygnus.com)
18738
 
18739
        * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
18740
        _khif_tmpnam, because it doesn't comply with ANSI but may be
18741
        useful anyway. Real tmpnam was already in libc/stdio, and was
18742
        colliding with this one (pr 2176.)
18743
        * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
18744
        the wrong idea anyhow.
18745
 
18746
Mon Nov  8 07:50:16 1993  Doug Evans  (dje@canuck.cygnus.com)
18747
 
18748
        * configure.in: Remove h8300h, we have multilib now.
18749
 
18750
Fri Nov  5 12:37:27 1993  Mark Eichin  (eichin@cygnus.com)
18751
 
18752
        * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
18753
        functions, to get preference over the ones in libiberty (since we
18754
        provide correct declarations in .
18755
        * libc/string/Makefile.in: add support for strncasecmp,
18756
        strcasecmp.
18757
 
18758
Fri Nov  5 09:05:45 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)
18759
 
18760
        * Change netware config not to look for cpu explicitly.
18761
 
18762
Thu Nov  4 14:21:25 1993  Doug Evans  (dje@canuck.cygnus.com)
18763
 
18764
        * libc/sys/sparc64/{creat.c,junk.c}: New files.
18765
        * libc/sys/sparc64/Makefile.in: Add dependencies.
18766
 
18767
Wed Nov  3 10:42:49 1993  Doug Evans  (dje@canuck.cygnus.com)
18768
 
18769
        * configure.in: Clean up v9 a bit, new "os" aoutv8.
18770
 
18771
Tue Nov  2 10:00:44 1993  D. V. Henkel-Wallace  (gumby@cygnus.com)
18772
 
18773
        * libc/include/sys/reent.h: make structure smaller by allocating
18774
        some stuff when needed.
18775
        * libc/signal/signal.c: allocate as needed
18776
        * libc/stdio/findfp.c,stdio/local.h: ditto
18777
        * libc/stdlib/mprec.c: ditto
18778
 
18779
        * libc/time/localtime.c: don't return a dangling stack ptr.
18780
 
18781
Wed Sep 29 20:42:34 1993  Rob Savoye  (rob@darkstar.cygnus.com)
18782
 
18783
        * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
18784
 
18785
Wed Sep 29 16:27:49 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18786
 
18787
        * libc/include/stdio.h (__sputc): comment out static inline which
18788
          confuses coff toolchains.
18789
 
18790
Thu Sep  2 16:31:36 1993  Mark Eichin  (eichin@cygnus.com)
18791
 
18792
        * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
18793
        _write.s, getpid.c, kill.c, read.s}:
18794
        * libc/sys/a29khif/stubs.s: eliminated stubs that already go
18795
        through the syscalls directory.
18796
 
18797
Fri Oct 29 13:59:58 1993  Jeffrey Wheat  (cassidy@cygnus.com)
18798
 
18799
        * configure.in: fixed double quote gotcha.
18800
 
18801
Wed Oct 27 15:27:09 1993  Rob Savoye  (rob@darkstar.cygnus.com)
18802
 
18803
        * stub/ex931: stub library for sparclite board.
18804
        * stub/idp: Renamed from mc68ec. Added contructor table
18805
        stuff to linker script.
18806
        * stub/mvme135: Renamed from m68kmvme. Added contructor table
18807
        stuff to linker script.
18808
 
18809
Tue Oct 26 17:01:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18810
 
18811
        * configure.in: Configure testsuites only if they exist.
18812
 
18813
Tue Oct 26 12:37:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18814
 
18815
        * configure.in: Don't set machine_dir for i386 until there is
18816
        something in libc/machine/i386 to compile.  For i[34]86-*-netware*
18817
        use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
18818
        CLOCK_PROVIDED and MALLOC_PROVIDED.
18819
 
18820
        * libc/sys/netware: New directory.  Contains simplistic and
18821
        probably incorrect stubs for NetWare.  Should be enough to load
18822
        the library.
18823
        * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
18824
        libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
18825
        stub files.
18826
 
18827
        * libc/reent/execr.c: Don't use if NO_EXEC is defined.
18828
        * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
18829
        * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
18830
        * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
18831
 
18832
Mon Oct 25 16:48:08 1993  Roland H. Pesch  (pesch@cygnus.com)
18833
 
18834
        * testsuite/Makefile.in: add "docs" dummy target for consistency
18835
        with rest of newlib; turn "info" and "install-info" into dummy
18836
        targets, since they wouldn't have worked.  (Depended on
18837
        nonexistent "doc" subdir.)
18838
 
18839
Fri Oct 22 20:37:32 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
18840
 
18841
        * configure.in: handle mips* instead of mips
18842
 
18843
Thu Oct 21 08:57:24 1993  Ian Lance Taylor  (ian@cygnus.com)
18844
 
18845
        * libc/include/sys/dirent.h: New file.  If it is not overridden by
18846
        a version of libc/sys/*/sys/dirent.h, it includes the next
18847
         file in case there is one lurking somewhere.
18848
 
18849
Fri Oct 15 14:17:40 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18850
 
18851
        * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
18852
        compliance, namely: Accept a minus sign.  Consider a single 0 with
18853
        a radix of 0 as being a conversion.  Determine overflow correctly.
18854
        If an overflow occurs, set *ptr to the end of the number, not the
18855
        middle.
18856
        * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
18857
 
18858
Thu Oct 14 21:49:52 1993  Doug Evans  (dje@canuck.cygnus.com)
18859
 
18860
        * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
18861
 
18862
Fri Oct  1 17:17:34 1993  Doug Evans  (dje@canuck.cygnus.com)
18863
 
18864
        * Makefile.in (INSTALL): Use $srcrootpre.
18865
        (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
18866
        can't handle it.
18867
        * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
18868
        it.
18869
        * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
18870
        * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
18871
        * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
18872
        * libm/math/Makefile.in (matherr.o): Ditto.
18873
 
18874
Thu Sep 30 11:09:17 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
18875
 
18876
        * configure.in: Build multidirs for z8k.
18877
        * libc/include/stdlib.h (_strtoul_r): add prototype.
18878
        * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
18879
        * libc/include/machine/setjmp.h: Add for z8k.
18880
        * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
18881
        * libc/sys/z8ksim/glue.c: tidy up.
18882
 
18883
Mon Sep 20 14:04:46 1993  Doug Evans  (dje@canuck.cygnus.com)
18884
 
18885
        * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
18886
        New files.  Requires execve system call.
18887
        * libc/unix/Makefile.in: Use them.
18888
        * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
18889
        Deleted, moved to libc/unix.
18890
        * libc/sys/sparc64/Makefile.in: Remove them.
18891
 
18892
Mon Sep 20 10:38:32 1993  Doug Evans  (dje@canuck.cygnus.com)
18893
 
18894
        * libc/sys/sparc64/{template.S template_r.S}: New files.
18895
        * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
18896
        from templates.
18897
        * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
18898
        fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
18899
        umask.S unlink.S wait4.S write.S}: Removed, now built from
18900
        templates.
18901
 
18902
Sun Sep 19 14:52:57 1993  Doug Evans  (dje@canuck.cygnus.com)
18903
 
18904
        * libc/time/time.c: #include <_ansi.h>.
18905
 
18906
Sun Sep 19 13:43:25 1993  Doug Evans  (dje@canuck.cygnus.com)
18907
 
18908
        * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
18909
 
18910
Mon Sep 13 13:52:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18911
 
18912
        * configure.in: match m8* rather than m88k so that m88110 is
18913
          recognized as well.
18914
 
18915
Tue Sep  7 12:19:32 1993  Doug Evans  (dje@canuck.cygnus.com)
18916
 
18917
        * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
18918
        Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
18919
        misc.c: New file.
18920
 
18921
        * configure.in: Add multilib support to h8300.
18922
 
18923
Mon Sep  6 14:07:06 1993  Doug Evans  (dje@canuck.cygnus.com)
18924
 
18925
        * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
18926
        * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
18927
        * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
18928
 
18929
Mon Sep  6 14:24:18 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18930
 
18931
        * configure.in: Corrected multidirs for sparc target.
18932
 
18933
Mon Aug 30 15:56:44 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
18934
 
18935
        Support for building newlib multiple times with different
18936
        compilation flags.
18937
        * configure.in: Only configure doc at top level.  Set multidirs
18938
        when appropriate for target, unless not at top level.  If
18939
        multidirs is set, independently configure each subdirectory.
18940
        Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
18941
        * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
18942
        automagically set by configure.in.
18943
        (all): If MULTIDIRS is set, build multiple copies of libraries.
18944
        (install): If MULTIDIRS is set, install multiple copies of
18945
        libraries.  Install in $(tooldir)/lib/$(MULTISUBDIR).  If
18946
        MULTISUBDIR is set, don't bother to install header files.
18947
        * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
18948
        ${srcrootpre}.
18949
        * stub/configure.in: Set MULTISUBDIR appropriately.
18950
        * stub/Makefile.in (install): Install in
18951
        $(tooldir)/lib/$(MULTISUBDIR).
18952
        * All Makefile.in files: Define SRCTOP as well as TOP.
18953
 
18954
Mon Aug 30 10:34:24 1993  Doug Evans  (dje@canuck.cygnus.com)
18955
 
18956
        * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
18957
        * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
18958
 
18959
Thu Aug 26 19:38:12 1993  Doug Evans  (dje@canuck.cygnus.com)
18960
 
18961
        * libc/sys/h8300hms/exit.c (_exit): New function.
18962
 
18963
Wed Aug 25 16:31:48 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18964
 
18965
        * configure.in: recognize m88110.
18966
 
18967
Fri Aug 20 16:46:23 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18968
 
18969
        * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
18970
          prototype main and call with args.
18971
 
18972
Fri Jul 30 16:52:47 1993  K. Richard Pixley  (rich@cygnus.com)
18973
 
18974
        First real try at system traps for m88k-bug.
18975
        * libc/sys/m88kbug/syscalls.c: many changes.  Convert from stubs
18976
          to real trap calls.
18977
        * libc/sys/m88kbug/sys/systraps.h: new file.
18978
 
18979
Tue Jul 27 16:31:16 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18980
 
18981
        Patches to fix info building when target does not use sys
18982
        directory.
18983
        * libc/Makefile.in (targetdep.tex): add sys.tex separately.
18984
        * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
18985
          libc/sys.tex.
18986
        * libc/sys/Makefile.in (doc): do nothing.
18987
 
18988
Mon Jul 26 17:08:11 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
18989
 
18990
        * libc/Makefile.in (CRT0): new macro.
18991
          (all): depend on $(CRT0) rather than crt0.o.
18992
 
18993
        * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
18994
          do not default crt0, instead, set crt0 and crt0_dir based on
18995
          sys_dir and stub_dir.
18996
 
18997
        * Makefile.in (CRT0_DIR): new macro.
18998
          (all): depend on $(CRT0) rather than crt0.o which may not exist.
18999
          (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
19000
          $(CRT0).
19001
          ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
19002
 
19003
Sun Jul 25 17:51:51 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
19004
 
19005
        * testsuite/lib/libm.exp:
19006
                added code to support compiling and linking of tests for
19007
                libm.sac (paranoia to be added next) and processing the
19008
                pass or failure of the tests.
19009
 
19010
        * testsuite/config/unix-libm.exp:
19011
                platform specific proc's for dealing with compiler, linker
19012
                and the way we execute and process the test results.
19013
 
19014
        * testsuite/libm.sac/execute.exp:
19015
                generic framework for the sac tests. the config and lib
19016
                expect code for specific platforms tie it all together.
19017
 
19018
        * testsuite/libm.sac/test_is.c:
19019
                changed the output of the test to be consistant with the
19020
                other tests. parsing of pass nad fail messages is now fixed.
19021
 
19022
Fri Jul 23 19:20:07 1993  Per Bothner  (bothner@kalessin)
19023
 
19024
        * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
19025
        locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
19026
        stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
19027
        #ifdef __cplusplus, surround by extern ""C { ... }.
19028
        * libc/include/assert.h:  Do *not* protect assert.h against
19029
        multiple inclusion!  Also, #undef it before #define, to allow
19030
        redefinition.
19031
        * libc/include/stdio.h (getlogin, cuserid):  Removed.  These
19032
        should be only in unistd.h.
19033
 
19034
        * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
19035
        unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
19036
        ... }.
19037
 
19038
Fri Jul 23 10:15:33 1993  Doug Evans  (dje@canuck.cygnus.com)
19039
 
19040
        * libc/machine/sparc/Makefile.in: Must create a library, even
19041
        if empty.
19042
 
19043
Wed Jul 21 16:00:37 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
19044
 
19045
        * configure.in: set machine_dir for m88k.  edit crt0 definition
19046
          into makefiles.
19047
 
19048
        * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
19049
 
19050
        * libc/Makefile.in (all): also build crt0.o.
19051
 
19052
        * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
19053
          libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
19054
          to remove CRT0.
19055
 
19056
        * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
19057
          (all): reworked to build in place.
19058
          (clean): remove lib.a
19059
          (Makefile): remove redundant ./, call $(SHELL) rather than sh.
19060
 
19061
        * libc/sys/m88kbug/crt0.c (start): renamed to _start.
19062
          (_start): key off edata rather than _start_bss.
19063
 
19064
Wed Jul 21 14:29:47 1993  david d `zoo' zuhn  (zoo@cygnus.com)
19065
 
19066
        * libc/include/sys/unistd.h, libc/include/reent.h,
19067
        libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
19068
 
19069
Tue Jul 20 13:19:18 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
19070
 
19071
        * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
19072
 
19073
        * Makefile.in (libc.a): break into two rules, one for libc.a and
19074
          one for libc/libc.a.  Force subdirs current before rebuilding
19075
          library.
19076
          (libm.a): break into two rules, one for libm.a and one for
19077
          libm/libm.a.  Force subdirs current before rebuilding library.
19078
 
19079
        * libc/Makefile.in (SUBLIBS): fix typo.
19080
 
19081
        * libc/sys/Makefile.in (all): force descent into subdirs, then
19082
          rebuild library iff out of of date.
19083
 
19084
Fri Jul 16 17:47:57 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
19085
 
19086
        Rework so that library is built and then finished rather than
19087
        being built on each invocation of make.
19088
 
19089
        * host/any (machine_dir, sys_dir, signal_dir): these are not
19090
          shared and have been moved to their associated Makefile.in's.
19091
          (AR_FLAGS): switch to qc which is faster.
19092
        * configure.in: no longer assign machine_dir for m88k.  set
19093
          stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}.  If
19094
          stub_dir set, then add to configdirs.  add comment about silly
19095
          configuration.
19096
          (configdirs): drop stub.  It will be added only
19097
          when needed.
19098
          (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
19099
          libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
19100
          stub_lib, crt0): new variables for tailoring lower level
19101
          makefiles.  Assign accordingly and edit into makefiles.
19102
        * libm/Makefile.in: updated copyright.
19103
          (TARGETLIB): removed.
19104
          (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
19105
          (SUBDIRS): removed TARGETDEP_DIRS.
19106
          (LIBM_FP_LIB, SUBLIBS): new macros.
19107
          (all): reworked.
19108
          (force): new target to force rebuilds.
19109
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
19110
        * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
19111
          libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
19112
          libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
19113
          libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
19114
          libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
19115
          libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
19116
          stub/m68kmvme/Makefile.in: updated copyright.
19117
          (TARGETLIB, TARGETCRT0, CRT0): macros removed.
19118
          (all): reworked.  made this the default rule.
19119
          (clean): also remove lib.a.
19120
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
19121
        * stub/Makefile.in: updated copyright.
19122
          (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
19123
          (stub_lib): new macro.
19124
          (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0.  Added
19125
          RANLIB.
19126
          (all): reworked.
19127
          (clean, install): assume stub_dir exists.
19128
          (Makefile): depend on configure.in.  call $(SHELL) rather than
19129
          sh.  drop redundant ./
19130
        * stub/configure.in (stublib): new macro, assign it, edit it into
19131
          makefiles.
19132
        * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
19133
          updated copyright.
19134
          (all): reworked.
19135
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
19136
        * libc/Makefile.in (TARGETCRT0): removed.
19137
          (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
19138
          TARGETCRT0.
19139
          (SUBDIRS): drop TARGETDEP_DIRS.
19140
          (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
19141
          LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
19142
          (force): new target to force rebuilds.
19143
        * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
19144
          (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
19145
          removed.
19146
          (clean): assume sys_dir always exists.
19147
        * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
19148
          drop redundant ./
19149
        * libc/ctype/Makefile.in, libc/errno/Makefile.in,
19150
          libc/locale/Makefile.in, libc/machine/Makefile.in,
19151
          libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
19152
          libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
19153
          libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
19154
          libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
19155
          libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
19156
          libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
19157
          libc/signal/Makefile.in, libc/stdio/Makefile.in,
19158
          libc/stdlib/Makefile.in, libc/string/Makefile.in,
19159
          libc/sys/Makefile.in, libc/syscalls/Makefile.in,
19160
          libc/time/Makefile.in, libc/unix/Makefile.in,
19161
          libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
19162
          (TARGETLIB): removed.
19163
          (all): reworked.
19164
          (clean): also remove lib.a.
19165
          (Makefile): call $(SHELL) rather than sh.  drop redundant ./
19166
        * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
19167
          new macros.
19168
          (SUBDIRS): moved to follow frag inclusion, change stub to
19169
          stub_dir.
19170
          (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
19171
          are now set in the libc Makefile.
19172
        * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
19173
          (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
19174
          TARGETCRT0.
19175
          (force): new target to force rebuilds.
19176
        * stub/configure.in: determine and set stub_lib for for Makefile.
19177
 
19178
Thu Jul 15 12:01:27 1993  Doug Evans  (dje@canuck.cygnus.com)
19179
 
19180
        * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
19181
        crt0.s renamed to crt0.S.
19182
        * libc/sys/h8300hms/crt0.S: Add h8/300h support.
19183
 
19184
        * libc/machine/h8300/Makefile.in: Make `all' the default target.
19185
        * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
19186
        h8300h.
19187
        * libc/machine/h8300/defines.h: Add macros to handle pointers for
19188
        h8300 (16 bits) and h8300h (32 bits).
19189
        * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
19190
        reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
19191
 
19192
Thu Jul 15 10:13:29 1993  Ian Lance Taylor  (ian@cygnus.com)
19193
 
19194
        * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
19195
        implementation of setjmp and longjmp for the m88k.
19196
        * libc/include/machine/setjmp.h: Added __m88000__ case.
19197
 
19198
Wed Jul 14 10:10:30 1993  Doug Evans  (dje@canuck.cygnus.com)
19199
 
19200
        * configure.in: Recognize h8300h as variant of h8300.
19201
 
19202
Tue Jul 13 12:24:11 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
19203
 
19204
        * libc/include/sys/unistd.h (read, write): get prototypes right.
19205
        (sbrk): New prototype.
19206
        * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
19207
        * libc/stdio/local.h: Include unistd.h.
19208
        * libc/machine/h8300/syscalls.c: Names have changed.
19209
 
19210
Mon Jul 12 18:08:42 1993  K. Richard Pixley  (rich@cygnus.com)
19211
 
19212
        * configure.in: add sys_dir assignment for m88k-bug.
19213
 
19214
Thu Jul  8 09:16:21 1993  Doug Evans  (dje@canuck.cygnus.com)
19215
 
19216
        * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
19217
        a.out or elf.
19218
        * libc/sys/sparc64: all *.S files: Use new macros.
19219
        * libc/sys/sparc64/isatty.c: New file.
19220
        * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
19221
        functions beyond what newlib provides.
19222
 
19223
Thu Jul  8 09:11:28 1993  Doug Evans  (dje@canuck.cygnus.com)
19224
 
19225
        * libc/include/sys/stat.h: Move st_atime so not doubly defined for
19226
        svr4.
19227
 
19228
Thu Jul  8 09:09:16 1993  Doug Evans  (dje@canuck.cygnus.com)
19229
 
19230
        * libc/include/machine/ieeefp.h: Add support for h8/300h.
19231
 
19232
Fri Jul  2 10:11:20 1993  K. Richard Pixley  (rich@cygnus.com)
19233
 
19234
        * configure.in: add m88k.
19235
        * libc/include/machine/ieeefp.h: add case for m88k.  Also add
19236
        sanity check so no one else need ever chase what I did to find
19237
        this.
19238
 
19239
        * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
19240
 
19241
Fri Jul  2 09:15:21 1993  Ian Lance Taylor  (ian@cygnus.com)
19242
 
19243
        * doc/makedoc.c: Include .
19244
 
19245
Wed Jun 30 09:35:06 1993  Doug Evans  (dje@canuck.cygnus.com)
19246
 
19247
        * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
19248
        * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
19249
        * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
19250
 
19251
        * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
19252
 
19253
Sun Jun 27 17:05:20 1993  Doug Evans  (dje@sphagnum.cygnus.com)
19254
 
19255
        * libc/include/errno.h (ENOSYS): Added.
19256
 
19257
        * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
19258
 
19259
Mon Jun 21 09:03:32 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
19260
 
19261
        * libc/stdio/fflush.c (fflush): Check for reent struct
19262
        initialization.
19263
        * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
19264
 
19265
Fri Jun 18 16:06:05 1993  Mark Eichin  (eichin@rtl.cygnus.com)
19266
 
19267
        * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
19268
        out of dtoa.c so it doesn't pollute the namespace.
19269
        * libc/include/_syslist.h: new file -- mappings from _function to
19270
        function, for systems where we can't win (by default, all of them,
19271
        until we start updating system calls.)
19272
        * libc/syscalls: new directory -- stubs for exporting _function
19273
        names as unmodified function names.
19274
        * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
19275
        _syslist.h on all platforms by default, but put hooks in for
19276
        fake_sys_dir so we can include it when we've renamed the system
19277
        calls.
19278
        * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
19279
        libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
19280
        libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
19281
        libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
19282
        libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
19283
        libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
19284
        non ANSI functions to call _function.
19285
 
19286
Wed Jun  9 09:48:26 1993  Ian Lance Taylor  (ian@cygnus.com)
19287
 
19288
        * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
19289
        when base 16 is specified.  Don't accept non-digits if radix > 10.
19290
 
19291
Thu Jun  3 10:01:15 1993  Doug Evans  (dje@canuck.cygnus.com)
19292
 
19293
        * libc/include/math.h: Rename xxx_r fns to _xxx_r.
19294
 
19295
Wed Jun  2 16:54:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
19296
 
19297
        * libc/include/sys/stat.h: Surround text after #endif with
19298
        comments.
19299
 
19300
Wed Jun  2 12:47:32 1993  Ian Lance Taylor  (ian@cygnus.com)
19301
 
19302
        * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
19303
        _malloc_r, _realloc_r, and free_r call the corresponding
19304
        non-reentrant functions.
19305
 
19306
        * libm/math/modf.c (modf): We now take the address of ipart, so
19307
        don't make it a register variable.
19308
 
19309
Tue Jun  1 18:25:54 1993  Doug Evans  (dje@canuck.cygnus.com)
19310
 
19311
        * libm/math/*: Rename all xxx_r fns to _xxx_r.
19312
 
19313
Wed May 26 22:06:35 1993  Roland H. Pesch  (pesch@cygnus.com)
19314
 
19315
        * libc/libc.texinfo and embedded docn throughout: formatting
19316
        improvements, minor rephrasing for clarity, and improved
19317
        reentrancy docn.
19318
 
19319
Sun May 23 17:29:49 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19320
 
19321
        * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
19322
 
19323
        * libc/stdio/cvt.c (_licvt): Print the right value on machines
19324
        where sizeof(int) != sizeof(long).
19325
 
19326
Fri May 21 22:09:32 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
19327
 
19328
        * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
19329
        libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
19330
        libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
19331
        libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
19332
        libm/math/matherr.c: changes for better docn formatting (info).
19333
 
19334
        * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
19335
        libc/reent/reent.tex, libc/signal/signal.tex,
19336
        libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
19337
        libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
19338
        libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
19339
        makeinfo node defaulting to get better Info file node structure.
19340
        (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
19341
        Also include a few formerly missing sections (subroutines).
19342
 
19343
        * doc/doc.str: delete fossil expansion for "func"
19344
 
19345
        * default.menu, no-signal.menu: delete.
19346
 
19347
        * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
19348
        method used to adjust doc for missing "signals" chapter when
19349
        signal_dir is empty.
19350
 
19351
Thu May 20 21:38:37 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
19352
 
19353
        * configure.in: added testsuite/libm.sac
19354
 
19355
Wed May 19 14:52:34 1993  Doug Evans  (dje@thepub.cygnus.com)
19356
 
19357
        * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
19358
        code model).
19359
 
19360
Tue May 18 13:17:21 1993  Ian Lance Taylor  (ian@cygnus.com)
19361
 
19362
        * libm/Makefile.in: Use $(MAKE) rather than make, and define
19363
        MAKEOVERRIDES to be empty.
19364
 
19365
Mon May 17 08:42:44 1993  Ian Lance Taylor  (ian@cygnus.com)
19366
 
19367
        * configure.in: Don't build mips-*-* with -msoft-float, since that
19368
        makes it incompatible with hard floating point.
19369
 
19370
Mon May 17 00:03:35 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
19371
 
19372
        * Makefile.in: added recursive 'make check'
19373
 
19374
Thu May 13 16:24:18 MDT 1993  Jeffrey Wheat  (cassidy@cygnus.com)
19375
 
19376
        * configure.in: added ./testsuite ./testsuite/libm.paranoia
19377
        * ./testsuite/Makefile.in: created
19378
        * ./testsuite/libm.paranoia: paranoia tests added
19379
 
19380
Thu May 13 10:30:24 1993  Ian Lance Taylor  (ian@cygnus.com)
19381
 
19382
        * configure.in: For mips-*-* set machine_dir to mips.
19383
 
19384
        * libc/machine/mips: New directory.
19385
        * libc/machine/mips/Makefile.in: New file.
19386
        * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
19387
        setjmp and longjmp.
19388
        * libc/include/machine/setjmp.h: Added __mips__ case.
19389
 
19390
        * libc/machine/lmips: Removed unused and useless directory.
19391
 
19392
Mon May  3 10:22:31 1993  Ian Lance Taylor  (ian@cygnus.com)
19393
 
19394
        * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
19395
 
19396
Thu Apr 15 15:16:44 1993  Doug Evans  (dje@canuck.cygnus.com)
19397
 
19398
        * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
19399
        start up).
19400
 
19401
Fri Apr  9 13:32:26 1993  Ian Lance Taylor  (ian@cygnus.com)
19402
 
19403
        * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
19404
        SETJMP_H.
19405
 
19406
Thu Apr  8 10:07:18 1993  Doug Evans  (dje@canuck.cygnus.com)
19407
 
19408
        * libm/test/convert.c: structure member errno -> errno_val.
19409
        Must include  to use errno, it's a macro now.
19410
        * libm/test/math.c: Ditto.
19411
        * libm/test/math2.c: Include errno.h.
19412
        * libm/test/string.c: Ditto.
19413
        * libm/test/test.h: structure member errno -> errno_val.
19414
        Remove extern int errno decl.
19415
 
19416
Thu Apr  8 07:56:33 1993  Ian Lance Taylor  (ian@cygnus.com)
19417
 
19418
        * libc/stdio/Makefile.in: Added dependencies on local header
19419
        files.
19420
        * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
19421
        files.
19422
 
19423
Wed Apr  7 16:19:32 1993  Ian Lance Taylor  (ian@cygnus.com)
19424
 
19425
        * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
19426
 
19427
Wed Apr  7 10:55:21 1993  Doug Evans  (dje@canuck.cygnus.com)
19428
 
19429
        * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
19430
        Initialize _data.
19431
 
19432
        * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
19433
        * libc/stdio/local.h: Add prototype for _licvt.
19434
 
19435
        * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
19436
        instead of malloc,reealloc.
19437
 
19438
        * libc/stdlib/local.h: New file.
19439
        * libc/stdlib/efgcvt.c: #include local.h.
19440
        (gcvt): Fix call to _gcvt.
19441
        * libc/stdlib/ecvtbuf.c: #include local.h.
19442
 
19443
        * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
19444
        * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
19445
        * libc/stdlib/malloc.c: main routines moved to mallocr.c.
19446
 
19447
        * libc/stdlib/atexit.c: moved global data to struct _reent.
19448
        * libc/stdlib/exit.c: use struct _atexit in struct _reent.
19449
 
19450
        * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
19451
 
19452
Wed Apr  7 09:41:50 1993  Doug Evans  (dje@canuck.cygnus.com)
19453
 
19454
        * libc/include/sys/reent.h: Stuff required by ANSI headers moved
19455
        here from ../reent.h.
19456
 
19457
Tue Apr  6 12:56:01 1993  Ian Lance Taylor  (ian@cygnus.com)
19458
 
19459
        * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
19460
        should be provided in both libc.a and libm.a.
19461
        (libc.a): Depend on targ-include and libm.a.  Copy
19462
        $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
19463
        (libm.a): Depend on targ-include.
19464
        * configure.in (subdirs): Removed libc/math.
19465
 
19466
Mon Apr  5 10:18:16 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19467
 
19468
        * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
19469
 
19470
Sat Apr  3 11:06:07 1993  Doug Evans  (dje@canuck.cygnus.com)
19471
 
19472
        * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
19473
        sys/reent.h instead of reent.h.
19474
        * libc/include/reent.h: Split into two parts: stuff needed by ANSI
19475
        headers moved to sys/reent.h.
19476
        * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
19477
        * libc/include/sys/signal.h: Define _MAX_SIGNALS if
19478
        __need__MAX_SIGNALS defined.
19479
        * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
19480
        std{in,out,err} refer to new _std{in,out,err} members.
19481
 
19482
Fri Apr  2 11:27:12 1993  Doug Evans  (dje@canuck.cygnus.com)
19483
 
19484
        * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
19485
        case.
19486
 
19487
Fri Apr  2 09:41:10 1993  Doug Evans  (dje@canuck.cygnus.com)
19488
 
19489
        * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
19490
        rather than whatever macro seterrno() has.
19491
 
19492
Thu Apr  1 16:47:08 1993  Doug Evans  (dje@canuck.cygnus.com)
19493
 
19494
        * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
19495
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
19496
 
19497
        * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
19498
        __STDC__.
19499
 
19500
        * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
19501
        reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
19502
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
19503
 
19504
        * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
19505
        _xxx_r.  struct reent_struct renamed to struct _reent for ANSI.
19506
 
19507
        * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
19508
        fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
19509
        fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
19510
        mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
19511
        remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
19512
        sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
19513
        vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
19514
        renamed to _xxx_r.  struct reent_struct renamed to struct _reent
19515
        for ANSI.  structure members given leading "_" for ANSI.  Use
19516
        _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
19517
 
19518
        * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
19519
        mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
19520
        system.c}: Reentrant routines _r_xxx renamed to _xxx_r.  struct
19521
        reent_struct renamed to struct _reent for ANSI.
19522
        Structure members given leading "_" for ANSI.
19523
        _CONST --> const in prototypes.
19524
        Use _HAVE_STDC instead of __STDC__.
19525
 
19526
        * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
19527
        _xxx_r.
19528
        struct reent_struct renamed to struct _reent for ANSI.
19529
        Structure members given leading "_" for ANSI.
19530
 
19531
        * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
19532
        _xxx_r.
19533
        struct reent_struct renamed to struct _reent for ANSI.
19534
 
19535
        * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
19536
        cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
19537
        gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
19538
        mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
19539
        tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
19540
 
19541
        * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
19542
        signal.h, stdio.h, stdlib.h, string.h, time.h}:
19543
        Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
19544
        #ifndef _STRICT_ANSI non-ANSI routines.
19545
        Reentrant routines renamed from _r_xxx to _xxx_r.
19546
        No need to use _STRICT_ANSI on _xxx_r reentrant routines.
19547
        Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
19548
        Clean up namespace (structure members have leading "_").
19549
        struct reent_struct renamed to struct _reent for ANSI compliance.
19550
        _CONST --> const in function prototypes.
19551
 
19552
        * libc/include/string.h: Add NULL and size_t.
19553
 
19554
        * libc/sys/sparc64/Makefile.in: New syscall routines for link,
19555
        unlink, wait, wait4. Reentrant syscall routines close, fork,
19556
        fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
19557
        write.
19558
        * libc/sys/sparc64/cerror.S (cerror_r): New routine.
19559
        * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
19560
        open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
19561
        write.S}: Define reentrant versions.
19562
        * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
19563
        reentrant syscalls.
19564
 
19565
        * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
19566
 
19567
        * libc/include/stdlib.h (RAND_MAX): Fix value.
19568
 
19569
Thu Apr  1 12:28:30 1993  Ian Lance Taylor  (ian@cygnus.com)
19570
 
19571
        * libc/sys/a29khif/_main.c: Removed unnecessary file.
19572
        * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
19573
        VPATH support targets after all: target.
19574
 
19575
        * stub/mvme135/mvme.S: Renamed exceptionhandler to
19576
        exceptionHandler, which is what mvme135-stub.c expects.
19577
 
19578
Wed Mar 31 17:42:03 1993  Doug Evans  (dje@cygnus.com)
19579
 
19580
        * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
19581
 
19582
        * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
19583
        def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
19584
        compliant).
19585
 
19586
Tue Mar 30 09:58:21 1993  Doug Evans  (dje@canuck.cygnus.com)
19587
 
19588
        * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
19589
        first.
19590
        libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
19591
        _r_write): Ditto.
19592
        libc/reent/fstatr.c (_r_fstat): Ditto.
19593
        libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
19594
        libc/reent/sbrkr.c (_r_sbrk): Ditto.
19595
        libc/reent/statr.c (_r_stat): Ditto.
19596
 
19597
        * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
19598
        * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
19599
        * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
19600
        * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
19601
        * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
19602
        * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
19603
        * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
19604
        * libc/stdio/stdio.c (__sread): Ditto for _r_read.
19605
        (__swrite): Ditto for _r_lseek, _r_write.
19606
        (__sseek): Ditto for _r_lseek.
19607
        (__close): Ditto for _r_close.
19608
        * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
19609
 
19610
        * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
19611
        * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
19612
 
19613
        * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
19614
        to make reent_struct the first argument (and thus consistent with
19615
        the rest of newlib).
19616
 
19617
        * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
19618
        reference to __STDC__.
19619
 
19620
Mon Mar 29 12:34:32 1993  Doug Evans  (dje@canuck.cygnus.com)
19621
 
19622
        * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
19623
        global __cleanup.
19624
 
19625
Wed Mar 24 11:54:35 1993  Doug Evans  (dje@canuck.cygnus.com)
19626
 
19627
        * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
19628
        first.
19629
        libc/stdio/fclose.c (fclose): Ditto.
19630
 
19631
Tue Mar 23 01:26:52 1993  Doug Evans  (dje@rtl.cygnus.com)
19632
 
19633
        * Run through indent and rename reentrant routines for ANSI.
19634
        libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
19635
        fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
19636
        fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
19637
        fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
19638
        getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
19639
        putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
19640
        scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
19641
        tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
19642
        vsprintf.c wbuf.c wsetup.c local.h}
19643
 
19644
        * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
19645
 
19646
        * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
19647
        libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
19648
        assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
19649
        dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
19650
        mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
19651
        strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
19652
 
19653
        * Run through indent.
19654
        libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
19655
        memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
19656
        strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
19657
        strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
19658
        strxfrm.c}
19659
 
19660
        * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
19661
        localtime.c mktime.c strftime.c time.c}:
19662
        Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
19663
 
19664
        * Reformatting + renaming (for ANSI, GNU style, consistency).
19665
        libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
19666
        ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
19667
        signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
19668
 
19669
Fri Mar 19 11:28:01 1993  Doug Evans  (dje@cygnus.com)
19670
 
19671
        * libc/include/stdio.h (stdin_r): Fix.
19672
 
19673
Fri Mar 19 09:43:48 1993  Ian Lance Taylor  (ian@cygnus.com)
19674
 
19675
        * Makefile.in: Unexport some variables to keep GNU make from
19676
        putting them in the environment and using up needed ARG_MAX space
19677
        (a hack is used to let this work with older makes as well).
19678
 
19679
Tue Mar 16 15:11:08 1993  Ian Lance Taylor  (ian@cygnus.com)
19680
 
19681
        * Makefile.in: Use $(MAKE) rather than make.
19682
        (MAKEOVERRIDES): Define to be empty.
19683
        (FLAGS_TO_PASS): Don't pass down LD (it's not used).
19684
        (libc.a, libm.a): Depend on targ-include.
19685
        * host/any (LD): Don't define.
19686
        (INCLUDES): Use targ-include.
19687
        * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
19688
        (FLAGS_TO_PASS): Don't pass down LD (it's not used).
19689
        * libc/Makefile.in: Use $(MAKE) rather than make.
19690
        (MAKEOVERRIDES): Define to be empty.
19691
        (FLAGS_TO_PASS): Don't pass LD (it's not used).
19692
        (all): Rewrote to be slightly smaller.
19693
        * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
19694
        Define to be empty.
19695
        (FLAGS_TO_PASS): Don't pass LD (it's not used).
19696
        * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
19697
 
19698
Mon Mar 15 08:45:41 1993  Ian Lance Taylor  (ian@cygnus.com)
19699
 
19700
        * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
19701
        with errno/errno.c.
19702
 
19703
Fri Mar 12 09:46:54 1993  Ian Lance Taylor  (ian@cygnus.com)
19704
 
19705
        * Changes for reentrancy.
19706
        libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
19707
        Use ptr->_errno, not errno.
19708
        libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
19709
        libc/stdio/remove.c (remove_r): New function.
19710
        libc/stdio/rename.c (rename_r): New function.
19711
        libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
19712
        libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
19713
        libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
19714
        reentrant versions of system calls.
19715
        libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
19716
        libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
19717
        libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
19718
        libc/stdio/findfp.c: Include .
19719
        libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
19720
        "local.h".
19721
        libc/stdio/wbuf.c: Include "fvwrite.h"
19722
 
19723
        * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
19724
        .
19725
        libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
19726
        (NULL): Don't define if already defined.
19727
        libc/stdlib/system.c: Call reentrant versions of system calls.
19728
        (system_r): New function.
19729
 
19730
        * Changes for reentrancy.
19731
        libc/include/_ansi.h (_PARAMS): New macro.
19732
        libc/include/errno.h: Define errno as a macro that calls __errno.
19733
        (__errno_r): New macro for reentrant code.
19734
        libc/include/math.h: Include reent.h.  Declare many reentrant
19735
        functions.
19736
        (signgam): Now a macro, not a variable.
19737
        (struct exception): Added err field.
19738
        libc/include/reent.h: Don't declare __sglue.  Added function
19739
        declarations.
19740
        (struct reent_struct): Moved errno to beginning.  Added _signgam.
19741
        libc/include/stdio.h, libc/include/stdlib.h: Added function
19742
        declarations.
19743
 
19744
        * More reentrancy hacking.
19745
        libc/errno/errno.c (__errno): New function.
19746
        libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
19747
        libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
19748
        files.
19749
 
19750
        * Added many new reentrant functions to libm/math/*.
19751
        libm/math/error.c (__matherror): Added reent_struct pointer
19752
        argument. Changed all callers.
19753
        libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
19754
        libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
19755
        libm/math/tan.h: Removed obsolete unused header files.
19756
 
19757
        * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
19758
 
19759
        * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
19760
 
19761
Mon Mar  8 16:43:43 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19762
 
19763
        * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
19764
        delay slots.
19765
 
19766
Tue Mar  2 14:47:00 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
19767
 
19768
        * libc/libc.texinfo:  comment out reentrancy chapter (duh)
19769
 
19770
Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
19771
 
19772
        * libc/reent/reent.tex:  New file.  (text from
19773
        newlib/libc/libc.texinfo)
19774
        * libc/stdio/tmpnam.c:  fixed doc typo
19775
        * libc/stdlib/rand.c:   fixed doc typo
19776
 
19777
Tue Mar  2 14:34:16 1993  Jeffrey Osier      (jeffrey@fowanton.cygnus.com)
19778
 
19779
        * libc/reent/reent.tex:  New file.  (text from
19780
        newlib/libc/libc.texinfo)
19781
 
19782
Fri Feb 26 12:20:54 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19783
 
19784
        support for reentrancy
19785
        * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
19786
        new files
19787
        * libc/errno/errno.c, libc/include/ieeefp.h,
19788
        libc/include/locale.h, libc/include/reent.h,
19789
        libc/include/signal.h, libc/include/stdio.h,
19790
        libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
19791
        libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
19792
        libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
19793
        libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
19794
        libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
19795
        libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
19796
        libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
19797
        libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
19798
        libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
19799
        libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
19800
        libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
19801
        libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
19802
        libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
19803
        libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
19804
        libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
19805
        libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
19806
        libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
19807
        libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
19808
        libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
19809
        libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
19810
        libc/time/strftime.c: modify to provide reentracy.
19811
 
19812
        new routines:
19813
        strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
19814
        perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
19815
        tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
19816
        srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
19817
        mstats_r, realloc_r, localeconv_r, setlocale_r
19818
 
19819
Wed Feb 17 20:17:15 1993  Mark Eichin  (eichin@cygnus.com)
19820
 
19821
        * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
19822
        libc/include/sys/config.h, libc/include/sys/signal.h,
19823
        libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
19824
        provided macros (such as m68000), use the ansi version
19825
        (__m68000__) so that the library can be used with code compiled
19826
        -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
19827
        and sparc.
19828
 
19829
Wed Feb 17 13:01:34 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
19830
 
19831
        * configure.in (sparc*): Don't set -fsoft-float for sparc
19832
        configurations.  Do set -fsoft-float for sparclite configurations.
19833
 
19834
Fri Feb 12 16:25:52 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
19835
 
19836
        * default.menu, no-signal.menu: alternate forms of libc main menu
19837
          (in newlib rather than newlib/libc due to configuration restrictions)
19838
 
19839
        * configure.in: select one of the two menus above, link to
19840
        libc.menu
19841
 
19842
        * libc/libc.texinfo: include menu from separate file
19843
 
19844
Fri Feb 12 12:50:06 1993  Ian Lance Taylor  (ian@cygnus.com)
19845
 
19846
        * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
19847
        (info): Split long shell command in half.
19848
        * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
19849
        sub-makes, just CHEW and TARGETDOC.
19850
        (targetdep.tex): Removed now special handling of sys and machine
19851
        subdirectories, made obsolete some time ago.
19852
        * libc/machine/Makefile.in (doc): Don't pass everything to
19853
        sub-make, just CHEW and TARGETDOC.
19854
        (Makefile): New target.
19855
        * libc/sys/Makefile.in (Makefile): New target.
19856
 
19857
Thu Feb 11 15:25:15 1993  Ian Lance Taylor  (ian@cygnus.com)
19858
 
19859
        * Makefile.in (here and most subdirectories): Only pass down CHEW
19860
        and TARGETDOC when making info, not for other targets.
19861
 
19862
        * Makefile.in (here and most subdirectories), host/any: Use $(AR)
19863
        $(AR_FLAGS) rather than $(ARUPDATE).
19864
 
19865
Wed Feb 10 11:57:52 1993  Ian Lance Taylor  (ian@cygnus.com)
19866
 
19867
        * Try to reduce command line length:
19868
        * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
19869
        CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
19870
        (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
19871
        (info): Pass CHEW to other subdirs.
19872
 
19873
Tue Feb  9 14:01:42 1993  Mark Eichin  (eichin@cygnus.com)
19874
 
19875
        * configure.in: add signal_dir, like unix_dir, but by default it
19876
        is set to "signal" so that a29khif can turn it off (since a29khif
19877
        has raise() as part of machine-specific signal.s.)
19878
 
19879
Fri Jan 15 12:09:50 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
19880
 
19881
        * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
19882
        * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
19883
        correctly.
19884
        * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
19885
        libc/stdio/vfprintf: type lint.
19886
        * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
19887
        initialzation code.
19888
        * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
19889
 
19890
Tue Dec 29 10:15:33 1992  Ian Lance Taylor  (ian@cygnus.com)
19891
 
19892
        * stub/mvme135/mvme135-asm.S: new file.
19893
        stub/mvme135mvme135-stub.c: moved all assembler routines into
19894
        mvme135-asm.S.
19895
        stub/mvme135/Makefile.in: build mvme135-stub.o.
19896
 
19897
Mon Dec 28 12:40:43 1992  Ian Lance Taylor  (ian@cygnus.com)
19898
 
19899
        * Makefile.in: don't pass down $(CPP); use $(CC) -E in
19900
        sub-Makefiles instead, to try to avoid line length limitations.
19901
 
19902
Mon Dec 21 18:36:13 1992  Per Bothner  (bothner@rtl.cygnus.com)
19903
 
19904
        * libc/include/unistd.h (read, write):  Use void* instead of
19905
        char*.
19906
 
19907
Thu Dec 17 13:49:46 1992  Mark Eichin  (eichin@cygnus.com)
19908
 
19909
        * stub/go32/resetpc: sample script to send a reset packet to the
19910
        stub
19911
 
19912
        * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
19913
        DOS environment, which compiles with Turbo C.
19914
 
19915
        * stub/go32/DSER32.LNK: new file, linker commands for serial
19916
        remote stub.
19917
 
19918
        * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
19919
        start up message to identify version; call set_debug_traps.
19920
 
19921
        * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
19922
        keyboard interaction); call handle_exception() in go_til_stop,
19923
        rather than return, so that the remote stub gets control.
19924
 
19925
        * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
19926
        rename, rather than mv), set flags that work with current Turbo C,
19927
        including using the /3 flag; also, add commands to build dser32.
19928
 
19929
        * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
19930
        default Turbo C installation (\tc rather than \usr)
19931
 
19932
        * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
19933
        "&..."
19934
 
19935
Mon Dec 14 09:37:33 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
19936
 
19937
        * libc/include/math.h: added _DOUBLE_IS_32BITS checks
19938
 
19939
Thu Nov 12 22:31:04 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
19940
 
19941
        * libc/stdio/cvt.c (licvt): new function to convert ints when
19942
        sizeof(int) != sizeof(long).
19943
 
19944
        * libc/include/stdio.h: added prototype for iprintf.
19945
        * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
19946
 
19947
Tue Nov 10 12:18:12 1992  Ian Lance Taylor  (ian@cygnus.com)
19948
 
19949
        * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
19950
        __REGISTER_PREFIX__.
19951
 
19952
Mon Nov  2 13:50:14 1992  Ian Lance Taylor  (ian@cygnus.com)
19953
 
19954
        * libc/sys/m68kbare: moved into stub directory.
19955
 
19956
Mon Nov  2 13:40:42 1992  Ian Lance Taylor  (ian@cygnus.com)
19957
 
19958
        * configure.in, Makefile.in: created new directory stub, to hold
19959
        sample code for specific targets.
19960
 
19961
Wed Oct 28 02:19:55 1992  Mark Eichin  (eichin@cygnus.com)
19962
 
19963
        * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
19964
        in the unified libc/include/sys/fcntl.h.
19965
 
19966
Wed Oct 21 13:55:58 1992  Doug Evans  (dje@rtl.cygnus.com)
19967
 
19968
        * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
19969
        printed .01, not 0.01.
19970
 
19971
Mon Oct 19 11:05:55 1992  Ian Lance Taylor  (ian@cygnus.com)
19972
 
19973
        * configure.in: compile with -m68000 for m68* targets.
19974
 
19975
Sun Oct 18 05:29:05 1992  Mark Eichin  (eichin@cygnus.com)
19976
 
19977
        * libm/math/remainder.c (remainder): document the svr4 and sunos
19978
        references used to construct the function.
19979
 
19980
Sat Oct 17 21:46:16 1992  Mark Eichin  (eichin@cygnus.com)
19981
 
19982
        * libm/math/remainder.c (rint, remainder): fix old typos.
19983
        * libm/math/Makefile.in: actually build remainder.c (functions
19984
        rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
19985
        page.)
19986
 
19987
Thu Oct 15 07:48:05 1992  Ian Lance Taylor  (ian@cygnus.com)
19988
 
19989
        * libc/string/bcopy.c: BSD version works on overlapping strings,
19990
        so ours should too.
19991
 
19992
        * libc/stdlib/system.c: always invoke /bin/sh, not getenv
19993
        ("SHELL").
19994
 
19995
Wed Oct 14 11:07:11 1992  Ian Lance Taylor  (ian@cygnus.com)
19996
 
19997
        * Makefile.in (docs): new target.
19998
 
19999
Wed Oct 14 07:44:25 1992  Ian Lance Taylor  (ian@cygnus.com)
20000
 
20001
        * libc/include/sys/times.h: define clock_t as required by POSIX.
20002
        libc/include/time.h: protect clock_t from multiple definitions.
20003
 
20004
Wed Oct  7 11:02:21 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
20005
 
20006
        * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
20007
        does not need more than the original three iterations to get
20008
        within 1 ulp. (Paranoia tests for rounding to better than that,
20009
        but further iterations *don't* help, only more subtle changes
20010
        can.)
20011
 
20012
Tue Oct  6 09:22:12 1992  Ian Lance Taylor  (ian@cygnus.com)
20013
 
20014
        * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
20015
        were doing nothing useful.
20016
 
20017
Tue Oct  6 08:48:13 1992  Ian Lance Taylor  (ian@cygnus.com)
20018
 
20019
        * configure.in: define MALLOC_PROVIDED for vxworks targets;
20020
        removed sys_dir settings of vxworks68 and vxworks960.
20021
        host/any: don't pass -nostdinc to gcc, since newlib no longer
20022
        provides all required header files.
20023
 
20024
        * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
20025
        is not defined; this provides a hook for VxWorks.
20026
 
20027
Mon Oct  5 03:44:57 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
20028
 
20029
        * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
20030
        buffer if buf is NULL, don't do it here -- it is already being
20031
        done by makebuf elsewhere in stdio.
20032
 
20033
Fri Oct  2 13:12:07 1992  Ian Lance Taylor  (ian@cygnus.com)
20034
 
20035
        * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
20036
        that C programs can call functions without using initial
20037
        underscores.
20038
 
20039
Thu Oct  1 09:37:47 1992  Ian Lance Taylor  (ian@cygnus.com)
20040
 
20041
        * libc/stdlib/abort.c (abort): call exit, in case kill returns.
20042
 
20043
Wed Sep 30 08:22:18 1992  Ian Lance Taylor  (ian@cygnus.com)
20044
 
20045
        * configure.in: set TARGET_CFLAGS for certain CPU types to
20046
        -msoft-float.
20047
 
20048
Tue Sep 29 21:09:32 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
20049
 
20050
        * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of 
20051
 
20052
Mon Sep 28 14:58:44 1992  Ian Lance Taylor  (ian@cygnus.com)
20053
 
20054
        * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
20055
        m68k*-unknown-coff.
20056
 
20057
Fri Sep 25 08:33:21 1992  Ian Lance Taylor  (ian@cygnus.com)
20058
 
20059
        * libc/include/stdio.h: define __need___va_list before including
20060
        , to avoid defining va_arg, et. al.
20061
 
20062
Tue Sep 22 13:47:00 1992  Ian Lance Taylor  (ian@cygnus.com)
20063
 
20064
        * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
20065
        (don't cd to the user's home directory).
20066
 
20067
        * libc/Makefile.in: replaced all instances of $(MAKE) with make.
20068
        In general this is the wrong thing to do, but I can't get around
20069
        GNU make's insistence on passing command line arguments any other
20070
        way.
20071
 
20072
Tue Sep 22 10:12:44 1992  Ian Lance Taylor  (ian@cygnus.com)
20073
 
20074
        * configure.in: always configure the libc/sys directory, since it
20075
        now provides a required documentation file.
20076
 
20077
        * Makefile.in: replaced all instances of $(MAKE) with make.  In
20078
        general this is the wrong thing to do, but I can't get around GNU
20079
        make's insistence on passing command line arguments any other way.
20080
 
20081
Mon Sep 21 22:42:26 1992  Ian Lance Taylor  (ian@tweedledumbest.cygnus.com)
20082
 
20083
        * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
20084
        terminated.
20085
 
20086
        * libc/stdio/local.h: include  to define va_list.
20087
        libc/stdio/vsprintf.c: include  rather than .
20088
 
20089
        * libc/include/float.h, libc/include/stdarg.h,
20090
        libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
20091
        versions instead.
20092
        libc/include/stdio.h: get size_t from , and va_list from
20093
        , not from .  Protect definition of
20094
        NULL.
20095
        libc/include/time.h: get size_t from stddef.h.  Protect definition
20096
        of NULL.
20097
        libc/include/machine/limits.h: override gcc  by defining
20098
        _LIMITS_H___.  Don't define CLK_TCK.  Copied in gcc  to
20099
        get correct INT_MIN and LONG_LONG values.
20100
        libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
20101
        size_t or va_list at all; they're now gotten from stddef.h
20102
        instead.
20103
        libc/include/machine/varargs.h: removed; use gcc version instead.
20104
        libc/include/sys/types.h: explicitly include .
20105
 
20106
        * libm/math/sqrt.h: using the fp-bit routines appears to require
20107
        more iterations.
20108
 
20109
        * Makefile.in, host/any: let system include files override machine
20110
        include files.
20111
 
20112
Sat Sep 19 21:10:06 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
20113
 
20114
        * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
20115
        override _*_T_ definitions defaulted here.
20116
 
20117
Tue Sep 15 11:14:46 1992  Ian Lance Taylor  (ian@cygnus.com)
20118
 
20119
        * Makefile.in (install): install the include files in
20120
        $(tooldir)/include, not $(exec_prefix)/include.
20121
 
20122
Fri Sep 11 15:48:43 1992  Ian Lance Taylor  (ian@cygnus.com)
20123
 
20124
        * Makefile.in (install): fixed typo, and changed install to not
20125
        force rebuild of libc.a and libm.a.
20126
 
20127
Thu Sep 10 10:46:09 1992  Ian Lance Taylor  (ian@cygnus.com)
20128
 
20129
        * libc/sys/a29khif/*: Changed all .include's to include
20130
        sys/sysmac.h, not plain sysmac.h.  The header files live in sys so
20131
        that they will be installed for the user.
20132
 
20133
        * Makefile.in (all): create targ-include, a directory holding the
20134
        machine and system specific header files during the build.
20135
        (install): fixed installation of machine and system specific
20136
        header files.
20137
 
20138
        * Makefile.in: fixed comment.
20139
        host/any: change .s.o rule to use $(AS) rather than $(CC), so that
20140
        we can pass $(INCLUDES) to it.
20141
 
20142
Thu Sep 10 10:13:13 1992  Ian Lance Taylor  (ian@cygnus.com)
20143
 
20144
        * libc/include/sys/param.h: new generic file, which may be
20145
        overridden for specific systems.
20146
 
20147
        * libc/include/sys/signal.h: define all ANSI signal names, and
20148
        NSIG (which is not ANSI) for a29k.
20149
 
20150
Tue Sep  8 09:04:30 1992  Ian Lance Taylor  (ian@cygnus.com)
20151
 
20152
        * Makefile.in: don't pass down arguments the lower level makes
20153
        will not need.
20154
        * libc/Makefile.in: recurse directly, rather than using subdir_do,
20155
        in hopes of avoiding argument length limits.
20156
        * libm/Makefile.in: recurse directly, rather using subdir_do, in
20157
        hopes of avoiding argument length limits.
20158
 
20159
Tue Sep  8 08:27:22 1992  Ian Lance Taylor  (ian@cygnus.com)
20160
 
20161
        * libc/include/sys/fcntl.h: include  to ensure that
20162
        mode_t is defined.
20163
 
20164
Mon Sep  7 14:02:07 1992  Ian Lance Taylor  (ian@cygnus.com)
20165
 
20166
        * Fixed make info and make install-info for newlib, changing most
20167
        Makefile.in and several *.tex files.  Moved doc directory from
20168
        libc to top level.
20169
 
20170
        * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
20171
        Should be rewritten.
20172
 
20173
        * libc/string/strings.tex: renamed node index to node index
20174
        function, so that it does not conflict with the top level index
20175
        node.
20176
 
20177
        * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
20178
 
20179
Fri Sep  4 02:34:06 1992  Ian Lance Taylor  (ian@cygnus.com)
20180
 
20181
        * Overhauled general configuration for newlib.  Eliminated all
20182
        target dependent Makefile fragments.  Create libraries in newlib
20183
        rather than newlib/libc and newlib/libm.  Use CC, et. al., rather
20184
        than CROSS_CC, et. al.  Broke make docs; will fix later.
20185
 
20186
        * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
20187
        Should be rewritten.
20188
 
20189
Tue Sep  1 15:21:14 1992  Ian Lance Taylor  (ian@cygnus.com)
20190
 
20191
        * libc/configure.in: cleaned up somewhat; switch on ${target}
20192
        rather than ${target_alias}.
20193
        * libm/configure.in: cleaned up somewhat; switch on ${target}
20194
        rather than ${target_alias}.
20195
 
20196
        * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
20197
        * libc/include/ctype.h: marked _ctype_ as _CONST.
20198
 
20199
        * libc/locale/locale.c (lconv, localeconv): marked static lconv as
20200
        _CONST.
20201
 
20202
        * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
20203
        libc/stdio/vfscanf.c (__svfscanf): made static variables const.
20204
        libc/stdio/gets.c (gets): removed non-ANSI warning message.
20205
        libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
20206
 
20207
        * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
20208
        bigtens, tinytens): marked arrays _CONST.
20209
        libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
20210
        rather than a static variable.
20211
 
20212
        * libc/time/asctime.c (asctime), libc/time/localtime.c
20213
        (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
20214
        _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
20215
        mname_len, mname): Marked static arrays _CONST.
20216
 
20217
        * libm/math/gamma.h: made local variables non-static.
20218
 
20219
        * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
20220
        libm/math/exp.c, libm/math/gamma.h: marked static arrays as
20221
        _CONST.
20222
 
20223
        * libm/math/constants.c: removed file, because the constants it
20224
        defined were never referenced.
20225
        libm/math/Makefile.in: removed references to constants.c.
20226
        libm/math/mathimpl.h: removed declarations of constants.
20227
 
20228
Wed Aug 26 21:09:06 1992  Ian Lance Taylor  (ian@cygnus.com)
20229
 
20230
        * libc/include/machine/varargs.h: only call __builtin_saveregs if
20231
        it is sensibly defined in libgcc2.  Checks preprocessor defines,
20232
        which is not a good solution.
20233
 
20234
        * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
20235
 
20236
        * libm/frexp.c: handle denormalized numbers as arguments.
20237
 
20238
        * libm/math/Makefile.in: added some dependencies for .c files
20239
        which include local .h files.
20240
 
20241
Mon Aug 24 12:57:58 1992  Ian Lance Taylor  (ian@cygnus.com)
20242
 
20243
        * libc/configure.in: set target_alias for OSE*.  Replace
20244
        target_makefile_frag if it is blank.
20245
 
20246
        * libc/Makefile.in: make sure everything is passed to subsidiary
20247
        makes; create all directories when installing.
20248
 
20249
        * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
20250
        CROSS_ARUPDATE instead of AR.
20251
 
20252
        * libm/configure.in: set target_alias for OSE*.  Replace
20253
        target_makefile_frag if it is blank.
20254
 
20255
        * libm/Makefile.in: make sure everything is passed to subsidiary
20256
        makes; create all directories when installing.
20257
 
20258
Thu Aug 20 15:11:51 1992  Mark Eichin  (eichin@cygnus.com)
20259
 
20260
        * add following change from libc copy.
20261
 
20262
Wed Aug 19 18:54:49 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20263
 
20264
        * libc/libc.texinfo: make copyright disclaimers appear on back of
20265
        title page; make format of same slightly less ugly; avoid using
20266
        underbars in section headings (avoids nasty texinfo bug in table
20267
        of contents).
20268
 
20269
        * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
20270
          comments only) avoid using underbars in section headings
20271
 
20272
        * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
20273
          isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
20274
          changes in comments only): shorten headings ieeefp/infinity.c,
20275
          ieeefp/isnan.c: (doc, comments only) more informative headings
20276
 
20277
        * libc/math/bessel.c: (doc, comments only) shorten heading
20278
 
20279
        * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
20280
        (doc, comments only) shorten headings
20281
 
20282
        * libc/time/localtime.c (doc, comments only): shorten headings
20283
 
20284
        * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
20285
          isnan
20286
          libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
20287
          libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
20288
          headings
20289
          libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
20290
          only) more informative headings
20291
        * libm/math/bessel.c: (doc, comments only) shorten heading
20292
 
20293
Wed Aug 19 07:06:37 1992  Mark Eichin  (eichin at tweedledumber.cygnus.com)
20294
 
20295
        * .../Makefile.in: use CROSS_ARUPDATE consistently.
20296
        * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
20297
        * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
20298
        * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
20299
        defined, the one from the .mt file will be correct.
20300
        * libc/include/machine, libc/include/sys: created, and populated
20301
        with common files from machine/*/machine. ifdefs were used for
20302
        most, typically by handling exceptions first and then filling in
20303
        defaults. Files with D.J. Delorie copyright #included rather than
20304
        copied. Most files in include/sys really were the same in the
20305
        original.
20306
        * libc/include/...: cleaned up use of _EXFUN.
20307
        * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
20308
        it with double quotes, not angles.
20309
 
20310
Mon Aug 10 11:43:20 1992  Ian Lance Taylor  (ian@dumbest.cygnus.com)
20311
 
20312
        * libc/Makefile.in: always create installation directories.
20313
 
20314
Sun Aug  9 22:45:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
20315
 
20316
        * libc/configure.in: handle host properly (using canonical
20317
        triples), better error message for the case of target not found
20318
 
20319
Thu May 28 01:56:37 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
20320
 
20321
        * libc/Makefile.in (insincdir): Ensure this directory exists
20322
        before attempting installation.
20323
 
20324
Fri May  1 18:16:42 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20325
 
20326
        * libc/stdlib/assert.c: now calls abort like it should
20327
        * libc/sys/a29khif: many many patches for 29khif work
20328
        * libc/machine/i386: gnulib2 expanded there.
20329
 
20330
Tue Apr 28 19:08:37 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20331
 
20332
        Added accurate fp conversion routines to stdlib, moved dcvt from
20333
        stdio to stdlib and called it ecvtbuf:
20334
        * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
20335
        * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
20336
        routines
20337
        * libc/libc.texinfo: Modifed to include the copyright info from
20338
        the mprec files
20339
        * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
20340
        * libc/test/ : many vector which tested for the implementation
20341
        defined returns of strange conversion requests have been updated
20342
        to relflect the new implementation
20343
 
20344
Mon Apr 27 13:41:33 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20345
 
20346
        * libc/libc.texinfo: new chapter on variable arg lists
20347
        (stdarg.h/varargs.h)
20348
        * libc/libc.texinfo: new title
20349
        * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
20350
        (doc only) shorter headings for better formatting.
20351
 
20352
Fri Apr 24 11:26:48 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20353
 
20354
        * libc/libc.texinfo: three more info menu entries
20355
        * libc/locale/locale.tex: new chapter
20356
        * libc/locale/locale.c: new doc for setlocale, localeconv
20357
        * libc/locale/Makefile.in: use new locale doc
20358
        * libc/signal/signal.tex: new chapter
20359
        * libc/signal/raise.c, libc/signal/signal.c: new doc
20360
        * libc/signal/Makefile.in: use new doc
20361
        * libc/time/time.tex: new chapter
20362
        * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
20363
        libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
20364
        libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
20365
        * libc/time/Makefile.in: use new doc
20366
 
20367
Tue Apr 21 14:48:50 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20368
 
20369
        * libm/math/log1p.c: split to use the new function way of float
20370
        function definition. math/log1p.h deleted
20371
        * libm/math/scalb.c: obsolete and deleted
20372
        * libm/math/scalbn.c: created from part log1p.c
20373
        * libm/math/Makefile.in: know about log1p and scalbn
20374
 
20375
Tue Apr 21 12:32:21 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20376
 
20377
        * libc/ctype/isupper.c: revise doc;
20378
          libc/ctype/ctype.tex: use doc from isupper.c
20379
 
20380
        * libc/string/bzero.c: new doc
20381
 
20382
Mon Apr 20 14:19:42 1992  Roland H. Pesch  (pesch@fowanton.cygnus.com)
20383
 
20384
        * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
20385
        new doc
20386
        * libc/stdlib/Makefile.in: extract new doc
20387
        * libc/stdlib/stdlib.tex: use new doc
20388
 
20389
        * libc/string/strerror.c: expanded doc.
20390
 
20391
        * libc/stdio/Makefile.in: extract doc from more files
20392
        * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
20393
        libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
20394
        libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
20395
        libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
20396
        libc/stdio/vsprintf.c: new doc
20397
        * libc/stdio/stdio.tex: use new doc
20398
 
20399
Mon Apr 20 09:38:17 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20400
 
20401
        * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
20402
        * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
20403
        finitef functions.
20404
        * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
20405
        time ago.
20406
 
20407
        * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
20408
        * libc/stdio/setbuf.c: added ansi style definition.
20409
        * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
20410
        buffer if none provided.
20411
        * libc/stdio/tmpfile.c: lint
20412
        * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
20413
        rather than using static, also make sure file isn't already
20414
        present.  Uses P_tmpdir. (tempnam): rewritten to use new
20415
        subroutine, and uses P_tmpdir.
20416
        * libc/stdio/siprintf.c: created
20417
 
20418
Mon Apr 13 09:12:58 1992  Steve Chamberlain  (sac@thepub.cygnus.com)
20419
 
20420
        Release 1.03 for NEC, major mods. Main differences from release
20421
        1.02::
20422
 
20423
        More tests in test/:
20424
        * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
20425
        log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
20426
        * test_ieee.c: tests for ieee flags & masks - get/set rounding,
20427
        get/set mask, get/set sticky and get/set roundtoi.  Tests
20428
        that setting the bits changes the way arithmetic is done.
20429
        * string.c: added test to make sure memcmp does it with unsigned
20430
        chars.
20431
        * test.c: cleaned up and removed lint.
20432
        * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
20433
        dvec.c: tests for string to value conversions,  sprintf, scanf,
20434
        atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
20435
        ecvtf,  fcvtbuf, fcvt, fcvtf, gcvt, gcvtf.  Some attention paid to
20436
        rounding in sprintf too.
20437
        * test_is.c: tests for  isalnum, isalpha, isascii, iscntrl,
20438
        isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
20439
        isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
20440
        and function form.
20441
        * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
20442
        powf
20443
 
20444
        In the library:
20445
        * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
20446
        libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
20447
        libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
20448
        libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
20449
        * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
20450
        than sprintf.
20451
        * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
20452
        * Method of producting float versions of double functions has
20453
        changed, functions will be modified gradually. So far:
20454
        libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
20455
        libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
20456
        altered
20457
        * libc/string/memcmp.c: now uses unsigned chars
20458
        * libc/string/bcmp.c, libc/string/strcpy.c,
20459
        libc/stsring/strxfrm.c: fixed doc
20460
        * libc/sys/sysvnecv70.tex: fix example of sbrk code
20461
 
20462
Local Variables:
20463
version-control: never
20464
End:

powered by: WebSVN 2.1.0

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